can't find snappy lib

I built off the 2.2 branch.  Works great until it tries to write to parquet files.
Then it can't seem to initialize / find org.xerial.snappy.Snappy.  I see snappy in the jars directory of the spark distro.  My endpoint is s3a:\bucket\etc and I've included the following jars.
--jars local:/opt/jars/hadoop-aws-2.7.3.jar,local:/opt/jars/aws-java-sdk-1.7.4.jar,local:/opt/jars/joda-time-2.9.3.jar,local:/opt/jars/mysql-connector-java-5.1.35.jar \

I'm not sure if this is something odd in spark distro or if I'm doing something odd.
Thanks!
I can provide the full error log output if that'll help.
2017-09-22 22:51:57 INFO  DAGScheduler:54 - ResultStage 3 (parquet at NativeMethodAccessorImpl.java:0) failed in 4.996 s due to Job aborted due to stage failure: Task 8 in stage 3.0 failed 4 times, most recent failure: Lost task 8.3 in stage 3.0 (TID 434, <IP_ADDRESS>, executor 7): org.apache.spark.SparkException: Task failed while writing rows
	at org.apache.spark.sql.execution.datasources.FileFormatWriter$.org$apache$spark$sql$execution$datasources$FileFormatWriter$$executeTask(FileFormatWriter.scala:272)
	at org.apache.spark.sql.execution.datasources.FileFormatWriter$$anonfun$write$1$$anonfun$apply$mcV$sp$1.apply(FileFormatWriter.scala:191)
	at org.apache.spark.sql.execution.datasources.FileFormatWriter$$anonfun$write$1$$anonfun$apply$mcV$sp$1.apply(FileFormatWriter.scala:190)
	at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:87)
	at org.apache.spark.scheduler.Task.run(Task.scala:108)
	at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:335)
	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:748)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.xerial.snappy.Snappy

Botched dependencies? Hmm..
@ash211 @mccheah seen this?

garylucas@gary-lucas:~/dev/proj/infra/spark-2.2.0-k8s-0.4.0-SNAPSHOT-bin-2.7.3/jars|DAT-spark-on-k8s⚡
⇒  ls -alh | grep snappy
-rw-r--r--    1 garylucas  staff    48K Sep 16 20:54 snappy-0.2.jar
-rw-r--r--    1 garylucas  staff   1.0M Sep 16 20:54 snappy-java-<IP_ADDRESS>.jar

I think the snappy deps are there.  I'll take a peek at the dockerfiles

Can you post the result of kubectl describe pod <driver> and kubectl describe pod <executor>?

driver output
Name:		kmderived-1506122359203-driver
Namespace:	default
Node:		ip-10-253-50-77.ec2.internal/<IP_ADDRESS>
Start Time:	Fri, 22 Sep 2017 16:19:25 -0700
Labels:		role=kissmetrics
		spark-app-selector=spark-e65d6a8c895f47eead96caad62edfc7d
		spark-role=driver
Annotations:	podpreset.admission.kubernetes.io/podpreset-kissmetrics-env=9039918
		spark-app-name=kmderived
Status:		Running
IP:		<IP_ADDRESS>
Containers:
  spark-kubernetes-driver:
    Container ID:	docker://872c49fbee70f53dc3a8163e89d0a80abe0a0fce6360223641359c3c7749b403
    Image:		ecr_id.dkr.ecr.us-east-1.amazonaws.com/spark-driver-py-kissmetrics:latest
    Image ID:		docker-pullable://ecr_id.dkr.ecr.us-east-1.amazonaws.com/spark-driver-py-kissmetrics@sha256:41d872998dbbb28882f176e164add56fd22d40a76d27381bb5f243b5c9bf1aa3
    Port:		<none>
    State:		Running
      Started:		Fri, 22 Sep 2017 16:19:37 -0700
    Ready:		True
    Restart Count:	0
    Limits:
      memory:	15769Mi
    Requests:
      cpu:	8
      memory:	14Gi
    Environment:
      SPARK_DRIVER_MEMORY:				14G
      SPARK_DRIVER_CLASS:				org.apache.spark.deploy.PythonRunner
      SPARK_DRIVER_ARGS:
      SPARK_MOUNTED_CLASSPATH:				/opt/jars/hadoop-aws-2.7.3.jar:/opt/jars/aws-java-sdk-1.7.4.jar:/opt/jars/joda-time-2.9.3.jar:/opt/jars/mysql-connector-java-5.1.35.jar:/opt/jars/snappy-java-1.1.4.jar
      PYSPARK_PRIMARY:					/opt/ub-data-kissmetrics/jobs/kissmetrics_warehouse/Derived_NonAppPageViewed/Compute__Derived_NonAppPageViewed.py
      PYSPARK_FILES:					/opt/ub-data-kissmetrics/jobs/kissmetrics_warehouse/Derived_NonAppPageViewed/Compute__Derived_NonAppPageViewed.py
      SPARK_JAVA_OPT_0:					-Dspark.kubernetes.docker.image.pullPolicy=Always
      SPARK_JAVA_OPT_1:					-Dspark.kubernetes.namespace=default
      SPARK_JAVA_OPT_2:					-Dspark.app.id=spark-e65d6a8c895f47eead96caad62edfc7d
      SPARK_JAVA_OPT_3:					-Dspark.kubernetes.driver.docker.image=ecr_id.dkr.ecr.us-east-1.amazonaws.com/spark-driver-py-kissmetrics:latest
      SPARK_JAVA_OPT_4:					-Dspark.submit.deployMode=cluster
      SPARK_JAVA_OPT_5:					-Dspark.driver.blockManager.port=7079
      SPARK_JAVA_OPT_6:					-Dspark.app.name=kmderived
      SPARK_JAVA_OPT_7:					-Dspark.driver.bindAddress=kmderived-1506122359203-driver-svc.default.svc.cluster.local
      SPARK_JAVA_OPT_8:					-Dspark.driver.host=kmderived-1506122359203-driver-svc.default.svc.cluster.local
      SPARK_JAVA_OPT_9:					-Dspark.kubernetes.authenticate.driver.serviceAccountName=spark-k8s-service-account
      SPARK_JAVA_OPT_10:				-Dspark.driver.memory=14G
      SPARK_JAVA_OPT_11:				-Dspark.driver.port=7078
      SPARK_JAVA_OPT_12:				-Dspark.driver.cores=8
      SPARK_JAVA_OPT_13:				-Dspark.kubernetes.executor.labels=role=kissmetrics
      SPARK_JAVA_OPT_14:				-Dspark.executor.memory=20G
      SPARK_JAVA_OPT_15:				-Dspark.kubernetes.executor.podNamePrefix=kmderived-1506122359203
      SPARK_JAVA_OPT_16:				-Dspark.executor.instances=10
      SPARK_JAVA_OPT_17:				-Dspark.executor.cores=6
      SPARK_JAVA_OPT_18:				-Dspark.kubernetes.driver.labels=role=kissmetrics
      SPARK_JAVA_OPT_19:				-Dspark.files=/opt/ub-data-kissmetrics/jobs/kissmetrics_warehouse/Derived_NonAppPageViewed/Compute__Derived_NonAppPageViewed.py,/opt/ub-data-kissmetrics/jobs/kissmetrics_warehouse/Derived_NonAppPageViewed/Compute__Derived_NonAppPageViewed.py
      SPARK_JAVA_OPT_20:				-Dspark.master=k8s://http://<IP_ADDRESS>:8001
      SPARK_JAVA_OPT_21:				-Dspark.kubernetes.initcontainer.docker.image=ecr_id.dkr.ecr.us-east-1.amazonaws.com/spark-init-kissmetrics:latest
      SPARK_JAVA_OPT_22:				-Dspark.kubernetes.executor.docker.image=ecr_id.dkr.ecr.us-east-1.amazonaws.com/spark-executor-py-kissmetrics:latest
      SPARK_JAVA_OPT_23:				-Dspark.jars=/opt/jars/hadoop-aws-2.7.3.jar,/opt/jars/aws-java-sdk-1.7.4.jar,/opt/jars/joda-time-2.9.3.jar,/opt/jars/mysql-connector-java-5.1.35.jar,/opt/jars/snappy-java-1.1.4.jar
      SPARK_JAVA_OPT_24:				-Dspark.kubernetes.driver.pod.name=kmderived-1506122359203-driver
      REPORTSDB_HOSTNAME:				reports-db.unbounce.net
      REPORTSDB_PORT:					3306
      REPORTSDB_KISSMETRICS_INBOUND_WAREHOUSE_NAME:	kissmetrics_inbound
      KM_MANIFEST_FILE:					s3a://manifest/index.csv
      REPORTSDB_KISSMETRICS_WAREHOUSE_NAME:		kissmetrics_warehouse
      MAX_FILES_TO_CONSUME:				250
      OUTPUT_LOCATION:					s3a://output
      AWS_DATA_S3_ACCESS_KEY:				<set to the key 'AWS_DATA_S3_ACCESS_KEY' in secret 'kissmetrics-k8s'>				Optional: false
      AWS_DATA_S3_SECRET_ACCESS_KEY:			<set to the key 'AWS_DATA_S3_SECRET_ACCESS_KEY' in secret 'kissmetrics-k8s'>			Optional: false
      REPORTSDB_KISSMETRICS_INBOUND_WRITE_JDBCURL:	<set to the key 'REPORTSDB_KISSMETRICS_INBOUND_WRITE_JDBCURL' in secret 'kissmetrics-k8s'>	Optional: false
      REPORTSDB_KISSMETRICS_INBOUND_READ_JDBCURL:	<set to the key 'REPORTSDB_KISSMETRICS_INBOUND_READ_JDBCURL' in secret 'kissmetrics-k8s'>	Optional: false
      REPORTSDB_KISSMETRICS_INBOUND_WRITE_USERNAME:	<set to the key 'REPORTSDB_KISSMETRICS_INBOUND_WRITE_USERNAME' in secret 'kissmetrics-k8s'>	Optional: false
      REPORTSDB_KISSMETRICS_INBOUND_WRITE_PASSWORD:	<set to the key 'REPORTSDB_KISSMETRICS_INBOUND_WRITE_PASSWORD' in secret 'kissmetrics-k8s'>	Optional: false
      REPORTSDB_KISSMETRICS_WAREHOUSE_WRITE_USERNAME:	<set to the key 'REPORTSDB_KISSMETRICS_WAREHOUSE_WRITE_USERNAME' in secret 'kissmetrics-k8s'>	Optional: false
      REPORTSDB_KISSMETRICS_WAREHOUSE_WRITE_PASSWORD:	<set to the key 'REPORTSDB_KISSMETRICS_WAREHOUSE_WRITE_PASSWORD' in secret 'kissmetrics-k8s'>	Optional: false
      REPORTSDB_PROD_APPLICATIONDBUSER_WRITE_JDBCURL:	<set to the key 'REPORTSDB_PROD_APPLICATIONDBUSER_WRITE_JDBCURL' in secret 'kissmetrics-k8s'>	Optional: false
      REPORTSDB_KISSMETRICS_WAREHOUSE_READ_JDBCURL:	<set to the key 'REPORTSDB_PROD_APPLICATIONDBUSER_WRITE_JDBCURL' in secret 'kissmetrics-k8s'>	Optional: false
      REPORTSDB_PROD_APPLICATIONDBUSER_READ_JDBCURL:	<set to the key 'REPORTSDB_PROD_APPLICATIONDBUSER_READ_JDBCURL' in secret 'kissmetrics-k8s'>	Optional: false
    Mounts:
      /var/run/secrets/kubernetes.io/serviceaccount from spark-k8s-service-account-token-fn4qg (ro)
Conditions:
  Type		Status
  Initialized 	True
  Ready 	True
  PodScheduled 	True
Volumes:
  spark-k8s-service-account-token-fn4qg:
    Type:	Secret (a volume populated by a Secret)
    SecretName:	spark-k8s-service-account-token-fn4qg
    Optional:	false
