XXX

fuzzy notepad

Blog

Page 16
Atom feed

[articles] My search history is now full of illegal drug terms

Someone has generously pledged a pile of money and asked me to write about the War on Drugs. Preliminary research reveals that this is not actually anything to do with programming, which confuses and bewilders me, but I’ll give it a try anyway.

My gut reaction is to say “it’s bad”, on the basis of victimless crime and right to private action and all that, but that doesn’t make for a very interesting post, and there are plenty of thinkpieces along those lines anyway. I’ll try to do a teeny bit of research, so I’m not just paraphrasing Wikipedia.

[process] Making Mario

I bought Super Mario Maker a few days ago. I was a little iffy on blowing $60 on a level editor, but I really like level editors, so here we are.

[updates] Mario Maker: Tiny–Huge Island

A953-0000-0055-15BA
Difficulty: medium, has some annoying spots
Quality: ★★★☆☆
Secrets: 🍄🍄🍄🍄

I love any kind of parallel-areas gimmick, and since you can make large versions of basically any critter in Mario Maker, it was begging for this. It’s named for a world in Mario 64, which I played only briefly but found memorable anyway.

It’s surprisingly difficult to come up with puzzles that actually require large monsters, and even harder to come up with ones that require small monsters. In the end, I think all but one of the puzzles can be solved in either world, though one way is always considerably easier than the other. I like alternate solutions, and heavily dislike when game designers add obvious artificial roadblocks to seal off alternate solutions, so I’m fine with this.

There are some places that are a little harder than they ought to be, which is a shame, but it’s my most popular level nonetheless. I’m itching to make a sequel, but this was incredibly tedious to do, because you can’t actually copy anything across areas. All of it was done manually.

[updates] Mario Maker: Spoopy Manor

CA39-0000-004B-FF52
Difficulty: slightly tricky, not in a good way
Quality: ★★★☆☆
Secrets: 🍄🍄 + “secret exit”

Boo houses are cool. Mario Maker adds a Boo house theme for the classic Mario tileset. Awesome.

I tried to make this moderately confusing and weird, as Boo houses ought to be. I think I may have overshadowed that a little bit with some annoying jumps into Boo circles, though. And unfortunately this predates checkpoints, though it direly needs one.

Still, I enjoy playing it just for the strange environment, so maybe you will too.

[updates] Mario Maker: Test Flight

55A7-0000-0049-50DD
Difficulty: tricky, not in a good way
Quality: ★★☆☆☆
Secrets: 🍄🍄🍄

This is my first Mario level, hence the title. It… is not particularly great.

The concept was okay: you start out in what seems like a cheerful easy level, then you suddenly hit a wall. You have to go down a pipe to progress, and surprise! It’s not so cheery any more.

Unfortunately it’s a bit worse than “not cheery”; it’s cramped and kind of annoying. The original idea was actually worse than how it came out — I’d intended that you have to cross the entire second area, get a cape upgrade, and then backtrack without losing the cape. You need the cape to reach the exit, so if you lost it, you were screwed. I found out that you could actually skip all the backtracking pretty easily, and I was relieved enough that I left it in.

Suffice to say, I would do this very differently if I did it again now.

[articles] The sad state of web app deployment

I spent a good chunk of the last four days installing an Internet web forum, which claims it can be up and running in 30 minutes.

I like to think I’m pretty alright at computers. So what went wrong here? Well let me tell you.

[articles] Dark corners of Unicode

I’m assuming, if you are on the Internet and reading kind of a nerdy blog, that you know what Unicode is. At the very least, you have a very general understanding of it — maybe “it’s what gives us emoji”.

That’s about as far as most people’s understanding extends, in my experience, even among programmers. And that’s a tragedy, because Unicode has a lot of… ah, depth to it. Not to say that Unicode is a terrible disaster — more that human language is a terrible disaster, and anything with the lofty goals of representing all of it is going to have some wrinkles.

So here is a collection of curiosities I’ve encountered in dealing with Unicode that you generally only find out about through experience. Enjoy.

Also, I strongly recommend you install the Symbola font, which contains basic glyphs for a vast number of characters. They may not be pretty, but they’re better than seeing the infamous Unicode lego.

[articles] Security through misanthropy

I love programming. It’s like playing with Lego — here are some blocks, see what you can build with them.

