Plot two volumes in one viewer?

Hi, is there an easy way to plot two (or more) volumes in one viewer simultaneously? I have some data of Orion cloud but from different component (dust, gas, etc.), I want to have them plotted all at once with volshow or quickvolshow. Thanks!

Hi Penny,
unfortunately not right now. Having multi volume rendering where the two volumes share exactly the same volume would not require too much work though. This was actually the reason I started to build my own volume rendering in vaex. I'm a bit short on time lately, but if I see a chance to do this quickly, I might give it a go. Otherwise if you feel like trying to implement this yourself, I can give you some pointers and help. When the volumes do not fill the same space, it will be a bit more challenging.
Another thing I'd really love to have is isosurface rendering, however this will only be useful I think when transparency is handled, which is a tricky subject.
And I'd love to see that all rendered together!
cheers,
Maarten

@maartenbreddels  Does current limitation hold true for all of ipyvolume (specifically mesh or other surface-style plots)?

Hi,
No, you can mix anything together, but only with 1 volumetric dataset.
cheers,
Maarten

Mulivolume rendering is in, the next release (0.5) should have this.


feat!: Add support for Vite 5

This closes #149.
There is one breaking change in this PR: CSS files are no longer built in library mode. Instead, they're built as a rollup input. Vite 5 includes some changes that change the output path of these files, so your final output directory might change if you list CSS files in your manifest or additionalInputs.
Todo

[x] Upgrade dependencies
[x] Fix build errors
[x] upgrade other deps

Released v4.0.0-alpha1


Support for registering Delta tables in the HiveMetastore

While delta tracks its own metadata in the transaction log, the Hive Metastore is still important as it enables users to find tables without knowing the path to the data.
This ticket tracks adding the ability to run CREATE TABLE to create a new metastore table, or to register an existing table in the metastore.

Is there any chance that this would be part of the 0.4.0 milestone?

Hard to say. It all depends on the timing of the Spark 3.0.0 release. We are working with the Spark community to add the necessary Datasource V2 APIs that would allow us to support all the DDLs like CREATE TABLE, ALTER TABLE, etc. Those are targetted for Spark 3.0.0.

Without this feature, does it mean user is even unable to "select * from delta_tbl"? And the only way to read delta table is DF API?
Do we have any workaround in short term?

@marmbrus @tdas
    spark.range(10).write.format("delta").save("/tmp/events")
    spark.sql("create table events using delta location '/tmp/events'")
    spark.sql("select * from events").show(100)

Registering an existing table in the metastore seems work already, so this feature is mainly for creating new table like https://github.com/delta-io/delta/issues/177?

@marmbrus @tdas
    spark.range(10).write.format("delta").save("/tmp/events")
    spark.sql("create table events using delta location '/tmp/events'")
    spark.sql("select * from events").show(100)

Registering an existing table in the metastore seems work already, so this feature is mainly for creating new table like #177?

@yucai I had exactly the exception as it is appears in #177 when I run your code

Is there any workaround to register Delta table in Hive metastore using Spark API?

@dgreenshtein it works for me perfectly. I run them like below:
branch-2.4 git:(branch-2.4) ✗ ./bin/spark-shell --packages io.delta:delta-core_2.11:0.3.0

hm, the only differene

@dgreenshtein it works for me perfectly. I run them like below:
branch-2.4 git:(branch-2.4) ✗ ./bin/spark-shell --packages io.delta:delta-core_2.11:0.3.0

hm, the only difference is delta.io version. I am running io.delta:delta-core_2.11:0.4.0

@dgreenshtein
In fact, when we use the "create table xxx" sql statement, prompt as follows
WARN hive.HiveExternalCatalog: Couldn't find corresponding Hive SerDe for data source provider delta. Persisting data source table `default`.`events` into Hive metastore in Spark SQL specific format, which is NOT compatible with Hive.

Just created metastore_db locally, can't access Hive metastore

We just migrated to Databricks Delta from parquet using Hive metastore. So far everything seems to
work fine, when I try to print out the location of the new Delta table using DESCRIBE EXTENDED my_table the location is correct although it is different than the one found in the hiveMetastore database. When I access the hiveMetastore database I can successfully identify the target table (also provider is correctly set to Delta). To retrieve the previous information I am executing a join between sds, dbs, tbls and table_params tables from hiveMetastore db, filtering by table name as shown next:
val sdsDF = spark.read
  .format("jdbc")
  .option("url", activeConnection.url)
  .option("dbtable", "hiveMetastore.SDS")
  .option("user", activeConnection.user)
  .option("password", activeConnection.pwd)
  .load()

val tblsDf = spark.read
  .format("jdbc")
  .option("url", activeConnection.url)
  .option("dbtable", "hiveMetastore.TBLS")
  .option("user", activeConnection.user)
  .option("password", activeConnection.pwd)
  .load()

val dbsDf = spark.read
  .format("jdbc")
  .option("url", activeConnection.url)
  .option("dbtable", "hiveMetastore.DBS")
  .option("user", activeConnection.user)
  .option("password", activeConnection.pwd)
  .load()

val paramsDf = spark.read
  .format("jdbc")
  .option("url", activeConnection.url)
  .option("dbtable", "hiveMetastore.TABLE_PARAMS")
  .option("user", activeConnection.user)
  .option("password", activeConnection.pwd)
  .load()

