Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
winrid
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
40 ms
·
751.
▲
by
winrid
3y ago
Nice, I'll have to check it out again this year. Might be a good chance to look into Helix, too.
752.
▲
by
winrid
3y ago
Sugar isn't fulfilling, and usually it makes you want more. If you want a snack that fills you up, try something with fat (meat, peanut butter, etc).
753.
▲
by
winrid
3y ago
BTW, why base pricing on r4 instances vs something more cost effective like r5?
754.
▲
by
winrid
3y ago
Yeah. That's why I talk about it. I want people to build good IDE support for Nim :)
755.
▲
by
winrid
3y ago
This is a problem with all these languages (zig, nim, crystal, D, vlang, etc). They are all neat but the DX is so bad that Java with a good IDE is faster to code in. Zig and Nim with VSCode kind of work. Nim integration is very easy to br
756.
▲
by
winrid
3y ago
the revolving door of oracle consultants? :)
757.
▲
by
winrid
3y ago
The abstraction isn't really defined or isolated that way, but kinda.
758.
▲
by
winrid
3y ago
that actually seems really inefficient, it could avoid the array allocation and fill call by just moving the length check...
759.
▲
by
winrid
3y ago
One of the most satisfying feature degradation steps I did with FastComments was making it so that if the DB went offline completely, the app would still function: 1. It auto restarts all workers in the cluster in "maintenance mode&quo
760.
▲
by
winrid
3y ago
Meson's Wraps are pretty useful for including and building dependencies across different OSes. We migrated netpanzer from Scons to Meson - that was a lot of work (which I didn't do), but it actually integrates with CLion now, buil
761.
▲
by
winrid
3y ago
That's just ridiculous. Modern countries like France do not use credit scores. They just look at your last few bank statements.
762.
▲
by
winrid
3y ago
Yeah I agree. I made it work for one big system but Java or Go would have been nicer lol. Luckily I was able to just: 2. You can do this w/o restarting worker each time, which helps. Just keep it alive and submit work to it. and then c
763.
▲
by
winrid
3y ago
I mostly agree but... you can't use worker threads or something with Node to distribute the work? It's only like one line to submit a job to a worker thread, how is that much more than "go thing()"?
764.
▲
by
winrid
3y ago
you can use Django (python) with Types and the codebase will scale a bit larger, there are JITs available for Python too. ctrl+click works great can write simple Python code and not do anything crazy, works alright. up to around 30k lines I
765.
▲
by
winrid
3y ago
Better than Pycharm?
766.
▲
by
winrid
3y ago
Even the Stripe API types are terrible. I'm moving away from Python for my large projects...
767.
▲
by
winrid
3y ago
It's a tradeoff! I think using the ORM to start and then move off it later is valid, depending on how much time you have to get an MVP out.
768.
▲
by
winrid
3y ago
also, every company I've worked at used ORMs in some capacity. Sometimes, not always. Also, I don't really work on any apps with only four customers. either they have almost a million or zero :P Try again. :)
769.
▲
by
winrid
3y ago
I don't think insults are really necessary here. Also ORMs can be very useful, just don't do dumb stuff, like with any technology. I use them when appropriate.
770.
▲
by
winrid
3y ago
Which is still very IO bound... Wonder what kinda IOPS you were observing? Also they make pretty fast CPUs these days :)
771.
▲
by
winrid
3y ago
Not a silver bullet for every project but the Django ORM largely solves this with its migrations. You define your table classes and it just generates the migrations. Throw in a type checker and you're in pretty good shape. Rust also ha
772.
▲
by
winrid
3y ago
This largely depends on the disk. I wouldn't expect that to take 30mins on a modern NVME drive, but of course it depends on table size.
773.
▲
by
winrid
3y ago
150 queries per page load is nothing. I'd check for missing indexes...
774.
▲
by
winrid
3y ago
I should have rephrased it as "nobody picking Django cares". People pick Django because of how quickly you can build something valuable. Everyone knows it's slow IMO. > when you're an upstart, speed is an advantage, Y
775.
▲
by
winrid
3y ago
on every OS - windows, linux, android, iOS - it's like a 20% chance that it will connect or send the file if one of the clients has closed and reopened or disconnected momentarily. you have to close and reopen both clients.
776.
▲
by
winrid
3y ago
if someone finds go-routines hard I don't think the suggestion is rust.
777.
▲
by
winrid
3y ago
is there a language/runtime where running multithreaded code is easier?
778.
▲
by
winrid
3y ago
heh, that's certainly a thing too. Sorry you had to go through that.
779.
▲
by
winrid
3y ago
> Also in my experience Django is extremely slow generally than Flask or FastAPI. Nobody cares. Seriously. I can handle 100rps on a $5 server for most of the pages on my Django sites. Do you know how many $100m+ ARR businesses I've
780.
▲
by
winrid
3y ago
You were given a negative rating because they didn't have the budget for a bonus.
More ›