On 9/4/06, <b class="gmail_sendername">Lars Aronsson</b> <<a href="mailto:lars@aronsson.se">lars@aronsson.se</a>> wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Nick Whitelegg wrote:<br><br>> Testing on the dev server, I think I've found the bug that's<br>> causing the non-rendering of ways properly. [...]<br><br>> segs << [row['segment_id'].to_i] <-- HERE
<br>> way.segs.each do |segid|<br>> @tagged_segments[segid.id.to_i].style =<br>> @rules.get_style(way.tags) unless way.tags.nil? or<br>> @tagged_segments[segid.id.to_i].nil?<br><br>This is where my old knowledge of half a dozen programming
<br>languages from Fortran to Perl doesn't really help me. In most<br>cases I can read sourcecode and spot algorithmic errors, but I<br>would really need to take a crash course in Ruby syntax. Does<br>"<<" mean the same as in C++, does "@" mean the same as in Perl,
<br>and was the "?" on the last line part of Nick's question or part<br>of the sourcecode?<br><br>What I can see from dao.rb and many other files is that they are<br>not much commented, and there really is no other technical
<br>documentation. This is a sign of too few programmers having<br>looked at the code, which increases the risk for blunders.<br><br>I always recommend reading source code as a social activity, even<br>if you don't intend to modify it. Is anybody interested in
<br>joining a "reading circle" for OSM sourcecode and could the dev<br>list be used for this? A good definition is given here,<br><a href="http://www.sil.org/lingualinks/literacy/ReferenceMaterials/GlossaryOfLiteracyTerms/WhatIsAReadingCircle.htm">
http://www.sil.org/lingualinks/literacy/ReferenceMaterials/GlossaryOfLiteracyTerms/WhatIsAReadingCircle.htm</a><br>only that I want to apply the concept to sourcecode rather than<br>literature.</blockquote><div><br>Sure, count me in.
<br><br>Etienne<br></div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">--<br> Lars Aronsson (<a href="mailto:lars@aronsson.se">lars@aronsson.se
</a>)<br> Aronsson Datateknik - <a href="http://aronsson.se">http://aronsson.se</a><br><br>_______________________________________________<br>dev mailing list<br><a href="mailto:dev@openstreetmap.org">dev@openstreetmap.org
</a><br><a href="http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev">http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev</a><br></blockquote></div><br>