HNHacker News
TopNewBestAskShowJobs

PeterWhittaker

2,356 karma · joined April 27, 2009

submissionscomments
PeterWhittaker··on The last decision by the leading thinker on decisions
> But this? Too early.

Part of me understands this sentiment, which I take to be rooted in a feeling that he was of such value and had so much potential remaining that why would he take himself away from us...

...and those last few words were chosen deliberately, to highlight the selfishness and lack of empathy in the actual statement of "too early".

Part of me wants to apologize for suggesting selfishness and a lack of empathy, and part of absolutely does not: He was 90, he watched his wife die from cognitive decline, he may or may not have been declining, he may or may not have felt he had more to offer, but, most importantly, he chose to die when he could still make a choice.

Ultimately, that is the reason I cast any gainsaying as selfishness and/or lack of empathy: You DO NOT know him. I DO NOT know him. We DO NOT get to speak for him.

I loved his work. Despite all the flaws in Thinking, Fast and Slow, it remains an influential work, if for no other reason than it recast how we think about some of its subjects and themes.

Would I have hoped he would do more? Of course! Should he have stuck around because I wanted him to?

No. Period. Full stop. End of story.

The two best parts of euthanasia are grace and choice. He had both: He chose his time, and I expect, like my MIL, he died with grace and dignity.

For almost as long as I had known my MIL, she was in pain and suffered involuntary movements (inoperable benign tumour). When the pain got too bad, she had the plug pulled. She was almost giddy in the hospital, dressed in her favourite outfit, with two of her favourite people (not me, her daughter and grandson), having spent the day before with her love of 70+ years sharing memories and saying goodbye.

She was so happy that the pain would end, so happy to be going out on her terms.

Mourn Kahneman, but do not disrespect him - or anyone else - by second guessing him.

Autonomy and empathy are our greatest assets. We would do well to remember both.

PeterWhittaker··on Sigint in Fiction
The conflation of SIGINT and cryptology makes me doubt the writer's understanding of the field. While cryptography and cryptanalysis have long been important to the field, they are but one aspect. I won't offer a meaningless percentage as to how important they are, but consider the importance of a) traffic analysis and b) meta-data: There are plenty of historical examples of operational decisions being made on the basis of traffic analysis and there is the oft-quoted Michael Hayden's "we kill people based on metadata".

(Then there is my favourite WWII nit: The focus on Enigma, which, while undoubtedly important, pales in comparison to Tunny. The fact that Flowers could build essentially a general purpose computer to crack a cipher based only on its apparent properties is heads-and-shoulders and all other superlatives above Enigma, for which GCHQ had working examples throughout the war. I am not downplaying the importance of the Enigma cryptanalysis work, merely suggesting that Tunny was, in the end, and strategically, far more valuable, especially once telephone communications became harder for OKW.)

PeterWhittaker··on Most IT companies fail to serve security.txt for RFC 9116 in 2025
That website misrepresents the RFC in a way that I can only describe as deliberate and egregious. To quote the RFC itself, "This document is not an Internet Standards Track specification; it is published for informational purposes."

In other words, someone had an interesting and possibly good idea, and did the non-trivial to get it published as an RFC (getting even informational RFCs take considerable effort) and now someone (else?) is trying to misrepresent its status.

As said in another comment, "nothing burger". Also, {click,flame}bait.

PeterWhittaker··on Gödel's theorem debunks the most important AI myth – Roger Penrose [video]
But surely any limits on formal systems apply to informal systems? By this, I am more or less suggesting that formal systems are the best we can do, the best possible representations of knowledge, computability, etc., and that informal systems cannot be "better" (a loaded term herein, for sure) than formal systems.

So if Gödel tells us that either formal systems will be consistent and make statements they cannot prove XOR be inconsistent and therefore unreliable, at least to some degree, then surely informal systems will, at best, be the same, and, at worst, be much worse?

PeterWhittaker··on Gödel's theorem debunks the most important AI myth – Roger Penrose [video]
OK, try this for size, bearing in mind that it is a heuristic argument.

No one can "know", with certainty, the location of any particle. Or, to be slightly more accurate, the more we know of its location, the less we know of its movement. This is essentially Heisenberg/QM 101.

But we see the results of "computation" all around us, all the time: Any time a chemical or physical reaction settles to an observable result, whether observed by one of us, that is, a human, or another physical entity, like a tree, a squirrel, a star, etc. This is essentially a combination of Rovelli's Relational QM and the viewing of QM through an information centric lens.

