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 3y ago · link · parent

I also believe this. The counterpoint was made to me by a close friend who prefers to call (I also have friends who _only_ call) - "you really only engage people on your own terms" - which in some ways makes me a bad friend.

comment 3y ago · link · parent

My first computer had a 33MHz CPU and 16MB of RAM, and I believe the disk spun at a paltry 4200rpm. My pipe out to the Internet was provided via a 56k modem, attached to the serial port.

This machine had a physical power switch. You could not put it to sleep, so it required a cold boot every time. At boot, it would run a _very slow_ self test of all 16MB of memory, after which it would spend another minute loading drivers under DOS before spending another minute booting Windows.

If you wanted to go online, you spent another minute waiting for the modem to dial out, and 10-15sec for a well-optimized page to load in Netscape. In many cases, like wanting to look up information on some subject, it was faster to put the Encarta CD in the drive, wait for it to spin up and for the program to launch, and search from that.

If you wanted to do _both at the same time_, you could do that! But be prepared for the machine to become slow as molasses as it swapped out to that 4200rpm drive.

Fast forward to today. My laptop is in standby 80% of the time. It's usually reconnected to Wi-Fi before I can enter my password, and I can look up an article on Wikipedia in under 15 seconds of having picked the laptop up.

I disagree wholeheartedly that computing has become slower. I can achieve the same results in a fraction of the time it used to take.

comment 3y ago · link · parent

We've been using Helmsman (https://github.com/Praqma/helmsman) for the same use case. It supports some other creature comforts (automatic fetching of parameters from AWS SSM, chart ordering, etc.) and seems a bit more mature.

comment 3y ago · link · parent

At a startup I worked for, we had a cheap wireless microphone and speaker from Craigslist that we used for all-hands meetings. The UX for anybody remote (pre-pandemic, but board members did like to dial in) was terrible - IT would just place a laptop pointed at the speaker. The audio quality left a lot to be desired.

At some point, I pitched the silly idea to IT that I'd figure out what frequency the mic ran at, tune it with gqrx and an SDR, then feed it back to my own microphone using a loopback device in PulseAudio. That day, we had our best-ever voice quality on the remote call, I ended up becoming critical path for all-hands meetings.

Fast forward a few months, the only thing that saved us from building a Raspberry Pi + SDR + Zoom box was another round of funding, with which we bought a proper conferencing system.

comment 3y ago · link · parent

There are two alternative behaviors I can think of:

1. The service operator prerenders link previews on its own servers, then sends them to the client, which means that it needs to be privy to the contents of messages. I suspect this is already the case for Skype, but it's a feature that (say) Signal can't do this.

