VirtualTam's bookmarks
86 bookmarks found
-
Reading game frames in Python with OpenCV - Python Plays GTA V | Python Programming Tutorials
2017-04-11 SCOOTER BROTHERS! WE'RE SCOOTER BROTHERS!
Scooter champ' algorithm:
- capture video with OpenCV
- process frames: region of interest, edge detection
- send DirectInput controls
- watch & enjoy!
src https://github.com/sentdex/pygta5/ via https://www.reddit.com/r/Python/comments/64l4pp/python_plays_gta_v_tutorial_series_creating_a/
-
-
Learn OpenCV ( C++ / Python )
2016-12-29 -
"Sauf que y a tj un mec dans la boîte qui vient faire chier à demander un environnement Java (sous couvert de Big data tout ça...) je suis d'accord il faudrait le licencier immédiatement mais en attendant c'est la fête du Swap..."
-
Inside the Linux Kernel
2016-10-24 -
The Process | CommitStrip
2016-01-08 -
mkzombie
2015-03-15 This program creates one or more zombies and a daemon their leader. It can be used to replenish system zombies, or to feed the init monster.
-
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:
-
CheckiO | Solve puzzles with Python!
2014-11-17 Plenty of fun tasks, riddles and puzzles to solve altogether with learning Python!
Get ready for:
- basic Python exercises (data structures, language features, common libraries)
- a handful exercises on string and data processing
- algorithmics! pathfinding, map exploration, optimization...