VirtualTam's bookmarks
72 bookmarks found
-
virtualtam/developus-apparatus
2015-08-24 An assortment of development-related links, resources and scripts
-
Awesome-Selfhosted
2015-07-13 A list of software which can be hosted locally.
See https://prism-break.org/ for a more complete list
-
Let Over Lambda
2015-03-18 This book is about macros, that is programs that write programs.
-
Iterables vs. Iterators vs. Generators
2015-03-03 -
Python unit testing frameworks: Nose, Pytest
2015-02-13 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:
-
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)))))
-
Linux: list detected soundcards
2015-01-08 # list USB devices $ lsusb # list cards detected by ALSA $ cat /proc/asound/cards # list cards supported by PulseAudio $ pacmd list-cards | grep name:
-
Pete Griffin's top 10 albums of 2013
2013-12-24 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.
-
Task Coach
2013-08-18 A portable task manager for your TODO lists.