Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cbkeller
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
61.
▲
by
cbkeller
5y ago
Ah yes, quite right on the first part! The catch is that to be preserved, those sediments have to be deposited somewhere else on the continental crust, say in epicratonic seas [1] or in subsiding basins [2]. If the sediments wash all the wa
62.
▲
by
cbkeller
5y ago
Ground up and washed into the ocean -- and then ultimately subducted and made into new magmas!
63.
▲
by
cbkeller
5y ago
Great question -- and yes! Pleistocene glaciation in the northern hemisphere has been a lot shorter (so far) than the Cryogenian glaciations, but it is probably not a coincidence that the outline of Canada's "Precambrian shield&qu
64.
▲
by
cbkeller
5y ago
Geologist here -- happy to answer any questions about this! The underlying paper [1] and the older one it builds on [2] are both open access. The rj-MCMC for the time-temperature inversion used an existing program from the thermochron commu
65.
▲
The Great Unconformity: Research points to glaciers being the culprit
(vice.com)
87 points
by
cbkeller
5y ago
|
53 comments
66.
▲
by
cbkeller
5y ago
It's true; I think this syntax was probably made more for reading than writing since the main place it appears in the base language is just `Meta.show_sexpr`, but it's still interesting to play around with, and parsing it has some
67.
▲
by
cbkeller
5y ago
As it happens, in addition to the femptolisp in the Julia parser, there is actually a secret s-expression syntax for Julia itself. There's no built in REPL mode for it, but you can hack one in about a dozen lines: https://gi
68.
▲
by
cbkeller
5y ago
> I’m still not understanding this… why is it so hard to display the birthday date on the settings page?
69.
▲
by
cbkeller
5y ago
I tend not to use debuggers very much myself so not speaking on a ton of expertise, but I think it's probably safe to say the Fortran ones are going to be a lot better on that front. There are a few options for debuggers so far, but no
70.
▲
by
cbkeller
5y ago
I agree with you that Fortran is running on more than just legacy here. At the same time, I also think Julia has caught up a lot as far as SIMD, multicore, MPI and GPU. For SIMD, Chris Elrod's LoopVectorization.jl [1] is an (IMHO) incr
71.
▲
by
cbkeller
5y ago
> Even in Julia. Unless you're using [Octavian.jl]( https://github.com/JuliaLinearAlgebra/Octavian.jl ) or such for your linear algebra in place of BLAS. But yes, it is always interesting how many people do not k
72.
▲
by
cbkeller
5y ago
Ah, gotcha, fair
73.
▲
by
cbkeller
5y ago
I feel like if you're going to go monorepo in Julia (which I'm not sure I would, personally), you'd at least want to have multiple modules in that repo. Then you can run tests separately for each module, etc.
74.
▲
by
cbkeller
5y ago
> But personally I find OOP ugly and unnatural, and Julia's model elegant and natural. This definitely fits with my experience. It took me quite a while to really "get" dispatch-oriented programming as a paradigm, but once
75.
▲
by
cbkeller
5y ago
Yeah, it would definitely be technically possible to build some sort of editor tab-complete for methods of a type ala `methodswith` or etc., someone would just have to step up and build it. The lack of this sort of method autocomplete tooli
76.
▲
by
cbkeller
5y ago
I haven't seen it done yet, but in principle someone could probably write an editor plugin that gives some sort of autocomplete for method discovery in Julia based on `methodswith` or similar, which would be a nice thing to have!
77.
▲
by
cbkeller
5y ago
> "Embrace, extend, extinguish" isn't real and has never happened. https://en.wikipedia.org/wiki/Embrace,_extend,_and_extinguis... is full of examples that failed and not a single one that succeeded.
78.
▲
by
cbkeller
5y ago
The Folds.jl package [1] mentioned in the article is very nicely written, IMHO. For another alternative to Julia's built-in `Threads.@threads` macro, folks may also be interested in checking out `@batch` from Polyester.jl [2] (formerly
79.
▲
by
cbkeller
5y ago
A closed-source application (dare I say, _extension_) that provides some enhancement to some existing open-source software… How is this at all distinguishable from the second step someone would take in an “embrace, extend, extinguish” strat
80.
▲
by
cbkeller
5y ago
A bit of googling turns up [1][2], but [2] doesn't seem to have much recent activity (presumably in turn due to Google ceasing active development of S4TF [3] [1] https://www.fast.ai/2019/03/06/fastai-swif
81.
▲
by
cbkeller
5y ago
Looking forward to trying this out!
82.
▲
by
cbkeller
5y ago
Yep! help?> Base.Experimental.@optlevel Experimental.@optlevel n::Int Set the optimization level (equivalent to the -O command line argument) for code in the current module. Submodules inherit the setting of their parent
83.
▲
by
cbkeller
5y ago
Hopefully eventually
84.
▲
by
cbkeller
5y ago
It should be faster for higher-order AD, among other things. Keno talked about some of the theory in [1], but also has a Juliacon presentation later this week. [1] https://www.youtube.com/watch?v=mQnSRfseu0c
85.
▲
by
cbkeller
5y ago
Oh interesting. That would work too, but `*` is really quite nice in the context that string concatenation is properly the associative binary operation of a free monoid.
86.
▲
by
cbkeller
5y ago
This is one of the cases where there's sometimes confusion between the semantics of Julia as a language and the practical implementation of Julia -- just like how Julia is dynamically typed as a matter of language semantics, but compil
87.
▲
by
cbkeller
5y ago
Oh, I see -- yes, fair enough!
88.
▲
by
cbkeller
5y ago
Composability is one of the things the Julia community generally Takes Seriouslyᵀᴹ so definitely don't hesitate to ask if there are two packages that don't play as nicely as you would like! I'm a bit confused still though why
89.
▲
by
cbkeller
5y ago
Do you have an example of a case where you ran into this in Julia with two packages that you wanted to use together? If the packages are still actively developed, I suspect the developers would be interested to resolve the situation to allo
90.
▲
by
cbkeller
5y ago
In Julia it will just dispatch to the correct function. In other words, one package would define `fit(mymodel::TensorFlowModel)` and the other would define `fit(mymodel:PyTorchModel)`, and then when you call `fit` it'll just dispatch t
More ›