211 reputation
210
bio website
location
age
visits member for 2 years, 9 months
seen yesterday

Jul
8
comment Swap partition size on a 64 GB RAM computer for memory-intensive work
@T.C.: Not using SSD for swap because of wearing down the medium is an unjustified urban legend. Swapping does not happen "all the time", but rarely. Also, this is something that has been extensively researched at Microsoft after the Win7 release with the result that the typical access patterns of swapping are quite acceptable for SSD (that's Windows, not Ubuntu, but it's likely that Linux does not perform much worse). You have a hundred (or thousand) times more write operations wearing down your SSD due to silly log files that nobody is ever reading (usually syncing every line).
Apr
14
comment Why do English characters require fewer bytes to represent than other alphabets?
The paragraph about Unicode is wrong, though. Unicode is not a solution to the existence of different terminals. On the contrary, Unicode is entirely unsuitable for what it is being used for. It is is not a character set, but a grapheme encoding (for "anything man has ever written"), which includes graphemes of languages that no living person speaks and multiple ambiguous encodings for the same graphemes. This makes it an extremely poor choice for computer text processing, introducing many twists and pitfalls, and significant overhead (for such things as e.g. "normalization").
Mar
12
comment Properly close (not kill) programs from the command line
If taskkill works the same as TaskManager (which I haven't verified, but strongly suspect), then it works by first sending WM_CLOSE, and setting a timer (something like 100-200ms) after which TerminateProcess is called if the process still exists. That allows a responsive application (usually) to exit gracefully, and will blast a non-responsive application out of existence anyway. If Chrome shows an improper shutdown dialog on next start, it probably takes too long to shut down.
Mar
11
comment Hard Drives and types — What makes them so different?
I see, so I got it exactly the wrong way around. Thank you for the clarification (but my point about "Green" still stands, spinning a harddisk slower than at its normal operational speed (when the heads aren't in park position) is certainly a catastrophic, stupid idea).
Mar
6
comment Hard Drives and types — What makes them so different?
"Green" on the other hand, is already self-explaining. The Green Movement is a moronic, misled ideology to "save the environment", which only reduces performance and destroys the environment. Green drives will save a few milliwatts over their lifetime by spinning the disk slower, but due to the way harddisks work (air bearing) this greatly reduces the drive's resilience to vibration and its overall lifetime. Replacing drives more often due to decreased lifetime is an economic benfit for the manfacturer (more sales) but damages environment much more than a few milliwatts extra.
Mar
6
comment Hard Drives and types — What makes them so different?
TLER is not just important for enterprise, it is the one important feature on a hard disk to avoid losing data. A drive without TLER is broken by design, it means that the first time a sector fails its checksum (which will inevitably happen with age, but may randomly happen due to many other reasons) the sector will be remapped and the data is never again accessible. TLER will cause a user-noticeable delay and generate a relocation event that SMART tools will pick up. It gives you the possibility to ignore the event or to back up data if that has not already happened.
Nov
20
comment How to delete Windows NTFS hard link (mklink /h) while original is in use?
Should probably be asked on superuser. But still: movefile should be able to do the trick in any case. It's surprising that you cannot simply delete the hard link though, actually it should be a completely "unrelated" file.
Nov
14
comment Disable Windows 7 program grey-out during long-running / busy programs
Processes running in a debugger aren't ghosted. Is writing a mini-debugger acceptable? Something like... CreateProcess(); DebugActiveProcess(); for(;;)WaitForDebugEvent();.
Aug
12
comment RAM ticking all the time on Linux box
My hovercraft is full of eels?
Mar
1
comment How is PAE implemented in Linux?
PT entries are 64-bit because they can only be 32 or 64 bits wide. There is no such thing as a 36-bit integer that a CPU can usually access (not any real CPU anyway, without shifting and masking). It doesn't matter, however. The OS will write 64-bit-sized 36-bit integers into the PT, and the application uses 32-bit integers as pointers which the PT translates to whatever the respective entries point to. Including several virtual addresses pointing to the same phyical one. Nobody cares, the hardware just maps what you tell it to what you tell it.
Jan
31
comment How do I change the default font of Sticky Notes?
Awesome idea, works well.
Nov
19
comment Original files corrupted from cp, maybe bad hard disk
+1 totally. When you download a file and write it to disk, it is almost certainly delivered from buffer cache (and likely not even physically on the disk yet) by the time you run md5sum. This makes a RAM issue much more likely.
Nov
14
comment Recover strategy single bad sector in moricon
@Shinrai: Well, thank you. sfc really did it... I had completely forgotten that this thing exists. I should have left it at that, too. After sfc, all was fine. I ran chkdsk thereafter just to be sure that the defective sector(s) is/are marked properly, and behold, as expected, it marked 1 sector and screwed up the entire system. I spent the next 5 hours getting the computer to boot successfully again. If you want to make the sfc tip an answer, I'll gladly accept it.
Jul
30
comment Which account is the top level user account in Windows 7?
Ugh... don't do that, seriously. UAC is admittedly annoying (but mostly because application developers are stupid -- they still don't get it that 99% of all programs do not really need admin rights -- not because of Windows). However, it is nevertheless something you want to keep enabled at all times. You really do not want to give every program root access to your computer (and probably don't want to execute a program that "needs" admin rights for no obvious reason at all).