xgboost RF bump for n=10M

Moved "something weird happens for the largest data size (n=10M) - the trend for Run time and AUC "breaks", see figures main README" issue from https://github.com/szilard/benchm-ml/issues/2 here.

@tqchen says: "I now think the bump in running time was due to cache-line issues. As there are some non-consecutive going on xgboost. Having larger amount of rows could mean less cache hit rate, but the impact should not be large as this has things to do micro level optimization.
I have pushed some optimization to do prefetching, which should in general improve the speed of xgboost. Would be great if you want to run another round of test."

Thanks, I have to note that the bump in trend is still likely to exist, but the impact should be limited due to the micro level thing I mentioned. Just that we know the cause of this phenomenon:)

As for the AUC part, I find that at least in terms of boosting, seems treating all the dates and times as integer gives definitely better result.

I think that's a reasonable explanation. I re-ran it and there was a significant improvement for n=10M (from 4800sec to 3000sec). The Time vs size curve is still convex though, but your previous comments can be an explanation for this.


Error while fetching Calendar: Response error: 400

Recently, the card started giving "Error while fetching Calender: Response error: 400" error which as been working up until now.  I'm not sure if a change in home-assistant or week-planner card.  Both are up to date.  It appears to started having issues with a couple calendars in my list.   If I remove them, the card displays the remaining calendars ok.  The problem calendars are all google calendars, 1 put out publicly by the our school and 1 calendar in my google calendar.  As far as I can tell the calendars are accessible via the home-assistant calendar and not seeing errors there.  Any idea where I'm going wrong?
Card config:
type: custom:bootstrap-grid-card
class: container-fluid `g-0`
cards:
  - type: row
    class: row
    cards:
      - type: custom:week-planner-card
        compact: false
        class: col-24
        calendars:
          - entity: calendar.abc_planetmurphy_com
            color: "#e6c229"
          - entity: calendar.efg_planetmurphy_com
            color: "#1a8fe3"
          - entity: calendar.kaneland_john_shields_elementary
            color: "#d11149"
          - entity: calendar.district_302
            color: "#d11149"
          - entity: calendar.holidays_in_united_states
            color: "#0099aa"
          - entity: calendar.school
            color: "#000000"
        days: 35
        startingDay: monday
        texts:
          today: ""
          tomorrow: ""
          yesterday: ""
          fullDay: ""
          wednesday: Wed
        weather:
          entity: weather.pirateweather
          showTemperature: true
          showLowTemperature: false
        noCardBackground: false
        eventBackground: rgba(0, 0, 0, .5)
        locationLink: https://www.openstreetmap.org/search?query=
        locale: us
        timeFormat: h:mma

Looking at the browser console log it appears to be these calendars with a "fetch-with0-auth" error.

import type { Auth } from "home-assistant-js-websocket";

export const fetchWithAuth = async (
  auth: Auth,
  input: RequestInfo,
  init: RequestInit = {}
) => {
  if (auth.expired) {
    await auth.refreshAccessToken();
  }
  init.credentials = "same-origin";
  if (!init.headers) {
    init.headers = {};
  }
  if (!init.headers) {
    init.headers = {};
  }
  // @ts-ignore
  init.headers.authorization = `Bearer ${auth.accessToken}`;
  return fetch(input, init);
};

Argh, this issue can be closed.  For some reason, HA created new entities for these 2 calendars and added a "_2" to the end.  I delete the entities and restarted.  Now back to normal.


Implement/static baseline creatinine

Closes #29 and
Closes #35

added some documentation and set the default baselinemethod to 7d and fixed.


Add Rectangular and Circular Bounds 2D which will eventually be utilized for batching/tooling.

#11 is dependent on this

tasks completed


Feature request: light theme

Awesome theme :+1:
Are there any plans for a light version of the theme, e.g. similar to rakr/vim-one?
It would be helpful if one could switch easily on sunny days :sweat_smile:

Now it's available:
vim.o.background = "light"
require('onedark').setup {
	style = 'light',
}

Awesome :sunglasses: thanks!


Creative bug

Empty hand.
/shop create 1 1 1.
"Shop creation has been cancelled".
I got a creative.

The latest version of the plugin, paper 226

Got the same Problem here

When the players get in creative mode, they are not allowed to do anything but to select an item. If you experience that players can stay in creative mode, can you tell me what exactly you do?
Also, to disable the feature, you can set creative-item-select in the config to false

As described above.
Players still have the creative (nothing is blocked).
The administration works as it should (the creative is blocked).
No creative-item-select in config. Maybe that's why this is happening.

The config is not updated automatically, you need to either let the plugin re-create the file by deleting it, or add the property manually.

fixed :)


Need clear data and clear cache icons

Icon Request

Icon name:  ri-clear-cache and ri-clear-data
Tags of this icon: clear, cache, data
Use case: To use in my application
Screenshots of similar icons:

Can this icon meet your needs?
https://remixicon.com/icon/brush-3-line


RPI 4: Couldn't install vscode server on remote server, install script returned non-zero exit status

Hi all,
For remote coding on my Raspberry Pi4 I've used this software for a long time.
But I'm getting the error mentioned in the title since setting up my OS again (I don't know if this could be connected to the issue).
The output of trying to connect to my RPI4 is the following:
`[Info  - 19:54:05.215] Resolving ssh remote authority 'ssh-remote+rpi' (attemp #1)
[Error  - 19:54:05.224] Couldn't get identities from OpenSSH agent
Error: SSH_AUTH_SOCK environment variable not defined
at t.gatherIdentityFiles (/home/user/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.42-universal/out/extension.js:1:428658)
at async /home/user/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.42-universal/out/extension.js:1:388901
[Trace  - 19:54:05.224] Identity keys:
None
[Info  - 19:54:05.309] Trying no-auth authentication
[Info  - 19:54:05.315] Trying password authentication
[Trace  - 19:54:17.821] Server install command:
[Trace  - 19:54:20.458] Server install command stdout:
Server script already installed in /home/user/.vscodium-server/bin/a5004432af6600c99fa4f918a3f2f8df44df71e6/bin/codium-server
Error server did not start sucessfully
ceffb478af3f471b99590943: start
exitCode==1==
listeningOn====
connectionToken==cfcd70b0-7ad0-4eed-9e56-abf8858e7fef==
logFile==/home/user/.vscodium-server/.a5004432af6600c99fa4f918a3f2f8df44df71e6.log==
osReleaseId==raspbian==
arch==aarch64==
platform==Linux==
tmpDir==/run/user/1001==
ceffb478af3f471b99590943: end
[Error  - 19:54:20.459] Error resolving authority
Error: Couldn't install vscode server on remote server, install script returned non-zero exit status
at t.installCodeServer (/home/user/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.42-universal/out/extension.js:1:426540)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async /home/user/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.42-universal/out/extension.js:1:390494
`
Does anyone have an idea what the error could be?
I'm using Open Remote - SSH v0.0.42 and VsCodium <IP_ADDRESS>57 (currently the newest)
Thank you for every input!

@MystikReasons could you share contents of /home/user/.vscodium-server/.a5004432af6600c99fa4f918a3f2f8df44df71e6.log
and also try deleting /home/user/.vscodium-server folder and connecting again

Hi @jeanp413
Thank you for your quick reply.
Unfortunately, there is no log file. This is the folder structure:
~/.vscodium-server/bin/a5004432af6600c99fa4f918a3f2f8df44df71e6
But inside it there is no log file either.
I also tried your other approach with removing .vscodium-server and then connecting again but it is giving me the same error message.
This time it created a .log file. Here is the content:
/home/user/.vscodium-server/bin/a5004432af6600c99fa4f918a3f2f8df44df71e6/bin/codium-server: 12:  /home/user/.vscodium-server/bin/a5004432af6600c99fa4f918a3f2f8df44df71e6/bin/codium-server:  /home/user/.vscodium-server/bin/a5004432af6600c99fa4f918a3f2f8df44df71e6/node: not found

Could you share the contents of the ~/.vscodium-server/bin/a5004432af6600c99fa4f918a3f2f8df44df71e6 folder? It should be the same as this, from the logs it says the node binary is not present, maybe some server tar file gets corrupted while downloading it :thinking:
gitpod ~ $ ls -l ~/.vscodium-server/bin/a5004432af6600c99fa4f918a3f2f8df44df71e6/
total 88800
drwxr-xr-x   4 gitpod gitpod       60 Sep 14 18:28 bin
drwxr-xr-x  34 gitpod gitpod     4096 Sep 14 18:28 extensions
-rwxr-xr-x   1 gitpod gitpod 90900480 Sep 14 18:27 node
drwxr-xr-x 111 gitpod gitpod     4096 Sep 14 18:28 node_modules
drwxr-xr-x   3 gitpod gitpod      178 Sep 14 18:28 out
-rw-r--r--   1 gitpod gitpod       88 Sep 14 18:10 package.json
-rw-r--r--   1 gitpod gitpod    13716 Sep 14 18:14 product.json

Sure, here is the content of the folder:
total 88432 drwxr-xr-x   4 user user     4096 Sep 14 20:33 bin drwxr-xr-x  34 user user     4096 Sep 14 20:33 extensions -rwxr-xr-x   1 user user 90511392 Sep 14 20:33 node drwxr-xr-x 111 user user     4096 Sep 14 20:34 node_modules drwxr-xr-x   3 user user     4096 Sep 14 20:33 out -rw-r--r--   1 user user       88 Sep 14 20:10 package.json -rw-r--r--   1 user user    13716 Sep 14 20:17 product.json

Server folder contents looks good :thinking:,
could you try runing the server manually with this command
/home/user/.vscodium-server/bin/a5004432af6600c99fa4f918a3f2f8df44df71e6/bin/codium-server --start-server --host=<IP_ADDRESS> --port=0
and share the output

When trying to start the server it respons as follows:
/home/user/.vscodium-server/bin/a5004432af6600c99fa4f918a3f2f8df44df71e6/bin/codium-server: 12: /home/user/.vscodium-server/bin/a5004432af6600c99fa4f918a3f2f8df44df71e6/bin/codium-server: /home/user/.vscodium-server/bin/a5004432af6600c99fa4f918a3f2f8df44df71e6/node: not found

mmm does the node binary alone work? Just run /home/user/.vscodium-server/bin/a5004432af6600c99fa4f918a3f2f8df44df71e6/node it should start the node repl
If not then maybe it's some upstream bug in vscodium, could you try downloading the server manually from the vscodium releases in your case it's vscodium-reh-linux-arm64-<IP_ADDRESS>57.tar.gz and try runing the server/node manually again and share output, also maybe as a workaround you can try downgrading vscodium to the last release you remember it working

When typing /home/user/.vscodium-server/bin/a5004432af6600c99fa4f918a3f2f8df44df71e6/node it replies with: /home/user/.vscodium-server/bin/a5004432af6600c99fa4f918a3f2f8df44df71e6/node: No such file or directory.
I will try to download the server manually tomorrow.
Thank you anyways for your input, it is highly appreciated :)

When typing /home/user/.vscodium-server/bin/a5004432af6600c99fa4f918a3f2f8df44df71e6/node it replies with: /home/user/.vscodium-server/bin/a5004432af6600c99fa4f918a3f2f8df44df71e6/node: No such file or directory

That's weird, but the binary does exist from your previous comment right? :thinking:
Sure, here is the content of the folder:

