Re: [DNG] alternative to raspbian without systemd

2015-12-11 Thread Gregory Nowak
Hi all, I'm back with an update on this, and a mini howto. First, thanks to everyone who provided various suggestions regarding both hardware and software. I ended up getting a raspberry pi2 b+. I did consider the bananapi as well. While I like the sata port, there were a few things where the raspb

Re: [DNG] top posting, was: Re: Debianising my uploaded, version of netman.

2015-12-11 Thread aitor_czr...@gnuinos.org
Dear Rainer, The code of Herbert Schildt is more understandable :) Aitor. El 11/12/15 20:13, Rainer Weikusat escribió: It's the default behaviour of certain e-mail clients and was already (at that time) directly opposed to established conventions for communicating via e-mail. Had Microsof

[DNG] Have to use "make -C . clean" before dpkg-buildpackage

2015-12-11 Thread Edward Bartolo
Hi All, Here is the output that speaks better than my words to describe the remaining debianization issues with netman. 1) Failing to build package on 'dirty' sources. edbarx@edbarx-pc:~/netman-0.1.1$ dpkg-buildpackage dpkg-buildpackage: source package netman dpkg-buildpackage: source version 0.1

Re: [DNG] top posting, was: Re: Debianising my uploaded version of netman.

2015-12-11 Thread Rainer Weikusat
Gregory Nowak writes: > On Fri, Dec 11, 2015 at 07:26:50PM +0100, Edward Bartolo wrote: >> I think, it is irritating to first having to scroll down text others >> have written rather than the text the latest poster has written. If >> the latest poster wants his readers to refer to ealier posts, he

Re: [DNG] Debianising my uploaded version of netman.

2015-12-11 Thread Edward Bartolo
Hi All, Running dpkg-buildpackage under netman/ produced two .deb packages one for the gui and one for the CLI backend. I inspected the packages' content using Xarchiver and confirmed they look to contain what they should. However, I am no Debian packager and cannot be certain that the resultant t

Re: [DNG] Debianising my uploaded version of netman.

2015-12-11 Thread KatolaZ
On Fri, Dec 11, 2015 at 06:49:44PM +, Rainer Weikusat wrote: > Edward Bartolo writes: > > I think, it is irritating to first having to scroll down text others > > have written rather than the text the latest poster has written. If > > the latest poster wants his readers to refer to ealier post

[DNG] top posting, was: Re: Debianising my uploaded version of netman.

2015-12-11 Thread Gregory Nowak
On Fri, Dec 11, 2015 at 07:26:50PM +0100, Edward Bartolo wrote: > I think, it is irritating to first having to scroll down text others > have written rather than the text the latest poster has written. If > the latest poster wants his readers to refer to ealier posts, he can > state that in his rep

Re: [DNG] Debianising my uploaded version of netman.

2015-12-11 Thread Harald Arnesen
Edward Bartolo [2015-12-11 19:26]: > I think, it is irritating to first having to scroll down text others > have written rather than the text the latest poster has written. If > the latest poster wants his readers to refer to ealier posts, he can > state that in his reply. > > I don't consider th

Re: [DNG] Debianising my uploaded version of netman.

2015-12-11 Thread Rainer Weikusat
Edward Bartolo writes: > I think, it is irritating to first having to scroll down text others > have written rather than the text the latest poster has written. If > the latest poster wants his readers to refer to ealier posts, he can > state that in his reply. > > I don't consider this netiquitte

Re: [DNG] Debianising my uploaded version of netman.

2015-12-11 Thread Ron
On Fri, 11 Dec 2015 19:26:50 +0100 Edward Bartolo wrote: > I think, it is irritating to first having to scroll down text others > have written rather than the text the latest poster has written. If > the latest poster wants his readers to refer to ealier posts, he can > state that in his reply.

Re: [DNG] Debianising my uploaded version of netman.

2015-12-11 Thread Edward Bartolo
Hi Svante, I think, it is irritating to first having to scroll down text others have written rather than the text the latest poster has written. If the latest poster wants his readers to refer to ealier posts, he can state that in his reply. I don't consider this netiquitte, but rather, a writing

Re: [DNG] busybox

2015-12-11 Thread Rainer Weikusat
"Enrico Weigelt, metux IT consult" writes: > On 01.11.2015 14:52, Rainer Weikusat wrote: >> It's also strangely schizophrenic as there's no point in zero-filling >> the entire structure prior to initializing its members one by one >> which implies zero-filling the larger part of the second one[*]

Re: [DNG] Pointer error in the backend of Netman

2015-12-11 Thread Hendrik Boom
On Fri, Dec 11, 2015 at 01:04:18PM +0100, Irrwahn wrote: > > [pedantic mode=full] There is no C/C++ language. Those > are two distinct languages, looking uncannily similar > in places. Unfortunately. [pedantic/] Nonetheless, it is possible, and even practical, to write a program in the interse

Re: [DNG] Pointer error in the backend of Netman

2015-12-11 Thread Hendrik Boom
On Fri, Dec 11, 2015 at 11:23:24AM +, KatolaZ wrote: > > C is one of the few remaining languages which is consistent about > allowing only one of the many possible argument passing > mechanisms. And the mechanism chosen by C is pass-by-value. Fullstop. Historical note: it may have picked up t

Re: [DNG] Pointer error in the backend of Netman

2015-12-11 Thread Irrwahn
[top-posting fixed] On Fri, 11 Dec 2015 12:25:00 +0100, Aitor Czr wrote: > On 12/11/2015 10:04 AM, Irrwahn wrote: >> Ceterum censeo: There is no pass by reference in C, >> has never been, and will presumably never be. Heck, >> the C standard doesn't mention the concept at all, >> not even in a no

Re: [DNG] Pointer error in the backend of Netman

