[SUPPORT]query by hive-on-mr get the wrong result

Env:
Hive 2.1.1
Hudi: 0.5.2
Spark: 2.4.5
MOR table and upsert  operation , when  query with spark-sql get the right result, but query with hive-on-mr get the wrong result.
My Table Info:
Table Name: user
Recored Key: distinct_id
SQL  : select distinct_id ,count(1) from user group by distinct_id order by distinct_id desc limit 10
Query with Spark ，result is right.
+-----------+--------+
|distinct_id|count(1)|
+-----------+--------+
|   51819928|       1|
|   51819908|       1|
|   51819791|       1|
|   51819580|       1|
|   51819136|       1|
|   51819001|       1|
|   51818734|       1|
|   51818645|       1|
|   51818417|       1|
|   51818329|       1|
+-----------+--------+
Query with hive:  result is wrong, the count value should be  1 for each distinct_id ,because the distinct_id is record key , upsert shoud be merge.
+--------------+-----+--+
| distinct_id  | c1  |
+--------------+-----+--+
| 51819928     | 8   |
| 51819908     | 22  |
| 51819791     | 7   |
| 51819580     | 11  |
| 51819136     | 9   |
| 51819001     | 24  |
| 51818734     | 9   |
| 51818645     | 23  |
| 51818417     | 22  |
| 51818329     | 26  |
Query with hive:  select * from user where distinct_id='51819928' ;
the query result  only one row, it is right.   so strange!

It looks like Hudi's input format is not picked up in hive. are you using beeline to query hive ?  Could you share your beeline command ?

set hive.input.format=org.apache.hudi.hadoop.hive.HoodieCombineHiveInputFormat
solved the problem


Continue lesson

Add an option to continue your option.
This is now prepared. The lesson component will save:

title
url
date

the next time a user will open a non-lesson page, there should be a pop-up / notification if he / she wants to continue the lesson.
https://sweetalert2.github.io/ could be a possible package to use that.
This message should just come 1 time and then it should be deleted from the local storage and this popup should only come after a certain amount of time have passed.

Current implementation with SweetAlert2


dropdown with custom field

closes #513
closes #668

UX issue: if I choose a custom prefix like "lalala" and then close/reopen the fold, the state is blown away and it shows up as "please choose". This type of thing is why we basically can never use state in our custom components... it's too brittle. We should do something like iterate over the options and assume that if the prefix is not one of the options, it's a custom one (with a special case for "" with state if needed)

addressed all the above

looks good to me 💃


Unable to add function arguments to FuncOp

When creating a FuncOp one can configure a type and the entry block is generated automatically. But it seems that there is no API available to add named function arguments to the FuncOp that can be used to introduce the arguments as Operands with other Ops.
Example code used to create the function (full code here):
        // AST input.
        let prototype = function.prototype;
        let body = function.body;

        // create types
        let result_type = vec![num_ty];
        let arg_types = vec![num_ty; prototype.args.len()];
        let fn_type = FunctionType::get(ctx, arg_types, result_type);

        // create function
        let fn_op = FuncOp::new_unlinked(ctx, prototype.name.as_str(), fn_type);
        fn_op.get_operation().insert_at_back(block, ctx);

        // add function body
        let block = fn_op.get_entry_block(ctx);
        let body = expr(ctx, block, body)?;
        let ret_op = kal::ReturnOp::new_unlinked(ctx, body);
        ret_op.get_operation().insert_at_back(block, ctx);

I'm not sure I understand the concern right.
You want to be able to use the function arguments as SSA operands (i.e., as operands of other OPs)? The way to do that would be to use the arguments of the entry block of the function.
Setting a name on them can be done through set_block_arg_name

I think we can close the issue. Fixed in #26


build error for 5.4.0

I have a customer trying to build this for 5.4.0 release and we have run into this error.
[mbp:shield-custom-realm-example-master]$ gradle build --info
Starting Build
Settings evaluated using settings file '/Users/surfer/Downloads/shield-custom-realm-example-master/settings.gradle'.
Projects loaded. Root project using build file '/Users/surfer/Downloads/shield-custom-realm-example-master/build.gradle'.
Included projects: [root project 'x-pack-custom-realm-extension-example']
Evaluating root project 'x-pack-custom-realm-extension-example' using build file '/Users/surfer/Downloads/shield-custom-realm-example-master/build.gradle'.
FAILURE: Build failed with an exception.

Where:
Build file '/Users/surfer/Downloads/shield-custom-realm-example-master/build.gradle' line: 39

What went wrong:
A problem occurred evaluating root project 'x-pack-custom-realm-extension-example'.

Failed to apply plugin [id 'carrotsearch.randomized-testing']
Could not generate a proxy class for class com.carrotsearch.gradle.junit4.RandomizedTestingTask.

Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.

BUILD FAILED
Total time: 2.655 secs
Stopped 0 compiler daemon(s)
Since the error is from carrotsearch.randomized-testing, I will try to comment this block and try to build it.

I used gradle 3.3.5 and here is the build error.
[mbp:shield-custom-realm-example-master]$ gradle build --info
Initialized native services in: /Users/surfer/.gradle/native
Removing 0 daemon stop events from registry
Starting a Gradle Daemon (subsequent builds will be faster)
Starting daemon process: workingDir = /Users/surfer/.gradle/daemon/3.5, daemonArgs: [/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/bin/java, -XX:MaxPermSize=256m, -XX:+HeapDumpOnOutOfMemoryError, -Xmx1024m, -Dfile.encoding=UTF-8, -Duser.country=US, -Duser.language=en, -Duser.variant, -cp, /Users/surfer/.sdkman/candidates/gradle/3.5/lib/gradle-launcher-3.5.jar, org.gradle.launcher.daemon.bootstrap.GradleDaemon, 3.5]
Starting process 'Gradle build daemon'. Working directory: /Users/surfer/.gradle/daemon/3.5 Command: /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/bin/java -XX:MaxPermSize=256m -XX:+HeapDumpOnOutOfMemoryError -Xmx1024m -Dfile.encoding=UTF-8 -Duser.country=US -Duser.language=en -Duser.variant -cp /Users/surfer/.sdkman/candidates/gradle/3.5/lib/gradle-launcher-3.5.jar org.gradle.launcher.daemon.bootstrap.GradleDaemon 3.5
Successfully started process 'Gradle build daemon'
An attempt to start the daemon took 0.76 secs.
Connected to daemon DaemonInfo{pid=8215, address=[1152b074-6a2d-4dc2-8670-fc3b455f8203 port:49668, addresses:[/0:0:0:0:0:0:0:1, /<IP_ADDRESS>]], state=Busy, lastBusy=1495787079132, context=DefaultDaemonContext[uid=9f2730a8-023d-4c03-88df-e4a19845f808,javaHome=/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home,daemonRegistryDir=/Users/surfer/.gradle/daemon,pid=8215,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant]}. Dispatching request Build{id=e9ec33e8-eaf9-4217-9f48-0c8cdf180ea0.1, currentDir=/Users/surfer/Downloads/shield-custom-realm-example-master}.
Received result org.gradle.launcher.daemon.protocol.BuildStarted@e383572 from daemon DaemonInfo{pid=8215, address=[1152b074-6a2d-4dc2-8670-fc3b455f8203 port:49668, addresses:[/0:0:0:0:0:0:0:1, /<IP_ADDRESS>]], state=Busy, lastBusy=1495787079132, context=DefaultDaemonContext[uid=9f2730a8-023d-4c03-88df-e4a19845f808,javaHome=/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home,daemonRegistryDir=/Users/surfer/.gradle/daemon,pid=8215,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant]} (build should be starting).
The client will now receive all logging from the daemon (pid: 8215). The daemon log file: /Users/surfer/.gradle/daemon/3.5/daemon-8215.out.log
Starting build in new daemon [memory: 954.7 MB]
Executing build with daemon context: DefaultDaemonContext[uid=9f2730a8-023d-4c03-88df-e4a19845f808,javaHome=/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home,daemonRegistryDir=/Users/surfer/.gradle/daemon,pid=8215,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant]
Creating new cache for fileHashes, path /Users/surfer/.gradle/caches/3.5/fileHashes/fileHashes.bin, access org.gradle.cache.internal.DefaultCacheAccess@28fad487
Creating new cache for jvmRuntimeClassSignatures, path /Users/surfer/.gradle/caches/3.5/fileHashes/jvmRuntimeClassSignatures.bin, access org.gradle.cache.internal.DefaultCacheAccess@28fad487
Creating new cache for plugin-use-metadata, path /Users/surfer/.gradle/caches/3.5/plugin-resolution/plugin-use-metadata.bin, access org.gradle.cache.internal.DefaultCacheAccess@f8261bd
Creating new cache for client-status, path /Users/surfer/.gradle/caches/3.5/plugin-resolution/client-status.bin, access org.gradle.cache.internal.DefaultCacheAccess@f8261bd
Starting Build
Compiling settings file '/Users/surfer/Downloads/shield-custom-realm-example-master/settings.gradle' using SubsetScriptTransformer.
Compiling settings file '/Users/surfer/Downloads/shield-custom-realm-example-master/settings.gradle' using BuildScriptTransformer.
Settings evaluated using settings file '/Users/surfer/Downloads/shield-custom-realm-example-master/settings.gradle'.
Projects loaded. Root project using build file '/Users/surfer/Downloads/shield-custom-realm-example-master/build.gradle'.
Included projects: [root project 'x-pack-custom-realm-extension-example']
Evaluating root project 'x-pack-custom-realm-extension-example' using build file '/Users/surfer/Downloads/shield-custom-realm-example-master/build.gradle'.
Compiling build file '/Users/surfer/Downloads/shield-custom-realm-example-master/build.gradle' using SubsetScriptTransformer.
Creating new cache for metadata-1.1/results, path /Users/surfer/.gradle/caches/transforms-1/metadata-1.1/results.bin, access org.gradle.cache.internal.DefaultCacheAccess@5a5a843d
Creating new cache for metadata-2.23/module-metadata, path /Users/surfer/.gradle/caches/modules-2/metadata-2.23/module-metadata.bin, access org.gradle.cache.internal.DefaultCacheAccess@1ac8b236
Creating new cache for metadata-2.23/module-artifacts, path /Users/surfer/.gradle/caches/modules-2/metadata-2.23/module-artifacts.bin, access org.gradle.cache.internal.DefaultCacheAccess@1ac8b236
Creating new cache for metadata-2.23/artifact-at-repository, path /Users/surfer/.gradle/caches/modules-2/metadata-2.23/artifact-at-repository.bin, access org.gradle.cache.internal.DefaultCacheAccess@1ac8b236
Compiling build file '/Users/surfer/Downloads/shield-custom-realm-example-master/build.gradle' using BuildScriptTransformer.
Using 8 worker leases.
Creating new cache for fileHashes, path /Users/surfer/Downloads/shield-custom-realm-example-master/.gradle/3.5/taskHistory/fileHashes.bin, access org.gradle.cache.internal.DefaultCacheAccess@35c803bc
Elasticsearch Build Hamster says Hello!
Gradle Version        : 3.5
OS Info               : Mac OS X 10.12.5 (x86_64)
JDK Version           : Oracle Corporation 1.8.0_121 [Java HotSpot(TM) 64-Bit Server VM 25.121-b13]
JAVA_HOME             : /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home
You are running forbidden-apis in the Gradle Daemon; disabling classloading cache to work around resource leak.
The executable property on ForkOptions has been deprecated and is scheduled to be removed in Gradle 5.0. Please use javaHome instead.
All projects evaluated.

Task :compileJava class loader hash: 41621835a1ddfd325406e64eb3109d65
Task :compileJava actions class loader hashes: [750e1d72030581ace81f7325929812f4, 41621835a1ddfd325406e64eb3109d65]
Executing task ':compileJava' (up-to-date check took 2.346 secs) due to:
No history is available.
All input files are considered out-of-date for incremental task ':compileJava'.
Creating new cache for classAnalysis, path /Users/surfer/Downloads/shield-custom-realm-example-master/.gradle/3.5/javaCompile/classAnalysis.bin, access org.gradle.cache.internal.DefaultCacheAccess@6967e4d8
Creating new cache for jarAnalysis, path /Users/surfer/Downloads/shield-custom-realm-example-master/.gradle/3.5/javaCompile/jarAnalysis.bin, access org.gradle.cache.internal.DefaultCacheAccess@6967e4d8
Creating new cache for taskJars, path /Users/surfer/Downloads/shield-custom-realm-example-master/.gradle/3.5/javaCompile/taskJars.bin, access org.gradle.cache.internal.DefaultCacheAccess@6967e4d8
Creating new cache for taskHistory, path /Users/surfer/Downloads/shield-custom-realm-example-master/.gradle/3.5/javaCompile/taskHistory.bin, access org.gradle.cache.internal.DefaultCacheAccess@6967e4d8
:compileJava - is not incremental (e.g. outputs have changed, no previous execution, etc.).
Compiling with Java command line compiler '/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/bin/javac'.
Starting process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/bin/javac''. Working directory: /Users/surfer/Downloads/shield-custom-realm-example-master Command: /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/bin/javac -J-Xmx1g @/Users/surfer/Downloads/shield-custom-realm-example-master/build/tmp/compileJava/java-compiler-args.txt
Successfully started process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/bin/javac''
Note: /Users/surfer/Downloads/shield-custom-realm-example-master/src/main/java/org/elasticsearch/example/realm/CustomRealm.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Class dependency analysis for incremental compilation took 0.018 secs.
Created jar classpath snapshot for incremental compilation in 5.854 secs. 104 duplicate classes found in classpath (see all with --debug).
Written jar classpath snapshot for incremental compilation in 0.0 secs.
:compileJava (Thread[Daemon worker,5,main]) completed. Took 9.074 secs.
:processResources (Thread[Daemon worker,5,main]) started.
:processResources
Putting task artifact state for task ':processResources' into context took 0.001 secs.
Task :processResources class loader hash: 41621835a1ddfd325406e64eb3109d65
Task :processResources actions class loader hashes: [750e1d72030581ace81f7325929812f4]
Executing task ':processResources' (up-to-date check took 0.002 secs) due to:
No history is available.
:processResources (Thread[Daemon worker,5,main]) completed. Took 0.029 secs.
:classes (Thread[Daemon worker,5,main]) started.
:classes
Skipping task ':classes' as it has no actions.
:classes (Thread[Daemon worker,5,main]) completed. Took 0.008 secs.
:jar (Thread[Daemon worker,5,main]) started.
:jar
Putting task artifact state for task ':jar' into context took 0.002 secs.
Task :jar class loader hash: 41621835a1ddfd325406e64eb3109d65
Task :jar actions class loader hashes: [91be6f1ec9ff8b3faf6e5792c160f1d2, 750e1d72030581ace81f7325929812f4]
Executing task ':jar' (up-to-date check took 0.007 secs) due to:
No history is available.
Building without git revision id.
:jar (Thread[Daemon worker,5,main]) completed. Took 0.064 secs.
:javadoc (Thread[Daemon worker,5,main]) started.
:javadoc
Putting task artifact state for task ':javadoc' into context took 0.001 secs.
Task :javadoc class loader hash: 41621835a1ddfd325406e64eb3109d65
Task :javadoc actions class loader hashes: [750e1d72030581ace81f7325929812f4, 41621835a1ddfd325406e64eb3109d65]
Executing task ':javadoc' (up-to-date check took 0.999 secs) due to:
No history is available.
Starting process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/bin/javadoc''. Working directory: /Users/surfer/Downloads/shield-custom-realm-example-master Command: /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/bin/javadoc @/Users/surfer/Downloads/shield-custom-realm-example-master/build/tmp/javadoc/javadoc.options
Successfully started process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/bin/javadoc''
:javadoc (Thread[Daemon worker,5,main]) completed. Took 2.025 secs.
:javadocJar (Thread[Daemon worker,5,main]) started.
:javadocJar
Putting task artifact state for task ':javadocJar' into context took 0.0 secs.
Task :javadocJar class loader hash: 41621835a1ddfd325406e64eb3109d65
Task :javadocJar actions class loader hashes: [91be6f1ec9ff8b3faf6e5792c160f1d2, 750e1d72030581ace81f7325929812f4]
Executing task ':javadocJar' (up-to-date check took 0.004 secs) due to:
No history is available.
Building without git revision id.
:javadocJar (Thread[Daemon worker,5,main]) completed. Took 0.023 secs.
:sourcesJar (Thread[Daemon worker,5,main]) started.
:sourcesJar
Putting task artifact state for task ':sourcesJar' into context took 0.0 secs.
Task :sourcesJar class loader hash: 41621835a1ddfd325406e64eb3109d65
Task :sourcesJar actions class loader hashes: [91be6f1ec9ff8b3faf6e5792c160f1d2, 750e1d72030581ace81f7325929812f4]
Executing task ':sourcesJar' (up-to-date check took 0.002 secs) due to:
No history is available.
Building without git revision id.
:sourcesJar (Thread[Daemon worker,5,main]) completed. Took 0.011 secs.
:assemble (Thread[Daemon worker,5,main]) started.
:assemble
Skipping task ':assemble' as it has no actions.
:assemble (Thread[Daemon worker,5,main]) completed. Took 0.0 secs.
:copyCheckstyleConf (Thread[Daemon worker,5,main]) started.
:copyCheckstyleConf
Putting task artifact state for task ':copyCheckstyleConf' into context took 0.001 secs.
Task :copyCheckstyleConf class loader hash: 750e1d72030581ace81f7325929812f4
Task :copyCheckstyleConf actions class loader hashes: [91be6f1ec9ff8b3faf6e5792c160f1d2]
Executing task ':copyCheckstyleConf' (up-to-date check took 0.009 secs) due to:
No history is available.
:copyCheckstyleConf (Thread[Daemon worker,5,main]) completed. Took 0.021 secs.
:checkstyleMain (Thread[Daemon worker,5,main]) started.
:checkstyleMain
Putting task artifact state for task ':checkstyleMain' into context took 0.001 secs.
Task :checkstyleMain class loader hash: 41621835a1ddfd325406e64eb3109d65
Task :checkstyleMain actions class loader hashes: [750e1d72030581ace81f7325929812f4, 41621835a1ddfd325406e64eb3109d65]
Executing task ':checkstyleMain' (up-to-date check took 0.178 secs) due to:
No history is available.
[ant:checkstyle] Running Checkstyle 7.5 on 6 files
:checkstyleMain (Thread[Daemon worker,5,main]) completed. Took 1.198 secs.
:compileTestJava (Thread[Daemon worker,5,main]) started.
:compileTestJava
Putting task artifact state for task ':compileTestJava' into context took 0.001 secs.
Task :compileTestJava class loader hash: 41621835a1ddfd325406e64eb3109d65
Task :compileTestJava actions class loader hashes: [750e1d72030581ace81f7325929812f4, 41621835a1ddfd325406e64eb3109d65]
Executing task ':compileTestJava' (up-to-date check took 0.366 secs) due to:
No history is available.
All input files are considered out-of-date for incremental task ':compileTestJava'.
:compileTestJava - is not incremental (e.g. outputs have changed, no previous execution, etc.).
Compiling with Java command line compiler '/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/bin/javac'.
Starting process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/bin/javac''. Working directory: /Users/surfer/Downloads/shield-custom-realm-example-master Command: /Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/bin/javac -J-Xmx1g @/Users/surfer/Downloads/shield-custom-realm-example-master/build/tmp/compileTestJava/java-compiler-args.txt
Successfully started process 'command '/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/bin/javac''
/Users/surfer/Downloads/shield-custom-realm-example-master/src/test/java/org/elasticsearch/example/realm/CustomCachingRealmTests.java:49: error: no suitable constructor found for RealmConfig(String,Settings,Settings)
CustomCachingRealm realm = new CustomCachingRealm(new RealmConfig("test", realmSettings, globalSettings));
^
constructor RealmConfig.RealmConfig(String,Settings,Settings,ThreadContext) is not applicable
(actual and formal argument lists differ in length)
constructor RealmConfig.RealmConfig(String,Settings,Settings,Environment,ThreadContext) is not applicable
(actual and formal argument lists differ in length)
/Users/surfer/Downloads/shield-custom-realm-example-master/src/test/java/org/elasticsearch/example/realm/CustomRealmIT.java:131: error: cannot find symbol
.put(ThreadContext.PREFIX + "." + CustomRealm.USER_HEADER, randomFrom(KNOWN_USERS) + randomAsciiOfLength(1))
^
symbol:   method randomAsciiOfLength(int)
location: class CustomRealmIT
/Users/surfer/Downloads/shield-custom-realm-example-master/src/test/java/org/elasticsearch/example/realm/CustomRealmIT.java:138: error: cannot find symbol
.put(ThreadContext.PREFIX + "." + CustomRealm.PW_HEADER, randomAsciiOfLengthBetween(16, 32))
^
symbol:   method randomAsciiOfLengthBetween(int,int)
location: class CustomRealmIT
/Users/surfer/Downloads/shield-custom-realm-example-master/src/test/java/org/elasticsearch/example/realm/CustomRealmTests.java:49: error: no suitable constructor found for RealmConfig(String,Settings,Settings)
CustomRealm realm = new CustomRealm(new RealmConfig("test", realmSettings, globalSettings));
^
constructor RealmConfig.RealmConfig(String,Settings,Settings,ThreadContext) is not applicable
(actual and formal argument lists differ in length)
constructor RealmConfig.RealmConfig(String,Settings,Settings,Environment,ThreadContext) is not applicable
(actual and formal argument lists differ in length)
/Users/surfer/Downloads/shield-custom-realm-example-master/src/test/java/org/elasticsearch/example/realm/CustomRealmTests.java:76: error: no suitable constructor found for RealmConfig(String,Settings,Settings)
CustomRealm realm = new CustomRealm(new RealmConfig("test", realmSettings, globalSettings));
^
constructor RealmConfig.RealmConfig(String,Settings,Settings,ThreadContext) is not applicable
(actual and formal argument lists differ in length)
constructor RealmConfig.RealmConfig(String,Settings,Settings,Environment,ThreadContext) is not applicable
(actual and formal argument lists differ in length)
/Users/surfer/Downloads/shield-custom-realm-example-master/src/test/java/org/elasticsearch/example/realm/CustomRealmTests.java:78: error: cannot find symbol
new UsernamePasswordToken("john1", new SecuredString(randomAsciiOfLengthBetween(4, 16).toCharArray()));
^
symbol:   method randomAsciiOfLengthBetween(int,int)
location: class CustomRealmTests
Note: /Users/surfer/Downloads/shield-custom-realm-example-master/src/test/java/org/elasticsearch/example/realm/CustomRealmIT.java uses or overrides a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
6 errors
:compileTestJava FAILED
:compileTestJava (Thread[Daemon worker,5,main]) completed. Took 1.341 secs.
FAILURE: Build failed with an exception.

