2,675 reputation
11025
bio website
location
age
visits member for 4 years, 3 months
seen 23 hours ago

Apr
25
suggested approved edit on Sudo su vs su linux
Apr
13
awarded  Notable Question
Apr
10
comment Why is Google so much faster than a hard-drive search?
@Mehrdad: no internet search engines let you match arbitrary substrings.
Apr
10
comment Why is Google so much faster than a hard-drive search?
@Mehrdad: creating an index isn't O(1), but searching an index is O(1), because it's essentially just a huge hash table. Search engine algorithms though usually aren't O(1) because most search queries are composed of multiple words and the merging/reduce results is not O(1), also sorting the results are not O(1) either; fuzzy/phonetic/misspelt search can be made O(1) though at the cost of larger index size.
Apr
6
comment Why is Google so much faster than a hard-drive search?
The difference between an indexed and unindexed search is the difference between O(1) and O(n) operation.
Mar
9
awarded  Nice Answer
Feb
25
comment Why isn't Interix mkdir honoring -p argument?
Perhaps you'd need to fix your PATH variable?
Feb
25
comment in linux, is it possible to find out the hard disk operation time
It won't be possible to do it reliably, but you can log the mount and umounting time and analyze that. It would work as long as you never had unexpected shutdown where you didn't have a chance to umount properly. If you had unexpected shutdown, you may be able to get by with checking the last journal time, though I don't know how you'd get that unless you modify the kernel/filesystem driver. More importantly though, why do you want to do this? I'm guessing you have some sort of XY problem.
Feb
24
awarded  Enlightened
Feb
24
awarded  Nice Answer
Feb
2
comment How do I make a machine “blank screen” for a period of time (as a penalty) if certain noise levels are reached?
I would be interested to know how soon they would figure out that they can immediately restore the screen by pressing Ctrl+Alt+F7.
Dec
4
comment Why my color of directories in putty is same as other color for linux
@user1721949: what shell do you use for root login and for user login?
Nov
7
comment Why hibernate Windows 8?
If you're on laptop, you might want to switch battery or if your battery is at a dangerously low level, you don't want to sleep since sleeping requires continuous power to the RAM. Hibernate is usually slower than fresh shotdown and startup, but restarting all programs and losing undo/redo states slows down your workflow even worse, so it's an overall win.
Oct
18
awarded  Popular Question
Oct
15
comment What's the difference between the terms “Shell” and “Bash”?
Shells are not necessarily command-line based, there are many graphical shells as well, e.g. Nautilus, Windows Explorer, Finder, etc. The essential point for shell is it is a wrapper/user interface/shell around core OS functionalities/system calls, i.e. shells provides management of resources (e.g. file management) and management of processes.
Oct
15
comment What's the difference between the terms “Shell” and “Bash”?
@LauriRanta: quick quiz, what's the icon of Nautilus?
Sep
28
awarded  Popular Question
Sep
28
awarded  Yearling
Sep
15
comment How to share address book data between MacOS X and Windows/Linux?
How is a cloud solution inelegant? IMO, it's the perfect solution for what the OP needed. If you want synchronization among multiple platforms with different set of tools, generally the best solution is to have the master copy in the cloud in a tool-agnostic format.
Aug
3
awarded  Popular Question