15 July 2023
|
Lawful |
Neutral |
Chaotic |
Good |
LIBUUID_UUID_LENGTH |
sizeof(uuid_t) |
sizeof(UUID_NULL) |
Neutral |
UUID_LENGTH |
16 |
uuidLength |
Evil |
NUMBER_ OF_ OCTETS_ IN_ RFC_4122_ UNIVERSALLY_ UNIQUE_ IDENTIFIER |
128 / CHAR_BIT |
SIXTEEN |
Originally posted for the Fediverse.
(Continue reading…)
Posted in Technical.
Tags:
C++,
Humor,
Social media import
02 March 2022
Because it came up at work, a recap of Swift pointer nomenclature:
- Unsafe - because it is
- ? Mutable - vs const
- ? Raw - vs typed, puts the specialness of C’s
void *
in its own type
- ? Buffer - knows its length
- Pointer - because it doesn’t own the data
Originally posted on Twitter.
(Continue reading…)
Posted in Technical.
Tags:
Swift,
Social media import
25 September 2019
PRO TIP: the letters in “queue” describe the order elements are accessed.
- queue /ˈkju/: first-in first-out
- queeu /ˈki.ju/: last-in first-out
- quuee /kuˈwi/: general interface, order unspecified
(Continue reading…)
Posted in Technical.
Tags:
Humor,
Social media import