user avatar
Elan Ruskin
@despair
Using integers & coding performance at @InsomniacGames. Also @despair on the azure ceiling site and @[email protected]
Burbank, CA
Joined December 2007
Posts
  • Pinned
    user avatar
    Normalize checking whether things are true before believing them.
  • user avatar
    All this app needs to do is display 200 characters of locally stored text. How can this operation possibly fail at the loading stage. Why do people program like this.
  • user avatar
    I often wonder, what exactly is it doing in that time? A three second stall is enough time for ten billion CPU operations. What are they being used for? What ten billion calculations are happening between my right click and the context window displaying?
    literally nothing on windows happens instantly. you right click? wait a few seconds. open file explorer? feels like it’s downloading the html from a server on the moon. the notification center? yeah go get a coffee first before it loads in the one (1) notification
  • user avatar
    Also from our #GDC19 tech postmortem: the transition into Fisk Tower in #SpiderManPS4's intro mission. The interior space is much larger than the exterior envelope, and too big to hold in memory at the same time as Manhattan. So we use some careful camerawork to hide the swap!
    00:00
  • user avatar
    Please don't do this. Provincetown has one of the highest vaccination rates in the country. As vaccination rates increase the percentage of cases that are in vaccinated people NECESSARILY increases.
  • user avatar
    Visual Studio stalls for over two minutes whenever I accidentally clicked the "class view" tab, so I used ProcMon to find out what it was doing. It is doing a linear search over a 730GB file. Multiple times. Amazing.
    Screenshot of a ProcMon capture. It depicts devenv.exe doing thousands of ReadFile operations in 8kb increments. The screenshot captures reads from offsets 477,151,232  to 482,213,88.
  • user avatar
    omg games do not need neural networks for any of this. You can do it with a straightforward rules database, procedural triggers, and a writer who knows how to operate Excel. I did a whole talk on it eleven years ago.
  • user avatar
    Replying to @NikaoHill
    Yeah, as it turns out…
  • user avatar
    The "Windows" section of every open-source project's "how to compile and install" file:
  • user avatar
    GIF
  • user avatar
    A teacher friend: "One of my students wants to know: what programs or tools do game designers use?" Me: "Microsoft Excel."
  • user avatar
    I don’t want to have to reboot my machine every time I need to get out of editing a sticky note
  • user avatar
    I liked this video so much, I decided to write up all the bugs in it. Maybe other devs can spot things I missed, or speculate likely causes and assignees. (I've omitted repro steps for 280-character brevity.)
  • user avatar
    This feels like the right time to mention an Easter egg that everyone's passed over so far: these guys don't work on Saturdays!