Jakob Borg
Jakob Borg
If you don't mind parsing the console output you can let Syncthing do the allocation. ``` $ syncthing --gui-address=127.0.0.1:0 | grep 'API listening' [I6KAH] 23:03:29 INFO: GUI and API listening...
I'll happily publish the package if there's versioned builds of it and corresponding debian packages.
Building Debian packages from source is a serious pain. I sidestepped it by just creating binary packages based on the normal build process, which is less painful. I don't know...
@kozec I'm cheating. The folder is created with a `DEBIAN` dir containing (some of) the expected control files, then I just: ``` bash fakeroot sh -c 'chown -R root:root deb...
I forgot to mention it here, but there's a fix in #163 that we've had in production now for a while.
I suspect the problem is that there is no guarantee that the alignment is correct after the pointer conversion here: https://github.com/spaolacci/murmur3/blob/539464a789e9b9f01bc857458ffe2c5c1a2ed382/murmur128.go#L68
This test reproduces it reliably: ``` func TestUnalignedWrite(t *testing.T) { b := make([]byte, 128) for i := 0; i < 16; i++ { Sum128(b[i:]) } } ``` (Also one of...
The check enforces this: > When converting unsafe.Pointer to *T, the resulting pointer must be aligned appropriately for T. Any given byte is not going to be properly aligned for...
That patch looks better than mine, which was just a quick fix. We might end up depending on your repo instead, @twmb. :)