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
Posts
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
DBuzz
Saturday, July 19, 2025 6:29 PM
$ 0.060
2
serpent7776
DBuzz
Saturday, July 19, 2025 2:53 PM
What are some surprising places that might be called from inside a signal handler ...
... that might be a common source of errors? #C #posix #linux #bsd
$ 0.000
0
serpent7776
DBuzz
Thursday, July 17, 2025 3:41 PM
Today's award for stupid software goes to Cursor for messing the codebase after a ...
... single undo operation.
$ 0.132
3
serpent7776
DBuzz
Wednesday, July 16, 2025 8:49 PM
Does #freebsd specifies its async-signal-safe function list and describe signal ...
... safety anywhere? I can't find it.
$ 0.137
2
serpent7776
DBuzz
Wednesday, July 16, 2025 4:38 PM
Current mood: fixing memory corruption by removing a call to ...
... non-signal-async-safe function from a signal handler. #cplusplus
$ 0.140
3
1
serpent7776
DBuzz
Tuesday, July 15, 2025 8:12 PM
Class static methods and variables considered harmful. It's just hidden ...
... globals. #programming
$ 0.000
0
serpent7776
DBuzz
Tuesday, July 15, 2025 3:52 PM
Current mood: Cursor telling me I have a race condition in a function call I ...
... don't even have in my code base.
$ 0.090
2
serpent7776
DBuzz
Monday, July 14, 2025 9:13 PM
$ 0.206
2
serpent7776
DBuzz
Monday, July 14, 2025 6:57 PM
Cursor: "The Makefile modification looks good, but I realize that manually ...
... listing all the asmjit object files might be error-prone and hard to maintain. Let me create a better approach by using a more dynamic method to include asmjit" You don't say
$ 0.168
2
serpent7776
DBuzz
Monday, July 14, 2025 6:25 PM
Is this poor man's way of doing IO effects without implementing algebraic ...
... effects? #zig
$ 0.200
2
serpent7776
DBuzz
Monday, July 14, 2025 4:59 PM
I fixed #neovim's :tab terminal autocmd TermClose * if winnr('$') == 1 | quit | ...
... tabprevious | endif
$ 0.000
0
serpent7776
DBuzz
Monday, July 14, 2025 4:29 PM
Current mood: ... Cursor: Now call THE_CODE Me: Doesn't work, shouldn't I call ...
... THE_OTHER_CODE? Cursor: You're absolutely right! Me: then why the f*** did you tell me otherwise you dumb f*** Cursor: You're absolutely right, and I apologize for the confusion. Me: ._.
$ 0.160
2
2
serpent7776
DBuzz
Friday, July 11, 2025 8:48 PM
Fizzbuzz by hand-crafting AMD64 instructions at runtime in #ocaml ...
...
$ 0.228
2
serpent7776
DBuzz
Wednesday, July 9, 2025 6:01 PM
There's two common methods of generating unique IDs aside from sequential ...
... numbering: UUIDs and snowflakes. This blog post explains both methods. Read it here #dev #programming #database
$ 0.000
2
1
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
DBuzz
Tuesday, July 8, 2025 9:04 PM
#shell #bash #sh
$ 0.027
13
serpent7776
DBuzz
Tuesday, July 8, 2025 7:02 PM
Have you ever had the need for a JOIN on expression other than = ? #sql ...
... #postgresql
$ 0.575
4
4
serpent7776
DBuzz
Tuesday, June 24, 2025 6:22 PM
Announcing pg_snowflake, a #sql #postgresql extension for creating customisable ...
... snowflake ID types.
$ 0.075
2
serpent7776
DBuzz
Tuesday, June 17, 2025 9:20 PM
“All animals are equal, but some animals are more equal than others.” ― George ...
... Orwell, Animal Farm #quote
$ 0.072
3