Search found 148 matches

by Stucky101
Thu Aug 05, 2010 11:58 pm UTC
Forum: Coding
Topic: Need help shifting the char data type in C++.
Replies: 2
Views: 601

Re: Need help shifting the char data type in C++.

Oh lol, I always forget the simplest things in my programs. Thanks for clearing that up.
by Stucky101
Thu Aug 05, 2010 11:37 pm UTC
Forum: Coding
Topic: Need help shifting the char data type in C++.
Replies: 2
Views: 601

Need help shifting the char data type in C++.

I'm making a Caesar Cipher program using C++, just for practice with the language. I've run into trouble when I try to shift a character from a file over a number of places on the ASCII table. So say the character is A but I want to shift is 3 spaces so that it is C, I can't figure how to do that. I...
by Stucky101
Sun Jan 24, 2010 7:29 am UTC
Forum: Coding
Topic: Python Web Framework
Replies: 4
Views: 600

Re: Python Web Framework

Something like the stuff you see here.
http://wiki.python.org/moin/WebFrameworks

I know that page suggests Grok as a good newbie framework but I'm looking for other opinions on the subject.
by Stucky101
Sun Jan 24, 2010 7:09 am UTC
Forum: Coding
Topic: Python Web Framework
Replies: 4
Views: 600

Python Web Framework

I need to learn a Python web framework before the end of the weekend but I don't know which one to research. Could somebody suggest one with an easy learning curve? I really need to learn it fast. Thanks.
by Stucky101
Fri Jan 01, 2010 8:31 pm UTC
Forum: Coding
Topic: Class objects in vectors tutorial?
Replies: 9
Views: 1121

Re: Class objects in vectors tutorial?

I think I've figured out my problem. I'm just using a temporary object to store data in the vector and I think it's working properly. Thanks for the help guys.
by Stucky101
Thu Dec 31, 2009 5:52 am UTC
Forum: Coding
Topic: Class objects in vectors tutorial?
Replies: 9
Views: 1121

Re: Class objects in vectors tutorial?

I didn't think vectors of objects were that different from vectors of primitive types. What exactly are you having problems with? Well there are two main problems I'm having. For one thing the class that I'm using with the vector has a constructor with parameters and I don't understand how to set t...
by Stucky101
Wed Dec 30, 2009 10:51 pm UTC
Forum: Coding
Topic: Class objects in vectors tutorial?
Replies: 9
Views: 1121

Re: Class objects in vectors tutorial?

The main pitfall to be aware of is slicing . If you have a container for instances of class A, and you insert an instance of type B, derived from A, then it will be sliced back to an instance of A. You have to remember that the container only stores sizeof A bytes for each object, so any member dat...
by Stucky101
Wed Dec 30, 2009 8:03 am UTC
Forum: Coding
Topic: Class objects in vectors tutorial?
Replies: 9
Views: 1121

Class objects in vectors tutorial?

I was wondering if someone could link me to a good tutorial on how to store class objects into vectors with C++. I have only been able to track down one, and I'm having trouble with it for some reason. Thanks in advance.
by Stucky101
Fri Dec 04, 2009 5:33 am UTC
Forum: Coding
Topic: Hacker literature?
Replies: 6
Views: 2205

Re: Hacker literature?