What went wrong:
Execution failed for task ':compileTestJava'.

Compilation failed with exit code 1; see the compiler error output for details.

Try:
Run with --stacktrace option to get the stack trace. Run with --debug option to get more log output.

BUILD FAILED
Total time: 20.382 secs
Stopped 0 worker daemon(s).
Received result Failure[value=org.gradle.initialization.ReportedException: org.gradle.internal.exceptions.LocationAwareException: Execution failed for task ':compileTestJava'.] from daemon DaemonInfo{pid=8215, address=[1152b074-6a2d-4dc2-8670-fc3b455f8203 port:49668, addresses:[/0:0:0:0:0:0:0:1, /<IP_ADDRESS>]], state=Busy, lastBusy=1495787079132, context=DefaultDaemonContext[uid=9f2730a8-023d-4c03-88df-e4a19845f808,javaHome=/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home,daemonRegistryDir=/Users/surfer/.gradle/daemon,pid=8215,idleTimeout=10800000,daemonOpts=-XX:MaxPermSize=256m,-XX:+HeapDumpOnOutOfMemoryError,-Xmx1024m,-Dfile.encoding=UTF-8,-Duser.country=US,-Duser.language=en,-Duser.variant]} (build should be done).
[mbp:shield-custom-realm-example-master]$


Add support for UITableCellView.tintColor

Please resolve the conflicts in this PR and I'd be happy to review and merge. :)

Seems conflicts resolved

LGTM


Page buttons jump around strangely

There are some strange issues with the second to last page button...

This issue is to assess and remediate so the expected page is transitioned to when selected.

Mentioned this in #102 but this is because these two slides have the same href tag name which results in this behavior so that will need to be investigated here.

Repeat slide names are definitely an occurrence in a couple of these products we're building, so there will be conflicts. I like the idea of prepending a number to the URL to resolve this!


Mentor User cannot see the Profile

https://github.com/hack4impact-uiuc/mentee/assets/35821871/3bba8167-ba9c-4179-8fff-ebd597c1ccd4

@Humayun0008 this has been fixed in DEV URL, could you please uncomment this test case?

@robert-dm Still not Resolved
https://github.com/hack4impact-uiuc/mentee/assets/131605337/044d76fb-b484-4cb9-b3e8-d0c6d5ac9117

The problem was that the user was removed from database, or email updated to<EMAIL_ADDRESS>and I have fixed the user in the database, now it is working fine.  Attached video.
We should not have any other problem from now on, if yes, then there is a process in your local files or anywhere in automated tests affecting the<EMAIL_ADDRESS>user in database.
@Humayun0008
https://github.com/hack4impact-uiuc/mentee/assets/35821871/f6e4cfc2-ab09-411b-aa23-9c44e9022cb6

Working as Expected


 IF YOU DO NOT FOLLOW THE FORMAT OR MAKE A GENERIC TOKEN REQUEST YOUR ISSUE WILL BE DELETED WITHOUT COMMENT
YOUR JUSTLIST MUST FOLLOW THE JSON SPECIFICATION
https://github.com/justswaporg/justlists/example.justlists.ts
Checklist

[x] I understand that this is not the place to request a token listing.
[x] I have tested that my JustList is compatible by pasting the URL into the add a list UI at justswap.org.
[x] I understand that filing an issue or adding liquidity does not guarantee addition to the justlists website.

Please provide the following information for your token.
JustList URL must be HTTPS.
JustList URL:
JustList Name:
Link to the official homepage of the JustList manager:

Trc10

Pls so cancel ok thanks 🙏
Vào BE 2564 thg 6 24, Th 5 lúc 06:27 hojjatsok @.***>
đã viết:

Trc10
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/justswaporg/justlists/issues/1434#issuecomment-867200800,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AUQOZJW4YYK6TXBTAY32YYTTUJNURANCNFSM47GWCGBA
.

Sorry, your issue will be closed as you did not submit your information in the correct format.


cleanup filing cabinets yml

About the PR

title
add abstract BaseFilingCabinet which has most of components
Why / Balance

i love cleaning ymls
Technical details

Media

Requirements

[X] I have read and I am following the Pull Request Guidelines. I understand that not doing so may get my pr closed at maintainer’s discretion
[X] I have added screenshots/videos to this PR showcasing its changes ingame, or this PR does not require an ingame showcase

Breaking changes

i hope no
Changelog

no cl

Holy hell

fatal force push

That's one way to get a quick review.

fixed all now, sorry for that :trollface:

test still broken

@slarticodefast test are not broken anymore


No Navbar Mouseover Highlighting

What is the expected behavior?
The navbar should change styles if I mouseover a link

What is the actual behavior?
No change at all until clicked

What steps reproduce the behavior?
Mouseover any part of the navbar.

As a user I want to be able to see that I am mousing over a particular part of the navbar.

fixed


Create database schema

I need to create the database schema so that I have the necessary info to create the TypeORM entities.

 Entities/Tables

 Relationships


feat: add tracking to home screen rails and improve performance

This PR resolves CX-3385
Description
This PR adds tracking to the home screen rails.
Bonus: while adding tracking, I noticed few issues related to performance, then more issues then more issues, along the way I decided to fix everything I can fix.

FPS went from 24 to 47 in boot
FPS went from 32 to 48 after 3 seconds from boot
Removed 2 unnecessary rerenders
Clean up logic a bit

Before changes
https://user-images.githubusercontent.com/11945712/221570249-9ec8d682-6ba9-42fb-9bde-2a4f3c18d704.mov
After changes
https://user-images.githubusercontent.com/11945712/221570185-5ad95c3c-8fbb-40ee-95a1-880f4fbc1b49.mov
Before changes (throttle)
https://user-images.githubusercontent.com/11945712/221570293-690e88d8-2fd3-401e-b8c2-181ad993bfee.mov
After changes (throttling is way shorter and almost not noticeable)
https://user-images.githubusercontent.com/11945712/221570496-0709566b-7fa4-42d6-a957-f0c0cfe308fa.mov
https://user-images.githubusercontent.com/11945712/221570549-f7158835-d538-4dbb-8081-3a3d391045fe.mov

PR Checklist

[x] I have tested my changes on iOS and Android.
[x] I hid my changes behind a feature flag, or they don't need one.
[x] I have included screenshots or videos, or I have not changed the UI.
[x] I have added tests, or my changes don't require any.
[x] I added an app state migration, or my changes do not require one.
[x] I have documented any follow-up work that this PR will require, or it does not require any.
[x] I have added a changelog entry below, or my changes do not require one.

To the reviewers 👀

[ ] I would like at least one of the reviewers to run this PR on the simulator or device.

Changelog updates
Changelog updates

Cross-platform user-facing changes

iOS user-facing changes

Android user-facing changes

Dev changes

Need help with something? Have a look at our docs, or get in touch with us.

Nice, so memo is what helped perf? We should keep that in mind for the future 👍

Yes, along with few other things

having the default windowsize as 1 before the user started to scrolled, meant that the initial scroll would always drop frames - most users are curious to scroll at least a little bit down - I increased the first rendered window size to 2 instead
we had 2 unnecessary renders that I wasn't able to identify the root cause behind them, wrapping the home component with a memo fixed them.
the home modules was by far the most computational heavy component, extracting it and making sure that I used a useMemo and specified only the right arguments to the dependency array helped
reducing the number of items we initially in all rails also saved few frames, instead of rendering 10 items on all rails as soon as we render them, now we are rendering half initially - meaning half the items in screen with 14 rails


New 2 Elements added

#Selenium
#Sulphur

Thanks for contributing so many gradients. These are all so great 😀

No Problem :) I will keep updating this. I want this Awesome project to reach a lot of audiences and use it as a directory for gradients.


Validator image broken when config.validator_enabled set to false

First of all thank you @zuzannast for this excellent plugin, very needed and easy to setup.
There is a small issue when validator_enabled is set false, it looks like it's still trying to do a validation but with an url set to null?<path_to_yaml_file>
Additionally a config option to customize the URL of validationUrl would be nice, as well as having the latest version (3.6) of SwaggerUI.
I'll try to send a PR the following week.

Hey @aert, how's the work on this one going?


[flutter_conductor] auto-generate PR title and description via query params

part of https://github.com/flutter/flutter/issues/81491
I generated this test PR: https://github.com/flutter/flutter/pull/87312
With the following link: https://github.com/flutter/flutter/compare/flutter-2.5-candidate.1...christopherfujino:master?expand=1&title=[flutter_releases]+Flutter+dev+2.5.0-1.0.pre+Framework+Cherrypicks&body=%23+Flutter+dev+2.5.0-1.0.pre+Framework

%23%23+Scheduled+Cherrypicks

-+commit%3A+c451b6b0d7a1148a1ce56d476dd57eaab386223f

commit: 6185ae9005ca7dfce3622ce1e4688c729d342b56
commit: 33fd4f15a9addd260fe92a8456b6f0cca12c1c36


feat(docs): add slate docs

resolves DSP-1516

@subotic Please scrutinize every one of the 17,089 changed lines to ensure I didn't miss something 😄


2015 start signal detect.

