Be a Supporter!
Response to: Getting started. Posted April 2nd, 2012 in Programming

The following was marked as correct.

data = ("John", "Doe", 53.44)
format_string = "Hello"

print format_string + " %s %s. Your current balance is %.2f$." % data
Response to: Nostalgia Posted April 2nd, 2012 in General

At 4/2/12 01:35 AM, MushookieMan wrote: linky

Oh yeah, remember this sucker?

Those were the good days.

Response to: Tumblr Swf Layout??? Posted April 1st, 2012 in Programming

At 4/1/12 07:59 PM, Uebie wrote:
At 4/1/12 04:40 PM, Wolfos wrote: That can be done better in CSS3. Using Flash for websites is a really, really bad idea.
NO the banner on that site was made IN FLASH it is a .sfw ... HOW THE HELL DID HE PUT IT THERE
tumblr doesn't support .swf for anything

Yes. It does. Virtually ALL those annoying fucking music players on blogs run with .swf files.

<style type="text/css">

embed[src^="<XXXX>"] {
position: fixed;
float: right;
top: 0px;
left: 0px;
height: <XXX>px;
text-decoration: none;
outline: none;
-moz-transition: linear .25s;
-webkit-transition: linear .25s;
-o-transition: linear .25s;
}

Response to: Getting started. Posted April 1st, 2012 in Programming

At 4/1/12 07:40 PM, 01Glitch01 wrote:
At 4/1/12 04:39 PM, Wolfos wrote: They say Python is a really noob friendly language:
http://www.learnpython.org/

First, you do a few basic math operations, then you move on to GUI's and create everything you'd like ;)
okay.... I was going through it, I got to "string formatting", and I have no idea what to do. I can make it work, but I don't think it is how the tutorial wants me to...

data = ("John", "Doe", 53.44)
format_string = "Hello"

print format_string + " " + "%s %s. Your current balance is %.2f$" % data

Based on the template they provide, that's the way I would do it. The website doesn't recognize it as correct - but there are many ways to code things. As long as the code is readable, and outputs the correct thing, it is right.

Response to: Getting started. Posted April 1st, 2012 in Programming

At 4/1/12 04:50 PM, 01Glitch01 wrote: Alright, thank you. I will try it out. Do you have any other tutorials? Im not fond of the bottom half the screen being covered.

You could try:
http://docs.python.org/tutorial/

I used that to learn python. However, it assumes you are running a unix based system, and can work your way around a terminal window.

I'd recommend the link Wolfos posted. It allows you to code in the bottom frame, and there is no need to locally save and interrupt your program files. Although this is a part of programming, it's nice to be able to learn, code, and run a program all in the same window, and that website allows you to do that without an IDE.

Response to: Sit-down With Your Favcharacter Posted April 1st, 2012 in Video Games

Cloud.

Response to: Tumblr Swf Layout??? Posted April 1st, 2012 in Programming

I'm pretty sure you would have to embed it into your theme code. Something similar to the way it's done on wordpress. Unforunately, Tumblr is not like Facebook, and does not have propriety code to make things easy - it'll have to be embedded yourself.

Response to: Howto-professiona lgamedesign Posted March 30th, 2012 in Programming

If you're going to take programming or game design serious as a profession, I think it is imperative you learn C as your first language. Almost every language is based off of C. Learning any other language first, will set it's syntax as your foundation, when C should be your foundation - since it is the basis of pretty much all languages.

C might not be as interesting as other object-oriented, or GUI-based languages, but it is the core of modern computing.

Learn to make things like basic calculators, basic memory manipulators, and file management before you move to game design. Jumping straight to designing games in Java, or AS, will give you a very shallow, language restrictive understanding of programming.

Response to: Rat Skull! Posted March 5th, 2012 in General

Did boiling it smell at all?

I'm interested in doing something like this, but am slightly turned off due to the goriness of the process.

Response to: Recommend Anime for a Non-Fan Posted February 29th, 2012 in General

High School of the Dead or Afro Samurai are usually liked by non-anime watchers.

I'd recommend High School of the Dead if you're at all into zombies.

Response to: stupid rogers internet Posted February 17th, 2012 in General

Where do you live? I'm in Ontario, and although expensive, where I live Rogers internet is very fast and reliable.

Response to: Hello Posted February 16th, 2012 in General

lol hi my name is nameistaken1
whats up buddy
a/s/l?

Response to: Feedback on frame-by-frame Posted February 15th, 2012 in Animation

It was really short with very little movement so there isn't much to critique. The actions seem to be smooth, try to work in a higher FPS. Even if you have duplicate frames, that's fine, but if you every need a fast movement, the option is there.

I did notice that the sleeves on the shirt got shorter, you wanna watch for subtle changes in your character like that. In a short video like this, it's fine, but if it went on for 2 minutes or so and continued to change, you'd end up with a different character in the end when compared to the beginning.

Response to: Official Twisted Metal thread Posted February 15th, 2012 in Video Games

Sony just signed a movie contract with Brian Taylor to direct a Twisted Metal movie.

Any thoughts? I'm stoked.

Response to: Major Choice- Cs Or Se? Posted February 15th, 2012 in Programming

