Version 3.8.0 configuration problems.

Bug

I am running Laravel app and using webpack. It fails to run after updating to version 3.8.0. Previous version 3.7.1 had no problems. Error:
cross-env NODE_ENV=development node_modules/webpack/bin/webpack.js --progress --hide-modules --config=node_modules/laravel-mix/setup/webpack.config.js
Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.
- configuration.stats should be one of these:    object { context?, hash?, version?, timings?, assets?, env?, colors?, maxModules?, chunks?, chunkModules?, modules?, children?, cached?, cachedAssets?, reasons?, source?, warningsFilter?, excludeAssets?, excludeModules?, exclude?, entrypoints?, errorDetails?, chunkOrigins?, modulesSort?, moduleTrace?, chunksSort?, assetsSort?, publicPath?, providedExports?, usedExports?, optimizationBailout? } | boolean | "none" | "errors-only" | "minimal" | "normal" | "detailed" | "verbose"
Used by the webpack CLI program to pass stats options.
Details:
 * configuration.stats has an unknown property 'errors'. These properties are valid:       object { context?, hash?, version?, timings?, assets?, env?, colors?, maxModules?, chunks?, chunkModules?, modules?, children?, cached?, cachedAssets?, reasons?, source?, warningsFilter?, excludeAssets?, excludeModules?, exclude?, entrypoints?, errorDetails?, chunkOrigins?, modulesSort?, moduleTrace?, chunksSort?, assetsSort?, publicPath?, providedExports?, usedExports?, optimizationBailout? }
* configuration.stats has an unknown property 'warnings'. These properties are valid:       object { context?, hash?, version?, timings?, assets?, env?, colors?, maxModules?, chunks?, chunkModules?, modules?, children?, cached?, cachedAssets?, reasons?, source?, warningsFilter?, excludeAssets?, excludeModules?, exclude?, entrypoints?, errorDetails?, chunkOrigins?, modulesSort?, moduleTrace?, chunksSort?, assetsSort?, publicPath?, providedExports?, usedExports?, optimizationBailout? }
 * configuration.stats should be a boolean.
 * configuration.stats should be one of these:       "none" | "errors-only" | "minimal" | "normal" | "detailed" | "verbose"

Please mention other relevant information such as the browser version, Node.js version, webpack version and Operating System.
npm 5.5.1
node 8.5.0
fails on macOS and Ubuntu 16.04

Same here...
Ubuntu 16.04 by using Laravel Mix

Same here.
node: 8.2.1
npm: 5.4.2

Same here. @nniicc solution of downgrade worked here.

@nniicc
Not working with webpack3.8.0, laravel-mix, npm 5.4.2
Still getting error:
 * configuration.stats should be a boolean.     * configuration.stats should be one of these:       "none" | "errors-only" | "minimal" | "normal" | "detailed" | "verbose"

it looks like the error is in: /schemas/webpackOptionsSchema.json on line 978.
if you remove the prop "additionalProperties": false, it works again.
@sokra

Same here, back to 3.7 meanwhile

Should pin to 3.7.1 until 3.8.1, @sokra has a PR already at https://github.com/webpack/webpack/pull/5840


protobuf version

after installed(using make install), protobuf is upgraded 4.xx, but I have following error. If I down grade protobuff to 3.20.x it just works. on latest update, following error is not displayed and just starting shard faild with no error message.
2023-04-13T00:59:16.794030Z  INFO text_generation_launcher: Sharding model on 2 processes
2023-04-13T00:59:16.794558Z  INFO text_generation_launcher: Starting shard 0
2023-04-13T00:59:16.794631Z  INFO text_generation_launcher: Starting shard 1
2023-04-13T00:59:21.600031Z ERROR text_generation_launcher: Shard 0 failed to start:
Traceback (most recent call last):
  File "/home/chang/anaconda3/envs/hf39/lib/python3.9/site-packages/transformers-4.28.0.dev0-py3.9.egg/transformers/utils/import_utils.py", line 1125, in _get_module
    return importlib.import_module("." + module_name, self.__name__)
  File "/home/chang/anaconda3/envs/hf39/lib/python3.9/importlib/__init__.py", line 127, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
  File "<frozen importlib._bootstrap>", line 1030, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1007, in _find_and_load
  File "<frozen importlib._bootstrap>", line 986, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 680, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 850, in exec_module
  File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed
  File "/home/chang/anaconda3/envs/hf39/lib/python3.9/site-packages/transformers-4.28.0.dev0-py3.9.egg/transformers/modeling_utils.py", line 37, in <module>
    from .deepspeed import deepspeed_config, is_deepspeed_zero3_enabled
  File "/home/chang/anaconda3/envs/hf39/lib/python3.9/site-packages/transformers-4.28.0.dev0-py3.9.egg/transformers/deepspeed.py", line 38, in <module>
    from accelerate.utils.deepspeed import HfDeepSpeedConfig as DeepSpeedConfig
  File "/home/chang/anaconda3/envs/hf39/lib/python3.9/site-packages/accelerate/__init__.py", line 7, in <module>
    from .accelerator import Accelerator
  File "/home/chang/anaconda3/envs/hf39/lib/python3.9/site-packages/accelerate/accelerator.py", line 33, in <module>
    from .tracking import LOGGER_TYPE_TO_CLASS, GeneralTracker, filter_trackers
  File "/home/chang/anaconda3/envs/hf39/lib/python3.9/site-packages/accelerate/tracking.py", line 40, in <module>
    from torch.utils import tensorboard
  File "/home/chang/anaconda3/envs/hf39/lib/python3.9/site-packages/torch/utils/tensorboard/__init__.py", line 12, in <module>
    from .writer import FileWriter, SummaryWriter  # noqa: F401
  File "/home/chang/anaconda3/envs/hf39/lib/python3.9/site-packages/torch/utils/tensorboard/writer.py", line 9, in <module>
    from tensorboard.compat.proto.event_pb2 import SessionLog
  File "/home/chang/anaconda3/envs/hf39/lib/python3.9/site-packages/tensorboard/compat/proto/event_pb2.py", line 17, in <module>
    from tensorboard.compat.proto import summary_pb2 as tensorboard_dot_compat_dot_proto_dot_summary__pb2
  File "/home/chang/anaconda3/envs/hf39/lib/python3.9/site-packages/tensorboard/compat/proto/summary_pb2.py", line 17, in <module>
    from tensorboard.compat.proto import tensor_pb2 as tensorboard_dot_compat_dot_proto_dot_tensor__pb2
  File "/home/chang/anaconda3/envs/hf39/lib/python3.9/site-packages/tensorboard/compat/proto/tensor_pb2.py", line 16, in <module>
    from tensorboard.compat.proto import resource_handle_pb2 as tensorboard_dot_compat_dot_proto_dot_resource__handle__pb2
  File "/home/chang/anaconda3/envs/hf39/lib/python3.9/site-packages/tensorboard/compat/proto/resource_handle_pb2.py", line 16, in <module>
    from tensorboard.compat.proto import tensor_shape_pb2 as tensorboard_dot_compat_dot_proto_dot_tensor__shape__pb2
  File "/home/chang/anaconda3/envs/hf39/lib/python3.9/site-packages/tensorboard/compat/proto/tensor_shape_pb2.py", line 36, in <module>
    _descriptor.FieldDescriptor(
  File "/home/chang/anaconda3/envs/hf39/lib/python3.9/site-packages/google/protobuf/descriptor.py", line 561, in __new__
    _message.Message._CheckCalledFromGeneratedFile()
TypeError: Descriptors cannot not be created directly.
If this call came from a _pb2.py file, your generated code is out of date and must be regenerated with protoc >= 3.19.0.
If you cannot immediately regenerate your protos, some other possible workarounds are:
 1. Downgrade the protobuf package to 3.20.x or lower.
 2. Set PROTOCOL_BUFFERS_PYTHON_IMPLEMENTATION=python (but this will use pure-Python parsing and will be much slower).

More information: https://developers.google.com/protocol-buffers/docs/news/2022-05-06#python-updates

This seems to be an issue with your local setup.
I tried installing on a fresh VM and with a new python environment and both worked without hiccups.
You can also use the official docker image with you want to be sure to always run on a stable install.

I get the same issue and don't really think that's because of my local setup. I didn't use the docker image because I'm not working on a CUDA platform. Instead, I setup a conda environment and build from source without CUDA extension. After getting this error, I also manually downgraded protobuf to 3.20.3, and this is what pip complained:
text-generation-server 0.6.0 requires protobuf<5.0.0,>=4.21.7, but you have protobuf 3.20.3 which is incompatible.
Successfully installed protobuf-3.20.3

So something seems have to be fixed such as the requirement of text-generation-server?


Feature request: For FR24 data contributors

I'm a contributer for FR24, and I have for a long time (without the right skillset) wanted to integrate (locally, or via web) with Home assistant to be able to monitor what my specific antenna is seeing.
I would love to be able to monitor/store the aircraft I am/have been tracking with my antenna, both for statistics, but also for alerts and i.e. being able to use notifications to keep list of monitored planes, etc, or alerts for specific planes.
I have FR24 running on a local RaspberryPI, but I also see the "filter by antenna" custom filter in flightradar24.com, so I can see the planes I am monitoring there.
Any way to include such functionality in this integration? Or do you know of other ways that may have surfaced to integrate to home assitant for FR24 data sharers?

Fantastic integration as is, by the way! Great work!

Maybe this one may help you https://community.home-assistant.io/t/home-assistant-add-on-ads-b-multi-portal-feeder-flightradar24-and-flightaware/345563

@Tjomsen Would be great if you could give a star to the repo :) Thanks


Use correct frame method for omni's ase omm

Thanks for the review, I think all the issues visible in VR (bonding and atom coloring) are because the topology wasn't passing through correctly because of the issues here, so I'll just go ahead and merge


Categories Icon in Navigation

Describe the bug
What happened?
Description
Upstream must have did some refactoring to the CMS icons.
This was 3.7.x:

This is 3.8:

Since updating to Craft CMS 3.8, the Categories icon seems to be doubling up...

In the icon picker for CP Nav, it shows this:

Doesn't seem to affect any functionality. I worked around it by choosing a different icon from the list.
Craft CMS version
3.8.3
Steps to reproduce

Upgrade to Craft 3.8

Craft CMS version
3.8
Plugin version
3.0.17
Multi-site?
No response
Additional context
No response

FYI, tree is the new categories icon, and available in 3.1.0

