"kick start go" fails with "table installed has no column named created_at"

Environment:
➜  go uname -a
Linux e590 5.10.70-1-MANJARO #1 SMP PREEMPT Thu Sep 30 15:29:01 UTC 2021 x86_64 GNU/Linux

➜  go go version
go version go1.17.1 linux/amd64

➜  go kick -v
1.0.0

Action and result:
➜  go kick install go git@github.com:kick-project/template-go.git
➜  go kick start go ~/projects/go/kicked-go

2021/11/03 09:53:28 /home/daniel/projects/gopath/pkg/mod/github.com/kick-project/kick@v1.0.0/internal/resources/sync/sync.go:194 table installed has no column named created_at
[0.937ms] [rows:0] INSERT OR REPLACE INTO `installed` (`created_at`,`updated_at`,`deleted_at`,`handle`,`template`,`origin`,`url`,`vcs_ref`,`desc`,`time`) VALUES ("2021-11-03 09:53:28.521","2021-11-03 09:53:28.521",NULL,"go","","","git@github.com:kick-project/template-go.git","","Direct installation","2021-11-03 09:53:27.235")
2021/11/03 09:53:28 table installed has no column named created_at
panic: table installed has no column named created_at

goroutine 1 [running]:
github.com/kick-project/kick/internal/resources/errs.Panic({0xbe6880, 0xc00007f680})
	/home/daniel/projects/gopath/pkg/mod/github.com/kick-project/kick@v1.0.0/internal/resources/errs/errs.go:106 +0x1c5
github.com/kick-project/kick/internal/resources/sync.(*Sync).Files(0xc0002f5860)
	/home/daniel/projects/gopath/pkg/mod/github.com/kick-project/kick@v1.0.0/internal/resources/sync/sync.go:195 +0x610
github.com/kick-project/kick/internal/services/start.Start.Start({0xc000312c80, 0xc00031e1b0, 0xc0002f4f00, {0xbe5980, 0xc0002bf448}, {0xbe6240, 0xc0000b4010}, {0xbe6240, 0xc0000b4008}, {0xbee6e0, ...}, ...}, ...)
	/home/daniel/projects/gopath/pkg/mod/github.com/kick-project/kick@v1.0.0/internal/services/start/start.go:68 +0xde
github.com/kick-project/kick/internal/subcmds/startcmd.Start({0xc0000b8010, 0x3, 0x3}, 0x1)
	/home/daniel/projects/gopath/pkg/mod/github.com/kick-project/kick@v1.0.0/internal/subcmds/startcmd/startcmd.go:46 +0x187
main.main()
	/home/daniel/projects/gopath/pkg/mod/github.com/kick-project/kick@v1.0.0/cmd/kick/main.go:53 +0x1e5
➜  go

Correct behaviour:
Go project should be generated with no error

Hi Fenthick, thanks for trying it. I’ll attend to this bug. If you run “kick setup” in the meantime before running “kick install” that should fix it.

If you run “kick setup” in the meantime before running “kick install” that should fix it.

➜  go kick setup
2021/11/04 10:24:01 can not migrate database: constraints not implemented on sqlite, consider using DisableForeignKeyConstraintWhenMigrating, more details https://github.com/go-gorm/gorm/wiki/GORM-V2-Release-Note-Draft#all-new-migrator
➜  go

No luck with that

After upgrade to 1.1.0 and running init I have following error:
➜  go kick -v
1.1.0
➜  go kick init
➜  go kick start go ~/projects/go/kicked-go
2021/11/04 10:32:58 template.go:174: Build Error: rename /tmp/kick-go-2604356363 /home/daniel/projects/go/kicked-go: invalid cross-device link
panic: Build Error: rename /tmp/kick-go-2604356363 /home/daniel/projects/go/kicked-go: invalid cross-device link

goroutine 1 [running]:
github.com/kick-project/kick/internal/utils/errutils.Epanicf({0xa22570, 0xf}, {0xc00013bd60, 0x1, 0x1})
	/home/daniel/projects/gopath/pkg/mod/github.com/kick-project/kick@v1.1.0/internal/utils/errutils/errutils.go:53 +0x6e
github.com/kick-project/kick/internal/resources/template.(*Template).Run(0xc0001464d0)
	/home/daniel/projects/gopath/pkg/mod/github.com/kick-project/kick@v1.1.0/internal/resources/template/template.go:174 +0x19c
github.com/kick-project/kick/internal/subcmds/startcmd.Start({0xc0000200d0, 0x3, 0x3}, 0xc00015b450)
	/home/daniel/projects/gopath/pkg/mod/github.com/kick-project/kick@v1.1.0/internal/subcmds/startcmd/startcmd.go:47 +0x278
main.main()
	/home/daniel/projects/gopath/pkg/mod/github.com/kick-project/kick@v1.1.0/cmd/kick/main.go:35 +0x11a
➜  go

Probably cross-filesystem rename is not possible. I think copying would resolve the issue.

Hi Feni

If you run “kick setup” in the meantime before running “kick install” that should fix it.

➜  go kick setup
2021/11/04 10:24:01 can not migrate database: constraints not implemented on sqlite, consider using DisableForeignKeyConstraintWhenMigrating, more details https://github.com/go-gorm/gorm/wiki/GORM-V2-Release-Note-Draft#all-new-migrator
➜  go

No luck with that

This error is to do with the SQLite3 database, specifically foreign key support.
Some questions.

What version of SQLite3 are you using?

# Debian based OS
sudo dpkg -l | grep sqlite
# Redhat based OS
sudo rpm -qa | grep sqlite

What Linux distribution and version of the distro are you running

I will start up a VM and poke around in this version.

Hi Fenthick,
Thanks for your patience. I think there will be a few bugs to iron out as for a long time it was just me using the tool. I apologise in advance I should have not released as a v1.X.X as this is more of a beta release E.G. v0.X.X
I can not reproduce your exact error but I have found another issue. When the /tmp folder is a different mount point, the installation of of the full folder will not complete.

I can't reproduce kick install ... problem you had. It prints a clean message to run kick setup. I had rebased the master branch (for a long time it was just me using my tool) and have noticed some strange problems after the rebase. Try a fresh clone of the repo and see if that works.
The cross linking error sounds like different mountpoints. What is the device that the /tmp directory is mounted under and the  /home/daniel/projects/go folder. Can you run mount and paste the output.

What I have tried...
Starting from a fresh Vagrant installation.

Ubuntu 20.04.2 LTS
Mount points (tmp is a separate mount point)

mount -t ext4
/dev/mapper/vgvagrant-root on / type ext4 (rw,relatime,errors=remount-ro)
/dev/sdb on /tmp type ext4 (rw,relatime,errors=remount-ro)

gcc and make installed

I downloaded the git repo git clone https://github.com/kick-project/kick.git
Moved the kick setup folder asside mv ~/.kick ~/.kick.bak to replicate a new installation
Ran make depdev to install development dependencies
Ran make install to install the go binary to ${GOPATH}/bin
Ran kick install ... prior to kick setup to test what happens

kick install go https://github.com/kick-project/template-go.git
not initialized. please run "kick setup" to initialize configuration

Ran kick setup to setup the ~/.kick directory
Ran kick install ... again after kick setup

kick install go https://github.com/kick-project/template-go.git
installed handle:go -> location:https://github.com/kick-project/template-go.git

Ran kick start go myproject under the same mount point as the /tmp filesystem

cd /tmp
kick start go myproject
myproject
├── cmd
│   └── myproject
│       └── myproject.go
├── goinstalls.txt
├── go.mod
├── internal
│   ├── internal.go
│   ├── options
│   │   └── options.go
│   └── version.go.in
├── Makefile
├── myproject.rb.in
├── NAME
├── nfpm.yaml.in
├── README.md
└── VERSION

ran kick start go myrpoject under a different mountpoint to the /tmp folder and found a bug.

cd ~
kick start go myproject
tree myproject/
myproject/
0 directories, 0 files

Earlier I used kick installed without checking out the repo by using go install -v<EMAIL_ADDRESS>and go install -v github.com/kick-project/kick/cmd/kick@latest (which points to 1.1.0).
Today I cloned the repo and installed the tool from master f4f6187 and those are results (migration error):
➜  kick git:(master) git glog -1
* f4f6187  (HEAD -> master, origin/master, origin/HEAD) Vagrant support to test cp across mountpoints. (2 days ago) <Dexter Plameras>
➜  kick git:(master) git
➜  kick git:(master) go install -v ./cmd/kick
# github.com/mattn/go-sqlite3
sqlite3-binding.c: In function ‘sqlite3SelectNew’:
sqlite3-binding.c:128049:10: warning: function may return address of local variable [-Wreturn-local-addr]
128049 |   return pNew;
       |          ^~~~
