VirtualTam's bookmarks

  1. What makes a package useful? What is it about certain packages that makes them must-haves for any project?

  2. 1for i in $(find /usr/lib -type f -name '*.so.*'); do
    2      nm -D $i | grep MY_SYMBOL;
    3      [[ $? -eq 0 ]] && echo $i;
    4done
    

    adapted from http://narkive.com/a1rT9Efg.8

  3. Make continuous deployment safe by comparing before and after webpage screenshots for each release.

  4. "Two clichés make us laugh. A hundred cliches move us. For we sense dimly that the clichés are talking among themselves, and celebrating a reunion."

    "Electric Wizard are the product of a hundred cliches. Everything about them is a trope, but despite that, they are stupidly heavy and even though they often sink into kitsch to the detriment of their songwriting, they're sort of a unique band in that they're the best at amplifier massage."

    https://www.reddit.com/r/Metal/comments/2re6wz/shreddits_album_of_the_week_electric_wizard/cnfdrio

  5. A hands-on introduction to Git and GitHub, and how to make them work together! More Git resources for beginners here: http://www.dataschool.io/tag/git/

  6. Python's built-in unittest module is quite cool, but a bit limited and way too verbose (read: it's quite not easy to incite developers to write unit tests)

    I'm currently looking for more dev-friendly solutions, the key points being:

    • writing test code should be easy and straight-forward -keep the focus on "what to test" instead of "how to transcribe a process to a test"
    • parallelization! -we, spoiled developers, should make good use of our way-too-many-cores build machines...
    • complete feature set!
      • we don't want to just run tests...
      • coverage reports (find dead/weak/untested code sections)
      • output formatting (JUnit-XML seems to be quite a common format out there)

    There seem to be 3 solutions in Python:

    • stock unittest + project-dependent customizations / test helpers
    • nosetests
    • py.test

    And 2 ways of gettings things done:

    • keeping things stock: no external dependency, project-specific implementation...
    • using a test framework: one more module in your (test) virtualenv, more concise tests, more features (// run, code coverage, etc.)

    Some links:

  7. electric-indent has been activated by default in emacs 24

    to disable it for Python: (add-hook 'python-mode-hook (lambda () (set (make-local-variable 'electric-indent-functions) (list (lambda (arg) 'no-indent)))))

  8. "Touring makes you crazy"

  9. Basic concepts of acoustics and electronics and how they can applied to understand musical sound and make music with electronic instruments. Topics include: sound waves, musical sound, basic electronics, and applications of these basic principles in amplifiers and speaker design.