Hey @engram-design
I am still seeing this issue across several sites I am afraid.
All sites are on [3.1.0](https://github.com/verbb/cp-nav/releases/tag/3.1.0)

And your Craft version? You may also need to switch over to tree manually

Yeah that was it. Thanks @engram-design


POC Segment analytics

Author the user story for this feature
As a Developer, I want to check how Segment is working so I can compare and choose the best analytics tool for Flank.
Describe the solution
Based on the discussion in #748, please provide sample UseCase ⬇  for sending analytics to Segment
SDK
UseCase
Send configuration provided by the user to Segment

POC implemented on #1461-poc-segment branch

POC implemented on #1461-poc-segment branch


[WIP][SPARK-32118][SQL] Use fine-grained read write lock for each database in HiveExternalCatalog

What changes were proposed in this pull request?

In the current implementation, a single object lock easily leads to heavy contention in a busy Spark thrift-server. Replace to single read-write lock could be benefited. But a heavy holding on the write lock would still impact many operations even though they are submitted by different users.
So we use a ReadWriteLock for each database instead of one synchronized block to improve the performance.

The multiple read-write reentrant locks are divided by different databases. Only operations applied in the same database name could share a same lock. I checked all operations, there is no one operation and its callers need two write locks. Since it's a reentrant lock, it's ok that the method renamePartitions which calls alterPartitions will re-enter the same write lock.

Change the shim in HiveClientImpl to thread-local and remove the cached Hive.

Why are the changes needed?
In HiveExternalCatalog, all metastore operations are synchronized by a same object lock. In a heavy traffic Spark thriftserver or Spark Driver, users's queries may be stuck by any a long operation.
For example, if a user is accessing a table which contains mass partitions, the operation loadDynamicPartitions() holds the object lock for a long time. All queries are blocking to wait for the lock. From the thread dump stack, Thread-61500 was holding the object lock with a high frequency as mass partitions table access, this lead to many queries stuck.
61500 HiveServer2-Background-Pool: Thread-61500

java.lang.Object.wait(Native Method)
org.apache.hadoop.ipc.Client.getRpcResponse(Client.java:1542)
org.apache.hadoop.ipc.Client.call(Client.java:1498)
org.apache.hadoop.ipc.Client.call(Client.java:1398)
org.apache.hadoop.ipc.ProtobufRpcEngine$Invoker.invoke(ProtobufRpcEngine.java:233)
com.sun.proxy.$Proxy10.getEZForPath(Unknown Source)
org.apache.hadoop.hdfs.protocolPB.ClientNamenodeProtocolTranslatorPB.getEZForPath(ClientNamenodeProtocolTranslatorPB.java:1448)
sun.reflect.GeneratedMethodAccessor292.invoke(Unknown Source)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:498)
org.apache.hadoop.io.retry.RetryInvocationHandler.invokeMethod(RetryInvocationHandler.java:291)
org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:203)
org.apache.hadoop.io.retry.RetryInvocationHandler.invoke(RetryInvocationHandler.java:185)
com.sun.proxy.$Proxy11.getEZForPath(Unknown Source)
org.apache.hadoop.hdfs.DFSClient.getEZForPath(DFSClient.java:3408)
org.apache.hadoop.hdfs.DistributedFileSystem.getEZForPath(DistributedFileSystem.java:2259)
org.apache.hadoop.hdfs.client.HdfsAdmin.getEncryptionZoneForPath(HdfsAdmin.java:339)
org.apache.hadoop.hive.shims.Hadoop23Shims$HdfsEncryptionShim.isPathEncrypted(Hadoop23Shims.java:1221)
org.apache.hadoop.hive.ql.metadata.Hive.needToCopy(Hive.java:2687)
org.apache.hadoop.hive.ql.metadata.Hive.moveFile(Hive.java:2621)
org.apache.hadoop.hive.ql.metadata.Hive.copyFiles(Hive.java:2748)
org.apache.hadoop.hive.ql.metadata.Hive.loadPartition(Hive.java:1403)
org.apache.hadoop.hive.ql.metadata.Hive.loadDynamicPartitions(Hive.java:1593)
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
java.lang.reflect.Method.invoke(Method.java:498)
org.apache.spark.sql.hive.client.Shim_v1_2.loadDynamicPartitions(HiveShim.scala:1001)
org.apache.spark.sql.hive.client.HiveClientImpl$$anonfun$loadDynamicPartitions$1.apply$mcV$sp(HiveClientImpl.scala:961)
org.apache.spark.sql.hive.client.HiveClientImpl$$anonfun$loadDynamicPartitions$1.apply(HiveClientImpl.scala:959)
org.apache.spark.sql.hive.client.HiveClientImpl$$anonfun$loadDynamicPartitions$1.apply(HiveClientImpl.scala:959)
org.apache.spark.sql.hive.client.HiveClientImpl$$anonfun$withHiveState$1$$anonfun$apply$2.apply(HiveClientImpl.scala:326)
org.apache.spark.sql.hive.client.HiveClientImpl.org$apache$spark$sql$hive$client$HiveClientImpl$$retryLocked(HiveClientImpl.scala:255)
org.apache.spark.sql.hive.client.HiveClientImpl$$anonfun$withHiveState$1.apply(HiveClientImpl.scala:309)
org.apache.spark.sql.hive.client.HiveClientImpl.updateCallMetrics(HiveClientImpl.scala:339)
org.apache.spark.sql.hive.client.HiveClientImpl.withHiveState(HiveClientImpl.scala:308)
org.apache.spark.sql.hive.client.HiveClientImpl.loadDynamicPartitions(HiveClientImpl.scala:959)
org.apache.spark.sql.hive.HiveExternalCatalog$$anonfun$loadDynamicPartitions$1.apply$mcV$sp(HiveExternalCatalog.scala:993)
org.apache.spark.sql.hive.HiveExternalCatalog$$anonfun$loadDynamicPartitions$1.apply(HiveExternalCatalog.scala:981)
org.apache.spark.sql.hive.HiveExternalCatalog$$anonfun$loadDynamicPartitions$1.apply(HiveExternalCatalog.scala:981)
org.apache.spark.sql.hive.HiveExternalCatalog.withClient(HiveExternalCatalog.scala:127)
org.apache.spark.sql.hive.HiveExternalCatalog.withClient(HiveExternalCatalog.scala:152)
org.apache.spark.sql.hive.HiveExternalCatalog.loadDynamicPartitions(HiveExternalCatalog.scala:981)
org.apache.spark.sql.hive.execution.InsertIntoHiveTable.processInsert(InsertIntoHiveTable.scala:262)
org.apache.spark.sql.hive.execution.InsertIntoHiveTable.run(InsertIntoHiveTable.scala:111)
org.apache.spark.sql.execution.command.DataWritingCommandExec.sideEffectResult$lzycompute(commands.scala:111) => holding Monitor(org.apache.spark.sql.execution.command.DataWritingCommandExec@708550291})
org.apache.spark.sql.execution.command.DataWritingCommandExec.sideEffectResult(commands.scala:109)
org.apache.spark.sql.execution.command.DataWritingCommandExec.executeCollect(commands.scala:126)
org.apache.spark.sql.execution.adaptive.AdaptiveSparkPlanExec.executeCollect(AdaptiveSparkPlanExec.scala:137) => holding Monitor(java.lang.Object@1464134318})
org.apache.spark.sql.Dataset$$anonfun$6.apply(Dataset.scala:197)
org.apache.spark.sql.Dataset$$anonfun$6.apply(Dataset.scala:197)

Does this PR introduce any user-facing change?
No
How was this patch tested?
Exists UTs.

Test build #124604 has started for PR 28938 at commit 1cb5d2f.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/29225/
Test PASSed.

Test build #124604 has finished for PR 28938 at commit 1cb5d2f.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/124604/
Test PASSed.

Hi, @LantaoJin . Since this PR aims to use multiple locks instead of a global one, could you add some explanation briefly about how this PR is deadlock-free? Thanks.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/29239/
Test PASSed.

Hi, @LantaoJin . Since this PR aims to use multiple locks instead of a global one, could you add some explanation briefly about how this PR is deadlock-free? Thanks.

Sure. The multiple read-write reentrant locks are divided by different databases. Only operations applied in the same database name could share a same lock. I checked all operations, there is no one operation and its callers need two write locks. Since it's a reentrant lock, it's ok that the method renamePartitions which calls alterPartitions will re-enter the same write lock.
Besides, this patch has been online for a long time in our production (over 1 year moved object lock to read-write lock and over 5 months separated to multiple locks per database).

Test build #124619 has started for PR 28938 at commit 96dfd17.

Please put that on the PR description. That will be a commit log permanantly.

Test build #124619 has finished for PR 28938 at commit 96dfd17.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/124619/
Test PASSed.

Please put that on the PR description. That will be a commit log permanantly.

Updated.

Gentle ping @dongjoon-hyun @cloud-fan @wangyum @rxin @maropu

Can you reference some hive doc? IIRC we use a global lock because the hive client is not thread-safe. I'm not convinced that the hive client is thread-safe when operating on different databases.

I think it's safe to use database level R/W locks here with thread-unsafe hive-client.  You never know how slow a RPC in hive-metastore could be in production. In the underlay storage in hive-metastore, MySQL help to provide a transaction lock. So the metadata tables in MySQL is safe. Using a lock in client side is to prevent from the cases such as two clients creating a same table at the same time. But with the DB level R/W locks, no conflicted operations in the same database. Could you give a case about conflict with this kind of locks?

Your comments seem to rely on Hive internal details, it's better to have official document to prove it.
BTW I'm not sure the hive client thread-unsafety comes from conflicting operations like creating the same table at the same time. Hive metastore must handle conflicts as it needs to serve multiple clients.

In my opinion, hive client (metastore clien) is not thread-safe. I don't find any documentation but I find a patch HIVE-13753 to provide a thread-saft client SynchronizedMetaStoreClient. So current implementation of HiveClientImpl still uses getMSC() to operate with metastore.
But I think it's fine even the metastore client is not thread-safe but with R/W locks per DB. "conflicting operations like creating the same table at the same time." is just an example. With the locks, we still can prevent from the conflict operations in client side such as tableExists("db1.table1") reture false, but another thread is createTable("db1.table1").

The problem is we don't know why hive client is not thread-safe. You need to investigate and explain the internal details (what are the internal states of the hive client). Otherwise, reviewers don't have enough context to understand your solution.

Test build #129829 has started for PR 28938 at commit 04f1f2d.

Test build #129830 has started for PR 28938 at commit 3fbfd5d.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34433/

Test build #129829 has finished for PR 28938 at commit 04f1f2d.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/129829/
Test FAILed.

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34433/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/34433/
Test PASSed.

Test build #129830 has finished for PR 28938 at commit 3fbfd5d.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/129830/
Test FAILed.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34435/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34435/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/34435/
Test PASSed.

retest this please

Test build #129874 has started for PR 28938 at commit 3fbfd5d.

Test build #129874 has finished for PR 28938 at commit 3fbfd5d.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/34479/
Test FAILed.

retest this please

Test build #129877 has started for PR 28938 at commit 3fbfd5d.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34482/

