serpent7776(25)•in #hacktoberfest•87 days agoComparing images with AVXThis is a submission for the 2025 Hacktoberfest Writing Challenge This is the first time I heard about hacktoberfest - a month-long initiative in October that e...120$1.70serpent7776(25)•in hacktoberfest•87 days agoComparing images with AVXThis is a submission for the 2025 Hacktoberfest Writing Challenge This is the first time I heard about hacktoberfest - a month-long initiative in October that e...120$1.70
serpent7776(25)•in #c•189 days agoSignal safety and why should you careUPDATE 2025-07-25: Clarified async-signal safety in context of boost::asio::signalset UPDATE 2025-08-12: Mention sigaction as an alternative to signal. Thanks t...82$2.89serpent7776(25)•in c•189 days agoSignal safety and why should you careUPDATE 2025-07-25: Clarified async-signal safety in context of boost::asio::signalset UPDATE 2025-08-12: Mention sigaction as an alternative to signal. Thanks t...82$2.89
serpent7776(25)•in #dev•203 days agoSnowflakes and other UUIDsIn software projects there's often a need to assign a unique identifier to a data record or entity so that it can be distinctly recognised. Aside from sequentia...1131$33.52serpent7776(25)•in dev•203 days agoSnowflakes and other UUIDsIn software projects there's often a need to assign a unique identifier to a data record or entity so that it can be distinctly recognised. Aside from sequentia...1131$33.52
serpent7776(25)•in #linux•234 days agoLD_PRELOAD explainedEDIT 2025-06-09 Added libSegFault example as suggested by Jeremy from include. LDPRELOAD is an environment variable on Unix-like operating systems that allows u...152$9.05serpent7776(25)•in linux•234 days agoLD_PRELOAD explainedEDIT 2025-06-09 Added libSegFault example as suggested by Jeremy from include. LDPRELOAD is an environment variable on Unix-like operating systems that allows u...152$9.05
serpent7776(25)•in #announcement•331 days agoPublish your first Hive Adventure gameHello fellow adventurers, Today I'd like to announce an important update to the Hive Adventures platform, the place where anyone can create their own choose-you...90$0.80serpent7776(25)•in announcement•331 days agoPublish your first Hive Adventure gameHello fellow adventurers, Today I'd like to announce an important update to the Hive Adventures platform, the place where anyone can create their own choose-you...90$0.80
serpent7776(25)•in #announcement•386 days agoPlay your first Hive adventure nowHello fellow adventurers. I'm building a hive-adventures, a platform that allows users to create, play, and share CYOA-style text-based games. Last time I descr...1$0.00serpent7776(25)•in announcement•386 days agoPlay your first Hive adventure nowHello fellow adventurers. I'm building a hive-adventures, a platform that allows users to create, play, and share CYOA-style text-based games. Last time I descr...1$0.00
serpent7776(25)•in #hivedev•439 days agoSynchronising hive-adventures with Hive blockchainHello fellow adventurers. Today I'd like to get a bit more technical and describe how the hive-adventures will synchronise its data with the Hive blockchain. Th...90$2.57serpent7776(25)•in hivedev•439 days agoSynchronising hive-adventures with Hive blockchainHello fellow adventurers. Today I'd like to get a bit more technical and describe how the hive-adventures will synchronise its data with the Hive blockchain. Th...90$2.57
serpent7776(25)•in #hivedev•470 days agoTry your first Hive Adventure nowHello fellow adventurers! I'm working on a choose-your-own-adventure (CYOA) text game creation platform built on Hive. If you haven't read it yet, here's the pr...50$0.52serpent7776(25)•in hivedev•470 days agoTry your first Hive Adventure nowHello fellow adventurers! I'm working on a choose-your-own-adventure (CYOA) text game creation platform built on Hive. If you haven't read it yet, here's the pr...50$0.52
serpent7776(25)•in #announcement•514 days agoIt's time for adventure, a Hive adventureIt's adventure time, but not any adventure, a Hive Adventure! I'd like to announce the project I'm currently working on: a new choose-your-own-adventure (CYOA) ...4415$2.77serpent7776(25)•in announcement•514 days agoIt's time for adventure, a Hive adventureIt's adventure time, but not any adventure, a Hive Adventure! I'd like to announce the project I'm currently working on: a new choose-your-own-adventure (CYOA) ...4415$2.77
serpent7776(25)•in #cplusplus•604 days agoComparing C++ range libraries for filter+reverse case with non-trivial lambdaEDIT 2024-06-04: Fixed issue with flux implementation, thanks to tcbrindle for catching this. EDIT 2024-06-24: Removed extra allocation from ranges libraries im...83$1.73serpent7776(25)•in cplusplus•604 days agoComparing C++ range libraries for filter+reverse case with non-trivial lambdaEDIT 2024-06-04: Fixed issue with flux implementation, thanks to tcbrindle for catching this. EDIT 2024-06-24: Removed extra allocation from ranges libraries im...83$1.73
serpent7776(25)•in #performance•651 days agoMeasuring startup and shutdown overhead of several code interpretersI used the hyperfine tool to measure the overhead of startup and shutdown of several code interpreters. Each interpreter was invoked with an empty string for ev...1913$1.94serpent7776(25)•in performance•651 days agoMeasuring startup and shutdown overhead of several code interpretersI used the hyperfine tool to measure the overhead of startup and shutdown of several code interpreters. Each interpreter was invoked with an empty string for ev...1913$1.94
serpent7776(25)•in #postgres•730 days agoThe performance cost of pl/pgsql exception block in PostgresOne of the languages that Postgres offers for writing stored procedures is pl/pgsql. One of it's features is exception block that is used to catch errors raised...73$2.22serpent7776(25)•in postgres•730 days agoThe performance cost of pl/pgsql exception block in PostgresOne of the languages that Postgres offers for writing stored procedures is pl/pgsql. One of it's features is exception block that is used to catch errors raised...73$2.22
serpent7776(25)•in #christmas•767 days agoMerry ChristmasMerry Christmas The above was generated by this perl code, which generates awk code, which draws the tree: perl $ e= '\033'. '[';$clr= '\033[2J';$gg ='\033[1;1H...10$0.00serpent7776(25)•in christmas•767 days agoMerry ChristmasMerry Christmas The above was generated by this perl code, which generates awk code, which draws the tree: perl $ e= '\033'. '[';$clr= '\033[2J';$gg ='\033[1;1H...10$0.00
serpent7776(25)•in #bash•830 days agoRecursive 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=...0$0.00serpent7776(25)•in bash•830 days agoRecursive 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=...0$0.00
serpent7776(25)•in #cpp•835 days agoThe cost of sync_with_stdioIn C++ there's many ways to do a thing. Reading a file contents into a std::string is not an exception. Let's see how different solutions compare to each other....30$0.02serpent7776(25)•in cpp•835 days agoThe cost of sync_with_stdioIn C++ there's many ways to do a thing. Reading a file contents into a std::string is not an exception. Let's see how different solutions compare to each other....30$0.02
serpent7776(25)•in #sml•979 days agoThis Standard ML code compiles and I find it amusingsml datatype ' ~ = && of ' ' | || of ' ' | ! of ' | of ' infix || && fun \ ((\ && $) || (% && ?)) = (! \ || ! $) && (! % || ! ?) | \ ((\ || $) && (% || ?)) = (!...0$0.00serpent7776(25)•in sml•979 days agoThis Standard ML code compiles and I find it amusingsml datatype ' ~ = && of ' ' | || of ' ' | ! of ' | of ' infix || && fun \ ((\ && $) || (% && ?)) = (! \ || ! $) && (! % || ! ?) | \ ((\ || $) && (% || ?)) = (!...0$0.00
serpent7776(25)•in #shell•1005 days agoDiroctory switcher for git managed projectsI 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 a...0$0.00serpent7776(25)•in shell•1005 days agoDiroctory switcher for git managed projectsI 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 a...0$0.00
serpent7776(25)•in #cplusplus•1072 days agoSimple JSON parser in c++, rust, ocaml, standard mlI've written a simple ASCII-only JSON parser in C++, Rust, OCaml and Standard ML. This was done for educational purposes mainly. The focus was to learn some mor...0$0.00serpent7776(25)•in cplusplus•1072 days agoSimple JSON parser in c++, rust, ocaml, standard mlI've written a simple ASCII-only JSON parser in C++, Rust, OCaml and Standard ML. This was done for educational purposes mainly. The focus was to learn some mor...0$0.00
serpent7776(25)•in #cplusplus•1160 days agoA simple ASCII-only JSON parserI've written a simple ASCII-only JSON parser in C++, rust, ocaml and standardml. https://github.com/serpent7776/json-parse Here's some quick stats: Non-empty li...0$0.00serpent7776(25)•in cplusplus•1160 days agoA simple ASCII-only JSON parserI've written a simple ASCII-only JSON parser in C++, rust, ocaml and standardml. https://github.com/serpent7776/json-parse Here's some quick stats: Non-empty li...0$0.00