HNHacker News
TopNewBestAskShowJobs

dcuthbertson

372 karma · joined June 8, 2012

Hi! I'm Doug Cuthbertson. I've been writing software for a couple of decades, mostly in C and C++ on Windows. As far as computers are concerned, I am interested in algorithms, programming languages (I wish I had more opportunities to play with Erlang, Scheme, Go and LLVM at work), and plain good tools.

Reach me at gmail: doug.cuthbertson

submissionscomments
dcuthbertson··on Introducing a terms of use and updated privacy notice for Firefox
It took me several minutes, but you're talking about foot guns - brilliant reference. :-)
dcuthbertson··on Infinigen
While mathematics are necessary to build LLMs, they are not a kind of math or a distinct branch of mathematics.
dcuthbertson··on Show HN: Atlas of Space
Stellar work!

I couldn't resist the pun, but all kidding aside this space atlas is truly wonderful.

dcuthbertson··on Show HN: Atlas of Space
Steam has a generous return/refund policy [0], so you could buy it, test it, and if it doesn't work request a refund.

[0]: https://store.steampowered.com/steam_refunds/

dcuthbertson··on Nvidia announces next-gen RTX 5090 and RTX 5080 GPUs
A gigawatt?! Just a little more power and I won't need a DeLorean for time travel!
dcuthbertson··on Merry Christmas Everyone
> Judaism is exclusive and you're not invited.

That's not strictly true. I suspect those that follow Orthodox and Ultra Orthodox Judaism are exclusive. However, those that follow Reform Judaism and the Conservative Movement support conversion to Judaism, so you are invited.

dcuthbertson··on Show HN: My C compiler compiled itself
Thank you very much for that clarification. I knew about using sizeof with expressions, but I so rarely used it that way that I never gave it much thought.
dcuthbertson··on Show HN: My C compiler compiled itself
> sizeof is a unary operator so the parentheses are rarely necessary

I thought parentheses where still required for types, and are optional for variables. Even if that's not so, I still use them for types and avoid them for variables just to add one more cue about what's being sized.

dcuthbertson··on Show HN: My C compiler compiled itself
> and you get both DRY and avoid (void *) casting.

While that line of code is DRY, it doesn't avoid casting "void *" to "thing_t *".

dcuthbertson··on Frosted glass from games to the web
I'm not a UI designer so honest question: is the problem the use of aesthetics, like frosted glass or brushed metal, in UI design or is it that in pursuit of presenting such interfaces some designers lost the visual queues needed to indicate where controls are and what they do?
dcuthbertson··on Frosted Glass from Games to the Web: HTML glass UI inspired by AAA game dev
First, I really like the effect the author has achieved. It's very pretty.

Now for a bit of whimsy. It's been said that a picture is worth a thousand words. However, a thousand words uses far less bandwidth. What if we go full-tilt down the energy saving path, replace some images with prose to describe them? What would articles and blog posts look like then?

I know it's not practical, and sending actual images saves a lot of time and effort over trying to describe them, but I like the idea of imagining what that kind of web might look like.

dcuthbertson··on Algorithms We Develop Software By
> However, who the hell has time to write everything twice?

Nobody. The article even says, "N.B. Obviously, don't write literally everything twice. It's a heuristic. Apply intelligently."

dcuthbertson··on Trump wins presidency for second time
> All these years later we're still in a situation where "the economy" is going gangbusters, but the average person feels left out.

It doesn't matter. Trump claimed he'd build the greatest economy again. He didn't provide any details on what he plans to do that will actually improve people's lives. He just let people jump to their own happy conclusions.

dcuthbertson··on Nobel Prize in Physics awarded to John Hopfield and Geoffrey Hinton [pdf]
Another version of that paper [0] is dated Feb. 1986.

[0]: https://apps.dtic.mil/sti/tr/pdf/ADA620727.pdf

dcuthbertson··on Why TCP needs 3 handshakes
Thanks for explaining the why. I'm glad it falls somewhere between the X and the Z.
dcuthbertson··on Maggie Smith has died
She was an absolutely wonderful actress. The Washington Post also has an article announcing her death [0]. It goes into a lot of depth about her work and who she was.

[0]: https://www.washingtonpost.com/obituaries/2024/09/27/maggie-...

