Always fun buying new domains... Especially when you're extremely excited about the content 🦀

PSA to #rustlang and #linux developers: there is a long-standing bug in the system allocator (glibc malloc) which causes it to hoard large sbrk buffers in arenas. By default, it uses heuristics to dynamically increase the mmap threshold—the point where it switches from using sbrk to mmap. In some scenarios, these larger buffers are never trimmed, causing a memory "leak". Some #libcosmic apps were affected, causing as much as 10-30x memory usage. To fix, see the PR below:

I'm doing a code challenge in Crystal. As someone who with a Ruby background who went on to learn Rust, you might think that it's a natural fit. However, I'm finding it to fall in the uncanny valley between the two - not as flexible as Ruby and not as expressive a type system as Rust, and the two play off of each other when I'm trying to do type gymnastics to get this very Ruby-like language to behave like Ruby.

I think the thing I find most frustrating about programming languages is that there is no standard way to refer to the length of an array.

Python, go: len(array)
Java, JavaScript: array.length
Rust: array.len()
C++: array.size()
C#: array.Length
PHP: count($array)
Perl: scalar(@array) (lmao)
Swift: array.count
Kotlin: array.size

Like, seriously? Can't we agree on just this one thing???

A data hoarder’s dream come true: bundle any web page into a single HTML file. 📦✨

💾 monolith: CLI tool for saving complete web pages.

🦀 Written in Rust!

⭐ GitHub: https://github.com/Y2Z/monolith