VirtualTam's bookmarks
199 bookmarks found
-
Check the awesome http://portalmaps.wecreatestuff.com/ !
-
TL;DR
- March 12, 2015 - New project creation disabled.
- August 24, 2015 - The site goes read-only.
- January 25, 2016 - The project hosting service is closed.
-
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:
-
Obsolete Time - Hackaday Projects
2014-12-10 -
The ten project management commandments
2014-12-04 -
Uses a project or repository's history to plot user contributions, displaying an elegant, colored graph of the file arborescence.
After running it on quite different projects...
- Python/Bash CI/Jenkins scripts
- Qt apps: GoldenDict, Psi+
- PHP website: Shaarli
...watching some vids on teh intartubez:
- Minecraft: https://www.youtube.com/watch?v=zRjTyRly5WA
- Linux kernel: https://www.youtube.com/watch?v=AhDiYPLo3p4
- Python: https://www.youtube.com/watch?v=cNBtDstOTmA
It allows to arbitrary spot some interesting implementation aspects (sorted by descending impact):
- language-dependent trees (oh hai Java packages ^^)
- framework-dependent trees
- project-management method (none, Agile, TDD)
Having a graphical tool also quickly shows:
- the overall structure of the project (a bit cooler than a simple $ tree, way quicker than loading the project on an IDE)
- the repartition of files (by extensions)
- who are the most active contributors
- what are the most modified files over time
- who does what: additions, deletions, refactoring
Some more CI-related matters:
- are there any tests?
- what is the source code / test code ratio? (we could expect a project/lib with N modules to have at least N test modules)
- who initiates / implements / optimizes test code?
-
Transifex client - Usage memo
2014-11-12 1# setup a transifex virtualenv 2virtualenv2 VENV; source VENV/bin/activate; pip install transifex-client 3 4# global config: ~/.transifexrc 5# this step can be omitted, as 'tx init' will create the file if it doesn't exist 6[https://www.transifex.com] 7username = User 8token = 9password = un54f3_p4ssw0rd! 10hostname = https://www.transifex.com 11 12# setup example project 13mkdir example; cd example 14tx init 15tx set --auto-remote https://www.transifex.com/projects/p/my-project/ 16 17# get the files 18tx pull -l pt_BR 19 20# edit things 21poedit / linguist-qt4 22 23# push to transifex 24tx push -t
-
Of Wolfe and man...
- http://dl.bukkit.org/dmca/notification.txt
- https://github.com/github/dmca/blob/master/2014-09-05-CraftBukkit.md
Bu/quit
- http://forums.bukkit.org/threads/bukkit-its-time-to-say.305106/
- http://forums.bukkit.org/threads/so-long-and-thanks-for-all-the-fish.305350/
- http://forums.bukkit.org/threads/end-of-an-era.310021/
- http://forums.bukkit.org/threads/a-sysadmin-falls.310051/
- http://forums.bukkit.org/threads/bukkit-an-autobiography.310083/
- http://forums.bukkit.org/threads/an-independent-goodbye.310086/
- http://forums.bukkit.org/threads/insert-witty-title-here.310087/
What's next?
- http://forums.bukkit.org/threads/questions-about-the-current-brouhaha.312217/
- http://forums.bukkit.org/threads/mojang-and-the-bukkit-project.309715/
Minecrosoft
- http://notch.net/2014/09/im-leaving-mojang/
- https://mojang.com/2014/09/yes-were-being-bought-by-microsoft/
- http://www.microsoft.com/en-us/news/press/2014/sept14/09-15news.aspx
A bit of irony won't do any harm, will it?
-
Kanboard
2014-07-22 -
Found In Translation
2014-05-17 A personal project where I aimed to illustrate words found in foreign languages that cannot be Anglicised word for word.
-
Project Euler
2014-03-27 Solve challenging math/computer problems!