Re: Book questions

2015-04-15 Thread Rusi Mody
On Wednesday, April 15, 2015 at 11:30:04 PM UTC+5:30, David Christensen wrote: > On 04/14/2015 11:11 PM, Rusi Mody wrote: > > I find the Friedman books better. http://www.amazon.com/Scheme-Art-Programming-George-Springer/dp/0262192888 http://www.amazon.com/Essentials-Programming-Languages-Daniel-F

Re: Book questions

2015-04-15 Thread David Christensen
On 04/14/2015 11:11 PM, Rusi Mody wrote: I find the Friedman books better. Which books? David -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/552ea548.6040...@h

Re: Book questions

2015-04-14 Thread Rusi Mody
On Tuesday, April 14, 2015 at 9:20:06 PM UTC+5:30, David Christensen wrote: > I mentioned SICP before. The concepts are great, but the Scheme > programming language and REPL environment aren't my favorite. If you're > serious about computer science and computer programming, read it first > and

Re: Book questions

2015-04-14 Thread David Christensen
On 04/14/2015 12:35 AM, Petter Adsen wrote: I see that a lot of people advice me on going with something other than C, and I can understand that there are good reasons for this advice. While I still want to learn C at some point, I'm beginning to think that it might be wise to consider getting a

Re: Book questions

2015-04-14 Thread Rusi Mody
On Tuesday, April 14, 2015 at 5:00:04 PM UTC+5:30, Petter Adsen wrote: > On Tue, 14 Apr 2015 03:59:15 -0700 (PDT) > Rusi Mody wrote: > > Beyond that what you should take up really depends on what calls you: > > - python is nice if its scripts > > Well, on a practical level I need something that ca

Re: Book questions

2015-04-14 Thread Rusi Mody
On Tuesday, April 14, 2015 at 5:00:04 PM UTC+5:30, Petter Adsen wrote: > On Tue, 14 Apr 2015 03:59:15 -0700 (PDT) > Rusi Mody wrote: > > Specifically for linux system-level stuff, python will give you > > 80-90% of the C level stuff at ⅕ the pain. > > eg for TCP/IP networking look at > > https://do

Re: Book questions

2015-04-14 Thread Gene Heskett
On Tuesday 14 April 2015 03:35:50 Petter Adsen wrote: > On Mon, 13 Apr 2015 16:36:44 -0500 > > David Wright wrote: > > Quoting Petter Adsen (pet...@synth.no): > > > On Mon, 13 Apr 2015 20:21:49 +0300 > > > > > > Reco wrote: > > > > Let's see as I didn't have OS design in mind. Something like: > >

Re: Book questions

2015-04-14 Thread Nate Bargmann
As this is starting to take the tone of a religious argument ( :-) let me say that while you may not need to know all of the dark corners of C, you will want to know its semantics and here is why. Inevitably you will have to need to use system calls and when you look them up in the manual pages wh

Re: Book questions

2015-04-14 Thread Petter Adsen
On Tue, 14 Apr 2015 03:59:15 -0700 (PDT) Rusi Mody wrote: > On Tuesday, April 14, 2015 at 1:10:04 PM UTC+5:30, Petter Adsen wrote: > > That I can also accept. I see that a lot of people advice me on > > going with something other than C, and I can understand that there > > are good reasons for thi

Re: Book questions

2015-04-14 Thread Rusi Mody
On Tuesday, April 14, 2015 at 1:10:04 PM UTC+5:30, Petter Adsen wrote: > On Mon, 13 Apr 2015 16:36:44 -0500 > David Wright wrote: > > Quoting Petter Adsen wrote: > > > On Mon, 13 Apr 2015 20:21:49 +0300 > > > Reco wrote: > > > > Let's see as I didn't have OS design in mind. Something like: > > > >

Re: Book questions

2015-04-14 Thread Petter Adsen
On Mon, 13 Apr 2015 16:36:44 -0500 David Wright wrote: > Quoting Petter Adsen (pet...@synth.no): > > On Mon, 13 Apr 2015 20:21:49 +0300 > > Reco wrote: > > > Let's see as I didn't have OS design in mind. Something like: > > > > > > Exit codes and their value in real life. > > > Strings handling,

Re: Book questions

2015-04-14 Thread Petter Adsen
On Tue, 14 Apr 2015 02:43:53 +0800 Bret Busby wrote: > On 14/04/2015, Petter Adsen wrote: > > > > > My cat is walking on my keyboard now, demanding attention. Best not > > to ignore him any longer. :) > > > > Can he program? I'm not sure, but I take care to lock the screen and not let him s

Re: Book questions