That sounds a bit less impressive now, but when I was a kid walking uphill both ways, I only had a very generic Lego set where all the pieces were cuboids. If I wanted to build a house with a sloped roof, well, that was too bad. I could cheat a little, though, by making several layers in a terrace pattern. It wasn’t actually sloped, but it did the job well enough by making creative use of the tools I had within the constraints I was given. You might call it a hack.

Self-identified hackers will often lament how “hack” now has two meanings and everyone assumes the wrong one. I think there’s really only one meaning, and the “break into computers” sense is a special case. It’s not like breaking into a system is magic, or done by running hack.exe; it’s just a creative use of the tools you have within the constraints you’re given. Like when the constraint is “your username is placed in a string of SQL” and you decide to place a couple quotation marks in your username.

So I’m always a little surprised when programmers don’t get security issues or how to defend against them, because to me, it requires exactly the same mindset as programming. And I suspect the problem is a quiet assumption most people tend to make: no one is that much of an asshole.

That’s not entirely unreasonable. Every stranger you pass on the street could be a hired assassin, but that’s fairly unlikely, and we have punishments to discourage that sort of thing. Ultimately we have to have some level of trust in other people in order to be around them at all.

And yet.

[articles] Frozen peaches, sour grapes

I’ve started and restarted writing this post so many times. I’ve spent a week agonizing over it. It’s so hard to write. There’s so much I want to say, and I don’t know how to say most of it or how to thread it together sensibly or how to draw any useful conclusions.

The hardest part is that I want to give examples — and I have loads in mind — but I don’t want to pick on anyone in particular. It’d be sort of counter-productive, given the subject matter.

I considered abandoning it altogether and just compressing the thoughts into an example-free tweetstorm, which sounded much easier. But it occurred to me I could just do that in vim and call it a blog post, and maybe it would end up less wordy besides. So here goes the somewhat compressed version. Ahem.

Something is very wrong with Internet discourse. It rapidly devolves into being bitter and spiteful and hostile, and this is only becoming more frequent. I don’t know where this is leading us or what to do about it. I don’t know dick about sociology but here are my perceptions anyway.

[personal] I quit the tech industry

This Friday, June 12, will be my last day at Yelp.

I don’t intend to look for another tech job.

Or another job at all.

Ever.

[articles] Text editor rundown

As part of my experiment to monetize my personal brand, or however we’re describing this now, I have a milestone that lets a patron impose a blog topic of their choosing on me. What could possibly go wrong?

And so, this month, Russ brings us:

You should totally write about text editors.

I totally should. I mean, wait, no I shouldn’t. I haven’t seriously used a text editor other than Vim for years.

Thankfully this was a moderately vague request, so here’s what I’ve done: I’ve subjected myself to all these hip shiny text editors that I haven’t been bothering with and taken notes of my initial impressions. I only had a few hours to devote to each, so this won’t really be a fair comparison… but you know, life isn’t fair, so eat your peas and do your homework.

[articles] I stared into the fontconfig, and the fontconfig stared back at me

Wow! My Patreon experiment has been successful enough that I’m finally obliged to write one post per month, and this is the first such post. Let us celebrate with a post about something near and dear to everyone’s heart: fonts. Or rather, about fontconfig.

fontconfig is a pretty impressive piece of work. If you’re on Linux, it’s probably the thing that picks default fonts, handles Unicode fallback, and magically notices when new fonts are installed without having to restart anything. It’s invisible and great.

And unfortunately once in a great while it’s wrong. There is no common GUI for configuring fontconfig, so you’re stuck manually editing XML configuration files — for which the documentation is atrocious.

Lucky for you, and unlucky for me, I have twice now had to delve down this rabbit hole. Here is my story, that others may be saved from this madness.

[articles] Just enough Git to be (less) dangerous

Do you just hate Git? Are you perfectly happy with Mercurial (or, yikes, Subversion) but once a month you have to brave Git because everyone and their damn dog is now using GitHub? Are you vaguely aware that about half of all Git commands will probably delete all your work forever, but you don’t know which ones and you don’t want to spend three weeks poring over the documentation?

Good news! I wrote you this amazing Internet post. I hope I can mash just enough Git into your face that you will be less likely to set things on fire, and also less terrified that you might set things on fire. This should also be enough to make the Git documentation a little more comprehensible; it’s extremely thorough, but also overwhelming and nonsensical if you haven’t already read half of it.

