Unable to Change Ollama Models Directory on Linux (Rocky9)

What is the issue?
I am following every instruction on the documentation and any other suggestions from previous issues. However, I am unable to change the Ollama models directory to another directory on RockyLinux 9.  I have more than 100GB of models that I don't want to download again.
Steps to Reproduce:

Execute sudo systemctl edit ollama.service
Add the following:[Service]
Environment="OLLAMA_MODELS=/home/myuser/.ollama/models"

Save and run sudo systemctl daemon-reload
Execute sudo systemctl restart ollama.service

Expected Behavior:
The Ollama service should start properly with the models directory set to /home/myuser/.ollama/models.
Actual Behavior:
The service doesn't start properly. Here are the logs from running sudo journalctl -u ollama.service | tail:
May 31 01:44:36 myuserPC ollama[354959]: Error: mkdir /home/myuser/.ollama: permission denied
May 31 01:44:36 myuserPC systemd[1]: ollama.service: Main process exited, code=exited, status=1/FAILURE
May 31 01:44:36 myuserPC systemd[1]: ollama.service: Failed with result 'exit-code'.
May 31 01:44:39 myuserPC systemd[1]: ollama.service: Scheduled restart job, restart counter is at 3.
May 31 01:44:39 myuserPC systemd[1]: Stopped Ollama Service.
May 31 01:44:39 myuserPC systemd[1]: Started Ollama Service.
May 31 01:44:39 myuserPC ollama[355046]: 2024/05/31 01:44:39 routes.go:1028: INFO server config env="map[OLLAMA_DEBUG:false OLLAMA_FLASH_ATTENTION:false OLLAMA_HOST: OLLAMA_KEEP_ALIVE: OLLAMA_LLM_LIBRARY: OLLAMA_MAX_LOADED_MODELS:1 OLLAMA_MAX_QUEUE:512 OLLAMA_MAX_VRAM:0 OLLAMA_MODELS: OLLAMA_NOHISTORY:false OLLAMA_NOPRUNE:false OLLAMA_NUM_PARALLEL:1 OLLAMA_ORIGINS:[http://localhost https://localhost http://localhost:* https://localhost:* http://<IP_ADDRESS> https://<IP_ADDRESS> http://<IP_ADDRESS>:* https://<IP_ADDRESS>:* http://<IP_ADDRESS> https://<IP_ADDRESS> http://<IP_ADDRESS>:* https://<IP_ADDRESS>:*] OLLAMA_RUNNERS_DIR: OLLAMA_TMPDIR:]"
May 31 01:44:39 myuserPC ollama[355046]: Error: mkdir /home/myuser/.ollama: permission denied
May 31 01:44:39 myuserPC systemd[1]: ollama.service: Main process exited, code=exited, status=1/FAILURE
May 31 01:44:39 myuserPC systemd[1]: ollama.service: Failed with result 'exit-code'.

As you can see, Ollama tries to create the .ollama directory in the user's home directory, regardless of whether the directory exists or not.
Additional Information:

I have tried different permissions and ownerships, including an exact file-by-file copy of permissions and ownership from /usr/share/ollama.
Running /usr/local/bin/ollama serve does not show any error, unlike sudo systemctl restart ollama.

Other Methods Attempted:

Symlink Attempt: I tried using ln -s to map models from the default directory to a new location at /home/myuser/.ollama/models/ with correct permissions and ownership. This resulted in a "mkdir failed" error, as the models directory already exists.
Editing Service Environment: Editing the Service Environment using sudo systemctl edit ollama.service is problematic. If an error occurs, the added lines cannot be removed easily, requiring the removal of the override file using sudo rm -rf /etc/systemd/system/ollama.service.d/override.conf.

I would appreciate any help or guidance on how to resolve this issue.
OS
Linux
GPU
Nvidia
CPU
Intel
Ollama version
0.1.39

I too am getting a "mkdir failed: error directory already exists” when trying to load models from an S3 mounted directory (using the official s3-mount project from AWS).
The same folder works fine if I run ollama serve in the CLI (either as root or a normal user without sudo) with the same directory option exported using the environment variable OLLAMA_MODELS.

Similar problem with me. I'm attempting to change models directory to an NTFS disk with symbolic link like this:
$ tree /var/lib/ollama -a
/var/lib/ollama
├── .nv  [error opening dir]
└── .ollama
    ├── id_ed25519
    ├── id_ed25519.pub
    └── models -> /home/terrasse/DATA/ollama_models

where /home/terrasse/DATA is the mount point of the NTFS disk.
I think I've already gave enough permissions, because GIN_MODE=release HOME=/var/lib/ollama  sudo -u ollama -g ollama -E ollama serve works perfectly. However, the systemd service fails with following errors:
$ sudo journalctl -u ollama -e | tail
Jun 12 16:39:26 Mech-Mjr-Tera systemd[1]: ollama.service: Scheduled restart job, restart counter is at 896.
Jun 12 16:39:26 Mech-Mjr-Tera systemd[1]: Started Ollama Service.
Jun 12 16:39:26 Mech-Mjr-Tera ollama[77106]: 2024/06/12 16:39:26 routes.go:1007: INFO server config env="map[OLLAMA_DEBUG:false OLLAMA_FLASH_ATTENTION:false OLLAMA_HOST: OLLAMA_KEEP_ALIVE: OLLAMA_LLM_LIBRARY: OLLAMA_MAX_LOADED_MODELS:1 OLLAMA_MAX_QUEUE:512 OLLAMA_MAX_VRAM:0 OLLAMA_MODELS: OLLAMA_NOHISTORY:false OLLAMA_NOPRUNE:false OLLAMA_NUM_PARALLEL:1 OLLAMA_ORIGINS:[http://localhost https://localhost http://localhost:* https://localhost:* http://<IP_ADDRESS> https://<IP_ADDRESS> http://<IP_ADDRESS>:* https://<IP_ADDRESS>:* http://<IP_ADDRESS> https://<IP_ADDRESS> http://<IP_ADDRESS>:* https://<IP_ADDRESS>:*] OLLAMA_RUNNERS_DIR: OLLAMA_TMPDIR:]"
Jun 12 16:39:26 Mech-Mjr-Tera ollama[77106]: Error: mkdir /home/terrasse: permission denied
Jun 12 16:39:26 Mech-Mjr-Tera systemd[1]: ollama.service: Main process exited, code=exited, status=1/FAILURE
Jun 12 16:39:26 Mech-Mjr-Tera systemd[1]: ollama.service: Failed with result 'exit-code'.

That's really weired.

Same issue here

Instead of using OLLAMA_MODELS, I simply created a symbolic link using ln -s. Moreover, replacing the user/group 'ollama' in the file ollama.service with my regular username (UID 1000) has proven effective for me.

Instead of using OLLAMA_MODELS, I simply created a symbolic link using ln -s. Moreover, replacing the user/group 'ollama' in the file ollama.service with my regular username (UID 1000) has proven effective for me.

A symbolic link doesn’t work by itself, but changing the user/group permissions may help. This raises another question: why does this service need parent directory permissions? Also, why are they running mkdir when the directory already exists? I think somebody forgot to check if the directory exists before creating it again.

Instead of using OLLAMA_MODELS, I simply created a symbolic link using ln -s. Moreover, replacing the user/group 'ollama' in the file ollama.service with my regular username (UID 1000) has proven effective for me.

A symbolic link doesn’t work by itself, but changing the user/group permissions may help. This raises another question: why does this service need parent directory permissions? Also, why are they running mkdir when the directory already exists? I think somebody forgot to check if the directory exists before creating it again.

Cannot agree more :)

I can confirm that creating a sym link (with ln -s /home/fedasus/HDD/ollama_models /home/fedasus/.ollama/models) didn't worked, but replacing user/group with my username solved it.

