Published by breki on 26 Feb 2010
Archive for February, 2010
Published by breki on 24 Feb 2010
Fresh Catch For February 24th
These are my new delicious links for February 24th:
- Don’t Create Aggregate Roots
- Strengthening your domain: Aggregate Construction – Jimmy Bogard
- Branch-Per-Feature: How I Manage Subversion With Git Branches
- Five Pervasive Myths About Older Software Developers | Lessons of Failure
- Check out Mercurial version control with my CodePlex repository : Jeffrey Palermo (.com)
- :: articles :: zutubi
- Continuous Integration in the cloud
- Slaying relational dragons
- Coding Horror: The Non-Programming Programmer
Published by breki on 22 Feb 2010
Fresh Catch For February 22nd
These are my new delicious links for February 22nd:
- PUT or POST: The REST of the Story « Open Sourcery
- The Cafes » PUT is not UPDATE
- Cool Crack: Faux Photography 98 Stunning Super-Realistic Works of Art
- Winter Fishing in Sweden | World Of Mysteries
nice house - Exploring Local » Blog Archive » Comments On The Routability of OSM Data
Published by breki on 20 Feb 2010
Paper Prototyping
Published by breki on 20 Feb 2010
Fresh Catch For February 20th
These are my new delicious links for February 20th:
- Code rant: 10 Advanced Windsor Tricks – 9. Configuring fluently registered components with XML
- Inspirational Rat Story
- Is Microsoft a four-letter word? | The Open Road – CNET News
- SUCCEED Blog: A collection of the world’s most epic, awesome, mind blowing Succeeds., fish tank sink succeed
- Flickr Photos In Google Street View – O’Reilly Radar
Published by breki on 18 Feb 2010
Maperitive Rendering Rules, Sneak Preview (Part 2)
The second part of the rules:
rulefor : railway
define
min-zoom : 13
define
line-color : gray
line-width : 2
curved : false
draw : line
define
line-style : dashlong
line-color : white
line-width : 2
border-style : solid
border-color : gray
border-width : 25%
curved : false
draw : line
rulefor : road.*
define
line-join : round
line-start-cap : none
line-end-cap : none
curved : true
for : motorway
define
min-zoom : 12
line-color : #849BBD
border-style : solid
border-color : #849BBD black 20%
border-width : 15%
for : link
define
line-width : 12:3;13:4;16:5;18:6
else
define
line-width : 12:5;13:7;16:10;18:12
draw : line
elsefor : trunk
define
min-zoom : 12
line-color : #96D296
border-style : solid
border-color : #96D296 black 20%
border-width : 15%
for : link
define
line-width : 12:3;13:4;16:5;18:6
else
define
line-width : 12:4;13:6;16:8;18:10
draw : line
elsefor : road primary
define
min-zoom : 11
line-color : #ECA2A3
line-width : 7:1;9:1.5;10:2;12:5;13:7;16:10;18:12
border-style : solid
border-color : #ECA2A3 black 20%
border-width : 15%
draw : line
define
min-zoom : 7
max-zoom : 11
border-style : none
draw : line
elsefor : road secondary
define
min-zoom : 12
line-color : #FDCC8B
line-width : 7:1;9:1.5;10:2;12:4;13:5;16:8;18:10
border-style : solid
border-color : #FDCC8B black 20%
border-width : 15%
draw : line
define
min-zoom : 9
max-zoom : 12
border-style : none
draw : line
elsefor : road tertiary
define
min-zoom : 13
line-color : #FEFEB2
line-width : 7:1;9:1.5;10:2;12:4;13:5;16:8;18:10
border-style : solid
border-color : #FEFEB2 black 20%
border-width : 15%
draw : line
elsefor : (.*residential)|(.*unclassified)
define
min-zoom : 13
line-color : white
line-width : 13:2;15:10;18:12
border-style : solid
border-color : white black 50%
border-width : 20%
draw : line
define
min-zoom : 15
font-family : Arial
font-size : 15:7;18:10
draw : text
elsefor : road track
define
min-zoom : 12.5
line-color : #9D7517
line-width : 1.5
line-style : dash
border-style : solid
border-color : white
border-width : 100%
border-opacity : 0.3
draw : line
elsefor : road footway
define
min-zoom : 13
line-color : #F68474
line-width : 1.5
line-style : dot
border-style : solid
border-color : white
border-width : 100%
border-opacity : 0.3
curved : false
draw : line
else
stop
rulefor : river
define
line-color : #B5D0D0
line-width : 7:1;8:2
draw : line
rulefor : national park
define
fill-color : #8DC56C
fill-opacity : 0.2
line-style : none
draw : fill
define
line-color : #8DC56C black 20%
line-opacity : 0.5
line-width : 3
line-style : dash
font-size : 3:3;12:12
text-halo-width : 3
draw : line
draw : text
rulefor: parking
define
icon-image : http://wiki.openstreetmap.org/images/9/9a/Parking20.png
min-zoom : 15
icon-width : 16
draw : icon
rulefor: contours.*
define
line-color : #7f3300
line-opacity : 0.5
for : contours major
define
line-width : 2
draw : contour
Published by breki on 18 Feb 2010
Maperitive Rendering Rules: Sneak Preview
Since rendering rules parsing and processing has more or less been implemented a few weeks ago, I think it’s time to show how these rules look like.
I’ve tried to mimic some of the styles and colors used for Mapnik OSM map (although this covers only about 10% of Mapnik’s rules). I won’t be explaining these rules right now because I’m interested in what you think of them at the first glance – can you understand the basic concept or not? Are the rules too verbose? Are they legible? The only hint I will give is: indentation is important!
So here it is, the first part (I have to split this into two posts, WordPress problems) :
features
parking : amenity=parking
contours major : contour[elevation=50]
contours minor : contour[elevation=10]
areas
forest : landuse=forest OR natural=wood
farm : landuse=farm
fell : natural=fell
national park : boundary=national_park
water : natural=water OR waterway=riverbank
residential area : landuse=residential
lines
river : waterway=river
railway : railway=rail
road motorway : highway=motorway
road motorway link : highway=motorway_link
road trunk : highway=trunk
road primary : highway=primary
road secondary : highway=secondary
road tertiary : highway=tertiary
road unclassified : highway=unclassified
road residential : highway=residential
road track : highway=track
road footway : highway=footway
state borders : relation[boundary=administrative AND admin_level=4]
properties
map-background-color : #F1EEE8
map-background-opacity : 1
rules
rulefor : areas
define
line-style : none
for : forest
define
min-zoom : 9
fill-color : #8DC56C
elsefor : farm
define
fill-color : #E9D8BD
elsefor : fell
define
fill-color : #C5FF5B black 10%
elsefor : water
define
fill-color : #B5D0D0
elsefor : residential
define
fill-color : #DCDCDC
else
stop
draw : fill
Published by breki on 18 Feb 2010
Fresh Catch For February 18th
These are my new delicious links for February 18th:
- Zeal Optics Intros World’s First GPS Integrated Goggle (GPSmagazine.com)
- Scott Hanselman’s Computer Zen – Hanselminutes Podcast 200 – Jon Skeet!
- James Bach’s Blog » Blog Archive » Logging: Exploratory Tester’s Friend
- MF Bliki: VersionControlTools
- Code rant: Integrating Fluent NHibernate and the Windsor NHibernate Facility
- Architectural Paradigms of Robotic Control – Billy McCafferty – Devlicio.us – Just the Tasty Bits
- Aviary – Creation on the fly / blog / Setting Aviary Free
Published by breki on 15 Feb 2010
Fresh Catch For February 15th
These are my new delicious links for February 15th:
- The Map Room: IFR Enroute Low Altitude Charts in Google Earth
- The Map Room: Mapping Facebook Connections
- The Map Room: Shuttle Radar Topography Mission 10th Anniversary
- Amazing video of Bing Maps at TED
- Ninja problem
- Godfather cat succeed
- 50 Free Computer Science Classes Online | Zen College Life
via The Endeavour - Composition versus Inheritance – Chad Myers’ Blog – Los Techies : Blogs about software and anything tech!
- Trust But Verify, A Consulting Love Story | Lessons of Failure
Published by breki on 15 Feb 2010
Am I Doing Amateur Software?
photo credit: 1Happysnapper(photography)
Just read Amateur Software on The Endeavour blog. I liked the following line:
Volunteers do what they want to do by definition. The problem is that the reverse is also true: volunteers do not do what they do not want to do. And for software developers, writing documentation usually falls in the “do not want to do” column. So does making software easy to install. So does testing in multiple environments.
I had to reread the “do not” part several times before I got it into my head
.
I guess I fall into this “amateur” category. To some extent. I don’t like writing documentation. But I somehow forced myself to write at least something about the software I’m developing. That’s why I like the concept of an open Wiki – the users can participate in this painful activity, too.




