Clojure LSP server never starts

When I enable the Clojure LSP plugin or press the "restart" button in the settings (cf. https://github.com/clojure-lsp/clojure-lsp-intellij/blob/e017810ac2041c4d9c7804e684b74d0f18300206/docs/troubleshooting.md) I get an additional "Clojure LSP startup" background task, but the server never actually starts. "Copy server info to clipboard" gives me nil. ps aux does not list any process with lsp in its name, either.

IntelliJ IDEA 2023.2.2 (Ultimate Edition)
Build #IU-232.9921.47, built on September 12, 2023
Licensed to [REDACTED]
You have a perpetual fallback license for this version.
Subscription is active until [REDACTED].
Runtime version: 17.0.8+7-b1000.22 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 6.4.15-200.fc38.x86_64
GC: G1 Young Generation, G1 Old Generation
Memory: 4096M
Cores: 8
Registry:
    debugger.new.tool.window.layout=true
    ide.experimental.ui=true
    editor.minimap.enabled=true

Non-Bundled Plugins:
    com.jetbrains.plugins.ini4idea (232.9921.55)
    com.jetbrains.rust (232.9921.62)
    org.intellij.plugins.hcl (232.8660.88)
    com.intellij.plugins.watcher (232.8660.88)
    org.jetbrains.plugins.go-template (232.9921.62)
    com.intellij.ideolog (<IP_ADDRESS>)
    name.kropp.intellij.makefile (232.8660.88)
    org.jetbrains.plugins.localization (232.8660.88)
    org.jetbrains.plugins.go (232.9921.28)
    com.github.clojure-lsp (0.12.4)
    com.intellij.kubernetes (232.9921.28)
    com.intellij.grazie.pro (0.3.250)
    com.intellij.datagen (232.8660.88)
    PlantUML integration (7.0.0-IJ2023.2)
    com.demonwav.minecraft-dev (2023.2-1.6.10)
    com.dmarcotte.handlebars (232.8660.88)
    com.intellij.tide (232.8660.88)
    Pythonid (232.9921.47)
    com.intellij.bigdatatools.core (232.9921.47)
    com.intellij.bigdatatools.binary.files (232.8660.206)
    com.intellij.bigdatatools.rfs (232.9921.47)
    mobi.hsz.idea.gitignore (4.5.1)
    com.cursiveclojure.cursive (1.13.0-2023.2)
    com.github.brcosta.cljstuffplugin (0.7.9)
    to.bri.intellij.clubhouse (0.1.13)
    nix-idea (<IP_ADDRESS>)
    net.ashald.envfile (3.4.1)
    com.jetbrains.php (232.9921.55)
    aws.toolkit (1.79-232)

Kotlin: 232-1.9.0-IJ9921.47
Current Desktop: KDE

Note that I do also have Cursive enabled and that (as far as I can tell from Settings > Editor > File Types > Clojure, ClojureScript and ClojureDart, which I believe is the Clojure LSP plugin's file type) Cursive, providing the "Clojure file" section, still holds the *.clj files, which are the only files in this project.

Thanks for the report, I'm working on improving the troubleshooting even more for cases like that.
Did you try to disable Cursive? they are not compatible and you will face issues when using both.

Did you try to disable Cursive?

I just tried, but everything looks exactly the same (as in my screenshots above). I cannot notice any difference.

@devurandom, that's interesting, I cannot repro that though, can you try to reproduce that in this repro?

@devurandom, that's interesting, I cannot repro that though, can you try to reproduce that in this repro?

I disabled Cursive and Clojure Extras (which depends on Cursive) and enabled Clojure LSP. I restarted IntelliJ. I opened the local clone of that sample. The in the IntelliJ window for the sample, "background task" first showed "starting server" and then "initializing" and it got stuck there, just like before. I closed my main project IntelliJ window and restarted IntelliJ with only the sample project window open. This time the background task went from "starting server" to "analyzing external classpath" and now Clojure LSP appears to work. When I now switch back to my main project (open in: this window), Clojure LSP works there, too. When I now restart IntelliJ with just my main project window open, Clojure LSP will "starting server", "initializing", "finding cache", "analyzing external classpath" and it continues to work.
Unrelated bug: I opened async.clj in the sample project and when I press CTRL and hover the mouse over one of the Thread/sleep invocations, a lot of home/.../Thread.java tabs open, showing a file with /** GWT compatible no-op replacement for {@code Thread}. */ and a stub public class Thread { ... }.

That probably is happening because with no project associated clojure-lsp is starting in a folder different than your project root, even so, it should show a error message when the classpath is not found, I'll try to improve the tools settings window to allow specifing a server log path but probably it's related with clojure-lsp being started in a folder different than your Clojure project root

Unrelated bug: I opened async.clj in the sample project and when I press CTRL and hover the mouse over one of the Thread/sleep invocations, a lot of home/.../Thread.java tabs open, showing a file with /** GWT compatible no-op replacement for {@code Thread}. */ and a stub public class Thread { ... }.

Yeah, there is a bug that the file is opened automatically, I should fix it soon

@ericdallo I'm was having the same issue in my IntelliJ. When I click to stop LSP server it don't stop either.
I noticed it occurred when I have multiple projects open (which is the default for my usage). Here are the logs I exported:
2024-01-11 09:35:36,595 [  17409]   WARN - #com.github.ericdallo.clj4intellij.ClojureClassLoader - [Clojure LSP] Could not start nrepl server, error: Syntax error compiling at (nrepl/middleware/completion.clj:23:1).
2024-01-11 09:35:36,887 [  17701]   WARN - #com.github.ericdallo.clj4intellij.ClojureClassLoader - [Clojure LSP] Could not start nrepl server, error: Syntax error compiling var at (nrepl/server.clj:96:1).
2024-01-11 09:42:47,560 [  17150]   WARN - #com.github.ericdallo.clj4intellij.ClojureClassLoader - [Clojure LSP] Could not start nrepl server, error: java.net.BindException: Address already in use
2024-01-11 14:48:14,740 [18344330]   WARN - #com.github.ericdallo.clj4intellij.ClojureClassLoader - [Clojure LSP] Could not start nrepl server, error: java.net.BindException: Address already in use
2024-01-11 17:26:06,361 [27815951]   WARN - #com.github.ericdallo.clj4intellij.ClojureClassLoader - [Clojure LSP] Could not start nrepl server, error: java.net.BindException: Address already in use
2024-01-11 17:54:41,582 [29531172]   WARN - #com.github.ericdallo.clj4intellij.ClojureClassLoader - [Clojure LSP] Could not start nrepl server, error: java.net.BindException: Address already in use
2024-01-12 10:34:44,197 [  28734]   WARN - #com.github.ericdallo.clj4intellij.ClojureClassLoader - [Clojure LSP] Could not start nrepl server, error: java.net.BindException: Address already in use
2024-01-12 10:34:44,198 [  28735]   WARN - #com.github.ericdallo.clj4intellij.ClojureClassLoader - [Clojure LSP] Could not start nrepl server, error: java.net.BindException: Address already in use
2024-01-12 10:34:44,200 [  28737]   WARN - #com.github.ericdallo.clj4intellij.ClojureClassLoader - [Clojure LSP] Could not start nrepl server, error: java.net.BindException: Address already in use
2024-01-12 10:34:44,201 [  28738]   WARN - #com.github.ericdallo.clj4intellij.ClojureClassLoader - [Clojure LSP] Could not start nrepl server, error: java.net.BindException: Address already in use
2024-01-12 10:40:16,386 [  22527]   WARN - #com.github.ericdallo.clj4intellij.ClojureClassLoader - [Clojure LSP] Could not start nrepl server, error: Syntax error macroexpanding at (nrepl/middleware/dynamic_loader.clj:1:1).
2024-01-12 10:40:16,408 [  22549]   WARN - #com.github.ericdallo.clj4intellij.ClojureClassLoader - [Clojure LSP] Could not start nrepl server, error: Syntax error macroexpanding at (nrepl/middleware/dynamic_loader.clj:1:1).
2024-01-12 10:40:16,419 [  22560]   WARN - #com.github.ericdallo.clj4intellij.ClojureClassLoader - [Clojure LSP] Could not start nrepl server, error: Syntax error macroexpanding at (nrepl/middleware/dynamic_loader.clj:1:1).
2024-01-12 10:40:16,428 [  22569]   WARN - #com.github.ericdallo.clj4intellij.ClojureClassLoader - [Clojure LSP] Could not start nrepl server, error: Syntax error macroexpanding at (nrepl/middleware/dynamic_loader.clj:1:1).
2024-01-12 10:40:16,436 [  22577]   WARN - #com.github.ericdallo.clj4intellij.ClojureClassLoader - [Clojure LSP] Could not start nrepl server, error: Syntax error macroexpanding at (nrepl/middleware/dynamic_loader.clj:1:1).
2024-01-12 10:49:58,690 [  15037]   WARN - #com.github.ericdallo.clj4intellij.ClojureClassLoader - [Clojure LSP] Could not start nrepl server, error: java.net.BindException: Address already in use
2024-01-12 10:49:58,690 [  15037]   WARN - #com.github.ericdallo.clj4intellij.ClojureClassLoader - [Clojure LSP] Could not start nrepl server, error: java.net.BindException: Address already in use
2024-01-12 10:49:58,691 [  15038]   WARN - #com.github.ericdallo.clj4intellij.ClojureClassLoader - [Clojure LSP] Could not start nrepl server, error: java.net.BindException: Address already in use
2024-01-12 10:49:58,691 [  15038]   WARN - #com.github.ericdallo.clj4intellij.ClojureClassLoader - [Clojure LSP] Could not start nrepl server, error: java.net.BindException: Address already in use
2024-01-12 10:51:38,477 [  15851]   WARN - #com.github.ericdallo.clj4intellij.ClojureClassLoader - [Clojure LSP] Could not start nrepl server, error: java.net.BindException: Address already in use
2024-01-12 10:51:38,477 [  15851]   WARN - #com.github.ericdallo.clj4intellij.ClojureClassLoader - [Clojure LSP] Could not start nrepl server, error: java.net.BindException: Address already in use
2024-01-12 10:51:38,477 [  15851]   WARN - #com.github.ericdallo.clj4intellij.ClojureClassLoader - [Clojure LSP] Could not start nrepl server, error: java.net.BindException: Address already in use
2024-01-12 10:51:38,477 [  15851]   WARN - #com.github.ericdallo.clj4intellij.ClojureClassLoader - [Clojure LSP] Could not start nrepl server, error: java.net.BindException: Address already in use
2024-01-12 10:56:34,030 [  13491]   WARN - #com.github.ericdallo.clj4intellij.ClojureClassLoader - [Clojure LSP] Could not start nrepl server, error: java.net.BindException: Address already in use
2024-01-12 10:56:34,030 [  13491]   WARN - #com.github.ericdallo.clj4intellij.ClojureClassLoader - [Clojure LSP] Could not start nrepl server, error: java.net.BindException: Address already in use
2024-01-12 10:58:26,211 [  13958]   WARN - #com.github.ericdallo.clj4intellij.ClojureClassLoader - [Clojure LSP] Could not start nrepl server, error: java.net.BindException: Address already in use
2024-01-12 10:58:26,211 [  13958]   WARN - #com.github.ericdallo.clj4intellij.ClojureClassLoader - [Clojure LSP] Could not start nrepl server, error: java.net.BindException: Address already in use

Errors highlighted:

Could not start nrepl server, error: java.net.BindException: Address already in use
Could not start nrepl server, error: Syntax error macroexpanding at (nrepl/middleware/dynamic_loader.clj:1:1)
Could not start nrepl server, error: Syntax error compiling var at (nrepl/server.clj:96:1)
Could not start nrepl server, error: Syntax error compiling at (nrepl/middleware/completion.clj:23:1)

@romulo-oliveira-nubank, thank you! that should help!
The Address already in use are related with a development nrepl server we try to start, it should not be a problem and only a warning, but I will check how can we improve that.
I hope that's not related with this bug, but I'll double check

I see these clj4intellij related log messages:
2024-02-27 10:52:48,722 [  10229]   INFO - #com.github.ericdallo.clj4intellij.ClojureClassLoader - [null] Skipping nrepl server start, no config found.
2024-02-27 10:52:48,732 [  10239]   INFO - #com.github.ericdallo.clj4intellij.ClojureClassLoader - [null] Starting clojure-lsp plugin...

I get a log file in the default location (/tmp/clojure-lsp.X.out) instead of the configured location ("server log path": /tmp/clojure-lsp-intellij.log):
❯ cat /tmp/clojure-lsp.17079323471841263323.out
2024-02-27T09:53:06.871Z  INFO [clojure-lsp.server:620] - [SERVER] Starting server...
2024-02-27T09:53:07.234Z  INFO [clojure-lsp.nrepl:18] - ====== LSP nrepl server started on port 44947

lsof /tmp/clojure-lsp.17079323471841263323.out returns an error (exit code 1). No file /tmp/clojure-lsp-intellij.log exists.
Searching for that "LSP nrepl server started on port 44947" yields:
❯ netstat -nptul | rg 44947
tcp6       0      0 <IP_ADDRESS>:44947         :::*                    LISTEN      18006/java

PID 18006 is IntelliJ IDEA (.../.local/share/JetBrains/Toolbox/apps/intellij-idea-ultimate/jbr/bin/java ... com.intellij.idea.Main).
If this is the Clojure LSP server started by the plugin, notice how it takes almost 20s between "Starting clojure-lsp plugin" and "Starting server".
I configured "server trace level" to verbose, but the /tmp/clojure-lsp.17079323471841263323.out log file seems to be pretty quiet.
Is it possible that the plugin passes options in the wrong way?
"server info" is nil and "server version" is "server not started", but I guess that is expected. Is there a way to figure out what version of the server the plugin intends to run with? The equivalent of:
❯ clojure-lsp --version
clojure-lsp 2024.02.01-11.01.59
clj-kondo 2023.12.15

I just noticed that https://clojure-lsp.io/installation/#embedded-jar-legacy-executable says:

In Github releases you will find a clojure-lsp file that runs a embedded jar. This should be removed soon, use GraalVM binaries instead.

Does this affect the IntelliJ plugin?

Same with IntelliJ 2024.1 EAP6 and Clojure LSP 1.14.9:
IntelliJ IDEA 2024.1 EAP (Ultimate Edition)
Build #IU-241.13688.18, built on February 21, 2024
Licensed to IntelliJ IDEA EAP user: [REDACTED]
Expiration date: [REDACTED]
Runtime version: 17.0.10+8-b1207.1 amd64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
Linux 6.7.5-200.fc39.x86_64
GC: G1 Young Generation, G1 Old Generation
Memory: 8192M
Cores: 8
Registry:
  ide.experimental.ui=true
Non-Bundled Plugins:
  com.jetbrains.plugins.ini4idea (241.13688.39)
  org.jetbrains.plugins.go (241.13688.18)
  com.github.clojure-lsp (1.14.9)
  com.intellij.grazie.pro (0.3.287)
  name.kropp.intellij.makefile (241.13688.16)
  com.intellij.plugins.watcher (241.13688.16)
  org.intellij.plugins.hcl (241.13688.16)
  com.jetbrains.rust (241.24015.147)
  com.jetbrains.space (241.13688.16)
  org.jetbrains.plugins.go-template (241.13688.16)
  com.intellij.ideolog (<IP_ADDRESS>)
  org.jetbrains.plugins.localization (241.13688.16)
  com.intellij.properties.bundle.editor (241.13688.16)
  Pythonid (241.13688.18)
  com.intellij.datagen (241.13688.16)
  com.intellij.aqua (241.13688.39)
  PlantUML integration (7.7.0-IJ2023.2)
  com.intellij.ml.llm (241.13688.18)
  mobi.hsz.idea.gitignore (4.5.2)
  com.jetbrains.packagesearch.intellij-plugin (241.0.4)
  com.intellij.tide (241.13688.22)
  mdx.js (241.13688.16)
  com.dmarcotte.handlebars (241.13688.16)
  com.intellij.bigdatatools.core (241.13688.18)
  com.intellij.bigdatatools.binary.files (241.13688.18)
  com.intellij.bigdatatools.rfs (241.13688.18)
  com.intellij.bigdatatools.metastore.core (241.13688.18)
  com.intellij.bigdatatools.spark (241.13688.18)
  to.bri.intellij.clubhouse (0.1.13)
  net.ashald.envfile (3.4.2)
  com.intellij.bigdatatools.kafka (241.13688.18)
Kotlin: 241.13688.18-IJ
Current Desktop: KDE

Thank you very much for the detailed info @devurandom, but one thing is important to notice, clojure-lsp-intellij uses clojure-lsp as a JVM dependency so no clojure-lsp process is spawned... although I'm highly considering chang that as this issue + #26 would be probably be fixed by that... so that java process is probably not clojure-lsp or related to this plugin

I done like that because would it's pretty easy to just call the clojure public function to start the server and everything just works, but it seems it's causing these issues that I can't think a better way to solve, at least that would make it work like all other editors which spawn a clojure-lsp process as well

Folks, finally, this bug should be fixed by #34, now following all other editors standard, the plugin downloads automatically clojure-lsp process and spawn it instead of using clojure-lsp as a lib, it should not change anything to the final user, but it should fix this issue and others.

The issue persists even with plugin version 2.0.0.
I have set a "server log path":

But the log file does not exist:
❯ cat /tmp/clojure-lsp-intellij.log
cat: /tmp/clojure-lsp-intellij.log: No such file or directory

The process is running:
❯ ^ps aux | rg clojure-lsp
[REDACTED]   40727  0.0  0.0 33686252 49920 ?      Sl   12:31   0:00 [REDACTED]/.local/share/JetBrains/IntelliJIdea2023.3/clojure-lsp/clojure-lsp listen

❯ ls -l /proc/40727/fd
     #           name              type                                              target                                             readonly         mode         num_links       inode          user          group        size      created         accessed            modified
     0   /proc/40727/fd/0       symlink       pipe:[2028149]                                                                          true           r-x------                  1      2028156   [REDACTED]      [REDACTED]         64 B                34 minutes ago      34 minutes ago
     1   /proc/40727/fd/1       symlink       pipe:[2028150]                                                                          false          -wx------                  1      2028157   [REDACTED]      [REDACTED]         64 B                34 minutes ago      34 minutes ago
     2   /proc/40727/fd/2       symlink       pipe:[2028151]                                                                          false          -wx------                  1      2028158   [REDACTED]      [REDACTED]         64 B                34 minutes ago      34 minutes ago
     3   /proc/40727/fd/3       symlink       [REDACTED]/.local/share/JetBrains/IntelliJIdea2023.3/clojure-lsp/clojure-lsp       true           r-x------                  1      2028159   [REDACTED]      [REDACTED]         64 B                34 minutes ago      34 minutes ago
     4   /proc/40727/fd/4       symlink       /dev/random                                                                             true           r-x------                  1      2028160   [REDACTED]      [REDACTED]         64 B                34 minutes ago      34 minutes ago
     5   /proc/40727/fd/5       symlink       /dev/urandom                                                                            true           r-x------                  1      2034919   [REDACTED]      [REDACTED]         64 B                34 minutes ago      34 minutes ago

Something I noticed (using nushell):
❯ ps -l | where name =~ "clojure-lsp"
Error:   × Error getting process stat
   ╭─[source:1:1]
 1 │ nu
   · ▲
   · ╰── Unexpected IO error(/proc/1/stat): Too many open files (os error 24)
   ╰────

Redirected here from issue #35. Updated plugin today and now I get a proper crash instead with the following stacktrace:
java.io.FileNotFoundException: https://github.com/clojure-lsp/clojure-lsp/releases/download/2024.03.01-11.37.51/null
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1996)
	at java.base/sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1589)
	at java.base/sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:224)
	at java.base/java.net.URL.openStream(URL.java:1161)
	at clojure.java.io$fn__11621.invokeStatic(io.clj:239)
	at clojure.java.io$fn__11621.invoke(io.clj:235)
	at clojure.java.io$fn__11569$G__11523__11576.invoke(io.clj:69)
	at clojure.java.io$fn__11629.invokeStatic(io.clj:256)
	at clojure.java.io$fn__11629.invoke(io.clj:254)
	at clojure.java.io$fn__11569$G__11523__11576.invoke(io.clj:69)
	at clojure.java.io$input_stream.invokeStatic(io.clj:136)
	at clojure.java.io$input_stream.doInvoke(io.clj:121)
	at clojure.lang.RestFn.invoke(RestFn.java:410)
	at com.github.clojure_lsp.intellij.server$download_server_BANG_.invokeStatic(server.clj:77)
	at com.github.clojure_lsp.intellij.server$download_server_BANG_.invoke(server.clj:67)
	at com.github.clojure_lsp.intellij.server$start_server_BANG_$fn__21205.invoke(server.clj:146)
	at com.github.clojure_lsp.intellij.tasks$run_background_task_BANG_$run21108_impl__21110.invoke(tasks.clj:16)
	at com.github.clojure_lsp.intellij.tasks.proxy_plus21107.run(Unknown Source)
	at com.intellij.openapi.progress.impl.CoreProgressManager.startTask(CoreProgressManager.java:434)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.startTask(ProgressManagerImpl.java:132)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcessWithProgressAsynchronously$5(CoreProgressManager.java:484)
	at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$4(ProgressRunner.java:248)
	at com.intellij.openapi.progress.ProgressManager.lambda$runProcess$0(ProgressManager.java:73)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$runProcess$1(CoreProgressManager.java:192)
	at com.intellij.openapi.progress.impl.CoreProgressManager.lambda$executeProcessUnderProgress$12(CoreProgressManager.java:610)
	at com.intellij.openapi.progress.impl.CoreProgressManager.registerIndicatorAndRun(CoreProgressManager.java:685)
	at com.intellij.openapi.progress.impl.CoreProgressManager.computeUnderProgress(CoreProgressManager.java:641)
	at com.intellij.openapi.progress.impl.CoreProgressManager.executeProcessUnderProgress(CoreProgressManager.java:609)
	at com.intellij.openapi.progress.impl.ProgressManagerImpl.executeProcessUnderProgress(ProgressManagerImpl.java:78)
	at com.intellij.openapi.progress.impl.CoreProgressManager.runProcess(CoreProgressManager.java:179)
	at com.intellij.openapi.progress.ProgressManager.runProcess(ProgressManager.java:73)
	at com.intellij.openapi.progress.impl.ProgressRunner.lambda$submit$5(ProgressRunner.java:248)
	at com.intellij.openapi.progress.impl.ProgressRunner$ProgressRunnable.run(ProgressRunner.java:498)
	at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136)
	at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:702)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1$1.run(Executors.java:699)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:399)
	at java.base/java.util.concurrent.Executors$PrivilegedThreadFactory$1.run(Executors.java:699)
	at java.base/java.lang.Thread.run(Thread.java:840)

