News for hackers. Stuff that matters.

goerz

Don’t people google their newly coined acronyms? GRAPE is already Gradient-Ascent-Pulse-Engineering, which is arguably “machine learning” (optimal control)
Even better: Julia (although Fortran is pretty good!)
Re:Show HN: Jupytext.nvim on Saturday December 28, 2024 @11:56AM (#42532338)
I wrote this plugin for Neovim to be able to edit Jupyter notebook .ipynb files directly in Neovim. The native format for notebooks is quasi-binary json. This plugin uses the jupytext tool (https://github.com/mwouts/jupytext) to convert that json to a plain text representation (markdown or code) on the fly, and back to json when the file is saved.
Re:Calculus with Julia on Saturday May 18, 2024 @05:42PM (#40402355)
“Last week” is well within the 2-week return window.
Re:Julia and Mojo (Modular) Mandelbrot Benchmark on Saturday September 09, 2023 @06:22AM (#37443840)
I’m not sure I would consider the scientific computing that Julia targets a “tiny” niche. It’s worth remembering that Python is 30 years older than Julia, and Julia has only been in a really usable state for 4 or 5 years. You can’t expect it to displace Numpy/Scipy/etc overnight. Especially if you include machine learning, where there’s just huge momentum with large corporations having massively invested in Python frameworks for at least 10 years. Subjectively, I’m seeing quite a lot of growth in Julia. It’s certainly a much stronger language than the Python/C++ combination that currently has the biggest market share in that area.

Also, there’s nothing wrong with niches. Julia is undoubtedly less of a general-purpose language like Python, but it very much shines in its domain.

Re:Fortran on Tuesday August 29, 2023 @06:59AM (#37305878)
True, but C and Fortran have very different semantics that make them suitable for very different fields. In particular, C does not have great semantics for linear algebra. Also, C has many footguns due to its use of pointers, while Fortran has virtually none.

You still need to learn the tooling, but the tooling is actually pretty similar for Fortran/C/C++ (same compiler/linker toolchain). Libraries aren't that much of a thing in Fortran, but to the extent that they are, this again is similar to C/C++.

Re:Fortran on Tuesday August 29, 2023 @06:27AM (#37305574)
C++ and Rust don’t really have good semantics for scientific computing (linear algebra). They’re great for many other domains like “system’s programming”, where Fortran doesn’t compete, of course. The only language that’s similarly (in fact, more) expressive as Fortran for scientific computing today, as well as holding up for performance, is Julia
Re:Fortran on Tuesday August 29, 2023 @06:20AM (#37305534)
How has it “not panned out”? Julia has been in a useable state only for a few years, and is still rapidly developing. Prior to Julia 1.0, I would have said Fortran (which I have 15 years experience with) was the most productive language for scientific computing. Today, Julia is, by a wide margin. In fact, our benchmarks show Julia matching or beating Fortran’s performance, to say nothing of the mich increased flexibility.
Is this affiliated with Juno the iOS Jupyter client?
Not if the air that you need to breathe has a wet bulb temperature >35C
Right, but we're talking about being extremely close to the point where these will fail due to unsurvivable wet bulb temperatures
Yes, you can absolutely (and we will have to) mitigate hot temperatures with building design, but only up to the point where you have wet bulb temperatures >35C over several days. There are heavily populated areas that are in real danger of having something like that happening, and this is what that would look like: https://www.orbitbooks.net/orbit-excerpts/the-ministry-for-t...
It’s much easier to heat something than to cool it. You can build a fire without any technology at all, but you can’t do anything about unsurvivable heat without a working power grid.
Re:JDF.jl – Julia DataFrames serialization format on Saturday July 15, 2023 @11:09AM (#36737500)
Has it “lost” preference? I was more under the impression that it just hasn’t yet gained as much popularity as it deserves based on its technical merits, due to being quite a young language and the entrenchment of a large existing Python ecosystem.
Re:Grammarly will discontinue the Text Editor SDK on Wednesday July 12, 2023 @11:04PM (#36704558)
Although I'm technically not a native speaker, I consider myself completely fluent, and a competent writer. I still find Grammarly or similar services quite useful, even if just to catch stupid "grammatical typos" that a traditional spellchecker would miss. I basically treat it like autocorrect.
Re:Grammarly will discontinue the Text Editor SDK on Wednesday July 12, 2023 @11:55AM (#36696516)
Yeah, Grammarly is moving in the wrong direction for me. What I’d like to see is better integration with text editors etc, especially in a plain text environment. 99% of what I write is Markdown, LaTeX, or some other markup language, which Grammarly does not deal well with at all. LanguageTool is much better in this respect, although it doesn’t find nearly as many mistakes as Grammarly
Does anyone have a specific recommendation for a glass measuring cup that is safe to boil on a gas stove (like PYREX before they changed their glass)?
> Aside from maybe like a Hollywood editor […], I have no idea who these are for.

That’s exactly who these are for

Cool. Thanks!
Re:Europe: Is compulsory military service coming back? on Sunday June 11, 2023 @10:00AM (#36281446)
That’s not true, the EU is a suprantional entity. https://en.m.wikipedia.org/wiki/Supranational_union

That is, its members transfer part of their sovereignty to the EU

Which diagram generating tools?
Re:Julia 1.9 Highlights on Wednesday May 10, 2023 @05:24PM (#35893743)
I’m a heavy Julia user, and I love the language, but I really wouldn’t recommend it as a “general purpose scripting language”. Pushing the idea that it is will only lead to disappointment in new users. Julia is very much a language for scientific computing, in the broadest sense.
Re:Julia 1.9 Highlights on Wednesday May 10, 2023 @05:19PM (#35893679)
It’s pretty typical for the conventions of Julia package naming… Plots, Statistics, DifferentialEquations, …
Per run

Older »