You can reuse the same directory for compiling rust intermediate files and use less overall disk space by setting target-dir to a single location, shared between projects.
Recent Updates Page 2
systemd.resource-control
Ever tired of processes OOMing each other?
systemd has a super easy way to limit the memory any service (by cgroup) can consume.
Result<>
enum Result<T, E> {
Ok(T),
Err(E),
}
T is the useful bit, the thing you want.
But what is E?
let blocks
It’s kinda obvious now that I’ve typed it, but the builder pattern in rust can work, even if you don’t expect it to.
let already_initialised = { do_stuff_here() };
resolution
Statically set a very specific resolution for X11.
Continue reading
unwayland
Run programs on wayland that are still visible to capture programs (such as OBS).
Livestreams locally
One of the more popular formats for web livestreaming (unidirectional/broadcast video) is HLS. This is the streaming format used by video services such as Twitch, Facebook Live and Twitter’s Periscope.
async recovery
With the impending release of Django 3.1, we have access to async web views in a widely deployed web framework with a very rich ecosystem.
What kinds of optimizations can we eke out of the system?
Redlock in Ruby
This came in useful today. Setting up a distributed lock with multiple consensus nodes.
How I read code (part 1)
A good codebase is like a story.
It has an entry point, a main routine, and (hopefully) exit conditions.