total 88432
drwxr-xr-x 4 user user 4096 Sep 14 20:33 bin
drwxr-xr-x 34 user user 4096 Sep 14 20:33 extensions
-rwxr-xr-x 1 user user 90511392 Sep 14 20:33 node
drwxr-xr-x 111 user user 4096 Sep 14 20:34 node_modules
drwxr-xr-x 3 user user 4096 Sep 14 20:33 out
-rw-r--r-- 1 user user 88 Sep 14 20:10 package.json
-rw-r--r-- 1 user user 13716 Sep 14 20:17 product.json

I had a very similar issue, but as you mentioned removing the  ~/.vscodium-server folder on the remote (in fact renaming) solved it - thanks 👍
# Finish server setup
print_install_results_and_exit 0

[Trace  - 04:41:03.473] Server install command stderr:

gzip: stdin: invalid compressed data--format violated
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now

[Trace  - 04:41:03.473] Server install command stdout:
Error while extracting server contents
80bf3ab9a63b67b3a3a6c9c2: start
exitCode==1==
listeningOn====
connectionToken====
logFile==/HOME/**remote-user**/.vscodium-server/.a5004432af6600c99fa4f918a3f2f8df44df71e6.log==
osReleaseId==ubuntu==
arch==x86_64==
platform==Linux==
tmpDir==/run/user/2065468==
SSH_AUTH_SOCK==/tmp/ssh-DW0tDvtXX5/agent.21542==
80bf3ab9a63b67b3a3a6c9c2: end

[Error  - 04:41:03.474] Error resolving authority
Error: Couldn't install vscode server on remote server, install script returned non-zero exit status
	at t.installCodeServer (/Users/**local-user**/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.43-universal/out/extension.js:1:426540)
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
	at async /Users/**local-user**/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.43-universal/out/extension.js:1:390494

An update from my side:
I've tried installing the it manually but I did receive the same error when trying to connect via VSCodium.
Regarding the file not found on node, I had to type node in front of the path, which I did not know.
Like this: node /home/user/.vscodium-server/bin/a5004432af6600c99fa4f918a3f2f8df44df71e6/node
This gives me the following error:
`/home/user/.vscodium-server/bin/a5004432af6600c99fa4f918a3f2f8df44df71e6/node:1
ELF
^
SyntaxError: Invalid or unexpected token
at wrapSafe (internal/modules/cjs/loader.js:1029:16)
at Module._compile (internal/modules/cjs/loader.js:1078:27)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1143:10)
at Module.load (internal/modules/cjs/loader.js:979:32)
at Function.Module._load (internal/modules/cjs/loader.js:819:12)
at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:75:12)
at internal/main/run_main_module.js:17:47`
Maybe you know something more on this, because Javascript is not really my strength ^^

Regarding the file not found on node, I had to type node in front of the path, which I did not know.

Nope, typing /home/user/.vscodium-server/bin/a5004432af6600c99fa4f918a3f2f8df44df71e6/node is the correct command, it will start the node binary shipped with vscodium, if you type node in front of it, it will invoke the system wide node installation.

I've tried installing the it manually but I did receive the same error when trying to connect via VSCodium.

Then you should try downgrading your local vscodium to 1.81 and try connecting again, seems like something is wrong with the node binary in version 1.82

Regarding the file not found on node, I had to type node in front of the path, which I did not know.

Nope, typing /home/user/.vscodium-server/bin/a5004432af6600c99fa4f918a3f2f8df44df71e6/node is the correct command, it will start the node binary shipped with vscodium, if you type node in front of it, it will invoke the system wide node installation.

Interesting, therefore the old issue with the node not being found is still the real issue.

I've tried installing the it manually but I did receive the same error when trying to connect via VSCodium.

Then you should try downgrading your local vscodium to 1.81 and try connecting again, seems like something is wrong with the node binary in version 1.82

Will try that in the next few days, thank you for the suggestion

Similar issue from my side, but the problem is not in missing node but rather GLIBC version mismatch.
If I run the server manually it returns the following error:
/home/neychevr/.vscodium-server/bin/a5004432af6600c99fa4f918a3f2f8df44df71e6/node: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /home/nexes/.vscodium-server/bin/a5004432af6600c99fa4f918a3f2f8df44df71e6/node)

Command ldd --version return is:
ldd (Ubuntu GLIBC 2.27-3ubuntu1.6) 2.27
Copyright (C) 2018 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper.

It worked recently (couple of weeks ago).
Any ways to fix it? According to this updating GLIBC manually is not a good idea.

I'm back again after testing different VSCodium releases.
Unfortunately, this did not solve my issue. I tried it on my main linux machine and on the windows machine and the error stays the same.
I've tried 4 different VSCodium versions, the oldest dating back to 1.77.0 which is from April 2023.
I can imagine multiple reasons for that:

VSCodium is pulling the new software, despite being on an older version
The error is somehow related to the Raspberry Pi
There is a problem with a newer version of open-remote-ssh

Will check in the next days if I find out more.

@neychevr that's a vscodium issue https://github.com/VSCodium/vscodium/issues/1634, version 1.82 updated nodejs to v18  which requires glibc 2.28 or greater, official MS vscode shipped a custom node build so it's till backwards compatible, easier workaround for now is downgrade to 1.81

I'm back again after testing different VSCodium releases. Unfortunately, this did not solve my issue. I tried it on my main linux machine and on the windows machine and the error stays the same. I've tried 4 different VSCodium versions, the oldest dating back to 1.77.0 which is from April 2023.
I can imagine multiple reasons for that:

VSCodium is pulling the new software, despite being on an older version
The error is somehow related to the Raspberry Pi
There is a problem with a newer version of open-remote-ssh (least plausible)

Will check in the next days if I find out more.
Here is VSCode Server's url,You can replace node in vscodium-reh with node in vscode-server manually.It maybe works.
https://update.code.visualstudio.com/commit:e7e037083ff4455cf320e344325dacb480062c3c/server-linux-arm64/stable

@neychevr that's a vscodium issue VSCodium/vscodium#1634, version 1.82 updated nodejs to v18 which requires glibc 2.28 or greater, official MS vscode shipped a custom node build so its not affected, easier workaround for now is downgrade to 1.81

Thank you! 1.81 version works fine

Here is VSCode Server's url,You can replace node in vscodium-reh with node in vscode-server manually.It maybe works. https://update.code.visualstudio.com/commit:e7e037083ff4455cf320e344325dacb480062c3c/server-linux-arm64/stable

Do you mean replacing it manuall in .vscodium-server on the RPI4?

Do you mean replacing it manuall in .vscodium-server on the RPI4?

@MystikReasons you could try that but probably won't help in your case, if that was the case then downgrading to 1.81 would have work

@MystikReasons you could try that but probably won't help in your case, if that was the case then downgrading to 1.81 would have worked

You are right, this did indeed not work. I tried another idea and that was installing VSCode on my windows machine and trying the "Remote - SSH" extension from Microsoft and this is just working fine. I will try it later on my linux machine.
But it seems that it either has to be VSCodium or this extension.

Same probleme here with the version VSCodium 1.85.1.
I will try to downgrade to the 1.81

Thanks @jeanp413, this seemed to work for me:

try deleting /home/user/.vscodium-server folder and connecting again

Exactly the same use case: trying to connect on my homelab (rpi4 8go w/ raspbian lts) through vscodium and open-remote-ssh extension. Running on the latest version (VSCodium 1.89.1, w/ open-remote-ssh v0.0.45).
VS-Code and Remote-SSH working properly, SSH in general working properly, and no major issue w/ this part of the homelab.
Tried to rename/remove the .vscode and .vscodium servers - still not working.
Tried installing manually through super user - not working
Going into the ~/.vscodium-server/bin/xxx/ i can see the node exe. Can't start it with bash nor natively. I need to force it through "node node" When doing so, I got the following output:
YYY@XXX:~/.vscodium-server/bin/a045dcfceda27f896936bfd8cbf524f6a93a2f46 $ node node
/home/YYY/.vscodium-server/bin/a045dcfceda27f896936bfd8cbf524f6a93a2f46/node:1
ELF
^
SyntaxError: Invalid or unexpected token
at wrapSafe (node:internal/modules/cjs/loader:1281:20)
at Module._compile (node:internal/modules/cjs/loader:1321:27)
at Module._extensions..js (node:internal/modules/cjs/loader:1416:10)
at Module.load (node:internal/modules/cjs/loader:1208:32)
at Module._load (node:internal/modules/cjs/loader:1024:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:174:12)
at node:internal/main/run_main_module:28:49
Node.js v20.13.1
I'll try to check later on.
Quentin

After much googling I've arrived at this issue which is exactly what I am experiencing. Followed some t/s steps listed here and arrived at all the same points. Everything ssh works fine with the RPI4, just not this. Acts like the node file doesn't exist when it clear does.

vscodium 1.92.2 on local Windows 10.
remote linux with proxy to WAN.
after first tries, a folder of ~/.vscodium-server/bin/... created on remote, and an empty vscode-server.tar.gz under it.
local log shows the URL, https://github.com/VSCodium/vscodium/releases/download/<IP_ADDRESS>28/vscodium-reh-linux-x64-<IP_ADDRESS>28.tar.gz, so I manually downloaded it to the remote linux, extract it to the folder as above, and move the gz file to vscode-server.tar.gz as above .
then it works.

Encountering same issue on 1.82.2,
Had to enable it from argv.json otherwise it wouldn't show up on the side panel and this is the error trace from the client side.
server side seem to be working I tried it on in vscode 1.88 it was fine.
[Info  - 12:29:27.4] Resolving ssh remote authority 'ssh-remote+<IP_ADDRESS>' (attemp #1)
[Trace  - 12:29:27.62] Identity keys:
/home/user/.ssh/key ssh-ed25519 SHA256:FtXNmE+EpAo6OYvj9ZlxBqMf3lowa6vcvUdhSRnLHk8=
[Info  - 12:29:27.254] Trying no-auth authentication
[Info  - 12:29:27.308] Trying publickey authentication: /home/user/.ssh/key ssh-ed25519 SHA256:FtXNmE+EpAo6OYvj9ZlxBqMf3lowa6vcvUdhSRnLHk8=
[Trace  - 12:29:27.608] Server install command:

# Server installation script

TMP_DIR="${XDG_RUNTIME_DIR:-"/tmp"}"

DISTRO_VERSION="1.82.2"
DISTRO_COMMIT="undefined"
DISTRO_QUALITY="undefined"
DISTRO_VSCODIUM_RELEASE=""

SERVER_APP_NAME="code-server-oss"
SERVER_INITIAL_EXTENSIONS=""
SERVER_LISTEN_FLAG="--port=0"
SERVER_DATA_DIR="$HOME/.vscode-server-oss"
SERVER_DIR="$SERVER_DATA_DIR/bin/$DISTRO_COMMIT"
SERVER_SCRIPT="$SERVER_DIR/bin/$SERVER_APP_NAME"
SERVER_LOGFILE="$SERVER_DATA_DIR/.$DISTRO_COMMIT.log"
SERVER_PIDFILE="$SERVER_DATA_DIR/.$DISTRO_COMMIT.pid"
SERVER_TOKENFILE="$SERVER_DATA_DIR/.$DISTRO_COMMIT.token"
SERVER_ARCH=
SERVER_CONNECTION_TOKEN=
SERVER_DOWNLOAD_URL=

LISTENING_ON=
OS_RELEASE_ID=
ARCH=
PLATFORM=

# Mimic output from logs of remote-ssh extension
print_install_results_and_exit() {
    echo "9a75667f01d7ee7ce46ec34b: start"
    echo "exitCode==$1=="
    echo "listeningOn==$LISTENING_ON=="
    echo "connectionToken==$SERVER_CONNECTION_TOKEN=="
    echo "logFile==$SERVER_LOGFILE=="
    echo "osReleaseId==$OS_RELEASE_ID=="
    echo "arch==$ARCH=="
    echo "platform==$PLATFORM=="
    echo "tmpDir==$TMP_DIR=="

    echo "9a75667f01d7ee7ce46ec34b: end"
    exit 0
}

# Check if platform is supported
KERNEL="$(uname -s)"
case $KERNEL in
    Darwin)
        PLATFORM="darwin"
        ;;
    Linux)
        PLATFORM="linux"
        ;;
    FreeBSD)
        PLATFORM="freebsd"
        ;;
    DragonFly)
        PLATFORM="dragonfly"
        ;;
    *)
        echo "Error platform not supported: $KERNEL"
        print_install_results_and_exit 1
        ;;
