HNHacker News
TopNewBestAskShowJobs

PeterWhittaker

2,356 karma · joined April 27, 2009

submissionscomments
PeterWhittaker··on First, make me care
Perhaps I am too much of a curmudgeon, but the example first sentence made me not care at all - not about Venice, but about the writer's approach, which seems to want to conjure breathless mystery about something I could easily look up on Wikipedia (or read in tl;dr comments in this thread).

It ISN'T Venice you need to make me care about, it's YOU! Why should I spend any of my time on you?

A good first sentence should make me care about your perspective, at least for non-fiction about subjects well-studied.

Fiction, obvs, differs. Scalzi's Old Man's War had such a great first sentence I devoured the series.

PeterWhittaker··on FIPS dependencies and prebuilt binaries
Definitely false, at least historically. The original FIPS only required HW at levels 3 and 4, "required" in the sense that levels 1 and 2 were quite doable in software (level was/is no authentication to the CM, letting it be protected by the host; level 2 was/is a form of basic authentication, e.g., encrypting private keys under a key derived from a password).

I was part of a team that had multiple level 1 and 2 certificates for software-only CMs in the 1990s, both 140 and the second edition, 140-1.

PeterWhittaker··on Douglas Adams on the English–American cultural divide over "heroes"
Exactly! Another, semi-related difference between the cultures: When Alexander chooseEitherOrBothOf(provided instructions, gave orders) during the Sicilian campaign, American generals took them as orders and did them, sometimes to their detriment, while British generals took them as intent/direction, and asked questions.

Eventually, the allies realized they had very different command cultures and learned to work together. It may be that Normandy, et al, would have been far different if they hadn't have figured this out in Sicily.

PeterWhittaker··on Douglas Adams on the English–American cultural divide over "heroes"
The article and the comments herein remind me a conversation a few years ago with an ex RAF pilot who had done a few exchanges with the USAF. Among other things, pilot/personnel evaluations in the two organizations were worlds apart. In the RAF, at least during his time, they were what I would expect, more or less factual: Bloggins is good at X, needs to improve Y, excels at P, shouldn't do Q at all.

Meanwhile, in the USAF, anything that could even be perceived as negative was a career killer, so ratings started at mildly superlative and went up from there: Bloggins is an X top gun, is very good at Y, walks on water doing P, and is good with Q.

YMMV, of course, those are my recollections of beery convos with a former Tornado jockey.

PeterWhittaker··on Douglas Adams on the English–American cultural divide over "heroes"
I'd argue that Coe is more than competent, just, you know, detached most of the time. Lamb always knows what needs be done, just never shares, and often lets things happen until what needs be done happens on its own or is inevitable.

Coe has extraordinarily high SA and makes decisions immediately. They might seem impulsive, but when he acts, it is always with forethought.

(Yeah, Coe is our favourite character.)

PeterWhittaker··on How I learned everything I know about programming
As a math loving programmer who acts, I can assert with confidence that both programmers and mathematicians are downright hoarders compared to theatre people. If you are lucky enough to enter that world, be prepared to be overwhelmed.
PeterWhittaker··on Ask HN: If you had $10M in the bank, would you still show up to your job?
How is that dissonance? The best you can hope for, in order, are: 1) not having to work, for whatever reason, and having personally meaningful interests with which to fill your time; (two-way-tie) 2a) not having to work, 2b) having to work and having a job you love that means something to you; 3) everything else.

We require sustenance and shelter and sanitation and a few other things. Those require resources, one way or another. If one has to perform some activity in order to acquire the resources necessary to those needs, then one might as well do something one enjoys, if one can.

I absolutely LOVE my job (WFH systems programming in a challenging space (cross domain)), have the best team (my boss, the owner, is a friend from way back in another cyber co; my closest colleague is a great friend from off-roading; my other colleagues are all great people, with fantastic younger team members who break every cliché and trope about their generations; etc., etc.).

And if $10,000,000 showed up in my bank account tomorrow, I would wind down my work as smoothly and quickly as possible, to not leave them hanging, carry on consulting occasionally for them, when needed, and spend a year working on my house and Jeep and learning category theory and walking the dogs and watching as many football matches as I could (heck, with that money, maybe I even would spend the $50/month to get FA Cup games on top of what I already have).

Once the house was to my - and my GF's liking - and once the Jeep was again the beast it once was, and a bit more (portals!!!), well, there would be still be football to watch and math to learn and dogs to walk. Maybe we'd move somewhere we could foster many, many dogs? Ah, the mind reels.

