1,812 karma · joined Sep 13, 2020 (6y ago) · 361 submissions
https://hardwarehacks.org
comment 3y ago · link · parent
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
comment 3y ago · link · parent
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
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 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
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
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
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
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
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
comment 3y ago · link · parent
comment 3y ago · link · parent
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
> 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
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
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
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
comment 3y ago · link · parent
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
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
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 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'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
comment 3y ago · link · parent
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
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
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
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.