Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
delifue
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
delifue
1y ago
The fifth point is the same as in 'Ask for no, don’t ask for yes' https://www.mooreds.com/wordpress/archives/3518 https://news.ycombinator.com/item?id=43144611
62.
▲
by
delifue
1y ago
If you use Box to refer to parent, then parent cannot own the child (unless using things like Arc<Mutex<>>).
63.
▲
by
delifue
1y ago
The "if I then go and code in Python, Java or C#, pretty much all objects have the overhead of an Arc" is not accurate. Rust Arc involves atomic operation and its preformance can greatly degrade when the reference count is being m
64.
▲
Context Engineering
(twitter.com)
1 points
by
delifue
1y ago
|
0 comments
65.
▲
The Curve Is Bending
(grantslatton.com)
6 points
by
delifue
2y ago
|
0 comments
66.
▲
by
delifue
2y ago
Not allowing take reference can avoid interior pointer. Interior pointers make memory safety harder and also make GC harder.
67.
▲
by
delifue
2y ago
If I keep removing one element in front and adding one element on back, then normal ring-buffer deque will involve no copying, but this will keep doing copying to empty space, so its performance could be much worse than deque if the queue i
68.
▲
by
delifue
2y ago
From: https://x.com/zzlccc/status/1903162768083259703 DeepSeek-V3-Base already exhibits "Aha moment" before RL-tuning The ever-increasing output length in RL-tuning might be due to a BIAS in GRPO
69.
▲
Understanding R1-Zero-Like Training: A Critical Perspective [pdf]
(github.com)
1 points
by
delifue
2y ago
|
1 comments
70.
▲
by
delifue
2y ago
This kind of explains why LLMs are good at making demos and good at writing code under clear specification, but often break existing features in a large codebase. When codebase become large, the signal-to-noise ratio of context reduces.
71.
▲
Information work is bottlenecked by high-signal context more than by inference
(twitter.com)
3 points
by
delifue
2y ago
|
1 comments
72.
▲
Cognitive Behaviors That Enable Self-Improving Reasoners
(arxiv.org)
279 points
by
delifue
2y ago
|
103 comments
73.
▲
Append-Only Programming (2024)
(iafisher.com)
83 points
by
delifue
2y ago
|
50 comments
74.
▲
by
delifue
2y ago
The RSA problem in article doesn't mention that RSA's difficulty is based on MODULUS prime factorization, not simple prime factorization. https://en.wikipedia.org/wiki/RSA_(cryptosystem)
75.
▲
by
delifue
2y ago
Software can take a freeride of hardware improvements. GPT wrappers also can take a freeride of foundation model improvements.
76.
▲
by
delifue
2y ago
May you share some example UI and code of how HTMX cannot work well?
77.
▲
by
delifue
2y ago
ARM already have a special instruction `FJCVTZS` to accelerate JavaScript. If WebAssembly gets popular enough there will probably be hardware acceleration for it. https://community.arm.com/arm-community-blogs/b/arc
78.
▲
by
delifue
2y ago
The GPU Glossary mentions that a warp scheduler can context switch https://modal.com/gpu-glossary/device-hardware/warp-schedule... but you said there is no such thing as an SM "context switch between threads&
79.
▲
by
delifue
2y ago
In my opinion, the best way of fighting with crawlers is not giving error feedback (403). The best way is to give the crawlers low-quality AI-generated data.
80.
▲
by
delifue
2y ago
The bugs coming from porting from X86 to ARM may be related to memory order. ARM has weaker memory order than X86. You may need to add memory barriers or synchronization. Of course there are other causes.
81.
▲
by
delifue
2y ago
A common problem of immediate mode GUI is how to make the parent component's size dynamically determined by child component's content (2-phase dynamic layout). Does Egui solve this issue?
82.
▲
by
delifue
2y ago
The test code of sqlite is not public.
83.
▲
by
delifue
2y ago
Can you give examples of what "bad practices" does k8s force to fix?
84.
▲
by
delifue
2y ago
A lot of modern AAA games use dithering transparency. It doesn't suffer from ordering problems. Although it looks weird in low resolution, it looks fine in high resolution.
85.
▲
by
delifue
2y ago
It's not appropriate to say that "having trouble with borrow checker means code is wrong". Sometimes you just want to add a new feature and the borrow check force you to do a big refactor. See also: https://loglog.
86.
▲
Design Patterns Are Temporary, Language Features Are Forever
(ptrtojoel.dev)
110 points
by
delifue
2y ago
|
62 comments
87.
▲
by
delifue
2y ago
In lifetime, subtype means longer lifetime (it's unintuitive). 'a : 'b means 'a is a subtype of 'b, which contains 'b and can be longer. Rust can improve this by introducing syntax like `'a contains '
88.
▲
by
delifue
2y ago
> But now we get to use a key feature of infinitesimal changes: that they can always be thought of as just “adding linearly” (essentially because ε2 can always be ignored to ε). Or, in other words, we can summarize any infinitesimal chan
89.
▲
by
delifue
2y ago
Someone mentioned "hallucination-based API design" on twitter (I cannot find it now). It's designing API by LLM hallucination. If there is a common hallucination API call, just add that API. This will make the API more "
90.
▲
by
delifue
2y ago
> “Find all flights from Detroit to Beijing” ... which must be joined twice with flight info to express our query Actually this can be done by nested query, without joining. I prefer nested query than joins. Because join is "global&
More ›