This on IntelliJ 2023.3.4 (Ultimate Edition) on macOS Big Sur 11.7.10.

@gerdint your issue will be fixed on 2.0.1 (affects only mac non aarch64), I uploaded today morning, should be available later today or tomorrow

@devurandom that's weird, you may be facing this problem that happens

@ericdallo Cool, now it works. Static analysis seems to work well, off to explore the REPL!

FYI: I updated to 2.1.0 and now Clojure LSP initializes fine and proceeds to "analyzing external classpath".

@devurandom thanks for the reply, glad it works for you too


Update rankby.yml

Add info about radius being disallowed when distance is specified.
Fixes bug 197736783.
Thank you for opening a Pull Request!

Before submitting your PR, there are a few things you can do to make sure it goes smoothly:

[ ] Make sure to open a GitHub issue as a bug/feature request before writing your code!  That way we can discuss the change, evaluate designs, and agree on the general idea
[ ] Ensure the tests and linter pass
[ ] Code coverage does not decrease (if any source code was changed)
[ ] Appropriate docs were updated (if necessary)

Fixes #<issue_number_goes_here> 🦕

/update-dist


(maint) Remove IPv4 stack preference in Docker

Based on the removal performed in pe-puppetdb-extensions,
make this consistent based on the conversation that IPv4 is no
loger necessary to prefer.
PR https://github.com/puppetlabs/pe-puppetdb-extensions/pull/498/
https://github.com/puppetlabs/pe-puppetdb-extensions/commit/db8c43847b25e434d21db45f3352ef7828a20a57

CLA signed by all contributors.

Azure didn't run its check for some reason... adding don't merge until we can figure out what happened.

@robdaemon / @rbrw did the IPv6 work land in this branch too? If not, we can probably close this PR - just wanted to make sure that we performed the same config change here if necessary!


Inconsistent navbar classes naming

Opposite of light is dark, not inverse. Dark is also shorter.
Please use class navbar-dark instead of navbar-inverse.

@Johann-S May I put in a PR for this? Thanks!

Yes you can @Varunram but I'm not sure if this change will be accepted

Thanks!

We use inverse for cards, navbars, tables, and background utilities. For now, we'll leave them as-is.

Sure @mdo Thanks!


[mac] hard-fault seen in ProcessReceiveSecurity

On the build from the current master, I got the below hard fault.
Interestingly I am unable to reproduce it anymore. Do you have any idea what could be the issue here? I had just two boards and testing re-synchronization issue reported here #5293.
HardFault_Handler () at third_party/NordicSemiconductor/nrfx/mdk/gcc_startup_nrf52840.S:316
316	    b       .
(gdb) where
#0  HardFault_Handler () at third_party/NordicSemiconductor/nrfx/mdk/gcc_startup_nrf52840.S:316
#1  <signal handler called>
#2  0x000071b8 in ot::Mac::Mac::ProcessReceiveSecurity (this=this@entry=0x200069ac <ot::gInstanceRaw+23580>, aFrame=..., aSrcAddr=...,
    aNeighbor=aNeighbor@entry=0x20006dcc <ot::gInstanceRaw+24636>) at src/core/mac/mac.cpp:1510
#3  0x00007d32 in ot::Mac::Mac::HandleReceivedFrame (this=0x200069ac <ot::gInstanceRaw+23580>,
    aFrame=aFrame@entry=0x20009370 <sReceivedFrames>, aError=<optimized out>)
    at src/core/mac/mac.cpp:1651
#4  0x00009242 in ot::Mac::SubMac::Callbacks::ReceiveDone (this=<optimized out>, aFrame=aFrame@entry=0x20009370 <sReceivedFrames>,
    aError=<optimized out>) at src/core/mac/sub_mac_callbacks.cpp:64
#5  0x00009028 in ot::Mac::SubMac::HandleReceiveDone (this=<optimized out>, aFrame=aFrame@entry=0x20009370 <sReceivedFrames>,
    aError=<optimized out>) at src/core/mac/sub_mac.cpp:210
#6  0x000209ce in ot::Radio::Callbacks::HandleReceiveDone (this=this@entry=0x200015a3 <ot::gInstanceRaw+2067>,
    aFrame=aFrame@entry=0x20009370 <sReceivedFrames>, aError=<optimized out>)
    at src/core/radio/radio_callbacks.cpp:43
#7  0x0000de40 in otPlatRadioReceiveDone (aInstance=aInstance@entry=0x20000d90 <ot::gInstanceRaw>,
    aFrame=aFrame@entry=0x20009370 <sReceivedFrames>, aError=aError@entry=OT_ERROR_NONE)
    at src/core/radio/radio_platform.cpp:50
#8  0x00023a98 in nrf5RadioProcess (aInstance=aInstance@entry=0x20000d90 <ot::gInstanceRaw>)
    at examples/platforms/nrf528xx/src/radio.c:728
#9  0x00023e58 in otSysProcessDrivers (aInstance=aInstance@entry=0x20000d90 <ot::gInstanceRaw>)
    at examples/platforms/nrf528xx/src/system.c:143
#10 0x000002f8 in main (argc=0, argv=0x0 <__isr_vector>) at examples/apps/cli/main.c:114

(gdb) info locals
No locals.

(gdb) frame 2
#2  0x000071b8 in ot::Mac::Mac::ProcessReceiveSecurity (this=this@entry=0x200069ac <ot::gInstanceRaw+23580>, aFrame=..., aSrcAddr=...,
    aNeighbor=aNeighbor@entry=0x20006dcc <ot::gInstanceRaw+24636>) at src/core/mac/mac.cpp:1510
1510	    aesCcm.Init(aFrame.GetHeaderLength(), aFrame.GetPayloadLength(), tagLength, nonce, sizeof(nonce));

(gdb) info locals
keyManager = <optimized out>
error = OT_ERROR_SECURITY
securityLevel = 5 '\005'
keyIdMode = 8 '\b'
frameCounter = 2000
nonce = "\":\234d\200%\216\273\000\000\a\320\005"
tag = "\000\000\000\000@\223\000 \000\000\000\000\000j\000 "
tagLength = 4 '\004'
keyid = 0 '\000'
keySequence = 0
macKey = <optimized out>
extAddress = <optimized out>
aesCcm = {mEcb = {mContext = {buffer = {buffer_cc310 = {537067520, 0, 872611181, 3223651, 986024414, 565478131,<PHONE_NUMBER>,<PHONE_NUMBER>,
          128, 536871060, 536908656, 536899020, 0, 0, 0, 1, 0, 0, 1, 1,<PHONE_NUMBER>, 537132760, 127, 76}, buffer_vanilla_mbedtls = {
          537067520, 0, 872611181, 3223651, 986024414, 565478131,<PHONE_NUMBER>,<PHONE_NUMBER>, 128, 536871060, 536908656, 536899020, 0, 0,
          0, 1, 0, 0, 1, 1,<PHONE_NUMBER>, 537132760, 127, 76,<PHONE_NUMBER>, 537132776, 127, 536920302, 155245, 2, 155333, 8, 2, 536920302,
          536911342, 4, 155431, 536920302, 537132748, 0, 536911506, 536920302, 536911342, 536920302, 536871680, 536871680, 0,
          536908656, 536899020, 0, 16161, 536873485, 536899020, 0, 16161,<PHONE_NUMBER>, 757935405,<PHONE_NUMBER>,<PHONE_NUMBER>, 543450486,
<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>,<PHONE_NUMBER>, 880291872, 3223651, 536920302,<PHONE_NUMBER>},
        dummy = 537067520}, handle = 0x36fe8 <mbedtls_aes_cc310_backend_funcs>}},
  mBlock = "\354\235\000 \356\235\000 \377\000\000\000\023\204\002", mCtr = "\000\000\000\064\000\020\000@\000\360\001@\364\235\000 ",
  mCtrPad = "\354\235\000 \356\235\000 \356\300\000 \223\201\002", mHeaderLength = 536897964, mHeaderCur = 16181,
  mPlainTextLength = 536871680, mPlainTextCur = 537132912, mBlockLength = 793, mCtrLength = 0, mNonceLength = 241 '\361',
  mTagLength = 22 '\026'}
(gdb)

@LuDuda , thanks for raising this issue.
I could not find anything obvious in my initial review of the code. @abtink , thoughts?

Nothing specific jumps out to me.
The fault is here:
 aesCcm.Init(aFrame.GetHeaderLength(), aFrame.GetPayloadLength(), tagLength, nonce, sizeof(nonce));

