Monday, June 29, 2009

Facebook Quizzes

For some reason these things are just so addicting, even though the results can be total BS at times.

Quiz : What is Your Secret Innermost Desire for Your Life...?
Result: Sexual Stimulation
Your subconscious mind is driven most by sexuality. What this means is that when your unconscious mind sees an opportunity to remind you of your sexual desires, it takes full advantage of it. Because of this, things that have very little sexual content or that seem sexually neutral to others, may register as sexually charged to you, at least on an unconscious level. Your unconscious mind recognizes the value of sexuality. The reason it may do so, is because of a deep-rooted fear of the opposite living a life that is numb to sexual desire or is turned cold by it. You unconscious mind may be trying to avoid this sexual dullness, and so it reacts by swinging to the opposite extreme, strong sexual desire. By sending you these sexual messages on a regular basis, your unconscious makes sure you don't forget about sex. Demure who can resist your seductive charm? You have mastered the art of flirting so well that all you have to do is sit there and look pretty and they come to you.

Quiz: How Dateable are You?
Result: Completely Dateable
You are the perfect gentleman/lady and you know everything anybody needs to know about dating and flirting

Quiz: What are you Born to Do?
Result: Best at Everything
you are the social person who make usefull contacts. you introduce important people to influencial people and always reap some sort of reward as a result...but you dont enjoy the spotlight as much. you prefer to stay in the back as there is more room to strech and you like the feeling that you are the one with the power and most of the time that is true... you will do well in almost anyfield you know how to flater without being to obivous and you can make just about anyone like you

Quiz: Which Transformer are You?
Result: Bumblebee
Bumblebee is a cautious, yet brave warrior of the Autobots. He is the symbol of friendship with mankind because of his bond with his human; Sam Witwicky. His feelings are sometimes hurt very quickly if put down or harassed. He is loyal to Optimus Prime and Sam. His original vehicle form was a 1976 Chevy Camero, but upgrades it to a 2009 version. Motto: "The least likely can be the most dangerous."

Sunday, June 28, 2009

I'm Not Into Dating

Below is and edited version of a conversation I found.

(05:48:36 PM) Person1: wow. yeah, I've been there. I dated a guy last year who wasn't "big on relationships"....which I discovered was code which really meant "you're not worth me making a big deal out of what we have". Once I realized that, I wasn't sad to see him go
(05:49:11 PM) Person2: oh wow never though of it that way
(05:49:16 PM) Person1: if someone doesn't think you're worth dating officially, then they're not worth you wasting your time over them.
(05:50:38 PM) Person1: yeah. Even farther back in time, a few years ago, I was one of those people. It wasn't that I didn't want a relationship, because nobody is going to turn down a relationship with the person that they think is right for them. The fact is that I didn't like the guy enough to commit to him.
(05:51:52 PM) Person1: [EDITED], but learn from my mistakes: get rid of this girl and don't waste more time on her, time that you could spend finding a girl who treats you well
(05:52:54 PM) Person2: wow that was really helpful. more so than the usual "move on/get over it" from others. thanks
(05:53:10 PM) Person1: you're welcome, I'm glad I could help.

Wednesday, June 10, 2009

Just Friends...Forever

This was good for a small laugh. Not sure where it came from since a friend sent me the article and not a link. Anyway enjoy, oh and I don't feel this way about anyone so don't think that it's personal in anyway. Though my past would beg to differ.


"I really like you. I do. You're so nice, and sweet, and you listen to all my problems and respond with the appropriate compliments. But, well, I don't really see a relationship in our future. It would be terrible if we let sex destroy this great friendship we have where I get everything I want and you get nothing you want. Don't you think?

I knew you would understand. You always do.

We're so perfect as friends, you know? I can tell you anything, and you know you can always come to me anytime you need to hear me bitch about work or how ugly I feel. You wouldn't want to ruin a friendship like that just so you could be my boyfriend, and have me look at you with desire and longing in my eyes, if only once—would you? Of course not. Well, if we started dating, it would only complicate this wonderful setup I've got going here.

It's just…you're like my best friend, and I would hate for something you desperately want to change that. I mean, sure, we could go on some dates, maybe mess around a little and finally validate the six years you've spent languishing in this platonic nightmare, but then what? How could we ever go back to the way we were, where I take advantage of your clear attraction to me so I can have someone at my beck and call? That part of our friendship means so much to me.

No. We are just destined to be really, really good friends who only hang out when I don't have a boyfriend, but still need male attention to boost my fragile and all-consuming ego.

