HNHacker News
TopNewBestAskShowJobs

brian_cunnie

870 karma · joined September 8, 2015

submissionscomments
brian_cunnie··on How to use dig
I have a personal preference for `nslookup`, too. But I don't want to fight about it--different strokes for different folks.

My favorite thing about nslookup is it's clear which server it's querying to get its information.

brian_cunnie··on How to use dig
> how to get the public IP and geolocation with `dig`

Yup, I wrote a DNS server that does just that. So, to find your public IP, you'd type the following:

`dig @ns.sslip.io ip.sslip.io txt +short`

It'll return your public IP.

[removed comments about unrelated services]

brian_cunnie··on Ask HN: How can I continue working as long as possible?
I'm 57 and still a software developer.

I _think_ I can retire, but I like software, and I like working with people. And lying on the beach bores me after a day.

brian_cunnie··on Stacked changes: how FB and Google engineers stay unblocked and ship faster
> the mentee just saw things whizzing by on the screen and had no idea what happened

That's a bad pairing experience, and I've had a handful of those in my last five years of pair programming.

On occasion I've said, "Look, why don't you tell me what to do, and I'll drive?"

But I think that the larger issue is that some developers are better at solo'ing than pair'ing, and there's nothing wrong with that, and at the company I worked (Pivotal), we'd find positions for the people who were more inclined to solo.

brian_cunnie··on Smart kids should skip high school (2015)
> I wish I had actually taken a year off before college, as opposed to skipping a grade in a hurry to get there

I skipped eighth grade, and I feel the same way.

brian_cunnie··on Little kids burn so much energy, they’re like a different species, study finds
My notion is that life is a long, drawn-out amphetamine withdrawal, and this study supports that notion.

("amphetamine" loosely meaning energy level, not meaning the actual drug family)

brian_cunnie··on Do you want to be making this much money when you're 50? (2012)
My worst injury wasn't from the rugby or the skiing or the swimming; it was from the mouse: frozen shoulder. There are health risks.
brian_cunnie··on Do you want to be making this much money when you're 50? (2012)
> I have no intention to stop programming... because that's what I truly like to do

I'm 57, and I completely agree.

brian_cunnie··on Unleaded Avgas Approved
My old roommate, a NASA chemist (Max Bernstein, Ph.D.) once said to me, "I don't worry so much about chemicals; they break down. I worry about heavy metals because they never break down."
brian_cunnie··on Video game developers at Activision Blizzard say they'll walk out Wednesday
> every woman ... has vitriolic harassment faced (and/or sexual harassment).

I experienced being treated differently when I was playing a very attractive Blood Elf Warrior in World of Warcraft ten years ago: a fellow adventurer would continually give me gifts (valuable in-game items).

The third time this happened I realized he wasn't being generous—he was courting me! I had to come clean.

I messaged him, "Dude, I gotta tell ya: I'm not a girl in real life."

"You're not?"

"No, I'm a balding man in his mid-forties."

Long pause, and then he replied, "I gotta take a cold shower."

I never heard from him again, but he seemed like a nice guy who was trying to get a girlfriend by doing nice things for her, and I hope he found what he was looking for.

brian_cunnie··on Self hosting is important
This. I'm keenly aware of how time-consuming self-hosting is.

- A FreeBSD firewall (requires continuous patching)