I’m trying to keep this brief but also potentially useful to people who have never touched version control at all, so there are some 101 bits sprinkled throughout. Fear not! I don’t actually think Mercurial users have no idea what a patch is.

[articles] Sylph: the programming language I want

Creating a programming language is apparently all the rage these days, and it’s got me thinking about what I would really like to see in one. I’m starting to suspect the things I want are either impossible or mutually incompatible, so I’d better write them down and let smarter people tell me why I can’t have everything and also a pony.

I’m strongly influenced by my love of Python, my aversion to C and C++, my fascination with Rust, and the bits of Haskell I understand. I very recently read an overview of Nim, which is part of what got my juices flowing. Also I have a lot of fond memories of what Perl 6 could have been, so, fair warning.

This is a brain dump, not a linear narrative, so some of this might be mutually referential or causally reversed or even complete nonsense. Please pardon the dust.

[process] Starbound airlock

Starbound is a 2D exploration and building game currently in development. Yes, yes, it’s like Minecraft, except 2D, and with actual art, and fun.

A recent update added wiring (or perhaps upgraded it into being useful?), which lets you wire anything into anything. A notable feature of Starbound’s wiring over Terraria’s or Minecraft’s is that logic gates are actual objects, not emergent behavior. So you don’t have to build everything out of goddamn NANDs. Also, the wires aren’t physical objects; they’re just straight lines connecting an input to an output, they take up no space in the world, they don’t participate in any form of collision detection, and they appear on a separate layer that you only see when you’re using the wiring tool.

There’s not a whole lot you can do with the wiring in Starbound yet. The devices you can control are, for the most part, lights and doors. Other players can just destroy anything you build, anyway. So it’s really only useful for visual effect right now, much like everything else you can build.

Still, there are a couple mechanisms of interest. Last night I built an airlock, and while it’s not an astounding feat of electrical engineering, I thought it was an interesting enough problem that someone else might enjoy reading about it. So here I am, blogging for once. I hope you’re happy.

[personal] Eevee gained 2269 experience points

Eevee grew to level 28!

I’m a bit late; my birthday was on the 12th. Oh, well.

I don’t know what to say about 2014, really, so let’s just start typing and see what happens.

  • Bought the house, finally divorced myself of the old one. Paid half of it off.

  • I made some (one and a half?) ZDoom maps. I first got into the ZDoom community over a decade ago — I found articles on the ZDoom wiki with my own edits in them from that long ago — and only now have created a map that’s actually playable. By which I mean it has an exit.

    In the course of doing this, I also wrote a bunch of patches for SLADE, the editor I’m using and the only one that really exists for Linux.

  • I released a couple more tiny modules on PyPI: cgettext, classtools.

  • I actually got my dream roguelike, flax, to the point that it’s playable.

  • I started trying to draw, on and off, again. I’ve recently gotten in the habit of doing a little daily comic, since my partner is doing the same.

  • I learned Inform 7 and wrote some of a text adventure. I also made a whole lot of aborted attempts at writing fictional prose for my partner’s Flora universe; it turns out fiction is hard, maybe.

I feel like I’ve grown a lot, but I can’t quite explain how. I tried a lot of things I haven’t really tried before, and they’re all informing how I think about things now. I don’t feel like I have a lot to show for all of them, though. Hm.


For once, I’m also considering what I would like to do this coming year.

  • Write more. I only wrote six posts last year! I blame this mostly on my emphasizing this as a “real” blog — I’m now unsatisfied with posting anything that isn’t as long and informative as, let’s face it, the PHP post. I need to knock that off. Back in my LiveJournal days, I once wrote a post every day for a month; perhaps another such month is in order.

  • Do a bit more with this domain. Ever since I bought it, I half-intended to also host separate pages for things I’ve made, and I don’t mean just cramming them onto a single “projects” page. I don’t know what form this will take yet, but as long as the domain is actually my name, I’d like for it to be something that more accurately reflects me.

  • Finish a game. Probably not flax, but hopefully this text adventure. It would be great if I had a website where I could host a text adventure, too… hmm…

  • Write a book. Or at least a significant chunk of one. I have a lot of ideas for a programming book (series?).

  • Make money. I have a salary from a “real” job, of course, but I would really like to prove that I could someday support myself with my own endeavors. Any of the above are possible candidates.

Only five things in a year. How hard can it be?

[articles] Maybe you’re just not very funny

Jeez. Seems like everyone’s outraged over something these days.

Take for example this guy:

Why don’t you try focusing your civil unrest at something that dearly needs it, like the fact that today the Israeli air force struck a school with a missile killing 10 people, most of which were children. I suppose you’re all ok with that, as long as the missile didn’t call the school ‘retarded’ first, right? … I encourage you to look at yourselves and think about what really matters.

He’s outraged that people could ignore his pet issue in favor of something he doesn’t think is important. God, why can’t he shut up about it and go on with his life like everyone else?

So, the clown above is “jontron” (some YouTube celebrity, famous for playing video games or something?), who only recently appeared on anyone’s radar because of this exchange:

The quote is from his Twitter response, in which he doubles (triples?) down on the use of the word “retarded”. It also contains this bit:

My job as a comedian is to make people laugh and feel better about their lives.

Ha, get it? I’m laughing and feeling better about myself because at least I’m not retarded, like those peop— err, like the PlayStation 4. What a knee-slapper!

Along with various other comedians who have recently become outraged over discovering that not everything they say is comedy gold, jontron is missing what actually happened here. When I read the above sequence of events in order, I see:

  1. Some Internet funny man makes a joke that hinges on the word “retarded”. That’s kinda gross. But a lot of people do gross things sometimes. Alas.
  2. Funny man responds to polite criticism by throwing the same word back in the face of the person who asked him not to use it.
  3. Funny man responds to resulting crapstorm by going on about the REAL problems in the world, which he doesn’t talk about either. Oh, and then he thought maybe a Hitler joke would show how hilarious he is.

Look carefully. What happened immediately before the mention of a crapstorm? It wasn’t the use of the word! It was the part where he responded to “hey this is a sore spot for me” by punching the other person right in the sore spot. Because that’s when he shifted from maybe, accidentally, being a bit of an asshole… to conclusively and deliberately being a total asshole.

Why? What’s the fear here? That if you break the flow to say something serious like “Oh, my bad” or even “I’m aware but I’m not willing to stop” or even just nothing, you’ve failed at being funny? Here’s a hot tip: if someone is upset at what you said, you already fucked it up, at least for that person.

Because, here’s the thing: you can tell jokes about horrible and tragic things. It really is possible. The trick is that they only work if the audience finds them funny; otherwise, you’re just being horrible. You take that gamble when you decide to go for that flavor of joke. If you lose the gamble, it doesn’t mean everyone else is super sensitive; it just means you lost the gamble. Or maybe you’re not as funny as you think you are.

He also did an interview in which he quadrupled-down, with gems like this:

I can guarantee you, without naming names, that every big YouTuber or Hollywood celeb that apologizes for saying a ‘bad word’ does NOT mean it 99 percent of the time. It’s all public relations nonsense. Unless something truly hateful is said in an definitively hateful context, like in the case of Michael Richards at the Laugh Factory, I would take their apologies with a grain of salt.

See, he didn’t double down and aim a slur directly at another person. He doubled down and aimed a slur directly at another person. It’s completely different, and that’s why he’s way better and doesn’t deserve any of this. Also, even if he did apologize, he still wouldn’t mean it, and no one else does either, so there, neener neener, he still wins.

Way to make me laugh and feel better about my life!

But maybe there’s a good reason for all this. Maybe there’s a good reason this guy decided to repeat his failed joke, rather than turn the failure into a better joke. Maybe there’s a reason he defends “retarded” as though he literally can’t imagine how to tell jokes without it.

Maybe he’s just not very funny.

Sorry, bro. But don’t take it out on everyone else when you suck at your job.


This is, of course, something of a running theme. Jim Norton, the man who had plastic surgery to get his frown permanently etched onto his face, semi-famously went on a TV show to debate the merit of rape jokes with a token feminist, and subsequently earned the world record for saying “free speech” the most times in ten minutes.

He was right, of course: he is perfectly allowed to joke about rape all he wants. No one is proposing we make it illegal. But maybe, hey, uh, could you think twice before cracking jokes about things other people are sensitive to that you only personally experience via other people’s jokes?

Again, you’d think Jim literally cannot find anything to tell jokes about besides rape. Why else would he go on national television to argue why he really really really needs to be allowed to tell rape jokes?

Hey, speaking of Jim Norton, I got this awesome fan tweet from him earlier:

. @eevee You don’t tweet enough. You should weigh in more often because you say such important, interesting things.

Thanks for the shoutout, Jim! I’ll be sure to let you know what I think more often. But you replied to the wrong tweet. This is what I said to you:

i’m reminded of Guy Who’s Really Offended When Not Everyone Thinks He’s Really All That Funny, @JimNorton

True to form, Jim was offended enough that he felt the need to supertweet1 a complete nobody to his third of a million followers. Damn. You really need to learn to take a joke, Jim.


To round out the trifecta, today I also bumbled upon an article in Playboy written by Gilbert Gottfried, in which he advises his readers to not apologize for being offensive, and also calls them all cunts. I’m led to believe that latter part is funny, because it has a naughty word in it.

He summarizes:

Ninety percent of my speech was devoted to making jokes about Anderson’s vagina and whether it would ever be tight again. …

… Afterward, when the show was over and everybody was shaking hands and pretending not to be pissed off, Anderson gave me a hug and whispered in my ear, “I hate you.” That’s all she said. She didn’t demand an apology or tell me she was going to ruin my career. All she said was “I hate you.” And that was the end of it. …

Do you have the same emotional maturity as somebody with gigantic fake breasts whose main cultural contribution is running in slow motion on the beach?

Perfectly reasonable. Why can’t we be subtle and mature about these things? There’s no need to, I don’t know, get a two-page article published in a magazine with five million readers when you’re offended over something. Exercise some discretion!

Like Jim Norton, Gilbert Gottfried is a comedian who chose to make a name for himself being “controversial”, which is a cutesy way of saying “offensive”. Now, when it turns out some of their jokes are offensive, they get outraged at the people who have the audacity to not find them funny. How dare these Internet people! Why can’t the entire world just sit and be quietly uncomfortable, like the audience members I want them to be? Don’t you know who I am?

The funny thing is that this article has an entire paragraph of self-deprecating Jew jokes. It might be the only funny part of the article. Because when someone makes jokes about themselves, there remains a shred of empathy, of shared understanding of a tragedy. Someone in this conversation actually knows what the experience of being a Jew is like, and we can laugh at his ha-ha-only-serious jokes together.

That’s pretty different from jokes about recent tragedies, or serious handicaps, or rape. With the self-deprecating Jew jokes, “Jewish” is the setup. With those other things, the terrible thing is usually the punchline. There’s no empathizing there: it’s just playing Mad Libs with problems you’ve never had to worry about.


If you didn’t notice, I’ve been calling these people “offended” or “outraged”. Let me drive that home, because it kinda grinds my gears.

Why, exactly, is it “outrage” when someone finds a joke distasteful, but not when the comedian takes that reaction personally? It’s still a person feeling something was a personal slight, or that something broke social rules, or however you want to define these terms. But the writhing masses are outraged, whereas I guess the poor celebrities only have righteous fury, which is funny beause I’m pretty sure “rage” and “fury” mean basically the same thing.

This leads to some really fucked-up interpretations of events, too. Earlier on The Twitter someone hypothetically defended jontron to me, essentially saying “maybe he reacted poorly because people yelled at him”.

Well, wait, hang on. Even if they had, who fucking cares? Presumably those people thought using “retarded” as a joke was super fucking rude, so why would yelling at a rude person be inappropriate? And if it is, why doesn’t that apply to him?

This is a recurring pattern, I don’t understand it, and it’s complete bullshit.

  1. Person A does some dickish thing, possibly directed at person B.
  2. Person B calls out person A for it.
  3. Multiple onlookers rush to admonish person B for being so rude.
  4. Why aren’t you yelling at A? And how are you idiots not being rude as well? What the fuck is going on here?

If you only ever harp on “nice” people to stay nice 100% of the time, you’re giving assholes a free pass to be assholes. That makes you an asshole. Knock it off.


OK that’s all I got and I am bad at conclusions. Also honestly I only wrote any of this to see if Jim Norton will reply to me again.


  1. you know, the opposite of subtweet, i.e., reply to someone with junk in front so all your followers see it