Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
pritambaral
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
11 ms
·
31.
▲
by
pritambaral
2y ago
This is correct. My use-case was safe with eventual consistency, so I could've even used `synchronous_commit=off`, but I kept it to 'local' to get a baseline. Was happy with the 60k number I got, so there was no need for 
32.
▲
by
pritambaral
2y ago
> ... making sure that objects are placed into exactly 1 batch. curious if you ran into any bottlenecks there? A single application-layer thread doing batches of batch creation (heh). Not instant, but fast enough. I did have to add '
33.
▲
by
pritambaral
2y ago
I hit 60k per second in 2020 on a 2-core, 100GB SSD installation of PG on GCP. And "tuning" PG is way easier than any dedicated queueing system I've seen. Does there exist a dedicated queueing system with an equivalent to EXP
34.
▲
by
pritambaral
2y ago
I did sth similar. Designed and built for 10 million objects / hour. Picked up by workers in batches of 1k. Benchmark peaked above 200 million objects / hour with PG in a small VM. Fast forward two years, the curse of success stri
35.
▲
by
pritambaral
2y ago
I have built "huge tables with lots of versioned data and massive indexes". This is false. I had no issues partitioning the data and spreading it across shards. On Postgres. > ... takes solutions that require engineering teams.
36.
▲
by
pritambaral
2y ago
TFA is light on details, but I have a few choice anecdotes about negative consequences of this: ---- I work on a large C++ codebase that takes quite a lot of CPU and RAM to build. To ease development access, we set-up a beefy VM in the clou
37.
▲
by
pritambaral
2y ago
Clasp, and implementation of Common Lisp in C++ on LLVM, has exceptions interop. The creator of Clasp even hooked up the Lisp GC to be able to automatically manage C++ objects. A compacting GC, mind, that automatically updates pointers to t
38.
▲
by
pritambaral
2y ago
> Also: no one has managed to explain to me what makes emacs so uniquely capable of interacting with a running interpreter, despite this usually being the USP I hear for “needing” emacs when attempting to Lisp. As an Emacs user that has
39.
▲
by
pritambaral
2y ago
Well, three ways: 1. Dump a backup to disk, then restore from dump on new version; 2. Stop the old version, then run `pg_upgrade --link` on the data of the old version which should create a new data directory using hardlinks, then start the
40.
▲
by
pritambaral
2y ago
I run all my dev environments under LXD. Even the IDE: full graphical Emacs (or Vim) over X11 forwarding over SSH. Host is Wayland, so security concerns with X are handled. WayPipe also works, but is jankier than X, probably because X, unli
41.
▲
by
pritambaral
2y ago
I replaced a similar workflow with SLIME-style `eval-defun` by just running the remote Ruby console within emacs, using inf-ruby. Combined with robe, you get code intelligence for free, but without the heavy and error-prone static indexing
42.
▲
by
pritambaral
2y ago
Sounds like that should be required by law, not the whims of an abusive monopolist.
43.
▲
by
pritambaral
2y ago
> They are closely related and I don't see as much difference as you do but okay They are nowhere close but of course you can't see that so okay. > I also believe saying someone is stupid for supporting Trump is wrong. Of co
44.
▲
by
pritambaral
2y ago
Then stop acting like it. They said, "People who support Trump". They never said, "People who disagree with me". Those are your own words. And there's a great deal of difference between those two clauses. I understa
45.
▲
by
pritambaral
2y ago
> if you don't see things my way This attitude of putting words in people's mouths I expect on Reddit, but I am disappointed to see it here.
46.
▲
by
pritambaral
2y ago
> I would say that this has relatively little to do with Kubernetes in the end. It does. E.g., this issue does not exist with LXD. LXD mounts a custom procfs inside the container that exposes the correct values of system resources allott
47.
▲
by
pritambaral
2y ago
> is to use the tunnel to transmit actual data at the application level. Isn't that exactly what ServerAliveInterval does? The man page says: "ssh(1) will send a message through the encrypted channel". A plain TCP keepaliv
48.
▲
by
pritambaral
2y ago
>> ... shares this responsibility > Deeply disagree. ... doesn't magically remove your responsibility. ?? Literally no-one in this thread is talking about "removing responsibility", except you. > I'm so glad
49.
▲
by
pritambaral
2y ago
> There is a whole stack of systems to prevent that from ever happening. You've almost got the point your parent is trying to make. That the supply chain shares this responsibility, as they said. > I would like to know by which m
50.
▲
by
pritambaral
2y ago
You can, if you abuse C++ enough. I needed this very thing for a custom DSL. struct PolyReturn { const int value; operator int() const { return value; } operator bool() const { return value > 0; } }; http
51.
▲
by
pritambaral
2y ago
Been using an install from 2012. Cloned every time I moved laptops or internal storage drives. Two surviving clones, one main laptop and older laptop as home server and backup. Haven't had to do much, really. Just regular package updat
52.
▲
by
pritambaral
2y ago
I installed Arch once, back in 2012, on my first laptop, which was the only computer I had back then. When that laptop died I swapped the HDD into a loaner from a friend, only to swap it into a new laptop I bought a few months later. When I
53.
▲
by
pritambaral
2y ago
Can't tell if sarcasm, but if not: This is precisely the problem. Apple treats its users as dumb cattle. "We know better. Shut up and be happy with what we force down your throat." Of course, Apple can do no wrong. Forced loc
54.
▲
by
pritambaral
2y ago
> Competition in the free-market ensures companies do not employ price-gouging tactics. There is no competition here, by Apple's design. You cannot publish an app to an iOS device, fully paid for by the user, if Apple doesn't w
55.
▲
by
pritambaral
3y ago
Let's do the same to twitter links and get rid of them too, please. Without nitter links, twitter links are completely useless to those of us who would rather not have a Xitty account.
56.
▲
by
pritambaral
3y ago
Here's the relevant text of the legislation: > the weapon sometimes known as a “shuriken”, “shaken” or “death star”, being a hard non-flexible plate having three or more sharp radiating points and designed to be thrown;
57.
▲
by
pritambaral
3y ago
kmph is a more relatable unit for most humans on this planet, since it's the predominant vehicle driving speed unit.
58.
▲
by
pritambaral
3y ago
> ... the whole reason would be to pay reduced commission Citation needed. I use F-Droid not because I want the devs of the apps I install from there to be free of the Google Play Tax. I use it so I can be free of Google Play.
59.
▲
by
pritambaral
3y ago
Is it still true that iOS PWAs cannot be opened with a link (except from a notification pushed to the app).
60.
▲
by
pritambaral
3y ago
A remote access tool with a client pre-configured could fix this. E.g., if this happened to me, I'd use KDE Connect since I already have it paired.
More ›