Login
Forgot Password?

OR

Login with Google Login with Twitter Login with Facebook
  • Join
  • Profiles
  • Groups
  • SuicideGirls
  • Photos
  • Videos
  • Shop
Vital Stats

jeremy

Member Since 2002

Followers 69 Following 50

  • Everything
  • Photos
  • Video
  • SG
  • Blogs
  • Groups
  • From Others

Wednesday Mar 11, 2009

Mar 11, 2009
0
  • Facebook
  • Tweet
  • Email
You know you're a hopeless geek when the highlight of your day is writing this:


#include <stdlib.h>

int main() {
int memory = 1000000000;
char *chomper;
printf("Eating %d bytes of precious memory\n",memory);
chomper = malloc(memory);
char *food;
food = malloc(40000 * sizeof(char));
int c;
for (c = 0; c < 10000; c++) {
strcat(food,"FOOD");
}
while(sizeof(chomper) < memory) {
strcat(chomper,food);
}
sleep(30);
}



In case anybody's curious, I wrote it to figure out how linux enforced cgroups limits.
VIEW 13 of 13 COMMENTS
mistersatan:
Don't die!
Aug 7, 2009
throttlebitch:
When are we going to play pool again? Some place with a decent table though...
Sep 22, 2009

More Blogs

  • 11.03.05
    9

    Thursday Nov 03, 2005

    If foreign keys had a leg, I'd be humping it right now.
  • 11.02.05
    1

    Wednesday Nov 02, 2005

    cup-o-noodle!!!
  • 10.27.05
    5

    Friday Oct 28, 2005

    http://www.eathufu.com seriously.
  • 09.13.05
    9

    Tuesday Sep 13, 2005

    Get to work 15 minutes early. Eat sushi for lunch. Sirens. Buildin…
  • 09.02.05
    3

    Friday Sep 02, 2005

    Oh how I love my Mighty Mouse.
  • 08.22.05
    10

    Monday Aug 22, 2005

    I've been working from the couch all day. With my shoes off. I thin…
  • 08.17.05
    1

    Wednesday Aug 17, 2005

    Everybody needs to click here.
  • 08.11.05
    6

    Thursday Aug 11, 2005

    No, I'm not dead.
  • 07.14.05
    13

    Thursday Jul 14, 2005

    It's still really fucking hot in here. However, I think this time ma…
  • 07.02.05
    14

    Saturday Jul 02, 2005

    Holy fuck it's hot.

We at SuicideGirls have been celebrating alternative pin-up girls for:

23
years
9
months
0
days
  • 5,509,826 fans
  • 41,393 fans
  • 10,327,617 followers
  • 4,593 SuicideGirls
  • 1,122,038 followers
  • 14,915,716 photos
  • 321,315 followers
  • 61,380,806 comments
  • Join
  • Profiles
  • Groups
  • Photos
  • Videos
  • Shop
  • Help
  • About
  • Press
  • LIVE

Legal/Tos | DMCA | Privacy Policy | 18 U.S.C. 2257 Record-Keeping Requirements Compliance Statement | Contact Us | Vendo Payment Support
©SuicideGirls 2001-2025

Press enter to search
Fast Hi-res

Click here to join & see it all...

Crop your photo