Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
thasso
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
4 ms
·
1.
▲
by
thasso
8mo ago
> I believe that inference systems not using the Python stack (which I do not appreciate) are a way to free open models usage and make AI more accessible. What's wrong with the Python stack? I have never much used it or any other ML
2.
▲
by
thasso
11mo ago
Your example on read(2) is a good one. There's no way to fix it purely by changing the API because, by nature, the user chooses the size of the buffer. The difference is that fd_set is a structure that's not defined by the user.
3.
▲
by
thasso
11mo ago
I don't get where my misunderstanding lies. Didn't I point out that the __copy_to_user call returns EFAULT if the memory is unmapped or unwritable? The problem is that some parts of the user stack may be mapped and writable althou
4.
▲
by
thasso
11mo ago
This part is bewildering to me: > Now, if you try to watch file descriptor 2000, select will loop over fds from 0 to 1999 and will read garbage. The bigger issue is when it tries to set results for a file descriptor past 1024 and tries t
5.
▲
Show HN: I wrote a from-scratch OS to serve my blog
(github.com)
13 points
by
thasso
1y ago
|
1 comments
6.
▲
by
thasso
1y ago
Claude gave me a pretty convincing response without hesitation. Can't verify if it's sensible though.
7.
▲
by
thasso
1y ago
Can recommend this podcast [1] with Richard Hipp, primary author of SQLite, talking about, among other things, about the origins of SQLite and how they tested it for use in aviation. [1]: https://corecursive.com/066-sqlite-w
8.
▲
by
thasso
1y ago
A nice thing about C is that you can be pretty confident that you know all major footguns (assuming you spent some time reading about it). With languages that are young or complex there is a much greater chance you’re making a terrible mist
9.
▲
Secure Your Keys with Keyand.me
(thasso.xyz)
1 points
by
thasso
1y ago
|
0 comments
10.
▲
by
thasso
1y ago
Wait why did it say the key was unused when I submitted the first time, but now it shows the key is already taken?
11.
▲
by
thasso
1y ago
I'm shocked every time I go to City Hall and wait while the clerk types my name letter by letter with two fingers. Doesn't he do that every day?! How as it never occurred to him or anyone else that maybe, just maybe, they would be
12.
▲
by
thasso
1y ago
If you are interested in debuggers, there was a post series by Sy Brand a few years back: https://blog.tartanllama.xyz/writing-a-linux-debugger-setup/ Eli Bendersky also wrote about debuggers (I think his post is a gre
13.
▲
by
thasso
1y ago
Is this legal? How frequently do people with unique knowledge in a company pull things like this off?
14.
▲
by
thasso
1y ago
> The world’s preeminent linguist Noam Chomsky, and one of the most esteemed public intellectuals of all time, whose intellectual stature has been compared to that of Galileo, Newton, and Descartes, tackles these nagging questions in the
15.
▲
by
thasso
1y ago
Why don't we hear about this happening to people who are equally wealthy in classical (non-crypto) assets? Are they more discreet and harder to make out or are there protections in place at, e.g., banks that limit the efficacy of these
16.
▲
by
thasso
1y ago
For archive formats, or anything that has a table of contents or an index, consider putting the index at the end of the file so that you can append to it without moving a lot of data around. This also allows for easy concatenation.
17.
▲
by
thasso
1y ago
What’s the limit on how much wood we can produce? I hear people say using wood is good for carbon capture, but trees take a lot of time to grow, no? If we started using 2x to 10x the amount of wood as we did before, wouldn’t we deplete our
18.
▲
by
thasso
1y ago
I’m really fascinated by hypervisors but I struggled to find resources when first trying to get into them. Would love it if someone could point me to more content like this.
19.
▲
by
thasso
1y ago
Systems languages have these weird semantics to allow writing performant low-level code and abstracting over the hardware at the same time (unsafe Rust too, check out its memory model for example). This doesn’t make any sense. Either you wa
20.
▲
by
thasso
1y ago
> The worst part about uninitialized variables is that they frequently are zero and things seem to work until you change something else that previously happened to use the same memory. This is not the whole story. You're making it s
21.
▲
by
thasso
1y ago
I agree that zero-initializing doesn't really help avoid incorrect values (which is what the author focuses on) but at least you don't have UB. This is the main selling point IMO.
22.
▲
by
thasso
1y ago
You can do lot's of the same things in C too, as the author mentions, without too much pain. See for example [1] and [2] on arena allocators (which can be used exactly as the temporary allocator mentioned in the post) and on accepting
23.
▲
Writing a BIOS bootloader for 64-bit mode from scratch
(thasso.xyz)
260 points
by
thasso
2y ago
|
80 comments
24.
▲
Show HN: I spent 6 months building a C debugger as a 17-year-old
(github.com)
393 points
by
thasso
3y ago
|
129 comments