sqlite3-binding.c:128009:10: note: declared here
128009 |   Select standin;
       |          ^~~~~~~
➜  kick git:(master) kick -v
1.1.0
➜  kick git:(master) kick setup
2021/11/09 09:41:14 can not migrate database: constraints not implemented on sqlite, consider using DisableForeignKeyConstraintWhenMigrating, more details https://github.com/go-gorm/gorm/wiki/GORM-V2-Release-Note-Draft#all-new-migrator
➜  kick git:(master) kick install go git@github.com:kick-project/template-go.git
➜  kick git:(master) kick setup
2021/11/09 09:41:22 can not migrate database: constraints not implemented on sqlite, consider using DisableForeignKeyConstraintWhenMigrating, more details https://github.com/go-gorm/gorm/wiki/GORM-V2-Release-Note-Draft#all-new-migrator
➜  kick git:(master) kick init
Usage:
    kick init repo <name> [<path>]
    kick init template <name> [<path>]
➜  kick git:(master) kick start go ~/projects/go/kicked-go

2021/11/09 09:41:38 /home/daniel/projects/external/kick/internal/resources/sync/sync.go:194 table installed has no column named created_at
[0.685ms] [rows:0] INSERT OR REPLACE INTO `installed` (`created_at`,`updated_at`,`deleted_at`,`handle`,`template`,`origin`,`url`,`vcs_ref`,`desc`,`time`) VALUES ("2021-11-09 09:41:38.895","2021-11-09 09:41:38.895",NULL,"go","","","git@github.com:kick-project/template-go.git","","Direct installation","2021-11-09 09:41:37.796")
2021/11/09 09:41:38 table installed has no column named created_at
panic: table installed has no column named created_at

goroutine 1 [running]:
github.com/kick-project/kick/internal/resources/errs.Panic({0xbe6840, 0xc00009c930})
	/home/daniel/projects/external/kick/internal/resources/errs/errs.go:106 +0x1c5
github.com/kick-project/kick/internal/resources/sync.(*Sync).Files(0xc000398240)
	/home/daniel/projects/external/kick/internal/resources/sync/sync.go:195 +0x610
github.com/kick-project/kick/internal/services/start.Start.Start({0xc00037ac80, 0xc000360e10, 0xc0003418c0, {0xbe5940, 0xc000368088}, {0xbe6200, 0xc000010020}, {0xbe6200, 0xc000010018}, {0xbee6a0, ...}, ...}, ...)
	/home/daniel/projects/external/kick/internal/services/start/start.go:68 +0xde
github.com/kick-project/kick/internal/subcmds/startcmd.Start({0xc0000200d0, 0x3, 0x3}, 0x1)
	/home/daniel/projects/external/kick/internal/subcmds/startcmd/startcmd.go:46 +0x187
main.main()
	/home/daniel/projects/external/kick/cmd/kick/main.go:53 +0x1e5