The start signal this year is provided by a red LED that starts out on, and then turns off to signal the beginning of the round.
color_sensor.py is reusable for the most part, but there are some changes that will be needed to make it relevant again.
We just need to get it so that we have a function that looks at a color, and waits for it to go away before ending.
Some features we need/want and things to think about in terms of what to implement:
-The color sensor works by returning values for Red, green, and blue.
-For some reason, red is just naturally dominant in what the color sensor sees, regardless of what it's looking at (problem last year, but good for us now).
-In the past, we waited for an LED to turn on to signal the start. This time it's an LED turning off. So the loop will just be looking at the opposite of what we did before.
-We want an LED somewhere to light up when it's viewing red, to help us with lining up the bot in the start location on top of the start signal.
-In the past, we determined what color we were currently looking at by comparing it to a baseline which was taken when the server was created. We couldn't just hard-code in the value of the baseline because it varied wildly from place to place depending on lighting/surfaces.
If we use the baseline-comparison technique again, and you should feel free to come up with any other technique you think is better if you end up with a better idea, the baseline should be taken with a button press.

Color sensor has now been set up with watch_for_not_color as of 171a23257d1956f861c2e2d31f01792020bc7c56, which works.

A new issue needs to be created for this years bot once the rules have been finalized.


Added Jetty https config

Allows one to run mvn jetty:run-forked directly from the webapp with the https connectors built in on port 8443. Requires a thekeystore file at etc/cas/jetty.
Very helpful for automated deployments and or dockerized CAS instances.
Relevant for #1215

And it starts quickly? No annotation scanning delay?

Nope. Appears to be much faster that Tomcat. Now, I run run-forked. If you simply run run, that takes considerably longer.
On my MBP, it takes about 10 seconds to fully start up.

To clarify, it does annotation scanning, but it goes much faster. Maybe it's jetty, maybe it's MBP. Not sure yet.
We do have this config built in for the plugin as well
<systemProperty>
      <name>org.eclipse.jetty.annotations.maxWait</name>
      <value>240</value>
</systemProperty>

Thanks for the tip. I'll try to use run-forked. For the annotation scanning, I updated the web.xml to avoid the issue.

what change did you make to the web.xml?

<absolute-ordering/> maybe?

Yes, but I also added: metadata-complete="true" in the web-app tag ;-) Magic...

Ah, cool! Would it cause problems if we added that tag to the main web.xml? Or did you add it to an override web.xml? I have always done the latter.

It was not completely sure about the potential side effects, so I just added it my web.xml overlay.

OK. I'll apply the same change here then.

added the web.xml file. We are good here.


chore(main): release siyuan-plugin-picgo 1.12.0

:robot: A new release will be created
1.12.0 (2024-11-29)
Features

#638 optimize the link replacement logic (e910018)

Bug Fixes

#504 use https as api protocol (4d39b1e)
only replace link must not show error (a33af49)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/terwer/siyuan-plugin-picgo/releases/tag/siyuan-plugin-picgo-v1.12.0 :sunflower:


Show required arguments in azcopy login example

Hello,
I spent today failing to login to azcopy due to an issue originally identified here.
The docs show application-id and tenant-id for service principal auth under "options", as opposed to in the example commands. As they are not optional and people like me will assume the example commands are complete, I think they should be included.
Hope this helps others get up and running faster.

@masoncusack : Thanks for your contribution! The author(s) have been notified to review your proposed change.


[Bug] Indentation highlight on empty lines.

Reproducible in vscode.dev or in VS Code Desktop?

[X] Not reproducible in vscode.dev or VS Code Desktop

Reproducible in the monaco editor playground?

[ ] Not reproducible in the monaco editor playground

Monaco Editor Playground Code
monaco.editor.create(document.getElementById('container'), {
	value: "- test\n\t- test\n\t- test\n\n# Hello",
	language: 'markdown'
});

Actual Behavior
The actual behavior is that whenever I indent a nested list and then have empty lines with additional text below the nested indented list, the empty lines get highlighted.
Expected Behavior
Indentation highlight should only be visible for indented lists and not the empty lines below them.
Additional Context
One more question: is it possible to define some sort of custom indentation guides?

You mean the indent guide in line 5 for example? It should only go to line 3 inclusive?

This is the same as in VS Code, thus I suggest that you create an issue there. I think this algorithm has been tweaked quite a lot, so expect some discussion.

You mean the indent guide in line 5 for example? It should only go to line 3 inclusive?

This is the same as in VS Code (for markdown), thus I suggest that you create an issue there. I think this algorithm has been tweaked quite a lot, so expect some discussion.

Thanks for the response!
I cannot really reproduce this in VS Code:

So for me, it feels like a problem for the monaco-editor package.


Customizable LabelField

It would be a privilege to have ability of customizing Label Field data and it wouldn't be only one filed to display
for example: I like to show the selected item like this,
"John Smith, 25, California"
{fullName, age, state}

hi @h-assefi ,
You can use "renderItem" props. Takes an item from data and renders it into the list.

You can create function to format data.

@hoaphantn7604 I have used "renderItem" for the dropdown items. But, what I need is when the item is selected.
Could you give an example about your second response.

hi @h-assefi
Example code:
const formatData = data => {
  const cloneData = [...data];
  cloneData.map(e => {
    return {
      key: e.id,
      label: e.fullName + ' ' + e.age,
    };
  });
};
<Dropdown
  data={formatData(list)}
...
>

@hoaphantn7604 THNX for instant reply.

@hoaphantn7604 Is there way to customize the label Text both style wise and component wise ?


Ios toolbarVisible doesn't update correctly.

When navigating from a page with the opposite toolbarVisible setting as the previous one it retains the previous setting on ios. For example on out home page we set this:tabris.ui.set("toolbarVisible", true);.
Then when the user navigates to another page we have: tabris.ui.set("toolbarVisible", false);
However when you load the new page the toolbar is still visible. This code works exactly as intended on android however on ios it does not remove the toolbar. If I wrap the tabris.ui.set("toolbarVisible", false); in a setTimeout of 0 it works as intended.

function main(){
    var page = new tabris.Page({
        topLevel: true,
        title: "myapp"
    });
    tabris.ui.set("toolbarVisible", true);
    new tabris.TextView({
        layoutData: {centerX: 0, centerY: 0},
        text: "click me to navigate to the other page",
        textColor: "black"
    }).on("tap",function(){
        other();
    }).appendTo(page);
    page.open();
}
main();
function other(){
    var page = new tabris.Page({
        topLevel: true,
        title: "myapp"
    })
    tabris.ui.set("toolbarVisible", false);
    new tabris.TextView({
        layoutData: {centerX: 0, centerY: 0},
        text: "other page",
        textColor: "black"
    }).appendTo(page);
    page.open();
}

@troyamelotte Thanks for your feedback. In the upcoming Tabris.js 2 release we have separated out the tabris ui concept into its own widget called NavigationView. Would you be able to  migrate your app to the new format and check if https://tabrisjs.com/documentation/latest/api/NavigationView#toolbarvisible works as expected for you?

I can reproduce the issue on 1.10. It works as expected on 2.0.0-rc1 using the toolbarVisible property on NavigationView.
As a workaround exists (use setTimeout), we probably won't fix it in the 1.x branch. Sorry.


Add kubectl binary from upstream source and update to 1.9.7

https://github.com/rancher/rancher/issues/13554

1.9.8 was released  a couple of days ago https://github.com/kubernetes/kubernetes/releases/tag/v1.9.8


Panel items should be read out as tabs not buttons

Environment Details:
VSCode Version : 1.24.0
OS Version : Win10
Additional Details:
MAS Violated: MAS1.3.1
Mac Version: HighSierra10.13.5
Jaws Version: 18.0.5038
Repro Steps:
1.Launch VS Code while NVDA is ON.
2.Go to View menu and Select Problems.
Actual:
NVDA reads all the tab items (Problems, Output, Debug Console, Terminal) as buttons. Same Issue has also been observed with Jaws and Voice Over.
Expected:
NVDA should read it as Tab item.
Recommendations:
Refer below link which is repository of bug fixes code snippets:
https://microsoft.sharepoint.com/teams/msenable/mas/pages/browse-fixes.aspx
User Impact:
User will not get the clear understanding of data if those controls will be announced as buttons.
MAS Reference:
https://microsoft.sharepoint.com/:w:/r/teams/msenable/_layouts/15/WopiFrame.aspx?sourcedoc={54f28d1f-a2d1-4dcd-84e1-5c9b87e8aba4}
Attachment for Reference:
A11y VSCode Problems NVDA announces button.pptx
Does this issue occur when all extensions are disabled?: Yes

@JacksonKearl let me know if you might be interested in this
Assigning also to @sandy081 as this is coming from the composite bar which uses the action bar
https://github.com/Microsoft/vscode/blob/fe82cb86cbcf606e0d7d0c218a988edf3acd828a/src/vs/workbench/browser/parts/compositebar/compositeBar.ts#L72


Update ZIO to 1.0.0-RC21

Weird, the tests pass on my machine 🤔

Any idea what’s going on with the test timeouts? Did zipPar become slower? It only take a few seconds on my machine.

Looking into it now. I'm wondering if we are building chunks internally in a way that is not efficient with the new balanced concatenation, like in that benchmark we were talking about.

Hmmm, I am not sure what is going on at this point. I thought it was an issue with efficiency of Chunk operations but when I use timed on the test suite it takes approximately the same time on RC21 as it did on RC20.


Provide "go to" link for "Direct" components

@apupier I am rather unsure what exactly you try to achieve here. A direct component is defined via
<from uri="direct:processOrder"/> for instance. Where should a "Go To" link to?

<from uri="direct:processOrder"/>
when using a "go to", it should go to a <to uri="direct:processOrder"/>


Speed up for forms slow on firefox

Description
related to #2157
Self Check:
Strike through any lines that are not applicable (~~line~~) then check the box

[x] Attached issue to pull request
[x] Changelog entry
[x] Code is clear and sufficiently documented
[x] Sufficient test cases (reproduces the bug/tests the requested feature)
[x] Correct, in line with design
[x] ~End user documentation is included or an issue is created for end-user documentation (add ref to issue here: )~

Reviewer Checklist:

[ ] Sufficient test cases (reproduces the bug/tests the requested feature)
[ ] Code is clear and sufficiently documented
[ ] Correct, in line with design

The workaround suggested in https://bugzilla.mozilla.org/show_bug.cgi?id=1682686 does speed up the form significantly, but it still gets a bit slower with each new grid. So for the majority of cases it will work fine, but if it's a very complicated and nested model, it can still slow down (only later). @bartv Should we create a ticket for that / keep this open?

lets keep this one open en move it back to icebox once this is merged

Processing this pull request

Merged into branches master, iso5 in c7e597c732c55fc05f59b8833fef93775ea28c03

Processing #2736.


