Re: [dev] cal -5 and -7

2017-01-17 Thread Antoni V.
I understand the logic, but no clue to set switch_var. > Sent: Monday, January 16, 2017 at 6:31 AM > From: "Martin Kühne" > To: "dev mail list" > Subject: Re: [dev] cal -5 and -7 > > // actually, merge me with '3', right away, too > case '5': > case '7': > nmons = switch_var - '0'; // subtract

[dev] cal -5 and -7

2017-01-15 Thread Antoni V.
I wanted to add -5 and -7 to cal and I did. And it works. But it looks bad. Can anyone think of better implementation? Thanks. +case '5': +nmons = 5; +if (--month == 0) { +month = 12; +year--; +

Re: [dev] [sbase] Allow \t escape in sed?

2016-12-07 Thread Antoni V.
It was added by Landley - toybox author - as one ''POSIX-2008 shell script implementation'' https://github.com/torvalds/linux/commit/e0e2fa4b515cd61aabb5b32e8b816ed97dbe2490 He could not be in the know that \t isn't POSIX Contact him? > Sent: Wednesday, December 07, 2016 at 2:58 AM > From: "Micha

[dev] Using Mathematics to Repair a Masterpiece

2016-10-02 Thread Antoni V.
Hi everyone from suckless. I watched EML's presentation from suckless conference slcon3 and just 2 days later I read an article that dealt with similar stuff. A big coincidence. I expect many people to have also liked the presentation a lot, so here's a link to the article [0]. Just letting you

Re: [dev] name for ii-like chatting

2016-09-27 Thread Antoni V.
The word binocular comes from two Latin roots, bini for double, and oculus for eye. https://en.wikipedia.org/wiki/Binocular_vision -- antoniv

Re: FuzixOS: Because Small Is Beautiful WAS: [dev] several questions

2016-09-21 Thread Antoni V.
He answered your reply on G+. https://plus.google.com/+AlanCoxLinux/posts/a2jAP7Pz1gj > Having looked deeper I think the suckless code is too buggy Sad :( Should Alan Cox be added to this mailing list thread as CC for more discussion, details about the bugs he found and (who knows) solutions?

FuzixOS: Because Small Is Beautiful WAS: [dev] several questions

2016-09-21 Thread Antoni V.
> was wondering if there was a new linux kernel cleanup project somewhere? Alan Cox started work on this at 2014 and keeps developing the project until today. His announcement on 2014 - https://plus.google.com/+AlanCoxLinux/posts/a2jAP7Pz1gj The code last updated 5 days ago - https://github.co

[dev] How do you do statistics?

2016-09-10 Thread Antoni V.
Hi everyone from suckless. I wanted to know how you perform basic (and not so basic) statistics. There are programs like R, but they are generally too big and complex. I'm aware of desc [1] but it's missing a lot of useful tools; plus appears to be unmaintained. Is R the only option? Waiting f