@tedajax@mastodon.gamedev.place
@tedajax@mastodon.gamedev.place avatar

tedajax

@tedajax@mastodon.gamedev.place

Refuge of https://twitter.com/TedAjax

classically trained computer scientist (derogatory)

I like making video games, I've been doing it professionally for just over a decade and as a hobbyist for almost 2.
Senior Engineer at Bungie
Previously: 343 Industries, Wavedash, Linden Lab

Ajax is my middle name

This profile is from a federated server and may be incomplete. Browse more on the original instance.

eniko, to random
@eniko@peoplemaking.games avatar

did you know coleslaw was apparently invented in the netherlands? who knew!

tedajax,
@tedajax@mastodon.gamedev.place avatar

@eniko I'm going to just start assuming every advancement involving mayonnaise was started in the Netherlands unless given evidence to the contrary.

tedajax, to random
@tedajax@mastodon.gamedev.place avatar

Gonna start referring to myself as a classically trained computer scientist

tedajax, to github
@tedajax@mastodon.gamedev.place avatar

Old dead github project with ~70mb of assets in LFS in it started getting mass downloaded rapidly last week blowing through my LFS bandwidth limits.

Lesson learned, no LFS in public repos but what's really concerning is that it took 5 days to respond to my support ticket about this.

matadan, to random
@matadan@mastodon.social avatar

Lua's lightweight nature means it does not have a ternary operator such as ?: like in C. But we can write a simple function to do it:

local function choice(c, t, f)
return ({
[true] = t,
[false] = f
})[c]
end

local s = choice(2 % 2 == 0, "even", "odd")

Here the choice() function simply constructs a table with true and false keys and uses the condition c to select t or f to return.

tedajax,
@tedajax@mastodon.gamedev.place avatar

@matadan it actually kind of does have a ternary operator. You can rewrite your choice function like this:

function choice(c,t,f)
return c and t or f
end

mcc, to random
@mcc@mastodon.social avatar

I wanted to listen to a song so I tried to follow Bandcamp's directions for setting up Chromecast but that did not work so I tried to listen to the music using Plex but it did not work. The Apple TV sits by the tv, silently laughing at me for my failure to use nothing but authorized Apple hardware and software and re-purchase it every 4 years, which is what would have been required for it to do anything at all to help. Maybe later I'll ask my wife, who has a recent macbook, to play a song for me

tedajax,
@tedajax@mastodon.gamedev.place avatar

@mcc This feels like reading about how kubernetes is now deployed on fighter jets.

eniko, (edited ) to random
@eniko@peoplemaking.games avatar

I dont talk about Twitter on here anymore because I feel like at this point anyone who is still sticking around mastodon will have stopped using Twitter. I suppose I could be wrong though?

tedajax,
@tedajax@mastodon.gamedev.place avatar

@eniko mostly just watching the handful of people I still care to follow so I can find them on other platforms when they finally jump ship.

mcc, to random
@mcc@mastodon.social avatar

At a point in my life where if I see a computer program on Github and it's like "no binaries, you just build it with Cargo" I download and build it but if it's like "no binaries, you just build it with cmake" I'm like I guess I didn't really need to run this program after all

tedajax,
@tedajax@mastodon.gamedev.place avatar

@mcc I can't help with the rust question but I can say that vcpkg has dramatically simplified windows dev for me.

eniko, to random
@eniko@peoplemaking.games avatar

i am working on gui for kitsune tails and I AM UNHAPPY

tedajax,
@tedajax@mastodon.gamedev.place avatar

@eniko @oblomov I usually implement ordered dictionaries like that as just a list of keys and list of values (flat map?) that is kept synced on insert and remove. Then you need a version of binary search that gives you the index of the element or the index of where such an element would go if it existed (not sure if List.BinarySearch handles this like std::lower_bound)

  • All
  • Subscribed
  • Moderated
  • Favorites
  • megavids
  • everett
  • Durango
  • mdbf
  • magazineikmin
  • InstantRegret
  • rosin
  • modclub
  • Youngstown
  • slotface
  • thenastyranch
  • cubers
  • kavyap
  • DreamBathrooms
  • JUstTest
  • khanakhh
  • GTA5RPClips
  • osvaldo12
  • ngwrru68w68
  • normalnudes
  • cisconetworking
  • Leos
  • ethstaker
  • tester
  • tacticalgear
  • provamag3
  • anitta
  • lostlight
  • All magazines