I might even upgrade my phone or monitors.... (I'm a cheap bastard. The dead pixels on the phone screen are a PITA, but they only really impact Quordle.)

PeterWhittaker··on About time: Setting up ctags for Vim and Git
I've been a vim user for decades, a git user for years, but somehow I never got around to setting up ctags - watching my colleagues jump from function call to function definition was one of the few things that made me envious about VSCode.

I decided to set up ctags at last. Like so many things on the Internet, a lot of information was out of date and/or assumed you already knew what you were doing. I struggled more with a few really simple things (like how to tell vim where to find my tags files, since I'd never used them) than the more complex things (which weren't that complex, tbh), with a few detours caused by out-of-date documentation meeting my ignorance head-on.

So, FWIW, my overview of the process, with, I hope, getting-started information missing from other sources.

PeterWhittaker··on [dead]
I left my then-spouse at 51. I had no expectations for any future relationships, I just needed to protect myself by getting out of that one.

(I'm skipping details as a) they are not germane to this post and b) there is no way I could provide enough detail to forestall the inevitable armchair relationship counselling; let's just say it was bad, and I was the last to really recognize it. At any rate....)

I'm 60. I've been with my current partner for over 7 years. She is the sweetest, kindest, most loving, most accepting person I've ever known. Lest one get the wrong idea, she is also strong willed, intelligent, and, when she needs to be, blunt AF. But she rarely needs to be, because when you are with someone like that, it is easy to talk about EVERYTHING.

She was - and continues to be - a complete surprise and breath of fresh air. I work in cybersecurity, when she worked her area was healthcare, and we met through theatre (she's backstaqe, I act, so it works really well). Our meeting and our connection were unplanned, unlooked for, and unexpected for us both (she had been single for a LONG time and was more than happy alone).

One never knows where or when these things might happen.

I know it might seem bleak or desperate, but at 35 you have a full life ahead of you, plenty of time to meet a better match.

Good luck! (And, FWIW, courage, patience, self-care, and hugs! - or a hearty backclap if you prefer....)

PeterWhittaker··on Ask HN: Who here is not working on web apps/server code?
Cross-domain systems programming, mostly C, moving everything in the transfer path to Rust. Unidirectional gateways with OEO diodes and complete protocol breaks, working on FPGA diodes with embedded filtering. Guards, high assurance filters, etc.
PeterWhittaker··on Landlock-Ing Linux
Of course, but you can also restrict those operations. The seccomp whitelist library I wrote only sealed itself after all FDs were opened for specific operations, and the API didn't expose the calls directly. Once sealed, the app got only those operations now specifically allowed.
PeterWhittaker··on Landlock-Ing Linux
So like using seccomp with a whitelist (fairly easy to do) with per-object access rights.

I'd love to see a comparison of landlock to restricted containers.

PeterWhittaker··on The working-class hero of Bletchley Park you didn't see in the movies
For different reasons I agree the article is trash. There is far too much about Turing and Enigma, perhaps because they are better known, but Enigma is to Colossus as the first airplanes were to orbital rockets, but just years apart, not decades, and without thousands learning from each other.

I know, it's not a great analogy, but what the Tunny team did was so far beyond the Enigma team in terms of a) no prior knowledge of the actual system, b) the development of new cryptanalytic techniques, c) the educated guesses as to how the OKW system probably worked, and d) the sheer brilliance and vision of building a bleeding edge electronic system to do the heavy lifting, that its story, and Flowers', do deserve to be better known.

PeterWhittaker··on Floating Electrons on a Sea of Helium
> Liquid helium is also a superfluid, meaning it flows without viscosity.

No. At least not at temperatures > 2.17 K, which is where the phase change occurs. In the range (2.17..4]K, He is just a regular liquid; it is only superfluid in the range (0..2.17]K.

Hard to trust anything in the article when it gets something that fundamental that wrong.

PeterWhittaker··on RTO: WTAF
Ditto, and I find that that socializing is higher value, because it is special: we made an effort to meet (and depending on one's WFH habits, that effort might be considerable), we didn't just shout "pub?" over the partition.
PeterWhittaker··on They Know More Than I Do
The overall tone is one of "father knows best" with plenty of adversarial over and undertones. My favourite example, and perhaps the clearest, is

"For example, if you just asked them to change the text on the “Login” button, and they’re talking about new libraries and rewriting the credential store, there’s a good chance your team didn’t understand what you told them."

There is an equal or better chance that you don't understand or are completely ignorant of dependencies with which they are intimately familiar, perhaps tangled copypasta created ad nauseam in response to overbearing leaders who could not be bothered to understand.

I've seen that more than once.

In that specific instance, it would be more helpful to dive into the why while expressing the surprise you actually feel. It might even be better to go straight to "is there something in there that shouldn't be?"

If your team has history you lack, one of your first jobs is learning the pain points and gaining enough of their trust that they will show you the scars and explain how they were earned.

PeterWhittaker··on They Know More Than I Do
One of the best project managers I know was faced with a similar scenario, and succeeded wildly by doing mostly #2, but with very specific questions: what do you need to work effectively, what is preventing you from getting this.

In most cases, the answers were dedicated time and interruptions.

He trusted the team to know their jobs and worked to insulate them from the chaos around them. They came to trust him when they experienced what they craved, dedicated time, no interruptions.

What I dislike about the original post is that he seems to think his job is to lead and have them follow.

It isn't. His job is to support, to do the things, manage the interactions, that are preventing the team from working effectively.

PeterWhittaker··on Configuration files are user interfaces
I don't understand that either. Considering that it is both well defined and hierarchical, with none of the problems of YAML or JSON (hey, NO is a country, not a truth value), TOML seems like the perfect compromise to me.
PeterWhittaker··on Returning to Church won't save us from nihilism
Nihilism appeals because the root causes are oligarchy and kleptocracy: when you realize you are powerless in the large, the only real alternatives are disengagement and violence in the small. Why violence? In this context, it is the only thing guaranteed to leave a mark.

The third alternative, the difficult way, is social engagement on a path to social democracy, to limiting the reach of autocrats and robber barons, and to defetishizing the first two amendments.

But that path requires lifting one's eyes, abandoning one's out groups, working with all, and foregoing at least some comfort and self advantage.

It is the only way. I doubt I will see it (entered 7th decade recently, feel pretty confident about that).

PeterWhittaker··on Bash Prompts Collection
Absolutely! Not only does filtering on $? provide info (last command interrupted, suspended, good, bad, etc.), it makes the prompt itself a quick way to test [[ ... ]] expressions....

(My prompt is platform aware since codes for some ops differ between MacOS and Linux. The return is colour-coded (green, red, purple, depending on case), and multiline, with git status if in a repo, cwd, and a few other things....)

PeterWhittaker··on Cognitive load is what matters
Quite a lovely word. Learned it from Steinem writing a foreword for a Doonesbury collection in which she excoriated Buckley for his use of the term to describe the fourth panel, the main punchline often having come in the third, in his foreword for a previous collection.
PeterWhittaker··on How did .agakhan, .ismaili and .imamat get their own TLDs?
Oh, that I got. Just made me laugh, since .uk is one of the oldest CC TLDs.
PeterWhittaker··on Cognitive load is what matters
The most important user of my temporary variables, à la "isValid" or "isSecure" is older/later me.

I could be adding a new feature six months later, or debugging a customer reported issue a week later. Especially in the latter case, where the pressure is greater and available time more constrained, I love that earlier/younger me was thoughtful enough to take the extra time to make things clear.

That this might help others is lagniappe.

PeterWhittaker··on How did .agakhan, .ismaili and .imamat get their own TLDs?
.uk was one of the first!

https://en.m.wikipedia.org/wiki/.uk

(Or did I miss an "/s"?)

PeterWhittaker··on Show HN: Envoy – Command Logger
Not at my computer so I cannot share the sauce, but each mahcine I use has a shared bash eternal history - shared between every interactive bash instance on that machine, using nothing but bashisms.

If I think of it later, I'll add it....

PeterWhittaker··on From M1 MacBook to Arch Linux: A month-long experiment that became permanenent
Not at my Mac right now, but I've defined cmd-F[12] to move windows from one monitor to the other.

The trick is to capture the exact words you see in the Window menu, with the exact monitor name, and use those exact words when defining the keyboard shortcut.

A clunky PITA, but once setup, works like a charm.

PeterWhittaker··on Dev Compass – Programming Philosophy Quiz
-1 concrete, +16 human friendly.

Feels about right.

PeterWhittaker··on The "high-level CPU" challenge (2008)
Wait, what?

Oh, yeah. Jeebus.

2008 was SEVENTEEN years ago.

I turn 60 soon. Anything 2xxx just seems like almost yesterday, 199x isn't that far away in mind, and even 198x is pretty close.

I love math (B.Sc. Physics, so more math than anything else) but sometimes math hurts.

Damn you, beloved math.

PeterWhittaker··on Italy's pizza detectives
Makes me think of those who pronounce "coup de grâce" as "coupe de gras". Ew.

Once I tried pointing this out. The speaker said "it doesn't matter". Sure, bud, enjoy your lard. Ew.

PeterWhittaker··on Spotting base64 encoded JSON, certificates, and private keys
In 1989, my Toronto-based team was at TJ Watson for the final push on porting IBM's first TCP/IP implementation to MVS. Some of our tests ran raw, no RACF, no other system protections. I was responsible for testing the C sockets API, a very cool job for a co-op.

When one of my tests crashed one of those unprotected mainframes, two guys who were then close to my age now stared at an EBCDIC core dump, one of them slowly hitting page down, one Matrix-like screen after another, until they both jabbed at the screen and shouted "THERE!" simultaneously.

(One of them hand delivered the first WATFOR compiler to Yorktown, returning from Waterloo with a car full of tapes. I have thought of him - and this "THERE!" moment - every time I have come across the old saw about the bandwidth of a station wagon.)

← PreviousPage 3 of 34Next →