Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Edd Barrett vext01

🏠
Working from home
Block or report user

Report or block vext01

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View gist:49ac97694f1d47ef5bf734a687cdebe9
arrakis:notify> go test -count=1
--- FAIL: TestWatcherKqueue (0.14s)
testing_test.go:215: testing_test.go:371: unlinkat /home/edd/source/notify/testdata/621182279/src/github.com/ppknap/link/include/coost/link: bad file descriptor
testing_test.go:219: testing_test.go:300: w.Watcher.Close()=Not all watches were removed: len(t.pthLkp) == 3
FAIL
exit status 1
FAIL github.com/syncthing/notify 17.977s
arrakis:notify> go test -count=1
runtime: kevent on fd 40 failed with 9
fatal error: runtime: netpoll failed
View gist:85762ffde2a1f6ec7031da32c6244623
This file has been truncated, but you can view the full file.
go: downloading github.com/lucas-clemente/quic-go v0.15.7
go: downloading github.com/go-ldap/ldap/v3 v3.1.10
=== RUN TestStaticAuthOK
=== PAUSE TestStaticAuthOK
=== RUN TestSimpleAuthUsernameFail
=== PAUSE TestSimpleAuthUsernameFail
=== RUN TestStaticAuthPasswordFail
=== PAUSE TestStaticAuthPasswordFail
=== RUN TestCSRFToken
View gist:2fd51933c265e1e13f3868121f9d4d48
runtime: kevent on fd 8 failed with 9
fatal error: runtime: netpoll failed
runtime stack:
runtime.throw(0xe528f9, 0x17)
/usr/local/go/src/runtime/panic.go:774 +0x72
runtime.netpoll(0x511c978888200, 0xd00000000)
/usr/local/go/src/runtime/netpoll_kqueue.go:77 +0x253
runtime.sysmon()
/usr/local/go/src/runtime/proc.go:4337 +0x298
View gist:a431a623e76f773eec9c2a4a1dfd039a
===> Regression tests for syncthing-1.4.2
cd /usr/local/pobj/syncthing-1.4.2/go/src/github.com/syncthing/syncthing && /usr/bin/env -i GOCACHE="/usr/local/pobj/syncthing-1.4.2/go-cache" GOPATH="/usr/local/pobj/syncthing-1.4.2/go:/usr/local/go-pkg" GO111MODULE=off GO386=387 GOPROXY=invalid://ports.should.not.fetch.at.buildtime/ PORTSDIR="/usr/ports" LIBTOOL="/usr/bin/libtool" PATH='/usr/local/pobj/syncthing-1.4.2/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11R6/bin' PREFIX='/usr/local' LOCALBASE='/usr/local' X11BASE='/usr/X11R6' CFLAGS='-O2 -pipe' TRUEPREFIX='/usr/local' DESTDIR='' HOME='/syncthing-1.4.2_writes_to_HOME' PICFLAG="-fpic" BINGRP=bin BINOWN=root BINMODE=755 NONBINMODE=644 DIRMODE=755 INSTALL_COPY=-c INSTALL_STRIP= MANGRP=bin MANOWN=root MANMODE=644 BSD_INSTALL_PROGRAM="/usr/local/pobj/syncthing-1.4.2/bin/install -c -m 755" BSD_INSTALL_SCRIPT="/usr/local/pobj/syncthing-1.4.2/bin/install -c -m 755" BSD_INSTALL_DATA="/usr/local/pobj/syncthing-1.4.2/bin/install -c -m 644" BSD
View gist:0d86dd21d08c46c24d127c93ffa40f1e
rofi usage:
rofi [-options ...]
Command line only options:
-no-config Do not load configuration, use default values.
-v,-version Print the version number and exit.
-dmenu Start in dmenu mode.
-display [string] X server to contact.
${DISPLAY}
-h,-help This help message.
@vext01
vext01 / crash3.txt
Created Nov 2, 2019
synthing-master build crash
View crash3.txt
$ go run build.go
...
github.com/syncthing/syncthing/lib/upgrade
github.com/syncthing/syncthing/lib/versioner
github.com/gogo/protobuf/protoc-gen-gogo/descriptor
github.com/gogo/protobuf/gogoproto
# github.com/gogo/protobuf/gogoproto
unexpected fault address 0xc000691000
fatal error: fault
[signal SIGSEGV: segmentation violation code=0x2 addr=0xc000691000 pc=0x5fafff]
@vext01
vext01 / crash1.txt
Created Nov 2, 2019
syncthing build crashes
View crash1.txt
cd /usr/local/pobj/syncthing-1.3.0/go/src/github.com/syncthing/syncthing && /usr/bin/env -i GOCACHE="/usr/local/pobj/syncthing-1.3.0/go-cache" GOPATH="/usr/local/pobj/syncthing-1.3.0/go:/usr/local/go-pkg" GO111MODULE=off GOPROXY=invalid://ports.should.not.fetch.at.buildtime/ PORTSDIR="/usr/ports" LIBTOOL="/usr/bin/libtool" PATH='/usr/local/pobj/syncthing-1.3.0/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11R6/bin' PREFIX='/usr/local' LOCALBASE='/usr/local' X11BASE='/usr/X11R6' CFLAGS='-O2 -pipe' TRUEPREFIX='/usr/local' DESTDIR='' HOME='/syncthing-1.3.0_writes_to_HOME' COMPILER_VERSION=clang PICFLAG="-fpic" BINGRP=bin BINOWN=root BINMODE=755 NONBINMODE=644 DIRMODE=755 INSTALL_COPY=-c INSTALL_STRIP= MANGRP=bin MANOWN=root MANMODE=644 BSD_INSTALL_PROGRAM="/usr/local/pobj/syncthing-1.3.0/bin/install -c -m 755" BSD_INSTALL_SCRIPT="/usr/local/pobj/syncthing-1.3.0/bin/install -c -m 755" BSD_INSTALL_DATA="/usr/local/pobj/syncthing-1.3.0/bin/install -c -m 644" BSD_INSTALL_MAN="/usr/local/pobj/s
@vext01
vext01 / code.rs
Created Sep 11, 2019
Type inference error
View code.rs
let def_ids: Arc<DefIdSet> = tcx.collect_and_partition_mono_items(LOCAL_CRATE).0;
let def_ids: DefIdSet = def_ids.borrow().clone();
@vext01
vext01 / gist:e545189c606f7d26e6b3d19f85a17c22
Created Jun 24, 2019
sequoia build on OpenBSD-current
View gist:e545189c606f7d26e6b3d19f85a17c22
Compiling openssl-sys v0.9.47
Compiling quote v0.6.12
Compiling idna v0.1.5
Compiling rand_chacha v0.1.1
Compiling rand_pcg v0.1.2
error: failed to run custom build command for `openssl-sys v0.9.47`
process didn't exit successfully: `/tmp/sequoia/target/debug/build/openssl-sys-8107c34a78600a78/build-script-main` (exit code: 101)
--- stdout
cargo:rustc-cfg=const_fn
cargo:rerun-if-env-changed=X86_64_UNKNOWN_OPENBSD_OPENSSL_LIB_DIR
View python3 -m test.pystone 1000000
b11:
1: python3 -m test.pystone 1000000
Mean Std.Dev. Min Median Max
real 3.783 0.019 3.756 3.782 3.806
user 3.780 0.020 3.752 3.780 3.804
sys 0.001 0.002 0.000 0.000 0.004
b13:
1: python3 -m test.pystone 1000000
Mean Std.Dev. Min Median Max
You can’t perform that action at this time.