Posted in
Technology

Posted in
Technology

In production web servers, a database like PostgreSQL is managed as its own service, maybe on its own dedicated hardware.
What do you do in local development, though? Some people use SQLite for development and PostgreSQL in production, but that means using two very different databases. Others run a system-wide database service on their laptop and share it between any projects which need one, which is easy to screw up.
Years ago I blogged about a way to run a separate instance of Postgres for each project under development, but I think my solution could be made easier to use.
I think what I want is a wrapper program: if you'd normally invoke ./foo-server --port=8080, instead you'd use pg-run ./foo-server --port=8080. This hypothetical pg-run would start Postgres, then run the given command with environment variables set for accessing the right database, and when the command finished it would stop Postgres again.
Does this exist already?
Tonight at the free meal program, I chatted with "George". He had been living on the street for at least 10 years. But for the last 2 months, he's been in supportive housing. What a miraculous difference. He looks healthy. Previously he was hard to understand, as he really slurred his words. Now he's crystal clear. He's reconnected with his adult son, who told him the family thought he was dead.
Gosh, what a difference housing can make.
But getting it seems like winning the lottery.
@brib @NilaJones Another librarian's resource for this is "How to disable or avoid intrusive AI" for various products: https://www.librarian.net/NoToAI/
Is your local library giving talks on how to turn off AI on your phone?
My local library did this, and on impulse I just happened to post the information on my Unitarian church's email list
It's been incredibly popular. People are still talking about it a month later, and asking folks for their notes from the talk, and posting links to more advanced talks on youtube for people who want to do the same thing on their desktop
This is in a leftist liberal city, where I would have thought everybody already had their grandkids helping them with this. Apparently not! Apparently there is a lot of unmet need
Please reach out to the non-techies in your life. And maybe give a talk at your library!
@evan That’s why the environmental cost isn’t one of my very top ethical problems with GenAI. I remain pretty convinced that the LLMers’ visions of hundreds of millions of people paying like $200/month each are silly. Which is to say, the bubble will pop.
@timbray @evan @jpetazzo @adrianco @mitsuhiko maybe not for an individual user but data centers seem to be pretty horrible for the environment (not just climate change, but air, water, noise, soil pollution)
@davidaugust @JulianOliver It is true, when you use a cloud, it is just someone else's computer. Which is why anything that goes onto a cloud should be encrypted.
The only time you can really get the full trust and convenience of a cloud is hosting your own server like NextCloud. I hope to do that in the future eventually.
Perhaps this course might interest you, an end-to-end walkthrough:
It's just been launched, and is priced low for the next ~18hrs, before we raise it to meet costs, and help fund more self-paced trainings.
@mhcat @oantolin i had people telling me the lean proof had been read by humans it's ok
what, all 250k pages
how long did it take for humans to check Wiles' proof of Fermat, and how did these guys go 10,000x faster
it might be a valid proof, i'm not saying it isn't! I will say that not even the lean guys can confidently assert to know it is
@davidgerard @mhcat @oantolin There is no 250,000 pages of proof. It was just hyperbole. In fact they haven't published any PDF of the proof. There is only the 17m lines of lean code.
Wisst ihr was in LinkedIn wirklich fehlt? Ein fucking Augenroll-Reaktions-Emoji 🙄
@fuzzyleapfrog
Ich dacht immer, es fehlen Menschen, die einem Beruf nachgehen, aber vielleicht fehlt mir auch nur einfach das Emoji.
so the citations around this not only just do not remotely back up the claims in the intro, but the specific page numbering given 491-493 is just wrong https://sci-hub.st/10.1093/jigpal/jzab016 there aren't even page numbers in the specific document cited!!!!!
like probs to math wikipedia for wanting to boost iranian mathematicians (????), but the literal only mention of tarski in this piece is, in the first paragraph,
Tarski’s theorem (on the undefinability of truth).
but.........unfortunately............i have.........just discovered................ACTUAL HIDDEN MATH LORE
@GeofCox Central political economics has constantly advanced along the policy of austerity, and privatizing public goods production to private companies, of financialization of investment streams to research and development that has led to a hyperwealthy oligarchy steering far too many resources into to few publicly benefiting endeavors.
I am hopeful that center politics could show a drastic pragmatic shift left on key economic policies as practiced by political leaders.
Agreed. I think most people in the political centre will ultimately move to the left - but probably only after things have got worse, possibly only after a taste of right-wing government brutality and failure, or worsening extreme weather events.
The problem for the centrist is this: the extreme right implies political disruption - erosion of legal and human rights, for example - but preservation of current economic relations; but the left promises disruption of the economic status-quo. If you're reasonably comfortable with the status-quo, and not closely connected with one of the right's likely scapegoat groups, you're likely to be more fearful of economic than political change - so you go to the right - until it becomes clear there are no answers that way.
lmao
==History==
that is not how you declare redirects in wikitext lmao
so the citations around this not only just do not remotely back up the claims in the intro, but the specific page numbering given 491-493 is just wrong https://sci-hub.st/10.1093/jigpal/jzab016 there aren't even page numbers in the specific document cited!!!!!
like probs to math wikipedia for wanting to boost iranian mathematicians (????), but the literal only mention of tarski in this piece is, in the first paragraph,
Tarski’s theorem (on the undefinability of truth).
I just saw a commercial selling a coin with Trump on it and the whole campaign is about how it's the first US coin with a "living" president on it, but wouldn't it be even better if that coin didn't have a LIVING president on it?
@Alice it's not the first; that belongs to Calvin Coolidge
@GeePawHill I know and I am really not a fan of Jung at all (in fact I was weirding out a little when I said "Jung is supposed to have daid"), but the text above is just ao true for me — regardless of whether Jung or Plato said it first 😂😂
@ics Yes, and there it is. If it's the right thing to have said, it's the right thing to have said.
Italian PM Meloni, one of Zelensky's most steadfast backers, has sharply rebuked Kyiv after Ukraine struck a Russian warship & a cargo vessel off Libya's coast w/o warning allies. Her office says the op violated Libya's sovereignty & risks expanding the war.
Imagine it: the administration likely behind the Nord Stream bombings didn't notify allies about new attacks in the Mediterranean.
@kevinrothrock NIMBY!
Posted in
Technology
MIT Professor Says After a Few Drinks, Anthropic Employees Start Talking About Overthrowing the Government and Taking Over the World
In a new interview, MIT physicist Max Tegmark says that Anthropic researchers are speculating about overthrowing the government.
@ics You like asparagus? Jung said asparagus was food of the gods!
You believe in reincarnation? Jung said reincarnation was the only possible reality.
You back Arsenal? Jung said football was the complete expression of the spirit!
It just goes on and on, and it makes me smile. I know, me saying this sounds like I'm being a dick to OP. I swear to God, I *like* what OP said.
I just also like how Jung can be made to back any conceivable position. I mean it, I really *like* that about him.
@GeePawHill I know and I am really not a fan of Jung at all (in fact I was weirding out a little when I said "Jung is supposed to have daid"), but the text above is just ao true for me — regardless of whether Jung or Plato said it first 😂😂
Sorry, the app encountered an unexpected error