Added a case for displaying the Ubuntu logo for i3buntu.

Description
a patch for supporting i3buntu, an ubuntu-based distro that doesnt have an own logo
Features
displays the ubuntu logo for i3buntu

LGTM :+1:


Build and install pybufr-ecmwf Python package (this ticket supercedes #248)

keyword_Bufr_Python_ECMWF_pybufr_pybufr-ecmwf resolution_fixed   |    by<EMAIL_ADDRESS>
Since Fabrizio downloaded and built the pybufr-ecmwf package (described in #248) the code development moved away from google.code to github. Also the author, Jos de Kloe has added new functionalities to the package.
This ticket describes how the Python code was pulled from github, built and installed in a common location. Note that in his ticket #248 Fabrizio was not able to install the package in a common area and so each user was forced to install the package in his/her home directory - $HOME/.local. This is fixed so that we only need one installation location.

Issue migrated from trac:282 at 2024-01-31 18:25:22 +1100

<EMAIL_ADDRESS>changed status from assigned to closed

<EMAIL_ADDRESS>changed status from new to assigned

<EMAIL_ADDRESS>commented

Ticket Summary

<EMAIL_ADDRESS>set resolution to fixed


Android: Banner Ad: Error Code 3

I Am getting and Error { "errorCode": 3 } in onAdFailedToLoad eventListener
I don't know what it means, nor there is any documentation for this
When setting isTesting option to true, the Ad is loading successfully

Please search for admob error codes, it is not related to the plugin itself.
https://support.google.com/admob/thread/3494603?hl=en

Thank you @distante for instant reply. I'll check it.

Thank you @distante for instant reply. I'll check it.

AdMob.initialize({
testingDevices: [:yourTestDeiveId],
initializeForTesting: true,
});

any update on the issue?

@ghonche-yqr Do check the Error Code 3 : ERROR_CODE_NO_FILL section in https://support.google.com/admob/thread/3494603?hl=en

@ghonche-yqr If you receive this Error code 3 there is no mistake from your end. It simply means Admob doesn't have any ad to show in your app at that moment.

yeah I got it.
How did you fixed this in your app? @Adarsh077

I think I just waited for like 1-2 days and the ads showed up in my app without me doing anything.

I think I just waited for like 1-2 days and the ads showed up in my app without me doing anything.
@Adarsh077
Great. I hope the same happens for me.
Thank you very much

Great. I hope the same happens for me.
Thank you very much @Adarsh077

I think I just waited for like 1-2 days and the ads showed up in my app without me doing anything.
@ghonche-yqr If this works or doesn't work, please update here for other devs to refer.

As I remember, you also will get no fill if you are testing you app in production mode but your apk is not signed.


[SMALLFIX]Replace anonymous type with lambda

alluxio-bot, check this please

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/Alluxio-Pull-Request-Builder/19095/
Test PASSed.


Add documentation on how to generate a token programatically

As a new user to event hubs, would love some documentation on how to actually generate a SAS token pragmatically in javascript.

couple of options:

I added a console write to the code, so if you use the config option with the policy key, it will print one to the screen. This expires pretty quickly, but it will show you a working token. Look at the code to see how this is generated.
Take a look at this project: https://github.com/ytechie/event-hubs-sas-generator


Multiple CPU usage ineffective: CPU utilization only 200% on a 8 core VM

This is the same as #583. Opening a new issue since CPU utilization is still low. I built tensorflow with -mavx2 flag and ran examples/tutorials/word2vec/word2vec_basic.py. TensorFlow is recognizing num of cores as 8, yet still only 200% of CPU is used during training.
Environment info
Operating System:
14.04.1-Ubuntu x86_64 GNU/Linux
Installed version of CUDA and cuDNN:
No CUDA or cuDNN installed.
If installed from sources, provide the commit hash:
Commit hash:
840c4ac
a2d6cf7
5b66275
27b83b7
b77f607
ce330a7
2c33855
451f18c
af794ed
921b709

Steps to reproduce

Enable logging of inter_op_parallelism_threads and intra_op_parallelism_threads.
Configure, build tensorflow with AVX2 with this command
bazel build -c opt --copt=-mavx2 //tensorflow/tools/pip_package:build_pip_package
Build wheel, install package and run python examples/tutorials/word2vec/word2vec_basic.py.

This is not a bug.
The word2vec_basic.py tutorial is an unoptimized example designed to illustrate a point. It feeds training examples via a sequential and high-overhead mechanism, contains numerous small ops which are expensive to dispatch and there are parts of the model where there is not much opportunity for parallelism.
Please read the tutorial section entitled "Optimizing the Implementation" which states:

For example, the naive code we used in this tutorial would suffer compromised speed because we use Python for reading and feeding data items -- each of which require very little work on the TensorFlow back-end

The tutorial provides two faster variants.
https://github.com/tensorflow/tensorflow/blob/r0.9/tensorflow/models/embedding/word2vec.py
https://github.com/tensorflow/tensorflow/blob/r0.9/tensorflow/models/embedding/word2vec_optimized.py

Just for future references, models have been moved to a separate repo:
https://github.com/tensorflow/models/tree/master/tutorials/embedding


Task to bump release automatically.

To keep all 3 version declarations in sync, it's best to have a version bumping script and thus also pushing Notes / Changelog to CrabNebula.

[ ] Updates Cargo.toml version.
[ ] Updates package.json version.
[ ] Updates tauri.conf.json version.

I don't think this is necessary, package.json can go without a version and the Tauri CLI can lookup the version from Cargo.toml if tauri.conf.json doesn't have one

I don't think this is necessary, package.json can go without a version and the Tauri CLI can lookup the version from Cargo.toml if tauri.conf.json doesn't have one. In MacroGraph I just bump Cargo.toml and a workflow reads the version number from there, creates a tag, a release, etc.

ohhh, absolutely! I will borrow that!


Make the SSH login banner nicer

Current Vagrant:
$ vagrant ssh
Welcome to Ubuntu 14.04.5 LTS (GNU/Linux 3.13.0-112-generic x86_64)

 * Documentation:  https://help.ubuntu.com/

  System information as of Mon Mar 13 11:22:10 UTC 2017

  System load:  3.57              Processes:           112
  Usage of /:   4.8% of 39.34GB   Users logged in:     0
  Memory usage: 5%                IP address for eth0: <IP_ADDRESS>
  Swap usage:   0%

  Graph this data and manage this system at:
    https://landscape.canonical.com/

  Get cloud support with Ubuntu Advantage Cloud Guest:
    http://www.ubuntu.com/business/services/cloud

New release '16.04.2 LTS' available.
Run 'do-release-upgrade' to upgrade to it.

WordPress Developer Documentation available at https://seravo.com/docs/

Last login: Sun Mar 12 21:50:55 2017 from <IP_ADDRESS>

Compare to production:
$ ssh wp-palvelu
Last login: Mon Mar 13 09:40:52 2017 from <IP_ADDRESS>
Documentation for WordPress developers at: https://seravo.com/docs/
wp-palvelu@wp-palvelu:~$

Please copy the banner from https://github.com/Seravo/wp-palvelu-docker/commit/77a51bd2260a1c11eb3327beb45cef1bcb1c5f95

Also, check the compatibility of emojis in command line fonts 😈

This is the current login experience to the new Seravo/wordpress box:
Leo$ vagrant ssh
Last login: Wed Jun  6 08:33:01 2018 from <IP_ADDRESS>
entering site container...
|----------------------------------------------------------------------------|
| Welcome to Seravo.com!                                                     |
| Unauthorized use is forbidden. All connections are monitored and recorded. |
|----------------------------------------------------------------------------|
Documentation for WordPress developers at: https://seravo.com/docs/
Feedback and bugs can be filed at https://github.com/Seravo/WordPress/

Is this issue still relevant?

This was recently fixed. Closing issue.


[rooch-server] Refactor rooch-server, define rooch executor sequencer

part of #41

Define TransactionInfo
Move executor to rooch-executor crate.
Define rooch-sequencer crate.

Transaction flow:
client --- submit tx --> Rpc Service
                                 ---- validate tx ---> Executor
                                 ---- sequence tx ----> Sequencer
                                 ---- execute tx ---> Executor
client <---- response -----

Next:

Define Proposer and State commitment Chain. The State commitment Chain is a chain of TransactionInfo.

The role of the current rooch-executor craet, in addition to providing the actor mode, is similar to the block executor in Sui and Aptos, and finally executes the contract transaction, right? @jolestar

The role of the current rooch-executor crate, in addition to providing the actor mode, is similar to the block executor in Sui and Aptos, and finally executes the contract transaction, right? @jolestar

yes.


Services module security update to 3.12.

See https://www.drupal.org/node/2471879
In addition, we no longer need the patch, it has been included to the module:
https://www.drupal.org/node/2200269

Build works well.

:+1: Looks good and like :beer:

Note: patch introduced in #3311.


Added charset utf-8 to Content-Type response header. supports iOS

We should test this in all major browsers when it's in staging to make sure it didn't break any other clients.

In our testing, this didn't change the behavior so I'm closing the pull request.


[avar2] Implement avar2 support in ttGlyphSet.

Implementing avar2 support in ttGlyphSet
Fixes https://github.com/fonttools/fonttools/issues/3469

This seems to be working now!  You can grab avar2 fonts from:
https://drive.google.com/drive/folders/1OjZFadiSKwzPnGWWCmNwscJN8bsjfqR0

Will work on other modules too. But this is ready. We don't have subsetter for it though, so can't produce a test right now.

We don't have subsetter for it though

Nevermind. Subsetter doesn't change avar. Instancer does.

Test added!

Humm. Let's merge this and continue on other modules separately. I see three modules that need updating:

varLib.instancer. The hardest. I have jotted some notes here:
https://docs.google.com/document/d/14elERu9Y_umFMg_lxnw7qtpskNlFvKhVtg2RNQteOek/edit

varLib.interpolatable. Not exactly sure what needs to be done, but I'll take a look.

designspaceLib. Also hard, because it uses single-axis map_forward and map_backward a lot. In other word, some of the functions there need to be deprecated and cannot work in a avar2 model.

@justvanrossum Can I get a review from you please?

It works beautifully! Thank you so much. Playing with svgPathPen as you suggested.
For more thorough code reviewing I'd need more time, but since Cosimo approved, feel free to merge.


Don't force ReaderT Pattern

Close https://github.com/jpvillaisaza/slack-web/issues/90

Hmm... The build error looks same as https://github.com/commercialhaskell/stack/issues/5445. I'll see in more details...

I've released the new version https://hackage.haskell.org/package/slack-web-<IP_ADDRESS>
@jpvillaisaza  Thanks for reviewing!


0kojoiuh

URL
https://dotnet.microsoftcom/en-us/learn/dotnet/hello-world-tutorial/install
Operating system
windows
More information about your system
serrhg
Description
efdgh
dotnet --info
ierhg

There's no question here. Looks like a mistake.


Support Korean language

Happy to include this, but we'll also need support added to say to make it complete. Can you send a PR there too?

https://github.com/lunarmodules/say

Hey @alerque , Thank you for your quick response.
I skimmed through say's code, but couldn't figure out which parts needed fixing. Is there a PR or file I can refer to?

My bad, so much for my memory. It wasn't say that has strings we use, it is luassert. Here is the directory that has translations: https://github.com/lunarmodules/luassert/tree/master/src/languages.
Many/most of those strings can get output by Busted.

https://github.com/lunarmodules/luassert/pull/191


*** problem handling output? ***  Content has no parts.

While extracting claims, the frontend can crash with this error:

*** problem handling output? ***  Content has no parts.

Looks like the error comes from here:
https://github.com/FullFact/health-misinfo-shared/blob/6a59fe8a78fb62f843ab9dc7728159690bb51aa9/src/health_misinfo_shared/fine_tuning.py#L331
Is this a place where we should be resending the chunk to the LLM? Or skipping the chunk and continuing? Not sure which of those is preferable, but we should aim to avoid crashing!

This is much less likely to occur since @c-j-johnston’s fix for #140. If we hit this error we’ll retry, and I guess we’re unlikely to hit it 3 times in a row.

This is caused (at least some of the time) when Gemini refuses to process content which it thinks is harmful.
So when this error is caught we should check the 'harm' status in the response, and (presumably) label the claim as being checkworthy.


🧑💻: Menu button and and nav menu

:red_circle: Title : Menu button and and nav menu
:red_circle: Enhancement Aim : for website looking good
:red_circle: Changes : when we click on the menu button in small devices like mobile phone then the menu button show but they are don't have background that is looking bad and mix with website contents. so i want to add background in the menu
Screenshots 📷

all the menu like-
about
login
contributor etc. mix with the website content

:white_check_mark: To be Mentioned while taking the issue :

Full name : Hem Raj
What is your participant role? (Mention the Open Source Program name. Eg. GSOC, GSSOC, SSOC, JWOC, etc.): GSSOC-Ext24

i find the issue of  overflow the component of navigation  bar :

and i wish to change the issue to impove the project
@Hemraj-7 Could you please assign this home page design enhancement task to me and label it for contribution? I’m excited to start working on it. Thank you!
full name: DINES
Github: DINES-04
participant role: GSSOC | Contributor

@sanjay-kv could you help mentor is not replay


FE-267: fix custom analyzer & features not showing up in inverted index view, add support for basic fields

Scope & Purpose

The way indices are noramalized was causing it to not show up when viewing  an inverted index. This fixes it by handling differently for disabled fields

there are two ways of entering field details, this adds a check for when fields are an array of strings

[x] :hankey: Bugfix

Checklist

[x] Tests

[x] Manually tested

[x] :book: CHANGELOG entry made
[x] Backports

[x] Backport for 3.11: https://github.com/arangodb/arangodb/pull/18950

Related Information
(Please reference tickets / specification / other PRs etc)

[x] GitHub issue / Jira ticket: https://arangodb.atlassian.net/browse/FE-267

[ ] https://jenkins01.arangodb.biz/job/arangodb-ANY-jslint/29032/


X509 should have same lifetime as MqttClientConfiguration

certificates do not need to live for 'static lifetime. As other fields like private_key_password live for lifetime of our config, same should be with X509.
'static lifetime gets in our way when we have to parse the certs at runtime, e.g. from a JSON file. Changing it to have same lifetime as MqttClientConfiguration should make it much easier for users.

This can only work if you parameterize the MQTT client wrapper over the 'a lifetime as well. Also, if you take the effort to actually look into the ESP IDF MQTT  C implementation, you'll realize that your analogy between the password field and the certificate fields is wrong g as well. The password field (being a short one) is memcpyd in a memory held by the MQTT client, so for this field having 'a living as long as &self during the client co struction is OK. Not so with the certificates, which are bigger and not memcpy'd yet need to be alive as long as the client is alive.
Rather than introducing lifetime in the mqtt client (which is possible but backwards incompatible and will require some serious thinking on your side), perhaps you can look I to the static-cell crate and co sidereal if you can apply it for your use case. While I realize you are parsing at runtime.e (btw - why? It is as inefficient as it gets), you might co sidereal putting the parsed certificate in a static context after parsing via static-cell.

Hey, yeah that analogy might be wrong haha. I wanted it to have 'a lifetime so I can parse them from JSON file.
I am writing an library ( sdk ) which uses mqtt to communicate with bytebeam cloud platform. So I was thinking, users will flash them to SPIFFS partitions of esp separately if they want to use sdk. We will just directly read from SPIFFS.
If I was writing a bin application, I can parse them in build script and include them in as static, but that was not case here. Also it will increase the firmware size as well right?

Of course static-cell will consume spam, but you don't have a choice with your json spiffs parsing strategy anyway. And this will avoid you having to parameterize the mqtt client over 'a lifetime.

Did you look into static-cell?
I did! it looks like what I was looking for.
Thanks for your feedback, I will definitely explore more about the other alternative! I should have put more thought about backwards compatibility before opening PR 😅

Np. Feel free to reopen / write an issue request if the static-cell approach does not work. But that would mean a more intrusive change then of course, touching the client struct.


Add spatially varying surface fluxes

This PR adds a realistic surface temperature profile and applies surface fluxes pointwise (instead of using the mean of all surface fluxes).

bors r+


removeFieldFromTab returns wrong value

Affected Version
$ ../composer.phar info --direct
mpdf/mpdf                  v7.0.3             A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support
phpunit/phpunit            5.7.27             The PHP Unit Testing framework.
silverstripe-themes/simple dev-master c2fdd14 The SilverStripe simple theme (default SilverStripe 3 theme)
silverstripe/recipe-cms    1.0.3              SilverStripe recipe for fully featured page and asset content editing
silverstripe/recipe-plugin 1.1.0              Helper plugin to install SilverStripe recipes
Description
  if(!$fields->removeFieldFromTab('Root.Main', 'Number')){
            throw new Exception("Could not remove 'Number'");
        }

removeFieldFromTab  evaluates to false if it succeeds.  It removes the fireld yet the exception is thrown.
It is documented as returning $this

Hi @worikgh.
I'm having a bit of difficulty replicating the issue you are facing. Can you provide a bigger code sample with more context?

        if(!$fields->removeFieldFromTab('Root.Main', 'Thumbnail')){
            error_log(__CLASS__.":".__FUNCTION__.":".__LINE__. " BUG in SS");
        }

Thumbnail is in a has_one.  If I do not remove it (after parent::getCMSFields()) there is a field added to add a thumbnail.  Naturally the thumbnail is derived and is not uploaded so I remove the field.
That code above always removes the field and always writes to the error _log.
If that is not enough help I will either send you the whole file (not so great) or whip up a small example (much better).

Either the whole file or a small example would awesome.

https://gist.github.com/worikgh/b77d3288e3e2f7547de6b2b9903d347e
Run as admin,  Load up the 'Tests' admin
Click on 'Add Test'
inspect error log.
Is this clear?
cheers
W

The method just returns null, regardless of outcome:
https://github.com/silverstripe/silverstripe-framework/blob/1c8576cee789cf8ec09f60cba3a362072d6d976b/src/Forms/FieldList.php#L183-L196

It is documented as returning $this

Could you point to where that’s documented? As those docs are clearly wrong
We could probably make it return a boolean for error/success, but I don’t think we can change public APIs until 5.x

Never mind, I’ve found it: http://api.silverstripe.org/4/SilverStripe/Forms/FieldList.html#method_removeFieldFromTab
The API docs are generated from the 4 branch, which is currently not released which is why you’re seeing the wrong docs... we have the same problem with our developer docs 😞not sure what the solution is 😕

The issue here is that, while there are some discrepancies between specific minor version releases, you will need to check the php / in-code documentation for specific return types. The docs reflect the latest version API. If you upgrade to 4.1.0 you'll see that FieldList::removeFieldFromTab() return type is $this.
If you are on older minor releases you won't get the updated API I'm afraid, and we have no plans to maintain separate documentation branches for separate minor versions as we once did.


Fix bottleneck around VFS update, take 2

Fixes: #14158
The idea is to only update watched hierarchies when we need to start watching something. For the vast majority of changes this will be enough, as:

the change either happens in an already watched hierarchy, typically the project root directory (applies to most changes)
it happens in an unwatchable directory (like native headers)
it happens in a watchable directory not being watched already (there are a small number of watchable directories, so we can only have a few of these events during each build)

With 1) and 2) we did a lot of work previously (including a lot of allocation for the Set elements) only to conclude that we don't need to change the set of watched hierarchies. With this change we can now short-circuit these cases with no allocation and relatively little work. In case of 3) we still need to do the work, but that should happen only a handful of times each build.
This has the side effect that we will potentially keep watching hierarchies that became empty during the build until the end of the build. This seems acceptable.
Context

