samurai warrier erhu 4 @hrtdemon7 31 5'5" 125 7.5" word lost

🇳🇿🇹🇷
Joined May 2022
archered skeleton retweeted
It really isn’t that deep
archered skeleton retweeted
Play weird games on weird consoles you cowards. #retrogames #retrogaming
archered skeleton retweeted
2022.6
1
119
2
1,217
archered skeleton retweeted
It doesn't matter if Omarchy is a "distro" or not, what matters is the quality of the product. And for anyone with the slightest experience creating reliable systems, Omarchy is garbage.
archered skeleton retweeted
omarchy forks chromium for *ahem* live reloading of themes, btw lmao
24
8
6
483
archered skeleton retweeted
34
333
archered skeleton retweeted
2月
128
4
402
archered skeleton retweeted
TAKA’s DAY #wrcjp #WRC #RallyJapan
1
1,021
1
7,682
archered skeleton retweeted
寒い
24
231
archered skeleton retweeted
Finally got a hard copy of this one.
60
79
9
1,250
archered skeleton retweeted
For today's deep-dive into the dark side of the C programming language, we will be exploiting C's gloriously unsafe memory model to implement an immutable string type which offers shared reference lifetime semantics while masquerading as a standard C string, retaining compatibility with builtin <string.h> routines. On the left is the API for my GblStringRef type, which is part of my libGimbal framework that supports the Sega Dreamcast, Nintendo Gamecube, Sony PSP and PSVita, Windows, MacOS, Linux, iOS, Android, and WebAssembly (and god knows what else). On the right, you can see a little test program that illustrates its usage and behavior. This type of reference-counted string is extremely useful for when you have multiple potential owners of the same string with a lifetime that isn't even necessarily deterministic, because it allows you to share the same heap-allocated dynamic string among many owners and only release the memory back to the heap once ALL owners have released their references to the shared resource. Big C-based frameworks such as GTk's GLib offer such strings, and it can be considered loosely equivalent to a std::shared_ptr<const std::string> in C++ or an Arc<String> from Rust... So lets go ahead and steal this shit for ourselves! How is it implemented? Well, rather than simply calling malloc() with the length of the string to be allocated from the heap (+1 for the NULL terminator), we over-allocate the requested memory chunk to include an additional "header" above the starting address of the string, where we will be storing extra information. Within the header, I personally store an atomic_size_t that serves as an atomic reference counter for thread-safety, along with the length of the string, so we can have it cached and do not have to rely on strlen() to figure it out dynamically. Now, the key is to return the freshly allocated memory segment from the GblStringRef_create() routine to the user at offset where the string itself is stored, not the beginning of the allocated memory segment containing our header, which has now been hidden above it. This means that, from the user's perspective, they can treat the pointer as though it's a regular const char[] array, giving them something that is ergonomic and is compatible with the regular C string routines found within the standard library. Then, when the user calls any other API routines on the string, passing us back the starting address of the character array, we simply subtract the size of the metadata header struct where we stashed our reference counter and string length, to work with the entire allocated segment, behind-the-scenes! When the user calls GblStringRef_ref() on an existing GblStringRef*, we increment its atomic reference counter and return the same pointer back to them. Then, each time they call GblStringRef_unref(), we decrement the atomic reference counter, until it hits zero, at which point the user has released the final reference, and we should free the underlying heap allocation. That's it for today's deep-dive into the dark-arts. Stay tuned for more memory-unsafe, unholy abominations of the C programming language! github.com/gyrovorbis/libgim…
1. download duckstation, run the binary 2. download iso 3. press load iso 4. ??? 5. profit! wow tough i feel my brainstem exploding 2 shots to the back of the head execution style
1
young ppl think stuff like emulation n torrenting requires a PHD in quantum neuroscience with a focus on cryptographic astral projecting
This tweet is unavailable
2
2
You asked and I listened. My first ever game, B.C. Piezophile, now has a tutorial video that answers all your questions. Have a nice day
archered skeleton retweeted
Anyway. Enjoy a lap of night practice at the 2005 Petit Le Mans in the new AMS2 DLC Lola B05/40.
archered skeleton retweeted
teach 'em young
85
971
71
12,441
𝑼𝑹𝑨 𝑻𝑶𝑼𝑹𝑰𝑵𝑮 𝑪𝑨𝑹 𝑪𝑯𝑨𝑴𝑷𝑰𝑶𝑵𝑺𝑯𝑰𝑷
the guys monitoring and tabulating your porn habits really care about u (as a slave)
Palantir CEO Alex Karp on open borders and killing fentanyl traffickers: “If fentanyl was killing 60,000 Yale grads instead of 60,000 working class people, we’d be dropping a nuclear bomb on whoever was sending it from South America. “At Palantir, we are on the side of the average American who sometimes gets screwed because all the empathy goes to elite people, and none goes to the people actually dying on our streets. “When you have an open border, it means the average poor American earns less. “To believe our Constitution does not give us a right to stop 60,000 deaths a year of working class men and women, is insane. This country is right to stop that. To the extent we’re involved in these efforts, I and many Palantirians are proud.”