Posts by JoshJers@mastodon.gamedev.place
(DIR) Post #B46m2egGdrGB6JmdNY by JoshJers@mastodon.gamedev.place
0 likes, 0 repeats
@lethalbit nooo my high watermarks
(DIR) Post #B4Ay8n14XVRwlz2ucC by JoshJers@mastodon.gamedev.place
0 likes, 2 repeats
This area is only 1/10th as mysterious as some of the other, more famous areas
(DIR) Post #B4IA4duF1n1KusMLUu by JoshJers@mastodon.gamedev.place
0 likes, 0 repeats
What would you call an array of numbers where each pair of floats is a complex number, i.e:real0, imaginary0, real1, imaginary1, ...
(DIR) Post #B4QMOyfCJcJlngStY8 by JoshJers@mastodon.gamedev.place
0 likes, 0 repeats
@lethalbit last one I did, I tracked the indices of every line start in a separate table, and then the absolute text span for every token in units and code points (which should have been grapheme clusters instead)On occasion when I needed a line number it just became a binary search in the line start indices list and then column is just the count off of thatWas less fiddly than tracking all those values per token
(DIR) Post #B4RZwVr5QIwqrSJ6I4 by JoshJers@mastodon.gamedev.place
1 likes, 0 repeats
@Ronflaix oh wow that is a terrible/amazing use of the comma operator to one-line a thing that would need braces and a temporary name otherwise.
(DIR) Post #B4hSYcogId0gLpCfB2 by JoshJers@mastodon.gamedev.place
1 likes, 0 repeats
FINE I'll leave my skin on when I sleep
(DIR) Post #B6CGNkoJ6mCGD2LqHw by JoshJers@mastodon.gamedev.place
0 likes, 0 repeats
@lethalbit every fucking time 🤬