Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
lennoff
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
lennoff
1mo ago
Sometimes you don't need an _exact_ solution. approximation of the traveling salesman problem exists for the metric version, it's O(n^3), and produces a result that's not worse than 50% of the optimal result, and for the gene
2.
▲
by
lennoff
2mo ago
wow, i checked the documentation, and you're right. the type is indeed poorly named!
3.
▲
by
lennoff
2mo ago
I disagree with the timestamptz advice. I tend to use timestamp (without the timezone), this forces me to use UTC everywhere, so I'm not even tempted to use anything else. I work in fintech, and so far whenever i saw someone storing da
4.
▲
by
lennoff
2mo ago
afaik before the final sampling, every "next" token has a probability, so theoretically it could select the 10 most likely tokens (based on some kind of sampling algorithm), but you'd end up with exponentially many output-seq
5.
▲
by
lennoff
2mo ago
i think it actually makes sense, an LLM just imitates human communication, which happens to be useful from time to time.
6.
▲
by
lennoff
1y ago
keep in mind that we have "vibe coding" now, where the goal is exactly to _not_ have a human in the loop (at least not constantly).
7.
▲
by
lennoff
1y ago
It's fun to theorize about an alternate universe where JavaScript has a LISP-like syntax (Brendan Eich originally wanted "Scheme in the browser"[1], so this isn't so far-fetched!). Indeed, `interpret` sounds like a LISP
8.
▲
by
lennoff
1y ago
It seems like that the author by using JSX to express code directly as an AST re-invented LISP? See Greenspun's tenth rule[1]. [1]: https://wiki.c2.com/?GreenspunsTenthRuleOfProgramming
9.
▲
by
lennoff
3y ago
How can you ban AI? It's literally designed to produce text that's indistinguishable from text that was produced by a living human being.
10.
▲
by
lennoff
3y ago
It's sad to see that Web Crypto[1] does not support Ed25519 (yet), only RSA and ECDSA for asymmetric signatures. [1]: https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypt...
11.
▲
by
lennoff
5y ago
Because of the company VPN, I usually teleport to Israel, and I have absolutely no idea how to change the language on a right-to-left layout with a Hebrew alphabet...
12.
▲
by
lennoff
5y ago
I guess I'll mint an NFT that's going to be a screenshot of this HN thread...
13.
▲
by
lennoff
5y ago
Slightly related question: is there a plug-in that can color my code based in scope instead of syntax?
14.
▲
by
lennoff
5y ago
Tangentially related question: could Nuitka target WebAssembly, given that according to their overview page, they translate Python into C? Usually when it comes to Python -> WebAssembly, the biggest problem is the lack of GC in the WebAs
15.
▲
by
lennoff
5y ago
I think the key takeaway is to never believe when someone says "Don't worry, you'll get promoted in no time".
16.
▲
by
lennoff
5y ago
Is a CS degree important nowadays? I do have one, but literally no one mentioned or asked about my education during an interview, ever.
17.
▲
by
lennoff
5y ago
Oh, it does... It generates code that's vulnerable to SQL injections, XSS, etc. It was trained on such code! (hopefully this will improve)
18.
▲
by
lennoff
5y ago
Iteration protocols[1] are also nice (`Symbol.iterator`[2] and `Symbol.asyncIterator`[3]) [1]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe... [2]: https://developer.mozilla.or
19.
▲
by
lennoff
5y ago
When you evaluate a form deep in a function, how do you handle variables that are defined "outside"? How can you evaluate such expressions?
20.
▲
by
lennoff
5y ago
Well, how can we teach copilot to avoid raw string interpolation in such cases? Sure, some people will correct it, and the AI might improve, but I suspect that the majority of the developers will never notice it, and that'll just rei
21.
▲
by
lennoff
5y ago
So black holes can't evaporate? How does Hawking radiation works if the back hole are has to stay the same?
22.
▲
by
lennoff
9y ago
try it with https://github.com/m1el/woscope-music/blob/master/oscillofun...
23.
▲
by
lennoff
9y ago
How exactly is this distributed? The readme isn't really useful...
24.
▲
Heuristic Analysis UX in the design process
(blog.intellyo.com)
3 points
by
lennoff
9y ago
|
0 comments
25.
▲
UX and Psychology go hand in hand – How Gestalt theory appears in UX design?
(blog.intellyo.com)
2 points
by
lennoff
9y ago
|
0 comments
26.
▲
Semantic Versioning Works Just Fine
(medium.com)
2 points
by
lennoff
12y ago
|
0 comments
27.
▲
HTML Canvas in the terminal
(github.com)
78 points
by
lennoff
12y ago
|
12 comments