Confess

I have to confess.

I’m too lazy. I should be working on finding a co-op position for the summer. Last year, my cousin was in the same position, and he didn’t find one. He left it till too late. I sneered at him behind his back.

Earlier in the year, last quarter, I was fired up and raring to go. I started doing research over Christmas break. I had sent out 7 resumes by mid-February. I was far ahead of my classmates. I got positive replies from several employers, and an interview from one. The interview yielded a job.

That job must have really burned me out, because I haven’t sent out another resume since then. The indifference of man who hired me, his lack of communication with me, the disinterest of the other employees in my department (they didn’t even introduce themselves, after 2 months), and finally, their failure to deliver my final pay check left me angry and disillusioned with a company that I had admired.

Far from daydreams about high paying jobs with prestigious companies, like I was, I now consider whether I should go back to my old job washing cars this summer, or maybe shoot a bit higher and try to get a job assembling bikes.

What brings me joy these days:

I still love writing code. As aggravating as it is, as lost as I feel, when I finally get something to work the rush is incredible. I love it when I know what I’m doing, fall into a groove and sit there banging out code for hours. Or when a problem gets stuck in my head, so I think about it in the shower in the morning, on the bus to school, during the lectures, and finally solve it in the lab after several hours of wrangling. The green bar in a JUnit test is probably my favourite thing in the entire world right now.

Programming is my passion. But am I good enough? When build something on my own I don’t have much success. One job I applied to involved a lot of PHP. It’s a company called Radar Hill. I really want to work there, it sounds brilliant. I like PHP too, despite the constant house-of-cards feeling I get when I code in it. But they use the Cake framework, which they say is easy to use. Well, I’ve been trying, off and on for months, to get the stupid thing running on my computer. Can’t. I’ve tried half a dozen times, made some progress, but have not yet even gotten to the point where I can actually write and install code. I’m still trying to figure out why the .htaccess files don’t work.

The internet says that the CakePHP documentation is pretty bad, which fires up in me the desire I feel every time I encounter incomplete docs, to fix them and make them right.  I could be a technical writer pretty happily.

I can chuck it and build wheels instead. I love building bicycle wheels. I may regret the lost time for awhile, but I always bounce back to happy. Instead, I’ll slog through, gasp with joy every time I see that green bar, try to motivate to build something, try to will myself to look for a job.

I don’t feel hopeful. Only bloody minded determination.

 

How To Use Compression Ratios

An automobile manual will provide you with a list of numbers about your car or motorbike. One of them is the compression ratio. In the case of of my KZ 305 LTD, that number is 9.5.

The number that my compression tester gives me is 145 psi in each cylinder of the motorbike engine. Uh derp, what do I do with that?

Well, it turns out that atmospheric pressure is about 15 psi. 145 psi divided by 15 psi makes 9.6666. Rad! That means the engine works!

School Again

Back at school for my third semester of Computer Systems Tech. I’m taking a moment on my lunch break to reflect on what, if anything, I learned last semester.

1. PHP. This is an interesting language. The constant feeling that you’re building a house out of string and twigs, and if you change the wrong thing it will collapse – and you can’t be sure what’s the wrong thing. Yet somehow I got top marks on all the exams? Makes no sense. I want to FEEL as if I’ve mastered it, not just outwardly appear so.

2. Database queries are not nearly as hard as I once thought, once you have a couple examples to work with. Normalization, on the other hand, never really made sense to me.

3. I am capable of extraordinary things under pressure. Not necessarily my best work, but good enough and on time, when I thought all was lost. On the other hand, the rest of my life suffers. Laundry and dishes go unwashed, appointments are forgotten, and my sometimes brusque manner gets worse.

I’m running low on money and questioning whether taking a part time job was a good decision, or if the company is a good fit. I get distracted by motorcycles and I’m still not as social as I want to be. But the semester is off to a good start and nothing major has actually gone wrong yet, even though I always feel as if disaster is lurking nearby. We’ll see.

Trying to Make a jQuery Gallery

Edit: I figured it out. Here’s a tutorial that helped me.

Here’s my post about some further adventures.

 

I’ve got my little website, you’ve probably seen it if you’re reading this.

All the HTML and CSS skills they taught me in school went into making it look nice and modern, but of course if you look close, you’ll realize that it’s not significantly more complex than your basic 1996-era Geocities site. Better colour scheme maybe, and even that is a matter of opinion.

So I want to add some upgrades. The first one I have in mind is a nice gallery display page to show off the projects that I’ve been working on. It’ll be pretty thin at first, since this is, in fact, the project I’ve been working on, but never mind. I’m getting there.

