HNHacker News
TopNewBestAskShowJobs

brian_cunnie

870 karma · joined September 8, 2015

submissionscomments
brian_cunnie··on U.S. transition to 988 suicide and crisis lifeline begins Saturday
> if someone has lost their motivation to live, that is the fault of the community around them, and it’s the responsibility of society to fix the failures that led to that loss of motivation

Sometimes it's not the community that failed; sometimes the person wanted to die.

My friend Andy Ettelson killed himself by swallowing a bottle of aspirin and pulling a plastic bag over his head. He was sure he wanted to die.

His parents loved him, his friends loved him, and he had a girlfriend who loved him. He had community.

He also was bipolar, and refused to take his meds. He didn't like the side effects.

It was heartbreaking for those around him. When I got the phone call from Alex telling me that Andy had killed himself, he said, "I apologize if I sound so emotionless, but I've been waiting for that phone call from his dad for the last ten years."

We all knew that it was only a matter of time before he killed himself, and short of institutionalizing him against his will there was little we could do.

brian_cunnie··on Ex-CIA coder behind WikiLeaks ‘Vault 7’ cache found guilty of espionage
IANAL, but I don't think they can introduce child pornography charge in the espionage trial--they severed the two trials, and the ex-CIA coder hasn't yet been convicted of child pornography (it's the later trial), so it doesn't fall under the "Prior Conviction" umbrella.
brian_cunnie··on Adventures with Verizon FiOS IPv6
I use Comcast IPv6. I've had the same IP address IPv6/60 for about six years now.

One gotcha is that when I replace the firewall, I gotta make sure I keep the same ethernet MAC address to avoid re-IPing on the IPv4 side (the line in my FreeBSD firewall's config is "ifconfig_ix0="DHCP ether 00:0d:b9:48:92:48".

The other gotcha, for IPv6, is I have to migrate my client DHCP Unique Identifier (DUID) (`/var/db/dhcp6c_duid`) to my new firewall to retain my existing IPv6 subnets.

brian_cunnie··on Jimmy Carter asks court to defend Alaska’s ‘unrivaled wilderness’
Agreed. He works hard to make the world a better place.
brian_cunnie··on DNS Toys
Good catch!
brian_cunnie··on We’re winding down Google Talk
Good point! I think the EU is gonna force Apple to open up Messages, in which case Apple Messages will become the _de facto_ standard.
brian_cunnie··on We’re winding down Google Talk
> cloud is innovative but useless and has the most confusing UI of the three major cloud vendors

I beg to disagree: I find AWS's UI the most confusing--I am showered with services I don't use & don't know what they do (Beanstalk? I have no idea what that is). I find that if I stick with VPC and EC2 I'm safe, but even then they throw some curve balls at you: for example, VPC is all about networking & IP addresses unless you're talking about Elastic IPs, in which case you need to go to EC2.

Azure's interface is okay, but the sliding menus-thing throws me off.

Google's is the cleanest UI IMHO. Not too many services, intelligently grouped.

Although I've used AWS the longest & am used to its idiosyncrasies, I'm under no illusion that its UI well laid out.

brian_cunnie··on DNS Toys
This.

I measured the difference using `tcpdump`, and this was my conclusion:

> A big advantage of using DNS queries instead of HTTP queries is bandwidth: querying ns-aws.sslip.io requires a mere 592 bytes spread over 2 packets; Querying https://icanhazip.com/ requires 8692 bytes spread out over 34 packets—over 14 times as much! Admittedly bandwidth usage is a bigger concern for the one hosting the service than the one using the service.

(I had set up a service to determine your IP address via DNS, i.e. `dig @ns.sslip.io txt ip.sslip.io +short`, and measured why it was (marginally) better than using HTTP)

brian_cunnie··on Master’s Degree in Computer Science
My brother, 56, has been pursuing his Master's Degree at Columbia for over a year now, and he won't complete it until he's sixty (he's going part-time because he has a job), and the take-away is that it's a huge time investment, even as a part-time student. Sure, he cut away YouTube and Facebook, but he also had to cut away the gym. It's a sacrifice.

The other take-away is that if you don't have the math pre-reqs for a course, and you figure that's okay because you've always been pretty good at math & you'll just power through: don't. Take the pre-reqs first, unless you want to needlessly suffer.

brian_cunnie··on Getting hired after fifty
[for the record, I'm 58 & and an active software developer]

There are two points I'd like to add:

My brain isn't as elastic as a younger programmer's. My brother, a software developer close to my age, once said, "It's as if I used to have 20 registers, and now I'm down to 12". I can't keep as much in my head as once. My twenty-something co-worker, Belinda, once remarked, "It takes you a while to read code & understand what it's doing". She was right. Using solely that metric (elasticity), I'd have to say that the forty-year-old version of myself was faster than the fifty-eight-year-old version.

The other point I'd like to make is that there's a certain class of developer who has grown tired of developing & learning new skills, but doesn't want to retire. I remember my co-worker Larry would spend far too much time reminiscing about 640k computers and showing pictures of his grand kids. He didn't seem to want to work much. They let him go, and though I liked him personally, I think management made the right decision.

brian_cunnie··on Getting hired after fifty
> ... they're still in the running for subordinate positions

I think that statement does a disservice to being a software engineer, and is off the mark as well.

At my company (VMware), I know at least one Senior Director and three other Directors (Matthew K., David S., Rajan A., and Ryan R.)who abdicated their managerial role in favor of being an individual contributor for the simple reason that it was much more enjoyable, not because they're "embittered" or "anti-authoritarian".

For a more high-profile example, Mitch Hashimoto of Hashicorp went back to being an indicvidual contributor.

And, on a personal note, I'm 58 & I love engineering — it's fun. I like software, and I'm happy being a developer. I don't think I'd enjoy being a manager, and am not interested in finding out.

brian_cunnie··on Mental speed is high until age sixty
> Age related decline is biological and not everyone has identical DNA

Agreed—my friend Chaz Ferrari is 70 and has no gray hairs. And swims miles every day.

It's also easier to overlook one's aging when one is not competing with youth. I'm 58, and I pair-program at my company, and the intellectual elasticity of the twenty-year-olds continues to astound me: they can read through code & digest it much more quickly than I can, my years of experience notwithstanding.

> Lack of energy is one of the signs of aging

True! I remember when I was 49 and had to resign from the rugby team. "This is my last season," I told the coach. "I'm tired all the time from practice and games, and I can't do it anymore. It's too much." I was forced to acknowledge that at 49 I could no longer do what I could at 48. But that doesn't mean that life is over: I play old boy's rugby, and it's a blast.

brian_cunnie··on How to write more clearly, think more clearly, and learn complex material [pdf]
This is my writing gem: when you send an email, you either want them to know something or do something, so say that in the first sentence:

Good: "FYI, our etcd cluster is broken, but we're working to fix it."

Bad: "I came in this morning, and while I was going through my emails when I saw a message about one of the nodes in our cluster. So I checked it out, and sure enough it was down, and I went to the console and saw the kernel had panicked, so I ... [much further down] and that's when I realized our etcd cluster was down."

The later is what I call The Narrative: people have a natural inclination to tell a story, but the irony is that usually what's at the end of the story is the thing that should be first ("the cluster is down!").

Similarly when asking for something:

Good: "Could you please get me a new monitor? I'm getting headaches from the current one's constant flickering"

Bad: "I had a headache yesterday, so I had to leave early—I hope that's okay. Anyway, I'm not sure about the purchase requisition process. I think there's a resonating frequency between the 60Hz electric system and my monitor's refresh rate, but I'm not an electrical engineer. By the way, the new chair is great ..."

brian_cunnie··on How to write more clearly, think more clearly, and learn complex material [pdf]
I agree: Twitter forces you to be succinct, a useful skill when writing an Executive Summary for a business paper or an Abstract for a paper in a scientific journal.
brian_cunnie··on What software engineers can learn from the rapid collapse of Fast
> The lesson should be buy whatever the hell people want, just stop buying people until you need them. They're the expensive bit.

Absolutely. We were frugal, but not to the point of self-sabotage. Our biggest expense was payroll, followed by the Cadence/Synopsys EDA software licenses.

So, for example, no catered lunches or breakfasts, but if there was a customer or investor dinner, it would be expensed.

We had good health insurance, but we didn't have gym memberships or (gasp!) an onsite gym.

The workstations were powerful, but we shaved costs by buying "gamer rigs" instead of the more expensive "engineer workstations". We bought prosumer equipment (Netgear) instead of enterprise equipment (Cisco).

If someone needed, say, a Wacom tablet to accommodate a wrist injury, we made that happen.

We had a well-stocked lab, but some of the electrostatic benches we got at a good price secondhand.

Our office was near the train station to accommodate the engineers who commuted from the city, but it wasn't expensive space (all glass & chrome); it was a "B" office. We shared a bathroom with the other tenants. It was a little run-down, but it was clean.

We didn't have offices or cubes, just desks, and the CEO & President sat next to each other in the big room we all shared.

brian_cunnie··on What software engineers can learn from the rapid collapse of Fast
> we would have world-class catering for lunch every day

I'd like to point out that this is not the case for every Silicon Valley start-up: the three start-ups I worked at (CollabNet, Aeluros, Ardatech) were incredibly frugal with money (exception: salaries were competitive).

At one of the companies, the CEO and I took a trip to Safeway to buy soft drinks for customers. When we got back, I walked around the office telling everyone the soft drinks were _not_ for them, only for customers.

At another company, I had to make a compelling presentation to the CTO to buy a $1.5k printer. "The Linux workstations need a PostScript printer!" We bought the printer, but he didn't like parting with the money.

Being frugal doesn't guarantee success: my CollabNet stock was washed out in later rounds, Aeluros had a fair-to-middling exit to Broadcom, and Ardatech had a good exit to Google. But it's good to keep an eye on the money.

brian_cunnie··on Mac Studio M1 Ultra Teardown [video]
I think static straps are important.

I used to work at a fabless semiconductor company, Aeluros (bought by Broadcom) in 2002-2007, and one of our analog designers, Arnold Feldman, Ph.D., who designed anti-static circuitry for a large graphics card mfr, religiously wore anti-static straps when he was in the lab.

In fact, all the designers (they were all Ph.D.s from either Stanford or Cal) wore straps in the lab.

I asked him once why he wore a strap because until that company I had been haphazard in my use of a strap when I worked on the guts of PCs. He said that even though I might not have caused a failure, the chip might be degraded.

I now wear a strap every time I work with bare circuit boards.

brian_cunnie··on Yerka bike uses frame as lock
This is a great idea! I want to temper the enthusiasm of potential buyers, though: although this might prevent your bike from getting stolen, it won't help against vandalism, and I've spent hundreds of dollars on vandalism. The last time my bike was vandalized was two months ago, and it cost $200 to fix (they twisted the handlebars around until the cables snapped).

I wrote a blog piece about how to keep your bike locked up overnight, outside in San Francisco for years, [0] and the take-away is this: it averages $80 - $100 / month in repair costs, and you're much better off getting a bike rental membership (e.g. Citibike, Bay Wheels) for $15 / month.

BTW, good locks are really important.

[0] https://briancunnie.medium.com/how-to-lock-your-bike-overnig...

brian_cunnie··on Let's Rewrite Everything
A co-worker was adamant we needed to spend six months to re-write the application we were responsible for. As near as I could tell, his reasons were the following:

- The application was complicated, - The application was written in Ruby, and he didn't like Ruby. - Golang was way cooler.

Fortunately our director pointed out that there was no customer value to a rewrite, so the idea was shelved.

brian_cunnie··on Man found guilty of ‘grossly offensive’ tweet
Yup, the cops I know here in San Francisco say it's a bad time to be a cop.

Also, the cops get blamed for things that are outside their control, like car break-ins, "They [the thieves] know that the most they'll get is a citation, so they'll be out on the street in a couple of hours," said Pete McLaughlin, retired.

Also we have a District Attorney (Chesa Boudin) who doesn't like to prosecute non-violent crimes, so rampant shoplifting has caused at least one CVS (at the corner of Eddy & Van Ness) to close.

brian_cunnie··on Operation Warp Speed: A new model for industrial policy
> It's really not possible to overstate what an accomplishment this was

For some of us, it's a challenge to disentangle the achievements from the politics (e.g. "I hate Trump, so I refuse to believe his administration did anything of note"). But the world isn't a comforting black & white; instead, it's nuanced shades of gray.

Let's applaud the achievements that saved lives, regardless of the administration that promulgated them.

brian_cunnie··on Despite the hype, iPhone security no match for NSO spyware (2021)
> well-written Evil Geniuses. Or some "I was a CIA agent..." biographies

I think it's important to remember that CIA agents are people, and not necessarily evil or geniuses.

The one former CIA agent I know is to this day haunted by the time he killed a civilian during the Vietnam war over fifty years ago.

brian_cunnie··on UT1 NTP Time Dissemination
I have six servers in the pool, and I definitely leaked the Google time smear into the pool.

It's hard to get reliable upstream NTP servers--it was easier to point to Google. Google smeared, so my servers smeared, so all my downstream clients smeared.

I don't know how much my servers currently handle, but at one point they carried 1% of the North American pool NTP traffic.

brian_cunnie··on Tech CEO pleads to wire fraud in IP address scheme
> IPv6 was poorly designed.

I'd like to point out some design decisions I love about IPv6:

- 128-bit addresses instead of 32-bit. I can't imagine having a shortage of routable IP addresses for a long, long time.

- I don't have to use NAT if I don't want because there are enough IP addresses to go around. We've grown so used to NAT that we take it for granted, not recognizing it for the ugly hack it is. On my home network, just about every machine has a routable IPv6 address.

- A consistent subnet: it's almost always gonna be a /64. When I lay out my networks, I don't have to regret specifying a /24 and then, as the office grows, wishing I could extend it to a /22. Every IPv6 subnet is big enough.

- A consistent subnet means that you don't need to use a subnet calculator as much.

- Not wasting .0 and .255 addresses (network & broadcast addresses). It's particularly bad with very small subnets (e.g. an IPv4 /30 wastes half its usable IP addresses).

- On that note, I like having my machines being able to have a .0 (::) address. My favorite IPv6 address? 2600::. You can ping it to see if your connectivity is working.

- ::1 is loopback. 127.0.0.1 is lookpback on IPv4, but 127 is a kinda weird number (okay, it's 2^7 - 1, but it's still weird).

- Without NAT I don't have to worry about network collisions when I VPN into corporate ("What? They're using 10.0.0.0/24? That's my home network's subnet! Dang!").

brian_cunnie··on Why might you run your own DNS server?
I don't know how difficult it is to set up DNSSEC, but I do know I had to disable it on my internal BIND DNS server because it wasn't resolving google.com ("query failed (broken trust chain) for www.google.com/IN/A at query.c"):

I had to modify my default BIND options to disable DNSSEC:

options {

  dnssec-enable no;

  dnssec-validation no;
brian_cunnie··on Why might you run your own DNS server?
Another reason you might want to run your own BIND server is to enable reverse-lookups for your internal machines. On my home network, a reverse-lookup for 10.0.9.30 resolves to tara.nono.io (i.e. `dig 30.9.0.10.in-addr.arpa ptr` → tara.nono.io.)
brian_cunnie··on Why might you run your own DNS server?
I've been running BIND on the internet for a quarter century (ns-he.nono.io, ns-digitalocean.nono.io). Sure, I got burned 20 years ago with, IIRC, a zone-transfer exploit, but in those days BIND ran as root (remember: the internet was new then). Nowadays BIND runs as a non-privileged user in a chroot'ed environment, so even if it's compromised the blast radius is tightly constrained.

And I like BIND. I like editing zone files by hand. It never fails to make me happy.

brian_cunnie··on ADHD Accommodations Guide
> That's the real problem with being disabled: you're treated abnormally.

That's not been my experience: I've been treated normally.

I have not one but two disabilities: I'm an alcoholic/drug addict, and I'm a diabetic. I'm upfront about them, and people don't seem to care--they treat me the same as everyone else.

My take is that most people are so self-absorbed that they don't spend many cycles worrying about everyone else.

brian_cunnie··on Netflix Executive Sentenced to 30 Months for 700K Bribes, Kickbacks from Vendors
The two multimillionaires I know (one sold his company to JPMC, the other, to Google) aren't driven primarily by money. They have a genuine interest in what they do (securitizing carbon offsets, and designing analog circuits, respectively).

They're what you'd call "good guys".

They wouldn't be caught dead in that crazy kickback scheme that was described.

I know this is a small sample set, but what I've come away with is that rich people are like you and me, except they happen to be rich.

brian_cunnie··on Groups never admit failure
> Groups Never Admit Failure

I've been a member of groups that admitted failure. One time a group of us swam through a barnacle-encrusted passageway & cut ourselves. Everyone was bleeding. "That was a mistake," we agreed.

A volunteer group I'm in accept a $150k bequest, and after much soul-searching we decided to return all but $10k. Everyone agreed that we shouldn't have accepted the money in the first place because it caused too much strife in our organization.

← PreviousPage 3 of 7Next →