esac

# Check machine architecture
ARCH="$(uname -m)"
case $ARCH in
    x86_64 | amd64)
        SERVER_ARCH="x64"
        ;;
    armv7l | armv8l)
        SERVER_ARCH="armhf"
        ;;
    arm64 | aarch64)
        SERVER_ARCH="arm64"
        ;;
    ppc64le)
        SERVER_ARCH="ppc64le"
        ;;
    riscv64)
        SERVER_ARCH="riscv64"
        ;;
    *)
        echo "Error architecture not supported: $ARCH"
        print_install_results_and_exit 1
        ;;
esac

# https://www.freedesktop.org/software/systemd/man/os-release.html
OS_RELEASE_ID="$(grep -i '^ID=' /etc/os-release 2>/dev/null | sed 's/^ID=//gi' | sed 's/"//g')"
if [[ -z $OS_RELEASE_ID ]]; then
    OS_RELEASE_ID="$(grep -i '^ID=' /usr/lib/os-release 2>/dev/null | sed 's/^ID=//gi' | sed 's/"//g')"
    if [[ -z $OS_RELEASE_ID ]]; then
        OS_RELEASE_ID="unknown"
    fi
fi

# Create installation folder
if [[ ! -d $SERVER_DIR ]]; then
    mkdir -p $SERVER_DIR
    if (( $? > 0 )); then
        echo "Error creating server install directory"
        print_install_results_and_exit 1
    fi
fi

SERVER_DOWNLOAD_URL="$(echo "https://github.com/VSCodium/vscodium/releases/download/\${version}.\${release}/vscodium-reh-\${os}-\${arch}-\${version}.\${release}.tar.gz" | sed "s/\${quality}/$DISTRO_QUALITY/g" | sed "s/\${version}/$DISTRO_VERSION/g" | sed "s/\${commit}/$DISTRO_COMMIT/g" | sed "s/\${os}/$PLATFORM/g" | sed "s/\${arch}/$SERVER_ARCH/g" | sed "s/\${release}/$DISTRO_VSCODIUM_RELEASE/g")"

# Check if server script is already installed
if [[ ! -f $SERVER_SCRIPT ]]; then
    if [[ "$PLATFORM" != "darwin" ]] && [[ "$PLATFORM" != "linux" ]]; then
        echo "Error "$PLATFORM" needs manual installation of remote extension host"
        print_install_results_and_exit 1
    fi

    pushd $SERVER_DIR > /dev/null

    if [[ ! -z $(which wget) ]]; then
        wget --tries=3 --timeout=10 --continue --no-verbose -O vscode-server.tar.gz $SERVER_DOWNLOAD_URL
    elif [[ ! -z $(which curl) ]]; then
        curl --retry 3 --connect-timeout 10 --location --show-error --silent --output vscode-server.tar.gz $SERVER_DOWNLOAD_URL
    else
        echo "Error no tool to download server binary"
        print_install_results_and_exit 1
    fi

    if (( $? > 0 )); then
        echo "Error downloading server from $SERVER_DOWNLOAD_URL"
        print_install_results_and_exit 1
    fi

    tar -xf vscode-server.tar.gz --strip-components 1
    if (( $? > 0 )); then
        echo "Error while extracting server contents"
        print_install_results_and_exit 1
    fi

    if [[ ! -f $SERVER_SCRIPT ]]; then
        echo "Error server contents are corrupted"
        print_install_results_and_exit 1
    fi

    rm -f vscode-server.tar.gz

    popd > /dev/null
else
    echo "Server script already installed in $SERVER_SCRIPT"
fi

# Try to find if server is already running
if [[ -f $SERVER_PIDFILE ]]; then
    SERVER_PID="$(cat $SERVER_PIDFILE)"
    SERVER_RUNNING_PROCESS="$(ps -o pid,args -p $SERVER_PID | grep $SERVER_SCRIPT)"
else
    SERVER_RUNNING_PROCESS="$(ps -o pid,args -A | grep $SERVER_SCRIPT | grep -v grep)"
fi

if [[ -z $SERVER_RUNNING_PROCESS ]]; then
    if [[ -f $SERVER_LOGFILE ]]; then
        rm $SERVER_LOGFILE
    fi
    if [[ -f $SERVER_TOKENFILE ]]; then
        rm $SERVER_TOKENFILE
    fi

    touch $SERVER_TOKENFILE
    chmod 600 $SERVER_TOKENFILE
    SERVER_CONNECTION_TOKEN="ff84d858-bc66-4f93-8878-12c73c9e4c1e"
    echo $SERVER_CONNECTION_TOKEN > $SERVER_TOKENFILE

    $SERVER_SCRIPT --start-server --host=<IP_ADDRESS> $SERVER_LISTEN_FLAG $SERVER_INITIAL_EXTENSIONS --connection-token-file $SERVER_TOKENFILE --telemetry-level off --enable-remote-auto-shutdown --accept-server-license-terms &> $SERVER_LOGFILE &
    echo $! > $SERVER_PIDFILE
else
    echo "Server script is already running $SERVER_SCRIPT"
fi

if [[ -f $SERVER_TOKENFILE ]]; then
    SERVER_CONNECTION_TOKEN="$(cat $SERVER_TOKENFILE)"
else
    echo "Error server token file not found $SERVER_TOKENFILE"
    print_install_results_and_exit 1
fi

if [[ -f $SERVER_LOGFILE ]]; then
    for i in {1..5}; do
        LISTENING_ON="$(cat $SERVER_LOGFILE | grep -E 'Extension host agent listening on .+' | sed 's/Extension host agent listening on //')"
        if [[ -n $LISTENING_ON ]]; then
            break
        fi
        sleep 0.5
    done

    if [[ -z $LISTENING_ON ]]; then
        echo "Error server did not start sucessfully"
        print_install_results_and_exit 1
    fi
else
    echo "Error server log file not found $SERVER_LOGFILE"
    print_install_results_and_exit 1
fi

# Finish server setup
print_install_results_and_exit 0

[Trace  - 12:29:28.520] Server install command stderr:
https://github.com/VSCodium/vscodium/releases/download/1.82.2./vscodium-reh-linux-x64-1.82.2..tar.gz:
2024-09-13 12:29:36 ERROR 404: Not Found.

[Trace  - 12:29:28.520] Server install command stdout:
Error downloading server from https://github.com/VSCodium/vscodium/releases/download/1.82.2./vscodium-reh-linux-x64-1.82.2..tar.gz
9a75667f01d7ee7ce46ec34b: start
exitCode==1==
listeningOn====
connectionToken====
logFile==/home/caretaker/.vscode-server-oss/.undefined.log==
osReleaseId==ubuntu==
arch==x86_64==
platform==linux==
tmpDir==/run/user/1000==
9a75667f01d7ee7ce46ec34b: end

[Error  - 12:29:28.520] Error resolving authority
Error: Couldn't install vscode server on remote server, install script returned non-zero exit status
	at t.installCodeServer (/home/user/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.46-universal/out/extension.js:1:441139)
	at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
	at async /home/user/.vscode-oss/extensions/jeanp413.open-remote-ssh-0.0.46-universal/out/extension.js:1:404879

The raspberry pi doesn't seem to be the root cause of the issue. Using the same exact setup (raspberry pi 4 8gb of ram), while just changing the os (raspbian cli to ubuntu lts 24.04 cli) the remote-server installation goes smoothly.
I believe that the issue has to do with raspbian. I'll try the fix proposed earlier (manual installation on raspbian) to see if it works for me.


Fix readme links to open in new tab

