Login
Discover
Waves
Decks
Upgrade
Login
Signup
59
serpent7776
Serpent7776
I like programming languages.
Available
Used
Resource Credits
17 Followers
6 Following
https://twitter.com/serpent7776
February 11, 2022
RSS feed
Blog
Blog
Posts
Comments
Communities
Wallet
Follow
serpent7776
c
Wednesday, July 23, 2025 7:57 PM
Signal safety and why should you care
Responding to signals on POSIX systems properly is tricky and requires handling code to be async-signal-safe. Let's see what this means.
$ 5.780
8
2
serpent7776
dev
Wednesday, July 9, 2025 5:42 PM
Snowflakes and other UUIDs
There's two common methods of generating unique IDs aside from sequential numbering: UUIDs and snowflakes
$ 67.060
113
1
5
serpent7776
linux
Sunday, June 8, 2025 9:15 PM
LD_PRELOAD explained
LD_PRELOAD is a mechanism on Unix-like operating systems that allows loading a shared library before others when a program is executed.
$ 18.095
15
2
serpent7776
announcement
Monday, March 3, 2025 8:56 PM
Publish your first Hive Adventure game
Hive keychain integration lets you publish your first Hive Adventure right from the browser
$ 1.603
9
serpent7776
announcement
Tuesday, January 7, 2025 8:29 PM
Play your first Hive adventure now
A place to play hive adventures is live
$ 0.000
0
1
serpent7776
hivedev
Friday, November 15, 2024 9:00 PM
Synchronising hive-adventures with Hive blockchain
How the hive-adventures will read the game data from the Hive blockchain
$ 5.147
9
serpent7776
hivedev
Tuesday, October 15, 2024 8:18 PM
Try your first Hive Adventure now
Announcing a testing environment to test your hive adventure games
$ 1.036
5
serpent7776
announcement
Sunday, September 1, 2024 9:07 PM
It's time for adventure, a Hive adventure
Announcing the hive-adventure CYOA text game creation platform for HIVE
$ 5.550
44
15
serpent7776
cplusplus
Monday, June 3, 2024 7:39 PM
Comparing C++ range libraries for filter+reverse case with non-trivial lambda
Comparing c++ ranges for a simple filter+reverse case to see which is the fastest
$ 3.457
8
3
serpent7776
performance
Wednesday, April 17, 2024 7:58 PM
Measuring startup and shutdown overhead of several code interpreters
Showcase of using hyperfine tool to measure time of startup and shutdown of code interpreters and plot the results
$ 3.917
191
3
1
serpent7776
postgres
Monday, January 29, 2024 8:37 PM
The performance cost of pl/pgsql exception block in Postgres
Let's check out how much overhead comes from Postgres' exception block usage.
$ 4.438
7
3
serpent7776
christmas
Saturday, December 23, 2023 11:23 PM
Merry Christmas
Merry Christmas
$ 0.000
1
serpent7776
bash
Saturday, October 21, 2023 5:04 PM
Recursive bash function to replace cd ../
This simple recursive bash function replaces cd .. . 1 works like cd .. . 2 works like cd ../../ and so on. . works like . 1. .() { , ${1:-1}; }; ,() { local N=$(($1-1)) C=${1/#0*/cd} D=${1/#[1-9*]/../};
$ 0.000
0
serpent7776
cpp
Monday, October 16, 2023 6:47 PM
The cost of sync_with_stdio
A short summary on the cost of sync_with_stdio when reading from stdin
$ 0.039
3
serpent7776
sml
Thursday, May 25, 2023 7:48 PM
This Standard ML code compiles and I find it amusing
datatype '_ ~ = && of '_ * '_ | || of '_ * '_ | ! of '_ | ` of '_ infix || && fun \ ((\ && $) || (% && ?)) = (! \ || ! $) && (! % || ! ?) | \ ((\ || $) &&
$ 0.000
0
serpent7776
shell
Saturday, April 29, 2023 9:04 PM
Diroctory switcher for git managed projects
I created a directory switcher for the terminal that works for any git managed project. This is a script that creates a keyboard mapping for Ctrl-G that shows all directories in a fuzzy finder (fzy by
$ 0.000
0
serpent7776
cplusplus
Tuesday, February 21, 2023 8:29 PM
Simple JSON parser in c++, rust, ocaml, standard ml
Comparison of simple ASCII-only JSON parser I've written in C++, Rust, OCaml and Standard ML.
$ 0.000
0
serpent7776
cplusplus
Friday, November 25, 2022 5:02 PM
A simple ASCII-only JSON parser
I've written a simple ASCII-only JSON parser in C++, rust, ocaml and standardml. Here's some quick stats: Non-empty lines of code (including tests), time parsing a single ~90MB JSON, time parsing 13 JSON
$ 0.000
0