Vershun

Here’s something weird: I talk to imaginary people. Sometimes, that is. They’re not really imaginary friends — some of them are complete dicks — but they’re certainly not physical manifestations by any means. It’s more of a drug-induced phenomenon, but with the drug being sleep.

I’ve always been a sleepwalker. I remember a few occasions when my friend’s parents would tell me I came downstairs long after I went asleep, walked around for a bit, and went back to where I was sleeping. It’s fairly typical at that age to sleepwalk so no one really worried too much about it.

My worst sleepwalking event happened at age 11 when I was at a cub scout camp. My dad and I were sleeping in the same tent and when I got up my dad asked me where I was going. “Bathroom,” I responded. I woke up about a quarter of a mile away from camp, barefoot standing on a dirt road.

Sleepwalking fun fact: sleepwalking generally occurs in phase 4 of sleep, a state in which your brain doesn’t retain any memories. When you wake up from sleepwalking, your last memory is of you falling asleep.

The camp was in a forest so I didn’t have a good view of the surrounding area. I knew what road I was on (there was only one road in and out of camp), but the road wound back and forth so I had no landmark to know where I was. So I just ran in the direction I was facing. Luckily, I hit the medical lodge which has staff on it 24/7, and a bewildered teenager drove me back to camp.

Sleepwalking died off during my early teen years. Good thing too, since I was utilizing so much of my energy being an asshole and harboring my general disdain for everything.

So I hit 16 and being to have some trouble sleeping. I develop a mild case of insomnia. Sometimes when I did sleep, sleepwalking returned in a weird, bastardized version.

It all started out pretty mundane. I would sit up in bed and think I was in wrong room (this is the feeling in dreams people sometimes describe as “you know I was, like, in my house but it, like, WASN’T my house… you know?” Special note: if you’re telling me about your dream, that where I generally stop listening). Then I’d “wake up,” realize it was my room, and go back to bed. The whole ordeal probably lasted seconds, and it didn’t happen often, so I chalked it up to stress and sleep deprivation.

So that’s how it was for six months or so. After that, things started to get weird.

My first vivid memory of one of these things is I sat up in bed and saw that the floor was getting wet. A slow stream of water was coming in from underneath my door and soaking everything. I got up and moved everything that was on my floor to the dressers, bookshelves, my bed… anywhere where they wouldn’t get wet (I had a lot of shit on my floor). Knowing that everything was safe and dry, I went back to sleep.

That wasn’t my only experience with water. My poor girlfriend at the time woke up to me looking at her with a worried expression. “Move up a bit… you’re going to get wet.”

People first appeared in my waking dreams freshman year of college. There were numerous nights where I had to tiptoe around a multitude of sleeping bodies. One time I woke up and saw the wrong person in my roommate’s bed. I figured I must be in the wrong dorm room. I was halfway down the hall, in my boxers, before I woke up.

I had a throwing knife stint early in college. In my typical disgusting fashion, I’d throw everything in my pockets out on the floor before collapsing in bed. This particular night I happened to be throwing earlier, so next to my bed lay my beautiful, perfectly-weighted knife.

Have you ever seen The Grudge?

The girl who crawls down the stairs at the end of The Grudge, sounding like a permanent dry heave, stared at my from the top of my closet. Normally in my half-asleep daze, these hallucinations don’t really freak me out… this one was an exception. I grabbed my knife, cocked my arm back (good form for under the covers if-I-do-say-so-myself) and then realized something very bad was about to happen and promptly woke up.

A while later, with the same girl that I was so concerned with staying dry years before, woke up to me staring at my closet. “What’s the matter?” she asked, probably scared to death I was going to attack my closet (she’d heard of The Grudge girl who had taken residence my closet).

“The person in my closet is telling us to leave,” I said.
“What?!”
“Oh… uhh nevermind.”

And I went back to sleep. I probably should have told her it was a dream, but in my defense, I was fucking tired.

People who sleep around me a lot generally got used to these little outbursts. When I went camping with my best friend and old roommate, Doug, I woke up seeing bugs crawling all over our tent.

“There’s bugs all over our tent.”
“You’re doing your dream thing dude.”
“No I’m not. Turn on your fucking flashlight.”
Tired fumbling, light switches on.
“Oh… I was dreaming.”
“God damn it.”

Sometimes it’s a little insulting. One time I was working late and I went into the kitchen to grab a beer and ran into Doug. I asked him a random question I had been meaning to ask him earlier that day. So whatever, I was disheveled, and the question probably wasn’t contextually significant by any means, but I still got a little pissed when he answered, “You’re dreaming. Go back to bed.”

It was the place that Doug and I were roommates in that I had the weirdest series of waking dreams I’ve ever had. I had never have repeats of people; in every waking dream they’re different. Furthermore, I get them rather infrequently. So when the same two people showed up every night for a week, things got a little uncomfortable.

My computer chair always faced my bed when I was asleep. This is because I’d internet a bit (OK, a lot) before I went to sleep, then plant my feet on the ground and reverse pendulum into bed. Every night for a week, I woke up to some guy in the chair, staring at me. Something was very wrong with him… he looked like he was in the first stages of decay (or perhaps just had a touch of zombie flu). A girl, probably around 10 years old, was in the corner of my room, hugging her shins tightly, her face buried in her knees, staring at me. A hole was in the upper part of her forehead. I tried to talk to them, engage them in some way, nothing. They just watched.

I didn’t sleep much that week.

My dreams stopped for a long while. When I was on the road last year I don’t think I had one (thank God). In this new place, however, I’ve had quite a few. I walked out of my room to see a woman reading at my table.

“Hi.”
“Hi.”
Wakeup.

I went clay shooting a couple weeks ago. It was amazing. I talked myself into purchasing a new shotgun the following week. Two days after shooting I chased two guys dressed in black from my living room into my study yelling “GET THE FUCK OUT OF HERE!” I decided firearms aren’t the best thing for me to have laying around the house.

So who knows what’s going on. All I know is although sometimes it’s kinda awkward (try dream walking in a 12 bunk hostel room full of strangers sometime), it’s at least generally pretty entertaining.

But I wish porn stars would take off their wedding rings before filming.

In attempt #23581 to quit smoking, I spent $15 on flavored toothpicks:

Tree Tea Oil Toothpicks









That wasn’t my stupid purchase though.

Tree Tea Oil Toothpicks and Cigs

So I’ve decided to play around a bit for my own giggles and make some swarm stuff.  Emergent behavior is the bee’s knees and I think it will be a lot of fun to code up some visual representations of it.

This is the very first step in the processes.  It’s not quite a “framework,” but more of a template.  Click to activate the ants, slide to change the speed.

You can right click and view source.  The code is very rudimentary and the only slightly interesting part is how the ants decide to move.

var stuckCounter:int = 90;

do
{
	var randomAngle:uint = rotation + ((Math.random() * stuckCounter) - (stuckCounter / 2));
	var randomDistance:uint = Math.random() * 70 + 10;

	var randX:int = randomDistance * Math.cos(randomAngle * (Ant.TO_RADIANS));
	var randY:int = randomDistance * Math.sin(randomAngle * (Ant.TO_RADIANS));
	stuckCounter++;
} while (environment.isObstructionInPath(x, y, x + randX, y + randY));

The code is pretty self explanatory (hopefully), but basically the ant is choosing a random direction within its scope (45 degrees both left and right of it’s current rotation), generates a random distance to travel, and checks with the environment to make sure there’s no obstructions within its projected trajectory. If there’s an obstruction, add 1 degree to the randomizer and repeat. Using randomly chosen angles along with a slow increase in the randomized range helps give a more realistic look of obstacle avoidance than other methods (say, flipping rotation).

I’ll be adding more to this section when I get some motivated down time to play, but this week it’s all about the R&R.

What:  Off-the-wagon AA Meeting
Where:  Alley behind Pat’s Pub
When:  Sunday 3AM
Topic:  This meeting will mainly be for warmth.  Dan said he’ll bring the booze.

What:  Smokers Break Group
Where:  Right outside the building
When:  During the time we should be working
Topic:  We will vary topic of conversation from the latest office gossip to newest cancer treatments.

What:  Consortium of Public School Students
Where:  Karen’s Mom’s Basement
When:  Tuesday after school
Topic:  We will delve into the proper use and handling of handheld firearms.  Moving target practice afterward for interested parties.

