Re: [DNG] Studying C as told. (For help)

2016-06-20 Thread Peter Olson
> On June 20, 2016 at 10:37 AM Edward Bartolo wrote: > > On page Page 34 Exercise 1-9 > "Write a program to copy its input to its output, replacing each > string of blanks one ore more blanks by a single blank." > > I wrote the following, tested it, and it seems to work, but I

Re: [DNG] LXC template for Devuan

2016-06-20 Thread Simon Walter
On 06/20/2016 07:28 AM, Greg Olsen wrote: Hi Simon, No rush. Unless I find some glaring bug, after a bit more testing I intend to refocus on pushing upstream and what's needed to make "lxc-devuan" packages for Jessie/Ascii/Ceres. It'll be the first .deb package I've made completely from scratch

Re: [DNG] [OT] Re: Fwd: Mini init script written in Perl, boots.

2016-06-20 Thread Steve Litt
On Mon, 20 Jun 2016 15:53:30 +0200 aitor_czr wrote: > Yes..., it's available in pdf. > > https://hassanolity.files.wordpress.com/2013/11/the_c_programming_language_2.pdf Is that legal? SteveT Steve Litt June 2016 featured book: Troubleshooting: Why Bother?

Re: [DNG] [Completely OT] Re: Fwd: Mini init script written in Perl boots.

2016-06-20 Thread Steve Litt
On Mon, 20 Jun 2016 12:55:11 +0200 Edward Bartolo wrote: > Hi KatolaZ, > > Thanks to your reading list, I downloaded "The C programming language" > by (Kernighan & Ritchie) and I am reading it. > > P.S. > That proof is a temptation to pass some time with when I can. I will >

Re: [DNG] How to stop udev from re-ordering devices

2016-06-20 Thread Steve Litt
On Mon, 20 Jun 2016 09:26:56 +0100 Simon Hobson wrote: > Rainer Weikusat wrote: > > > This is published here in the hope that it is useful for someting. > > > > The basic design of udev is similar to that of a forking server: > > There's a

Re: [DNG] (no subject)

2016-06-20 Thread Edward Bartolo
Hi, Rainer wrote: << Conventional approach using a state variable: #include int main(void) { int c, blanks; blanks = 0; while ((c = getchar()) != EOF) { if (blanks) { if (c == ' ') continue; blanks = 0; } else blanks = c