Test build #129877 has finished for PR 28938 at commit 3fbfd5d.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/129877/
Test FAILed.

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34482/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/34482/
Test PASSed.

retest this please

Test build #129887 has started for PR 28938 at commit 3fbfd5d.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34491/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34491/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/34491/
Test PASSed.

Test build #129887 has finished for PR 28938 at commit 3fbfd5d.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/129887/
Test FAILed.

Test build #130003 has started for PR 28938 at commit cf345f4.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34610/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34610/

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/34610/
Test FAILed.

Test build #130003 has finished for PR 28938 at commit cf345f4.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/130003/
Test PASSed.

Hi @cloud-fan , in the previous discussion, we are confused about whether or not the hive client is thread-safe. Actually, I missed a change in HiveClientImpl -- changing the shim to thread-local. Now the Hive object is totally thread-safe.

Test build #130038 has started for PR 28938 at commit a7a72ce.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34645/

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34645/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/34645/
Test PASSed.

Test build #130038 has finished for PR 28938 at commit a7a72ce.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/130038/
Test PASSed.

Test build #130154 has started for PR 28938 at commit e1ae2e7.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34760/

Test build #130154 has finished for PR 28938 at commit e1ae2e7.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/130154/
Test FAILed.

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34760/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/34760/
Test PASSed.

retest this please

Test build #130307 has started for PR 28938 at commit e1ae2e7.

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34909/

Test build #130307 has finished for PR 28938 at commit e1ae2e7.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/130307/
Test FAILed.

Kubernetes integration test status success
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/34909/

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/34909/
Test PASSed.


Folding with AL Language doesn't works as expected with #pragma warning statements

I opened this issue at VSCode GitHub repository, but seems its solution is that #pragma sentences don't start at first column when the code is formatted automatically.
--
When you need introduce a #pragma warning statement in a Business Central AL file to avoid some compiler warning, the folding/unfolding actions stop at this statement and doesn't works as expected.

VS Code Version:
Versión: 1.64.2 (system setup)
Commit: f80445acd5a3dadef24aa209168452a3d97cc326
Fecha: 2022-02-09T22:02:28.252Z
Electrón: 13.5.2
Chromium: 91.0.4472.164
Node.js: 14.16.0
V8: 9.1.269.39-electron.0
OS: Windows_NT x64 10.0.22000

Steps to Reproduce:

For example: create a tableExtension AL file with some new fields
Add a #pragma warning statement in one of them
Try to fold the entire fields { ... } block

I can confirm this issue. You can work around it by making your own regions, but that's silly.

As specified in the vscode repository response we do not support  it yet AL language specific semantic folding. Could be requested though.

This is a known, old bug, see also open issue #6530


Add announce helper for announcing messages.

This helper defines a singleton aria-live container for messages and an announce helper that appends to it.  It is similar to the iron-a11y-announcer (which has some issues such as appending to the head, clobbering successive messages, not respecting the mode on its API).
I think the main reason for having such a container is:

aria-live elements must be defined as such when they are created and appended to the DOM
one must not try to append messages until the browser has rendered the live region, otherwise those messages will not be announced

I have another idea of creating some type of element or directive that consumers could use directly in their component templates, but the async nature of the aria-live setup makes things tricky. There may also be some unexpected behavior with nested live regions, which could crop up if we provide such an element or directive.  We'd need to check that scenario.
There are a couple of interesting bits that I will highlight in code. Interested in your thoughts.

Added @mdgbayly since he originally asked about this.


Drag & Drop section

It would be helpful in the drag & drop section if you specified:

which widgets support drag & drop of filenames out-of-the-box (e.g., Input)
which widgets' handle method can receive DndRelease (or Paste) events.

For example, I'd like to make a frame able to accept a filename drop, but this doesn't seem possible.

It should be possible:
use fltk::{app, frame::Frame, enums::*, prelude::*, window::Window};

fn main() {
    let app = app::App::default();
    let mut wind = Window::default().with_size(400, 300);
    let mut frame = Frame::default().with_size(200, 100).center_of(&wind);
    frame.set_frame(FrameType::DownBox);
    wind.end();
    wind.show();

    // Handle drag and drop
    frame.handle({
        let mut dnd = false;
        let mut released = false;
        move |f, ev| match ev {
            Event::DndEnter => {
                dnd = true;
                true
            }
            Event::DndDrag => true,
            Event::DndRelease => {
                released = true;
                true
            }
            Event::Paste => {
                if dnd && released {
                    let path = app::event_text();
                    let path = path.trim();
                    let path = path.replace("file://", "");
                    f.set_label(&path);
                    dnd = false;
                    released = false;
                    true
                } else {
                    false
                }
            }
            Event::DndLeave => {
                dnd = false;
                released = false;
                true
            }
            _ => false,
        }
    });

    app.run().unwrap();
}

I'll try to update the info regarding what widgets support out of the box.

I tried that, then I tried just println!("{event:?}"}); and it turned out that it gets DndEnter and DndLeave but not DndDrag, DndRelease, or Paste.

It might be a platform issue. What platform did you try this on?
On Windows 11 it seems to work correctly.
Also println!("{event}"); might be more accurate since the debug output actually prints the bitfield representation (of the bitfield crate, something like Push | Released | Enter | Leave | Drag | Focus | Unfocus | Show | Paste | SelectionClear | MouseWheel | DndEnter | DndDrag | DndLeave | DndRelease). Whereas the display output is the actual event.

OK, I must have made a mistake when I tested it. I just tried your code above and it worked first time. Sorry! (Thinking back I think I might have done the handle() call on the Scroll instead of the Frame.)
PS I am testing on Linux Debian 11 and Windows 7 and Windows 10.


Compilation error when building cuRAND or cuBLAS tests

Summary
When compiling oneMKL with both tests and cuRAND or cuBLAS enabled a compilation error occurs.
Version
The current oneMKL develop head is used eg: 1ed12c7270a68b78c29178ccc582d0239a4bd050
Environment

HW you use
Intel Gold 6130 CPU with Nvidia gtx1080 GPUs
Backend library version
Cuda 10.0
MKL, and TBB obtained via intel installer version 2021.1.1
OS name and version
Ubuntu 20.04
Compiler version
dpc++ compiler cloned from develop with hash: 4e26734cb87c451e0562559d5d6f83b7eabcaea3

compiled with buildbot/configure.py --cuda
and buildbot/compile.py

CMake
cmake_log_cublas.log
cmake_log_curand.log

Steps to reproduce
git clone https://github.com/oneapi-src/oneMKL.git
mkdir build && cd build

LD_LIBRARY_PATH=/root/hipSYCL-main/dpc++-hand/llvm/build/install/lib/:$LD_LIBRARY_PATH \
CXX=/root/hipSYCL-main/dpc++-hand/llvm/build/install/bin/clang++ \
CC=/root/hipSYCL-main/dpc++-hand/llvm/build/install/bin/clang \
cmake -G Ninja \
-DCMAKE_BUILD_TYPE=Debug \
-DTBB_ROOT=/root/hipSYCL-main/dpc++/tbb/latest \
-DMKL_ROOT=/root/hipSYCL-main/dpc++/mkl/latest \
-DREF_BLAS_ROOT=/root/spack/opt/spack/linux-centos7-skylake_avx512/gcc-9.3.1/openblas-0.3.14-npb5lv7dhfygc3lgh6zx3x6chlyt4kth/ \
-DENABLE_CUBLAS_BACKEND=OFF \
-DENABLE_CURAND_BACKEND=ON \
-DENABLE_MKLGPU_BACKEND=OFF ..

LD_LIBRARY_PATH=/root/hipSYCL-main/dpc++-hand/llvm/build/install/lib/:$LD_LIBRARY_PATH ninja

Observed behavior
When either of ENABLE_CURAND_BACKEND and ENABLE_CUBLAS_BACKEND is defined the compilation fails. I believe this can be traced back to the following issues:

In case ENABLE_CURAND_BACKEND=ON ENABLE_CUBLAS_BACKEND=OFF
The compilation terminates with an error. I suspect that this is caused by the code in test_helper.hpp 70-81. In case ENABLE_CURAND_BACKEND is defined the compilation will fail since TEST_RUN_NVIDIAGPU_CURAND_SELECT will be defined with the backend selector oneapi::mkl::backend::curand and there are no such blas functions defined in blas_ct_backends.hpp
compile_error_curand.log

In case  ENABLE_CURAND_BACKEND=OFF ENABLE_CUBLAS_BACKEND=ON
The compilation fails since the cuRAND tests are attempted to be compiled with the cublas backend selector.
compile_error_cublas.log
A possible workaround in case only cuBLAS is of interest is to comment out adding the rng domain in the root level CMakelists.txt. In that case, the compilation is successful. only a few warnings about SYCL 2020 depreciation warnings are displayed.

Expected behavior
All combination should compile successfully. I believe a possible fix might be to use a single Cuda backend selector instead of separate cuBLAS and cuRAND?

All combination should compile successfully. I believe a possible fix might be to use a single Cuda backend selector instead of separate cuBLAS and cuRAND?

This is what I had in mind as well, some time ago. I think the decision to keep RNG and BLAS domains separate was kept. Indeed, I found similar issues as you've reported; when building cuRAND alone without BLAS, a BLAS header was included in an installed file. I needed to tweak this by-hand.
In short, this can be fixed up a bit.

@sbalint98 Hmmm, I cannot reproduce what you are seeing. I tried several combinations locally and here is what I observe.
You are using the latest develop branch, right?

 I am using the current HEAD of develop.
I will try to do some more detailed exploration over the weekend. Could you provide the details of how you have executed cmake?

Thank you for your investigation, unfortunately, I still have the same issue as described above. I am using the current HEAD of develop.
I will try to do some more detailed exploration over the weekend. Could you provide the details of how you have executed cmake?