This is the jQuery plugin I wanted to use: Lightbox, by the obviously brilliant Nick Stakenburg. As you can see by his examples, you click the thumbnail or text or what have you, and up pops a lovely lightbox to showcase the pic on it’s own. Then you click away, it’s gone, awesome. These are all over the internet these days, so of course I thought, how hard can it be? I download the download, pop it open, do some copy pasting, check that my url paths are alright, and hit F5. Nothing.

Everyone says jQuery is super easy to use, but I’m clearly at a more advanced level of dumb than everyone else.

I’m still working on it, and once I get it sorted I’ll post up a tutorial for the intelligence-impaired, like myself. In the meantime, if anyone wants to give me a hint, please do!

Here’s what I did:

Have website folder called Website.
Have php file called projects.php within Website (it’s just html, I haven’t added any php yet.)

Have pics in folder, one is called Cars.png.

Go to Nicks page, click big friendly Download button.

Unzip file.

Take scripts, css, and examples file out of archive.

Copypaste in the scripts from this page.

Check to make sure the paths are all correct.

Paste this in:

Result: The text “Show image” as a link, which links to the image, without a trace of lovely lightbox effect.

What’d I miss?

 

 

 

Setting Up a Public Authentication Key in Terminal

I just did this, and I don’t want to forget how. This explains how to set up a public authentication key and make it executable

First, create your public key. Open the terminal. Navigate to the directory where you want to keep your key. You will have to run your key from this folder once you’re done. In my case, it’s Users/MyName

Now, enter:

It will ask you where to store the key – hit enter for the current directory. You will be prompted for a passphrase. Hit enter if you don’t want to use one, then hit enter again to confirm.

You should see:

Then a string of digits that are the digital representation of your public key, and some neat ASCII art that is a visual representation of same.

Next, upload your key to your server with scp:

Enter your server password when prompted.

You’re good to go. Now you can connect with ssh like so:

And it won’t bug you for a password. But that’s still kind of a lot of typing. Let’s make this an executable.

Disconnect from the server with:

Create a text file using vim:

Type ” i ” to get into insert mode, then:

Next, make it executable.

Done deal. Now you can run this command:

And you will connect to the server without any further fuss.

Leadership

In school, we sometimes get group assignments. Someone always becomes the leader of the project group, and it’s usually me.

It’s always an organic process – there’s no election, or special “Boss” hat that I seize by force. But when the teacher says, “Team leaders, come to the fornt and sign up for demos”, everyone always looks at me.

The person who ends up as team leader is not the most charismatic, or the smartest, most hardworking student. The don’t have any special “leadership quality” that they’re born with or acquire through demonic pacts. They are just the person who has a clear vision, a sense of direction, and most important, the willingness to take responsibility for the project, whether it succeeds or fails.

That’s usually me. I don’t know how it happened – back in high school no one even invited me to join their project groups. I was the kid who ended up doing the essay option instead of working with a group. Something changed along the way, and I think it was when I gained a sense of direction. Now that I know what I want to do with myself, I’m very aggressive in pursuing my goals.

However, when it comes to space, it’s tougher. I want to get out there, I want to help other people get out there, I want to make money off it and at the same time I want to make everything as open-source and egalitarian as possible. My head is a mess of contradictions, and though my desire is strong, my vision is vague and muddled.

I’m looking for a strong leader – not a charismatic, clever person, but someone with a clear vision, and the willingness to take responsibility for success or failure. Eventually it might be me, but right now I’m looking for someone else.

Space Is For Whatever You Want

Robert Zubrin has asked, how much is an astronaut’s life worth? The answer according to NASA turns out to be about 5 billion dollars. That was the justification for deciding not perform some repairs on the Hubble that would extend it’s life for another 10 years or so.

To clarify – the Hubble cost 5 billion dollars. The total price of all the training and other investment that NASA and the US government have put into the 7 person crew that could repair it, was around 67 million. But they were worried that the astronauts would be lost, and so it wasn’t worth it

In the comments on Hacker News, people point out that NASA is a political agency, and if they go around blowing up astronauts all the time, they will become very unpopular. That makes sense.

Fortunately, measuring human life in dollars is what massive corporations are best at.

We have to get business into space. People who are against space travel frequently say that there is no scientific value to be gained from putting humans into space. As if that ends the discussion, or something. The whole point of science, though, is to benefit humans. EIther by satisfying our curiosity, or more important, by improving our lives.

Going into space for the sake of science is ridiculous. It’s the other way around: science is for getting us into space.