One thing to look more into is whether GetHeaderLength() will return correct value (under all situations) - since the implementation uses GetPayload() which can return nullptr if frame cannot be parsed.
However, I know before we get to do security check on the received frame it must passes through ValidatePsdu().
I will check if there may be any situation that is not covered by `ValidatePsdu().

@LuDuda , have you run into this issue recently?

@jwhui no. From my previous experience, such asserts popped out again right after I had closed GitHub issue, so give it a try 😄


[example] Fixes whisper model translator

The lifespan of AudioProcessor should at least match the model
Description
Brief description of what this PR is about

If this change is a backward incompatible change, why must this change be made?
Interesting edge cases to note here

Codecov Report
Base: 72.08% // Head: 74.25% // Increases project coverage by +2.16% :tada:

Coverage data is based on head (33d7fa0) compared to base (bb5073f).
Patch coverage: 75.05% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #2341      +/-   ##
============================================
+ Coverage     72.08%   74.25%   +2.16%
- Complexity     5126     6711    +1585
============================================
  Files           473      659     +186
  Lines         21970    29201    +7231
  Branches       2351     3017     +666
============================================
+ Hits          15838    21683    +5845
- Misses         4925     6046    +1121
- Partials       1207     1472     +265

Impacted Files
Coverage Δ

api/src/main/java/ai/djl/modality/cv/Image.java
69.23% <ø> (-4.11%)
:arrow_down:

...rc/main/java/ai/djl/modality/cv/MultiBoxPrior.java
76.00% <ø> (ø)

...rc/main/java/ai/djl/modality/cv/output/Joints.java
71.42% <ø> (ø)

.../main/java/ai/djl/modality/cv/output/Landmark.java
100.00% <ø> (ø)

...main/java/ai/djl/modality/cv/output/Rectangle.java
72.41% <0.00%> (ø)

...i/djl/modality/cv/translator/BigGANTranslator.java
21.42% <0.00%> (-5.24%)
:arrow_down:

.../modality/cv/translator/ImageFeatureExtractor.java
0.00% <0.00%> (ø)

.../ai/djl/modality/cv/translator/YoloTranslator.java
27.77% <0.00%> (+18.95%)
:arrow_up:

...ain/java/ai/djl/modality/cv/util/NDImageUtils.java
67.10% <0.00%> (+7.89%)
:arrow_up:

api/src/main/java/ai/djl/modality/nlp/Decoder.java
63.63% <ø> (ø)

... and 603 more

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

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


Time lapse view should specify current line when possible

When possible - so, definitely at least when invoked from an editor tab - invoke as p4vc -l LINE FILE. The -l flag opens the time lapse view with the given line highlighted, and also enables line numbers by default.
PR to hopefully follow at some point.
--Tom

Is it easy to add stuff to the right click menu?

Looks like the line numbers column isn't clickable, so that's a shame.
Anyway, maybe this could be at least a partial solution for #11. Though the -l option only works for the first invocation for a given file. (p4vc will re-use the window for subsequent invocations, but the -l option doesn't work.)
--Tom

Oh great, the original aim was to do this but I didn't know the commandline and got side tracked.

Is it easy to add stuff to the right click menu?  Looks like the line numbers column isn't clickable, so that's a shame.
Anyway, maybe this could be at least a partial solution for #11. Though the -l option only works for the first invocation for a given file. (p4vc will re-use the window for subsequent invocations, but the -l option doesn't work.)
--Tom

It should be easy enough to add a right-click if you can find the correct ID, it will most likely start with IDM_VS_CTXT_. You can then add it to the command table (.vsct).
For #11 I was going to use  p4 annotate which gets the revision/user/data/CL/etc for each line of the file. I just don't know the best way to integrate into the IDE that isn't intrusive and has zero performance impact.


Task: update to npe2

See https://github.com/napari/napari/pull/3769 for instructions.

@jni, I think we can close this after #46

Yup!


Added support to API proxies.

API Proxies are services that work in the middle between your clients and your API server.
They are useful for handling some API-exclusive logic so that you don't have to such as usage statistics, authentication, etc.
Some examples of API Proxies are: Apigee, 3scale and Mashery.
Current version of api-pagination generates links based on request.url but when we use a proxy that generate direct links to the API server which we don't want to expose (and which you probably made it unaccessible to outsiders anyway).
My approach to solve this problem was pretty simple: provide the option to generate relative links.
Relative links are allowed according to the Web Linking RFC5988.
So there's now an option :relative_uri which should be set to true if user so desires.
Another issue that I've stumbled upon was the base path.
Many APIs probably set a different domain such as api.example.com which makes all paths the same when using a proxy (unless you set something else in the proxy).
Other APIs though are nested in the main domain (e.g. example.com/api), maybe to be able to use SSL without new or expensive certificates.
That said, we should be able to hide such "/api" base path because from the client perspective (accessing through the proxy) that base path doesn't exist. More details in code comments.
I made that possible through the option exclude_base_path.
I've also added proper tests and they all pass.
This solution is already successfully being used in a production app of mine.
Hope this helps everyone.

Okay, that use-case makes sense. But that does make me wonder how your application currently generates its own URLs... Wouldn't they also be incorrect and include the api/ fragment instead of generating URLs for the proxy? I wonder if there's a more portable way for me to take advantage of Grape here?
Also, does this not also need changes on the Rails side of the gem?


Refactor: better default coordinate constant

Might be ideal to support something other than NaN https://github.com/visgl/deck.gl/pull/9174/files
Export multiple variants, e.g. single value, array value, TypedArray value, etc

Verified the above snippet, doing intBitsToFloat(-1) like how it is done in the deckgl shader correctly returns NaN. This calls into question another thought:
This "default coordinate" constant is primarily used as a fallback when no lon/lat is provided in the data. However, this is also a little contextualized to geojson data format specifically as other formats such as Arrow already give you a dict of null values for any given column. One could argue that if we needed to pass "empty" coordinates to a shader you may still run into this issue given that the return value of intBitsToFloat(-1) (in the function above, not in a shader) still returns NaN. Thus, you would still be passing NaN to the shader itself vs. deriving inside by checking if the attribute is falsy to begin with.


Highlight editorconfig properties with dashes

Problem: editorconfig properties with dashes are not highlighted
Solution: update the property pattern to include dashes

did you contact the maintainer?

Sort of. (neovim/neovim#24404)

thanks. Let me include it then.


Replace externally-provided acceptable chains with candidate list including possibly-decided values

Replace collection of acceptable chains received from outside with a collection of candidate chains that is updated to include any that might have been decided by another participant in a previous round.

Prepare phase now waits to hear from >2/3 of power
Evidence for CONVERGE is retained in order to justify swaying (and later to propagate to PREPARE)

The sequence of tests in COMMIT is slightly different than the spec, checking first for a strong quorum of COMMIT for bottom, and inferring that if that doesn't exist, any non-bottom COMMIT value could have been decided by another participant.
There is currently a shortcut in CONVERGE, where if the max ticket value cannot be accepted, the participant falls back to their own value instead of iterating through sequential tickets. I think this must be ok, since the node might not have received any others. But to be discussed whether this is good enough. Iterating the tickets will involve a larger change (I can follow up with it).
Part of #170.

The changes are justified and are correct. Later changes may cause us to reevaluate the implementation decisions here, but for the moment they make sense.


Track total hits

It would need to get added to the json schema here in order to work https://github.com/kbase/search_api_deluxe/blob/develop/src/server/method_schemas.yaml#L27


[Feature]: Support for Falcon-11B model (Falcon 2)

⚠ Please check that this feature request hasn't been suggested before.

[X] I searched previous Ideas in Discussions didn't find any similar feature requests.
[X] I searched previous Issues didn't find any similar feature requests.

🔖 Feature description
Falcon-11B is trained on multilingual data. There is a lot of potential to finetune this model for these preferred languages. Working fine-tuning in fp16 would be a great addition in my opinion.
✔ Solution
The tokenizer has not been changed, however the architecture has been changed from:
    "model_type": "falcon",
    "architectures": [
        "FalconForCausalLM"
    ],
    "pre_weights": [
        {
            "name": "transformer.word_embeddings.weight",
            "is_embed": true
        }
    ],
    "post_weights": [
        {
            "name": "transformer.ln_f.weight"
        },
        {
            "name": "transformer.ln_f.bias"
        },
        {
            "name": "lm_head.weight",
            "is_embed": true
        }
    ],
    "num_layers_config_key": "num_hidden_layers",
    "layer_templates": {
        "weights": [
            {
                "name": "transformer.h.${layer_index}.ln_attn.bias"
            },
            {
                "name": "transformer.h.${layer_index}.ln_attn.weight"
            },
            {
                "name": "transformer.h.${layer_index}.ln_mlp.bias"
            },
            {
                "name": "transformer.h.${layer_index}.ln_mlp.weight"
            },
            {
                "name": "transformer.h.${layer_index}.mlp.dense_4h_to_h.weight"
            },
            {
                "name": "transformer.h.${layer_index}.mlp.dense_h_to_4h.weight"
            },
            {
                "name": "transformer.h.${layer_index}.self_attention.dense.weight"
            },
            {
                "name": "transformer.h.${layer_index}.self_attention.query_key_value.weight"
            }
        ]
    }
}

to
    "model_type": "falcon",
    "architectures": [
        "FalconForCausalLM"
    ],
    "pre_weights": [
        {
            "name": "transformer.word_embeddings.weight",
            "is_embed": true
        }
    ],
    "post_weights": [
        {
            "name": "transformer.ln_f.weight"
        },
        {
            "name": "transformer.ln_f.bias"
        },
        {
            "name": "lm_head.weight",
            "is_embed": true
        }
    ],
    "num_layers_config_key": "num_hidden_layers",
    "layer_templates": {
        "weights": [
            {
                "name": "transformer.h.${layer_index}.input_layernorm.bias"
            },
            {
                "name": "transformer.h.${layer_index}.input_layernorm.weight"
            },
            {
                "name": "transformer.h.${layer_index}.mlp.dense_4h_to_h.weight"
            },
            {
                "name": "transformer.h.${layer_index}.mlp.dense_h_to_4h.weight"
            },
            {
                "name": "transformer.h.${layer_index}.self_attention.dense.weight"
            },
            {
                "name": "transformer.h.${layer_index}.self_attention.query_key_value.weight"
            }
        ]
    }
}`
which means the architecture has been changed.

So changing these references and bumping the libs could be a solution.
❓ Alternatives
No response
📝 Additional Context
No response
Acknowledgements

[X] My issue title is concise, descriptive, and in title casing.
[X] I have searched the existing issues to make sure this feature has not been requested yet.
[X] I have provided enough information for the maintainers to understand and evaluate this request.

@s-smits the architecture change shouldn't drastically affect axolotl's support of Falcon2. Is there a feature that didn't work for yoU?

Thank you for your reply. I will test it soon and come back to you.

It works on a 4090 with winglian/axolotl-cloud:main-py3.11-cu121-2.3.0
base_model: ssmits/Falcon2-5.5B-Dutch
trust_remote_code: true
model_type: AutoModelForCausalLM
tokenizer_type: AutoTokenizer

load_in_8bit: true
load_in_4bit: false
strict: false

datasets:
  - path: tatsu-lab/alpaca
    type: alpaca
dataset_prepared_path: last_run_prepared
val_set_size: 0.05
adapter:
lora_model_dir:
sequence_len: 2048

datasets:
  - path: mhenrichsen/alpaca_2k_test
    type: alpaca
dataset_prepared_path:
val_set_size: 0.05
output_dir: ./outputs/lora-out

sequence_len: 4096
sample_packing: false
pad_to_sequence_len: true

adapter: lora
lora_model_dir:
lora_r: 32
lora_alpha: 16
lora_dropout: 0.05
lora_target_linear: true
lora_fan_in_fan_out:

wandb_project:
wandb_entity:
wandb_watch:
wandb_name:
wandb_log_model:

gradient_accumulation_steps: 4
micro_batch_size: 1
num_epochs: 2
optimizer: adamw_bnb_8bit
#paged_adamw_8bit works for batch_size=1 ~3 hours --> 11.23s/it per epoch
#adamw_bnb_8bit slightly faster? 11s/it

lr_scheduler: cosine
learning_rate: 0.00004

train_on_inputs: false
group_by_length: false
bf16: true
fp16:
tf32: true

gradient_checkpointing: true
early_stopping_patience:
resume_from_checkpoint:
local_rank:
logging_steps: 1
xformers_attention: false
# true gives 11s/it
# false --> also 11/it, no diff
flash_attention:
s2_attention:

warmup_steps: 20
evals_per_epoch: 4
eval_table_size:
eval_max_new_tokens: 128
saves_per_epoch: 1
debug:
deepspeed:
weight_decay: 0.0
fsdp:
fsdp_config:
special_tokens:
  pad_token: "<|endoftext|>"
  bos_token: "<|endoftext|>"
  eos_token: "<|endoftext|>"

Potentially interesting: xformers true/false flag does not make a difference, but also no warning is given if it is utilized yes or no.


Changes to conf.py don't trigger a rebuild

STR:

Start phix and wait for it to build your docs once.
Edit conf.py and save your changes.
Watch the phix logs.

Expected: phix rebuilds the documentation with the new Sphinx configuration.
Actual: phix does not rebuild the documentation, and the configuration changes are not applied until the next action that triggers a rebuild.

Resolved in fe4f3b.


Updates to ensure custom servers.json files merge properly

added context to the custom servers.json section to ensure future users better understand what to update, so that custom servers.json files will not be overwritten by the default file

see https://github.com/qdm12/gluetun/issues/2357#issuecomment-2544246432 for more context / information about the 'bug'

First of all thanks for this.
however my view on it is that this should be purely automated. The point of the bind mounted servers.json is so that you can automatically update it and gluetun will use it (merged together with its own built-in data). In case I vanish, gluetun should still work using the updating mechanism in place for example. The idea was never that the user should modify it manually, and I still think that's a bad idea - better to fix/PR-to-fix the updating code instead so it benefits everyone.
Now, this as it is won't be merged; however what I just described might not be obvious and, in that case, please change the documentation to your liking so everyone understands this should not be modified manually.
Why did you modify it manually? 👀


Clone pwd protected repositories

Seems like at the moment our extension doesn't support them...

Will be sending a pull request for this issue today :)


mavros: 1.4.0-1 in 'kinetic/distribution.yaml' [bloom]

Increasing version of package(s) in repository mavros to 1.4.0-1:

upstream repository: https://github.com/mavlink/mavros.git
release repository: https://github.com/mavlink/mavros-release.git
distro file: kinetic/distribution.yaml
bloom version: 0.9.8
previous version for package: 1.3.0-1

libmavconn
* Dispatch GCS IP address
* Contributors: Morten Fyhn Amundsen

mavros
* mavros: use mavlink::minimal:: after incompatible changes in mavlink package
  Incompatible change: https://github.com/mavlink/mavlink/pull/1463
  Fix: #1483 <https://github.com/mavlink/mavros/issues/1483>, https://github.com/mavlink/mavlink/issues/1474
* fixes based on vooon's review
* fix issue what we couldn't set real parameters to 0.0 in mavros
* Add error message
* Fixed compilation error: publish std_msgs::String, not std::string for gcs_ip
* Dispatch GCS IP address
* Contributors: Artem Batalov, Marcelino, Morten Fyhn Amundsen, Vladimir Ermakov, Øystein Skotheim

mavros_extras
* mavros: use mavlink::minimal:: after incompatible changes in mavlink package
  Incompatible change: https://github.com/mavlink/mavlink/pull/1463
  Fix: #1483 <https://github.com/mavlink/mavros/issues/1483>, https://github.com/mavlink/mavlink/issues/1474
* play_tune: Assign tune format directly
* play_tune: Uncrustify
* play_tune: Use msg_set_target and set_string_z
* play_tune: Write new plugin
* Contributors: Morten Fyhn Amundsen, Vladimir Ermakov