Hello @sbalint98 , sorry for the delay.
Here are my steps to build. Please let me know if that helps.
llvm=llvm_version
lnx_cuda=/project/mmeterel/tools/dpc++/opensource/${llvm}/lnx_cuda
export CXX=${lnx_cuda}/compiler/bin/clang++
export LD_LIBRARY_PATH=${lnx_cuda}/compiler/lib:${LD_LIBRARY_PATH}
export REF_BLAS_ROOT=/project/mmeterel/home/.conan/data/lapack/3.7.1/conan/stable/package/9a51b86f574d44d4c0a85f83edb89eaaf9159b86
export NETLIB_ROOT=/project/mmeterel/home/.conan/data/lapack/3.7.1/conan/stable/package/9a51b86f574d44d4c0a85f83edb89eaaf9159b86
export BUILD_SHARED_LIB=ON
export BUILD_DOC=OFF
export ENABLE_CUBLAS_BACKEND=ON
export ENABLE_CURAND_BACKEND=OFF
export ENABLE_MKLGPU_BACKEND=OFF
export ENABLE_MKLCPU_BACKEND=OFF
export ENABLE_NETLIB_BACKEND=OFF
export TARGET_DOMAINS=blas
Cmake
export CMAKE_ROOT=/project/mmeterel/tools/cmake-3.16.0-Linux-x86_64
export PATH="${CMAKE_ROOT}/bin:${PATH}"
mkdir build_nvidia
cd build_nvidia
cmake .. -DMKL_ROOT=${MKL_ROOT} -DREF_BLAS_ROOT=${REF_BLAS_ROOT} -DBUILD_SHARED_LIBS=${BUILD_SHARED_LIB} -DENABLE_CUBLAS_BACKEND=${ENABLE_CUBLAS_BACKEND} -DENABLE_MKLGPU_BACKEND=${ENABLE_MKLGPU_BACKEND} -DENABLE_MKLCPU_BACKEND=${ENABLE_MKLCPU_BACKEND} -DENABLE_NETLIB_BACKEND=${ENAB
LE_NETLIB_BACKEND} -DTARGET_DOMAINS=${TARGET_DOMAINS} -DENABLE_CURAND_BACKEND=${ENABLE_CURAND_BACKEND}
cmake --build . -j8

@sbalint98 Do you get a chance to try the commands I sent? Do you still see the issue?

Sorry, for the very long delay, I will try the commands very soon, and get back to you.

My problem was that I didn't use the -DTARGET_DOMAINS flag, and therefore all the domains have been added. Using that flag has solved my problem.
The issue I see right now, and the one that I have probably have encountered previously and you also noted in your table, arises when both rng and blas are targeted, and either the cuRAND or cuBLAS backends are enabled. In that case, the compilation failed for me with every combination of cuRAND and cuBLAS backends enabled. If this is not a legal configuration, would you agree that it would be nice to have the error shown during the configuration?

You can try the setup script I there, but the combination is not supported yet for testing

I understand, thanks for the link and your help :)


[FLINK-5771] [core] Fix multi-char delimiter detection in DelimitedInputFormat

Fix multi-char delimiter detection in DelimitedInputFormat.

Add a test case to validate correct delimiter detection.
Remove a couple of try-catch blocks from existing tests.

Very good fix!
+1 to merge

merging


[stable/kibana] Upgrade kibana

/assign @compleatang

/lgtm

No problems here, but I want to wait and merge either #7387 or #7361 before merging this as that won't require anybody to rebase.

Ugh. Apologies. This will need a rebase.

/retest

@compleatang fixed

/lgtm


[Snyk] Upgrade io.grpc:grpc-netty-shaded from 1.60.1 to 1.61.0

This PR was automatically created by Snyk using the credentials of a real user.Snyk has created this PR to upgrade io.grpc:grpc-netty-shaded from 1.60.1 to 1.61.0.
:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 1 version ahead of your current version.
The recommended version was released 23 days ago, on 2024-01-12.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

All of the dependencies are updated in this PR


upgraded to dotnetcore2.1 and ensured that the docker images are more…

upgraded to dotnetcore2.1
made the docker images more generic than nanoserver-1709 as this is not supported on windows 2016.

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

https://github.com/Azure/service-fabric-mesh-preview/issues/232 #

ok to merge?


fix(FE): do not share hidden events which may contains GITHUB TOKEN

End-user friendly description of the problem this fixes or functionality that this introduces

[ ] Include this change in the Release Notes. If checked, you must provide an end-user friendly description for your change below

Give a summary of what the PR does, explaining any non-trivial design decisions
OpenHand's share currently could share hidden events, which may contains sensitive info like GITHUB TOKEN, see example: https://www.all-hands.dev/share?share_id=f45425fe1bc9c96b1e7d702701a229168bd0fb287c10f01d5e42ad98ac7d528b
This PR try to fix it by do not include hidden events for sharing.

Link of any specific issues this addresses

Yeah @enyst  -- I think maybe we can just merge #4597


Trying to understand DenseDataLoader in enzymes_diff_pool.py example

❓ Questions & Help
Hi! Once more, thanks for this amazing tool!
I'm trying to understand the example in examples/enzymes_diff_pool.py example and I have a few questions which I'd really appreciate if you can answer me:

DenseDataLoader returns a mask for each batch, which (I think) happens because as you set the maximum number of nodes for each graph (100 in the example), and as each enzyme graph will have a different number of nodes, we need to know which ones actually correspond to the graph. However, the nodes which do not belong to a specific graph will just have a zero connection in the adjacency matrix anyway, right? Does this mask exist only for efficiency reasons for DenseSAGEConv and dense_diff_pool or some other reason? In other words, how bad would it be if I just ignore mask and set it to None?

After dense_diff_pool is used in line 105, mask is never used again. I guess that's because adj will have no connections for "invalid" nodes, but isn't this the same case as in my previous question? In other words, shouldn't dense_diff_pool also return a mask variable?

I was trying to use the dense_diff_pool with other methods from pytorch geometric so it would be very easy for me to use the normal (sparse) DataLoader, and just call to_dense_adj for each batch to get the adjacency matrices in correct form for diff pool. However, I've seen you saying in some other github issue that this is incorrect as the memory will explode. In your opinion what should be better: to use a sparse dataloader and call to_dense_adj when I used dense_diff_pool, or to use a dense dataloader and call dense_to_sparse when I use the other pytorch geometric operations (I've noticed you have a DenseGCNConv, but was wondering for others)? Or it is really one of those cases in which I just have to try?

Thanks!

Great questions!

The mask has shape [batch_size, max_num_nodes] and holds the information of a specific node originally exists in the sparse graph. It is in fact crucial to both dense message passing (node features of invalid nodes should stay zero) and diff pool (we do not want to cluster any of those invalid nodes). However, it should still work fine when ignoring the mask (node features and adjacency information are zero, so we are only injecting a bias into these features).

That is correct since dense_diff_pool creates exactly num_clusters nodes for each graph of which no node is invalid. So there is no need to make use of the mask again.

This is possible. You can use regular DataLoaders and sparse message passing operators before applying the first iteration of DiffPool. You need to make use of to_dense_batch and to_dense_adj though before calling DiffPool. After DiffPool, there is no (elegant) way to recover sparsity.

Hey, thanks a lot for your prompt answers! That's what I wanted to know and now I can explore it further by myself, cheers!


Dark mode

Swift 5
iOS 13 beta 3
Firebase SDK version: 6.3.0
FirebaseUI version: 8.0.2
CocoaPods Version: 1.7.3

Steps to reproduce:

Authentication views of phone sign in and email-password sign in from the prebuilt UI (FirebaseUI)

Observed Results:

Color of the label texts (“Email”, “Password”) and background in sign-in/sign-up view do not change based on user’s dark mode setting.
The reason is those UI elements have color explicitly assigned.

Expected Results:

It would be great if the prebuilt UI can adapt to the system-wide dark mode feature of the iOS 13. I attempted to change the colours. Since I am not quite familiar with ObjC so I could change only the password label into what you can see in the attached screenshot. The black “email” label and white background were already there in the prebuilt UI

I definitely plan on working on this soon. If the Lord wills, sometime next week.

@cbess The auth flow looks much better in dark mode.
I did have a few issues though getting it to work. I'm using cocoa pods, and pointed the FirebaseUI pods to your branch. That branch requires the GoogleSignIn 5.0.0 pod (was previously on 4.40), that has a dependency of an "AppAuth" pod. AppAuth calls UIApplication in several locations without checking if it's actually running in the main app bundle and not an app extension. I'm checking auth state in a number of extension (share, chat, Siri intents) so at first my project wouldn't build. I had to wrap a few statements in a preprocessor macros I already has set up to check that the code was running in the main application.

@KrisConrad First thing, you definitely have one of the best avatars I've seen on GitHub.

Retro Zelda + cross shield, nice.

Related to your issues; I think I've seen those mentioned before and I thought they were resolved. Perhaps, submit a separate issue, since the code changes I made don't effect UIApplication calls.
Here are some references you may be familiar with that I think are related:

https://github.com/firebase/firebase-ios-sdk/issues/69
https://github.com/firebase/firebase-ios-sdk/issues/310
https://stackoverflow.com/q/45427267/344591

Thanks, I'm a huge fan of the Zelda Franchise.
Those issues you linked were more about multithreading than App Extensions, but I can definitely seek out the proper repo and file an issue there, just thought you'd want to be aware of the problem one of the dependencies were causing.
Thanks again for the work you're putting into this.

I’m interested in how this is going. Has your Jesus graced you with enough time to finish this? XD


Improve fonts module documentation

From https://github.com/embedded-graphics/embedded-graphics/pull/470#pullrequestreview-530789384:

One thing that's missing that I think is important is an example of implementing a custom font. I don't know if it's possible to add one that's short enough to show in the docs, but it would really help tie all the traits and structs together.
There's a reference to the text-custom-font simulator example somewhere (I can't find it in the diff now for some reason) which might be worth turning into a link too.

The text-custom-font example is barely documented. At least the constants in the MonoFont trait should be documented.
Are there any other aspects of the documentation that could be improved?

Regarding the Baseline enum variants:

I think these could/should be explained better than just echoing the variant names.
For example I'm not entirely sure what Alphabetic refers to, although I have a guess. Also, does Top refer to the topmost pixel of the character, or something else? Perhaps we could adapt the text from the linked canvas docs.

Originally posted by @bugadani in https://github.com/embedded-graphics/embedded-graphics/pull/561#discussion_r588148338

To clarify, my comment tried to point out an ambiguity with regards to the Top alignment (top of the letter, vs top of the "em box").

This would be very helpful for me. I'm learning embedded rust by trying to program a simple read sensor and print result to display project, and while it works great I'd love to use a font that takes up more of the screen to make it easier to see.

The need for a bigger font has come up multiple times in the past. embedded-graphics 0.7 will have support for including BDF fonts, which allows users to include bigger fonts. But perhaps it would be a good idea to include at least one larger font in e-g itself, which would be easier to use.
Which font are you currently using and on what type/resolution of display? And approximately how many times bigger should the font be for your application?

The need for a bigger font has come up multiple times in the past. embedded-graphics 0.7 will have support for including BDF fonts, which allows users to include bigger fonts. But perhaps it would be a good idea to include at least one larger font in e-g itself, which would be easier to use.
Which font are you currently using and on what type/resolution of display? And approximately how many times bigger should the font be for your application?

I'm using an ssd1306 128x64 display to print three digits of temperature values (e.g. "97.9"). I think something like 40x50 would work well for my use case.  I'm not sure it's a big enough difference from Font24x32 to add into the eg crate, but documentation would be helpful for figuring it out myself.

I'm not sure it's a big enough difference from Font24x32 to add into the eg crate,...

The maximum font size was actually reduced in e-g 0.7. Font24x32 wasn't looking very good, because it was just a scaled up version of Font6x8. Our new biggest font is only 10x20 pixels, so that there might be a greater need to add at least one bigger font.

