Better HN
topnewbestaskshowjobs
Log inSign up

don-code

1,812 karma · joined Sep 13, 2020 (6y ago) · 361 submissions

President, Boston DevOps Network

https://hardwarehacks.org

Submissions

comment 1y ago · link · parent

I agree this seems overly principled to me.

I recall a DSP class where there was an exam with a question like (not exactly this):

> What does the following code print?

> `printf("Hello, world!");`

If you responded with:

> Hello, world!

...which - of course - the whole class did, you got the question wrong.

If you responded with:

> "Hello, world!"

...which is actually not what that would print, you got the question right.

A small band of us went to the professor and noted that, in fact, `printf("Hello, world!")` does not print the quotes. But he wanted us to show that it printed a string, and we denote strings by quotes.

This was something that we learned to do just for him - all strings had to be enclosed by quotes, to denote that they were strings. As far as I'm concerned, it served no practical purpose; we never had to differentiate strings like "Hello" from ['H', 'e', 'l', 'l', 'o', 0] or other representations.

A better example of how this could go - and not one that had anywhere near the same stakes - was a question on the entrance exam for my college radio station:

> What is the airspeed velocity of an unladen swallow?

I got this question right by answering, "Ni!"

(edit: formatting)

comment 1y ago · link · parent

If after eight weeks a junior engineer is still toiling on their story, I'd ask why someone more senior didn't get involved.

There are lots of reasons - maybe the senior engineers are overburdened with other work (or don't care), maybe the project manager or team lead wasn't asking if the junior needed help, or maybe the junior was lying about their progress.

Either way, a story that goes for eight weeks feels excessive. Much, to your point, taking eight weeks to figure out that there was a bad part feels excessive. My counterpoint is that teams don't typically operate like labs. In a college lab, the objective is for you, specifically, to succeed. In an engineering team, the objective is for the entire team to succeed. That means the more senior engineers are expected to help the more junior engineers. They might directly coach, or they might write better documentation. I don't believe that dynamic is present in a lab setting.

comment 1y ago · link · parent

Just out of curiosity, were you up-front after the fact that this was part of the exercise?

We had a first-semester freshman year course that all incoming students were required to take. The first assignment in that class was an essay, pretty typical stuff, I don't even remember what about.

A day after handing it in, roughly half of the class would be given a formal academic citation for plagiarism. That half of the class hadn't cited their sources. "This one time only", the citation could be removed if the students re-submitted an essay with a bibliography.

While it was obvious, in hindsight, that the point of the exercise was to get you to understand that the university took plagiarism seriously, especially with the "this one time only" string attached, it felt dishonest in that nobody ever came out and said so. I luckily wasn't on the receiving end of one of those citations, but I can only imagine the panic of a typical first-semester freshman being formally accused of plagiarism.

comment 1y ago · link · parent

Sometimes it's not even rare that documentation is wrong. The documentation for a vendor who I won't name - but might be at Series J and worth north or $50 billion - seems to be wrong more often than it's right.

We frequently say, don't blame the tools, it's you. That pushes "blame the tools" outside of the Overton window, and when we need to blame a tool, we're looked at like we have five heads.

Ten years ago, I was dealing with a bizarre problem in RHEL where we'd stand up an EC2 instance with 4GB of memory, have 4.4GB of memory reported to the system, and be able to use 3.6GB of it. I spent _a long_ time trying to figure out what was going on. (This was around the time we started using Node.js at that company, and needed 4GB of RAM just for Jenkins to run Webpack, and we couldn't justify the expensive of 8GB nodes.)

I did a deep dive into how the BIOS advertises memory to the system, how Linux maps it, and so forth, before finally filing a bug with Red Hat. 36 hours later, they identified a commit in the upstream kernel, which they forgot to cherry-pick into the RHEL kernel.

That's a very human mistake, and not one I dreamed the humans at Red Hat - the ones far smarter than me, making far more money than me - could ever make! Yet here we were, and I'd wasted a bunch of time convinced that a support ticket was not the right way to go.