➜  kick git:(master) uname -a
Linux e590 5.10.70-1-MANJARO #1 SMP PREEMPT Thu Sep 30 15:29:01 UTC 2021 x86_64 GNU/Linux
➜  kick git:(master) mount
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
sys on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
dev on /dev type devtmpfs (rw,nosuid,relatime,size=16282412k,nr_inodes=4070603,mode=755,inode64)
run on /run type tmpfs (rw,nosuid,nodev,relatime,mode=755,inode64)
efivarfs on /sys/firmware/efi/efivars type efivarfs (rw,nosuid,nodev,noexec,relatime)
/dev/mapper/luks-4f8c0fd3-4a07-4545-b045-a37a0375f9e2 on / type ext4 (rw,noatime)
securityfs on /sys/kernel/security type securityfs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /dev/shm type tmpfs (rw,nosuid,nodev,inode64)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
cgroup2 on /sys/fs/cgroup type cgroup2 (rw,nosuid,nodev,noexec,relatime,nsdelegate,memory_recursiveprot)
pstore on /sys/fs/pstore type pstore (rw,nosuid,nodev,noexec,relatime)
none on /sys/fs/bpf type bpf (rw,nosuid,nodev,noexec,relatime,mode=700)
systemd-1 on /proc/sys/fs/binfmt_misc type autofs (rw,relatime,fd=30,pgrp=1,timeout=0,minproto=5,maxproto=5,direct,pipe_ino=16644)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
hugetlbfs on /dev/hugepages type hugetlbfs (rw,relatime,pagesize=2M)
mqueue on /dev/mqueue type mqueue (rw,nosuid,nodev,noexec,relatime)
tracefs on /sys/kernel/tracing type tracefs (rw,nosuid,nodev,noexec,relatime)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,size=16294564k,nr_inodes=409600,inode64)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc (rw,nosuid,nodev,noexec,relatime)
configfs on /sys/kernel/config type configfs (rw,nosuid,nodev,noexec,relatime)
fusectl on /sys/fs/fuse/connections type fusectl (rw,nosuid,nodev,noexec,relatime)
/var/lib/snapd/snaps/bare_5.snap on /var/lib/snapd/snap/bare/5 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core_10126.snap on /var/lib/snapd/snap/core/10126 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/screen_75.snap on /var/lib/snapd/snap/screen/75 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gtk-common-themes_1519.snap on /var/lib/snapd/snap/gtk-common-themes/1519 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core_11993.snap on /var/lib/snapd/snap/core/11993 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/core18_2246.snap on /var/lib/snapd/snap/core18/2246 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/kreya_68.snap on /var/lib/snapd/snap/kreya/68 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/hello-world_29.snap on /var/lib/snapd/snap/hello-world/29 type squashfs (ro,nodev,relatime,x-gdu.hide)
/var/lib/snapd/snaps/gnome-3-34-1804_72.snap on /var/lib/snapd/snap/gnome-3-34-1804/72 type squashfs (ro,nodev,relatime,x-gdu.hide)
/dev/nvme0n1p1 on /boot/efi type vfat (rw,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro)
tmpfs on /run/user/1000 type tmpfs (rw,nosuid,nodev,relatime,size=3258912k,nr_inodes=814728,mode=700,uid=1000,gid=1000,inode64)
gvfsd-fuse on /run/user/1000/gvfs type fuse.gvfsd-fuse (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
jetbrains-toolbox on /tmp/.mount_jetbraEI5L3h type fuse.jetbrains-toolbox (ro,nosuid,nodev,relatime,user_id=1000,group_id=1000)
portal on /run/user/1000/doc type fuse.portal (rw,nosuid,nodev,relatime,user_id=1000,group_id=1000)
run on /run/snapd/ns type tmpfs (rw,nosuid,nodev,relatime,mode=755,inode64)
nsfs on /run/snapd/ns/kreya.mnt type nsfs (rw)
➜  kick git:(master) pamac show sqlite
Available actions:
  pamac --version
  pamac --help, -h     [action]
  pamac search         [options] <package(s)>
  pamac list           [options] <package(s)>
  pamac info           [options] <package(s)>
  pamac install        [options] <package(s)>
  pamac reinstall      [options] <package(s)>
  pamac remove         [options] [package(s)]
  pamac checkupdates   [options]
  pamac update,upgrade [options]
  pamac clone          [options] <package(s)>
  pamac build          [options] [package(s)]
  pamac clean          [options]
➜  kick git:(master) pamac info sqlite
Name                  : sqlite
Version               : 3.36.0-1
Description           : A C library that implements an SQL database engine
URL                   : https://www.sqlite.org/
Licenses              : custom:Public Domain
Repository            : core
Installed Size        : 10,0 MB
Depends On            : readline zlib
Make Dependencies     : tcl readline zlib
Required By           : colord docker filezilla gnupg gom ipython lib32-sqlite libaccounts-glib libchamplain libsoup libsoup3 nss python-apsw python2 qt5-base tracker tracker3 webkit2gtk
Optional For          : apr-util nfs-utils python
Provides              : sqlite3=3.36.0
Replaces              : sqlite3
Packager              : Andreas Radke<EMAIL_ADDRESS>Build Date            : 19.06.2021
Install Date          : 27.07.2021
Install Reason        : Installed as a dependency for another package
Signatures            : Yes

➜  kick git:(master)

However after removing ~/.kick directory I am able to start a project but it seems to be almost empty:
➜  kick git:(master) rm -rf ~/.kick
➜  kick git:(master) make depdev
/bin/bash: line 1: maker: command not found
make: *** [Makefile:343: depdev] Error 127
➜  kick git:(master)
➜  kick git:(master) kick install go git@github.com:kick-project/template-go.git
not initialized. please run "kick setup" to initialize configuration
➜  kick git:(master) kick setup
➜  kick git:(master) kick install go git@github.com:kick-project/template-go.git
installed handle:go -> location:git@github.com:kick-project/template-go.git
➜  kick git:(master) kick start go ~/projects/go/kicked-go
created project handle:go -> project:/home/daniel/projects/go/kicked-go
➜  kick git:(master) l ~/projects/
➜  kick git:(master) l ~/projects/go/kicked-go
total 20K
drwxr-xr-x 3 daniel daniel 4,0K 11-09 09:45 .
drwxr-xr-x 7 daniel daniel 4,0K 11-09 09:45 ..
-rw-r--r-- 1 daniel daniel  110 11-09 09:45 .editorconfig
-rw-r--r-- 1 daniel daniel  168 11-09 09:45 .env
drwxr-xr-x 3 daniel daniel 4,0K 11-09 09:45 .github
➜  kick git:(master) l /tmp/kick-go*
/tmp/kick-go-291155904:
total 52K
drwx------  5 daniel daniel  340 11-09 09:19 .
drwxrwxrwt 32 root   root   1,1K 11-09 09:45 ..
drwxr-xr-x  3 daniel daniel   60 11-09 09:19 cmd
-rw-r--r--  1 daniel daniel  110 11-09 09:19 .editorconfig
-rw-------  1 daniel daniel  168 11-09 09:19 .env
drwxr-xr-x  3 daniel daniel   60 11-09 09:19 .github
-rw-------  1 daniel daniel  305 11-09 09:19 .gitignore
-rw-r--r--  1 daniel daniel  666 11-09 09:19 goinstalls.txt
-rw-------  1 daniel daniel   24 11-09 09:19 go.mod
drwxr-xr-x  3 daniel daniel  100 11-09 09:19 internal
-rw-r--r--  1 daniel daniel  390 11-09 09:19 kicked-go.rb.in
-rw-r--r--  1 daniel daniel   57 11-09 09:19 .kick.yml
-rw-r--r--  1 daniel daniel 7,7K 11-09 09:19 Makefile
-rw-------  1 daniel daniel   10 11-09 09:19 NAME
-rw-r--r--  1 daniel daniel  556 11-09 09:19 nfpm.yaml.in
-rw-------  1 daniel daniel   12 11-09 09:19 README.md
-rw-r--r--  1 daniel daniel    6 11-09 09:19 VERSION

/tmp/kick-go-3862622893:
total 40K
drwx------  5 daniel daniel  280 11-09 09:45 .
drwxrwxrwt 32 root   root   1,1K 11-09 09:45 ..
drwxr-xr-x  3 daniel daniel   60 11-09 09:45 cmd
drwxr-xr-x  2 daniel daniel   40 11-09 09:45 .github
-rw-------  1 daniel daniel  305 11-09 09:45 .gitignore
-rw-r--r--  1 daniel daniel  666 11-09 09:45 goinstalls.txt
-rw-------  1 daniel daniel   24 11-09 09:45 go.mod
drwxr-xr-x  3 daniel daniel  100 11-09 09:45 internal
-rw-r--r--  1 daniel daniel  390 11-09 09:45 kicked-go.rb.in
-rw-r--r--  1 daniel daniel 7,7K 11-09 09:45 Makefile
-rw-------  1 daniel daniel   10 11-09 09:45 NAME
-rw-r--r--  1 daniel daniel  556 11-09 09:45 nfpm.yaml.in
-rw-------  1 daniel daniel   12 11-09 09:45 README.md
-rw-r--r--  1 daniel daniel    6 11-09 09:45 VERSION
➜  kick git:(master)

However starting project under the /tmp mount point works:
➜  kicked-go kick start go /tmp/kicked-go
created project handle:go -> project:/tmp/kicked-go
➜  kicked-go l /tmp/kicked-go
total 48K
drwx------  5 daniel daniel  320 11-09 09:50 .
drwxrwxrwt 33 root   root   1,2K 11-09 09:50 ..
drwxr-xr-x  3 daniel daniel   60 11-09 09:50 cmd
-rw-r--r--  1 daniel daniel  110 11-09 09:50 .editorconfig
-rw-------  1 daniel daniel  168 11-09 09:50 .env
drwxr-xr-x  3 daniel daniel   60 11-09 09:50 .github
-rw-------  1 daniel daniel  305 11-09 09:50 .gitignore
-rw-r--r--  1 daniel daniel  666 11-09 09:50 goinstalls.txt
-rw-------  1 daniel daniel   24 11-09 09:50 go.mod
drwxr-xr-x  3 daniel daniel  100 11-09 09:50 internal
-rw-r--r--  1 daniel daniel  390 11-09 09:50 kicked-go.rb.in
-rw-r--r--  1 daniel daniel 7,7K 11-09 09:50 Makefile
-rw-------  1 daniel daniel   10 11-09 09:50 NAME
-rw-r--r--  1 daniel daniel  556 11-09 09:50 nfpm.yaml.in
-rw-------  1 daniel daniel   12 11-09 09:50 README.md
-rw-r--r--  1 daniel daniel    6 11-09 09:50 VERSION

To sum up:

Migrations do not work for me probably due to too new sqlite version
Starting project in different mount point than /tmp creates only subset of files
Starting project in the same mount point as /tmp works well.

Hello @Fenthick ,
I've made some changes that I think will fix the issues you have outlined.

Migrations do not work for me probably due to too new sqlite version

Since you removed the ~/.kick directory and the subsequent sqlite3 database file. ~/.kick/metadata/metadata.db this will avoid the need for migration.
BTW you can backup the ~/.kick/templates.yml and ~/.kick/config.yml files and copy them to any ~/.kick/  installation. You can remove the other files they will get recreated. The metadata.db file is just easier to programatically query then a yaml file.

Starting project in different mount point than /tmp creates only subset of files

This should be fixed. To build see the instructions BUILD.md
I've tested this in Vagrant.

Makefile doesn't work for me, because I don't have maker command (which I cannot find in pamac / AUR)

This is installed using make depsdev.  See BUILD.md for the complete picture.
Let me know how it goes. If it works for you, I will release 1.1.0.

Installed latest f731681 version and it works now:
➜  external kick install go https://github.com/kick-project/template-go.git
installed handle:go -> location:https://github.com/kick-project/template-go.git
➜  external kick start go ~/projects/external/kicked-go
created project handle:go -> project:/home/daniel/projects/external/kicked-go
➜  external l kicked-go
total 68K
drwxr-xr-x  5 daniel daniel 4,0K 12-09 12:39 .
drwxrwxr-x 29 daniel daniel 4,0K 12-09 12:39 ..
drwxr-xr-x  3 daniel daniel 4,0K 12-09 12:39 cmd
-rw-r--r--  1 daniel daniel  110 12-09 12:39 .editorconfig
-rw-r--r--  1 daniel daniel  168 12-09 12:39 .env
drwxr-xr-x  3 daniel daniel 4,0K 12-09 12:39 .github
-rw-r--r--  1 daniel daniel  305 12-09 12:39 .gitignore
-rw-r--r--  1 daniel daniel  666 12-09 12:39 goinstalls.txt
-rw-r--r--  1 daniel daniel   24 12-09 12:39 go.mod
drwxr-xr-x  3 daniel daniel 4,0K 12-09 12:39 internal
-rw-r--r--  1 daniel daniel  390 12-09 12:39 kicked-go.rb.in
-rw-r--r--  1 daniel daniel 7,7K 12-09 12:39 Makefile
-rw-r--r--  1 daniel daniel   10 12-09 12:39 NAME
-rw-r--r--  1 daniel daniel  556 12-09 12:39 nfpm.yaml.in
-rw-r--r--  1 daniel daniel   12 12-09 12:39 README.md
-rw-r--r--  1 daniel daniel    6 12-09 12:39 VERSION

The issue can be closed.

Fixed in release 1.1.0
Thanks for your attention.
I'm aiming to get enough stars and watches to add this project to homebrew.
If you have any colleagues that might find this tool useful, please consider sending them a link and asking them to star or watch the project.
Kind Regards
Dexter


the program is not recognized

I do not understand what is the problem. Could someone can help?

Try writing it without the slash: PotreeConverter.exe
You also wrote Convertor instead of Converter.


Mouse sensitivity (acceleration, inertia)?

Wondering if Durazno could (feature request for next version?) alter mouse input too, to change acceleration and inertia...
There are some games (e.g. Arkanoid Eternal Battle) which are missing a decent mouse fine tuning, and was looking for some tools to change this per-game, like Durazno does for controllers.

Durazno it's only a XInput wrapper, there's no mouse data to alter.
There are many ways to get mouse data, for DirectInput this projects might help: dinputto8, dxwrapper, dinput8wrapper. Or for something driver based, you might wanna check this projects: InterAccel, rawaccel


\cdot gets overwritten

Currently, typing cdot gets replaced by \dot{c}, and typing \cdot gets replaced by \\dot{c}, leaving no way to obtain \cdot (without editing the inserted snippets). I think this was a recent change since cdot used to work?

Resonating on this, I think a more general issue is the priority setting of the trigger.
For example, if I type $\beta$, it will be autocorrected with $\b\eta$, due to the high priority of trigger $eta$.
Similar issues happens in a lot of places and it does not seem to be able to recognize the backslash $$ that I have manually typed.
A proposed solution as a feature request is to lower the priority of the trigger such that when it detects backslash $$ and manual command following backslash, it does not autocorrect the expression.
Follow up on this would be greatly appreciated.

Currently, typing cdot gets replaced by \dot{c}, and typing \cdot gets replaced by \\dot{c}, leaving no way to obtain \cdot (without editing the inserted snippets). I think this was a recent change since cdot used to work?

Ok, I checked the document again and I guess it could be solved by modifying the default snippet and reduce the priority level or turn off the "auto" mode, depending on your personal preference.

Currently, typing cdot gets replaced by \dot{c}, and typing \cdot gets replaced by \\dot{c}, leaving no way to obtain \cdot (without editing the inserted snippets). I think this was a recent change since cdot used to work?

Ok, I checked the document again and I guess it could be solved by modifying the default snippet and reduce the priority level or turn off the "auto" mode, depending on your personal preference.

that would require doing it for each snippet. By far the most difficult part when using this plugin is that there is no rule that prevents autocompletion when the user types \ . Naively this seems possible.

This is resolved in the latest release, where {trigger: "cdot", replacement: "\\cdot", options: "mA", priority: 2}, has been added to the default snippets.


Error in file_averaging.py

You mentioned to run final_averaging.py, but i guess you meant file_averaging.py
$ python file_averaging.py
Traceback (most recent call last):
File "file_averaging.py", line 64, in
avg = read_models(model_weights1)
NameError: name 'model_weights1' is not defined

It's fixed sorry for the problem !


chore(deps): upgrade dependencies

Upgrades project dependencies. See details in workflow run.

Automatically created by projen via the "upgrade" workflow

Codecov Report

Merging #62 (6d75a16) into main (4958138) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main       #62   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            3         3
  Lines           27        26    -1
=========================================
- Hits            27        26    -1

Impacted Files
Coverage Δ

src/backend-stack.ts
100.00% <100.00%> (ø)

src/lambda/process-metrics-function.ts
100.00% <100.00%> (ø)

src/stateful-stack.ts
100.00% <100.00%> (ø)

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 de4911f...6d75a16. Read the comment docs.


Update admin.go

Delete a user

You could also add should_soft_delete flag in the request body to apply soft delete,
What soft delete does https://github.com/supabase/supabase/issues/20057#issuecomment-2016861084
reference:

https://supabase.com/docs/reference/javascript/auth-admin-deleteuser
https://github.com/supabase/auth/blob/7de0cb3c2f816504e452d0e6b02292f747030a88/internal/api/admin.go#L508
https://github.com/supabase/auth/blob/7de0cb3c2f816504e452d0e6b02292f747030a88/internal/api/admin.go#L36

You could also add should_soft_delete flag in the request body to apply soft delete,
What soft delete does supabase/supabase#20057 (comment)
reference:

https://supabase.com/docs/reference/javascript/auth-admin-deleteuser
https://github.com/supabase/auth/blob/7de0cb3c2f816504e452d0e6b02292f747030a88/internal/api/admin.go#L508
https://github.com/supabase/auth/blob/7de0cb3c2f816504e452d0e6b02292f747030a88/internal/api/admin.go#L36

I did not want to close but merge :)