..., but documentation would be helpful for figuring it out myself.

I agree that the docs need more work. Did you look at the custom font example for e-g 0.6? https://github.com/embedded-graphics/examples/blob/main/eg-0.6/examples/text-custom-font.rs It might be enough to get you started, but feel free to ask here or in the Matrix channel if you need additional information.


Maya: Per scene custom environment variables

Feature
It would be good to have ability to specify per scene file custom environment variables that will be passed to Deadline (or other) job. Those should be set on render instance and during job submition passed to render farm. One example of such environent is MAYA_RENDER_SETUP_INCLUDE_ALL_LIGHTS that is used to control lights in render setup.
[cuID:1r58a01]

In fact, Deadline is bypassing MAYA_RENDER_SETUP_INCLUDE_ALL_LIGHTS in different manner, I'll open another issue for it. But nevertheless this feature is still relevant.

This issue sounds like it's less of a Maya issue but potentially just a general pipeline issue. What if we'd want to ingest extra environment variables for only a specific asset/shot, or even a specific task.
It could work like the new filtering used in project_settings/global/tools/Workfiles/extra_folders where extra env vars could get added in general for any host, for any task type, and potentially even with a filter to specific assets? :)

I am afraid this needs to be set even on scene level. Say you need to change license server just for specific scene/render... I agree that this is in general pipeline issue and very hackish.  But as the render setup light issue is solved in different way, I'll close this one until we'll find some other case to rationalize time spent on it.


TRG 5.09 Helm Test running properly

Release-Helm Charts fails in managed-simple-data-exchanger-backend.
Cause: uses<EMAIL_ADDRESS>Solution: uses<EMAIL_ADDRESS>

@RoKrish14  As we have leading repo.This chart release will be depreciated.

Can we close this issue?


Added missing UX element to self-asserted string IDs

#ATCP

Docs Build status updates of commit 7248500:
:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

articles/active-directory-b2c/localization-string-ids.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: Broken links written as relative paths are included in the above build report. For broken links written as absolute paths or external URLs, see the broken link report.
For any questions, please:Try searching the docs.microsoft.com contributor guidesPost your question in the Docs support channel

@kengaderdus
Can you review the proposed changes? IMPORTANT: When the changes are ready for publication, add a #sign-off comment to signal that the PR is ready for the review team to merge.
#label:"aq-pr-triaged"
@MicrosoftDocs/public-repo-pr-review-team

#sign-off


please add an option to integrate a progressbar for dismiss-delay

It would be nice to have a progress bar (either a tiny little bar at the top/bottom (just like youtube but only inside a growl-container) of each notification container or as a filler for the whole growl-container-background)
This way i can see when the growl container actually gets hidden.

This would be interesting. I am currently working on an update for this plugin that I expect to release by the end of the month. I'll see if I can get this in before I release.

Version 3.0.0 has been released and this has been added.


About Operational Space

Hello, I have some questions about the operational space and EndEffectorInterface.
1.What is the meaning of 'qpos' in EndEffectorInterface and OperationalSpaceControlInterface? Meanwhile there is a difference when calculating qpos in these two functions:  s = np.concatenate([np.zeros(3), s])  # append dummy base qpos in OperationalSpaceControlInterface, and s = np.concatenate([qpos_mobile_base, s]) in EndEffectorInterface, are these two 'qpos' different?
2. What is coordinates the pose and vel (i.e ee_pose) w.r.t? Is it the camera coordinates?

Hi @1800012973

The 'q' in qpos refers to the generalized coordinates. In our setting, qpos represents the joint angles of a robot or an articulated object. The difference you mentioned is in a previous version, they should be consistent in the current version. (Though the previous version is also correct.)

If you are using this example, it gives you the pose of ee in the world frame. In addition, the point clouds we provided are also in the world frame.

Hi @1800012973

The 'q' in qpos refers to the generalized coordinates. In our setting, qpos represents the joint angles of a robot or an articulated object. The difference you mentioned is in a previous version, they should be consistent in the current version. (Though the previous version is also correct.)
If you are using this example, it gives you the pose of ee in the world frame. In addition, the point clouds we provided are also in the world frame.

Thanks. Besides, I print ee_pose and find it has 7 dimensions like ([-1.17186, -0.0928636, 0.428826], [0.502932, -0.453418, 0.546922, -0.492289]), what's the formulation of the 7D ee_pose? Is it in se(3) so that I can divide a pose by another to get the relative transformation?

Hi @1800012973
The pose is represented as (position, quaternion), so 3+4=7 dim in total.

Hi @1800012973
The pose is represented as (position, quaternion), so 3+4=7 dim in total.

Thank you!


The virtual machine crashes and restarts under high load

Describe the bug
Recently, we have been experiencing interruptions in the testing process of a VM used as a database server. Upon investigation, we found that the VM crashes and is automatically restarted by the platform.
However, neither within the VM kernel  nor in the cluster log of the harvester can we identify the cause of the virtual machine crashes.
The following is a crash event.

Event occurrence time: UTC 2023-07-11 10:41:27
VM namespace: eb-division
VM name: vm02-postgres
Harvester log Timezone: UTC
VM log Timezone: CST
VM os: RHEL 8.4 / Linux 4.18.0-305.el8.x86_64
VM resource: 8 vCPU / 48G mem / 3T disk

Zip file contains: VM kernel log / resource monitor log / harvester cluster flow log
logs.zip
There's no commands to kill any processes in the VM.
What we only found in the VM logs, the monitoring information was interrupted at 10:41:26, and the OS was restarted at 10:41:58.
In the harvester logs, a VM crash notification at 10:41:40.379. No exact reason for the VM crashes.
The frequency of these crashes is quite high. It's nearly impossible to complete a full stress test.
So we need your help to analyze and find a solution to solve this problem.
To Reproduce
Expected behavior
Support bundle
supportbundle_1dfc0125-2b6a-43f3-ba7b-9c40974583b6_2023-07-13T02-12-06Z.zip
Environment

Harvester V1.1.1 with 3 nodes
management network, 2*10Gbe devices: Intel Corporation Ethernet Controller X710 for 10GbE SFP+ (rev 02)
cluster network, 2*1Gbe devices: Intel Corporation I350 Gigabit Network Connection (rev 01)

Additional context

Hi @delongdk thanks for reporting!
Just wondering, you are using high load in your title, what kind of high load is your VM been experiencing?

@masteryyh Kindly for your reply.
Our scenario is similar to creating database indexes, executing procedures and manipulating data in multiple tables.

@delongdk By viewing the support bundle, I saw lot of oom logs:
# grep "usage" **/kernel.log* | grep memory | grep -v swap
...
pros-c/logs/kernel.log.2:Jul 05 07:29:13 pros-c kernel: memory: usage 50671616kB, limit 50671616kB, failcnt 66
pros-c/logs/kernel.log.2:Jul 06 03:55:31 pros-c kernel: memory: usage 50671616kB, limit 50671616kB, failcnt 49
pros-c/logs/kernel.log.2:Jul 06 04:43:30 pros-c kernel: memory: usage 50671616kB, limit 50671616kB, failcnt 28
pros-c/logs/kernel.log.2:Jul 06 05:49:36 pros-c kernel: memory: usage 50671616kB, limit 50671616kB, failcnt 162
pros-c/logs/kernel.log.2:Jul 07 18:23:56 pros-c kernel: memory: usage 50671616kB, limit 50671616kB, failcnt 300
pros-c/logs/kernel.log.2:Jul 07 18:23:56 pros-c kernel: memory: usage 50671616kB, limit 50671616kB, failcnt 374