Contributor Checklist

[ ] Review Contribution Guidelines
[ ] Make sure that all commits are signed off to indicate that you agree to the terms of Developer Certificate of Origin.
[ ] Make sure all contributed code can be distributed under the terms of the Apache License 2.0, e.g. the code was written by yourself or the original code is licensed under a license compatible to Apache License 2.0.
[ ] Check "Allow edit from maintainers" option in pull request so that additional changes can be pushed by Gradle team
[ ] Provide integration tests (under <subproject>/src/integTest) to verify changes from a user perspective
[ ] Provide unit tests (under <subproject>/src/test) to verify logic
[ ] Update User Guide, DSL Reference, and Javadoc for public-facing changes
[ ] Ensure that tests pass locally: ./gradlew <changed-subproject>:check

Gradle Core Team Checklist

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation
[ ] Recognize contributor in release notes

@bot-gradle test this please.

OK, I've already triggered ReadyForMerge build for you.

@bot-gradle test this please

OK, I've already cancelled the old build and triggered a new ReadyForMerge build for you.

Superseded by #14170.


This starter is not serving the App Not Found

This starter is not serving the App when running npm run serve I get in Browser Not Found (No console errors).
I tried to get more info with npm test but all I get is
Chromium: |██████████████████████████████| 1/1 test files | 0 passed, 0 failed
Firefox:  |██████████████████████████████| 1/1 test files | 0 passed, 0 failed
Webkit:   |██████████████████████████████| 1/1 test files | 0 passed, 0 failed

Error while running tests.

npm ERR! code 1
npm ERR! path /home/inux/lit-browser-extension
npm ERR! command failed
npm ERR! command sh -c wtr