Re: [DNG] [OT] [Re: Studying C as told. (For help)

2016-06-20 Thread KatolaZ
On Mon, Jun 20, 2016 at 04:27:12PM +0100, KatolaZ wrote: [cut] > > which can be further streched into: > ^ I obviously meant "squeezed into" HND KatolaZ -- [ ~.,_ Enzo Nicosia aka KatolaZ - GLUGCT -- Freaknet Medialab ] [ "+. katolaz [at]

Re: [DNG] (no subject)

2016-06-20 Thread Rainer Weikusat
Edward Bartolo writes: [...] > On page Page 34 Exercise 1-9 > "Write a program to copy its input to its output, replacing each > string of blanks one ore more blanks by a single blank." > > I wrote the following, tested it, and seems to work, but I think it is > too

[DNG] [OT] [Re: Studying C as told. (For help)

2016-06-20 Thread KatolaZ
On Mon, Jun 20, 2016 at 04:37:08PM +0200, Edward Bartolo wrote: [cut] > > On page Page 34 Exercise 1-9 > "Write a program to copy its input to its output, replacing each > string of blanks one ore more blanks by a single blank." > > I wrote the following, tested it, and it seems to work, but I

Re: [DNG] Studying C as told. (For help)

2016-06-20 Thread Irrwahn
On Mon, 20 Jun 2016 16:37:08 +0200, Edward Bartolo wrote: [...] > "The C programming language" (Kernighan & Ritchie) [...] > On page Page 34 Exercise 1-9 > "Write a program to copy its input to its output, replacing each > string of blanks one ore more blanks by a single blank." > > I wrote the

Re: [DNG] [OT] Re: Fwd: Mini init script written in Perl, boots.

2016-06-20 Thread aitor_czr
On 06/20/2016 02:00 PM, Edward Bartolo wrote: Hi KatolaZ, Thanks to your reading list, I downloaded "The C programming language" by (Kernighan & Ritchie) and I am reading it. P.S. That proof is a temptation to pass some time with when I can. I will attempt it.:) Edward

Re: [DNG] Fwd: Mini init script written in Perl boots.

2016-06-20 Thread Hendrik Boom
On Mon, Jun 20, 2016 at 09:35:17AM +0200, Edward Bartolo wrote: > > You seem to work in a university's maths faculty. Can you explain to > me this paradox? > > Consider Set I = {, -3, -2, -1, 0, 1, 2 , 3, }, the set of > Integers that is infinite in size having neither a lower bound nor

Re: [DNG] Mini init script written in Perl boots.

2016-06-20 Thread Arnt Gulbrandsen
Edward Bartolo writes: So, I joined Devuan to contribute code. But, I am NOT appreciated, and to be sincere, sometimes I even think about leaving the project altogether. I am being denigrated just because I make a conscious effort to write simple code. I think not. Because you say things like

[DNG] jessie-security repository and mirrors in general

2016-06-20 Thread Florian Zieboll
Hallo, to my surprise I just noticed, that the version of "locales" in the jessie-security repository is older than the one in the "merged" repo. Not a problem, as the latest version will be installed, but nevertheless I want to report for the case that there's something wrong. BTW, does the

Re: [DNG] [OT] Re: Fwd: Mini init script written in Perl boots.

2016-06-20 Thread Edward Bartolo
Hi KatolaZ, Thanks to your reading list, I downloaded "The C programming language" by (Kernighan & Ritchie) and I am reading it. P.S. That proof is a temptation to pass some time with when I can. I will attempt it. :) Edward On 20/06/2016, KatolaZ wrote: > On Mon, Jun

Re: [DNG] Debian Multimedia leftovers

2016-06-20 Thread Florian Zieboll
On Mon, 20 Jun 2016 10:58:10 +0200 Florian Zieboll wrote: > $ aptitude search -F '%p %O' ~i | grep \\\-dmo grepping is here obviously not necessary resp. only works when the "%v#" escape is also given. f. ___ Dng mailing list

[DNG] Debian Multimedia leftovers

2016-06-20 Thread Florian Zieboll
Hallo list! Just an info for those of you with longer running Devuan (alpha) installations: I recently noticed that there are some Debian Multimedia (DMO) leftovers on my system, from the time when it had been merged into the Devuan repository. As DMO is no longer merged, those packages won't

Re: [DNG] How to stop udev from re-ordering devices

2016-06-20 Thread Simon Hobson
Rainer Weikusat wrote: > This is published here in the hope that it is useful for someting. > > The basic design of udev is similar to that of a forking server: There's > a parent process listening for uevents from the kernel on a netlink > socket which passes these

[DNG] [OT] Re: Fwd: Mini init script written in Perl boots.

2016-06-20 Thread KatolaZ
On Mon, Jun 20, 2016 at 09:35:17AM +0200, Edward Bartolo wrote: [cut] > > Consider Set I = {, -3, -2, -1, 0, 1, 2 , 3, }, the set of > Integers that is infinite in size having neither a lower bound nor an > upper bound. > > Now, consider Set M = {, -9, -6, -3, 0, 3, 6, 9, },

[DNG] Fwd: Mini init script written in Perl boots.

2016-06-20 Thread Edward Bartolo
Hi, KatolaZ wrote: << My humble impression is that you need just 4 things: - "The C programming language" (Kernighan & Ritchie), - "C in a nutshell" (Prinz & Crawford), - "The Unix programming environment" (Ritchie & Pike N.B.: *not the one by Burgess*, which is a nice book but not even close