In the spirit of learning how to use Git and Pull requests (PRs) @yourfirstpr, this issue should be approachable for anyone. This should be a fairly straight forward change and will not effect the UI or functionality of the component. It's what we'd consider a "no harm" change. Here's what you need to do:
1 ) Fork the repo
2 ) Clone the repo to your local machine
3 ) Switch to the ReadmeLinkFix branch
3 ) Open up README.md in your favorite editor
4 ) Change the links (below)
5 ) Commit your changes to the file
5 ) Pull the repo.  This makes sure your branch is up to date before pushing your changes.
6 ) Push your changes to your fork
7 ) Create a PR and include Fixes #87 in the message
8 ) Get merged and celebrate :tada:
The Change
In ./README.md, right above the change logs, replace this:
+ Twitter:        [@microbejs](https://www.twitter.com/microbejs)
+ Email:          [hello<EMAIL_ADDRESS>+ Web:            [http://m.icro.be](http://m.icro.be/)
+ Git:            [https://github.com/sociomantic/microbe/](https://github.com/sociomantic/microbe/)
+ IRC ([freenode](https://kiwiirc.com/client/chat.freenode.net:+6697/#microbe)): #microbe

with this:
+ Twitter:        @microbejs
+ Email:          [hello<EMAIL_ADDRESS>+ Web:           http://m.icro.be/
+ Git:             https://github.com/sociomantic/microbe/
+ IRC           freenode #microbe

By replacing the Markdown with anchor tags, they will now open in a new window.

Hello @mousemke! Thanks so much for this (I am creator of @yourfirstpr). Will be tweeting this out tomorrow :)


Add SQL settings into the settings editor

Initial stab at a hierarchy for all Azure Data Studio settings
Will revisit later, but this covers all built-in settings

Data seems like a weird name for this.

I'm going to merge this in for now, and then engage with PM on naming (as discussed in the email thread). @anthonydresser I fully agree the names aren't perfect - we might just want to up-level some of the Connect, Query, Notebook etc. features instead of grouping under "Data". But it needs thought, and until PMs (and users) can even play around with the settings it's way harder to get useful feedback. Hence I'll check this in and we'll iterate from there.


hi, i want to fork your code, and make a branch to metric.net

hi, i want to fork your code, and make a branch to metric.net. Can I do it ?

Sure! No need to ask. What are you working on? If you contribute it back as a PR, we can merge it in and push your changes to NuGet.


Fixed random order of commands in usage message

Fixes #142
Note: Had to delete previous PR, because I commited it under wrong email...

LGTM, thanks. Please merge when the wercker build is happy.


[Bug] (Still Active) Geckolib Entities Completely Invisible

I'm sure I'm making a simple mistake, but there's not many resources to check these things, so I thought it'd be best to report it on the Github. If any more documentation is required, I'd be happy to provide.
Geckolib v5.9.3
MCreator 2024.3
Neoforge 1.21.1

The visual and sounds page:

The animation:

The model not appearing in game (explodes when lands):

The json files:
adaptable_chunk.animation.json
adaptable_chunk.geo.json

I hate to be rude, but, I was expecting to have to wait, but I wasn't expecting to have to wait over a week. I can understand being busy, but taking this long is kinda unacceptable. When you're managing A plugin in the top 5 of most popular MCreator plugins in existence, I feel like it shouldn't take that much time out of your day to just check in on the issue tracker and answer some of them. I'm not even the only person and I certainly don't have the most complex issue here. I would just appreciate some kind of answer within the next three months.


add IsChannelAvailable, CreateChannel, DestroyChannel in MumbleClient

a first pull request for 3 new methods:
isChannelAvailable
CreateChannel
DestroyChannel
only mumbleClient.cs is modified.

Just got a chance to review it, looks great. Thanks for taking the time to contribute to the repo with clean, well commented code


Following opentelemetry security best practices Users SHOULD bind rec…

…eivers' servers to addresses that limit connections to authorized users
Setting chart defaults to the pod.ip should guarantee that.
https://github.com/open-telemetry/opentelemetry-collector/blob/main/docs/security-best-practices.md
Signed-off-by: Oded David<EMAIL_ADDRESS>

Ya that is annoying.  Does this change break kubectl port-forward?

The demo relies on port forwarding so I really prefer not to stop using <IP_ADDRESS> since it is still meeting the security guidance.

Hey. I am ok with not changing the code, but I do think the readme should be updated, as localhost does not follow any deployment type (e.g. hostNetwork = true vs hostNetwork = false). I think the readme should be changed/improved. @TylerHelmuth by your permission.

@oded-dd sure, want to submit a PR for that?

Sure. Sorry for the delay. I'll take care of it in the next couple of days. Thank you.


Crash

I have a problem with minecraft crashing in the crash report link here
crash-2023-10-07_03.03.10-client.txt

No code in that stack trace appears to relate to this mod. Your issue seems to pertain to JEI, but you're also using Optifine so God only knows if there's actually an issue with any other mod.


Update documentation to reflect new submission workflow

Under the new submission workflow, submissions will automatically be submitted if they pass validation - so users will not need to manually click "Submit". Documentation pages on the website should be updated to reflect this (once the new functionality is ready):

Update submission instructions with new workflow
Replace obsolete screenshots with new ones
Review other documentation pages for any statements that clash with the new workflow

@ljwh2 If you have text prepared about the data release, could you please add it here as a comment? Then I can incorporate it into the docs when I edit them.

Once the submission has successfully validated, click "Submit" to complete the submission.
You will be taken to the My Submissions page, where you can see your latest submission at the top, with the status SUBMITTED.
For submission associated with a published manuscript, a curator will then review your submission and make the summary statistics available to the public as soon as possible through the GWAS Catalog website. We will let you know when these are available.
For unpublished data submissions, or those associated with a preprint, each summary statistics file will be made available via direct link on our ftp server within 48 hours. The direct links take the format ftp://ftp.ebi.ac.uk/pub/databases/gwas/summary_statistics/GCSTXXXXXXXX
Following our biweekly data release, the studies will also be listed in the summary statistics download area https://www.ebi.ac.uk/gwas/downloads/summary-statistics and associated metadata will be available to download via https://www.ebi.ac.uk/gwas/docs/file-downloads

This page now updated in GitHub, with new text and screenshots:
https://github.com/EBISPOT/gwas-ui/blob/documentation/goci-interfaces/goci-ui/src/main/docs/submission-content.adoc
Ready for review

I haven't found any other parts of the documentation that no longer make sense with the new workflow.

Please amend end of step 1 as follows:
Large files may take some time to transfer, but you do not need to wait until this is finished  - the transfer will continue in the background while you proceed with the next step. You do however need to wait for confirmation of file transfer before clicking "Submit submission form" (step 3).

Added now

checked and all good to go now, thanks


Changes in 3.0: stop exporting files from tests folder in distributions

Follow up of #5079

TBH that's the most rude and uninclusive response a maintainer ever replied to me.
You're never seeing me here again...

most rude and uninclusive response a maintainer ever replied to me

@hannesvdvreken I'm not a maintainer - just a guy who spams a lot of pull request (with passing checks).
I simply wonder what were you thinking when you saw these complicated exclude rules? Was it "haha, idiots, they must have done it without a reason, I will show them how to make it right"? Because I can't find other explanation.

You're never seeing me here again...

So we won't have any more pull request with random changes and failing checks? I can't say I will cray about it ;)

"haha, idiots, they must have done it without a reason, I will show them how to make it right"

Not at all. Was simply interested to know why and if there was a plan to simplify it. Afaik tests are not/never for public use. I could have sent a simple issue but that's more likely to get ignored.

So we won't have any more pull request with random changes and failing checks? I can't say I will cray about it ;)

Your parents must be proud to have raised such a charitable person like yourself. Congratulations.

Was simply interested to know why

And creating pull request is the best way to find out? You could have clone the repo, make the changes and run tests locally. Then track the failing test to the PR to learn the reason.

tests are not/never for public use

Julien already explained the reason: https://github.com/FriendsOfPHP/PHP-CS-Fixer/pull/5079#issuecomment-667210023

Your parents must be proud to have raised such a charismatic person like yourself.

Yep, they must...


TabView: Fix all tabs squeezed into viewport when last tab is closed

Description

When a large number of tabs are present (ie enough to scroll), closing the last tab will cause all of the tabs to squeeze into the visible viewport (see screencap below), before resetting to correct widths when pointer is removed from the tab header bar.
This is happening because the code path that's called when closing the last tab (fillAllAvailableSpace = true) isn't applying min (and max) tab widths as expected. This PR fixes the bug by clamping the applied tabWidth within those values.
Motivation and Context

How Has This Been Tested?

Tested manually in the MUXControlsTestApp
Screenshots (if appropriate):

Behaviour before the fix:

Behaviour after the fix:

I'm not sure how feasible it is, but I think this would be worth adding a test for.

I'm not sure how feasible it is, but I think this would be worth adding a test for.

I'm not sure how feasible it is, but I think this would be worth adding a test for.

Sure, I'll take a shot at making one.

I'm not sure how feasible it is, but I think this would be worth adding a test for.

Sure, I'll take a shot at making one.

Awesome, if there's something I can help you with, let me know.

Awesome, if there's something I can help you with, let me know.

@stmoy  as FYI

@stmoy  as FYI

Added a test for this one, let me know if it needs anything else.

Added a test for this one, let me know if it needs anything else.

/azp run

/azp run

This looks great, however the VerifySizingBehaviorOnTabCloseComingFromNonScroll test is failing on all OS versions.  @davidjohnoliver Do you need help investigating this?

This looks great, however the VerifySizingBehaviorOnTabCloseComingFromNonScroll test is failing on all OS versions.  @davidjohnoliver Do you need help investigating this?

@StephenLPeters I can repro the test failure locally. I think the bug is in the test itself.
This is what I'm seeing for that test, when the second-last tab is closed:

Before the change: the TabView doesn't resize right away, because the remaining tab is resized to take the whole viewport. At this point TabViewWidth.Text is set to "500". The TabView resizes to 283px when the pointer exits the tab area, when readTabViewWidthButton.Click() is called. Note however that the button doesn't actually get clicked from what I can see - the UI test seemingly tries to click on where it was, but it moves, because the TabView is resized. So the value is still "500" when it's read, even though the TabView has resized at this point.
After the change: The TabView resizes as soon as the second-last tab closes (because the remaining tab is clamped to maxTabWidth). TabViewWidth.Text is set to "283". The test is expecting "500" so it fails.

I think that modifying the expected value to "283" should get the test to pass and it would actually align with VerifySizingBehaviorOnTabCloseComingFromScroll(), which just seems to be closing the tabs in a different order. (https://github.com/microsoft/microsoft-ui-xaml/blob/master/dev/TabView/InteractionTests/TabViewTests.cs#L735)
Does this make sense @StephenLPeters and @chingucoding ? Maybe there's an unwanted change in behavior that I'm missing here.

@StephenLPeters I can repro the test failure locally. I think the bug is in the test itself.
This is what I'm seeing for that test, when the second-last tab is closed:

Before the change: the TabView doesn't resize right away, because the remaining tab is resized to take the whole viewport. At this point TabViewWidth.Text is set to "500". The TabView resizes to 283px when the pointer exits the tab area, when readTabViewWidthButton.Click() is called. Note however that the button doesn't actually get clicked from what I can see - the UI test seemingly tries to click on where it was, but it moves, because the TabView is resized. So the value is still "500" when it's read, even though the TabView has resized at this point.
After the change: The TabView resizes as soon as the second-last tab closes (because the remaining tab is clamped to maxTabWidth). TabViewWidth.Text is set to "283". The test is expecting "500" so it fails.

I think that modifying the expected value to "283" should get the test to pass and it would actually align with VerifySizingBehaviorOnTabCloseComingFromScroll(), which just seems to be closing the tabs in a different order. (https://github.com/microsoft/microsoft-ui-xaml/blob/master/dev/TabView/InteractionTests/TabViewTests.cs#L735)
Does this make sense @StephenLPeters and @chingucoding ? Maybe there's an unwanted change in behavior that I'm missing here.

To verify, It is intended for TabView to have very similar behavior has Edge's tab closing behavior. That is, when closing a tab the x button of the tab that takes its place should be under the cursor. This means that when there are many tabs and a non-last tab is closed by the x button that the tabs should not resize until the pointer leaves the tab well. This way the tab to the right of the closed tab is repositioned to the location of the closed tab and its x button is under the cursor.
When the last tab is closed, we should exapand the tab size so that the tab to the left is now under the cursor, unless that expansion would bring the remaining tab item's size above the max size.
Your change doesn't remove the first behavior and improves/enables the second behavior; is that correct? Its a little bit different because our tabview scrolls while edge's does not but the goal of the x button being under the cursor is the same.
Your claim is that the test that is failing now has never tested the scenario properly because the test app doesn't actually click the ReadTabViewWidth button and that with your change the tab view behavior changed in a different way that exposed this inadequacy of the test while not actually changing the behavior the test was testing for? (This question might sound harsh but that isn't intended :) )
@chingucoding I'm noticing that when the tabs resize because the user moves the mouse out of the tab well, they don't animate to their new size. Do you know why that is?

To verify, It is intended for TabView to have very similar behavior has Edge's tab closing behavior. That is, when closing a tab the x button of the tab that takes its place should be under the cursor. This means that when there are many tabs and a non-last tab is closed by the x button that the tabs should not resize until the pointer leaves the tab well. This way the tab to the right of the closed tab is repositioned to the location of the closed tab and its x button is under the cursor.
When the last tab is closed, we should exapand the tab size so that the tab to the left is now under the cursor, unless that expansion would bring the remaining tab item's size above the max size.
Your change doesn't remove the first behavior and improves/enables the second behavior; is that correct? Its a little bit different because our tabview scrolls while edge's does not but the goal of the x button being under the cursor is the same.
Your claim is that the test that is failing now has never tested the scenario properly because the test app doesn't actually click the ReadTabViewWidth button and that with your change the tab view behavior changed in a different way that exposed this inadequacy of the test while not actually changing the behavior the test was testing for? (This question might sound harsh but that isn't intended :) )
@chingucoding I'm noticing that when the tabs resize because the user moves the mouse out of the tab well, they don't animate to their new size. Do you know why that is?

@chingucoding I'm noticing that when the tabs resize because the user moves the mouse out of the tab well, they don't animate to their new size. Do you know why that is?

As in why there is no animation and they just jump? I think that's because we are using ListView and animating that wasn't a priority at the time (if it would have been achievable at all).

@chingucoding I'm noticing that when the tabs resize because the user moves the mouse out of the tab well, they don't animate to their new size. Do you know why that is?

As in why there is no animation and they just jump? I think that's because we are using ListView and animating that wasn't a priority at the time (if it would have been achievable at all).

@chingucoding I'm noticing that when the tabs resize because the user moves the mouse out of the tab well, they don't animate to their new size. Do you know why that is?

As in why there is no animation and they just jump? I think that's because we are using ListView and animating that wasn't a priority at the time (if it would have been achievable at all).

They do animate when we close the right most tab though I wonder what the difference is.

@chingucoding I'm noticing that when the tabs resize because the user moves the mouse out of the tab well, they don't animate to their new size. Do you know why that is?

As in why there is no animation and they just jump? I think that's because we are using ListView and animating that wasn't a priority at the time (if it would have been achievable at all).

They do animate when we close the right most tab though I wonder what the difference is.

@davidjohnoliver FYI about my message above, I realize now I didn't @ you.

@davidjohnoliver FYI about my message above, I realize now I didn't @ you.

@chingucoding I'm noticing that when the tabs resize because the user moves the mouse out of the tab well, they don't animate to their new size. Do you know why that is?

As in why there is no animation and they just jump? I think that's because we are using ListView and animating that wasn't a priority at the time (if it would have been achievable at all).

They do animate when we close the right most tab though I wonder what the difference is.

That's really interesting. I don't see that we would have done anything different in the code paths so this is probably the ListView behavior. Given that in the animated case the resizing is combined with the removal of an item, ListView is probably animating this as part of the collection change, not the width change.

@chingucoding I'm noticing that when the tabs resize because the user moves the mouse out of the tab well, they don't animate to their new size. Do you know why that is?

As in why there is no animation and they just jump? I think that's because we are using ListView and animating that wasn't a priority at the time (if it would have been achievable at all).

They do animate when we close the right most tab though I wonder what the difference is.

That's really interesting. I don't see that we would have done anything different in the code paths so this is probably the ListView behavior. Given that in the animated case the resizing is combined with the removal of an item, ListView is probably animating this as part of the collection change, not the width change.

Your change doesn't remove the first behavior and improves/enables the second behavior; is that correct? Its a little bit different because our tabview scrolls while edge's does not but the goal of the x button being under the cursor is the same.

Yes. For non-last tabs it should work exactly the same as before, and for the last tab it should still resize if needed, just now respecting the min/max width settings.

Your claim is that the test that is failing now has never tested the scenario properly because the test app doesn't actually click the ReadTabViewWidth button and that with your change the tab view behavior changed in a different way that exposed this inadequacy of the test while not actually changing the behavior the test was testing for? (This question might sound harsh but that isn't intended :) )

