Author Archives: Cipi Bad

altfel.ro – concept

Altfel.ro se doreste a fi un site de stiri corecte si impartiale, prezentand fapte, si nu pareri, altfel decat majoritatea stirilor din Romania.

Noi o sa scriem: “S-au adunat aproximativ 500 de oameni” in loc de “S-au adunat doar 500 de oameni” ori “S-au adunat deja 500 de oameni”.

Noi o sa prezentam evenimentele si agenda lor inainte de a se intampla, nu o sa le prezentam doar dupa ce s-au intamplat, abuzand despre parerea noastra fata de organizarea evenimentului.

Noi o sa prezentam stiri scurte si succinte cu link-uri catre informatia originala preluata de pe site-uri de incredere (institutii/agentii de presa) in loc sa copiem stiri de pe alte site-uri schimband cateva cuvinte sau inventand stiri din evenimente cotidiene si normale.

3 days in Budapest

This is a list of short notices to be kept as reference for a long weekend visit from Timisoara to Budapest:

Day 1:

  • leave early in the morning (around 6AM)
  • fill your gas tank in Mako, at OMV
  • there you can also but the vigneta(highway tax) for Hungary (also for Austria)
  • clean parking and good stop for a break is at: Örkényi pihenő
  • Tropicarium Budapest opens at 10
  • Lunch and/or shopping at the shopping Campona nearby
  • Check-in at Hollo Apartment in Pest, great place to stay
  • Evening visit: Opera, Miniversum, Sv Istvan, Danube, Budapest Eye

Day 2:

  • Budapest Zoo (went there by Metro), there is a schedule such you can see animals being fed and taken care of. Nice Koala & Foca-Moka show around 11 and 16.
  • Danube Legend – evening Danube trip by boat with Legend (20:15)

 Day 3:

  • Quite tired from Day 2
  • Went to IKEA and ÁRKÁD Budapest shopping centers
  • again, fill your gas tank in Mako, at OMV
  • Go HOME

Buildbot – limiting number of active builders

Limiting the number of active builder is documented and possible using Interlocks.
http://docs.buildbot.net/0.8.1/Interlocks.html
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[0]

Drifting in Software Development

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).

Drift tuning

  • Drive train
  • Suspension
  • Cockpit
  • Engine
  • Steering
  • Body
  • Tires

Open Questions:

  • Could drifting be better adapted to changing environment then grip?
  • Could drifting be faster in changing environment then grip?
  • Can it be applied to software development is drifting environment ?

Broken windows theory

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.

References: http://en.wikipedia.org/wiki/Broken_windows_theory