Happy biking in Timisoara;
Happy biking in Timisoara;
This is a list of short notices to be kept as reference for a long weekend visit from Timisoara to Budapest:
Limiting the number of active builder is documented and possible using Interlocks.
While this is working well, there is a slight disadvantage because the slave is assigned and busy waiting for the lock to be available.
There is a simple solution by using custom nextBuild function. The following example is equivalent to using a buildbot master lock:
def myNextBuild(bldr, requests): if len(bldr.building): return None return requests
Drifting is a driving technique where the driver intentionally or unintentionally over-steers, causing loss of traction in the rear wheels or all tires, while maintaining control from entry to exit of a corner.
While drifting, sometimes front wheels are pointing in the opposite direction to the turn (e.g. car is turning left, wheels are pointed right or vice versa).
The broken windows theory is a criminological theory of the norm-setting and signaling effect of urban disorder and vandalism on additional crime and anti-social behavior(James Q. Wilson, George L. Kelling)
The theory states that maintaining and monitoring urban environments in a well-ordered condition may stop further vandalism and escalation into more serious crime. The original example follows:
“Consider a building with a few broken windows. If the windows are not repaired, the tendency is for vandals to break a few more windows. Eventually, they may even break into the building, and if it’s unoccupied, perhaps become squatters or light fires inside. Or consider a pavement. Some litter accumulates. Soon, more litter accumulates. Eventually, people even start leaving bags of refuse from take-out restaurants there or even break into cars.”
Also, “A successful strategy for preventing vandalism is to fix the problems when they are small. Repair the broken windows within a short time, say, a day or a week, and the tendency is that vandals are much less likely to break more windows or do further damage. Clean up the sidewalk every day, and the tendency is for litter not to accumulate (or for the rate of littering to be much less). Problems do not escalate and thus respectable residents do not flee a neighborhood.” (Broken Windows: Restoring Order And Reducing Crime In Our Communities – George L. Kelling, Catherine M. Coles)
It goes the same with software development …
Sometimes you get the chance to work on a big legacy code base.
First thing to do is open you eyes and look around: look at the source code, do informal code review to share the knowledge, every time you see problems write them down, as most probably you will not be able to correct them immediately (use wiki, ticketing system or any alternative for this)
Share the list you’ve got with involved people and start the fixing activity. Fix most important problems first.
Then, in the future, be careful to clean problems while they are few and small, you already have a list of them and you know how ugly could get.
After few web design books read, things look different 🙂
This is a plugin that will color specific tags such a action list will be more usable in wiki format.
It will look like this:
You can download plugin from here.
“Doing nothing is better than being busy doing nothing” Lao Tzu,
University of California Berkeley: Data Structures