Viewing profile — leontrolski
leontrolski
HN member- Joined
- Fri, Mar 29, 2019, 11:19 AM UTC
- HN karma
- 2,204
- Public activity
- 114 items
- HN profile
- View on Hacker News ↗
About leontrolski
Recent public activity
-
comment
Comment #49136973
Agreed, benchmarking, I only see a slight speedup on MacOS - https://github.com/leontrolski/postgresql-testing#:~:text=ra...
-
comment
Comment #49136958
Being to lazy to think or test it - does the above reset SEQUENCEs?
-
comment
Comment #49136945
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 agains…
-
comment
Comment #49028195
Some discussion on (ab?)using pypi to distribute binaries - https://discuss.python.org/t/use-of-pypi-as-a-generic-storag...
- story
- story
-
comment
Comment #48626469
Similarly - 80 line LISP interpreter with integers, lexical scope, first class functions https://leontrolski.github.io/interpreter.html
-
comment
Comment #48293036
Neat. I'm trying to compress recipes into little schematics https://leontrolski.github.io/recipes.html
-
comment
Comment #47899853
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)],…
-
comment
Comment #47899789
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 i…
- story
- story
-
comment
Comment #47510042
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'…
- story
- story
- story
-
comment
Comment #45855868
Ditto, another Upset blog post - https://leontrolski.github.io/upset.html
- story
-
comment
Comment #45377594
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 untag…
-
comment
Comment #44692589
A reminder of all the features available right now with PWAs - https://whatpwacando.today
- story
-
comment
Comment #44528430
> 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…
-
comment
Comment #44525560
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 som…
- story
- story