comment 1y ago · link · parent

Indeed it could have. I was on a fairly prestigious scholarship; luckily, my marks were good enough that this was a low-risk decision.

That said...

I graduated with a 3.2 GPA, after being the stereotypical "gifted" student up through high school. A 3.2 is, apparently, still decent. However, I did feel a bit of a twinge seeing my peers walk at graduation with with cords, bents, and other regalia, where I just had my standard-issue black robe.

It had less to do with my grade in this particular class, and more to do with the fact that I had a part-time engineering job - 10-20 hours a week - and was making money. When you've spent a couple of years being broke, having an extra few hundred dollars per month was a big deal. Enough so that I didn't really care about putting the extra effort in for A's - that extra time was time better spent working. B's were fine if I could afford to take my girlfriend out to dinner every month.

In the years since then, it seems like this was a good decision. That job became full-time after college, and I stayed there six years. At the end of six years, nobody really cared about my college GPA. At the end of nine years (when I next looked for a job), I didn't even bother listing it on my resume.

comment 1y ago · link · parent

It's a good question! I didn't think to check the markings on the chip. The lab tech was convinced I was doing something wrong with my setup, and likewise he had me convinced it must be something wrong with my setup.

Coincidentally, I've been knee-deep in some problems that I've applied the Cynefin framework to. I'd call this problem "chaotic", where throwing things at the wall might be _more_ effective than working down a suggested or tried-and-true path from an expert. I was pleasantly surprised just a few weeks ago where one of the more junior engineers on my team suggested updating a library - something I hadn't considered at all - to fix an issue we were having. (That library has no changelog; it's proprietary / closed source with no public bug tracker.) Surely enough, they were right, and the problem went away immediately - but I was convinced this was a problem with the data (it was a sporadic type error), not a library problem.

comment 1y ago · link · parent

This is, more or less, exactly what happened when I took Electronics I in college.

The course was structured in such a way that you could not move on to the next lab assignment until you completed the one before it. You could complete the lab assignments at your own pace. If you failed the lab, you failed the class, regardless of your grade.

The second or third lab had us characterize the response of a transistor in a DIP-8 package, which was provided to us. If you blew it up, you got a slap on the wrist. That DIP-8 was otherwise yours for the class.

I could _never_ get anything resembling linear output out of my transistor. The lab tech was unhelpful, insisting that it must be something with how I had it wired, encouraging me to re-draw my schematic, check my wires, and so on. It could _never_ be the equipment's fault.

Eight (!) weeks into that ten week class, I found the problem: the DIP was not, in fact, just a transistor. It was a 555 timer that had somehow been mixed in with the transistors.

I went and showed the lab technician. He gave me another one. At this point, I had two weeks to complete eight weeks of lab work, which was borderline impossible. So I made an appointment to see the professor, and his suggestion to me was to drop the class and take it again. Which, of course, would've affected my graduation date.

I chose to take a horrible but passing grade in the lab, finished the class with a C- (which was unusual for me), and went on to pretend that the whole thing never happened.

comment 1y ago · link · parent

While I doubt they'd find it - the SOP for issues with these modems must just be to replace them with a new one - something tells me Comcast wouldn't look kindly on physically modifying rental equipment.

comment 1y ago · link · parent

I've run into this (it's in Librewolf, but is more obnoxious in Mull/IronFox on Android where I actually use this), where the privacy protections prevent the Jackbox games like Drawful from sending the contents of a drawing to Jackbox's servers. Both browsers don't fail - they just upload a rainbow pattern every time.

I use IronFox and LibreWolf as my daily drivers, but I keep Firefox installed alongside them for the inevitable site that just doesn't behave correctly. Not unlike having to reach for the big blue "E" in the bad old days.

comment 1y ago · link · parent

While admittedly not at all the same, there was a certain romance shared by all listeners of a Boston-local FM radio station, WFNX. Whereas many commercial radio stations broadcast with tens of thousands of watts, FNX made do with a Class A broadcast license, limiting them to around 3000 watts of power. This made picking up the station a challenge for all but the closest listeners.