val resDf = sdsDF.join(tblsDf, "SD_ID")
     .join(dbsDf, "DB_ID")
     .join(paramsDf, "TBL_ID")
     .where('TBL_NAME.rlike("mytable"))
     .select($"TBL_NAME", $"TBL_TYPE", $"NAME".as("DB_NAME"), $"DB_LOCATION_URI", $"LOCATION".as("TABLE_LOCATION"), $"PARAM_KEY", $"PARAM_VALUE")

All the previous are executed from a databricks notebook.
My question is why I am getting two different locations even if the table name is the same? Where is the correct location for the Delta tables stored if not on hiveMetastore db?

What are the two different locations? can you show them?

I can't show the actual values although they are completely different S3 paths @tdas none of them is somehow related to the other. i.e root of the other etc

Neither of them matches the actual one? Either way, this issue is not related to the root issue of metastore support, so maybe we should make a different issue for this. Though I doubt we can do anything without taking a deeper look. It might better to actually contact databricks support so that we can look at what is going on.

One path should look like dbfs:/user/hive/warehouse/XXXXXX-__PLACEHOLDER__. I don't know why Spark needs to write this placeholder path, maybe some codes require something to be there. The other path should be the real table location.

My excuses for the late reply, I have some updates regarding this one. I tried to execute the next code:
val sdsDF = spark.read
  .format("jdbc")
  .option("url", activeConnection.url)
  .option("dbtable", "hiveMetastore.SDS")
  .option("user", activeConnection.user)
  .option("password", activeConnection.pwd)
  .load()

val tblsDf = spark.read
  .format("jdbc")
  .option("url", activeConnection.url)
  .option("dbtable", "hiveMetastore.TBLS")
  .option("user", activeConnection.user)
  .option("password", activeConnection.pwd)
  .load()

val dbsDf = spark.read
  .format("jdbc")
  .option("url", activeConnection.url)
  .option("dbtable", "hiveMetastore.DBS")
  .option("user", activeConnection.user)
  .option("password", activeConnection.pwd)
  .load()

val paramsDf = spark.read
  .format("jdbc")
  .option("url", activeConnection.url)
  .option("dbtable", "hiveMetastore.TABLE_PARAMS")
  .option("user", activeConnection.user)
  .option("password", activeConnection.pwd)
  .load()

val resDf = sdsDF.join(tblsDf, "SD_ID")
     .join(dbsDf, "DB_ID")
     .join(paramsDf, "TBL_ID")
     .where('TBL_NAME === "collection" && 'NAME === "eneco_production")
     .select($"TBL_NAME", $"TBL_TYPE", $"NAME".as("DB_NAME"), $"DB_LOCATION_URI", $"LOCATION".as("TABLE_LOCATION"), $"PARAM_KEY", $"PARAM_VALUE")

Whive is similar to the previous code with the difference that in addition I join with hiveMetastore.TABLE_PARAMS. Here is how the output looks like:
+--------+--------------+-------------+-------------------+--------------------------------------------+---------------------------------+-----------------------------+
|TBL_NAME|TBL_TYPE      |DB_NAME      |DB_LOCATION        |TABLE_LOCATION                              |PARAM_KEY                        |PARAM_VALUE                  |
+--------+--------------+-------------+-------------------+--------------------------------------------+---------------------------------+-----------------------------+
|my_table|EXTERNAL_TABLE|db_production|s3://invalid_db_uri|s3://invalid_db_uri/my_table-__PLACEHOLDER__|EXTERNAL                         |TRUE                         |
|my_table|EXTERNAL_TABLE|db_production|s3://invalid_db_uri|s3://invalid_db_uri/my_table-__PLACEHOLDER__|spark.sql.create.version         |2.4.3                        |
|my_table|EXTERNAL_TABLE|db_production|s3://invalid_db_uri|s3://invalid_db_uri/my_table-__PLACEHOLDER__|spark.sql.sources.provider       |DELTA                        |
|my_table|EXTERNAL_TABLE|db_production|s3://invalid_db_uri|s3://invalid_db_uri/my_table-__PLACEHOLDER__|spark.sql.sources.schema.numParts|1                            |
|my_table|EXTERNAL_TABLE|db_production|s3://invalid_db_uri|s3://invalid_db_uri/my_table-__PLACEHOLDER__|spark.sql.sources.schema.part.0  |{"type":"struct","fields":[]}|
|my_table|EXTERNAL_TABLE|db_production|s3://invalid_db_uri|s3://invalid_db_uri/my_table-__PLACEHOLDER__|transient_lastDdlTime            |1582204169                   |
+--------+--------------+-------------+-------------------+--------------------------------------------+---------------------------------+-----------------------------+

As you can see DB_LOCATION and TABLE_LOCATION have invalid values and they don't correspond to the actual S3 path. @zsxwing as you can see the path is still S3 not dbfs.  @tdas when I do DESCRIBE EXTENDED my_table the path is the correct Delta path. Actually, this is one of my question why I don't see the same/valid path in the hiveMetastore?
Thank you both

Is there any tentative timeline to have the functionality to creat the DeltaTable API for manged tables?

We are hoping to make a 0.7.0-preview release on Spark 3.0/RCx in the next couple of weeks. Most of the code changes for metastore support have merged into master. Hence, I am closing this ticket.

Was this issue closed on the hope of some code getting integrated into a Spark 3.0 preview release and not from a verified and tested publicly available general release?
If that really poor release management!!!
Please specify exactly what release combinations have been proven to work.

This has been released in Delta 0.7.0 on Spark 3.0. Please see the attached milestone and the corresponding release notes in https://github.com/delta-io/delta/releases

Still not working with Hive metastore for me.
spark-shell --packages io.delta:delta-core_2.12:0.7.0 --conf "spark.sql.extensions=io.delta.sql.DeltaSparkSessionExtension" --conf "spark.sql.catalog.spark_catalog=org.apache.spark.sql.delta.catalog.DeltaCatalog"

Welcome to
      ____              __
     / __/__  ___ _____/ /__
    _\ \/ _ \/ _ `/ __/  '_/
   /___/ .__/\_,_/_/ /_/\_\   version 3.0.1
      /_/

Using Scala version 2.12.10 (OpenJDK 64-Bit Server VM, Java 1.8.0_282)
Type in expressions to have them evaluated.
Type :help for more information.

scala> spark.range(10).write.format("delta").save("/tmp/events")

scala> spark.sql("create table events using delta location '/tmp/events'")
21/02/02 10:59:58 WARN HiveExternalCatalog: Couldn't find corresponding Hive SerDe for data source provider delta. Persisting data source table `default`.`events` into Hive metastore in Spark SQL specific format, which is NOT compatible with Hive.

Versions: Spark 3.0.1, Hive 2.3.7, Delta 0.7.0

Currently using spark-core_2.12:3.1.2, spark-hive_2.12:3.1.2 and delta-core_2.12:1.0.1.
When deploying the table definitions like
spark.sql("""CREATE TABLE XY USING DELTA LOCATION 'XY'""")
I still get the message:
WARN HiveExternalCatalog: Couldn't find corresponding Hive SerDe for data source provider delta. Persisting data source table <table_name> into Hive metastore in Spark SQL specific format, which is NOT compatible with Hive.
Is this the correct behavior?
When querying the table like below using HiveContext I get a result, so it looks like the table is at least registered in Hive...
spark-shell --packages io.delta:delta-core_2.12:1.0.1 --conf "spark.sql.extensions=io.delta.sql.DeltaSparkSessionExtension" --conf "spark.sql.catalog.spark_catalog=org.apache.spark.sql.delta.catalog.DeltaCatalog"

val sqlContext = new org.apache.spark.sql.hive.HiveContext(spark.sparkContext)
val result = sqlContext.sql("select count(*) FROM <table_name>")

result.show()

WARN HiveExternalCatalog: Couldn't find corresponding Hive SerDe for data source provider delta. Persisting data source table <table_name> into Hive metastore in Spark SQL specific format, which is NOT compatible with Hive.

Please ignore this error. This is just saying you cannot use Hive to query this table. As long as you are using Spark, it should be fine.

Where is the correct location for the Delta tables stored if not on hiveMetastore db?

To follow up on the side-issue here for future readers, you can get it from the SERDE_PARAMS table in the Hive Metastore, there is an entry path that corresponds to the external location.

WARN HiveExternalCatalog: Couldn't find corresponding Hive SerDe for data source provider delta. Persisting data source table <table_name> into Hive metastore in Spark SQL specific format, which is NOT compatible with Hive.

Please ignore this error. This is just saying you cannot use Hive to query this table. As long as you are using Spark, it should be fine.

It appears that this error should not be disregarded.
We encountered significant traffic issues related to this last Friday.
Here are the details:

We are using Delta as the storage layer and Hive 3.x as the metastore.
We obtained a dataframe with a complex structure as follows:

import org.apache.spark.sql.types._
import org.apache.spark.sql.Row
import org.apache.spark.sql.SparkSession

val innerStruct = StructType(Array(
  StructField("image", StringType),
  StructField("content", StringType)
))

val outerStruct = StructType(Array(
  StructField("some_detail", innerStruct)
))

val schema = StructType(Array(
  StructField("detail", outerStruct)
))

val data = Seq(
  Row(Row(Row("image_example", "content_text_example")))
)

val df = spark.createDataFrame(
  spark.sparkContext.parallelize(data),
  schema
)

df.write.format("delta").save("s3://path")

We then created a delta table:
CREATE TABLE test.test_table_name USING delta LOCATION 's3://path'

However, we ended up with a record in the Hive metastore database sds with a Location row like:
hdfs://[our-emr-cluster-id]/xxxxx/yyy

instead of s3://path!
This is a significant issue because when you want to release the current cluster and create a new one, you will encounter a major bug!
You might think that your data and computing resources are separated, but you will find that the metastore still refers to the old, released cluster!
I sincerely hope to receive a response from the community on this issue.

Here's an example of getting it to work with Spark SQL, HMS, MinIO S3 and StarRocks. https://github.com/StarRocks/demo/tree/master/documentation-samples/deltalake


DSWx Output Product Read Support

Subtask for #40
Part of the file name convention for DSWx-HLS products is to include the name of the originating sensor (for HLS this could be one of "Sentinel2A", "Sentinel2B"  or "Landsat8"). The simplest way for the PGE to obtain this metadata is from the output DSWx-HLS GeoTiff created by the SAS.
According to section 4.3 of the OPERA DSWx-HLS Product Spec by ADT, there should be a SPACECRAFT_NAME metadata field which contains the appropriate value. This task is to investigate adding support for reading a generated DSWx-HLS file and extracting said metadata field. The functionality should be added to the post-processing mixin for the DSWx PGE.

Hi @hfattahi, question for you: do you happen to know if the field mentioned above (SPACECRAFT_NAME) is currently populated by the DSWx-HLS interface SAS, or will it come with the next release?

The current code populates the "SPACECRAFT_NAME" here.
@gshiroma do you remember if by the IF delivery, you had the SPACECRAFT_NAME populated in the product?

@hfattahi , I just checked and the IF version of the DSWx-HLS SAS should correctly populate the metadata attribute SPACECRAFT_NAME.


run demo network on nats

Closes #3958

assuming the deployment wen as expected LGTM. If you didn't deploy from this change then let's not merge until that is done.

already deployed on Monday


Document how to access secure Admin UI from Chrome

Add a callout about enabling a required Chrome setting.
Made this an per-version include and included across
all relevant pages.
Add missing semicolon to SQL statement.

Fixes #6496.
Incorporates https://github.com/cockroachdb/docs/pull/6868.

This change is

FYI as well, @Amruta-Ranade, @taroface.

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/787038ae37e99f113ede08020db51a557c130c68/
Edited pages:

v19.1/admin-ui-overview.md
v19.1/orchestrate-cockroachdb-with-kubernetes-multi-cluster.md
v19.1/secure-a-cluster.md
v19.2/orchestrate-cockroachdb-with-kubernetes-multi-cluster.md
v19.2/secure-a-cluster.md
v20.1/orchestrate-cockroachdb-with-kubernetes-multi-cluster.md
v20.1/secure-a-cluster.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/12a79c0b88c837558c22dd30a59a45a503d8ad0a/
Edited pages:

v19.1/admin-ui-overview.md
v19.1/orchestrate-cockroachdb-with-kubernetes-multi-cluster.md
v19.1/secure-a-cluster.md
v19.2/orchestrate-cockroachdb-with-kubernetes-multi-cluster.md
v19.2/secure-a-cluster.md
v20.1/orchestrate-cockroachdb-with-kubernetes-multi-cluster.md
v20.1/secure-a-cluster.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/a8bd8a1bc027141713da7067e27ff3aa9a263585/
Edited pages:

v19.1/admin-ui-overview.md
v19.1/orchestrate-cockroachdb-with-kubernetes-multi-cluster.md
v19.1/secure-a-cluster.md
v19.2/orchestrate-cockroachdb-with-kubernetes-multi-cluster.md
v19.2/secure-a-cluster.md
v20.1/orchestrate-cockroachdb-with-kubernetes-multi-cluster.md
v20.1/secure-a-cluster.md

Online preview: http://cockroach-docs-review.s3-website-us-east-1.amazonaws.com/6d1c08b30f3e16acdfcaf09a804f7ccd77389732/
Edited pages:

v19.1/admin-ui-overview.md
v19.1/orchestrate-cockroachdb-with-kubernetes-multi-cluster.md
v19.1/secure-a-cluster.md
v19.2/orchestrate-cockroachdb-with-kubernetes-multi-cluster.md
v19.2/secure-a-cluster.md
v20.1/orchestrate-cockroachdb-with-kubernetes-multi-cluster.md
v20.1/secure-a-cluster.md


ELU int8 model quantized with Dequantize/Quantize stubs

System information

Linux Ubuntu 20.04
TensorFlow installed from: docker tensorflow/tensorflow:latest-gpu
TensorFlow version (or github SHA if from source): 2.12.0

Standalone code to reproduce the issue
Input model (Netron):

import tensorflow as tf
import numpy as np

model = tf.keras.models.Sequential([
  tf.keras.layers.Flatten(input_shape=(28, 28)),
  tf.keras.layers.Dense(128, activation=None),
  #  tf.keras.layers.ReLU(),
  tf.keras.layers.ELU(),
  tf.keras.layers.Dense(10, activation='softmax')
])

# full-integer quantization, simulate dataset with random input
def representative_data_gen():
  for input_value in [np.random.randn(1, 28, 28).astype(np.float32) for _ in range(10)]:
    yield [input_value]

converter = tf.lite.TFLiteConverter.from_keras_model(model)
converter.optimizations = [tf.lite.Optimize.DEFAULT]
converter.representative_dataset = representative_data_gen

converter.target_spec.supported_ops = [tf.lite.OpsSet.TFLITE_BUILTINS_INT8]
converter.target_spec.supported_types = {tf.int8}

converter.inference_input_type = tf.int8 #tf.uint8
converter.inference_output_type = tf.int8 #tf.uint8

tflite_model_quant = converter.convert()
with open('basic_fullint_quant.tflite', 'wb') as f:
  f.write(tflite_model_quant)

Output Model (Netron):

Any other info / logs
I understand that ELU isn't among the supported operators (?) although there's allegedly some code (?) from this commit.
I wonder why no exception is raised during the process despite supported_ops being set to the most strict options, and why does it default to this mixed-precision output model (if I am not mistaken, the elu is still run in floating point).
To be clear, the behavior I would expect is either an error or a full-int8 quantized model with no stubs layers wrapping ELU.
Thanks for your help!

Hi @NickLucche
Thanks for reporting this issue.
@pkgoogle I was able to reproduce this issue. Please find the gist here.
Could you please look into this if this is intended behaviour?
Thanks.

Hi @NickLucche, thanks for reporting the issue. The documentation https://www.tensorflow.org/lite/performance/post_training_quantization#integer_only suggests it should throw an error than a forced conversion. We will work on this as a bug.

thank you!

Hi @miaout17, can you please take a look? Thanks.

Hi @NickLucche,
Your observation is right. ELU is not a natively supported activation function in Tensorflow Lite by default . The model converts the rest layers into INT8 leaving the  ELU as it is instead of throwing exception. As of now ELU is not having quantizable trait. The PR is created for the same.
Thank You


BetterDiscord doesn't respect changes to Environment Variables.

Describe the bug
Using a batch file or CMD to change the APPDATA env variable and location of where discord saves settings used to work for BetterDiscord as well and now only kind of works. If the appropriate BD files are put into the default %appdata% then the program runs fine and uses the altered location to save settings but running with all files in the altered location returns an Uncaught Exception.
`A JavaScript error occurred in the main process
Uncaught Exception:
Error: Cannot find module 'C:\Users\USERNAME\AppData\Roaming\BetterDiscord\data\betterdiscord.asar'
Require stack:

Z:\Program Files\Discord\Discord\app-1.0.9002\resources\app\index.js
at Module._resolveFilename (internal/modules/cjs/loader.js:797:17)
at Function.o._resolveFilename (electron/js2c/browser_init.js:281:681)
at Module._load (internal/modules/cjs/loader.js:690:27)
at Function.Module._load (electron/js2c/asar.js:769:28)
at Module.require (internal/modules/cjs/loader.js:852:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object. (Z:\Program Files\Discord\Discord\app-1.0.9002\resources\app\index.js:1:1)
at Module._compile (internal/modules/cjs/loader.js:967:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1004:10)
at Module.load (internal/modules/cjs/loader.js:815:32)`

Z:\Program Files\Discord\Discord\Profile\AppData\Roaming being the altered location
To Reproduce
Steps to reproduce the behavior:

Install BetterDiscord
Move C:\Users\USERNAME\AppData\Roaming\BetterDiscord to a new location e.g. c:\FakeRoaming\BetterDiscord
Open CMD and use set APPDATA=c:\FakeRoaming
Navigate to discord using the same CMD and run
See Error message.

Expected behavior
The module should be looking at Z:\Program Files\Discord\Discord\Profile\AppData\Roaming\BetterDiscord\data\betterdiscord.asar but is instead looking at 'C:\Users\USERNAME\AppData\Roaming\BetterDiscord\data\betterdiscord.asar'
System Information:

OS: Windows 10
Discord Version: Stable

Additional context
Add any other context about the problem here.

In this test case does Discord use C:\FakeRoaming?

Yes discord and even the saving of settings from betterdiscord or plugins will use C:\FakeRoaming the only thing that needs to be and is stored in C:\Users\USERNAME\AppData\Roaming\BetterDiscord\data is the betterdiscord.asar

The installer uses the environment variable to save betterdiscord.asar to the correct folder as well as inject the location into Discord. Your APPDATA variable should be the same at install and run-time. It is possible to make the injection more readily accepting of environment variable changes, but I honestly don't see a good use-case for this.
In any case, the change here lies in the installer not BD proper.


Ignored attempt to cancel a touchstart... in a Cordova App

A warning appear in the console when I simply use an animation generated by Adobe Flash with createJs and I add this line in the handleComplete function :
createjs.Touch.enable(stage, false);
The warning occur frequently when you touch the screen of a mobile device when my code is wrapped into Cordova. The warning not occur in the native webBrowser...
easeljs-0.8.2.combined.js:13227 Ignored attempt to cancel a touchstart event with cancelable=false, for example because scrolling is in progress and cannot be interrupted.
It also occur from this line : p._handlePointerDown	@	easeljs-0.8.2.combined.js:8577
I tried this only an Android Device, so I don't know if it's happen on iOs device.
I found a way to eliminate this Warning  with this code :
at the line 8577
if (this.preventSelection) {
if (e.cancelable){
e.preventDefault();
}
}
line 13227
if (stage.__touch.preventDefault&&e.cancelable) { e.preventDefault&&e.preventDefault(); }
So, I don't know the impact of my fix.
Can I fix this warning in an other way ? in my code ???

Hey Bougied,
Did you find a fix ?
thanks

My current fix is to add "e.cancelable" in the "if" condition at each place mentionned in my post... in the file easeljs-0.8.2.combined.js


Ksonnet for kvc

need to test it after merging with master, working with my branch

Fixes #11.

@sudeshsh This is no longer needed. Sorry for not merging this for so long. Thanks for working on this. Much appreciated.


Fix #1949: Add/fix toString() methods for tools.jsdep.*.

Review by @nicolasstucki

Refer to this link for build results (access rights to CI server needed):
https://scala-webapps.epfl.ch/jenkins/job/scalajs-pr/2708/
https://scala-webapps.epfl.ch/jenkins/job/scalajs-matrix-build/3497/
Test PASSed.

That's all, otherwise LGTM


Regnal styles are broken

Names are appearing without a style number, after they have been seen with one
ie
Fred I
Fred II
then Fred

Fixed 3bb4da8


can't configure [help]

Hello I'm trying to use this loader in my webpack.config.json but just in the entry file
angular.module('clipApp', [])
  .controller('AppCtrl', function () {
    console.log('yeah!!!');
  });

I'm getting an error
Uncaught TypeError: angular.module is not a function

am I missing something?
{
  entry: path.resolve(PATHS.app, 'app'),
  resolve: {
    extensions: ['', '.js']
  },
  output: {
    path: PATHS.build,
    filename: '[name].js'
  },
  module: {
    loaders: [
      {
        test: /\.js$/,
        loaders: ['imports-loader?angular'],
      },
      {
        test: /\.html$/,
        loader: 'ng-cache?prefix=[dir]',
        include: path.resolve(PATHS.app, 'modules')
      },
      {
        test: /\.(jpe?g|png|gif|svg)$/i,
        loaders: [
            'file?hash=sha512&digest=hex&name=images/[name].[ext]',
            'image-webpack?bypassOnDebug&optimizationLevel=7&interlaced=false'
        ],
        include: PATHS.assets
      }
    ]
  },
  plugins: [
    new HtmlwebpackPlugin({
      title: 'PNUD Admin',
      template: 'templates/index.tpl'
    })
  ]
}

try loader: ['imports-loader?angular'], instead of loaders: ['imports-loader?angular'],

to be honest, I just work after doing this:
{
  test: /\.js$/,
  loaders: ['imports?angular', 'babel-loader'],
  exclude: /node_modules/
}

so I started using the es6 modules and angular as global to inprove the bundle, big thanks anyway!

Closing because it's been solved.


Print a single normalized program when passed user-defined rules

When passed user-defined rules, the normalizer prints a neat message.
https://github.com/objectionary/normalizer/blob/496546c5e48a8dfa42298ba10d7d3eef08761e2a/eo-phi-normalizer/app/Main.hs#L43-L49
However, in the pipeline (#100), we need a single normalized $\varphi$-expression.

[ ] add option to print a single normalized program

cc @aabounegm


fix: cli command for windows compatibility

Before, the command line to build sdk, only works
in operating system that has compatibility with
rm command
Using the rm-cli library, i changed the
command for that is cross platform

It's going to be fixed by adding docker support


KAFKA-3307: Add ApiVersions Request/Response and server side handling.

The patch does the following.

Adds ApiVersionsRequest/Response.
Adds UNSUPPORTED_VERSION error and UnsupportedVersionException.
Adds broker side handling of ApiVersionsRequest.

@gwenshap @edenhill @hachikuji mind reviewing this?

Do you mind also generating protocol docs and making sure the new protocol is documented correctly?

@gwenshap, I have verified that new api and error shows up on generated docs.

Other than few minor comments, it looks good to me. @hachikuji and @edenhill, want to take a look as well?

:+1: Looks good, will verify broker bits with librdkafka

I have completed my review. Mostly minor comments with a couple of exceptions:

Testing that involves the KafkaApis code
A couple of naming questions, which I think are important to agree on a path forward before we merge.

@gwenshap @ijuma @granthenke @edenhill @hachikuji I am done with addressing most of the review comments here, however I am wondering if it is OK to rename ApiVersion in Req/Resp and API keys to ApiVersions given that KIP-35 has it stated as ApiVersion?

@SinghAsDev - ApiVersion and ApiVersions is a tiny change and no one is using the API yet (since we didn't commit yet...), I see no problems. Whatever you see fit is fine by me :)

Go ahead with renaming it.

@SinghAsDev, can you please update the PR title and description to match what's actually in the PR?

@ijuma I believe all review comments are addressed now. Mind taking a look again?

@SinghAsDev, can you please merge trunk into this branch as it no longer merges cleanly.

@ijuma done.

@ijuma seems like I messed up while rebasing, should be fixed now. Thanks for the reviews!

@ijuma does this look good now?

@SinghAsDev, looks good apart from one comment.

@ijuma made the change, built and ran tests locally.

LGTM

LGTM. Thanks for the contribution!


Spike: Research PM2 as a replacement for TMUX

Research PM2 as a replacement for TMUX
Problem Statement
Tmux is a terminal window manager that allows us to support the backend running in our production environment and it seems it could prevent the ability to use allow us to be able to trigger changes for both frontend and backend deployment to production
Goal
What do you want to achieve with this spike? What are you hoping to learn or prove?

Find and see what the benefits would be if using pm2 and see if we can terminate using tmux.

Questions
Research Tasks
List the specific tasks you need to perform to answer the questions and achieve your goal. These should be small, manageable tasks that will help you make progress.

[ ] See what services it provides
[ ] See how we can integrate into auto-deployment features and allow for better instance management
[ ] See what logging support it can provide

Results and Conclusion
Summarize the results of your research. What did you learn? What worked? What didn't work? What are the implications of the results?
Based on your results, what is your conclusion? What do you recommend? What is your next step?

After researching solutions this might be one of the most plausible avenues to allow for us to be able to not only run and see when the backend goes down and the front end may go down. we can use pm2 to manage the processes and also target the logs we are looking for. This will allow developers to have a single source to run commands to bring up the entire architecture.


feat: add hherman1/gq

#5950 hherman1/gq: jq but using go instead
$ aqua g -i hherman1/gq

Thanks.

Released. https://github.com/aquaproj/aqua-registry/releases/tag/v3.45.0


chore: Update text message for git remote url placeholder

Description

Update text message for git remote url placeholder.

Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

Locally

Checklist:

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

/ok-to-test sha=967de2d

/ok-to-test sha=4694213

/ok-to-test sha=4694213

/ok-to-test sha=3ae157f

/ok-to-test sha=38d03e4


Ubuntu 12 is beyond EOL

I think we should remove the associated Dockerfiles — do you agree?

@fancyremarker I'm not sure I follow, only the Dockerfile.erb template is included in the repo, the Dockerfiles it generates are git ignored?  https://github.com/aptible/docker-ruby/blob/master/.gitignore#L2

I'm not sure I follow, only the Dockerfile.erb template is included in the repo, the Dockerfiles it generates are git ignored?

Sorry, this was me getting confused reviewing the change locally. Thanks!


"Can't set timers inside simulations" error

I can't set any liveUpdate timer inside helpers =(
Always getting this error
Exception in template helper: Error: Can't set timers inside simulations
    at withoutInvocation (http://localhost:3000/packages/meteor.js?e53378596562e8922a6369c955bab1e047fa866b:434:13)
    at bindAndCatch (http://localhost:3000/packages/meteor.js?e53378596562e8922a6369c955bab1e047fa866b:442:33)
    at Object._.extend.setInterval (http://localhost:3000/packages/meteor.js?e53378596562e8922a6369c955bab1e047fa866b:469:24)
    at Timer.start (http://localhost:3000/packages/remcoder_chronos.js?4c1cdaa85e6dd33110a630278df769a417ebcf63:46:24)
    at Object.liveUpdate (http://localhost:3000/packages/remcoder_chronos.js?4c1cdaa85e6dd33110a630278df769a417ebcf63:64:18)
    at Object.Template.guestRow.helpers.total_bill (http://localhost:3000/client/views/counter/guest-row.coffee.js?3cad82c01820f7dcb6bd214c5565e85716efc3bd:15:13)
    at bindDataContext (http://localhost:3000/packages/blaze.js?4e49999979a58da0e2265f7bd3f5910f9901b07b:2786:16)
    at Blaze._wrapCatchingExceptions (http://localhost:3000/packages/blaze.js?4e49999979a58da0e2265f7bd3f5910f9901b07b:1607:16)
    at http://localhost:3000/packages/blaze.js?4e49999979a58da0e2265f7bd3f5910f9901b07b:2834:66
    at Function.Template._withTemplateInstanceFunc (http://localhost:3000/packages/blaze.js?4e49999979a58da0e2265f7bd3f5910f9901b07b:3382:12)

I've tried to reproduce this error with http://meteorpad.com/ but I can't =(

Could you post a code snippet?

Got it!
Press "MOAR" button here – http://app-gw3n5agg.meteorpad.com/
Source code here – http://meteorpad.com/pad/hEMxTmbjAmHHHmLJF/Copy of Chronos.Timer

Thanks! meteorpad seems to unresponsive now and then (it could be b/c I'm tethering) so I haven't found anything conclusive yet but I did notice that your meteorpad is running a rather old (and buggy!) version (0.1.3) of Chronos. Could you check your using the latest version (0.2.2) in your app?

yes. I am using 0.2.2

BTW here is 0.2.2 on meteorpad
http://app-setuz5mk.meteorpad.com/
http://meteorpad.com/pad/hEMxTmbjAmHHHmLJF/Copy of Chronos.Timer
Just open console and click button:

Ah, so it does display a date sometimes, but at other times it throws an error. Weird.
Not sure when I'll get around to fixing this. It's kinda elusive and I'm currently on a vacation.. Any suggestions at this point would also be really appreciated ;-)

It works for existing items. But fails for items created during current sessions

I am hitting this problem as well. When creating the timer, just check for !this.isSimulation

@Multiply and what to do if this.isSimulation === true ?

hmm, the solution isn't that simple I'm afraid. To check wether you're in a simulation you can do this:
if (Package.ddp) {
  var _CurrentInvocation = Package.ddp.DDP._CurrentInvocation;
  if (_CurrentInvocation.get() && _CurrentInvocation.get().isSimulation)
    // do something about it
}

(taken from https://github.com/meteor/meteor/blob/master/packages/meteor/timers.js#L2-5)
..but, if you skip creating the timer when the simulation is run, the helper wil not be called again until the document changes. The only way I know to defer execution to a later time (so as to push it outside the simulation) is.. a setTimeout :-/
Actually, there is a corresponding issue in the Meteor repo, which is still unresolved too: https://github.com/meteor/meteor/issues/2691
I could use window.setInterval (possibly together with Meteor.bindEnvironment) which doesn't check if it's running inside a simulation but he underlying problem is that whatever is done inside a simulation should be reversible b/c the method might fail on the server. So if we create a timer and the method fails, there is still a timer left running.
Any thoughts?

Fixed it by using window.setInterval together with Meteor.bindEnvironment. Although I'm circumventing Meteor's mechanism trying to prevent doing side-effects inside a simulation it shouldn't be a problem. The timer is actually correctly disposed of too so no memory leaks or dangling timers ;-)

Cool! Thx


Fuzzing: Attempt to add with overflow and/or invalid ArrayVec::set_len

I'm attaching the full original reproducer, which crashes at:
thread '<unnamed>' panicked at 'attempt to add with overflow', /home/ben/bzip2-rs/src/block/mod.rs:255:17

It appears to minimize into a different crash, which is very interesting. You should be able to tar xf this file in the crate root and get a file in fuzz/artifacts/decompress:
crash-14f4cbb67ac1b1daa7493646937fe87be63f72e1.tar.gz

Thanks for taking the time in fuzzing this project!
It looks like a checked_add should catch this issue. I'll take a look at it tomorrow.

Thanks for taking the time in fuzzing this project!
It looks like a checked_add should catch this issue. I'll take a look at it tomorrow.


Segmentation fault when running on way-cooler

I tried running waybar under way cooler, and it crashes without further information:
[2019-08-12 16:07:45.083] [info] Resources files: ~/.config/waybar/cooler-config, ~/.config/waybar/style.css
[1]    11425 segmentation fault (core dumped)  waybar -c .config/waybar/cooler-config

Where did you get the way-cooler package, did you build it from source?
I build it from source and launched waybar with no error.


Tighter output domain bounds if size is specifed?

In this case:
>>> bounded_sum = dp.t.make_sum(
...     input_domain=dp.vector_domain(dp.atom_domain(bounds=(0, 1)), size=2),
...     input_metric=dp.symmetric_distance(),
... )
>>> bounded_sum.output_domain
AtomDomain(T=i32)

I think we could infer [0, 2] as a bound on the output domain... Assuming that's correct, would it be useful?

We don't currently have a need for it, which is why we don't preserve bounds descriptors through the sum transformation. In earlier iterations of the library design, it would be super inconvenient for the user to specify these bounds for the input domain to the noise perturbation measurements, in a way that would chain. This is now easier with partials.
One place where it would potentially be useful is in make_lipschitz_mul, which needs these bounds. Since make_lipschitz_mul is not typically user-facing, this hasn't been an issue, because these bounds are filled in by the rollup constructors make_mean and make_variance. Those rollup constructors compute these bounds and make_lipschitz_mul clamps to them. If we wanted to pull the clamp out of make_lipschitz_mul, we could now do so without impacting UX due to partials. We'd do this by moving the bounds computation from the rollup constructors to the make_sum or make_sum_of_squared_deviances constructors, respectively, and dropping the clamp in make_lipschitz_mul.
Generally speaking, I think it's better to handle these kinds of transformations outside the privacy boundary, so instead of updating make_lipschitz_mul, it would be better to add more general constructors that compute DP means and variances directly, and which employ post-processing instead.

Thanks for the explanation. In the end, it sounds like this is not something that would be useful, so I'll close?


Cut/ copy & paste of content without staying on the current page

Is your feature request related to a problem? Please describe.
When in the Contents view, Plone classic is able to begin a cut/ copy operation, leave the page, re-open the Contents view in another location and continue to paste the previously copied content. I'm not quite up to speed on how this works (cookies I guess?), but this currently does not currently work in Volto.
Describe the solution you'd like

Store the cut/ copied content item in Local storage ready for later pasting
Store the cut/ copied content item in a cookie ready for later pasting

Additional context
I had a user who is used to Plone 5 and being able to use their normal site navigation alongside cut/ copy operations stumble over this today.

This looks related to #1919


Docstrings in SPASE Conversion Strategy

Hi @BaptisteCecconi,
Thanks for the recent PRs introducing the SPASE to SOSO conversion strategy in the soso package! It's great to see this work being shared with a wider audience.
I noticed the addition of docstrings to property conversion methods within the SPASE conversion strategy e.g.:
https://github.com/clnsmth/soso/blob/5d980c83df8e2738f86af23de55f941d49be3562/src/soso/strategies/spase.py#L48
These docstrings appear to describe the source element in the SPASE metadata standard and are intended to be user-facing.
While I understand the benefit of presenting this information at this level, our current approach is to document these details in the SSSOM files (e.g. src/soso/data/soso-eml.sssom.tsv) and encourage users to consult them for reference. Additionally, omitting docstrings from the strategy conversion methods allows for inheriting the docstrings defined in the strategy interface to describe the resulting SOSO property. E.g.:
https://github.com/clnsmth/soso/blob/5d980c83df8e2738f86af23de55f941d49be3562/src/soso/interface.py#L43
Would you be open to converting these strategy-level docstrings into comments for now?
Thanks!

Ah ! ok, no problem, I'll convert those into comments.
Since it was a first proposal, I wanted to document it for the rest of the SPASE team.
Using SSSOM format eventually is good for us too.


Added UI elements POM for comments tests

Added UI elements POM for comments tests, which includes ID's for few elements with the index values.
These UI elements are generic :)

Can one of the admins verify this patch?

@ldimaggi , can you please review

[test]

Current coverage is 60.95% (diff: 100%)

Merging #547 into master will not change coverage

@@             master       #547   diff @@
==========================================
  Files            33         33
  Lines          1688       1688
  Methods         343        343
  Messages          0          0
  Branches        337        337
==========================================
  Hits           1029       1029
  Misses          659        659
  Partials          0          0

Powered by Codecov. Last update f2d2fc1...0a7b129


Add this url

I saw ads on this url: https://hackaday.com/2022/11/13/diy-usb-charging-the-right-way/
because of this url: ads.supplyframe.com

Thank you for this @githubissocool.  We already list the domain ads.supplyframe.com.
Closing.


Too many login attempts

Hey there,
I am getting the emails and doing the captures, but nothing happens?
I check the logs on the service I see the error:  Too many login attempts
Thanks

@claabs still not working for me either.  Captcha doesn´t even show anymore, console shows:

@claabs still not working for me either.  Captcha doesn´t even show anymore, console shows:

@Gamewalker I get the same error but the captcha shows. It doesn't need to be visible as it can be an invisible captcha

@Gamewalker I get the same error but the captcha shows. It doesn't need to be visible as it can be an invisible captcha

@Gamewalker I get the same error but the captcha shows. It doesn't need to be visible as it can be an invisible captcha

not for me, I know the difference between the captchas without inetraction and this. Captcha doesn't solve and after 3 tries, I get banned with the "Too many login attempts message". I have been using this tool since hours one, started around 2 weeks ago :(

@Gamewalker I get the same error but the captcha shows. It doesn't need to be visible as it can be an invisible captcha

not for me, I know the difference between the captchas without inetraction and this. Captcha doesn't solve and after 3 tries, I get banned with the "Too many login attempts message". I have been using this tool since hours one, started around 2 weeks ago :(

By the way, "Too many login attempts" is not from Epic Games, it's from the bot so you don't get banned by Epic Games.
As for the fix, this is nearly impossible to troubleshoot since there's no error messages coming anywhere from Epic Games. I pretty much have to blindly throw darts until I hit the target.

By the way, "Too many login attempts" is not from Epic Games, it's from the bot so you don't get banned by Epic Games.
As for the fix, this is nearly impossible to troubleshoot since there's no error messages coming anywhere from Epic Games. I pretty much have to blindly throw darts until I hit the target.

Also have the Error: Too many login attempts msg in the logs.

Also have the Error: Too many login attempts msg in the logs.

Okay, I actually think I fixed it.
@Gamewalker, for the CORS issue you were seeing, that was the hardest to fix, but I added more hcaptcha proxies in https://github.com/claabs/epicgames-freegames-node/commit/c69f8ff35d6dbf8e9794ed71ad520e9a690499dc which should take care of it.
As for the general captcha failures, I fixed the dumbest typo in https://github.com/claabs/epicgames-freegames-node/commit/8e12610f18aa4a3238d966207c91a1b9f3fdd27e which looks like it fixes the problem. I haven't had a single retry since I fixed it.

Okay, I actually think I fixed it.
@Gamewalker, for the CORS issue you were seeing, that was the hardest to fix, but I added more hcaptcha proxies in https://github.com/claabs/epicgames-freegames-node/commit/c69f8ff35d6dbf8e9794ed71ad520e9a690499dc which should take care of it.
As for the general captcha failures, I fixed the dumbest typo in https://github.com/claabs/epicgames-freegames-node/commit/8e12610f18aa4a3238d966207c91a1b9f3fdd27e which looks like it fixes the problem. I haven't had a single retry since I fixed it.


Rollover protocol failed: CET signatures don't verify

This is a production issue: mainnet maker 0.4.7, taker version currently unknown
This is likely a problem on the taker side and are related to only one specific taker. The maker logs contains quite a lot of entries where we don't receive rollover protocol messages for CFDs related to this taker. This points to the taker running an outdated version that includes the protocol message timeouts when dispatching wire message to the rollover actors. However, we cannot know that with absolute certainty.
We see messages like this in the logs:
2022-03-14 09:37:14
{"timestamp":"2022-03-13T22:37:14.734257989Z","level":"WARN","fields":{"message":"Rollover failed: Rollover protocol failed: CET signatures don't verify: enc sig on CET does not verify: failed to verify encsig spend tx: failed to verify adaptor signature","order_id":"9e6dfcf0-5108-43f9-b1de-966a26835690"},"target":"model::cfd"}

It appears that one party published an old commit state:
2022-03-14 11:00:36
{"timestamp":"2022-03-14T00:00:36.355612096Z","level":"ERROR","fields":{"message":"Revoked logic not implemented","order_id":"a5a25751-3036-4d6a-a8c7-d83a23a024af"},"target":"model::cfd"}

So far 3 CFDs with this issue where identified, IDs:
d5981e85-0d7a-482e-acd9-b939ffc31e54
9e6dfcf0-5108-43f9-b1de-966a26835690
a5a25751-3036-4d6a-a8c7-d83a23a024af

All three scenarios resulted in an "old" commit state being published by the taker (because of the failed rollover on the taker side, which succeeded on the maker and all consecutive rollovers failing). The maker picked up the previous commit tx being published, but was unable to react to it, because that is currently not handled. Eventually the maker tried to publish an unrelated CET which fails.
The taker's old commit and CET went in an the position is considered closed on the taker.
Analysis
What we know: When looking at the rollovers in the maker's database we see that the taker keeps triggering rollovers after the last successful rollover recorded by the maker. This means that the last successfully recorded rollover on the maker side failed on the taker side (because otherwise the taker would not trigger a rollover after 5 minutes again, but would wait for an hour).
The maker's rollover succeeding while the taker's failed leads to a situation where the FeeAccount state of the parties becomes unbalanced. The maker is one fee cycle ahead. Since the FeeAccount is relevant when calculating the payouts independently on each side this leads to different payouts, which leads to different CETs which leads to the verification failing on (any) next rollover.
Since we don't know what version the taker is running we can only guess why the rollover failed on the taker side. My best guess is, that the taker runs an outdated version that includes the network protocol timeouts, and the timeouts triggered at very unfortunate points in the protocol, i.e. when the taker has sent Msg3 (the ack at the end of the rollover protocol) but did not receive it yet.
We can see from the logs that the connection with this taker is often unstable, i.e. there are errors of losing the connection and messages not arriving in time as expected.
It is very unlikely that this problem happens in the current version 0.4.7 because once the rollover was accepted we don't timeout the protocol. Messages to the protocol actor are dispatched synchronously. It is likely that the taker is running version 0.4.5 or 0.4.6.

Isn't this a duplicate of #1260

Closing in favor of https://github.com/itchysats/itchysats/issues/1622.


[ttx] Cannot decompile Apple’s Helvetica.dfont

Since a few hours ago, ttx fails to process the 'name' table in Helvetica.dfont of MacOS X 19.9.5. Before, ttx would handle this font perfectly fine. This might be cased by the following commit:
https://github.com/behdad/fonttools/commit/8b0152f0a1ced963775e3b8d1b938a55c6c64b7d
$ ./Tools/ttx Helvetica.dfont
[...]
Dumping 'name' table...
Traceback (most recent call last):
File "./Tools/ttx", line 6, in
ttx.main(sys.argv[1:])
File "/Users/sascha/src/fonttools2/fonttools/Tools/fontTools/ttx.py", line 310, in main
process(jobs, options)
File "/Users/sascha/src/fonttools2/fonttools/Tools/fontTools/ttx.py", line 295, in process
action(input, output, options)
File "/Users/sascha/src/fonttools2/fonttools/Tools/fontTools/ttx.py", line 206, in ttDump
bitmapGlyphDataFormat=options.bitmapGlyphDataFormat)
File "/Users/sascha/src/fonttools2/fonttools/Tools/fontTools/ttLib/init.py", line 283, in saveXML
self._tableToXML(tableWriter, tag, progress, quiet)
File "/Users/sascha/src/fonttools2/fonttools/Tools/fontTools/ttLib/init.py", line 323, in _tableToXML
table.toXML(writer, self)
File "/Users/sascha/src/fonttools2/fonttools/Tools/fontTools/ttLib/tables/_n_a_m_e.py", line 72, in toXML
name.toXML(writer, ttFont)
File "/Users/sascha/src/fonttools2/fonttools/Tools/fontTools/ttLib/tables/_n_a_m_e.py", line 168, in toXML
writer.write(unistr)
File "/Users/sascha/src/fonttools2/fonttools/Tools/fontTools/misc/xmlWriter.py", line 48, in write
self._writeraw(escape(string), indent=indent)
File "/Users/sascha/src/fonttools2/fonttools/Tools/fontTools/misc/xmlWriter.py", line 73, in _writeraw
self.file.write(s)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xa9' in position 0: ordinal not in range(128)

This is on Python 2.7.5.

Sounds like dupe of issue #233 which I just fixed.

Indeed, it's fixed now. Thank you!


Games add

Pull Request Test Coverage Report for Build 127079085

7 of 38 (18.42%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-3.04%) to 58.514%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

cmd/front-end/server/games_handlers.go
4
35
11.43%

Totals

Change from base Build 127059516:
-3.04%

Covered Lines:
323

Relevant Lines:
552

💛  - Coveralls


Update README.md

Hi, thanks for contributing to Strawberry 🍓!
We noticed that this PR is missing a RELEASE.md file. We use that to automatically do releases here on GitHub and, most importantly, to PyPI!
So as soon as this PR is merged, a release will be made 🚀.
Here's an example of RELEASE.md:
Release type: patch

Description of the changes, ideally with some examples, if adding a new feature.

Release type can be one of patch, minor or major. We use semver,so make sure to pick the appropriate type. If in doubt feel free to ask :)

Hi @ThiagoWhispher, not sure this PR is contributing much to the README :)
I'll close it for now, let me know if you want to clarify :)


Combine build and test jobs in CI

It allows to remove some duplicated code.

Thanks @draenog for the simplification, I let you delete the branch if you no longer need it


close body to avoid resource leaks

As mentioned in description of the http package: "The client must close
the response body when finished with it" [1]

Thanks for the contribution and quick merge. I'm repairing the browserify build process now, and will release shortly after.
The npm package is published


Improve docker-compose examples to use Docker secrets for credentials passed to Hasura

Waiting for https://github.com/hasura/graphql-engine/issues/3989

@rhyslbw as temp workaround what do you think about creating a new image based on hasura/graphql-engine one (using FROM) but with a modified CMD with a custom entrypoint script?
The main problem I see is that a specific version version needs to be configured when extending but I think the proper version to be picked should be stated in the README anyways.

Hi @AlanVerbner , apologies for the delay.
We originally had an extended image while prototyping, but it was abandoned due to seemingly unnecessary complexity. Having worked with both, I can see there is value, not just in this particular issue, but also to remove the need for the source code to provide the metadata.
Thanks, I'll update this when it's available.

Thanks @rhyslbw for the answer. If you need some help I could try to implement this and create a PR. Just let me know if you are not already working on it.

Thanks @AlanVerbner. It's not something I'm working on right now, so would be happy to collaborate on this.


WebApp_RoleClaims_DotNet.mdf / Catalogue missing from sample

I have been trying this sample out, but missing the DB. Can you help provide, when you get a chance?
connectionString="Data Source=(LocalDb)\v11.0;Initial Catalog=WebApp_RoleClaims_DotNet;Integrated Security=SSPI;AttachDBFilename=|DataDirectory|\WebApp_RoleClaims_DotNet.mdf;" providerName="System.Data.SqlClient"
https://social.msdn.microsoft.com/Forums/en-US/6ac283a9-03bf-48f9-b144-47c47c164b01/active-directory-authentication-sample-db-missing?forum=windowsazurewebsitespreview
Rgds
Omar

Thanks.  I believe the .mdf file should be created automatically on first run.  Can you share the error you are getting?

I am getting several errors. I am hosting the site POC on Azure: https://ggpclaimsaware.azurewebsites.net and get the following.
An error occurred while processing your request.
We're having trouble signing you in.
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: SQL Network Interfaces, error: 52 - Unable to locate a Local Database Runtime installation. Verify that SQL Server Express is properly installed and that the Local Database Runtime feature is enabled.)
Click here to re-authenticate.

Even when I run locally I am unable to authenticate via MSFT Corpnet/via smartcard…., what am I doing wrong? How do I enable MSA as an authentication provider here….?
Thanks
Omar Farooque
Software Engineering Manager, Global Games Publishing, Xbox Accelerate Engineering Team
From: Danny Strockis<EMAIL_ADDRESS>Sent: Monday, November 30, 2015 11:19 AM
To: Azure-Samples/active-directory-dotnet-webapp-roleclaims<EMAIL_ADDRESS>Cc: Omar Farooque<EMAIL_ADDRESS>Subject: Re: [active-directory-dotnet-webapp-roleclaims] WebApp_RoleClaims_DotNet.mdf / Catalogue missing from sample (#17)
Thanks. I believe the .mdf file should be created automatically on first run. Can you share the error you are getting?
—
Reply to this email directly or view it on GitHubhttps://github.com/Azure-Samples/active-directory-dotnet-webapp-roleclaims/issues/17#issuecomment-160730605.

Yes, the mdf should be created automatically. There was a problem with trying to run the sample with Visual Studio 2015 and 2017, which I proposed to resolve (PR #24 )


Request for Hackage Release

Hi Andrew, it seems this project was never uploaded to Hackage. I came across this when trying to use the castagnoli package in a Stack project and found myself unable to obtain this package as a required dependency even after adding it to my Stack extra-deps. Would it be possible for you to do a release of this package to Hackage?

Released! (Also, I cannot believe that you even found this. I haven't needed to use CRC32 in a long time.)

Haha, thanks Andrew. You are awesome! I appreciate you taking the time to do this.


[autogrid] Horizontal scrolling throws Uncaught TypeError

Describe the bug
Whenever an AutoGrid has horizontal scrollbar visible (e.g. due having more columns than the width allows), trying to move the scrollbar (even for 1 px) is throwing the following error:
(Same stacktrace, but different error message)
In Chrome:
vaadin-grid-scroll-mixin.js:324 Uncaught TypeError: Cannot read properties of undefined (reading 'offsetLeft')
    at Grid.__isColumnInViewport (vaadin-grid-scroll-mixin.js:324:1)
    at Grid._predictFocusStepTarget (vaadin-grid-keyboard-navigation-mixin.js:690:1)
    at Grid._onFocusIn (vaadin-grid-keyboard-navigation-mixin.js:806:1)

In FireFox:
Uncaught TypeError: column._sizerCell is undefined
    __isColumnInViewport vaadin-grid-scroll-mixin.js:324
    _predictFocusStepTarget vaadin-grid-keyboard-navigation-mixin.js:690
    _onFocusIn vaadin-grid-keyboard-navigation-mixin.js:806

The grid itself remains functional.
Expected-behavior
To support horizontal scrolling without any errors.
Reproduction

Get the demo source code: git clone https://github.com/taefi/auto-form-demo
Run the application: mvn
Navigate to the Crud view
Try using the horizontal scrollbar

Look the browser's console or the devtools:
Chorme:

FireFox:

System Info
Hilla: 2.3.2 and also 2.4.0.alpha3
Browser: Chrome, FireFox

Related with https://github.com/vaadin/web-components/issues/6724
Seems like a regression introduced by https://github.com/vaadin/web-components/pull/6406


MacOS: Too many open files

I'm trying to build the project like I usually do but now it's giving me this error:
info install 0.6.2 (using package.json)
info checking https://github.com/ocaml/opam-repository for updates...
info checking https://github.com/esy-ocaml/esy-opam-override for updates...
info resolving esy packages: done
info solving esy constraints: done
info resolving npm packages: done
info fetching: done
error: Too many open files
  unpacking esy-libjpeg-turbo@github:revery-ui/libjpeg-turbo#61e031f
  installing esy-libjpeg-turbo@github:revery-ui/libjpeg-turbo#61e031f
esy: exiting due to errors above

Updated docs in #1302 to note the workaround. Root issue is tracked in esy/esy#1057 - so I'll close this one out.


Dev mode recompiles upon startup

https://github.com/OpenLiberty/ci.common/pull/111 added a recompile when dev mode starts up, so any compile errors would be shown.  However, even if there were no compile errors originally, it will still recompile and cause the application to update.
[INFO] Press the Enter key to run tests on demand.
[INFO] Source compilation was successful.
[INFO] Tests compilation was successful.
[INFO] [AUDIT   ] CWWKT0017I: Web application removed (default_host): http://localhost:9080/
[INFO] [AUDIT   ] CWWKZ0009I: The application getting-started has stopped successfully.
[INFO] [AUDIT   ] CWWKT0016I: Web application available (default_host): http://localhost:9080/
[INFO] [AUDIT   ] CWWKZ0003I: The application getting-started updated in 0.268 seconds.

Hmm..our pretty simple JSF+JPA stack sample https://github.com/OpenLiberty/application-stack-samples/tree/main/jpa   seems to keep failing "hot tests" on dev mode startup.    Guess I'm just noting this as another symptom of this issue.

Currently dev mode is compiling twice on startup:

Calling the maven-compiler-plugin:compile where any compilation errors are logged as warnings.
Via the processJavaCompilation method once Liberty has started and the watch loop has been entered to bring attention to any compilation errors on startup after the server and dev mode has started.

Ideally we would only compile once and bring attention to any compilation errors on startup. This would resolve the above issue as if there was a successful initial compilation, we would not recompile and cause the app to update. This could be done two ways:

Capturing and parsing the output of the maven-compiler-plugin so that we could re-display it to the user after dev mode has started
Refactor the logic from the processJavaCompilation method such that the one and only compile on startup would be done directly through dev mode (not the maven compiler plugin). This seems more favourable.

I wonder if my previous comment: https://github.com/OpenLiberty/ci.maven/issues/699#issuecomment-839834142   suggests that maybe the hot test execution part of the loop should be changed somehow to wait for the second compilation?
I didn't think to grab the logs but could if we don't already understand what's going on well enough.

@scottkurz We are looking at making this change as part of the multi-module story (though the change will affect both single module and multi module projects). The first time we run tests in the hot testing scenario, we wait for the second compilation to finish. Once that's implemented it may address the hot tests failing on dev mode startup error that you've encountered

To move this forwards, I wrote up a POC for the single-module case...
https://github.com/scottkurz/ci.common/tree/skip-init-compile
https://github.com/scottkurz/ci.maven/tree/skip-init-compile
The idea is to:

switch the compile mojo invocation to failOnError=true (currently LMP is setting it to false)
catch a MojoExecutionException on compile mojo failure and set a flag
pass the flag to the common DevUtil which will then only do the initial compile if the flag is set.

TODO:

multi-module
clean up code, refactor, fix logging

It seems to basically work though, for the three cases: nothing to compile, good & bad compiles


Add missing time unit

@rdmark Just a very minor thing which got lost, but I would still like it to be fixed before the release.

Correct, this was the same before. There is no better character I guess.


RFE: CLI support for sorting package list query

The cloudsmith ls pkg... command does not support the sort option that the Rest API exposes https://help.cloudsmith.io/reference/packages_list, so the default of -date is always used, returning the most recent first. (See also: https://help.cloudsmith.io/docs/sorting-packages#sort-fields)
Being able to specify a different sort field (version, size, downloads, date, etc) or order (- for descending or without for ascending) would be very useful for scripting.

Hey @nickbroon  - thank you for flagging this up, I've created a ticket for us to take a look.


(REACT)  element isnt the correct height when outside of FullScreen Mode or "VR Mode"

Describe the bug
When I'm not in full screen mode the default yellow box in the starter code isn't showing up as expected. I think this is the reason.
<canvas class="a-canvas" data-aframe-canvas="true" width="2102" height="0"></canvas>
For some reason the height of the canvas element has defaulted to 0. But when I enter full screen mode through the VR goggles button it changes to:
<canvas class="a-canvas" data-aframe-canvas="true" width="2399" height="1799"></canvas>
To Reproduce
Visit "https://www.thisjustin.tech/webar" in chrome, then inspect the VR Mode button. Then navigate to the elements tab inside your DevTools and find the  element. There you can see the inline styles. Test what it looks like in Full Screen and Not in Full screen to see what i'm talking about. Then if your curious  navigate out of fullscreen mode, remove the "position: absolute" css tag from the  element while holding up a "Hiro" marker to the camera. You'll see the yellow box float down the screen.
Expected behavior
To behave as it does on the codepen demo. https://codepen.io/nicolocarpignoli/pen/vMBgob
Additional context
If you would like to see my Repo please visit "https://github.com/JustinStoddard/justin-s-com"
I am using React v16.8.0 and a Semantic-UI-React v0.82.3, maybe the Styled Component Library is messing with the height? Anyway, I've been scratching my head around this for a couple hours. So any help helps. Good luck!

better continue the discussion in the previous thread. Copy and paste this here: https://github.com/jeromeetienne/AR.js/issues/537
thanks (also, I've answered you :) )


Default index is not used in query with 8.13.15 client

Elastic.Clients.Elasticsearch version: 8.13.15
Elasticsearch version: 8.13.2
.NET runtime version:  .NET 6.0.28 and .NET Framework 4.8.9232.0
Operating system version: Windows 10 Pro
Description of the problem including expected versus actual behavior:
I set the DefaultIndex to "features" while configuring ElasticsearchClientSettings, but the request was sent without using this DefaultIndex.
searchResult.DebugInformation: Valid Elasticsearch response built from a successful (200) low-level call on POST: /_search?typed_keys=true.
similar to https://github.com/elastic/elasticsearch-net/issues/8151
Steps to reproduce:
var connectionSettings = new ElasticsearchClientSettings(settings.ReadonlyHost);
connectionSettings.DefaultIndex("features");
connectionSettings.RequestTimeout(TimeSpan.FromMinutes(1));
connectionSettings.EnableHttpCompression();
connectionSettings.Authentication(new BasicAuthentication(settings.Login, settings.Password));

var client = new ElasticsearchClient(connectionSettings);

var searchResult = await client.SearchAsync<JsonElement>(s => s
            .Aggregations(aggs => aggs.Add("ClassName", agg => agg.Terms(dh => dh.Field("ClassId").Size(100)))));

// or
var searchRequest = new SearchRequest()
        {
            Size = 10,
            Query = new TermQuery(new Field("ClassId")) { Value = FieldValue.Long(75) }
        };

var searchResult2 = await client.SearchAsync<JsonElement>(searchRequest);

Expected behavior
I expect http request with index POST: features/_search?typed_keys=true

This may well be true for DefaultIndex, but if the user specifies a default index for a specific type, and calls the API with that specific type as the generic argument, then I believe the SDK must use that default index..

@jonyadamit I agree, that the current behavior might not be optimal and, like stated above, I'm open to improve the default 🙂 I just have not decided how exactly the best default behavior would look like.
Even when the user specifies an index mapping for a specific type, let's say LogEntry => "default_log_index", this creates potentially unwanted behavior in APIs that optionally accept multiple indices (Indices parameter). For example, let's say we use the Search<LogEntry>() method.
The default behavior would be to return all LogEntry items in all indices. There might be rotating log indices like e.g. log_07_2024, log_08_2024, etc. and all of these indices would be searched.
Setting the default index/mapping for LogEntry changes semantics so that only default_log_index would be searched. To explicitly revert the behavior, the user must call .Index(Indices.All) or set Indices to null. In my opinion this is not intuitive.
It's totally fine for APIs that only accept a single index (IndexName parameter), because all of these ones actually require an index to be set. Not setting it will cause an error.

I see what you mean.
I am migrating from version 7 to version 8, and the default behavior failed miserably because it tried to deserialize a different type. So I guess the current default behavior doesn't return all LogEntry items in all indices, but rather all items everywhere.
This is regarding a simple query such as await client.SearchAsync<LogEntry>(s => s.Query(new MatchAllQuery())).ConfigureAwait(false);. This definitely doesn't seem right.
I suppose we can let the user decide the default behavior with another setting.
At the minimum, it would be helpful to update the migration guide.

@jonyadamit

So I guess the current default behavior doesn't return all LogEntry items in all indices, but rather all items everywhere.

That's correct. By default, Elasticsearch will return all matching documents (literally all documents in your match_all example). Elasticsearch used to have a _type meta-data that was used to discriminate different types. This no longer exists out of the box, but I see a lot of users adding custom type fields to their documents. A real-world query would contain at least one condition to check for the correct type term (e.g. log_entry).
As I said, I agree that the current behavior is not ideal either and I'm definitely open to improve it.

Come to think of it, in my opinion at least, If the user specifies a default index, they expect it to be used even with APIs that optionally accept indices. If the user has multiple indices and plan to use them, they will need to specify them anyhow, using wildcards or aliases.. and if they truly want to search all indices then it is very legitimate to specify .Index(Indices.All) or not to set a default index for the type. Just my opinion.


Sonoff cam displays 1970-01-01 as date

Any idea why my Sonoff GK-200MP2-B displays 1970-01-01 (and wrong time) as date in the watermark? It was fine with the default eWelink app. Thanks! HA 2021.10.6 with WebRTC addon 2.1.1, Sonoff camera fw<PHONE_NUMBER>3, used with SonoffLAN 2.4.6.
Thanks.

This is camera software problem. You can check stream in VLC


peformance cancel unstarted segcompaction tasks when build rowset

Proposed changes
Currently, segcompaction tasks may be queued to execute in thread pool,
causing waiting time when build rowset to be too long.
This PR proposed to cancel the segcompaction tasks which have not been started.
Tasks already started will not be affected.
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 47.54 seconds
stream load tsv:          504 seconds loaded<PHONE_NUMBER>9 Bytes, about 141 MB/s
stream load json:         19 seconds loaded<PHONE_NUMBER> Bytes, about 118 MB/s
stream load orc:          67 seconds loaded<PHONE_NUMBER> Bytes, about 15 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.2 seconds inserted 10000000 Rows, about 342K ops/s
storage size:<PHONE_NUMBER>7 Bytes

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 47.3 seconds
stream load tsv:          510 seconds loaded<PHONE_NUMBER>9 Bytes, about 139 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          31 seconds loaded 861443392 Bytes, about 26 MB/s
insert into select:          29.3 seconds inserted 10000000 Rows, about 341K ops/s
storage size:<PHONE_NUMBER>9 Bytes

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 46.14 seconds
stream load tsv:          514 seconds loaded<PHONE_NUMBER>9 Bytes, about 138 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          32 seconds loaded 861443392 Bytes, about 25 MB/s
insert into select:          29.4 seconds inserted 10000000 Rows, about 340K ops/s
storage size:<PHONE_NUMBER>1 Bytes

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 47.34 seconds
stream load tsv:          511 seconds loaded<PHONE_NUMBER>9 Bytes, about 139 MB/s
stream load json:         19 seconds loaded<PHONE_NUMBER> Bytes, about 118 MB/s
stream load orc:          64 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          30 seconds loaded 861443392 Bytes, about 27 MB/s
insert into select:          29.1 seconds inserted 10000000 Rows, about 343K ops/s
storage size:<PHONE_NUMBER>8 Bytes

run buildall

run buildall

(From new machine)TeamCity pipeline, clickbench performance test result:
the sum of best hot time: 47.52 seconds
stream load tsv:          510 seconds loaded<PHONE_NUMBER>9 Bytes, about 139 MB/s
stream load json:         20 seconds loaded<PHONE_NUMBER> Bytes, about 112 MB/s
stream load orc:          65 seconds loaded<PHONE_NUMBER> Bytes, about 16 MB/s
stream load parquet:          37 seconds loaded 861443392 Bytes, about 22 MB/s
insert into select:          29.9 seconds inserted 10000000 Rows, about 334K ops/s
storage size:<PHONE_NUMBER>3 Bytes


Update example to Elm 018

Make the example project compile under Elm 0.18

I am sorry for taking so long to look at this @bitterjug Look good to me thanks for the fix


Nominate ddebrunner as committer

I am nominating @ddebrunner as a committer. More than half of the contributions to the toolkit have come from Dan.

+1

+1

Thanks!  Added @ddebrunner as committer.

Thanks!


[WIP] Fix brace matching for outer braces

Fixes #3794
Not entirely sure if this is the right fix, but it certainly is a fix.  It's really just the range.Contains() call that fixes this, though.
Needs test updates

So Roslyn is actually calling our IBraceMatcher implementation four times:

Reverting the check to just range.Contains(position) will return false for isPositionInrange in the first call, whereas with this PR it will will return true.  I have no idea why that is, but I think it's strange that we're getting called so often.  Will have to debug Roslyn to see what's going on.

Maybe a test or two should be added to https://github.com/Microsoft/visualfsharp/blob/master/vsintegration/tests/unittests/BraceMatchingServiceTests.fs?

Actually @saul back to this comment: https://github.com/Microsoft/visualfsharp/issues/2092#issuecomment-326741943
You fixed brace matching such that (given ^ is the caret position):
 let x= ( 12 ^)

Will match those braces.  I don't think that's the correct thing to do.  Given this:
let x = ((12)^)

It's not clear which brace should be highlighted.  Roslyn throws out the outer pair and so the inner one is matched, but I'm not convinced that we should be giving them both pairs.  Thoughts?

I'm not entirely sure - does it really matter? I was just trying to fix the bug raised in #2092 which I agreed with. My change was to fix most of those issues, and to also fix the logic for auto-deindent (which I believe this PR breaks, looking at the tests)

Not sure if it matters, but given that ambiguity I'm leaning towards not counting that case.
What is a bit baffling is that all the test cases in BraceMatchingBothSides_Bug2092 fail if the caret is at the very end of the last brace, but when I run the code outside the context of a test they highlight just fine.  Debugging the text shows that span.Contains(caretPosition) clearly fails, but that doesn't appear to matter when the code is being run in the editor.  This also breaks auto-deindent as well, so there's something funky going on.

When debugging the editor, we're getting called twice:

caretPosition is different the second time.  No clue why that is.

@cartermp is this still valid?

Yes. The current brace matching implementation doesn't work because of some weirdness with Roslyn calling us twice and passing different values.

@cartermp There is a reason why it is passing two different values. http://source.roslyn.io/#Microsoft.CodeAnalysis.EditorFeatures/Implementation/BraceMatching/BraceHighlightingViewTaggerProvider.cs,77
This is intended behavior. To summarize, here is an example (C#):
()^()

It will check the right side for a starting brace; if there is, it will match. (position)
Then, it will check the left side for an ending brace; if there is, it will match. (position - 1)

I also want to note that IBraceMatcher is an internal API in Roslyn. In the future, we either implement our own version of all of this using IViewTaggerProvider or convince Roslyn to make this public.

@TIHan if it's about reimplementing taggers I can help out here. Thanks to code lens I know too much about them.

With regards to the API being internal - that's the case for, unfortunately, too many of the things we implement or override.  The best thing is to help convince folks to make all the workspace APIs we deal with public so that we can get rid of the internalsvisibleto hack.

Can the community help with convincing them? E.g. writing nice blog posts 😝?

Not really, no. It's a big cost for a small team with a huge feature area to open them up right now. It affects more than just F#, though, so I'm hopeful we can get to it in 2018.


Updating ping binary sensor with Windows support

Fixed ping command syntax and updated regex match
Description:
The binary_sensor.ping component would always return off/false in Windows environments. This PR fixes the component to work in Windows environments. This resolved a syntax issue in the command arguments for Windows, as well as added a new regex match due to differences in the output between the Windows and *nix ping binaries.
This has been confirmed working in Windows 10, MacOS 10.12, and Debian Jessie.
Pull request in home-assistant.github.io with documentation (if applicable): home-assistant/home-assistant.github.io#2490
Example entry for configuration.yaml (if applicable):
No change
Checklist:
If user exposed functionality or configuration variables are added/changed:

[x] Documentation added/updated in home-assistant.github.io

If the code communicates with devices, web services, or third-party tools:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[x] New dependencies have been added to the REQUIREMENTS variable (example).
[x] New dependencies are only imported inside functions that use them (example).
[x] New dependencies have been added to requirements_all.txt by running script/gen_requirements_all.py.
[x] New files were added to .coveragerc.

If the code does not interact with devices:

[ ] Local tests with tox run successfully. Your PR cannot be merged unless tests pass
[ ] Tests have been added to verify that the new code works.

Not sure where MentionBot is... so any thoughts on this @fabaff?


Change moderator command for starting reflection stage

Based on https://github.com/LearnersGuild/game/issues/136, the command should be /cycle reflect not /cycle retro.

This has been done.


[$500] Chat - "1 Reply" that leads to a deleted message can't be seen

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Version Number: <IP_ADDRESS>
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Expensify/Expensify Issue URL:
Issue reported by: Applause - Internal Team
Slack conversation:
Action Performed:

Open a new chat
Write "1" in the chat
Thread the message, write the next number "2"
Thread "2" and write "3"
Continue until you reach "7"
Delete "4" and "3"
Navigate to "2"

Expected Result:
"1 Reply" should be visible.
Actual Result:
"1 Reply" that leads to a deleted message can't be seen.
Workaround:
Unknown
Platforms:

Which of our officially supported platforms is this issue occurring on?

[x] Android: Native
[x] Android: mWeb Chrome
[x] iOS: Native
[x] iOS: mWeb Safari
[x] MacOS: Chrome / Safari
[x] MacOS: Desktop

Screenshots/Videos
Add any screenshot/video evidence
https://github.com/Expensify/App/assets/93399543/495db99c-6a90-4a4a-a35d-ac819319ac94
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~01d798bc67214359f5
Upwork Job ID:<PHONE_NUMBER>697438720
Last Price Increase: 2024-01-09

There was a similar issue to this https://github.com/Expensify/App/issues/26012
As you can see https://github.com/Expensify/App/issues/26012#issuecomment-1776598469, we need backend change as well in the issue, but it looks like the backend logic wasn't changed yet
You can verify this by doing the same tests in offline mode

@s-alves10 did we specifically decide not to do the back-end changes there?

We decided to do the backend updates, but it looks like the backend was not updated yet

We're still waiting for some backend changes if I'm not mistaken

@puneetlath Is there some Expensify-Web issue ID we could hold on?

Closing this out as it looks like the back-end changes are being handled elsewhere.


[Core] Publish on specific artefact to be in HDI container

Background
Currently publishing an HDB artefact does not respect whether it should be published in the target schema or in the hdi container.
Target
When I click publish for an artefact from the list below, it must check if it's specified for deployment in the HDI container (check the deploy key in the .hdi file if it contains the path of the artefact). If it is - deploy the artefact to the HDI container.

This issue is closed as the project is no longer maintained


model_dump fails to serialize ipaddress objects

Initial Checks

[X] I confirm that I'm using Pydantic V2

Description
Update Pydantic to 2.9.2 broke a lot functionality where objects from ipaddress like IPv4Address was used.
On version 2.8.0 it was working correct.
Is this action intended?
Example Code
from ipaddress import IPv4Network
from attrs import define
from pydantic import BaseModel

class Foo(BaseModel):
    cidr: IPv4Network

@define
class Bar:
    cidr: IPv4Network

foo = Foo(cidr=IPv4Network("<IP_ADDRESS>/24"))
bar = Bar(**foo.model_dump())

print(type(bar.cidr))

# <class 'str'>
# pydantic==2.9.2
# pydantic-settings==2.6.0
# pydantic_core==2.23.4

# <class 'ipaddress.IPv4Network'>
# pydantic==2.8.0
# pydantic-settings==2.6.0
# pydantic_core==2.20.0

Python, Pydantic & OS Version
pydantic version: 2.9.2
pydantic-core version: 2.23.4
pydantic-core build: profile=release pgo=false
install path: .venv/lib/python3.11/site-packages/pydantic
python version: 3.11.9 (main, Apr  6 2024, 17:59:24) [GCC 11.4.0]
platform: Linux-<IP_ADDRESS>-microsoft-standard-WSL2-x86_64-with-glibc2.35
related packages: fastapi-0.109.2 typing_extensions-4.12.2 pydantic-extra-types-2.10.0 pydantic-settings-2.6.1 mypy-1.13.0
commit: unknown

Fixed in 2.10. Duplicate: https://github.com/pydantic/pydantic/issues/10589.


Small bug fixed and enhancements

Pull Request Test Coverage Report for Build 137

36 of 52 (69.23%) changed or added relevant lines in 13 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.1%) to 94.189%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

server/resources/pipeline.py
2
3
66.67%

server/resources/models/platform_properties.py
3
4
75.0%

server/resources/platform.py
3
4
75.0%

server/logging/setup.py
0
4
0.0%

server/startup_validation.py
5
14
35.71%

Totals

Change from base Build 116:
0.1%

Covered Lines:
1702

Relevant Lines:
1807

💛  - Coveralls


[BUG] Radio button default value in survey component is not selected

Environment
Please provide as many details as you can:

Hosting type

[ ] Form.io
[x] Local deployment

Version: 1.48.2

Formio.js version:
Frontend framework: 4.0.0-beta.7
Browser: Chrome
Browser version: 75.0.3770.142 (x64)

Steps to Reproduce

Create a survery form
Add some choices
Set default value
Render the form

Expected behavior
Radio with default value should be selected
Observed behavior
All radio buttons are empty
Example
Screenshot from Form.IO

Screenshot from front-end app

We will take a look.

@xellafe @travist  Is it Resolved?

@gopikrishna123 @xellafe , can you try upgrading to version 4.9.5 of angular-formio and see if the issue still occurs?

Closing this thread as it is outdated. Please re-open if it is still relevant. Thank you for your contribution!


Where's Alexa's Voice

Thank you for reporting an issue with AlexaPi.
Make sure you are running the latest version of AlexaPi, and look through issues before submitting.
Check out our Wiki, and make sure to look at Debugging, and Audio debugging in particular before filing an issue.
In order to help troubleshooting, be sure to include the following information:
Output of the audio debugging script.
Your OS (including version) where you are running AlexaPi:
`Debian``

**Your hardware platform and model you are running on:**
`Raspberry Pi 3 running with a LAN cable``

Python release (python2 --version):
``2.7`

**Description of problem:**
I have a RPi 3 all updated and after lots of playing around with my Alexa install, I finally have something, but not everything.
There is no response from the Alexa voice. I have 3 times had Alexa say "Yes" pretty randomly but there's no pattern to it.
I can ask "Alexa. Play Classic FM/Heart Radio" or other simple named radio stations and the speaker will stutter for 2 or 3 seconds and then play fine.
I can ask "Alexa. What's new?" and again the speaker will stutter and I will get an American news radio broadcast for a short while.
Other than that though I'm not getting much else. Where's Alexa's voice? Why can I not ask "Alexa. Play some AC DC" or "Alexa. Tell me the date/the time/a joke"?
Am I missing something?
To add, I did ask "Alexa. What's the weather like today"? and got the usual choppy speaker but then a little bit of the weather report.

Expected:

Problem-relevant config.yaml entries:

Steps to reproduce:

Traceback (if applicable):

Additional info:

I've been talking to myself and am getting somewhere slowly. It seems like the more I ask Alexa, the more it seems to work. It's very slow to get going though, starts off a bit choppy and can crash. It almost seems to me like there's an internet speed problem. Like buffering. I have Virgin Media broadband. Is there any known speed issues or requirements for the AlexaPi?

So I installed VLC player and the everything improved. Except now it's randomly crashing.

Seems to be the same issue as here for VLC crashes
Can you try to do:
sudo service AlexaPi stop
sudo /opt/AlexaPi/src/main.py -d

And copy/paste the log?
Emerick

`[NAME]                  [DEFLT]         [VALUE]
-agc                    none            none
-agcthresh              2.0             2.000000e+00
-allphone
-allphone_ci            no              no
-alpha                  0.97            9.700000e-01
-ascale                 20.0            2.000000e+01
-aw                     1               1
-backtrace              no              no
-beam                   1e-48           1.000000e-48
-bestpath               yes             yes
-bestpathlw             9.5             9.500000e+00
-ceplen                 13              13
-cmn                    live            batch
-cmninit                40,3,-1         41.00,-5.29,-0.12,5.09,2.48,-4.07,-1.37,-1.78,-5.08,-2.05,-6.45,-1.42,1.17
-compallsen             no              no
-debug                                  0
-dict                                   /usr/local/lib/python2.7/dist-packages/pocketsphinx/model/cmudict-en-us.dict
-dictcase               no              no
-dither                 no              no
-doublebw               no              no
-ds                     1               1
-fdict
-feat                   1s_c_d_dd       1s_c_d_dd
-featparams
-fillprob               1e-8            1.000000e-08
-frate                  100             100
-fsg
-fsgusealtpron          yes             yes
-fsgusefiller           yes             yes
-fwdflat                yes             yes
-fwdflatbeam            1e-64           1.000000e-64
-fwdflatefwid           4               4
-fwdflatlw              8.5             8.500000e+00
-fwdflatsfwin           25              25
-fwdflatwbeam           7e-29           7.000000e-29
-fwdtree                yes             yes
-hmm                                    /usr/local/lib/python2.7/dist-packages/pocketsphinx/model/en-us
-input_endian           little          little
-jsgf
-keyphrase                              alexa
-kws
-kws_delay              10              10
-kws_plp                1e-1            1.000000e-01
-kws_threshold          1               1.000000e-10
-latsize                5000            5000
-lda
-ldadim                 0               0
-lifter                 0               22
-lm
-lmctl
-lmname
-logbase                1.0001          1.000100e+00
-logfn
-logspec                no              no
-lowerf                 133.33334       1.300000e+02
-lpbeam                 1e-40           1.000000e-40
-lponlybeam             7e-29           7.000000e-29
-lw                     6.5             6.500000e+00
-maxhmmpf               30000           30000
-maxwpf                 -1              -1
-mdef
-mean
-mfclogdir
-min_endfr              0               0
-mixw
-mixwfloor              0.0000001       1.000000e-07
-mllr
-mmap                   yes             yes
-ncep                   13              13
-nfft                   512             512
-nfilt                  40              25
-nwpen                  1.0             1.000000e+00
-pbeam                  1e-48           1.000000e-48
-pip                    1.0             1.000000e+00
-pl_beam                1e-10           1.000000e-10
-pl_pbeam               1e-10           1.000000e-10
-pl_pip                 1.0             1.000000e+00
-pl_weight              3.0             3.000000e+00
-pl_window              5               5
-rawlogdir
-remove_dc              no              no
-remove_noise           yes             yes
-remove_silence         yes             yes
-round_filters          yes             yes
-samprate               16000           1.600000e+04
-seed                   -1              -1
-sendump
-senlogdir
-senmgau
-silprob                0.005           5.000000e-03
-smoothspec             no              no
-svspec                                 0-12/13-25/26-38
-tmat
-tmatfloor              0.0001          1.000000e-04
-topn                   4               4
-topn_beam              0               0
-toprule
-transform              legacy          dct
-unit_area              yes             yes
-upperf                 6855.4976       6.800000e+03
-uw                     1.0             1.000000e+00
-vad_postspeech         50              50
-vad_prespeech          20              20
-vad_startspeech        10              10
-vad_threshold          2.0             2.000000e+00
-var
-varfloor               0.0001          1.000000e-04
-varnorm                no              no
-verbose                no              no
-warp_params
-warp_type              inverse_linear  inverse_linear
-wbeam                  7e-29           7.000000e-29
-wip                    0.65            6.500000e-01
-wlen                   0.025625        2.562500e-02
INFO: feat.c(715): Initializing feature stream to type: '1s_c_d_dd', ceplen=13, CMN='batch', VARNORM='no', AGC='none'
INFO: acmod.c(166): Using subvector specification 0-12/13-25/26-38
INFO: mdef.c(518): Reading model definition: /usr/local/lib/python2.7/dist-packages/pocketsphinx/model/en-us/mdef
INFO: mdef.c(531): Found byte-order mark BMDF, assuming this is a binary mdef file
INFO: bin_mdef.c(336): Reading binary model definition: /usr/local/lib/python2.7/dist-packages/pocketsphinx/model/en-us/mdef
INFO: bin_mdef.c(516): 42 CI-phone, 137053 CD-phone, 3 emitstate/phone, 126 CI-sen, 5126 Sen, 29324 Sen-Seq
INFO: tmat.c(149): Reading HMM transition probability matrices: /usr/local/lib/python2.7/dist-packages/pocketsphinx/model/en-us/transition_matrices
INFO: acmod.c(117): Attempting to use PTM computation module
INFO: ms_gauden.c(127): Reading mixture gaussian parameter: /usr/local/lib/python2.7/dist-packages/pocketsphinx/model/en-us/means
INFO: ms_gauden.c(242): 42 codebook, 3 feature, size:
INFO: ms_gauden.c(244):  128x13
INFO: ms_gauden.c(244):  128x13
INFO: ms_gauden.c(244):  128x13
INFO: ms_gauden.c(127): Reading mixture gaussian parameter: /usr/local/lib/python2.7/dist-packages/pocketsphinx/model/en-us/variances
INFO: ms_gauden.c(242): 42 codebook, 3 feature, size:
INFO: ms_gauden.c(244):  128x13
INFO: ms_gauden.c(244):  128x13
INFO: ms_gauden.c(244):  128x13
INFO: ms_gauden.c(304): 222 variance values floored
INFO: ptm_mgau.c(476): Loading senones from dump file /usr/local/lib/python2.7/dist-packages/pocketsphinx/model/en-us/sendump
INFO: ptm_mgau.c(500): BEGIN FILE FORMAT DESCRIPTION
INFO: ptm_mgau.c(563): Rows: 128, Columns: 5126
INFO: ptm_mgau.c(595): Using memory-mapped I/O for senones
INFO: ptm_mgau.c(838): Maximum top-N: 4
INFO: phone_loop_search.c(114): State beam -225 Phone exit beam -225 Insertion penalty 0
INFO: dict.c(320): Allocating 138824 * 20 bytes (2711 KiB) for word entries
INFO: dict.c(333): Reading main dictionary: /usr/local/lib/python2.7/dist-packages/pocketsphinx/model/cmudict-en-us.dict
INFO: dict.c(213): Dictionary size 134723, allocated 1016 KiB for strings, 1679 KiB for phones
INFO: dict.c(336): 134723 words read
INFO: dict.c(358): Reading filler dictionary: /usr/local/lib/python2.7/dist-packages/pocketsphinx/model/en-us/noisedict
INFO: dict.c(213): Dictionary size 134728, allocated 0 KiB for strings, 0 KiB for phones
INFO: dict.c(361): 5 words read
INFO: dict2pid.c(396): Building PID tables for dictionary
INFO: dict2pid.c(406): Allocating 42^3 * 2 bytes (144 KiB) for word-initial triphones
INFO: dict2pid.c(132): Allocated 21336 bytes (20 KiB) for word-final triphones
INFO: dict2pid.c(196): Allocated 21336 bytes (20 KiB) for single-phone word triphones
INFO: kws_search.c(406): KWS(beam: -1080, plp: -23, default threshold -225, delay 10)
2017-05-30 17:02:23 DEBUG: Setting up playback handler: VlcHandler
2017-05-30 17:02:24 INFO: Checking Internet Connection ...
2017-05-30 17:02:24 DEBUG: Starting new HTTPS connection (1): api.amazon.com
2017-05-30 17:02:25 DEBUG: https://api.amazon.com:443 "GET /auth/o2/token HTTP/1.1" 404 29
2017-05-30 17:02:25 INFO: Connection OK
2017-05-30 17:02:25 INFO: AVS token: Requesting a new one
2017-05-30 17:02:25 DEBUG: Starting new HTTPS connection (1): api.amazon.com
2017-05-30 17:02:25 DEBUG: https://api.amazon.com:443 "POST /auth/o2/token HTTP/1.1" 200 976
2017-05-30 17:02:25 INFO: AVS token: Obtained successfully
2017-05-30 17:02:25 DEBUG: Stopping audio play
2017-05-30 17:02:25 DEBUG: Playing audio: /opt/AlexaPi/src/resources/hello.mp3
2017-05-30 17:02:25 DEBUG: Player State: State.Opening
2017-05-30 17:02:25 DEBUG: Player State: State.Playing
2017-05-30 17:02:25 DEBUG: Started play.
2017-05-30 17:02:28 DEBUG: Player State: State.Ended
2017-05-30 17:02:28 DEBUG: Finished play.
`

Ok there's nothing "bad" in log
so try to use sox instead of vlc, modify:
  playback_handler: "sox"

in your config file
and sudo apt-get install sox
If it's not working try with pulseaudio:
sudo apt-get install pulseaudio
and modify in your config file
  playback_handler: "vlc"
  output: "pulse"
  output_device: "default"

and if it's not working with sox (see here)
Emerick

@EmerickH hi. I have the same question as well. I'm using the pulseaudio. It work awhile, but after rebooted it didn't workout.. as the alexapi muted after say hi.
Already try and check with hardware.. but no avail to solve  that.
Any idea?

@harimau99 can you copy/paste the ouptut of
sudo service AlexaPi stop
sudo /opt/AlexaPi/src/main.py -d

(it will start AlexaPi in debug mode)
And your config file?
Emerick

Well bizzarely, it seems the more I've used and crashed the thing, it's actually started working better and rarely crashes. It doesn't make any sense at all but I don't want to touch it any further at the minute.
I'm not going to close the issue whilst harimau99 has added to it but that aside, I'm working well now.

@harimau99 have you followed the wiki?
Emerick

You can try on latest OS with latest AlexaPi.
Closing due to inactivity for now.
Feel free to reopen.