Yes and no - I think most of the test works properly. 😄 But yes, the final assert (https://github.com/microsoft/microsoft-ui-xaml/blob/master/dev/TabView/InteractionTests/TabViewTests.cs#L786) is failing because the test wasn't working exactly as designed, and the behaviour under test at L786 (the actual width of TabView, in an infinite-width horizontal StackPanel, with only one remaining tab, after removing the pointer from the tab area) has in reality not changed.

Your change doesn't remove the first behavior and improves/enables the second behavior; is that correct? Its a little bit different because our tabview scrolls while edge's does not but the goal of the x button being under the cursor is the same.

Yes. For non-last tabs it should work exactly the same as before, and for the last tab it should still resize if needed, just now respecting the min/max width settings.

Your claim is that the test that is failing now has never tested the scenario properly because the test app doesn't actually click the ReadTabViewWidth button and that with your change the tab view behavior changed in a different way that exposed this inadequacy of the test while not actually changing the behavior the test was testing for? (This question might sound harsh but that isn't intended :) )

Yes and no - I think most of the test works properly. 😄 But yes, the final assert (https://github.com/microsoft/microsoft-ui-xaml/blob/master/dev/TabView/InteractionTests/TabViewTests.cs#L786) is failing because the test wasn't working exactly as designed, and the behaviour under test at L786 (the actual width of TabView, in an infinite-width horizontal StackPanel, with only one remaining tab, after removing the pointer from the tab area) has in reality not changed.

awesome, thanks. I agree with your assessment and think the test should be updated to check for 283 as you suggested, can you add that change to this PR?

awesome, thanks. I agree with your assessment and think the test should be updated to check for 283 as you suggested, can you add that change to this PR?

awesome, thanks. I agree with your assessment and think the test should be updated to check for 283 as you suggested, can you add that change to this PR?

Done!

awesome, thanks. I agree with your assessment and think the test should be updated to check for 283 as you suggested, can you add that change to this PR?

Done!

/azp run

/azp run


Truncates new code Destroying all my work

Describe the bug
The Ai when i make a request , starts writing out the code but truncates all the "Currently working" or "Unchanged" portions of the code deleting it and replacing it with /* ...  rest of code remains the same... / or / ...keep existing code ... */ things like that. making it ear impossible for me to work without constantly undoing its work.
I usually have to specify with each message i send  "DO NO TRUNCTAE MY CODE, Rewrite my full code when ever making changes." Sometimes that woks sometimes it doesn't. Usually when I Restart the conversation, it works for a while and then starts truncating after a few messages.
Link to the Bolt URL that caused the error
https://bolt.new/~/sb1-9yluzj
Steps to reproduce
ask the AI do changes something specific a certain part or block of a page, it will delete everything around it and only re-write the code for the portion requested for changes, everything else is replaced by a truncating message, or not at all, just deletes all the other code and
Expected behavior
I should ither ONLY dit the portions needed for the changes OR ALWAYS re-write all my code verbatim in full except for the changes being made.
Screen Recording / Screenshot
No response
Platform

OS: [e.g. macOS, Windows, Linux]
Browser: [e.g. Chrome, Safari, Firefox]
Version: [e.g. 91.1]
Windows 11, Chrome Version 129.0.6668.90 (Official Build) (64-bit)

Processor	Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz   2.59 GHz
Installed RAM	16.0 GB (15.8 GB usable)
System type	64-bit operating system, x64-based processor
Edition	Windows 11 Home
Version	23H2
Installed on	6/10/2024
OS build	22631.4169
Experience	Windows Feature Experience Pack 1000.22700.1034.0
Additional context
No response

Hi! 👋 Thanks a lot for the report!
We're tracking this issue internally and will let you know when we have a resolution.

This is pretty frustrating indeed!
We're tracking this internally. You can follow #124 to get notified when we've resolved this issue.

🎉 FIX LANDED we have shipped an update that should permanently resolve this issue! Please share examples if you are still experiencing this error after 1pm PST on October 22'nd.


Why & auto converting to &

I am adding & and its auto converting to & when i double click on cell. Please give me any suggestion how to remove this.

You can use this example to amend the content of the cells after been set.
https://bossanova.uk/jexcel/examples/currency-and-masking-numbers


Create ABOUT.md

Thank you!
Other than the list item thing, I think this looks great.

Merged in 6381964ebaf3ad974c8f186af03cef202054d7c8


How is XLM-R training batch size getting 8192

As the paper says,

We use the multi- lingual MLM loss and train our XLM-R model for 1.5 Million updates on five-hundred 32GB Nvidia V100 GPUs with a batch size of 8192.

But the paper doesn't tell what does 8192 mean?

the mini-batch size on each single gpu (if so, how's it possible? splitting the computation upon each batch?)
the size of a batch (with some gradient accumulation steps in it) on each single gpu
the total size of a batch on all gpus at the same time (but 8192 / 500 != 0 ...)
any else?

That's a typo in the paper. It was trained on 512 GPUs with a total batch size of 8192 sequences (16 sequences per GPU).


[TASK][EASY] Smoother the icon animation on collapsing sidebar in UI

What's the level of this task?
EASY
Code of Conduct

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

Search before creating

[X] I have searched in the task list and found no similar tasks.

Mentor

[ ] I have sufficient expertise on this task, and I volunteer to be a mentor of this task to guide contributors through the task.

Skill requirements

Frontend stack

Background and Goals
https://github.com/apache/kyuubi/pull/5634
Implementation steps
https://github.com/apache/kyuubi/pull/5634
Additional context
Introduction of 2023 Kyuubi Code Contribution Program

This task is completed by @tongwl via https://github.com/apache/kyuubi/pull/5634


chore(testing): use karma spec reporter to show karma results of dots

… of built in dots

Hopefully this will help us debug a bit better when CI fails crosses fingers


Add SerpApi

SerpApi provides a simple API to access many search engines.
Pull Request Template
Please ensure all items below are checked before creating a pull request:

[X] My changes were made in the resources folder, not in the auto-generated README.md file or db folder
[X] My submission is formatted according to the guidelines in the contributing guide
[X] My submission is ordered alphabetically based on the resource name
[X] My submission has a useful description
[X] I have searched the repository for any relevant issues or pull requests

Thank you.


Update CODEOWNERS to have pkg/spanstat owner

What do you suggest? Metrics?
If it changes often, I think it makes sense to have some specific owner; but if it doesn't change often, then having the janitor take a look seems fine to me.


chrome ext wallet - Resources must be listed in the web_accessible_resources

Follow the instructions to connect to chrome ext wallet via the sample page, hit error:
Denying load of chrome-extension://bbefnobinnplahhppfnoebnkpaikggfb/oasis-xu-frame.html. Resources must be listed in the web_accessible_resources manifest key in order to be loaded by pages outside the extension.

Resolved after using  the latest version of chrome ext wallet.


HMR stopped working after updating to 3.2.0

Version
3.2.0
Environment info
  System:
    OS: Windows 10
    CPU: (8) x64 Intel(R) Core(TM) i7-7700 CPU @ 3.60GHz
  Binaries:
    Node: Not Found
    Yarn: Not Found
    npm: 6.4.1 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: 42.17134.1.0
  npmPackages:
    @kazupon/vue-i18n-loader: ^0.3.0 => 0.3.0
    @vue/babel-preset-app:  3.2.0
    @vue/cli-overlay:  3.2.0
    @vue/cli-plugin-babel: ^3.2.0 => 3.2.0
    @vue/cli-plugin-e2e-cypress: ^3.2.0 => 3.2.0
    @vue/cli-plugin-eslint: ^3.2.1 => 3.2.1
    @vue/cli-service: ^3.2.0 => 3.2.0
    @vue/cli-shared-utils:  3.2.0
    @vue/component-compiler-utils:  2.3.0
    @vue/preload-webpack-plugin:  1.1.0
    @vue/web-component-wrapper:  1.2.0
    babel-helper-vue-jsx-merge-props:  2.0.3
    babel-plugin-transform-vue-jsx:  4.0.1
    cypress-vue-unit-test: ^1.11.0 => 1.11.0
    eslint-plugin-vue:  4.7.1
    vue: ^2.5.18 => 2.5.18
    vue-cli-plugin-i18n: ^0.5.1 => 0.5.1
    vue-confetti: ^0.4.2 => 0.4.2
    vue-eslint-parser:  2.0.3
    vue-hot-reload-api:  2.3.1
    vue-i18n: ^8.4.0 => 8.4.0
    vue-loader:  15.4.2
    vue-router: ^3.0.2 => 3.0.2
    vue-socket.io-extended: ^3.2.0 => 3.2.0
    vue-style-loader:  4.1.2
    vue-template-compiler: ^2.5.18 => 2.5.18
    vue-template-es2015-compiler:  1.6.0
    vuex: ^3.0.1 => 3.0.1
    vuex-persistedstate: ^2.5.4 => 2.5.4

Steps to reproduce
I'm encountering the same issue as https://github.com/vuejs/vue-cli/issues/2892
@sodatea  I saw that you fixed this issue in that commit.
But in this commit, you bumped the webpack version to 4.26.1.
Could this be the reason of my issue? However everything works fine in a freshly created Vue project...
What is expected?
HMR to be working
What is actually happening?
HMR is not working

Please manually update @cypress/webpack-preprocessor to 4.x, they have now made webpack a peer dep but shipped as a new major version.

Hi! Thanks for the quick reply 👍
It seems that this error is related to the cypress-vue-unit-test package that I am using. There's a pending pull request to update @cypress/webpack-preprocessor: https://github.com/bahmutov/cypress-vue-unit-test/pull/148

Thank you @createdbyjurand

in my case I can't change it to localhost, this is my config:
devServer: {
    host: '<IP_ADDRESS>',
    port: 8080,
    https: true,
    proxy: 'https://www.mydomain.com/',
    public: 'https://hmr.mydomain.com',
    headers: {
      'Access-Control-Allow-Origin': '*',
    },
  },

maybe this can help someone: https://webpack.js.org/configuration/watch/#changes-seen-but-not-processed


Feature Request: state

I don't claim that these are good suggestions :)
State Icon
Maybe you could use a small icon/emoji after the temperature to indicate the state?
LIQUID_STATE (FC540008-236C-4C94-8FA9-944A3E5353FA)

UNKNOWN = 0
EMPTY = 1 (💤)
FILLING = 2
COLD_NO_TEMPERATURE_CONTROL = 3
COOLING = 4 (❄)
HEATING = 5 (🔥)
TARGET_TEMPERATURE = 6 (👌)
WARM_NO_TEMPERATURE_CONTROL = 7

State Color
Or you could change the temperature font color to green when the target temperature is reached? Or maybe change the color of the top banner? Just to have a quick visual indicator that the coffee is now "good to drink" :) )
Liquid Level
LiquidLevel 30 seems to be a full mug. Not that it matters, because that number can jump a lot and is everything but accurate.
OTA-Info
A tiny text line at the bottom with firmware and hardware version could help people to collect that info for a support ticket.
Charging indicator
You could show charging state by adding the charging station to the image: (instead of text)

