List of books for the holidays

Written on 28 November 2013, 04:33pm

Tagged with: , ,

1. Steve Krug – Don’t make me think
2. Dean Buonomano – Brain Bugs
3. Andy Hunt – Pragmatic thinking and learning
4. Paco Underhill – Why We Buy
5. Barry Schwartz – The Paradox of Choice (Why more is less)
6. Dale Carnegie – How to win friends and influence people
7. Smashing book #4
8. George Orwell – 1984
9. Dean Beaumont – The Expectant Dad’s handbook

10 books

Visual sorting algorithms

Written on 19 November 2013, 11:31am

Tagged with: ,

The guys behind AlgoRythmics found a brilliant way of showing how the sorting algorithms work: they used popular Romanian and Hungarian dance!
Have a look below how the bubble sort was done:
httpv://www.youtube.com/watch?v=lyZQPjUT5B4
For more dancing watch their YouTube page: they also ‘implemented’ quick sort, insert sort, merge sort and shell sort. You can also play with their sorting tools on their website until you are sure you understood how these sorting algorithms work.
PS – hear and see also the sound of 15 sorting algorithms
(more…)

DNS and authoritative answers

Written on 13 November 2013, 05:37pm

Tagged with: , , ,

A simple trick about nslookup that I learned while reading the Smashing Magazine’s free preview of their Book #4

To start, the full syntax of nslookup is:
nslookup [-option] [hostname] [server]

When you run nslookup [hostname], it’s your local DNS server that answers the query. This answer is non-authoritative.
With an additional step, you can get the local name servers of the hostname: nslookup -type=ns [hostname]
Using one of these local DNS servers, you can query again: nslookup [hostname] [local_name_server]. This answer is authoritative.


$ nslookup www.smashingmagazine.com
Server: 194.168.4.100
Address: 194.168.4.100#53
Non-authoritative answer:
Name: www.smashingmagazine.com
Address: 80.72.139.101

$ nslookup -type=ns www.smashingmagazine.com
Server: 194.168.4.100
Address: 194.168.4.100#53
Authoritative answers can be found from:
smashingmagazine.com
origin = a.regfish-ns.net
mail addr = postmaster.regfish.com...

$ nslookup www.smashingmagazine.com a.regfish-ns.net
Server: a.regfish-ns.net
Address: 79.140.49.11#53
Name: www.smashingmagazine.com
Address: 80.72.139.101

To clean the DNS cache, use ipconfig /flushdns.

Paul Tero – How To Fix The Web: Obscure Back-End Techniques And Terminal Secrets
From the same author – Introduction to DNS: Explaining The Dreaded DNS Delay
smashing-book-4-cover

Update 12/feb/2017: