LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices


Reply
  Search this Thread
Old 12-23-2011, 10:31 AM   #1
bluegospel
Member
 
Registered: Jan 2010
Distribution: centOS
Posts: 404

Rep: Reputation: 53
Technical Book Recommedations


I think this will be of benefit to everyone, but newbies especially, to collect your three most recommended books (or other media):

On Linux, programming in general or specialized

1) For newbies
2) From newbie to intermediate
3) Integrating several popular technologies

For example,

1) "Beginning Perl" by Simon Cozen
2) "jQuery: Novice to Ninja" by Earle Castledine & Craig Sharkie
3) "No Nonsense XML Web Development with PHP", by Thomas Myer (sitepoint)
 
Old 12-23-2011, 11:44 AM   #2
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,219

Rep: Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309
You mentioned some web development books, so...

"Javascript: The Good Parts", by Douglas Crockford
 
Old 12-23-2011, 11:58 AM   #3
bluegospel
Member
 
Registered: Jan 2010
Distribution: centOS
Posts: 404

Original Poster
Rep: Reputation: 53
Quote:
Originally Posted by dugan View Post
You mentioned some web development books, so...

"Javascript: The Good Parts", by Douglas Crockford
Thanks. I reviewed this on Amazon and it looks good. It's on my reading list.
 
Old 12-26-2011, 10:06 PM   #4
easuter
Member
 
Registered: Dec 2005
Location: Portugal
Distribution: Slackware64 13.0, Slackware64 13.1
Posts: 538

Rep: Reputation: 62
1) K&R's C Programming Language / C Primer Plus
2) 24 Deadly Sins of Software Security
4) Programming Challenges - The Programming Contest Training Manual

Edit: number 3) is more about "integrating" several areas of mathematics and data structures to solving programming problems rather than technologies per se.

Last edited by easuter; 12-26-2011 at 10:08 PM.
 
Old 01-06-2012, 01:22 PM   #5
bluegospel
Member
 
Registered: Jan 2010
Distribution: centOS
Posts: 404

Original Poster
Rep: Reputation: 53
Quote:
Originally Posted by easuter View Post
1) K&R's C Programming Language / C Primer Plus
2) 24 Deadly Sins of Software Security
4) Programming Challenges - The Programming Contest Training Manual

Edit: number 3) is more about "integrating" several areas of mathematics and data structures to solving programming problems rather than technologies per se.
FYI, I'm not ignoring. I'm guaging whether responses are more likely when I answer or refrain from answering.

These selections are definite reads down the road when it's time for me to study C. Hopefully sooner than later I will get to study the security pick--vital. The third is more than I can chew now, maybe down the road. Thanks!

BTW, I've been studying Dugan's pick, JavaScript:The Good Parts. Good so far.

Last edited by bluegospel; 01-06-2012 at 01:24 PM. Reason: specify which "other poster"
 
Old 01-06-2012, 02:49 PM   #6
dugan
LQ Guru
 
Registered: Nov 2003
Location: Canada
Distribution: distro hopper
Posts: 11,219

Rep: Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309Reputation: 5309
Quote:
Originally Posted by bluegospel View Post
BTW, I've been studying Dugan's pick, JavaScript:The Good Parts. Good so far.
When you've finished, watch his follow-up talks:

http://yuiblog.com/crockford/
 
Old 01-07-2012, 10:20 AM   #7
bluegospel
Member
 
Registered: Jan 2010
Distribution: centOS
Posts: 404

Original Poster
Rep: Reputation: 53
Quote:
Originally Posted by dugan View Post
When you've finished, watch his follow-up talks:

http://yuiblog.com/crockford/
Will do. Thanks!
 
Old 01-07-2012, 05:16 PM   #8
easuter
Member
 
Registered: Dec 2005
Location: Portugal
Distribution: Slackware64 13.0, Slackware64 13.1
Posts: 538

Rep: Reputation: 62
Quote:
Originally Posted by bluegospel View Post
The third is more than I can chew now, maybe down the road. Thanks!
Yeah, it's a bit on the "heavy" side if you are still new to programming, but it presents some excellent problems to solve from various fields and is great to sharpen your programming skills. What's nice is that it isn't associated with any particular language.
 
Old 01-07-2012, 09:22 PM   #9
bluegospel
Member
 
Registered: Jan 2010
Distribution: centOS
Posts: 404

Original Poster
Rep: Reputation: 53
Quote:
Originally Posted by easuter View Post
Yeah, it's a bit on the "heavy" side if you are still new to programming, but it presents some excellent problems to solve from various fields and is great to sharpen your programming skills. What's nice is that it isn't associated with any particular language.
Yeah, I would like to return to some real-world math problem-solving exercises one of these days. I'll make it a point to look here when I do. Likewise with C & security (in these cases I'm pretty green).
 
