VirtualTam's bookmarks

  1. An assortment of development-related links, resources and scripts

  2. Awesome-Selfhosted 2015-07-13

    A list of software which can be hosted locally.

    See https://prism-break.org/ for a more complete list

  3. Let Over Lambda 2015-03-18

    This book is about macros, that is programs that write programs.

  4. 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:

  5. 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)))))

  6. # list USB devices
    $ lsusb
    
    # list cards detected by ALSA
    $ cat /proc/asound/cards
    
    # list cards supported  by PulseAudio
    $ pacmd list-cards | grep name:
    
  7. Because year-end lists are hip, here's 10 albums I loved from this year with tiny blurbs why, in no particular order: Intronaut - Habitual Levitations - Heavy, but thoughtful and risk-taking, truly original music Frightened Rabbit - Pedestrian Verse - Incredible songwriting and arranging. Moderat - II - Production and grooves! Revocation - Revocation - Thrashy yet refined and technical Fat Freddy's Drop - Blackbird - Deeply funky grooves in the reggae/r&b vibe Cloudkicker - Subsume - Gorgeous layering of guitars upon guitars anchored by some killer math-y grooves. Dawn of Midi - Dysnomia - Deconstructed jazz trio music turns into mesmerizing overlapping loops. The Dillinger Escape Plan - One Of Us Is The Killer - Exactly what you'd expect from DEP, which is not knowing what to expect. Equally spazzy and melodic. Jaga Jazzist - Official Page - Live w/Britten Sinfonia - Re-arrangements of 10-piece neo-jazz compositions to allow room for a full orchestra, it sounds big! Shining - One One One - A refinement of their metal/jazz sound into incredibly powerful 4 minute songs.

  8. Task Coach 2013-08-18

    A portable task manager for your TODO lists.