2015-04-13 Thread Nate Bargmann
* On 2015 13 Apr 13:38 -0500, Petter Adsen wrote: > On Mon, 13 Apr 2015 20:21:49 +0300 > Reco wrote: > > > On Tue, Apr 14, 2015 at 12:36:28AM +0800, Bret Busby wrote: > > > The question is, what is the nature of the understanding that you > > > want of Linux? Is it the interaction between the lay

Re: Book questions

2015-04-13 Thread Gene Heskett
On Monday 13 April 2015 17:22:34 Reco wrote: > Hi. > > On Tue, Apr 14, 2015 at 02:16:40AM +0800, Bret Busby wrote: > > On 14/04/2015, Reco wrote: > > > On Tue, Apr 14, 2015 at 12:36:28AM +0800, Bret Busby wrote: > > >> On 13/04/2015, Reco wrote: > > >> > > >> > > >> > > >> >Learning C is simp

Re: Book questions

2015-04-13 Thread David Wright
Quoting Petter Adsen (pet...@synth.no): > On Mon, 13 Apr 2015 20:21:49 +0300 > Reco wrote: > > Let's see as I didn't have OS design in mind. Something like: > > > > Exit codes and their value in real life. > > Strings handling, memory allocation. > > Process control and daemonisation (sp?). > > S

Re: Book questions

2015-04-13 Thread Reco
Hi. On Tue, Apr 14, 2015 at 02:16:40AM +0800, Bret Busby wrote: > On 14/04/2015, Reco wrote: > > On Tue, Apr 14, 2015 at 12:36:28AM +0800, Bret Busby wrote: > >> On 13/04/2015, Reco wrote: > >> > >> > >> > >> >Learning C is simple and > >> > fun. Just read classic K&R treatise, do all the exam

Re: Book questions

2015-04-13 Thread Reco
Hi. On Mon, Apr 13, 2015 at 06:32:30PM +, Curt wrote: > On 2015-04-13, Reco wrote: > > > > *ANSI* C - yes. For instance, gcc has this wonderful '-ansi' switch. > > It's even possible to choose the exact version of ANSI C standard (i.e. > > -std=c99). > > *K&R* C - no. At least, gcc-4.7 has n

Re: Book questions

2015-04-13 Thread Bret Busby
On 14/04/2015, Petter Adsen wrote: > My cat is walking on my keyboard now, demanding attention. Best not to > ignore him any longer. :) > Can he program? Cats are smart creatures. "Dogs have masters - cats have staff" :) -- Bret Busby Armadale West Australia .. "So once you do

Re: Book questions

2015-04-13 Thread Petter Adsen
On Mon, 13 Apr 2015 20:21:49 +0300 Reco wrote: > On Tue, Apr 14, 2015 at 12:36:28AM +0800, Bret Busby wrote: > > The question is, what is the nature of the understanding that you > > want of Linux? Is it the interaction between the layers, for > > example, the HAL and the higher layers; is it the

Re: Book questions

2015-04-13 Thread Curt
On 2015-04-13, Reco wrote: > > *ANSI* C - yes. For instance, gcc has this wonderful '-ansi' switch. > It's even possible to choose the exact version of ANSI C standard (i.e. > -std=c99). > *K&R* C - no. At least, gcc-4.7 has no switch for this that I'm > aware of. > -traditional ? But incompatib

Re: Book questions

2015-04-13 Thread Bret Busby
On 14/04/2015, Reco wrote: > On Tue, Apr 14, 2015 at 12:36:28AM +0800, Bret Busby wrote: >> On 13/04/2015, Reco wrote: >> >> >> >> >Learning C is simple and >> > fun. Just read classic K&R treatise, do all the examples. Did so back >> > in >> > high school, and no brain was damaged in the proces

Re: Book questions

2015-04-13 Thread Reco
On Tue, Apr 14, 2015 at 12:36:28AM +0800, Bret Busby wrote: > On 13/04/2015, Reco wrote: > > > > >Learning C is simple and > > fun. Just read classic K&R treatise, do all the examples. Did so back in > > high school, and no brain was damaged in the process :) > > The only problem today is to ge

Re: Book questions

2015-04-13 Thread Bret Busby
On 13/04/2015, Reco wrote: >Learning C is simple and > fun. Just read classic K&R treatise, do all the examples. Did so back in > high school, and no brain was damaged in the process :) > The only problem today is to get a C compiler that understands K&R C. > I have not programmed in "C" for a

Re: Book questions

2015-04-13 Thread Reco
Hi. On Mon, Apr 13, 2015 at 05:18:09AM -0700, Rusi Mody wrote: > On Monday, April 13, 2015 at 12:30:03 PM UTC+5:30, Petter Adsen wrote: > > On Sun, 12 Apr 2015 09:35:25 -0700 > > David Christensen wrote: > > > > > On 04/12/2015 01:33 AM, Petter Adsen wrote:> OK, thank you, I will > > > definite