I'm a major in CS at University of Guelph, but I've taken a few SE courses. I've found that my programing courses go to a much more low-end, mathematically, and theoretically understanding behind code. Whereas my software courses seem to be more about how to design innovative things, understand clients, and work in teams to develop code.

I'd personally recommend CS. I've learned much more programing through those classes, software classes seem to be a joke.

Response to: Change the smoking background Posted February 14th, 2012 in General

I love the background.

Response to: Abe Lincoln: Vampire Hunter Trailer Posted February 14th, 2012 in General

I'll watch it, but I don't expect it to be great. I was never really a fan of vampires.

Response to: C - Pointer to an Array of Structs Posted February 13th, 2012 in Programming

At 13 seconds ago, Diki wrote: Refer to my previous post.

That helped a ton. I couldn't wrap my head around the fact that struct pretty much act like a regular old variable.

Thanks for the help, I appreciate it.

Response to: C - Pointer to an Array of Structs Posted February 13th, 2012 in Programming

At 19 minutes ago, polym wrote: Remove the astericks.

Removing the asterisks works, but I thought doing so will limit the scope of the variable to the function add. I want it passed to 3 other functions. I know arrays are automatically pointers, but the whole struct thing is throwing me off.

void add (void)
{
    printf("add is running\n"); 
    struct part (item)[10];
    //(item)[0].name = malloc(sizeof(char*)*---strlen of input---);
    //strncpy((item[0]).name, "test", 4);
    //(item)[1].price = 1;
    (item)[1].quantity = 1;
    printf("quantity: %d\n", (item[1]).quantity);
    
    input();
}

void print (void)
{
    struct part (item)[10];
    printf("quantity: %d\n", (item[0]).quantity);
}

Doing so prints a value of 0 in print. I know that I reallocated the memory when I declared it in print (which is why it is 0), and that I'm going about that completely wrong.

C - Pointer to an Array of Structs Posted February 13th, 2012 in Programming

So, I'm trying to use a pointer to access an array of structs. My struct is:

struct part {
    char *name;
    float price;
    int quantity; 
};

Here's my attempt to access it:

void add (void)
{
    struct part (*item)[10];
    (*item)[0].quantity = 1;
    printf("quantity: %d\n", (*item[0]).quantity);
    input();
}

It compiles fine. During runtime, I get a segmentation fault: 11 at the "(*item)[1]..." line. I've tried a lot of things, but don't fully understand this concept. Can someone tell me whats up?

Response to: Nutella! Posted February 12th, 2012 in General

At 1 minute ago, majormelthesackboy wrote: I remember when I put chocolate syrup on bread trying to reenact nutella. I ate it then vomited few hours later.

Disregarding the vomit, how'd it taste?

Response to: Frozen Bunny Posted February 12th, 2012 in General

At 6 minutes ago, SolidToad wrote: I could never handle eating a cute bunny.

Try rabbit stew. Pretend it's chicken. It is delicious.

Response to: How often do you buy clothes? Posted February 12th, 2012 in General

I just actively browse when I go to stores. If I see something I like, I'll get it. This accounts to approximately $50 a month.

Response to: Brokeback Mountain Posted February 12th, 2012 in General

Deciding to see that, is like deciding to watch soft gay male porn. With a plot line.

Response to: Frozen Bunny Posted February 12th, 2012 in General

Soooo, now you aren't selling him?

You live on a rabbit farm. You probably have hundreds of rabbits. And you want to keep this one as a pet now?

This thread just got gay. Show us your tits.

Response to: If you hypothetically... Posted February 12th, 2012 in General

Teleporter.

I'd show Night Crawler how real gangsters get shit done.

Response to: Frozen Bunny Posted February 12th, 2012 in General

At 28 seconds ago, AshleKetchem wrote:
At 1 minute ago, nameistaken1 wrote: You don't want to give him a warm bath, it may feel very hot. Ever wash your hands in warm water after you've been outside in the cold? It feels like it burns. I'd recommend giving him a bath in room temperature water, which will raise his body temperature without the painful feeling of being burnt.
I dont want to put him in water, cause hes not even opening his eyes, and hes almost dry. He wont eat either :(

Then kill him. He's probably gone into hypothermia, which causes a very painful burning and tingling of the skin, and his digestive track (one of the bodies main form of producing heat) has shut down. You're just worsening his misery.

At least if you had let him freeze outside, he would've lost consciousness and died. Now you're just torturing him.

Response to: Frozen Bunny Posted February 12th, 2012 in General

You don't want to give him a warm bath, it may feel very hot. Ever wash your hands in warm water after you've been outside in the cold? It feels like it burns. I'd recommend giving him a bath in room temperature water, which will raise his body temperature without the painful feeling of being burnt.

Response to: Your Mobile Posted December 30th, 2011 in General

iPhone 4. I use it as a phone, browser and iPod. It does it's job. I like it.

Response to: How would you kill yourself? Posted April 23rd, 2011 in General

Jump out of a plane naked, above a busy downtown NYC. Hopefully, landing in front of someone, spraying blood and guts all of him/her.

This way, they would have an interesting topic to discuss at the dinner table.