Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cbkeller
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
10 ms
·
91.
▲
by
cbkeller
5y ago
Yes indeed. While Julia does generally eschew the "model.fit(X,Y); model.predict(new_data)" style, it's not because it's functional, it's because it's dispatch-oriented , which is arguably a superset of class-
92.
▲
by
cbkeller
5y ago
While you have a valid perspective, the HN guidelines [1] do specifically ask us to assume good faith. [1] https://news.ycombinator.com/newsguidelines.html
93.
▲
by
cbkeller
5y ago
Composability via dispatch-oriented programming, e.g. [1] It also pretty much solved my version of the two-language problem, but that means different things to different people so ymmv. [1] https://www.youtube.com/watch?v=kc
94.
▲
by
cbkeller
5y ago
In particular, Dylan was one of only a few other languages to Take Multiple Dispatch Seriouslyᵀᴹ
95.
▲
by
cbkeller
5y ago
On top of that, Julia's non-lispy surface syntax has a perfectly valid s-expression representation that can be displayed with `Meta.show_sexpr`, and for which you could hypothetically enable a repl in only a few lines (e.g. [1]) [1] h
96.
▲
by
cbkeller
5y ago
Earth's moon is freakishly large by moon standards, as it turns out! > At about one-quarter the diameter of Earth (comparable to the width of Australia), it [the Moon] is the largest natural satellite in the Solar System relative to
97.
▲
by
cbkeller
5y ago
I also started in Matlab + C, and didn't personally like Python very much, but wound up liking Julia after a bit of adjustment. Still a work in progress, but I've written up a few of my lessons learned in the process [1] in case t
98.
▲
by
cbkeller
5y ago
On that topic, I'll throw in a shoutout to Cormullion's excellent JuliaMono font [1,2]! Typing certainly does add more friction between u and µ than a chalkboard would, though it is perhaps also notable that mathematicians seem to
99.
▲
by
cbkeller
5y ago
If you need to run small scripts and can't switch to a persistent-REPL-based workflow, you might consider starting Julia with the `--compile=min` option. If you know which packages you're going to need, you can also reduce startup
100.
▲
by
cbkeller
5y ago
I hope it'll get there! If anyone wants to help out, check out (e.g.) https://github.com/tshort/StaticCompiler.jl/pull/46
101.
▲
by
cbkeller
5y ago
Honestly you were probably fine the first time, given that you can easily disable the GC, and that it's really not that hard to entirely avoid generating garbage (in which case the GC generally wouldn't have been triggered even if
102.
▲
by
cbkeller
5y ago
You can just turn off the GC with `Base.GC.enable(false)`
103.
▲
by
cbkeller
5y ago
There are a few tricks to getting Julia to be actually fast, and while it's not hard per se if you know them all (at least for numerical work), it's definitely not trivial. IMHO, you really have to embrace dispatch-oriented prog
104.
▲
by
cbkeller
5y ago
Ah yes, Python, the famously statically compiled general-purpose programming language :p More seriously though, just because some language may be considered "general purpose" doesn't mean it's the best language for eve
105.
▲
by
cbkeller
5y ago
> Us CLI folks are not even asking for much. Just a way to call a program with arguments and so that you don't have to do compile identical code every time you do something. That's it. Is that unreasonable? Look, everyone wants
106.
▲
by
cbkeller
5y ago
I think the main reason they stopped referencing that claim is that "two-language problem" means too many different things to different people. But yes, real static compilation would be great.
107.
▲
by
cbkeller
5y ago
Hmm, good question. There is generally expected to be plenty of decomposition (or in biogeochemical speak "remineralization") happening any time you have enough organic carbon around (and enough of a chemical potential gradient be
108.
▲
by
cbkeller
5y ago
As a geologist, we can definitely have an unusual idea of what counts as "fast" :) That's a good question, I would say if anyone found fungi before the GOE that would be a big surprise. Finding them after the GOE makes sens
109.
▲
by
cbkeller
5y ago
Distribution costs are negligible when you just make the PDFs free to everyone, but publishers spend a bunch of money on access control, security, and web interfaces that make you jump through hoops to download the actual PDF while doing ev
110.
▲
by
cbkeller
5y ago
Just tried it out -- super convenient! Seems to work fine with LibreOffice as well.
111.
▲
by
cbkeller
5y ago
I don't think that's particularly what's going on. I think it's more just that Julia has a relatively small but incredibly zealous group of users. If Julia solves your personal version of the two language problem, and es
112.
▲
by
cbkeller
5y ago
What is fascinating to me about this is the regions including [1] in North Dakota or [2] in northern Russia (~300 km southwest of Norilsk) that have incredibly large and bright zones of light pollution -- more than many large cities -- almo
113.
▲
by
cbkeller
5y ago
The Anopheles mosquitos [1] which spread human malaria are present at some level across about half of the US, but are just not especially abundant here compared to other mosquitos that do not spread malaria. In fact, of the ~200 mosquito
114.
▲
by
cbkeller
5y ago
According to one of the researchers who co-signed a letter of concern over the issue, the Minnesota group also only received IRB approval retroactively, after said letter of concern [1]. [1] https://twitter.com/SarahJamieLew
115.
▲
by
cbkeller
5y ago
This looks awesome! I might try to incorporate this as an extra resource in an intro (Julia) class in the future.
116.
▲
by
cbkeller
5y ago
Deciding that your pain is well managed without opiates has always been a perfectly reasonable and medically-accepted option, and unsurprisingly there has never been any sort of social stigma against people who decline painkillers. Most t
117.
▲
by
cbkeller
6y ago
I think that video may have legitimately improved my understanding of the potential pitfalls of microservices
118.
▲
by
cbkeller
6y ago
This earlier post seems to provide some useful context: https://writings.stephenwolfram.com/2020/12/combinators-and-...
119.
▲
by
cbkeller
6y ago
I did this too, it was great. I’m sometimes surprised by how few of the people around me in academia seem to have done anything similar.
120.
▲
by
cbkeller
6y ago
While the underfunding and collapse of the observatory is a tragedy, I think it is perhaps less surprising in the context that much of the original political will behind the observatory was motivated by potential military applications, whic
More ›