Skip to content

Instantly share code, notes, and snippets.

Avatar

David Anthoff davidanthoff

View GitHub Profile
View prof-0-4.txt
312484 client.jl; _start; line: 378
312484 client.jl; process_options; line: 280
312484 loading.jl; include_from_node1; line: 320
312484 boot.jl; include; line: 261
312483 profile.jl; anonymous; line: 16
11 C:\Users\anthoff\.julia\v0.4\Judyp\src\Judyp.jl; solve; line: 106
1 strings/io.jl; print_to_string; line: 36
2 C:\Users\anthoff\.julia\v0.4\Judyp\src\Judyp.jl; solve; line: 113
589 C:\Users\anthoff\.julia\v0.4\Judyp\src\Judyp.jl; solve; line: 114
1 multidimensional.jl; next; line: 108
@davidanthoff
davidanthoff / repo.jl
Last active May 17, 2016
Performance repo
View repo.jl
function get_f(version=:paper)
κ = 0.3
η = 2
b1 = 0.0028388
A_0 = 0.02722^(1/(1-κ))
g_A0 = 0.0092/(1-0.3)
σ_0 = 0.13418
M_pre = 596.4
δ_B = 0.01
View packagedb.jl
immutable Require
name::String
lower_bound::Nullable{VersionNumber}
upper_bound::Nullable{VersionNumber}
platform::Nullable{String}
end
immutable Version
version::VersionNumber
sha1::String
View gist:77db0206023eb111c66ab26a0b986335
INFO: RECEIVED: {"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":8196,"rootPath":"c:\\Users\\anthoff\\.julia\\v0.6\\Query","rootUri":"file:///c%3A/Users/anthoff/.julia/v0.6/Query","capabilities":{"workspace":{"applyEdit":true,"workspaceEdit":{"documentChanges":true},"didChangeConfiguration":{"dynamicRegistration":false},"didChangeWatchedFiles":{"dynamicRegistration":true},"symbol":{"dynamicRegistration":true},"executeCommand":{"dynamicRegistration":true}},"textDocument":{"synchronization":{"dynamicRegistration":true,"willSave":true,"willSaveWaitUntil":true,"didSave":true},"completion":{"dynamicRegistration":true,"completionItem":{"snippetSupport":true}},"hover":{"dynamicRegistration":true},"signatureHelp":{"dynamicRegistration":true},"references":{"dynamicRegistration":true},"documentHighlight":{"dynamicRegistration":true},"documentSymbol":{"dynamicRegistration":true},"formatting":{"dynamicRegistration":true},"rangeFormatting":{"dynamicRegistration":true},"onTypeFormatting":{"dynamicRegistr
View gist:87acaba5d2eff87510cf16ccaf33065f
INFO: RECEIVED: {"jsonrpc":"2.0","id":0,"method":"initialize","params":{"processId":8368,"rootPath":"c:\\Users\\anthoff\\.julia\\v0.6\\Query","rootUri":"file:///c%3A/Users/anthoff/.julia/v0.6/Query","capabilities":{"workspace":{"applyEdit":true,"workspaceEdit":{"documentChanges":true},"didChangeConfiguration":{"dynamicRegistration":false},"didChangeWatchedFiles":{"dynamicRegistration":true},"symbol":{"dynamicRegistration":true},"executeCommand":{"dynamicRegistration":true}},"textDocument":{"synchronization":{"dynamicRegistration":true,"willSave":true,"willSaveWaitUntil":true,"didSave":true},"completion":{"dynamicRegistration":true,"completionItem":{"snippetSupport":true}},"hover":{"dynamicRegistration":true},"signatureHelp":{"dynamicRegistration":true},"references":{"dynamicRegistration":true},"documentHighlight":{"dynamicRegistration":true},"documentSymbol":{"dynamicRegistration":true},"formatting":{"dynamicRegistration":true},"rangeFormatting":{"dynamicRegistration":true},"onTypeFormatting":{"dynamicRegistr
View testdata2.csv
We can't make this file beautiful and searchable because it's too large.
Year,113_Cause_Name,Cause_Name,State,Deaths,Age_adjusted_Death_Rate
1999,"Accidents (unintentional injuries) (V01-X59,Y85-Y86)",Unintentional Injuries,Alabama,2313,52.2
1999,"Accidents (unintentional injuries) (V01-X59,Y85-Y86)",Unintentional Injuries,Alaska,294,55.9
1999,"Accidents (unintentional injuries) (V01-X59,Y85-Y86)",Unintentional Injuries,Arizona,2214,44.8
1999,"Accidents (unintentional injuries) (V01-X59,Y85-Y86)",Unintentional Injuries,Arkansas,1287,47.6
1999,"Accidents (unintentional injuries) (V01-X59,Y85-Y86)",Unintentional Injuries,California,9198,28.7
1999,"Accidents (unintentional injuries) (V01-X59,Y85-Y86)",Unintentional Injuries,Colorado,1519,39
1999,"Accidents (unintentional injuries) (V01-X59,Y85-Y86)",Unintentional Injuries,Connecticut,1034,29.3
1999,"Accidents (unintentional injuries) (V01-X59,Y85-Y86)",Unintentional Injuries,Delaware,267,35.3
View test.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View julia.strace
12007 execve("/mnt/c/Users/david/AppData/Local/julia-0.6/bin/julia.exe", ["/mnt/c/Users/david/AppData/Local"...], 0x7fffd9378488 /* 17 vars */) = 0
12007 arch_prctl(ARCH_SET_FS, 0x6186d8) = 0
12007 set_tid_address(0x618710) = 12007
12007 getpid() = 12007
12007 getcwd("/mnt/c/Users/david/source/julia-cb", 4096) = 35
12007 open("/dev/lxssclient", O_RDWR) = 3
12007 ioctl(3, _IOC(0, 0, 0x2f, 0x22), 0x7fffcc2d5aa0) = 0
12007 open("/mnt/c/Users/david/AppData/Local/julia-0.6/bin/julia.exe", O_RDONLY) = 5
12007 brk(NULL) = 0x239f000
12007 brk(0x23a0000) = 0x23a0000
View repo.vega
{
"$schema": "https://vega.github.io/schema/vega/v3.json",
"autosize": "pad",
"padding": 5,
"width": 200,
"height": 21,
"title": {"text": "Foo"},
"style": "cell",
"data": [{"name": "source"}],
"marks": [
View foo.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.