Recent submissions

Comment · 1 year ago
Reminds me of a hang in the Settings UI that was because it would get stuck on an RPC call to some service.

Why was the service holding things up? Because it was waiting on acquiring a lock held by one of its other threads.

What was that other thread doing? It was deadlocked because it tried to recursively acquire an exclusive srwlock (exactly what the docs say will happen if you try).

Why was it even trying to reacquire said lock? Ultimately because of a buffer overrun that ended up overwriting some important structures.

Comment · 2 years ago
Sure, maybe we could have that conversation if noncompetes actually required that...but they don't
Comment · 2 years ago
>Else trade secrets can easily be hired away from competition

Misappropriating trade secrets is already a crime in several states and federally.

>you are paid highly for the specific reason that you are long term investment for that company.

Sounds like the company then should make staying long term an attractive proposition. I mean I understand, but "investment" usually implies some amount of risk.

Comment · 2 years ago
Comment · 3 years ago
>A solution exists, and is nearly universally implemented: scroll wheels on a mouse, and scroll gestures on a trackpad.

So you didn't read the article huh. The very first paragraph says:

>“Ah”, they say, “that’s what the scroll wheel is for”. My friend, not everyone can use a scroll wheel or a swipe up touch screen.

Or literally the next paragraph about difficulties small/hidden scrollbars cause with other input methods, e.g. eye trackers.

Comment · 3 years ago
This sorta meshes with how I tend to think of cash. I essentially consider withdrawn cash as already "spent" the moment it leaves my account. So when I do get around to spending that cash (especially on something frivolous) there's less of a hangup over it.
Comment · 3 years ago
>The second most recent was when Windows Store local repository become broken. Any attempt at resolving the issue failed using Windows provided tools. Yet again had to reinstall the OS and all applications.

oh man, I had my Windows install get into a weird state where trying to open 'Updates & Security' would just crash the Settings app altogether. Eventually I submitted a feedback hub report for it with a dump and tttrace (though that was a journey in and of itself) and in the meanwhile I actually managed to get updates installed via the PSWindowsUpdate powershell module. Alas, that still didn't fix the crashing Settings app. I had a friend at MS promote my feedback hub item to a bug who relayed the reason being that my copy of MusUpdatehandlers.dll was corrupt somehow. Ok, I guess I can try using sfc and dism to hopefully repair that. A couple rounds of that and all I learnt was I actually had a few more update related DLLs that were also corrupted. The real kicker being the copy in the store was also corrupted??

  2022-05-25 16:40:41, Info                  CSI    00000226 [SR] Could not reproject corrupted file \??\C:\WINDOWS\System32\\updatepolicy.dll; source file in store is also corrupted
Anyways, I was too stubborn to just reinstall and got it fixed by grabbing an install.wim from an ISO that matched my install and telling dism to use that. The really dumb thing was i first tried to do the repair in offline mode pointing it at the install.wim for sources but turns out that's just not supported. Instead you get some opaque failure message and it only mentions the fact that wasn't supported in a single line buried in the huge log file.
Comment · 3 years ago
At Apple's scale, an edge case is a question of when (and how often) not if.
Comment · 3 years ago
>Could they have purchased the hardware instead? Probably

Uh, from the article:

>We use many off-the-shelf development boards and even provide support for a number of these boards in Hubris. These are great for many use-cases, but less great when we are trying to model specific circuits or subsystems of our product designs. Second, we have numerous examples of custom boards that were built simply because we could find no useful OTS (off-the-shelf) alternative.

Comment · 3 years ago
Comment · 3 years ago
This is not entirely unique to Google either. I have an old MSN email account I can't get into even though I know the password. It wants me to verify via an old phone number I no longer have access to.
Comment · 3 years ago
My guess is they wanted you to pay the higher CS tuition to take the CS classes.

Math departments also tend to be a lot more lax in my experience. Case in point: I got sign-off to take a 300-level pure math class without its 300-level prereq. As well as just replace one required course for another to graduate.

Comment · 3 years ago
Edge is probably the one that annoyed me the most
Comment · 4 years ago
The hypervisor framework doesn't provide a lot of extra things which are implemented by whatever VMM you're using. Qemu can also use Hypervisor.framework but you certainly wouldn't say it's exactly 1-1 w/ VMware Fusion.
Comment · 4 years ago
I mean, Windows on ARM (first 32bit and later 64) has been a thing for years now. I don't the issue is the architecture per se. What made the M1 Macbooks so good wasn't just because they were ARM based but specifically Apple's custom M1 chip.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton