HNHacker News
TopNewBestAskShowJobs

nemetroid

3,896 karma · joined June 7, 2010

Currently employed by a mid-size company.
submissionscomments
nemetroid··on Police chief unplugs cameras after Flock ignores contract cancellation
> One week to respond to a letter delivered by US postal mail isn't really much time.

Why not? Because it takes long to deliver, or because they can't be expected to read their mail?

nemetroid··on Coding is not solved
The question was "where is all that new software?".
nemetroid··on Claude Fable 5.1 and Claude Mythos 5.1
[will need to be fixed later if I'm wrong]
nemetroid··on Splitting a Git Commit
It's in Fedora, Arch, and many other popular operating systems.
nemetroid··on Conventional Commits encourages focus on the wrong things
\<i\>
nemetroid··on C++: The Documentary
How are any of these achieved by a vector-like type with capacity frozen at construction time?
nemetroid··on Twilight of the Velocipede: Typesetting Races Before the Age of Linotype
Just poking fun - the ad is for a "composing machine", so the joke wrote itself.
nemetroid··on Twilight of the Velocipede: Typesetting Races Before the Age of Linotype
From the last image:

> No Type. No Distribution. No "Pie"-ing.

> Self-spacing. Self-justifying.

Looks machine-composed.

nemetroid··on Belgium stops decommissioning nuclear power plants
The west, you mean?
nemetroid··on PL/0
Using '=' for both assignment and comparison is awkward when parsing incomplete code. Consider e.g.:

  j = 5;
The user starts writing (<|> is the cursor position):

  i = <|>
  j = 5;
This is a valid expression (i is a boolean). But the user probably intends to finish writing something like:

  i = 0;
  j = 5;
So in the intermediate state we would like to emit a single warning about an incomplete statement. But since it is valid as written, we instead end up warning about e.g. j being unbound.
nemetroid··on Delta single handle ball faucets (1963)
Not common for showers, though. Those almost always have separate temperature and flow controls.
nemetroid··on Design Thinking Books (2024)
I read it and thought it contained several good ideas, but was excessively wordy and would have benefited from being half as long.
nemetroid··on Oh My Zsh adds bloat
Why would I leave it open once I'm done with the task for which I opened the terminal?
nemetroid··on Rust--: Rust without the borrow checker
Yes, many or even most domains where C++ sees a large market share are domains with no other serious alternative. But this is an indictment of C++ and not praise. What it tells us is that when there are other viable options, C++ is rarely chosen.

The number of such domains has gone down over time, and will probably continue to do so.

nemetroid··on C++ says “We have try... finally at home”
You can throw in a destructor but not from one, as the quoted text rightly notes.
nemetroid··on Tieredsort: Header only, blazing fast (3-4x) C++17 sorting for numeric types
Slop.

https://github.com/Cranot/tieredsort/blob/4091f66c31b4d2f8a1...

nemetroid··on What's New in Python 3.15
The new profiling.sampling module looks very neat, but I don't see any way to enable/disable the profiler from code. This greatly limits the usefulness, as I am often in control of the code itself but not how it is launched.
nemetroid··on Getting bitten by Intel's poor naming schemes
RHEL10 has been released and does require x86-64-v3.

https://access.redhat.com/solutions/7066628

nemetroid··on How well do you know C++ auto type deduction?
Each entry in the map will be copied. In C++, const T& is allowed to bind to a temporary object (whose lifetime will be extended). So a new pair is implicitly constructed, and the reference binds to this object.
nemetroid··on How well do you know C++ auto type deduction?
Close, it is a std::pair, but it differs in constness. Iterating a std::map<K, V> yields std::pair<const K, V>, so you have:

  std::pair<const std::string, int>
vs

  std::pair<std::string, int>
nemetroid··on Sending DMARC reports is somewhat hazardous
> Both Microsoft and Google seem to do it just fine

Microsoft sends me DMARC reports saying "yes, everything was accepted 100%, all good". The delivery logs on our end look good as well. However, they silently drop a large portion of messages with a Hotmail destination.

nemetroid··on We stopped roadmap work for a week and fixed bugs
A nice way to fix bugs is to make the buggy state impossible to represent. In cases where a bug was caused by some fundamental flaw in the original design, a redesign might be the only way to feel reasonably confident about the fix.
nemetroid··on Inside Rust's std and parking_lot mutexes – who wins?
You're right and I edited my comment.
nemetroid··on Inside Rust's std and parking_lot mutexes – who wins?
> The effect of referring to a copy of the object when locking, unlocking, or destroying it is undefined.

https://pubs.opengroup.org/onlinepubs/9699919799/functions/V...

I.e., if I pthread_mutex_init(&some_addr, ...), I cannot then copy the bits from some_addr to some_other_addr and then pthread_mutex_lock(&some_other_addr). Hence not movable.

> Moving a mutex is otherwise non-sensical once the mutex is visible

What does "visible" mean here? In Rust, in any circumstance where a move is possible, there are no other references to that object, hence it is safe to move.

nemetroid··on Designing a Language (2017)
PLEASE mention INTERCAL!
nemetroid··on "Our research is greatly sped up by AI but AI still needs us"
Did you read the essay?
nemetroid··on Text case changes the size of QR codes
The article has an off-by-one error. There are 45 characters in the basic alphanumeric alphabet, and / is the missing one.
nemetroid··on The last European train that travels by sea
The tracks on the Gothenburg side have since been removed, so even this workaround would not be possible today (they would have to go to Trelleborg instead).
nemetroid··on My approach to building large technical projects (2023)
It is interesting though that when he mentions AI as one of the non-silver bullets, one of the arguments is that the AI models of the time were problem-specific and not easily transferable.
nemetroid··on Gmail will no longer support checking emails from third-party accounts via POP
Not really if they only ever do it for small, personal workspaces.
Page 1 of 34Next →