New

The latest blog posts to take off on Hacker News. 49,211 posts.

Any topic
Any year
12065

How I Made a Heap Overflow in Curl

In association with the release of curl 8.4.0, we publish a security advisory and all the details for CVE-2023-38545. This problem is the worst security problem found in curl in a long time. We set it to severity HIGH. While the advisory contains all the necessary details. I figured I would use a few additional ……

12080

Text showdown: Gap Buffers vs. Ropes

I have been working on a hobby project to reimagine the C core of Emacs in Rust. On this journey, I reached the point where I needed some way to represent the text of a buffer. The simplest approach is to just use a large string or array of lines. However these each suffer from poor performance as either the size or…

12087

MiniDisc Hacking

Most MiniDisc aficionados are aware of unit hacking to gain access to new features. The unit that perhaps benefits the most from this is the Sony MZ-N510, which also comes in the N520 and NF610 variants. The 2001 model R700 can be hacked to add many features of its upscale brother, the R900 , as well as the Type-R…

12090

Calling Rust from Python

I recently watched GOTO conferences' talk Calling Functions Across Languages by Richard Feldman. I’m afraid I have to disagree with using the term 'language' in this context. It’s a no-brainer to call Java from Kotlin or Scala or to call Java from Kotlin. Hence, in the rest, I’ll use 'stack'.