I've read Hacking: The Art of Exploitation 2nd edition, and I liked it a lot. It covers a lot of ground: overflows, printf format attacks, shellcode, and even wep packet injection, to name a few. You'll also come out of it with some good C and ASM knowledge. (It touches perl a little bit too, but j...
by Stucky101
Fri Nov 27, 2009 5:17 am UTC
Forum: Coding
Topic: Hacker literature?
Replies: 6
Views: 2205

Re: Hacker literature?

phlip wrote:This is always a good start.

Looks great, but I'd still really prefer a book. I'll bookmark it just in case.
by Stucky101
Fri Nov 27, 2009 5:00 am UTC
Forum: Coding
Topic: Hacker literature?
Replies: 6
Views: 2205

Hacker literature?

I'm a novice, self-taught programmer looking to get into the hacking scene. I realize I could easily look up a few free tutorials online that'll get me started on the right path; however, I would much prefer an in-depth book on the subject. So I'm wondering if any experienced hackers here could reco...
by Stucky101
Mon Oct 26, 2009 6:48 am UTC
Forum: Individual XKCD Comic Threads
Topic: 0654: "Nachos"
Replies: 96
Views: 26000

Re: "Nachos" Discussion

Man, I wish I could stop using Wifi but my only alternative is running a 100 foot long cable down my hallway.
by Stucky101
Sat Sep 26, 2009 6:04 pm UTC
Forum: Science
Topic: Need good physics demo ideas.
Replies: 9
Views: 1572

Re: Need good physics demo ideas.

Well I decided to do some further research on my own and I've managed to uncover a real gem of physics demonstrations, or at least I think its pretty cool. Given that the class I'm ITAing for has only been introduced to basic physics 4 weeks ago, I would really like a demonstration that can easily b...
by Stucky101
Thu Sep 24, 2009 5:09 am UTC
Forum: Science
Topic: Need good physics demo ideas.
Replies: 9
Views: 1572

Re: Need good physics demo ideas.

Well thanks for the suggestions, some of those demos sound fun but they either don't fit the curriculum of the class or the teacher's already planning on doing them. We're moving into a unit on light and other EM waves pretty soon and I need to do a lesson within the next few weeks for a grade. So I...
by Stucky101
Mon Sep 14, 2009 9:17 am UTC
Forum: Science
Topic: Need good physics demo ideas.
Replies: 9
Views: 1572

Need good physics demo ideas.

I'm ITAing for a Physics class. As an ITA I need to teach the class on my own once or twice a quarter. So I was thinking, rather than doing a mundane lecture I should do some sort of demonstration/experiment. Problem is the teacher is already planning to do all the obvious demos. So I need some crea...
by Stucky101
Wed Aug 26, 2009 5:25 am UTC
Forum: Individual XKCD Comic Threads
Topic: 0628: "Psychic"
Replies: 186
Views: 48386

Re: "Psychic" Discussion

Title text: You can do a lot better than 1% if you start keeping track of the patterns in what numbers people pick.

Assuming the human brain is a pseudo random number generator. :lol:
by Stucky101
Sun Aug 23, 2009 3:39 am UTC
Forum: Gaming
Topic: Team Fortress 2
Replies: 4429
Views: 404127

Re: Team Fortress 2

And what's this thing about servers promising hands if you donate to them? Is it some switch they can just throw on the server? It is possible. You have all the hat models already on your computer and I'm sure it wouldn't take much effort for a server to override the unlock system. As a matter-a-fa...
by Stucky101
Sun Aug 23, 2009 2:59 am UTC
Forum: Forum Games
Topic: Can you produce [X] in less than 15 seconds?
Replies: 7720
Views: 758615

Re: Can you produce [X] in less than 15 seconds?

Well... I might have one of their laboratory containers in my 4th grade chemistry set that I still have for some reason. Only I think it'd take more than 15 seconds to dig up from my pile of old stuff.

True love in less than 15 seconds... and... GO!
by Stucky101
Sat Aug 22, 2009 10:33 pm UTC
Forum: Gaming
Topic: Team Fortress 2
Replies: 4429
Views: 404127

Re: Team Fortress 2

BTW, what are medals, what do they do, and how were those 11,111 people chosen to get one? They're near-invisible decorations for the Soldier; they don't do anything besides that. You got one if you found this page (by clicking through hidden picture-links) before 11,111 other people did...it didn'...
by Stucky101
Sat Aug 22, 2009 8:52 pm UTC
Forum: Gaming
Topic: Team Fortress 2
Replies: 4429
Views: 404127

Re: Team Fortress 2

What frightens me about having trading in TF2 is the possibility that in game chat would turn into a gauntlet of WTB's and WTS's like some sort of Guild Wars FPS.

BTW, what are medals, what do they do, and how were those 11,111 people chosen to get one?
by Stucky101
Sat Aug 22, 2009 6:10 pm UTC
Forum: Forum Games
Topic: Can you produce [X] in less than 15 seconds?
Replies: 7720
Views: 758615

Re: Can you produce [X] in less than 15 seconds?

I suppose if I were to rip apart my speaker system I might find one in under 15 seconds.

An electronic device that was created before 1970.
by Stucky101
Fri Aug 21, 2009 4:26 am UTC
Forum: Forum Games
Topic: Can you produce [X] in less than 15 seconds?
Replies: 7720
Views: 758615

Re: Can you produce [X] in less than 15 seconds?

Yep, the remote is on my desk and I'm watching Jim Gaffigan doing stand up on Comedy Central.

A portrait of a famous scientist?
by Stucky101
Thu Aug 20, 2009 5:15 pm UTC
Forum: Forum Games
Topic: Can you produce [X] in less than 15 seconds?
Replies: 7720
Views: 758615

Re: Can you produce [X] in less than 15 seconds?

Yes right around the corner in my bathroom.

A stuffed animal or plush?
by Stucky101
Sun Aug 16, 2009 7:29 am UTC
Forum: Forum Games
Topic: Count to a Million
Replies: 94965
Views: 7484945

Re: Count to a Million

Image
by Stucky101
Sun Aug 16, 2009 7:26 am UTC
Forum: Gaming
Topic: Team Fortress 2
Replies: 4429
Views: 404127

Re: Team Fortress 2

Just saw the soldier's new pot helmet today. Favorite hat yet!
by Stucky101
Sat Aug 15, 2009 8:51 am UTC
Forum: Forum Games
Topic: Count to a Million
Replies: 94965
Views: 7484945

Re: Count to a Million

21056

We've covered 2.1056% of 1 million!

EDIT
: I just realized how easy it is the figure out that number without the google calculator. I'm and idiot :P
by Stucky101
Sat Aug 15, 2009 7:51 am UTC
Forum: Forum Games
Topic: Kill the Next Poster!
Replies: 60
Views: 9288

Re: Kill the Next Poster!

Little does the previous poster know I was transporting 800 tons of rat poison on that ship. The ship sinks and contaminates the water that the next poster then drinks and collapses to his death.
by Stucky101
Sat Aug 15, 2009 7:20 am UTC
Forum: Movies and TV Shows
Topic: District 9
Replies: 185
Views: 24032

Re: District 9

Watched it earlier today. Not going to lie, I felt a little disappointed. I will say that it was a great movie well worth my money, however, it didn't fully live up to my expectations (but then again what does, what with how much we hype everything now days). I find it kind of ironic that I watched ...
by Stucky101
Sun Jul 19, 2009 4:07 am UTC
Forum: Gaming
Topic: Need an active Freelancer server to go to.
Replies: 3
Views: 735

Re: Need an active Freelancer server to go to.

http://stats.freelancerserver.de/ That site has the global server workaround patch, so you don't have to type an IP address, and listings of servers to join. Your google-fu is weak, the link to it is in the first result of "freelancer game server" on google search. I don't know what to te...
by Stucky101
Sun Jul 19, 2009 3:42 am UTC
Forum: Gaming
Topic: Need an active Freelancer server to go to.
Replies: 3
Views: 735

Re: Need an active Freelancer server to go to.

Maybe people don't still play the game online then...
by Stucky101
Fri Jul 17, 2009 5:03 am UTC
Forum: Gaming
Topic: Need an active Freelancer server to go to.
Replies: 3
Views: 735

Need an active Freelancer server to go to.

I've figured out how to connect to Freelancer servers by using their IP addresses; however, now I'm not sure which server to connect to. Most of the ones I find on the internet aren't even active most of the time. I know people still play the game online so their must be active servers somewhere. Co...
by Stucky101
Wed Jul 08, 2009 11:17 pm UTC
Forum: Movies and TV Shows
Topic: Battlebots Nostalgia
Replies: 8
Views: 1696

Re: Battlebots Nostalgia

I generally preferred Robot Wars, mostly because there was more damage involved. Competitors like Hypnodisk would often win by completely wrecking their opponent, and the house robots would generally unpleasant things to anyone who got within reach. I enjoyed that show too. My one complaint was all...
by Stucky101
Tue Jul 07, 2009 12:31 am UTC
Forum: Movies and TV Shows
Topic: Battlebots Nostalgia
Replies: 8
Views: 1696

Re: Battlebots Nostalgia

I'm not sure if many people know this, but BattleBots events have been going on in California ever since that show's been canceled, they just haven't been televised. So I went to their website just a second ago to post a link, in case someone wanted to look up events and such, but after that web pag...
by Stucky101
Thu Jul 02, 2009 5:54 am UTC
Forum: Movies and TV Shows
Topic: Battlebots Nostalgia
Replies: 8
Views: 1696

Battlebots Nostalgia

Does anyone else miss watching Battlebots on Comedy Central? That show was the greatest! I watched every episode back in the day.
http://www.youtube.com/watch?v=T500ecHP3pE
by Stucky101
Fri Jun 19, 2009 4:18 am UTC
Forum: Gaming
Topic: IL-2 Sturmovik: 1946
Replies: 6
Views: 1985

Re: IL-2 Sturmovik: 1946

I think it just clicked. Suddenly, I really do know kung-fu. I'm no longer shot down every time someone gets behind me, I've finally figured out ways to escape this trap and sometimes even turn the tables and get behind my pursuer. The game is many times more fun. What I'm looking for now is a squad...
by Stucky101
Tue Jun 16, 2009 8:49 pm UTC
Forum: Coding
Topic: Webcam programming.
Replies: 2
Views: 880

Webcam programming.

So, I've recently come into possession of a disassembled Lego Movie Maker usb camera. Its pretty much just a webcam inside a Lego block. So I feel like doing something fun with it. What that something is I haven't really decided: maybe an autonomous robot that detects walls and finds and alternative...
by Stucky101
Wed May 27, 2009 6:57 am UTC
Forum: Coding
Topic: Quick question about flow control!
Replies: 27
Views: 2221

Re: Quick question about flow control!

Because, if you know an object is too small to affect anything, you don't have to calculate the force it exerts on everything else. Thus, if there are n objects in your system, you can avoid calculating F n-1 times at the cost of a single if statement. -Zabaron True. For now I'll just do it my way,...
by Stucky101
Wed May 27, 2009 5:21 am UTC
Forum: Coding
Topic: Quick question about flow control!
Replies: 27
Views: 2221

Re: Quick question about flow control!

Never use fps, as it will differ on everyone's machine. If you want your simulation to make predictions, it will have to use a 'real world' clock. Also, on the theory side of things, satellites (Man made, that is) and debris have little to no effect. Definitely not on a scale that hundreds of years...
by Stucky101
Wed May 27, 2009 1:49 am UTC
Forum: Coding
Topic: Quick question about flow control!
Replies: 27
Views: 2221

Re: Quick question about flow control!

Does this code take the same or close to the same amount of time to perform during runtime as the second code? The only way to know for sure is to profile both versions. I'm assuming all the timers are of the same type (time_t?); if so, you could clean things up a bit by using an array: time_t time...
by Stucky101
Sun May 24, 2009 9:12 am UTC
Forum: Coding
Topic: Quick question about flow control!
Replies: 27
Views: 2221

Re: Quick question about flow control!

mrkite wrote:No.. because you can see that if timer_rate is 7, then there are 7 extraneous comparisons being made, combined with 6 jumps.

That's not necessarily a lot of extra time, but it is extra time.

K thanks, I'll find a way around it.

Go to advanced search