mavros_msgs
* play_tune: Assign tune format directly
* play_tune: Write new plugin
* Contributors: Morten Fyhn Amundsen

test_mavros

No changes

Since this is a regression in the kinetic sync prep, merging to resolve.

This pull request has been mentioned on ROS Discourse. There might be relevant details there:
https://discourse.ros.org/t/preparing-for-kinetic-sync-2020-09-10/16349/2


Request support for Calibo Cloudfan DC With Light

Log message
I'd have to delete my device and try to ad without my developed device Yaml. It gets detected as a switch.

Below I have added a yaml file that works for fan, fan speed, fan direction, fan default mode, light and light dimming. Timers are not supported yet. I'm getting an endless wait wheel from the IOT platform at the moment so can't pull the DPS right now and am very hesitant to muck with the device when I can't get the cloud keys.

The below YAML allows the device to be detected correctly whan commissioning.

This is adapted from the Skyfan DC with light which is a very similar device

DPS information
name: Calibo Cloudfan DC with Light
products:
  - id: 78m2fjtcj26yab5a
    name: Calibo Cloudfan DC with Light
primary_entity:
  entity: fan
  translation_only_key: fan_with_presets
  dps:
    - id: 1
      type: boolean
      name: switch
    - id: 2
      type: string
      name: preset_mode
      mapping:
        - dps_val: Normal
          value: normal
        - dps_val: Nature
          value: nature
        - dps_val: Sleep
          value: sleep
    - id: 3
      type: integer
      name: speed
      range:
        min: 1
        max: 6
    - id: 8
      type: string
      name: direction
      mapping:
        - dps_val: Forward
          value: forward
        - dps_val: Reverse
          value: reverse
secondary_entities:
  - entity: light
    dps:
      - id: 15
        type: boolean
        name: switch
      - id: 16
        name: brightness
        type: integer
        range:
          min: 0
          max: 100
  - entity: select
    translation_key: timer
    category: config
    dps:
      - id: 22
        type: string
        name: option
        mapping:
          - dps_val: cancel
            value: "Off"
          - dps_val: "1h"
            value: "1

Product ID
78m2fjtcj26yab5a
Product Name
Calibo Cloudfan DC with Light
Information about how the device functions
Functions just like the Ventair Skyfan DC

Updated Config. (My previous paste missed the bottom somehow.)
name: Calibo Cloudfan DC with Light
products:

id: 78m2fjtcj26yab5a
name: Calibo Cloudfan DC with Light
primary_entity:
entity: fan
translation_only_key: fan_with_presets
dps:

id: 1
type: boolean
name: switch
id: 2
type: string
name: preset_mode
mapping:

dps_val: Normal
value: normal
dps_val: Nature
value: nature
dps_val: Sleep
value: sleep

id: 3
type: integer
name: speed
range:
min: 1
max: 6
id: 8
type: string
name: direction
mapping:

dps_val: Forward
value: forward
dps_val: Reverse
value: reverse
secondary_entities:

entity: light
dps:

id: 15
type: boolean
name: switch
id: 16
name: brightness
type: integer
range:
min: 0
max: 100

entity: select
translation_key: timer
category: config
dps:

id: 22
type: string
name: option
mapping:

dps_val: cancel
value: "Off"
dps_val: "1h"
value: "1 hour"
dps_val: "2h"
value: "2 hours"
dps_val: "4h"
value: "4 hours"
dps_val: "8h"
value: "8 hours"

IOT platform came back and here's the querydatamodel response:
{
"result": {
"model": "{"modelId":"0000042yer","services":[{"actions":[],"code":"","description":"","events":[],"name":"默认服务","properties":[{"abilityId":1,"accessMode":"rw","code":"switch","description":"","extensions":{"iconName":"icon-dp_power2","attribute":"1024"},"name":"风扇","typeSpec":{"type":"bool"}},{"abilityId":2,"accessMode":"rw","code":"mode","description":"","extensions":{"iconName":"icon-dp_mode","attribute":"1024"},"name":"运行模式","typeSpec":{"type":"enum","range":["normal","sleep","nature"]}},{"abilityId":3,"accessMode":"rw","code":"fan_speed","description":"","extensions":{"iconName":"icon-FanSpeed","attribute":"1024"},"name":"风速","typeSpec":{"type":"value","max":6,"min":1,"scale":0,"step":1,"unit":""}},{"abilityId":8,"accessMode":"rw","code":"fan_direction","description":"","extensions":{"iconName":"icon-dp_mode","attribute":"1024"},"name":"运行方向","typeSpec":{"type":"enum","range":["forward","reverse"]}},{"abilityId":15,"accessMode":"rw","code":"light","description":"","extensions":{"iconName":"icon-dp_light2","attribute":"1040"},"name":"灯光","typeSpec":{"type":"bool"}},{"abilityId":16,"accessMode":"rw","code":"bright_value","description":"","extensions":{"iconName":"icon-liangdu","attribute":"1024"},"name":"灯光亮度","typeSpec":{"type":"value","max":100,"min":0,"scale":0,"step":2,"unit":""}},{"abilityId":22,"accessMode":"rw","code":"countdown_set","description":"","extensions":{"iconName":"icon-dp_time2","attribute":"1152"},"name":"定时","typeSpec":{"type":"enum","range":["cancel","1h","2h","4h","8h"]}}]}]}"
},
"success": true,
"t":<PHONE_NUMBER>693,
"tid": "f361059d553d11efa251ced150d28e81"
}


How can train my own model in tensorflow using Flickr  image dataset, How can i convert data into train, val, test modules

This question is better asked on  StackOverflow since it is not a  bug or feature request. There is also a larger community that reads questions there. Thanks!


[SPARK-6512] add contains to OpenHashMap

Add contains to test whether a key exists in an OpenHashMap. @rxin

Test build #29103 has started for   PR 5171 at commit 748a69b.

This patch merges cleanly.

Test build #29103 has finished for   PR 5171 at commit 748a69b.

This patch passes all tests.

This patch merges cleanly.

This patch adds no public classes.

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

Test build #29113 has started for   PR 5171 at commit d6e6f1f.

This patch merges cleanly.

Test build #29113 has finished for   PR 5171 at commit d6e6f1f.

This patch passes all tests.

This patch merges cleanly.

This patch adds no public classes.

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

lgtm

Merged into master.


Send dictionary through dispatcher in custom action

Rasa Core version: 0.7.9
Python version: 3.5.3
Operating system (windows, osx, ...): Ubuntu
Issue:
We are trying to use Rasa Core as an API using the approach suggested in #119 . I have created a custom action that calls an API and sends the result using dispatcher.utter_message(). This is working correctly.
Is there any way that I can send the data through the dispatcher directly without converting this to e.g json string? I've tried using dispatcher.utter_custom_message() but this function apparently expects a dictionary of Element objects, which I'm not sure what represent.

No, that is not possible at the moment. You can use utter_custom_message  and I think you should be able to pass anything you like in there as long as you define your own implementation for the output channels send_custom_message otherwise it will try to access the data as a dict.

Let me know if you have further questions.

Rasa Core version: 0.7.9
Python version: 3.5.3
Operating system (windows, osx, ...): Ubuntu
Issue:
We are trying to use Rasa Core as an API using the approach suggested in #119 . I have created a custom action that calls an API and sends the result using dispatcher.utter_message(). This is working correctly.
Is there any way that I can send the data through the dispatcher directly without converting this to e.g json string? I've tried using dispatcher.utter_custom_message() but this function apparently expects a dictionary of Element objects, which I'm not sure what represent.

Hi @FrodeRennemo i have tried using dispatcher.utter_attachment(response) where response would be my api response from an external api. The JSON response would be wrapped under the attachment field like so:
[
    {
        "attachment": {
            "type": "success",
            "value": {
                "categories": [],
                "id": 94,
                "joke": "Chuck Norris has the greatest Poker-Face of all time. He won the 1983 World Series of Poker, despite holding only a Joker, a Get out of Jail Free Monopoly card, a 2 of clubs, 7 of spades and a green #4 card from the game UNO."
            }
        },
        "recipient_id": "default"
    }
]

Hope this helps :)
Works with the latest version of rasa core 0.13.3
Public api used to fetch random jokes: http://api.icndb.com/jokes/random


Added ability to set custom UIFont on display label

Added ability to set custom UIFont on display label
Organized code with MARK
OCD cleanup in some areas

Thanks for the PR!


Missing CLIENT (LIST/SETNAME) command?

I could not find in the compatibility list if the command CLIENT LIST and CLIENT SETNAME commands are supported. Seems like CLIENT LIST just returns an empty list. Are there any plans to support these commands?
https://redis.io/commands/client-list/

Bump.

@ogzhanolguncu

Right now, the REST API doesn't have the "Client list" feature, but as soon as they add it in there, I'll make sure to include it in the SDK. I'll also chat with the team to see if we can speed things up a bit.

Bump!

https://upstash.com/docs/redis/overall/rediscompatibility you can also follow here. Once its here i'll implement it in no time.


Enhancement: manage dependency version via workspace.dependencies

Considers managing dependencies version in root Cargo.toml.
i.g.,
# [PROJECT_DIR]/Cargo.toml
[workspace]
members = ["bar"]

[workspace.package]
version = "1.2.3"
authors = ["Nice Folks"]
description = "A short description of my package"
documentation = "https://example.com/bar"

# [PROJECT_DIR]/bar/Cargo.toml
[package]
name = "bar"
version.workspace = true
authors.workspace = true
description.workspace = true
documentation.workspace = true

We can utilize this to avoid dependency version conflicts in the sub-crates.
See also, https://doc.rust-lang.org/cargo/reference/workspaces.html#the-package-table

After using this, do all crates need to have the same version?

After using this, do all crates need to have the same version?

No, it's configurable. If some crates try to use another version, keep setting a specific version instead of pkg.workspace = true.

After using this, do all crates need to have the same version?

No, it's configurable. If some crates try to use another version, keep setting a specific version instead of pkg.workspace = true.

I haven't see the benefit of it, could you give a specific example?

Done in #157.


Has listeners returns true when none have been attached

Has listeners returns true when none have been attached
bookingPagingAdapter.pagingController().hasListeners
I'm guessing this is actually because there are internal listeners so maybe this is actually a feature request to have a hasListeners field for user* registered listener

Hi @martipello .
Your diagnosis is correct, it returns true because of internal listeners.
I'm curious. What do you need this for?

Tbh it was part of my diagnosing the last issue that we closed so it's not needed now, at the time I thought I was registering more than one listener so I wanted to check if a listener was registered and not attach a new one if it already had one, since your comments on the last issue (which the work around is fine btw thank you) I guess this isn't critical maybe you can make it private to remove the ambiguity


[New game]: Bingo game

🎮 Game Request
Bingo is a fun game of chance that anyone can play. The game is played on a scorecard that's made up of 25 squares
Point down the features
if you get 5 squares in a row 5 times, you win!
Select program in which you are contributing
GSSoC23
Code of Conduct

[X] I follow CONTRIBUTING GUIDELINE of this project.

Hey @S-ishita!
We are already having a similar game request in #667 👀
Make sure you come up with a cool unique idea 😀
Waiting for your new game idea 💗.

Hey @S-ishita !
Thank you for raising an issue 💗
You can self assign the issue by commenting /assign in comment 😀
Make sure you follow CODE OF CONDUCT and CONTRIBUTING GUIDELINES 🚀
Don’t Forget to ⭐ our GameZone🎮
Make sure you join our Discord🕹

Hey @S-ishita ! Thank you so much for your raising the issue💗
It’s all yours, you can come anytime again and make some contributions! 🚀
Alone, we can do little, but together we can do so much! 😇


Translate FOSS Contribution Guidelines.md to Spanish

Translating the 'FOSS Contribution Guidelines' into spnaih will expand the reach of such a great document facilitating those standards to much bigger audience.
I will be more than happy to work on the translation and contribute on the expansion.
Thank you
Pablo