I'm on Windows WSL and projects created with open-wc work just fine.

Hi thanks for the issue and sorry for the slow response. This should be addressed after this change is released.

Sorry for the slow turnaround. Could you try and reproduce this issue again now that https://github.com/lit/lit-element-starter-js/commit/af17a326a09360760b297c395b3bc1a54f1cebf5 has been merged. Let me know if that change resolves the issue.
Thank you!

Closing as this should be resolved. Please re-open or file a new issue if this problem persists. Thank you!


Change in storing policy for referenced objects

This is born out of convenience for restart and trying to reflect what a user might want to happen, when he saves an object.
The problem
Some objects, e.g. Sample, reference other "older" samples which are part of their history. This is useful to build path trees but when you save an object to a new storage the current completeness policy will trigger storing all related samples, which will trigger storing all their related samples and so on. This will lead to completely re-save a full simulation and not just the single sample.
In this case what the user wants is to store only this last sample and not everything.
How to solve this
There are a few ways to get around this:

Make a copy of the objet that does not have the reference to the other objects. This is the simplest yet most technical solution. You need to know which objects can have this issue and need to decide where to make the cuts. For a sample this would be .previous but there could be more. So this requires a user to know about these problems and fix them manually.
There is a helper function for a sample set to do that for all samples alike. sampleset.copy_without_parents()
We change the policy on delegation of saving for some attributes. For samples this would mean that saving a sample the object referenced in .previous will be stored only with its UUID but the referenced object is not stored. This will cause what the above user wanted. But it will not cause the chain of storing events which might have been expected. I could imagine some cases where it will not stuff but a user might think he had stored it. In the current setup I am pretty sure that we the exact behaviour we would like to have. But: If you then save a sample you need to save sample.previous by hand provided that it is not saved already (which it will be in the production case).

Would it be a possibility to define the storage behaviour of option 3 when opening a storage?
For example if a storage is opened with fallback=True allow for another option like:
only_save_uuid_from_fallback=True/False

Yes, that would be possible and seems like a good idea. You can even change this behaviour on the fly since it does not affect the storage itself, only what is stored.
If I understand you you want to exclude things that are not yet stored in the fallback storage, i.e. only store, if you cannot load the object in any way. That seems like a good default, when you have a fallback attached, just use it. In case you do want our current behaviour there could be an option to really store everything despite it being already in the fallback.
I would say we we do not need option 3. then and the fallback based is much simpler and cleaner for the user. Thanks.

If I understand you you want to exclude things that are not yet stored in the fallback storage, i.e. only store, if you cannot load the object in any way.

Yes this is indeed what I would like to use.

Is this solved now?

This was supposedly solved by #636, so I think it can be closed.


Missing bn values in pre-trained state_dict

Hey,
Thanks a lot for sharing your great work :)
I noticed that the whole_human pre-trained state_dict doesn't seem to contain the trained weights for the self.bn or the self.dsbn layers. I just wanted to check if this may be due to an update to the model, and if you recommend removing these layers for inference?
Thanks.

Yes, we updated it during the pretraining on 33 million cells. On the other hand, we now observed little difference with or without batch norm for the fine-tuning tasks. Note the dsbn is used by default for integration with multiple batches. For other tasks, using the batch norm is optional.

Thanks.


Features dependency on provisioned items

Might be me missing something, but I cannot see how to order the sequence of the provisioning to enable feature dependency on a provisioned item.
For example, if a feature deploys an event receiver associated to a list to be provisioned, the feature will be incorrectly activated first, then the list will be created.
I see Sequences in the schema, but then again, they can only contain root objects, not Templates.

Hi,
The Sequences are defined in the schema, but not yet supported at the engine level. Right now, if you need to define custom artificats with specific dependencies, you should create multiple template files and apply them in a sequence by using PowerShell or C#.


Cannot build in cloud shell due to missing DSC binaries

Doesn't work in the cloud shell as DSC for Linux is not installed

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: a410153e-4b2d-ee5d-3ce4-6e050f2aaaf9
Version Independent ID: 80b06afb-9e10-5bd9-3019-bd28aca84a97
Content: How to create Guest Configuration policies - Azure Policy
Content Source: articles/governance/policy/how-to/guest-configuration-create.md
Service: azure-policy
GitHub Login: @DCtheGeek
Microsoft Alias: dacoulte

make sure that you're using the 'POWERSHELL' version of Azure Cloud Shell, and not the BASH Version.

Yep I am - having massive issues following this one through - need to add in that PSDscResources is a prereq as well
But the error I'm getting is below
Get-DscResource : Exception calling "LoadDefaultCimKeywords" with "2" argument(s): "Unable to find DSC schema store at /etc/opt/omi/conf/dsc/configuration. Please ensure PS DSC for Linux is installed."At /home/anthony/.local/share/powershell/Modules/GuestConfiguration/<IP_ADDRESS>/helpers/GuestConfigurationPolicy.psm1:140 char:18+     $resources = Get-DscResource -Module GuestConfiguration
+                  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo          : NotSpecified: (:) [Get-DscResource], MethodInvocationException
+ FullyQualifiedErrorId : DirectoryNotFoundException,Get-DscResource

Cloud shell is running a Linux container anyway - getting the same errors in the AzureSDK container image

@anwather Thanks for the feedback! We are currently investigating and will update you shortly.

@DCtheGeek Can you please look into this ?

I’ll test it shortly.  @mgreenegit can you look, too?

Cloud shell is running PS 6.2.  DSC Compilation on Linux requires 7 preview 5.  Even then, we are working out a couple of issues.

@anwather Thanks for bringing this up. I've added language to clarify that the module works in Azure PowerShell and Cloud Shell, but that the DSC compliations currently must be in Windows PS 5.1. I've also changed the DSC specific code fences to be just 'powershell' and not Cloud Shell. When the change finishes and merges, this issue will automatically close.  Thanks again!
@MicrosoftDocs/azure-cxp-triage Please remove label 'product-question, add label 'doc-bug', and #in-progress.


10.0.20348.502 help not working

termsrv.zip

Duplicate of https://github.com/stascorp/rdpwrap/issues/1704


fix: fixes wrong Turkish flag

Description
Hey, thanks for this great extension. I was testing it and I saw that the Turkish flag was wrong.
I sent a little PR to fix it.
The original flag is  🇹🇷
You have:  🇹🇭
Type of change

Bug fix / improvement for somebody else's extension. Extension author: @ospfranco

Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I checked that extension's icon has size of 512x512

oopsie, thanks!


Nest tests under a span

Background
It's kinda annoying/odd that tests are directly under a build span.
Results
This nests them under a Tests span, if there are any tests.
We also no longer duplicate tests:

we were emiting them as part of the build log parsing
we were also emitting them from composite builds

Before
After

How to review this PR

Pre-requisites

[ ] I have considered informing or consulting the right people
[ ] I have considered appropriate testing for my change.

[sc-87109]


⚠ Spryr has degraded performance