Thanks!
Thanks for a great PWA! First, I was sad because the ember-app was always crashing before the connection was complete. The Mug was good but I wasn't able to change the temperature. Then I wanted to make my own app (BLE can't be that hard!), but the ember support told me "As it turns out, we are not able to share this information." Then I found the documentation by Paul Orlob. Then I made my own app (https://github.com/foostuff/embermugcontrol VERY quick/dirty and BASIC) just to find that you already published this beautiful and nearly perfect webapp! So: thanks!

One more thing: (I only see this "problem" on windows, but that's where I run the app in a tiny window :) )
When I put the mug into pairing mode (blue flashing LED) and connect to the mug, the LED keeps on flashing.
As soon as any write command (tested led color or target_temperature) is sent, the LED stops flashing blue and indicates the heating state again... Maybe after receiving the target temperature, the app could write the target temperature back to the mug so the LED words "normal" again? A very minor inconvenience :)

Maybe you could use a small icon/emoji after the temperature to indicate the state?

Sure, sounds like a good idea!

Or you could change the temperature font color to green when the target temperature is reached? Or maybe change the color of the top banner? Just to have a quick visual indicator that the coffee is now "good to drink" :)

Yup, I'll see what looks best. Thanks for the suggestions.

LiquidLevel 30 seems to be a full mug.

Yeah it's a known issue from before I found other people's reverse-engineering docs. I'll fix this eventually.

A tiny text line at the bottom with firmware and hardware version could help people to collect that info for a support ticket.

Easy enough. Will consider.

You could show charging state by adding the charging station to the image

Ahah neat, where did you find that asset and can I reuse it?

When I put the mug into pairing mode (blue flashing LED) and connect to the mug, the LED keeps on flashing.

Yeah I've noticed as well and it annoys me. Your suggestion should work, I'll consider it. But I first need to double-check whether I could do this more properly using the undocumented "pair" command that I managed to find a few days ago while poking around.

just to find that you already published this beautiful and nearly perfect webapp! So: thanks!

Sure thing, thanks for the kind words and suggestions! :blue_heart:
Quick question by the way: while I love the fact this is a PWA, I'm getting annoyed at having to re-pair from the browser UI every single time, and I'm not the only one (got an issue from a user as well). As I mentioned above, I found the way to trigger the mug's pairing flow, but I believe this will only work with a native Android app. Would you use the open source native app if I were to published one, instead of this?

Yeah, the pics were taken from apple. If you want, you can use the attached images based on your mug image... they might be sufficient for the small scale.
To keep it clean: The hardware revision, firmware, serial number* and battery temperature (because:why not?) could be made accessible by clicking an unobrusive 🛈 symbol?
*see: https://github.com/orlopau/ember-mug/issues/3 FC54000D-236C-4C94-8FA9-944A3E5353FA   at bytes 8-18
For your question: It's complicated
I LOVE PWAs. They are kinda "open source". I don't have to install some app with ominous permissions (for example location to use bluetooth) and they work on my PC. (ok: win11 could allow android apps... But I'm on win10.) I'm not a fan of chrome though.
I did search for "alternative ember app" through google, on reddit and in f-droid though. If your app was there, I would have used it :)
I don't thing there is anything more comfortable for my setup than having the web app in a small always on top window in the bottom right corner like a widget. Then again that could just be me.
And this could change as I learn to "trust" the mug. At the moment, it is a new toy for me. But in the end, I guess it will "just work". (Who really needs a notification that the drinking temperature is reached after 2-3 minutes? I fill the cup with coffee, wait a minute, bun my tongue a little and let the cup to its invisible work which is keeping the coffee from getting too cold.)
There are 1000s of bad reviews for the app (also on amazon) with people complaining about having to re-pair. So I guess your alternative would potentially help a lot of people.
Long story short: If you ever put an app-version on f-droid I would install it but probably not use it. (Because I use a PC and sooner or later: no tool at all.)

original mug but with bottom spacing:

mug with charging platform:

mug with charging platform and icon:

only charging platform:

Thanks! I won't be using assets from Ember for obvious copyright reasons, but I'll try to design something.

Just to make that clear: the "new" images are made by me from scratch (using your mug image)

I've implemented most of this FR in fdf46247c9a4e1d9bca851df1efac01592369d5c. After some consideration I don't think I want to invest time in having a very in-your-face "charging" state in the form of displaying the base, as it's not a very important information, and we already have the battery icon. I'm making the icon green while charging.

All right, with that, marking this done. Thanks for your suggestions and help!


Another product available: Gelidus Research AC Powered RATGDO Compatible Board

So this is interesting: https://www.gelidus.ca/product/gelidus-research-ac-powered-ratgdo-compatible-board/
Integrated 120V outlet passthru. And upcoming "315Mhz RF module headers (New software feature in progress)"
Reasonable price at $21 + Canada Post International Air 5-10 Days $9.00 shipping to US.
But without UL approval, I wouldn't use it. Prefer using an approved external USB power brick and only low-voltage inside my custom devices. Plus those programming headers and button right next to the exposed AC outlet is scary to me! (though for programming you would be powering it via the external FTDI adapter, not via the internal AC power supply).

I'd just like to know if the creator based it off the reverse engineering we did or if they did it themselves.
Seems like decent enough clearance from the 120v lines to the 3.3v stuff.

I'd just like to know if the creator based it off the reverse engineering we did or if they did it themselves. Only for curiousity! Ever since ratgdo went viral it was only a matter of time before other folks with manufacturing and shipping experience picked it up.
Seems like decent enough clearance from the 120v lines to the 3.3v stuff.

Not much to reverse engineer, I probed the GDO control signal and it clearly revealed a 0-12v serial signal on a single wire and the logic probe auto decoded it as 9600 baud, 8, 1, n. too easy. Since the remote button is powered from the line we can also deduce its normally high. I could use 8-10 circuit known interface methods to talk to it.  The real genius is Clayton Smith for breaking the encryption and allowing us to read the codes. Paul did a great job writing code for it and it's public domain. My intent is to get the code into ESPHome with some additional features. Problem is the code uses a an interrupt based Arduino Serial repo that's not in ESPHome. Timing is critical for the command control responses. By the way please use a3400's or a3402's not the 2n7000  The gate signal level threshold is better and will have a cleaner signal.
As far as the AC danger, you are more at risk buying a fake UL listed USB chargers from AliExpress. Just think how often do we handle the module?  My warnings on the info page are very clear, don't mess with it when powered by AC. It's safe to run it has CSA/UL design spec but no way am I paying that $ for the label.

The real genius is Clayton Smith for breaking the encryption and allowing us to read the codes. Paul did a great job writing code for it and it's public domain.

Not sure if you're involved in the ESPHome project.  But I'd like to briefly mention that Paul's actions have been pretty poor in this whole discussion.  Unrelated to me he silently closed any and all requests for open source schematics (a minor issue).  Then he banned me from his repo, and then he has silently deleted any issues I have raised in the ESPHome-ratgdo repo, particularly the one where I mentioned 2MB flash device support.  No discussion, just deleted it.

Yes I am aware of that and I have contributed to ESPHome many times. complete LD2420 component, ATM90E32 features etc.
The GRGDO happily runs a more capable ESP32 wink wink ..

I would be interested in any issues when the code is refactored for the ESPHome community.

By the way please use a3400's or a3402's not the 2n7000 The gate signal level threshold is better and will have a cleaner signal.

Haven't had anyone really knowlgeable chime in on transistor choice here. You suggest a3400/a3402 instead of the 2n7000 on the RX pin, but what about on the TX pin? There we have AO3400A if SMD, or someone suggested BS170 for thru-hole. What do you suggest?

Both TX and RX can be the a3400 or a3402 it's just the 2n7000 that's not ideal. A BS270 is a better solution with a 1V threshold.

Happy to update our through-hole recommendation to a BS270.  For anyone wanting to do through-hole for a self-made board would you accept the BS270 for both TX and RX?

If it helps any, I happen to have ordered some AO3402s as well as the components I need for my board. I could try that instead of the 2N7002 in a couple weeks when they all make it here to confirm its utility for SMD purposes---though I don't see why it wouldn't be more than sufficient. And not that I've had any noticeable issues from the 2N7002 on my original v2.5 board, but I also don't check it that often. Still, the problems seem to mostly be through-hole mosfets.

The 2n7002 fits better than the 2n7000. The gate draw current and voltage thresholds of the 2n7002 are in spec for the application.

The 2n7002 fits better than the 2n7000. The gate draw current and voltage thresholds of the 2n7002 are in spec for the application.

That would explain, at least in part, why the SMD boards never seem to have the same issues as the breadboard prototypes. And is pretty much why I decided to have some SMD-to-DIP boards made so that I can breadboard with the actual components I would likely be using.
And since I didn't mean to distract, is that a yes to Kaldek's question?

For anyone wanting to do through-hole for a self-made board would you accept the BS270 for both TX and RX?