2015-12-11 Thread aitor_czr
Of course :-) On 12/11/2015 12:23 PM, KatolaZ wrote: This is not being pedantic, but calling things with their name, and avoiding confusion. ___ Dng mailing list Dng@lists.dyne.org https://mailinglists.dyne.org/cgi-bin/mailman/listinfo/dng

Re: [DNG] Pointer error in the backend of Netman

2015-12-11 Thread aitor_czr
Maybe... Here you are the same program written in both languages: CASE 1 (C Language): # include void func(int*); int main(void) { int i=1; func(&i); printf( "%d", i); return 0; } void func(int *x) { *x = 2; } CASE 2 (C++ Language): #include void func(int &); int main() {

Re: [DNG] Pointer error in the backend of Netman

2015-12-11 Thread KatolaZ
On Fri, Dec 11, 2015 at 09:01:19AM +0100, aitor_czr wrote: > Hi Katolaz, > > Here you are an example of two arguments (x,y) passed by reference: [cut] > > void func(int *x, int *y) > { > int k = *x; > *x = *y; > *y = k; > } > > This is the output: > > i = 1 j = 2 > i = 2 j = 1 > Dear A

Re: [DNG] Pointer error in the backend of Netman

2015-12-11 Thread Irrwahn
[top-posting fixed] On Fri, 11 Dec 2015 10:59:05 +0100, Aitor Czr wrote: > On 12/11/2015 10:04 AM, Irrwahn wrote: >> Ugh, this explains a lot! Books by Herbert Schildt >> are, sit venia verbo, the most useless utter crap >> you can get. The only thing this book documents is >> the total incomp

Re: [DNG] Pointer error in the backend of Netman

2015-12-11 Thread Irrwahn
On Fri, 11 Dec 2015 09:49:25 +, Arnt Gulbrandsen wrote: > aitor_...@gnuinos.org writes: >> They wrote the following book: >> >> "The C programming language" > > I read both editions in my time and... isn't there anything better yet? The > book is short and gets to the point, but the code samp

Re: [DNG] Pointer error in the backend of Netman

2015-12-11 Thread aitor_czr
Maybe it doesn't deserve a Pulitzer :) Aitor. On 12/11/2015 10:04 AM, Irrwahn wrote: Ugh, this explains a lot! Books by Herbert Schildt are, sit venia verbo, the most useless utter crap you can get. The only thing this book documents is the total incompetence of its author. Have a good laugh

Re: [DNG] Pointer error in the backend of Netman

2015-12-11 Thread Arnt Gulbrandsen
aitor_...@gnuinos.org writes: They wrote the following book: "The C programming language" I read both editions in my time and... isn't there anything better yet? The book is short and gets to the point, but the code samples are terribly happypathish, with weak and unstated pre- and postcondi

Re: [DNG] Pointer error in the backend of Netman

2015-12-11 Thread Irrwahn
[top posting fixed] On Fri, 11 Dec 2015 10:31:08 +0100, Aitor Czr wrote: > On 12/11/2015 10:04 AM, Irrwahn wrote: >> If you want an overall introductory book to C, get >> K&R2, written by someone who understood C, if only >> because he invented the language. :P If you want an >> authoritative

Re: [DNG] Pointer error in the backend of Netman

2015-12-11 Thread aitor_czr
They wrote the following book: "The C programming language" Aitor. On 12/11/2015 10:31 AM, aitor_czr wrote: Hi Irrwahn, Are you referring to Brian Kernighan and Dennis Ritchie? Aitor. On 12/11/2015 10:04 AM, Irrwahn wrote: If you want an overall introductory book to C, get K&R2, wri

Re: [DNG] Pointer error in the backend of Netman

2015-12-11 Thread aitor_czr
Hi Irrwahn, Are you referring to Brian Kernighan and Dennis Ritchie? Aitor. On 12/11/2015 10:04 AM, Irrwahn wrote: If you want an overall introductory book to C, get K&R2, written by someone who understood C, if only because he invented the language. :P If you want an authoritative refere

[DNG] Reference in C -- was Re: Pointer error in the backend of Netman

2015-12-11 Thread Didier Kryn
Le 11/12/2015 09:01, aitor_czr a écrit : Hi Katolaz, Here you are an example of two arguments (x,y) passed by reference: # include int main(void) { int i=1; int j=2; printf( "i = %d j = %d \n", i,j); func(&i, &j); printf( "i = %d j = %d \n", i,j); return 0; } void func(int *x,

Re: [DNG] Netman Communication

2015-12-11 Thread Peter Olson
> On December 10, 2015 at 7:59 PM Hendrik Boom wrote: > > On Thu, Dec 10, 2015 at 06:48:16PM -0700, Gregory Nowak wrote: > > On Fri, Dec 11, 2015 at 12:47:05AM +0100, Patrick Erdmann wrote: > > > would it be possible to use github comments or a seperate mailing list > > > for Netman? [snip] > I

Re: [DNG] Pointer error in the backend of Netman

2015-12-11 Thread Irrwahn
On Fri, 11 Dec 2015 09:01:19 +0100, Aitor Czr wrote: [...] > Passing by value and passing by reference in ANSI C99 are documented in the > following book: > > C - The Complete Reference (by Herbert Schildt) Ugh, this explains a lot! Books by Herbert Schildt are, sit venia verbo, the most useles

Re: [DNG] Pointer error in the backend of Netman

2015-12-11 Thread aitor_czr
Hi Katolaz, Here you are an example of two arguments (x,y) passed by reference: # include int main(void) { int i=1; int j=2; printf( "i = %d j = %d \n", i,j); func(&i, &j); printf( "i = %d j = %d \n", i,j); return 0; } void func(int *x, int *y) { int k = *x; *x = *y; *y = k;