Author Archives: pappp

Windows 11 PowerToy now lets you find out which processes are using the file

Source: OSNews

Article note: Oh cool, "fuser" for NT. That's... actually surprising there wasn't a good integrated tool. The NT process/file tooling is generally quite nice, if historically hard to script. It made me look at the history of fuser, and that resulted in an hour digging down a dumb rabbit hole to conclude: fuser's history is ...special. Thread that got me started looking: https://www.mail-archive.com/austin-group-l%40opengroup.org/msg08606.html It is present in POSIX.1 (IEEE Std 1003.1-2001) ... but the POSIX compliant output is a ludicrous fucking disaster of intermixed stderr and stdout. https://pubs.opengroup.org/onlinepubs/9699919799.2013edition/utilities/fuser.html : "The fuser utility shall write to standard output the process IDs of processes running on the local system that have one or more named files open. For block special devices, all processes using any file on that device are listed. The fuser utility shall write to standard error additional information about the named files indicating how the file is being used." It is not in IEEE Std 1003.2-1992. It was added to the single UNIX specification in SUSv2 Issue 5 (1997) which is how it ended up in POSIX. It was in the SVID from the beginning in 1985 ( http://www.bitsavers.org/pdf/att/unix/System_V_Release_1/301-926_UNIX_System_V_Release_1_Administators_Manual_Jun82.pdf ). The BSD lineage mostly seems to have declared it fugly and ignored it, FreeBSD didn't spring it until 9.0 in 2012 and NetBSD still doesn't have one - they suggest the "fstat" utility instead. MacOS sprung one in ~2007 to get UNIX03 certified. And the one shipped with most Linux systems is from psmisc not part of coreutils.

Microsoft’s PowerToys for Windows 11 and Windows 10 has been updated with a new feature called ‘File LockSmith’. So what exactly is File Locksmith? In technical terms, it is a Windows shell extension that lets you check which files are in use and by which processes.

Up until today, it was not possible to find out which particular process is using the file on Windows. While Task Manager lets you eliminate processes, it cannot tell you what’s using your files or preventing file transfer. In fact, File Explorer will block your attempts to delete a file or folder in use by a process or app.

I lost count of how many times Windows would just stubbornly refuse to delete a file or directory because it was in use by some process, while not telling me which damn process we’re dealing with. Isn’t it absolutely bananas that it’s 2022 and you have to download some shell extension to get this basic functionality?

Posted in News | Leave a comment

The most unethical thing I was asked to build while working at Twitter in 2015

Source: Hacker News

Article note: The real kick is "We should know when users leave their house, their commute to work, and everywhere they go throughout the day. Anything less is useless. We get a lot more than that from other tech companies." That is _vile_, and was apparently accepted practice already in 2015. The rise of the Consumer Computer has been a disaster.
Comments
Posted in News | Leave a comment

C isn’t a programming language anymore

Source: Hacker News

Article note: The language-agnostic platform bindings problem is a _huge problem_. C is a horrible tool for it, but no one has ever really come up with something better, in large part because the higher-level langues that have a hard time with it...just punt the details to the platform, who has (in almost all modern OSes) defined them in C. It _is_ fun to think about what else we could do. The interfaces could be a declarative description language with a easier to deal with parser (if a thousand legacy systems and all new ones agreed to do a bunch of extra work to make that happen). The interfaces (at a cost of massive implementation complication and performance penalty) could be an interrogatable message-passing interface (think dbus). Etc.
Comments
Posted in News | Leave a comment

Quantum winter is coming

Source: Hacker News

Article note: It's one of several hype-cycles overdue for breaking.
Comments
Posted in News | Leave a comment

Microsoft Mulls Cheap PCs Supported by Ads, Subs

Source: Slashdot

Article note: Anyone remember the i-Opener? One of the horseman of the dotcom crash? There it is again.

The Register: A number of job postings -- including this now-closed ad from late September for a principal software engineering manager -- are looking for engineers and others to become part of the "newly formed Windows Incubation team" whose mission is to "build a new direction for Windows in a cloud first world." The lofty goal is to "move Windows to a place that combines the benefits of the cloud and Microsoft 365 to offer more compute resources on demand and creates a hybrid app model that spans from on-premises to the cloud." According to the ad, it also includes "building a Web-based shell with direct integration with Windows 365." Included in the possible models are low-cost PCs available via subscriptions, with advertising helping to offset some of the costs. (Also mentioned in the job are direct-to-cloud devices.)

Read more of this story at Slashdot.

Posted in News | Leave a comment

Linux Boot Partitions

Source: Hacker News

Article note: The ESP will be a feeble vfat partition, which is typically too small to realistically use for storing kernel images... so you should use it, or a second, also vfat partition, to store our even-bigger UKI kernel images. What?
Comments
Posted in News | Leave a comment

GNU Make to drop support for OS/2, AmigaOS, Xenix

Source: OSNews

Article note: Interesting drops. OS/2 is only used in places that got trapped, and they don't want to touch it, but it's still faintly surprising that one of the big trapped entities didn't bankroll the development work. AmigaOS ...I'm surprised, the rabid Amiga people keep that ecosystem first-class amazingly beyond it's sell-by date. Xenix is for historical interest only, and immiscible with anything modern, it's more surprising it was still in there.

GNU Make 4.4 is here, and it has some interesting – and sad – news for some of the old operating systems we still cover on OSNews. Sadly, support for OS/2 (EMX), AmigaOS, Xenix, and Cray will be dropped from the next release of Make. Now, I’m not entirely sure just how many users of these operating systems even use Make, but for those of you that do – tough cookie right here.

Posted in News | Leave a comment

9front releases new version of Plan 9 OS fork: The Golden Age of Ballooning

Source: The Register

Article note: Plan9 is one of the most prominent places where ideas from the early 90s lodged when computing popularized and calcified. 9Front is where all the crazy people who those ideas resonate go to play.

Prepare to be confused

9front is a fork and continuation of Plan 9 from Bell Labs, which is what the minds behind UNIX and the C programming language went on to do next. It is also rather strange.…

Posted in News | Leave a comment

Adobe replacing old Pantone spot colors with black when you load files using them

Source: Boing Boing

Article note: Layers of horseshit. Asserting property rights on a color horseshit. Software as a Service horseshit.

Welcome to intellectual property hell, designers! This one's great because you never saw it coming: Adobe removing certain Pantone spot colors should you try to open PSD files containing them. Now you can see nothing at all, because it replaces them with black.Read the rest

Posted in News | Leave a comment

Linux 6.1 on NanoPi R4S – On fixing SD-card support, Heisenbugs and Rabbit Holes

Source: Hacker News

Article note: It's an excellent tale of a bug hunt. I spent some time staring into device trees and specifically weird SD/MMC behavior at the U-Boot to Linux hand-off a few months ago on some Zynq boards... this totally tracks, though I haven't cracked the behavior I was seeing. In my case, the boards in question have sequenced regulators for 3v3, 1v9, 1v8, and 1v5 and some examples have other issues with the power sequence, so it's a great angle to look at. I should see if the behaviors are related.
Comments
Posted in News | Leave a comment