Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
shele
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
61.
▲
by
shele
8y ago
Yeah, startup and compilation time in Julia is not a big deal. One could even make the compiler work a bit harder, but you would have to ask a lawyer if this still counts as recursion ;-) julia> function fib(::Val{n}) where n
62.
▲
by
shele
8y ago
Tomorrow: Prolog-like logic programming DSL in Julia.
63.
▲
by
shele
8y ago
Yeah, I can imagine. That would maybe also not be too difficult as Julia apparently could ccall the erl_interface c-library http://erlang.org/doc/apps/erl_interface/ei_users_guide.html
64.
▲
by
shele
8y ago
You should ask the poster above me.
65.
▲
by
shele
8y ago
Controversies about this blog post and about Julia's 1-based arrays on HN often replace serious discussion about the programming language. Stefan Karpinski is one of the inventors of Julia, Dijkstra wrote a classic note in favour of 0-
66.
▲
by
shele
8y ago
It is the year 2048. A hacker news veteran presses enter to fulfill her duty and reposts the sad story about Dan Luu and the Julia community. A greyed Stefan Karpinski tries to object but his statement disappears behind thousands of Dijkstr
67.
▲
by
shele
8y ago
I came the other way around and tried some Erlang before settling on Julia, but if I your focus is on scheduling of data science tasks I know why you used elixir.
68.
▲
by
shele
8y ago
Someone with lwn account could point out `julia> (g ∘ f)(x)` and the plans to revamp `|>` to rsidd over there.
69.
▲
by
shele
8y ago
Julia is for when you have to compute things.
70.
▲
by
shele
9y ago
The fraction of women with Erdos number one is already very small, no reason to assume that they are less important than corresponding man with the same Erdos number.
71.
▲
by
shele
9y ago
I specifically argue that posting something a long the lines of > Anytime someone brings up Julia, I think of Dan Luu's review of the language: https://danluu.com/julialang/ if someone mentions Julia is not a h
72.
▲
by
shele
9y ago
The way Dan Luu's post is used on HN resembles a thought terminating cliche.
73.
▲
by
shele
9y ago
Yes "Not really". The majority is not really everybody.
74.
▲
by
shele
9y ago
A lot of Julia code is not only generic in the element type, but also with respect to the array type: a linear solver written in Julia works on classical matrices, but also on banded real matrices or sparse arrays of BigFloats.
75.
▲
by
shele
9y ago
I am curious (coming from Julia), what is the difficulty in Python?
76.
▲
by
shele
9y ago
Yes.
77.
▲
by
shele
10y ago
OP said "integers >= 0". Not much to "think" here.
78.
▲
by
shele
11y ago
And this is how the world ends according to Stanisław Lem, 1964, https://en.wikipedia.org/wiki/The_Invincible .
79.
▲
by
shele
11y ago
He actually wrote a Julia wrapper exploring this a bit more https://github.com/malmaud/SFrames.jl
80.
▲
by
shele
11y ago
http://danluu.com/julialang/ is telling but certainly gives little insight whether a statement "Julia for Data Science? Ha!" is justified or wise.
81.
▲
by
shele
11y ago
Other example: Fixed size matrix multiplication in https://github.com/SimonDanisch/FixedSizeArrays.jl depends on element type T and dimensions MxN and NxR: function *{T, M, N, R}(a::Mat{M, N, T}, b::Mat{N, R, T})
82.
▲
by
shele
11y ago
Mathematica is quite a different beast. It will be a while until julia has a native CAS and even then it will likely not be a CAS (Computer algebra system).
83.
▲
by
shele
11y ago
Floating point arithmetic is a significant source of bugs. And if you transition to fixed point arithmetic, you will still have a significant source of same-same-but-different bugs (maybe unless you really only need to add things and not ne
84.
▲
by
shele
11y ago
From the beginning the main practice of the theory of disruption was to make some guys and gals feel special.
85.
▲
by
shele
11y ago
For gaming purposes, a standard pseudo-random number generator is faster, more reliable and has better statistical properties (!) than this hardware random number generator. It is also cheaper (cheap as in free software).
86.
▲
by
shele
11y ago
Lovely :-)
87.
▲
by
shele
11y ago
No. You don't get punished for it, if you have to or like to.
88.
▲
by
shele
11y ago
Thanks
89.
▲
by
shele
11y ago
A tale: http://alistair.cockburn.us/Thinking+before+programming
90.
▲
by
shele
12y ago
In think it is the other way around - the declaration is a tentative definition, so a definition unless there is a definition at file scope.
More ›