Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cbkeller
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
151.
▲
by
cbkeller
6y ago
Examples being out of date is definitely an issue since a lot of things are still changing quickly in the ecosystem as a whole. I think it’s getting better as more packages go 1.0 and internals stabilize a bit, but nonetheless. As far as yo
152.
▲
by
cbkeller
6y ago
Currently the best you can do is to build a somewhat unwieldy relocatable “bundle” with PackageCompiler.jl [1], but there are apparently plans for actual static compilation using an approach more similar to that used in GPUCompiler.jl [2],
153.
▲
by
cbkeller
6y ago
I’ve been wanting to try that package out! Seeing NiLang discussed in the context of automatic differentiation in the Julia community was a bit mind bending, and the first time I ever heard about reversible computing.
154.
▲
by
cbkeller
6y ago
Then write a function that does everything your script would do in the clean local scope of that function, and call it many times as needed. I mean heck, that’s a more elegant solution even if script latency wasn’t in the equation.
155.
▲
by
cbkeller
6y ago
If that’s your workflow it would probably be highly advisable to compile plots.jl into your sysimg
156.
▲
by
cbkeller
6y ago
Totally fair, though note that these slow times are only for _first_ plot - I leave my repl open all day, and all but the first plot are sub-second
157.
▲
by
cbkeller
6y ago
I’m always amused to see these “I’m sure caching wouldn’t even be a hard fix, the community must be resisting it” takes. Feel free to show me the PR’s that have have been rejected that would have solved the problem. Or if you think it’s eas
158.
▲
by
cbkeller
6y ago
I’ve never tried it myself, but can’t think of any reason why it wouldn’t work in principle if you do want to go that route
159.
▲
by
cbkeller
6y ago
Technically yes, but then IIRC you’d have to recompile the whole sysimg any time you update any single package, which could get to be a pain. The usual compromise seems to be to include just a handful of your most used packages in the sysim
160.
▲
by
cbkeller
6y ago
It’s not trivial to do, but compiling plots into your sysimg might actually fix that
161.
▲
by
cbkeller
6y ago
Yeah, this is probably actually the closest equivalent to the Rust Book, but I’ll also second the suggestion from the other comment of “Think Julia” (beginner) and “Design Patterns and Best Practices with Julia” (intermediate /advanced
162.
▲
by
cbkeller
6y ago
Linear algebra is the most practically consequential one - and suffice it to say, it’s not a coincidence that BLAS, LINPACK, and LAPACK were all written in one-based languages. Matrix indexing is one-based, and beyond the issue of translat
163.
▲
by
cbkeller
6y ago
I use this to format all the assignment handouts for my intro-to-programming-in-Earth-sciences class. Has worked great so far.
164.
▲
by
cbkeller
6y ago
That hidden Julia s-expression syntax helped me start to understand metaprogramming in Julia. Along the way I found that it takes surprisingly few lines of code to turn the normal Julia repl into a more-or-less working Julia-lisp repl: htt
165.
▲
by
cbkeller
6y ago
Vera Rubin would approve. Despite making a lot of the critical rotation rate measurements on spiral galaxies [1,2,3], it seems as though she was never particularly happy with the interpretation of this result as dark matter: > "If I
166.
▲
by
cbkeller
6y ago
There's still a working donation-supported command-line-focused version of it here [1] for anyone who doesn't know! [1] https://github.com/timvisee/ffsend
167.
▲
by
cbkeller
6y ago
That is what I would have interpreted that to mean as well, but the numbers in the far right column don't really appear to be inflation-adjusted relative to the actual primary sources. Here, for instance, is the actual appropriations b
168.
▲
by
cbkeller
6y ago
The NSF budget increased dramatically between 1951-2008 -- but when accounting for inflation in the figures you linked, has declined by about 10% in real terms since then. (That is, the 2010 NSF budget of $7.045 B in 2010 is in real terms e
169.
▲
by
cbkeller
6y ago
>AWS makes you into an owner and that includes owning your career. This sort of corporate jargon does not exactly instill confidence. I think I'm more concerned about Amazon's engineering culture now than I was before.
170.
▲
by
cbkeller
6y ago
That's fair enough from a political perspective (after all, as they say in the article, >70% of NIF shots are going to [nuclear] stockpile stewardship now) -- but just to give NIF a bit of credit on the "basic science" fro
171.
▲
by
cbkeller
6y ago
Well I think the catch is that, to use the US as an example, "big science" projects such as the NIF, particle accelerators, synchrotron light sources, and supercomputers are generally all funded by the DOE, while small individual
172.
▲
by
cbkeller
6y ago
This is a pet peeve of mine as well; significant figures can be handy, but fundamentally they originated as a quick and dirty method of keeping track of uncertainty that was quite handy when doing calculations by hand, but is more or less o
173.
▲
by
cbkeller
6y ago
Here are the current grad student salaries at UC Davis [1]. A "Teaching Assistant" (AKA a grad student is TAing) is paid $45,138.00 per year, and a grad student who is currently paid out of grants earns between $42,729.00 for &quo
174.
▲
by
cbkeller
6y ago
You're definitely right about it being structured to assume you followed the traditional path. That said, top schools will pay grad students about the US median salary ($35k/yr). Other schools potentially much less. Whether the US
175.
▲
by
cbkeller
6y ago
By noun, I mean as opposed to phrase; i.e., unless I'm missing something this does not seem to touch particularly on why "man of science" [/ "men of science"] was not thought to be acceptable, given that it was
176.
▲
by
cbkeller
6y ago
Well, this is where it seems to get complicated. There is an 1831 letter from Whewell to Somervilles' father, asking him to thank her for the advance copy of her book which she apparently sent him, and also on behalf of the Philosophic
177.
▲
by
cbkeller
6y ago
Yeah, this is consistent with what I have seen. At the end of the day, unemployment numbers for holders of PhDs [1] are starkly different from those of the general population. [1] https://www.nsf.gov/statistics/infbrief
178.
▲
by
cbkeller
6y ago
Academic here -- this brings up something that I always like to spread the word about: Contrary to some apparently common perceptions, grad school, especially in the sciences, generally pays you rather than the other way around. Things like
179.
▲
by
cbkeller
6y ago
I suppose it depends whether we want to give more weight to the first use in conversation (1833 or before), or the first use in writing (the 1834 article). The context of the first use in writing is relevant in either case.
180.
▲
by
cbkeller
6y ago
I know. The point is that you seem to have left out some rather relevant context. If that was an accident, no problem. Some of your other comments in this thread indicate that it may be a good idea for you to review the hn guidelines >
More ›