What:  Hipster Colloquium
Where:  The local coffee shop.  No, not THAT corporate trash one, the other one.
When:  Jill’s break
Topic:  We’ll pseudo-intellectually complain about important things such as society, government, and foreign affairs.  Other issues that we’re too worthless to ever change will also be discussed.  Toward the end of the meeting we’ll express our overwhelming individuality by discussing obscure music we all listen to and planning new fleeting trends that we all follow.

What:  A Banker’s Dozen
Where:  Central Park (location might be moved to the Plaza Hotel pending a government subsidy)
When:  12 PM, Friday (after hours)
Topic:  Fantastic presentation from some of the leading experts on how to use the government and taxpayer money to profit from a failing business.  This will be followed by an open discussion on new investment strategies, such as buying expired milk for cheap in hopes it turns into Gouda cheese.

So 3-4 years ago I picked up a really neat book on Swarm Intelligence and in it there were a few pages on the Adaptive Culture Model.  I really liked the concept (algorithmically simple and pretty) so I coded up a quick and dirty OpenGL app for it.

Well, for whatever reason, I thought of it a couple days ago and took a day off doing actual work to play with ACM in Flex.

Quick concept rundown.  So basically (from what I remember, don’t quote me) the adaptive culture model describes how information is spread throughout a population, specifically beneficial traits.  I guess an example of this would be success and proximity.  You notice a neighbor being successful, so you incorporate some of their traits into your life in hopes of you being more successful.  This goes from neighbor to neighbor until the successful traits are assimulated into the whole population.  Geography is just an example.  This can also model information spreading through virtual networks and other such fun stuff.

I implemented a quick and dirty presentation of this concept in Flex.  Success is rated by closeness to the target color you choose.  When you click on a couple squares it randomly checks a neighbor to see if it is more successful.  If it is, the neighbor assimilates one of its neighbors traits, which in this case is randomly either the red, green, or blue component.  If the square updates it notifies its neighbors of the change and they go through the same process.

You can change the color while the program is running if you feel like it.  There’s a lot more stuff that’s easily configurable but I got bored of this and am setting it aside for a while.  I’ll release the source when I come back to it later.

 

 

It might take a few clicks for the process to start.  Just select your color and keep clicking; when the queue starts filling up you’ll know.

As few of you are aware, for the past many Mondays I have been playing coed volleyball with a few high school buddies on a team called the Guppies.  For our last game we went out to celebrate the season with some Dairy Queen.  ”Celebrate,” might be a misleading term; we lost every single game we played.  It was less of a victory celebration and more of the kind of celebration one might have when being released from torture.  If you’re wondering, yes I have thought about it, and after deep self-analysis and reflection I have decided that sucking at volleyball is slightly more gay than just playing it.

Good things did come out of it, though.  Like plans for our new movie: Stem Cellz, which features a killer fetus that lassos its victims with its umbellical cord.

He Will Defetus All

He Will Defetus All

We have a few good scenes for it too, but I’ll let them be surprises to you when it hits the big screen.

For production inquires or any other sort of interaction that will land us free money, please contact me.

… Tinkerbell?

Hey Tink!  Where are you hiding?!

 

 

 

 

 

 

FAT.

 

Fin.

Well it’s been forever since I’ve written anything and for some reason I keep getting returning hits so I assume you people want something from me.  So here’s my boring quick-and-dirty post about my life and then things to expect from this site in the future.

For those of you unfortunate enough to talk with me during my existential/quarter-life crisis; it’s over.  I’m now a Nihilist for the most part and I’m loving every second of it.  I love to argue so losing my Athiestic beliefs have opened up a whole new range of debating: specifically the validity of math and science.  I’ve found that by believing in nothing I’m open to experience anything and that has changed my entire perception of existence.  So uhhh… I’m happy and stuff I guess :-B

So I have a couple of jobs now.  Working at ClickFox doing Flex and Java which keeps me busy.  Also working on a site called Vindogle, which should be up fairly soon.  Other than staying busy all the time I have a wonderful gal that I’m quite fond of and I’m excited to finally see Dougie in Paraguay.

 

OK so things coming sometime this year to this site because they’ve been on my list for a while.  I have a few articles that are quarter to half written that I never got around to finishing; I’ll do that.  Also expect some sort of Flash-based data visualization for decentralized distributed computing (that one might take a hot minute).

Anyway, I promise I’ll keep up on this more when I have free moments.

© 2011 Vershun's Brain Dump Suffusion theme by Sayontan Sinha