I made another game for #LD51, this time with a friend doing the art. It's still written in F# and MonoGame and the code's still pretty bad (3 days to write it please understand) but I think it turned out much better than last time. https://t.co/2yrVArMHOE https://t.co/yQqfeqAHW4
Parser combinators are cool because they can work at many layers of abstraction. I was writing a parser and decided to split it into a lexing and a parsing phase to make it easier to deal with whitespace and I can just use the same functions for both.
The moment when the tower is struck down is obviously when you start measuring the performance of your parser and in your despair you decide the only option is to scrap it and rewrite it in recursive descent style.
You load twitter and it just looks normal, but the scrollbars scroll the other way. You reload and now the timeline is sideways and the tweets are now florps. You reload again and now every action has a delay of 353ms. You reload again and now it just looks like zombocom.
An AB tester's dream: infinite different implementations of infinite features being picked and shuffled and shown to an infinite number of users over an infinite period of time.
I found out about this hackmeeting event that's going to be in my town next month from ddevault's blog and I think I'll drop by, maybe it'll be a good occasion to meet some people with similar interests AFK.
Ok turns out it IS doing the right thing, Firefox's icon is just encoded in a format that not many image viewers can open. I guess I'll test it on a few more executables and I'll see whether I have to write a parser for this fucking thing as well.
Racket macros are very nice once you learn how to use them. I'm writing a PE executable parser for reasons and after writing a bunch of macros I ended up with an almost declarative description of the file format.
The real solution is to realize that Ruby is installed on the server and to write a small HTTP server that lets me upload a file and writes it to some place on the server. Corporate security absolutely #blasted gg nore
A funny problem: I am given a server to deploy a service, but it is only accessible through a horrible contraption involving a Windows VM, RDP, and PuTTY. I can get files from my computer into the Windows VM, but not from the Windows VM to the server. How do I deploy?
One solution could be to just copy and paste the files from my computer into vim on the server, and for the binary files convert them to base64 and decode them on the server, but the server binary converted to base64 may push the limits of the Windows and RDP's clipboard.
Wasm is terribly verbose, though I guess that's what you get from having a tiny spec. At least you can still write the text format with sexps to make it a bit more readable rather than just having a long column of instructions like your usual assembly languages.
The forth implementation is now called STRENGTH because forth kinda sounds like forte in italian which means strong, and also Strength is the name of this character from Black Rock Shooter.