Thursday, August 30, 2012

Cisco AnyConnect VPN on Ubuntu

Follow steps in this link. If VPN was connected when Ubuntu rebooted, /etc/resolv.conf may not have refreshed its contents. So, if you cannot access the internet even if WiFi is enabled, please replace the contents of resolv.conf using sudo vi /etc/resolv.conf with the following:
nameserver 127.0.0.1
search gateway.2wire.netp

Friday, August 24, 2012

Love for fonts

My love for Mac was due to its beautiful fonts. Recently I have come to love inconsolata for coding. To install it on Ubuntu: sudo aptitude install ttf-inconsolata

Thursday, August 23, 2012

Java on Ubuntu

  • Match version of java to javac
  • To know the current version: java -version or javac -version
  • To change the current version: sudo update-alternatives --config java

Monday, August 20, 2012

Sighins...

Debugging and Commenting

  • Jamie Zawinski: Prints. Assumptions and what it does. Layout of data structures [rfc style ?]. What is this for? What's the range of inputs? Long variable names as descriptive as possible except for loop iterators.Digging into an API and figure out which part is needed and which is not is important now.
  • Donald Knuth: The CWEB System of Structured Documentation. The problem is that coding isn’t fun if all you can do is call things out of a library, if you can’t write the library yourself. If the job of coding is just to be finding the right combination of parameters, that does fairly obvious things, then who’d want to go into that as a career?
     

O. Henry

  • The Princess and the Puma: Intriguing, finishing might be a bit of an anticlimax though
  • The Gift of the Magi
  • Springtime a la Carte
  • The Caliph, Cupid, and the Clock
  • The Romance of a Busy Broker: Sweet surprise
  • The Higher Pragmatism
  • After Twenty Years
  • Schools and Schools
  • The Defeat of the City
  • From Each According to His Ability

Sunday, August 19, 2012

Poogramin

  1. Easy Set of Video Lectures on C#: http://www.youtube.com/watch?v=SXmVym6L8dw
  2. http://c.learncodethehardway.org/book/
  3. Few C problems
  4. http://htdp.org/
  5. http://book.realworldhaskell.org/
  6. http://hop.perl.plover.com/
  7. http://mitpress.mit.edu/sicp/full-text/book/book.html
  8. Effective Java
  9. Java Generics and Collections
  10. Java Concurrency in Practice
  11. Dependency Injection
  12. Java Reflection in Action
  13. Restful Web Services
  14. RESTful Webservices with JAX-RS
  15. RESTful Webservices Cookbook
  16. Programming in Scala
  17. JavaScript: The Good Parts
  18. Coders at Work
  19. Modern Compiler Implementation in C 
  20. http://www.superfrink.net/athenaeum/OS-FAQ/os-faq.html 
  21. http://linuxgazette.net/issue77/krishnakumar.html
  22. http://mikeos.berlios.de/write-your-own-os.html#asmprimer 
  23. Developing your own 32-Bit Operating System
  24. http://joelgompert.com/OS/TableOfContents.htm
  25. UNIX Network Programming
  26. TCP/IP Illustrated
  27. The UNIX Programming Environment
  28. Understanding the Linux Kernel
  29. The Standard C Library
  30. Advanced Programming in the UNIX Environment  
  31. The Pragmatic Programmer
  32. Code Complete
  33. Clean Code 
  34. Lion's Commentary on UNIX 
  35. MacPaint and QuickDraw Src Code 
  36. Ten papers