Sorting collections on 1.0.3 leads to data loss

We are currently sorting persistent collections using something like this (pseudo code)
$currentPosition = $this->collection->indexOf($item);

$newPosition = $currentPosition + $move;
if ($newPosition < 0) {
    $newPosition = 0;
} elseif ($newPosition >= $this->collection->count()) {
    $newPosition = $this->collection->count() - 1;
}

if ($move < 0) {
    for ($index = $currentPosition; $index > $newPosition; $index--) {
        $this->collection->set($index, $this->collection->get($index - 1));
    }
} else {
    for ($index = $currentPosition; $index < $newPosition; $index++) {
        $this->collection->set($index, $this->collection->get($index + 1));
    }
}

$this->collection->set($newPosition, $item);

But since 1.0.3 sorting leads to missing elements between requests.
I reproduced this writing a test in our software using persist/flush after each sort, which fails on 1.0.3 but succeeds on 1.0.2.
I currently trying to write a test in the mongodb-odm but I need to get into that first...
Any hints/ideas?

Which collection strategy are you using?

* @ODM\ReferenceMany(
     *     targetDocument="Item",
     *     cascade={"refresh","persist"},
     *     orphanRemoval="true",
     *     strategy="atomicSet"
     * )

Ah crap, no idea then at a glance :/ failing test case will be appreciated

K will give it a try :) thanks for the fast reply.

@sharpner if there is any chance for a failing test case today I'd be able to spend some time tomorrow on fixing it (unless you'd do that for me as well ;) )

I'm on it ;) first time fiddling in the odm, takes me so me time :p

Okay I'm lost. I migrated the test to the odm project, but it succeeds.
Logically that means the Bug must be in our code, but, a downgrade to 1.0.2 fixes it for us.... Please don't start to work on it, I will have to look into it further on monday.
Thanks for the help so far.

@sharpner sure, thanks for the heads up!

Okay we've found the culprit. We are using the Gedmo translatable extension.
After removing the TranslatableListener everything works as expected. It seems the onFlush kills our datasets... Thanks for the support.

Sorry for the confusion, but with refresh the tests will fail.
I looked in the database after executing the tests (with removing tearDown) and validated that those items are in fact missing. Does this help you?

Should do! Will give it a look tomorrow

thx

@sharpner Thanks for the test cases, I can see what the problem is: orphanRemoval is your enemy on this one, more specifically https://github.com/doctrine/mongodb-odm/commit/02f77ceb2ce577e817f421caea92a989f65e13b6. For 1.0.3 we changed set() in PersistentCollection to respect orphanRemoval settings. This normally works fine, except that PersistentCollection doesn't care much for duplicate items in a collection, which is what happens in your case. This is why your code worked with 1.0.2 and fails for 1.0.3.
TL;DR: as a workaround, you can replace the items with NULL before switching them:
$coll->set(1, null);
$coll->set(2, null);
$coll->set(1, $c);
$coll->set(2, $b);

Full explanation of the weird things going on here:
For the following example, let's assume a collection [a, b, c] and let's assume that we're going to flip elements 1 (b) and 2 (c).
The first call replaces element 2 with b:
$coll->set(2, $b). This call:

schedules orphanRemoval for c since it would be removed from the collection,
unschedules any pending orphanRemoval for b.
Our collection now looks like this: [a, b, b] and we have c scheduled for removal in UnitOfWork.

The second call then replaces element 1 with c:
$coll->set(1, $c). This call:

schedules orphanRemoval for b,
unschedules orphanRemoval for c.
Our collection now looks like this: [a, c, b], which is what we expect. What we don't expect is that pending orphanRemoval for b in UnitOfWork which will remove the referenced element on the next flush() and cause errors.

I've added another failing test case in https://github.com/doctrine/mongodb-odm/commit/3865bc1b3ac40b10982a484e565fc3a3913205b5. It's based on embedded documents and tries to resort some elements in it's underlaying persistent collection (EmbedMany). So it might fail due to some other reasons than stated in https://github.com/doctrine/mongodb-odm/issues/1275#issuecomment-156501140. But I think from a Doctrine-developer perspective it's quite the same issue.

@gruberro @sharpner I'm closing this to consolidate discussion into #1278, feel free to add any further comments and issues there.


Add chkAlg field to OrigDatablock

Datablock has a chkAlg field to encode the checksum algorithm used for its data files but OrigDatablock lacks this field. As it stands right now, the the data files in an original datablock can have a checksum but some convention or external mechanism is needed to encode the algorithm.
Please add OrigDatablock.chkAlg.

@jl-wynen and myself brainstormed again on this issue.
I'm going to promote this to a must-have feature.


Ignore spaces

This is done, but I think I could try and create a skip in the pointset so a space is a skip in the index. This way the space will not be a point, but the second name will start two away from the first name.


Revert "Added a mutex to ZoneWindow, ensured no data races occur (#21…

…54)"
This reverts commit af4678ff18c9faa03ca5d4882bb7bcff9628467d.

Summary of the Pull Request
This commit seems to greatly increase deadlock probability in FancyZones, so we revert it for now.

Validation Steps Performed
Launched PT and increased DPI

Add another commit to remove RestoreOrginalTransparency() from ZoneWindow::~ZoneWindow() and from ZoneWindow::MoveSizeEnter().

@enricog done


feat(start/node): Don't Object.assign on Bun

3 |
4 | // FIXME: Bun does not support this assignment.
5 | // We only assign if the runtime is not Bun.
6 | //
7 | // https://bun.sh/guides/util/detect-bun
8 | Object.assign(globalThis, Streams);
   ^
TypeError: Attempted to assign to readonly property.
      at /private/tmp/solid/test/node_modules/solid-start/node/globals.js:8:0
      at processTicksAndRejections (:1:2602)

Ready for #1059

Yeah no problem.. a lot of these old polyfills will be able to go away so soon.


Add better default targets

Exclude IE by default, as we usually don't need support for it.

:+1:


Cannot verify tokens.

Hi, thanks for the library!
I have been trying to verify tokens, and I don't know the reason why the signed tokens are always invalid, verify returns false.
I checked with the example code and verify is returning false.
I am using wrangler 2.6.1 and the 2.1.3 version of this library.
const token = await jwt.sign(
      {
        name: "John Doe",
        email<EMAIL_ADDRESS>        nbf: Math.floor(Date.now() / 1000) + 60 * 60, // Not before: Now + 1h
        exp: Math.floor(Date.now() / 1000) + 2 * (60 * 60), // Expires: Now + 2h
      },
      "secret"
    );

    // Verifying token
    const isValid = await jwt.verify(token, "secret"); // false

The token generated is:
eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJuYW1lIjoiSm9obiBEb2UiLCJlbWFpbCI6ImpvaG4uZG9lQGdtYWlsLmNvbSIsIm5iZiI6MTY3MDUwMjAyNSwiZXhwIjoxNjcwNTA1NjI1LCJpYXQiOjE2NzA0OTg0MjV9.-UdjUY8GJpaae2WpUTvbLsJQY8FNqVeNQiVDyNH_h0A

And verify returns a false

Could be that I'm stupid and cannot verify a token that is not valid till 1 hour later...

Look at the comments in the code you posted :)
nbf = Now + 1h
exp = Now + 2h
So the token will be valid in an hour from now and it will have expired in 2 hours from now.

No need to change the comments or the examples... But anyway, I'm getting a verify false on my real code. Would you like me to open a new issue?
const access_token = await jwt.sign(
      {
        exp: Math.floor(Date.now() / 1000) + 60 * 60 * 24, // 1 day from now
        iss: "account",
        sub: "access",
        orgId: "ed7938f2-be8b-40d5-950c-0d8577cbb9cc",
      } as JwtPayload,
      "secret",
      { algorithm: "HS512" }
    );

    const isVerified = await jwt.verify(access_token, "secret");

And it does return false on verification.


Is there a way to put the search URL in a sub config for a package?

I'm building a non-admin UI for an app that resides within the Django CMS system.  My code is in it's own, isolated package, called "inventory", and my GUI URLs all use their own urlconf.  I'd really like to situate the URL for the django-autocomplete-light within that sub config, but it seems like the only urlconf that works is the root.  I read the code, and it looks like there's no way to pass a "urlconf" parameter to the widget, the only URL look up call that happens is "reverse(url)" with no other args.
Please let me know if there is a way to do it.
If not, please consider this a feature request.
I'd be up for implementing it, if you can point me to your coding standards/PR process?

Does it work when you try this manual ?
https://docs.djangoproject.com/en/3.1/topics/http/urls/#including-other-urlconfs

Ah.  I was using name space urls to keep them distinct.  So it's the fact that the reverse needs to reference the app_name that is the blocker.

Nice, good to close then ?

No... I really can't remove the namespace easily and isolating this way is a legitimate use case in django.  Is there a way to specify this when setting up the form widget.


I can't execute the quick start in docker cluster

Search before asking

[X] I had searched in the issues and found no similar issues.

