11 karma · joined April 16, 2014
I wrote my own browser automation scripts to create our own internal patient API. Ended up reducing claim billing errors by a ton and resulted in 6 figures a month in additional revenue.
I eventually made it into the software industry, but things never felt right. I would force myself to focus, changed jobs many times, and generally found it unrewarding.
I finally realized I should be doing what I already knew I was interested in and started making games. The hard part was peeling away the cultural brainwashing that prevented me from doing it in the first place.
Now I can’t believe I ever needed focus hacks. I can enter a flow state the moment I sit in front of the computer because it _matters_ (to me). There are still times when my inner dialogue starts to pester me with negativity, but I remind myself that in my heart of hearts I love what I do.
Do you have something deep down you know you want but avoid because it’s not “the proper thing”?
Specifically, a therapist that cares about your condition long-term. I went through a bunch of therapy apps with very transactional therapy sessions which didn’t get my anywhere. I eventually found a therapist I visit in person a few times a month who has numerous multi-year patients. It’s been an entirely different, enlightening experience.
I used Phaser for the game engine. Both the client and server run Phaser instances. I used React / Redux for the UI (this was a fun use case actually, having both a game and a traditional interface communicating with each other through Redux). The server is written in Node with a simple express server. I wrote a custom game manager that handles spinning up Phaser instances, placing players in them, and shutting down stale ones.
The network architecture is built on a combination of Websockets, WebRTC, and good ol’ HTTP.
Websockets is for all real time communication that I definitely want to go through (casting spells, players dying, etc).
I used WebRTC to handle communication for things that don’t need to come through reliably (game state). It treats the server as a “peer”, but only for the purpose of being able to blast packets back and forth without the overhead of a persistent connection.
HTTP is for general account management, matchmaking, and game creation.
Edit: You’re right, that’s totally a bug. Guess I need to do a better job of cleaning up after a round!
Jokes aside, really good read. I had similar goals of cutting out sleep when I was younger. I'm curious what the authors mood was throughout the experiment. That's the main thing I've noticed when not getting enough sleep. My output may be good, I may feel engaged, but every second of the day is torture.