Bay 12 Games Forum

Please login or register.

Login with username, password and session length
Advanced search  
Pages: 1 ... 1533 1534 [1535] 1536 1537 ... 13325

Author Topic: [MILK] There were 12 eggs here what did you do with them? (Happy thread?!)  (Read 15761098 times)

SolarShado

  • Bay Watcher
  • Psi-Blade => Your Back
    • View Profile
Re: [:3] Things that made you HAPPY today thread.
« Reply #23010 on: October 09, 2010, 02:57:50 pm »

I'm running it with n=16 now; been going for ~15-25 minutes now and not done. It uses very little CPU time (only ~25% of 1 core on my laptop) and even as long as it's been going its temp directory is only ~2.4MB.

There's one "flaw" for using it as an actual bomb: the final archive includes other archives, so the "victim" would have to either use a program that recursively decompresses everything, or stupidly decompress each one manually.

I don't know of a program that'll do that (there may be a command line program that'll do it...) and I don't think there are any users stupid enough to manually decompress it all...

Then again, these "flaws" may be a good thing...

EDIT: 4x ninja'd >_>
« Last Edit: October 09, 2010, 02:59:54 pm by SolarShado »
Logged
Avid (rabid?) Linux user. Preferred flavor: Arch

Virex

  • Bay Watcher
  • Subjects interest attracted. Annalyses pending...
    • View Profile
Re: [:3] Things that made you HAPPY today thread.
« Reply #23011 on: October 09, 2010, 03:01:00 pm »

It might be very memory-speed intensive, meaning that your RAM just can't pass the data to your CPU fast enough, hence the low speed even with a low CPU usage.


Also, this is probably a proof of concept. A real cyberweapon like this would probably not result in a compressed file, but go straight to an unpacked file.
Logged

ILikePie

  • Bay Watcher
  • Call me Ron
    • View Profile
Re: [:3] Things that made you HAPPY today thread.
« Reply #23012 on: October 09, 2010, 03:02:28 pm »

n=32 has been running for about 20mins here too, it's up to the 16th iteration at the moment, 16 more to go. You can check where it's at by looking in ./container.
Another flaw is that each "boom.tgz" (bottom level) has three directories, container/temporary/boom, instead of just boom. No idea why.
I'm gonna take a shower, hopefully it'll finish when I'm out.

e, It's done:
Code: [Select]
ron@Tux ~/code/bash $ genbomb 32
created file: 8976090 bytes in size
    DO NOT uncompress!
2gbs compressed into 8.6 megs. Took about 40 minutes
« Last Edit: October 09, 2010, 03:27:25 pm by ILikePie »
Logged

ChairmanPoo

  • Bay Watcher
  • Send in the clowns
    • View Profile
Re: [:3] Things that made you HAPPY today thread.
« Reply #23013 on: October 09, 2010, 03:11:08 pm »

You missed the Lebowski jokes pages ago.
You're tearing me apart Lisa
Logged
Everyone sucks at everything. Until they don't. Not sucking is a product of time invested.

BigJake

  • Bay Watcher
  • Know-it-all and bragart
    • View Profile
Re: [:3] Things that made you HAPPY today thread.
« Reply #23014 on: October 09, 2010, 03:32:30 pm »

Catching up on 30 Rock.

Quote
Tracy: Why is that baby covered with goop?

Dr. Spaceman: Because everything about this is disgusting!
Logged

SolarShado

  • Bay Watcher
  • Psi-Blade => Your Back
    • View Profile
Re: [:3] Things that made you HAPPY today thread.
« Reply #23015 on: October 09, 2010, 03:37:17 pm »

It might be very memory-speed intensive, meaning that your RAM just can't pass the data to your CPU fast enough, hence the low speed even with a low CPU usage.

I suspect the reason it's so slow is because it's written as a shell script: each iteration through the loop involves running a separate instance of a program, be it echo, cp, etc. That means creating a new process, loading the program into RAM, running it, unloading it... lots and lots of system calls.

A C program could probably do the job in considerably less time.

Plus, I'm running through Cygwin...
Logged
Avid (rabid?) Linux user. Preferred flavor: Arch

ein

  • Bay Watcher
  • 勝利の女神はここよ~ 早く捕まえてぇ~
    • View Profile
Re: [:3] Things that made you HAPPY today thread.
« Reply #23016 on: October 09, 2010, 03:48:43 pm »

My guitar strap arrived today.
It's just as badass as I expected.

sonerohi

  • Bay Watcher
    • View Profile
Re: [:3] Things that made you HAPPY today thread.
« Reply #23017 on: October 09, 2010, 03:56:03 pm »

Finally done with all the funeral stuff for my uncle. During the procession, I saw some people that I know that were just driving around for their normal day. It was at a stoplight, and they ditched their car to come over and hug me through the window.
Logged
I picked up the stone and carved my name into the wind.

Jackrabbit

  • Bay Watcher
    • View Profile
Re: [:3] Things that made you HAPPY today thread.
« Reply #23018 on: October 09, 2010, 04:02:39 pm »

This campaign is ridiculous, why am I even trying to push a story. All the conflict is right here.
Logged

Duke 2.0

  • Bay Watcher
  • [CONQUISTADOR:BIRD]
    • View Profile
Re: [:3] Things that made you HAPPY today thread.
« Reply #23019 on: October 09, 2010, 04:03:27 pm »

 DAMMIT PEOPLE STOP TRYING TO BATHE MY CHARACTER. I KNOW I MADE THE ONLY FEMALE ONE BUT FUCK.
Logged
Buck up friendo, we're all on the level here.
I would bet money Andrew has edited things retroactively, except I can't prove anything because it was edited retroactively.
MIERDO MILLAS DE VIBORAS FURIOSAS PARA ESTRANGULARTE MUERTO

Cthulhu

  • Bay Watcher
  • A squid
    • View Profile
Re: [:3] Things that made you HAPPY today thread.
« Reply #23020 on: October 09, 2010, 04:06:00 pm »

I would bathe any character who needs bathing.

Also, I've made it my mission in Morrowind to purchase a hooker of every race.  Just three to go.
Logged
Shoes...

KaguroDraven

  • Bay Watcher
  • Forward!
    • View Profile
Re: [:3] Things that made you HAPPY today thread.
« Reply #23021 on: October 09, 2010, 04:13:47 pm »

Don't get a hairball.
Logged
"Those who guard their back encounter death from the front." - Drow Proverb.
I will punch you in the soul if you do that again.
"I'm going to kill another dragon and then see if I can't DUAL-WIELD DRAGONS!
Because I can"-WolfTengu

Virex

  • Bay Watcher
  • Subjects interest attracted. Annalyses pending...
    • View Profile
Re: [:3] Things that made you HAPPY today thread.
« Reply #23022 on: October 09, 2010, 04:17:10 pm »

It might be very memory-speed intensive, meaning that your RAM just can't pass the data to your CPU fast enough, hence the low speed even with a low CPU usage.

I suspect the reason it's so slow is because it's written as a shell script: each iteration through the loop involves running a separate instance of a program, be it echo, cp, etc. That means creating a new process, loading the program into RAM, running it, unloading it... lots and lots of system calls.

A C program could probably do the job in considerably less time.

Plus, I'm running through Cygwin...
Considering it's essentially tail recursion, Scheme would probably be the best choice for a program like this, unless you're going to muck with assembly, in which case you can probably abuse the stack so horrible even reality cringes at the thought. On CPU's that prefetch the program you might even be able to do it all in the prefetch, which would be lightning-fast and almost uninterruptable, though I don't know if most CPU's support backwards jumps in the prefetch.
Logged

Realmfighter

  • Bay Watcher
  • Yeaah?
    • View Profile
Re: [:3] Things that made you HAPPY today thread.
« Reply #23023 on: October 09, 2010, 05:09:51 pm »



Thats a guy.

Holy shit.
Logged
We may not be as brave as Gryffindor, as willing to get our hands dirty as Hufflepuff, or as devious as Slytherin, but there is nothing, nothing more dangerous than a little too much knowledge and a conscience that is open to debate

Jackrabbit

  • Bay Watcher
    • View Profile
Re: [:3] Things that made you HAPPY today thread.
« Reply #23024 on: October 09, 2010, 05:11:56 pm »

I love how I can go, "holy shit I would do that in a heart beat" and then do a double take and go "holy shit I would do that in a heart beat". It happens all the time.

Also I bet he has a lovely personality and yeah yeah whatever he's hot.
Logged
Pages: 1 ... 1533 1534 [1535] 1536 1537 ... 13325