QoS Class:	Burstable
Node-Selectors:	<none>
Tolerations:	<none>
Events:
  FirstSeen	LastSeen	Count	From					SubObjectPath					Type		Reason			Message
  ---------	--------	-----	----					-------------					--------	------			-------
  47s		47s		1	default-scheduler									Normal		Scheduled		Successfully assigned kmderived-1506122359203-driver to ip-10-253-50-77.ec2.internal
  47s		47s		1	kubelet, ip-10-253-50-77.ec2.internal							Normal		SuccessfulMountVolume	MountVolume.SetUp succeeded for volume "spark-k8s-service-account-token-fn4qg"
  46s		46s		1	kubelet, ip-10-253-50-77.ec2.internal	spec.containers{spark-kubernetes-driver}	Normal		Pulling			pulling image "ecr_id.dkr.ecr.us-east-1.amazonaws.com/spark-driver-py-kissmetrics:latest"
  35s		35s		1	kubelet, ip-10-253-50-77.ec2.internal	spec.containers{spark-kubernetes-driver}	Normal		Pulled			Successfully pulled image "ecr_id.dkr.ecr.us-east-1.amazonaws.com/spark-driver-py-kissmetrics:latest"
  35s		35s		1	kubelet, ip-10-253-50-77.ec2.internal	spec.containers{spark-kubernetes-driver}	Normal		Created			Created container
  35s		35s		1	kubelet, ip-10-253-50-77.ec2.internal	spec.containers{spark-kubernetes-driver}	Normal		Started			Started container

executor:
Name:		kmderived-1506122359203-exec-1
Namespace:	default
Node:		ip-10-253-46-101.ec2.internal/<IP_ADDRESS>
Start Time:	Fri, 22 Sep 2017 16:19:41 -0700
Labels:		role=kissmetrics
		spark-app-selector=spark-e65d6a8c895f47eead96caad62edfc7d
		spark-exec-id=1
		spark-role=executor