I'm not a GoLang developer, but I think that in
[server/modelpath.go](https://github.com/ollama/ollama/blob/89c79bec8cf7a7b04f761fcc5306d2edf47server/modelpath.go, one must use os.Stat(dir); os.IsNotExist(err). If the result is true, then try to make the directory.
I found this file based on searching for OLLAMA_MODELS and os.MkdirAll when I discovered the purpose
of this function is responsible for creating directories in GoLang.

Hey, guys. Probably I've figured it out.
In https://github.com/ollama/ollama/issues/4732#issuecomment-2162443014, I mentioned a weird phenomenon:

I think I've already gave enough permissions, because GIN_MODE=release HOME=/var/lib/ollama  sudo -u ollama -g ollama -E ollama serve works perfectly. However, the systemd service fails with following errors:

That's because the systemd service configuration:

ProtectHome=yes

which makes my home read-only, causing ollama cannot write to /home/terrasse/DATA/ollama_models, which is symbolic-linked to /var/lib/ollama/.ollama/models
👇 👇 👇
In short, @pykeras 's problem probably can be solved by simply add one line ProtectHome=no in /etc/systemd/system/ollama.service.d/override.conf

Hey, guys. Probably I've figured it out.
In #4732 (comment), I mentioned a weird phenomenon:

I think I've already gave enough permissions, because GIN_MODE=release HOME=/var/lib/ollama  sudo -u ollama -g ollama -E ollama serve works perfectly. However, the systemd service fails with following errors:

That's because the systemd service configuration:

ProtectHome=yes

which makes my home read-only, causing ollama cannot write to /home/terrasse/DATA/ollama_models, which is symbolic-linked to /var/lib/ollama/.ollama/models
👇 👇 👇 In short, @pykeras 's problem probably can be solved by simply add one line ProtectHome=no in /etc/systemd/system/ollama.service.d/override.conf

still doesn't work, that's weird as it works with /usr/local/bin/ollama serve but systemctl start ollama does not work.

Hey, guys. Probably I've figured it out.
In #4732 (comment), I mentioned a weird phenomenon:

I think I've already gave enough permissions, because GIN_MODE=release HOME=/var/lib/ollama  sudo -u ollama -g ollama -E ollama serve works perfectly. However, the systemd service fails with following errors:

That's because the systemd service configuration:

ProtectHome=yes

which makes my home read-only, causing ollama cannot write to /home/terrasse/DATA/ollama_models, which is symbolic-linked to /var/lib/ollama/.ollama/models
👇 👇 👇 In short, @pykeras 's problem probably can be solved by simply add one line ProtectHome=no in /etc/systemd/system/ollama.service.d/override.conf

still doesn't work, that's weird as it works with /usr/local/bin/ollama serve but systemctl start ollama does not work.

How about try adding Group=myuser and User=myuser to override.conf?

Hey, guys. Probably I've figured it out.
In #4732 (comment), I mentioned a weird phenomenon:

I think I've already gave enough permissions, because GIN_MODE=release HOME=/var/lib/ollama  sudo -u ollama -g ollama -E ollama serve works perfectly. However, the systemd service fails with following errors:

That's because the systemd service configuration:

ProtectHome=yes

which makes my home read-only, causing ollama cannot write to /home/terrasse/DATA/ollama_models, which is symbolic-linked to /var/lib/ollama/.ollama/models
👇 👇 👇 In short, @pykeras 's problem probably can be solved by simply add one line ProtectHome=no in /etc/systemd/system/ollama.service.d/override.conf

still doesn't work, that's weird as it works with /usr/local/bin/ollama serve but systemctl start ollama does not work.

How about try adding Group=myuser and User=myuser to override.conf? Sorry about my omission.

That may work, but as I said before this can't be a good practice, especially in Linux (security, logs)

Well, if you still want to use the ollama user, then you can install Ollama by yourself. You can get the idea from install.sh.

$SUDO useradd -r -s /bin/false -U -m -d /usr/share/ollama ollama

The command specifies a home directory when creating the Ollama user. And that's why we're gathered here 😭. I think you can specify a new home directory for Ollama with usermod. Alternatively, you can delete Ollama and create a new one.

Hello @pykeras , I found something new. What the service actually need is the x permission of the parent directories, as a matter of course.
I mean, ln -s + ProtectHome=no + chmod o+x /home/terrasse worked for me. The service uses ollama user in this way. In my understanding, this configuration is safe enough.

I'd post my whole final config here:
$ ls -al /var/lib/ollama/.ollama/models
lrwxrwxrwx 1 root root 49 Jun 19 12:06 /var/lib/ollama/.ollama/models -> /home/terrasse/DATA/Manjaro/ollama/.ollama/models
$ ls -al /home
total 20
drwxr-xr-x   3 root     root      4096 Mar  1  2023 .
drwxr-xr-x  19 root     root      4096 Jun  4 20:36 ..
drwx-----x 171 terrasse terrasse 12288 Jun 22 15:06 terrasse

/usr/lib/systemd/system/ollama.service:
[Unit]
Description=Ollama Service
Wants=network-online.target
After=network.target network-online.target

[Service]
ExecStart=/usr/bin/ollama serve
WorkingDirectory=/var/lib/ollama
Environment="GIN_MODE=release" "HOME=/var/lib/ollama"
User=ollama
Group=ollama
Restart=on-failure
RestartSec=3
Type=simple
PrivateTmp=yes
ProtectSystem=full
ProtectHome=yes

[Install]
WantedBy=multi-user.target

/etc/systemd/system/ollama.service.d/override.conf:
[Service]
Environment="GIN_MODE=release" "HOME=/var/lib/ollama" "OLLAMA_HOST=<IP_ADDRESS>:11434"
ProtectHome=no

Hello @pykeras , I found something new. What the service actually need is the x permission of the parent directories, as a matter of course. I mean, ln -s + ProtectHome=no + chmod o+x /home/terrasse worked for me. The service uses ollama user in this way. In my understanding, this configuration is safe enough.

Hi, and thank you for the solution! While I understand the recommendation to add o+x permissions to the user’s home directory, I have taken some alternative steps to address the issue as I don't believe using 'o+x' on user home directory is safe. Below, I’ve outlined a step-by-step guide:

create a new directory for Ollama:

Open your terminal and create a new directory named .ollamaHome in your home directory:

mkdir ~/.ollamaHome

Adjust Ownership:

Change the ownership of the newly created directory to the user ollama:

cd ~ && sudo chown -R ollama:ollama .ollamaHome

Set Permissions:

To allow execute permissions for others, modify the permissions of the .ollamaHome directory:

sudo chmod 755 .ollamaHome

Optional: Move Existing Models:

If you currently have models on your system, consider moving them to the new directory:

sudo mv /usr/share/ollama/.ollama ~/.ollamaHome

Update Ollama Service Configuration:

Edit the ollama.service file:

sudo nano /etc/systemd/system/ollama.service

Add the following lines under the [Service] section:

...
[Service]
...
ProtectHome=no
Environment="Home=/home/yourusername/.ollamaHome/.ollama/"
Environment="OLLAMA_MODELS=/home/yourusername/.ollamaHome/.ollama/models"
...

Reload Daemon and Restart Ollama Service:

sudo systemctl daemon-reload
sudo systemctl restart ollama.service

Now, if you run ollama list, you should see the list of previous models (if you completed step $4$).
Feel free to adjust these steps according to your specific setup. Let me know if you need any further assistance!

That's great. 👍👍👍

hello all,
I moved all data in the same way but on different disk, with same folder structure. I followed pukeras instructions. Added also line:
Environment="OLLAMA_MODELS=/media/xyz/ollama_models/.ollamaHome/.ollama/models"
But when I add this line:
Environment="Home=/media/user/ollama_models/.ollamaHome/.ollama
the ollama server doesn't start at all. When I call: 'systemctl status ollama' it shows FAILURE...exited
but when I use 'ollama serve' it works with this line even and it shows all models moved to the external disk, but this I'd like to have still as a startup service. Does anyone know why it works like that ?

When you run ollama serve, you launch the process with your own user instead of ollama, which is used in the systemd service and maybe lacks some permissions. Try the command below to reproduce the execution of the service:
GIN_MODE=release HOME=/media/xyz/ollama_models/.ollamaHome  sudo -u ollama -g ollama -E ollama serve

To solve this problem, probably you should make sure the ollama user has enough permissions to that folder.

This is what I suspected ... permissions to the mounted external disk. In my case mounting disk label is: 'ollama_models'.
After executing this command I got Error: mkdir /media/xyz/ollama_models: permission denied
I tried:
sudo chown -R ollama:ollama ollama_models
sudo chmod -R 755 ollama_models
But still the same. Will take a look into this later. If any ideas still let me know. Thanks

This is what I suspected ... permissions to the mounted external disk. In my case mounting disk label is: 'ollama_models'.
After executing this command which you provided I got:
'Error: mkdir /media/xyz/ollama_models: permission denied'
... why it tries to create that folder ?
I tried:
sudo chown -R ollama:ollama ollama_models
sudo chmod -R 755 ollama_models
But still the same.
I'll take a look into this later. If any ideas still let me know. Thanks

Check if user ollama has 'x' permission on the parent directories, it's needed to open folders even if already owned.

yes :-) after executing: 'sudo chmod -R +x xyz' it works, I guess I shouldn.t use this time -R parameter
many thanks !

Can confirm that pykeras's method works. I can confirm the following for Ubuntu 24.04.
Step 1
Create your relevant directory:
mkdir -p /media/storage/ollama

Step 2
Ensure the permissions to that directory are valid via chmod.
Step 3
Edit your ollama.service
sudo nano /etc/systemd/system/ollama.service

Add the following line in the [Service] section. I added an extra Environment parameter at the end of the entries
Environment="OLLAMA_MODELS=/media/storage/ollama/models"

Step 4
Restart the daemon and ollama.
systemctl daemon-reload
systemctl restart ollama

You should now be ready to go.

Further Context: symlinks
In addition to user permissions issues launching as "ollama" vs me, it
seems the models dir cannot be a symlink.  Ollama will create the "models" dir even if there is already a "models" symlink there, resulting in a file-shadowing condition.
See for example the Bind Mount Solution here where GPT notes:

Symlinks have limitations that might not satisfy some applications' checks for directories or files.

They provide a partial solution using bind mounts.  I solved my issue by reversing a symlink.  My big drive is mounted on /data, and I have LLM models in /data/appuser/models/ with folders for TheBloke or Llama etc.
Fails: I thought I'd symlink /data/ollama/models ➛ /data/appusers/models/ollama.  But ollama ignored the symlink and created a folder /data/ollama/models right on top of it.  That was shadowed by the pre-existing symlink, causing the issues.  (Removing the symlink revealed the hidden folder.)
Works:  make /data/ollama/models a folder, and reverse the symlink if I want my other folder to acknowledge ollama models.
My /data/ollama folder permissions -- owned by ollama. (And writeable by users for my convenience):
    drwxrwxr-x.  4 ollama users  66 Sep 25 14:10 ./
    drwxr-xr-x. 10 root   root  125 Sep 25 13:49 ../
    drwxr-xr-x.  4 ollama users  36 Sep 25 14:12 models/
    drwxrwxr-x.  4 ollama users  54 Sep 25 17:24 tmp/

Then my ollama.service has:
    Environment="OLLAMA_MODELS=/data/ollama/models/"     Environment="OLLAMA_TMPDIR=/data/ollama/tmp"

That worked.
Actually fixing:
If the code checked for files-or-folders-or-symlinks, that might solves this part of the issue. Or at least result in clearer errors.


QueryExpr not wrapping SELECT with parenthesis

What version of Go are you using (go version)?
go version go1.9.4 darwin/amd64
Which database and its version are you using?
PostgreSQL 10.1 on x86_64-apple-darwin17.2.0, compiled by Apple LLVM version 9.0.0 (clang-900.0.38), 64-bit
Please provide a complete runnable program to reproduce your issue
Need to runnable with GORM's docker compose config or please provides your config.
package main

import (
	"fmt"

	"github.com/jinzhu/gorm"
	// postgres is used internally by gorm
	_ "github.com/jinzhu/gorm/dialects/postgres"
)

var db *gorm.DB

func init() {
	var err error

	db, err = gorm.Open("postgres", "user=gorm password=gorm DB.name=gorm port=9920 sslmode=disable")

	if err != nil {
		panic(err)
	}
	db.LogMode(true)
}

type Example struct {
	gorm.Model
}

func main() {
	db.AutoMigrate(&Example{})

	db.Create(&Example{})
	db.Create(&Example{})
	db.Create(&Example{})

	latest := Example{}

	if err := db.Select("MAX(id) AS id").Where(
		"id = ?",
		db.Table("examples").Select("id").Where("id = ?", 1).QueryExpr(),
	).Find(&latest).Error; err != nil {
		panic(err)
	}

	fmt.Printf("found latest id: %d", latest.ID)
}

QueryExpr is not wrapping the SELECT. Here's the query to look for in the logs:
SELECT MAX(id) AS id FROM "examples"  WHERE "examples"."deleted_at" IS NULL AND ((id = SELECT id FROM "examples"  WHERE (id = '1')))

Should be:
SELECT MAX(id) AS ID
FROM "examples"
WHERE "examples"."deleted_at" IS NULL
AND (
  (
-    id = SELECT id FROM "examples"  WHERE (id = '1')
+    id = (SELECT id FROM "examples"  WHERE (id = '1'))
  )
)

A workaround is to change the first id = ? to id = (?). If that's how it should always be, I could try to update the docs for SubQuery that shows just amount > ?.

Hello @maxbeatty
Thank you for your report.
Added a SubQuery method, which will be wrapped.
And will deprecate the QueryExpr method in v2.


E (2843) chip[SVR]: Error when trying to join Group 257 of fabric index 1 : 10e (Group communication does not work on WiFi devices)

when I use "./chip-tool groups add group 257 "grp" 1 0" to add esp32 to one group. it is fail when join the group. the error log is "E (2843) chip[SVR]: Error when trying to join Group 257 of fabric index 1 : 10e".
I use the lighting-app example.
multicastAddress.log

10e is an INET_ERROR_UNKNOWN_INTERFACE.

The above error is being emitted from Server::RejoinExistingMulticastGroups, when trying to call mTransports.MulticastGroupJoinLeave. Someone versed in group comms should help take a look at this...

@dhrishi @mkardous-silabs @turon
I expect that UDPEndPointImplLwIP::IPv6JoinLeaveMulticastGroupImpl or UDPEndPointImplLwIP::IPv4JoinLeaveMulticastGroupImpl is what's returning INET_ERROR_UNKNOWN_INTERFACE, when FindNetifFromInterfaceId returns null.
Looks like UDP::MulticastGroupJoinLeave does:
    return mUDPEndPoint->LeaveMulticastGroup(mUDPEndPoint->GetBoundInterface(), address.GetIPAddress());