@rlowens - Good find, thanks for posting this!   Maybe I'm misguided, but I've been preferring an ESP32 solution.  This seems like a good choice.
This issue is closed, makes sense-not an issue, but maybe discussions and/or the wiki should be enabled on this repo to capture some of the info and options that have been posted here.
@descipher - First time I've seen your stuff. Where do you announce things?  I didn't see a mailing list or social info on your website. Can't wait to see what you are going to do with the 315mhz option.
Also:

My intent is to get the code into ESPHome with some additional features. Problem is the code uses a an interrupt based Arduino Serial repo that's not in ESPHome. Timing is critical for the command control responses.

I've just been very casually following things and waiting for things to somewhat gel. It's the first time I've seen a mention of the signal timing being critical. This of course makes sense to me as someone who is much more software oriented.
There's been a lot of discussion about the electrical properties, but I could see easily see latency as also a contributor to less than ideal repeatability.

@rct I hang out on discord to discuss code or hardware design. I'm working the wireless feature in a private repo until its stable and usable. Its simply a Manchester encoded stream, the current RATGDO IRQ based code is a little temperamental. Paul must of had fun getting the timing just right. I will light up the code on my github page when its good. Really not big on general Social Media its very time consuming and tends to distract from this work. https://discord.gg/ZyRmjfka2f


Support QuickJS bytecode

Basically splitting up the evaluate(String) method into two others:

compile(String): byte[] for JS --> bytecode
execute(byte[]): Object for bytecode --> result

Looked into supporting execute as a start. We need to copy in this function into our sources.
https://github.com/bellard/quickjs/blob/b5e62895c619d4ffc75c9d822c8d85f1ece77e5b/quickjs-libc.c#L3900-L3927


Queue implementation in Java

Algorithm name
Queue Data Structure in Java.
Programming language

[ ] C
[ ] C++
[x] Java
[ ] Python

Additional context (OPTIONAL)
I would like to implement Queue data structure in the programming language Java. I want to contribute to open source and I am also a participant of hacktoberfest. It will be really helpful if this issue will be allocated to me.

Assigned!


[2.8] Update GKE workflow for updating Rancher charts

I think the idea behind these parameterized values in the chart updater was to transform it into a reusable workflow that would be used for all hosted providers from a centralized repository but I guess we never seemed to materialize it. Does it make sense to put some effort on implementing this idea?


Security vulnerability: T199260

Hello ,
please pay attention to https://phabricator.wikimedia.org/T199260. This task is non-public, as it describes security vulnerability which is not fixed, however, you should be able to view it. If not, please contact me.
Martin Urbanec

Thank you for reminding me. I think I have fixed it, but if there is something I'm missing, please let me know. (The online tool has been updated, but the new version of the source code is kept there and not on GitHub yet.)

Yes, it works for me. Thanks!


[iOS] Slider doesn't trigger onValueChange/onSlidingComplete when adjusted with Detox adjustSliderToPosition()

Environment
❯ react-native info
info Fetching system and libraries information...
System:
OS: macOS 12.1
CPU: (10) arm64 Apple M1 Pro
Memory: 201.50 MB / 16.00 GB
Shell: 5.8 - /bin/zsh
Binaries:
Node: 16.13.2 - /var/folders/51/8pncdp0x14d04bbk454szsnw0000gn/T/fnm_multishells/16782_1643016955991/bin/node
Yarn: 1.22.5 - ~/.yarn/bin/yarn
npm: 8.1.2 - /var/folders/51/8pncdp0x14d04bbk454szsnw0000gn/T/fnm_multishells/16782_1643016955991/bin/npm
Watchman: 2<IP_ADDRESS> - /opt/homebrew/bin/watchman
Managers:
CocoaPods: 1.11.2 - /Users/moox/.gem/bin/pod
SDKs:
iOS SDK:
Platforms: DriverKit 21.2, iOS 15.2, macOS 12.1, tvOS 15.2, watchOS 8.3
Android SDK: Not Found
IDEs:
Android Studio: Not Found
Xcode: 13.2.1/13C100 - /usr/bin/xcodebuild
Languages:
Java: 11.0.10 - /usr/bin/javac
npmPackages:
@react-native-community/cli: Not Found
react: ^17.0.2 => 17.0.2
react-native: 0.67.0-rc.6 => 0.67.0-rc.6
react-native-macos: Not Found
npmGlobalPackages:
react-native: Not Found
Description
I am using detox to automated some tests and just faced the fact that using adjustSliderToPosition() API doesn't trigger onValueChange nor onSlidingComplete, so in my case it's like the slider hasn't been moved (it is, visually, but programmatically, no call have been made)
Reproducible Demo
I can't really do a quick demo :/

Hello @MoOx!
It's always good to specify the version you are using, so I can analyse this right away instead of bothering you with asking about it.
Especially, there's been a 4.2.0 release just yesterday.

I tried this version right now, I am facing the same problem.

@MoOx Thanks! I will take a look into that.

Thanks a lot!

