$ go list -json github.com/pkg/errors
can't load package: package github.com/pkg/errors: cannot find package "github.com/pkg/errors" in any of:
/home/myitcv/gos/src/github.com/pkg/errors (from $GOROOT)
/tmp/tmp.YRDnF4mfJG/src/github.com/pkg/errors (from $GOPATH)
$ go test github.com/pkg/errors
can't load package: package github.com/pkg/errors: cannot find package "github.com/pkg/errors" in any of:
/home/myitcv/gos/src/github.com/pkg/errors (from $GOROOT)
/tmp/tmp.YRDnF4mfJG/src/github.com/pkg/errors (from $GOPATH)
$ go vet github.com/pkg/errors
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(gdb) info threads | |
Id Target Id Frame | |
5 Thread 0x7f6e086cc700 (LWP 26063) "ruby-timer-thr" 0x00007f6e07cf912d in poll () at ../sysdeps/unix/syscall-template.S:81 | |
4 Thread 0x7f6dfd2db700 (LWP 26074) "ruby" 0x00007f6e07cf91ef in __GI_ppoll (fds=fds@entry=0x7f6dfd2da500, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:56 | |
3 Thread 0x7f6dfd1da700 (LWP 26076) "ruby" pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 | |
2 Thread 0x7f6dfd0d9700 (LWP 26218) "ruby" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 | |
* 1 Thread 0x7f6e086c1740 (LWP 26057) "ruby" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
6 Thread 0x7f0c11dee700 (LWP 19571) "ruby-timer-thr" 0x00007f0c1141b12d in poll () at ../sysdeps/unix/syscall-template.S:81 | |
5 Thread 0x7f0c068cc700 (LWP 19584) "ruby" pthread_cond_wait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S:185 | |
4 Thread 0x7f0c065c9700 (LWP 18956) "ruby" 0x00007f0c1141b1ef in __GI_ppoll (fds=fds@entry=0x7f0c065c8500, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:56 | |
3 Thread 0x7f0c067cb700 (LWP 21862) "ruby" 0x00007f0c1141b1ef in __GI_ppoll (fds=fds@entry=0x7f0c067ca500, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:56 | |
2 Thread 0x7f0c069cd700 (LWP 21864) "ruby" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 | |
* 1 Thread 0x7f0c11de3740 (LWP 19569) "ruby" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysde |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#0 tsc.js:18416:17 | |
#1 tsc.js:18363:36 | |
#2 tsc.js:18391:28 | |
#3 tsc.js:18356:36 | |
#4 tsc.js:18421:25 | |
#5 tsc.js:18363:36 | |
#6 tsc.js:18391:28 | |
#7 tsc.js:18356:36 | |
#8 tsc.js:18421:25 | |
#9 tsc.js:18363:36 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(gdb) info threads | |
Id Target Id Frame | |
6 Thread 0x7efc38d53700 (LWP 3644) "ruby-timer-thr" 0x00007efc3838012d in poll () at ../sysdeps/unix/syscall-template.S:81 | |
5 Thread 0x7efc2d7f1700 (LWP 4278) "ruby" pthread_cond_timedwait@@GLIBC_2.3.2 () at ../nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:238 | |
4 Thread 0x7efc2d5ef700 (LWP 6629) "ruby" 0x00007efc383801ef in __GI_ppoll (fds=fds@entry=0x7efc2d5ee500, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:56 | |
3 Thread 0x7efc2e119700 (LWP 7156) "ruby" 0x00007efc383801ef in __GI_ppoll (fds=fds@entry=0x7efc2e118500, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at ../sysdeps/unix/sysv/linux/ppoll.c:56 | |
2 Thread 0x7efc2d6f0700 (LWP 13665) "ruby" 0x00007efc383801ef in __GI_ppoll (fds=fds@entry=0x7efc2d6ef500, nfds=nfds@entry=1, timeout=<optimized out>, timeout@entry=0x0, sigmask=sigmask@entry=0x0) at |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ go build -gcflags=-m | |
./main.go:11: can inline dataLess | |
./main.go:25: can inline dataSwap | |
./main.go:164: inlining call to dataLess | |
./main.go:167: inlining call to dataLess | |
./main.go:170: inlining call to dataSwap | |
./main.go:187: inlining call to dataSwap | |
./main.go:198: inlining call to dataLess | |
./main.go:199: inlining call to dataSwap | |
./main.go:202: inlining call to dataLess |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(gdb) where | |
#0 0x000039709bb9f1c5 in ?? () | |
#1 0x00001c675bd1e739 in ?? () | |
#2 0x00007ffe2916c1c8 in ?? () | |
#3 0x000039709c30c411 in ?? () | |
#4 0x00000c2944473521 in ?? () | |
#5 0x00001c675bd3fb69 in ?? () | |
#6 0x0000000000000000 in ?? () | |
(gdb) bt full | |
#0 0x000039709bb9f1c5 in ?? () |
Summary: 90-95% of the time absolutely fine. Good speed, responsiveness etc.
See issues listed below, giving details of when things go wrong 5-10% of the time. These issues seem to correspond to when I've opened WhatsApp web. Indeed I'm yet to experience any issues if I don't launch a tab with WhatsApp web in a Chrome session.
See also the errors list of unique errors seen in the terminal (from which I launched Chrome)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
interface MyCompProps { | |
model: Model; | |
modParams: ModParams; | |
} | |
interface MyCompState { | |
derived1?: Derived1; | |
derived2?: Derived2; | |
initialized: boolean; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
set -eu | |
cd `mktemp -d` | |
export GOPATH=$PWD | |
pwd | |
root="github.com/myitcv" | |
v1="v1.2.0" |