Bundling without vscode

Hi, has someone experimented bundling (am using create-react-app) without vscode to reduce bundle size?

The core combination of monaco-editor & vscode is the bare minimum, but all non-mandatory service are loaded as dynamic imports and therefore only if you configure them.
npm run build creates a production bundle with vite/rollup for both packages.

so there is now chance to get below the 8MB

That is the price for having the real vscode api compared to the re-implemented api monaco-languageclient had in the past. Splitting the extension hosts up further did not work:
https://github.com/CodinGame/monaco-vscode-api/issues/136
If you don't need the languageclient then of course it is always the option to stick with pure monaco-editor.

Bundles have become smaller, but we need to rely on @codingame/monaco-vscode-api.


Best practices for storing/initializing environment?

So despite reading essentially all of the fisherman wiki, I'm still a bit confused as to where the best place to save my environment variables would be. Would it be in a custom plugin in the myplugin.config.fish file? Or somewhere else? I'm mostly concerned so I can then symlink these environment vars from my dotfiles to easily restore the state of fish/fisherman in the event of a machine reset/OS reinstall.

@andrew-kennedy You can add your variables and other desired configuration to your config.fish and add any code before or after (after if you want to override any Fisherman defaults) Fisherman configuration that was added after the install.

@bucaran

I suggest you simply put your configuration in your config.fish after Fisherman's own 3 line setup.

Will do, thanks!

About adding functions, you can put them inside ~/.config/fish/functions as you would expect :+1:
One thing to be are of tis that $fisher_home/functions are always before your user functions in the $fish_function_path. This was an early design decision in order to prevent users from redefining core functions by mistake or by means other than though plugins (which is the recommended way to redefine Fisherman's core).
In other words, you are free to create a plugin that modifies a Fisherman core function, but you can't redefine a Fisherman function privately by saving it to your ~/.config/fish/functions.
Here is the rationale, if you found a bug in a Fisherman function, instead of creating a private patch send it upstream!
If you created a function that overrides a Fisherman core feature, create a plugin. This way the community can benefit from your code whenever you are ready to publish it.
For an example of a plugin that takes advantage of this, see autoinit, which is how OhMyFish! and Wahoo init_* events are supported in Fisherman for those using legacy plugins.

@andrew-kennedy Let me know if this makes sense and if you need help with anything else. Also whatever you end up doing too, please share it :smile:. This knowledge will be useful to future adopters.
Join the Slack room too if you have a chance.

@andrew-kennedy You may also be interested in checking out these casts I made in the other issue.
https://github.com/fisherman/fisherman/issues/97#issuecomment-183142068

@andrew-kennedy Thank you for the questions. Feel free to reopen or create a new issue if you have more questions. I am closing this for now. :+1:


Kdepim 17.08

Motivation for this change
Yet another attempt at getting KMail up to date.
Based on https://github.com/NixOS/nixpkgs/pull/28366 and https://github.com/NixOS/nixpkgs/pull/27224
Things done

[ ] Tested using sandboxing
(nix.useSandbox on NixOS,
or option build-use-sandbox in nix.conf
on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] Linux

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

KMail 17.08 works fine in this branch. I think I tried all PIM applications (akregator, kaddressbook, kontact, kleopatra). Hope this can finally land.

Rebased on #28366 after #27224 landed in master.

@ttuegel These are some more patches needed to get kdepim to work on kdeapplications 17.08.


Removed ko.utils.makeArray

As of the new versión 3.3.0, the ko.utils.makeArray isn't defined...

@SergioMorchon really? https://github.com/knockout/knockout/blob/master/src/utils.js#L460
I think knockout has makeArray function...

See at the bottom, the export symbols section.
Also you can try to execute it at knockouts page, which uses the latest version, and you'll see that this method doesn't exists. That's what happened to me.


TypeError: Cannot read property 'store' of null

Hello!
I run
npm start
Then set URL of my server to  property .trex file.
Then I open the extension in Tableau desktop and I see this error:
Error: Could not find «store» in the context of «Connect(Container)». Either wrap the root component in a <Provider>, or pass a custom React context provider to <Provider> and the corresponding React context consumer to Connect(Container) in connect options.

src/App.js
577 .then(closePayload => {
578    log(‘configuring’, closePayload, tableauExt.settings.getAll());
579    if (closePayload == ‘false’) {
580        this.setState({
581            isSplash: false,
582            isConfig: false,
583            tableauSettings: tableauExt.settings.getAll()

And when I open my dashboard in Chrome browser, I see white page and this error in the console:

Can you help me?

I just upgraded npm module react-redux and the problem is gone


JSON API not enabled for ordinals.com

Could you please run ordinals.com with the --enable-json-api flag to access endpoints that return JSON instead of HTML.
 We don't want to create the same thing as we have on ETH where everyone runs infra off of infura and alchemy.


Make the raw key values batch migration parameters configurable

@caipengbo I think we can close this issue for now?


Pp 10734 revert webhooks

Closing as we may not need this anymore - as the network changes are being made to toolbox & webhook


feat: add custom eslint plugin for organization repositories

Reason/Context

Why we need this improvement?

Extending the issue: https://github.com/asyncapi/community/issues/238

As our organization is expanding and we are creating/migrating more repositories, some of them also require eslint integration.
This is problematic because we have to copy the config file from our other repository each time. We should go in the direction of
one configuration that we can override, something like the @asyncapi/eslint-plugin package. The config itself should support both > JS and TS and should extend plugins like:
sonarjs
security
react
jest/mocha (depending on which test framework is used in the repo)

How will this change help?

This change would help create a unified eslint config across the repositories of the organization.
Description

What changes have to be introduced?

Each project has different requirements according to the codebase. In context to the current repository, i.e., AsyncAPI/website, it uses the following plugins for eslint:
["eslint:recommended", "plugin:react/recommended" , "plugin:cypress/recommended"]

And the following custom rules:
"rules": {
    "react/react-in-jsx-scope": "off",
    "no-useless-catch": "off",
},

A union of all these plugins can be added to the npm package https://www.npmjs.com/package/@anshgoyalevil/eslint-config and that npm package can be used instead of defining those plugins in the .eslintrc.js file of each repository.
Custom rules for each repository can then be defined in a new .eslintrc.js file which extends the eslint-config package.

Will this be a breaking change?

This wouldn't break anything, since eslint configuration would remain intact, just the way to define things would differ.

How could it be implemented/designed?

This can be implemented by:

Uninstall the current eslint plugins which are already installed
Install the plugin anshgoyalevil/eslint-config
Follow the documentation written at: https://www.npmjs.com/package/@anshgoyalevil/eslint-config

// @derberg

I'm all in
@akshatnema @magicmatatjahu I think we should try it here, maybe also in some other repo and after few weeks we can start discussion to use it all over the place.
@anshgoyalevil when we get that far as I described, would you be interested donating and maintaining the project under asyncapi org?

@anshgoyalevil
Yeah. I created it for AsyncAPI specifically 😄 If it would work fine, I would be more than happy to have it all around, and move it to asyncapi org.

so yeah, I guess you can open a first PR to integrate it with the website

@derberg @anshgoyalevil are we done with adding eslint-config inside asyncapi Github org?

@akshatnema Not yet. Was busy with some other work. Would try doing it ASAP.

@anshgoyalevil Any updates on this?

@anshgoyalevil Any updates on this?

I'm working on this

@akshatnema I am currently caught up with the LFX Mentorship, so couldn't find a time to test the plugin.
@lordpruthu You can take up this issue. The initial plugin is ready, you just need to test it with the asyncapi/website repository and make changes if any. Here's the link to it: https://github.com/anshgoyalevil/eslint-config


Unbreak tests by pinning responses

The newest 0.17.0 version of the repsonses library breaks our tests in mysterious ways, so pin it to the previous 0.16.0 version. We don't use this library directly, but it's a sub-dependency of moto.
Also pin the top-level test dependencies to make the version cocktail more predictable.

(Kanskje relatert til getsentry/responses/issues/467?)

Mistenkte det samme!


A warning tip from IDEA importing an initialized Java application and library project.

Expected Behavior

No warning tip from IDEA in the closure of dependency constraints.
Current Behavior

Context

I fixed the warning by modifying the code as follow:
dependencies {
    constraints {
        // Define dependency versions as constraints
        add("implementation", "org.apache.commons:commons-text") {
            version {
                strictly("1.9")
            }
        }
    }
}

Steps to Reproduce

Gradle Version: 7.6
IDEA Ultimate Version： 2022.3
gradle init
2: application
3: Java
2: yes - application and library projects
1: Groovy
no
Your Environment

Build scan URL:

And also the same problem in the gradle docs: https://docs.gradle.org/7.6/userguide/dependency_constraints.html#sec:adding-constraints-transitive-deps

Okay, got it.


Add icon to blankslate

Added a test, and an example for that. Now we can optionally add an icon in the top of the blankslate

Codecov Report

Merging #234 into master will not change coverage.
The diff coverage is 100%.

@@          Coverage Diff          @@
##           master   #234   +/-   ##
=====================================
  Coverage     100%   100%
=====================================
  Files         133    133
  Lines        3000   3006    +6
  Branches      647    649    +2
=====================================
+ Hits         3000   3006    +6

Impacted Files
Coverage Δ

src/components/blankSlate/BlankSlate.tsx
100% <100%> (ø)
:arrow_up:

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 d65991e...5ade9ed. Read the comment docs.


CreateJS no longer recognizes hit areas in Chrome 64.0.3282.119

With the release of Chrome 64.0.3282.119 we are finding that CreateJS no longer recognizes hitAreas that are MovieClips, if those MovieClips are cached. Simple shapes or MovieClips that are not cached continue to work fine as the hitArea. All other browsers including Chrome 63.x.x.x work fine with MovieClips that are cached.
We utilize MovieClips extensively for hitAreas (DisplayObject.hitArea). In our code base, we process the JS output from Animate CC into TypeScript classes and automatically cache most MovieClip instances on creation. This sudden change in behavior has had a huge negative impact on our product. Our solution has been to uncache these hitArea clips and make sure they are removed from the stage though this too has other ramifications. Often we used a "background" clip within the symbol to be the hitArea. Thus we have had to sometimes add a duplicate clip to take care of that function.
This behavior occurs on Windows 10 as well as Chrome OS. Has not been tested on Mac.

Can confirm this happens to us as well on Mac with cached bitmaps. We've had to uncache them to get it to work.
@mjonkman if you test this in Canary (v66) the issue seems to have resolved itself.

Does this problem affect cached HitAreas that aren't MovieClips? Do you have a simple reproduction case?

Can you provide an isolated sample to show the issue? I made a quick spike, and it seems to work as expected.
https://jsfiddle.net/lannymcnie/fydkx9pp/3/

I've tasked a member of my team to create a simpler test case for you as our product is fairly large and complex.  My team is still running full out to get things running stably again across browsers and meet a revised late deadline so our response might not be immediate but should be within 24-36 hr.

The following fiddle shows the issue
https://jsfiddle.net/mjonkman/hrx680ns/
To provide a bit of background, we develop in TypeScript so we modify the js output from AnimateCC and convert each symbol into a TypeScript class - with us setting the bounds and caching the item (note we cache at 2x). The output at the top of this file represents output from the TypeScript compiler back into JavaScript. I don't believe this is the source of any of the issues but just thought I'd explain what you are seeing.
In the example above the hitArea will respond correctly around the Glasses and an area below it on IE, Edge, Chrome 63 etc. However, you will notice that the hitArea doesn't respond in Chrome 64. Just below the creation of the hitArea clip, is a commented out section that uncaches the ha clip. Uncomment the uncache and the hitArea immediately responds in Chrome 64. I have not tested this with the Canary release for Chrome 66.
Normally there is a text label associated with the icon and thus the hit area is bigger then just the glasses icon.

Works without uncommenting for me, Chrome for Linux version 64.0.3282.140
Just a note on canary: I'm pretty sure there's no guarantee that something in canary ever lands in stable.

Testing the demo from @mjonkman I can replicate the problem.
Chrome, Mac, Version 64.0.3282.140 (Official Build) (64-bit)
macOS Sierra: 10.12.6

Looks like this is related to the cache size. Changing it back to 1 causes it to start working. Around 1.5, it stops working. We can take a deeper look to see if there is something we can do.

@lannymcnie the issue occurs when adding a click handler to the object that was cached - in your example the click handler is added to the uncached bitmap.
To replicate the issue:

add bmp.cache()
del bmp.hitArea = mc

Forcing the hitArea works but this is a workaround at best - one we (@PixelTom and I) are currently forced to use in some cases.  In fact even bmp.hitArea = bmp doesn't work.
Specifically we're using it in our custom TextStroke class which uses it's own internal canvas - where I believe the issue occurs ie. Chrome is ignoring pixels that come from a source not tied to the 'active' canvas, which is how the caching mechanism works, too.

...damn you github and your lack of auto update when new content arrives...

 It looks like this is a browser bug, and there is nothing we can do about it, and you'll just have to wait until the next version of Chrome.
I created a custom build of CreateJS that visualizes the hitTest a little better using this modified demo. Using this demo, it is clear that the content getting drawn to the "hit test" canvas is not behaving appropriately. Specifically it will constantly "lock" to the top right, and ignore the objects transformation.
We were hopeful there was just a place we were getting a bad canvas size back, and could handle it, but that is not the case.
Digging deeper in your demo, the error happens when the cache scale exceeds approximately 1.46. When it is any larger, the number of pixels in the canvas exceeds 2^16, and the error presents. You can change the cache size, and then adjust the scale factor, and this is true every time.

For example, we set the cache size to 0,0,200, 50, 2.56, resulting in a canvas size of 512x128, or 65,536 pixels (2^16) and it works! Set the width to 201, and the problem re-appears.

So the issue is perhaps some kind of internal integer overflow. The fact that this doesn't happen in Chrome Canary should mean the problem disappears shortly. Unfortunately there isn't anything we can do at this time. Sorry!

Thanks for your time @lannymcnie
We've disabled caching on most clickable/draggables and forced hitAreas where we can and that's fixed it for now. Will keep an eye out when v66 drops whether we can revert the change.

Likewise, we've been working around it and making sure that items that don't need to be cached are no longer being cached. We probably went overboard on caching in the first place. I appreciate the CreateJS team looking into it.

I just wanted to let folks know that Chrome updated again to Version 64.0.3282.140 and the hitArea issue has gone away. It officially the roll out started on Feb 1. I just updated it by going to -> Help -> About Chrome. It seems to be rolling out across devices and platforms. The HitArea issue appears to have gone away. @MannyC mentioned it above, but I totally missed the version number difference and attributed it to being Linux instead of Windows (my mistake). I will have another of my team members checking on the render out of place issue #938 and will update that bug accordingly.

Crap after rebooting the computer it seems to be broken again. So much for jumping to conclusions. I had rolled back to a 63 build to test something yesterday and apparently the update must have still used the 63 build after the update. Sorry.


Fix bug in concurrent output debugging

If running right now, we're in the RUNNING state
If we aren't running and we should stop, we are in the STOPPED state
If we aren't running, shouldn't stop, but we were started, we're in the STARTING state
Otherwise we haven't been started yet and are in the WAITING state

Looks good. I am testing it on my machine.


Removed test_audio_video_sync as it doesn't work as expected

test_audio_video_sync is very slow and doesn't work as expected on audio stream. There are some differences with pyav results as reported here, which needs to be fixed first.
Resolves https://github.com/pytorch/vision/issues/3931.

Do we have an issue to track adding the new tests again?

Do we have an issue to track adding the new tests again?

@fmassa Yes, https://github.com/pytorch/vision/issues/3986.


Unsupported terminal, Ubuntu 19.10

Although i am running this on one of the supported terminals (gnome-terminal), i am getting this error:
`Unsupported terminal!
Supported terminals:
mintty and deriviates
guake
iTerm2
elementary terminal (pantheon/elementary)
mate-terminal
gnome-terminal
tilix
xfce4-terminal
If you believe you have recieved this message in error,
try manually setting TERMINAL', hint: ps -h -o comm -p $PPID
how do i do this? i am just running the script via the instructions on the readme. which is:
sudo bash -c  "$(wget -qO- https://git.io/vQgMr)"
how would i manually set the terminal, or fix this?

should i download the zip from github (or clone it)? i know that this is a dumb question, especially since im asking this right as i download it (since im now about to find out), but is this where the script is, and i can edit it?

well, hmph. Upon cloning it to my rig, and then copying and pasting bash -c  "$(wget -qO- https://git.io/vQgMr)" it works. I have NO idea why it didnt work by copying and pasting it without having cloned it first.

It's a very old issue.
Maybe you were inside of tmux session?
When I try it inside tmux session I get the same error.
So I open new tab ctrl shift t and run the command there.

Nah, I wasn't, but I guess I should post here what I've been told elsewhere, and what the workaround is. If this happens, you should create a new profile (if you're using gnome-terminal) and call it "Default", without the quotes. Then run the command and it should go straight through.

It's a very old issue.
Maybe you were inside of tmux session?
When I try it inside tmux session I get the same error.
So I open new tab ctrl shift t and run the command there.

yes, the problem was reproduced only in tmux. Is it possible to add warning to tmux users ?

It would be possible.
It could be because of the $TERM value, maybe check it and show info to the users.


Can you add support for seek? --start=

https://mpv.io/manual/master/#playback-control
Add support for  "--start=". I wonder if there should be generic support for more params.

Done.

I wonder if there should be generic support for more params.

There are no plans to provide "generic" support, such as passing the mpv parameter directly in the URL. Because this isn't safe.


Create new Docker image with Python 3.10 for KG builds

The Docker images we are using for KG-Hub graph builds on Jenkins all have Python 3.9 installed, which is leading to some incompatibilities (e.g., https://github.com/Knowledge-Graph-Hub/kg-microbe/issues/256) and will hit EOL about a year from now. It's time to make a new one.
See this issue from the last time I made a new KG-Hub Docker container image: https://github.com/Knowledge-Graph-Hub/kg-idg/issues/107#issuecomment-1295161374

Made a new image: https://hub.docker.com/repository/docker/caufieldjh/kg-hub-3_10/general
caufieldjh/kg-hub-3_10:1
Dockerfile is here: https://github.com/Knowledge-Graph-Hub/kg-hub-containers/blob/main/docker/kg-hub-3_10/Dockerfile


Update documentation

Hey guys,
Here is a small correction in the documentation.
Nicolas

Good catch! Thanks for submitting 🙌🏻 I've been working on a broad update for this page, so I've added your find in the latest commit on #90.


BARE is close to publication as RFC

Dear n8ta,
we have finished the review of Binary Application Record Encoding (BARE)
Internet Draft 1, 2 before requesting the publication. We welcome the
feedback for the latest version of the draft 3.
The next step is publication request to Independent Submissions Editor
that is planned for the next week, May 11. Please, let me know if you
plan to review the RFC I-D and need more time. I'll prolong the
publication request date.

@qeef I just read the latest draft I have no comments. Happy to see it moving forward (:


Test that XMLWriter preserves capitalization of passed encoding

Unit test for #246

Thanks Sascha.  I'm actually going to hardcode "UTF-8" in the output.  So I'll land this, make that change and update the tests.

Merged manually.


7 warnings

Hello, the project has made better progress during this period of time. I am very optimistic about this project, and I am using it to make my game. However, I am more ocd, source code imported into Unity there are 7 warnings. Thank you for this great project.

Hello, I only get a single one, which warnings are we talking about?

Latest of master should have no more warnings. Please open this if you have them showing up again.


Found leaked credentials.

Review and fix the findings below.
Link: https://github.com/cldcvr/flow-core/blob/b645c22a4afb9ceb019d0f089e5244fc5f72e6a4/packages/flow-core/.env
Commit: b645c22a4afb9ceb019d0f089e5244fc5f72e6a4
Email: vikas-cldcvr<EMAIL_ADDRESS>File: packages/flow-core/.env
Line: 1
Detector: FigmaPersonalAccessToken

@cldcvr-audit This was reported on an older commit, but it has been resolved in the latest main branch. Additionally, we have implemented new tokens, rendering the old tokens obsolete and no longer in use
Can we mark this as resolved

@vikas-cldcvr All the commits in the history are being scanned. The history should also be clean, we are preparing a doc with instructions.
I'll update you once ready.

@vishal-kapse I have deleted the respective branch from the repository, now if we click on the above link, it is still showing that file with a warning message.

I am not sure how to delete that commit number itself


Refactored Hooks API

Questions
Answers

Description?
Refactored Hooks API: delete hook-status endpoint and change /hooks/id to /hook/id

Type?
improvement

BC breaks?
no

Deprecations?
no

Fixed ticket?
N/A

Sponsor company
PrestaShop SA

How to test?
CI is green

PR merged, well done!
Message to @PrestaShop/committers: do not forget to milestone it before the merge.


Fix up buffer time for multi-file readers

Signed-off-by: Alessandro Bellina<EMAIL_ADDRESS>Closes #5899.
This PR makes buffer time relative to task time in the multi-threaded readers. The idea is that if I want to figure out how much task time doing buffering, I'd look at buffer time. Prior to this, the buffer time was per thread, which would have a different meaning, unless we used the PERFILE reader, in which case it would be task relative.
There are two other metrics I didn't touch: time to read fs data and time to write data to buffer, which are pretty hard to make task-relative. Our documentation says that buffer time contains these two lower level metrics, but with this change that is not true. Perhaps all that has to happen is for these two metrics to be documented differently in tuning-guide.md, so I am happy to do that. I am posting this as draft because I have this open question. I'd like to know if these two metrics are useful, and if we need to keep them as well (as that is another alternative).

yeah I would say we have to clarify the documentation based on the reader type. https://github.com/NVIDIA/spark-rapids/issues/5899

@tgravescs just to make sure I understood:

yeah I would say we have to clarify the documentation based on the reader type. https://github.com/NVIDIA/spark-rapids/issues/5899

You mean specifically for: time to read fs data and time to write data to buffer and you are ok with the buffer time change in this PR?

build

build

build


Feature Request: Easy Delete by SWIPING

Hi a feature request would be a much faster way of deleting messages.  Often people get advertisements or they have mailing lists and from the subject they know they're not interested in reading the  message.
It would be really nice to swipe a message away.
Toss that around with the devs.
Thanks,
DR

I would like to work on this Issue

I there any life in this issue? I would want to contribute to this project by changing ListView of emails to RecyclerView which will allow to easily implement swiping. (In fact I have to contribute somehow to project to pass this semester on university)


🌐  Add Portuguese translation for docs/pt/docs/advanced/additional-status-codes.md

📝 Docs preview for commit 9941b380d20c07d1c80dd9c1074dcbea1c1d9070 at: https://819b372c.fastapitiangolo.pages.dev

Great Translation, i would just change "faça a importação" on line 15 with just "importe".
Thanks :)

Done ;)

📝 Docs preview for commit 79a02c6dc2b8e1ce81afcd7ba8beee56631073df at: https://bc4b7165.fastapitiangolo.pages.dev

Thanks for the help! @ceb10n @marcelomarkus @Joao-Pedro-P-Holanda :sunglasses: :100:


updating emr scripts to reflect using a released version of <IP_ADDRESS>

Coverage increased (+0.3%) to 52.359% when pulling 6bdbc01fad08b7abb8bf334643e6a4617eec5edf on update-emr into b2348541f0acbb88adf5c81f8b1d0c7b348d35de on master.

Coverage increased (+0.3%) to 52.359% when pulling 6bdbc01fad08b7abb8bf334643e6a4617eec5edf on update-emr into b2348541f0acbb88adf5c81f8b1d0c7b348d35de on master.


Bump kubernetes-sigs/image-builder to latest release

This PR bumps kubernetes-sigs/image-builder to the latest upstream release. Couple of patches whose changes have been merged upstream are removed, and a few patches have been combined.
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/retest

/retest

/lgtm

/lgtm
/approve


custom DNS not connecting

, how long should I wait for it to be be working again (already waited a couple days)

samething...


Error in crop image

Thank you for great project.
There is no hand in  HUMBI/Hand_381_453/subject_381/hand/00000001/image_croped/left/.png*.

Thank you for being interested in HUMBI and point that out, we have marked it and will correct that in next round of refinement.

@zhixuany Will the bug dataset be solved already?

@zhixuany Will the bug dataset be solved already?


Marco test1

Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
A clear and concise description of what you expected to happen.
Screenshots
If applicable, add screenshots and/or console outputs to help explain your problem.
Info (please complete the following information):
Stakeholders and components can be a comma separated list or on multiple lines.
If you add a new stakeholder or component, not on the sample list, add it on a line by its own.

GlideinWMS version: 3.10.2
Python version:
OS version:
HTCondor version:
Priority: Priority level of this bug [medium]
Stakeholders: CMS, HEPCloud
Components: The affected component due to this bug [ glidein

Additional context
Add any other context or supporting files about the problem here.

Deciding what to do

[ ] step 1
[ ] step 2


Recreating DSN as per RFC3464

Hello!
I'm rewriting my PHP class for Mailjet to recreate DNS-s for SparkPost triggered by a webhook.
Would you publish it or link to it?
The result would be:
--=_mailjet_bounce_0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

This is a delivery status notification from Mailjet.

The original message was received on %s
with recipient %s

Remote server responded %s/%s, it is a %s failure.

--=_mailjet_bounce_0
Content-Type: message/delivery-status
Content-Transfer-Encoding: 7bit

Reporting-MTA: dns; mailjet.com
Arrival-Date: %s
Received-From-MTA: dns; in-v3.mailjet.com
X-Original-Message-ID: %s

Final-Recipient: rfc822; %s
Action: failed
Status: 5.0.0
Diagnostic-Code: smtp; %s/%s
        recipient blocked: %s
        permanent: %s
        campaign/contact: %s/%s

--=_mailjet_bounce_0--

Hello @jgzamora !
Any comments?


Y axis labels

Hi,
is it possible to put some random numbers onto y label? For ex. with temp sensor I have temp in every 10 degree, but for better visual  control is to have some specific degrees like 2,6,15 or similar. I tried to give some "yLabel" but it doesn't work.

No that's not possible.

ok, thx for reply @alexarch21


[FLINK-19237] Fix rejected slot offer bug in JobMaster

What is the purpose of the change
Fix rejected slot offer bug in JobMaster. The bug surfaced as a test instability in LeaderChangeClusterComponentsTest.testReelectionOfJobMaster.
Brief change log

Move disconnect of TaskManagers to the Dispatcher.suspend() method.
Add a test

Verifying this change
Covered by a dedicated test.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): (yes / no)
The public API, i.e., is any changed class annotated with @Public(Evolving): (yes / no)
The serializers: (yes / no / don't know)
The runtime per-record code paths (performance sensitive): (yes / no / don't know)
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Kubernetes/Yarn/Mesos, ZooKeeper: (yes / no / don't know)
The S3 file system connector: (yes / no / don't know)

Does this PR fully fixes FLINK-19237 or is there still the problem of offering not fully freed slots?

Thank you for your review. I'll address your comments.
According to my experiments, this PR fixes the issue reported in FLINK-19237, but the other problem you mentioned started surfacing when running the test repeatedly : https://issues.apache.org/jira/browse/FLINK-18293?focusedCommentId=17213165&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17213165
I would risk merging the PR w/o disabling the test. I anticipate a very low failure rate, if at all.

Addressed & rebased. Will merge once CI has passed.

CI has passed. Merging ...


[Tabs] Auto scroll buttons aren't updated automatically when resized

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Steps to reproduce 🕹
Link to live example:
https://stackblitz.com/edit/mui-38035
Steps:

Use blue resize handle to resize the panel containing the tabs
Even once the container is wide enough, scrolling arrows remain
Clicking on a tab or resizing the browser window updates the scroll state
The above also happens in reverse

Current behavior 😯
When a container containing the Tabs component is resized through plain JS, CSS, or with a library like react-resizable-panels, the scrolling arrows for the tab list do not appear automatically.
The exception to this is when the entire browser window is resized.
Expected behavior 🤔
With scrollButtons="auto" enabled, the scroll buttons should be enabled/disabled whenever the size changes. Alternatively, a method could be provided to manually invalidate the size and recalculate whether scroll buttons are required.
Context 🔦
While attempting to use MUI Tabs with react-resizable-panels. Although, the same issue happens however the Tabs component is being resized.
Your environment 🌎
See stackblitz reproduction

This could be fixed in https://github.com/mui/material-ui/pull/36071 which is currently under pending changes. I'll check if that resolves the issue for you. Internally, we'll be utilizing the IntersectionObserver API.

@ZeeshanTamboli Could this issue also be fixed with the pending changes #38004 ? Seems to be related.

@ZeeshanTamboli yes, you are right just tested this example with latest changes on https://codesandbox.io/s/tabs-resize-panel-pys8rg and it worked.

@ZeeshanTamboli Could this issue also be fixed with the pending changes #38004 ? Seems to be related.

@brijeshb42 It's not related. #38004 is about the tab indicator, while this issue is about the tab scroll buttons.

I've noticed that when modifying the height of the .MuiTabs-scroller class to customize the Tabs, the tab scroll buttons remain permanently visible. Is this the expected behavior?


Unable to buy emotes

As the title states I'm having issues buying any emotes no matter what I type.  Any help would be very much appreciated.

Are we opening up the emote store in the terminal by typing "emote" or "emotes"?
We should see a list of purchasable emotes.
If you do see them, you should be able to type the first word of the emote, or first few characters of the emote you want to purchase, and it should ask if you want to confirm the purchase.
If this doesn't help, which part isn't working for you?

So yes I saw the list of purchasable emotes. I think I found the issue tho. If you are at a fresh start (like a new save or you were just fired) the terminal acts like the emotes don't exist. It will say something like "there was no action with the words you typed". But once you land for the first time it works perfectly.

Hmm, it's not designed to be that way. I'm not 100% sure about if you're fired, but I feel like fresh starts should let you buy emotes, even if you haven't landed yet. I'll do some testing later.

Can confirm that this is an issue, no matter what emote I typed it gives the result back of: "there was no action with the words you typed"

Are you guys running any mods that might conflict, such as any mods that affect the terminals? Maybe translation mods? I've had a translation mod in the past cause issues before, so I'm just curious.
And if possible, would it be easy to send me a quick video of this issue?

Are you guys running any mods that might conflict, such as any mods that affect the terminals? Maybe translation mods? I've had a translation mod in the past cause issues before, so I'm just curious.
And if possible, would it be easy to send me a quick video of this issue?

https://github.com/cmooref17/Lethal-Company-TooManyEmotes/assets/39040261/e4f51143-addd-489a-9000-67f517d54242
Video looks bad due to Github 10mb limit.

By the way, which mod adds that text, or those question marks, to the top left of the terminal, just in case it's conflicting. Also, let me try testing a few things. Thanks for the video!

Okay, I think I found the issue. It seems like for whatever reason, I don't handle character "case" correctly, such as capital letters and such. Let me get a fix for this out soon. Thanks so much!

By the way, which mod adds that text, or those question marks, to the top left of the terminal, just in case it's conflicting. Also, let me try testing a few things. Thanks for the video!

Terminal Clock

By the way, late response, but I believe this issue should be fixed in a recent update. Thanks for letting me know about this! If it's not fixed, please reopen this issue!


1 user suggests update the Azure Pipelines agents overview document

The customers who are making secondary development, want to know the behavior of DevOps agents when the pipeline jobs are cancelled.

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

Hi @AlexChongMicrosoft - Would you take a minute to sign the Contributor License Agreement (CLA)? Then we can complete the review of the pull request. Thanks!

#sign-off

@AlexChongMicrosoft Thanks for contributing to the documentation. Would you take a moment to sign the Contributor License Agreement (CLA) for contributing? Commits added to the pull request in review of your proposed content addition moved the pull request into CLA-check status, and it looks like you haven't signed one for this repository. After you sign the CLA, we can merge the pull request. Thanks.

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

@AlexChongMicrosoft Thanks for contributing to the documentation. Would you take a moment to sign the Contributor License Agreement (CLA) for contributing? Commits added to the pull request in review of your proposed content addition moved the pull request into CLA-check status, and it looks like you haven't signed one for this repository. After you sign the CLA, we can merge the pull request. Thanks.

Hi, thanks for your reply. I have done the CLA. Maybe in the future, I will raise some other udpate request. Look forward to contributing more.


@ashkan18 Fea opsworks stack

Ok so this sets up an opsworks stack and provisioners for APR.  However, I can't for the life of me can't figure out this compile pipeline.
First of all, it expects prompts and there is no "--force" flag for mix so I have to pipe yes into the command (see below)
Second of all, I have to run "mix deps.get" and "mix compile" as root before starting the phoenix server, and the at runtime (as the deploy user) it gives me:
=ERROR REPORT==== 31-May-2016::20:29:41 ===
file:path_eval([".","/root"],".erlang"): permission denied
Could not find Hex, which is needed to build dependency :phoenix
Shall I install Hex? [Yn]

@ashkan18 ,need some help on how to get this running under the deploy user...

@ashkan18 got it!  Dependencies installed and phoenix server runs.  Need to add the KAFKA url and we are good to go!

This is great! thanks @izakp
Do we have to do anything specific to allow websockets?

Lol yes - fortunately we already tackled that with Causality... will update
the PR tomorrow
On Jun 1, 2016 3:19 PM, "Ashkan"<EMAIL_ADDRESS>wrote:

This is great! thanks @izakp https://github.com/izakp
Do we have to do anything specific to allow websockets?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/artsy/APR/pull/1#issuecomment-223096752, or mute the
thread
https://github.com/notifications/unsubscribe/AA847VxZh2_vsMWegynyw91hVJSdBawEks5qHdsxgaJpZM4Iq7ma
.

Awesome, I can also merge this one and have a separate PR for that update, whichever you prefer 👍 This is awesome! thanks!

Just leave this one open and we'll merge in one go :)
On Jun 1, 2016 18:16, "Ashkan"<EMAIL_ADDRESS>wrote:

Awesome, I can also merge this one and have a separate PR for that update,
whichever you prefer 👍 This is awesome! thanks!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/artsy/APR/pull/1#issuecomment-223141728, or mute the
thread
https://github.com/notifications/unsubscribe/AA847RvPwq3KZQaErG8QO1yNF_Y9mrFuks5qHgS5gaJpZM4Iq7ma
.

@ashkan18 okay ready to merge!

awesoooooooome!


[SDK] Control output format

Preproduce
from opik.evaluation.metrics import Hallucination

metric = Hallucination(model="ollama/qwen2.5:3b")

score = metric.score(
    input="What is the capital of France?",
    output="Paris",
    context=["France is a country in Europe."]
)
print(score)

Issues
The output format of the LLM may not in JSON format.
opik/evaluation/metrics/llm_judges/hallucination/metric.py", line 133, in _parse_model_output
    dict_content = json.loads(content)
                   ^^^^^^^^^^^^^^^^^^^
raise exceptions.MetricComputationError(
opik.evaluation.metrics.exceptions.MetricComputationError: Failed hallucination detection

Resolves
Add "Output format must be JSON format only." into the prompt template
Testing
Re-run the above code. The output result would be like this
{
    "score": 1.0,
    "reason": [
        "The CONTEXT provided only basic information about France being a country in Europe, without mentioning any capital city.",
        "The OUTPUT provides 'Paris' as the capital of France, which is not mentioned or implied in the given CONTEXT."
    ]
}
ScoreResult(name='hallucination_metric', value=1.0, reason='[\'The CONTEXT provided only basic information about France being a country in Europe, without mentioning any capital city.\', "The OUTPUT provides \'Paris\' as the capital of France, which is not mentioned or implied in the given CONTEXT."]', metadata=None, scoring_failed=False)

Documentation

Hi @demdecuong Thanks for the contribution, we recently added the support for structured outputs to enforce the response schema but this makes it more robust for models that don't support structured outputs.
Do you mind adding it to the other LLM as a judge evaluation metrics as well ? They would benefit from this additional instruction as well. After this we should be able to merge it in and do an SDK release

Great @jverre , let me try a more generalized solution like parsing the dictionary from LLM output instead of prompt template for each foundation model.

@demdecuong We can merge this one in since it's already an improvement over current state and then make further changes if that works for you ?
FYI - We already using structured output by default if you are using OpenAI models but since it is not supported by all models we still have some parsing issues with other foundational models.


Allow assignment of cmd line provided tag value and a default duration for import test

tmt test import --restraint --tag 'value' or 'some, list, values' could allow support for labeling tests which are imported
Also, some tests do not have a duration value in the metadata, tmt seams to have a default of 5 minutes? It might be useful to include a custom duration feature also.
tmt test import --restraint --duration '25m'
(metadata file)
[General]
name=stress/stress-ng
owner=Jeff Bastian<EMAIL_ADDRESS>description=Run stress-ng tests
license=GPLv2
confidential=no
destructive=no

[restraint]
entry_point=bash ./runtest.sh

Expected
value to be assigned to resulting main.fmf file for tests
(main.fmf)
summary: Run stress-ng tests
description: |
    Run stress-ng tests
contact: Jeff Bastian<EMAIL_ADDRESS>test: ./runtest.sh
framework: beakerlib
extra-summary: stress/stress-ng
extra-task: stress/stress-ng
tag: value
duration: 25m

@BeeGrech, do I understand correctly that your use case is to override detected metadata with your custom values from the command line? Is the use case related to mass test case import? If so, a dedicated option might make sense here even if the max_time is already detected, @idorax.
Brainstorming: In order to support easily modifying multiple tests, perhaps a new tmt test modify subcommand could come in handy? If implemented this could be used together with tmt test import but would provide some more generic functionality. @lukaszachy, @thrix, any thoughts on this?

Seems doable but there would be a lot of undefined behavior that would have to be covered.

Could you share an example of undefined behaviour?

Well I suppose that --remove-from-attr is primarily for lists and dictionaries so what would it do for single value attributes?

All,
My use case I was referring to would be to avoid having to modify the metadata file. Where this was a restraint test, and the default value from restraint was sufficient for the test. The issue with this condition is the default time between the two are not equal, where TMT is less :)
So a command line parameter to modify this value would be helpful, I guess yes essentially overwrite any provided values also then too.


Updated to chartist 0.8

ugh, I'm the worst. Have not had a free moment to look into this.
We'll have to get the build/tests passing before we can merge this. Not sure what yet, but something has changed that's causing the build to fail

Once you fix shall we use #36 instead of keeping the chartist dist in this addon?

Woops, #30. didn't even see.

@b123400 Sorry for the delay. I have a branch open #39 for updating to Chartist 0.9.x. It's requiring more work. I'm going to close this.
Thank you for submitting this though.


No Ukulele F chord

I am not seeing a basic F chord in the Ukulele chord diagrams.

Hi, hm that is unfortunate thanks for reporting, and sorry for such late reply :confounded:
I just added it, so hopefully you will see it now
https://github.com/FUSAKLA/gdocs-songbook/blob/master/docs/assets/chords/ukulele/F.png

Thank you! I love the extension!
Sent from Yahoo Mail on Android
On Wed, Oct 25, 2023 at 18:35, Martin @.***> wrote:
Hi, hm that is unfortunate thanks for reporting, and sorry for such late reply 😖
I just added it, so hopefully you will see it now
https://github.com/FUSAKLA/gdocs-songbook/blob/master/docs/assets/chords/ukulele/F.png
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

I'm glad to hear that! :)


More lively feedback needed

There's a lot of things going on but the user has no clue. There's a big chance they're going to just say f***it and close the application while waiting so long for stuff to happen. Even the % progress indicators rarely update. We need to make this more lively by reporting what we are doing in sub tasks and how much it is progressing at least at a 5-second interval.

#221 is a duplicate of this