My particular romance was taking a pair of TV rabbit ears and hanging them out the window by the twin-lead cable, much to my mother's chagrin.

comment 1y ago · link · parent

1987 E30 owner - even after getting the mold out during a restore, and in spite of a crack in the bolstering, the E30 sport seats are the _second_ most comfortable I've had the pleasure of owning. The seats in these old cars definitely have something up on modern leather seats, even its 27-years-older brother (4-series) that I drive daily.

The champion in that department, though, was the 1986 Volvo 740 that I briefly owned. Those seats were perfect in nearly every way.

comment 1y ago · link · parent

I'm shocked that there's no mention of the E30 3-series in the coupe body style. This is the archetypal 80s BMW that everyone from collectors, to racers (especially, it seems, Lemons racers), to Top Gear (this car had its own Cheap Car Challenge episode), to myself (proud owner of an '87 325is) seem to go after.

The E30 M3 2-door is indeed there, which actually is not the same vehicle. Much of the body is different between the two cars. The M3 additionally has a high-revving, 4-cylinder engine, whereas the 325is has a pretty standard straight-6. While the M3 has a faster 0-to-60, the 325is has a faster 0-to-30, which is perfect if you want to ride it as a daily driver.

comment 1y ago · link · parent

I did the same, except with Netscape Composer. That was a time where the output of the WYSIWYG editor - really, the source of any page - was pretty digestible, even to me as a middle school student.

I've noticed recently that the JavaScript debugger in Firefox can "un-Webpack" (and in some cases un-minify, if I've read the inputs and outputs correctly) the code behind many sites. It's certainly not as approachable as declarative HTML, but I suspect to some enterprising person, that route is still open.

comment 1y ago · link · parent

Some time ago, after going through about five years of terminal connectivity to my job via Slack, I got a new phone and just... didn't reinstall Slack.

You are probably expecting me to start listing off all the benefits, how my life is 127% better, I sleep 42 extra minutes each night and so on.

I wish it were that simple.

The good is that, in the three years I've not had Slack installed on my phone, I've missed important night/weekend events exactly twice - and in both cases, they were improper escalations directly to me (we have a pager rotation for this exact scenario).

The bad news is that I still find myself anxious that I'm missing something - because frankly, I probably am, even if it's low-priority. It's kind of like taking out a loan against tomorrow, where I'll have to catch up on a series of decisions that were made without my involvement, or talk someone through what they _should_ have done when I could've simply led them down the right path.

comment 1y ago · link · parent

My understanding is that the PC is actually the odd one out there. Many pre-UEFI devices (PowerPC Macs, Sun SPARC boxen, etc) ran Open Firmware, which used device-independent bytecode in their boot ROMs. You could swap the graphics card out of a Mac and put it in a Sun machine, and things would work. PCs, on the other hand, put x86 machine code directly in the boot ROM.

comment 1y ago · link · parent

I once ended up being the beneficiary of Crucial making a gambit on "Mac memory", which was standard DDR memory with a different label on it. The SPD literally showed it as a different, non-Mac-specific SKU. Luckily, few people fell for this, and Crucial later unloaded the "Mac memory" at a discount relative to standard DDR memory.

comment 1y ago · link · parent

I lived down the street from the old Zildjian plant in Quincy. It's amazing how much product they were able to produce in such a small space.

Sometime within the last ten years, it was knocked down and replaced with an apartment building even bigger than the plant.

comment 1y ago · link · parent

It's telling that - as the family IT person who buys the computers - any time I buy someone a new computer, I need to spend _at least_ a few hours hammering out the rough edges. There's software that needs to be installed, software that needs to be _uninstalled_, drivers that need to be updated (I once bought a laptop that was shipped with a non-working mic; driver update available), software that needs to be bought ("what do you mean Office isn't included?!"), and so on. Most users aren't able to navigate that themselves.