Re: Book questions

2015-04-13 Thread David Wright
Quoting Petter Adsen (pet...@synth.no): > On Sun, 12 Apr 2015 09:35:25 -0700 > David Christensen wrote: > > I'd advise learning one language well, where "well" includes security > > best practices. Understand that learning any modern language takes a > > lot of time and effort. So pick one tha

Re: Book questions

2015-04-13 Thread Rusi Mody
On Monday, April 13, 2015 at 12:30:03 PM UTC+5:30, Petter Adsen wrote: > On Sun, 12 Apr 2015 09:35:25 -0700 > David Christensen wrote: > > > On 04/12/2015 01:33 AM, Petter Adsen wrote:> OK, thank you, I will > > definitely consider Perl also, as I already know > > > a little and have a few books

Re: Book questions

2015-04-13 Thread Nate Bargmann
* On 2015 13 Apr 01:58 -0500, Petter Adsen wrote: > Thanks for your advice, I think I should focus mainly on C for the time > being, and try to improve on my shell scripting rather than worry about > Python just yet. Then you have to wrestle with the question of POSIX shell versus Bash extensions.

Re: Book questions

2015-04-12 Thread Petter Adsen
On Sun, 12 Apr 2015 09:35:25 -0700 David Christensen wrote: > On 04/12/2015 01:33 AM, Petter Adsen wrote:> OK, thank you, I will > definitely consider Perl also, as I already know > > a little and have a few books on it. > > I'd advise learning one language well, where "well" includes security

Re: Book questions

2015-04-12 Thread David Wright
Quoting Iain M Conochie (i...@thargoid.co.uk): > On 12/04/15 17:34, David Wright wrote: > >Quoting Iain M Conochie (i...@thargoid.co.uk): > > > >>IMHO, the issues with perl and python is that you will have to > >>understand Object Orientated Programming (OOP) to get the most out > >>of them, especi

Re: Book questions

2015-04-12 Thread Bob Bernstein
On Sun, 12 Apr 2015, Glenn English wrote: My Pentium laptop gets the job done, eventually, but the more modern Xeon box downstairs is much easier to live with... A Xeon home machine? Please tell us more about it. Details too. (I am thinking in terms of the same thing, sort of, i.e. refur

Re: Book questions

2015-04-12 Thread Iain M Conochie
On 12/04/15 17:34, David Wright wrote: Quoting Iain M Conochie (i...@thargoid.co.uk): IMHO, the issues with perl and python is that you will have to understand Object Orientated Programming (OOP) to get the most out of them, especially for GUI development. This was one of the reasons I drew a

Re: Book questions

2015-04-12 Thread Glenn English
On Apr 12, 2015, at 10:35 AM, David Christensen wrote: > There now are a number of university-level lectures and/or courses available > online for free. For example, SICP 1 e.: > > http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-001-structure-and-interpretation-of-co

Re: Book questions

2015-04-12 Thread David Christensen
On 04/11/2015 11:43 PM, Petter Adsen wrote: I want to thank everyone for their answers in this thread, you have all been very helpful. YW. On 04/11/2015 11:43 PM, Petter Adsen wrote: Now that you mention security, that leads me to another question - are there any good books on writing secure

Re: Book questions

2015-04-12 Thread David Wright
Quoting Iain M Conochie (i...@thargoid.co.uk): > On 12/04/15 09:33, Petter Adsen wrote: > >On Sun, 12 Apr 2015 15:51:24 +0800 Bret Busby wrote: > >>On 12/04/2015, Petter Adsen wrote: > >>>Another thing - I have been thinking about also learning Python, for > >>>instance for interacting with GTK,

Re: Book questions

2015-04-12 Thread Iain M Conochie
On 12/04/15 09:33, Petter Adsen wrote: On Sun, 12 Apr 2015 15:51:24 +0800 Bret Busby wrote: On 12/04/2015, Petter Adsen wrote: Now that you mention security, that leads me to another question - are there any good books on writing secure programs? I would guess that would be a good thing to

Re: Book questions

2015-04-12 Thread Petter Adsen
On Sun, 12 Apr 2015 15:51:24 +0800 Bret Busby wrote: > On 12/04/2015, Petter Adsen wrote: > > Now that you mention security, that leads me to another question - > > are there any good books on writing secure programs? I would guess > > that would be a good thing to think about from the start, as

Re: Book questions

2015-04-12 Thread Bret Busby
On 12/04/2015, Petter Adsen wrote: > > > Now that you mention security, that leads me to another question - are > there any good books on writing secure programs? I would guess that > would be a good thing to think about from the start, as to learn good > practices? > I believe that this is wh

Re: Book questions

2015-04-11 Thread Petter Adsen
On Fri, 10 Apr 2015 16:29:58 +0100 Iain M Conochie wrote: > Not to mention security as well - there is even a possible integer > overflow in one of the examples! > To be fair, I am not too sure how much of the security implications > of C were known in 1988. I want to thank everyone for their an

Re: Book questions

2015-04-11 Thread Glenn English
"C is a collection of macros for PDP-11 assembly language." -- A unix guru I worked with many years ago -- Glenn English -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https:/

Re: Book questions

2015-04-10 Thread Gene Heskett
On Friday 10 April 2015 23:01:14 David Wright wrote: > Quoting Gene Heskett (ghesk...@wdtv.com): > > On Friday 10 April 2015 10:28:24 Alexis wrote: > > > Having said that, one thing i always felt was sorely lacking in > > > K&R was a more thorough description of pointers. However, i feel > > > th

Re: Book questions

2015-04-10 Thread David Wright
Quoting Gene Heskett (ghesk...@wdtv.com): > > > On Friday 10 April 2015 10:28:24 Alexis wrote: > > Having said that, one thing i always felt was sorely lacking in > > K&R was a more thorough description of pointers. However, i feel > > that issue has now been addressed by Richard Reese's excellen

Re: Book questions

2015-04-10 Thread Alexis
Iain M Conochie writes: Fair enough, I guess calling it the bible of C programming is going too far ;) Heh! i was actually trying to think of another word instead of 'reference', and 'bible' is much closer to what i was looking for. :-) Not to mention security as well - there is even a

