3,540 reputation
1014
bio website
location Portland, OR
age
visits member for 1 year, 5 months
seen May 14 at 20:01
stats profile views 62

Jun
10
comment Listing the routing table takes long time to complete
No problem. Don't forget to accept the answer, so other people can see that too.
May
14
comment How to convert a string to integer in Puppet?
Ah. You have found a genuine bug in Puppet. You should file a ticket at projects.puppetlabs.com/projects/puppet/issues/new so that we can fix it.
Mar
16
comment On Unix on could I get a listing of all mp3 files inside a directory containing other directories with their full path?
Reading the manual page should help, but -name '*.mp3' -o -name '*.m4a' will do what you want.
Mar
14
comment Download file through SSH
You can always use scp -o Compression=yes -o CompressionLevel=9 to get gzip at the transport level.
Mar
13
comment Technologies that allow YouTube scale distribution?
investor.google.com/financial/tables.html might help; Q4, 2011, 10,000-ish ... million dollars came in. Seriously, they are at a scale you can't imagine.
Mar
13
comment Technologies that allow YouTube scale distribution?
They own every single one of them. Seriously, they buy - well, make, these days - them. This costs as much as you would imagine, in some ways, but less in others.
Mar
10
comment 2 Received from header at IIS SMTP email send via C# application
I can't say authoritatively if it will read like spam, but you would hardly be the first service in the world to end up with a local received header like that.
Mar
10
comment 2 Received from header at IIS SMTP email send via C# application
Do you mean other emails from your own software, or from third parties? The most common way to avoid the "Received from 127.0.0.1" header is to use something other than SMTP to submit the initial email. Letting the world know that you have a loopback interface isn't a big deal, though, since every computer everywhere has a 127.0.0.1 address...
Mar
1
comment centos how to free memory with crontab
The approach you have cited above will absolutely, without doubt, not solve your problem. The only way to solve your problem is to run less software, or to make the software you run consume less memory. That requires specific configuration of the software in question, and cannot possibly be done in a generic way on that platform.
Feb
21
comment PID of a command executed in bash
If you put exec in front of a regular bash command line it will replace itself with that command, rather than run the command and wait for it to exit. So, echo $$ > /var/lib/script.pid && exec /usr/bin/script -f sometext.log should do exactly what you want.
Feb
21
comment How to depend on a Puppet class before mounting?
Thank you so much. :)
Feb
21
comment How to depend on a Puppet class before mounting?
They are part of the puppet-stdlib module at github.com/puppetlabs/puppetlabs-stdlib or available on the forge. That link to the pattern page is a wiki, feel free to update it, or I will try to remember to make the link tomorrow.
Feb
19
comment Inherit or set permissions for all new files under a specific path
Then @jjmontes was on the money. Use the sticky bit on the directory to get the behaviour you want.
Feb
19
comment Inherit or set permissions for all new files under a specific path
@jjmontes - I don't believe so, since he talks about chmod rather than chown. Rereading, though, it could be that was a typo for chown, and the sticky bit would solve the problem. That would be chmod g+s /path/to/directory
Feb
19
comment debian tcp - optimize for clients with packet loss
Those should be able to be changed at runtime.
Feb
16
comment To improve SQL performance, why not just put lots of RAM rather than having faster hard disks?
@samsmith - because the answer is complex, and that points in the direction of why the solution of "throw more memory at it" might not deliver the performance expected. In the same way that both our answers WRT RAID 10 vs 5 are not strictly SQL Server related. :)
Feb
15
comment Automatic management of SSL certificate on multiple servers…good or bad
No need to vote up just because I am a developer there; I disclose that so people don't get surprised if they go digging. Thanks, though. :)
Feb
15
comment To improve SQL performance, why not just put lots of RAM rather than having faster hard disks?
@gWaldo - "its complicated" is very fair statement there. I generally stand by the position, but it is true that controller improvements and big battery backed caching controllers help hide the extra cost of a RAID-5 device. On the large number of systems where performance just isn't an issue at all, too, it totally doesn't matter.
Feb
13
comment To improve SQL performance, why not just put lots of RAM rather than having faster hard disks?
@user1034912 - varies on the use case, and users. Generally, write performance issues are harder to resolve, and end up placing greater constraints on overall system performance, which means that when you solve the read problem they start complaining about the write problem...
Feb
11
comment How to capture the queries run on mysql server?
Sorry, no, nothing other than pointing you to the manual.