340 points · by compiler-guy · 3y ago · 313 comments
When working on MacOS 8.x (not sure which point release), they surveyed users, and their number one complaint was boot time. It took long for the system to boot (around 45s on average at the time). They looked into it but also asked the question, why do people care about boot times at all? At this point, the systems were capable of sleeping, so reboots should be rare.
They found that people were rebooting because of instability, not just once a day or once a week. While they did improve the boot times, they put more effort into making the OS more stable. When the new release shipped, people stopped complaining about boot time, but not because it was vastly improved, instead because they were doing it less often.
The moral of the story is to make sure you understand both what your customers are asking for and why your customers are asking for it.
That didn’t require a survey. The OS didn’t have memory protection and typically got patched at startup by ten or so different extensions from both Apple and numerous third parties.
The rules for patching were unclear, to say the least (1), so an extension might, for example, have a code path where it allocated memory inside a patch to a system call that might be moving memory around (a no-no, as the memory manager wasn’t reentrant)
And that had to run code that typically was compiled with a C compiler of the time, with very, very limited tools to prevent out of bounds memory writes.
What damaged Apple's Mac business in the 1990s might been due to tunnel vision and self-delusion, but the driving issue was a loss of obvious differentiation vs. cheaper PCs running Windows. They were all beige boxes with a serviceable GUI that ran the same software, and customers didn't see the value in paying Apple's premium prices.
With the return of Steve Jobs, Apple resolved the PC differentiation issue by refocusing on design in both hardware (iMac) and software (OS X); Apple also sidestepped Windows dominance by focusing on non-PC devices such as the iPod, iPhone, and iPad.
When a friend first showed my wife Mac OS X and went to shut it down she frowned, "That's something I liked about the Mac, it would shut down instantly."
"You'll have to find something else to like about Mac OS," he said.
Otherwise we would get faster horses instead of cars.
* The user is always right.
* The user is not always right.
And then the explains the first point is that the user should be treated as the authority on what their problem is. You can't just tell them they're "doing it wrong" or rationalize away their pain.
The second point is that users are not designers and shouldn't have to be. They'll often come up with ideas for solutions, but you shouldn't take those as what needs to be done.
Good example is FTP. Obviously, for anything requiring any kind of security, use SFTP. But I kid you not, almost all FTP-related questions on the internet have answers like "are you still using that INSECURE protocol in 2020??" without being constructive at all. Even if it's just some random hobby project. Or a legacy system they can't change. Doesn't matter, it's more important to score points from virtue-signaling than actually helping the poster.
"When people tell you that there is a problem, they're always right.
When they tell you how to fix it, they're always wrong."
One reason engineers enjoy questioning the premise of a difficult feature is to avoid the work entirely. The problem with this is not that engineers are lazy its that the success metrics after the goal posts are moved can be futzed in a way that ultimately is detrimental to users.
Did Apple really improve boot times and OS instabilities to a complete resolution or did an aspiring PM or Lead achieve the bare minimum of the goal to claim victory internally?
The other more important metric I pushed was “speed of light”. When installing from a DVD (yeah, olden times), the “speed of light” there was the rotational speed of the disc and so we should install as close to that speed as possible. Keep improving speed of operations until you butt up against whatever physical limits exist. Time is precious, you don’t get more of it.
We aren’t doctors saving individuals’ lives but what we can do is give people fractions of their lives back. Some software is used by hundreds of millions or billions of people, so small changes there can save many “lives” worth of time.
I have heard "that's slow" or "that's good" too many times in performance talks that have completely ignored the underlying machine and what was possible.
My favorite feature is how it supports incremental loading. WoW is a huge game, but you can start playing with a fraction of the assets. It will play in a downgraded way with place holders and lower quality assets as well as skipping entire areas completely.
You can reinstall from scratch and be up and playing in minutes. It’s one of the hidden joys of the platform that players mostly take for granted, but I appreciate the no doubt legion effort involved to pull this off, to change the wheels on a moving train, and to deliver just uncountable amount of data with little drama and great performance.
So kudos to you for whatever your contribution was to making such a core facility to the system so painless for the end user.
In this particular example, the time saved on the download will go towards the noble cause of ... playing video games? Is that so much better use of time than the wait for it to download?
And to answer your question: for everybody involved it’s better yes.
According to Mike Slade, he was working at Microsoft around 1990, and Jobs was trying to recruit him to NeXT. (Bear in mind that Microsoft was only a few years from launching its mega-hit Windows 95, while NeXT was struggling to sell computers.)
During a conversation, Jobs told Slade he would find his talents wasted in Seattle. In contrast, Jobs called Silicon Valley a hub of excitement and activity where Slade could blossom.
Jobs then launched into a spontaneous, impassioned speech. He described Palo Alto, California, as a “special place” and likened it to Florence during the Italian Renaissance. There was so much talent in the area, Jobs said, that you could walk down the street and bump into a scholar one moment, an astronaut the next.
Jobs’ off-the-cuff description of the place bowled over Slade. It was a twist on Jobs’ famous pitch to Pepsi CEO John Sculley. (Jobs asked whether Sculley wanted to sell sugar water his whole life or join Apple and change the world.)
After the talk, Slade agreed to pack up his stuff and move to Palo Alto.
Jump forward a year, and Slade and his wife were eating in Il Fornaio, an Italian chain restaurant with a location on University Avenue in Palo Alto.
“We were sitting there, in early ’91, and I’m reading the menu,” Slade recalled. “And on the back of the menu at Il Fornaio it says, ‘Palo Alto is like Florence in the Renaissance…’ And it goes through the whole spiel! The fucking guy sold me a line from the menu! From a chain restaurant!! Bad ad copy from Il Fornaio, which was his favorite restaurant, right? Such a shameless bullshitter!”
https://www.cultofmac.com/573753/how-jobs-poached-a-microsof...
So I'm completely unsurprised that Il Fornaio's pitch would resonate with Jobs and that he would quote it verbatim.
Be that as it may, a number of cool things - and successful companies - have in fact come out of Palo Alto. And you can meet some interesting people there. I believe you can still catch Pac-4 football games there as well.
Il Fornaio and Palo Alto might also have been better in 1990, when Jobs quoted his pitch.
I'm not sure what would make it more appealing to you, but it may be that you're just seeking a different vibe or are at a different point in your life where you may not value some of those things the same.
More seriously, there really is an absurd shortage of clean, available, public restrooms that are open 24 hours. It's a huge issue in the Bay Area and SF especially, but it's bad in many US cities.
At some point we seem to have decided that clean streets (and train stations) are not worth the changes in regulatory requirements and funding that would be required. Palo Alto actually has a pleasant and quaint waiting room from its Southern Pacific days - but of course it's always closed, especially post-pandemic.
I was shocked recently though when I was in a BART station that had a public restroom that was actually open and maintained. Seems like a good idea considering how often escalators are "closed for maintenance."
Funny story, but I find it hard to believe Il Fornaio, with its mediocre Italian fare, was Jobs' favorite restaurant.
This is the restaurant we'd go to when all other options were booked or it was too late to drive further.
https://www.paloaltoonline.com/blogs/p/2018/12/04/after-39-y...
https://kellanskitchen.com/menu/chos-the-end-of-an-era/
https://www.masterstech-home.com/the_kitchen/recipes/Interna...
Huh - I was about to post "I just listened to that podcast!" and bro out with you about Dan Carlin and Hardcore History, but it now occurs to me, and Googling confirms, that "reality distortion field" in that podcast was probably a reference to a known saying about Steve Jobs rather than an original thought.
I don't tend to consciously sum all of the time I spend waiting on slow software and slow services. But waiting on slow software impacts my subconscious in the moment, making me feel uncomfortable and frustrated with the system, as if it is antagonistic. If I do spend any time consciously thinking about it, I feel disdain for the engineers and project leaders who believed that what they had produced was good enough to ship.
With the processing capacity of modern computers, waiting for hundreds of milliseconds for trivial requests, or much longer for only modestly-complex requests is evidence of gross negligence on the part of the programmers.
My Thursday night girlfriend wanted me to clean up an old MacBook. Just a few steps, unlinking accounts tied to hardware, figuring out how to remove a firmware key some other me must have set, a clean install, updates, etc.
It took me 6 months, because several steps or restarts took more than single digit seconds ... and my work was a siren.
After many aborted attempts, I put it on my desk next to my keyboard. It only took 30 minutes, spread across 6 hours. Victory!
If someone chained my hands to the laptop it would have gone faster, but the suffering incurred by the forced observation of blank screens, status bars and busy balls would have been unimaginable.
I have a committed girlfriend, and another girlfriend who just wants a man for Thursday nights. I do what I can!
Windows 95 was about 50MB installed with most features.
Windows 2000 fit on a CD for the install.
Current Windows 10 installers won't even fit on a single layer DVD anymore, and forget doing the install with a FAT32 USB stick (some older UEFIs won't handle exFAT yet).
The fastest computer I've ever used, perceptually, was a dual Pentium 3 866, with Rambus, booting XP (probably SP1 or so) on 15k U320 SCSI disk. The thing was telepathic.
I think it's the old problem where the more crap windows accumulates, the longer it takes to boot.
Extrapolate to everything else and it becomes pretty clear. There's just so much more to load.
Even factoring in 100x more resource usage for a 2023 computer to deliver all the features expected, it definitely should be way under 2.2 seconds.
That's 25,000x more usage of memory for the interface alone.
Honestly, things are much faster now than they used to be.
Plus I can shut my laptop lid, use basically no power, and come back to my session as-is almost instantly. That's new and way better than the 80s and 90s. Then you either had to leave the machine on or suffer slow cold boots.
https://youtu.be/5M6OIOIND-0?t=1278 — I think about 12 seconds, or which 3-4 is waiting for two hard drives to spin up.
add to that that people think that because machines are faster they don’t need to optimize anything.
The ~4 seconds to boot up to a GUI desktop is actually even more impressive: https://youtu.be/JIEPqD4luG8?si=9gVtFCIxFYma1erC&t=556
My top of the line i9-9880H Macbook Pro from 2019, with PCIe 4.0 NVMe speeds, needs over 20 seconds to boot up in comparison...
Maybe your PC "trains" the memory every boot instead of just the first one.
https://www.crucial.com/support/articles-faq-memory/ddr5-mem...
It's not only the multiple 15-minute RAM boot times (!?) that are worrying: it's that I'd have zero visibility into what underlying cause is responsible for these "small number" of events, and what other symptoms could develop later on (outside the RMA window). I couldn't just take the manufacturer's reassurance at face value.
Simply put, strip down an OS to the same feature set of that ancient computer and the modern OS will be a lot faster. Some of the networkless VMs I mess with boot in a second or two, but you see we've abstracted most of the hardware away. So, mostly the problem is a hardware one.
Steve's argument here is widely used in the industry. It's almost emotional blackmail (fail and be a killer) but classic nonetheless.
I read it much more as inspiring people to consider that they have an impact on peoples lives.
It's strikingly easy to blame the user for slow software, or blame the PM or Org for pushing features and speed of development over speed of the product.
Steves mantra here is that software performance has a material impact on daily lives. Pointing something out is not emotional blackmail.
True, but disingenuously implying that something like slow boot times costs lives is.
> After the iPad launch, Jobs supposedly walked into a meeting with the Mac team, carrying an iPad. He woke up the iPad, which happened instantaneously. Then he woke up a Mac, which took a while to come out of sleep. Then he asked something like, “Why doesn't this do that?
Without the iPad there to show it was possible there would have been arguments about memory speed and disk speed etc. And faster Mac sleep/wake put pressure on Windows to up their game.
And what's worse is that most of the animations either don't start at the initial state of the UI or finish at the final state, or perform so badly that they hardly show any frames in between, so you have the worst of both worlds: abrupt jerky transitions and wasted time.
UI transitions that make spatial sense, are fast enough, are fluid, and don't slow down typical use of the UI are rare unicorns.
- Some animations can be overlapped with time-taking tasks to keep user engaged but waiting at the same time. I think iOS does that when switching to an app that was swapped out to the disk. Loading takes time, so the animation compensates for some of the delay while the app's resuming. If there was no animation, the user could think that they didn't perform the action correctly, and might be inclined to repeat it, causing frustration.
- Some animations are necessary to orient the user in UI flow. For example, the minimization animation moves the window to the icon that user needs to click in order to restore the app. The animation also makes user differentiate between close and minimize operations.
- Some animations are necessary to give user proper feedback while keeping the responsiveness. One example would be the spring animation you get at the end of a list when scrolling using a touch screen. If there was no spring animation there, user would have no way to know that if that was the end of the list, or the touch screen stopped working.
Video game console system UIs and some game menus seem to be really bad about this for some reason.
Imagine short animation in 200ms at 25fps only gives you 5 frames. It’s going to look janky and tacky. Make it 1000ms and it looks smooth and nice, except hopeless to use.
(Unpopular?) solution: get an iphone. Their app switcher works as fast as your finger moves, with no problem of delivering consistent 60fps.
Solution was to disable animations. However this sometimes breaks things. For a few month this broke multi-tasking (two apps on the same screen), but the vendor fixed it (though they reworked multi-tasking at the same time to prevent switching one app so it became almost useless for me at the same time)
Unfortunately I like having the ability to install what I want too much to get an iPhone but I understand how people valuing stability may prefer it.
Turns out it's because the animation speed was so low (default). I doubled it and everything feels 1,000x better.
Settings -> Accessibility -> Motion -> Reduce Motion
The Android a11y menu probably has something similar. Try it out and see if you like it more.
Installing Windows 11 and then waiting for all the updates to install on a HDD takes about 8 days.
I think from beginning of start-up to a somewhat usable system was maybe 5 minutes? Quite long either way.
But just last weekend got sick of the slowness and found there's a 'diskutil resetFusion' [0] command that restores the partitions to the default. So I ran this command, reinstalled the OS and now my iMac is pretty speedy again. Not great mind you, but way better then before.
Lesson learned: dual boot on a Fusion drive is a bad idea.
---
Mine doesn't. It takes 3-4 minutes (which can easily feel like an hour).
We need to migrate to Linux.
If you got a computer and it didn't come with all the needed drivers and a web browser along with most of the functionality needed to print, you'd most likely wonder what decade it came from. All that stuff I listed, without the telemetry is still going to run like dog shit on a HDD.
I honestly think users are forgetting just how badly fragmented hard drives of days yonder used to run, and those same spinning disks are not any faster these days. Cutting down the OS to barely do anything still took more time than the complete boot cycle of my current computer up to a browser on an SSD.
"AFATDS includes 935,000 lines of Ada code, running on an HP RISC Workstation and the Army's Light Weight Computer Units," according to John Williams, spokesman for Magnavox Electronic Systems Company, the prime contractor on the project. "We needed to work with a single database that could scale and operate across Unix and PC platforms. The product also had to install quickly and provide high availability without monopolizing our systems resources."
"Decision support of this nature requires a modular and flexible architecture that would support both distributed processing and distributed databases. That's why we chose InterBase. It out performed the competition and convinced us that it would be reliable in life and death situations."
The exact nature of the discussion was that in some situations, the firing of the main weapon in certain tanks would generate an internal EMP event, so systems would reboot - they had to have extremely fast reboots and recovery-times... so they could fire again...
Okay... Let's click that button!!!!
Game... shuts down... downloads an update... patches... starts up... loads me back into where I was.
All this in... 1 minute flat! Baldur's Gate 3 can't do that on today's hardware with an SSD and a much faster processor, and 4x the ram, compared to a game 13 years ago on significantly crappier hardware.
That's what solidified to me that the game was rock-freaken-solid.
https://news.ycombinator.com/item?id=37206660
I miss having Steve running Apple.
The big downside is that installing an update means you have to rebuild and re-sign the entire OS image, which takes forever. When they first introduced this model, I was surprised at this: I expected they could generate the new OS image in the background, while you’re still using the computer, then just swap over to the new image with a single reboot, instead of requiring a ton of downtime. I think they might finally be doing this with macOS 14/iOS 16 — I’ve been running the betas for both and noticed restarting to install updates has become far, far faster — like maybe a minute or two.
Nice! (And thanks for the backgrounder. It's the first time I've seen this explanation on HN.)
The abuse isn't required though.
https://en.wikipedia.org/wiki/Connectix
https://apple.fandom.com/wiki/RAM_Doubler
https://apple.fandom.com/wiki/Speed_Doubler
https://68kmla.org/bb/index.php?threads/connectix-speed-doub...
Even worse, I want to go home, not wait 30 minutes for updates to install.
It's applicable in conversation so frequently around software/computers as it reflects a really empathic mindset that I feel is becoming more and more rare...
Steve's famous "computers are a bicycle for the mind" was refined over a long period of time and countless interviews. We only hear about the one time where he perfected it, where it made an impression. Many other instances are on YouTube, in one you can see him trying out different alternative lines.
Following the logic of an eye for an eye, the failure of developers to remove long waits in mass-market software products should be punishable by... death ?
(50,000,000 seconds saved per day) ÷ (60 seconds / minute) ÷ (525,600 minutes / year) ≈ 1.6 years saved per day
(1.6 years saved per day) × (365 days / year) ≈ 580 years saved per yearClaiming you saved a couple of lifetimes when all you can gain is a couple of seconds is so misleading.
Some people even complained that they shouldn't be redirected automatically because they'd lost their progress :)
Many people can imagine how they’d solve an immediate problem, but never pause to examine whether or not this solution is ideal, or generalizes beyond a specific situation.
Another phrase that comes to mind is “fall in love with the problem, not the solution”. If you understand the problem space deeply, either many solutions can emerge, or one solution emerges as clearly the best place to focus.
In my years as a product manager, it surprised me how many PMs don’t think this way, and just tack on feature after feature, convinced this is the best thing for the customer, when often the thing they need is not something they know how to ask for.
- [0] http://xyproblem.info/
It also ruined stackoverflow, since replies which ignore the question and assume that the OP really meant something else end up being so much easier to write/vote on than an actual answer.
It's a site I sometimes use but dislike intensely.
I kind of want Wirecutter, but for technologies.
I think this is normally an unreasonable ask (when we’re complaining about, like, cars, clearly that’s not in this site’s aggregate wheelhouse). But I mean this is a website about start-ups, full of techie web-devs complaining about a website that they all use.
But the number of times that it is helpful has been pretty high for me over the years. This probably depends a lot on the customer’s own ability to comprehend the true nature of the problem. I worked in the enterprise/B2B space, where a significant number of requests came from people not technical enough to fully know what to ask without some deeper exploration.
For example, when someone says they think the XY problem model is a useful framing when evaluating customer feature requests in product design, they are talking about using it in scenario X.
But inevitably they will attract a bunch of replies telling them how bad it is to apply the XY problem approach when answering questions in a technical Q&A forum. That would be scenario Y.
That's it in a nutshell. And concur with this de-framing non-answer as one of the leading causes of bad StackOverflow solutions.
I feel like many of the complaints Stack Overflow users come down to this: in many users' minds, the site is a Q&A forum, while the SO team wants it to be an authoritative repository of technical knowledge.
Users can get awfully confused by generic, misleading or overly technical error messages. So they call/write you and confuse you even more.
“There is something wrong about X.” Where X is some misinterpreted partial of a message. This only gets cleared up if you let them walk you through what happened step by step and/or examine logs etc.
Error messages are an important part of a UI. No matter if they’re user errors or internal errors.
There are always errors that you don’t foresee and just need to display generic messages for. But even then there should be a very clear, short(!) description and a unmistakable call to action.
"Cannot do X with upload"
Number one this is a behavior change and should not have been changed in the first place.
But number two, all the error had to say was "Cannot do X with upload because application is set to Y"
The first one generates a support ticket, the second one gives a legitimate reason on why the failure occurred and what they can do about it.
> This leads to enormous amounts of wasted time and energy, both on the part of people asking for help, and on the part of those providing help.
This is not really true though.
The time spent to answer is not wasted. There are people searching for it via Google, e.g. how to get the last N characters from a variable, and they will find the correct answer.
The time spent by the asker is never wasted. I sometimes know that this is not directly the thing I want to solve, or how I stumbled upon this question. Still, it's a question I have because I'm curious and I just want to know. So, in any case, the person asking for help will learn something.
And all other people on the Internet who stumble upon the question are likely searching for exactly the answer to this exact question, so they get some good value out of it. Or even if not, it likely will have references to what they are interested in. Those other people are ignored here.
If you ever find a question that you think is an XY problem, answer X first and then say "did you want Y?".
The worst possible answer is "you should be asking Y".
The way I see it, there are failure modes with both extremes. I’d prefer the failure mode that involves some occasional annoyance over the failure mode that results in significant amounts of wasted code/effort, and a return to the XY framing anyway when things go wrong.
Ideally, people who are using this find a balance, and can recognize the difference between an obviously straight-forward request and something that needs deeper exploration.
It’s not perfect, but I think it’s a better default.
That's a surefire way to cause your suggestion of Y to get ignored and proliferate the bad practice of X.
It's not anyone's responsibility to explain how to do things in a way that they believe is wrong.
The current culture on SO is to flood questions with "don't do X, do Y", then upvote those answers. The result is that questions look answered but actually aren't, so the questions stay unanswered. When I come along months or years later having already considered all options, I don't want to have my time wasted by a question that perfectly matches my goal but was never answered because it got drowned in alternative approaches that I already ruled out.
1: "This book says to monitor ML systems for distribution shifts; what tools are people using to store that data and monitor for changes?" 2: "Make sure you're monitoring normal SRE statistics like request failure rate"
When you say you detached this subthread, isn’t this essentially removing it from the discussion entirely?
It wasn’t my intent to derail the discussion, but I’m also trying to make sure I understand what just happened here and what you mean by detached.
You can avoid the cookie banner in two ways: 1. Do not use tracking cookies (or other tracking tools); or 2. Ask the consensus in a non-intrusive way, e.g., directly in the page itself.
We know that no company wants to remove tracking cookies because they need to "improve the service". However, there is no reason for not using solution 2. The only reason is annoying the user: a dark pattern to force users to accept cookies.
A similar (fictional) sentiment from Margin Call
I remember watching a story about asylum seekers who had to use Skype to dial in to get an appointment. At one point, one of them says to the camera "I often dream about the call music." I would be surprised if the call music isn't (at this point at least) configurable in some way, but it's still humbling to realize that a minor thing like a loader or sound file can represent the entire product to someone at a very stressful time in their life.