In other words, we can and do have solid reality at a macro level without ever having detailed knowledge (whatever that might mean) at a micro/nano/femto level.

Having said that, I read your comment as implying that "the human mind" (in quotes because that is not a well defined concept, at least not herein; if we can agree on an operational definition, we may be able to go quite far) is somehow disconnected from physical reality, that is, that you are suggesting a dualist position, in which we have physics and physical chemistry and everything we get from them, e.g., genetics, neurophysiology, etc., all based ultimately on QM, and we have "consciousness" or "the mind" as somehow being outside/above all of that.

I have no problem with that suggestion. I don't buy it, and am mostly a reductionist at heart, so to speak, but I have no problem with it.

What I'd like to see in support of that position would be repeatable, testable statements as to how this "outside/above" "thing" somehow interacts with the physical substrate of our biological lives.

Preferably without reference to the numinous, the ephemeral, or the magical.

Honestly, I really would like to see this. It would represent one of the greatest advances in knowledge in human history.

PeterWhittaker··on Brian Krebs: This Administration Is Completely Compromised
One reason I can guess: measured response (or more) against adversarial actions. Like when someone blows up something of yours so you hit something of theirs. We know that many state agents - and others - are conducting offensive cyber operations against the US, and it may be that defence is not enough.
PeterWhittaker··on Bald eagles are thriving again after near extinction
Canada says "you're welcome". (Quite some time ago US and Canadian researchers worked to trap and transport eagles from northern Canada, where there will still several thousand; those birds helped restore the population in the contiguous states.)

I've not been able to find sources to indicate the bird's conservation status in Canada at that time. As far as I can tell, every mention of the birds being on the verge of extinction should always be followed by "in the US".

PeterWhittaker··on Cursing appears to improve exercise performance
I shall employ this to recast the why of my work-swearing: I am not swearing at or about the idiot who wrote this code (note: sometimes the idiot is me), I am swearing to increase my productivity/focus as I pickOneOrMoreFromList("refactor", "accept", "work with", "work around") this code.

Thank you! You may have reduced my stress.

PeterWhittaker··on Fiwix: Small Unix-Like Kernel
Interesting. While I do appreciate that it runs on i386, I have to question its being aimed at students - or at least students of anything other than the history of computing. i386 implies BIOS, AFAIK, and requires pre-x86_64 assembler, which is only partially transferable to modern CPUs.

Oh, for sure, one would learn an awful lot working with those technologies, but as soon as one wished to work on more modern systems, one would have to forgot all of the former and all the ugly of the latter.

This isn't really a criticism, more an expression of puzzlement. Normally, I'm a pretty good contrarian, but I don't get it.

True, there was this Finn who did this some time ago and it worked out pretty well, but I still don't get why anyone would start with i386 and BIOS.

PeterWhittaker··on Google Maps reclassifies the U.S. as a 'sensitive country'
We absolutely do not and never have.
PeterWhittaker··on Today I learned that bash has hashmaps (2024)
bash associative arrays are fantastic, I've made heavy use of them, but be warned that there have been several memory leaks in the implementation. (Sorry, no version notes, once we realized this, we rewrote a key component in C.)

IIRC, the latest bash addresses all of these, but that doesn't help too much if you are stuck with an older, stable OS, e.g., RHEL 7 or 8; even 9 likely has a few remaining.

These leaks become an issue if you have a long running bash script with frequent adds and updates. The update leak can be mitigated somewhat by calling unset, e.g., unset a[b], before updating, but only partially (again, apologies, no notes, just the memory of the discovery and the need to drop bash).

I'd agree with the idea that bash wasn't the best choice for this purpose in the first place, but there was history and other technical debt involved.

PeterWhittaker··on Show HN: I built a tool to rank cities based on purchasing power for SWEs
The weather thing is interesting: Ottawa, e.g., gets 3/10. I've lived in the area since 1990 and, other than a week or two in the summer and a similar span in the winter, love the weather here.

Sure, not for everyone, but perhaps the page needs to allow the user to enter their preferred weather.

PeterWhittaker··on Ask HN: Where to Work After 40?
I'm 59 and doing the most technical and hands-on work of my life.

