VirtualTam's bookmarks
143 bookmarks found
-
Sylvain Luc - Petit Géant (documentaire)
2015-04-22 Partie 1 - https://www.youtube.com/watch?v=NtjJUyF3Vpw Partie 2 - https://www.youtube.com/watch?v=_0VqYCb-QDg Partie 3 - https://www.youtube.com/watch?v=EbFr1CtMRxM Partie 4 - https://www.youtube.com/watch?v=8rESf4eAmOA
-
Bill Bruford and the Beat
2015-03-19 Part 1: ? Part 2: https://www.youtube.com/watch?v=0KCmETeBkEM Part 3: https://www.youtube.com/watch?v=Wl_S5k7ixGY
-
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:
-
Synergy Mod: Play hl² in coop!
2014-08-03 Supported Games: Half-Life 2 (required) Half-Life 2: Lost Coast Half-Life 2: Episode One Half-Life 2: Episode Two Calamity City 7: Toronto Conflict Dangerous World MINERVA: Metastasis Offshore Riot Act Rock 24
-
Bash: test if a file needs to be downloaded
2014-04-09 1#!/bin/bash 2# Check if a file needs to be downloaded 3# Useful iff there is no checksum available to check a local file 4url=http://test-url.com 5 6dl=1 7if [[ -f $file_path ]]; then 8 local_size=$(ls -l $file_path | awk '{print $5}') 9 remote_size=$(wget --spider $url 2>&1 | awk '/Length/ {print $2}') 10 11 if [[ $local_size -eq $remote_size ]]; then 12 echo "The file was previously downloaded" 13 dl=0 14 else 15 echo "Corrupted file found, re-downloading..." 16 rm -f $file_path 17 fi 18else 19 echo "Downloading file..." 20fi 21 22[[ $dl -eq 1 ]] && wget $url -O $file_path
-
Change install dir:
- get the EarSketch installer,
- launch it, install Reaper and EarSketch to the default location => C:\Program Files{EarSketch, REAPER (x64)},
- install the other softs (Python 2.7 and its extensions, Kommodo) where they belong,
- move the REAPER (x64) folder to a new location,
- edit the registry value [HKEY\LOCAL MACHINE\SOFTWARE\REAPER] to reflect this new location,
- edit the Actions menu file to reflect the new Plugins folder locations [%appdata%\REAPER\reaper-kb.ini],
- (restart Reaper),
- clean the cache.
-
Don't be Chell-fish and bring home a slice of the Portal universe!
http://www.thinkgeek.com/product/e932/?cpg=cj&ref=&CJURL=&CJID=3188559
-
MINERVA mod for Half-Life 2 - Mod DB
2013-07-24 Now on Steam!
-
The Scale of the Universe 2
2013-07-18 You've got a nice boson!