HNHacker News
TopNewBestAskShowJobs

mgaunard

2,258 karma · joined November 6, 2021

submissionscomments
mgaunard··on Engineering management after the cost of code collapsed
The cost of code actually increased; code debt is being accumulated faster than we can clean it up.
mgaunard··on Mathematicians still don't know the fastest way to multiply numbers
You're missing the fact that "multiplying a digit with a number" is not a single operation.
mgaunard··on Lessons from the Vasa Shipwreck
I feel like people use this "remember the Vasa" idea every 6 months.

Yes, we all remember the Vasa, and understand how it applies to any untested overengineered idea.

mgaunard··on Decoding the obfuscated bash script on a Uniqlo t-shirt
how is it obfuscated? It's literally written as plain black monospace text on a white background.

Pretty sure any AI can solve it in 20 seconds.

mgaunard··on A better way to tie gym shorts (or any drawstring) [video]
99% of all loose ties are due to people doing a granny knot instead of a square knot.
mgaunard··on FoundationDB's Flow – Bringing Actor-Based Concurrency to C++11
There is no shared lineage here. Some of the people who worked on sender/receivers indeed also worked at Nvidia on Thrust, which never had anything to do with coroutines.
mgaunard··on My AI-built PHP engine in Rust passes 17% of PHP-src tests, renders WordPress
most of those are just bindings, trivial work.
mgaunard··on FoundationDB's Flow – Bringing Actor-Based Concurrency to C++11
An actor does not have a queue; that's again the whole point I already made: it's event-driven, things are decoupled and the actor is not aware of how control flow happens.

Regardless, when the queue which exists and is per-thread is empty, the program terminates.

mgaunard··on My AI-built PHP engine in Rust passes 17% of PHP-src tests, renders WordPress
Why is the AI only able to reach 17%?

Surely it can just keep iterating until it implements the full test suite?

mgaunard··on FoundationDB's Flow – Bringing Actor-Based Concurrency to C++11
Well in mine for example, threads are pinned to a core and always spin, and actors are pinned to a given thread (you can have an arbitrary number of actors per thread, they're just objects), so "waiting" is certainly not something you'd use to describe the setup in any capacity.
mgaunard··on FoundationDB's Flow – Bringing Actor-Based Concurrency to C++11
That sounds like a misunderstanding of how the actor model works. An actor doesn't wait. It's an event-driven system, it doesn't get to own and decide when messages get fed to it.
mgaunard··on FoundationDB's Flow – Bringing Actor-Based Concurrency to C++11
not really, they yield to other event sources, which is the opposite of waiting (which blocks forward progress and is a violation of real-time guarantees)
mgaunard··on FoundationDB's Flow – Bringing Actor-Based Concurrency to C++11
yield to the event loop
mgaunard··on FoundationDB's Flow – Bringing Actor-Based Concurrency to C++11
Coroutines aren't great, even C++26 is explicitly avoiding them for its foundational concurrency model.

In any case a good concurrency library doesn't need more than C++14.

mgaunard··on A Tiny Compiler for Data-Parallel Kernels
essentially this is a mini-ISPC?
mgaunard··on A C++ implementation of a fast hash map and hash set using hopscotch hashing
boost unordered flat map didn't exist in 2016 (nor 2019).
mgaunard··on A C++ implementation of a fast hash map and hash set using hopscotch hashing
How does it compare to boost unordered flat map?

Looks like the benchmarks were last updated in 2019.

mgaunard··on British Columbia, Time Zones, and Postgres
You're suggesting pre-filling future data based on extrapolating current rules (up to an arbitratily unknown high date) instead of using a constant.

I don't really see how that is a good approach in any capacity.

mgaunard··on British Columbia, Time Zones, and Postgres
Never heard of DST? The authoritative time is constant in the local time zone, but needs to change in UTC twice a year.

This is the exact reason people store time in local time zones.

Also remember the date/time where DST switching occurs is entirely timezone-specific, and it's not necessarily the same pattern every year (as demonstrated with British Columbia).

mgaunard··on Stop Using JWTs
A whole lot of nonsense from a web guy.

Please, keep using JWTs, they do their job well: giving you an access or ID token that you can pass between applications and trust based on cryptographic signatures from an identity provider.

mgaunard··on Ntsc-rs – open-source video emulation of analog TV and VHS artifacts
Film is 24fps which is lower than PAL.

The 30fps of NTSC is actually associated with "cheap-looking" video.

mgaunard··on Branchless Quicksort faster than std:sort and pdqsort with C and C++ API
10% (and even 5%) is still significant.
mgaunard··on Ntsc-rs – open-source video emulation of analog TV and VHS artifacts
PAL and SECAM are also interlaced.

Except PAL/SECAM don't have any of the color issues of NTSC.

mgaunard··on Branchless Quicksort faster than std:sort and pdqsort with C and C++ API
macos is not common?
mgaunard··on Harness engineering: Leveraging Codex in an agent-first world
Isn't this essentially normal AI usage and what everyone has been doing for 6 months?
mgaunard··on Ntsc-rs – open-source video emulation of analog TV and VHS artifacts
Why so much love for NTSC and so little for PAL and SECAM?
mgaunard··on Branchless Quicksort faster than std:sort and pdqsort with C and C++ API
Aren't there several bitonic sort network implementations that are vectorized, Intel's in particular?

Why not compare against that?

mgaunard··on Should you normalize RGB values by 255 or 256?
Interesting, but pretty limited corner case. Would compilers even identify those 28 values and do the transformation?
mgaunard··on Should you normalize RGB values by 255 or 256?
That's only valid to do if the reciprocal is representable exactly.
mgaunard··on The four programming questions from my 1994 Microsoft internship interview (2023)
I had somewhat similar questions asked of me in the 2000s, and I still ask similar questions today.
← PreviousPage 3 of 34Next →