lifepillar | 1 year ago | on: The legacy of NeXT lives on in OS X (2012)
lifepillar's comments
lifepillar | 1 year ago | on: Company Says It Uses Your Phones Mic to Serve Ads for Facebook, Google, etc.
To me this seems:
1. not mobile specific; 2. totally plausible; 3. despicable in many ways, but “opt-in” makes me think of (a) masterfully crafted fine print in some Terms of Service that would acknowledge the collection of audio, and (b) that this has nothing to do with a phone mic maliciously being turned on without the user noticing, but it’s rather recording from a mic intentionally activated by the user during the normal interaction with an app or web site.
lifepillar | 2 years ago | on: Building a new database management system in academia (2017)
I was once discussing MVCC vs 2PL with an experienced Sybase and SQL Server guy, and he claimed that, when transactions are implemented properly and the database is well-designed (no surrogate keys, in particular), 2PL leads to better performance and no deadlocks, while “readers do not block writers” leads to lots of aborted transactions in a heavy OLTP workload. I verified that (I should still have the code around): lots of conflicts in PostgreSQL vs smooth concurrent execution with no retries in Sybase and SQL Server.
I have since heard similar opinions from other SQL Server practitioners: they disable MVCC and rely only on good ol’ 2PL.
lifepillar | 3 years ago | on: How I learned to program a Commodore 64 in BASIC and compiled C (2020) [video]
lifepillar | 3 years ago | on: Mkcert: Simple zero-config tool to make locally trusted development certificates
The only drawback of mkcert is that it makes you forget the steps needed to make a certificate!
lifepillar | 3 years ago | on: NetNewsWire: Free and Open Source RSS Reader for Mac and iOS
Sent from my NNW :-)
lifepillar | 3 years ago | on: Poll: Self Hosting Git Repositories
lifepillar | 4 years ago | on: Ask HN: Any Decent Firefox Alternatives?
lifepillar | 4 years ago | on: Surveillance capitalism will transform the domain name system
lifepillar | 4 years ago | on: Ask HN: What could a modern database do that PostgreSQL and MySQL can't
lifepillar | 4 years ago | on: Ask HN: What could a modern database do that PostgreSQL and MySQL can't
While MVCC is fashionable nowadays, and more or less every platform offers it at least as an option, my experience, and also opinions I have heard from people using SQL Server and similar platforms professionally, is that for true OLTP at least, good ol’ locking-based protocols in practice outperform MVCC-based protocols (when transactions are well programmed).
The “inconvenient truth” [0] that maintaining multiple versions of records badly affects performance might in the future make MVCC less appealing. There’s ongoing research, such as [0], to improve things, but it’s not clear to me at this point that MVCC is a winning idea.
lifepillar | 4 years ago | on: The online data that's being deleted
Is there any published technical document about the choices made by LoC to achieve that goal?
lifepillar | 4 years ago | on: What does First Normal Form mean?
lifepillar | 5 years ago | on: Tweak: An Efficient Hex Editor
One thing that I really really like about HexFiend is that scrolling is very fast, yet precise and smooth, no matter the size of the file. Is it based on custom classes? Scrolling in macOS used to be quite ok up to several releases ago. Then it became crappy, especially in some apps (AppleScript Editor comes to my mind).
lifepillar | 5 years ago | on: A Relational Model of Data for Large Shared Data Banks (1970) [pdf]
lifepillar | 5 years ago | on: A Relational Model of Data for Large Shared Data Banks (1970) [pdf]
[0] https://wp.doc.ic.ac.uk/cairesfe/wp-content/uploads/sites/80...
lifepillar | 5 years ago | on: A Relational Model of Data for Large Shared Data Banks (1970) [pdf]
Perhaps ironically, SQL NULLs are modelled directly after his (logically flawed) 1975/1979 proposal [1]. It must be noted, however, that he explicitly considered his proposal “as preliminary and in need of further research”. NULLs in databases are best avoided, or restricted to views (not base tables) and managed with great care (I’d say that they should be used only with the “inapplicable value” semantics [2]).
[0] Fatal Flaws in SQL, Part One and Two, 1988
[1] Extending the Database Relational Model to Capture More Meaning, 1979
[2] Franconi and Tessaris, On the Logic of SQL NULLs, 2012
lifepillar | 5 years ago | on: A Relational Model of Data for Large Shared Data Banks (1970) [pdf]
lifepillar | 5 years ago | on: New Steve Jobs recordings from the '80s released
[0] https://archive.org/details/interfacing-the-apple-computer
lifepillar | 5 years ago | on: Metafont (1984)
In Terminal.app you may alt-click to make the cursor jump to where you’ve clicked. Besides, I use alt-arrows to jump between words: I don’t remember whether that’s out of the box, though. In any case, you may configure the relevant codes in the Keyboard section of the preferences.