383 reputation
26
bio website
location
age
visits member for 5 years, 2 months
seen Dec 14 at 18:54

Apr
7
comment Monday morning mistake: sudo rm -rf --no-preserve-root /
@phresnel In this analogy "--no-preserve-root" would be like a protective cover that automatically reverts back into protective position right after every single maintenance operation do when operating the saw, or after n seconds idle. In that case, yes it's really surprising that --no-preserve-root could be in effect. Unless, of course, it's hard coded somehwere. And that's stupidity, indeed
Apr
7
comment Monday morning mistake: sudo rm -rf --no-preserve-root /
@OlivierDulac isn't that obvious as it is? Also, it's not that witty :) (yes I just changed my nick /just/ to confuse you :))
Apr
7
comment Monday morning mistake: sudo rm -rf --no-preserve-root /
@TomTom this is actually not why backups are needed. Because, "distilled stupidity" [1] has the potential to ruin backups just the same. Backups are there for cases of accident or emergency. ([1] re-using with permission)
Apr
7
comment Monday morning mistake: sudo rm -rf --no-preserve-root /
Of course not :)
Apr
7
comment Monday morning mistake: sudo rm -rf --no-preserve-root /
The most sensible bit of advise is missing: "don't type options that you don't intend to invoke, such as --no-preserve-root or --permission-to-kill-kittens-explicitly-granted, for that matter"
May
6
comment How do I log CPU usage per process?
I think sort -nr would do better to sort numerically (at least on my ubuntu/debian boxen)
Aug
24
comment I've inherited a rat's nest of cabling. What now?
How much money was spent on materials?
Aug
15
comment Setup a linux computer to act as a bluetooth keyboard/mouse
Wow. That seems spot on. I might try this
Mar
17
comment ZFS vs XFS
Revisiting this bug, they still think that the abysmal boot problems with snaphots are "normal behaviour for lvm": bugs.launchpad.net/lvm2/+bug/360237/comments/7 (on 2012-01-07)
Nov
30
comment Outgrew MongoDB … now what?
the only person with a constructive response - In my view, this is mostly due the the un-constructive way in which the question was posed (at least, here). It simply tells you that Joe Community on SF doesn't keep an interest in teaching you about mongodb in quite the same way as MongoDb itself :) I'm sure you'll find that if you posted the question as Help, our MongoDB doesn't scale! Are we doing it wrong? you'd have received exactly the same presentation link within minutes of you posting the question.
Nov
4
comment Linode Lish Shell Vim and Nano rendering troubles: lines not appearing / cursor positions wrong
@YujiTomita: don't rule out environment variables. Many ((n)curses) programs are 'taught' to honour the $COLUMNS, $LINES and $TERM variables so if they are off, things go haywire
Oct
31
comment What does a lot of 'STOPPED' messages in bash mean?
This is a pretty good hint considering the OP mentioned 'on a quite loaded server' +1
Oct
7
comment Linux hard disk repair tool
is it is raid (unless you mean striping) you just replace the one disk and rebuild the array. If it is the FS that is corrupted, you need to name the bloddy fs. We are not psychic
Sep
22
comment Interactive shell tips?
most importantly, press v in normal mode (<Esc>v) to start a vim instance on your current command line
Jul
3
comment Is a 64 or 32-bit VirtualBox guest better on a 64-bit host?
But note that compilers will have plenty more register space to optimize in. Of course, data will frequently take up twice the space, but some data are fixed size (say, bytes). These will be handled more efficiently; The savings in more opportunity for register-based parameter passing instead of stack-based are not something to spit at. I've done recent benchmarks with heavy computation-intensive tree search algorithms that were a factor of 1.1 to 1.2 faster in 64 bit due to this effect mostly. Not shocking, but worthwhile
Jun
25
comment Redirect example.com to www.example.com VPS & Apache2
a cname record will do nicely, it's just subtly different; depends on what you're aiming for
May
25
comment 1 user, 1 day, millions of requests for the same file
Sry for late reply. Obviously, the guess was that the CDN wasn't providing expiration headers at all. 7 days is enough (it really depends on your use case), but at least enough to prevent accidental hit-to-death by a regular browser.
May
19
comment Program to monitor new exe files in Windows (C/C++)
Oh, yes and this too. This ain't for the faint of heart, though.
May
4
comment Apache Tomcat not starting on Linux Server
Your linux distribution is not a secret, is it? 'With a bash shell' doesn't really identify it uniquely, you know :)
Oct
9
comment ZFS vs XFS
As it happens, just today someone confirmed that the vg with snapshot - unable-to-boot-linux is still current: bugs.launchpad.net/lvm2/+bug/360237