When I was 40, I was a few years into my consulting gig, and that went very well for a long time (I'm a cybersecurity guy with a strong ICAM and PKI background, located in the Ottawa area, so there was plenty of work with government clients.)

But I was starting to tire of the consulting grind and found I was doing a lot of the same-old-same-old in most contracts (TRAs, PIAs, audits, etc., and, after incidents, explaining to senior management how recommendations made 6-12 months previously might have prevented or at least greatly mitigated said incident).

I was fortunate: 6ish years ago, I was winding down a couple of contracts through a friend's company and he needed someone to fill a gap and knew I had downtime, so I started a contract with him, 90+% WFH. Every few months we'd chat about where he was taking his company and about what the future product teams would need (he'd bid successfully on a pair of unrelated PoC-to-product contracts, one hardware, one software, and was looking to take things to the next level).

Long story short, 5.5 years ago I retired my shingle and returned to full time "wage slavery" (tongue firmly in cheek), almost 100% WFH. My initial role was to work with customers, fill gaps, learn fast, build fast, and move on, and our plan was to move me into a business-development-slash-product-management role, which appealed to me because of two previous contracts that had a lot of that (he'd worked on one of those and knew what I brought to the table).

You know that old saw about life being what happens when you are making other plans? Yeah, that happened :->

My title now is Director, Special Projects, but what that really means is "our customers think this is critical, no one has any idea how to do it, make it happen". It's more a senior/staff engineering position in some ways, mostly systems programming, the levels getting progressively lower (my Christmas holiday reading has been the excellent Mara Bos book on Rust Atomics).

I'm far more technical now than ever before, entirely hands-on, and it's fantastic. It helps tremendously that I work with a great team, people I've known for years, but hadn't worked directly with until now, and that our boss, my friend, understands how complex is what we are doing and how we need regular breaks and downtime; at the same time, the entire team knows how important are revenue and deadlines.

My advice, if I have any, and it all comes with a strong dose of YMMV, is two-fold:

One, it will be OK. You will be OK.

40 isn't the end, nor is 50, and I doubt 60 will be either. I'm pretty sure I'm going to spend the time around my 65th year working on ABE and data filtering in FPGAs, but that's just a guess. :->

Two, work your network.

Talk to your friends and colleagues, ask who's doing what, what the gaps are, where they think they are going, and what they might need. You have skills, others need them, do NOT under any circumstances undervalue or dismiss them.

I won't advise or even suggest consulting, because it isn't for everyone, and the kinds of contracts that, IMHO, at least, best allow you to explore the space and build a better network, are, by their nature, stressful: short term, possibly requiring travel, and sometimes spread out such that when one ends you don't know when the next will begin. But if you are OK with a certain degree of churn, uncertainty, and repetition, then it might be something to consider.

Regardless of how and where you go, remember Advice One: It will be OK, you will be OK, 40 isn't the end.

PeterWhittaker··on Ask HN: What's Your Morning Routine?
Up anywhere from 6 (well, poop) to 8 (yes!). Wander into kitchen, turn on coffee maker, take out mouth guard, swap out yesterday's cup for a clean one, make sure cup is right side up, hit the double espresso sequence (paying close attention because the x2 button is too close to the power button for my stunned, spastic, uncaffeinated mind and fingers), pee, take coffee and phone to garage, smoke as little as possible, head to living room, finish coffee while playing word games (dordle, wordle, the mini, zorse, octordle, hurdle), check HN, various news sites, poop, have first breakfast, greet dog of joy, wipe him down, feed him, walk him (20 minutes if I have meetings or other reasons to get home sooner, an hour or more otherwise, unless it is so cold he cuts it short (anything under -15C and the odds of that are even; -30C and might turn around at the end of the driveway)), have second breakfast.

Now the day can begin.

PeterWhittaker··on Fatty acid amides present in Camembert cheese improved cognitive decline
You're deliberately wasting our time.
PeterWhittaker··on Debian's approach to Rust – Dependency handling (2022)
Hardly. I just thought it was a great write up.
PeterWhittaker··on The Dome (2005)
Not Newton's Dome, Norton's: https://en.m.wikipedia.org/wiki/Norton%27s_dome
PeterWhittaker··on The Dome (2005)
Not on Norton's Dome: it is the classic example of indeterminism in classical mechanics.

While QM is sufficient for indeterminism, it is not necessary, as this example shows.

Even in classical mechanics, physics is weirder than our intuition allows.

PeterWhittaker··on I thought I found a bug
Perhaps because the article is specifically about the buffered f*() calls in stdio, and not the system calls?

Though, as I offer that thought, the divergence between C and the system calls is definitely curious.

PeterWhittaker··on Portspoof: Emulate a valid service on all 65535 TCP ports
Not if the original author stills holds the copyright, which is likely the case: the GPL does NOT remove your copyright, and in fact depends upon it.
PeterWhittaker··on Portspoof: Emulate a valid service on all 65535 TCP ports
Agreed, cf other comments below. My impression is that that is what this person hopes for and that they think that somehow the GPL prevents others from using this code commercially, which it manifestly does not. (Such use would be subject to the GPL, of course.)
PeterWhittaker··on Portspoof: Emulate a valid service on all 65535 TCP ports
Not quite: once you GPL something, while you retain copyright and can licence it in other ways, the GPL itself forbids you from restricting what others can do with it if they take it under the GPL; the one thing they cannot do is change its licence, but you cannot prevent them from selling it, e.g. The FSF are very, very clear on this.
PeterWhittaker··on Portspoof: Emulate a valid service on all 65535 TCP ports
I believe you're right, that was my conclusion as well. I'm not sure that that will accomplish what they hoped.

To continue my original example, I could, in theory, take this code, ensure that it works with arbitrary independent pseudo-services, create my own such services, under a proprietary licence, and distribute the whole as an aggregate, which is permitted by the GPL.

The author likely seeks to provide commercial licensing for those interested in integrating their pseudo-services as libraries, which would require either that they be GPLd or that the original code be licensed in some other way.

I hope the author achieves the success they hope for without the licensing and legal hell they may have set themselves up for. It can be a great disappointment to have one's work turned into someone else's success by a someone or someones with more legal and licence cunning than one's self.

(Note: that ain't me, I've just seen that exact scenario playout more than a fair few times....)

PeterWhittaker··on Portspoof: Emulate a valid service on all 65535 TCP ports
Interesting concept, am curious how this withstands community review and analysis.

Bit puzzled though, by the statement made immediately after stating that it is GPL2: For commercial, legitimate applications, please contact the author for the appropriate licensing arrangements.

Since the GPL2 doesn't permit restricting what others do with GPLd software, I don't think this statement is doing what the author hopes; they might want to consult a lawyer.

(IANAL, etc., but there is nothing in there to prevent me, e.g., from building a business out of this, charging gazillions, and keeping it all for myself, provided I make the source available to my customers.)

PeterWhittaker··on Why making friends as an adult is harder
I confess I largely stopped paying attention after the "as a kid, it was easy" comment.

As a kid, having playmates was easyish but having friends was tricky. As an ND intellectual multilingual round peg in a town of unilingual anti-everything square holes, I had acquaintances but no good friends until high school, one or two then, none in uni, though there were sufficient like-minded people that it mattered less, and, from then until 10 years ago, at most one or two.

In late 2014 I bought a Jeep and joined a hardcore offroad group (rocks, not mud). They are the most diverse group I've ever hung with, and I have half a dozen people I would consider close friends and rather more who would drop everything and drive 50km in a snow storm if I needed help.

I lucked out. But to say it was ever easy is misaligned with my experience.

PeterWhittaker··on Process Creation in Io_uring
You're resurrecting memories from the mists of time, but I seem to remember a common design pattern back in the day for cases like this was to have a persistent lightweight parent that would fork a processing child that could then request the parent perform fork-and-exec operations.

But it's been a while....

PeterWhittaker··on Process Creation in Io_uring
But Linux doesn't clone the entire address space: it copies the page table, RO: if the child attempts to write, then it uses COW.

So if fork/clone is followed immediately by exec/execve/etc., there is minimal copying.

PeterWhittaker··on Borrow Checking, RC, GC, and Eleven Other Memory Safety Approaches
The first part - that the Rust borrow checker and overall memory model ensures thread/async safety - is true. I cannot speak to the second part - that other systems don't have this assurance.
PeterWhittaker··on Ask HN: What Is the Meaning Behind Anime Girls Holding Programming Books
1000 years. Essentially 'static
PeterWhittaker··on Visualization of cities with similar road networks
What is the criteria for inclusion in the list? I ask because of interesting omissions, such as Ottawa, capital of Canada, population over 1M; Fredericton, capital of NB (NB's most populous city is included, but not the capital)....

Just curious.

← PreviousPage 5 of 34Next →