Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nalgeon
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
12 ms
·
91.
▲
Coroot – Open-source Datadog/NewRelic alternative
(github.com)
4 points
by
nalgeon
2y ago
|
0 comments
92.
▲
The Reasons I Prefer Passing Struct Pointers Around
(preslav.me)
3 points
by
nalgeon
2y ago
|
0 comments
93.
▲
The only two log levels you need are INFO and ERROR
(ntietz.com)
3 points
by
nalgeon
2y ago
|
1 comments
94.
▲
What Does "Strength" Mean?
(allendowney.com)
1 points
by
nalgeon
2y ago
|
0 comments
95.
▲
Formal Methods: Just Good Engineering Practice?
(brooker.co.za)
1 points
by
nalgeon
3y ago
|
0 comments
96.
▲
Git Bisect-Find
(kevincox.ca)
50 points
by
nalgeon
3y ago
|
56 comments
97.
▲
Garden-Path Incidents
(blog.danslimmon.com)
1 points
by
nalgeon
3y ago
|
0 comments
98.
▲
GQL: 2024 Is Out
(peter.eisentraut.org)
2 points
by
nalgeon
3y ago
|
0 comments
99.
▲
Method of Differences and Newton Polynomials
(eli.thegreenplace.net)
2 points
by
nalgeon
3y ago
|
0 comments
100.
▲
The origin and virtues of semicolons in programming languages
(ntietz.com)
46 points
by
nalgeon
3y ago
|
19 comments
101.
▲
by
nalgeon
3y ago
It works with redis-py (which python-rq uses), but I doubt it will be any good in this case. python-rq seems to use Lua scripting in Redis, which is not planned for 1.0. I'd rather not add it at all, but we'll see.
102.
▲
by
nalgeon
3y ago
The goal is to have a convenient API to work with common data structures, with an SQL backend and all the benefits it provides. Such as: — Small memory footprint even for large datasets. — ACID transactions. — SQL interface for introspectio
103.
▲
by
nalgeon
3y ago
Great tips, thank you! The thing is, getting maximum throughput is not the goal of the project (at least not at this stage). I'm using reasonable SQLite defaults (including WAL), but that's it for now.
104.
▲
by
nalgeon
3y ago
Thank you! I also think that the relational model can get you pretty far if you don't need to squeeze every last bit of performance out of the program. And the added benefit of using a battle-tested SQL engine is far fewer storage-rela
105.
▲
by
nalgeon
3y ago
Thought about it, decided to start with simpler and good enough option. The goal here is not to beat Redis anyway.
106.
▲
by
nalgeon
3y ago
Yeah, it's explained in the code[1] SQLite only allows one writer at a time, so concurrent writes will fail with a "database is locked" (SQLITE_BUSY) error. There are two ways to enforce the single writer rule: 1. Use a mutex
107.
▲
by
nalgeon
3y ago
Can't fit everything in 1.0, has to start with something. If the community is interested in the project, there will be more.
108.
▲
by
nalgeon
3y ago
I'm a big fan of both Redis and SQLite, so I decided to combine the two. SQLite is specifically designed for many small queries[1], and it's probably as close as relational engines can get to Redis, so I think it might be a good f
109.
▲
by
nalgeon
3y ago
Did I? > Both in-process (Go API) and standalone (RESP) servers. In-process means that the database is "embedded / clientside" in your terms.
110.
▲
Travelling with Tailscale
(mrkaran.dev)
50 points
by
nalgeon
3y ago
|
60 comments
111.
▲
ETag and HTTP Caching
(rednafi.com)
152 points
by
nalgeon
3y ago
|
89 comments
112.
▲
Shell History Is Your Best Productivity Tool
(martinheinz.dev)
47 points
by
nalgeon
3y ago
|
18 comments
113.
▲
Go Developer Survey 2024 H1 Results
(go.dev)
15 points
by
nalgeon
3y ago
|
0 comments
114.
▲
Reversing a Mystery Function
(xorvoid.com)
2 points
by
nalgeon
3y ago
|
0 comments
115.
▲
Scuba, a distributed in-memory event database
(compileralchemy.substack.com)
1 points
by
nalgeon
3y ago
|
0 comments
116.
▲
Python Project-Local Virtualenv Management Redux
(hynek.me)
46 points
by
nalgeon
3y ago
|
33 comments
117.
▲
Hydra: A hybrid runtime for x86-16 and Aarch64
(xorvoid.com)
1 points
by
nalgeon
3y ago
|
0 comments
118.
▲
The Remoteness of Remote Work
(zerodha.tech)
5 points
by
nalgeon
3y ago
|
0 comments
119.
▲
Garbage Collection
(xorvoid.com)
13 points
by
nalgeon
3y ago
|
0 comments
120.
▲
by
nalgeon
3y ago
There's also an interactive "Git by Example" guide I recently wrote on a similar topic. It has a playground for each of the commands mentioned in Martin's article (and many others): — switch — restore — sparse-checkout —
More ›