Anything can happen once you bring romance in. Think about how awful my last relationship was at the end, remember? The guy I'd call you crying about at 3 a.m. because he wouldn't answer my texts? The guy I met at the birthday party you threw me? I had insanely passionate sex with him for four months and now we don't even talk anymore. God, I would die if something like that happened to us.

Plus, ick, can you even imagine getting naked in front of each other? I've known you so long, you're more like a brother that I've drunkenly made out with twice and never mentioned again. It'd be way too weird. And if we did, then whenever you'd come shopping with me, or go to one of my performances or charity events, or take me for ice cream when I've had a bad day at work, you'd be looking at me like, "I've seen her breasts." God, I can't think of anything more awkward that that.

Oh, before I forget, my mom says hi.

Anyway, you would totally hate me as your girlfriend. I'd be all needy and dramatic and slowly growing to love you. If I was your girlfriend, I would never be able to tell you all about the other asshole guys I date and pretend I don't see how much it crushes you. Let's never lose that. That's what makes us us.

Don't worry. You're so funny and smart and amazing, any girl but me would be lucky to date you. You'll find someone, I know it. And when you do, I'll be right by your side to suddenly become all flirty and affectionate with you in front of her, until she grows jealous and won't believe it when you say we're just friends. But when she dumps you, that's just what we'll be.

Best friends. Friends forever."

Tuesday, June 09, 2009

1984

Currently reading 1984 and am about half way through so far. Can't say that it has lived up to the hype as of yet but who knows. Well I think I have found the best line in the whole book, yes I am willing to bet that it is better than anything I will read in the second half.

"If you loved someone, you loved him, and when you had nothing else to give, you still gave him love."


Personally I feel that it would be better if 'him' were changed to 'them' but that's just a minor detail.

Sunday, June 07, 2009

How to Separate Interface From Implementation

Well I've finally managed to see how to separate implementation from interface. The basic idea is pretty simple and that only took about a minuet to understand. This was mainly due the fact that it was easy to find lots of examples online. Really the only problem was that they didn't tell you HOW to use this to make a functional program.

So I'll just put together a quick "how-to", where I'll walk through a simple example.

We will create a class called Base, below is the base.h file.


#ifndef BASE_H
#define BASE_H
class Base
{
int value;
public:
void set_value(int);
int get_value();
};
#endif

So that's the interface for our class, not to create the implementation. This will be in a file called base.cpp

#include "base.h"
void Base::set_value(int x)
{
this->value=x;
}
int Base::get_value()
{
return this->value;
}

Finally here is the main program. Since we don't want to be original we shall just call it main.cpp and it looks something like this.

#include< iostream >
#include "base.h"
using namespace std;
int main()
{
Base X;
X.set_value(120);
cout<< X.get_value()<< endl;
}

Now to we create an object file from base.cpp by entering g++ -c base.cpp into the terminal. Then to link this with main.cpp we type g++ main.cpp base.o into the terminal. If all has worked you should see the number 120 printed to the screen when you run your program. (with ./a.out in cause you were wondering)

Wednesday, June 03, 2009

Progress Update II

Well I ended up starting over. My original plans were a little too complicated for a first attempt at a game. However, the way things are set up it is moderately easy to make any desired updates. One "mistake", well more of a not sticking to convention, is that I did not separate the interface and implementation of things in my header files. Right now I'm reading more on why this should be done, but haven't gotten far enough to be able to see much real benefit.

Here are all the header files I use as well as a brief description of what they do.

Hero.h
Used to make the hero class, also known as the character you control.

Enemy.h
Basic information that all enemies in the game share; such as health, a name, and strength.

Save.h and Load.h
Used to save and load game data.

Fight.h
Control all the aspects of combat. This would include things like if an attack hits, how much damage attacks do, and knowing when a fight is over.

Menu.h
All the menus that appear in the game are in this file. It contains a number of functions that return characters or strings, to let the game know what the user has decided to do.

Engine.h
Contains the Play_game( ) function that more or less controls the flow of the game.

Tuesday, June 02, 2009

Derrick Rose

Found this article to be quite though provoking. Don't think I'll say where I stand on the issue but he does raise a few good question.

My two favorite excerpts are below.


This isn’t to absolve the people involved, but the question shouldn’t just be did Derrick Rose cheat on his SAT?

It should be why the heck did he have to take it in the first place?



No one cared when Danica Patrick went pro as a race car driver at 16. No one tried to prevent Shawn Johnson from winning an Olympic gold at the same age or Miley Cyrus from making millions singing and acting with her dad even younger than that.

And no one ever required them to recognize analogies before doing so.

So why do we make Derrick Rose?