Skip to content

Instantly share code, notes, and snippets.

View evetion's full-sized avatar
🛰️
Global LiDAR DTMs

Maarten Pronk evetion

🛰️
Global LiDAR DTMs
View GitHub Profile
julia on  tags/v1.8.2 via 🅒 base ➜ lldb julia test_crash.jl
(lldb) target create "julia"
Current executable set to '/julia' (arm64).
(lldb) settings set -- target.run-args "test_crash.jl"
(lldb) r
Process 97830 launched: 'julia' (arm64)
┌ Warning: User provided progress functions are unsupported on this architecture.
└ @ ArchGDAL ~/.julia/packages/ArchGDAL/0Tbsf/src/utils.jl:233
┌ Warning: User provided progress functions are unsupported on this architecture.
using Base.Meta
using FixedPointNumbers
using Compat
"Generate read (unpack) method for structs."
function generate_read(T::Type)
fc = fieldcount(T)
types = [fieldtype(T, i) for i = 1:fc]
# Create unpack function expression
using BenchmarkTools, Compat
using StructIO
# Definitions
@io struct TwoUInt64s
x::UInt64
y::Int64
end
function read_generic_array(io::IOBuffer, t::Type{TwoUInt64s})
@evetion
evetion / keybase.md
Created October 5, 2017 05:07
keybase.io proof

Keybase proof

I hereby claim:

  • I am evetion on github.
  • I am evetion (https://keybase.io/evetion) on keybase.
  • I have a public key ASDj0Soxu4IIyEJu6Qs6B6ZQZdRcL_IKXb3U04wkiZgMqwo

To claim this, I am signing this object: