Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
rfgplk
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
121.
▲
by
rfgplk
2mo ago
I have. In fact, some of my hand rolled stuff is actually _provably_ faster and more secure then even heavily battletested and widely used "industry standard" solutions. This is mainly due to them passing an exhaustive barrage of
122.
▲
by
rfgplk
2mo ago
> I could have accepted people saying "I'm 20% more productive", which is an incredible achievement by itself, but not the 10x, 20x, 100x I keep hearing about. I think I've read 200x this week. The ratios are factual
123.
▲
by
rfgplk
2mo ago
Yep. Sorry for the spam, but look at this, compiling "yazi" from source (ie a relatively simple TUI file manager) 676 dependencies: Downloaded by_address v1.2.1 Downloaded block-buffer v0.12.1 Downloaded block-padding v0.4
124.
▲
by
rfgplk
2mo ago
> I can very easily build a highly functional, pleasant to use Apple platform app with 5 or fewer top level dependencies. In many cases, I reach for between 0-2 total. > There’s no reason why this can’t be replicated elsewhere. The ke
125.
▲
by
rfgplk
2mo ago
Due to reflection, technically. Will correct it make it clearer, in order to compile this you need a C++23 compiler (gcc).
126.
▲
Hopf Spherical Compression and Quantization in C++23
(github.com)
3 points
by
rfgplk
2mo ago
|
3 comments
127.
▲
by
rfgplk
2mo ago
Little something I've been working on. To my knowledge this is the only(?) compression codec using Hopf-fibration quotient coding in any way. It's lossy, guarantees fixed rate compression on any input, zero codebook (same as other
128.
▲
by
rfgplk
2mo ago
> If you make an effort to use the new tools effectively, the gains are wild. Don't fall into a grumpy luddite trap, the train is leaving the station and you'll struggle to catch up if you don't learn and grow. Correct, in
129.
▲
by
rfgplk
2mo ago
I've implemented the same thing for micron (more or less). One advice I'd give you is to _really_ take care regarding SysV/ELF ABI conventions, there's tons of undocumented stuff in there and it's really easy to mes
130.
▲
by
rfgplk
2mo ago
The fact that this is written in Haskell is amazing in it of itself. Will try it out
131.
▲
by
rfgplk
2mo ago
Configure overcommit_memory, overcommit_ratio, admin|user_reserve_kbytes, min_free_kbytes, oom_kill_allocating_task, oom_score_adj; if you're on a dev box make it such that even if you approach memory limits to just instantly start kil
132.
▲
by
rfgplk
2mo ago
But the point is that it's garbage because of the low quality of the information, and not necessarily because an LLM made it. I do agree that most people don't know how to prompt.
133.
▲
by
rfgplk
2mo ago
A belt-and-braces approach.
134.
▲
by
rfgplk
2mo ago
It's actually insanely difficult to get LLMs not to produce comments. Even with explicit "NEVER LEAVE ANY COMMENTS WHATSOEVER", they still do, across basically all providers.
135.
▲
by
rfgplk
2mo ago
Prune the comments? Instruct the LLM to print less comments (this one is genuinely hard though). What's really happening is that you don't have a strong enough review process (or a code standards process) to offset this. The one i
136.
▲
by
rfgplk
2mo ago
It's an ego issue for most people. For one, part of it comes from genuine intimidation or fear, the notion that a machine can be smarter than you, or at least produce answers that are more knowledgeable than you could. But I think the
137.
▲
by
rfgplk
2mo ago
Tracks with some of my internal metrics. There are certain projects I'm tracking (solo dev or a small team of a few people) doing 500k LoC changes _per week_. There's one project that caught my attention in particular because they
138.
▲
by
rfgplk
2mo ago
Fascinating how many people still overcomplicate offloading to GPUs.
139.
▲
by
rfgplk
2mo ago
Is there any reason why you only target sse2 for simd acceleration? You're leaving a lot of performance on the table.
140.
▲
by
rfgplk
2mo ago
> With generated code, the directory structure, interface design and general state management is usually a haphazard mess. Even with the best frontier models. But what really gets me is the model often tries to make assumptions for me th
141.
▲
by
rfgplk
2mo ago
What is the logic behind selling at such a steep discount? Lack of buyers or trust? Seems insane to sell tham at -50% or more, especially since you can use them yourself (if you're a startup)
142.
▲
by
rfgplk
2mo ago
I've been fighting against the AI detractors for quite a while now but they refuse to see the light. The reason you're seeing AI everywhere is simply because LLM augmented workflows give you _obscene_ efficiency boosts. You need 5
143.
▲
by
rfgplk
2mo ago
> The “You must review every line of code” camp are going to be in for a seriously bad time when Claude/Grok/etc starts writing machine code, and they absolutely will and you will look like a crazy person the same way as those
144.
▲
Show HN: Cjson.cpp, the new fastest-ever (constexpr) JSON parser
(github.com)
3 points
by
rfgplk
2mo ago
|
0 comments
145.
▲
by
rfgplk
3mo ago
Maybe the person writing the report isn't an expert in this domain or doesn't have the time to commit to it? From my point of view as long as the information is accurate and reproducible, it's valuable.
146.
▲
by
rfgplk
3mo ago
Why is it unreadable? I actually find LLM bug reports/breakdowns to be far more detailed and concise that classical human written ones. If you read the linked repo it clearly goes it depth where the bug was found, how to reproduce it (
147.
▲
by
rfgplk
3mo ago
Nice article. There a few issues with your code however from a cursory glance; your dtor seems to allow for spurious/double frees due to custom deleter support (you wanna check up on that), you also seem to use seq_cst far too much eve
148.
▲
by
rfgplk
4mo ago
C++ is actually obscenely complex, I don't deny that. Just mastering object lifetime rules is crazy difficult due to all the edge cases, but it comes with the territory.
149.
▲
by
rfgplk
4mo ago
But isn't this a problem with all code? Looking at a Rust function signature how can you be sure that it does what it says it does? Or python?
150.
▲
by
rfgplk
4mo ago
The standard library implements really do suck (in some cases), but this should be separated from C++ (the language). Even the standard splits the language grammar from the standard library cleanly.
More ›