Monthly Archives: May 2020

But no, 80-column terminals in 2020 isn’t “reasonable” any more

Source: Hacker News

Article note: Lately I've been a believer in semantic hard-wrapping when it has a clear meaning to the reader, and otherwise soft wrapping. In the languages and style I write, it never seems to produce lines over 120char or so that aren't bad for other reasons. Writing more LaTeX than code (and doing the "sentence per line" style for better interaction with source type tools) probably has a lot to do with that.
Comments
Posted in News | Leave a comment

8GB Raspberry Pi 4 on sale now at $75

Source: Hacker News

Article note: Now with enough RAM to render modern websites! I was just thinking about picking up a Pi4 to do local streaming and retro games for the other TV, now I have to think about how much RAM it needs.
Comments
Posted in News | Leave a comment

GE switches off light bulb business after almost 130 years

Source: Hacker News

Article note: I hope they keep the product lines intact, GE's glass-envelope, no plastic collar LED bulbs are my favorites, especially the Reveals with their better spectrum.
Comments
Posted in News | Leave a comment

macOS 10.15: slow by design

Source: OSNews

Article note: This once again shores up my "OS X peaked around Snow Leopard, and has just been getting worse by accumulating misfeatures for the last decade" idea. Putting slow local checks or even network round-trip signature checks on many file accesses and all program launches doesn't seem like something any sane entity would even consider.

Apparently, Apple is making macOS Catalina phone home so much it’s making the operating system slow, laggy, and beachbally, as Allan Odgaard details.

Apple has introduced notarization, setting aside the inconvenience this brings to us developers, it also results in a degraded user experience, as the first time a user runs a new executable, Apple delays execution while waiting for a reply from their server. This check for me takes close to a second.

This is not just for files downloaded from the internet, nor is it only when you launch them via Finder, this is everything. So even if you write a one line shell script and run it in a terminal, you will get a delay!

Aside from the obviously terrible design and privacy implications of your computer phoning home to Apple every time you execute something, this is also another case of Apple only designing for the absolutely optimal use-cases – i.e., people working and living in Cupertino – and that’s it. The less optimal your internet connection or the farther away you are, the worse your experience will be.

Apple has a few file system locations that require user permission to access them, for example ~/Desktop, ~/Documents, and ~/Downloads.

Surprisingly though, just obtaining the display name or icon for one of these folders will trigger Apple’s code to verify that the client is allowed to access the location.

This is done by sending a message to the sandboxd process which sends a message to tccd which calls SecCodeCheckValidityWithErrors and seems to communicate with yet another process, but I can’t find which, and this takes around 150 ms per location.

It may not seem like much, but this adds up, and can add more than half a second of delay when opening an application.

Like with privileged folders, keychain items also require permission for applications to access them.

But again, something is wrong. Specifically calling SecKeychainFindGenericPassword can cause noticeable delays, on a bad internet day I had this call stall for 3.3 seconds and this was with System Integrity Protection disabled!

And on other delays in launching applications in general:

This is the worst issue, sometimes, things will stall for 5-30 seconds.

Mostly though it is when launching applications. Sampling the application during launch shows stalls in ImageLoaderMachO::loadCodeSignature, SLSMainConnectionID, and many references to Skylight and CGS in the stack trace.

The current best way to “address” this issue is disabling System Integrity Protection and disconnecting from the internet (!), and especially that second one is of course entirely unreasonable. I wouldn’t touch macOS with a ten-foot pole even before Catalina – it always felt slow and sluggish to me, even on faster Macs, and Mac hardware is terrible value right now – but with all the general complaints about Catalina, and now this, it’s getting ever clearer I’m not missing out on anything by sticking to Linux.

At least my computer isn’t calling home to Clement Lefebvre every time I run a tiny script.

Posted in News | Leave a comment

University of Kentucky president volunteers for pay cut

Source: Kentucky.com -- State

Article note: Well that's unexpectedly classy.

After nearly a decade on the job, the University of Kentucky's president wants to extend his tenure while volunteering for a pay cut as the school deals with financial fallout … Click to Continue »

Posted in News | Leave a comment

Original Xbox’s complete source code leaked online

Source: Engadget

Article note: There has been a real spate of this kind of leak (full stacks for older generations of console) of late.
The original Xbox was a new frontier for modders and tinkerers, as the included hard drive made it easy to install unofficial dashboards and pirated games. Those enthusiasts might be getting a flashback to 2002, as the official Xbox OS has leaked onl...
Posted in News | Leave a comment

Microsoft’s new Windows Package Manager is already better than the Windows Store

Source: OSNews

Article note: Microsoft finally introducing a rudimentary not-system-wide package manager like its the 90s. At least they're doing it.

Microsoft surprised Windows users with a new package manager yesterday. It’s a command line tool that allows developers, power users, and really any Windows user to install their favorite apps from a simple command. If you’ve ever had to wipe a Windows machine clean or set up a new device, you’ll know the pain of having to reinstall apps, find download links, and get a PC ready again.

[…]

Microsoft creating its own Windows Package Manager (winget) is significant, and the command line tool is already more useful than the Windows Store. You can navigate to a command prompt, type “winget install Steam,” and the latest version of Valve’s Steam app will be installed on your system. Steam doesn’t even exist in the Windows Store right now; there are many apps already available on winget like Zoom, WinRAR, and Logitech Harmony Remote that are also missing from the Store.

Developers can choose to distribute their applications this way, and it seems Microsoft is managing a list of popular third party applications by itself. This is a great addition to Windows.

Posted in News | Leave a comment

Thinking of Buying a Bike? Get Ready for a Very Long Wait

Source: NYT > U.S.

Article note: I'm moving somewhere I'd like a bike for faster runs into campus and looked around a few weeks ago, it was an interesting thing to see largely wiped out. Neat to see it noticed and explained.

The United States is facing a shortage of bicycles as anxiety over public transportation and a desire to exercise has sent the demand surging.

Posted in News | Leave a comment

Google deletes “communist bandits” from comments on Youtube

Source: Hacker News

Article note: Oh boy, monopolistic multinationals colluding with abusive governments, we're living in the sci-fi future. Not a good one, mind you.
Comments
Posted in News | Leave a comment

Doordash and Pizza Arbitrage

Source: Hacker News

Article note: I keep using the phrase "Burn barrel" for these parasitic wastes of VC cash that seem to increasingly be the dominant species of "tech" startup. The image of burning $100s in a 55-gallon drum isn't actually adequate though, because they're actually harming adjacent industries and social function.
Comments
Posted in News | Leave a comment