The Intellectual Wilderness There is nothing more useless than doing efficiently that which should not be done at all.

2020.01.29 17:27

Erlang: Minesweeper

Filed under: Computing,Games — Tags: , , , , , — zxq9 @ 17:27

I’ve been sick the last two days and utterly uninspired to do anything productive. I’ve instead procrastinated by writing a “minesweeper” clone in Erlang.

Why? I have no idea. I was just sort of thinking of simple desktop classics to mess around with that are de-facto standard to populate a GUI app launcher like Vapor… and several hours later I had this thing. By that point I figured I was invested enough to swap text for graphics, and poof! There we are.

I still need to add win/loss conditions, a wall-clock timer and some kind of score thingy, but anyway, this was actually a much more fun way to tool around on a sick day than I expected and makes me feel just barely less of a dirtbag than I would have been had I wrapped up in bed all day feeling crappy.

I hate being sick. Ugh.


I went ahead and finished it (except for recording scores — does anyone ever look at that since they can’t be sanely shared and aggregated?) and put it on gitlab just in case someone wants to see what a really hasty/disorganized codebase looks like.

It even has settings! Hahaha! “Settings” really being code for me messing around and seeing if I remembered how wxSlider widgets work (turns out I do and they are boringly easy to use).

If I find myself not feeling in the mood and going to the gym is out of the question, I suppose I could do one of these in 3D next time. Seems like “minesensor” would be a slightly more involved sort of game.

People who can do, people who can’t…

Filed under: Computing,Society — Tags: , , , — zxq9 @ 10:20

I get these weird solicitations. “Want to write for the ____ code blog?” and so on. I’m sure that would probably be a good career move if I was looking to get hired away by someone else (the main problem there being that I can’t relocate — hahaa!). But what kills me is that people have so much time to write things other than code.

A: “Want to write [prose] for ____?”
B: “No thanks, I’m too busy writing code for [system].”

That’s the exchange I would expect is most common — except that it is 2020 and it seems that over the last several years people write more lines about writing lines than they write actual code these days (and I don’t mean they are making an effort at impeccable documentation).

Powered by WordPress