Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Lunrtick
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
Lunrtick
2y ago
That's a good point! I suppose in Python that could be a guard in the column definition function.
2.
▲
by
Lunrtick
2y ago
They could also have done default=uuid.uuid4 to have a new id each time, or default=lambda : str(uuid.uuid4()). It's not really related to whether or not it's a database default. It seems quite unfair to place the blame on SQLAlch
3.
▲
by
Lunrtick
3y ago
That would be nice. I've been using Keepass2android for years now though, and it's been really great!
4.
▲
by
Lunrtick
4y ago
I've tried a bunch, but many of the prettier ones don't have Linux versions. I've been using DBeaver ( https://dbeaver.io/ ) for years now though - it's occasionally a little rough around the edges, but ov
5.
▲
Jinjax: Server-Side Components with Jinja
(github.com)
4 points
by
Lunrtick
4y ago
|
0 comments
6.
▲
by
Lunrtick
4y ago
I've been using Postale for a for a few years now, it's been very solid and the pricing is reasonable!
7.
▲
by
Lunrtick
4y ago
The author of SQLAlchemy (which recently released great async support) wrote a great post about how async can actually lead to a small decrease in performance compared to the older threading model, at least for db related functions in a web
8.
▲
by
Lunrtick
5y ago
Have you tried Django Ninja? https://django-ninja.rest-framework.com It's most of FastAPI (auto docs generation, great Pydantic integration, etc) but for Django.
9.
▲
by
Lunrtick
5y ago
May I ask what context you use it in? It looks like it strikes the right balance between simplicity and descriptive power - kinda like a statically typed python. The web side of it seems rather different from a Flask or FastAPI setup, and i
10.
▲
Project OSRM: open-source Routing Machine
(project-osrm.org)
2 points
by
Lunrtick
5y ago
|
0 comments
11.
▲
by
Lunrtick
5y ago
Seveneves by Neal Stephenson. Excellently written like all his books, but the complete loss of hope (realistic as it was) was far too depressing - I like my SciFi as escapist as possible
12.
▲
by
Lunrtick
5y ago
That sounds extremely frustrating. Maybe a good workaround is a custom domain?
13.
▲
by
Lunrtick
5y ago
I'm currently loving FastAPI and Sqlalchemy, but I have been looking for TypeScript equivalents - TS is such a nice language to work with. What libraries are you using? I haven't found anything that seems to match the easy OpenAPI
14.
▲
by
Lunrtick
5y ago
DigitalOcean does offer Timescaledb in the their managed postgres offering AFAIK, along with quite a few other extensions (PostGIS etc)
15.
▲
by
Lunrtick
5y ago
My occasional accidental Google search for programming related things has been filled with spammy sites - I wouldn't quite describe them as "no content", but there really wasn't much of it. DDG isn't really better,
16.
▲
by
Lunrtick
5y ago
> When did 5 GB of RAM become severely limited? When you want to use 6 GB..
17.
▲
by
Lunrtick
5y ago
I'm interested to hear how you find it - I looked at it to manage some parts of an already existing system (postgres + sqlalchemy) and there are some quirks. It doesn't automatically detect foreign keys and make the fields for the
18.
▲
by
Lunrtick
6y ago
I think that was a ±14% drop in the number of people living in a free country now that India is relabeled
19.
▲
by
Lunrtick
6y ago
I've also been using Zod for the same purpose - they've got a nice comparison section that included io-ts https://github.com/colinhacks/zod#comparison
20.
▲
by
Lunrtick
6y ago
I don't mind this too much, to be honest, though I would prefer it if they open sourced it with licence based restrictions. They're not open sourcing Pylance, which has some really nice features. The ones I mainly use are the sema
21.
▲
by
Lunrtick
6y ago
I wish I had time to read them all...
22.
▲
by
Lunrtick
6y ago
This was posted in 2016, but their process hasn't changed. I'm not sure if it's actually caused any real damage yet (usually you'd add your domain fairly quickly), but it seems crazy that in between declaring DO as your
23.
▲
by
Lunrtick
6y ago
Taijin Kyofusho was the first song of theirs I heard - wow. Such a great band!
24.
▲
by
Lunrtick
6y ago
They dropped the temperature under load by a good 10 degrees C just by milling a few mm off the heatsink so it actually made contact with the CPU... sure, that didn't increase the performance drastically, but it seems like a massive ov
25.
▲
by
Lunrtick
6y ago
Jitsi has end-to-end encryption now (used it a few days ago). It behaves quite hilariously when you switch to e2e encryption after a normal connection - the other party gets random noise for a little while.
26.
▲
by
Lunrtick
6y ago
Hehehe, is that what we call searching on DDG now?
27.
▲
by
Lunrtick
6y ago
I definitely agree, the insane dependency chains really make me uncomfortable. However, not every project will involve pulling in such crazy stacks. I recently experimented with Hapi + TypeORM. Hapi's core goal is to use only what they
28.
▲
by
Lunrtick
6y ago
That is generally true, but I think the intended purpose is to reward R&D. If a company spent 10 years and lots of money making something, they should get some benefit for the investment. In practice, though, I think the system is less
29.
▲
by
Lunrtick
6y ago
I think a major one is simply the easy of deployment - one self serving binary is quite refreshing after dealing with wsgi etc. I suppose the static analysis is quite cool too...
30.
▲
by
Lunrtick
6y ago
I totally agree about not needing to make the whole page reactive, it definitely drops the amount of work required. Regarding the page loads, have you looked at Turbolinks? https://github.com/turbolinks/turbolinks/
More ›