Advertisement · 728 × 90

Posts by Тsфdiиg

This is literally how LLMs work

21 hours ago 37 6 2 0
Post image

People often ask me why do I choose to do pre-increments in my for-loops instead of post-increments. The answer is actually very simple. I don't fucking know, stop asking me that.

4 days ago 152 7 9 0

I was annoyed that I had to set two fields instead of one.

4 days ago 5 0 0 0

Check it out! github.com/tsoding/ht.h

4 days ago 22 1 0 0
Post image

I made a Hash Table in pure C that you can just use like this:

4 days ago 117 4 5 1

I wonder how it compares to display tablets 🤔 (never used them, they are too expensive for me)

5 days ago 1 0 0 0

I decided this is gonna be my new profile pic. If you don't like it, well too bad. I already lost the previous one.

2 weeks ago 91 1 6 0

gn

2 weeks ago 5 0 0 0
Post image

Me when I take off my glasses

3 weeks ago 106 3 3 1
Advertisement

What I discovered by letting my normie relatives use my laptop is that if you use Linux with i3 window manager you don't need a screen locker at all.

1 month ago 148 9 4 1

STEM is like LGBT but with nerds.

1 month ago 43 1 6 0

omg this is great! Thank you whoever drew this!

1 month ago 72 3 1 1

OpenSSH is the best git server.

1 month ago 45 3 3 0

Smaller cursor is the system's cursor. The bigger one is the in-game cursor.

1 month ago 3 0 0 0
Video

I've got a simple level editor working for my Software Rendered 3D Game

1 month ago 84 4 4 0

Man I'm watching Tech YouTube videos from ~10 years ago and they feel like a window to such a radically different world. People used to care about shit.

1 month ago 118 5 4 0

I grepped some things around. What I found so far

#no_aoc stands for "no arithmetic overflow check"
#no_abc probably stands for "no array boundary checks", but I'm not 100% about this one.

1 month ago 6 0 1 0
Advertisement
Post image

Cool insight about djb2 hash function from the Hash module that is shipped with Jai

1 month ago 45 0 5 0

Apparently strings.h is a thing. And string.h includes it. 😂

1 month ago 8 0 0 0
Post image
1 month ago 27 0 1 0
Post image

TIL libc provides a weird useless function called "index". I discovered it by renaming a local variable "index" (reasonable name for a variable) and having my code successfully compile but with a warnings saying "dude, you are comparing int to a function". And I was like wtf.

1 month ago 89 5 10 0
Preview
From Emscripten to Wasm Inspired by this video by Tsoding, I've decided to port my game to Wasm with Js bindings instead of using Emscripten to emulate a POSIX environment. I have rewritten the game and engine to be platform...

Inspired by @tsoding.bsky.social I've ported my OpenGL C++ Flappy Bird clone to wasm with HTML canvas, instead of using Emscripten. It was a fun journey making the game and engine platform agnostic.

From Emscripten to Wasm - Flappy Alien
a-nameless-ghoul.itch.io/flappy-gl/de...

1 month ago 18 1 0 0
Video

In a somewhat recent Tsoding stream, I've heard about venation pattern algorithms, and tried to implement one (Runions et al.). You may try it yourself at chalier.fr/generative-a...

2 months ago 17 2 1 0
Post image

Uhm... You mean tablet? Just a cheap Wacom tablet like this one

2 months ago 0 0 1 0

It's ok. You can talk shit about me publicly. I don't mind. I'm huge proponent of freedom of speech. :)

2 months ago 0 0 0 0
Post image

Did this sketch recently. Still haven't found any motivation to color it or whatever. Maybe one day I will. Posting it here just in case.

2 months ago 108 4 3 0
Advertisement

Literally this

2 months ago 1 0 0 0

It's very telling that the bright picture of the future today is called *Retro*futurism.

2 months ago 40 2 1 0
32 - SparrowOS v1.02 Quick Tour (SparrowOS) [2012]
32 - SparrowOS v1.02 Quick Tour (SparrowOS) [2012] YouTube video by Absolute Terry Davis

It is cool! Here is a demo of it when it was called SparrowOS and Terry didn't decent completely into schizophrenia yet, so you can hear the actual thought process behind this awesome OS for Recreational Programming :) www.youtube.com/watch?v=zFJZ...

2 months ago 2 1 0 0
Post image

Somebody discovered my Crust videos 🥹

2 months ago 67 2 4 0