32,405 karma · joined Jan 3, 2008 (18y ago) · 8,297 submissions
comment 6y ago · link · parent
Reminds me of some of stringification abused in the Linux kernel. What looks like a function call passing the literal text param1## as an argument, where it would then trigger a different stringification in a subsequent preprocessor pass that prepended ##foo to the passed argument.
comment 6y ago · link · parent
There would need to be domain understanding baked into each wrapper and some contract about what is happening on the other side of the ffi wall for it to qualify as both safe and sane, and I’m not sure their approach meets that high burden.
comment 6y ago · link · parent
I think it would be perhaps more beneficial to point out that the bigger problem with this approach that typically leads people to try other avenues including recursive queries is when storage comes at a premium or the “path” makes up the bulk of the record and there is significant duplication of leading prefixes.
comment 6y ago · link · parent
For Apple, I buy used parts in the hope that they come from a genuine device being parted out on eBay each for 50% of the cost of the original device because I know all the new parts are not just fake but bad fakes. I get a part that is past its expiration date, rather abused, but will work. I soak the MacBook in corrosive chemical baths to get the industrial super-strength glue (thank God it’s not epoxy?) to loosen up a little before I get out my exacto, needle nose pliers, a scraper, and a plastic pry tool. I pray nothing breaks while I try to get the part out. Something inevitably breaks (also, try to avoid piercing a battery while you pry it out; li-ion batteries do not like to be manhandled). The cost of a replacement part does not make economic sense. I either let the product sit disused on a shelf hoping to find the part cheaper at a later date, hock the device on eBay for pennies on the dollar for a parts shark to snap up then part out, or throw it in the trash because I’d rather not sell my eight hundred dollar phone for a hundred dollars and this at least gives me the satisfaction of cursing at Apple while I do it.
(Yes, the Apple story is an amalgam of many different adventures with different endings over a decade with many different devices, the majority of which were either ultimately written off or else repaired at prices that didn’t make much sense.)
Oh, in addition to sometimes doing my own repairs, I’m also the final arbiter when it comes to all IT purchases for a school. When I’m asked if we can/should get a fleet of Macs for the faculty and students, I insist we get Thinkpads or Latitudes instead.
comment 6y ago · link · parent
SD cards don’t perform wear leveling so you really need a file system that minimizes/distributes block rewrites, and a log-structured filesystem will do that by never rewriting old data (until there is no space left).
comment 6y ago · link · parent
It does not. Thanks to Microsoft’s obsessive attention to backwards compatibility, you can safely mount a Windows 10 NTFS partition with journal on Windows XP (and I hear even Windows 2000) and get some form of safe read/write. However certain chunks of the fs on disk are not backwards compatible, this is mainly the system volume information used for system restore and shadow copy (and not accessible to typical user land in all cases).
More to the point, the submitted driver does, too:
> and supports journal replaying.
comment 6y ago · link · parent
comment 6y ago · link · parent
They come in handy more often than you’d think.
comment 6y ago · link · parent
I’ve tested all three extensively with unreliable media (raspberry pi kernel dev testing on an sd card) and ext4 was the absolute worst.
comment 6y ago · link · parent
comment 6y ago · link · parent
Impact testing: http://www.pm-v11.com/TestingImpact.aspx
Wear testing: http://www.pm-v11.com/TestingWear.aspx
Sharpening: http://www.pm-v11.com/TestingSharpening.aspx
comment 6y ago · link · parent
comment 6y ago · link · parent
comment 6y ago · link · parent
You're not thinking capitalistically enough.