Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
leontrolski
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
leontrolski
2mo ago
Agreed, benchmarking, I only see a slight speedup on MacOS - https://github.com/leontrolski/postgresql-testing#:~:text=ra...
2.
▲
by
leontrolski
2mo ago
Being to lazy to think or test it - does the above reset SEQUENCEs?
3.
▲
by
leontrolski
2mo ago
I concur with this approach. TRANSACTION-y tests (the default in Django) often don't quite line up with reality and make it hard to eg. drop in a breakpoint and run a server against the test's db state. I've experimented (see
4.
▲
by
leontrolski
2mo ago
Some discussion on (ab?)using pypi to distribute binaries - https://discuss.python.org/t/use-of-pypi-as-a-generic-storag...
5.
▲
Pip install Postgres – no Docker/Brew/apt
(github.com)
29 points
by
leontrolski
2mo ago
|
8 comments
6.
▲
Prism: An Impure Functional Language with Typed Effects
(stephendiehl.com)
6 points
by
leontrolski
3mo ago
|
0 comments
7.
▲
by
leontrolski
3mo ago
Similarly - 80 line LISP interpreter with integers, lexical scope, first class functions https://leontrolski.github.io/interpreter.html
8.
▲
by
leontrolski
4mo ago
Neat. I'm trying to compress recipes into little schematics https://leontrolski.github.io/recipes.html
9.
▲
by
leontrolski
5mo ago
What would be the equivalent to this in Haskell (with or without lens): cat = Cat(age=3) l = [1, [2, cat], 4] alt l[1][1].age.=9 That would give us l equal to: [1, [2, Cat(age=9)], 4]
10.
▲
by
leontrolski
5mo ago
This is surprising to me: l[1][1].age:9 # (1,(2,{"age":9}),4) How come it doesn't return just: {"age":9} Or is there something totally different going on with references here? As in, how is this diff
11.
▲
Generalised plusequals
(leontrolski.github.io)
16 points
by
leontrolski
5mo ago
|
11 comments
12.
▲
“Disregard That” Attacks
(calpaterson.com)
129 points
by
leontrolski
6mo ago
|
94 comments
13.
▲
by
leontrolski
6mo ago
Yes, AI or no AI, tell me about something actually interesting that you're working on. Currently it feels a bit like everyone is talking about what new editor they're using. I don't care about that type of developer tooling v
14.
▲
Aldo's Game of Music
(aldodevos.nl)
1 points
by
leontrolski
7mo ago
|
0 comments
15.
▲
National Raisin Reserve
(en.wikipedia.org)
6 points
by
leontrolski
9mo ago
|
0 comments
16.
▲
Show HN: I 3D printed a running buggy
(leontrolski.github.io)
1 points
by
leontrolski
10mo ago
|
0 comments
17.
▲
by
leontrolski
10mo ago
Ditto, another Upset blog post - https://leontrolski.github.io/upset.html
18.
▲
Using Python 3.14 template strings to write Python
(leontrolski.github.io)
3 points
by
leontrolski
1y ago
|
1 comments
19.
▲
by
leontrolski
1y ago
Lovely writeup! > Pascal did not have sum types because Wirth thought they were less flexible than untagged unions I'm not sure whether my dream language would have tagged or untagged unions (Scala 3 has both it seems). I'd be
20.
▲
by
leontrolski
1y ago
A reminder of all the features available right now with PWAs - https://whatpwacando.today
21.
▲
Cheeky Python Shell Script
(leontrolski.github.io)
3 points
by
leontrolski
1y ago
|
1 comments
22.
▲
by
leontrolski
1y ago
> also fast when transactions are held open In my linked example, on getting the item from the queue, you immediately set the status to something that you're not polling for - does Postgres still have to skip past these tuples (even
23.
▲
by
leontrolski
1y ago
I'd be interested as to how dumb-ol' polling would compare here (the FOR UPDATE SKIP LOCKED method https://leontrolski.github.io/postgres-as-queue.html ). One day I will set up some benchmarks as this is the kind o
24.
▲
Senior Engineer tries Vibe Coding [video]
(youtube.com)
2 points
by
leontrolski
1y ago
|
0 comments
25.
▲
Show HN: trolskgen – Ergonomic Codegen for Python
(github.com)
2 points
by
leontrolski
1y ago
|
1 comments
26.
▲
My dream thermostat (2024)
(leontrolski.github.io)
48 points
by
leontrolski
1y ago
|
68 comments
27.
▲
by
leontrolski
1y ago
I plan on using it for semi throw away UIs for things where I don't want the user to have to spin up a Web server. Right now there's no canvas support, but there is that kind of thing in the Tk/Tcl docs (linked in the project
28.
▲
by
leontrolski
1y ago
Well that was dumb - fixed, sorry
29.
▲
Show HN: Tkintergalactic - Declarative Tcl/Tk UI Library for Python
(github.com)
86 points
by
leontrolski
1y ago
|
10 comments
30.
▲
by
leontrolski
2y ago
33 line React https://news.ycombinator.com/item?id=22776753
More ›