Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
squirrellous
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
91.
▲
by
squirrellous
10mo ago
Given the site where this is posted and the screenshot, is the author an engineer turned fiction writer? Kudos if true. Posting these must take a lot of courage.
92.
▲
by
squirrellous
10mo ago
As a former employee, the engineering culture at Google gives me old-school hacker vibes, so users are very much expected to “figure it out” and that’s somewhat accepted (and I say this with fond memories). It’s no surprise the company stru
93.
▲
by
squirrellous
10mo ago
LLMs are good at in-distribution programming, so inventing a new language just for them probably won’t work much better than languages they were already trained on. If you could invent a language that is somehow tailored for vibe coding _an
94.
▲
by
squirrellous
10mo ago
This is painfully clear once you’ve worked in a non-first-world country. Everybody is just working a job.
95.
▲
by
squirrellous
10mo ago
> The guy is a coder through and through. I’d be proud if someone says that about me one day. Hope Mitchell will share the sentiment.
96.
▲
by
squirrellous
10mo ago
Some juniors do figure it out, but my experience has been that the bar for such juniors is a lot higher than pre-AI junior positions, so there is less opportunity for junior engineers overall.
97.
▲
by
squirrellous
10mo ago
It’s possible to build this around protobuf. Google has a rich internal protobuf ecosystem that does this and supports querying large amounts of protobuf data without specifying schemas. They are only selectively open sourced. Have a look a
98.
▲
by
squirrellous
10mo ago
I don’t understand this argument. It seems to originate from capnp’s marketing. Capnp is great, but the fact that protobuf can’t do zero copy should be more an academic issue than practical. Applications that want to use a schema always nee
99.
▲
by
squirrellous
10mo ago
I like this (paid) blog for its technical dives and HFT expertise, but the programing language opinions are a little click-baity and not worth the time.
100.
▲
by
squirrellous
11mo ago
Not giving up the address space feels like an anti feature. This would mean, among other things, that access to the DONTNEED memory is no longer a segfault but garbage values instead, which is not ideal.
101.
▲
by
squirrellous
11mo ago
Agree with the general point. I’d maybe add that a lot of times it’s the scale of the profit that makes something a net negative for humanity, not the percentage based margin. A lot big tech started small and in the early stages created a t
102.
▲
by
squirrellous
11mo ago
And another party for people who sign their emails with 3-letter usernames? :)
103.
▲
by
squirrellous
1y ago
I think the reason going into music is that way because the industry is already hyper competitive as is, and the “selection” process for talent shifts earlier. Perhaps CS will go that way eventually. Anyway, when I made the comment, I was t
104.
▲
by
squirrellous
1y ago
There should be a course on Linux. Not your typical operating systems course where you write a toy OS and teach a bunch of theory, but rather a deep dive into various Linux subsystems, syscalls, tooling, etc.
105.
▲
by
squirrellous
1y ago
I probably should’ve qualified the “best medium” with something more specific. But I’ll submit two reasons why email is best for me and maybe some others: - Email is the one thing that isn’t tied to any platform and ~always works, so it’s w
106.
▲
by
squirrellous
1y ago
Not a user (yet) but just want to say I concur that email is the best medium for RSS feeds, so kudos.
107.
▲
by
squirrellous
1y ago
I think the article glossed over a bit about how to interpret the table and the formula. The formula is only correct if you take into account the memory hierarchy, and think of N as the working set size of an algorithm. So if your working
108.
▲
by
squirrellous
1y ago
One of the mentioned examples sounds like the compressor is taking advantage of the SDDL by treating row-oriented data as stripes of column-oriented data, and then compressing that. This makes me curious - for data that’s already column-ori
109.
▲
by
squirrellous
1y ago
Rust won’t even succeed at replacing C++. There are technical and cultural issues at play. C++ has evolved a lot and still does some things better than Rust (dynamic linking, for example). Rust will be another popular systems programming la
110.
▲
by
squirrellous
1y ago
Title feels a bit too click-baity. The article first says multi-consumer queues break global ordering (but preserves per-consumer ordering), and then proposes a data structure that completely abandons any ordering, without explaining why th
111.
▲
by
squirrellous
1y ago
Great idea and execution! Some of the example links visibly takes me through 4 redirects. I’m wondering if it’d be useful to actually store the redirect results and jump directly to the resolved page. If it’s stored long term the link even
112.
▲
by
squirrellous
1y ago
Is there anything C# _doesn’t_ have? :-) It feels like C# has an answer to every problem I’ve ever had with other languages - dynamic loading, ADTs with pattern matching, functional programming, whatever this expression tree is, reflection,
113.
▲
by
squirrellous
1y ago
Between mold and this, the linker space appears to be going through a renaissance. Does anyone know if it’s reasonably easy to use elf2 as a standalone linker in a c/c++ toolchain? Or is it specially built just for Zig?
114.
▲
by
squirrellous
1y ago
As usual the real struggle is getting everyone to agree on a configuration language :-)
115.
▲
by
squirrellous
1y ago
We use protobuf as schemas for json config. Protobuf has builtin json support and works across languages. It’s great for multi-language projects.
116.
▲
by
squirrellous
1y ago
Even new projects have good reasons to use c++. Maybe the ecosystem is built around it. Maybe competent c++ programmers are easier to find than rust ones. Maybe you need lots of dynamic loading. Maybe you want drop-in interop with C. Maybe
117.
▲
by
squirrellous
1y ago
Thinking back, the issue I had with multi-threaded code was two-fold: - Things like "continue", "step" are no longer a faithful reproduction of what the program does in real time, so it's more difficult to understan
118.
▲
by
squirrellous
1y ago
IME console-based debuggers work great for single-threaded code without a lot of console output. They don't work that well otherwise. GUI-based debuggers can probably fix both of those issues. I just haven't really tried them as m
119.
▲
by
squirrellous
1y ago
This might be an unpopular opinion - I think const by-value parameters in C++ shouldn’t exist. Const reference and mutable values are enough for 99% cases, and the other 1% is r-value refs. Regarding const by-value parameters, they should n
120.
▲
by
squirrellous
1y ago
Cool! Thanks for the example. The aforementioned work thing requires MAP_SHARED as well which IIRC is the reason it would fail when used together with files and huge pages, but private mappings work as you show.
More ›