Moving someone across ecosystems isn't always possible, either. While I've made some Linux migrations, and might consider Mac in some others, there are use cases where Windows is a must. Of the Windows installs I'm theoretically in charge of, there's Windows printing to a 20-year-old ribbon printer, Windows "because I need, specifically, QuickBooks Pro 2016", Windows on a cash register (!) that the vendor no longer supports, Windows for an autistic girl who I wouldn't ask to adapt, and so forth.

comment 1y ago · link · parent

I DVR the nightly news with NextPVR, more as a convenience in case I'm doing something when it's on, want to pause/rewind, want to watch it the next morning instead, etc.

Come 2020, I was convinced that the world was going to end. So I simply... turned off the retention rule. One hour of news is around 5GB, but that's a very-high-bitrate MPEG-2 stream with an extra audio channel in Spanish. So I instead wrote a cron job to take that week's news, drop the stuff I don't care about, and H.264 the entire set of them down to 4.7GB, then burn them to a DVD for offline storage, since there's not much value to keeping them online.

By 2022, it was obvious the world was not, in fact, ending, but I never stopped this practice because of how simple it was, and how unobtrusive to store they are. I just make sure a fresh DVD is in the NAS every week, and put the DVDs on a spindle - they collectively take up about as much room as a toaster. I could make that even smaller and simpler if I opted for a portable hard drive.

Occasionally I'll manually toss something interesting in, like the presidential debates, or special coverage of some newsworthy event.

In 20 years, when it comes time to re-burn the earliest of them, maybe I'll make a value judgment on whether that's worth it, but for now it feels like I'd be losing something for not much of a good reason.

comment 1y ago · link · parent

Architecturally, the city of Boston has changed many times. You can more or less pinpoint when a building was built by its appearance. City Hall's architecture is mirrored in most of the transit stops from the 1970s-era expansion. Some of them (e.g. Wollaston, Harvard) have since been rebuilt; others (e.g. Quincy Adams, Malden Center) are still concrete behemoths like City Hall.

Anything built within the last ten years is, of course, LEED-chic - the building is a glass box.

comment 1y ago · link · parent

Indeed, I've been having this conversation with the junior engineers on my team. UNIX was designed for the days when computers - and the operating system - were shared resources, and each individual's permissions to it had to be strictly defined and controlled. Nowadays, we have users as a vestige, and partially as a hindrance, especially where our applications in production are all single processes deployed in containers.

But anyway, it at least gives them the context on why they're working on these projects to not make containers run as root.

comment 1y ago · link · parent

87 BMW here. I believe my servo is controlling the throttle cable itself. When the cruise control commands the vehicle to accelerate, the pedal physically moves.

It's not my daily driver, but I would absolutely love to one day get another one as a project car - one that's not in such good condition that I'd feel bad removing the engine - and drop an electric motor in it. That likely _would_ become my daily driver. The car's incredibly well made, and a joy to drive.

comment 2y ago · link · parent

Sometimes this just isn't feasible for cost reasons.

A company I used to work for ran a few Super Bowl ads. The level of traffic you get during a Super Bowl ad is immense, and it all comes at you in 30 seconds, before going back to a steady-state value just as quickly. The scale pattern is like nothing else I've ever seen.

Super Bowl ads famously seven million dollars. These are things we simply can't repeat year over year, even if we believed it'd generate the same bump in recognition each time.

comment 2y ago · link · parent

The original announcement from Casio said they'd be making a ring version of the venerable DBC-611 calculator watch as well: https://www.g-central.com/casio-to-release-casio-watch-ring-...

It looks like they've instead made a ring version of the CA-53W, which - in the staggeringly few times I see someone wearing a calculator watch - is usually the one they're wearing.

I still wear a DBC-610 as my daily driver, and I do use the calculator and countdown timer features quite often.

comment 2y ago · link · parent

I have a handful of Realistic Chronomatic clock radios scattered about the house, including one at my bedside. The LED digits are large, and the alarms are loud - basically, exactly what I want in an alarm clock.

comment 2y ago · link · parent

