Aintaerjection

Liberalitas, Crudelitas, Insanitas
Work · Play · Photos · Musings · Projects · About

Why I Will Never Use Emacs

Imagine editing a text file is like opening a bottle of wine.

It gets the job done

This is vi.

 

With all sorts of extensions!

This is Vim.

 

A monstrous mess

This is Emacs.

Unfortunate Sex Chat

So one fine night as I’m sitting shirtless on the floor, a very persistent person keeps trying to add me as a chat contact, completely interrupting the game of Civilization I was losing at. Unfortunately for this lady, I am very bad at not being an asshole and she is barking up the wrong tree. Here then, is the log of our chat.

(9:56:55 PM) susannelutjensa482: well hello
(5:57:02 PM) Alex Lee: Hello there
(5:57:04 PM) Alex Lee: Who is this?
(5:57:17 PM) susannelutjensa482: what ya want to talk about on this fine day?
(5:57:29 PM) Alex Lee: First of all who you are and how you found me
(5:57:37 PM) susannelutjensa482: im feelin sexy today..i had a nice relaxing bubble bath and i just put on a sexy silky teddy i bought yesterday and i gotta say i love how it looks do u like sexy things like that?
(5:57:49 PM) Alex Lee: No.
(5:57:58 PM) Alex Lee: I prefer to read technical manuals.
(5:58:05 PM) susannelutjensa482: i could turn my cam on if u wanna take a look? i kno we just met but that just makes it even more exciting, maybe we could have a little naughty web cam fun and u could make me feel even sexier?
(5:58:08 PM) Alex Lee: Naughty technical manuals.
(5:58:19 PM) susannelutjensa482: k I set my cam up through a chat network to make sure i aint playing with kids.. Im a very naughty girl but im not totally sick…U have to be 18 to play on this awesome site!
(5:58:42 PM) Alex Lee: If you could write a regular expression full of backreferences and negative character classes that would turn me on.
(9:58:52 PM) susannelutjensa482: Ready to see me??? Click this link http://www.icandychat.com/i=***** or if that dont work copy and paste it in ur browser and let me know when the page loads for ya
(5:59:21 PM) Alex Lee: Okay I’m not clicking that, now you either start coding in python or I’m leaving
(5:59:31 PM) susannelutjensa482: Dont worry its free just verify your age…this is the best FREE video chat site around and its in real time NO lags!
(6:00:05 PM) Alex Lee: I don’t want to watch video or chat, I want to write closures.
(6:00:13 PM) susannelutjensa482: k just click on the >>>BIG HEART<<< with the timer in it, fill in ur info to verify ur age and make sure ur email is rite to get ur password and go ahead and click continue
(6:00:29 PM) Alex Lee: No I don’t think that actually gives me what I want.
(10:00:37 PM) susannelutjensa482: Hurry babe…My pussy is getting juicy for u…cc info is for age verification ONLY you will NOT be charged see where it said that? and then we can play. Its a free lifetime membership just like it says, I had to do it too
(6:00:43 PM) Alex Lee: Maybe if you were a wizard…
(6:00:46 PM) Alex Lee: Are you a wizard?
(10:00:53 PM) susannelutjensa482: if u have a cam u want to add to the site i can help u with that once u log-in and let me know when u get ur user name and password. only takes a sec Make sure u use that to login with and type it exactly as they gave it to ya
(6:01:14 PM) Alex Lee: No no no, wizards wouldn’t need my username or password. They would just know.
(6:01:25 PM) susannelutjensa482: sexybeats is the password
(6:01:46 PM) Alex Lee: No obviously the password is brethren.
(6:01:58 PM) susannelutjensa482: sexybeats is the password
(6:02:09 PM) Alex Lee: Can it be brethren?
(6:02:20 PM) susannelutjensa482: R u in yet
(6:02:25 PM) Alex Lee: If you were a real wizard you would change it to brethren for me.
(6:02:32 PM) susannelutjensa482: Once ur logged in click live webcams and find my pic or search for my user name >>> sexyfuck and click on it to video chat with me
(6:02:40 PM) Alex Lee: Or maybe verdant. Yeah that’s a nice password.
(6:03:47 PM) Alex Lee: Oh man maybe even verdantbrethren, that’s like TWO wizards in one!
(6:04:52 PM) Alex Lee: Hello?
(6:05:29 PM) Alex Lee: No don’t leave me, I need my wizarding password or I’ll never get into Hogwarts!

Project Arduomo, Ep 2

I have a confession to make: ever since I moved to New York, I’ve never had a good set of tools. Taking this opportunity as an excuse, I made my roommate wonder what this constant influx of boxes portended as I went on an entirely justified and completely necessary shopping spree for LEDs, resistor packs (500 for $10!), vise, blindingly bright LED lamp, wire cutters/strippers. Did I mention tri-colored LEDs? One can never truly have enough.

Box of goodies

(As George Takei) Oh myyyyyyyyy!

