Oh, I got hot sause all over my bazito!

You know what this is? It's a brain sucker. You know what it's doing? Filing its tax return

If you wish to make an apple pie from scratch, you must first invent apple pie

The Adventures of Little Ed Brave

Tell airport security your name is McCannister because you can hide anything in a cannister.

You know what? Nobody notices when this changes anyway.

There are 10 types of people in the world: Those who understand binary, and STFU

What happens in a black hole stays in a black hole

The black hole draws you inexorably inward. Time slows. You are likely to be eaten by a grue.

I'd diddle little umdidlie... if she weren't my half-sister.

Abortion prevents pedophilia. In more ways than one!
Get Firefox!
I wrote a haiku

which I was about to share,

but then I thought, "screw it."
Level 1

Notice to all users of the Holodeck:

There are safety protocols in place that cannot be deactivated without the approval of two commanding officers or the captain to protect users of the Holodeck from potential harm. However, every time the Holodeck is ever used in a nontrivial manner, no matter what the safety protocols say, the Holodeck turns into a deathtrap.

Unless you believe yourself to be adept at constructing a forcefield from your communicator and 19th century Earth tools, or you're at the very least not wearing a red shirt, you are strongly advised not to attempt to use the Holodeck until a designer comes up with a safety protocol that doesn't kill you whenever somebody looks at it funny. Even when you're not on the holodeck. Or in the same quadrant. Or time period.

In fact, if you are wearing a red shirt, Starfleet may not be the job for you

Ed

Category: Programming

Pages: << 1 2 3 4 5 6 7 8 9 10 >>

Interviewery

Permalink 03/21/08 at 08:54:36 am, by Ed, 269 words   English (US)
Categories: Work, Games, Programming

So I went to an interview at Concrete Software on Wednesday. It's a small company, only six people. They basically make games for cellphones and blackberries. Not a bad option, let me tell you. I hope I do get that job. One of the things I had to do in the interview was change code based on previous code from a game they quickly explained to me. After trying out the game really quick, I realized it's basically Connect-4, except using a generalized approach of having to get a shape the game specifies instead of four blocks in a row, and you don't have to drop boxes. The shape I saw was:

*-*
-*-
--*

So you basically have to put your pieces in that shape on the board and make sure the computer doesn't. The first part of the test was really simple stuff like change the size of the board (change the value of two constants) and add a new tile type (Bonus type; simply add a new constant value).

The second part was much more interesting. A char[] was passed in, and the function had to reverse the order of the words in-place in the array. For example, "I am a duck" would become "duck a am I". It took a bit of thinking, but I eventually figured it out, and it was a rather interesting problem that I actually enjoyed solving. How weird is that?

In other news, I'm still engaged, and people should post comments on the wedding blog before Bridget becomes disinterested in it and all of my work becomes for naught.

Permalink 03/11/08 at 05:31:30 pm, by Ed, 52 words   English (US)
Categories: Programming

Holy Crap! A completely new design!

(That's a lie. It's not completely new. But it DID take a lot of updating!)

And even more! There's a new Wedding blog, for those of you who know that Bridget and I are getting married. If you didn't know that... now you do!

Happy day!

Numbers to throw atcha

Permalink 03/07/08 at 09:07:17 pm, by Ed, 464 words   English (US)
Categories: General, Programming

12563

3

2, 3

What do these numbers have in common? They are all part of the post on the FindMyEd blog titled "Numbers to throw atcha".

First: 12563. That, according to Google, is the number of Google searches I have performed. Wow. That's a lot. In fact, that number is probably off by quite a bit on the low side, because I've used Google while not logged in as me, and before I even had a Google account. I started using Google... I don't know how long ago. At least four years ago. Before I started using Firefox, anyway. The oldest item listed on the things I've searched for was "Oblivion Demo" on March 20, 2006. This then took me to www.waiting4oblivion.com, apparently.

I doubt very much that that is in fact the first search I made after a Google account came under my name. I can't really be sure, but March is exactly 2 years ago from now, so maybe they purge data more than two years old, or maybe that's when they started keeping track like AOL did around that time. I don't know, but in any case, 2 years, at 12563 searches, is about 17 searches per day, or about 84 minutes between every Google search for the past two years. Of course, I don't search while asleep, so it's more like only, say, 15 hours a day on computer, which then averages to only 52 minutes between every search.

Okay, the other numbers. Three is the number of genders it takes to procreate if you're a Vissian. I found this interesting in particular, because Conway's Game of Life specifies such rules: If a dead cell is surrounded by exactly three live cells, the cell is born. The only explanation was the necessity of a slave-like cogenitor, of course. Or maybe a wetnurse or something. Whatever.

The other two numbers? Those are the first two numbers after the number 1 that are natural numbers. That's all. Oh, and they're the first two primes, but they're not considered twins, and they're also the number of surrounding cells that allow for continued life, near the beginning of the Fibonacci sequence, the series of numbers that represent the number of divisors of n, the partition of numbers.

The interesting thing to note here is that the website containing the information about these number sequences orders them by ID, and apparently, the "number of divisors of n" (id: 5) was a more important numerical sequence than "numbers" (id: 27). To be fair, these IDs go up to hundreds of thousands, so they're both pretty close to the beginning.

And apparently, in writing this, my search count has increased to 12568. I didn't even realize how often I searched. And I also didn't realize that I must have just taken 2 hours and 36 minutes to write this, if statistics reflect reality.

I'm alive!!!

Permalink 12/01/07 at 06:09:55 pm, by Ed, 294 words   English (US)
Categories: General, School, Work, Games, Programming

Talk about pathetic! I haven't even looked at the blog in about a week! I have just been so busy with other things it never occurred to me to write anything.

I've been programming a Sudoku game for my UI Design class, which looks rather fancy, if I do say so myself. It's been eating up a lot of my time because I'd rather work on it than any of the other things I have to do, so whenever I can't think of anything to do, I just start working on Sudoku again, and leave my homework for another day.

Then I just had to go and reinstall my graphics drivers again. Yes, I know, re again same sentence == redundant, but it really is about the fifteenth time I've done it on this computer. Admittedly, these were new drivers, but it's a good thing, because the old one just stopped working all of a sudden.

It feels like everything is coming up so quickly this semester. It's already only two weeks until the end of classes. How did that happen!? In some sense, I'm glad, because I don't have to sit through my boring classes any more (cf. almost all of them) but that also means I have final projects due in many of my classes (cf. almost all of them... but not the same set). I'm only thankful that my rough draft of my eight-page paper was satisfactory for a final so I don't have to go edit that and submit another one of those. I just have to write a twenty-page portfolio and give a ten-minute pitch for my play which I am sooo not ready for, finish this damn Sudoku game, write a networked white-board application, and live.

Wish me luck.

Ed is 21

Permalink 11/21/07 at 11:44:57 am, by Ed, 53 words   English (US)
Categories: General, Programming

Here I am, 21 and legal. Now give me booze.

Seriously, that's the entirety of the post. Can we move on?

Incidentally, did you know that

for (int i = 1; i < 30; i++)
{
   if (b == 22)
      continue;
   URI b = new URI(new URI("http://www." + new String('b',i) + ".com"));
   assert(b.exists());
}

Causes no errors?

<< 1 2 3 4 5 6 7 8 9 10 >>