Programming and Administration
-
Drew Olson ☛ Gleam is Pragmatic
I’ve spent the past several years working with functional programming languages in my free time – primarily Haskell and OCaml. I love both languages but also find aspects of each frustrating.
Haskell is terse and elegant with type classes providing a powerful mechanism for ad-hoc polymorphism. However, it can also be confusingly implicit and I personally find lazy evaluation to have more downsides than upsides.
-
Rlang ☛ Is round(0.5) 0 or 1?
We see this quite a bit, because in most cases, the software you use at the level of business doesn’t make much of a difference.
But what happens if you “produce different results by the software used?”
-
Karl Seguin ☛ TCP Server in Zig - Part 1 - Single Threaded
In this series we're going to look at building a TCP server in Zig. We're going to start with a simple single-threaded server so that we can focus on basics. In following parts, we'll make our server multi-threaded and then introduce polling (poll, epoll and kqueue).
-
Karl Seguin ☛ TCP Server in Zig - Part 2 - Message Boundaries
Personally, if you are making up your own protocol, I'd recommend going with a binary-encoded fixed-length header which includes both a message type and a payload length (like PostgreSQL). It's simple to implement and can be efficient to read and write.
The rest of this series is not going to focus on message boundaries. The point of the series is to look at the mechanics of writing a TCP server - threads and sockets and such. Still, I've often seen newcomers to network programming struggle with this this topic. Hopefully, this overview was worth the distraction from our core focus.
-
Rlang ☛ Second edition of Geocomputation with R is complete
We are excited to announce that the second edition of Geocomputation with R is (almost) complete. It took us about three years to update and improve the book. This blog post summarizes the process and lists things we added and changed.
-
Rlang ☛ An Easy Puzzle: The Perplexed Banker
Nina Zumel continues with the puzzles. This one is “The Perplexed Banker”. In my opinion, this one captures the essence of the “mathematical” aspect of a puzzle. For a mathematical puzzle one often hopes there is a systematic method that makes the puzzle easy.
-
Ansible/sysadmin
-
LinuxBuz ☛ Ansible apt_repository: Add Repositories on Ubuntu/Debian
The apt_repository module in Ansible allows you to manage APT repositories on Debian-based systems. It lets you add, remove, or update software sources on remote servers.
-
LinuxBuz ☛ Ansible Archive Module: Compress Files and Directories Remotely
Compressing files and directories is common in system administration.
-