Old 01-02-2014, 03:39 PM   #10
bluegospel
Member
 
Registered: Jan 2010
Distribution: centOS
Posts: 404

Original Poster
Rep: Reputation: 53
Quote:
Originally Posted by dugan View Post
You mentioned some web development books, so...

"Javascript: The Good Parts", by Douglas Crockford
I've returned to this read a third time, this time finally not baffled by "the towers of hanoi."

On page 39 the author uses this example as the correct way to bind handlers to several events:

Code:
// Make a function that assigns event handler functions to an array of nodes the right way. // When you click on a node, an alert box will display the ordinal of the node. 
var add_the_handlers = function (nodes) {
     var i;
     for (i = 0; i < nodes.length; i += 1) {
         nodes[i].onclick = function (i) {
             return function (e) {
                 alert(e);
             };
         }(i);
     } };
My question is this--we're calling a function that returns the function being assigned to the event, but e is our event, correct? So why do we use "alert(e)" rather than "alert(i)?" Or when neither e's properties nor methods are requested is it's value rendered specially? Or is this an error?

Thanks again!

Last edited by bluegospel; 01-03-2014 at 07:12 AM.
 
Old 01-03-2014, 07:58 AM   #11
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
Back already?
That didn't last long.
 
Old 01-03-2014, 09:55 AM   #12
bluegospel
Member
 
Registered: Jan 2010
Distribution: centOS
Posts: 404

Original Poster
Rep: Reputation: 53
Quote:
Originally Posted by Habitual View Post
Back already?
That didn't last long.
Nope. Strictly technical (rest assured).
 
Old 01-03-2014, 11:32 AM   #13
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,620

Rep: Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963
Quote:
Originally Posted by bluegospel View Post
I've returned to this read a third time, this time finally not baffled by "the towers of hanoi."
On page 39 the author uses this example as the correct way to bind handlers to several events:
Code:
// Make a function that assigns event handler functions to an array of nodes the right way. // When you click on a node, an alert box will display the ordinal of the node. 
var add_the_handlers = function (nodes) {
     var i;
     for (i = 0; i < nodes.length; i += 1) {
         nodes[i].onclick = function (i) {
             return function (e) {
                 alert(e);
             };
         }(i);
     } };
My question is this--we're calling a function that returns the function being assigned to the event, but e is our event, correct? So why do we use "alert(e)" rather than "alert(i)?" Or when neither e's properties nor methods are requested is it's value rendered specially? Or is this an error?
The "i" in what you posted is a counter, unless it's used in some other manner you haven't posted. "e" is used differently....you don't post the entire context of what you're asking about, but it seems fairly clear.
Quote:
Originally Posted by bluegospel
Nope. Strictly technical (rest assured).
We 'rested assured' when you said you were leaving...yet here you are...again....
 
Old 01-03-2014, 12:22 PM   #14
bluegospel
Member
 
Registered: Jan 2010
Distribution: centOS
Posts: 404

Original Poster
Rep: Reputation: 53
Quote:
Originally Posted by TB0ne View Post
The "i" in what you posted is a counter, unless it's used in some other manner you haven't posted. "e" is used differently....you don't post the entire context of what you're asking about, but it seems fairly clear.
The author is trying to demonstrate that in javascript, the inner functions have direct access to the outer function's variables (not copies). So the alert should correspond with the counter in the several event handlers.
 
Old 01-03-2014, 01:13 PM   #15
TB0ne
LQ Guru
 
Registered: Jul 2003
Location: Birmingham, Alabama
Distribution: SuSE, RedHat, Slack,CentOS
Posts: 26,620

Rep: Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963Reputation: 7963
Quote:
Originally Posted by bluegospel View Post
The author is trying to demonstrate that in javascript, the inner functions have direct access to the outer function's variables (not copies). So the alert should correspond with the counter in the several event handlers.
Ok...but since we don't have that book, and you haven't posted anything but a few lines of code, all we can go by is what little is there. Based on that, you were given a hypothesis.

If you'd like a more detailed answer, post a more detailed question.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Recommedations on WAN setup tiedyeguy64 Linux - Networking 4 04-06-2010 12:36 PM
Recommedations ~P3~ Linux - Networking 2 04-17-2006 08:26 PM
Which non-technical and technical book had changed or influenced you alred General 18 08-25-2005 08:44 PM
Download Manager recommedations confused_bof Linux - Software 5 07-05-2005 02:02 AM
suggestions on a good book that is not too technical nor too brainless lemuel Linux - Newbie 12 01-16-2004 05:02 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > General

All times are GMT -5. The time now is 09:21 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration