Readit News logoReadit News
lab14 commented on $50 PlanetScale Metal Is GA for Postgres   planetscale.com/blog/50-d... · Posted by u/ksec
wrs · 11 days ago
But that's exactly why they introduced the AZ IDs (use1-az1 as opposed to us-east-1a), so you can tell whether you're really in the same zone, regardless of the name you see in a particular account.
lab14 · 11 days ago
Ah, thanks Internet stranger. TIL.
lab14 commented on $50 PlanetScale Metal Is GA for Postgres   planetscale.com/blog/50-d... · Posted by u/ksec
wrs · 11 days ago
I had the same latency concerns when I heard about this PaaS DB trend, but you’ll note that this runs in the AWS (soon GCP) region of your choice, so if you’re hosted there, it should be about the same latency as using their managed DB service.

If you aren’t hosting the app in the same AWS/GCP region then I still have the same question.

lab14 · 11 days ago
> so if you’re hosted there, it should be about the same latency as using their managed DB service.

yes and no. In my AWS account I can explicitly pick an AZ (us-east-2a, us-east-2b or us-east-2c) but Availability Zones are not consistent between AWS accounts.

See https://docs.aws.amazon.com/ram/latest/userguide/working-wit...

lab14 commented on Rob Reiner has died   hollywoodreporter.com/mov... · Posted by u/RickJWagner
benzible · 12 days ago
Reportedly killed by their son, who had struggled with addiction: https://people.com/rob-reiner-wife-michele-were-killed-by-so...

> In a 2016 interview with PEOPLE, Nick spoke about his years-long struggle with drug addiction, which began in his early teens and eventually left him living on the streets. He said he cycled in and out of rehab beginning around age 15, but as his addiction escalated, he drifted farther from home and spent significant stretches homeless in multiple states.

Rob Reiner directed a movie from a semi-autobiographical script his son co-wrote a few years ago. Hard to imagine many things worse than going through the pain of having a kid who seemed lost, getting him back, and then whatever must have been going on more recently that apparently led to this.

lab14 · 11 days ago
(tangent) for those of us who had close experiences with addiction in our families, it's so obvious why "give them money" or "give them homes to live in" isn't a solution to homelesness. A close family member owned 3 properties and still was living in the streets by choice because of his addiction which evolved into a full blown paranoid schizophrenia. He almost lost it all but he was forcefully commited into a mental institution and rehab saved his life.
lab14 commented on If AI replaces workers, should it also pay taxes?   english.elpais.com/techno... · Posted by u/PaulHoule
doener · 12 days ago
No, not the AI. Just the owner of means of production like AI.

The fact that capital owners successfully avoid contributing to the financing of our states and social systems is, in my view, one of the fundamental problems of our time.

lab14 · 11 days ago
Is there any time in human history where this wasn't the case? Genuinely curious.
lab14 commented on Show HN: Centia.io – Open PostgreSQL/PostGIS back end for developers   centia.io/... · Posted by u/mhoegh
lab14 · 2 months ago
Does it work with pgbouncer?
lab14 commented on Tell HN: Twilio support replies with hallucinated features    · Posted by u/haute_cuisine
lab14 · 2 months ago
"Hallucination machine, responds with hallucinations".

But seriously, entreprise customers (and any big spender account) usually get access to a dedicated (human) account rep and private support channels in Slack, so they never really interact with this.

lab14 commented on Why I Chose Elixir Phoenix over Rails, Laravel, and Next.js   akarshc.com/post/phoenix-... · Posted by u/akarshc
dpflan · 2 months ago
When you consider the message passing paradigm, I can envision how that simulates neuro-chemical communication between neurons (now here being functions that do things). So there is a design for communication between functions, then there are memory storage and information retrieval parts of the system, short-term RAM, long-term HD/SSD, databases, cache-systems, where relevant information can be and become manipulated. Long and short running processes, acceptance of fail-fast and that communications can fail and that's just part of software system life (I assume also a similar idea in the human brain, don't you find yourself forgetting something you were just thinking about?). There is then the external part of the system, accepting inputs from the outside.
lab14 · 2 months ago
The message passing paradigm is called the "Actor Model" and was invented in the 70s IIRC. It's available in most programming languages and it's not something exclusive to Elixir by any means.

https://en.wikipedia.org/wiki/Actor_model

lab14 commented on Why I Chose Elixir Phoenix over Rails, Laravel, and Next.js   akarshc.com/post/phoenix-... · Posted by u/akarshc
dpflan · 2 months ago
Elixir is pretty "nifty", and has Rails feels. I have worked on and seen its performance compared to scaled up Rails application. The BEAM / OTP is a very cool system to program on top of. I think it would be a great underlying system to develop a consciousness for AI systems with its concurrency paradigms and message passing, node connecting, other builtins. I'm not sure if the AI/ML focused Elixir projects like Nx have really taken off, but again, an Elixir based system that accepts numerous connections, passes messages around like exciting synaptic communications between functions... it just seems cool, maybe just on paper...
lab14 · 2 months ago
What do you mean "consciousness for AI systems"?
lab14 commented on Java 25 officially released   mail.openjdk.org/pipermai... · Posted by u/mkurz
Sohcahtoa82 · 3 months ago
> it's verbose and boring to use.

Python code that follows traditional Python paradigms is called "Pythonic".

Java code that follows Java paradigms is called "awful".

To be fully transparent, I've never written Java professionally, only for a couple small hobby projects 10 years ago, plus some while in school, so my opinion isn't worth the pixels you're reading it on, but I look at most Java code with abject horror.

Endless levels of abstraction. The apparent inability to write a simple function and instead creating a "ThingDoer" class with a single function called "doThing". Run-time introspection and reflection EVERYWHERE. Stack traces that are just an endless stack of calls to functions like ".invoke" and ".run".

I've been under the impression that all of that is a by-product of Java's strict type system, but someone please correct me. Why do Java paradigms seem so awful?

lab14 · 3 months ago
I think it doesn't have to be like that, but it's the way Java code has been written for ages, so those habits stuck. You can see it clearly when you bring a Java programmer to collaborate on a Ruby or Python codebase, if you let them, the will turn your codebase into an enterprise-ready mess with layers on top of layers of indirection in a blink.
lab14 commented on Charlie Kirk killed at event in Utah   nbcnews.com/news/us-news/... · Posted by u/david927
lab14 · 4 months ago
That's one way of seeing it, but antagonizing and alienating a big portion of the general population like blacks, immigrants, gays, trans and everyone who doesn't share your same religious views, in a country where teenagers can get easy access to assault rifles, might be a bit dangerous to say the least.

u/lab14

KarmaCake day184November 15, 2021View Original