What do they mean by "Since SQLite does not support concurrent transactions" - it supports them, as long as you don't access the .db file through a file share (UNC, or NFS, etc) - https://www.sqlite.org/wal.html I've been using this to update/read db from multiple threads/processes on the same machine. You can also do snapshotting with the sqlite backup API, if you want consistent view, and to not hold on transaction…
Bluesky migrates to single-tenant SQLite
171–180 of 247 posts
Re: Bluesky migrates to single-tenant SQLite
#172Earlier quoted context omitted.
> If you are doing a data migration and failed to account for some unexpected data, now you have people on different schema versions until you figure it out. That shouldn't be a big issue. Any service large/complex enough to care does the schema upgrades in phases, so it's 1. Make code future compatible. 2. Migrate data. 3. Remove old schema support. So typically it should be safe to run between steps 1 and 2 for a l…
> That shouldn't be a big issue. Any service large/complex enough to care does the schema upgrades in phases, so it's 1. Make code future compatible. 2. Migrate data. 3. Remove old schema support. Exactly this, schema migrations should be an append, deprecate, drop operation over time.
definitely have shot myself in the foot with postgres on this
Re: Bluesky migrates to single-tenant SQLite
#173Earlier quoted context omitted.
Commit and push often. Put a novel explaining yourself in the PR. And that's enough IMO.
> Commit and push often. Put a novel explaining yourself in the PR. And that's enough IMO. Someone reading the git changelog 5 years down the line most likely wouldn't be able to find your "novel" in the PR and definitely won't appreciate if instead of a "novel" you ended up with a "short call" with the assigned reviewer explained what you actually did in your 50 "wip" commits.
Re: Bluesky migrates to single-tenant SQLite
#174Earlier quoted context omitted.
> Commit and push often. Put a novel explaining yourself in the PR. And that's enough IMO. Someone reading the git changelog 5 years down the line most likely wouldn't be able to find your "novel" in the PR and definitely won't appreciate if instead of a "novel" you ended up with a "short call" with the assigned reviewer explained what you actually did in your 50 "wip" commits.
Someone reading 5 year old git logs is lost to begin with.
Re: Bluesky migrates to single-tenant SQLite
#175Re: Bluesky migrates to single-tenant SQLite
#176Slightly related: is Bluesky moderated good enough or do I get lots of rightwing and conspiracy crap like on twitter currently? I‘d really love to have some more civilized hub again that isn’t full of hate and anti-intellectualism.
Re: Bluesky migrates to single-tenant SQLite
#177Can someone that knows more about bluesky explain what data is stored in sqlite and not? Because i assume it isnt messages etc between users.
Haven't done any research to determine if there are plans for direct messages.
Re: Bluesky migrates to single-tenant SQLite
#178Is Bluesky still invite only?
Re: Bluesky migrates to single-tenant SQLite
#179Earlier quoted context omitted.
don't know why, but recent teams around me have always made strict rules about number of commits in PRs. I just wanted to tell them the same thing you said: "Why don't you just look at the diffs?" curious for other opinions. (sorry not really about this particular topic)
A good practice is to rebase your commits before creating a PR into a single commit. You are free to commit as many times as you want to while doing your work. This minimizes the noise in the log.
Re: Bluesky migrates to single-tenant SQLite
#180Slightly related: is Bluesky moderated good enough or do I get lots of rightwing and conspiracy crap like on twitter currently? I‘d really love to have some more civilized hub again that isn’t full of hate and anti-intellectualism.