The vast majority of the tools I actually got were from Ladyada’s electronics toolkit from Adafruit. And because of my plan to make sounds with the Arduino, I also got the wave shield kit. At first I was pretty hesitant about the fact that it was a kit and not actually a fully assembled thing: I’d never really  soldered on a PCB before; But everybody starts somewhere, and after almost branding myself three times by dropping the soldering iron, the thing was done!

Fully assembled Wave Shield

Most of the joints aren't completely atrocious! Most of them...

The Wave Shield, along with every other kit sold by Adafruit, comes with pretty complete instructions on how to assemble it. The soldering process was mostly painless except for the highly unfortunate position of resistor R6. While it looked fine on the silkscreen, the actual IC for the buffer is slightly longer than the silkscreened shape and won’t sit flat with R6 in the way. In the end I had to desolder the resistor and put in a new one, making sure to push it out of the way of the IC. Making the joint look good, however, was a lost cause.

Arduino Wave Shield

Blue, meet Green.

Since the wave shield is an Arduino shield, connection is as simple as plugging the thing on top of the Arduino board. However, the pins coming out the bottom of the 3.5mm jack had to be clipped quite short to make a good fit for the Arduino.

According to the specs, the wave shield uses pins 10-13, along with pins 3-5, leaving me with digital pins 6-9 (only 6 has PWM), and all 6 analog input pins. At maximum, I have enough pins for 9 inputs and one PWM output.

Arduino Wave Shield assembly

Mission Complete!

All that is just the hardware side of things, though. I have yet to test it to see if it actually works… or find a 1W 8 Ohm speaker to drive. Next time, I guess!

Project Arduomo, Ep 1

About a year ago, my good friend Jay built me an arcade stick for playing fighting games. Acquiring a stick is pretty Serious Business™ in the fighting games community. Jay, being an enthusiast himself, did not disappoint and handcrafted my design into a beautiful stick.

The Stick

Jay's handiwork

Even though the stick is great, I had bigger ideas than having just a stick. When the stick was being made, I requested a third button on the side, in addition to the standard “Start” and “Select”: a “Win” button. The Win button, when the stick arrived, didn’t do anything. It wasn’t attached to any part of the internals.

Stick internals

Win button is the third down on the left side

Originally I had tried to get a simple sound recorder from RadioShack. However, the sound quality and overall flexibility of the thing was extremely poor. That green wire you see attached to the ground of the Win button is the last remaining vestige of that experiment.

After sitting on the idea for a while, I finally decided that if I was going to do this, I am going to do it proper. I.e. with an Arduino. So I got an Arduino Uno from the wonderful folks at Adafruit Industries (where, because of their location in downtown Manhattan, every delivery is a 1-day delivery for me).

Arduino in action

The most important lesson one learns from an Arduino: More LEDs = better

The idea of course, is to use the Arduino to drive a DAC that will play selectable audio using the Win button (possibly in combination with other buttons). And, if there is space/power left, massive LED strips for a rave party with every Win.

Stay tuned for the next episode!

Felyne Figurine Friend

It arrived! After my friend @ochentiocho alerted me to the Monster Hunter Felyne figurine, I immediately required it for my continued existence. Then one fine Saturday, a rather disgruntled mailman banged on my door.

Let’s see what’s in this here box…

My you are looking swell.

Of course being of Japanese packaging, every conceivable opening was sealed with tape. It is almost as if they thought Scotch was duct tape or something.

I like everything about this except the parts of my life when I didn't have it.

Eventually I was able to get at the goodies inside with the aid of Mr. Knife.

The best part is the complete lack of instructions.

Look at that kitty, so happy. HE HAS NO QUALMS ABOUT TOSSING BOMBS AT MY ASS WHILE I’M CHARGING MY GREATSWORD THOUGH.

All the parts

Yes you must decapitate the kitty for the greater good.

The kitty comes with three sets of eyes: normal, smug, and I-see-money. How racist of you, Japan. Anyway, at this point I thought the kitty’s head must be detached in order to put on the Rathalos armor. Pro-tip: no it doesn’t. Things that are supposed to be removable include: hands, ears, eyes. Inside the plastic bag are two more hands, both with indents in them so they can hold the sword. The way you actually put on the armor is by disassembling the armor.

The armor and helmet can be split into pieces and reassembled back on the kitty, so that is what you should do instead of what I did which was to remove the head and try to stick that into the helmet. At this point I realized the whiskers were in the way, but fortunately those were also detachable. Rather annoyingly, the eyes are detachable but there’s no easy way to pop them out, so you just have to pick at them until they come off.

Your clothes... give them to me, nyow.

The helmet is actually in three pieces. The front piece must be taken off to separate the left and right pieces. The side pieces attach sideways to the head at the ear slots. The armor is simpler. The front and back pieces separate after a bit of teasing. Don’t try to remove the arms to put on the armor, that will break the arms. Though the tail can be removed, the armor’s tasset has a slot in the middle for the tail. On the stand, however, it does not leave a lot of room for maneuvering.

Now that's just wrong.

DISREGARD THAT. After I figured out all the pieces are supposed to stay together and it was the armor that should be disassembled, things went along quickly. Smug kitty is smug!

Press ◻ to embark!