## Search found 26 matches

Wed Nov 19, 2008 2:25 am UTC
Forum: Individual XKCD Comic Threads
Topic: 0505: "A Bunch of Rocks"
Replies: 406
Views: 117389

### Re: "A Bunch of Rocks" Discussion

So, is this a simulation of the universe minute by minute or is it just meant to run a simulation if the stones were read? And can he ever, really, be done? To simulate the universe in real time you'd need a quantum computer. Then again, desert guy seems a lot smarter than I. You would need a quant...
Thu Oct 30, 2008 12:11 am UTC
Forum: Computer Science
Topic: md5(x) = x [and other properties of md5]
Replies: 39
Views: 27326

### Re: md5(x) = x [and other properties of md5]

There can never be an X such that MD5(x) = x because The input to MD5 is different size than the output. The input to MD5 is actually 512 bit blocks, the minimum length that you can input is 512 bits. For all inputs not divisible by 512 then input is padded with 0s to be a multiple of 512 bits. The ...
Thu Sep 04, 2008 3:20 am UTC
Forum: Hardware
Topic: Oil cooled computer
Replies: 40
Views: 7507

### Re: Oil cooled computer

If you have a bizarre amount of money to spend, buy a whole bunch of fluorinert , put it in an aquarium, and just drop your computer in the bottom. But, the stuff costs about \$2000/liter. So make it a small tank. According to that wiki article, the stuff dissolves oxygen really well.... so it might ...
Thu Sep 04, 2008 2:31 am UTC
Forum: Computer Science
Topic: 9 questions I have somewhat relevant to CS
Replies: 10
Views: 2683

### Re: 9 questions I have somewhat relevant to CS

(I did this without reading anyone else's posts first) 1. To the fantastic person who is reading this, what drove you towards computer science? Natural curiosity about computers and how they work. I always liked "Engineering" (building little robot kits and stuff as a kid) computers allowe...
Sun Jul 27, 2008 11:39 pm UTC
Forum: Coding
Topic: Monitoring a running Process' Memory space
Replies: 5
Views: 1446

### Re: Monitoring a running Process' Memory space

I don't know of any tools, but you didn't really say what exactly you want to do so it's hard to point you at tools. You mentioned old memory space "cheat" tools, and it is pretty easy to find those around on the web still. But it is also really easy to write those, using OpenProcess() and...
Wed Oct 03, 2007 11:57 pm UTC
Forum: Coding
Topic: Alternatives to the dreaded goto
Replies: 114
Views: 18999

### Re: Alternatives to the dreaded goto

Here enters human opinion. For small structures, I'd prefer to encounter "break", for structures deeper then a break I'd prefer to encounter a function (if isDangerous()) {break;}). Second best would be the original example, a temporary variable. Third best, though by no means a call to a...
Wed Oct 03, 2007 11:48 pm UTC
Forum: Computer Science
Topic: Computer science vs. software engineering?
Replies: 39
Views: 43600

### Re: Computer science vs. software engineering?

I'd never heard of a "Software Engineering" degree until this thread. My univ had Comp Sci, Comp Eng both of which were taught by the college of engineering. CompE is basically CompSci plus some Electric Eng. Comp Sci is all about programming, operating systems, and algorithms (which inclu...
Wed Oct 03, 2007 12:59 am UTC
Forum: Coding
Topic: Does anyone here...
Replies: 38
Views: 5445

### Re:

phlip wrote:I feel superior when coding in Whitespace, since it is, without exception, the greatest language in the world.

After reading this I immediately wondered if there was a whitespace message hidden inside. Sadly, I don't think there is (or the forums stripped it out).
Wed Oct 03, 2007 12:57 am UTC
Forum: Coding
Topic: Does anyone here...
Replies: 38
Views: 5445

### Re: Does anyone here...

I myself have spent far too much time on the insides of Ultima Online (hooking and hacking DLL calls for 'cheat' tools). I like that kind of thing, if you want to feel superior, get your own following of internet worshipers. Sure it doesn't mean much, but it can be fun. For my day job I code embedde...
Fri Sep 28, 2007 11:25 pm UTC
Forum: Coding
Topic: Alternatives to the dreaded goto
Replies: 114
Views: 18999

### Re: Alternatives to the dreaded goto

I think I have a good analogy for goto. I think of goto like a bronze age spear. It once was a powerful tool, and undoubtedly man would not be as well of as he is today if it was never invented. It is the basis for most of our civilization, and at the very least you can see the same basic design in ...
Thu Sep 06, 2007 1:55 am UTC
Forum: Coding
Topic: Alternatives to the dreaded goto
Replies: 114
Views: 18999
I would do a whole long drawn out discussion of why the goto lovers are heretics... but this thread is old and I'm not sure anyone would read it. Goto is almost always completely uncalled for. Writing "clean" code properly completely removes the need for goto (as has already been said). Mo...
Tue Jul 31, 2007 12:12 am UTC
Forum: Coding
Topic: Languages that handle infinite recursion
Replies: 40
Views: 7944
Yah, taggedunion, what exactly do you think 'char blah[]' compiles to? const char *blah ... ; Very good MrSparkle. Now what exactly is unsafe/unportable/incorrect about an equivalent statement? (the lack of const on the first is not equivalent, but const can just be added and the ability to change ...
Mon Jul 30, 2007 8:22 pm UTC
Forum: Coding
Topic: Languages that handle infinite recursion
Replies: 40
Views: 7944
davean wrote:
Yah, taggedunion, what exactly do you think 'char blah[]' compiles to?

const char *blah ... ;
Fri Jul 20, 2007 9:47 pm UTC
Forum: Individual XKCD Comic Threads
Topic: 0292: "Goto"
Replies: 157
Views: 44583
This comic perfectly describes what I want to happen to every Linux kernel programmer.
Sun Jul 15, 2007 4:02 pm UTC
Forum: Computer Science
Topic: Stupid NP problems
Replies: 38
Views: 9057
I don't much see what this has to do with TSP (or NPC) at all, either. But this will probably work decently well: while ( true ) { Make a list of all possible artists while ( artist list is not empty ) { choose a random artist from the list choose a random song by that arti...
Fri Jun 01, 2007 4:44 am UTC
Forum: Coding
Topic: Code width
Replies: 65
Views: 14971
The reason for checking for lack of success instead of checking for presence of error really has to do with trusting all of your called functions to properly handled enumerated types (which don't even exist in C, and in C++ are really just fancy named integers). For example.. enum ERROR_CODE { ...
Thu May 31, 2007 3:41 am UTC
Forum: Coding
Topic: Code width
Replies: 65
Views: 14971
Yakk wrote:If you have an error case, check for the error and bail instead of checking for success.

Not quite on topic, but doing this isn't always a good idea. Lack of error is not always the same thing as success... but usually lack of success indicates some type of error.
Sun May 27, 2007 1:17 pm UTC
Forum: General
Topic: INTRO THREAD 2.0: INTRODUCE YOURSELF OR PERISH!
Replies: 2548
Views: 329355
While on the subject of how we discovered xkcd.

I was in my graduate Cryptography class in the fall semester not paying attention as usual when my friend, sitting next to me on his laptop also not paying attention, sent me a link to the "Alice/Bob/Eve" comic. I was instantly hooked.
Sun May 27, 2007 4:51 am UTC
Forum: General
Topic: INTRO THREAD 2.0: INTRODUCE YOURSELF OR PERISH!
Replies: 2548
Views: 329355
The Simpsons, Ep 8.22: "In Marge We Trust"

http://en.wikipedia.org/wiki/Mr_Sparkle
Sun May 27, 2007 12:55 am UTC
Forum: Coding
Topic: [ Poll ] Infinite loops
Replies: 185
Views: 40465
On the inside of my wedding ring I'm going to get this engraved: while ( true ) together( Bryan & Emily ); Our wedding video producer guy had this part at the end where he was like "Pick a word to describe your love" and he fade it in at the end under your names like &q...
Sun May 27, 2007 12:46 am UTC
Forum: General
Topic: INTRO THREAD 2.0: INTRODUCE YOURSELF OR PERISH!
Replies: 2548
Views: 329355
Hi. I'm a Software Engineer, recently graduated with my Masters Degree in Computer Science.

I have often be accused by my friends and my wife of being a bot... but not so much in the "CUM LOOK AT MY PIX" way as in the "Wait, you drank 3 beers and then wrote your thesis?" way.
Wed May 23, 2007 8:29 pm UTC
Forum: Coding
Topic: A CASE for preprocessors.
Replies: 14
Views: 5337

### Re: A CASE for preprocessors.

....The only 'caveat' is that backslash line continuation. The only one? Really? I'm sure that code is cool and all, but really when you start nesting preprocessor beyond like 2-3 levels of indirection it gets impossible to follow. Its fine for you, but not for anyone else who has to sit down and r...
Wed May 23, 2007 11:19 am UTC
Forum: Coding
Topic: New C project i'm working on
Replies: 42
Views: 11221
Another small thing to keep in mind about rand(). A lot of implementations of rand() vary in a very big way. Under gcc/linux, it is pretty good, and srand isn't even necessary (there's a daemon spinning random numbers all the time). Under Microsoft's compiler, it's still a 16 bit value. In other wo...
Wed May 16, 2007 1:18 am UTC
Forum: News & Articles
Topic: Falwell is Dead
Replies: 52
Views: 10215
Azrael wrote:Unfortunately, remarkability and historical significance come equally to the shits of the world as to the saints.

Sadly enough, they do not come equally.
Wed May 16, 2007 1:06 am UTC
Forum: Coding
Topic: Latex :(
Replies: 30
Views: 10156
My algorithms professor told us that the reason LaTeX makes superior looking documents (with regard to alignment/justification) is because it uses a non-greedy (dynamic programming maybe, I don't know) approach. Greedy algorithms for justifying end up with awful looking text... as is the case in word.
Thu May 10, 2007 3:51 am UTC
Forum: Coding
Topic: Latex :(
Replies: 30
Views: 10156
I'm not sure what ruledtabular does there, but it works fine for me without that part... i.e. \begin{table} \caption{\label{}test caption} \begin{tabular}{lcc} test & 1 2 & 3 \\ \hline 4 & 5 & 6 \\ \end{tabular} \end{ta...

Go to advanced search