Main Page - Test Anything Protocol
august 2011 by rtlechow
TAP, the Test Anything Protocol, is a simple text-based interface between testing modules in a test harness. TAP started life as part of the test harness for Perl but now has implementations in C, C++, Python, PHP, Perl, Java and others.
Here's what a TAP test stream looks like:
1..4
ok 1 - Input file opened
not ok 2 - First line of the input valid
ok 3 - Read the rest of the file
not ok 4 - Summarized correctly # TODO Not written yet
protocol
perl
python
testing
Here's what a TAP test stream looks like:
1..4
ok 1 - Input file opened
not ok 2 - First line of the input valid
ok 3 - Read the rest of the file
not ok 4 - Summarized correctly # TODO Not written yet
august 2011 by rtlechow
See Code Run
may 2010 by rtlechow
"Learn how features of a programming language work by watching code execute. Everything is prerecorded so there is no setup or security problems. You can safely and easily watch executions recorded in lots of different languages and environments."
python
code
programming
development
may 2010 by rtlechow
The Swinger « Music Machinery
may 2010 by rtlechow
"One of my favorite hacks at last weekend’s Music Hack Day is Tristan’s Swinger. The Swinger is a bit of python code that takes any song and makes it swing. It does this be taking each beat and time-stretching the first half of each beat while time-shrinking the second half. It has quite a magical effect. Some examples:"
algorithm
algorithms
audio
music
sound
programming
opensource
python
remix
hacks
hack
tools
swing
may 2010 by rtlechow
Like, Python
april 2010 by rtlechow
"A full list of Like, Python keywords is below (swearing optional):
Valleygirl: omg, so, like, totally, right, toootally
Frat guy: friggin, fuckin, dude, man, bro, broheim, broseph
Internets: lol, rofl, teh, ohai, plz
Snoop: yo, homey, homeboy, sup, dog, shit, girl, ma, biatch, ho, shiiit
Local: wicked, hella, anyways
Misc: just, hey, yeah, ok, um, uh, ah, actually, something"
art
code
coding
development
humour
humor
linguistics
programming
python
languages
language
software
Valleygirl: omg, so, like, totally, right, toootally
Frat guy: friggin, fuckin, dude, man, bro, broheim, broseph
Internets: lol, rofl, teh, ohai, plz
Snoop: yo, homey, homeboy, sup, dog, shit, girl, ma, biatch, ho, shiiit
Local: wicked, hella, anyways
Misc: just, hey, yeah, ok, um, uh, ah, actually, something"
april 2010 by rtlechow
web2py Bayesian classifier and databases « web2py
march 2010 by rtlechow
"web2py provides a solution for this problem and includes a minimalist Bayesian classifier trained and adapted to the scope.
...
Of course the text does not make any sense. That is a feature."
python
database
bayesian
testing
web
tools
bayes
...
Of course the text does not make any sense. That is a feature."
march 2010 by rtlechow
related tags
ai ⊕ ajax ⊕ algorithm ⊕ algorithms ⊕ apple ⊕ art ⊕ ascii ⊕ audio ⊕ basic ⊕ bayes ⊕ bayesian ⊕ benchmark ⊕ blog ⊕ browser ⊕ c ⊕ c# ⊕ c++ ⊕ capetown ⊕ classification ⊕ client ⊕ cobol ⊕ code ⊕ codereview ⊕ coding ⊕ compare ⊕ comparison ⊕ compsci ⊕ computer ⊕ computerscience ⊕ conference ⊕ database ⊕ design ⊕ development ⊕ django ⊕ editor ⊕ education ⊕ fortran ⊕ framework ⊕ free ⊕ fun ⊕ geek ⊕ geo ⊕ gestalt ⊕ gis ⊕ gnome ⊕ google ⊕ graph ⊕ graphics ⊕ graphtheory ⊕ group ⊕ hack ⊕ hacks ⊕ humor ⊕ humour ⊕ image ⊕ images ⊕ jam ⊕ java ⊕ javascript ⊕ jobs ⊕ language ⊕ languages ⊕ ldap ⊕ learning ⊕ lectures ⊕ library ⊕ linguistics ⊕ linux ⊕ lisp ⊕ lists ⊕ llvm ⊕ mac ⊕ mapping ⊕ maps ⊕ math ⊕ matlab ⊕ mit ⊕ ml ⊕ music ⊕ naturallanguage ⊕ nlp ⊕ nltk ⊕ open ⊕ opengl ⊕ opensource ⊕ osx ⊕ people ⊕ performance ⊕ perl ⊕ photography ⊕ photos ⊕ photoshop ⊕ php ⊕ probability ⊕ programming ⊕ protocol ⊕ python ⊖ rails ⊕ reference ⊕ remix ⊕ repl ⊕ ria ⊕ ruby ⊕ salaries ⊕ scheme ⊕ science ⊕ scikit ⊕ screen ⊕ scripting ⊕ shell ⊕ software ⊕ sound ⊕ source ⊕ spellcheck ⊕ spelling ⊕ statistics ⊕ swing ⊕ sysadmin ⊕ terminal ⊕ test ⊕ testing ⊕ text ⊕ tools ⊕ twisted ⊕ uct ⊕ video ⊕ videos ⊕ vim ⊕ web ⊕ webdev ⊕ work ⊕ world ⊕ xaml ⊕ xhtml ⊕Copy this bookmark: