Search found 146 matches

by coppro
Tue Mar 25, 2008 3:45 pm UTC
Forum: Coding
Topic: Information Hiding
Replies: 8
Views: 1500

Re: Information Hiding

It depends - that won't work for some algorithms. A prominent example is std::sort. If your List class is a linked list, it won't support random access iterators, which std::sort requires. In that case, you'd need to implement some sort of sorting algorithm yourself, in your List class. Specialize ...
by coppro
Thu Mar 20, 2008 3:32 am UTC
Forum: The Help Desk
Topic: Really irritating network issues (Kubuntu Gutsy)
Replies: 11
Views: 1486

Re: Really irritating network issues (Kubuntu Gutsy)

I was using airodump-ng, but my card hasn't been in Monitor mode for a couple of weeks. And knetworkmanager has just become absolutely daft in terms of seeking out networks - it can take 5-10 minutes for it to realize that my network list has changed. I'm on vacation for the next 10 days, so I won't...
by coppro
Thu Mar 20, 2008 3:25 am UTC
Forum: Coding
Topic: Coding: Fleeting Thoughts
Replies: 9979
Views: 1977342

Re: Sandwich

ObsidianX wrote:I got bored... decided to code http://xkcd.org/149/ in a few languages:
One nitpick - what if user account 0 isn't named root? (Note: I wonder if naming your root account something else would help guard against exploits?)
by coppro
Wed Mar 19, 2008 1:51 am UTC
Forum: Coding
Topic: Javascript and accessibility
Replies: 5
Views: 1618

Re: Javascript and accessibility

The trick used by some websites is a <meta http-equiv="refresh"> to a no-JS page inside a <noscript>. If it's imperative that things be detected server-side, use JS to redirect to a JS-enabled page, and a <meta http-equiv="refresh"> otherwise.
by coppro
Wed Mar 19, 2008 1:25 am UTC
Forum: Gaming
Topic: Favourite Game Plot? (there might just be spoilers)
Replies: 47
Views: 4972

Re: Favourite Game Plot? (there might just be spoilers)

ToS has a simply incredible storyline, but one pair of games that have one of my favorite storylines is, without a doubt, that of the Golden Sun series. The first game was relatively predictable, but the second game kinda takes everything you already knew and smashes it. Hard. With multiple hammers....
by coppro
Tue Mar 18, 2008 8:41 pm UTC
Forum: The Help Desk
Topic: Really irritating network issues (Kubuntu Gutsy)
Replies: 11
Views: 1486

Re: Really irritating network issues (Kubuntu Gutsy)

Talisman is the computer name, not a kernel modification. And it's WEP encryption (but the flashing seems to occur now with any network. Odd) EDIT: Here's another odd thing that I'd appreciate if you could fix. Sometimes, when I put my computer in sleep, some applications don't wake up. Literally. '...
by coppro
Tue Mar 18, 2008 8:32 pm UTC
Forum: Gaming
Topic: Now That I Think Of It... (Pokemon Red/Blue)
Replies: 108
Views: 10167

Re: Now That I Think Of It... (Pokemon Red/Blue)

Gelsamel wrote:Pokemon that are just hatched are level 1.
Only in the DS games - it's been lvl 5 out of the egg for GSC and RSE generations.
by coppro
Mon Mar 17, 2008 11:33 pm UTC
Forum: Computer Science
Topic: A computing conundrum
Replies: 25
Views: 4624

Re: A computing conundrum

But presumably each robot would invest its full processing power to predicting the outcome of the fight. So in order to predict the movements of both robots, the robots would need at least twice as long as the fight took (assuming equal opponents). It would take longer still to determine the reactio...
by coppro
Mon Mar 17, 2008 10:49 pm UTC
Forum: Coding
Topic: Storing and indexing by redundant data. [C++]
Replies: 6
Views: 1424

Re: Storing and indexing by redundant data. [C++]

Well, not exactly. The issue is I have a bunch of entities. Some of them (e.g. any entity that actually attempts to do anything) will, at various points, be interested in what other entities occupy the same location. So determining this must be fast. Linear time is out of the question - I can live w...
by coppro
Mon Mar 17, 2008 10:38 pm UTC
Forum: The Help Desk
Topic: Really irritating network issues (Kubuntu Gutsy)
Replies: 11
Views: 1486

Re: Really irritating network issues (Kubuntu Gutsy)

I checked the bug lists and there are numerous possibilities for this error, but all appear to be marked fixed. So, as a first suggestion, I'd recommend checking for updates for knetmgr. No updates... maybe they are only fixed in Feisty? If you still have problems we're going to need more info. Spe...
by coppro
Mon Mar 17, 2008 4:11 am UTC
Forum: The Help Desk
Topic: Really irritating network issues (Kubuntu Gutsy)
Replies: 11
Views: 1486

Really irritating network issues (Kubuntu Gutsy)

I've been bumbling happily along on my wireless network for a while now, using knetworkmanager. It's worked fine until recently, when I tried to connect to a network with a hacked key (another story). Anyway, now, when I'm connecting to my network (and only mine, though it's the only encrypted netwo...
by coppro
Mon Mar 17, 2008 4:07 am UTC
Forum: Religious Wars
Topic: Case syntax (C/C++)
Replies: 24
Views: 5336

Re: Case syntax (C/C++)

The braces can also be used to create variables within the case, but that should follow the same laws as regular formatting.

Personally, I half-indent labels, including cases and access declarations. Otherwise it's the same as Rysto.
by coppro
Mon Mar 17, 2008 3:39 am UTC
Forum: Serious Business
Topic: Improving the educational system
Replies: 174
Views: 14809

Re: Improving the educational system

I spent five years in a private school, before moving to the public system in a gifted education program. My younger brothers each spent 4 years at that school, before they moved to another private school. One of them left for a third private school this year. Based on my personal experiences, and w...
by coppro
Mon Mar 17, 2008 3:06 am UTC
Forum: Serious Business
Topic: Arr!
Replies: 70
Views: 13062

Re: Arr!

Personally, I try to make a statement with my piracy (legality is a hazy issue, but I'm Canadian, so it's good for now). I only pirate stuff I wouldn't actually buy. Example: I don't pirate D&D books, but I would never fork out all that money for the Wizards Presents books, so I pirate those. I ...
by coppro
Mon Mar 17, 2008 2:56 am UTC
Forum: Gaming
Topic: Now That I Think Of It... (Pokemon Red/Blue)
Replies: 108
Views: 10167

Re: Now That I Think Of It... (Pokemon Red/Blue)

(in fact, at some point he was leveled so much that he wouldn't obey me.) Bwuh? That only happens for traded Pokémon (so that a friend can't trade you a lvl 100 and make the game trivial). Pokémon you raised yourself are fine (meaning your friend can train your Charizard to lvl 100, making the game...
by coppro
Mon Mar 17, 2008 1:25 am UTC
Forum: Coding
Topic: worst bugs ever (or your most hated)
Replies: 196
Views: 21898

Re: worst bugs ever (or your most hated)

Because the return statement causes the function to terminate, it serves as its own break statement.

Don't know why taking it out would do anything though (unless your errors were about unreachable code).
by coppro
Sun Mar 16, 2008 12:03 am UTC
Forum: Coding
Topic: Storing and indexing by redundant data. [C++]
Replies: 6
Views: 1424

Re: Storing and indexing by redundant data. [C++]

Well, that's a design question. Arguably, an entity should be able to operate regardless of where it is. And by preventing it from storing its own coordinates, you could then have an entity actually be physically present in multiple locations at once. :twisted: Aha! I think I know the solution. A co...
by coppro
Sat Mar 15, 2008 8:30 pm UTC
Forum: Coding
Topic: worst bugs ever (or your most hated)
Replies: 196
Views: 21898

Re: worst bugs ever (or you most hated)

I have encountered, whilst using old copies of MSVC, times when the code fails to compile for no reason whatsoever ! The solution is to copy the entire file, delete it, make it again, and paste the exact same contents in the new file. Open the file in a high end text editor. Usually, the anomaly is...
by coppro
Sat Mar 15, 2008 6:36 pm UTC
Forum: The Help Desk
Topic: Host editing on a 2Wire router.
Replies: 1
Views: 1141

Host editing on a 2Wire router.

My dad has this problem with his e-mail in that our home ISP, in defiance of the law, blocks his outgoing mail server, because it's run by a competing ISP which he uses at work. His work ISP blocks our home ISP's SMTP server as well. It is in blatant disregard of the law here in Canada, but it doesn...
by coppro
Sat Mar 15, 2008 3:35 am UTC
Forum: Gaming
Topic: Games You Keep Going Back To
Replies: 86
Views: 10408

Re: Games You Keep Going Back To

ADOM
CoC RA2
PQ (sorry, had to do it)
DROD
Kirby Air Ride
Super Mario 64
SSBM (well, until last Sunday, anyway)
Minesweeper
Majesty
by coppro
Sat Mar 15, 2008 3:33 am UTC
Forum: Coding
Topic: Storing and indexing by redundant data. [C++]
Replies: 6
Views: 1424

Storing and indexing by redundant data. [C++]

I'm trying to write a little project and I've come across a design problem that's been irking me to no end: I have a class Entity which represents a single entity in the game world. The class Level is responsible for the management of the Entities, so storage and events and similar stuff. However, i...
by coppro
Fri Mar 14, 2008 4:05 pm UTC
Forum: Coding
Topic: Worst (Best?) Hacks
Replies: 50
Views: 7648

Re: Worst (Best?) Hacks

(actually, this comment mostly stems from the fact that I hate how C++ looks in general. It just looks dirty, unpolished, and hackish even when it's actually being used to do something very clean and elegant) Well, in this case, the syntax was chosen specifically to make something look dirty, unpol...
by coppro
Fri Mar 14, 2008 4:34 am UTC
Forum: Gaming
Topic: Super Smash Bros.
Replies: 1074
Views: 86688

Re: Super Smash Bros.

Olimar is indeed quite powerful... I got 3:00.12 on 100-Man today with him (his up-smash kills alloys like nothing else... it's way better than DK's down B because you can move). And his thrown Pikmin have the pot He's extremely difficult to use though... it'll be a while before I can use him as wel...
by coppro
Thu Mar 13, 2008 7:32 pm UTC
Forum: Gaming
Topic: Super Smash Bros.
Replies: 1074
Views: 86688

Re: Super Smash Bros.

The two things that get me every time are the fact that shields are now much more useful than they were previously (they last longer at greater sizes, and they are quicker) and the aerial dodges... I'm used to stopping in mid-air like you did in Melee.
by coppro
Wed Mar 12, 2008 10:51 pm UTC
Forum: Coding
Topic: std::vector... uhh... (fixed woo)
Replies: 8
Views: 2697

Re: std::vector... uhh...

Try and find time.h... something seems to be b0rken there.
by coppro
Wed Mar 12, 2008 3:50 pm UTC
Forum: Coding
Topic: Getting pass that tech interview
Replies: 36
Views: 5408

Re: Getting pass that tech interview

Have you read the FAQ Lite? There's a lot of common idioms described there:

http://www.parashift.com/c++-faq-lite

What did they mean by protected classes? Is that supposed to be protected base classes? Ditto for protected behaviors? Never encountered either of those terms before.
by coppro
Wed Mar 12, 2008 3:39 pm UTC
Forum: Coding
Topic: Worst (Best?) Hacks
Replies: 50
Views: 7648

Re: Worst (Best?) Hacks

That reminds me of one of the things I plan to do when I get infinite free time: I will make a POSIX-compliant operating system that is random, arbitrary, and stupid in every possible way allowed by the standards. System calls will get interrupted all the time, read and write will only read and wri...
by coppro
Wed Mar 12, 2008 4:17 am UTC
Forum: The Help Desk
Topic: Ubuntu site scared the crap out of me.
Replies: 16
Views: 1755

Re: Ubuntu site scared the crap out of me.

The X server is the basic program responsible for the window management. It deals with stuff like mouse and keyboard input and monitor output. Read more over on wikipedia (where else?) To restart it, you can log out, and once you have safely done so (and not a moment before, because it will instantl...
by coppro
Wed Mar 12, 2008 2:17 am UTC
Forum: The Help Desk
Topic: Ubuntu wireless problems
Replies: 27
Views: 4732

Re: Ubuntu wireless problems

No. It's just a name, after all.
by coppro
Wed Mar 12, 2008 2:15 am UTC
Forum: Gaming
Topic: Super Smash Bros.
Replies: 1074
Views: 86688

Re: Super Smash Bros.

What really irked me about the online service was how I went to the manual looking for how to get to WFC options and it tells me "depending on the time of day, options may be available". Wha? No criteria? No times? just total shot in the dark? For that matter, I've never seen anyone on th...
by coppro
Tue Mar 11, 2008 4:15 am UTC
Forum: Religious Wars
Topic: Which of Valve's creative guns doyou want?
Replies: 120
Views: 20216

Re: Which of Valve's creative guns doyou want?

Someone from Valve should code that up and make a video. I'm sure it wouldn't be too hard; lift the restriction on portals on moving surfaces and do it. May not be that easy. It's quite possible that the restriction on moving surfaces is due to the particular method they chose for processing portal...
by coppro
Mon Mar 10, 2008 4:29 am UTC
Forum: Gaming
Topic: Super Smash Bros.
Replies: 1074
Views: 86688

Re: Super Smash Bros.

Aradae wrote:Got the game and playing SSE right now. Anyone know if mario can wall jump all the way up to this one hidden door in the fourth level (the plains)
Naw, I just skipped that one and plan on coming back later (Pit could do it...) Almost there... only two more fights before I get to the end!
by coppro
Mon Mar 10, 2008 1:22 am UTC
Forum: Gaming
Topic: Super Smash Bros.
Replies: 1074
Views: 86688

Re: Super Smash Bros.

Brawl has killed the internet.

I am not kidding, folks.
by coppro
Sun Mar 09, 2008 2:50 pm UTC
Forum: Coding
Topic: worst bugs ever (or your most hated)
Replies: 196
Views: 21898

Re: worst bugs ever (or you most hated)

'; DROP DATABASE;-- wrote:I thought it was something dumb like that. Only thing is it worked with an older version of the library. IPC must be some crazy macri or something that got changed...
Perhaps a TransferRegion was just a char back then, so sizeof(char) returned 1, making it give that behavior?
by coppro
Sun Mar 09, 2008 5:42 am UTC
Forum: The Help Desk
Topic: Wondering if I should take advantage of this security hole.
Replies: 27
Views: 3291

Re: Wondering if I should take advantage of this security hole.

'; DROP DATABASE;-- wrote:I'll tell you when I get around to lugging my laptop out to a public AP to do it.
Would an anonymizer like http://www.stupidcensorship.com not do it?
by coppro
Sat Mar 08, 2008 6:31 pm UTC
Forum: Coding
Topic: How many programming languages do you know?
Replies: 119
Views: 34772

Re: How many programming languages do you know?

Rysto wrote:Yeah, we agreed earlier that only Turing-Complete languages should count. Unless your markup language is Turning-Complete. I guess Postscript would count.
BF? I can program in that. As well as Piet.
by coppro
Sat Mar 08, 2008 6:29 pm UTC
Forum: Coding
Topic: worst bugs ever (or your most hated)
Replies: 196
Views: 21898

Re: worst bugs ever (or you most hated)

I have encountered, whilst using old copies of MSVC, times when the code fails to compile for no reason whatsoever ! The solution is to copy the entire file, delete it, make it again, and paste the exact same contents in the new file. This is more irritating than anything I have ever encountered any...
by coppro
Sat Mar 08, 2008 4:42 am UTC
Forum: Religious Wars
Topic: Operating Systems
Replies: 666
Views: 81567

Re: Operating Systems

Nillerz wrote:I am weird. I put them all on a line.
I would put Mac much much higher... the operating system isn't super-expensive, but the fact that it only works on overpriced hardware (without moving the thing more that twice as far to the right as Linux already is) is restrictive.
by coppro
Fri Mar 07, 2008 10:07 pm UTC
Forum: Coding
Topic: Checking for undefined functions
Replies: 6
Views: 1473

Re: Checking for undefined functions

Actually, the main problem is that it's an interface library, and those are extremely difficult to unittest, because tests are (in a best-case scenario) supposed to be non-interactive. And it's an early development version, so I don't even know what the end behavior will be. Doxygen isn't particular...
by coppro
Fri Mar 07, 2008 9:58 pm UTC
Forum: Coding
Topic: Curses 'delay mode'
Replies: 3
Views: 1583

Re: Curses 'delay mode'

"Non-blocking, line-at-a-time" doesn't even make sense. The user doesn't create a line of input text instantaneously; the way a line is created is by blocking until you know the line has ended (i.e. you receive a newline). Not necessarily - it's possible that you have line-at-a-time input...

Go to advanced search