- Over half of psychology studies fail reproducibility test
- Paper mills are bribing editors at scholarly journals
- The fight against fake-paper factories that churn out sham science
- Land of paedophiles | Re:Baltica
- Blockbuster Alzheimer's paper retracted by former Stanford president after a decade of resistance
- Former Stanford president retracts Nature paper as another gets expression of concern – Retraction Watch
- A Harvard Medical School cancer scientist is caught red-handed
- [PubPeer - APP binds DR6 to trigger axon pruning and neuron death via d...](https://pubpeer
This file contains 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
-- the custom aggregate state | |
CREATE TYPE elapsed__t AS (acc interval, cur timestamptz); | |
-- state transition function | |
CREATE FUNCTION elapsed__sf(s elapsed__t, x interval, cur timestamptz) | |
RETURNS elapsed__t IMMUTABLE LANGUAGE sql AS $$ | |
SELECT | |
coalesce(s.acc, '0'::interval) + case | |
when cur-s.cur > x | |
then null | |
else cur-s.cur end, |
This file contains 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
let vimrc =<< trim END | |
set insertmode | |
inoremap <Esc> <C-o> | |
vnoremap <BS> d | |
nnoremap <silent> U :redo<CR> | |
nnoremap j gj | |
nnoremap gj j | |
nnoremap k gk | |
nnoremap gk k |
This file contains 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
// ==UserScript== | |
// @name Stop Wordle! | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2 | |
// @description Hide all mentions of Wordle from Hacker News feeds! | |
// @author https://github.com/tucnak | |
// @match https://news.ycombinator.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=ycombinator.com | |
// @grant none | |
// ==/UserScript== |
This file contains 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
// ==UserScript== | |
// @name Stop Wordle! | |
// @namespace http://tampermonkey.net/ | |
// @version 0.2 | |
// @description Hide all mentions of Wordle from Hacker News feeds! | |
// @author https://github.com/tucnak | |
// @match https://news.ycombinator.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=ycombinator.com | |
// @grant none | |
// ==/UserScript== |
This file contains 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
colorscheme default | |
syntax enable | |
packadd matchit | |
filetype plugin indent on | |
set autoindent | |
set backspace=indent,eol,start | |
set colorcolumn=0 | |
set completeopt=longest,noinsert,menuone,noselect | |
set exrc |
This file contains 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
func migrate(db *pg.DB, tables ...[]T) chan error { | |
errfeed := make(chan error) | |
go func() { | |
for _, model := range tables { | |
err := db.CreateTable(model, &orm.CreateTableOptions{IfNotExists: true}) | |
if err != nil { | |
errfeed <- err | |
continue | |
} |
This file contains 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
CGO_CPPFLAGS="-I/Users/badt/Dev/go/src/github.com/tinygo-org/tinygo/llvm-project/llvm/include -I/Users/badt/Dev/go/src/github.com/tinygo-org/tinygo/llvm-build/include -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -I/Users/badt/Dev/go/src/github.com/tinygo-org/tinygo/llvm-build/tools/clang/include -I/Users/badt/Dev/go/src/github.com/tinygo-org/tinygo/llvm-project/clang/include -I/Users/badt/Dev/go/src/github.com/tinygo-org/tinygo/llvm-project/lld/include" CGO_CXXFLAGS="-std=c++11" CGO_LDFLAGS="/Users/badt/Dev/go/src/github.com/tinygo-org/tinygo/llvm-build/lib/libclang.a -std=c++11 -L/Users/badt/Dev/go/src/github.com/tinygo-org/tinygo/llvm-build/lib -lclangAnalysis -lclangARCMigrate -lclangAST -lclangASTMatchers -lclangBasic -lclangCodeGen -lclangCrossTU -lclangDriver -lclangDynamicASTMatchers -lclangEdit -lclangFormat -lclangFrontend -lclangFrontendTool -lclangHandleCXX -lclangHandleLLVM -lclangIndex -lclangLex -lclangParse -lclangRewrite -lclangRewriteFrontend -lclangSema -lclangSeria |
This file contains 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
2019/02/12 05:04:03 n = 10 | |
2019/02/12 05:04:03 | |
2019/02/12 05:04:03 [find n critiques] started | |
2019/02/12 05:04:04 found 10 crits | |
2019/02/12 05:04:04 elapsed: 11.835827ms | |
2019/02/12 05:04:04 | |
2019/02/12 05:04:04 [get n actors + depth=0] started | |
2019/02/12 05:04:04 found 10 actors | |
listening... | |
- 1 2019-02-09 18:27:29.214357 +0200 EET |
NewerOlder