- 6 DNS/NTP servers (don't ask!), most of which are in the cloud

- 2 VMware ESXi hosts

- 3 ethernet switches (an 8-port 10Gbe, 24-port 1GBe, 8-port 1GBe)

- 2 WiFi Access Points

- 12TB TrueNAS server

- 2 laptops, 1 desktop

- countless VLANs, countless VMs.

Effectively I run my own AWS. But it comes at a cost: countless evenings & weekends. Endless updates (OS, BIOS, firmware), periodic hardware failures.

Also, as pointed out, security. My unpatched DNS server was compromised, and the intruder managed to get root on my server (this was back in '99, before BIND was heavily re-vamped for security).

Self-hosting is a labor of love, but I'd be hard-pressed to recommend it to anyone who didn't enjoy it.

brian_cunnie··on Kubernetes is our generation's Multics
I’ve only seen one burst pipe bring down a computer (Pitney Bowes, 1995), but I’ve witnessed several S3 outages.
brian_cunnie··on How the IBM PC Won, Then Lost, the Personal Computer Market
I worked at IBM, '91 - '93, in the PC Business, in the sales channel.

We had a couple of problems that IBM's competitors didn't have. For one thing, we couldn't make too powerful a PC that might cannibalize the minicomputer sales (AS/400). IBM made much more money on an AS/400 than a PS/2 model 95.

Our cost structure was too high. How high? We lost $1 for every $100 we sold.

Part of the reason the cost structure was high were the number of IBM'ers: I worked in an office of about 15 people supporting the NY/Long Island region. Four years later, it was down to 1 person.

Another reason was our physical costs were high. For example, we couldn't buy RAM from Intel; we had to buy RAM from IBM (which was fabbed in Kingston, NY, not to be confused with the Kingston RAM mfr).

Also, we were struggling to get the correct mix of sales channels. For example, we couldn't sell PCs directly through the IBM sales force (too expensive, IIRC it added 36% to the sales cost). Instead, the IBM sales force would partner with dealerships (which added 21% to the sales cost). The web didn't exist yet, not really, so we couldn't sell through there. We could have done direct-response (an 800 number, like Dell & Gateway were doing), but that took a while to spin up. And it was similar in cost to selling through dealerships. Also we didn't sell through distributors, which was the least-expensive channel (16% IIRC).

I remember looking at the price list. We had two levels of dealers: those who bought large volumes, which typically purchased equipment at 30% off list, and those who worked in smaller quantities, which would get ~20% off list.

As the PC Market became more competitive, we couldn't afford high list prices (we were too expensive), so one of the ways we brought down our list prices was to shrink the discount we gave to the dealers.

The dealer was not allowed to sell online or via computer magazines: there had to be in-person contact. That helped prevent the Atlanta dealers from poaching the NYC dealers' business.

It's easy to armchair-quarterback the decisions IBM made, but a lot of those decisions were nuanced. For example, you could say, "Why didn't IBM have an 800 number to buy PCs?". And the answer is that a lot of our biggest customers were corporations, not individual consumers, and they felt more comfortable purchasing through a dealer they trusted.

brian_cunnie··on World’s largest ever four day week trial in Iceland ‘overwhelming success’
ten hour days are hard for me—I start fading at the 7th hour

I do love a four-day work week, but with 8-hour days, and I've been lucky enough to pull that off for the last 15 years. There's a downside though: it makes switching jobs much more difficult because few companies want to hire someone who only works 4 days/week.

brian_cunnie··on Troubled teens left traumatised by tough love camps
> A lot of historical figures contradict the prevailing narrative [that trauma never makes you stronger].

I'd argue that the key word here is "trauma"; I think _adversity_ can make you stronger (more disciplined, and more focused), but I think that Dr. Bernstein is using the word "trauma" in its technical, medical, sense, i.e. "Psychological trauma is caused by an adverse experience, or series of experiences, that result in an injury that changes the way the brain functions, impairing neurophysiological, psychological, and cognitive functioning." [0]

[0] https://www.med.upenn.edu/traumaresponse/trauma.html

brian_cunnie··on Troubled teens left traumatised by tough love camps
I asked a psychologist (Dr. Judith Bernstein) if it's true that what doesn't kill you makes you stronger, and she answered unequivocally, "Trauma never makes you stronger."

In a similar vein, with respect to "there are no atheists in foxholes", A three-tour-of-duty-in-Vietnam captain in the US Army (Harry McMenamin) said, "I was an atheist when I was in Vietnam, and I was in a lot of foxholes. There are atheists in foxholes."

brian_cunnie··on My EC2 Wishlist
Since we're adding to the wishlist:

AMIs are a pain to publish: you need one for each region, and AWS keeps adding regions, and publishing is a challenge (you need to be a citizen to publish to the Gov regions, and you won't believe how hard it is to reliably publish to the China region, at least back in '18).

AMIs should be S3 blobs like GCP, and that makes everything simpler.

And, while we're at it, Key Pairs should allow elliptic curve (ssh-keygen -t ed25519 ...) instead of forcing us to use RSA.

brian_cunnie··on Containers are tents
> many uses of containers are ... statically linked binaries in a more complicated form

I have found that to be true in at least one case—I had built a custom DNS server in Go (statically linked), and originally planned to run it in a container, but on further reflection realized the container brought no added value, and it was much simpler to write a systemd service control script than to bring in the extra baggage of a container ecosystem to run the DNS server.

brian_cunnie··on Why Can’t I Sleep?
Agreed: Sometimes the thing causing insomnia falls outside the realm of that simple advice (sleep hygiene, exercise, caffeine).

Two weeks after being put on Lipitor I began to suffer chronic insomnia for the first time in my life: I had good sleep hygiene (almost perfect), consistent exercise, and minimal caffeine (only in the morning, only before 9am).

The problem lay in my body chemistry: insomnia was not an uncommon side effect of Lipitor. The fix? My doctor swapped out Lipitor for a different statin.

brian_cunnie··on Once a bastion of free speech, the ACLU faces an identity crisis
Thanks for the tip! I'm going to follow suit, and replace my donations.

I feel there's merit to a singleness-of-purpose within an organization, and ACLU's attempt to juggle "12 or 15 different values" detracts from its effectiveness.

brian_cunnie··on Once a bastion of free speech, the ACLU faces an identity crisis
I don't know how large the generational divide is _within_ the ACLU, but I know that there is a generational divide. I'm 57, and a firm believer in free speech, but my younger friends have a different viewpoint.
brian_cunnie··on The Anxiety of Influencers
This reminds me of the advent of television, when vaudevillians such as Milton Berle made the transition to TV. A few became famous; most didn't.
brian_cunnie··on Sugar-sweetened beverage intake and serum testosterone levels in adult males (2018)
I doubt that pre-diabetes caused my craving because I always loved sweets. As a kid I would sometimes eat raw sugar.

I was only diagnosed pre-diabetic (fasting glucose > 100) the last year before I blossomed into a full-blown diabetic.

My parents were pretty strict about sweets, but once I was on my own my diet quickly spiraled into an orgy of chocolate & sugar.

brian_cunnie··on Sugar-sweetened beverage intake and serum testosterone levels in adult males (2018)
I ate more sugar than anyone I knew, and in 2011 I was diagnosed with type II diabetes.

I had no family history of diabetes, I was never overweight, and was always athletic.

Admittedly, this is a sample set of 1, but I remain convinced that my voracious appetite for sugar played into my diagnosis. I no longer eat sugar (with the exception of fruit).

brian_cunnie··on Nvidia announces mining GPUs, cuts the hash rate of RTX-3060 in half
And there's a great PBS spacetime video exclusively covering the creation of heavy elements, and why they no longer think it's solely the result of supernovae [0].

[0] https://www.youtube.com/watch?v=MmgMboWunkI

brian_cunnie··on A Trip into FreeBSD
> What about freebsd makes it a better choice as compared to Linux based systems

I wouldn't say "better" (I don't know want a flame war); I'd say "different". I like FreeBSD, and use it for my firewall (I find `ipf` more intuitive than `iptables`).

I also use it for my fileserver (FreeNAS/ZFS).

I think containers (Docker) works better on Linux. Containers (namespaces & cgroups) are a Linux-thing.

brian_cunnie··on Are the New M1 Macbooks Any Good for Deep Learning?
Yes, I remember IBM had its own email system back in the early 80's when I worked there, AT&T had its own in the later 80's. Even Prodigy/Compuserve/AOL had proprietary email systems (IIRC) with internet email bolted on.

And getting email to the internet at large was no mean feat: I remember having to do a slew of UUCP addressing to get an email from AT&T to the internet (something along the lines of "astevens@redhill3!ihnp4@mit.edu). It was the wild west.

brian_cunnie··on Dyson air purifier outperformed by cheap DIY box fan filter in Marketplace test
I didn't put a key in an electrical outlet, but in Paris when I was a kid I was having trouble sticking the plug in the 220V outlet so I held it tight by the prongs & plugged it in & boy did that feel weird. I never did that again.

I never told my parents about it because I would have gotten yelled at.

At camp we put crickets on the electric fence, but nothing happened to them, so I grabbed the electric fence, and that was a powerful jolt. I never did that again, either.

brian_cunnie··on Migrate Everything from Linux to BSD
Thanks for the tip.

It wasn't quite the solution I was looking for. I wanted my DNS server to "just work" for people who downloaded it—I didn't want to force them to re-configure systemd to accommodate my software.

Tweaking my software to accommodate systemd.resolved took ~4 hours. It was an enjoyable dive, but I'd rather not have had to do it on the first place.

I continue to think it's a bit of an overreach for Fedora to include a DNS server by default.

brian_cunnie··on Migrate Everything from Linux to BSD
I noticed that, too: the author doesn't mention the many-splendored versions of *BSD. My personal favorite is FreeBSD.

I like Linux, but I have mixed feelings about systemd, especially when I discovered that systemd runs its own DNS server, which prevents the DNS server I wrote from binding to port 53 using INADDR_ANY. Instead, I had to write code to enumerate the interfaces & corresponding IP addresses & bind to each one separately. Systemd's decision to run their own DNS server is a bit of overreach, IMHO.

← PreviousPage 4 of 7Next →