2,652 reputation
11123
bio website blueraja.com/blog
location
age
visits member for 3 years, 4 months
seen 5 hours ago
stats profile views 207

May
17
comment Is DLL executable?
The phrase an executable file causes a computer "to perform indicated tasks according to encoded instructions" describes a sufficient condition, not a necessary one. So, it says "is an executable file => contains machine code," which is not the same thing as the statement you're confusing it for, "contains machine code => is an executable file." I'm not sure why you're bringing up the article on DLL's, as you did not reference that one at all (you quoted the article on executable files)
May
16
comment Is DLL executable?
"According to the Wikipedia article a DLL is an executable file" - actually, it doesn't say that. You are making the common logic mistake of confusing necessary and sufficient conditions. That wikipedia quote states that having executable code is a necessary condition for something to be an executable file, not that it is a sufficient condition.
May
8
comment Hyper Threading vs Overclocking
Yes, I should have mentioned that. All networked software will have a listen-thread, but we usually ignore that because it spends so much of its time idle, you will see essentially zero performance improvement when it runs on a second core.
May
8
comment Hyper Threading vs Overclocking
@Bakuriu: Very few PC games are multi-threaded. Some games (notably, Source Engine) will use a second thread for rendering tasks, but even that is not common.
May
8
comment Hyper Threading vs Overclocking
Switching between threads is extremely expensive (need to restore entire register state, flush the entire pipeline, etc.) with respect to individual instructions, so I find your explanation hard to believe. My understanding of hyper-threading is that it's a clever way to allow a second thread to make use of a core's unused logical units (idle arithmetic units, etc). Does anyone know whose understanding is correct?
May
2
comment How can I rename a file whose name is in itself a full path (e.g. begins with “g:\”)?
Also, though you have your solution already, could you post the code that created the file? I didn't think the Windows File APIs even allowed you to specify an invalid filename..
May
2
comment How can I rename a file whose name is in itself a full path (e.g. begins with “g:\”)?
does *filename.csv work?
Apr
24
awarded  Tumbleweed
Apr
19
revised Infer PGP private key using an encoded decoded sample
deleted 6 characters in body
Apr
17
asked What do I do if I have the correct drivers but my computer still isn't mounting my camera?
Apr
16
answered Encrypt Multiple Files into Individual Volumes Easily?
Apr
9
answered Infer PGP private key using an encoded decoded sample
Apr
5
comment Why do computers count from zero?
@David: In C (the language that really popularized 0-based indexing), arrays and pointers are largely interchangable, so it is important for a number of reasons that *array actually refers to the first element. One example: if we have array point to the memory location before the first element, casting to an array of a different type would be troublesome eg. the position of the second byte in an array of ints would become dependent on the word-size; on a 32-bit machine, it would be at ((char*)intArray + 5)!!
Apr
5
comment Why do computers count from zero?
+1 for correct answer. Note that 0-based indexing is just a (very common) convention of the language being used; it's not universal. For instance, Lua uses 1-based indexing. The "unnecessary subtraction" may have been the reasoning behind 0-based indexing in the old days, but now most languages use it simply because it's what everyone is already used to (largely thanks to C), and there's no compelling reason to change that convention.
Apr
5
comment Why do computers count from zero?
-1 It has absolutely nothing to do with binary representation.
Mar
27
answered Using Windows 7, how can you use multiple mice (to get multiple cursors)?
Mar
27
comment Using Windows 7, how can you use multiple mice (to get multiple cursors)?
This appears to treat multiple mice as multiple touches on a touch-screen, rather than multiple separate mouse pointers. I can't imagine a scenario where that would be useful.
Mar
27
comment Using Windows 7, how can you use multiple mice (to get multiple cursors)?
Not sure why people are still upvoting this answer. CPNMouse doesn't exist anymore, and Dual Mouse & Keyboard never existed in the first place.
Mar
26
awarded  Famous Question
Mar
24
awarded  Investor