(map v [4 5 7])
Would return you a list of the items at index 4, 5, and 7 in the vector v.2,195 karma · joined June 12, 2012
You can contact me at sethev@gmail.com
(map v [4 5 7])
Would return you a list of the items at index 4, 5, and 7 in the vector v.I don't know if that's possible but it seems like that's where the value would be.
The ruling was specific to the President, not other officials. Donald Trump is the only president in US history who has been formally charged with committing a crime while in office, so I don't see how the ruling went far beyond historical practice. I do think it went far beyond what some people had assumed would be the case if it were ever tested.
The fact that Nixon resigned rather than triggering a test of this and then was pardoned by Ford (also avoiding a test of immunity) are indicators that historical practice was closer to immunity than not (i.e. past presidents did whatever was in their power to avoid having immunity scrutinized).
It does seem kind of backwards that this kind of immunity is required - although i think the Supreme Court ruling made something official that was already true in practice. There is a mechanism for prosecuting presidents, impeachment and a trial in the Senate, it's just not very likely to happen...
The government site you linked says the same thing:
> If the House adopts the articles by a simple majority vote, the official has been impeached.
Trump has been impeached twice. I think the confusion comes in when people misuse these terms, often when they want to say things like "Trump was never impeached!". He definitely was by the only definition that actually matters, which is that the House passed articles of impeachment. He was not found guilty.
Call me old fashioned, but I think these confusions are intentional and should be met with correcting the definitions - not making up new meanings of words - especially in this case where it's formally defined in the law.
- He consistently communicated with shareholders of Berkshire in a straight-forward and transparent way in his letters and annual reports. If you read these documents, I believe that you will have a solid understanding of how he built Berkshire.
- He maintained a disciplined approach to investing and managing risk over 60+ years.
- He still lives in the same home he bought when he was 28 years old.
Our society has become moralistic. It's so much more useful to identify behaviors to learn from - either to emulate or to avoid - than to debate whether various public figures are good or bad people.That said, it makes me a little sad that we've read the last of his annual letters.
> I want to be able to encrypt my backups to multiple recipients.
Presumably this means you want to encrypt the backup once and have multiple decryption keys or something?
The rest of your original comment are constraints around how you want it to work.
Good example of why uninitialized variables are not intuitive.
AI didn't send these messages, though, people did. Rich has obscured the content and source of his message - but in the case of Rob Pike, it looks like it came from agentvillage.org, which appears to be running an ill-advised marketing campaign.
We live in interesting times, especially for those of us who have made our career in software engineering but still have a lot of career left in our future (with any luck).
As an industry, we seem to have settled on patterns that actually are quite inefficient. There's no problem that requires the solution of doing things inefficiently just because someone said databases should run on a different host.
I just meant that if you can structure your application to run write transactions in a single thread (the whole transaction and it's associated logic, not just deferring writing the end result to a separate thread) then you minimize contention at the SQLite level.
>Who knows when those writes you scheduled really get written
When a commit completes for a transaction, that transaction has been durably written. No mystery. That's true whether you decide to restrict writes to a single thread in your application or not.
What you're describing sounds like it would work fine to me. The blog post is misleading imho - it implies that SQLite doesn't handle concurrency at all. In reality, you can perform a bunch of writes in parallel and SQLite will handle running them one after the other internally. This works across applications and processes, you just need to use SQLite to interact with the database. The blog post is also misleading when it implies that the application has to manage access to the database file in some way.
Yes, it's correct that only one of those writes will execute at a time but it's not like you have to account for that in your code, especially in a batch-style process like you're describing. In your Python code, you'll just update a row and it will look like that happens concurrently with other updates.
I'll bet that your call to ChatGPT will take far longer than updating the row, even accounting for time when the write is waiting for its turn in SQLite.
Use WAL-mode for the best performance (and to reduce SQLITE_BUSY errors).
Source: https://assets.mozilla.net/annualreport/2024/b200-mozilla-fo...
He very much leans toward them being hard to use in a sensible way. He has some interesting points about using threshold functions over a CRDT to get deterministic reads (i.e. once you observe the value it doesn't randomly change out from under you). It feels a bit theoretical though, I wish there were examples of using this approach in a practical application.
It works like you describe, with humans manually resolving conflicts. The conflicts are represented in the data model, so the data model itself converges without conflicts...if that makes sense.
Long term compatibility (i.e. prioritizing the needs of users vs chasing inevitably changing ideas about what feels polished or pristine), near fanatical dedication to testing and quality, and sustained improvement over decades - these are the actual signs of true craftsmanship in an engineering project.
(plus, I don't agree with you that the storage layer, column format, or SQL implementation are bad).