303 reputation
18
bio website
location
age
visits member for 3 years, 5 months
seen Dec 15 at 23:25

Jul
27
comment How to find folders over 1GB and execute another command in linux terminal?
"You can get around this with the -S option to du."-- though that will still get flagged if that directory itself has too many large files. Solution I guess would be du -Sb $DIR/*, so you're not ever running it on the $DIR in question.
Jul
26
comment Determine if output is stdout or stderr
The brackets are for ordering. I actually got that exact form from I-forget-where, but the point is to use extra file descriptors (beyond 1=stdout and 2=stderr) to take the output of the inner set of brackets, and run stdout through one sed command, while stderr goes through a different one.
Jul
25
comment Broken SATA HDD pin
The long ones are ground, so that they connect first.
Jul
25
comment How to duplicate an IDE drive as a SATA drive
Agreed. Also, don't forget that there's a chance XP will decide it doesn't want to run on the new hardware anyway.
Jul
12
comment How to reference variable sheet in OpenOffice Calc?
That's good. In that case you should upvote and accept this answer.
Jul
10
comment Multiple viewports into the same Virtual Desktop
I would like to note that "just minimize them" isn't a solution I like.
Jun
28
comment Can I mark a folder as mountpoint-only?
IIRC there are issues without mounting SSHFS as root.
Jun
20
comment Live Screencast under Linux
5 means a rather choppy frame rate, but 50 is way too much. At most I'd do around 30 (that's roughly what movies usually are), but with his bandwidth restriction, I'd probably not go above 10.
Jun
20
comment Live Screencast under Linux
The answer to your second part is right there: "used the crf option for x264." / "when I change the stuff on the screen a bunch it fails to encode properly." Constant Rate Factor means effectively constant quality. If you do a lot at once, that means you updated it a lot, which means more bandwidth under CRF mode. Constant bit rate is what you probably want to go for.
Jun
20
comment Run a shell script in an existing terminal session
If you're making something for deployment, it should, be default, write a log file. If the user wants to view the log, they can exert the effort to do it themselves. Otherwise you're going to end up with people just running yes no | yourscript.sh all the time, which is just a bit extra annoying, and unnecessary. tl;dr: make it non-interactive.
Jul
28
comment Parallel processing slower than sequential?
Possibly not, if ImageMagick is spawning 4 threads per copy of itself-- that means they can get in each other's way on every core... I added an example with larger images that works the way I would expect.
Jul
28
comment Parallel processing slower than sequential?
imagemagick.org/discourse-server/viewtopic.php?f=1&t=14307 seems to indicate that this is a problem with imagemagick's SMP code.
Jul
28
comment Parallel processing slower than sequential?
dmidecode says I have 512K of L3, no L2, and 128K of L1, but close enough (also, demidecode has been known to lie). The images in question are 3.1KB(54+32*32*3 bytes), which may be related. Convert -version reports Features: OpenMP. I will retry with a set of 769K images.