Toots for JoshJers@peoplemaking.games account

Written by Josh Jersild on 2025-01-13 at 04:58

Welp, it's that time again

=> More informations about this toot | View the thread

Written by Josh Jersild on 2025-01-11 at 08:50

hm I don't like how Mastodon happily fully shows my last post about my new blog entry in the timeline, until it grabs the title card and generates the thumbnail for it, then suddenly it's too tall and it hides everything but part of the first line.

=> More informations about this toot | View the thread

Written by Josh Jersild on 2025-01-11 at 08:27

New blog post:

Yesterday I once again fucked up and used Min when I meant Max (a mistake I just. keep. making), so I wrote up how I solved the issue for myself (as well as fixing issues with parameter ordering for Clamp, Lerp, and others that take a range and value)

https://drilian.com/posts/2025.01.10-protecting-coders-from-ourselves-min-max-lerp-and-clamp/

=> More informations about this toot | View the thread

Written by Josh Jersild on 2025-01-10 at 06:53

I don't know who needs to know this, but it turns out "Min" and "Max" are wildly different functions

=> More informations about this toot | View the thread

Written by Josh Jersild on 2025-01-10 at 06:30

Exception thrown at 0x00007FFB466ECD29 (KernelBase.dll) in TestThing.exe: 0x00000000: The operation completed successfully (parameters: 0x6969696969696969, 0x6969696969696969, 0x6969696969696969, 0x6969696969696969, 0x6969696969696969, 0x6969696969696969, 0x6969696969696969, 0x6969696969696969, 0x6969696969696969, 0x6969696969696969, 0x6969696969696969, 0x6969696969696969, 0x6969696969696969, 0x6969696969696969, 0x6969696969696969).

... n .... nice ....

=> More informations about this toot | View the thread

Written by Josh Jersild on 2025-01-07 at 07:19

I only just realized I named something "LambdaParambdaType" and tab-completed it everywhere and I think I'm gonna keep it

=> More informations about this toot | View the thread

Written by Josh Jersild on 2025-01-06 at 10:45

"AI" is a fucking scourge

=> View attached media

=> More informations about this toot | View the thread

Written by Josh Jersild on 2025-01-06 at 10:14

(it's back now)

=> More informations about this toot | View the thread

Written by Josh Jersild on 2025-01-06 at 10:12

=> View attached media

=> More informations about this toot | View the thread

Written by Josh Jersild on 2025-01-05 at 09:33

You know that part of game development where you make, say, the player model better, and now the backgrounds look bad, so you make them better and now the effects are bad, so you fix them and now the player model is bad again?

I'm doing that right now, but with low-level systems

help

=> More informations about this toot | View the thread

Written by Josh Jersild on 2025-01-04 at 08:37

Hotter take add-on: if you believe that code is self-documenting and no comments are needed, randomly generate your names and see if that still holds

=> More informations about this toot | View the thread

Written by Josh Jersild on 2025-01-04 at 08:35

Hot programming take of the evening: variable/function/type/etc names are just luxury comments

Compiler doesn't give a shit what things are called, they're specifically for the devs' understanding

=> More informations about this toot | View the thread

Written by Josh Jersild on 2025-01-04 at 00:06

Back when I was playing around with programming language design I came up with a design for strings that I really liked, and wrote a little thing about it in case anyone else who is also working on a PL design wants to steal it:

https://drilian.com/posts/2025.01.03-parser-stuff-strings/

=> More informations about this toot | View the thread

Written by Josh Jersild on 2025-01-02 at 10:28

Part 2 of "how to emulate fused multiply add" is up!

This one is about 64-bit floats (or, more accurately, the largest float type available to you)

https://drilian.com/posts/2025.01.02-emulating-the-fmadd-instruction-part-2-64-bit-floats/

Turns out there are a lot more edge cases in this one (the kind the papers tend to overlook 🙃

=> More informations about this toot | View the thread

Written by Josh Jersild on 2025-01-02 at 04:47

Honestly given who's going to be in power here in the US in a few weeks, I don't love that 2025 is 45²

It's just bad writing, find a more subtle way of foreshadowing

=> More informations about this toot | View the thread

Written by Josh Jersild on 2025-01-02 at 01:52

In my ongoing quest to copy over the techy things I wrote on cohost, here's my very niche post on how to emulate the "fused multiply add" instruction for 32-bit floats (64-bit one coming tomorrow)

https://drilian.com/posts/2025.01.01-emulating-the-fmadd-instruction-part-1-32-bit-floats/

=> More informations about this toot | View the thread

Written by Josh Jersild on 2025-01-01 at 08:18

Welcome to 2020 Part 5!

=> More informations about this toot | View the thread

Written by Josh Jersild on 2024-12-31 at 12:10

Well shit, looks like I somehow set the RSS feed up wrong, it doesn't seem to have the dates right in my reader.

Does anyone have a good "look at this RSS feed on a local computer" app handy anymore? All I currently have set up is "upload it to the real site and wait a full day for Feedly to notice it updated" and I couldn't find anything super-obvious when I did a search

=> More informations about this toot | View the thread

Written by Josh Jersild on 2024-12-31 at 07:17

One thing I'm struggling with as I'm writing coding articles for my blog is the best way to format code such that it's readable on phone with a minimum of scrolling

maybe it's not really possible because, honestly, it looks like I'm getting ~40 characters per line on my phone which makes for really short lines

=> More informations about this toot | View the thread

Written by Josh Jersild on 2024-12-31 at 06:49

And now I've copied over one of the posts I wrote over at cohost (rip eggbug 😢) about C++17's hex floats and how to parse them if you're trying to read them in some other language (like C#):

https://drilian.com/posts/2024.12.30-c-17-style-hex-floats-and-how-to-parse-them/

=> More informations about this toot | View the thread

=> This profile with reblog | Go to JoshJers@peoplemaking.games account

Proxy Information
Original URL
gemini://mastogem.picasoft.net/profile/109379963330667380
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
357.939639 milliseconds
Gemini-to-HTML Time
4.6042 milliseconds

This content has been proxied by September (ba2dc).