Re: Book questions

2015-04-10 Thread David Wright
Quoting Petter Adsen (pet...@synth.no): > I do know a little Perl, I learnt it back when I used it for some CGI > work. This was many years ago, and I haven't really kept it up to date, > but it has come in very handy many times when I don't know how to do > what I need in a shell script. I learnt

Re: Book questions

2015-04-09 Thread Bret Busby
On 09/04/2015, Petter Adsen wrote: > On Thu, 09 Apr 2015 23:00:46 +1000 > Alexis wrote: > >> >> Petter Adsen writes: >> >> > For a long time I've been meaning to learn more about regular >> > expressions, and I found the following books: "Mastering Regular >> > Expressions" and "Sed & awk", both

Re: Book questions

2015-04-09 Thread Dan Ritter
On Thu, Apr 09, 2015 at 03:28:24PM +0200, Petter Adsen wrote: > On Thu, 9 Apr 2015 08:32:38 -0400 > Dan Ritter wrote: > > > 'man perlre' (perl regular expressions) is a good reference in > > most cases; more so if you're actually using perl, of course. > > It's been a long time since I used perl

Re: Book questions

2015-04-09 Thread Petter Adsen
On Thu, 09 Apr 2015 23:00:46 +1000 Alexis wrote: > > Petter Adsen writes: > > > For a long time I've been meaning to learn more about regular > > expressions, and I found the following books: "Mastering Regular > > Expressions" and "Sed & awk", both from O'Reilly. Does anyone > > have any e

RE: Book questions

2015-04-09 Thread Larry Owens
-Original Message- From: Petter Adsen [mailto:pet...@synth.no] Sent: Thursday, April 09, 2015 5:15 AM To: debian-user@lists.debian.org Subject: Book questions This might be a little off-topic, as it is not Debian-specific, but I hope those here with experience will bear with me. I was

Re: Book questions

2015-04-09 Thread Petter Adsen
On Thu, 9 Apr 2015 08:32:38 -0400 Dan Ritter wrote: > On Thu, Apr 09, 2015 at 02:15:12PM +0200, Petter Adsen wrote: > > For a long time I've been meaning to learn more about regular > > expressions, and I found the following books: "Mastering Regular > > Expressions" and "Sed & awk", both from O'

Re: Book questions

2015-04-09 Thread Alexis
Petter Adsen writes: For a long time I've been meaning to learn more about regular expressions, and I found the following books: "Mastering Regular Expressions" and "Sed & awk", both from O'Reilly. Does anyone have any experience with these, and an opinion as to which I should start with?

Re: Book questions

2015-04-09 Thread Dan Ritter
On Thu, Apr 09, 2015 at 02:15:12PM +0200, Petter Adsen wrote: > For a long time I've been meaning to learn more about regular > expressions, and I found the following books: "Mastering Regular > Expressions" and "Sed & awk", both from O'Reilly. Does anyone have any > experience with these, and an o