KubeVirt reserves some memory (besides VM's request memory) for qemu process, which might not be enough when VM has intensive I/O (or maybe high memory). Can you try increasing the reserved memory and see if it help?
https://docs.harvesterhci.io/v1.1/vm/create-windows-vm#vm-crashes-when-reserved-memory-not-enough
Given you have a beefy machine, I will probably start from 1G.

@bk201 Thank you very much for your help.
I think we have found the cause of the crashes. I will increase the reserved memory for this type of VM and observe if there will be any more crashes occurring.


[BUG] dbt run-metadata doesn't work with -s exposure:exposure_name

Describe the bug
When running dbterd run -s exposure:exposure_name I get a diagram of models related to that exposure. Prior to this I've ran dbt deps and dbt compile locally.
When I configure the dbt Cloud connection and run dbterd run-metadata -s exposure:exposure_name it returns nothing. I've tried multiple different syntaxes on the exposure name but can't get it working.
To Reproduce
Steps to reproduce the behavior:

Configure dbt Cloud environment
Run dbterd run-metadata -s exposure:exposure_name

Expected behavior
Returns a dbml model based on dbt Cloud Discovery API which contains models related to the exposure defined
Desktop (please complete the following information):

OS: MacOS

Hi @RecMarkoL thanks for raising the issue. I will try to check it out asap assuming you’re using dbterd latest version, let me know otherwise 🙌

Yes, I'm using latest version of dbterd

Thanks @RecMarkoL again! Confirmed it's a bug now 👍
It was a missing of passing the kwargs onto the 'parse tables' function. It's fixed now and will be released as soon as PR merged and get available in 1.13.4

1.13.4 should be released now! Please help to check it outm feel free to reopen this issue if it's still persisted. Thanks again!


Named tuple support

Named tuple support added.

Codecov Report
Attention: Patch coverage is 89.47368% with 6 lines in your changes are missing coverage. Please review.

Project coverage is 91.86%. Comparing base (0e2c209) to head (61ff07f).

Files
Patch %
Lines

pydantic_xml/serializers/factories/named_tuple.py
87.80%
5 Missing :warning:

pydantic_xml/serializers/factories/call.py
90.00%
1 Missing :warning:

:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
@@            Coverage Diff             @@
##              dev     #192      +/-   ##
==========================================
- Coverage   91.96%   91.86%   -0.10%
==========================================
  Files          27       29       +2
  Lines        1555     1610      +55
==========================================
+ Hits         1430     1479      +49
- Misses        125      131       +6

Flag
Coverage Δ

unittests
91.86% <89.47%> (-0.10%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Build failed by Gradle7.1.1

Hi,  Gradle team!
I have cloned this repo and then check out the v7.1.1 tag. But I got an error as follows when I execute ./gradlew build.
FAILURE: Build failed with an exception.

* Where:
Settings file '/Users/xxx/IdeaProjects/gradle/settings.gradle.kts' line: 12

* What went wrong:
Plugin [id: 'com.gradle.enterprise.test-distribution', version: '2.1-milestone-1'] was not found in any of the following sources:

- Gradle Core Plugins (plugin is not in 'org.gradle' namespace)
- Included Builds (None of the included builds contain this plugin)
- Plugin Repositories (could not resolve plugin artifact 'com.gradle.enterprise.test-distribution:com.gradle.enterprise.test-distribution.gradle.plugin:2.1-milestone-1')
  Searched in the following repositories:
    Gradle Central Plugin Repository
    maven(https://repo.gradle.org/gradle/libs-releases)
    maven2(https://repo.gradle.org/gradle/enterprise-libs-release-candidates-local)

then I try to execute ./gradlew -Dhttp.proxyHost=xxx -Dhttp.proxyPort=xxx build, help nothing

Expected Behavior

project to build
Current Behavior

build failed
Your Environment
mac os 10.15.8
java 8

Usually this is because you're GFWed and your proxy is somehow not working.

However, I didn't find this plugin in the plugin store. @blindpirate

It's not in plugin portal: https://repo.gradle.org/ui/native/enterprise-libs-release-candidates/com/gradle/enterprise/test-distribution-gradle-plugin

666! thanks


openmvg: clarify Git version

Motivation for this change
We should clarify exactly which version of Git is being used.
Things done

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

[x] NixOS
[ ] macOS
[ ] Linux

[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

@7c6f434c we should add this into the repo for clarification, as mentioned in the original PR.


Alternative components to the ToastProvider

Hello, I'm getting this error when I want to customize my ToastProvider using MyCustomToast:
The useToasts hook must be called from a descendent of the ToastProvider.
import { ToastProvider, useToasts } from 'react-toast-notifications'

const FormWithToasts = () => {
  const { addToast } = useToasts()

  const onSubmit = async value => {
    const { error } = await dataPersistenceLayer(value)

    if (error) {
      addToast(error.message, { appearance: 'error' })
    } else {
      addToast('Saved Successfully', { appearance: 'success' })
    }
  }

  return <form onSubmit={onSubmit}>...</form>
}

const App = () => (
  <ToastProvider  components={{ Toast: MyCustomToast }}>
    <FormWithToasts />
  </ToastProvider>
)

Hi @lapongua, that's the demo code...
Could you provide a reproduction in CodeSandbox? Otherwise I'll have to close this issue.


[hbase20] update hbase 2 version to 2.0.0 GA

tested out with simple load/run from workload a on an HBase 2 cluster.

👍 LGTM


[Loc] update to xlfs for 6-2-2022

This PR fixes #

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
8 unchanged lines in 2 files lost coverage.
Overall coverage decreased (-0.01%) to 41.911%

Files with Coverage Reduction
New Missed Lines
%

extensions/notebook/src/common/ports.ts
4
74.14%

extensions/notebook/src/jupyter/serverInstance.ts
4
75.13%

Totals

Change from base Build<PHONE_NUMBER>:
-0.01%

Covered Lines:
27876

Relevant Lines:
62068

💛  - Coveralls


How to use NCHW to accelerate my alexnet_dorefa?

How to use NCHW to accelerate my alexnet ?
I add data_format=NCHW in alexnet-dorefa.py to accelerate training ,but i got error:
ValueError: Negative dimension size caused by subtracting 12 from 3 for 'tower0/conv0/Conv2D' (op: 'Conv2D') with input shapes: [?,224,224,3], [12,12,224,96].

what's the right ways to use NCHW? thanks a lot.

You change your layers to NCHW. But your input is not in NCHW.
Also you may need to modify the quantization function since it may assume NHWC.

thanks a lot.  I am a newer ,so I may be not change it by myself. Are you have changed any example such as restnet ,VGG ,and I will follow example to change alexnet?

The resnet example supports both data format. But you do need to learn some tensorflow before you can change the quantization function.

ok ,thanks very much.


Introduce Livepeer UI

What does this pull request do? Explain your changes. (required)
This PR introduces the livepeer-ui package, a set of primitive react components built with theme-ui.
The goal is for this package to be used by all Livepeer products in an effort to unify our brand and product design around a shared visual language, promote constraint-based design principles, promote consistency in how we use patterns and UI elements, and to ship products faster and more efficiently.
Specific updates (required)
This package includes the following:

An initial set of components (Button, Chip, Card, List, ListItem, Spinner, Logo). More to come.
A theme object adhering to the system-ui spec.
A storybook for viewing and interacting with components in isolation.

Does this pull request close any open issues?
Addresses #459
Screenshots (optional):

Checklist:

[x] I have read the CONTRIBUTING document.
[ ] My change requires a change to the documentation.
[ ] I have updated the documentation accordingly.
[ ] I have added tests to cover my changes.

Looking great! Remind me the difference between <div sx={...}> and <Styled.div sx={...}>? I think that's the one part I don't really follow so far

:)
Sure. <Styled.div>, <Styled.h1>, etc inherit styles defined inside our theme object. So if we have, for example, the following styles assigned to h1 in our theme object then <Styled.h1> will inherit those styles:
{
  fonts: {
    body: 'system-ui, sans-serif',
    heading: 'Georgia, serif',
  },
  styles: {
    h1: {
      fontSize: 32,
      fontFamily: 'heading',
      fontWeight: 'heading',
      color: 'primary',
      mt: 4,
      mb: 2,
    },
  }
}

I don't actually define any global style to a div in our theme object so I should actually remove any instances of Styled.div.


[2.6] gke v1/v2 - getting error 500 for us-central1 region

Forwardport: rancher/rancher#33490
Same bug applies when selecting kubernetes version "1.18.20-gke.501" in region us-central1, regardless of kev1/kev2.

https://github.com/rancher/rancher/pull/33498

To Validate:

to provision a Hosted GKEv2 cluster on us-central1 region with the default k8s version
to provision a Hosted GKEv2 cluster on us-central1 region with the k8s version v1.18.20-gke.501 (if this is not default)

Clusters were created fine, I could open them in explorer afterwards

GKEv2 / us-central1 / 1.19.9-gke.1900 (default)
GKEv2 / us-central1 / 1.18.20-gke.501


!perms: !pause @everyone

Have not tested personally. Received report.

Quick fix performed 9/30/17


Outerbase SQLite databases return STRING instead of TEXT as column type

There is an issue where SQLite database columns are returned from the Outerbase API as a STRING instead of the column type it actually is, which is TEXT.
Steps to recreate:

Create an Outerbase SQLite database
Add a new table to the database
Create a new column in that table with the type set to TEXT
Run the script sync-database-models
Observe the new column in the generated Typescript model has it listed as any type instead of string

This is currently a bug in the internal Outerbase API system. Must be resolved by an Outerbase team member.


Using index.html and templateUrl path issue

Ok, keep in mind I am new to ng2 and meteor, but...
I have an index.html file, since I was converting an app, it has header information that I need in it.
Essentially:

<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>PM Toolbelt: Tools for Property Managers</title>
  <link rel="stylesheet" href="//maxcdn.bootstrapcdn.com/bootstrap/3.3.1/css/bootstrap.min.css">
<link href="assets/css/carousel.css" rel="stylesheet" type="text/css">
<link href="assets/css/style.css" rel="stylesheet" type="text/css">
  <link href="assets/images/favicon.ico" rel="shortcut icon" type="image/x-icon">
  <base href="/">

    <app></app>

My app.ts uses a template called app.html

<router-outlet></router-outlet>

In my template files, if I paste all of the html inline using template:  All my happy html it works just fine.
If I simply change it to templateUrl it will no longer compile.
EXCEPTION: Template parse errors:
Unexpected closing tag "head" ("
  <base href="/">

[ERROR ->]

"): HeaderComponent@72:0
Unexpected closing tag "html" ("

[ERROR ->]
"): HeaderComponent@91:0

Am I crazy?  Am I going about this wrong?  I tried to use some of the Angular 1 docs to get that far.  So it works, but I can't stand the site of full html pages inline.

I wrote an actual app, in production.  I use index.html and template files.  Clearly i was crazy before so closing.

Good to know) We are actually quite busy now, so issues like this are not of first priority, apologies

@TrikinCurt , could you please explain what you actually changed? Having the same issue here. Thanks in advance.

+1 , Having the same issue:
here is my code in 4 files:
//1st file (inputfilereader.ts)
import {Component, ElementRef, EventEmitter, Output} from 'angular2/core';
@Component({
selector: 'filereader',
templateUrl: './commons/inputfilereader/filereader.html',
styleUrls: ['./commons/inputfilereader/filereader.css'],
providers: [ElementRef]
})
export class InputFileReader {
@Output() complete :any = new EventEmitter();
resultSet:Array<Array>=[];
changeListener($event: any) {
var self = this;
var file:File = $event.target.files[0];
var myReader:FileReader = new FileReader();
myReader.readAsText(file);
let resultSet: Array = [];
myReader.onloadend = function(e){
// you can perform an action with readed data here
var columns = myReader.result.split(/\r\n|\r|\n/g);
for (var i = 0; i < columns.length; i++) {
resultSet.push(columns[i].split(' '));
}
self.resultSet=resultSet;
self.complete.next(self.resultSet);
};
}
}
// filereader.html'

Usage:
import {Component, ElementRef} from 'angular2/core';
import {InputFileReader} from '../../commons/inputfilereader/inputfilereader';
@Component({
selector: 'dfs',
templateUrl: './components/dfs/dfs.html',
styleUrls: ['./components/dfs/dfs.css'],
providers: [ElementRef],
directives:[InputFileReader]
})
export class DfsCmp {}
//dfs.html
<filereader (complete)="render($event)">

+1 having same issue .. here is my code in 4 files:
//filereader.ts
import {Component, ElementRef, EventEmitter, Output} from 'angular2/core';
@Component({
selector: 'filereader',
templateUrl: './commons/inputfilereader/filereader.html',
styleUrls: ['./commons/inputfilereader/filereader.css'],
providers: [ElementRef]
})
export class InputFileReader {
  @Output() complete :any = new EventEmitter();
  resultSet:Array<Array<string>>=[];
  changeListener($event: any) {
    var self = this;
    var file:File = $event.target.files[0];
    var myReader:FileReader = new FileReader();
    myReader.readAsText(file);
    let resultSet: Array<any> = [];
    myReader.onloadend = function(e){
      // you can perform an action with readed data here
      var columns = myReader.result.split(/\r\n|\r|\n/g);
      for (var i = 0; i < columns.length; i++) {
          resultSet.push(columns[i].split(' '));
      }
      self.resultSet=resultSet;
      self.complete.next(self.resultSet);
    };
  }
}
// filereader.html'
<input type="file" change="changeListener($event)"/>

Usage: in dfs.ts
import {Component, ElementRef} from 'angular2/core';
import {InputFileReader} from '../../commons/inputfilereader/inputfilereader';
@Component({
  selector: 'dfs',
  templateUrl: './components/dfs/dfs.html',
  styleUrls: ['./components/dfs/dfs.css'],
  providers: [ElementRef],
  directives:[InputFileReader]
})
export class DfsCmp {}
//dfs.html
<filereader (complete)="render($event)"></filereader>

I encountered the same issue. It was caused by a wrong templateUrl.
I've changed the url and everything was working again.
Anyway....odd error message.

Sorry i didn’t respond back, but following along with the 15 step example,
I have built very basic marketing sites, using template in one, templateUrl
in the other.  I use an index.html page that looks like:

and the rest is typical.  Works fine.
Curt Fluegel
Trikin Properties - Your Twin Cities Landlord
Broker/Owner
2015 MHA Independent Owners Chair
2014 NARPM® MN Chapter President
Serving the Twin Cities Metro and Western Wisconsin
<EMAIL_ADDRESS>TwinCitiesLandlord.com
651.964.3812 x101
651.964.3814 fax
On Thu, Jan 21, 2016 at 5:09 AM, steven166<EMAIL_ADDRESS>wrote:

I encountered the same issue. It was caused by a wrong templateUrl.
I've changed the url and everything was working again.
Anyway....odd error message.
—
Reply to this email directly or view it on GitHub
https://github.com/Urigo/angular2-meteor/issues/51#issuecomment-173539701
.

Actualy, it does make sence to send a variable with a base path (think if you want diferent css files for diferent looks).
From ng2 'hero' example
dashboard.component.ts:
@Component({   selector: 'my-dashboard',   templateUrl: baseURL+'app/dashboard.component.html',   styleUrls: [baseURL+'app/dashboard.component.css'] })
Would be nice to be able to do something like this 'baseURL', or to provide it from the System.config({paths:{}}) ??
Perhaps this is easy to do, but I am just begining on ng2 (second day).


Train for 1.10.4

Includes:
#2212 - bootstrap: More robust handling of a zk.pid file while waiting for exhibitor
#2229 - Bump dcos-test-utils to point at master
#2243 - metronome 0.3.2 bump for DCOS 1.10
#2246 - Update version to 1.10.4
#2250 - Bumped Mesos package to 1.4.x head 732c49e
#2253 - marathon 1.5.5 bump

@mesosphere-mergebot bump-ee

@mesosphere-mergebot label ready for review

@mesosphere-mergebot merge-it


[fix][build] Fix error "Element encoding is not allowed here" in pom.xml

Motivation
IntelliJ shows an xml error in pom.xml, "Element encoding is not allowed here"

Modifications

use inputEncoding and outputEncoding (when applicable) instead of encoding

Documentation

[ ] doc
[ ] doc-required
[x] doc-not-needed
[ ] doc-complete

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 74.33%. Comparing base (bbc6224) to head (b382bdb).
Report is 760 commits behind head on master.

Additional details and impacted files

@@             Coverage Diff              @@
##             master   #23655      +/-   ##
============================================
+ Coverage     73.57%   74.33%   +0.76%
- Complexity    32624    34481    +1857
============================================
  Files          1877     1944      +67
  Lines        139502   147242    +7740
  Branches      15299    16250     +951
============================================
+ Hits         102638   109452    +6814
- Misses        28908    29335     +427
- Partials       7956     8455     +499

Flag
Coverage Δ

inttests
27.30% <ø> (+2.71%)
:arrow_up:

systests
24.38% <ø> (+0.05%)
:arrow_up:

unittests
73.72% <ø> (+0.87%)
:arrow_up:

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


client endpoint access

I was able to get server running thanks for clear instructions.
Once the server is running, how do I query from a webpage ?
I am new to gRPC, hence I am looking for suggestions on how to query and consume results.
Thank you - Bayard team

@pmirla
Thank you for your inquiry.
Refer to this code if your application is written in Rust.
When connecting directly from other languages using gRPC, you will need to generate code for each language, but these codes are not currently ready. You can also generate code for the language you are using by yourself, please see the gRPC documentation.
Also, I'm planning to add a REST API layer in the near future.

Thanks very much for your response @mosuka
I will look forward to REST API

Hi @pmirla ,
Bayard v0.2.0 has been released. REST API to access the gRPC server that provides index is available.

Thank you for the note Minoru. I will check it out
On Sun, Dec 1, 2019 at 8:35 AM Minoru Osuka<EMAIL_ADDRESS>wrote:

Hi @pmirla https://github.com/pmirla ,
Bayard v0.2.0 has been released. REST API to access the gRPC server that
provides index is available.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/bayard-search/bayard/issues/9?email_source=notifications&email_token=ABJNVJHPCRPBOCKXJK6W7RTQWO4RNA5CNFSM4JJGL6I2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEFRJMRQ#issuecomment-560109126,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABJNVJB22K5SNNFXBTMIBRDQWO4RNANCNFSM4JJGL6IQ
.


When shiftplanning endpoint returns 404, opening hours is greyed out in Settings

@marfavi Can you create an issue on Shiftplanning API repo for what would be a better response?
I would argue either 402 No content or an empty array


[Data] Add CausalBench Challenge to OC DB

What product(s) is this feature for?
OpenChallenges
Description
This challenge was suggested by Luca on LinkedIn.
Tasks:

[ ] Add the challenge to OC DB
[ ] Make the data available in prod
[ ] Reply to Luca's comment on LinkedIn

Resources:

Manuscript (doi)
https://www.gsk.ai/causalbench-challenge/
https://eval.ai/web/challenges/challenge-page/1981/overview (platform)
GitHub

https://github.com/causalbench/causalbench
https://github.com/causalbench/causalbench-starter

Anything else?
No response
Code of Conduct

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

Completed with #2119

I realize that we don't have Eval.ai as a platform, which is used by this challenge.


Error in SAE of your code

========> Error information in matlab as follows:
Attempted to access lmisys(4); index out of bounds because numel(lmisys)=3.
Error in lmiunpck (line 22)
rs=lmisys(4); rv=lmisys(5);  % row sizes of LMISET,LMIVAR
Error in nnsetup (line 25)
[LMI_set,LMI_var,LMI_term,data]=lmiunpck(lmisys);
Error in saesetup (line 5)
sae.ae{u-1} = nnsetup([size(u-1) size(u) size(u-1)]);
Error in test_example_SAE (line 20)
sae = saesetup([784 100 ]);

This error means you are using the default function in matlab, which is arisen by forgetting adding path of deeplearningtoobox


Minimal refresh of Solo5 public APIs

This is a minimal refresh of the Solo5 public APIs and their underlying backend implementations for ukvm, virtio and muen to fix the most egregious problems as described in #200.
Summary of high-level changes, see solo5.h for full details:

solo5_app_main(): Add const to cmdline, document as returning a status code.
solo5_net_write_sync(): Add const to buf, pass size as size_t, document and enforce failure cases.
solo5_net_read_sync(): Pass sizes as size_t, return read_size separately from error code, document and enforce failure cases.
solo5_net_mac_str(): Add const to return type.
solo5_blk_write_sync(): Add const to buf, use size_t for sizes, restrict to single-sector full writes, document and enforce failure cases.
solo5_blk_read_sync(): Use size_t for sizes, restrict to single-sector full reads, document and enforce failure cases.
solo5_blk_sectors(): Rename to solo5_blk_capacity() to lessen confusion with solo5_blk_sector_size().
solo5_console_write(): Change return type to void and document as not having explicit failure cases.
All other public functions: Clarify documentation.

No functional change intended, hopefully a lot of edge case bugs elided. Tests have been updated and are passing on Linux and FreeBSD for ukvm and virtio.

@Kensan I've not tested this on Muen, you might want to double-check my changes.

@mato Will give it a spin as soon as I can.

@mato I tested the changes on Muen and the muen-net implementation requires some adaptation, see b424a29. With that test_ping_serve works again.

Superseded by #245 which should address (or is in the process of addressing) the issues raised here.


Error loading 3D Map

Description
When I try to load the map I get the following error

Steps to Reproduce
I just created created this simple html page

and then called this in my controller
L.Wrld.map("map", "my key", {
  center: [37.7858, -122.401],
  zoom: 16
});

Expected behavior: [What you expect to happen]
I expected to see a map
Actual behavior: [What actually happens]
Getting just a blank page due to the above javascript error
Reproduces how often: [What percentage of the time does it reproduce?]
ALl the time
Additional Information
Any additional information, configuration or data that might be necessary to reproduce the issue, e.g.:

What device, operating system & web browser are you using?
A simple https://jsfiddle.net link that reproduces the problem. (Please remove any sensitive credentials or API keys before posting, though! For convenience, you can fork & modify this JSFiddle https://jsfiddle.net/1348xhej/)

I am getting this error in Chrome, and it seems it could be that the plugin are setting these headers and that is not allowed:
http://www.w3.org/TR/XMLHttpRequest/#the-setrequestheader-method
But I might just miss the real point as running it on my android browser i get a lot of files not found:
file://webgl-cdn1.eegeo.com/chunk/v3.0/us/2016_09_20_california_buildings_003/Ground/0/1/1/3/1/2/3/2/1/3/0/2/2/2/Ground.hcff?appinfo=Undefined%1F712172522aba50fad073946d0b4f4e4a%1F1225%1F1fb69cf6ac665b2d7d84da945ee15a9a45e30fcb%1FUndefined%1FUndefined%1FJavascript%1FUndefined%1FUndefined%1FJavascript
So are there a place I should define some variables that are undefined in the above url

Hi @Gemeapp,
Given the file:// path below, I strongly suspect that you are loading our maps from a file on disk, and not over HTTP or HTTPS.
The following jsfiddle shows the problem not reproducing: https://jsfiddle.net/1348xhej/ - please insert your API key and hit run.
Specifically I'd recommend the following:
Upload your HTML somewhere, or view it locally. I recommend not loading directly from the file system but using a local loopback web server. Save your HTML as index.html, and in the same folder, run: python -m SimpleHTTPServer 8000 You can then visit http://localhost:8000/ in your browser.
More assistance can be found here: https://www.sitepoint.com/3d-maps-with-eegeo-and-leaflet/
I'm going to close this issue - please re-open if this does not solve the issue with additional reproduction steps.

I am running my app on a device, and you have probably spotted the problem, as I have seen that in another situation. Somewhere in your code there is an url like
//webgl-cdn1.eegeo.com/chunk/v3.0/us/2016_09_20_california_buildings_003/Ground/0/1/1/3/1/2/3/2/1/3/0/2/2/2/Ground.hcff?

and then the protocol used for loading the app is inherited (file://)
As I am also targeting a browser I have used that for testing, and here the start looks ok, but I still run into problems

I am testing on Chrome Version 61.0.3163.79 (Officiel version) (64-bit)

By the way I can get the same error using jsfiddle

but on jsfiddle the map is shown despite the error.
So it is probably just an issue with the html.
In fiddle I can see som script changing the height of the div-tag, and that is not included on my page, and the map-div element stays a 0 height

Hi @ThorvaldAagaard
As you mention file:// protocol is unsupported just now, the work-around is to host via a loopback webserver mentioned in comment just above here with a python loopback server.
Can you confirm you're not running via file:// ?

On android and IOS as native app it is using file, and if that isn't supported, i have no business case.
But i have made a version in the browser that does not use file:// just to test. And as shown in fiddle you should look at the error in the console.
I my webapp the map is not displaed and probably due to the missing height

Ok, I have now confirmed that the 2 error messages from the browser is not my problem, but the height is.
I have made a 1000 px high, and the map is shown but only 5px high.

It would still be nice to get rid of the error messages, but what is needed for controlling the height?
Manually changing the heigt in the DOM-tree gives this result

Our examples (e.g. https://docs.wrld3d.com/wrld.js/latest/docs/examples/) set the height of the map via a style tag on the containing div. In practice, this value would come from a stylesheet for the page.
You are correct that the "Refused to set unsafe header" errors should not affect display of the map.  Unfortunately these are generated by a library we use and are currently outside our control.

I am setting a height on the div tag, but after adding the map it looks like the div tag height was minimized. But I will give it a new try.
The issue with the protocol you inheret from how the app is loaded, thus preventing the map to be used on devices, is that also a library issue

The problem with using wrld.js through a file:// URL is due to browser security restrictions on loading data from the local filesystem.  For running on a device, we recommend our Android SDK or iOS SDK.

I am using Ionic (PhoneGap), that targets both platforms in a webview, so using the specific SDK's are not an option. All that is needed is that the library should not inherit the protocol but force http or https
But as Ionic also targets a browserplatform I have uploaded a version to https://geme-cce67.firebaseapp.com/#/mapdemo - Here you can see my problem with displaying the 3D-world - The hieght of the map div is set to 75%

@ThorvaldAagaard we will schedule a fix to the file:// protocol inference as soon as we can.
I'm not sure about your height problem, our maps display in a div & surface that's dimensions are completely in your control, can you please confirm that this is not an issue with your styling, and if it is not an issue with your styling provide a smaller reproduction?

It seems to be a timing issue with the loading of the my page, so you can just ignore the height issue.

Adding to roadmap to schedule file:// protocol isssues


Feature request, a flag to ignore output changes

In many cases, output changes are caused by a wrong output order, or other trivial causes. By scripting and disabling output before and after this can be circumvented. Still I think it would be wishful to have a flag to ignore output diff, that would save a little bit of time.
Kudos for this very awesome tool!

You can add force = true to the migration file to force it to go through even if there are changes, which is a more general solution (which also ignores plan changes, so you do have to run the plan, confirm you want to go through with it, then run apply with force).


[WIP] Basic GUI support

Watch in higher quality | Code
This PR implements a basic UI runtime and integrates it with Coffee.
Features / Goals

Responsive UI layout based on flexbox, built on top of stretch.
Generic Widget trait with a Renderer associated type, allowing users to build their own custom widgets and UI renderers.
Type-safety. No weak references.
Simple design, heavily inspired by Elm and elm-ui. Users define a function describing their UI layout. The resulting UI produces messages on user interaction. Produced messages are processed by another user-defined function, changing state as desired.
Simple integration. GUI can easily be added by simply extending your Game with the UserInterface trait.

Built-in widgets

[x] Column
[x] Row
[x] Text
[x] Button
[x] Checkbox
[x] Radio button
[x] Slider
[ ] Progress bar

Example
This branch includes an example that showcases all the built-in widgets so far (code). If you want to check it out simply run:
cargo run --example ui --features opengl,debug --release

Limitations
This is a first iteration. The current implementation is still missing some basic features like:

Text input widget. This is a pretty complex widget if we want to do it well. We may need to contribute to glyph_brush a bit more.
Clipping (no scrollables yet). I have a mental roadmap for this. It involves changing Target and the rendering pipelines a bit. I need to further investigate, but it should be doable.
Global scaling. I have some ideas for this too (somewhat related to #6), but I think we should probably focus on other stuff first.

Also, there is no way to overlay elements as of now and there are probably many performance optimizations that we could make. However, I would like to wait a bit and gather use cases before implementing these.
Breaking changes
This PR contains breaking changes that affect the architecture of the engine for the better:

The Game trait does not hold the game state anymore. The View associated type has been replaced by a State type, which has to implement the new State trait. Thus, implementors of the Game trait are meant to hold the game assets (it becomes the old View), while implementors of the State trait hold the game state. This will make it easy to offer a headless mode in the future.
The Game::Input associated type now has to implement the new Input trait. This splits code quite nicely, as the on_input method moves away from Game. It also makes Input implementors reusable. For instance, a KeyboardAndMouse type has been implemented that can be used out of the box!
The Game::LoadingScreen associated type has been introduced. Given that all the Game associated types implement a trait with a load method, wiring a loading screen now is as simple as writing its name. Because of this, the Game::new method is no longer necessary and it is dropped.

Additional implemented features

Text alignment, using HorizontalAlignment and VerticalAlignment
Font::measure, which allows to measure any Text
Rectangle::contains, returns whether or not it contains the given Point
Sprite::scale
Default implementation for Sprite

Pending work

[x] Rename UserInterface::Event to UserInterface::Message
[x] Move runtime concepts and customization into a (public) module inside ui
[x] Expose simple concepts using the basic renderer directly on the ui module
[ ] Implement ProgressBar widget
[ ] Debug some weird stretch behavior (maybe contact maintainers and/or open an issue)
[ ] Debug glyph_brush measuring functions (they seem to be off)
[x] Rethink alignment API
[x] Support renderer configuration
[x] Control event propagation
[x] Remove debug code (maybe split it into another renderer)
[x] Update examples
[x] Review API consistency
[x] Give proper credits (Kenney and stretch)
[x] Update documentation
[x] Update README
[ ] Update CHANGELOG

Perhaps KeyboardAndMouse::clicks should return &[Point] instead of &Vec<Point>? Great project by the way, excited to give it a try when this PR is finished!

@PvdBerg1998 Indeed! Thank you for taking a look and your kind words!

I have uploaded the new docs here: http://coffee-rs.surge.sh/coffee/index.html
I am quite happy with how it's turning out. Any feedback is appreciated!

There is still some work to be done: debugging some weird behavior and implementing a ProgressBar widget. However, this PR is already almost as big as the entire engine in master... :sweat_smile:
I think we should open issues so we can properly track the remaining work and deal with them in separate PRs.
So, let's merge this! :tada:

I think you forgot to document the removal of State in the changelog

@PvdBerg1998 State was added in this PR, it doesn't exist in the current release. The actual change you may be referring to is the removal of the View associated type, which I think I have added to the changelog under the "Changed" section.
In any case, we will review/rewrite the changelog a bit before releasing 0.3.0.

No sorry, I didn't see it was only added in this PR. Nice work! 🎉


chore (ArtQuiz): reorganize

The type of this PR is: Chore
Description
In this PR:

[x] Consolidate files into src/App/ArtQuiz
[x] Refactor name scheme for clarity & consistency
[x] Remove unused code
[x] Add some to-dos

Follow-up PRs will:

[ ] Add quizTemplate query
[ ] Add artQuiz query
[ ] Remove context and relocate necessary logic into ArtQuizApp
[ ] Revisit ArtQuizMain layout
[ ] Add tests for all existing components / layouts
[ ] Build out results interface / tests
[ ] Add i18n
[ ] Add animations
[ ] Add analytics
[ ] Profit 💰

🙏 Thank you for the follow-up 👍

Happy to. 🙏🏽


🍪

Because it'll be funny.

So that’s what that button does :P

??

??

Nilad means an element taking no input and returning an output.

pre-commit.ci run

Pre-commit doesn't seem to like the arity 0 or something, idk

pre-commit.ci run

Maybe it doesn't like the cookie emoji?

@asottile Could you look into this?

looks like a weird bug in github itself:
pr 20 17:28:06 ip-172-31-71-216 python3[562]: ====> pushing...
Apr 20 17:28:06 ip-172-31-71-216 python3[38862]: [🍪 1ea2387] [pre-commit.ci] auto fixes from pre-commit.com hooks
Apr 20 17:28:06 ip-172-31-71-216 python3[38862]:  Date: Wed Apr 20 17:28:05 2022 +0000
Apr 20 17:28:06 ip-172-31-71-216 python3[38862]:  4 files changed, 15 insertions(+), 1 deletion(-)
Apr 20 17:28:06 ip-172-31-71-216 python3[562]: =======> cherry picked!
Apr 20 17:28:08 ip-172-31-71-216 python3[38866]: error: cannot parse expected object name '44c0b0c44df0dccd4b5ff83bf8b25692db9e07b1"'
Apr 20 17:28:08 ip-172-31-71-216 python3[38864]: fatal: the remote end hung up unexpectedly
Apr 20 17:28:08 ip-172-31-71-216 python3[38863]: error: failed to push some refs to<EMAIL_ADDRESS>Apr 20 17:28:08 ip-172-31-71-216 python3[562]: =======> push failed :(
Apr 20 17:28:09 ip-172-31-71-216 python3[38870]: error: cannot parse expected object name '44c0b0c44df0dccd4b5ff83bf8b25692db9e07b1"'
Apr 20 17:28:09 ip-172-31-71-216 python3[38868]: fatal: the remote end hung up unexpectedly
Apr 20 17:28:09 ip-172-31-71-216 python3[38867]: error: failed to push some refs to<EMAIL_ADDRESS>Apr 20 17:28:09 ip-172-31-71-216 python3[562]: =======> push failed :(
Apr 20 17:28:10 ip-172-31-71-216 python3[38874]: error: cannot parse expected object name '44c0b0c44df0dccd4b5ff83bf8b25692db9e07b1"'
Apr 20 17:28:10 ip-172-31-71-216 python3[38872]: fatal: the remote end hung up unexpectedly
Apr 20 17:28:10 ip-172-31-71-216 python3[38871]: error: failed to push some refs to<EMAIL_ADDRESS>Apr 20 17:28:10 ip-172-31-71-216 python3[562]: =======> push failed :(

I'm going to temporarily remove the documentation to see if that fixes it.

It's not rerunning either
pre-commit.ci run

Now it doesn't like trailing whitespace.

yeah it's supposed to fix it, the push is failing because github itself has a bug with unicode branch names and --force-with-lease it seems.  unfortunately there's nothing I can do about github's bug but perhaps I could make a bug report for them

I've created a github support ticket here: https://support.github.com/ticket/personal/0/1594231

it looks like we have to remove the docs, because it's not in the codepage so pre-commit would always complain because it can't generate parsed_yaml.js

it looks like we have to remove the docs, because it's not in the codepage so pre-commit would always complain because it can't generate parsed_yaml.js

Simple: modify the parsed_yaml.js generator

... I guess I'll just rename the branch lol

... why can't github just play nice - oh well.