Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
denys_potapov
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
denys_potapov
6mo ago
tl;dr replace SQLite with Map ~ 2x speed up, replace zod validation with ifs ~ 2x speed up. Bun had a memory leak on unresolved promises - now fixed
2.
▲
by
denys_potapov
10mo ago
As the author of a JS-to-OCaml compiler [1], I must admit that Poe’s Law applies here [2]: “Without a clear indicator of the author’s intent, any parodic or sarcastic expression of extreme views can be mistaken by some readers for a sincere
3.
▲
by
denys_potapov
10mo ago
Always. Probably you can't get in top 100 with python[1]. But I like dicts with tuple keys, bigints, all the list things. [1] My best is around 1300 place in HackerCup.
4.
▲
by
denys_potapov
10mo ago
Cool. Recursion in python is common bottleneck in competitive programming. Will give it a try. I created a similar tool for recursion [1]. But ended with rewriting AST and emulating stack. Pros - no need for accumulator, cons - almost unusa
5.
▲
by
denys_potapov
1y ago
I'm working on a block-based visual programming environment for kids — a sort of Scratch alternative — but instead of inventing a new language, it's a subset of Elixir. I'm using Google’s Blockly to generate real Elixir code
6.
▲
Porting is-odd NPM to OCaml using remelange compiler
(dev.to)
5 points
by
denys_potapov
2y ago
|
0 comments
7.
▲
by
denys_potapov
2y ago
It's a 2024 webdev summary, nothing can be added: New React version made the lib obsolete, we used LLM to fix it (1/5 success rate)
8.
▲
by
denys_potapov
3y ago
eyJ... — is a beginning of base64 encoded JSON. The fact that I know it, and see it in standards make me feel bad. I can't proof that this is wrong, but encoding one text format in other text format and wrapping it in third text format
9.
▲
Dry-uninstall: empty NPM package to «uninstall» unused transitive dependencies
(npmjs.com)
1 points
by
denys_potapov
3y ago
|
0 comments