1,176 reputation
610
bio website geek.co.il
location Israel
age 39
visits member for 3 years, 6 months
seen Aug 18 at 8:45

I'm a self taught software developer, system administrator and all-round code-guy.

I've been doing software development, QA, developer support and system and even some graphic design work for as long as I can remember (going back 20 years or so, I think), both on commercial projects as well as open source and free software, and I enjoy both.

Coding is fun, that's why it is worth doing - I hope it never becomes a chore :-)


Aug
18
awarded  Scholar
Aug
18
accepted Why EC2 instance spends all its time in “IRQ” and what to do about it?
Aug
6
comment Parsing arbitrary natural language dates under BSD
Right - I was mistaken in my assertion previously - I read the numbers in correctly (they were very similar - Levenshtein distance 2). fifolog_reader does behave weirdly with some (but not all) natural language dates.
Aug
6
revised Parsing arbitrary natural language dates under BSD
fixed with date natural language expression from Stéphane's comment
Aug
6
comment Parsing arbitrary natural language dates under BSD
Thanks again! your date expression is better than mine, so I'll fix my answer. BTW - on my system (based on FreeBSD 9.1), that expression also works with your fifolog_reader command (which frankly I didn't notice until you mentioned it now - I read an earlier version of your answer and then only read the bottom of the update, sorry :-) ).
Aug
6
awarded  Editor
Aug
6
revised Parsing arbitrary natural language dates under BSD
explain the problem with the original question
Aug
6
comment Parsing arbitrary natural language dates under BSD
Thanks - you are correct. Thought what I actually want is "last time Sunday started", unlike GNU's date -d "last sunday" which is "last time a full Sunday occurred", so date -v0S -v0M -v0H -v-sunw is actually exactly what I need and the GNU date syntax is incorrect :-) I fixed my answer to reflect that the example in my question is incorrect.
Aug
6
answered Parsing arbitrary natural language dates under BSD
Aug
6
comment Parsing arbitrary natural language dates under BSD
Thanks for the find usage - it may be useful for future work, so I up voted. Regarding using different shells - I don't have them installed, and I rather write bash (which I'm very familiar with). Perl is a bit of heavy lifting for the task, but I'll do it if don't find an alternative - which I had already.
Aug
5
asked Parsing arbitrary natural language dates under BSD
Jul
5
awarded  Revival
Jul
4
answered Bash completion for comma-separated values
Jun
9
comment Understanding SSH tunnels
Very good, thanks for the illustration. I appreciate that you added "remote" type tunnels, which I did not cover in my anwers.
Jun
9
answered Why EC2 instance spends all its time in “IRQ” and what to do about it?
Jun
9
comment Why EC2 instance spends all its time in “IRQ” and what to do about it?
Actually, @sim, reading the serverfault question again, and after finding an AWS support thread with a similar issue, I think this is relevant. Thanks!
Jun
8
awarded  Commentator
Jun
8
comment Why EC2 instance spends all its time in “IRQ” and what to do about it?
Nothing comes to mind, except maybe the actual output of /proc/interrupts and top, though I doubt that will give a lot of insight. I have a feeling the hardware is simply very loaded by other workflows and I can "fix" my problem by moving the VM to another host.
Jun
8
comment Why EC2 instance spends all its time in “IRQ” and what to do about it?
@sim: the problems you are discussing are about SMP systems, while m1.small is a single core VM - so I don't see how IRQ balancing has any relevance. Thanks.
Jun
8
comment Why EC2 instance spends all its time in “IRQ” and what to do about it?
/proc/interrupts just shows high counts for the items specified in the question, and low or zero for everything else. Regarding performance - I don't think I'm expected a lot - a celeron class CPU should be able to run a requested through a somewhat customized wordpress site in less then 16 seconds (which is my current performance).