Skip to content

Instantly share code, notes, and snippets.

View andreasnoack's full-sized avatar

Andreas Noack andreasnoack

View GitHub Profile
@andreasnoack
andreasnoack / X.txt
Last active November 20, 2024 21:51
GLM.jl issue 417 data
1.0 0.2441224643360007 -0.44157774896304125 -1.2339638668522834
1.0 0.7914594361384042 -0.7903881005116609 1.218927932160025
1.0 -2.7793436396154747 -0.3516591429088991 -2.1251073455351985
1.0 0.39327967574959377 0.9809235649883314 0.6469646975484538
1.0 0.9717295780581656 -1.0371503671580249 -0.10926821138817866
1.0 0.7961804803820982 0.2628670335690768 0.8239913222076918
1.0 0.15928173711710425 -0.08470813719842107 0.5174537355344633
1.0 1.4886752442593902 -0.6384861812082847 -0.019570287794266505
1.0 0.20958334446326266 -0.3610689861546341 0.18839538294207908
1.0 0.13470569625650963 -1.5628766933149383 -0.8138365578280131
NIST/ITL StRD
Dataset Name: Filip (Filip.dat)
File Format: ASCII
Certified Values (lines 31 to 55)
Data (lines 61 to 142)
Procedure: Linear Least Squares Regression
Reference: Filippelli, A., NIST.
precompile(Tuple{typeof(Base.getindex), Base.Dict{Symbol, Base.Dict{K, V} where V where K}, Symbol})
precompile(Tuple{typeof(Base.haskey), Base.Dict{Base.UUID, Base.Dict{String, Union{Base.SHA1, String}}}, Base.UUID})
precompile(Tuple{getfield(Pkg.BinaryPlatforms, Symbol("#FreeBSD#19#20")), Nothing, Nothing, Pkg.BinaryPlatforms.CompilerABI, Type{Pkg.BinaryPlatforms.FreeBSD}, Symbol})
precompile(Tuple{getfield(Core, Symbol("#Type##kw")), NamedTuple{(:libc, :compiler_abi), Tuple{Nothing, Pkg.BinaryPlatforms.CompilerABI}}, Type{Pkg.BinaryPlatforms.FreeBSD}, Symbol})
precompile(Tuple{Type{Base.Pair{A, B} where B where A}, Pkg.BinaryPlatforms.FreeBSD, Base.Dict{String, Any}})
precompile(Tuple{typeof(Base.ht_keyindex2!), Base.Dict{Pkg.BinaryPlatforms.Platform, Base.Dict{String, Any}}, Pkg.BinaryPlatforms.FreeBSD})
precompile(Tuple{typeof(Base.setindex!), Base.Dict{Pkg.BinaryPlatforms.Platform, Base.Dict{String, Any}}, Base.Dict{String, Any}, Pkg.BinaryPlatforms.FreeBSD})
precompile(Tuple{getfield(Pkg.BinaryPlatform
@andreasnoack
andreasnoack / pumashessian.jl
Created February 14, 2019 21:21
A stack overflow in ir.jl
iterate at ./compiler/ssair/ir.jl:1133
iterate at ./compiler/ssair/ir.jl:1133
iterate at ./compiler/ssair/ir.jl:1133
iterate at ./compiler/ssair/ir.jl:1133
iterate at ./compiler/ssair/ir.jl:1133
iterate at ./compiler/ssair/ir.jl:1133
iterate at ./compiler/ssair/ir.jl:1133
iterate at ./compiler/ssair/ir.jl:1133
iterate at ./compiler/ssair/ir.jl:1133
iterate at ./compiler/ssair/ir.jl:1133
@andreasnoack
andreasnoack / gpustencil.jl
Created June 29, 2018 14:39
CUDAnative stencil
function stencil(v, b, ω, i, j)
vij = (1 - ω)*v[i, j] +
ω*(v[i + 1, j] + v[i - 1, j] + v[i, j + 1] + v[i, j - 1] +
b[i, j])/4
# if i == 2 && j == 5
# @cuprintf("HALLO! %f\n", Float64(vij))
# end
return vij
end
@andreasnoack
andreasnoack / # gcc - 2018-05-11_13-25-02.txt
Created May 11, 2018 11:39
gcc on macOS 10.13.4 - Homebrew build logs
Homebrew build logs for gcc on macOS 10.13.4
Build date: 2018-05-11 13:25:02
@andreasnoack
andreasnoack / Matrix
Last active March 7, 2017 22:09
Compare Matrix and SMatrix
define void @"julia_bar!_69141"(i8**, i8**, i8**, i8) #0 !dbg !5 {
top:
%4 = call i8**** @jl_get_ptls_states() #3
%5 = alloca [16 x i8**], align 8
%.sub = getelementptr inbounds [16 x i8**], [16 x i8**]* %5, i64 0, i64 0
%6 = getelementptr [16 x i8**], [16 x i8**]* %5, i64 0, i64 2
%7 = getelementptr [16 x i8**], [16 x i8**]* %5, i64 0, i64 3
%8 = getelementptr [16 x i8**], [16 x i8**]* %5, i64 0, i64 4
%9 = getelementptr [16 x i8**], [16 x i8**]* %5, i64 0, i64 5
%10 = getelementptr [16 x i8**], [16 x i8**]* %5, i64 0, i64 6
@andreasnoack
andreasnoack / chat.txt
Created February 22, 2017 01:51
Memory debuggin in Julia
Yichao:
1. no need to edit any code
2. compile it with `WITH_GC_DEBUG_ENV` make variable
this should enable detection of 4 envs
and turn on gc verifier
(so the gc will be much slower even without any env set)
the three I used the most often are `JULIA_GC_ALLOC_PRINT=0:10 JULIA_GC_ALLOC_OTHER=r0:1000 JULIA_GC_ALLOC_POOL=r0:1000`
(not the default val, just whatever copied from my cmdline history)
Andreas:
travis_fold:start:worker_info
Worker information
hostname: worker-jupiter-brain:307b6dd7-cafc-4c4a-8398-cd7341cfdc54
version: v2.6.2-8-g42382d7 https://github.com/travis-ci/worker/tree/42382d728490166eff93d8242e994664150a296a
instance: 175b0567-0e70-4c45-97f5-17c0c4e3dc52:travis-ci-osx10.11-xcode8-1479248015
startup: 1m4.772609219s
travis_fold:end:worker_info
travis_fold:start:system_info
Build system information
@andreasnoack
andreasnoack / profile_05.txt
Last active January 27, 2017 18:05
benchmark_one_light_source on Julia 0.5 and 0.6
➜ ~ julia .julia/v0.6/Celeste/benchmark/speed/benchmark_one_light_source.jl --profile
make: Nothing to be done for `all'.
[1]<1> INFO: reading photoobj catalogs for 1 fields
[1]<1> INFO: field Celeste.SDSSIO.RunCamcolField(7713,3,152): reading /Users/andreasnoack/.julia/v0.5/Celeste/test/data/7713/3/152/photoObj-007713-3-0152.fits
[1]<1> INFO: field Celeste.SDSSIO.RunCamcolField(7713,3,152): 797 entries
[1]<1> INFO: field Celeste.SDSSIO.RunCamcolField(7713,3,152): 732 filtered entries
[1]<1> INFO: 732 primary sources
[1]<1> INFO: Found 1 target sources in 347.7444, 347.7446, 16.6202, 16.6204
[1]<1> INFO: loading images for Celeste.SDSSIO.RunCamcolField(7713,3,152)
[1]<1> INFO: neighbors found in 0.206718689 seconds