In 4dd4870, Spryr (https://spryr.com) experienced degraded performance:

HTTP code: 200
Response time: 5200 ms

Resolved: Spryr performance has improved in 1bd7952 after 10 minutes.


CMAKE not totally cross-compile (fail on msys2 for windows)

Hello,
CMake fail to generate the build on toolchain MSYS2 (https://www.msys2.org/) for windows.
Here the complete build log:
....MINGW32 /c/../json/build
$ ....MINGW32 /c/../json/build
-- The C compiler identification is GNU 7.3.0
-- Check for working C compiler: C:/msys64/mingw32/bin/gcc.exe
-- Check for working C compiler: C:/msys64/mingw32/bin/gcc.exe -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Detecting C compile features
-- Detecting C compile features - done
CMake Error at CMakeLists.txt:99 (include):
include could not find load file:
CheckFunctionKeywords

C compiler: GNU
-- Looking for include file endian.h
-- Looking for include file endian.h - not found
-- Looking for include file fcntl.h
-- Looking for include file fcntl.h - found
-- Looking for include file sched.h
-- Looking for include file sched.h - found
-- Looking for include file unistd.h
-- Looking for include file unistd.h - found
-- Looking for include file sys/param.h
-- Looking for include file sys/param.h - found
-- Looking for include file sys/stat.h
-- Looking for include file sys/stat.h - found
-- Looking for include file sys/time.h
-- Looking for include file sys/time.h - found
-- Looking for include file sys/types.h
-- Looking for include file sys/types.h - found
-- Looking for close
-- Looking for close - found
-- Looking for getpid
-- Looking for getpid - found
-- Looking for gettimeofday
-- Looking for gettimeofday - found
-- Looking for open
-- Looking for open - found
-- Looking for read
-- Looking for read - found
-- Looking for sched_yield
-- Looking for sched_yield - found
-- Looking for include file stdint.h
-- Looking for include file stdint.h - found
-- Looking for stddef.h
-- Looking for stddef.h - found
-- Check size of __int64
-- Check size of __int64 - done
-- Check size of int64_t
-- Check size of int64_t - done
-- Check size of long long
-- Check size of long long - done
-- Check size of int32_t
-- Check size of int32_t - done
-- Check size of __int32
-- Check size of __int32 - done
-- Check size of long
-- Check size of long - done
-- Check size of int
-- Check size of int - done
-- Check size of unsigned long
-- Check size of unsigned long - done
-- Check size of unsigned int
-- Check size of unsigned int - done
-- Check size of unsigned short
-- Check size of unsigned short - done
-- Check size of uint32_t
-- Check size of uint32_t - done
-- Check size of __uint32
-- Check size of __uint32 - failed
-- Check size of uint16_t
-- Check size of uint16_t - done
-- Check size of __uint16
-- Check size of __uint16 - failed
-- Check size of uint8_t
-- Check size of uint8_t - done
-- Check size of __uint8
-- Check size of __uint8 - failed
-- Check size of ssize_t
-- Check size of ssize_t - done
-- Check size of SSIZE_T
-- Check size of SSIZE_T - failed
-- Looking for strtoll
-- Looking for strtoll - found
-- Looking for strtoq
-- Looking for strtoq - not found
-- Looking for _strtoi64
-- Looking for _strtoi64 - found
-- Looking for include file locale.h
-- Looking for include file locale.h - found
-- Looking for localeconv
-- Looking for localeconv - found
-- Looking for setlocale
-- Looking for setlocale - found
CMake Error at CMakeLists.txt:285 (check_function_keywords):
Unknown CMake command "check_function_keywords".
-- Configuring incomplete, errors occurred!
See also "C:/.../json/build/CMakeFiles/CMakeOutput.log".
See also "C:/.../json/build/CMakeFiles/CMakeError.log".

I'm not sure where the problem is. The relevant part of CMakeLists.txt is like this:
# for CheckFunctionKeywords
set(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake")
# ,,,
include (CheckFunctionKeywords)

So the search path is set correctly before including.

Hello,
Yes, seems that can't load "CheckFunctionKeywords".
I do not know if this is an unix extension, or some package to install in MSYS2 is missing, but it does not currently compile

$ ....MINGW32 /c/../json/build

I wonder if the virtual-c-drive-folder thing, plus the ".." parent dir, confused things so cmake could not find any files. Can you post the specific steps you used up to calling cmake, including cloning or extracting the source, making a build dir, changing to the build dir, etc? Maybe if you do an in-tree build instead of an out-of-tree-build it can confirm whether the problem is related to this?

Hello,
I've found the issue, cmake/CheckFunctionKeywords.cmake was badly copied and the size was 0 bytes, now the build is generated correctly.
Now I have some problems with using it in a dynamic library because jasson requires the libstdc++ library which in MSYS2 is the libstdc++6.dll library that depends on libwinpthread-1.dll and I need to link jansson and its dependencies in a static way in a dynamic library.
the stdc++ library resolves the static linking with the -static-libstdc++ linking option, the winpthread should resolve with the -lwinpthread option, however it does not seem to work and continues to require the dynamic library as a dependency.
I hope you can add the options in CMAKE for the static linking of these libraries for those using MSYS2 in windows (as in the case of the STATIC_CRT option for MSVC).
Thanks for the support.


multiple http or https sites

How to support multiple http or https sites.

In theory, supporting multiple sites with the same PoW-Shield instance is not a very good idea. I'd recommend starting at least one container for each site, the url can be specified in a compose file.


32-bit replay fails on Ubuntu 22.04

While preparing to migrate from an Ubuntu 16.04 machine to an Ubuntu 22.04 machine (with the same GPU, but a newer driver), I was exercising gfxrecon-replay both for 64-bit and 32-bit builds, using small traces originally captured on 16.04.
64-bit builds replay the capture fine.
32-bit builds fail on vkAllocateMemory:
$ dbuild32/tools/replay/gfxrecon-replay --sfa /media/nas/smb_traces/vulkan/GFXR/aurelia-nvidia/vkcube/vkcube_20190306T155300.gfxr
[gfxrecon] INFO - Replay adjusted the vkEnumeratePhysicalDevices array count: capture count = 1, replay count = 2
[gfxrecon] INFO - Replay adjusted the vkEnumeratePhysicalDevices array count: capture count = 1, replay count = 2
[gfxrecon] FATAL - API call vkGetPhysicalDeviceSurfaceFormatsKHR returned error value VK_ERROR_INITIALIZATION_FAILED that does not match the result from the capture file: VK_SUCCESS.  Replay cannot continue.
Replay has encountered a fatal error and cannot continue: initialization of an object has failed

As far as I can tell, the GPU being selected is correct; the other driver available on the replay machine is llvmpipe, which if explicitly selected causes a different failure:
$ dbuild32/tools/replay/gfxrecon-replay --gpu 1 --sfa /media/nas/smb_traces/vulkan/GFXR/aurelia-nvidia/vkcube/vkcube_20190306T155300.gfxr
[gfxrecon] INFO - Replay adjusted the vkEnumeratePhysicalDevices array count: capture count = 1, replay count = 2
[gfxrecon] INFO - Replay adjusted the vkEnumeratePhysicalDevices array count: capture count = 1, replay count = 2
[gfxrecon] INFO - Creating logical device from manually specified GPU1
[gfxrecon] INFO -   Available devices are:
[gfxrecon] INFO -     [0] NVIDIA GeForce GTX 950
[gfxrecon] INFO -     [1] llvmpipe (LLVM 13.0.1, 256 bits)
[gfxrecon] INFO -   Specified device is: llvmpipe (LLVM 13.0.1, 256 bits)
[gfxrecon] WARNING - The replay device differs from the original capture device; replay may fail due to device incompatibilities:
[gfxrecon] WARNING -   Capture device info: [vendorID = 0x10de, deviceId = 0x1402, deviceName = GeForce GTX 950]
[gfxrecon] WARNING -   Replay device info:  [vendorID = 0x10005, deviceId = 0x0, deviceName = llvmpipe (LLVM 13.0.1, 256 bits)]
WARNING: lavapipe is not a conformant vulkan implementation, testing use only.
[gfxrecon] INFO - Replay adjusted the vkGetPhysicalDeviceSurfaceFormatsKHR array count: capture count = 2, replay count = 0
[gfxrecon] FATAL - Memory allocation failed: specified memory type index exceeds number of available memory types.
[gfxrecon] FATAL - Try replay with the '-m remap' or '-m rebind' options to enable memory translation.
[gfxrecon] FATAL - API call vkAllocateMemory returned error value VK_ERROR_INITIALIZATION_FAILED that does not match the result from the capture file: VK_SUCCESS.  Replay cannot continue.
Replay has encountered a fatal error and cannot continue: initialization of an object has failed

We cannot migrate testing for gfxreconstruct to the newer machines until this issue is understood and rectified.

Can this machine be made available exclusively on the VPN for several hours?

According to the log excerpt, this appears to be a failure in vkGetPhysicalDeviceSurfaceFormatsKHR and not vkAllocateMemory:
[gfxrecon] FATAL - API call vkGetPhysicalDeviceSurfaceFormatsKHR returned error value VK_ERROR_INITIALIZATION_FAILED that does not match the result from the capture file: VK_SUCCESS.  Replay cannot continue.

Does a 32-bit vkcube run on this machine?

Possibly related https://github.com/KhronosGroup/Vulkan-Loader/pull/1064

Shouldn't be related, the loader bug appears before an instance is even created.

I created a 32-bit capture of vkcube and was able to successfully replay it on Ubuntu 22.04 using a 64-bit Vulkan loader and gfxrecon-replay executable. The gfxrecon-replay executable was from SDK <IP_ADDRESS>.
Will close this issue


Add support for setting indicator color

[x] Add color arg, eg  VolumeSlicer(... color='red').
[x] Draw a rectangle around the image in that color. (But only when other slicers are present.)
[x] Other slicers draw indicators in that color.
[x] Indicators are now across the image.
[x] Decide on way to display the color of the current slicer. -> corners with slightly thicker lines.
[x] What should the default color be -> different color for each axis based on a good colormap (e.g. D3).
[x] Refactor to use one store less (combine "index" and "pos" into "state).
[x] Also include (rate limited) axis ranges, so that the indicators can be drawn correctly when zoomed in.
[x] Renamed some fields in the info store to avoid confusion with shape, sampling and origin.
[x] Slicer colors are taken from a plotly colormap.
[x] The create_overlay_data() method samples default colors from the same colormap.
[x] If a colormap is given to create_overlay_data(), the first element is used where mask is 1 (was 0).
[x] Update slicer_with_3_views to show slicer view ranges in the 3D figure.

Maybe a matter of color and taste, but I'm fine with lines as they are now. And it helps a lot with the navigation, love this feature!!

What do you think @surchs? Are lines too thick or ok? We need more opinions :-).

Added another possible approach to the top post.

Nice, this looks very cool and makes it easier to use!
I like the lines as well with the current thickness. Maybe to denote the individual axis graphs, we could just use a thick line on the bottom, rather than a complete border. And maybe this "indicator" line should be optional and default to hidden when no slicer colour is defined (or they all default to turquoise).

I think this is looking pretty great! The corner indicators could be a little smaller perhaps, and I personally preferred the "outer tick" style of indicators for the other two, that way they don't occlude the figure, but that's maybe just a personal style thing.
It would be awesome to get these indicators somehow reflected in the 3d view as well if possible in the example with the 3d plot :)

@nicolaskruchten

zomg that's cool

Ready for review.
The corner-indicators are now actually square, and have the same size in each view targeting the same volume.
Quite a few changes, I also renamed some variables, and refactored a bit.

Hold on - After discussion with @nicolaskruchten I'm going to try changing how we define the "indicator ranges".


Image for 8.5/jre8 can not be built

The Dockerfile uses openjdk:8-jre. There may have been a change.
+ apt-get install -y --no-install-recommends dpkg-dev gcc libapr1-dev libssl-dev make openjdk-8-jdk=8u151-b12-1~deb9u1
Reading package lists...
Building dependency tree...
Reading state information...
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 openjdk-8-jdk : Depends: openjdk-8-jdk-headless (= 8u151-b12-1~deb9u1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

Ok, seems to be a typo in your Dockerfile
apt-cache policy openjdk-8-jdk-headless
openjdk-8-jdk-headless:
  Installed: (none)
  Candidate: 8u162-b12-1~deb9u1
  Version table:
     8u162-b12-1~deb9u1 500
        500 http://security.debian.org stretch/updates/main amd64 Packages
     8u151-b12-1~deb9u1 500
        500 http://deb.debian.org/debian stretch/main amd64 Packages

Seems to be a problem in the openjdk:8-jre Image
 echo $JAVA_DEBIAN_VERSION
8u151-b12-1~deb9u1

It wasn't a typo, it's by design.  There was an update to the openjdk8 package in Debian which causes this normally, and that change has been propagated now, so this build is successful.


Split regressions into shards.

First step: on linux.

Simplified version of the previous sharding approach. The main parts of the regression and valgrind runs are now around 45min.
Msys2 and MacOS have not been addressed yet.
More work needed

do the same thing for msys2 (which was defeating me so far), and MacOS.
 This can probably be cleverly re-arranged to be more compact.

Yes, keeping it simple for now.
The rebuild is intentional to keep things simple in the first step (the previous experimental PR was changing too many things at once). There will be no walltime difference, as these run in parallel.
The failure shown in MacOS is addressed in #3332.

@proppy would you like to help simplify this file ?

Thanks @proppy, some good suggestions.I'll probably submit this version and then put in refactors in follow-up PRs.


Band plan

I chose band plan unlock all and now I want to go back to default+. In the hidden menu, I changed Flock back to deafult+ and the lettering in the menu changes, but the radio still broadcasts on all frequencies. I tried to change the band plan a few times and even with disable all radio broadcasts on all frequencies, I also tried to change the firmware to a different one, but still the same. I uploaded the original firmware and then the range was locked, but after returning to this firmware, the radio is unlocked again

Hello,
You're in memory channel mode or frequency mode ?
What about TXLock menu (menu 13) : ON or OFF ?
Take a look to the wiki if necessary.
Armel F4HWN.

I read the wiki but I didn't fully understand how tx lock works. I was confused that in VFO and MR mode I can broadcast wherever I want outside the band plan, it turns out that everywhere I had TXLock off by default.
Thanks, once you set TXLock to it works as it should.

Ok, no problem. Thank you ;)
Armel F4HWN


fix BE upgrade arrow to 15.0.2

Proposed changes
arrow 13.0.0 -> 15.0.2
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall

run buildall

run buildall