What happened
I start the docker cluster in docker  with seatunnel
docker-compose.yml file :
version: '3'
services:
spark-master:
image: yihui8776/seatunnel-sparkmaster:v1
container_name: spark-master
ports:
- "8082:8080"
- "7077:7077"
environment:
- INIT_DAEMON_STEP=setup_spark
spark-worker:
image: yihui8776/seatunnel-sparkworker:v1
#container_name: spark-worker
depends_on:
- spark-master
ports:
- "8081:8081"
environment:
- "SPARK_MASTER=spark://spark-master:7077"
then go in the master container
bash-5.0# nc -l -p 9999
hello ,world
go into the container in another terminal
ring non-Spark config property: "spark.streaming.batchDuration
Warning: Ignoring non-Spark config property: "spark.ui.port
22/08/22 07:06:46 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Using Spark's default log4j profile: org/apache/spark/log4j-defaults.properties
22/08/22 07:06:46 INFO SecurityManager: Changing view acls to: root
22/08/22 07:06:46 INFO SecurityManager: Changing modify acls to: root
22/08/22 07:06:46 INFO SecurityManager: Changing view acls groups to:
22/08/22 07:06:46 INFO SecurityManager: Changing modify acls groups to:
22/08/22 07:06:46 INFO SecurityManager: SecurityManager: authentication disabled; ui acls disabled; users  with view permissions: Set(root); groups with view permissions: Set(); users  with modify permissions: Set(root); groups with modify permissions: Set()
22/08/22 07:06:47 INFO Utils: Successfully started service 'driverClient' on port 45825.
22/08/22 07:06:47 INFO TransportClientFactory: Successfully created connection to spark-master/<IP_ADDRESS>:7077 after 27 ms (0 ms spent in bootstraps)
22/08/22 07:06:47 INFO ClientEndpoint: Driver successfully submitted as driver-20220822070647-0003
22/08/22 07:06:47 INFO ClientEndpoint: ... waiting before polling master for driver state
22/08/22 07:06:52 INFO ClientEndpoint: ... polling master for driver state
22/08/22 07:06:52 INFO ClientEndpoint: State of driver-20220822070647-0003 is FAILED
22/08/22 07:06:52 INFO ShutdownHookManager: Shutdown hook called
22/08/22 07:06:52 INFO ShutdownHookManager: Deleting directory /tmp/spark-fdf61839-803b-4e5a-8ef2-655b9d61bb78
SeaTunnel Version
2.1.0
SeaTunnel Config
cat config/seatunnel-env.sh
#!/usr/bin/env bash
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements.  See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License.  You may obtain a copy of the License at
#
#    http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#

# Home directory of spark distribution.
SPARK_HOME=${SPARK_HOME:-/spark}
# Home directory of flink distribution.
FLINK_HOME=${FLINK_HOME:-/opt/flink}

Running Command
./bin/start-seatunnel-spark.sh --master spark://spark-master:7077  --deploy-mode cluster --config ./config/application.conf

Error Exception
./bin/start-seatunnel-spark.sh --master spark://spark-master:7077  --deploy-mode cluster --config ./config/application.conf

[INFO] spark conf: --conf "spark.ui.port=13000" --conf "spark.streaming.batchDuration=5" --conf "spark.app.name=seatunnel"
Warning: Ignoring non-Spark config property: "spark.app.name
Warning: Ignoring non-Spark config property: "spark.streaming.batchDuration
Warning: Ignoring non-Spark config property: "spark.ui.port
22/08/22 07:06:46 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Using Spark's default log4j profile: org/apache/spark/log4j-defaults.properties
22/08/22 07:06:46 INFO SecurityManager: Changing view acls to: root
22/08/22 07:06:46 INFO SecurityManager: Changing modify acls to: root
22/08/22 07:06:46 INFO SecurityManager: Changing view acls groups to:
22/08/22 07:06:46 INFO SecurityManager: Changing modify acls groups to:
22/08/22 07:06:46 INFO SecurityManager: SecurityManager: authentication disabled; ui acls disabled; users  with view permissions: Set(root); groups with view permissions: Set(); users  with modify permissions: Set(root); groups with modify permissions: Set()
22/08/22 07:06:47 INFO Utils: Successfully started service 'driverClient' on port 45825.
22/08/22 07:06:47 INFO TransportClientFactory: Successfully created connection to spark-master/<IP_ADDRESS>:7077 after 27 ms (0 ms spent in bootstraps)
22/08/22 07:06:47 INFO ClientEndpoint: Driver successfully submitted as driver-20220822070647-0003
22/08/22 07:06:47 INFO ClientEndpoint: ... waiting before polling master for driver state
22/08/22 07:06:52 INFO ClientEndpoint: ... polling master for driver state
22/08/22 07:06:52 INFO ClientEndpoint: State of driver-20220822070647-0003 is FAILED
22/08/22 07:06:52 INFO ShutdownHookManager: Shutdown hook called
22/08/22 07:06:52 INFO ShutdownHookManager: Deleting directory /tmp/spark-fdf61839-803b-4e5a-8ef2-655b9d61bb78

got no message

Flink or Spark Version
spark 2.4.5
Java or Scala Version
Using Scala version 2.11.12 (OpenJDK 64-Bit Server VM, Java 1.8.0_242)
Screenshots
bash-5.0# ./bin/start-seatunnel-spark.sh --master spark://spark-master:7077  --deploy-mode cluster --config ./config/application.conf
[INFO] spark conf: --conf "spark.ui.port=13000" --conf "spark.streaming.batchDuration=5" --conf "spark.app.name=seatunnel"
Warning: Ignoring non-Spark config property: "spark.app.name
Warning: Ignoring non-Spark config property: "spark.streaming.batchDuration
Warning: Ignoring non-Spark config property: "spark.ui.port
22/08/22 07:13:23 WARN NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
Using Spark's default log4j profile: org/apache/spark/log4j-defaults.properties
22/08/22 07:13:24 INFO SecurityManager: Changing view acls to: root
22/08/22 07:13:24 INFO SecurityManager: Changing modify acls to: root
22/08/22 07:13:24 INFO SecurityManager: Changing view acls groups to:
22/08/22 07:13:24 INFO SecurityManager: Changing modify acls groups to:
22/08/22 07:13:24 INFO SecurityManager: SecurityManager: authentication disabled; ui acls disabled; users  with view permissions: Set(root); groups with view permissions: Set(); users  with modify permissions: Set(root); groups with modify permissions: Set()
22/08/22 07:13:24 INFO Utils: Successfully started service 'driverClient' on port 40269.
22/08/22 07:13:24 INFO TransportClientFactory: Successfully created connection to spark-master/<IP_ADDRESS>:7077 after 30 ms (0 ms spent in bootstraps)
22/08/22 07:13:24 INFO ClientEndpoint: Driver successfully submitted as driver-20220822071324-0004
22/08/22 07:13:24 INFO ClientEndpoint: ... waiting before polling master for driver state
22/08/22 07:13:29 INFO ClientEndpoint: ... polling master for driver state
22/08/22 07:13:29 INFO ClientEndpoint: State of driver-20220822071324-0004 is FAILED
22/08/22 07:13:29 INFO ShutdownHookManager: Shutdown hook called
22/08/22 07:13:29 INFO ShutdownHookManager: Deleting directory /tmp/spark-d649efd4-3d11-4146-8404-7872e638500c
Are you willing to submit PR?

[x] Yes I am willing to submit a PR!

Code of Conduct

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

22/08/22 07:13:29 INFO ClientEndpoint: State of driver-20220822071324-0004 is FAILED
The driver log didn't display, please check your log config to make sure driver log can be display, then we will know what's problem.