Space is for making money. No, that’s wrong. Space is for doing whatever you want! 12 miles offshore is international waters – no government can convict you out there. Space is like international waters, but with better weather, no seasickness, no pollution, no gravity, unlimited free solar power, and an entire universe full of resources, so long as you’re the first to get to them.

Yes, you could make money. You could also make unsafe rocketships and fly them very, very fast. You could start your own nation based on your theory that money is evil and trade should be based on makeout skills. Whatever you want. Space is opportunity.

A Business Model For The Music Industry

Suppose an artist records an album and makes it available for free, under Creative Commons. People will share it, remix it, whatever they like. The artist won’t make any money.

But, if people like it a lot, they’ll want more. So to get the next album, they can pay. The artist’s website will have a payment button and a picture of a piggy bank. When the piggy bank is full, a new album will be released.

If the artist can’t hold up their end of the deal and come up with 10 more songs, they can consider it payment received for the first album. Eventually people will stop giving them money, and that’s all the cash they will ever get for that particular work.

Ideally, this model will allow an artist to produce albums and make enough of a profit to live a standard middle class lifestyle, and copyright concerns will no longer be a part of the picture.

It will also encourage them to make more albums while they are young and angry, and to retire when they become old and lazy.

I know SOPA was last week, but I’m still thinking about it. I just watched this. People at Ycombinator are talking about killing Hollywood, and I’m thinking about that too. I’d rather offer solutions than complaints, so here’s mine.

The Most Interesting Thing About Me

We were doing some stupid networking exercise in school the other day, and I guess I decided to be kinda mean, and kinda have fun with it. I put a guy on the spot, barely talked to him once before that day, and said, “What’s the most interesting thing about you?”

He said what people normally say when I ask them that – “I dunno, I’m not that interesting I guess…” That answer is normal and expected, but I’m still disappointed when I hear it. So I gave the only logical response, and called him a fucking liar. We’ll probably be good friends, next time I run into him.

I realize it’s a pretty mean thing to do, putting someone on the spot like that. So here’s my answer, and, by the way, the RIGHT way to answer the question, if you ever get it.

It’s tough to answer that when I’m on the spot like this. Different people are interested by different things, so it’s hard to say. But here’s one thing that you may find interesting.

When I was 18, I decided to buy a motorcycle. I didn’t have a license, hadn’t so much as sat on a motorbike before then, but it seemed like a good idea.

A friend drove it home for me, and another friend showed me how to turn it on. The first time I rode it, I made it about 20 meters in a straight line, then tried to turn.

I was not successful. I rammed it into a brick wall.

This is the way I do things, though – bite off more than I can chew, attempt things I’m not capable of, break stuff, hurt myself, keep trying and eventually succeed. And THAT may be the most interesting thing about me.

So, I had this idea that even though I’m not an engineer or an expert on anything at all, maybe I could do a blog about space travel, and inspire something. It’s a ridiculous idea, it will probably come to nothing, and it may make me look like a foolish blowhard to any future employers who stumble across this blog.

But right now, it’s all I can do, and hopefully anyone who reads this will be able to understand my passion, and why it is so important to get off this planet. If I hurt myself and break stuff in the process, it’s an accepted cost.

 

Earth Sucks

I think life on earth is just about played out. There all these people working in boring jobs so that they can afford to buy shit, and all these companies trying to produce more shit so they can sell it to the boring people. I’m not interested in buying shit or selling it, so where’s  my place in this world? I don’t think there is one.

My dream is colonies on the moon and mars, with new governments that are struggling to survive, so much that they don’t have time to interfere in people’s lives. There are a billion opportunities out there for people who weren’t born lucky in the first world.

Every company, every start up wants to figure out what the next big industry will be. Like the computer industry, or the car industry before that, they want to be the next Apple in a field that doesn’t even exist. It’s obvious that it’s space, but the only company pushing it right now seems to be Virgin. That’s just not enough. The problem is, the risk is so silly big and so unknown that everyone is trying to avoid the obvious solution.

Think about this: you can’t download space. No really, you can’t. Software is the big thing right now, but the world only needs so many payroll and inventory systems. iPhone apps, for gods’ sake – I can’t believe anyone is still making money at that. Entertainment – no one wants to pay for it anymore. These things all keep chugging along, but I don’t know how…

But getting into space is hard. You need a spaceship. Costs money. You need crew. Money. You need supplies, money. There’s money to be made at every step of process, even if designs are stolen, even if patents are violated. My job right now is finding out what companies are into space, besides Virgin, which ones are the farthest along, which ones will take me with them.