HNHacker News
TopNewBestAskShowJobs

gregdaniels421

83 karma · joined April 17, 2026

submissionscomments
gregdaniels421··on DConf 2026 in London
Ages ago in C++ there was the hope of having the standard library give more error codes and use error values instead of full exceptions. Zig has some excellent innovations in that direction, any hope of that in D?

Edit: I think it was called "Herbception"s after Herb Sutter, and it really sounded like a good idea to me

gregdaniels421··on How real are real numbers? (2004)
This doesn't seem like a very good point to make, sure reals are uncountable and any set of them with labels is countable and of measure zero. That doesn't say anything about physics at all. In QM things are only discrete in certain ways, like energy levels, not positions. A wave function over space can take on any real valued value in its range. Probabilities are real numbers(norms of the wave functions), and there is no reason to believe they would be discrete. Take cosine squared, given any angle it takes on all values between zero and one at some point.
gregdaniels421··on Building GCC 1.27 (2019)
All of that is very dependent on the compiler used to compile it. Using a modern gcc with -march=native will probably have it be somewhere near tcc for performance, at least when I tried it a few years ago. If you compile it with itself maybe much worse? Also this would change based on your processor and so on.
gregdaniels421··on A missing underscore sent innocent man to prison for 18 months
It is Canada so a decent amount of the process is different and more English than American.
gregdaniels421··on DConf 2026 in London
First day seems very LLM heavy, and sounds quite odd for Phobos 3. I would like to see Phobos 3 be more betterC forward, since I have found D to be nicer than C for WASM, but you can't use most nice things. Having a default RAII vector class for betterC and a hashmap would be super nice too.

Edit: Also would be nice to adopt move and copy semantics even closer to C++ and maybe need less explicit moves, and ideally less mess with calling __xdtor when trying to do RAII

gregdaniels421··on The Silurian Hypothesis (2020)
The proper Silurian period had no pollen, so that wouldn't make any sense.
gregdaniels421··on Hannah Fry Wins the Leelavati Prize in 2026 for Mathematics Outreach
Roll down an opposite side window and flap a single open door on the other side
gregdaniels421··on Don't Take the Black Pill [video]
This comment is on a part of the video on Free Software Disillusionment, where people don't want to have their code ingested and used by AI. Andrew's thingy is basically that if you don't participate in open source there won't be high quality code for others/yourself in the future.

People generally don't like the AI using their code for a few reasons, one is replacement, like an AI can just copy your project without attribution. Two is that it feels like you are providing value for a soulless corporate machine without compensation.

If a person uses your code you get maybe happy that it was useful and maybe something cool gets made out it. If an AI uses your work it feels like you just did free labor.

I don't feel like Andrew made any particularly great points, but comments both here and on the youtube link have mentioned really liking that point.

gregdaniels421··on Codeberg Divides
That doesn't seem like a great take on this. You seem to be implying that only unemployed people choose not to use AI, and anything that doesn't use AI is a useless toy project.

There were decades of software written before modern LLMs, and a lot of people choose to hand write their software as a form of maintaining their skill. Just like people practice martial arts even though we have guns.

If you reflect on your words, you might see another side to this.

gregdaniels421··on The Book Prize Index
It seems fine on my 4k screen, they just line wrapped the title, this is on firefox.
gregdaniels421··on Latest Airbus single aisle aircraft innovations
The first class seats look like a nightmare if you have kids.
gregdaniels421··on Computational chemistry, Locally? My rant on SSH
> Xforwarding over VPN+residential broadband sounds like a great way to ...not use any sort of gui app.

During COVID I had the wonderful opportunity to remote into a work computer that had a Matlab license and watch the screen slowly paint in. Each keystroke took multiple seconds to display for me.

gregdaniels421··on I regret migrating to Codeberg
Is there a another platform with more users/better quality users?
gregdaniels421··on I regret migrating to Codeberg
Forgejo is pretty crazy easy to setup if you have a server with some storage already. It can be set to lock out people by default
gregdaniels421··on Gemini last models: temperature, top_p, and top_k are deprecated and ignored
Probably what is meant is consistency instead of determinism
gregdaniels421··on Advertise in ChatGPT
Funnily those are the customers you would most want to target with ads since they should have money
gregdaniels421··on UnifiedIR for Julia
It would be more of just use MLIR and if you need some extensions for something upstream the changes needed.
gregdaniels421··on First atmosphere found on Earth-like planet in habitable zone of distant star
> Basically no hydrogen left (not even in the form of water).

There should be a decent amount left as sulfuric acid.

gregdaniels421··on UnifiedIR for Julia
The WasmGC and the lack of good support in LLVM is a pain, but having yet another IR may be worse decision in the long run compared with just using MLIR and submitting changes to have it work for you
gregdaniels421··on Neither GCC nor Clang are compliant with standard C++
The working group said bring us a paper with the exact proposal, I haven't seen an update where someone did.
gregdaniels421··on Is this the end of the once-mighty GoPro?
It really didn't help that the HERO 13 changed a bunch of stuff for the worse, like incompatible api and other issues.
gregdaniels421··on How to Train a Gen AI Kick Drum Model on Your Old Linux Desktop with 6GB VRAM
So the idea would be to reconstruct the low frequency components from whatever upper harmonics are left in the recording? If you know the instruments and positioning of the recording device and something of its(the instruments, recorder, environment, etc.) characteristics, it might be possible to solve that using classic methods. There would be huge numbers of parameters, it is an interesting thought. Is there a large easily/freely available corpus of those recordings?
gregdaniels421··on What Every Python Developer Should Know About the CPython ABI
I mean it was part of a picture, and `import numpy as np` is literally used everywhere. The rest of the article seems generally accurate, and not too AI-y
gregdaniels421··on What's the most popular number in Hacker News titles?
For determining words that are important doing something like a tf-idf would make more sense, or doing some key word analysis like RAKE or YAKE.
gregdaniels421··on Bootstrapping GDC with DMD
This makes me interested in the gdc-wrapper, since that has been a problem for me in the past when trying to compile under multiple compilers, but I never thought to try the obvious thing and just wrap it. I might attempt a more comprehensive version of that later.
gregdaniels421··on Show HN: 18KB ls alternative in no_std rust and Libc
Looks like nice human written rust code, I wonder if for your use case it might have been easier to write a small python script to use glob and pathlib to just add your emojis or note which is a file or dir since that shouldn't be super slow and would be using less space too(assuming you have python on your pi)
gregdaniels421··on Show HN: Opening lines of famous literary works
Is there a good way to determine after seeing N unique items in M trials how many items there potentially are? Would tracking the time between seeing new unique items help? Is this an already solved problem?
gregdaniels421··on C++20 Improved the For-Loop Syntax
An articulate creature that hounds its creator for abandoning it?

If anything it is more of a Chimera

gregdaniels421··on A tiny cell that broke a big rule of biology
Azolla which at one point maybe caused an iceage is freshwater only and a symbiotic organism with a cyanobacteria, and the bacteria can't tolerate salt, maybe there is something cool we could do with nitroplasts to improve sea vegetation to reduce CO2
gregdaniels421··on Superoptimizer – A Look at the Smallest Program
Yeah for the Quajects to get the JIT-ing to work, which was outrageous cool sounding when I first read about it. It is a same we can't figure out how to have nice things like that go fast(cache flushing).
← PreviousPage 2 of 3Next →