Hi Pablo, we appreciate your contribution suggestion and very much look forward to it!🙏
As we discussed elsewhere, let us know once you've progressed with the document and we'll help you with the next steps.

Hello @katnovakovic
Completed translation into Spanish: https://github.com/PabloJMoreno/my_projects/blob/main/FOSS_Contribution_Guidelines.ipynb

Hi Pablo, your doc looks great. I really liked the format and then realised it's because it's .ipynb (Jupyter). Although this looks nice visually, when you look at the code on Github it's not very easy to follow. Just thinking if in the future you or someone else wants to make edits it can be a bit tricky. Is there an easy way to convert the file to .md (markdown) and use that instead?

Hello Katrina,
I used colab with Markdown cells, but I downloaded as ipynb
Let me figure it out to convert it to Markdown
Thank you

From: Katrina Novakovic @.>
Sent: Friday, July 7, 2023 8:20 AM
To: Citi/citi-ospo @.>
Cc: Pablo Moreno @.>; Assign @.>
Subject: Re: [Citi/citi-ospo] Translate FOSS Contribution Guidelines.md to Spanish (Issue #5)
Hi Pablo, your doc looks great. I really liked the format and then realised it's because it's .ipynb (Jupyter). Although this looks nice visually, when you look at the code on Github it's not very easy to follow. Just thinking if in the future you or someone else wants to make edits it can be a bit tricky. Is there an easy way to convert the file to .md (markdown) and use that instead?
—
Reply to this email directly, view it on GitHubhttps://github.com/Citi/citi-ospo/issues/5#issuecomment-1625406742, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEDDKXFTXS4EDHMKL4MVDLTXPAEJJANCNFSM6AAAAAAZYOOEFU.
You are receiving this because you were assigned.Message ID: @.***>

Thank you. Much appreciated :)


It is stuck after "Overwrote ./bedrock-server-<IP_ADDRESS>/server.properties based on contents of ./config.json"

Hello developers, thanks for your application, but when I want to run my server it was stuck after I typed "npm start".
senux@MiLaptop:~/Ziserver$ npm start

><EMAIL_ADDRESS>start /home/senux/Ziserver
> node main.js

!!!!!!!!!!
config["backup"]["use-aws-s3-backup"] set to false - if you want to use AWS S3 backups, set this to true and see https://docs.aws.amazon.com/sdk-for-javascript/v2/developer-guide/loading-node-credentials-shared.html for instruction on how to define your AWS credentials
!!!!!!!!!!

Starting express server
Running UI for server on port 3000

Minecraft server (./bedrock-server-<IP_ADDRESS>) already exists - no need to redownload
./bedrock-server-<IP_ADDRESS>/server.properties
Overwrote ./bedrock-server-<IP_ADDRESS>/server.properties based on contents of ./config.json

And here is the ui webpage shows:
Minecraft Bedrock Server
Server source code and documentation: github.com/debkbanerji/minecraft-bedrock-server
Refresh frequency: every
5 Seconds (recommended)
Server Resource Usage Info:
Error connecting to server
Server Terminal Output:
20 latest lines of terminal output:
Starting express server
Running UI for server on port 3000

Minecraft server (./bedrock-server-<IP_ADDRESS>) already exists - no need to redownload
./bedrock-server-<IP_ADDRESS>/server.properties
Overwrote ./bedrock-server-<IP_ADDRESS>/server.properties based on contents of ./config.json

here is some specifics you may need
Ubuntu-20.04 on Windows 10 Pro 21H2 OS build 19044.1348
nodejs v14.18.1
npm 6.14.15

Can you share a copy of your config file so I can debug this?

config.zip

Thanks - looks like the issue is caused by a bug in the lock file code. It should be fixed in the latest version so try pulling the newest version of the code and try again. Sorry for the inconvenience!
I'm closing the issue for now - feel free to reopen if this isn't resolved.


Added optional manager_agent parameter

As talked about in #466 this adds an optional parameter manager_agent in for the Crew class. It takes in an Agent object that will be used instead of the default one, allowing more granular prompt engineering and even things like scoped delegation.
Things to consider

Documentation?
Check for allow_delegation / tools?

currently it allows delegation to be False / there not to be any delegation tools, which would break "crew" functionality

Could be done easier

user has to make a whole agent
one could also add e.g. manager_agent_role, manager_agent_goal and manager_agent_backstory

I like this! def useful, I'll merge and add some tests next :)


Gifting

Used for testing the gifting feature

needs #711 merged and then this is ready for review

things to test:
not enough funds on sender
too small amount for receiver (if it's a fresh wallet)
trying to redeem twice
loading from url
loading from scanner

rebase achieved, haven't re-tested yet. todo list here: https://github.com/MutinyWallet/mutiny-web/issues/540

When using the qr-scanner I am sent to this page
https://gifting.mutiny-web.pages.dev/gifting.mutiny-web.pages.dev

When using the qr-scanner I am sent to this page https://gifting.mutiny-web.pages.dev/gifting.mutiny-web.pages.dev

I think I fixed this, can't test right now though. (it was only a problem because I was looking for the string /gift and our staging url includes /gift because //gifting..

This warning appears on the amount dialog for the gift amount editor. You should probably default to these types of warnings not being displayed so we quit running into it for anything besides the receive flow.

The lightning fee warning is appearing but it wasn't needed. I redeemed 1 gift for 10k sats which opened up my first channel + 100k sats. Then I went to redeem a gift of 50k sats, which it warned I needed another channel for. This was incorrect.
Could the timeout warning be better here? In this case, I closed the browser on the gifter side but then redeemed on the receiver side. It should say that the gift is in progress becauase it sent the NWC message and it will be sent whenever the gifter comes back online.
There's nothing on the gifter side warning them that they need to be online for the gift to be redeemed.

Last thing, love the new prompt for mutiny+

Can we get some sort of prompt on the home screen too if they haven't subscribed yet? We can probably do something similar to some other things we do by just putting a timestamp when the message was dismissed. Should probably not be present if the backup warning is already there.
For now we can just make it so that when the user dimissed it, the timestamp is recorded and then we just leave it off. In the future maybe we can reprompt them but maybe later when we have more features.

In general it's feeling pretty solid! Just a few edge cases and smaller feature requests. Nice work!

Tested on firefox mobile web

Not enough funds on sender error only happens on the receiver side (should probably check the available lightning balance at the time of gift creation)
below 50k sats shows an appropriate warning on sender and an error on receiver side
scanner and url both work as expected

Should this feature be available to anyone that is self hosting?

I hardcoded URL on both the sending and receiving side and as long as these match up properly, android works great. Even opens in app and/or scans in app properly. So just detecting android and switching URL should work.

Should this feature be available to anyone that is self hosting?

yeah it should

okay I think warnings are well behaved now and have a better error for timeout

also hardcoded urls
only comment I didn't get to is this one, didn't feel like it's 100% necessary

Not enough funds on sender error only happens on the receiver side (should probably check the available lightning balance at the time of gift creation)


Prepare to use provider lat-lon

Save notebook extracting providers
Load data into explorer and ignore data/Private folder

How does the performance look? If it's comparable to what's in master now I feel good about merging (two tiny comments re: .get and 1000 meters).
Another interesting thing about the _find_addresses_near_... function is that it doesn't depend on the number of RPPs. Once we switch to using the 1.0 mile cutoff, the number of RPPs for California drops from 100,000 to 40,000. This function will still take just as long as it did before, whereas the brute force haversine calculation from each RPP to all addresses will take ~40% as long as it did before.


docs: Update test_client fixture documentation

Description

Make it clearer that the test_client needs to be used as a contextmanager.

I didn't follow this example closely enough, and forgot the with statement in my tests.  I only realized it was already there after I made all of these changes and was reviewing everything to make sure it was all complete.  Since it's currently technically correct, these changes aren't as necessary as I thought, but I still think this is clearer than what's currently here.
This version also makes it easier to use since each test doesn't have to have a separate with block.
While I was at it, I fixed the "partially unknown" typing.

Closes

@all-contributors add @sherbang for docs


add handle error of response body

Thx for the PR, could you explain to me how do you run into a scenario where the body stream throws error, and what would happen at that point?
Better yet, can you think of a test case for this error handler?

In some pages, despite Content-Encoding is specified to deflate, in fact also be transferred without being compressed.
At that time, an error occurres in the pipe processing of body, it can not handle the error.
There is a possibility that an error occurs when you expand the compression, so I think it is better that it was possible to handle the error of body .
It will show the example below.
var fetch = require('node-fetch');
fetch('http://goo.gl/fb/').then(function(res) {
  return res.text();
}).then(function(text) {
  console.log(text);
}).catch(function(err) {
  console.log('err:', err);
});

Thx, I will look into it soon.

This is fixed in v1.3.3 release, which would reject body with incorrect content-encoding with a custom error message for easier debugging.


added zalgorithm

added a new algorithm in strings folder for z algorithm

@samcaspus, do you still wanna, continue making/updating this pull request? 🙂


Add language support for Traditional Chinese?

Hi, I just found this game on Play Store by chance, and found it fascinating, would u like to add Traditional Chinese language support? I'm very much glad to contribute.

Hi,
We can try to support Traditional Chinese. Can you translate a dozen string so that I can try and see if my character generator works well enough?

I've translated some in the file attached. Please take a look.
(Sorry for the late reply)
cht.zip

Thank you!
Does this look readable to you?

It seems that tofu can be seen clearly in the interface. I use utf-8 encoding in my translation file.
And the padding is a little narrow.
Is it possible to consider using noto fonts?

I will fix the missing characters and the padding problem (which is due to the missing characters).

Is it possible to consider using noto fonts?
PewPew Live uses its own font rendering system, but I do use a noto font to genereate the CJK characters. The problem with the missing characters is because the automatic generation of CJK characters is still a little bit buggy.

Closing as a stale issue, reopen when necessary!


Fix fix fix

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@03cdb84). Click here to learn what that means.
The diff coverage is 50%.

@@            Coverage Diff            @@
##             master     #129   +/-   ##
=========================================
  Coverage          ?   15.05%
  Complexity        ?       50
=========================================
  Files             ?       23
  Lines             ?     1581
  Branches          ?      140
=========================================
  Hits              ?      238
  Misses            ?     1331
  Partials          ?       12

Impacted Files
Coverage Δ
Complexity Δ

...ava/se/lth/cs/connect/events/DeleteEntryEvent.java
0% <0%> (ø)
0 <0> (?)

...ain/java/se/lth/cs/connect/modules/TaxonomyDB.java
35.55% <40%> (ø)
3 <0> (?)

src/main/java/utils/CORS.java
47.05% <47.05%> (ø)
3 <3> (?)

src/main/java/se/lth/cs/connect/Connect.java
57.14% <77.77%> (ø)
7 <1> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 03cdb84...8b0918a. Read the comment docs.


[GIT] Add github issue templates

Add templates for when someone want to file an issue.

I want to work on this.
Kindly, allow!

Yeah go ahead @saniakjamil I was about to work on it, but you can start. 👍

https://github.com/withvoid/melting-pot/pull/17


Added failing Enum-test

This test proofs https://github.com/collerek/ormar/issues/699

Thanks for the investigation - included more verbose test in the code, thanks! 😁


Add information about our bundle dist file which contain Popper.js inside

Add information about our bundle dist file which contain Popper.js inside
/CC @XhmikosR and @mdo because I'm not sure of my english here 😄

I'm not a native English speaker either as you know :)
That being said, I think the word inside is redundant here.

already includes

maybe

I made some changes 👍

@Johann-S: I'd go with this:
Be sure to include [popper.min.js]({{ site.cdn.popper }}) before Bootstrap's JavaScript or use `bootstrap.bundle.min.js` / `bootstrap.bundle.js` which contains Popper.js.

yep that's better thanks @XhmikosR


fix build for gcc12