Annotations:	podpreset.admission.kubernetes.io/podpreset-kissmetrics-env=9039918
Status:		Running
IP:		<IP_ADDRESS>
Controlled By:	Pod/kmderived-1506122359203-driver
Containers:
  executor:
    Container ID:	docker://67035573284ccc7cb11808afbc66df0ea28923222e8d1a77326d40669a410f4c
    Image:		ecr_id.dkr.ecr.us-east-1.amazonaws.com/spark-executor-py-kissmetrics:latest
    Image ID:		docker-pullable://ecr_id.dkr.ecr.us-east-1.amazonaws.com/spark-executor-py-kissmetrics@sha256:9c1515b8c5150717835d5405e5f052163ec453ed56d865dae354e11dd83b542f
    Ports:		10000/TCP, 7079/TCP
    State:		Running
      Started:		Fri, 22 Sep 2017 16:19:42 -0700
    Ready:		True
    Restart Count:	0
    Limits:
      memory:	22Gi
    Requests:
      cpu:	6
      memory:	20Gi
    Environment:
      SPARK_EXECUTOR_PORT:				10000
      SPARK_DRIVER_URL:					spark://CoarseGrainedScheduler@kmderived-1506122359203-driver-svc.default.svc.cluster.local:7078
      SPARK_EXECUTOR_CORES:				6
      SPARK_EXECUTOR_MEMORY:				20G
      SPARK_APPLICATION_ID:				spark-e65d6a8c895f47eead96caad62edfc7d
      SPARK_EXECUTOR_ID:				1
      SPARK_MOUNTED_CLASSPATH:				/var/spark-data/spark-jars/*
      SPARK_EXECUTOR_POD_IP:				 (v1:status.podIP)
      REPORTSDB_HOSTNAME:				reports-db.unbounce.net
      REPORTSDB_PORT:					3306
      REPORTSDB_KISSMETRICS_INBOUND_WAREHOUSE_NAME:	kissmetrics_inbound
      KM_MANIFEST_FILE:					s3a://manfiest/index.csv
      REPORTSDB_KISSMETRICS_WAREHOUSE_NAME:		kissmetrics_warehouse
      MAX_FILES_TO_CONSUME:				250
      OUTPUT_LOCATION:					s3a://output
      AWS_DATA_S3_ACCESS_KEY:				<set to the key 'AWS_DATA_S3_ACCESS_KEY' in secret 'kissmetrics-k8s'>				Optional: false
      AWS_DATA_S3_SECRET_ACCESS_KEY:			<set to the key 'AWS_DATA_S3_SECRET_ACCESS_KEY' in secret 'kissmetrics-k8s'>			Optional: false
      REPORTSDB_KISSMETRICS_INBOUND_WRITE_JDBCURL:	<set to the key 'REPORTSDB_KISSMETRICS_INBOUND_WRITE_JDBCURL' in secret 'kissmetrics-k8s'>	Optional: false
      REPORTSDB_KISSMETRICS_INBOUND_READ_JDBCURL:	<set to the key 'REPORTSDB_KISSMETRICS_INBOUND_READ_JDBCURL' in secret 'kissmetrics-k8s'>	Optional: false
      REPORTSDB_KISSMETRICS_INBOUND_WRITE_USERNAME:	<set to the key 'REPORTSDB_KISSMETRICS_INBOUND_WRITE_USERNAME' in secret 'kissmetrics-k8s'>	Optional: false
      REPORTSDB_KISSMETRICS_INBOUND_WRITE_PASSWORD:	<set to the key 'REPORTSDB_KISSMETRICS_INBOUND_WRITE_PASSWORD' in secret 'kissmetrics-k8s'>	Optional: false
      REPORTSDB_KISSMETRICS_WAREHOUSE_WRITE_USERNAME:	<set to the key 'REPORTSDB_KISSMETRICS_WAREHOUSE_WRITE_USERNAME' in secret 'kissmetrics-k8s'>	Optional: false
      REPORTSDB_KISSMETRICS_WAREHOUSE_WRITE_PASSWORD:	<set to the key 'REPORTSDB_KISSMETRICS_WAREHOUSE_WRITE_PASSWORD' in secret 'kissmetrics-k8s'>	Optional: false
      REPORTSDB_PROD_APPLICATIONDBUSER_WRITE_JDBCURL:	<set to the key 'REPORTSDB_PROD_APPLICATIONDBUSER_WRITE_JDBCURL' in secret 'kissmetrics-k8s'>	Optional: false
      REPORTSDB_KISSMETRICS_WAREHOUSE_READ_JDBCURL:	<set to the key 'REPORTSDB_PROD_APPLICATIONDBUSER_WRITE_JDBCURL' in secret 'kissmetrics-k8s'>	Optional: false
      REPORTSDB_PROD_APPLICATIONDBUSER_READ_JDBCURL:	<set to the key 'REPORTSDB_PROD_APPLICATIONDBUSER_READ_JDBCURL' in secret 'kissmetrics-k8s'>	Optional: false
    Mounts:
      /var/run/secrets/kubernetes.io/serviceaccount from default-token-00b84 (ro)
Conditions:
  Type		Status
  Initialized 	True
  Ready 	True
  PodScheduled 	True
Volumes:
  default-token-00b84:
    Type:	Secret (a volume populated by a Secret)
    SecretName:	default-token-00b84
    Optional:	false
QoS Class:	Burstable
Node-Selectors:	<none>
Tolerations:	<none>
Events:
  FirstSeen	LastSeen	Count	From					SubObjectPath			Type		Reason			Message
  ---------	--------	-----	----					-------------			--------	------			-------
  50s		50s		1	default-scheduler							Normal		Scheduled		Successfully assigned kmderived-1506122359203-exec-1 to ip-10-253-46-101.ec2.internal
  50s		50s		1	kubelet, ip-10-253-46-101.ec2.internal					Normal		SuccessfulMountVolume	MountVolume.SetUp succeeded for volume "default-token-00b84"
  49s		49s		1	kubelet, ip-10-253-46-101.ec2.internal	spec.containers{executor}	Normal		Pulling			pulling image "ecr_id.dkr.ecr.us-east-1.amazonaws.com/spark-executor-py-kissmetrics:latest"
  49s		49s		1	kubelet, ip-10-253-46-101.ec2.internal	spec.containers{executor}	Normal		Pulled			Successfully pulled image "ecr_id.dkr.ecr.us-east-1.amazonaws.com/spark-executor-py-kissmetrics:latest"
  49s		49s		1	kubelet, ip-10-253-46-101.ec2.internal	spec.containers{executor}	Normal		Created			Created container
  49s		49s		1	kubelet, ip-10-253-46-101.ec2.internal	spec.containers{executor}	Normal		Started			Started container

Hmm I haven't seen this, and we've been reading/writing parquet with Spark in k8s.  Have you confirmed that class org.xerial.snappy.Snappy is in that snappy-java jar?

@ash211  has it.

META-INF/MANIFEST.MF
META-INF/maven/org.iq80.snappy/snappy/pom.properties
META-INF/maven/org.iq80.snappy/snappy/pom.xml
org/iq80/snappy/BufferRecycler.class
org/iq80/snappy/CorruptionException.class
org/iq80/snappy/Crc32C.class
org/iq80/snappy/HadoopSnappyCodec$SnappyCompressionInputStream.class
org/iq80/snappy/HadoopSnappyCodec$SnappyCompressionOutputStream.class
org/iq80/snappy/HadoopSnappyCodec.class
org/iq80/snappy/Main.class
org/iq80/snappy/Memory.class
org/iq80/snappy/SlowMemory.class
org/iq80/snappy/Snappy.class
org/iq80/snappy/SnappyCompressor.class
org/iq80/snappy/SnappyDecompressor.class
org/iq80/snappy/SnappyInputStream.class
org/iq80/snappy/SnappyInternalUtils.class
org/iq80/snappy/SnappyOutputStream.class
org/iq80/snappy/UnsafeMemory.class

Missing / broken snappy jar.
I built this off off the tip of 2.2 branch
garylucas@gary-lucas:~/dev/spark|branch-2.2-kubernetes⚡
⇒  git rev-parse HEAD
8a0f485d83f84a9b556f7634fed8cb1b65e12159

So could be my build command was incorrect or there could be some issue in the branch.
Here was my build command:
garylucas@gary-lucas:~/dev/spark|branch-2.2-kubernetes⚡
⇒  git rev-parse HEAD
8a0f485d83f84a9b556f7634fed8cb1b65e12159
garylucas@gary-lucas:~/dev/spark|branch-2.2-kubernetes⚡
⇒  ./dev/make-distribution.sh --pip --tgz -Pmesos -Pyarn -Pkinesis-asl -Phive -Phive-thriftserver -Pkubernetes -Phadoop-2.7 -Dhadoop.version=2.7.3

I got that from: https://github.com/apache-spark-on-k8s/spark/issues/438
The reason I'm building my own is listed here: https://github.com/apache-spark-on-k8s/spark/issues/494
The other issue i'm experiencing on this build is: https://github.com/apache-spark-on-k8s/spark/issues/505
Which i'm currently trying to debug.

Sorry, I didn't realize there were two snappy jars in there and inspected the wrong one (IE snappy0.2.jar)
This appears to be correct:
snappy-java-<IP_ADDRESS>.jar

META-INF/MANIFEST.MF
org/xerial/snappy/OSInfo.class
org/xerial/snappy/PureJavaCrc32C.class
org/xerial/snappy/Snappy.class
org/xerial/snappy/SnappyBundleActivator.class
org/xerial/snappy/SnappyCodec.class
org/xerial/snappy/SnappyError.class
org/xerial/snappy/SnappyErrorCode.class
org/xerial/snappy/SnappyException.class
org/xerial/snappy/SnappyFramed.class
org/xerial/snappy/SnappyFramedInputStream$FrameAction.class
org/xerial/snappy/SnappyFramedInputStream$FrameData.class
org/xerial/snappy/SnappyFramedInputStream$FrameMetaData.class
org/xerial/snappy/SnappyFramedInputStream.class
org/xerial/snappy/SnappyFramedOutputStream.class
org/xerial/snappy/SnappyIOException.class
org/xerial/snappy/SnappyInputStream.class
org/xerial/snappy/SnappyLoader.class
org/xerial/snappy/SnappyNative.class
org/xerial/snappy/SnappyOutputStream.class
org/xerial/snappy/VERSION
org/xerial/snappy/buffer/BufferAllocator.class
org/xerial/snappy/buffer/BufferAllocatorFactory.class
org/xerial/snappy/buffer/CachedBufferAllocator$1.class
org/xerial/snappy/buffer/CachedBufferAllocator.class
org/xerial/snappy/buffer/DefaultBufferAllocator$1.class
org/xerial/snappy/buffer/DefaultBufferAllocator.class
org/xerial/snappy/native/AIX/ppc/libsnappyjava.a
org/xerial/snappy/native/AIX/ppc64/libsnappyjava.a
org/xerial/snappy/native/Linux/aarch64/libsnappyjava.so
org/xerial/snappy/native/Linux/arm/libsnappyjava.so
org/xerial/snappy/native/Linux/armhf/libsnappyjava.so
org/xerial/snappy/native/Linux/ppc64/libsnappyjava.so
org/xerial/snappy/native/Linux/ppc64le/libsnappyjava.so
org/xerial/snappy/native/Linux/s390x/libsnappyjava.so
org/xerial/snappy/native/Linux/x86/libsnappyjava.so
org/xerial/snappy/native/Linux/x86_64/libsnappyjava.so
org/xerial/snappy/native/Mac/x86/libsnappyjava.jnilib
org/xerial/snappy/native/Mac/x86_64/libsnappyjava.jnilib
org/xerial/snappy/native/README
org/xerial/snappy/native/SunOS/sparc/libsnappyjava.so
org/xerial/snappy/native/SunOS/x86/libsnappyjava.so
org/xerial/snappy/native/SunOS/x86_64/libsnappyjava.so
org/xerial/snappy/native/Windows/x86/snappyjava.dll
org/xerial/snappy/native/Windows/x86_64/snappyjava.dll

Looks like everything is present on the executors:

garylucas@gary-lucas:~/dev/ub-data-kissmetrics|DAT-spark-on-k8s⚡
⇒  kubectl exec -it kmderived-1506306351957-exec-3 /bin/bash
bash-4.3# ls
Compute__Derived_NonAppPageViewed.py  hadoop-aws-2.7.3.jar                  mysql-connector-java-5.1.35.jar
aws-java-sdk-1.7.4.jar                joda-time-2.9.3.jar                   snappy-java-<IP_ADDRESS>.jar
bash-4.3# cd /opt/spark/
RELEASE/  bin/      conf/     examples/ jars/     python/   sbin/     work-dir/
bash-4.3# cd /opt/spark/jars/
bash-4.3# ls -alh | grep snappy
-rw-r--r--   18 root     root       47.6K Sep 17 03:54 snappy-0.2.jar
-rw-r--r--   18 root     root        1.0M Sep 17 03:54 snappy-java-<IP_ADDRESS>.jar
bash-4.3#

Huh, also when I expose the spark UI I see this in the 'environment variables':
/opt/spark/jars/snappy-0.2.jar | System Classpath
-- | --
/opt/spark/jars/snappy-java-<IP_ADDRESS>.jar | System Classpath

I upgraded to the recent build (https://github.com/apache-spark-on-k8s/spark/releases/tag/v2.2.0-kubernetes-0.4.0) in the hopes that my personal build was somehow hooped.
Same results:
3.535 s due to Job aborted due to stage failure: Task 28 in stage 3.0 failed 4 times, most recent failure: Lost task 28.3 in stage 3.0 (TID 363, <IP_ADDRESS>, executor 13): org.apache.spark.SparkException: Task failed while writing rows
	at org.apache.spark.sql.execution.datasources.FileFormatWriter$.org$apache$spark$sql$execution$datasources$FileFormatWriter$$executeTask(FileFormatWriter.scala:272)
	at org.apache.spark.sql.execution.datasources.FileFormatWriter$$anonfun$write$1$$anonfun$apply$mcV$sp$1.apply(FileFormatWriter.scala:191)
	at org.apache.spark.sql.execution.datasources.FileFormatWriter$$anonfun$write$1$$anonfun$apply$mcV$sp$1.apply(FileFormatWriter.scala:190)
	at org.apache.spark.scheduler.ResultTask.runTask(ResultTask.scala:87)
	at org.apache.spark.scheduler.Task.run(Task.scala:108)
	at org.apache.spark.executor.Executor$TaskRunner.run(Executor.scala:335)
	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:748)
Caused by: java.lang.NoClassDefFoundError: Could not initialize class org.xerial.snappy.Snappy
	at org.apache.parquet.hadoop.codec.SnappyCompressor.compress(SnappyCompressor.java:67)
	at org.apache.hadoop.io.compress.CompressorStream.compress(CompressorStream.java:81)
	at org.apache.hadoop.io.compress.CompressorStream.finish(CompressorStream.java:92)
	at org.apache.parquet.hadoop.CodecFactory$BytesCompressor.compress(CodecFactory.java:112)
	at org.apache.parquet.hadoop.ColumnChunkPageWriteStore$ColumnChunkPageWriter.writePage(ColumnChunkPageWriteStore.java:93)
	at org.apache.parquet.column.impl.ColumnWriterV1.writePage(ColumnWriterV1.java:150)
	at org.apache.parquet.column.impl.ColumnWriterV1.accountForValueWritten(ColumnWriterV1.java:109)
	at org.apache.parquet.column.impl.ColumnWriterV1.write(ColumnWriterV1.java:203)
	at

I'm just taking some time to go through the executor logs but that'll take some time.  Wondering if anyone else has the same issue.

What's the nature of the other libraries on the classpath? Are there any jars with shaded dependencies or large jars that contain library classes like Snappy?

Can you try running a Java or Scala job instead and see if there's similar behavior?

Good thoughts, here's my jars:
      --jars
local:/opt/jars/hadoop-aws-2.7.3.jar,
local:/opt/jars/aws-java-sdk-1.7.4.jar,
local:/opt/jars/joda-time-2.9.3.jar,
local:/opt/jars/mysql-connector-java-5.1.35.jar \

I'll introspect them later this eve and also test with a simple raw scala job.

Ok, so no mention of snappy in those jars.
I submitted a simple scala based spark job that consumes a parquet from S3 that I know is valid, samples it down to 10% of original and writes it back to a new parquet
I included all the jars I've been using, mentioned in above comment (however I'm not running any queries against mysql or using joda-time).
No sign of similar problems to what I'm seeing above in pyspark.  Read / write works
Next experiment, port sample job over to pyspark and repeat.

So this just gets weirder and weirder.
Both test jobs scala and pyspark work.  But my actual original job still fails.

The test scripts consumed a small-ish parquet file, sampled it down and produced a smaller file.  This is trying to write about 10GB it looks like, IE not tiny but hardly huge.
Next I'm probably going to distill it down to a minimal problem and run that.  Right now it takes awhile to iterate.
That's essentially what I'm doing now but a 5-10 minute turnaround to fail time is a bit slow, however on the bright side I'm now using base images and don't have to build and push to ECR every darn time.
Error still seems to boil down too: ```	Suppressed: java.lang.NoClassDefFoundError: Could not initialize class org.xerial.snappy.Snappy

Here's a subset of the logs I'm seeing (The whole trace is huge)

Oct 01 22:32:47 data-cluster-slow-test k8s.pytest-parquet-1506921643054-exec-8_default_executor: 2017-10-02 05:32:47 INFO  InternalParquetRecordWriter:160 - Flushing mem columnStore to file. allocated memory: 2172814
Oct 01 22:32:47 data-cluster-slow-test k8s.pytest-parquet-1506921643054-exec-7_default_executor:   } ]
Oct 01 22:32:47 data-cluster-slow-test k8s.pytest-parquet-1506921643054-exec-7_default_executor: }
Oct 01 22:32:47 data-cluster-slow-test k8s.pytest-parquet-1506921643054-exec-7_default_executor: and corresponding Parquet message type:
Oct 01 22:32:47 data-cluster-slow-test k8s.pytest-parquet-1506921643054-exec-7_default_executor: message spark_schema {
Oct 01 22:32:47 data-cluster-slow-test k8s.pytest-parquet-1506921643054-exec-7_default_executor:   required binary Fact_PageViewedEventId (UTF8);
Oct 01 22:32:47 data-cluster-slow-test k8s.pytest-parquet-1506921643054-exec-8_default_executor: 2017-10-02 05:32:47 ERROR Utils:91 - Aborting task
Oct 01 22:32:47 data-cluster-slow-test k8s.pytest-parquet-1506921643054-exec-8_default_executor: java.lang.NoClassDefFoundError: Could not initialize class org.xerial.snappy.Snappy
Oct 01 22:32:47 data-cluster-slow-test k8s.pytest-parquet-1506921643054-exec-8_default_executor: 	at org.apache.parquet.hadoop.codec.SnappyCompressor.compress(SnappyCompressor.java:67)
Oct 01 22:32:47 data-cluster-slow-test k8s.pytest-parquet-1506921643054-exec-8_default_executor: 	at org.apache.hadoop.io.compress.CompressorStream.compress(CompressorStream.java:81)
Oct 01 22:32:47 data-cluster-slow-test k8s.pytest-parquet-1506921643054-exec-5_default_executor: 2017-10-02 05:32:47 INFO  FileOutputCommitter:108 - File Output Committer Algorithm version is 1
Oct 01 22:32:47 data-cluster-slow-test k8s.pytest-parquet-1506921643054-exec-5_default_executor: 2017-10-02 05:32:47 INFO  SQLHadoopMapReduceCommitProtocol:54 - Using user defined output committer class org.apache.parquet.hadoop.ParquetOutputCommitter
Oct 01 22:32:47 data-cluster-slow-test k8s.pytest-parquet-1506921643054-exec-5_default_executor: 2017-10-02 05:32:47 INFO  FileOutputCommitter:108 - File Output Committer Algorithm version is 1
Oct 01 22:32:47 data-cluster-slow-test k8s.pytest-parquet-1506921643054-exec-5_default_executor: 2017-10-02 05:32:47 INFO  SQLHadoopMapReduceCommitProtocol:54 - Using output committer class org.apache.parquet.hadoop.ParquetOutputCommitter
Oct 01 22:32:47 data-cluster-slow-test k8s.pytest-parquet-1506921643054-exec-5_default_executor: 2017-10-02 05:32:47 INFO  CodecConfig:95 - Compression: SNAPPY
Oct 01 22:32:47 data-cluster-slow-test k8s.pytest-parquet-1506921643054-exec-5_default_executor: 2017-10-02 05:32:47 INFO  CodecConfig:95 - Compression: SNAPPY
Oct 01 22:32:47 data-cluster-slow-test k8s.pytest-parquet-1506921643054-exec-5_default_executor: 2017-10-02 05:32:47 INFO  ParquetOutputFormat:329 - Parquet block size to 134217728
Oct 01 22:32:47 data-cluster-slow-test k8s.pytest-parquet-1506921643054-exec-5_default_executor: 2017-10-02 05:32:47 INFO  ParquetOutputFormat:330 - Parquet page size to 1048576
Oct 01 22:32:47 data-cluster-slow-test k8s.pytest-parquet-1506921643054-exec-5_default_executor: 2017-10-02 05:32:47 INFO  ParquetOutputFormat:331 - Parquet dictionary page size to 1048576
Oct 01 22:32:47 data-cluster-slow-test k8s.pytest-parquet-1506921643054-exec-5_default_executor: 2017-10-02 05:32:47 INFO  ParquetOutputFormat:332 - Dictionary is on
Oct 01 22:32:47 data-cluster-slow-test k8s.pytest-parquet-1506921643054-exec-5_default_executor: 2017-10-02 05:32:47 INFO  ParquetOutputFormat:333 - Validation is off
Oct 01 22:32:47 data-cluster-slow-test k8s.pytest-parquet-1506921643054-exec-5_default_executor: 2017-10-02 05:32:47 INFO  ParquetOutputFormat:334 - Writer version is: PARQUET_1_0
Oct 01 22:32:47 data-cluster-slow-test k8s.pytest-parquet-1506921643054-exec-5_default_executor: 2017-10-02 05:32:47 INFO  ParquetOutputFormat:335 - Maximum row group padding size is 0 bytes
Oct 01 22:32:47 data-cluster-slow-test k8s.pytest-parquet-1506921643054-exec-5_default_executor: 2017-10-02 05:32:47 INFO  ParquetOutputFormat:336 - Page size checking is: estimated
Oct 01 22:32:47 data-cluster-slow-test k8s.pytest-parquet-1506921643054-exec-5_default_executor: 2017-10-02 05:32:47 INFO  ParquetOutputFormat:337 - Min row count for page size check is: 100
Oct 01 22:32:47 data-cluster-slow-test k8s.pytest-parquet-1506921643054-exec-5_default_executor: 2017-10-02 05:32:47 INFO  ParquetOutputFormat:338 - Max row count for page size check is: 10000
Oct 01 22:32:47 data-cluster-slow-test k8s.pytest-parquet-1506921643054-exec-5_default_executor: 2017-10-02 05:32:47 INFO  ParquetWriteSupport:54 - Initialized Parquet WriteSupport with Catalyst schema:
Oct 01 22:32:47 data-cluster-slow-test k8s.pytest-parquet-1506921643054-exec-5_default_executor: {

Does anyone know if Snappy is used for all parquet writes to S3?  The test writes were quite a bit smaller.

One should be able to inspect the written files to know if they're compressed with Snappy or not. My recollection is that they are always compressed.

Just tested a write that works, got rid of the sample call.
Looked in executor logs:
Oct 02 23:01:43 data-cluster-slow-test k8s.pytest-parquet-1507010416342-exec-1_default_executor: 2017-10-03 06:01:05 INFO  CodecConfig:95 - Compression: SNAPPY
So this is just weird.

@luck02 I ran into this as well and found this in the stack trace:
java.lang.UnsatisfiedLinkError: /tmp/snappy-1.1.2-6e299ad6-46dd-4ff3-aaac-112b4383ccf8-libsnappyjava.so: Error loading shared library ld-linux-x86-64.so.2: Nosuch file or directory (needed by /tmp/snappy-1.1.2-6e299ad6-46dd-4ff3-aaac-112b4383ccf8-libsnappyjava.so)
  at java.lang.ClassLoader$NativeLibrary.load(Native Method)
  at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1941)
  at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1824)
  at java.lang.Runtime.load0(Runtime.java:809)
  at java.lang.System.load(System.java:1086)
  at org.xerial.snappy.SnappyLoader.loadNativeLibrary(SnappyLoader.java:174)
  at org.xerial.snappy.SnappyLoader.load(SnappyLoader.java:152)
  at org.xerial.snappy.Snappy.<clinit>(Snappy.java:47)
  ... 48 elided

It seems like this is happening because the Spark Docker images are based on Alpine, which uses musl libc? I tried adding the libc6-compat apk package in custom images for the driver/executor and Snappy seems to work fine now

Thank you for this investigation @akakitani !!!!!

That's awesome @akakitani  where did you find that?  In the executor logs?  I'll reproduce.  The logs are super verbose so it's hard to find useful information.

This was on the driver logs actually, and it was when trying to read some Parquet files. This has worked so far for me on writes too 👍

@mccheah thoughts on modifying the docker images to include libc6-compat, if this in reality a fix? Is this one of the extra packages you guys are using in your customized Docker images?

We install https://github.com/sgerrand/alpine-pkg-glibc/releases/download/2.25-r0/glibc-2.25-r0.apk which might be similar?

Found it in our trace as well:
Oct 04 21:38:00 data-cluster-slow-test k8s.pytest-parquet-1507176181001-exec-2_default_executor: java.lang.UnsatisfiedLinkError: /tmp/snappy-1.1.2-2506cd9c-0dc3-49eb-958a-a032e8b7b784-libsnappyjava.so: Error loading shared library ld-linux-x86-64.so.2: No such file or directory (needed by /tmp/snappy-1.1.2-2506cd9c-0dc3-49eb-958a-a032e8b7b784-libsnappyjava.so)
Oct 04 21:38:00 data-cluster-slow-test k8s.pytest-parquet-1507176181001-exec-2_default_executor: 	at java.lang.ClassLoader$NativeLibrary.load(Native Method)

Ugh, it only appears once.  in about 20k lines of logs.  Wow, needle in a haystack.  Don't have time to complete experiment this evening by adding to the images.

A fix is proposed in #550


NuGet package?

Does there exist a public NuGet package of the project?

here : https://www.nuget.org/packages/Sutro.gsGCode

Thanks for getting back to me 😆


Parametric varchar v4

Supersedes https://github.com/facebook/presto/pull/4311

I have reverted accidental push --force to this pull request

Other than how we avoid breaking backwards compatibility and minor comments, this looks pretty good. I assume it passes all integration tests, but I'll try running it through our verifier to make sure nothing breaks.

Superseded by https://github.com/facebook/presto/pull/4420

I confirm integration tests are passing.
I added some comments on backward compatibility. Let me know what you think.


Thinkpad X1 tablet 3gen

hi! anyone knows which patch can I use for ThinkPad X1 tablet 3gen?

I believe the xx70-xx80 patches work, because it does put the TPM into MFG Mode. But without a TXT bios gui instead of the lame "ThinkPad Tablet Setup", You actually cannot see the advanced menu because "Date/Time" tab doesn't exist on this BIOS menu. If we can find a way to revert from this BIOS GUI into the TXT version, then maybe it would work.

I got it working for the X1 Tablet Gen 3. We just had to move it to a different tab.

Created a pull request and added support for this device.

@digmorepaka Please close issue.


Limit feed to 10 posts

An attempt to fix #40, or at least start the conversation, by limiting feeds to 10 posts.
Fixes #40.

someone is going to want to make this configurable... but 10 seems reasonable.

A lot of @pathawks's arguments over in #40 were persuasive to me, but think it's easier to add an option than to remove one. If our experience parallels WordPress's, and 99% of users are fine with a hard limit of 10 posts, I think that's more than enough of a core user case for me to say lets leave it out.
That said, if someone submits a pull request to make in an option with a reason other than "it should be an option", I don't know that we need to be dogmatic here.
Thanks for the :thought_balloon: @parkr. Going to give this a spin in the wild, and see what type of feedback we get from users, one way or the other.

it's easier to add an option than to remove one.

:+1:


Tutorial: Join two datasets together auto-magically

As a Data Wrangler I want to download two datasets and join them together auto-magically so that I have one consolidated dataset
e.g. I have a dataset with country values (e.g. GDP) and i want to join on a dataset with geojson in it so i can do a map.
Or: i have data in nominal terms (e.g. GDP) and i want to join with Inflation and produce real GDP.

@rgrp see https://github.com/danfowler/world_gdp_2014 for a Q&D example

@danfowler nice - it would be good to get the world geojson from one of the existing data packages e.g. http://data.okfn.org/data/core/geo-countries
Guess a nice output would be a chloropeth map of the world as a view on the new data package.
So in summary, basic idea is:

Take two source data packages
Do a join to produce an output data package

Optionally add a view to this to show off the joined data
Or (simpler) just spit out a table with the data

If you want to know more about vega stuff ping me (and that's low priority vs the basic working setup).

@rgrp FIXED: http://frictionlessdata.io/guides/joining-data-in-python/

@danfowler have you opened a new issue for the second example? If so please reference in your closing of the issue.

@rgrp new issue: https://github.com/frictionlessdata/ideas/issues/257
PR: https://github.com/frictionlessdata/frictionlessdata.io/pull/27


Add basic IN/OUT bytes metrics

Motivation
We need a way to measure the network traffic originating directly from KOP clients
Modifications
Add two simple metrics KOP_TOTAL_BYTES_IN and KOP_TOTAL_BYTES_OUT
Documentation

[x] doc-required

I will be happy to add docs/tests if you agree (@BewareMyPower @Demogorgon314 ) on these two new metrics

@wenbingshen good catch
I updated the help

@BewareMyPower I have added the assertions, PTAL


Enter to select the first ?

This plugin have any feature to search an item, and apply "Enter Keyboard" and select the first item in the list. After that close the modal ?

Hey @flastowizka, I don't get it 🙂 "Enter keyboard"? Do you use it in a desktop app?

In a desktop app and device app.. I customized the plugin to accept this
functionality
Em ter, 10 de abr de 2018 às 12:05, Evgenii Koriakin <
<EMAIL_ADDRESS>escreveu:

Hey @flastowizka https://github.com/flastowizka, I don't get it 🙂
"Enter keyboard"? Do you use it in a desktop app?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/eakoriakin/ionic-select-searchable/issues/20#issuecomment-380134883,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AIMjfAGQX97vKUBt5OQtWmktXzxrSTlCks5tnMpGgaJpZM4S9bWh
.

--

Atenciosamente,
Felipe Lastowizka
Co-Fundador & Diretor de TI
<EMAIL_ADDRESS><EMAIL_ADDRESS>11
95459.3504
https://www.epadoca.com

Ok, so, can I close the issue?


New version: LogicCircuits v0.2.0

Registering package: LogicCircuits
Repository: https://github.com/Juice-jl/LogicCircuits.jl
Created by: @khosravipasha
Version: v0.2.0
Commit: b14ae4c29d49199cd3c66d7b493716b521c9037b
Git reference: master

Stop
(delaying the release a bit)

Stop
(delaying the release a bit)


Some error in adding toolbox subpaths

I set the paths correctly, but it seems the script cannot add the toolbox subpaths. Any insight into this?
projectPath = '~/Desktop/delay-discounting-analysis/demo';
toolboxPath = '~/Desktop/delay-discounting-analysis/ddToolbox';
Using Matlab R2014a

Hi Adrian. I definitely appreciate bug reports by the way. Can you let me know more about the actual error you get and after which call you get the error? I'll try to get to the bottom of it

I believe the error is when the script calls the addSubFoldersToPath() function
Error using setToolboxPath (line 19)
Some error in adding toolbox subpaths

EDU>> addSubFoldersToPath
Error using cell/strfind (line 32)
If any of the input arguments are cell arrays, the first must be a cell array of strings and the second
must be a character array.
Error in addSubFoldersToPath>isStringMatch (line 30)
matchFound = any(~cellfun('isempty',strfind(str,pattern)));
Error in addSubFoldersToPath>shouldAddThisPath (line 23)
if isStringMatch(path,ignoreStr)
Error in addSubFoldersToPath (line 10)
if shouldAddThisPath(allSubpaths(1,n),blacklist)
Does this help?

Cant immediately see the problem. Maybe copy in the full code you're using? Although I'm actually very close to releasing a new version of the code with quite a few changes. Would it possible for you to switch to the dev branch and try out that latest code? If the problem goes way then that's great, otherwise I'll dig deeper.
Bear in mind that in this new (about to be released) version I've made changes to how the toolbox is called so, just a heads up about that.

This is no longer an issue for me. I was able to work around it. Now I get the following error:
Error using matjags (line 288)
Error from dos environment: Dokumente: Undefined variable.
Welcome to JAGS 4.2.0 on Wed Sep 21 15:24:00 2016
JAGS is free software and comes with ABSOLUTELY NO WARRANTY
Loading module: basemod: ok
Loading module: bugs: ok
Failed to open file
/Users/bene/Documents/benmob/delay-discounting-analysis/~/Documents/benmob/delay-discounting-analysis/ddToolbox/models/hierarchicalME.txt
Error in MatjagsWrapper/invokeSampler (line 57)
[samples, stats] = matjags(...
Error in MatjagsWrapper/conductInference (line 44)
mcmc = obj.invokeSampler();
Error in Model/conductInference (line 67)
obj.mcmc = obj.sampler.conductInference( obj , obj.data );
Error in SCRIPT (line 67)
hModel.conductInference()
I tried using full paths suggestion you provided another users without the (~/) and that did not solve the problem.
-Adrian.

I'm hoping to work on it over this weekend/Monday. Happy to have a Skype chat to just get it done together if you like. My username for that is the same as my username here.

So this issue is no longer present in the current version of the code (in the dev branch). I'll be releasing a new version soon, so this is all wrapped up :)

FYI. I've released v.1.4 now. It's worth upgrading... many changes including simplifying the way how analyses are called.


Don't Slice ReadOnlySpan to Span

It breaks the immutability guarantees.
Otherwise methods will still have to defensive copy the array rather than return a static array wrapped in a ReadOnlySpan for fixed items like lookup tables etc as they could be changed by slicing.
Resolves  #735
@jkotas @KrzysztofCwalina

Hi @benaadams, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

Yeah, makes total sense. Good catch.
Thanks!


Pin/favorite a repository to keep it at the top of the repository list

Is your feature request related to a problem? Please describe.
I use a small number of repositories for daily note-taking (non-work, work) and having to pick them out of the repository list can be frustrating, especially when I have a lot of repositories tracked from organizations which come before my github username,
e.g.

Acme/somerepo
...many Acme repos...
taddison/garage-wiki (the repo I want at the top)

Describe the solution you'd like
I'd like to specify one or more repos to appear at the top of the repository list.
Describe alternatives you've considered
I could change my GitHub username to be aaaddison 😅?  And then name any daily repos to be named such that they'll always appear at the top.
Additional context
Minimal example with the SQLChecks repo pushing down my note-taking repo:

85c09dde51e89110ad4542acc1c5f0565b4aa8c0 solves this issue for me, with a shortcut for daily pages to boot 💥.


require() of ES Module (.\node_modules\imagemin-svgo\index.js) from (.\node_modules\next-optimized-images\lib\loaders\img-loader.js) not supported.

Hi,
I am getting wired error while trying to use next-optimised-images for nextjs12.x and node16.13.0
require() of ES Module (.\node_modules\imagemin-svgo\index.js) from (.\node_modules\next-optimized-images\lib\loaders\img-loader.js) not supported.
Not able to build the project.

Same here. Here is the full output:
> Build error occurred
Error [ERR_REQUIRE_ESM]: require() of ES Module /Users/jbaczuk/Development/Personal/jordan-baczuk/node_modules/imagemin-svgo/index.js from /Users/jbaczuk/Development/Personal/jordan-baczuk/node_modules/next-optimized-images/lib/loaders/img-loader.js not supported.
Instead change the require of index.js in /Users/jbaczuk/Development/Personal/jordan-baczuk/node_modules/next-optimized-images/lib/loaders/img-loader.js to a dynamic import() which is available in all CommonJS modules.
    at requireImageminPlugin (/Users/jbaczuk/Development/Personal/jordan-baczuk/node_modules/next-optimized-images/lib/loaders/img-loader.js:21:10)
    at getImgLoaderOptions (/Users/jbaczuk/Development/Personal/jordan-baczuk/node_modules/next-optimized-images/lib/loaders/img-loader.js:50:11)
    at applyImgLoader (/Users/jbaczuk/Development/Personal/jordan-baczuk/node_modules/next-optimized-images/lib/loaders/img-loader.js:96:28)
    at appendLoaders (/Users/jbaczuk/Development/Personal/jordan-baczuk/node_modules/next-optimized-images/lib/loaders/index.js:137:14)
    at Object.webpack (/Users/jbaczuk/Development/Personal/jordan-baczuk/node_modules/next-optimized-images/lib/index.js:62:24)
    at Object.getBaseWebpackConfig [as default] (/Users/jbaczuk/Development/Personal/jordan-baczuk/node_modules/next/dist/build/webpack-config.js:1327:32)
    at async Promise.all (index 0)
    at async Span.traceAsyncFn (/Users/jbaczuk/Development/Personal/jordan-baczuk/node_modules/next/dist/trace/trace.js:74:20)
    at async /Users/jbaczuk/Development/Personal/jordan-baczuk/node_modules/next/dist/build/index.js:315:25
    at async Span.traceAsyncFn (/Users/jbaczuk/Development/Personal/jordan-baczuk/node_modules/next/dist/trace/trace.js:74:20)
    at async Object.build [as default] (/Users/jbaczuk/Development/Personal/jordan-baczuk/node_modules/next/dist/build/index.js:80:25) {
  code: 'ERR_REQUIRE_ESM'
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

The solution is to downgrade imagemin-svgo to version 9.0.0. The latest version has ES module support only, therefore is not compatible with next-optimized-images package (this package still uses require imports, not ES module import syntax)

I also had to downgrade  "imagemin-mozjpeg": "9.0.0", from version 10.0.0 to get this to work


"Thanks for watching" shows up repeatedly

So, I have this issue: when there is silence in the recorded audio, whisper, instead of giving out blank string is outputting "Thanks for watching!" or sometimes "Thank you!", but as soon as there is something else than silence it transcribes it 100% perfect. i dunno what causes it, but it's very crucial for me to return blank string, when there's complete silence. Here is my code:
import os
import time

import soundfile
import sounddevice
import numpy

from faster_whisper import WhisperModel

class WhisperTranscriber:
    def __init__(self, model_size="medium", sample_rate=48000):
        self.filename = "C:/Windows/Temp/clara_recording.wav"
        self.data = None
        self.model_size = model_size
        self.sample_rate = sample_rate
        self.model = WhisperModel(model_size, device="cuda", compute_type="float16")

    def record(self, duration, sr):
        data = sounddevice.rec(int(duration * sr), samplerate=sr, channels=1, blocking=True)
        if self.data is None:
            self.data = data
        else:
            self.data = numpy.vstack((self.data, data))
        normalized_data = data / numpy.max(numpy.abs(data))
        return normalized_data

    def is_silent(self, data, threshold):
        rms = numpy.mean(numpy.abs(data))
        return rms > threshold

    def stop_on_silence(self, duration=1.0, sr=48000, threshold=0.15):
        rec = []

        while True:
            data = self.record(duration, sr)
            if self.is_silent(data, threshold):
                break
            rec.extend(data)

        open(self.filename, "w+b")
        soundfile.write(self.filename, self.data, self.sample_rate)

    def transcribe(self):
        self.stop_on_silence()
        file = open(self.filename, "rb")
        segments, info = self.model.transcribe(file, language="en", condition_on_previous_text=False)
        file.close()
        self.data = None
        return ''.join(segment.text for segment in segments)

whisper = WhisperTranscriber()

def get_voice_prompt():
    return whisper.transcribe()

for i in range(0,20):
    print("Started recording")
    print(get_voice_prompt())

Also, if you can provide me with a way to feed the audio directly to the AI and not temporarily to file, I wold be so grateful. When I try to pass the recorded data into the model, it crashes with:
numpy.core._exceptions._ArrayMemoryError: Unable to allocate 944. GiB for an array with shape (528000, 480001) and data type float32

@ENDERFUN2 , hello. To handle silence in recorded audio, you can try using the vad_filter option.
To avoid save audio to temp file, you should pass the audio data as numpy ndarray to FW model. Below is my example:
import numpy as np
import sounddevice as sd

from faster_whisper import WhisperModel

print("Recording started")
duration = 10
sample_rate = 16000
audio_data = sd.rec(
    int(sample_rate * duration), samplerate=sample_rate, channels=1, dtype=np.float32
)
sd.wait()
audio_data = audio_data.squeeze()
print("Recording stopped")

model = WhisperModel("tiny", device="cpu")
segments, info = model.transcribe(audio_data, word_timestamps=True)
for segment in segments:
    print("[%.2fs -> %.2fs] %s" % (segment.start, segment.end, segment.text))

Okay, so vad_filter works perfectly. I don't know why I hadn't found it before...
Also, that sample code from @trungkienbkhn turned out to be a game changer. But, as a curious man, why is squeeze required?It's my first serious project in Python, 'cause all my previous were in Java or C++, therefore I don't really understand it. And why sample rate has to be set to 16000? When I pass the audio file with 48000 sample rate, it transcribes the audio 100% perfect. Would so grateful for explanaition

Hey @ENDERFUN2 ,
Assume you have a box full of Legos and want to construct a spacecraft. To be used, all of the Legos should be loose and in the box.However, occasionally, a smaller box within the larger box may contain the Legos. This extra box is merely there; it contains no Legos.The sounddevice.rec function in this code is analogous to obtaining a Lego box. There could be an additional, empty box included (the extra dimension).It's like opening the large box and removing the smaller, empty one when you use the squeeze feature. It takes out the superfluous box so that all you have to work with is the audio data, or Legos.This is significant because the WhisperModel.transcribe method, which you use to construct the spaceship, is limited to working with loose Legos and not with boxes inside boxes. Squeezing ensures that everything operates as intended and removes the excess box.
This is as how I understood the squeeze works.

@ENDERFUN2 , FYI, you can see this comment to better understand why should use sample_rate=16000. If I use sr=48000 in my example in here, obviously it doesn't work.
For why use squeeze(), sd.rec() func returns an array with shape (duration * sample_rate, 1) because it records mono audio, resulting in a 2D array with one of the dimensions having size 1. However, FW requires input as a 1D array. So we need use squeeze() to reformat.

Well, it now makes a lot of sense. Thank you both @trungkienbkhn @arunman1kandan for your service, although abstracting it to Legos wasn't necessary, I just didn't understand ndarrays. Also, after some refactoring I noticed that my code is one big pile of garbage and I should reformat it asap. Your answers gave me an important insight

Well, it now makes a lot of sense. Thank you both @trungkienbkhn @arunman1kandan for your service, although abstracting it to Legos wasn't necessary, I just didn't understand ndarrays. Also, after some refactoring I noticed that my code is one big pile of garbage and I should reformat it asap. Your answers gave me an important insight


Update 6-exerciwe-from-james-pushup with the correct file image

I'm not seeing the image and/or your exercise files - did you push them to the branch?


feat: Adds Select and Image features

Implement Select and Image POC features
adds format option to chatGptService -> simplify JSON mode by adding the format option which sets the correct request options
moves the merge utility to the library
bumps playground autoprefixer and postcss

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

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


Code issue

program to an interface -> List a = ArrayList a nie ArrayList a = new ArrayList

As shown, it is not a good practice to use directly type of implementation instead of interface.
Issue has been fixed.


Make DataComponent observer the target side of bindings in it's template that involves it's data property to coordinate canDrawGate

Best approach so far is to add a delegate method in deserialization to let know the owner of bindings being put in place.


Allow capitalisation in commands

In the example below !group hiscores zulrah worked. !group hiscores Zulrah didn't.
Interestingly it appears to have the players in the right order, but all with 0kc and an invalid metric name in the title.

Nvm re-opening, still occurs.
It now displays the kc values correctly. but fails to display the metric's name and icon on the embed title.


Replace existing

Before you start...

[X] Have you refreshed the page? You might be using an old version of the site.
[X] Have you checked for an existing issue on this topic? If there is one, post a comment on it instead.

What browsers are you seeing the problem on?
Other - list in description
Description
Is there a place in the settings to disable "Replace existing", I transfer tons of files / folder everyday and being asking every time if I want to overwrite the existing file is really slowing down the process, and very annoying.

Steps To Reproduce
Copy/paste a file.
Expected behavior
Don't be asked every time, just do it.
Relevant Assets
No response

@HC1Gunner Thanks for asking! Currently, turning off this confirmation prompt isn’t available, but your last selected action will be remembered

It's not remembering, daily to weekly I'm updating text documents and
transferring them to another drive for the purpose of backup. It asks me
every time whether I want to overwrite.
Not sure what it's using to make / measure the x-fer, but it's also
taking forever to complete. I transferred a 10mb folder over and it took
way too long to complete. My system is pretty snappy with drives that have
high read/write.

Do I need to make  a new ticket under Feature Request?
On Thu, Aug 15, 2024 at 11:37 AM Yair @.***> wrote:

Closed #16017 https://github.com/files-community/Files/issues/16017 as
completed.
—
Reply to this email directly, view it on GitHub
https://github.com/files-community/Files/issues/16017#event-13900584392,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AK3ZIJAALUJSI6OND5LW463ZRTYPDAVCNFSM6AAAAABMSWEXGGVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTHEYDANJYGQZTSMQ
.
You are receiving this because you were mentioned.Message ID:
@.***>

I meant that the selection in the dropdown menu is remembered, but you still need to confirm it. This is unlikely to change because we want to avoid any scenarios where a user might lose data and hold us responsible for it. Thanks for understanding!

I have no idea what Files is doing during data transfer, but it's extremely
inefficient.
I did a copy/paste of (10) mkv video files with a total size of 34.7 GB,
and this took (18) minutes to complete. I make these kinds of transfers all
the time on a daily basis from the same two drives that have fast
read/write speeds.
I've use Tera Copy Pro for years as is much better than windows default,
plus its filled with features. Tera Copy would have complete this
transfer in under (10) minutes, half the time it took Files. Tera Copy is
not worried about being sued, it seems it more like you app is collect data
and sending to you. I've been using windows (almost 40 years) since v.3.1,
I never once had data loss during a transfer of files or folders. With Tera
Copy I can pause a transfer, Files give no options, I can't cancel. It
pretty bogus when you override Windows settings and take over something as
simple as file transfers.

One, if you are doing a copy paste (in my case) then there is no need to
worry about data loss as you still have the original file that was copied.

On Fri, Aug 16, 2024 at 10:35 AM Yair @.***> wrote:

I meant that the selection in the dropdown menu is remembered, but you
still need to confirm it. This is unlikely to change because we want to
avoid any scenarios where a user might lose data and hold us responsible
for it. Thanks for understanding!
—
Reply to this email directly, view it on GitHub
https://github.com/files-community/Files/issues/16017#issuecomment-2293897912,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AK3ZIJGFUWDINQEXYF2WSK3ZRYZ73AVCNFSM6AAAAABMSWEXGGVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEOJTHA4TOOJRGI
.
You are receiving this because you were mentioned.Message ID:
@.***>

Files doesn't take over Windows transfers it uses the same system as Windows File Explorer does, Terra copy will override operations in Windows File Explorer which Files can't see. It's planned to be able to use them in #7518.


Add ELA as a defined prefix

Debian ELTS uses ELA as a prefix. The data is published at the following places:

https://www.freexian.com/lts/extended/updates/
https://deb.freexian.com/extended-lts/tracker/CVE-ID
https://deb.freexian.com/extended-lts/tracker/ELA-ID

More information about Debian LTS is available at https://www.freexian.com/lts/extended/. This includes advisories targeting debian 7,8,9, on a limited subset of packages.
The OSV schema generation is WIP, but filing this PR to start the conversation on what all will be required. Edit: See below.
I'm planning to:

Publish advisories in the OSV format. (Right now, it's adhoc)
Sync the advisory URLs to the GSD Database

Few ELAs don't have enough information with them (See https://www.freexian.com/lts/extended/updates/ela-761-1-exuberant-ctags/, https://www.freexian.com/lts/extended/updates/ela-582-1-wordpress/), such as CVE/package/version information. In the absence of such information, I'm currently ignoring such advisories, but plan to work towards getting the important ones added.
Signed-off-by: Nemo<EMAIL_ADDRESS>

Not a Freexian developer, but I'll reach out to them to ask if this can be supported upstream.

CC @rhertzog @jeremiah who I think are part of Freexian!

@oliverchang Thanks for getting us involved!
@captn3m0 As you noted most of the relevant information is available in the security tracker at https://deb.freexian.com/extended-lts/tracker/
Usually people rely on the JSON export but given what you are looking after, you are probably best served by parsing the data/ELA/list file in the underlying git repository.
At some point, we might improve the security tracker to produce OSV or other common export format but we are not there yet. If you are interested to contribute at that level, the upstream security tracker source is here:
https://salsa.debian.org/security-tracker-team/security-tracker

I switched to the git repository as the source.
Here's a sample advisory: https://github.com/captn3m0/debian-elts-advisories/blob/main/advisories/ELA-117-1.json
{
    "affected": [
        {
            "package": {
                "ecosystem": "Debian:7",
                "name": "apache2",
                "purl": "pkg:deb/debian/apache2?distro=wheezy?repository_url=http%3A%2F%2Fdeb.freexian.com%2Fextended-lts"
            },
            "ranges": {
                "events": [
                    {
                        "fixed": "2.2.22-13+deb7u14"
                    }
                ],
                "type": "ECOSYSTEM"
            }
        }
    ],
    "database_specific": {
        "type": "security update"
    },
    "id": "ELA-117-1",
    "modified": "2019-05-15T00:00:00Z",
    "references": [
        {
            "type": "ADVISORY",
            "url": "https://deb.freexian.com/extended-lts/tracker/ELA-117-1"
        },
        {
            "type": "ADVISORY",
            "url": "https://deb.freexian.com/extended-lts/tracker/CVE-2019-0217"
        },
        {
            "type": "ADVISORY",
            "url": "https://deb.freexian.com/extended-lts/tracker/CVE-2019-0220"
        }
    ],
    "related": [
        "CVE-2019-0217",
        "CVE-2019-0220"
    ]
}

Will look at improving this over time, suggestions are welcome. I've set it to auto-update as well, so other databases can start scraping this. There's no published/modified timestamp, so I'm making do with the advisory date instead.

I switched to the git repository as the source.
Here's a sample advisory: https://github.com/captn3m0/debian-elts-advisories/blob/main/advisories/ELA-117-1.json
{
    "affected": [
        {
            "package": {
                "ecosystem": "Debian:7",
                "name": "apache2",
                "purl": "pkg:deb/debian/apache2?distro=wheezy&repository_url=http%3A%2F%2Fdeb.freexian.com%2Fextended-lts"
            },
            "ranges": {
                "events": [
                    {
                        "fixed": "2.2.22-13+deb7u14"
                    }
                ],
                "type": "ECOSYSTEM"
            }
        }
    ],
    "database_specific": {
        "type": "security update"
    },
    "id": "ELA-117-1",
    "modified": "2019-05-15T00:00:00Z",
    "references": [
        {
            "type": "ADVISORY",
            "url": "https://deb.freexian.com/extended-lts/tracker/ELA-117-1"
        },
        {
            "type": "ADVISORY",
            "url": "https://deb.freexian.com/extended-lts/tracker/CVE-2019-0217"
        },
        {
            "type": "ADVISORY",
            "url": "https://deb.freexian.com/extended-lts/tracker/CVE-2019-0220"
        }
    ],
    "related": [
        "CVE-2019-0217",
        "CVE-2019-0220"
    ]
}

Will look at improving this over time, suggestions are welcome. I've set it to auto-update as well, so other databases can start scraping this. There's no published/modified timestamp, so I'm making do with the advisory date instead.

Nice!! One comment on this:
You need an "introduced": "0" event per https://ossf.github.io/osv-schema/#examples. Otherwise, according to the evaluation algorithm, the encoding means that no versions are affected.
Also, should the "ecosystem" be different here? E.g.
"ecosystem": "Freexian:7"

instead to disambiguate things?

We also have some existing code for converting Debian advisories that could potentially be reused: https://github.com/ossf/osv-schema/tree/main/tools/debian, if these are the same for Freexian.
This does additional stuff like getting the text details of the vulnerability.

Hey @captn3m0, just checking up on this PR once more. Since this links the spec out to your repo at https://github.com/captn3m0/debian-elts-advisories, we'd like to make sure it's compliant before we merge :) Would you be able to address the comments on https://github.com/ossf/osv-schema/pull/104#issuecomment-1372871791 ?

You need an "introduced": "0" event

Updated accordingly. Preview: https://github.com/captn3m0/debian-elts-advisories/blob/main/advisories/ELA-117-1.json

Also, should the "ecosystem" be different here?  "ecosystem": "Freexian:7"

Using Debian with a repository URL is much clearer imo. Had discussed this in another context with the PURL spec, and it seemed like using debian as the ecosystem with a clear repo_url is the cleanest solution. Sticking to the same ecosystem as purl will make things easier everywhere as well.
Ref: https://github.com/package-url/purl-spec/pull/214#issuecomment-1382158096

@captn3m0 do you want to fix up this conflict and then I think this is good to merge?

Conflicts fixed. The data is now published over GitHub Pages, so the OSV-formatted-links are now much nicer than using the raw github link: https://captnemo.in/debian-elts-advisories/advisories/ELA-1166-1.json

Updated validation schema


Angular 9 Test issue

Hello @kekeh,
I impressed with your datepicker, but my tests are failing with this
Chrome Headless 85.0.4183.102 (Linux x86_64) SomeComponent should create FAILED
        Error: Export of name 'angular-mydatepicker' not found!
            at cacheMatchingLocalNames (http://localhost:9877/_karma_webpack_/vendor.js:53601:23)
            at resolveDirectives (http://localhost:9877/_karma_webpack_/vendor.js:53360:13)
            at elementStartFirstCreatePass (http://localhost:9877/_karma_webpack_/vendor.js:61231:27)
            at ɵɵelementStart (http://localhost:9877/_karma_webpack_/vendor.js:61276:9)
            at ProfileComponent_Template (ng:///ProfileComponent.js:151:9)
            at executeTemplate (http://localhost:9877/_karma_webpack_/vendor.js:52614:9)
            at renderView (http://localhost:9877/_karma_webpack_/vendor.js:52384:13)
            at renderComponent (http://localhost:9877/_karma_webpack_/vendor.js:53963:5)
            at renderChildComponents (http://localhost:9877/_karma_webpack_/vendor.js:52185:9)
            at renderView (http://localhost:9877/_karma_webpack_/vendor.js:52410:13)
        Error: Expected undefined to be truthy.
            at <Jasmine>
            at UserContext.<anonymous> (http://localhost:9877/_karma_webpack_/main.js:26384:27)
            at ZoneDelegate.invoke (http://localhost:9877/_karma_webpack_/polyfills.js:13770:30)
            at ProxyZoneSpec.push../node_modules/zone.js/dist/zone-testing.js.ProxyZoneSpec.onInvoke (http://localhost:9877/_karma_webpack_/vendor.js:165144:43)

My code:
<input type="text" id="date" angular-mydatepicker
                 [formControlName]="'date'"
                 [options]="pickerOptions" #dateInput #dp="angular-mydatepicker" autocomplete="off"
                 (click)="toggleCalendar()">

Can you help me how to fix tests ?

Not sure, but maybe you have to exclude angular-mydatepicker from the test.

I have exported angular-mydatepicker here: https://github.com/kekeh/angular-mydatepicker/blob/master/projects/angular-mydatepicker/src/lib/angular-mydatepicker.input.ts#L41

Okay, thank you, I will try it

@kekeh Thank you! Your link helped.
Fix for me
@Directive({
  selector: '[angular-mydatepicker]',
  exportAs: 'angular-mydatepicker',
})
class DatepickerDirective {
}
...

beforeEach(async(() => {
    TestBed.configureTestingModule({
      declarations: [SomeComponent, DatepickerDirective],


Prepare for user mode tests

This PR enables RISCV-DV tests of user mode.
Dependent on: https://github.com/chipsalliance/Cores-VeeR-EL2/pull/184

Superseded by #185. Closing


Disable ptrClassicFrameLayout after first refresh complete

Hello. Is it possible to disable all action after first refresh ?
I want to notify user that data is loading and when complete i want to diable whole ptrClassicFrameLayout.

Hello,
yes it is possible. I recently needed to disable the ptr and I solved it with a little workaround.
Just set your PtrHandler to this:
ptrFrame.setPtrHandler(new PtrHandler() {
    @Override
    public void onRefreshBegin(PtrFrameLayout frame) {

    }

    @Override
    public boolean checkCanDoRefresh(PtrFrameLayout frame, View content, View header) {
        return false;
    }
});

It feels a little bit hacky, but for my needs where I decide to allow ptr depending on an incoming event it's totally fine.
Hope this helps!

the callback source here:
https://github.com/liaohuqiu/android-Ultra-Pull-To-Refresh/blob/master/ptr-lib/src/in/srain/cube/views/ptr/PtrFrameLayout.java#L336
do like:
mPtrFrame.setPtrHandler(new PtrHandler() {
   @Override
   public void onRefreshBegin(PtrFrameLayout frame) {
      refresh();
   }

   @Override
   public boolean checkCanDoRefresh(PtrFrameLayout frame, View content, View header) {
      return conditionCanBePulledDown && PtrDefaultHandler.checkContentCanBePulledDown(frame, content, header);
   }
});


(Feature) Estimate gas for safe creation

Related to #1692
Description:

Uses the estimation of safe creation to send the gas limit to metamask

Travis automatic deployment:
https://pr1825--safereact.review.gnosisdev.com/rinkeby/app

Travis automatic deployment:
https://pr1825--safereact.review.gnosisdev.com/rinkeby/app

Travis automatic deployment:
https://pr1825--safereact.review.gnosisdev.com/rinkeby/app

Travis automatic deployment:
https://pr1825--safereact.review.gnosisdev.com/rinkeby/app

Travis automatic deployment:
https://pr1825--safereact.review.gnosisdev.com/rinkeby/app

Travis automatic deployment:
https://pr1825--safereact.review.gnosisdev.com/rinkeby/app

Travis automatic deployment:
https://pr1825--safereact.review.gnosisdev.com/rinkeby/app

Travis automatic deployment:
https://pr1825--safereact.review.gnosisdev.com/rinkeby/app

Travis automatic deployment:
https://pr1825--safereact.review.gnosisdev.com/rinkeby/app

Travis automatic deployment:
https://pr1825--safereact.review.gnosisdev.com/rinkeby/app

Travis automatic deployment:
https://pr1825--safereact.review.gnosisdev.com/rinkeby/app

Travis automatic deployment:
https://pr1825--safereact.review.gnosisdev.com/rinkeby/app

Travis automatic deployment:
https://pr1825--safereact.review.gnosisdev.com/rinkeby/app

Travis automatic deployment:
https://pr1825--safereact.review.gnosisdev.com/rinkeby/app

It shows a value now in the review step, but the estimations are way off.
Could this be because is rinkeby? and the review step estimation is done with an oracle that is using mainnet values?
Estimation in the review

MM estimation

The final cost
https://rinkeby.etherscan.io/tx/0x5c5683da0e1ebdd3a4218bd9e976131fbdde88f21a85e0875b3326d98ba2a4ac

@francovenica yes, that should be the problem. It should work fine in Mainnet.

Update: yes, I is taking the mainnet values of gas price.

I'll pass the ticket, but I will check it again in xdai and volta (with the release branch for 3.2.0) to see if the values there are consistent there.


WIP: wikirunner/buildJava

#171

Merge conflicts due to updated runners/wikiConsole/index.ts on main branch need to be resolved


Update readme

I've revised the readme text and figures to make it more concise and coherant with what we are actually doing now.
Key tip: When you're working on a readme like this, you need to push your branch to the repo, and then view it in your browser. You can then review it properly there, as a normal reader would see it. It took me 5 attempts to get this right (see my push history). Each time I had to reread the content to check for logic/errors/grammar/formatting etc. in the browser. This is the level of detail you need to put into all outgoing public content, from papers to university assignments. Proofing text 5 times is perfectly normal and needs to be your normal habit of review.

accepted


Bot ignoring

Any chance the bot can allow other bots to trigger it's commands?
Been fiddling for a bit, but would like my button bot to send the 7d!players command and have it respond...  just 1 less thing to type ig.
True / false option maybe?
Thank you
C> Ice cream for anyone who reads this :)

This is done as a safety precaution to prevent bots behaving unexpectedly (such as getting stuck in a "feedback loop") by talking to each other. For this reason, I would be hesitant to make a config option.
However, for your purposes, modifying the code will likely be pretty simple. You can delete or comment out this check in the parseDiscordCommand function to accomplish this. This should allow Dishorde to accept input from other bots.

Closing for now. Feel free to reply back with any further questions, or reach out on Discord.


Upgrade for Microsoft.Powershell not working

Command used
First attempt (Preview not installed though)

´´´
winget upgrade PowerShell
Multiple installed packages found matching input criteria. Please refine the input.
Name       Id
PowerShell Microsoft.PowerShell
PowerShell Microsoft.PowerShell.Preview
´´´
Second attempt
´´´
PS C:\Users\pascal.odermatt> winget upgrade --id Microsoft.PowerShell
No applicable upgrade found.
´´´
Issue
´´´
No applicable upgrade found.
´´´
Output winget upgrade
´´´
PowerShell <IP_ADDRESS>-x64                     Microsoft.PowerShell                <IP_ADDRESS>          <IP_ADDRESS>          winget
´´´

Try adding -e at the end to use an exact match winget upgrade --id Microsoft.Powershell -e

does not help unfortunately
´´´
PS C:\Users\pascal.odermatt> winget upgrade --id Microsoft.Powershell -e
No installed package found matching input criteria.
´´´

Try adding -e at the end to use an exact match winget upgrade --id Microsoft.Powershell -e

does not help unfortunately ´´´ PS C:\Users\pascal.odermatt> winget upgrade --id Microsoft.Powershell -e No installed package found matching input criteria. ´´´

Are you able to post the logs from
winget upgrade --id Microsoft.Powershell -e --verbose-logs ?

does not help unfortunately

@kathodion: I think the s needs to be capitalized:

does not help unfortunately

@kathodion: s in shell needs to be capitalized for it to work properly:
So you will have to run winget upgrade --id Microsoft.PowerShell -e

Good idea but no luck either

does not help unfortunately

@kathodion: s in shell needs to be capitalized for it to work properly:
So you will have to run winget upgrade --id Microsoft.PowerShell -e

BTW nice colourful progress bar

does not help unfortunately

@kathodion: s in shell needs to be capitalized for it to work properly:
So you will have to run winget upgrade --id Microsoft.PowerShell -e

BTW nice colourful progress bar

The rainbow progress bar is a setting.
winget settings --help will give a link to the settings page.
I use Visual Studio Code as my default JSON editor so I get "help" modifying the file.

does not help unfortunately

@kathodion: s in shell needs to be capitalized for it to work properly:
So you will have to run winget upgrade --id Microsoft.PowerShell -e

did not help unfortunately. Any other idea?

@kathodion,
PowerShell has both MSIX and MSI based installers. The Microsoft Store references the MSIX installer, and the winget community repository references the MSI installer (except for ARM64). They aren't able to "update" each other. The WinGet matching heuristics are also not quite able to get the right match in this case.
There was also a temporary issue where the winget manifest also included the MSIX installers.
In this case, I think the best bet is to uninstall and reinstall so winget is "back" in sync with your preferred source.
WinGet is going to need a bit more logic to have additional checks regarding the installer type for installed packages for this particular scenario.


For Object and Embed tags, Dart needs to hand all attributes and methods to the element unmodified.

This issue was originally filed by<EMAIL_ADDRESS>
What steps will reproduce the problem?
nethackEmbed = new Element.tag('embed');
  nethackEmbed.on['message'].add(handleMessage);
allows me to correctly receive messages for a NaCl-compiled C binary.  However, the postMessage method isn't available and causes a run-time error:
  nethackEmbed.postMessage('bob');
Uncaught NoSuchMethodException - receiver: '[object Object]' function name: 'postMessage' arguments: [bob]]
$thrownethack.js:96
Object.noSuchMethodnethack.js:138
$varMethod.Objectnethack.js:234
$varMethod.Object.(anonymous function)nethack.js:6
handleMessagenethack.js:3467
wrappednethack.js:3076
wrap$1nethack.js:655
isolate$Isolate.runnethack.js:555
wrap$1nethack.js:654
(anonymous function)
What is the expected output? What do you see instead?
A message should be sent through the the embedded NaCl object.
What version of the product are you using? On what operating system?
URL: http://dart.googlecode.com/svn/trunk/dart/client/html
Repository Root: http://dart.googlecode.com/svn
Repository UUID: 260f80e4-7a28-3924-810f-c04153c831b5
Revision: 1684
Node Kind: directory
Schedule: normal
Last Changed Author<EMAIL_ADDRESS>Last Changed Rev: 1334
Last Changed Date: 2011-11-08 15:01:24 -0800 (Tue, 08 Nov 2011)
with one custom patch:
Index: frog/lib/json.js
===================================================================
--- frog/lib/json.js	(revision 1684)
+++ frog/lib/json.js	(working copy)
@@ -23,6 +23,7 @@
   if (obj != null && typeof obj == 'object' && !(obj instanceof Array)) {
     return $fixupJsObjectToDartMap(obj);
   }

return obj;
 }

 // Converts the parsed JavaScript Object into a Dart Map.

This is compiled with Frog, on Ubuntu.
Please provide any additional information below.

Not planned.


Does not work on Ios !

it seems there is just no reaction on IOS devices (iphone, ipad)
Any idea why ?

Hi @pyladune, could you please give me the iOS version (of both devices, iphone and iphad).
I assume we are speaking about Demo Page, https://tg.pl/drab, are we?

ios 9.2.1
Yes, only demo page tested
On 31. 01. 17 10:29, Tomek Gryszkiewicz wrote:

Hi @pyladune https://github.com/pyladune, could you please give me
the iOS version (of both devices, iphone and iphad).
I assume we are speaking about Demo Page, https://tg.pl/drab, are we?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/grych/drab/issues/3#issuecomment-276315226, or
mute the thread
https://github.com/notifications/unsubscribe-auth/AB90fk0YBCpFqVf7j5QsSZ7DbnbPShQuks5rXv7rgaJpZM4LyUSR.

Thanks! I've found the issue, I've used some EM6 specific constructs in the client JS library. Changed it to traditional JS.
Patch will be included in 0.2.3, coming very soon.

Fixed in 0.2.3, thanks for reporting that!

impressively fast reaction !!
As a complement feedback this works fine in ios 9.
Just the broadcast example seems not to work fully. it yorks fine locally but nothing is broadcasted either in ou out

True. Broadcast does not work in and out iOS (regardless of the version, the same is on iOS10). Reopening the issue.

The issue with broadcast is not connected to iOS version; broadcast does not work with multiple phoenix servers behind the load balancer. As a workaround, I shut one phoenix down and leave the only one working.
Closing this issue and open a new one.


Which coordinate system are these annotation coordinates（e.g.divider、ped_crossing、boundary、centerline ） corresponding to?

In the part of generating ground-truth of map infos（ running custom_nusc_map_converter.py），Are these coordinates（points belong to divider、ped_crossing、boundary、centerline ） corresponding to the ego-system(which origin is car-center) or lidar-system(which origin is lidar-center)?

Thanks for your interest. For GT points passed to the model (for training), they should be in the lidar coordinates.


Runtime check of andReturn() value type rather than static

See http://stackoverflow.com/questions/32503134/change-to-andreturn-breaks-c-compilation.
Perform runtime check of value as objc object is compatible with C++ compilation. Static is not.

I understand the problem and it is important that OCMock compiles with C++ code. Before accepting this PR, though, I'd like to get a better understanding of how
__builtin_types_compatible_p(__typeof__(aValue), id)

and
strcmp(@encode(__typeof(_val)), "@") == 0

behave in non-trivial cases, e.g. blocks, classes, typedefs. When do they produce the same answer and in which cases do they produce a different answer?
I'm asking the question because the runtime type system is complex and full of pitfalls. Just look at the code for OCMIsObjectType here: https://github.com/erikdoe/ocmock/blob/e50f4f9bb20de8c828271f07e2d58b2a2d3088ba/Source/OCMock/OCMFunctions.m#L38-L58
In fact, would it make sense to use OCMIsObjectType or something similar for this?

Sure, that's reasonable. My reading of a13a464b8d1c42b6526abfd968fba77f0687c8ac is that it stores the original value (if object) as an associated object inside the NSValue instance. In that case, it sounds like OCMIsObjectType would be correct to use if it does the job of val == objcObject?. If so I can make that change.

Ok, updated to use OCMIsObjectType

Hmmm... I had to import OCMFunctions.h in order to avoid a compiler warning, but then had to rename a couple of parameter to also avoid:
In file included from /Users/jc/dev/OpenSource/ocmock/Source/OCMockTests/OCMockObjectHamcrestTests.mm:18:
In file included from /Users/jc/dev/OpenSource/ocmock/Source/OCMock/OCMock.h:19:
In file included from /Users/jc/dev/OpenSource/ocmock/Source/OCMock/OCMStubRecorder.h:18:
/Users/jc/dev/OpenSource/ocmock/Source/OCMock/OCMFunctions.h:28:31: error: declaration of anonymous class must be a definition
Class OCMCreateSubclass(Class class, void *ref);
                              ^
/Users/jc/dev/OpenSource/ocmock/Source/OCMock/OCMFunctions.h:28:38: error: cannot combine with previous 'type-name' declaration specifier
Class OCMCreateSubclass(Class class, void *ref);
                                     ^
/Users/jc/dev/OpenSource/ocmock/Source/OCMock/OCMFunctions.h:30:33: error: declaration of anonymous class must be a definition
void OCMSetIsa(id object, Class class);
                                ^
/Users/jc/dev/OpenSource/ocmock/Source/OCMock/OCMFunctions.h:30:39: error: expected ')'
void OCMSetIsa(id object, Class class);
                                      ^
/Users/jc/dev/OpenSource/ocmock/Source/OCMock/OCMFunctions.h:30:15: note: to match this '('
void OCMSetIsa(id object, Class class);
              ^
4 errors generated.

Turns out that the following test fails, meaning that OCMIsObjectType is not a like for like replacement for  __builtin_types_compatible_p:
BOOL a = __builtin_types_compatible_p(id, void (^)());
BOOL b = OCMIsObjectType(@encode(void (^)()));
XCTAssertEqual(a, b);

However, I think this is not an issue, and probably even the correct behaviour. I've tried a couple of other edge cases and everything looks good.

Cool


headlamp-plugin: Fix extract/package to copy all in dist/

All files made in the dist/ folder are copied in.
So plugins can add extra files if they need in the build step.
For example:
  "scripts": {
    "build": "headlamp-plugin build && npx shx cp main.wasm dist/main.wasm",

Needed for:

https://github.com/headlamp-k8s/plugins/issues/13

cc: @ashu8912 this lets main.wasm work in ig plugin. It will need this merged, and a new headlamp-plugin release first though.

nice changes!
Correct me if I'm wrong though but I think this is not enough for plugins to use other files in the dist/.
From what I understand, main.js won't be able to access any of those additional files because it doesn't know the path for them
let's say I have a plugin
some-plugin/main.js
some-plugin/somefile
Plugin is loaded and executed in the headlamp like this
code = fetch('http://headlamp-server/plugins/some-plugin/main.js');
eval(code)

then from inside main.js there's no way to access other files without knowing the full path
main.js
fetch('./somefile') // wrong path, resolves headlamp-client/c/default/somefile for example
fetch('dist/somefile') // wrong path, resolves headlamp-client/dist/somefile
fetch('http://headlamp-server/plugins/some-plugin/somefile') // this where the file is but plugin doesn't know this path

The IG plugin uses this code to fetch:
fetch("/plugins/headlamp-ig/main.wasm")


Add a CommandKit::FS or CommandKit::FileSystem module

It should include FileUtils.
It should allow initializing with a custom root: and cwd: values for testing purposes.

It should prefix all paths with the root value.

Hmm, the downside of this is developers would have to use CommandKit::FS's openwhich prefixes a root path to all given paths, as opposed toFile.open`.

Closing this in favor of the new CommandKit::FileUtils module which will be merged/released in 0.3.0.


fix(oca-gen-addon-readme): reduce unneeded merge conflicts

As seen in https://github.com/OCA/oca-addons-repo-template/pull/190#issuecomment-1784076360, when somebody tried to merge 2 PRs for the same module, chances are that both imply different readme digests and the merge fails.
As seen in https://github.com/OCA/oca-addons-repo-template/pull/220#issuecomment-1786814130, this was already happening under some circumstances with requirements.txt files.
Here I added a .gitattributes file which specifies a merge=union driver for those files. Git docs explain that this driver will just keep the changes from all files, marking the merge as succeeded and not including merge markers. This is not ideal, but is OK for our current situation because:

Duplicate/conflicting lines in those files should not really harm a lot.
The bot will re-render the README upon merge anyways, fixing that conflict automatically.
We could define a custom merge driver, but union is built into Git, meaning less configurations required downstream.

Still, it doesn't seem to work in octopus merges. At least, if you do consecutive merges instead, all will work as expected.
At the same time, I moved the hook to be the last. This is because previous hooks can reformat the files used to obtain the digest.
Closes #220.

Thanks a lot for your investigation and your PR ! I'll try this code in the oca days.

Hi there. This one is ready to merge.
I was having problems because the tests were run under python 3.8 but pre-commit needed python 3.6. I had to pin an older virtualenv version because the latest one doesn't support python 3.6 anymore.
Long story short, now we don't issue a matrix of builds. Instead, we install all required python interpreters in a single build and parallelize at pytest level with pytest-xdist. Thus, now there's just one "test" job.
Since there's just that job, the CI checks will stay as "Required statuses must pass before merging" because I changed the way CI is handled here.
If nobody's against this, I'll merge it so we can unblock the situation explained at https://github.com/OCA/oca-addons-repo-template/pull/220#issuecomment-1802291979.

@legalsylvain have you tested this?

I'm proposing using https://github.com/OCA/maintainer-tools/pull/588 as an alternative.

I still think this is a better solution.
Multiple PRs can modify instructions in the readme folder. If those conflict, there's no other solution than to solve it. But if the conflict happens in the README, we shouldn't care when merging, as the bot would re-trigger the generation after merge.
Also this PR refactors the test suite in a more future-proof way (that can be extracted separately, of course).
So IMHO this still has its benefits and we should merge this.

Also this PR refactors the test suite in a more future-proof way (that can be extracted separately, of course).

:+1: for that
Regarding the union merge, I think it may be fine for requirements.txt (although I have not personally witnessed such conflicts in practice).
For README.rst/index.hml, I'm not sure.  The drawbacks you mention in the OP don't seem to be worth the gain.

OK, nevermind. We can come back to this later if needed.


[Question]: Versioning in "Create Release"

Question
What is the idea behind the concept that if you create a new release via ‘Create Release’ and you enter a new version number that this is not reflected in the artifacts?
What I mean is this:

I would except that the version in the release branch is "23.4" (assuming that 23.3 was created the same way). Right now I would need to run the CI/CD Action one more time to generate the artifacts with the correct version and then modify the created github release. Sounds wrong to me. Is the idea that this parameter reflects the NEW version number? If so, how would one know if the next version is a major or minor release?

If your main branch is 23.3 and you are working on 23.3, then every build will be 23.3.x.y.
When you then create a release, you create a release of 23.3 (grabbing the binaries from the latest build and releasing them together with the source used to create that build).
You will tag that release with the tag name and if you have specified a release branch - if will create a release branch from that tag (this can also be done later).
Main will then become 23.4 or 24.0 (based on what you specify in new version number) and you will continue working in main.
Your release branch will only be touched if you need to issue a hotfix.

Hi Freddy, thank you very much for your quick reply.
I understand that, and I think we now have the same understanding. What I'm still struggling with at the moment is that I have to specify what my next version is (might be 24.4 for a new feature or 24.3.1 for a bugfix) with the previous release. However, the next version might not yet defined at this point. So I don't know whether my next change is major or minor (or even a patch). If we think in terms of SemVer versions, there is also a corresponding meaning behind the versions. See definition -> https://semver.org/
Of course, I could simply not use the parameter when creating a release but I'm curious on why it is designed this way.

It is designed this way because if we don't increase the major.minor in main - then the next build in main would be <IP_ADDRESS> and the next build from the release branch would then be <IP_ADDRESS> (this is now newer than the build in the main branch, which is not good).
This is also how we do in Microsoft - when we branch out to a release, then we increase the version number in main.
If you use 24.4 in main - you can always run the Increment version number workflow to make that 25.0 if that is your next version.


WIP: Winrm

Please leave this PR open.
I'll need your help with a few things.
But, got this working:
$ pyinfra <IP_ADDRESS> --winrm_username vagrant --winrm_password vagrant --winrm_port 5985 exec -- echo hello
--> Loading config...
--> Loading inventory...

--> Connecting to hosts...
    [<IP_ADDRESS>] Connected

--> Proposed changes:
    Ungrouped:
    [<IP_ADDRESS>]   Operations: 1   Commands: 1

--> Beginning operation run...
--> Starting operation: Server/Shell ('echo hello',)
[<IP_ADDRESS>] >>> 'echo hello'
    [<IP_ADDRESS>] Success

--> Results:
    Ungrouped:
    [<IP_ADDRESS>]   Successful: 1   Errors: 0   Commands: 1/1

:-D

Still need to figure out:

testing: can things be improved?
get/put files: should we switch out to the other winrm project? (because they already have this)
'--all-facts': should it run some only linux or windows facts
should some "short" facts be created (if so, which ones?) ex: windows_ip_address? quick/easy way to detect linux/windows?
what other operations should be added?

Or, is it "good enough" as it is right now?


a workaround to fix "playLoop will not play a region on clips with duration <15s" #1626

When judge the end of region playing, use approximate value.
Lines of code,  should no other effects.
fixes #1626

closing in favor of #1746


The ability to specify an image variant in args seems to be removed

Relates to: Both
I noticed something strange today after generating Devcontainer config for a project.
The ability to specify the container image tag variant seems to be gone.
Previously when generating a C++ configuration, what I would get is this:
// For format details, see https://aka.ms/devcontainer.json. For config options, see the README at:
// https://github.com/microsoft/vscode-dev-containers/tree/v0.245.2/containers/cpp
{
	"name": "C++",
	"build": {
		"dockerfile": "Dockerfile",
		// Update 'VARIANT' to pick an Debian / Ubuntu OS version: debian-11, debian-10, ubuntu-22.04, ubuntu-20.04, ubuntu-18.04
		// Use Debian 11, Ubuntu 18.04 or Ubuntu 22.04 on local arm64/Apple Silicon
		"args": { "VARIANT": "ubuntu-22.04" }
	},
	"runArgs": ["--cap-add=SYS_PTRACE", "--security-opt", "seccomp=unconfined"],

	// Configure tool-specific properties.
	"customizations": {
		// Configure properties specific to VS Code.
		"vscode": {
			// Add the IDs of extensions you want installed when the container is created.
			"extensions": [
				"ms-vscode.cpptools",
				"ms-vscode.cmake-tools"
			]
		}
	},

	// Use 'forwardPorts' to make a list of ports inside the container available locally.
	// "forwardPorts": [],

	// Use 'postCreateCommand' to run commands after the container is created.
	// "postCreateCommand": "",

	// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
	//
	// NOTE: Commented to make "postCreateCommand" work, if not run as root it fails
	// "remoteUser": "vscode",
	"features": {
		"git": "latest",
		"python": "latest"
	}
}

# See here for image contents: https://github.com/microsoft/vscode-dev-containers/tree/v0.245.2/containers/cpp/.devcontainer/base.Dockerfile
# [Choice] Debian / Ubuntu version (use Debian 11, Ubuntu 18.04/22.04 on local arm64/Apple Silicon): debian-11, debian-10, ubuntu-22.04, ubuntu-20.04, ubuntu-18.04
ARG VARIANT="bullseye"
FROM mcr.microsoft.com/vscode/devcontainers/cpp:0-${VARIANT}

However, today what I got was this, which is much less featureful and explanatory IMO:
{
	"name": "C++",
	"build": {
		"dockerfile": "Dockerfile"
	},

	// Use 'forwardPorts' to make a list of ports inside the container available locally.
	// "forwardPorts": [],

	// Use 'postCreateCommand' to run commands after the container is created.
	// "postCreateCommand": "gcc -v",

	// Comment out to connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
	"remoteUser": "vscode",
	"features": {
		"ghcr.io/devcontainers/features/git:1": {},
		"ghcr.io/devcontainers/features/python:1": {}
	}
}

FROM mcr.microsoft.com/devcontainers/cpp:0-ubuntu-22.04

Why was the ability to specify the image variant as an ARG of the build removed from the Devcontainer JSON, out of curiosity?

@GavinRay97 do you mind re-posting this on https://github.com/devcontainers/templates/issues, which is where the templates have moved to? This sounds like feedback on the cpp template: https://github.com/devcontainers/templates/tree/main/src/cpp


Update to v2 package format

Description of your changes

WIP:

[ ] Clean up documentation and PR templates
[ ] Further refine integration tests
[ ] Refine docker image builds

xref https://github.com/crossplane/crossplane/issues/1756
Checklist

I have:

[x] Run make reviewable to ensure this PR is ready for review.
[x] Ensured this PR contains a neat, self documenting set of commits.
[ ] Updated any relevant documentation, examples, or release notes.
[ ] Updated the dependencies in app.yaml to include any new role permissions.
[ ] Updated the package resources documentation to include any new managed resources or classes.

@negz I believe this is ready for final review. I ran the updated build pipeline and invoked the package image. It emitted all CRDs and the following crossplane.yaml:
apiVersion: meta.pkg.crossplane.io/v1alpha1
kind: Provider
metadata:
  name: provider-gcp
spec:
  controller:
    image: crossplane/provider-gcp-controller:v0.12.0-rc.34.g1ec134c


Translator is not expanding mappings when unions of different FHIR resources occur in CQL

The Translator is not expanding mappings when unions of different FHIR resources occur in CQL. Refer to https://github.com/projecttacoma/fqm-execution/issues/191.
*Recreated per request of ICF. This was initially believed to be resolved as part of 2.7.0 release. But there are remaining issues. cc @jenseeman @brynrhodes

This is the closed ticket: https://github.com/cqframework/clinical_quality_language/issues/1126

I cannot reproduce this behavior, and all the references to issues and CQLIT/BONNIEMAT tickets are closed or indicated as resolved. Is there a reproduction of this issue that I can refer to? The test cases we have in place for this are passing, and as far as I can tell, the measures that were impacted by this issue are passing.

@brynrhodes I understand the confusion. I opened this issue because I received a request from ICF to do so. I was told there were still issues, because the update that was made for #1126 did not resolve the issue described in https://oncprojectracking.healthit.gov/support/browse/BONNIEMAT-1377. Per comments in ticket, users are no longer having the issue, so I think it is safe to close. CC @jenseeman

Great, thank you @JSRankins !


Issues with run_keybase with keybase-bin AUR package.

After the few updates that I've seen happen to Keybase in my AUR helper (Trizen, if that matters), I noticed that I have kernel updates (or something that requires remaking of the kernel image (this time it was mkinitcpio-busybox))  and Keybase-bin updates. Even if these aren't related to my issue, which I think they are.
Anwyays, installing Keybase finishes with no errors in pacman or during the package build process. Running run_keybase after the upgrade results in ▶ ERROR dial unix /run/user/1000/keybase/keybased.sock: connect: no such file or directory. Running it again results in Keybase restarting.
Log ID: eb17c37c572f98b904e3011c
I reinstalled mkinitcpio-busybox to see if it would cause it to happen again, but it didn't, perhaps it's due to the upgrade or the kernel images changing.
Edit: It might be worth noting I did not restart after the kernel images updating, and still haven't.

I noticed that I have kernel updates (or something that requires remaking of the kernel image (this time it was mkinitcpio-busybox)) and Keybase-bin updates.

The two are not related at all. The initramfs image regeneration is triggered in order to update the busybox binary inside the initramfs, but this hardly causes your running system to conk out... nor would kernel updates in general cause this. (The only thing that kernel updates without an associated reboot can cause in the way of issues, is the inability to modprobe new modules that need to be used for the first time in that boot session.)


Implement structured tracer

Purpose
It is sometimes helpful to emit logs to ELK cluster. Implement middleware that emits logs in structured format.
Implementation
This middleware is capable of emitting request/response pairs to arbitrary writer in structured format to any given writer

@anton-efimenko @jeremyschlatter please review

I left a zillion comments, but overall this is really nice and clean.

@jeremyschlatter applied all comments

Left one more comment about json marshaling that you can address if you want. lgtm either way.


Add new settings home menu

Is your feature request related to a problem? Please describe.
In windows 11, there is a new setting home menu
Describe the solution you'd like
Add the new homepage to the settings app
Describe alternatives you've considered
N/A
Additional context

Hey, has this been considered?


HBASE-27388 make balance byTable config take effect when use CLI

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
0m 38s
Docker mode activated.


Driver/tps2012 new version

replacement for #435

@WilliamHPNielsen just fix codacy and we ready to go !

@giulioungaretti No, not quite. The code is unfinished, but I'll try to patch it up now.

merged via #603