News for hackers. Stuff that matters.
Re:British bookseller hides reading list for developers in i... by yaddayadda on Friday February 20, 2015 @04:36PM (#9083210)
1. If a customer is looking for books, they're probably not going to be looking in the code.

2. If someone is looking in the code, they're probably ready for books beyond "HTML & CSS".

3. The urls aren't hyperlinked, so readers have to copy-paste.

4. The two books I bothered to copy-paste both report, "Not in our warehouse". One of them further reports that "We can order it, but could take up to 3 weeks". The big-A can have it to me in 3 days, two of which are the weekend.

Re:British bookseller hides reading list for developers in i... by BuildTheRobots on Friday February 20, 2015 @05:19PM (#9083453)
> 3. The urls aren't hyperlinked, so readers have to copy-paste.

Actually you can just highlight the URL and right click, you get an option to open it in various ways... (firefox and chrome)

Re:British bookseller hides reading list for developers in i... by yaddayadda on Saturday February 21, 2015 @05:35PM (#9087294)
I'm using Firefox 35.0.1 on OS X, i.e. the latest version of Firefox and I can't find anything that is faster than "Show Source", click and drag (to highlight the desired url), copy, paste into url bar, and press enter.

I do not have any "Open" options on my right-click from "Show Source". From "Show Source" once I've highlighted the url, the only right-click options available are "Find Again", "Copy" (which I'm already doing, albeit from a keyboard shortcut), and "Select All".

If I try it from "Inspect Elements", I can expand the head tag, double-click to select the comment, click and drag to select the url, at which point my right-click only has the "Show DOM Properties" option available. But this has already taken longer than the above show source, then copy-paste, and go.

Re:British bookseller hides reading list for developers in i... by BuildTheRobots on Saturday February 21, 2015 @10:46PM (#9088134)
Huh. It turns out you're completely correct.

Turns out I was able to highlight and right click because I was selecting the <pre> embedded text in the comments of hacker news, rather than viewing source on the waterstones link.

I'm dismayed to report that the view source window doesn't give you this open. Even worse, if you right click on something that's highlighted as being a URL you can't even open it in a new window/tab. Colour me disappointed.

Re:British bookseller hides reading list for developers in i... by mistro on Friday February 20, 2015 @05:00PM (#9083344)
Your second point is off the mark - I teach a load of kids (12-16 years old or so) who know all about pressing F12 and looking at source code, but who know next to nothing more about HTML, CSS, Python etc.

Whether or not they'd be interested in reading a book when you can just watch it on Youtube is another matter entirely!

Re:British bookseller hides reading list for developers in i... by yaddayadda on Saturday February 21, 2015 @05:45PM (#9087325)
> 2. If someone is looking in the code, they're probably ready for books beyond "HTML & CSS".

Key word in my original statement - "probably". I didn't claim that everyone reading it was beyond needing a beginners book, just that a reader of the code was "probably" ready for books beyond "HTML & CSS".

As for books versus Youtube - yep, I'm an immigrant. In most cases, I personally still prefer books, online tutorials, and online forums to Youtube. But I'm not surprised to hear that isn't the case with kids. But then again, we're discussion a book-seller's site.

Re:British bookseller hides reading list for developers in i... by linuxlizard on Friday February 20, 2015 @05:12PM (#9083408)
My 12-yo is learning HTML/JS by reading and modifying websites' code.
Re:British bookseller hides reading list for developers in i... by jarin on Friday February 20, 2015 @05:18PM (#9083441)
That is how I learned when I was 12 too :)
Re:British bookseller hides reading list for developers in i... by lstamour on Friday February 20, 2015 @06:02PM (#9083676)
Back then I didn't have developer tools though. That lowers the bar considerably to newcomers. :)
Re:British bookseller hides reading list for developers in i... by err4nt on Saturday February 21, 2015 @01:32AM (#9084904)
I first got excited about web design when my computer teacher taught me how to change table cell background colors, in Netscape Composer. Now I do responsive CSS for a living!
Re:British bookseller hides reading list for developers in i... by fysac on Friday February 20, 2015 @07:18PM (#9084002)
I remember the endless amusement I had using Firebug to create ridiculous headlines on yahoo.com.
Re:British bookseller hides reading list for developers in i... by ternaryoperator on Friday February 20, 2015 @05:18PM (#9083440)
>The urls aren't hyperlinked, so readers have to copy-paste.

Is it even possible to have clickable hyperlinks in HTML comments?

Re:British bookseller hides reading list for developers in i... by LanceH on Friday February 20, 2015 @05:29PM (#9083508)
Depending on the editor, it will recognize http:// as a url and link it.
Re:British bookseller hides reading list for developers in i... by arbre on Friday February 20, 2015 @07:57PM (#9084150)
It's because they expect you to extract the urls and open them ! On a mac with chrome :

echo `curl https://www.waterstones.com/` | grep -o 'http[^ "]/book/[^ "]' | xargs open -a Google\ Chrome

Re:British bookseller hides reading list for developers in i... by hockley on Friday February 20, 2015 @05:09PM (#9083397)