and I am wondering whether mUDPEndPoint->GetBoundInterface() is the "wildcard" interface id, in that the UDP endpoint is not bound to a specific interface at all.... I am willing to bet it is.
If that's what's going on, then that's also the thing that breaks group comms on Mac...

No work was done on our side for LwIP support of Multicast. There was a compatibility issue between the OpenThread Stack and the LwIP stack fro groups on top of code duplication hence we move aside from using LwIP and that context.

We are having the same issue. Is group messaging supposed to work on EFR32 and ESP32?

Spec Issue Review: @rcasallas-silabs Are you able to take a look at this group issue?

This is platform specific to LwIP, issue is not present on Native Openthread platform nor on Zephyr platform. @Damian-Nordic can you confirm that it indeed works on Zephyr?
De-assigning Ricardo from this issue since its platform specific

More over if the device is using IPV4 this is expected behavior at that point since multicast doesn't support IPV4

@jepenven-silabs Yes, it definitely worked the last time I tried it on Zephyr platform and I believe we have automated tests for this functionality.

Looked a bit at 20136 - I believe our current code only uses mld6_joingroup_netif and never mld6_joingroup
For wildcard inet interface, we probably need to use mld6_joingroup
What I am unclear about is socket implementation ... there interface index 0 means default interface and I am unclear what default is. However if sockets work now, maybe we only need to fix lwip.

If group comms is also broken on mac, we may need group communication to use a separate endpoint for every interface (minmdns does this currently, but it also needed this to be able to send and receive unicast packets I believe).

Cert Blocker Review: Closing this, given we believe this is resolved.


高校生へのメッセージ(8~10個)

・Go for your goal
・Go for your dream
・The darkest hour is just before the dawn
・Constant dripping wears down the stone
・Just hang in there, your success is coming soon!

・Happy Mapping
・Without haste, but without rest
・It always seems impossible until it's done
・Everything is practice

Billions Inō-zation   一億総伊能化


Added publishing workflow

Prompted by (and I expect superseding) #100, I've put together a publish workflow. It should automatically upload a build to PyPI whenever we do a release.
Untested for obvious reasons.
At the moment it uses a PyPI username + password for authentication. We can change that to using an API token if you prefer.

(We should create a v0.2.5 release before merging this.)

(We should create a v0.2.5 release before merging this.)

We could tag the commit that comes from merging #102. Thanks again for putting all of this together!


fix #124

The instructions on flags are not correct. It shows error:
flag provided but not defined: -enhance-signature-help

@jackielii
I test bingo with flag '-enhance-signature-help' is ok.
Which version of bingo that you used?

My installation steps are not correct.


Major language translation for the Yellowstone Compute Model for Spanish, French, German.

Major language translation for the Yellowstone Compute Model for Spanish, French, German and Hungarian.

Thanks. The Yellowstone paper is still in the editing process. So hold off on additional translations.


[DO NOT MERGE] Auto PR to update dependencies of istio

This PR will be merged automatically once checks are successful.
none

@istio-testing: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
cb18ff172422035954b3bcad4d83122de360dfd3
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@istio-testing: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
26e8931f7cb5891916e7c9eea59bec33d521c18c
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@istio-testing: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

prow/istio-presubmit.sh
14043d32ea34cbe6bffc9552fea2841b3d3b3cb9
link
/test istio-presubmit

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.


【feat】How can I get your ambari and odp latest version?

Excuse me,How can I get your ambari and odp latest version?
The official website has not been updated for a long time。

Hi,
We updated the website now -> https://www.clemlab.com/docs/repository-files/

well done! thanks very much.
May I ask when will the flink 1.14 version be released?


Improve Occupation Standards .docx template

Asana ticket: https://app.asana.com/0/1203289004376659/1204546181205130/f
On a previous PR, we introduced the code to allow users to download a .docx working copy of a occupation standard.
Now, improve the .docx template and introduce a few fields that were not covered before.
Screenshots

With a Hybrid Occupation Standard:

 Time based occupation Standard:

 Competency Based occupation Standard:
Note a Related Instructions page is not added.

 Template:

@sarahraqueld is there any way to add a line break between the items in the Work Process schedule for readability?

Yes! Will do

Note from today's meeting: There are a few records for occupation standards that are time-based but that contain skills.

@sarahraqueld is there any way to add a line break between the items in the Work Process schedule for readability?

Done


Add unit tests

I have read the CLA Document and I hereby sign the CLA

:tada: This PR is included in version 1.3.0-develop.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.4.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:

:tada: This PR is included in version 1.4.0-develop.1 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Create /tf dir in run scripts if needed

test gpu-non-pip-multi please

retest Ubuntu-GPU-multi please

retest Ubuntu-GPU-single please


Failing to google_hash install in Ruby 2.3.0 in Sierra

Lots of errors similar to this:
"clang: warning: treating 'c' input as 'c++' when in C++ mode, this behavior is deprecated [-Wdeprecated]
conftest.c:3:10: fatal error: 'tr1/functional' file not found
#include <tr1/functional>
^
1 error generated.
checked program was:
/* begin /
1: #include "ruby.h"
2:
3: #include <tr1/functional>
/ end */"

os x?
On Thu, Jul 27, 2017 at 3:37 PM, Akansh Murthy<EMAIL_ADDRESS>wrote:

Lots of errors similar to this:
"clang: warning: treating 'c' input as 'c++' when in C++ mode, this
behavior is deprecated [-Wdeprecated]
conftest.c:3:10: fatal error: 'tr1/functional' file not found
#include <tr1/functional>
^
1 error generated.
checked program was:
/* begin
/ 1: #include "ruby.h" 2: 3: #include <tr1/functional> / end */"
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/rdp/google_hash/issues/44, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAw0P0mcRGrjQptUBDNbabZdSEvj0Oiks5sSQMngaJpZM4Ol3yB
.

Yep.


bug: useWaline is not exported by default

Solution

I think this is an open issue, at least we shouldn't import like this

#77


unzip pypi wheels for packaging

add a parameter  like --install module==version ( pip syntax)  to download wheel from pypi and unzip it in ./pkg
and extend a pkg.txt that will act as a requirements.txt file for pygbag.

PEP 723 support will give tools to do that. The simulator is already downloading and unpacking wheel "venv style"


Some fixes to get the OSX build further along [phab:D256]

Created by zarko at 2015-05-15 19:17:51:

schroederc commented inline (context lost during migration) at 2015-05-15 19:27:26:
These function bodies should be indented

schroederc accepted this revision at 2015-05-15 19:27:26

zarko wrote at 2015-05-15 19:55:16:

OSX doesn't like ln -T

zarko closed via commit 503e0e65776866b227aa5839104e7805426700c9 at 2015-05-15 19:57:09


web: /home raises error happeningly

Maybe the SSR causes
pages/home.tsx (112:10) @ _callee$

  110 |
  111 |     // Unknown errors
> 112 |     throw new Error("エラーが発生しました");
      |          ^
  113 |   }
  114 |
  115 |   const threadsResp = await get("/thread");

If I reload the page, this error disappears. So maybe the cause is related to SSR.

Closed by #34


Revert "pytest doesn't need the find xargs.  It's fully capable of finding tests on its own."

This reverts commit 21ea24a0bf4b764b966d9af526ead158f1d5b48e.
This stops the TEST={search_string} commandline param working so reverting.

bors r+

bors r+

bors r+

bors r+

curse ye bors

It's currently running 😛

it did say "not awaiting review" to me though. confusink.

Yeah, it's a very ambiguous error message.  It essentially means "I'm not in the start where you should be asking me to make a merge commit"
Sometimes it's because the PR is closed, sometimes because it's running, sometimes it's because a github webhook failed.

I should probably open an issue on the bors-ng repo about it.


Fix point missing issue for 64 bits point cloud layer vertex shader

To resolve issue #903, need this PR for release branch.

Tested with "npm run test-browser" and a modified example which can render lat lon based points with 64 bits precision.

Red dots are 64bits precision points fixed by this PR, while the yellow dots are rendered by scatterplot layer.

@1chandu 32bits shader is fine, already tested.


consider o1 design

https://chatgpt.com/c/66ee0194-ec88-800d-91e7-3275f1911678

try again w o3 at this point


cons as pairs without lists

On p.85, (cons x y) is introduced, where y is not a list, e.g. (cons 1 2).
We don't support that yet:
scheme> (cons 1 ())
(1)
scheme> (cons 3 (cons 1 ()))
(3 1)
scheme> (cons 1 2)
Invalid cons args, '[('int', 1), ('int', 2)]'!

Can we implement cons supporting cons pairs, while still benefiting from Python lists in our list representation?  Maybe not...

Labeling this as wontfix for now.  Not enough benefit for the cost of effort IMO.


Possible Bug with Discriminator Stddev

I think there might be a bug with the discriminator stdev, although I'm not 100% sure.
Currently this function uses the repeat operator to duplicate the values of the standard deviation calculation.
https://github.com/rosinality/stylegan2-pytorch/blob/master/model.py#L652
stddev = stddev.repeat(group, 1, height, width)

However, I don't think this lines up the standard deviations with the original inputs that were used to calculate those values. Instead I think we need to something like this:
stddev = stddev.repeat_interleave(group, dim=0)
stddev = stddev.repeat(1, 1, height, width)

Where the standard deviation values are first repeated according to the number of values used to calculate each value, then the spatial dimension is repeated to match the size of the feature maps.
Can anyone confirm if this is right or wrong?

Never mind, I got confused about which dimension the standard deviation was being computed across. The current implementation seems correct. Sorry for the confusion.


Save state after authentication

Hello! Thanks for creating this library, it's really useful and I love the simplicity 👌 I'm looking at the example for authentication that you give in the readme...
func authHandler(remoteAddr net.Addr, mechanism string, username []byte, password []byte, shared []byte) (bool, error) {
    return string(username) == "valid" && string(password) == "password", nil
}

Is there a way to store some kind of state at authentication time that can later be used in a mail handler? That way you could, for instance, only allow sending emails that are from that user's account.
If not, do you have any ideas for how to implement this? I'd be really happy to help with an implementation 😁
(as a side-note, docs for this library can't be viewed at pkg.go.dev/github.com/mhale/smtpd because you don't have a license, you may want to create a simple LICENSE file)

You're welcome! Thanks for the tip about the LICENSE file, I've added one.
To implement that kind of state, assuming the username and MAIL FROM address were identical, the feature would need to store the allowed username(s) in the session, and set them in the auth-specific handlers after the username is decoded, and a flag to enable/disable the restriction on the server. If you'd like to send a PR, I'd be happy to look at it.

That's interesting, I was also looking at the approach used in github.com/emersion/go-smtp which seems slightly more generic and wouldn't require an identical username to the MAIL FROM address. However, implementing something like that would almost certainly be a breaking change 😕 I'll take a look some more at the code, thanks for getting back to me!

@mhale Thanks for this awesome library which helped me a lot !!!
@zakcutner I also faced the same challenge. I need my username and password on mailHandler. I added small patch to the library. I think similarly you can also keep your data across the session.
Check this commit https://github.com/ashishtiwari1993/smtpd/commit/c4067615ecefcfc54162416aedc664e0dfe8bf5a
@mhale  I don't know if it is correct way or not but it's worked and still running on my production. It will be great if you can review it, Any suggestion will be appreciated.
Also let me know whether i can raise my PR with this commit.
Thanks

The problem with changing the Handler type like that (adding parameters) is that will break the code of the other users of this library. It might be better to define a new type with the extra parameters you want.

Hey @mhale
I had the same use case and was looking for session values.
I have forked and made relevant changes, could you please review them and let me know. to explain the changes I have added a map type  (SessionValues) to new handlers and this can be used to set and get the values within a session.
here is the commit: https://github.com/kunal-saini/smtpd/commit/731b454dd4b70a593179563d88d49486cd1e663f
and readme: https://github.com/kunal-saini/smtpd#session-example
let me know if it makes sense, I would raise a pull request!

Hi @mhale
I also have the same need to store additional data with the session.
Since you don't want to modify existing handler types would you allow adding new handlers? for example, in addition to the existing AuthHandler we could add AuthHandlerWithSession and use the later if set.
Something like this:
type AuthHandlerWithSession func(remoteAddr net.Addr, mechanism string, username []byte, password []byte, shared []byte) (bool, interface{}, error)
type HandlerRcptWithSession func(remoteAddr net.Addr, from string, to string, session interface{}) bool
type HandlerWithSession func(remoteAddr net.Addr, from string, to []string, data []byte, session interface{}) error
I you agree with this I can submit a pull request.
Thanks

Hi, what's your use case here? Do you want to know the user's identity in your handler function?


True up groups when editing code

Fixes #4121
Problem:
Groups are not trued up when the changes come from editing the code rather than the canvas.
Fix:

When editor decides if there are trueups to be committed, as per the array in the editor state, also include a list of groups that need trueuing up. This solution will allow us to also drop the trueups scattered throughout the code. I don't think it should live in this PR though but in an incremental one, as to keep the scope reasonable.
When that trueup happens, changes coming from the editor are picked up for trueups as well
To avoid having the caret jump around (because a changed element event happens), the vscode extension now reveals the code selection only if it's not already matching the current selection's caret position.

Notes:

There's still the issue with undo steps and trueups which become part of the stack (and the incidental code update), but I think it should be tackled separately.

closing this for now, might get useful in the future tho


Error on chat alignment

Description
There is some error in the chat alignment as the user's chat must be on the right side but it is also appearing on the left.
Steps to reproduce

Go to chat
Do a message

Screenshots

Desktop (please complete the following information)
No response
Smartphone (please complete the following information)
No response
Additional information
No response
Record

[X] I agree to follow this project's Code of Conduct
[X] I have checked the existing issues
[X] I'm a GSSoC'23 contributor
[X] I want to work on this issue

Description
There is some error in the chat alignment as the user's chat must be on the right side but it is also appearing on the left.
Steps to reproduce

Go to chat
Do a message

Screenshots

Desktop (please complete the following information)
No response
Smartphone (please complete the following information)
No response
Additional information
No response
Record

[x]  I agree to follow this project's Code of Conduct
[x]  I have checked the existing issues
[x]  I'm a GSSoC'23 contributor
[x]  I want to work on this issue

That's an really unexpected, feel free to look into the issue!

This is a silly mistake by me. Actually I was testing for a PR from another profile and I was habitual of this one. So, I thought that chat is misaligned. Look at sidebar, the id is tester.

This is a silly mistake by me. Actually I was testing for a PR from another profile and I was habitual of this one. So, I thought that chat is misaligned. Look at sidebar, the id is tester.

It's alright! I also didn't verify, it's my mistake as well...


Avoid msg creation when contributing a pointer to a streamable reduction

Original issue: https://charm.cs.illinois.edu/redmine/issues/1986

ckreduction currently optimizes for streamable reductions by combining messages as they arrive, but this doesn't avoid the creation of many messages in the first place, which is unnecessary if the user passes a pointer to contribute() and the reducer is streamable.

Original date: 2018-10-09 14:47:45

The idea here is that the first contributor on a PE creates the message and all subsequent contributors on that PE contribute directly into that 1 message. This obviously only works for constant sized messages or if doing a gather with fixed size contributions. Also, this requires a new API, since we can't safely assume that the value passed to contribute() is a pointer that will persist beyond the current scope of that call.


Release v2.0

FYI: I've added a v2.0 milestone and removed the v1.3 milestone.
My suggestion would be that we release v1.2 now, and reserve backward-incompatible changes to a v2.0 release, to be done in ~ 1 month.
There's many issues currently under the v2.0 milestone, but some of the key proposed changes that would justify a major version bump would be changes that are silently and sometimes slightly backward-incompatible like #89 or #35.
Another goal of 2.0 I think should be to get rid of the bundled Kapteyn like @sargas already attempted in #54 , so that pyregion can easily be packaged by Debian and others (they have to remove bundled files, it's not allowed).
@leejjoon , all - Sounds like a plan? Thoughts?

Sounds good to me.

I've set the pyregion 2.0 milestone / release data to October 6.
If someone wants to do the release (@sargas?) please comment here.
Otherwise I can do it, it doesn't take much time.
The main change to use Astropy instead of Kapteyn was done by @sargas in #100.
Everyone - Please see https://github.com/astropy/pyregion/milestone/4 and help resolve those issues / review the PRs, or file new ones now if you think something should be changed for version 2.0.
IMO we should take this as our one chance to do all breaking changes (even if minor, like changing a function parameter name for consistency) and then (hopefully) keep the package stable again for the coming years.
We already have a few breaking changes:
http://pyregion.readthedocs.io/en/latest/changelog.html#unreleased
although they should be reflected more clearly in the changelog at least in this case:
https://github.com/astropy/pyregion/pull/97#issuecomment-244715349
where results can change with the update without getting a warning / error.

Just a ping - it would be great to release 2.0 as pyregion 1.2 is broken with Numpy 1.11 due to some of the kapteyn code (which has been removed in master):
       """
>      lon = d2r( n.asarray(longlat[:,0],'d').flatten(1) )
E      SystemError: <built-in method flatten of numpy.ndarray object at 0x12b3b38f0> returned a result with an error set

/Users/tom/miniconda3/envs/dev/lib/python3.6/site-packages/pyregion/extern/kapteyn_celestial.py:117: SystemError

@astrofrog - Agreed.
I'll do the the pyregions 2.0 release for next Thursday:
https://github.com/astropy/pyregion/milestone/4

@cdeil - just to check, do you still plan on doing the 2.0 release?

There's still some open issues under the 2.0 milestone ( https://github.com/astropy/pyregion/milestone/4 ) but maybe I should just merge #113 and go ahead and make a release now? I'll ping on #65 once more asking if anyone has the expertise and time to have a closer look and resolve it soon.

I've made the 2.0 release: https://pypi.org/project/pyregion/
Can someone please try it out?
@bsipocz - do you have time to do this update?
https://github.com/conda-forge/pyregion-feedstock
Or should I give it a try? Is it just a matter of editing meta.yaml and making a PR?

Tag is also there: https://github.com/astropy/pyregion/releases/tag/2.0

Docs build is also OK: http://pyregion.readthedocs.io/en/2.0/

@cdeil - Thanks for making the release!
I can do the conda update if you like, normally it's super easy, only the version number and sha hash need to be updated.

Draft for pyregion 2.0 release announcement email:
https://gist.github.com/cdeil/c5f58f4398fb47403b49d5c6f60bf25b
(I'll wait for the conda packages to become available, just wrote it now for review)
@astrofrog or anyone - Thoughts?

Looks good!

I tried the conda package on Mac. There's this warning:
software/anaconda3/anaconda3/lib/python3.6/site-packages/pyregion/tests/test_get_mask.py::test_region
  /Users/deil/software/anaconda3/anaconda3/lib/python3.6/importlib/_bootstrap.py:205: RuntimeWarning: numpy.dtype size changed, may indicate binary incompatibility. Expected 96, got 88
    return f(*args, **kwds)

But all tests pass, so I'm assuming all is OK. If someone thinks this needs to be looked into, please open a new issue.
Release announced on astropy and astropy-dev mailling lists:

https://mail.python.org/pipermail/astropy/2017-October/004289.html
https://groups.google.com/forum/#!topic/astropy-dev/oWd1gC986Z4

Just a note that there appears to be an incompatible change that causes aplpy (1.1.1) to fail when using the 2.0 version of pyregion. I've submitted an issue with aplpy (https://github.com/aplpy/aplpy/issues/369) but I haven't fully debugged the issue to work out why it occurs.

I'm experiencing the same issue as @epaell. I gave some more details in https://github.com/aplpy/aplpy/issues/369.

I'm closing this old issue; it was about discussing the v2.0 release, which went out last year and then I forgot to close here.
@epaell @boada - for v2.0 there was some rewrite to use Astropy internally, and it looks like that has broken something for WCS with more than two axes. I see #66 is still open and seems very much related, please either comment there, or file a new issue.


Initial

Codecov Report

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

@@           Coverage Diff           @@
##             master     #1   +/-   ##
=======================================
  Coverage          ?   100%
=======================================
  Files             ?      2
  Lines             ?      6
  Branches          ?      0
=======================================
  Hits              ?      6
  Misses            ?      0
  Partials          ?      0

Impacted Files
Coverage Δ

index.ios.js
100% <100%> (ø)

index.android.js
100% <100%> (ø)

Continue to review full report at Codecov.

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


Add fastify hook to convert querystring keys to camelcase

Adds a step in the fastify lifecycle to mutate the query object before hitting the schema validation. The hook adds a cameCase version of each keys in the query string object.
Fixes https://github.com/ChainSafe/lodestar/issues/1021
Personally I will stick to snake case query string params if that is what the spec is using for clarity. Now there is a non-obvious step that might be problematic in the future.

Personally I will stick to snake case query string params if that is what the spec is using for clarity. Now there is a non-obvious step that might be problematic in the future.

I tend to agree. If eslint is giving errors, we can just disable that rule for those files. Better than adding a runtime step to transform the object keys. We can keep the underscore_case naming isolated to the api layer.

Personally I will stick to snake case query string params if that is what the spec is using for clarity. Now there is a non-obvious step that might be problematic in the future.

@dapplion is there post validation hook? I would like to keep validation schema according to spec. snake to camel should be just our internal handling

I tend to agree. If eslint is giving errors, we can just disable that rule for those files. Better than adding a runtime step to transform the object keys. We can keep the underscore_case naming isolated to the api layer.

We will quickly have bunch of eslint disable comments which is not really ideal and it's quite annoying while coding

We will quickly have bunch of eslint disable comments which is not really ideal and it's quite annoying while coding

I think we can use file-level disables for this in all the rest api files, eg:
/* eslint-disable camelcase */

...

const opts: fastify.RouteShorthandOptions = {
  non_camel_1: {},
  non_camel_2: {},
}

We would then only need one eslint-disable statement per file.
This seems like a fair tradeoff, the api is standardized to go against our internal conventions, so this boundary will just naturally have these issues.

We would then only need one eslint-disable statement per file.
This seems like a fair tradeoff, the api is standardized to go against our internal conventions, so this boundary will just naturally have these issues.

Whats your cons for not auto converting to camelCase internally? I mean we can have official validation and schemas as per spec, we will just get camelCase params in controller

Whats your cons for not auto converting to camelCase internally? I mean we can have official validation and schemas as per spec, we will just get camelCase params in controller

Even if at the cost of verbosity, code that is painfully obvious to reason about is better months / years down the line than anything that may require non-obvious knowledge. It's a decision I've always regretted when coming back to an old codebase and having to spent more time than necessary.

Closing this in favor of fixing this with selective disabling of the eslint rule


Add a Gitter chat badge to README.md

AdmiringWorm/Faker.NET.Portable now has a Chat Room on Gitter
@AdmiringWorm has just created a chat room. You can visit it here: https://gitter.im/AdmiringWorm/Faker.NET.Portable.
This pull-request adds this badge to your README.md:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

Current coverage is 94.42%

Merging #19 into master will not affect coverage as of 552b927

@@            master     #19   diff @@
======================================
  Files           16      16
  Stmts          269     269
  Branches        37      37
  Methods          0       0
======================================
  Hit            254     254
  Partial          7       7
  Missed           8       8

Review entire Coverage Diff as of 552b927

Powered by Codecov. Updated on successful CI builds.


Update upgrade notes from same major.minor versions

Across the same major and minor versions there are no changes in the DB versioning nor in the configuration files. Some steps can be simplified from current guide.

already done


mimxrt101x: Include start of flash in .ld

This ensures that the .bin file that is generated
starts from 0x60000000. Without this, it will start
from 0x60000400 which makes it harder to work with.

I think this will break the evk since that one uses the drag-and-drop bootloader, and since we're dropping .bin files and those don't have addresses in them, then the bootloader always assumes that the bin starts at offset 0x400, this would break that assumption.

Ok! Will have to pad the bin myself for my use case then.


IKEA Styrbar Remote Control N2 issues

I have a Ikea Styrbar remote. It was not easily pair-able and only the arrow keys register.

I have tried the update without success and the device is using a "quirk" different from everyone else.
Any suggestions?
Originally posted by @abacao in https://github.com/zigpy/zha-device-handlers/issues/2841#issuecomment-2232910191

I'm also having this same issue with my Styrbar Remote:

In my case, the firmware is version 0x02040016.
I have tried both the 'reconfigure' option from the webpage and removing and re-pairing the switch but it still shows zigpy.quirks.v2.CustomDeviceV2 every time.
The signature shown for my device is:
{
  "node_descriptor": "NodeDescriptor(logical_type=<LogicalType.EndDevice: 2>, complex_descriptor_available=0, user_descriptor_available=0, reserved=0, aps_flags=0, frequency_band=<FrequencyBand.Freq2400MHz: 8>, mac_capability_flags=<MACCapabilityFlags.AllocateAddress: 128>, manufacturer_code=4476, maximum_buffer_size=82, maximum_incoming_transfer_size=82, server_mask=11264, maximum_outgoing_transfer_size=82, descriptor_capability_field=<DescriptorCapability.NONE: 0>, *allocate_address=True, *is_alternate_pan_coordinator=False, *is_coordinator=False, *is_end_device=True, *is_full_function_device=False, *is_mains_powered=False, *is_receiver_on_when_idle=False, *is_router=False, *is_security_capable=False)",
  "endpoints": {
    "1": {
      "profile_id": "0x0104",
      "device_type": "0x0820",
      "input_clusters": [
        "0x0000",
        "0x0001",
        "0x0003",
        "0x0020",
        "0x1000",
        "0xfc57",
        "0xfc7c"
      ],
      "output_clusters": [
        "0x0003",
        "0x0005",
        "0x0006",
        "0x0008",
        "0x0019",
        "0x1000"
      ]
    }
  },
  "manufacturer": "IKEA of Sweden",
  "model": "Remote Control N2",
  "class": "zigpy.quirks.v2.CustomDeviceV2"
}

The "class": "zigpy.quirks.v2.CustomDeviceV2" is the current working version for the  last production version like you is having.
I getting dim up and down OK and also On/Off but i have not looking if all other commands is OK then i using it for direct controlling lights with bindings.
If not getting all commands do one reconfigure but taking out the battery and putting it back  before doing the reconfigure and look you  is getting green on all cluster (if not all commands can being missing).

The "class": "zigpy.quirks.v2.CustomDeviceV2" is the current working version for the  last production version like you is having.
I getting dim up and down OK and also On/Off but i have not looking if all other commands is OK then i using it for direct controlling lights with bindings.
If not getting all commands do one reconfigure but taking out the battery and putting it back  before doing the reconfigure and look you  is getting green on all cluster (if not all commands can being missing).

I have a question, did you reconfigure it? How did you sync it? I have the same issue as the other two people. For sync I have been clicking the sync button 4 times in a 5 second time window. Have you done anything different? Also, do you have the 5 button version or the 4 button version? I am using the 4 button one.

I was able to sync it by multiple retries. Dont really understand what happened.
Current working status:

No quirk was found

Look in manager zigbee device (3 dots right from reconfigure) and  then signature tab you getting the quirk that is loaded  (i was not knowing it was moved from the device card).


Crash in handleTileFailure

handleTileFailure in Cesium3DTileset.js assumes that error is always defined, but there appear to be edge cases where error is undefined and we access it anyway. I have an app constantly spitting errors to the console because of this. The problem seems to stem from Cesium3DTileset not properly handling in flight requests once it is destroyed, but I don't have a reduced test case.
There are probably two issues here: 1) Why is error sometimes undefined and 2) The error handler should check for that.
It's requestContent in Cesium3DTileset.js that is registering handleTileFailure on tile.contentReadyPromise
Is there a workaround here we can apply to avoid this? It's otherwise a showstopper for the app.
CC @ggetz @lilleyse

Thanks, updating now and will let you know.

@mramato Was this fixed for you as of 1.94?


Cloning/ARM templates are awesome, but not always helpful

Much of the new documentation deals with cloning or deploying and AD Farm with an ARM template, but not every scenario can be solved by either of those. Case in point: I want to build new Server 2019 DC's in Azure.
There is no base image I can clone my DC from.
I only want to deploy 2 DC's, where I have existing 2012 and 2016 DC's and also an ExpressRoute and Gateway.
Also, the page on MSDN for ""Guidelines for Deploying Windows Server Active Directory on Azure Virtual Machines" seems to have disappeared, which was EXTREMELY helpful as a reference when building a new virtual DC.
Lastly, there still seems to be a gap in documentation when dealing with DC's in an availability group with regards to DNS for the availability group.
I'm for automation, but building documentation around the assumption that automation/cloning is going to be the default way of deploying a resource is going to lead to more questions than solutions.

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

ID: 0fc4f453-8f97-78d9-beaf-a7f2169e7a49
Version Independent ID: 90182e74-3e05-7be4-4bab-373b438d798f
Content: Introduction to Active Directory Domain Services (AD DS) Virtualization (Level 100)
Content Source: WindowsServerDocs/identity/ad-ds/Introduction-to-Active-Directory-Domain-Services-AD-DS-Virtualization-Level-100.md
Product: windows-server-threshold
GitHub Login: @MicrosoftGuyJFlo
Microsoft Alias: joflore

New article is coming that will address these items. Look for it in a couple weeks. I will send you a comment when it is published.

#please-close


More fixes for iOS Godot 3.0

nicely exit if initialisation fails
fix a few issues around new event handling
use 16bit single channel framebuffer as 32bit is not supported on iOS ( @reduz  you'll probably want me to do this differently)

Note that after these changes Godot seems to load nicely on iOS. There are however still "506 error" messages given during rendering and the output is black. error code 506 seems to have something to do with framebuffers but it does create the framebuffers without errors now

Also note that iOS needs to be compiled for arm64, the default 32bit compilation seems to fail on several things and I'm not even sure if there are any Apple devices capable for running iOS 10.9 or newer that require 32bit


positional OCRing

Your Feature Request
it would be very helpful for tesseract to be able to recognize where on a screen a piece of text is
I use tesseract for subtitle conversion and often times the subs are on different places in the video
is if could automatically see where this text is an apply positioning info to the output -- that would save alot of time

Tesseract already gives the position of all detected text.


The pilot-agent used too much memory while the metric data is large.

(NOTE: This is used to report product bugs:
To report a security vulnerability, please visit https://istio.io/about/security-vulnerabilities
To ask questions about how to use Istio, please visit https://discuss.istio.io)
Bug description
The pilot-agent used too much memory while the metric data is large.

pprof heap:

[ ] Docs
[ ] Installation
[ ] Networking
[X] Performance and Scalability
[ ] Extensions and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure
[ ] Upgrade
Expected behavior
Steps to reproduce the bug
$ curl ${POD_IP}:15020/stats/prometheus  | wc -l
97038

Version (include the output of istioctl version --remote and kubectl version --short and helm version --short if you used Helm)
istio: 1.9.3
How was Istio installed?
istio-operator
Environment where the bug was observed (cloud vendor, OS, etc)
Additionally, please consider running istioctl bug-report and attach the generated cluster-state tarball to this issue.
Refer cluster state archive for more details.

@howardjohn
https://github.com/istio/istio/blob/b35d902fa66cdaa31a6ad38fd8142ec0dc8ef349/pilot/cmd/pilot-agent/status/server.go#L387
May be use a io.Reader instead of the[]byte can fix this problem.

@bianpengyuan


Parse issue: 8115-corelight-ecs-user_agent-original-enrich-filter.conf

There is an parse issue with this pipeline in combination with ELK 8.7
There a no HTTP logs. Also no logs in "corelight parse failures" index?
Logstash log are loaded with these lines:
"status"=>400, "error" "failed to parse field [user_agent.device.name] of type [keyword] type"=>"illegal_state_exception", "reason"=>"Can't get text on a START_OBJECT
After disabling this pipeline http logs will come in again, but with no user_agent enrichment's.

try with uncommenting this line:
https://github.com/corelight/ecs-logstash-mappings/blob/5dac91c8497aec601e0cd60fe3d833160ba288e4/pipeline/8115-corelight-ecs-user_agent-original-enrich-filter.conf#L28

Thnx, That does the trick.
I already uncommented in 0002-corelight-ecs-tcp-input.conf, not realizing there other conf files with that same line.


IE9 and Image issue

Hey there,
I have a strange (possibly bug), in IE9. The implementation @ http://codepen.io/anon/pen/wMKNBB results in the canvas drawing successfully on load e.g. http://i.imgur.com/ZZqw36w.png
However, when I use the method for redraw using the below:
// Demo use only - redraw circle on click for testing purposes
$( '.circle-wrapper button' ).on( "click", function() {
	// Redraw the circle using API function 'redraw'
	$(this).parent().find('.circle').circleProgress('redraw');
});

I receive the below visual bug (Image does not appear): http://i.imgur.com/FTYWYOb.png

Thank you for the report. I'll check what's wrong

Great, thanks :+1:

So kottenator, do you think this is a problem in ie?

I've tested this bug in IE11 (in emulated Document mode: IE9) and I can't reproduce it, it works.
The screenshot that you've attached - it may happen when image was not loaded ... I think I'll give it another try in virtual machine with native IE9 ...

@simonmacfadyen - I have 2 news for you, and both are good ;)

I've reproduced the bug in IE9 on Windows 7 (VM) - it happens randomly after few "redraw"s (but not obligatory). I'm not 100% sure but most likely it's because Image.onload doesn't work stable in IE9 (currently background image is re-loaded on each "redraw")
I've created a code snippet with fix for IE9. The idea is to cache Image object after first load

Another solution is to use:
el.circleProgress({
  fill: {
    image: <Image instance> // instead of URL string
  }
})

I'm closing this issue for now, feel free to reopen.


Getting 404:- with opkg-install libseccomp ca-certificates

Step 3/6 : RUN opkg-install libseccomp ca-certificates
---> Running in 9b0a50cd23a5
wget: server returned error: HTTP/1.1 404 Not Found
wget: server returned error: HTTP/1.1 404 Not Found
Downloading http://downloads.openwrt.org/snapshots/trunk/x86/64/packages/base/Packages.gz.
Downloading http://downloads.openwrt.org/snapshots/trunk/x86/64/packages/packages/Packages.gz.
Collected errors:

opkg_download: Failed to download http://downloads.openwrt.org/snapshots/trunk/x86/64/packages/base/Packages.gz, wget returned 1.
opkg_download: Failed to download http://downloads.openwrt.org/snapshots/trunk/x86/64/packages/packages/Packages.gz, wget returned 1.
Unknown package 'libseccomp'.
Unknown package 'ca-certificates'.
Collected errors:
opkg_install_cmd: Cannot install package libseccomp.
opkg_install_cmd: Cannot install package ca-certificates.

Looks like this is an issue with OpenWRT's repositories, as those files should definitely be there (you can even see the listings in Google search right now). Had a look on their forum and couldn't find any posts about it — maybe it's worth you posting something there too?

Thanks @jackwilsdon

@udkumar a bit unrelated but, I used to use the ca-certificates in the past as well, currently I've seen better results with ca-bundle


Add note in docs about spawning processes on Windows

What is the expected enhancement?
Switching to async calls from futures entails spawning new processes that can cause an error to be generated on Windows if the function that spawns the process is called at the top level of a Python script.  We should mention this is the docs, and show a simple work around.
I will do this.

This is no longer needed.


Tidy up fault injection scenarios in CI via pumba

[ ] Write up a few scenarios and check a few scenarios for packet loss

[ ] 2 peers; 0%, 50%, 90%, 95% (on one peer)
[ ] 2 peers: same again on both peers
[x] 3 peers: 0%, 50%, 90%, 9% (one peer)
[ ] 3 peers: same again on two peers?

[ ] Node crashes: TODO: Some scenarios; some amount of downtime
[ ] Packet delays: ?!
[x] Be certain pumba/netem is applying (TODO: Try getting tc onto the images directly)
[x] Be confident that the correct errors are captured by the haskell code/tests
[ ] ?Stop doing persistence?
[ ] Update networking page with findings

Closed this ticket in favour of #1592


Run top 25 models on Sanghavi

This is just about done, I've run into the following issues with OM and have reached out to debug them with Shaohao.
`File "/scratch2/weka/quest/epellegr/anaconda/envs/vision/lib/python3.7/site-packages/h5py/_hl/files.py", line 231, in make_fid
fid = h5f.open(name, flags, fapl=fapl)
File "h5py/_objects.pyx", line 54, in h5py._objects.with_phil.wrapper
File "h5py/_objects.pyx", line 55, in h5py._objects.with_phil.wrapper
File "h5py/h5f.pyx", line 106, in h5py.h5f.open
OSError: [Errno 5] Unable to open file (unable to lock file, errno = 5, error message = 'Input/output error')
`

With exception to the following models, all have been run:

resnet50_v2: Memory error with Sanghavi
nasnet_large_pytorch: Memory error with Sanghavi
pnasnet_large_pytorch: Memory error on Sanghavi (rerunning currently)


chore(babel-jest): add description to package.json

Summary
Add description to babel-jest package.json. This is shown on yarnpkg.com and npmjs.com. Most of the other packages also miss the description

Codecov Report

Merging #3005 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #3005   +/-   ##
=======================================
  Coverage   67.86%   67.86%
=======================================
  Files         147      147
  Lines        5349     5349
=======================================
  Hits         3630     3630
  Misses       1719     1719

Continue to review full report at Codecov.

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


Unable to view Rest APIs in swagger or in Postman.

I tried to access RESTAPI swagger doc but I am not able to view it. Can you please suggest the steps to access RestAPIs.
I also tried to get response for an endpoint, even that resulted in an error page.
Is there any specific steps which we need to follow before calling any REST endpoints.
Thanks in Advance

@anjalisn4 Thanks for the question! Can you share the document link you're referring to?

@SadiqhAhmed-MSFT  We are trying to access the swagger docs link.
https://tntblockchain-44yxos.azurewebsites.net/api/v2
https://tntblockchain-44yxos.azurewebsites.net/swagger/ui/index.html
For both of the links we are getting error as : "That link didnt work"

Hi @anjalisn4 Thanks for trying Azure Blockchain. We try to reserve this issues for documentation feedback, that's why we were asking you for the link of the doc.
If you are trying to use the Azure Blockchain Workbench Please follow this guide if you haven't yet https://docs.microsoft.com/en-us/rest/api/azure-blockchain-workbench/#base-url
If this doesn't work please create a thread on the Blockchain MSDN forum where there is a developer community that can help. Please share the link here and I will make sure that you get help there.

@anjalisn4 We will now proceed to close this thread. If there are further questions regarding this matter, please tag me in your reply. We will gladly continue the discussion and we will reopen the issue.


Multiline nsg rule description update. Doesn't work

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug

To Reproduce

Expected behavior

Environment summary

Additional context

please provide detailed info about this issue


middleware.Cancel

Something for consideration:
middleware.Timeout() and middleware.CloseNotify don't need to cancel() the context when the underlying handlers return. We might want to use explicit middleware.Cancel instead.
This way, all handlers would have context.Background() as a base context and it'd be up to developers to specify when the "context flow" ends. Timeout should only cancel underlying contexts on timeout. CloseNotify should only cancel underlying contexts on <-w.CloseNotify(). Explicit over magic.
If we wanted to have strict boundaries for context lifetime in the handler chain, we'd need to use context.WithCancel() instead of context.Background() in mux.ServeHTTPC().

Closing this PR -- I don't think we need this anymore, since Timeout and CloseNotify close their contexts in defer functions, which is imho the correct behavior.


Is it possible to change the resource view to have the resources one the left side instead of the of the calendar.

Do you want to request a feature or report a bug?
Yes, is it possible to change the resource view to something like this?

#### What's the current behavior?

I can make it like this (ignore the padding was debugging my styling) but I have been stuck on changing it any further: all suggestions are welcomed:

What's the expected behavior?

Were you able to figure this out? I'm trying to do something similar

@hbellala
Were you ale to do this ??
I have a requirement for this


Version 1.62.1 freeze google vision API credentials load.

In an app with horizontally scaled machines when all the machines start working together the client creation with client = vision.ImageAnnotatorClient(credentials=credentials) gets freeze.
Downgrade to and older version solves the problem.

Can you please provide some more details? This doesn't seem actionable on our part at the moment. If you hit ctrl-C during the freeze, it should generate a stack trace. This would give us a lot of information about where the hang is happening.

Also same as https://github.com/googleapis/google-cloud-python/issues/12423
And similar to https://github.com/googleapis/python-bigtable/issues/949


eliminate warnings for Swift 4.1

not sure why the other 2 commits insist on being in the branch.

@rpinz Also here (like https://github.com/vapor/vapor/pull/1690), vapor-2 branch rather than master?

Hey @rpinz, you just merged a pull request, have a coin!
You now have 4 coins.

thanks!


Add alert when cancel transaction.

https://app.zeplin.io/project/5ba9be48f029d520c456f395/screen/5cebd21d617ba078b5958f87

checked


mixin name type-o fix and documentation update

Fixed mixin name - prevented sassy-buttons from working at all.
Fixed documentation from @import "sassybuttons" to @import "sassy-buttons"
Added documentation for installing on Rails 3.1.1

Thanks for contributing!


handle multiple layers

one asset per layer?
https://fiona.readthedocs.io/en/stable/manual.html#reading-multilayer-data

in https://github.com/developmentseed/fio-stac/commit/086d1b830e35c40b6a9fbc72ae4dc7beb9162f75 I've added layers information within the item properties but I think it should goes within the Asset information!


After update to HAOS 2023.4.0, records in states have entity_id null

Hi,
I have been using your nice component with no problems until after the update to HAOS 2023.4.0 yesterday. Now I see records in the states table with entity_id null. I can see these records belong to yahoofinance sensors because of the values of the state column.
Are you aware of this and do you know how to solve this?

Please ignore, there was a database change, sorry.


Settings

Codecov Report

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

@@          Coverage Diff           @@
##             master    #6   +/-   ##
======================================
  Coverage          ?   66%
======================================
  Files             ?     9
  Lines             ?   609
  Branches          ?   100
======================================
  Hits              ?   402
  Misses            ?   192
  Partials          ?    15

Impacted Files
Coverage Δ

htmap/__init__.py
100% <ø> (ø)

htmap/management.py
47.05% <0%> (ø)

htmap/utils.py
29.85% <100%> (ø)

htmap/result.py
51.04% <100%> (ø)

htmap/settings.py
100% <100%> (ø)

htmap/mapper.py
81.52% <53.33%> (ø)

Continue to review full report at Codecov.

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


[Issue #161, #162] Add favicon, remove supertokens branding

Added favicon to a public directory and removed supertokens branding through the frontend config

yep good call, updated


Memory leak

Hi,
I'm restreaming rtsp cameras over webrtc using pion. It works, I can view the streams but it leaks about a mb every 10 seconds.
Here is the go routine I use to make webrtc.NewTrackLocalStaticSample tracks which I add to peer connections.
I can try make a minimal example if that's necessary. It seems like the inflating function is at pion/rtp/codecs/h264_packet.go line 72.
func rtspConsumer(camera models.Camera) {
	rtspURL := camera.GetRTSPURL(false)
	fmt.Println("RTSP URL is: ", rtspURL)
	outboundVideoTrack, err := webrtc.NewTrackLocalStaticSample(webrtc.RTPCodecCapability{
		MimeType: "video/h264",
	}, fmt.Sprint(camera.ID), fmt.Sprint(camera.ID))
	if err != nil {
		PostException("ERROR from rtspCons - making track: %v", err)
	}
	annexbNALUStartCode := func() []byte { return []byte{0x00, 0x00, 0x00, 0x01} }
	ThisStream := RunningStreams{CameraID: camera.ID, Track: outboundVideoTrack, CameraChan: make(chan string, 4)}
	GlobalStreams.addStream(&ThisStream)
	waitBeforeRetry := false
	for {
		fmt.Println("rerunning main loop in stream: ", rtspURL)
		if waitBeforeRetry {
			fmt.Println("waiting 20 seconds")
			time.Sleep(time.Second * 20)
			waitBeforeRetry = false
		}
		session, err := rtsp.DialTimeout(rtspURL, 20*time.Second)

		if err != nil {
			fmt.Println("Dialling rtsp failed", err)
			waitBeforeRetry = true
			continue
		}
		session.RtspTimeout = 20 * time.Second
		session.RtpTimeout = 20 * time.Second
		session.RtpKeepAliveTimeout = 5 * time.Second

		codecs, err := session.Streams()
		if err != nil {
			fmt.Println("Retrieving codecs failed: ", err)
			waitBeforeRetry = true
			continue
		}
		for i, t := range codecs {
			log.Println("Stream", i, "is of type", t.Type().String())
		}
		if codecs[0].Type() != av.H264 {
			panic("RTSP feed must begin with a H264 codec")
		}
		if len(codecs) != 1 {
			log.Println("Ignoring all but the first stream.")
		}

		var previousTime time.Duration
		for {
			pkt, err := session.ReadPacket()
			if err != nil {
				fmt.Println("error reading packet ", err)
				break
			}

			if pkt.Idx != 0 {
				//audio or other stream, skip it
				continue
			}

			pkt.Data = pkt.Data[4:]

			// For every key-frame pre-pend the SPS and PPS
			if pkt.IsKeyFrame {
				pkt.Data = append(annexbNALUStartCode(), pkt.Data...)
				pkt.Data = append(codecs[0].(h264parser.CodecData).PPS(), pkt.Data...)
				pkt.Data = append(annexbNALUStartCode(), pkt.Data...)
				pkt.Data = append(codecs[0].(h264parser.CodecData).SPS(), pkt.Data...)
				pkt.Data = append(annexbNALUStartCode(), pkt.Data...)
			}

			bufferDuration := pkt.Time - previousTime
			previousTime = pkt.Time
			if err = outboundVideoTrack.WriteSample(media.Sample{Data: pkt.Data, Duration: bufferDuration}); err != nil && err != io.ErrClosedPipe {
				fmt.Println(err)
				break
			}
		}

		if err = session.Close(); err != nil {
			log.Println("session Close error", err)
			waitBeforeRetry = true
		}

		time.Sleep(5 * time.Second)
	}
}

I collected the heap after running the program for a while.
Early on:

after a few minutes:

If I leave the programming running for 2 days it ends up with around 2gb of ram usage.
The datachannel has a similar problem but it is not as severe.

That isn't good @C-monC!
I look at Payload and nothing is obvious to me yet. The only time we store things outside the scope of the function it is a set (and not an append).
Is it possible to recreate this just using a payloader? Would you be able to capture the H264 packets and reproduce this?

I am also available on Slack if you want to debug quicker.

I've taken a single payload and sent it in a forever loop to the payloader and there is no increase in memory.
Does this mean somehow the calls to H264Payloader.Payload are increasing? I am not sure how to interpret the heap dump.
I checked the goroutine count now as well. There are only 2 rtspConsumers for 2 rtsp streams (The go routine indirectly calling Payload).
Moving to slack, thank you.

Unfortunately I am not sure what fixed it. After many debugging/profiling hours it just went away. The Payload node in the graph gets capped at about 15mb now.
Potentially it could be that a buggy client was not reading the stream/data-channels causing them to backlog? Also the connection speed is very low here. If the server upload is 2mb/s and the client can only receive at 1mb/s would the payload buffer increase?
Thanks for the help @Sean-Der. I'll update this thread if I figure out what happened.

Hey there,
@Sean-Der I've stumbled across this issue and am not sure if my findings are still relevant (we are on the v3 version of the package). My application sounded similar enough, we read frame data from a camera and send it over webRTC using WriteSample. In my debugging, I noticed that the frame size was always different everytime. I came across this issue: https://github.com/golang/go/issues/23199 related to sync.Pool which I think is being utilized.
Could the fact that my frame sizes are always different cause a similar type of leak here? Is this enough information to go off of? I adjusted my code to always send the same frame over and over and the leak seemed to have gone away (the RAM usage would eventually stop climbing and hover around the same number). I don't know Golang well enough but am hoping this can be useful information to provide.


Add openvino documentation

In this PR we add documentation and example to present our OVModelForXxx

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint.

Unable to find openvino.modeling.OVModelForSequenceClassification in optimum.intel. Make sure the path to that object is correct.

@fxmarty I think you faced similar issues before, do you know the fix?

In my case it was a missing dependency I had in my local env; but ont listed in setup.py!


feat: Fidelity Bonds

First draft of Fidelity Bonds.
It currently looks nothing like the great designs by @editwentyone, but some building blocks are be present and hopefully it can be easily adjusted step by step from now on.
This PR has all previously implemented coin control features removed (moved to branch fidelity-bonds-coin-control-backup in case they are needed later)
This means that all available funds in a jar will be used to create the fidelity bond.
Thanks @dnlggr for your valuable feedback – it should now be much more easily reviewable.
Maybe some coin control features from #241 can be used and make it more configurable for users.
Some questions are still unanswered or need to be addressed:

How to communicate errors to the user and what to do if something fails

e.g no collaborative transactions preconditions are checked (>=5 confs; enough retries; utxos that are not at least 20% of the tx size)

How to choose the number of counterparties for the collaborative transaction?~

Currently, minimum_makers is used – which is not optimal
Should the user be responsible for choosing a value, e.g. like in the Send screen?

Internationalization (i18n) is not addressed as the UI will be reworked in subsequent PRs and it would be obsolete very quickly.

Awesome work @theborakompanioni! Will do my best to review and test this today.

Ok let's merge this now and work do any updates in separate PRs. Unless you're still reviewing @dergigi? 🤔
Imo I'd be nice to then:

move the whole thing to the Earn screen as per Figma; and
make the collaborative transaction magic in the background more transparent to the user

Ok let's merge this now and work do any updates in separate PRs.

Agree, also with next steps 👍 :shipit:


Update Fwupd

Describe the bug
We had to revert a patch because it doesn't apply to the current version https://github.com/NixOS/nixpkgs/commit/283ef6bc6d075f85f049299b11c0f5ef417a9553.
And it's probably a good idea to do this anyway, fwupd moves pretty quickly.
Newest looking tag is https://github.com/fwupd/fwupd/releases/tag/1.3.2, though I don't I've seen them doing release simultaneously to https://github.com/fwupd/fwupd/releases/tag/1.2.11.
Changes can be found at https://github.com/fwupd/fwupd/blob/master/data/org.freedesktop.fwupd.metainfo.xml.
Additional info
Current Version: 1.2.10
Version to update to: 1.3.2
As previously mentioned, not sure what's going on with the 1.2.* series.

see also #71114

1.3 is a new stable series, 1.2.11 is a backport to a old stable branch.


stdenv: let aarch64 use gcc ≥10

Describe the bug
Nixpkgs upgraded to gcc 10 in https://github.com/NixOS/nixpkgs/pull/89793. Unfortunately, there were issues with aarch64 so aarch64 still uses gcc 9.

Is there any progress on this issue? I maintain a package that has ICE with gcc 9 and has #108111 with gcc 10 on aarch64, so it was marked as broken on aarch64 in #173671.

See https://github.com/NixOS/nixpkgs/pull/167726#issuecomment-1108264067

In https://github.com/NixOS/nixpkgs/pull/153329 adding gcc11 to nativeBuildInputs did the trick.

:thinking: changing stdenv to gcc11Stdenv doesn't work?

🤔 changing stdenv to gcc11Stdenv doesn't work?

True. That's a cleaner solution if it does work in your case.

Another blocker: https://github.com/NixOS/nixpkgs/pull/191357

Another victim: https://github.com/NixOS/nixpkgs/pull/210859

Another victim:

https://github.com/NixOS/nix/pull/7203

Potential solution:

https://github.com/NixOS/nixpkgs/pull/209870

(If I may summarize what can be inferred from the issue page)

FWIW the commit message and leading comment for #209870 both contain this text:
- Closes #108305

but for some reason github isn't processing it.

but for some reason github isn't processing it.

Github is having a pretty bad day it seems, it'll probably catch up in a bit.

but for some reason github isn't processing it.

Specifically, this PR doesn't show a "merging #209870 may close this bug" or list this as a "linked issue" of that PR.  It should say "Development Successfully merging this pull request may close these issues: #209870"
For an example of what it should look like, check out e.g. number 216163 (no hyperlink to avoid noise in that PR).

Note to self: https://github.com/NixOS/nixpkgs/pull/211767/commits/6d6a98068ff9a491be1bc5c602f26cc3d36607f0 will need to be reverted when any of the solutions land.

@wegank Can you link the PR in which this was fixed?


[WFLY-16162]:Upgrade jbossws-cxf to 5.5.0.Final and jbossws-common-to…

https://issues.redhat.com/browse/WFLY-16162

This one was not merged in time for WildFly 26.1 as we didn't have the upstream PR approved or clean CI against 26.x - I am going to close this one so we can concentrate on the upstream PR.


Could you provide the ResNet-18 ImageNet weights ckpt file?

Hi,
I am trying to run the CUB-200 experiments from pre-trained ImageNet weights and was wondering if you could provide the following file:
RESNET18_IMAGENET_CHECKPOINT = './resnet-18-pretrained-imagenet/model.ckpt'
Thanks!

The script `https://github.com/facebookresearch/agem/blob/master/download_cub_awa.sh' contains the link to download the file.

@arslan-chaudhry the link for the resnet18 pretrained weights is broken. Could you please provide anther source for the ckpt?
Thanks in advance

Any updates on this ? @EladDan @arslan-chaudhry

@arslan-chaudhry the link for the resnet-18-pretrained-imagenet is broken.Could you please provide anther source for the ckpt?
Thanks in advance

To unblock yourself, you can download the pre-trained ResNet-18 from here:
https://www.dropbox.com/s/vs50vpm8c5l7hc6/model.ckpt.data-00000-of-00001?dl=0
https://www.dropbox.com/s/sl6hbk2ajs1b1ae/model.ckpt.index?dl=0
https://www.dropbox.com/s/su0352nuco3dbb8/model.ckpt.meta?dl=0
Replace the lines 31-33 in download_cub_awa.sh with
wget -O model.ckpt.data-00000-of-00001 https://www.dropbox.com/s/vs50vpm8c5l7hc6/model.ckpt.data-00000-of-00001?dl=0
wget -O model.ckpt.index https://www.dropbox.com/s/sl6hbk2ajs1b1ae/model.ckpt.index?dl=0
wget -O model.ckpt.meta https://www.dropbox.com/s/su0352nuco3dbb8/model.ckpt.meta?dl=0

I should send a fix to the original script.


Updating README accuracy

Updating the accuracy of the README. It is claiming this is a new framework, but that's not the case.

lgtm

Much needed improvement, thanks.  Let's make this happen.

We're at the two month mark for this to go in... may ask what is the hold up?


unhandled exception in script

This may be a duplicate of #60.
Is it possible to install and run v4.9.0


[SPARK-9156][SQL] codegen StringSplit

Jira: https://issues.apache.org/jira/browse/SPARK-9156

Can one of the admins verify this patch?

Can one of the admins verify this patch?

Test build #1127 has started for   PR 7547 at commit 0be2700.

LGTM

Test build #1127 has finished for   PR 7547 at commit 0be2700.

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

Thanks - merging this in.


[BUG]

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:

Go to '...'
Click on '....'
Scroll down to '....'
See error

Expected behavior
A clear and concise description of what you expected to happen.
Stack Trace
If applicable, add in the error stack trace. By default, all the errors are logged to src/Bootsrapper/Logs/logs***.json. You can also find the stack trace details logged here.
Screenshots
If applicable, add screenshots to help explain your problem.
Desktop (please complete the following information):

OS: [e.g. iOS]
Browser [e.g. chrome, safari]
Version [e.g. 22]

Smartphone (please complete the following information):

Device: [e.g. iPhone6]
OS: [e.g. iOS8.1]
Browser [e.g. stock browser, safari]
Version [e.g. 22]

Additional context
Add any other context about the problem here.

What's this about?


ARROW-17999: [C++] Make Minio server launch more robust

Disable the embedded console
Retry launching the server several times if unreachable

Revision: ea9bf603a19023c65cff16696c0a10bc5908b405
Submitted crossbow builds: ursacomputing/crossbow @ s3-minio-retry-0

Task
Status

test-alpine-linux-cpp

test-build-cpp-fuzz

test-conda-cpp

test-conda-cpp-valgrind

test-debian-10-cpp-amd64

test-debian-10-cpp-i386

test-debian-11-cpp-amd64

test-debian-11-cpp-i386

test-fedora-35-cpp

test-ubuntu-18.04-cpp

test-ubuntu-18.04-cpp-release

test-ubuntu-18.04-cpp-static

test-ubuntu-20.04-cpp

test-ubuntu-20.04-cpp-17

test-ubuntu-20.04-cpp-bundled

test-ubuntu-20.04-cpp-thread-sanitizer

test-ubuntu-22.04-cpp


Bounty duels & xp

 Issue by Trimatix
Sunday Aug 02, 2020 at 13:38 GMT
Originally opened as https://github.com/Trimatix/GOF2BountyBot/issues/26

Criminals generate a random difficulty, around which a loadout is generated. Players must beat the criminal in a duel to win the bounty. The winner is awarded a percentage of the criminal's loadout value as an extra reward. Players are awarded xp based on their system checks and wins. players with a certain amount of XP cannot win bounties lower than a certain level.

dupe #25


Discord Server - Day of the event

Not much to see here (yet)!
We'll use this issue to publish the invite link to the Discord server for the event on February 27th - mark the date 😁

Good evening folks,
It's (almost) time!
Tomorrow, from 8am to 8pm GMT, we'll be running the first remote Hack & Learn event.
In person events taught me to be cautious and I brought the same attitude to remote ones: what if I sleep over? What if my Internet breaks down? Disaster!
To make sure that everything runs smoothly, I am sending out the Discord invite this evening: https://discord.gg/jY2xQV2p9v
You'll find a channel for each project.
If you haven't joined a project yet, no worries: just ask in the #rust-sorting-hat channel, we'll find something for you.
If you want to launch a last-minute project, no problems either: open an issue here and we'll provision a channel for it.
Feel free to join the Discord server tonight - if you encounter any problem, send us a message.
Good night, see you tomorrow!


bash: npm: command not found - works fine in terminal/iterm

Hello all,
I've recently moved to a new machine and i'm in the process of reinstalling all of my apps. I've installed nvm successfully but as soon as I try to enter any commands in the atom-ide-terminal I get "command not found".
Do I need to add something to the "shell override" or "Shell Environment Variables" sections in the package settings? I had this working just fine on my old machine but I got it setup so long ago I cant remember what I did!
Any help would be greatly appreciated :)

Solved - I was mapping the terminals to the folders so it didn't know what my global installs were. Setting it to "none" fixed it.


Update enforce-standards-admission-controller.md

You have opened four PR for very small (and un-noticeable for current version) sync. Could you merge them into one?

#34406
#34407
#34408
#34409

Futher more, it's better to fix format errors and make sentences more fluent.

@Sea-n a word of caution. Each PR that is reviewed should encompass one set of changes. Not several. Please avoid implying otherwise.
@yanrongshi when you open localization PRs, and you are making changes that are not related, then it is OK to open separate PRs. If you are opening more than one PR against the same page or set of pages (such as to localize three tasks that all relate to Secrets), then we'd be right to ask you to combine those.
Sorry about the misleading advice here. Again, the key principle is that a PR should represent a single and identifiable set of changes.

@Sea-n一句警告。_审查的_每个 PR 都应包含一组更改。不是几个。请避免以其他方式暗示。
@yanrongshi当您打开本地化 PR，并且您正在进行不相关的更改时，可以打开单独的 PR。如果您针对同一页面或一组页面打开多个 PR（例如本地化三个都与 Secrets 相关的任务），那么我们要求您将它们结合起来是正确的。
很抱歉这里的误导性建议。同样，关键原则是 PR 应该代表一组单一且可识别的更改。

thanks，my brother，this is my first PR,so what should i do in the next time

/lgtm
/approve


Switch from docker-make to multi-stage builds

Multi-stage builds are a new Docker feature that could potentially allow us to move away from docker-make.
Here's a quick rundown of how it actually works, although be sure to check the latest documentation for any changes.
Setup protected branches and move to a development branch to begin working on this.

We'll stick with docker-make for now, but we do need to rewrite our Dockerfiles to use multi-stage.


Adding prediction using Decision Tree Regression

Fixes issue #27
Done prediction of daily Covid cases using Decision Tree Regression.
Used the DecisionTreeRegressor from the sklearn.tree library for the prediction along with Pandas, NumPy and Matplotlib libraries for data preprocessing and visualization.
The net accuracy on the test set : 98.361%

@harshita-2402 Everything will be fine but at last, when you are using Decision Tree Regressor algorithm, you haven't imported the DecisionTreeRegressor model from sci-kit learn. Just do one thing make a change and upload it again. 🙂

@SagarDhandare Oh, okay. Thanks for pointing it out.

@harshita-2402 Looking Good To Me 😀
@ayeshafalak Can you please review it. 🙂


Implement functionality to detect that a site integrating the Wirewheel CMP is GPC-compliant

I did not reach anyone at Wirewheel yet. So nothing to do here at this point.

Maybe, we pick this up later.


Add charset attribute

To define the character encoding (HTML5):
<meta charset="utf-8">
Maybe like this:
<MetaTags charset="utf-8" />
Thanks 🤝

It would be easy to add this feature, but since most people use SvelteKit and define <meta charset="utf-8"> in app.html, it seems unnecessary.
The following code will accomplish the same thing.
<MetaTags
  additionalMetaTags={[
    {
      httpEquiv: 'content-type',
      content: 'text/html; charset=UTF-8',
    },
  ]}
/>


Chapter list opens in the middle

App version: <IP_ADDRESS>
Android version: 10
Issue/Request: chapter lists opens in the middle of the list when chapter list order is reversed.
Steps to reproduce (if applicable)

Bookmark a manga that has more chapters than the viewfinder
Reverse chapter order list
Exit manga and re-enter it

Other details:

It's another case of "it's not a bug it's a feature". Chapters screen try to put the latest unread chapter in the middle of the screen if possible, if it can't it just goes to the top or bottom of the screen.
For example if you are Midway in manga and open it, you'll see the next unread chapter right under your finger

But that's the thing, I'm nowhere near that place, i usually filter it to Unread only and it keeps going down to the middle of the chapter list.

Do you mind providing a screenshot of where it lands, what manga, and a rough idea what's read or unread of it? I can see it not going to the right place with the unread filter and read chapters all over the place.

Huh, weird, I'm trying to replicate the situation (It was volcanic age and I was at about chapter 60 but now it's working properly, even with no filters set up. Guess we'll never find out.


added dotenv to the server side s we can have env vars

DONT PULL THIS UNTIL I SAY SO

I will work with Hannah to make 100% sure this allows us to connect to our atlas database before i release the actual env information to the group.
this should be good to pull!


[BUG] Testimonials on the "What the experts are saying" section of the webpage are not aligned consistently.

Describe the bug.

Eric Horesnyi’s testimonial (bottom-right) is misaligned, ruining the clean layout.
Spacing between testimonials is inconsistent and looks off.

Expected behavior
All testimonials should take up equal space, maintaining consistent vertical alignment across rows for a balanced layout.
Screenshots

How to Reproduce

Open the webpage displaying the "What the experts are saying" section.
Observe the alignment of all four testimonials.
Notice that the bottom-right testimonial is misaligned compared to the others.

🥦 Browser
Google Chrome
👀 Have you checked for similar open issues?

[X] I checked and didn't find similar issue

🏢 Have you read the Contributing Guidelines?

[X] I have read the Contributing Guidelines

Are you willing to work on this issue ?
Yes I am willing to submit a PR!

Can I work on this?

Hey, this is Balraj,
A React Developer,
I have opened a PR offering a possible solution to this issue.
A positive response expected. 😄

Hi @BalrajDhakad @subrajeet-maharana, this issue is created by me(not a maintainer) and i will be working on it, please feel free to create your own unique issue to raise a PR.

Okay,
It is an easy fix, you can simply increase the length of the paragraph and it will take that blank space.
Because changing the CSS will not work there.

That doesn't look like an actual improvement that we require at the moment


WavLM for Source Separation

Describe
Thanks for sharing the code. I am trying to use the conformer with WavLM for source separation and I have some questions about the implementation details.

I'm wondering what is the batchsize when using the WavLM with conformer for source separation?

I am also wondering the range of the input? Should the input be normalized? It seems that the models provided on the Huggingface are not using the normalized input. However, to evaluate on the LibriCSS dataset, I think normalization is necessary since the recorded volume is very low.

Hi @leolya ,

Each training batch consists of 96 audio chunks, and chunk_size=4s, chunk_hop=2s.
We did apply the log spectrogram with utterance-wise mean-variance normalization when fine-tuning the separation model, and I think we didn't release the separation model on Huggingface yet~

Thanks for your reply! @Sanyuan-Chen
I mean the pre-trained WavLM on Huggingface. It seems like normalization is not applied to the input.

Yes, during pre-training, we didn't apply normalization to the input waveform of WavLM Base model, but did apply normalization to the input waveform of WavLM Large model.
For the separation fine-tuning, as introduced in our paper, there are two input features to the separation downstream model, which are the STFT feature and the pre-trained representation extracted from the WavLM model.
For the STFT feature, we "apply the log spectrogram with utterance-wise mean-variance normalization".
For the pre-trained representation, we use the same normalization setting as the pre-training stage, i.e.  normalization is not applied for the WavLM Base model, but applyed for WavLM Large model.

Thanks for replying!


Update utilities_blt.go

Changing last 4 uses of "colour" to "color". (The rest of the files all use "color" and don't need to be changed.)

Thanks! It was inconsistent, indeed.


FEATURE- Design a Name Logo of opentek Website

Is your feature request related to a problem? Please describe.
The logo of the website is very simple.
Describe the solution you'd like
I would like to design a name logo of the website to make it look professional.
Additional context
Under Gssoc'23, please assign me this task, Here are some designs I have made.

Please assign me this task @sunny0625

hey, @Tisha6661 will do this a level 2 if it is made exceptionally well. All the best

Here is the design

Looks good!
Can that eth symbol be changed to something else?

@AnirudhPanda Sure I'll try, and get to you soon.


ocamlPackages.resource-pooling: 1.1 → 1.2

Description of changes
Fixes: https://github.com/ocsigen/resource-pooling/releases/tag/1.2
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[x] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.11 Release Notes (or backporting 22.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[x] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 189066 run on x86_64-linux 1

2 packages built:

ocamlPackages.ocsigen-start
ocamlPackages.resource-pooling