511 karma · joined April 27, 2016
It wasn't a curse. It was basically divine punishment for hubris. Maybe the reference is a bit on the nose.
One is an em-dash (—); the other is an en-dash (–). See, e.g., https://www.merriam-webster.com/grammar/em-dash-en-dash-how-... for an overview.
I won't try to argue there's no front-end treadmill: there absolutely is, and I had to laugh reading the current top comment because I just had to migrate off Apollo CLI at work.
But this "The web was perfect in 1999--stop changing things!" take is tedious and intellectually lazy. (I'm not accusing you of it, but it's certainly a common sentiment.)
We should be working together to solve concrete problems, and avoid both chasing the latest fads and pretending there's no room for improvement.
PSA: "pierogi" is already plural.
def with_synchronous_commit_off(&block)
ActiveRecord::Base.connection.exec_query("SET synchronous_commit = off")
yield
ensure
ActiveRecord::Base.connection.exec_query("SET synchronous_commit = on")
end
I'm not a Rails expert: does this reliably give you the same connection from the pool? If not, you could be setting `synchronous_commit = off` on one "physical" connection, and clearing it on another. This is setting it at the Postgres session level, so it will persist for the lifetime of the connection. If it's not managed reliably, it could lead to some very confusing bugs (only triggered in a very small window when Postgres shuts down unexpectedly while the transaction is still unsynced to durable storage, making it extra fun to debug).In general, though, this is a very handy feature.
How fitting that the material usually comes from eyeteeth!
Edit: it doesn't mention that `anchor()` can accept an anchor name, which is kind of important for this.
On level 20, if I set `position-try-fallbacks: flip-inline;` and drag the anchor to the top, something weird happens: the label stays on top, but is also mirrored below the anchor, except with no text or background, just a border and a translucent frame. Latest Chrome (on Ubuntu, but I don't think that matters here). Is this a Chrome bug? A bug in Anchoreum? In dev tools, it looks like it's an Anchoreum issue, because there's a separate element in the DOM.
Edit: also happens on level 25 without changing anything if I drag the anchor to the left.
Edit 2: ah, I think that area is where you're _supposed to_ place the anchor. It's not very clear from the text.
Not to mention that those superstars need to come from somewhere. If a career in music is basically like spending all your money on lottery tickets, society ends up poorer: many hard-working young musicians are going to see it for the exploitation machine that it is, and go sell advertising instead.