Just in case somebody is looking for a workaround: just use Detox swipe() method with the proper argument so it works for you (in my case a simple  await element(by.id('GoalEdit_durationSlider')).swipe('right', 'slow', 0.3, 0); did the trick.

@MoOx I am getting the same issue but above trick not working for me. Do you have any other solution? (I am guessing GoalEdit_durationSlider is you slider view testID)
Anyone else having any solution for this?

I'm seeing the same issue.

Try to use the longPressAndDrag, for example:
const sliderElem = element(by.id('elementToDrag'))
const targetElem = element(by.id('targetElem'))
const duration = 2000
const endingPosition = 0.9

await sliderElem.longPressAndDrag(duration, NaN, NaN, targetElem, endingPosition, NaN, 'slow', 0)


add user guide to docs

Need

to guide users on how to utilize the query service

Approach

create user guide in docs, add link in readme

Todo

add more example jsonb queries

Thanks. The new text requires some edits for style -  many minor changes, it's probably easiest to meet in person on Monday to go over them.


HTTP error 404

On Windows 10 I have ran ./sia-gpu-miner but that just returns 'HTTP error 404'. My Sia-UI is fully up to date

the same problem here. Windows 10 64x too.

the same problem here.Windows 6 64

Same. I feel this has been abandoned haha

same! windows 10 64x

Same error Darwin 15.6.0 Darwin Kernel Version 15.6.0; root:xnu-3<IP_ADDRESS>.3~1/RELEASE_X86_64 x86_64

Same here -sia-gpu-miner-v1.1.0-win64.

Same!

Do you guys run siad with the miner module enabled? If not, this is your problem. Otherwise ignore this message.

Same here, on Darwin.

This is because we no longer run the miner module by default with Sia-UI. You'll need to run siad separately with the miner module enabled, see siad modules for a list of modules and examples.

Well then if that's the case, update the goddamn docs.


A way to tell if it's a new install or upgrade?

There's a logic I want to execute only for upgrades of my app, not new installs. Is there a way to tell/annotate a method to only be executed for upgrades?

Fit does not have any way to do that on the current version. We should consider adding new annotation.

@jfsso It's coming on the next release!

Released!


Issue Regarding to instance path in testsuite directory

Made changes regarding to instance path of files in flask/testsuite/test_apps
While running test case by run-test.py module it causes Error for instance path.
FAIL: test_main_module_paths (flask.testsuite.config.InstanceTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "../flaskenv/flask/flask/testsuite/config.py", line 157, in test_main_module_paths
    self.assert_equal(app.instance_path, os.path.join(here, 'instance'))

  File "../flaskenv/flask/flask/testsuite/__init__.py", line 141, in assert_equal
    return self.assertEqual(x, y)

AssertionError: '../flaskenv/var/run-tests-instance' != '../flaskenv/flask/instance'
- ../flaskenv/var/run-tests-instance
?             ^ ^ ----------
+ ../flaskenv/flask/instance
?             ^^ ^^

FAIL: test_uninstalled_module_paths (flask.testsuite.config.InstanceTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "../flaskenv/flask/flask/testsuite/config.py", line 164, in test_uninstalled_module_paths
    self.assert_equal(app.instance_path, os.path.join(here, 'test_apps', 'instance'))

  File "../flaskenv/flask/flask/testsuite/__init__.py", line 141, in assert_equal
    return self.assertEqual(x, y)

AssertionError: '/hom[23 chars]ang-py3-test/flaskenv/var/config_module_app-instance' != '/hom[23 chars]ang-py3-test/flaskenv/flask/flask/testsuite/test_apps/instance'
- ../flaskenv/var/config_module_app-instance
?             ^ ^ ---  ^^^^^^^     ^
+ ../flaskenv/flask/flask/testsuite/test_apps/instance
?             ^^ ^^  +++++++++++ ^ +++++    ^^

FAIL: test_uninstalled_package_paths (flask.testsuite.config.InstanceTestCase)
\----------------------------------------------------------------------
Traceback (most recent call last):
  File "../flaskenv/flask/flask/testsuite/config.py", line 169, in test_uninstalled_package_paths
    self.assert_equal(app.instance_path, os.path.join(here, 'test_apps', 'instance'))

  File "../flaskenv/flask/flask/testsuite/__init__.py", line 141, in assert_equal
    return self.assertEqual(x, y)

AssertionError: '/hom[23 chars]ang-py3-test/flaskenv/var/config_package_app-instance' != '/hom[23 chars]ang-py3-test/flaskenv/flask/flask/testsuite/test_apps/instance'
- ../flaskenv/var/config_package_app-instance
?             ^ ^ ---  ^^^^^^^^     ^
+ ../flaskenv/flask/flask/testsuite/test_apps/instance
?             ^^ ^^  +++++++++++ ^ +++++    ^^

----------------------------------------------------------------------
Ran 226 tests in 4.574s

FAILED (failures=3)

Changes In the following files remove this instance path Error from the Test case:

flask/testsuite/test_apps/config_module_app.py.

app = flask.Flask(__name__, instance_path=os.path.join(
               os.path.abspath(os.path.dirname(__file__)),'instance')
              )

flask/testsuite/test_apps/config_package_app/init.py.

app = flask.Flask(__name__, instance_path=os.path.join(os.path.abspath(
                os.path.dirname(os.path.dirname(__file__))),'instance')
              )

flask/testsuite/test_apps/main_app.py

import os

app = flask.Flask('__main__', instance_path=os.path.join(
                os.path.abspath(os.path.dirname('__main__')),'instance')
              )

Just as before...

I don't think it makes any sense to split this into four commits.  Can you please squash them into one and use a message that actually explains the change instead of the files you changed?

The line wrapping style is also very weird and I guess not PEP8-valid.

What's with that entry in CHANGES?
If the instance path is getting set incorrectly, are we sure we just want to be manually setting it in the tests rather than fixing why it's getting set incorrectly?  Also, I don't get these errors when running py.test or tox.

Error Occure While I execute run-test.py with python interpreter.
And entry in the CHANGES is not mine it may be merged when I squashed my commit and by mistake it is merge to someone else commit

What is run-test.py? There is no such file in Flask.

@davidism: The PR is for 0.10 which doesn't use py.test yet

Not saying this isn't happening in some configuration, but I don't get the error with python run-tests.py on the 0.10-maintenance branch either, nor does Travis.  Where/how are you running this to get this error?

I follow below process :
$ git clone https://github.com/mitsuhiko/flask.git

$ cd flask/
$ git checkout 0.10.1

$ python run-tests.py

And Error occures

[adrian:/tmp]> git clone https://github.com/mitsuhiko/flask.git
[adrian:/tmp]> cd flask
[adrian:/tmp/flask:master]> git checkout 0.10.1

[adrian:/tmp/flask:tags/0.10.1]> python run-tests.py
Traceback (most recent call last):
  File "run-tests.py", line 4, in <module>
    from flask.testsuite import main
  File "/tmp/flask/flask/__init__.py", line 17, in <module>
    from werkzeug.exceptions import abort
ImportError: No module named werkzeug.exceptions

[adrian:/tmp/flask:tags/0.10.1]> virtualenv .env
[adrian:/tmp/flask:tags/0.10.1 %]> source .env/bin/activate

[adrian:/tmp/flask:tags/0.10.1 %]> python run-tests.py
Traceback (most recent call last):
  File "run-tests.py", line 4, in <module>
    from flask.testsuite import main
  File "/tmp/flask/flask/__init__.py", line 17, in <module>
    from werkzeug.exceptions import abort
ImportError: No module named werkzeug.exceptions

[adrian:/tmp/flask:tags/0.10.1 %]> pip install werkzeug jinja2 itsdangerous

[adrian:/tmp/flask:tags/0.10.1 %]> python run-tests.py
..................................................................................................................................................................................................................................
----------------------------------------------------------------------
Ran 226 tests in 0.465s

OK

Works fine for me. (Python 2.7.10)

:~/$ virtualenv -p python3.4 flaskenv
Running virtualenv with interpreter /usr/bin/python3.4
Using base prefix '/usr'
New python executable in flaskenv/bin/python3.4
Also creating executable in flaskenv/bin/python
Installing setuptools, pip...done.
:~/$ cd flaskenv/
:~/flaskenv$ source bin/activate
(flaskenv):~/flaskenv$ pip install flask==0.10.1
Collecting flask==0.10.1
  Using cached Flask-0.10.1.tar.gz
Collecting Werkzeug>=0.7 (from flask==0.10.1)
  Using cached Werkzeug-0.11.2-py2.py3-none-any.whl
Collecting Jinja2>=2.4 (from flask==0.10.1)
  Using cached Jinja2-2.8-py2.py3-none-any.whl
Collecting itsdangerous>=0.21 (from flask==0.10.1)
  Using cached itsdangerous-0.24.tar.gz
Collecting MarkupSafe (from Jinja2>=2.4->flask==0.10.1)
  Using cached MarkupSafe-0.23.tar.gz
Installing collected packages: MarkupSafe, itsdangerous, Jinja2, Werkzeug, flask
  Running setup.py install for MarkupSafe
    building 'markupsafe._speedups' extension
    i686-linux-gnu-gcc -pthread -DNDEBUG -g -fwrapv -O2 -Wall -Wstrict-prototypes -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -I/usr/include/python3.4m -I/home/yash/flaskenv/include/python3.4m -c markupsafe/_speedups.c -o build/temp.linux-i686-3.4/markupsafe/_speedups.o
    i686-linux-gnu-gcc -pthread -shared -Wl,-O1 -Wl,-Bsymbolic-functions -Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-Bsymbolic-functions -Wl,-z,relro -g -fstack-protector --param=ssp-buffer-size=4 -Wformat -Werror=format-security -D_FORTIFY_SOURCE=2 build/temp.linux-i686-3.4/markupsafe/_speedups.o -o build/lib.linux-i686-3.4/markupsafe/_speedups.cpython-34m.so
  Running setup.py install for itsdangerous

  Running setup.py install for flask
Successfully installed Jinja2-2.8 MarkupSafe-0.23 Werkzeug-0.11.2 flask-0.10.1 itsdangerous-0.24
(flaskenv):~/flaskenv$ pip install pytest
Collecting pytest
  Downloading pytest-2.8.4-py2.py3-none-any.whl (150kB)
    100% |################################| 151kB 2.2MB/s
Collecting py>=1.4.29 (from pytest)
  Using cached py-1.4.31-py2.py3-none-any.whl
Installing collected packages: py, pytest

Successfully installed py-1.4.31 pytest-2.8.4
(flaskenv):~/flaskenv$ git clone https://github.com/mitsuhiko/flask.git
Cloning into 'flask'...
remote: Counting objects: 11603, done.
remote: Total 11603 (delta 0), reused 0 (delta 0), pack-reused 11603
Receiving objects: 100% (11603/11603), 5.22 MiB | 667.00 KiB/s, done.
Resolving deltas: 100% (7146/7146), done.
Checking connectivity... done.
(flaskenv):~/flaskenv$ cd flask/
(flaskenv):~/flaskenv/flask$ git checkout 0.10.1
Note: checking out '0.10.1'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b new_branch_name

HEAD is now at 298334f... Bump version number to 0.10.1
(flaskenv):~/flaskenv/flask$ python run-tests.py
........................................................................................................................F..FF.....................................................................................................
======================================================================
FAIL: test_main_module_paths (flask.testsuite.config.InstanceTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/yash/flaskenv/flask/flask/testsuite/config.py", line 155, in test_main_module_paths
    self.assert_equal(app.instance_path, os.path.join(here, 'instance'))
  File "/home/yash/flaskenv/flask/flask/testsuite/__init__.py", line 139, in assert_equal
    return self.assertEqual(x, y)
AssertionError: '/home/yash/flaskenv/var/run-tests-instance' != '/home/yash/flaskenv/flask/instance'
- /home/yash/flaskenv/var/run-tests-instance
?                                         ^ ^ ----------
+ /home/yash/flaskenv/flask/instance
?                                         ^^ ^^

======================================================================
FAIL: test_uninstalled_module_paths (flask.testsuite.config.InstanceTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/yash/flaskenv/flask/flask/testsuite/config.py", line 162, in test_uninstalled_module_paths
    self.assert_equal(app.instance_path, os.path.join(here, 'test_apps', 'instance'))
  File "/home/yash/flaskenv/flask/flask/testsuite/__init__.py", line 139, in assert_equal
    return self.assertEqual(x, y)
AssertionError: '/hom[14 chars]stomtags-lib/flaskenv/var/config_module_app-instance' != '/hom[14 chars]stomtags-lib/flaskenv/flask/flask/testsuite/test_apps/instance'
- /home/yash/flaskenv/var/config_module_app-instance
?                                         ^ ^ ---  ^^^^^^^     ^
+ /home/yash/flaskenv/flask/flask/testsuite/test_apps/instance
?                                         ^^ ^^  +++++++++++ ^ +++++    ^^

======================================================================
FAIL: test_uninstalled_package_paths (flask.testsuite.config.InstanceTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/yash/flaskenv/flask/flask/testsuite/config.py", line 167, in test_uninstalled_package_paths
    self.assert_equal(app.instance_path, os.path.join(here, 'test_apps', 'instance'))
  File "/home/yash/flaskenv/flask/flask/testsuite/__init__.py", line 139, in assert_equal
    return self.assertEqual(x, y)
AssertionError: '/hom[14 chars]stomtags-lib/flaskenv/var/config_package_app-instance' != '/hom[14 chars]stomtags-lib/flaskenv/flask/flask/testsuite/test_apps/instance'
- /home/yash/flaskenv/var/config_package_app-instance
?                                         ^ ^ ---  ^^^^^^^^     ^
+ /home/yash/flaskenv/flask/flask/testsuite/test_apps/instance
?                                         ^^ ^^  +++++++++++ ^ +++++    ^^

----------------------------------------------------------------------
Ran 226 tests in 4.202s

OK, I can reproduce it, by having the flask clone inside the virtualenv folder. I think that's a very obscure idea in the first place...

It is working fine on python 2.7. I am also able to execute it on python2.7 but not on python3.4

Does it fail for you if you are not inside the virtualenv's folder (usually you don't put any custom stuff inside there, but rather have e.g. flask/.env as your virtualenv location)

There are a couple of weird things in your setup.  Typically the virtualenv is created inside (or completely separate from) the project folder.  You've installed the release distribution, but then are testing with the repo tag.  Use pip install -e . instead to install the code in development mode, or just don't install flask==0.10 from pypi.
If the Flask app sees its files inside a virtualenv, it assumes it is installed for production and the default instance path changes.
$ git clone https://github.com/mitsuhiko/flask flask_test
$ cd flask_test
$ virtualenv -p /usr/bin/python3.4 env
$ source ./env/bin/activate
$ pip install -e .
$ python run_tests.py

At this point I don't think this is a bug with Flask, it's a problem with your environment.

Anyway, my original point was that if we think that Flask's autodetection for the instance path is incorrect, we need to change that behavior, not just force the path in the tests, which just hides the issue.  I think Flask is doing the right thing though.

First thing virtualenv is named as "flaskenv" not "flask/.env" and Yes if I run test cases without using virtualenv it run successfully. And Yeah it may be problem with my environment but I am not fully sure that environment have something wrong. And yes forcing path is not good way but it helps me.

That's the whole problem: You have this structure:
.../flaskenv/  # your virtualenv
.../flaskenv/flask  # your flask git clone

Yeah It's Working when env is created inside the repo


[Feature][WIP] Add function to meet mmdeploy support

Motivation
Add init_xxx_model to meet the need for mmdeploy.
Modification
Add init_xxx_model functions.
Use cases (Optional)
If this PR introduces a new feature, it is better to list some use cases here and update the documentation.
Checklist
Before PR:

[x] Pre-commit or other linting tools are used to fix the potential lint issues.
[ ] The documentation has been modified accordingly, like docstring or example tutorials.

Pls add init_xx_model unittests

Pls add init_xx_model unittests

Since mmdetection and mmclassification does not have corresponding tests for init_model/init_detector, so I add unittests based on mmsegmenration


Explain difference between presence or absence of *

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


Remove unneeded patch

Don't need to work around facebook/create-react-app#8845 anymore because the create-react-app example has a newer version of react-scripts

Hmmm... maybe that patch is still needed 😆


Add regression tests for cryptographic signatures

This PR adds regression tests for signing via the Ed25519 and secp256k1 keys.  The intent is that should either of these change their implementations in a non-backwards-compatible manner, these tests will alert us.
Closes #1581.

@xcthulhu

LGTM, but we might consider some sad-path tests as well.

We do already have some sad path tests for signatures.  I don't think there'd be much point in hard-coded sad path tests too, unless I'm missing something?

@xcthulhu

LGTM, but we might consider some sad-path tests as well.

We do already have some sad path tests for signatures. I don't think there'd be much point in hard-coded sad path tests too, unless I'm missing something?

It'd possibly be redundant but until we have better instrumentation of code coverage I'd err on the side of caution myself.

LGTM, but we might consider some sad-path tests as well.

We do already have some sad path tests for signatures. I don't think there'd be much point in hard-coded sad path tests too, unless I'm missing something?

It'd possibly be redundant but until we have better instrumentation of code coverage I'd err on the side of caution myself.

After discussion, I'm still unconvinced.  The tests would be identical to those already in the suite, so I can't bring myself to just copy paste that exact test for this PR.
Having said that, I won't block a PR if you do choose to duplicate these tests yourself :)

bors merge


Mobile Vulkan for Oculus Quest 2 ?

Is there any chance we'll see mobile Vulkan renderer support in Godot to take full advantage of Oculus Quest 1/2 hardware ?

@motorsep Yes! Support for it is on our roadmap will be coming alongside Godot 4.0 sometimes in mid 2021.
I'll close this issue since we're already tracking that effort but feel free to continue the conversation here if you have more questions.
Thanks!

How is support for Vulkan coming along?