I got to have this kind of fun a few years ago, when a company in our building threw away a Sun Ultra 45, which I believe was the last of the SPARC boxes packaged into a desktop form factor. These things were the stuff of legend - we had the later x86 Sun's in college - and I quite nearly blew a fuse after my coworker sent a photo of it in a dumpster, without telling me where it was until 30 minutes later.

By this point, Sun hardware was mostly PC-like: it took SATA hard drives, DDR memory, and USB peripherals. You didn't need to issue STOP to get to the `ok` prompt, you just had to do some specifically-timed dance with the (soft) power button.

My guess, based on the company throwing it out, is that they hit the power button, got a blinking red light with no video output, assumed it was dead, and tossed it. At this point, I didn't even know yet that there was an `ok` prompt to get to, and I spent a few hours at the office that night, wrapping my head around the service manual before getting it to dump me to `ok` and let me poke around.

I dreamt for years of restoring it and using it as a NAS (ZFS!), but life got in the way, and I eventually sold it (sufficiently refurbed to be running Solaris 10, but missing things like the side panels and drive cage) for only $250 or so.

comment 2y ago · link · parent

I do self-host my mail, and I've done so since about 2005! It gets harder and harder to with every passing year. Some notable things that have changed since then:

Many ISPs now block inbound port 25, required to receive mail via SMTP. It's quite hard to get an ISP to unblock this. My university wouldn't at all, and I left a laptop under my parents' couch for four years to do it instead. Some time later, Comcast began blocking it as well, and the only way to get it unblocked was to call support, work your way up the phone tree to someone that realized you were talking about inbound rather than outbound (no, this is _not_ a misconfiguration in Outlook), and get them to push a special config to your cable modem, which would be reset whenever another config was auto-pushed, or your modem lost power. You may notice that implies extended downtime when Comcast, my electric service, or my physical operations (read: I unplugged it by accident) suffers a failure.

Many mail servers (e.g. Gmail) require you to have reverse DNS that matches your forward DNS. Getting your ISP to understand what they're asking you to do is... difficult. The last time I changed ISPs, it took about a week to get this done. Comcast batches these updates weekly, and support wanted to double, triple, and quadruple-check that what I was asking for was, indeed, what I was asking for.

There are a bunch of anti-spam measures in effect that use DNS: SPF and DMARC are table stakes for most mail servers (again, e.g. Gmail) to speak to you. I've so far managed to get by without setting up DKIM, but I suspect that's next.

The worst part, by far, is spam blacklists. Many blacklists will already have your IP address listed by policy - you're a _residential IP_, not to be trusted. The Spamhaus PBL, for instance, automatically blocks all Comcast residential IPs. There is nothing you can do about this, and many mail servers will refuse to speak to you if you're on a blacklist.

These days I am paying Comcast an arm and a leg for business-class service, which both gives me unbridled inbound port 25, and also a (luckily!) clean IP on block lists.

comment 2y ago · link · parent

I'm somewhat surprised that, after the SpaceX / Boring Company "rescue submarine" offer a few years ago, Elon Musk hasn't personally suggested (over X, of course) that SpaceX send up another Dragon inside of some compressed timeframe. I'm assuming there must be some other limitations at play - maybe one can't be readied that fast, or there's some other regulatory reason?

comment 2y ago · link · parent

I've noticed there's a behavior of newer React apps, to load the static text "You need to enable JavaScript to run this app" (or similar). It'd be nice if they could instead use this feature to gate rendering the page, as I assume that plugins like NoScript would be implemented to ignore it entirely and render whatever static content is there.

It'd for sure still be up to content designers to degrade gracefully.

comment 2y ago · link · parent

That's very much a double-edged sword. Jira is probably the product I use which has the worst UX around this - fields jump around the page for 5-10 seconds when I load a ticket. That said, while the likelihood that I personally (team/tech lead) am going to edit a ticket is quite high, I imagine the rest of my team (there are more of them than me) would be suffering through 5-10 second load times just to read a ticket.
12345
13