Viewing profile — Brentward
Brentward
HN member- Joined
- Thu, Sep 10, 2020, 3:08 PM UTC
- HN karma
- 41
- Public activity
- 25 items
- HN profile
- View on Hacker News ↗
About Brentward
No profile information was provided.
Recent public activity
-
comment
Comment #41314116
I agree that the comment sounded pretty hostile, but I also agreed with the assessment that it might be better to avoid allocation in general. I know the code in the post is highly…
-
comment
Comment #39720252
Yes, at least the parts that my research group used regularly. I ported them to Rust, though, not modern Fortran. They're also pretty specific to computational chemistry, rather th…
-
comment
Comment #39683947
In grad school I worked on three separate Fortran code bases written as early as the 80s with tens of thousands of lines, no source control or version history, no build systems or …
-
comment
Comment #38548344
Yeah the article says these "aren't used anymore," but my image viewer (sxiv) complained that the gif was corrupted until I put something there. It still displayed the image, but i…
-
comment
Comment #38489561
Those examples contain overlap, but not in the first or last digit that is given as the solution. So from the instructions you can't tell that the intermediate list of numbers shou…
-
comment
Comment #38489192
I thought it was going to be the Excel DNA to date conversion. https://www.theverge.com/2020/8/6/21355674/human-genes-renam...
-
comment
Comment #37906723
The second edition is out! I started reading it last week, and it's great so far. https://www.awk.dev/
-
comment
Comment #37743132
Personally, I got tired of weird quirks like this with vterm and now bind this command to the key I used to have vterm on to spawn my actual terminal (st) in my current directory. …
-
comment
Comment #37512965
In org-alert we use `org-map-entries` and a simple `org-alert--parse-entry` function for stripping out the details we're looking for. Depending on what you want, it's not exactly a…
-
comment
Comment #36433095
It already is! I've been building Emacs from the development branch for the last couple of years, and the improvements in 29 and now 30 have really been great. I barely remember th…
-
comment
Comment #36360832
He links to a page about ARM MTE in the section where he talks about memory tagging and CHERI for the first time.
-
comment
Comment #36360141
I agree, it's not about it being "easy" to find the documentation or "easy" to watch the video. This is the landing page for the project, and I'd much rather see the commands in th…
-
comment
Comment #34619030
The example in previous versions of the Go math/rand package suggested using time.Now().UnixNano() to seed the RNG source since that's essentially a random int64.
-
comment
Comment #34589558
Not sure exactly what they meant, but I assume most arguments in this vein have something to do with form. A well-executed deadlift is a great exercise, but you have to balance the…
-
comment
Comment #34589514
For strength training StrongLifts seems like a good program. It used to be highly recommended on the fitness reddits, but I haven't followed them for a few years. Regardless, I thi…
-
comment
Comment #34457614
So write it locally in an unshared document and paste it into overleaf when you want someone else to see it? I don't like overleaf to begin with, but to feel this tied to it is a b…
-
comment
Comment #34332838
I think that's pretty clearly not the point. As someone who has worked with legacy scientific code written in Fortran, the copying is not the issue, it's blindly copying code that …
- comment
- comment
-
comment
Comment #31267808
Can't you just provide a default implementation of the method on the trait itself? Unless there are more requirements I'm not parsing from what you wrote, that seems to do exactly …
-
comment
Comment #31174487
To expand on the other reply, there are a couple more implicit loops. There's a loop over all of the command line arguments/files, then a loop for every line in each of those files…
-
comment
Comment #29075558
> There is no equivalent of this today. I started using computers much more recently, but wouldn't any OS that boots into a TTY provide a pretty similar experience? I'm genuinely c…
-
comment
Comment #28624188
Since Go seems to respect the memory limit, you could try using syscall.Setrlimit to set an artificially lower limit that you know will leave enough room for your other allocations…
-
comment
Comment #27158160
Benzene is not a PFC as it only contains carbon and hydrogen, not the fluorine that puts the F in PFC. According to Wikipedia [1], "fluoroalkanes are generally inert and non-toxic"…
-
comment
Comment #25292908
Not that this is an important part of the post, but in general parsing the output of ls like the author does in the for loop is a bad idea[1]. I think the one-liner would be better…