stderr   is
Launch Command: "/usr/lib/jvm/java-1.8-openjdk/jre/bin/java" "-cp" "/spark/conf/:/spark/jars/*" "-Xmx1024M" "-Dspark.driver.supervise=false" "-Dspark.submit.deployMode=cluster" "-Dspark.master=spark://spark-master:7077" "-Dspark.executor.extraJavaOptions=" "-Dspark.files=file:///apache-seatunnel-incubating-2.1.0/config/application.conf,file:///seatunnel/plugins.tar.gz" "-Dspark.jars=file:///seatunnel/lib/seatunnel-core-flink.jar,file:///seatunnel/lib/seatunnel-core-spark.jar,file:///seatunnel/lib/seatunnel-core-sql-2.1.0-2.11.8.jar,file:/seatunnel/lib/seatunnel-core-spark.jar" "-Dspark.rpc.askTimeout=10s" "-Dspark.app.name=seatunnel" "-Dspark.driver.extraJavaOptions=" "org.apache.spark.deploy.worker.DriverWrapper" "spark://Worker@<IP_ADDRESS>:45811" "/spark/work/driver-20220824090534-0015/seatunnel-core-spark.jar" "org.apache.seatunnel.SeatunnelSpark" "--master" "spark://spark-master:7077" "--deploy-mode" "cluster" "--config" "./config/application.conf"
log4j:WARN No appenders could be found for logger (org.apache.hadoop.metrics2.lib.MutableMetricsFactory).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Using Spark's default log4j profile: org/apache/spark/log4j-defaults.properties
22/08/24 09:05:35 INFO SecurityManager: Changing view acls to: root
22/08/24 09:05:35 INFO SecurityManager: Changing modify acls to: root
22/08/24 09:05:35 INFO SecurityManager: Changing view acls groups to:
22/08/24 09:05:35 INFO SecurityManager: Changing modify acls groups to:
22/08/24 09:05:35 INFO SecurityManager: SecurityManager: authentication disabled; ui acls disabled; users  with view permissions: Set(root); groups with view permissions: Set(); users  with modify permissions: Set(root); groups with modify permissions: Set()
22/08/24 09:05:36 INFO Utils: Successfully started service 'Driver' on port 46367.
22/08/24 09:05:36 INFO DriverWrapper: Driver address: <IP_ADDRESS>:46367
22/08/24 09:05:36 INFO WorkerWatcher: Connecting to worker spark://Worker@<IP_ADDRESS>:45811
22/08/24 09:05:36 INFO SecurityManager: Changing view acls to: root
22/08/24 09:05:36 INFO SecurityManager: Changing modify acls to: root
22/08/24 09:05:36 INFO SecurityManager: Changing view acls groups to:
22/08/24 09:05:36 INFO SecurityManager: Changing modify acls groups to:
22/08/24 09:05:36 INFO SecurityManager: SecurityManager: authentication disabled; ui acls disabled; users  with view permissions: Set(root); groups with view permissions: Set(); users  with modify permissions: Set(root); groups with modify permissions: Set()
22/08/24 09:05:36 INFO TransportClientFactory: Successfully created connection to /<IP_ADDRESS>:45811 after 25 ms (0 ms spent in bootstraps)
22/08/24 09:05:36 INFO WorkerWatcher: Successfully connected to spark://Worker@<IP_ADDRESS>:45811
22/08/24 09:05:36 INFO ConfigBuilder: Loading config file: application.conf
22/08/24 09:05:36 INFO ConfigBuilder: parsed config file: {}
22/08/24 09:05:36 ERROR Seatunnel:
===============================================================================
22/08/24 09:05:36 ERROR Seatunnel: Fatal Error,
22/08/24 09:05:36 ERROR Seatunnel: Please submit bug report in https://github.com/apache/incubator-seatunnel/issues
22/08/24 09:05:36 ERROR Seatunnel: Reason:No configuration setting found for key 'env'
22/08/24 09:05:36 ERROR Seatunnel: Exception StackTrace:org.apache.seatunnel.shade.com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'env'
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.findKeyOrNull(SimpleConfig.java:156)
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.findOrNull(SimpleConfig.java:174)
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:188)
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:193)
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.getObject(SimpleConfig.java:268)
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.getConfig(SimpleConfig.java:274)
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.getConfig(SimpleConfig.java:41)
at org.apache.seatunnel.config.ConfigBuilder.createEnv(ConfigBuilder.java:182)
at org.apache.seatunnel.config.ConfigBuilder.(ConfigBuilder.java:66)
at org.apache.seatunnel.Seatunnel.entryPoint(Seatunnel.java:98)
at org.apache.seatunnel.Seatunnel.run(Seatunnel.java:65)
at org.apache.seatunnel.SeatunnelSpark.main(SeatunnelSpark.java:29)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.spark.deploy.worker.DriverWrapper$.main(DriverWrapper.scala:65)
at org.apache.spark.deploy.worker.DriverWrapper.main(DriverWrapper.scala)
22/08/24 09:05:36 ERROR Seatunnel:
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.spark.deploy.worker.DriverWrapper$.main(DriverWrapper.scala:65)
at org.apache.spark.deploy.worker.DriverWrapper.main(DriverWrapper.scala)
Caused by: org.apache.seatunnel.shade.com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'env'
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.findKeyOrNull(SimpleConfig.java:156)
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.findOrNull(SimpleConfig.java:174)
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:188)
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:193)
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.getObject(SimpleConfig.java:268)
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.getConfig(SimpleConfig.java:274)
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.getConfig(SimpleConfig.java:41)
at org.apache.seatunnel.config.ConfigBuilder.createEnv(ConfigBuilder.java:182)
at org.apache.seatunnel.config.ConfigBuilder.(ConfigBuilder.java:66)
at org.apache.seatunnel.Seatunnel.entryPoint(Seatunnel.java:98)
at org.apache.seatunnel.Seatunnel.run(Seatunnel.java:65)
at org.apache.seatunnel.SeatunnelSpark.main(SeatunnelSpark.java:29)
... 6 more
22/08/24 09:05:36 INFO ShutdownHookManager: Shutdown hook called
22/08/24 09:05:36 INFO ShutdownHookManager: Deleting directory /tmp/spark-85e93752-9f36-4704-805d-068f6fceed62

stderr   is
Launch Command: "/usr/lib/jvm/java-1.8-openjdk/jre/bin/java" "-cp" "/spark/conf/:/spark/jars/*" "-Xmx1024M" "-Dspark.driver.supervise=false" "-Dspark.submit.deployMode=cluster" "-Dspark.master=spark://spark-master:7077" "-Dspark.executor.extraJavaOptions=" "-Dspark.files=file:///apache-seatunnel-incubating-2.1.0/config/application.conf,file:///seatunnel/plugins.tar.gz" "-Dspark.jars=file:///seatunnel/lib/seatunnel-core-flink.jar,file:///seatunnel/lib/seatunnel-core-spark.jar,file:///seatunnel/lib/seatunnel-core-sql-2.1.0-2.11.8.jar,file:/seatunnel/lib/seatunnel-core-spark.jar" "-Dspark.rpc.askTimeout=10s" "-Dspark.app.name=seatunnel" "-Dspark.driver.extraJavaOptions=" "org.apache.spark.deploy.worker.DriverWrapper" "spark://Worker@<IP_ADDRESS>:45811" "/spark/work/driver-20220824090534-0015/seatunnel-core-spark.jar" "org.apache.seatunnel.SeatunnelSpark" "--master" "spark://spark-master:7077" "--deploy-mode" "cluster" "--config" "./config/application.conf"
log4j:WARN No appenders could be found for logger (org.apache.hadoop.metrics2.lib.MutableMetricsFactory).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Using Spark's default log4j profile: org/apache/spark/log4j-defaults.properties
22/08/24 09:05:35 INFO SecurityManager: Changing view acls to: root
22/08/24 09:05:35 INFO SecurityManager: Changing modify acls to: root
22/08/24 09:05:35 INFO SecurityManager: Changing view acls groups to:
22/08/24 09:05:35 INFO SecurityManager: Changing modify acls groups to:
22/08/24 09:05:35 INFO SecurityManager: SecurityManager: authentication disabled; ui acls disabled; users  with view permissions: Set(root); groups with view permissions: Set(); users  with modify permissions: Set(root); groups with modify permissions: Set()
22/08/24 09:05:36 INFO Utils: Successfully started service 'Driver' on port 46367.
22/08/24 09:05:36 INFO DriverWrapper: Driver address: <IP_ADDRESS>:46367
22/08/24 09:05:36 INFO WorkerWatcher: Connecting to worker spark://Worker@<IP_ADDRESS>:45811
22/08/24 09:05:36 INFO SecurityManager: Changing view acls to: root
22/08/24 09:05:36 INFO SecurityManager: Changing modify acls to: root
22/08/24 09:05:36 INFO SecurityManager: Changing view acls groups to:
22/08/24 09:05:36 INFO SecurityManager: Changing modify acls groups to:
22/08/24 09:05:36 INFO SecurityManager: SecurityManager: authentication disabled; ui acls disabled; users  with view permissions: Set(root); groups with view permissions: Set(); users  with modify permissions: Set(root); groups with modify permissions: Set()
22/08/24 09:05:36 INFO TransportClientFactory: Successfully created connection to /<IP_ADDRESS>:45811 after 25 ms (0 ms spent in bootstraps)
22/08/24 09:05:36 INFO WorkerWatcher: Successfully connected to spark://Worker@<IP_ADDRESS>:45811
22/08/24 09:05:36 INFO ConfigBuilder: Loading config file: application.conf
22/08/24 09:05:36 INFO ConfigBuilder: parsed config file: {}
22/08/24 09:05:36 ERROR Seatunnel:
===============================================================================
22/08/24 09:05:36 ERROR Seatunnel: Fatal Error,
22/08/24 09:05:36 ERROR Seatunnel: Please submit bug report in https://github.com/apache/incubator-seatunnel/issues
22/08/24 09:05:36 ERROR Seatunnel: Reason:No configuration setting found for key 'env'
22/08/24 09:05:36 ERROR Seatunnel: Exception StackTrace:org.apache.seatunnel.shade.com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'env'
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.findKeyOrNull(SimpleConfig.java:156)
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.findOrNull(SimpleConfig.java:174)
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:188)
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:193)
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.getObject(SimpleConfig.java:268)
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.getConfig(SimpleConfig.java:274)
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.getConfig(SimpleConfig.java:41)
at org.apache.seatunnel.config.ConfigBuilder.createEnv(ConfigBuilder.java:182)
at org.apache.seatunnel.config.ConfigBuilder.(ConfigBuilder.java:66)
at org.apache.seatunnel.Seatunnel.entryPoint(Seatunnel.java:98)
at org.apache.seatunnel.Seatunnel.run(Seatunnel.java:65)
at org.apache.seatunnel.SeatunnelSpark.main(SeatunnelSpark.java:29)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.spark.deploy.worker.DriverWrapper$.main(DriverWrapper.scala:65)
at org.apache.spark.deploy.worker.DriverWrapper.main(DriverWrapper.scala)
22/08/24 09:05:36 ERROR Seatunnel:
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.spark.deploy.worker.DriverWrapper$.main(DriverWrapper.scala:65)
at org.apache.spark.deploy.worker.DriverWrapper.main(DriverWrapper.scala)
Caused by: org.apache.seatunnel.shade.com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'env'
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.findKeyOrNull(SimpleConfig.java:156)
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.findOrNull(SimpleConfig.java:174)
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:188)
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:193)
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.getObject(SimpleConfig.java:268)
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.getConfig(SimpleConfig.java:274)
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.getConfig(SimpleConfig.java:41)
at org.apache.seatunnel.config.ConfigBuilder.createEnv(ConfigBuilder.java:182)
at org.apache.seatunnel.config.ConfigBuilder.(ConfigBuilder.java:66)
at org.apache.seatunnel.Seatunnel.entryPoint(Seatunnel.java:98)
at org.apache.seatunnel.Seatunnel.run(Seatunnel.java:65)
at org.apache.seatunnel.SeatunnelSpark.main(SeatunnelSpark.java:29)
... 6 more
22/08/24 09:05:36 INFO ShutdownHookManager: Shutdown hook called
22/08/24 09:05:36 INFO ShutdownHookManager: Deleting directory /tmp/spark-85e93752-9f36-4704-805d-068f6fceed62

22/08/22 07:13:29 INFO ClientEndpoint: State of driver-20220822071324-0004 is FAILED The driver log didn't display, please check your log config to make sure driver log can be display, then we will know what's problem.

stderr is
Launch Command: "/usr/lib/jvm/java-1.8-openjdk/jre/bin/java" "-cp" "/spark/conf/:/spark/jars/*" "-Xmx1024M" "-Dspark.driver.supervise=false" "-Dspark.submit.deployMode=cluster" "-Dspark.master=spark://spark-master:7077" "-Dspark.executor.extraJavaOptions=" "-Dspark.files=file:///apache-seatunnel-incubating-2.1.0/config/application.conf,file:///seatunnel/plugins.tar.gz" "-Dspark.jars=file:///seatunnel/lib/seatunnel-core-flink.jar,file:///seatunnel/lib/seatunnel-core-spark.jar,file:///seatunnel/lib/seatunnel-core-sql-2.1.0-2.11.8.jar,file:/seatunnel/lib/seatunnel-core-spark.jar" "-Dspark.rpc.askTimeout=10s" "-Dspark.app.name=seatunnel" "-Dspark.driver.extraJavaOptions=" "org.apache.spark.deploy.worker.DriverWrapper" "spark://Worker@<IP_ADDRESS>:45811" "/spark/work/driver-20220824090534-0015/seatunnel-core-spark.jar" "org.apache.seatunnel.SeatunnelSpark" "--master" "spark://spark-master:7077" "--deploy-mode" "cluster" "--config" "./config/application.conf"
log4j:WARN No appenders could be found for logger (org.apache.hadoop.metrics2.lib.MutableMetricsFactory).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Using Spark's default log4j profile: org/apache/spark/log4j-defaults.properties
22/08/24 09:05:35 INFO SecurityManager: Changing view acls to: root
22/08/24 09:05:35 INFO SecurityManager: Changing modify acls to: root
22/08/24 09:05:35 INFO SecurityManager: Changing view acls groups to:
22/08/24 09:05:35 INFO SecurityManager: Changing modify acls groups to:
22/08/24 09:05:35 INFO SecurityManager: SecurityManager: authentication disabled; ui acls disabled; users  with view permissions: Set(root); groups with view permissions: Set(); users  with modify permissions: Set(root); groups with modify permissions: Set()
22/08/24 09:05:36 INFO Utils: Successfully started service 'Driver' on port 46367.
22/08/24 09:05:36 INFO DriverWrapper: Driver address: <IP_ADDRESS>:46367
22/08/24 09:05:36 INFO WorkerWatcher: Connecting to worker spark://Worker@<IP_ADDRESS>:45811
22/08/24 09:05:36 INFO SecurityManager: Changing view acls to: root
22/08/24 09:05:36 INFO SecurityManager: Changing modify acls to: root
22/08/24 09:05:36 INFO SecurityManager: Changing view acls groups to:
22/08/24 09:05:36 INFO SecurityManager: Changing modify acls groups to:
22/08/24 09:05:36 INFO SecurityManager: SecurityManager: authentication disabled; ui acls disabled; users  with view permissions: Set(root); groups with view permissions: Set(); users  with modify permissions: Set(root); groups with modify permissions: Set()
22/08/24 09:05:36 INFO TransportClientFactory: Successfully created connection to /<IP_ADDRESS>:45811 after 25 ms (0 ms spent in bootstraps)
22/08/24 09:05:36 INFO WorkerWatcher: Successfully connected to spark://Worker@<IP_ADDRESS>:45811
22/08/24 09:05:36 INFO ConfigBuilder: Loading config file: application.conf
22/08/24 09:05:36 INFO ConfigBuilder: parsed config file: {}
22/08/24 09:05:36 ERROR Seatunnel:
===============================================================================
22/08/24 09:05:36 ERROR Seatunnel: Fatal Error,
22/08/24 09:05:36 ERROR Seatunnel: Please submit bug report in https://github.com/apache/incubator-seatunnel/issues
22/08/24 09:05:36 ERROR Seatunnel: Reason:No configuration setting found for key 'env'
22/08/24 09:05:36 ERROR Seatunnel: Exception StackTrace:org.apache.seatunnel.shade.com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'env'
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.findKeyOrNull(SimpleConfig.java:156)
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.findOrNull(SimpleConfig.java:174)
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:188)
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:193)
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.getObject(SimpleConfig.java:268)
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.getConfig(SimpleConfig.java:274)
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.getConfig(SimpleConfig.java:41)
at org.apache.seatunnel.config.ConfigBuilder.createEnv(ConfigBuilder.java:182)
at org.apache.seatunnel.config.ConfigBuilder.(ConfigBuilder.java:66)
at org.apache.seatunnel.Seatunnel.entryPoint(Seatunnel.java:98)
at org.apache.seatunnel.Seatunnel.run(Seatunnel.java:65)
at org.apache.seatunnel.SeatunnelSpark.main(SeatunnelSpark.java:29)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.spark.deploy.worker.DriverWrapper$.main(DriverWrapper.scala:65)
at org.apache.spark.deploy.worker.DriverWrapper.main(DriverWrapper.scala)
22/08/24 09:05:36 ERROR Seatunnel:
Exception in thread "main" java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at org.apache.spark.deploy.worker.DriverWrapper$.main(DriverWrapper.scala:65)
at org.apache.spark.deploy.worker.DriverWrapper.main(DriverWrapper.scala)
Caused by: org.apache.seatunnel.shade.com.typesafe.config.ConfigException$Missing: No configuration setting found for key 'env'
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.findKeyOrNull(SimpleConfig.java:156)
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.findOrNull(SimpleConfig.java:174)
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:188)
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.find(SimpleConfig.java:193)
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.getObject(SimpleConfig.java:268)
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.getConfig(SimpleConfig.java:274)
at org.apache.seatunnel.shade.com.typesafe.config.impl.SimpleConfig.getConfig(SimpleConfig.java:41)
at org.apache.seatunnel.config.ConfigBuilder.createEnv(ConfigBuilder.java:182)
at org.apache.seatunnel.config.ConfigBuilder.(ConfigBuilder.java:66)
at org.apache.seatunnel.Seatunnel.entryPoint(Seatunnel.java:98)
at org.apache.seatunnel.Seatunnel.run(Seatunnel.java:65)
at org.apache.seatunnel.SeatunnelSpark.main(SeatunnelSpark.java:29)
... 6 more
22/08/24 09:05:36 INFO ShutdownHookManager: Shutdown hook called
22/08/24 09:05:36 INFO ShutdownHookManager: Deleting directory /tmp/spark-85e93752-9f36-4704-805d-068f6fceed62

Same as #2496 ,I will close this issue.


Cound one disable some SQL in Sharding proxy for safety?

Feature Request
Sometimes in production, we just need SELECT, other SQL will not needed. It is more safe to just use SELECT, disable other like INSERT, UPDATE, DELETE in production environment.
Is your feature request related to a problem?
Yes. Make production more safety.
Describe the feature you would like.
In config server.yaml，one can add white list to enable a user account just use these SQL.

It is a really big feature for SQL audit, we have no plan to do it now.
If somebody interest that, we can talk about the scope first.

May I close this issue because we have no plan to do SQL audit now?

Sure. Thanks.
发送自 Windows 10 版邮件https://go.microsoft.com/fwlink/?LinkId=550986应用

