Thursday, December 29, 2011
AndEngine games
Nice collection of Android puzzle games built on top of AndEngine: http://www.andengine.org/blog/
Sunday, December 18, 2011
Sunday, December 11, 2011
Friday, October 21, 2011
Map/Reduce Visual Explanation
The Map/Reduce algorithm, very nicely explained by Ayende Rahien:
http://ayende.com/blog/4435/map-reduce-a-visual-explanation
http://ayende.com/blog/4435/map-reduce-a-visual-explanation
Friday, September 23, 2011
Friday, September 16, 2011
Beacons - by Gishu
Check out the video presentation of the Beacons VS extension at http://madcoderspeak.blogspot.com/2011/09/string-calculator-kata-my-first.html
Also, give feedback to Gishu at http://stackoverflow.com/questions/6642450/visual-studio-tdd-setup/6660547#6660547
Also, give feedback to Gishu at http://stackoverflow.com/questions/6642450/visual-studio-tdd-setup/6660547#6660547
Sunday, August 28, 2011
AutoFixture
AutoFixture makes it easier for developers to do Test-Driven Development by automating non-relevant Test Fixture Setup, allowing the Test Developer to focus on the essentials of each test case.
http://autofixture.codeplex.com/
Mark Seemann's demo from NDC2011: http://ndc2011.macsimum.no/mp4/Day3%20Friday/Track7%201500-1600.mp4
http://autofixture.codeplex.com/
Mark Seemann's demo from NDC2011: http://ndc2011.macsimum.no/mp4/Day3%20Friday/Track7%201500-1600.mp4
Wednesday, August 24, 2011
24 game
A nice game, found here: http://rosettacode.org/wiki/24_game
Also has a solver: http://rosettacode.org/wiki/24_game/Solve
Also has a solver: http://rosettacode.org/wiki/24_game/Solve
Thursday, August 18, 2011
Tuesday, August 16, 2011
Jon Skeet and Tony the Pony
Wonderful talk about the complexities of software:
Jon Skeet and Tony the Pony from Carsonified on Vimeo.
Jon Skeet and Tony the Pony from Carsonified on Vimeo.
Friday, August 5, 2011
PeeWee - Python ORM that allows code-first development
Sample usage of the library: http://charlesleifer.com/docs/peewee/peewee/uses.html
Wednesday, August 3, 2011
Foundations of Programming (by Karl Seguin)
Free ebook available at:
http://www.openmymind.net/FoundationsOfProgramming.pdf
DOCX Source available on github: https://github.com/karlseguin/Foundations-of-Programming-Ebook
http://www.openmymind.net/FoundationsOfProgramming.pdf
DOCX Source available on github: https://github.com/karlseguin/Foundations-of-Programming-Ebook
Data Structures and Algorithms with Object-Oriented Design Patterns in C#
Free book by Bruno R. Preiss, available online at http://www.brpreiss.com/books/opus6/
Tuesday, August 2, 2011
Friday, July 22, 2011
4 nice ways to automate Test Runs in .NET
So far I've found the following convenient ways to run tests:
These two actions and a lot more can also be bound to keyboard combinations. My favourite are CTRL+' for Debug Test and CTRL+SHIFT+' for Run Test
Note that if that method to run takes any parameters, TestDriven.Net will pass default values for them (null for reference types, default for value types).
I typically bind the CTRL+Q keystroke to running the current method with TestDriven.Net
Now whenever you do a build, the assembly is automatically re-loaded in the runner tests are run for you.
This way, each (successful) build will trigger a test run for the whole assembly.
Obviously, even if the code compiles, failing tests will fail the build (the NUnit test runner will return an error code).
Using the Resharper plugin
This allows right clicking next to a Test method and selecting Run or Debug.These two actions and a lot more can also be bound to keyboard combinations. My favourite are CTRL+' for Debug Test and CTRL+SHIFT+' for Run Test
Using the Testdriven.NET plugin
Testdriven.Net has a very nice twist: it not only allows running Test methods. It also allows running any method that is currently selected (the pointer is somewhere inside the body of the method). The only condition for this to work is that the method must be either static or be defined inside a class that has a default (parameterless) constructor.Note that if that method to run takes any parameters, TestDriven.Net will pass default values for them (null for reference types, default for value types).
I typically bind the CTRL+Q keystroke to running the current method with TestDriven.Net
Using the NUnit Test Runner
This one is especially useful when doing TDD: after loading an assembly in the NUnit test runner, go to the Tools -> Settings -> Assembly Reload and check all three boxes: 'Reload after each test run', 'Reload when test assembly changes' and 'Re-run last tests run'.Now whenever you do a build, the assembly is automatically re-loaded in the runner tests are run for you.
Using the NUnit Test Command-line utility
The NUnit command-line test runnning utility can be plugged-in as a Post-Build event (set this up in the .NET Project configuration).This way, each (successful) build will trigger a test run for the whole assembly.
Obviously, even if the code compiles, failing tests will fail the build (the NUnit test runner will return an error code).
Labels:
.net,
nunit,
resharper,
tdd,
test runners,
testdriven.net,
unit tests
Thursday, July 21, 2011
Wednesday, July 20, 2011
Sunday, July 17, 2011
The God Complex
Very inspiring talk about trial-and-error.
One concept described by Tim resembles the way Genetic Algorithms work.
One concept described by Tim resembles the way Genetic Algorithms work.
Wednesday, July 13, 2011
Sunday, July 10, 2011
Wednesday, July 6, 2011
Wednesday, June 22, 2011
The Transformation Priority Premise
- ({}–>nil) no code at all->code that employs nil
- (nil->constant)
- (constant->constant+) a simple constant to a more complex constant
- (constant->scalar) replacing a constant with a variable or an argument
- (statement->statements) adding more unconditional statements.
- (unconditional->if) splitting the execution path
- (scalar->array)
- (array->container)
- (statement->tail-recursion)
- (if->while)
- (statement->recursion)
- (expression->function) replacing an expression with a function or algorithm
- (variable->assignment) replacing the value of a variable.
- (case) adding a case (or else) to an existing switch or if
Labels:
software design,
software principles,
tdd,
Uncle Bob,
unit tests
Flash Cards: T-P Premise
Tuesday, June 21, 2011
Monday, June 20, 2011
Sunday, June 12, 2011
Integrate Mantis with SVN
I really need to try this out:
http://blog.bonetree.net/2008/09/how-to-integrate-subversion-and-mantis/
http://blog.bonetree.net/2008/09/how-to-integrate-subversion-and-mantis/
Wednesday, June 8, 2011
JSFiddle - nice online JS resource
A lot of nice Javascript examples using some of the most widely known JS frameworks out there: http://jsfiddle.net/
Pangloss
Very nice collection of witty quotes and funny Shakespearian insults: http://www.pangloss.com/
Subscribe to:
Posts (Atom)