StuartIanNaylor

Results 89 comments of StuartIanNaylor

The problem is currently the whole rationale of log2ram to minimize flash writes is flawed because the hourly copy of logs that have changed in the majority of installs is...

The olddir directive is a single line at the top of /etc/logrotate.conf and because its there its global unless specific noolddir directives are given. The limitations of olddir is that...

renamecopy setting ? olddir is just a logrotate directive that is set globally in /etc/logrotate.conf via sed. I can not find a renamecopy setting is that just a post-rotate script?...

renamecopy must be a debian thing as doesn't seem to exist in https://linux.die.net/man/8/logrotate Not sure how it works though as some such as apache have postrotate scripts that would override?...

The question marks where questions on the info you provided that I wasn't aware of, not statements > Log file is renamed to temporary filename in the same directory by...

https://github.com/StuartIanNaylor/zram-config implemented renamecopy

Same physical device is default speed as files are not copied across devices as all that is needed is FAT changes on the same device. I actually can not think...

Guess so as that would prob override any existing and saves you having to molest /etc/logrotate.conf I think I will do that also but for me its a nobrainer as...

@rabitt I do love pysox it rocks guys & thankx I am going to steal @shakfu bash script but also would love to do this in pysox (creating model datasets...

@shakfu ``` def get_voice_params(file, silence_maximum_amplitude,file_min_silence_duration=0.2): stat = sox.file_info.stat(file) file_maximum_amplitude = stat['Maximum amplitude'] file_duration = stat['Length (seconds)'] percent_silence_threshold = (silence_maximum_amplitude / file_maximum_amplitude) * 100 tmp1 = tempfile.NamedTemporaryFile(suffix='.wav') tmp2 = tempfile.NamedTemporaryFile(suffix='.wav') tfm1...