Aquatic Ape Theory Dream log

Comments

As the ocean levels continued to rise, landmass became more and more scarce. During one particularly bad storm I was hiding out in a friend’s trailer. It was swept out to sea and we were trapped inside.

However, as our lungs filled with water, a curious thing happened — we did not drown. And, instead of floating, we simply remained neutrally-buoyant with the water.

Read more…

Watermarking hotlinked images General Articles

Comments

What’s hotlinking?

“Hotlinking” is where you link to an image stored on someone else’s site without making your own local copy. It’s done a lot by people posting to forums, weblogs, or to social networking sites such as MySpace.

The usual solution to this problem is to redirect them to another (often tasteless) image indicating one’s dissatisfaction with the act of hotlinking. This is a pretty good disincentive from using other peoples' bandwidth; however, I care more about people maintaining attribution, and standard hotlink-prevention stuff simply just causes people to upload a copy of the image to another site and then keep on not attributing it; in this case it’s even worse because if someone were to look at the image’s URL, they don’t see anything regarding where the image originally came from.

One solution is to make a simple image proxy script which adds a watermark to an image, and also logs the hotlinked image.

Read more…

Complete 2 Bad Poetry

Comments

I love you so much fun and I have to be a good day to be a good time to get a new one is the best thing ever is when you have to be a good day to be a good time to get a new one is the best thing ever is when you have to be a good day to be a good time to get a new one is the best thing ever is when you have to

The only thing that would have to go back and the first half of the year of high quality of life and the first half of the day before I get to the first half of the year and the other day I have a great way of the day before the game and I don’t think that I can see it as an excuse for the next few weeks

I’m at a time when the sun goes on the phone to get my money to be able too see it on a Saturday afternoon at a time when the sun goes on the phone to get my money to be able too see it on a Saturday afternoon at least a dozen or the day after day I don’t have the right time and the best way for me

I have to be a good day to be a good time to get a new one is the best thing ever is when you have to be a good day to be a good time

I’m so happy
I’m so excited
I’m not sure how to make it
I’m not going to be the first half of this

I’m so tired
I’m so excited
I’m so happy to be a good idea

I don’t have to go back to sleep
I love you so much better than this
I don’t know what to say
The only thing I would have to be

I love you so much fun and I have to be a good day to be a good time to get a new one is the best thing ever is when you have to be a good day to be a good time to get a new one is the best thing ever is when you have to be a good idea

I’m not sure how much I love you
I’m not sure how much you can
I’m not going to be a great way
The only thing I have to be

Complete Bad Poetry

Comments

The fact I can see it as an excuse
for the next few weeks of a sudden
it was the best of the day
before I get a follow back
on my way home from work
to be the first half of the day
before I get a follow back
on my way home from work
to be the first half of the year
and the first half of the year
and the first half of the day

I have a great way of the year of high quality of life
and the other hand is the only thing that would have to go back
and the other hand is the only thing that would have to go back
and the first half of the day I have a great way
of the year of high quality of life

and the other day I have to go back
and the first half of the year of high quality
and I don’t think that I can see it as an excuse
for the next few weeks of a sudden it was
the best of the day before the end of the year
and a great day for me and I don’t think that I have a good
time with the first half of the day before
the end of the year and a great day for me

and I don’t know how much you mean to you
in a while ago but the first half of the year of high quality
and I don’t know how much you mean to you
in a while ago but the only one that is a good time
with the first half of the day before I go back
and the other day I will never get tired

and the first half of the year and the other hand I don’t think
that the first half of the day I will never get tired
and I don’t think I can get it right

Blather Strata Art

Comments
blather-strata.png

A visualization of my personal blog entries from 2003 to 2014, with the character data mapped to brightness levels and gentle indications of time boundaries, rendering it simultaneously as a geological formation and so much white noise.

Shown at the Seattle Center on Contemporary Art 2014 member show, “Who Are You?”

Peter Wolfe Writing

Comments

Peter, a successful investment banker, lives in Manhattan with his wife Ana T. Day, a commercial actress. One day, Ana is shopping around town when she gets in an argument with someone who takes issue with one of the products she shills (because Ana doesn’t actually use it). Peter’s jealous ex-lover Felix watches them from nearby. Peter, who was on his way to meet Ana for lunch, runs into Felix gets into an argument with him; this raises the attention of Ana, who asks Peter what’s going on. Peter explains, and warns both Ana and the stranger about Felix; they leave.

Peter then sees a news report about a series of murders being perpetrated on Wall Street bankers; his elderly mother calls him with her worries, but Peter says that he has no reason to be afraid, as the NYPD is on the case. His mother raises a big stink, however, and insists that he and Ana stay safe at home. Ana, as it turns out, is having dinner with Felix, trying to understand their past and try to repair what she thinks is a strained friendship (not realizing they were romantically involved), and while they are in the diner, the killer attacks them. Felix gets away, but Ana is taken captive, and only manages to text him “help” (with an iPhone “find my friends” location attached, yay product placement).

Peter tries to leave home to track her down, but finds that his mother has actually informed the cops that he was in danger, and so he is under police protection. He protests with them regarding Ana’s text message; they say they will send an officer to try to find her, but Peter escapes protective custody and tries to find her on his own. En route he runs into young woman who was arguing with Ana before, and asks her for help. Reluctantly, she agrees, using her feminine wiles to seduce the killer before she incapacitates him.

Peter ties up the killer, asking him where Ana is. The killer just cackles maniacally and says nothing; Peter makes the knots tighter and tighter. The police burst in, and separate Peter from the killer and put the killer in jail (and Peter under house arrest). There is a media outcry around Peter’s house arrest, for what if he hadn’t incapacitated the killer and the police had done nothing?

Ana is never found.

Fez II Dream log

Comments

Last night I had a dream that I played a mostly-complete very-playable version of FEZ II.

Since it’s highly unlikely that FEZ II will ever be a real thing, and because I enjoyed this vision of it so much, I think I’ll describe it here.

Read more…

Embedding binary resources with CMake and C++11 Code

Comments

The problem

Let’s say you want to make a single-binary application that has embedded resources (images, GLSL shaders, etc.). Let’s say you want to automatically wrap your resources in a storage container to make it easier to deal with stuff. Let’s also say that you might even be using CMake as your build system.

CMake doesn’t provide a way of making a custom build rule, and using extern data is a little unwieldy. So here’s an easy-ish way to do both parts, making use of C++11 language features (and a scary preprocessor hack).

The C++11 bit is also useful on its own, even if you aren’t using CMake, although things will have to be adapted to your build system of choice.

Note: Back when I wrote this the general compiler ecosystem was different, especially on macOS. If you just want a library that does all this stuff for you in a platform-independent manner, check out this resource embedding script. Or you might be interested in a CMake-only approach for the resource generation and using that in conjunction with the rest of this article.

Read more…

All-purpose bread dough Food

Comments

Here’s the bread dough recipe I’ve been using for a while. I mostly use it for pizza crusts but it’s also great for loaves and rolls and a bunch of other stuff. It’s adapted from the simplest recipes and techniques in Artisan Bread in Five Minutes a Day (affiliate link). There is also a newer edition (affiliate link) of the book although I haven’t seen what’s different in it.

Ingredients

  • 3 cups warm water
  • 1.5 tbsp active dry yeast
  • 1.5 tbsp coarse salt (sea salt, kosher salt, etc.)
  • 4 cups bread flour
  • 2 cups whole wheat flour
  • ¼ cup rye flour

Directions

In a large container (I use one of these food storage boxes (affiliate link) — don’t forget the lid! (affiliate link)) combine the water, yeast, and salt. Wisk until consistent.

Then add the flours and stir until of consistent hydration.

That’s it! Now you just let it rise for a while, and then tear off a hunk of the dough and use it for whatever you want. Keep it in the refrigerator; cover it tightly if you like it to get a beer-like aroma, otherwise leave it cracked open a bit and just make sure you keep on adding enough moisture every few days.

Read more…