gcc's assembler don't support use 'v.2d', but support 'v.16b'
$ echo 'mov v6.2d, v4.2d' | aarch64-gcc/bin/aarch64-linux-gnu-as
{standard input}: Assembler messages:
{standard input}:1: Error: operand mismatch -- `mov v6.2d,v4.2d'
{standard input}:1: Info:    did you mean this?
{standard input}:1: Info:    	mov v6.8b, v4.8b
{standard input}:1: Info:    other valid variant(s):
{standard input}:1: Info:    	mov v6.16b, v4.16b

And actually, clang translate 'v.2d' to 'v.16b'.
$ echo 'mov v6.2d, v4.2d' | clang -target aarch64-linux-gnu- -c -xassembler - -o- | llvm-objdump -d -

<stdin>:	file format elf64-littleaarch64

Disassembly of section .text:

0000000000000000 <$x.0>:
       0: 86 1c a4 4e  	mov	v6.16b, v4.16b

Change 'v.2d' to 'v.16b' so that it can be compiled when using gcc.

Merged. Thanks!


Catch divide-by-zero error in energy_ratio.py

Catches a rare "divide-by-zero" error in energy_ratio.py.

Hi, @maabuu. Attached is the batch of input complexes I tried providing to PoseBusters using the redock config. I have been trying to evaluate all 106 of these inputs for around 24 hours, and the bust_table pipeline still seems to be running.
Code for running PoseBusters on these inputs
buster = PoseBusters(
    config="redock", top_n=None
)
bust_results = buster.bust_table(mol_table, full_report=cfg.full_report)

PoseBusters_Frozen_Bug_Inputs.zip

Update: the ZIP archive of input examples I previously uploaded was erroneously not segmented into individual molecular fragments. I have attached below the corrected version of these inputs as a new ZIP archive.
PoseBusters_Large_Examples.zip


Receiving error on response data

I keep receiving error on the request.response.
If I print out the data as String:
"<!DOCTYPE HTML PUBLIC \"-//W3C//DTD HTML 3.2 Final//EN\">\n<title>400 Bad Request</title>\n
Bad Request
\n
The browser (or proxy) sent a request that this server could not understand.
\n"
lama-cleaner is up and running, I am able to use it on
http://<IP_ADDRESS>:8080/

Hey thanks for adding this issue here, I'll try get this working soon. In the meantime you could try using version 0.19.0 of lama-cleaner (https://github.com/Sanster/lama-cleaner/releases/tag/0.19.0) and see if that helps.

README has been updated to include working steps to get it running. https://github.com/whiteio/lama-zits can now be used to run the flask server with the correct version of the lama model.


MarkSeries performance

This is a half feature request half request for help
I really want to use react-vis for many reasons but the (render?) performance of MarkSeriesCanvas plotting 75k datapoints is just not very good.
Please let me know if there are obscure tricks I may be missing to getting good performance out of this component when displaying lots of data.
I unfortunately can't downsample and use heatmap for my application, the user needs to see discrete outlier points.
I thought perhaps plotting so much data was just not practical in a web browser, but I have found another library which does this well and easily (but of course lacks other great benefits of react-vis), so it can be done.
If there are practical optimizations internal to react-vis that could make MarkSeries/Canvas usable in this scenario consider this a request for those.

I agree, I have the same issues with performance.

A fix for this would be great, I'm also having performance issues with a large number of datapoints in a MarkSeries


Adding Hessian module

This pull requests consists of Hessian implementation.

Thanks Ashwin.
Tests run but hint at one needed change:
/Users/rgommers/Code/scipy/scipy/diff/_jacobian_numdiff.py:133: DeprecationWarning: `factorial` is deprecated!
Importing `factorial` from scipy.misc is deprecated in scipy 1.0.0. Use `scipy.special.factorial` instead.

I'll close this, it has lost relevance. Thanks Ashwin!


freedesktop.org.xml file license

Copy of https://gitlab.com/clientrock/mimemagic/-/issues/1
I've historically been the maintainer of shared-mime-info for around 15 years, and script/freedesktop.org.xml looks like it's a copy of the database shipped with shared-mime-info, which is released under the GPL, with shared-mime-info's translators work merged in, and the GPL header removed.
The license that you're shipping mimemagic under (MIT) isn't compatible with shared-mime-info's.
There are a number of possibilities to fix this problem:

change the mimemagic license to be GPL compatible
parse the XML file that shared-mime-info ships at runtime, and don't ship it in a codebase with an incompatible license

Using a GPL file as a source makes your whole codebase a derived work, making it all GPL, so I think it's pretty important that this problem gets corrected before somebody uses it in a pure MIT codebase, or a closed-source application.
You will also need to re-add the GPL header to the shared-mime-info XML file as a matter of urgency. It was stripped in release tarballs by the tool used to merge translations, but is visible in the .in version of the same file.

@clientrock
See https://github.com/mimemagicrb/mimemagic/issues/97


Add back the name of the Moderator in the room card

We can no longer see the name of the moderator who created the room in the room card.  It becomes very difficult to know in which room we have to go, especially when there are a lot of rooms with similar names. (ex : generique serie tv or generiques series tv, which one is the one from Emma, for example ?)
Thank you !

Fixed in ba3b75a

Thanks a lot !! :)


minor changes on Sdk automl image object detection batch notebook

If you are opening a PR for Official Notebooks under the notebooks/official folder, follow this mandatory checklist:

[x] Use the notebook template as a starting point.
[x] Follow the style and grammar rules outlined in the above notebook template.
[x] Verify the notebook runs successfully in Colab since the automated tests cannot guarantee this even when it passes.
[ ] Passes all the required automated checks. You can locally test for formatting and linting with these instructions.
[ ] You have consulted with a tech writer to see if tech writer review is necessary. If so, the notebook has been reviewed by a tech writer, and they have approved it.
[ ] This notebook has been added to the CODEOWNERS file under # Official Notebooks section, pointing to the author or the author's team.
[ ] The Jupyter notebook cleans up any artifacts it has created (datasets, ML models, endpoints, etc) so as not to eat up unnecessary resources.

If you are opening a PR for Community Notebooks under the notebooks/community folder:

[ ] This notebook has been added to the CODEOWNERS file under the # Community Notebooks section, pointing to the author or the author's team.
[ ] Passes all the required formatting and linting checks. You can locally test with these instructions.

If you are opening a PR for Community Content under the community-content folder:

[ ] Make sure your main Content Directory Name is descriptive, informative, and includes some of the key products and attributes of your content, so that it is differentiable from other content
[ ] The main content directory has been added to the CODEOWNERS file under the # Community Content section, pointing to the author or the author's team.
[x] Passes all the required formatting and linting checks. You can locally test with these instructions.

@ashakella Can this PR be closed?

Yes @kweinmeister . This PR should be closed. I will close this PR since it is redundant and was handled in PR 370.


x/build/cmd/gerritbot:

Related Issues and Documentation

x/build/cmd/gerritbot: <fill this in> #51011 (closed)
x/build/cmd/gerritbot: <fill this in> #69910

(Emoji vote if this was helpful or unhelpful; more detailed feedback welcome in this discussion.)


Add base64 mode to avoid DPAPI issues

Please note - encoding secrets using Base64 is NOT THE SAME as encrypting them and is trivially reversible using freely available tools - like https://www.base64decode.org/
Instead of encrypting the secret with a securely stored key (as with DPAPI), using Base64 encoding is mere security through obscurity. For the untrained, it is unhelpful and in fact borderline deceptive to use a variable called '$EncryptionMethod' to allow people to select DPAPI or Base64 encoding - the equivalent of presenting the option of keeping your car key locked in your house, or on top of your car's tyre, as providing equal protection.
https://security.stackexchange.com/a/194647/288250

@justinytchen Great to see a warning now on the security implications, thank you!
(P.S. If you're in charge of pull requests, please consider the others that I've made, especially 38 which is a security issue:

#26
#28
#30
#32
#34
#35
#36


Jump

Is it possible to let the Player jump while he is moving Forward?

IIRC jumping is done through regular movement packets, and yes.


JSON logs

Use logrus instead rlog, create meaningful set of labels.

:tada: PR #66  is merged!
README changes are required now.

README changes are described in the separated issue #84


How about using ASCII color to render?

It's a fun project!
Maybe it can add ascii color code  on it ?
Like this nyancat project : https://github.com/klange/nyancat

Working on it now
https://github.com/billcccheng/instagram-terminal-news-feed/tree/display-color

Finished this feature. Please pull the latest code. Thanks!


Index DnD: Not possible to drag scene to empty part

If part is empty, it is not possible to drag scenes into it.
Workaround: Make a dmmy scene inside a part.

Fixed: Added min-height to scene drop zones.
At some point, we might add min-height to drop-zones only when starting to drag, but the current fix is just enough for now.


TasitSDK: Move Decentraland fetch data utils to a properly place

A class called DecentralandUtils was created to get marketplace data from etherscan. It's inside of tasit-sdk/src/testHelpers/ folder.
Decide a better place to put it.
Refs: https://github.com/tasitlabs/TasitSDK/pull/207#discussion_r259905567
Note: We'll likely use subgraph instead of etherscan as source of data soon.

If there's any chance we'd want to add more functions to get things from that contract or using that provider, it's useful if that's already set up on an instance of the class.
I still think moving it out of testHelpers into helpers would make sense. Or maybe a folder called "data fetching" or something like that.


NIFI-7285 Add a processor:Split and copy content to attributes

The code is for Nifi-7285, It's add a processor: Split and copy content to attributes.
The processor named "SplitAndToAttribute"

@wanghongqi on top of what @joewitt said, bear in mind also that the design philosophy of NiFi here is a lot like the traditional Unix philosophy of "many little good tools chained together" instead of a swiss army knife tool that excels at nothing in particular.

I created a custom processor SplitRecordToAttributes, check https://github.com/tonykoval/nifi-vub-scala-bundle


Label nodes

The other PR needs to be merged first, look only at the last commit of this PR

ok, I'm rebasing this on top of master  to leave only the node-labeling code.

ok, I'm rebasing this on top of master to leave only the node-labeling code.

Awesome, much more clear now thanks! Strange how bad that diff was, GitHub...

Oh, sorry I wanted to handle @dfarrell07 comments on this patch, I will add another PR.

Oh, sorry I wanted to handle @dfarrell07 comments on this patch, I will add another PR.

Ah, right, since @dfarrell07 approved the patch I thought everything was OK!


Errors when compiling the new library

Hi
I have seen that you have added SD Mass Storage
I tried to test this but when I compile the example your library gives many errors.
Now I can't use the keyboard example either
I attach screenshots with the errors:

Thanks

Hi,
can you try to update arduino-esp32 to most recent commit in idf-espressif/v4.2 branch?

i
Do you have the link to download and install this? I tried to do it with v4.3-beta1 but it keeps giving errors
Thanks

I am assuming you are working on linux:
https://github.com/espressif/arduino-esp32/blob/master/docs/arduino-ide/debian_ubuntu.md
Then just do this:
git checkout idf-espressif/v4.2

Error with git checkout idf-espressif/v4.2
error: specified path 'idf-espressif/v4.2' did not match any file(s) known to git
I can do git checkout esp32s2 and then install this with python3 gey.py
On Arduino the ESP32S2 board is installed but I keep getting the same errors with your library

Sorry, it is idf-release/v4.2.

Hello
Well, I don't seem to get so many errors now, but I have a problem with SD.writeRAW

Thanks

https://github.com/espressif/arduino-esp32/pull/4777

I have modified this in my files, now this compiles
Well, I'm testing with a featherS2, but it doesn't seem to be compatible.
I have changed the MISO, MOSI, SCK and SS pins in your sketch to the ones that correspond with featherS2 io35, io37, io36 and io9.
My laptop recognizes the device drive, but does not recognize the SD storage.
I'll have to wait until I get an ESP32-S2 wroom

FeatherS2 should be compatible, when you change pin to macth on board.
Easy way to test is is to make standard arduino-esp32 SD card example to work, just add SPIClass code just like in my example.

The problem is that I can't debug this with serial
To program feathers2 I have to start it in boot mode (press boot button + press reset button + release reset button).
After uploading the code, I have to reset featherS2, then I can't access the serial.
I can only access serial in boot mode, to run the code I can't be in boot mode.
I will try to change the microSD slot or wait for ESP32-S2 wroom

With regular SD card example you can debug log over USB.

Hi
SD Mass Storage is working now
My patience was short, it takes a few minutes until the SD is identified on the computer.
Could this be done faster?

Sorry, but no. USB on S2 is slow, you can see  more info here:
https://esp32.com/viewtopic.php?f=18&t=15908&start=20
The bigger the card and more files the slower is to start.

Well, when I have some free time I will try to add two new functions to your library
SDstr();
SDstp();
SDstr(); to start the SD storage
SDstp(); to stop the SD storage
This is interesting to control the storage from a web panel
Thanks

There is no need to add it to library, you can control it in app using standard SD API.
All you need is to control this variable (which is only part of example), to control msc transfer:
https://github.com/chegewara/EspTinyUSB/blob/master/examples/sd_msc/sd_msc.ino#L19

Well, a question
I would like to try Disk Mass Storage, does this work only with ESP32-S2 Wroom or does it also work with Feathers2?
By the way, after Chinese New Year my new devices will be made with ESP32-S2, I will send you some when I get them

Any S2 board is good as long as you can connect SD card.

I don't mean SD, I mean converting the ESP32-S2 memory to mass storage.
https://github.com/chegewara/EspTinyUSB/blob/master/examples/msc/msc.ino

This example works with any S2 board with PSRAM. IIRC FeatherS2 is with PSRAM, so should works.
There is some discussion about adding unified API, so MSC could works with FFAT, SPIFFS, SD card etc, but there is no timeline yet.

Hi!
Hello!
I have tried your last example of sd msc, it works faster than the previous example
Good job 👍


Remove accidentally added duplicate

neutratone

Coverage remained the same at 65.779% when pulling c090ea81864318f7e7dfc1d8993dbb2b85252f60 on iBug:patch-2 into 442ce1b1dd0962d54f716989c560e2bd94dd075e on Charcoal-SE:master.

!!/approve


[CORE] Move PullOutPreProject after AddTransformHintRule

What changes were proposed in this pull request?
It is a better choice to modify the SparkPlan only when SparkPlan itself supports execution by Gluten, so that the fallback SparkPlan remains unchanged.
For agg, we found that there are some corner cases that cannot be executed correctly when codegen is enabled after pulling out the project, therefore, we will put the pulling out process after AddTransformHintRule, perform the validation process first, and then pull out the SparkPlan that has passed validation.
How was this patch tested?
Exists CI.

@zhztheplayer Could you help review?

@ulysses-you Could you help to review?

For agg, we found that there are some corner cases that cannot be executed correctly when codegen is enabled after pulling out the project

What's wrong with vanilla Spark after pulling out project? How does it work after we changing the applying order?

@ulysses-you As with offline communication, it was found that some UTs were stuck in codegen. Disabling codegen allows for normal execution. The current process is to first validate the modified sort and agg, and if transform is not supported, the project will not be pulled out. If transform is supported, it will be pulled out later, and the AddTransformHintRule will be executed again to validate the project.
I think that we should try to avoid modifying the Spark plan as much as possible, especially if the plan is ultimately executed by Spark itself.

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_4619_time.csv
log/native_master_02_03_2024_75285bcb8_time.csv
difference
percentage

q1
34.28
33.28
-0.998
97.09%

q2
24.44
24.26
-0.174
99.29%

q3
38.27
38.78
0.511
101.33%

q4
37.43
37.64
0.212
100.57%

q5
68.97
70.97
2.000
102.90%

q6
7.92
8.56
0.633
107.99%

q7
82.29
84.29
2.002
102.43%

q8
83.49
84.63
1.144
101.37%

q9
121.65
121.75
0.101
100.08%

q10
44.06
43.29
-0.778
98.23%

q11
20.01
20.58
0.573
102.86%

q12
30.66
26.43
-4.230
86.20%

q13
45.76
45.82
0.058
100.13%

q14
19.82
21.75
1.925
109.71%

q15
27.47
29.07
1.600
105.82%

q16
14.35
14.30
-0.059
99.59%

q17
102.13
103.31
1.181
101.16%

q18
150.63
149.45
-1.179
99.22%

q19
12.40
13.09
0.688
105.55%

q20
28.28
26.67
-1.611
94.30%

q21
223.80
222.74
-1.054
99.53%

q22
13.48
13.69
0.209
101.55%

total
1231.59
1234.34
2.753
100.22%

===== Performance report for TPCH SF2000 with Velox backend, for reference only ====

query
log/native_master_02_04_2024_time.csv
log/native_master_02_03_2024_75285bcb8_time.csv
difference
percentage

q1
33.68
33.28
-0.404
98.80%

q2
24.23
24.26
0.035
100.14%

q3
37.37
38.78
1.409
103.77%

q4
35.96
37.64
1.673
104.65%

q5
70.39
70.97
0.575
100.82%

q6
6.99
8.56
1.563
122.35%

q7
84.51
84.29
-0.218
99.74%

q8
84.14
84.63
0.495
100.59%

q9
121.28
121.75
0.471
100.39%

q10
43.47
43.29
-0.183
99.58%

q11
20.46
20.58
0.121
100.59%

q12
26.23
26.43
0.198
100.75%

q13
45.25
45.82
0.569
101.26%

q14
15.93
21.75
5.821
136.55%

q15
26.74
29.07
2.335
108.73%

q16
14.11
14.30
0.184
101.30%

q17
102.75
103.31
0.553
100.54%

q18
148.66
149.45
0.792
100.53%

q19
13.50
13.09
-0.410
96.96%

q20
26.71
26.67
-0.037
99.86%

q21
221.36
222.74
1.380
100.62%

q22
13.64
13.69
0.051
100.37%

total
1217.37
1234.34
16.971
101.39%


Official Shards 100% Loss & Cannot create a new character.

Official Shards Show Time Out

When logging in to official Ultima Online Servers nearly all Shards show 100% Loss and/or "TimeOut".
Can still login to any shard no matter what is displayed providing there is a character already made on that shard.

It is impossible to create a new character on any shard at all; After selecting Gender/Race/Name/Skills and click "Create Character" It says "Creating Character" gump, but just sits there. After close and reopen, character was never created.  I have to login with the official UO client or only Razor, create the character and then log out, close UO and the re open ClassicUO and I can then login with the newly created character.

To Reproduce
Steps to reproduce the behavior:

Launch game using ClassicUO
Login

Expected behavior
I expect the packet loss to show what the actual packet loss is and to be able to create a new character without having to close the game and launch with official client or Razor.
Screenshots
Attached screenshot shows the 100% loss issue.
Shard

Nearly all shards for 100% loss.
All shards cannot create new character

Information (please complete the following information):

OS: Windows 10
ClassicUO Version: <IP_ADDRESS>
[NO] Using DEV Version?
Launcher: classicuo_launcher

If you need more info, please let me know.  I have tried google, but there is not much turning up.

At the bottom of the README page: "Using a custom client to connect to official UO servers is strictly forbidden."
Seeing as it is not allowed, there would be no way to test, the client is aimed towards free shards.

At the bottom of the README page: "Using a custom client to connect to official UO servers is strictly forbidden."
Seeing as it is not allowed, there would be no way to test, the client is aimed towards free shards.

Well, seeing as how this happens on freeshards as well, might want to test it there?

Well, seeing as how this happens on freeshards as well, might want to test it there?

I am unable to reproduce on a servuo shard, do you have steps to reproduce? Or does it only affect certain freeshards?

Requeim also shows 100% ping timeout. Our build is using ClassicUO <IP_ADDRESS>

i'll check the ping function in our code and see what its doing.

More testing shows ping does work locally from client to server but regular client to remotely hosted server times out

The Client is pinging the wrong IP address.
An easy test of this is the launch ServUO locally and connect to it locally via <IP_ADDRESS>
Everything will seem fine, except the latency is abnormal for a loopback address. In really Classic UO is pinging <IP_ADDRESS>, which is why the latency is far too high for a loopback address which should be 0.
In the original post Mizuho is showing a latency but not the others.
According to google the Mizhuho shards IP is <IP_ADDRESS>, but the mirror of <IP_ADDRESS> is pingable and the 0xa8 packet has the IP address written in the reverse byte order.
However, Sakura, <IP_ADDRESS>, is not reachable if you ping the mirror of <IP_ADDRESS> hence the "Timed Out"
This would cause an inadvertent DDoS and should probably be disabled, or corrected. Whoever owns <IP_ADDRESS> or any other valid mirror IP of a shard probably is confused why they are getting pinged from out of nowhere.

The cause is LoginScene.cs line 965 and lines 975-978
By defining the IP address as a 32-bit "Big Endian," it is expected that the bytes would be <IP_ADDRESS> for an IP address of <IP_ADDRESS>
But
Lines 975-978 read in the bytes and pack them right to left, so it's <IP_ADDRESS> in the memory, causing <IP_ADDRESS> to be pinged instead.
At one point, I bet the IP address was just a 32-bit Int, and lines 975-978 are correct to convert a BigEndian into a LittleEndian Int. But the address is a 32-bit BigEndian, so it reverses to the reversed bytes.
Ether the bytes need to pack them in left to right, or the address should be a Little Endian 32-bit int.


Why throw sendTimeout error with the param 'connectTimeout'

New Issue Checklist

[x] I have searched for a similar issue in the project and found none

Issue Info

Info
Value

Platform Name
flutter

Platform Version
2.2.3

Dio Version
5.0.4

Android Studio / Xcode Version
Android Studio 2020.3.1 Patch 3

Repro rate
all the time

Repro with our demo prj
It does

Demo project link
NONE

Issue Description and Steps
dio_mixin.dart
      if (options.sendTimeout > 0) {
        byteStream.timeout(Duration(milliseconds: options.sendTimeout),
            onTimeout: (sink) {
          sink.addError(DioError(
            requestOptions: options,
            error: 'Sending timeout[${options.connectTimeout}ms]',
            type: DioErrorType.sendTimeout,
          ));
          sink.close();
        });
      }

And DioErrorType.connectTimeout has never been used.

This package is now archived. This was originally forked because the owner of the Dio package was inactive, but he has sinced returned from inactiveness and has added some more contributors to prevent this from happening again in the future. All future development continues over on Dio.


[Feat]: Backup Migration Script for V3 Version

Hello everyone!
I wanted to inform you all that I have prepared a backup migration script for the V3 version of Listen1. I invite you to try out this script and experience the fantastic features of the new version, which boasts awesome visual effects.
You can find the migration script [here]. Additionally, you can download the V3 version of Listen1 [here].
Please keep in mind that the script is still in its early stages and may have some rough edges. If you encounter any issues, please feel free to report them in this issue. If the script works well and shows promise, I intend to incorporate this functionality into the official V3 version.
I would like to express my sincere gratitude to the developers of Listen1, especially [listen1] and [mikelxk], as well as others who have provided invaluable assistance and continue to maintain Listen1. I apologize for not listing all the contributors.
Thank you for your support, and I look forward to your feedback and contributions!

I didn't have favoriteplayerlists, so I changed 146 lines to const favoritePlayerLists = v2BackupJSON.favoriteplayerlists || []; No problem now

I didn't have favoriteplayerlists, so I changed 146 lines to const favoritePlayerLists = v2BackupJSON.favoriteplayerlists || []; No problem now

I'm glad it could help you, and thank you for using this script to check its functionality and suggesting improvements.

The code has been rewritten in TypeScript. welcome any feedback or suggestions you may have.