发件人: Liang Zhang<EMAIL_ADDRESS>发送时间: Tuesday, November 19, 2019 11:32:28 PM
收件人: apache/incubator-shardingsphere<EMAIL_ADDRESS>抄送: Anilople<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>主题: Re: [apache/incubator-shardingsphere] Cound one disable some SQL in Sharding proxy for safety? (#3542)
May I close this issue because we have no plan to do SQL audit now?
―
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://github.com/apache/incubator-shardingsphere/issues/3542?email_source=notifications&email_token=ADWN24R6UNFW2ELPSWRVE2TQUQBIZA5CNFSM4JOI4GE2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEEOS7TQ#issuecomment-555560910, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ADWN24UPRPZ7K3XDOGPYHXTQUQBIZANCNFSM4JOI4GEQ.


Improve descriptions with Markdown or other lightweight formatting options

It would be lovely to have an easy way to insert "formatted" text in the decription.
I haven't tried just doing ASCII escape codes yet, as I assume they should work, but being able to flag stuff as say "code" to use for output examples, and have that pop up in a different font, perhaps with an ASCII box around it, or just offset and a different colour/italisized.
If opening a issue as a Feature Request isn't the right process, please just close this.

That's a great idea actually.
There's a lot to be done on the UX side to make this more pleasant to work with, this is one avenue, thank you!
I'll look for some options & and how to potentially tackle it


fix(#92): updated Hoverfly to 0.10.0 & fixed test in GitHubServiceIT

changes proposed in this PR:

updated Hoverfly-java to 0.10.0
fixed GitHubServiceIT#throwExceptionOnDuplicateWebhook test
replaced deprecated method HoverflyConfig.configs() with HoverflyConfig.localConfigs()

fixes: #92

Can one of the admins verify this patch?

@centos-ci test this please

@centos-ci ok to test , test this please

Add to whitelist

[test]

LGTM. Mind rebasing this PR with the base branch before we merge it?

rebased @gastaldi

Thanks @MatousJobanek


Title: Adding a Grammar AutoCorrector Model

Initiative (Required)
GSSoC 2024 Extd 🚀
Is your feature request related to a problem? Please describe.
People often make grammatical mistakes while writing English texts. This Tool helps users to recheck if there is any grammatical error.
Describe the solution you'd like.
I would like to add a NLP model of Grammar AutoCorrector
A grammar autocorrector model helps users write clearly and professionally by correcting errors instantly. It saves time, boosts confidence, and aids learning by showing suggested improvements.
Add any other context or screenshots about the feature request here.
No response

@ipisitasahoo assign me this issue


Weird "example" for sts:ExternalId

If you check this document on IAM condition keys, you'll see the following text:

This value can be any string, such as a passphrase or account number. Because a cross-account role is usually set up to trust everyone in an account, the administrator of the trusting account might send an external ID to the administrator of the trusted account. That way, only someone with the ID can assume the role, rather than everyone in the account.

This seems to be suggesting to add a role trust policy targeting an entire account and then to use the ExternalId as a secret to guard access, which isn't really the intended use and also isn't safe. Indeed, the page it references right after that passage has a big loud warning right at the top telling users not to treat ExternalId as a secret:

Important
AWS does not treat the external ID as a secret. After you create a secret like an access key pair or a password in AWS, you cannot view them again. The external ID for a role can be seen by anyone with permission to view the role.

Can the documentation on this page be amended to not suggest an unsafe use of the field? Anyone with CloudTrail access could trivially circumvent the scheme described there. It seems better to immediately reference the confused deputy problem and tell people to read the longer page to learn more about it.

 I've updated the documentation to instead mention that the ExternalId is used to avoid the confused deputy problem. The docs will be live later today.

Thank you!


LogicalId, Version... are mandatory parameters for Set-IshPublicationOutput when trying to do a batch update using "|" symbol

I was trying to update metadata for a publication output. I'm facing an issue that I cannot use the option to pipe the data of the get commandlet to the set commandlet. This is because some parameters are mandatory for the commandlet.
$pubOutputs =  $pubs = Get-IshPublicationOutput -IshSession $session -LogicalId "GUID-..."

if ($pubOutputs.count -gt 0) {
   $pubOutputs | Set-IshPublicationOutput -IshSession $session -Metadata $updatedMetadata
}

@ddemeyer If you are ok with it I can provide a pull request to fix it.

Please go ahead Jan ☺
From: Jan Bevers<EMAIL_ADDRESS>Sent: dinsdag 9 mei 2017 15:11
To: sdl/ISHRemote<EMAIL_ADDRESS>Cc: Dave De Meyer<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: [sdl/ISHRemote] LogicalId, Version... are mandtory parameters for Set-IshPublicationOutput when providing publication output objects through piping (#18)
I was trying to update metadata for a publication output. I'm facing an issue that I cannot use the option to pipe the data of the get commandlet to the set commandlet. This is because some parameters are mandatory for the commandlet.
$pubOutputs =  $pubs = Get-IshPublicationOutput -IshSession $session -LogicalId "GUID-..."
if ($pubOutputs.count -gt 0) {
$pubOutputs | Set-IshPublicationOutput -IshSession $session -Metadata $updatedMetadata
}
@ddemeyerhttps://github.com/ddemeyer If you are ok with it I can provide a pull request to fix it.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/sdl/ISHRemote/issues/18, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AS4Y0dxNqIHMzJgj7PHy0wp44rzPq_pCks5r4GXzgaJpZM4NVS7_.
Click herehttps://www.mailcontrol.com/sr/MZbqvYs5QwJvpeaetUwhCQ== to report this email as spam.
[http://dr0muzwhcp26z.cloudfront.net/static/corporate/SDL_emailLogo.png]<www.sdl.com/>
www.sdl.com
SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us.
SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK.
This message has been scanned for malware by Websense. www.websense.com

So IshObjectGroup parameterset expects correct IshObjects to come in. The request here is to have Set-IshPublicationOutput do the metadata merge on every incoming IshObject.
Workaround could be
$publicationOutputIshObjects |
Set-IshMetadataField -IshSession $ishSession -Name FCHANGES -Level Version -Value "Converted" |
Set-IshPublicationOutput -IshSession $ishSession

Closed by #40


Seed control in unitxt

Today, unitxt uses a default seed (42) for all dataset.   It's not actually possible to change the seed today.
Changing the seed could effect the dataset significantly given random choices, so it should be controlled.
I initially thought it should be a parameter of the standard recipe so it will be explicit (also to ensure that HF caching will work correctly)
However, if we load multiple recipes  and they set multiple seeds and collide.
@elronbandel @matanor - what do you think? I don't see a good solution.

I think it would have been nice if we could have had params set on the recipie (meaning, passed between operators along the pipeline), and then they could be accessed by the individual operators. Then you could have a sub_seed set there, and operators could have used it, setting a separate sub_seed per dataset. Maybe that could be done by adding a dict of params to StreamingOperator?
Without that, a potential solution is setting the sub_seed on the instances.. like we do with other pipeline-level params (e.g. the name of the metrics).. that's IMO not a very nice long term solution, but maybe its ok, not sure.
What do you think?


(de)serialization behavior of missing/nothing

In Julia, there is (generally) a useful/meaningful semantic distinction between nothing and missing. IIUC, Arrow doesn't really have equivalent values that capture this distinction, but instead has null which might be used for either. This results in a bit of an impedance mismatch for us to resolve when (de)serializing nothing/missing data.
The current behavior feels like it "resolves" the impedance mismatch just by tossing this information altogether and normalizing to a single value, but the value it chooses to normalize to feels weird to me:
julia> Arrow.Table(Arrow.tobuffer((x = [missing, missing],))).x
2-element Arrow.NullVector{Missing}:
 missing
 missing

julia> Arrow.Table(Arrow.tobuffer((x = [nothing, nothing],))).x
2-element Arrow.NullVector{Nothing}:
 nothing
 nothing

julia> Arrow.Table(Arrow.tobuffer((x = [nothing, missing],))).x
2-element Arrow.NullVector{Nothing}:
 nothing
 nothing

 julia> Arrow.Table(Arrow.tobuffer((x = Any[nothing, missing],))).x
2-element Arrow.NullVector{Missing}:
 missing
 missing

It seems to me like Arrow.jl should either:

find some way to consistently preserve this distinction in all cases when (de)serializing Julia data (e.g. so that [nothing, missing] would roundtrip as [nothing, missing])
lean all-in on dropping the distinction, and force callers to pick what they want to interpret incoming Arrow nulls (e.g. nothing or missing) at read time.

FWIW option 2 is the approach JSON.jl takes with the null keyword argument to parse/parsefile. It has a default value of nothing but you can pass null=missing. This seems like a reasonable approach to me.


Destroy without reference?

Can we have a public method that will destroy a modal if indeed there is one present? Use case if if I don't have the variable reference any more. (for example by programatically wanting to show another modal)

Hi,
I am not sure I understand the intended goal. Maybe you can share a part of your code?

Well, I use your modal box for displaying preferences, but also when something bad happens with the app (child process quit, for example).
So if the preferences modal is open, and that child process quits, I need to show a more important alert. So for that I need to hide that previous modal. (To which I don't have a reference in my main process (using electron).
Anyway, was able to solve it by doing this:

function hidePossibleModal() {
    var nodes = document.querySelectorAll(".tingle-modal");
     Array.prototype.forEach.call(nodes, function(node) {
      node.parentNode.removeChild(node);
    });

    var body = document.querySelector('body');
    body.classList.remove("tingle-enabled");
  }

Indeed, if you can't keep the reference, I think the only way is to directly target the modal using his class.


Crash after dynamically adding plugin AckermannSteering

Environment

OS Version: Ubuntu 22.04
Source or binary build?
source build
gz-sim version: 907efc31f6ff5de0e5d32922f054601e643588f2
built with
gcc version: 11.4.0 (Ubuntu 11.4.0-1ubuntu1~22.04)
build options: -DCMAKE_BUILD_TYPE=Coverage

Description

Expected behavior: Gazebo doesn't crash
Actual behavior: Gazebo crashes

Steps to reproduce

gz sim a.txt -r
add plugin AckermannSteering with gz service command

gz service --timeout 10000 -s /world/world_0/entity/system/add --reptype gz.msgs.Boolean --reqtype gz.msgs.EntityPlugin_V --req 'entity {
  id: 4
}
plugins {
  name: "gz::sim::systems::AckermannSteering"
  filename: "gz-sim-ackermann-steering-system"
  innerxml: "<left_joint>front_left_wheel_joint</left_joint>\n        \n<left_joint>rear_left_wheel_joint</left_joint>\n        \n<right_joint>front_right_wheel_joint</right_joint>\n        \n<right_joint>rear_right_wheel_joint</right_joint>\n        \n<left_steering_joint>front_left_wheel_steering_joint</left_steering_joint>\n        \n<right_steering_joint>front_right_wheel_steering_joint</right_steering_joint>\n        \n<kingpin_width>1.0</kingpin_width>\n        \n<steering_limit>0.5</steering_limit>\n        \n<wheel_base>1.0</wheel_base>\n        \n<wheel_separation>1.25</wheel_separation>\n        \n<wheel_radius>0.3</wheel_radius>\n        \n<min_velocity>-1</min_velocity>\n        \n<max_velocity>1</max_velocity>\n        \n<min_acceleration>-3</min_acceleration>\n        \n<max_acceleration>3</max_acceleration>\n      "
}'

could also be reproduced by extracting a.tar.gz, and then run
bash a.sh

Output
Stack trace (most recent call last) in thread 57857:
#11   Object "[0xffffffffffffffff]", at 0xffffffffffffffff, in
#10   Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f0f952a684f, in
#9    Object "/lib/x86_64-linux-gnu/libc.so.6", at 0x7f0f95214ac2, in
#8    Object "/lib/x86_64-linux-gnu/libstdc++.so.6", at 0x7f0f90f51252, in
#7    Object "/home/ren/play/robot/workspace/install/lib/libgz-sim8.so.8", at 0x7f0f8ebf0c8f, in
#6    Object "/home/ren/play/robot/workspace/install/lib/libgz-sim8.so.8", at 0x7f0f8ebf0ccf, in
#5    Object "/home/ren/play/robot/workspace/install/lib/libgz-sim8.so.8", at 0x7f0f8ebf0d43, in
#4    Object "/home/ren/play/robot/workspace/install/lib/libgz-sim8.so.8", at 0x7f0f8ebf0e15, in
#3    Object "/home/ren/play/robot/workspace/install/lib/libgz-sim8.so.8", at 0x7f0f8ebf0ead, in
#2    Object "/home/ren/play/robot/workspace/install/lib/libgz-sim8.so.8", at 0x7f0f8ebe0fb1, in
#1    Object "/data/play/robot/workspace/install/lib/gz-sim-8/plugins/libgz-sim-ackermann-steering-system.so", at 0x7f0f50591097, in gz::sim::v8::systems::AckermannSteering::PostUpdate(gz::sim::v8::UpdateInfo const&, gz::sim::v8::EntityComponentManager const&)
#0    Object "/data/play/robot/workspace/install/lib/gz-sim-8/plugins/libgz-sim-ackermann-steering-system.so", at 0x7f0f50593472, in gz::sim::v8::systems::AckermannSteeringPrivate::UpdateVelocity(gz::sim::v8::UpdateInfo const&, gz::sim::v8::EntityComponentManager const&)
Segmentation fault (Address not mapped to object [(nil)])

sim crashes because the specified joints are not available in the box model. #2521 prevents the crash.


Some bugs.

1;
env:get_path() return is nil
2;
env:set_mapsize(102400)
env:open(db_path, lmdb.MDB_FIXEDMAP + lmdb.MDB_NOTLS, 420)
If grow again.program crash
Maybe we need mdb_set_relctx function?

The relctx and associated functions were never implemented in LMDB 0.9. Using FIXEDMAP is basically unsupported at this point. Using FIXEDMAP and growing the map is very likely going to cause a crash if the map grows onto space that was being used for something else (like program code, a shared library, etc.).

Apologies for the belated response. My understanding that the relfunc and relctx use cases make sense when used by native code. I don't see Lua code doing pointer arithmetic, or am I missing something? What is the use-case you gave in mind?


changed private functions to protected

Hello,
Thank you for your work on SleekDB, that's exactly what I was looking for !
I just wanted to extends the class to implement a little change, that is very specific to my project, but I could not beccause of private functions.
I could copy it just for me but I will lose the composer's updates.
So I've followed the contributing description and created a new fork/branch
https://sleekdb.github.io/#contributing
And I just changed every
I've tried all the manual's examples to see if there where no bugs and it was ok to me.
Thank you for this nice project !
Vincent, from France

exactly what I needed, thank you @vincent-peugnet
Simon, from France

Thanks @vincent-peugnet for the pr, i have plan to merge your changes in this Friday 🤞


Enhancing Research and Education Page

[ ] Adding AOS animation to card elements in Research Page
[ ] Changing Research page elements to flex-box div for more responsiveness(The research page has elements listed out as table elements where as one on the education page are flex-box)
[ ] (Suggestion) Changing the preloader form the current "blue-cube" to something more engaging

This Issue as a part of my contribution towards LGM-SOC'21

Assigned for a week for the overall issue. But I would suggest splitting the work in 3 PRs

Can I work on this issue under LGM SOC

Can I work on this issue under LGM SOC

No. It's by default assigned to the participant who raised the issue

@Salonee-Jain  In case you wish to contribute further to the above pages. Please raise a new issue with an elaborate description of your proposal


channel wise interpolation (CWI)

Hi, Xuanyi. Could you please provide more details about CWI?  I meet problem reading the http://arxiv.org/abs/1905.09717

All source codes have been released. What details do you want to know?

https://github.com/D-X-Y/NAS-Projects/tree/master/exps/algos
Is the code in url above?
Sorry, but I didn't find the algo in http://arxiv.org/abs/1905.09717.

Please follow the instructions here: https://github.com/D-X-Y/NAS-Projects#network-pruning-via-transformable-architecture-search

Feel free to re-open this issue if you have further questions.


How to send final output to the parent component in angular?

I am trying to send the final survey result to the parent component using EventEmitter.  I have tried the following;
#ParentComponent
@Component({
   selector: 'initial-self-assessment',
   template: '<survey [json]="data" (onCompleted)="onCompleted($event)"></survey>',
})
export class ParentComponent implements OnInit{

       data;
       ngOnInit() {
               this.data = getDataUsingService();
       }
       onCompleted(output: string){
             console.log(output);
       }
}

#SurveyComponent
@Component({
  selector: "survey",
  template: `<div class="survey-container contentcontainer codecontainer"><div id="surveyElement"></div></div>`
})
export class SurveyComponent implements AfterViewInit {
  completedPage: any;
  storageName ="completed_questions";
  data: any;

  @Output() onCompleted = new EventEmitter<any>();

  @Input()
  set json(value: object) {

    const surveyModel = new Survey.Model(value);

    this.loadState(surveyModel);
    Survey.Survey.cssType = "bootstrap";
    Survey.defaultBootstrapCss.header = "h6";
    Survey.defaultBootstrapCss.navigationButton = "btn btn-success";

    surveyModel.showCompletedPage = true;
    surveyModel.sendResultOnPageNext = true;

    surveyModel.onPartialSend.add(this.partialDataSaved);
    surveyModel.onCurrentPageChanged
      .add(function (survey, options) {

        let res = {
          currentPageNo: survey.currentPageNo,
          data: survey.data,
          mode: survey.mode
        };

        localStorage.setItem("completed_questions", JSON.stringify(res));
    });

    surveyModel.onComplete.add(this.sendDataToServer);
    Survey.SurveyNG.render("surveyElement", { model: surveyModel});

  }
  sendDataToServer(survey, completed) {
    //send Ajax request to your web server.
    alert("The results are:" + JSON.stringify(survey.data));
    let res = {
      currentPageNo: survey.currentPageNo,
      data: survey.data,
      mode: 'display'
    };

    this.onCompleted.emit(survey.data);
    console.log(survey.data);
    localStorage.setItem("completed_questions", JSON.stringify(res));
  }
}

But it is not working in this way. I am getting onCompleted is undefined error. Could you please guide me to solve this. Thank you.

Looks like you have a wrong context in the sendDataToServer function. This was discussed in this thread - https://surveyjs.answerdesk.io/internal/ticket/details/T424
The solution was to use the "fat arrow" function dectaration:
sendDataToServer = (survey, completed) => {
    //send Ajax request to your web server.
    alert("The results are:" + JSON.stringify(survey.data));
    let res = {
      currentPageNo: survey.currentPageNo,
      data: survey.data,
      mode: 'display'
    };

    this.onCompleted.emit(survey.data);
    console.log(survey.data);
    localStorage.setItem("completed_questions", JSON.stringify(res));
  }

Thank you very much.  It works.


not getting any trade offers

When calling getOffers, I am only getting 4 offers from several weeks ago.  I have confirmed that the account can see the offers by logging in, and the tradeOffers event fires, but i always get the same 4 offers.
bot.offers.getOffers({
    get_received_offers: 1,
    active_only: 1,
    get_descriptions: 1,
    time_historical_cutoff: Math.round(Date.now() / 1000 + 3500)
 }, function(error, body){
    console.log(body);
    if(error){winston.error(error)};
    if(body && body.response){
      if(body.response.trade_offers_received){

bot is the object containing my custom bot code, and console.log(body) returns { response: {} }

was using the api key of the sender, not the receiver.


[BUG] Dane's Customize

I tried to use dane's customize stuff yesterday, but when I start the game my game looks like the screenshot, and in one round I don't see the kill feed, ammo etc.

Update: I have tested the other #users stuff, and have a problem with all but toth. I have already described it above dane, at ly_dee I see the ammo etc. but not the menu normal. The one from truktruk_ has the same problems as the one from Dane.  and here is a screenshot from my Video Resolution etc. if you need that

Update 2.0: I found the 2 problems for me, but idk how can i fix them.  one problem is by the scripts folder the hudlayout.res which makes i cant see ammo and the other stuff. And by by #Customization the bh_colors.res file, which makes the graphic buggy (first screenshot what i did). maybe a problem from/with the file or just from me, not  sure.

 I fixed it already so i dont need help.


add support for disabling inputs

I did a quick code review and looks ok to me. I'm sure you have tested it.
This code feels sooo looong time ago ...
And that reminds me that I had started to convert the state-IO FW to PIO but never pushed it to GitHub. I think I should do that so it can be updated with your latest changes.


fastapi doesn't use host passed to uvicorn

FastApi output log shows a host different from the one supplied to uvicorn.
Two computers, both running fastapi. I log into computer #1 through an SSH tunnel and run fastapi using host-x. I log into computer #1 again and then ssh into computer #2 and run fastapi there using a different host-y. I then send requests to the different hosts, each of which returns 200 OK.
The problem is that fastapi running on computer #2 uses the host corresponding to the computer #1 host even though uvicorn is supplied a different host. If I add a third computer logged into from computer #1, the same thing happens.
One difference is that the host on computer#1 is shown in the eth0 section of ifconfig whereas the host on computer #2 is shown in the wlan0 section of ifconfig. So maybe fastapi is somehow resolving the wlan0 host of computer #2 to the eth0 host of computer #1 on the other side of the ssh connection.
Ultimately, how can I force fastapi to use the same host as uvicorn? Where is fastapi picking up computer #1's host? Is this purely a networking problem, or can fastapi take a parameter (that I haven't found) that makes sure that uvicorn and fastapi agree on the host? The code currently initializes the FastAPI object with no arguments.
running on computer #1 (logged into through ssh tunnel)
(venv) gary@batterypi:~/thenthis $ python run.py --host <IP_ADDRESS>
INFO:     Started server process [23966]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://<IP_ADDRESS>:8000 (Press CTRL+C to quit)
INFO:     <IP_ADDRESS>:46096 - "GET /actions/system_info/execute HTTP/1.1" 200 OK
running on computer #2 (logged into from computer #1)
(venv) gary@remotepi:~/remoteapi $ python run.py --host <IP_ADDRESS>
INFO:     Started server process [27012]
INFO:     Waiting for application startup.
INFO:     Application startup complete.
INFO:     Uvicorn running on http://<IP_ADDRESS>:8000 (Press CTRL+C to quit)
INFO:     <IP_ADDRESS>:58604 - "GET /actions/system_info/execute HTTP/1.1" 200 OK
run.py.pdf

I assume you solved it, thanks for closing the issue 👍

Sorry for the long delay! 🙈  I wanted to personally address each issue/PR and they piled up through time, but now I'm checking each one in order.


Unable to unsubscribe from newsletter

Toggling the newsletter results in
Uncaught TypeError: Cannot read property 'context' of undefined
    at portal.min.js:3
    at onToggle (portal.min.js:3)
    at onClick (portal.min.js:3)
    at Object.l (portal.min.js:3)
    at d (portal.min.js:3)
    at portal.min.js:3
    at b (portal.min.js:3)
    at an (portal.min.js:3)
    at tn (portal.min.js:3)
    at on (portal.min.js:3)

Reproduceable on https://demo.ghost.io/#/portal/account
Since the Portal has no issue tracker for whatever reason there's one additional thing I'd like to point out: please do NOT load the latest version of the portal script automatically. This is highly insecure and can cause serious damage for obvious reasons.

Thanks for the issue and PR @nehalist . By default, a released Ghost version only loads the latest patch on tagged minor version for Portal script specified in config. This is the expected behaviour for now as it allows us to patch any critical bug in Portal not related to Ghost changes directly.

Portal doesn't have it's own issue tracker, but it does have a security policy: https://github.com/TryGhost/Portal/security/policy
If you think you've found a vulnerability please follow the policy and disclose responsibly.


Dynamically set Auth0 SDK strategy based on request type

Proposed changes
Updates Auth0 SDK to the latest version and implements a middleware and event listener to dynamically set the SDK strategy based on the type of the request (webapp for stateful requests and api for stateless requests).
Types of changes
What types of changes does your code introduce to this repository?

[ ] Bugfix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)

Testing
Unit testing
n/a
Manual testing
Tested it manually in dataset service. @EmielSchmeink please test in user tool as well. This version can be installed using
composer require marketredesign/mrd-auth0-laravel:dev-feature/auth0-strategy

Further comments
Almost all tests were broken and had to be fixed :/

Codecov Report
Base: 90.18% // Head: 88.29% // Decreases project coverage by -1.88% :warning:

Coverage data is based on head (7ef1a20) compared to base (825ffd4).
Patch coverage: 50.00% of modified lines in pull request are covered.

Additional details and impacted files
@@              Coverage Diff              @@
##             develop      #37      +/-   ##
=============================================
- Coverage      90.18%   88.29%   -1.89%
- Complexity        94       98       +4
=============================================
  Files             15       17       +2
  Lines            326      376      +50
=============================================
+ Hits             294      332      +38
- Misses            32       44      +12

Impacted Files
Coverage Δ

src/Listeners/SetAuth0Strategy.php
0.00% <0.00%> (ø)

src/Http/Middleware/SetRequestType.php
100.00% <100.00%> (ø)

src/MrdAuth0LaravelServiceProvider.php
100.00% <100.00%> (ø)

src/Logging/NewRelicLogger.php
0.00% <0.00%> (ø)

src/Traits/ActingAsAuth0User.php
100.00% <0.00%> (ø)

src/Repository/Auth0Repository.php
100.00% <0.00%> (ø)

src/Repository/DatasetRepository.php
100.00% <0.00%> (ø)

src/Http/Resources/DatasetResource.php
100.00% <0.00%> (ø)

src/Http/Middleware/CheckPermissions.php
100.00% <0.00%> (ø)

... and 4 more

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.

the assumption is that if all tests pass, then the strategy setting works, since it didn't interfere with any of the tests?

@EmielSchmeink I don't think we can make that assumption. Added tests that verify the intended behavior now.


<EMAIL_ADDRESS>Add required registry keys

PWAsForFirefox needs some registry keys to function correctly. This PR adds those keys in post_install and removes them in post_uninstall. More details are here.
Additionally, I've changed the description and added notes to be consistent with other PWAsForFirefox packages.
There is still one remaining issue PWAsForFirefox won't be able to locate 7-Zip installed via Scoop. This will be fixed in the next PWAsForFirefox version. More details are here.
Closes #11321

[x] I have read the Contributing Guide.

/verify

I've fixed conflicts that were caused by the new version and also added suggestions for vcredist and Firefox.


:sparkles: feat: detail tabs

To see the specific tasks where the Asana app for GitHub is being used, see below:

https://app.asana.com/0/0/1206703665848193

![image](https://github.com/interest-protocol/movement/assets/59171412/e1774c27-1f38-4014-a6ae-b9061d822a60)


Update spec to v1.13.0 or later

When you update the spec repo, also remember to:

[ ] Remove the lines in https://github.com/open-telemetry/opentelemetry.io/blob/main/scripts/adjust-spec-pages.pl that are no longer required. For context, see

#1467

[ ] Do the remaining change (subtask) of #1492

The spec has already been updated to 1.16. Closing this issue. Subtasks are being tracked separately.


Create Data Model and Lock Object in SAP Cloud Platform ABAP Environment

Same issue than a previous post....
Problem with STEP 5 : use of I_BusinessUser is not permitted => can't activate.
I use SAP cloud plateform trial, and i have an instance with SAP ABAP environment.
Lastest updates for eclipse ADT are installed at this date.
The course can be completed if i remove the association or is it needed for the next steps of the course?
Thanks a lot for your help.
ALexandre

Hi @AlexandreO33 ,
This tutorial is marked with a licensed key on the top left corner., this means, that this tutorial only works for licensed systems. With ABAP trial you are not able to do so.
Best regards,
Merve

Thank you for your feedback. The issue seems to be resolved, so I am closing the issue.
If you still have questions, feel free to reopen the issue.

Yes sorry for not answering back.
Have a good day
Téléchargez Outlook pour Androidhttps://aka.ms/ghei36

From: Michael Czadankiewicz<EMAIL_ADDRESS>Sent: Monday, November 9, 2020 1:02:24 PM
To: SAPDocuments/Tutorials<EMAIL_ADDRESS>Cc: AlexandreO33<EMAIL_ADDRESS>Mention<EMAIL_ADDRESS>Subject: Re: [SAPDocuments/Tutorials] Create Data Model and Lock Object in SAP Cloud Platform ABAP Environment (#6101)
Thank you for your feedback. The issue seems to be resolved, so I am closing the issue.
If you still have questions, feel free to reopen the issue.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHubhttps://github.com/SAPDocuments/Tutorials/issues/6101#issuecomment-723970586, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ARS6STPPJ57HITRUFOT2WY3SO7K5BANCNFSM4TGUCFLA.


Implement an optional and configurable code path that uses $apply for PlanDefenition execution

Describe the feature request.
As a content creator and project implementer I want to be able to run $apply on a PlanDefinition and any referenced CQL to create output resources, e.g. CarePlans.
I want this to optionally enable this instead of or in addition to the current method of executing PlanDefinitions.
Additional context
Our current approach to executing PlanDefinitions is to run a StructureMap on the PlanDefinition that uses FHIRPath within it to create additional resources.
The android-fhir repo has an example app that executes a PlanDefinition using $apply through their Workflow API.
Acceptance criteria

[ ] Google's example PlanDefinition is loaded into an app config that also includes a config to execute it through the app UI
[ ] Executing the PlanDefinition through the app UI products the expected output

Area path

Login to the WHO EIR
Open Navigation bar
Click on Patient register
Click on Add a patient
Click on Run plan def configured in the add patient questionnaire

Implementation plan (For Engineers)

[ ] Introduce a new boolean config property in QuestionnaireConfig.generateCarePlanWithWorkflowApi. When set to true, use $apply from the Workflow library to generate CarePlan otherwise default to using the current approach in FhirCarePlanGenerator#generateOrUpdateCarePlan().

[ ] Update the signature for the function FhirCarePlanGenerator#generateOrUpdateCarePlan() to include a new parameter generateCarePlanWithWorkflowApi. The value for this param should be obtained from the QuestionnaireConfig, which is available in the QuestionnaireViewModel (where the generate CarePlan function is called).

[ ] NOTE: The FhirCarePlanGenerator#generateOrUpdateCarePlan() is an overloaded function. The one to be updated has planDefinitionId: String in its parameters and is invoked directly in the QuestionnaireViewModel.

[ ] Implement functionality to execute $apply to generate CarePlan. Ideally, this should be done in a separate class (WorkflowCareplanGenerator). The class will be injected into FhirCarePlanGenerator constructor.

[ ] Update the implementation inside FhirCarePlanGenerator#generateOrUpdateCarePlan() to either use the new WorkflowCareplanGenerator.generateCarePlan() or the current depending on the value passed through the QuestionnaireConfig.generateCarePlanWithWorkflowApi property.

[ ] The implementation for WorkflowCarePlanGenerator.generateCarePlan() can be adapted from this function applyPlanDefinitionOnPatient in the sample application. Copy and modify all the necessary functions from the sample code to WorkflowCarePlanGenerator as required.

[ ] Remember to document the functions and use the HILT injected instances of the KnowledgeManager and FhirOperator. The two can be injected as constructor properties of the WorkflowCarePlanGenerator class.

@owais-vd I've updated the implementation plan for this issue. Do let me know if you need any clarification.
cc: @dubdabasoduba


Code card should be clickable (not just header)

Currently, only the header is clickable and it is not obvious for users that this can happen. We should make the entire code card clickable.

Fixed in commit b2362299a72859703edb7371232c53f58c406d17


Cant print phone number together with the selected country

import UIKit
import CountryPickerView
class LoginController: UIViewController{
@IBOutlet weak var phoneNumber: UITextField!
override func viewDidLoad() {
    super.viewDidLoad()

    // Do any additional setup after loading the view, typically from a nib.

    phoneNumber.setBottomBorder(backGroundColor: .white, borderColor: GREEN_THEME)
    let cpv = CountryPickerView(frame: CGRect(x: 0, y: 0, width: 120, height: 20))
    phoneNumber.leftView = cpv
    phoneNumber.leftViewMode = .always

}

override func didReceiveMemoryWarning() {
    super.didReceiveMemoryWarning()
    // Dispose of any resources that can be recreated.
}

@IBAction func loginAction(_ sender: Any) {
    print("\(phoneNumber.text)")

}

}
`

The library only handles country code information. You need to retrieve the phone number from your text field.
E.g: print("\(countryCodeView.selectedCountry.phoneCode)\(phoneNumberField.text)")


Attempt to drain receiver before closing

Fixes https://github.com/Azure/azure-sdk-for-net/issues/31883

/azp run net - servicebus - tests

API change check
API changes are not detected in this pull request.

/azp run net - servicebus - tests


launch.json for vscode

If you'd like to debug in vscode debugger is it possible together w/ gulp? I've tried to setup a launch config like this
{ 	"version": "0.2.0", 	"configurations": [ 		{ 			"name": "Launch", 			"type": "node", 			"request": "launch", 			"program": "app/main.ts", 			"stopOnEntry": false, 			"args": [], 			"cwd": ".", 			"runtimeExecutable": null, 			"runtimeArgs": [ 				"--nolazy" 			], 			"env": { 				"NODE_ENV": "development" 			}, 			"externalConsole": false,             "preLaunchTask": "",             "sourceMaps": true,             "outDir": "dist/dev" 		}, 		{ 			"name": "Attach", 			"type": "node", 			"request": "attach", 			"port": 5858 		} 	] }
but I get stuck at
angular2-seed/node_modules/angular2/src/core/util/decorators.js:161     throw 'reflect-metadata shim is required when using class decorators';     ^ reflect-metadata shim is required when using class decorators

@malfborger Do you want to debug the ng2 app or the build tools ?

the whole ng2 app! @ludohenin

I'm assuming you are trying to debug the final app and not the build... if that is the case, VSCode does not provide integration with Chrome out of the box. There is an extension to do this job...  but I have never used it... So I cannot tell if it works...

I'm trying to debug the current build, are you guys doing it in dev tools instead?

@malfborger yes that's what I do, and use vscode debugger for node applications.

Me too... just press F12 inside chrome and be happy ;)

hehe ok, I'll start w/ that :) Thanks for quick answers, close it :)

Any help here ? How to debug with vscode @malfborger

with vscode you can debug server side but not client side app

I watched this video and trying to figure out the workflow https://www.youtube.com/watch?v=E9ixpuLTUUk @ludohenin


Error when marking as read or deleting conversation

I'm a bit of a newcomer to rails and used a tutorial a while back to implement a conversations controller.
I'm now trying to add mark as read and when I try to use this line
<% conversation.mark_as_read(current_user) %>
I get the following error:
SQLite3::RangeException: bind or column index out of range: UPDATE "mailboxer_receipts" SET "is_read" = 't' WHERE (id = 2 OR id = 25 )
I get a similar error when trying to trash a conversation. I'm not sure what parts of my code you'd need to see to fix this but I'll post any further details that you'd need if someone is prepared to give me some pointers.
I'm using rails 4.2 and the latest version of mailboxer.

Evidently I wasn't on the most up to date version of mailboxer as I thought. Upgraded to 12.5.0 and seems to work. Oops.


[BUG] Bloxtrap failed to start [An execpiton occurred while running Bloxtrap]

Hello, When i try to install BloxTrap it just gives me this error when it starts:
Error message:
2023-11-15T14:10:56Z [App::OnStartup] Starting Bloxstrap v2.5.3
2023-11-15T14:10:56Z [App::OnStartup] Compiled Wednesday, 11 October 2023 at 9:29:04 AM from commit a099d160726f4d5ac832f97a8e167ae0338193ad (tag/v2.5.3)
2023-11-15T14:10:56Z [App::OnStartup] Loaded from %UserProfile%\Downloads\Bloxstrap-v2.5.3.exe
2023-11-15T14:10:56Z [Logger::Initialize] Initializing at %UserProfile%\AppData\Local\Bloxstrap\Logs\Bloxstrap_20231115T141056Z.log
2023-11-15T14:10:56Z [App::GlobalExceptionHandler] An exception occurred
2023-11-15T14:10:56Z [App::FinalizeExceptionHandling] System.IO.DirectoryNotFoundException: Could not find a part of the path '%UserProfile%\AppData\Local\Bloxstrap\Logs'.
at System.IO.FileSystem.CreateDirectory(String fullPath, Byte[] securityDescriptor)
at System.IO.Directory.CreateDirectory(String path)
at Bloxstrap.Logger.Initialize(Boolean useTempDir)
at Bloxstrap.App.OnStartup(StartupEventArgs e)
at System.Windows.Application.<.ctor>b__1_0(Object unused)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
Preview of the error message:

Can anyone help me fix this issue when starting Bloxtrap and when trying to install Bloxtrap on my Windows 11 23H2 PC?

...Did you attempt to uninstall it by just deleting the folder it was installed to?

Move it back, uninstall it, then reinstall it with the new location that you prefer.


Make oiiotool -autocc gracefully handle unknown color spaces.

When using --autocc, previously having the deduced color space be one
whose transformation was unknown was a hard error that would exit
oiiotool.  This patch changes an unknown color space be a warning, with
the rest of the oiiotool commands proceeding despite not transforming
the colors (this is just for the automatic transformations triggered by
--autocc).

Did you get a chance to test this, @danwexler ?

@danwexler reports that this works