dcuthbertson··on Making progress on side projects with content-driven development
You might want to look at Coping Strategies for the Serial Project Hoarder [0]. It's a blog post by Simon Willison who maintains a lot of projects. Even if you have only one, I think his strategies apply well to making progress regardless of whether you can work on your project everyday, or only once every couple of weekends.

That page also made it to HN in 2022 [1].

[0] https://simonwillison.net/2022/Nov/26/productivity/

[1] https://news.ycombinator.com/item?id=33762438

Edit: add HN link.

dcuthbertson··on DAGitty – draw and analyze causal diagrams
I'd guess the GGP meant all of the root nodes together on one level and all of the tail nodes together on another, but single level. At least that's what makes sense to me.
dcuthbertson··on Strandbeest
If your goal is to replace rubber tires, then how about going whole hog and turn the entire road system into a railway system? Tires made of steel, parallel tracks, lots of switching, perhaps regional control systems to guide computerized vehicles along the fastest route keeping safe distances between cars, and cars that automatically link and unlink to create dynamic trains along shared routes. I think that would be a very cool system (although outrageously expensive to realize).
dcuthbertson··on Initial details about why CrowdStrike's CSAgent.sys crashed
Thanks. I understand that '.sys' is a naming convention. I'd guess that they used it because those config/data files are used by their kernel driver, and so makes kernel vs user-space files easier to distinguish.
dcuthbertson··on Initial details about why CrowdStrike's CSAgent.sys crashed
I wonder if it was pushed anywhere that didn't crash, as an extension of "It works on my machine. Ship it!"

I've built a couple of kernel drivers over the years and what I know is that ".sys" files are to the kernel as ".dll" files are to user-space programs in that the ones with code in them run only after they are loaded and a desired function is run (assuming boilerplate initialization code is good).

I've never made a data-only .sys file, but I don't see why someone couldn't. In that case, I'd guess that no one ever checked it was correct, and the service/program that loads it didn't do any verification either -- why would it, the developers of said service/program would tend to trust their own data .sys file would be valid, never thinking they'd release a broken file or consider that files sometimes get corrupted -- another failure mode waiting to happen on some unfortunate soul's computer.

dcuthbertson··on Training of Physical Neural Networks
In the end, it's a life-long process.
dcuthbertson··on Show HN: Edna, note taking app for developers
I found your blog and your diary of a solo developer building a web app [0]. Maybe the answers to my questions are there. Thanks for this, too.

[0]: https://blog.kowalczyk.info/article/30da6655040f47e693f8e66e...

dcuthbertson··on Show HN: Edna, note taking app for developers
Thanks for sharing. This is an impressive tool. Well done!

Would you mind sharing a little about your workflow? 528 commits over 40 workdays seems like a lot of work that must have been well organized. I'd guess each commit is a small amount of work on a focused aspect of the program. If that's so, did you have clear goals for what you wanted to achieve, break down the work ahead of time, or plan out what you wanted to change/add?

dcuthbertson··on Local First, Forever
Well, isn't it by definition that the likelihood of a Fat Chance is slim?
dcuthbertson··on Arthur Whitney releases an open-source subset of K with MIT license
Thanks for that link. The comments there help a lot. If I understand them, this is a minimal implementation of K with a lot of limitations, such as:

"the only supported atom/vector type is 8bit integer, so beware of overflows"

Still, it's fascinating how an interpreter can be written with such a small amount of code.

dcuthbertson··on JavaScript Naked Day
Thanks, but I have no idea. I never tried generating SVG from LaTeX. Others suggested MathML, some tools, and OpenType math fonts, so I'm going to try that route first.
dcuthbertson··on JavaScript Naked Day
Thanks folks. Your replies are very helpful. I'll take a look at MathML, pandoc, and LaTeXML. Writing MathML from scratch looks tedious, but pandoc and/or LaTeXML might be just the thing to make a conversion easy.
dcuthbertson··on JavaScript Naked Day
I like the idea of participating, but when I made my little Hugo-based blog I also liked the idea of presenting equations. Is there any way to do that without MathJax, KaTeX, or similar libraries?
dcuthbertson··on Open-Shell: A collection of utilities bringing back classic features to Windows
I've used Everything for many years. It would be nice if it were FOSS. Still, it's always been fast and reliable for me.
← PreviousPage 2 of 7Next →