2. The message sender prerenders the link preview. Where link previews are interactive (I'm always impressed by linking Bandcamp in Slack, for instance), one could easily accomplish the same with some malicious JavaScript.

I'm not sure any particular behavior is "better".

comment 3y ago · link · parent

I developed a pathological need to monitor Slack at all hours. It was largely based on the culture at my company (a startup, at the time) - while there was no written rule to install Slack on your phone, responding to Slack messages at 10pm was clearly a way to get ahead at the company.

I switched jobs and continued to run Slack on my phone, as everybody seems to do.

Some time in 2021, I got a new phone and just... didn't reinstall Slack. The world didn't end. I found myself just as much on top of things as I was, in spite of the fact that I was now making intentional visits to my laptop off hours (I didn't quit it entirely).

You're probably expecting me to say that this was rainbows and unicorns from there on out, but the exact opposite is true. Two years later, I'm still finding myself anxious much of the time, that I'm missing an important Slack message - sometimes at 10pm, sometimes at 6am. Sometimes I have, indeed, missed an important Slack message. Not having the capability to be notified instantaneously isn't a panacea. I'm only finding it better than the alternative.

comment 3y ago · link · parent

That I know of, photography is still prohibited on the MBTA in Boston, but you see it all the time.

I think the Overton window has shifted to the point where the ability to take a photo is now assumed to be a given, and enforcement otherwise would be difficult because "everybody's doing it".

comment 3y ago · link · parent

As an engineer, I've never personally understood the desire to release anyway, even when a system has known critical deficiencies like this one. Sure, perfect is the enemy of good, but I'd also argue that inoperable is the enemy of good - it only serves to erode trust in your product, if your team chose to release an unusable product.

Some years ago, I worked on a system not quite as bad as what the author described, but close. We released a new product with a known, quite bad security vulnerability (I'd made sure our product team was _extremely_ aware of this), as well as no monitoring to speak of. The deadline had been communicated for around one year, but nobody had ever really discussed the significance of the date, other than it was what we were all death-marching to, and we needed to deliver.

What did that date turn out to be? The head of product management's birthday, which was revealed to the rest of the company on the highly-celebrated the launch date. People were just kissing ass. I left several months later.

It feels unconscionable to me that a company could have launched an incomplete, insecure, customer-facing product just to give a birthday gift to a leader, but I suspect this sort of thing is common.

comment 3y ago · link · parent

When I was young, I worked at a company that said things like "we are family" - and knew exactly how to manipulate with it.

I'd had a pretty rough year, my last year there - a recent breakup, a deteriorating domestic situation, and a death march at work. Management was aware of all three. In the end, I decided to leave the company. The attempt to retain me was not more money, or really anything around comp - it was something along the lines of (a rough quote): "You really shouldn't leave. We're your family. In times like yours, people can push the people closest to them away, to their own self detriment." And I was shared some links to psychology sites, talking about how folks in crisis can push close loved ones away from them.

Being young and naive, I gave some profuse thanks for enlightening me, promised to stay, reneged on the offer with the other employer... and a few days later, thought, "what on earth did they just do?!"

Needless to say, I put my notice back in, took the other job, and never looked back. The silver lining is that I now have a pretty good radar for management using the "family" argument in manipulative ways.

comment 3y ago · link · parent

Sadly, to my current understanding, my alma mater still does this. At the time it was extremely convenient - we had labs full of Solaris and Linux boxes, which could be remotely accessed from home without any issue. And I also seem to remember that basically nothing on IT's part had to be done during the Xbox 360 / Xbox Live craze, unlike my peers at other schools.

Even then, though, the downsides of consumer network security (mostly) relying on NAT were obvious. Common ports (80, 25, etc) were blocked inbound; the school's printers basically had to be on their own network, or get spammed all day.

comment 3y ago · link · parent

There's another failure mode not described here: "product management doesn't understand the change".

I'm in the (perhaps enviable, perhaps unenviable) position of getting a small subset of my marching orders directly from our CTO. Engineering at my company is organized in such a way that, while engineers report to the CTO, product management (part of engineering) does not. When the CTO asks me to priority-override a new feature, or even a small change, I've sometimes gotten into arguments with product management over how this wasn't planned for, and how they need time to adjust schedules and collect requirements before I can begin work. Unfortunately, I can't use the "talk to your boss" excuse, due to that quirk of the reporting structure.

One memorable example of this was a feature request which came in hot in mid-June, which I had code complete later that day. We actually shipped it a few days ago. To product management's credit, they _did_ come up with requirements that were not met by my initial change, but I question whether releasing fast and iterating, or releasing correct after four weeks, was better for the customer.

comment 3y ago · link · parent

Massachusetts has a concept of "managed competition" to avoid exactly this: http://www.mass.gov/doc/autoinsuranceexecsummarypdf/download

comment 3y ago · link · parent

The data doesn't need to be used now, today, for this purpose. What happens when an insurance company foists a new privacy policy on you, the insured, saying that it'll be using back data that it's collected for new purposes? To my knowledge, there are no laws on the books in the US that prevent that kind of behavior (ex-post-facto only applies to the legal system), and I'd imagine few would change insurance providers because of a privacy policy change.

comment 3y ago · link · parent

Is respect for social contracts really all that's necessary? I don't see it as adversarial, so much as I see it as "normal _and_..." for many vendors.

For instance, even if I could buy a TV and then return it for free, why not return it and charge a fee? Most people are willing to pay the fee, even if they wouldn't return it, so what's the incentive for any vendor to not charge the fee?

comment 3y ago · link · parent

How do these apps work, in practice? The article states:

> If you’re at the wheel focused on the road, but someone in the passenger seat is changing the music on your phone, the app may think it’s observing distracted driving and count it against you.

Is the app running on the car, or on the user's phone, which somehow detects that the user is driving a car? Is there some way that a paired phone (Bluetooth - or maybe this is a feature of CarPlay / Android Auto) can tell a car that it's being used?

comment 3y ago · link · parent

I periodically deliver flowers for a florist in Weymouth. I've never had an attendant operate the pump there.

comment 3y ago · link · parent

I did a walk-up amateur radio workshop with the Girl Scouts at a STEM festival a few months ago. I likewise was very surprised by two things: the younger kids had _no idea_ what they were looking at (isn't the radio in the phones? Spotify?), and they were also completely enamored with the gear. Some of the older kids (14-ish if I had to guess?) spent a lot of time with it.

For the younger (7-10 year old) kids who came to our table, we actually didn't do anything terribly technical - we just asked them, "What's your favorite type of music?", showed them how to tune to an appropriate local FM station, and let them see the waterfall plot of the station, put the big headphones on, and that sort of thing. If any of them showed an interest, I'd hand them a hand-held CB radio, one of the big clunky 80s ones from Stranger Things, and let them make "their own radio station", then showed them how to pick it up like the FM station. We got a lot of younger visitors this way!

comment 3y ago · link · parent

One problem with this approach is that the systems underpinning many of the still-accessible sites are likely still located in the US. CDNs like Cloudflare or Fastly may make them look like they're coming from a local point of presence, but the data is still somewhere else entirely.

Some sites are good about having a split between "www." (static assets, which can go behind a CDN) and "api." (requests which are live and mostly uncacheable), some aren't - so the data is just being proxied.

comment 3y ago · link · parent

> Next, they fed existing QR codes into the Stable Diffusion AI image generator and used ControlNet to maintain the QR code's data positioning despite synthesizing an image around it, likely using a written prompt.

A few months ago, after seeing that ChatGPT could produce reasonably accurate MD5 hashes, I tried generating QR codes with a Midjourney prompt. It failed in a really interesting way - it generated _symmetric_ QR codes, even though QR codes are explicitly designed to be asymmetric (think of the timing pattern, the three large blocks). So while I could claim ChatGPT "understood" MD5 hashes, I can't claim that Midjourney "understands" QR codes.

How long until generative models can produce working QR codes on their own?

comment 3y ago · link · parent

I actually did this once (over SMB on Windows, though) - and unintentionally crippled our corporate SAN with all of its polling and locking activity. I had a cluster of 20 workers which would poll every five seconds for messages, and I believe we had an EMC VNX storage appliance. I never did figure out why that was enough to bring the whole thing to its knees, but IT was very quick to track the problem back to me.

comment 3y ago · link · parent

I end up back on campus now and then, despite having graduated and moved away ten years ago - it's definitely just as interesting to see what's changed as what _hasn't_ changed.

I graduated right before the quarter-to-semester conversion happened, and heard more than my share of horror stories about lagging 10-week classes getting taught in 15, or worse, two 10-week classes smashed into a 20-week class, then taught in 15. Luckily, the writing was on the wall, so I ended up taking 32 course credits off-campus, and providing three years of pay stubs so that I could count part-time work as a co-op block, just so that I could graduate early.

comment 3y ago · link · parent

I got to experience the old VAX-based system for a few years, before it was migrated to Oracle Peoplesoft in 2011 (?) - which created as many problems as it solved.

Interestingly, I'd never heard of the telnet interface to course registration before today. I did hear about the modem bank - and being the one with the old laptop (2006 vintage), got to use the modem with the campus's 5-digit dialing to get a session on it. This was, by far, more performant than trying to use the Web interface that everybody else was hitting, but interestingly it also didn't have the silly "we're closed from 6pm to 6am" stipulation.

comment 3y ago · link · parent

I also use a physical Kanban board on my kitchen fridge with Post-its. I have four columns (To Do, In Progress, Blocked, and Done) and three swimlanes (Everything Else on top, Books in the middle, and a Recurring lane at the bottom, where some cards temporarily park in Blocked until needing to happen again). The Done column works a little bit differently from a traditional Kanban, where it's reaped on a rolling basis - e.g. I work my way down the fridge, then start replacing the post-its at the top.

An interesting feature-not-bug is that my In Progress column is capped at four tickets, physically, by the ice maker.

comment 3y ago · link · parent

I actually do use three 24" 16:9 screens, side by side. Though small by anyone else's standards, 24" is sort of the perfect size for the three monitor setup. It doesn't make me strain my neck _too_ much, but also isn't so gargantuan that I can't fit three on my 5-foot desk.

I split each monitor down the middle, treating it essentially as a viewport for two windows. Optionally I sometimes fill one screen with a single window, but I never overlap screens. On my home computer running Linux (Cinnamon) this functionality is built in; on my work laptop running macOS, I use Rectangle to accomplish the same thing.

I did have three 19" 4:3 CRTs, way back when - beautiful Sun Trinitrons. They took up the entire desk, but I could conveniently stack equipment on top of them (speakers, a clock, an FM radio, etc), because they were so large. But my workflow for those was different - each monitor _was_ a single window, as splitting them resulted in windows that were too narrow to be useful.

comment 3y ago · link · parent

I get along well with my parents today, and generally always have (for some definition of "get along"). That said, it took me into my 30s to really figure out where my parents fit in my life. In spite of the dynamic we had through the earlier half of my 20s, I don't have to act as they do, or think what they think.

I've since learned that some of my own dissonant thoughts are really just echoes of things that my parents would say. Recognizing that has helped me eliminate many of them. Step one was being my own person, which I could do while I still had those types of thoughts, but step 2 was realizing why the thoughts were there, and being able to move past them.

I still think the best thing I did to improve my relationship with them was move out.

comment 3y ago · link · parent

I'm not sure if your indestructible 8mpg truck example was facetious, but you've actually, very accurately, described the Grumman Long-Life Vehicle - also known as the truck that delivers mail in most of the United States: https://en.wikipedia.org/wiki/Grumman_LLV.

comment 3y ago · link · parent

During our last extended (3 day) power outage, I was surprised to learn that even though I have all of my gear on a very large UPS, the cable network also ceases to function after a few hours. Local nodes apparently only have backup power for a short time. To their credit, I saw Comcast deploying small gas generators to nearby street poles the next day.

The cell network, on the other hand, continued working without a hiccup. This might have been because the nearest cell tower still had power, but even if it didn't, I'd assume that I'd just be able to connect to the nearest in-range tower that _did_ have power.

comment 3y ago · link · parent

For several years, I bought older vinyl not for the vinyl itself, but for the cover art, which I hung on my living room walls with Records on Walls: https://www.recordsonwalls.com/. Many of them have an aesthetic quality all of their own, like the gatefold of Led Zeppelin IV, or the subtle yet iconic "EKG" from Dark Side of the Moon.

It's much more recently that I acquired a turntable and a preamp, so that I can actually listen to them.

comment 3y ago · link · parent

A few years ago, I erroneously started a process on an unclean dataset, thinking it had been cleaned. This caused messages to be delivered to customers, asking them to take action, when in fact no action should have been taken on their part.

The cause? In a status update, the person cleaning the dataset said that she was "ready to begin". I interpreted that as "the processing process is ready to begin", not "the cleaning process is ready to begin".

When stakes are high, clear communication helps us all - even when whatever's happening is an SOP that you run every day.

comment 3y ago · link · parent

A couple of years ago, I was dealing with a Redis database that was leaking keys. One day the number of keys started to climb dramatically, and I had a difficult time querying Redis itself to ask what the keys were, without it running out of memory as I did so.

We were a Ruby shop, so I wrote a small Ruby tool to analyze the on-disk dump file. It would let me query the keyset, and count both the number and size (in bytes) of their data, matching some conditions. A pass of that tool took about 900 seconds to run on our dump.

In between runs, I started rewriting the tool in C++ for better performance. This ultimately yielded a tool which took... 800 seconds to run.

What I'd forgotten is that good, performant C code takes brain cells to write. I was able to get the C++ version's execution time down to 150 seconds, just with better memory management.

The moral of my story is that Ruby isn't, on its face, considerably slower than "equivalent" C or C++ code. Rather, those languages allow more expressiveness in what the machine is going to do, under the hood, leading to more opportunities to optimize performance.

1
456
13