<?xml version='1.0' encoding='utf-8' ?>
<!--  If you are running a bot please visit this policy page outlining rules you must respect. http://www.livejournal.com/bots/  -->
<rss version='2.0' xmlns:lj='http://www.livejournal.org/rss/lj/1.0/' xmlns:media='http://search.yahoo.com/mrss/'>
<channel>
  <title>pavelmachek</title>
  <link>http://pavelmachek.livejournal.com/</link>
  <description>pavelmachek - LiveJournal.com</description>
  <lastBuildDate>Thu, 02 Jul 2009 22:23:09 GMT</lastBuildDate>
  <generator>LiveJournal / LiveJournal.com</generator>
  <lj:journal>pavelmachek</lj:journal>
  <lj:journalid>6648113</lj:journalid>
  <lj:journaltype>personal</lj:journaltype>
  <image>
    <url>http://l-userpic.livejournal.com/29207494/6648113</url>
    <title>pavelmachek</title>
    <link>http://pavelmachek.livejournal.com/</link>
    <width>70</width>
    <height>100</height>
  </image>

<item>
  <guid isPermaLink='true'>http://pavelmachek.livejournal.com/81401.html</guid>
  <pubDate>Thu, 02 Jul 2009 22:23:09 GMT</pubDate>
  <title>According to yr.no, world is going to end tommorow</title>
  <link>http://pavelmachek.livejournal.com/81401.html</link>
  <description>...at 14:00 Prague time.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;img src=&quot;http://atrey.karlin.mff.cuni.cz/~pavel/picture/meteogram_no_tommorow.png&quot;&gt;. &lt;br /&gt;&lt;br /&gt;&lt;p&gt;([Un]fortunately, prediction was already updated).&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Oh and BTW... weather predictions seem to be quite a way off in the last few days. Always predicting rain... and then there&apos;s a sunny day with storm in a distance. (Ok, yesterday we got storm very close, and we did not make it to the stables fast enough -- could not gallop with all the children -- so we were totally wet, but....) I guess storms are hard to predict?</description>
  <comments>http://pavelmachek.livejournal.com/81401.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>4</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://pavelmachek.livejournal.com/81044.html</guid>
  <pubDate>Sun, 28 Jun 2009 08:56:12 GMT</pubDate>
  <title>Weather forecasting</title>
  <link>http://pavelmachek.livejournal.com/81044.html</link>
  <description>As you may know, &apos;interesting&apos; weather hit czech republic. Heavy rains&lt;br /&gt;followed by floods claiming lives. What is more interesting, the&lt;br /&gt;weather forecasting went crazy, too. &lt;a href=&quot;http://www.yr.no/place/Czech_Republic/Prague/Prague/hour_by_hour.html&quot;&gt;yr.no&lt;/a&gt; normally works pretty well,&lt;br /&gt;but these days, it oscillates crazily as model is recomputed with new&lt;br /&gt;data. (fridays forecast basically said &apos;saturday mostly nice with&lt;br /&gt;light rain in the morning, sunday rainy; saturdays forecast says&lt;br /&gt;&apos;heavy rain in the evening, only light rain on sunday).&lt;br /&gt;  &lt;br /&gt;Now, forecasts got better. We used to use simple &apos;sunday rainy at 20C&apos;&lt;br /&gt;predictions, then &lt;a href=&quot;http://www.medard-online.cz/&quot;&gt;medard-online&lt;/a&gt; came where you actually see data from&lt;br /&gt;the model. Unfortunately browsing them is quite time consuming. &lt;a href=&quot;http://www.yr.no/place/Czech_Republic/Prague/Prague/hour_by_hour.html&quot;&gt;yr.no&lt;/a&gt;&lt;br /&gt;helps there: you select place and it shows you 3 day of prediction on&lt;br /&gt;graph.&lt;br /&gt;&lt;br /&gt;But it still lacks a lot: it only tells you expected values for the&lt;br /&gt;predictions, and not the expected deviations (aka the ammount of&lt;br /&gt;certainity in the prediction). &quot;Easy&quot; way to solve that would be to run the simulation few times, slightly varying input variables each time; then dispalying both mean values and deviations calculated.&lt;br /&gt;&lt;br /&gt;....but I&apos;m told that&apos;s not feasible, because weather forecast is already computationaly intensive, as is. OTOH, weather forecasting is already repeated, once every few hours, when new data become available. The solution may be as easy as displaying the &quot;old&quot; predictions, too: if they are similar to the &quot;new&quot; prediction, the prediction is probably reliable. If not, well...&lt;br /&gt;&lt;br /&gt;This should be all easy to modify/check if weather modeling software was open source and did not require super computer... is there such beast? (I believe model running medard is opensource, but fortran and the supercomputer is probably needed... plus where to get the source data?)&lt;br /&gt;&lt;br /&gt;On the similar wein... extremely short term forecasts (&amp;lt; 3 hours) should also be extremely reliable. I&apos;d really like android to use its gps, then warn me if the rain is coming... Maybe it is as simple as predicting cloud motion from &lt;a href=&quot;http://www.chmi.cz/meteo/rad/rad_data.php&quot;&gt;weather radar&lt;/a&gt;? Is there maybe similar software/service already?</description>
  <comments>http://pavelmachek.livejournal.com/81044.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>6</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://pavelmachek.livejournal.com/80819.html</guid>
  <pubDate>Sat, 27 Jun 2009 23:12:03 GMT</pubDate>
  <title>android improvements</title>
  <link>http://pavelmachek.livejournal.com/80819.html</link>
  <description>Android market lists both free software and closed source as&lt;br /&gt;&apos;free&apos;. What is worse, demo versions are market &apos;free&apos;, too. It would&lt;br /&gt;be nice to use &apos;free&apos;, $0&apos;, &apos;demo&apos;, &apos;adware&apos; categories, because they&lt;br /&gt;are very, &lt;em&gt;very&lt;/em&gt; different.&lt;br /&gt;&lt;br /&gt;On a related note, I now have (slightly stripped down) 2.6.31-rc1 booting on Dream, along with keymap that actually makes it useful. (Unfortunately, I used Zaurus userland, and some init script remaps keys back. I did a bit of grepping, but did not yet have the time to identify the culprit).</description>
  <comments>http://pavelmachek.livejournal.com/80819.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://pavelmachek.livejournal.com/80397.html</guid>
  <pubDate>Sun, 14 Jun 2009 22:18:07 GMT</pubDate>
  <title>HTC dream (T-mobile G1, ADP1) with self-compiled kernel and debian root</title>
  <link>http://pavelmachek.livejournal.com/80397.html</link>
  <description>...seems to boot after some experiments. Magical command seems to be:&lt;br /&gt;&lt;br /&gt;./fastboot  -c &quot;console=tty0 root=/dev/mmcblk0p1 rootdelay=5 fbcon=rotate:1&quot; boot /data/l/linux-msm/arch/arm/boot/zImage&lt;br /&gt;&lt;br /&gt;Unfortunately, only alphanumeric parts of keyboard work, so controlling the shell is quite tricky. Too bad Dream does not have dedicated arrows/escape/tab/ctrl keys...</description>
  <comments>http://pavelmachek.livejournal.com/80397.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>1</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://pavelmachek.livejournal.com/80313.html</guid>
  <pubDate>Sun, 14 Jun 2009 20:57:22 GMT</pubDate>
  <title>Zaurus clock workarounds</title>
  <link>http://pavelmachek.livejournal.com/80313.html</link>
  <description>Sharp Zaurus c-3000 (aka spitz) is pretty good machine. Basically small linux system with arm cpu; able to self-compile kernel in cca 3 hours. So far so good. It lacks mouse, making copy&amp;paste hard, but...&lt;br /&gt;&lt;br /&gt;Mine seems to have some stability problems... maybe bad RAM or something? If I leave it sleeping for 8 hours, it will be probably dead; sometimes it wakes with corrupted memory, and I seen corruption during run-time, too (miscompiled kernel). I&apos;m not sure if other spitzes have that problem; collie was/is rock solid.&lt;br /&gt;&lt;br /&gt;So I need to reboot from time to time, usually at least twice a day.&lt;br /&gt;&lt;br /&gt;Unfortunately, it seems to lack rtc clock, too. And that means time going backwards, and that means all the hell breaking loose. Like 5 minutes recompile after single file changed turning into 3 hour rebuild or worse.&lt;br /&gt;&lt;br /&gt;I have created a script that verifies if time of day is later than timestamp on disk, adjusts time of day when it is not, and writes new timestamp. I run it from cron each minute... that seems to work, mostly, but... is there a better solution?&lt;br /&gt;&lt;br /&gt;Did all the old unix machines have reliable time of day sources?</description>
  <comments>http://pavelmachek.livejournal.com/80313.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>5</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://pavelmachek.livejournal.com/79888.html</guid>
  <pubDate>Sun, 14 Jun 2009 20:50:03 GMT</pubDate>
  <title>How do you cp -a, omitting certain directories</title>
  <link>http://pavelmachek.livejournal.com/79888.html</link>
  <description>Ok, so I&apos;m trying to move / filesystem from zaurus to G1. That should be as easy as cp -a --one-file-system / /mnt/sdcard ... right?&lt;br /&gt;&lt;br /&gt;No, that would be too easy, zaurus is full of kernel sources, and sdcard is too small. cp must have --exclude option ... right?&lt;br /&gt;&lt;br /&gt;Wrong, unfortunately. It has many options, but excluding subtree is not there. I did a dirty hack -- mount /dev/zero -t proc /usr/src ... is there better solution?</description>
  <comments>http://pavelmachek.livejournal.com/79888.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>9</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://pavelmachek.livejournal.com/79821.html</guid>
  <pubDate>Tue, 09 Jun 2009 21:28:33 GMT</pubDate>
  <title>Think twice before climbing on horseback</title>
  <link>http://pavelmachek.livejournal.com/79821.html</link>
  <description>&lt;a href=&quot;http://www.youtube.com/watch?v=HyBDSatVSa0&quot;&gt;Yes, they can walk on just two legs&lt;/a&gt;, and yes, they can do that with rider mounted, too. (Ok, I&apos;m not sure if youtube is good idea, and please leave comments on livejournal, not on youtube.)</description>
  <comments>http://pavelmachek.livejournal.com/79821.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://pavelmachek.livejournal.com/79588.html</guid>
  <pubDate>Thu, 04 Jun 2009 11:04:32 GMT</pubDate>
  <title>make sipdroid usable</title>
  <link>http://pavelmachek.livejournal.com/79588.html</link>
  <description>Phone that does &lt;i&gt;nothing audible&lt;/i&gt; on incoming call is pretty useless, right? So I made a &lt;a href=&quot;http://code.google.com/p/sipdroid/issues/detail?id=17&quot;&gt;quick hack&lt;/a&gt; to at least use vibrating alert. And yes, that means usable SIP phone on android... if you know enough about telephony to set up pbxes.org account.</description>
  <comments>http://pavelmachek.livejournal.com/79588.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://pavelmachek.livejournal.com/79281.html</guid>
  <pubDate>Sat, 30 May 2009 09:49:04 GMT</pubDate>
  <title>getting neo1973/openmoko gta01 into usable state</title>
  <link>http://pavelmachek.livejournal.com/79281.html</link>
  <description>&lt;a href=&quot;http://shr.bearstech.com/shr-unstable/images/om-gta01/&quot;&gt;shr unstable from may 9&lt;/a&gt; works quite nicely. It needs gllin 1.1, but with that GSM&amp;GPS just works... Python is also pre-installed, along with pygtk. Good.&lt;br /&gt;&lt;br /&gt;(It is still a little slow, and still has some bugs like phone vibrating but not playing anything on incoming call, but it is definitely better than state year ago...)</description>
  <comments>http://pavelmachek.livejournal.com/79281.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://pavelmachek.livejournal.com/78944.html</guid>
  <pubDate>Thu, 28 May 2009 11:43:45 GMT</pubDate>
  <title>How to tether two androids together</title>
  <link>http://pavelmachek.livejournal.com/78944.html</link>
  <description>Get latest wireless tether -- that one works over bluetooth,&lt;br /&gt;too. (Unfortunately, it only accepts single client over&lt;br /&gt;bluetooth... so you can literally tether two androids together, but no&lt;br /&gt;other device will fit).&lt;br /&gt;&lt;br /&gt;Start it.&lt;br /&gt;&lt;br /&gt;Then on the other android set up a wifi connection to the access&lt;br /&gt;point. AP does not have to be connected anywhere. Then&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
pand --connect (bt address of the other android)
route del default gw (your gw)
dhcpcd  bnep0
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;At this point, android framework is fooled into believing it has wifi&lt;br /&gt;connection, and will connect over bluetooth.&lt;br /&gt;&lt;br /&gt;Now, if someone knows better way of doing this, let me know.</description>
  <comments>http://pavelmachek.livejournal.com/78944.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://pavelmachek.livejournal.com/78693.html</guid>
  <pubDate>Wed, 27 May 2009 08:32:36 GMT</pubDate>
  <title>&quot;North America Is a Wonderful Place to Live...&quot;</title>
  <link>http://pavelmachek.livejournal.com/78693.html</link>
  <description>&lt;a href=&quot;http://unitedmaps.net/archives/20090525-North-America-Is-a-Wonderful-Place-to-Live-If-Youre-a-Car.html&quot;&gt;&quot;...if you are a car&quot;&lt;/a&gt;. Yes, that pretty much sums up my experience with U.S.</description>
  <comments>http://pavelmachek.livejournal.com/78693.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://pavelmachek.livejournal.com/78591.html</guid>
  <pubDate>Mon, 25 May 2009 21:12:13 GMT</pubDate>
  <title>Xapps on Android</title>
  <link>http://pavelmachek.livejournal.com/78591.html</link>
  <description>Using vnc to connect to local server is a neat trick... unfortunately latency is horrible, and G1 lacks many keys neccessary for normal operation... Like ctrl and alt, and like arrows. (Terminal/Connectbot use trackball for ctrl/arrows emulation. Unfortunately, with vnc trackball is used for mouse emulation...)&lt;br /&gt;&lt;br /&gt;It is good enough for tangogps, but... is there better solution?</description>
  <comments>http://pavelmachek.livejournal.com/78591.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://pavelmachek.livejournal.com/78087.html</guid>
  <pubDate>Thu, 21 May 2009 22:47:34 GMT</pubDate>
  <title>Android only eats 256mA?</title>
  <link>http://pavelmachek.livejournal.com/78087.html</link>
  <description>...it certainly claims so...&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
lsusb:
Bus 001 Device 011: ID 0bb4:0c02 High Tech Computer Corp. 
...
  bLength                18
  bDescriptorType         1
  bcdUSB               1.02
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0 
  bDeviceProtocol         0 
  bMaxPacketSize0        64
  idVendor           0x0bb4 High Tech Computer Corp.
  idProduct          0x0c02 
  bcdDevice            1.00
  iManufacturer           3 HTC
  iProduct                2 Android Phone
...
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           55
    bNumInterfaces          2
    bConfigurationValue     1
    iConfiguration          0 
    bmAttributes         0x80
      (Bus Powered)
    MaxPower              256mA
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;I&apos;m pretty sure it eats 500mA and there&apos;s a bug to be fixed... Also. Just taking 500mA from USB is not nice, as some USB ports (Sharp Zaurus) can only suuply 200mA or so... (Is there some kind of bugzilla where I should file this? Or just complain on IRC?)</description>
  <comments>http://pavelmachek.livejournal.com/78087.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>2</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://pavelmachek.livejournal.com/78066.html</guid>
  <pubDate>Sat, 16 May 2009 11:29:29 GMT</pubDate>
  <title>single most useful web page</title>
  <link>http://pavelmachek.livejournal.com/78066.html</link>
  <description>I have a device here that&apos;s basically wifi connected web browser with a small screen. I guess the only reasonable use is to make it display some kind of web page and autorefresh. The display is something like 5&quot; diagonal. So I wonder... what is the most useful web page to leave there?&lt;br /&gt;&lt;br /&gt;Clock? Some kind of weather situation/weather forecast?&lt;br /&gt;&lt;br /&gt;Headlines from slashdot? Subjects from lkml? &lt;br /&gt;&lt;br /&gt;Current info from my calendar? Subjects from inbox? (That would be slightly hard, I don&apos;t think I trust that device, nor do I want to do extensive setup).&lt;br /&gt;&lt;br /&gt;lolcat of the day? Something completely different?</description>
  <comments>http://pavelmachek.livejournal.com/78066.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>7</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://pavelmachek.livejournal.com/77808.html</guid>
  <pubDate>Thu, 14 May 2009 09:36:33 GMT</pubDate>
  <title>more benchmarking, more androids</title>
  <link>http://pavelmachek.livejournal.com/77808.html</link>
  <description>...you are right, eee did not contain atom but celeron CPU. And fastest time is now &lt;br /&gt;&lt;br /&gt;E8500 (3.6?GHz Core2 Duo), 0.090s.&lt;br /&gt;&lt;br /&gt;In the meantime, I found out that adp1 can be downclocked down to 19MHz. That way my benchmark goes up to &quot;11minutes of cpu time&quot;... It can still tether in such state :-).&lt;br /&gt;&lt;br /&gt;I&apos;d like to measure power savings from the downclocking; that means either very special battery, or convincing ADP1 to run from AC power alone. Hardware &lt;em&gt;is&lt;/em&gt; capable of that, as you can prove by pulling battery in bootloader.&lt;br /&gt;&lt;br /&gt;Also... I&apos;d like to try forcing 500mA charge even from &quot;AC&quot; power. I have crappy &quot;charge devices from single AA battery&quot; gizmo here, and it seems to work well with for example n6230, but seemed to discharge ADP1, not charge it. I guess it is because it can not supply 1A, voltage goes down, and bad stuff happens...</description>
  <comments>http://pavelmachek.livejournal.com/77808.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>3</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://pavelmachek.livejournal.com/77425.html</guid>
  <pubDate>Wed, 13 May 2009 21:25:40 GMT</pubDate>
  <title>android benchmarking</title>
  <link>http://pavelmachek.livejournal.com/77425.html</link>
  <description>You may recall my quick benchmark:&lt;br /&gt;&lt;br /&gt;root@amd:~# time factor $[65863223*65863159]&lt;br /&gt;4337959928701457: 65863159 65863223&lt;br /&gt;&lt;br /&gt;thinkpad x60 (core duo): 0.591 s&lt;br /&gt;eee -- atom @ 630MHz: 1.673 s&lt;br /&gt;arima -- athlon64 @ 1.8GHz:  0.536 s&lt;br /&gt;zaurus c3000: 21.99 s&lt;br /&gt;kohjinsha -- geode @400MHz: 4.062 s&lt;br /&gt;&lt;br /&gt;Some users posted their results. Best so far are:&lt;br /&gt;&lt;br /&gt;Xeon E5450 (3GHz): 0.116s&lt;br /&gt;m68k at 25MHz: 133seconds.&lt;br /&gt;&lt;br /&gt;And now some recent results: &lt;br /&gt;&lt;br /&gt;android @ 384MHz: 28.61s (default)&lt;br /&gt;android @ 528MHz: 20.26s (&quot;overclocked&quot;)&lt;br /&gt;&lt;br /&gt;Frankly, I expected ADP1 to do much better. It does not seem ARM architecture progressed significantly from Sharp Zaurus C-3000 times...&lt;br /&gt;&lt;br /&gt;Yes, overclocking android is as simple as changing scaling_max_freq in /sys/.../cpu0/cpufreq.&lt;br /&gt;&lt;br /&gt;Oh yes, and black version of T-mobile G1 &lt;em&gt;is&lt;/em&gt; better. You can actually see keyboard labels under medium-light conditions, and surface is &quot;softer&quot; to touch -- just feels better.</description>
  <comments>http://pavelmachek.livejournal.com/77425.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>9</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://pavelmachek.livejournal.com/77266.html</guid>
  <pubDate>Tue, 12 May 2009 21:45:28 GMT</pubDate>
  <title>tethering androids together?</title>
  <link>http://pavelmachek.livejournal.com/77266.html</link>
  <description>Getting android to provide wifi using ad-hoc networking is relatively easy (using G1 tether for root users). Unfortunately, android can&apos;t &lt;em&gt;connect&lt;/em&gt; to ad-hoc network... I guess hardware can do it, but I have to find out how...&lt;br /&gt;&lt;br /&gt;...and it makes me wonder: How power-hungry is wifi compared to umts and bluetooth? It seems like android&apos;s battery is empty after less than two hours of serving as wifi hotspot. Manually switching hotspot on and off is quite tiresome (and it is very easy to forget to turn it off, resulting in dead battery...). Should I be looking at bluetooth tethering, instead?&lt;br /&gt;&lt;br /&gt;And last but not least... is there some reasonable way to run shell scripts from GUI? G1 tether basically is a shell script, but having few customizable buttons would be useful.&lt;br /&gt;&lt;br /&gt;And here&apos;s my list of &quot;must have&quot; apps on android: wifi tether for root users, andnav2, geobeagle, sipdroid, connectbot.</description>
  <comments>http://pavelmachek.livejournal.com/77266.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>5</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://pavelmachek.livejournal.com/77010.html</guid>
  <pubDate>Mon, 11 May 2009 11:08:55 GMT</pubDate>
  <title>Getting public transport routing to work with openstreetmap &amp; navit</title>
  <link>http://pavelmachek.livejournal.com/77010.html</link>
  <description>&lt;p&gt;First, you&apos;ll need timetables for your city in .tt format. .tt is very&lt;br /&gt;simple text format, basically specifying when and where bus/tram lines&lt;br /&gt;go. &lt;a href=&quot;http://timetab.sf.net/&quot;&gt;timetab projects&lt;/a&gt; has tools&lt;br /&gt;for working with those, and can get the data for czech cities, trains&lt;br /&gt;and long distance busses.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;.tt file consists of many records such as these:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
# 491
         6:37           0.000000        Mukarov
         6:39           0.000000        Mukarov, skola
         6:41           0.000000        Mukarov, Zernovka
         6:44           0.000000        Stihlice, Doubravcicka
         6:46           0.430000        Doubravcice, Cihadla
         6:48           0.430000        Doubravcice
         6:49           0.430000        Doubravcice, bytovky
         6:53           0.430000        Mrzky
         6:55           1.830000        Tismice, MS
         6:56           1.830000        Tismice, bytovky
         6:59           1.830000        Cesky Brod, sidliste
         7:00           1.830000        Cesky Brod, Na Bulance
         7:01           3.560000        Cesky Brod, Jungmannova
         7:01           3.560000        Cesky Brod, Jana Kouly
         7:03           3.560000        Cesky Brod, zel.st.
D2009-03-02 121 17:1f
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;As you can probably decipher, bus 491 goes at 6:37 from Mukarov to&lt;br /&gt;Cesky Brod, zel.st., where it is at 7:03. The strange D line at the&lt;br /&gt;end is a (RLE-compressed) bitmap of days when this bus goes; this one&lt;br /&gt;goes Mo-Fr, with no exceptions.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Then, you can use tools in timetab project (&lt;a href=&quot;http://timetab.cvs.sourceforge.net/viewvc/timetab/timetab/navit/&quot;&gt;navit/&lt;/a&gt;&lt;br /&gt;directory) and .osm source data to create .osm file combining map and&lt;br /&gt;time tables. Public transport connections are then represented by&lt;br /&gt;records such as: (I&apos;m using ( instead of &amp;lt;, and final version will&lt;br /&gt;differ quite a bit; opening_hours will have to be in proper format for&lt;br /&gt;osm; highway will probably get special tag such as &quot;public transport&quot;,&lt;br /&gt;etc).&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
(way id=&apos;1107&apos;)
  (nd ref=&apos;355322132&apos; /)
  (nd ref=&apos;319063834&apos; /)
  (tag k=&apos;highway&apos; v=&apos;path&apos; /)
  (tag k=&apos;travel_time&apos; v=&apos;2&apos; /)
  (tag k=&apos;name&apos; v=&apos; 491&apos; /)
  (tag k=&apos;opening_hours&apos; v=&apos;teleport 6:25 6:27!2009-03-02 121 17:3f&apos; /)
(/way)
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Now, all you need is to convert merged .osm file into .bin file,&lt;br /&gt;and run modified &lt;a href=&quot;http://www.sf.net/projects/navit&quot;&gt;navit&lt;/a&gt;&lt;br /&gt;from &lt;a href=&quot;http://navit.svn.sourceforge.net/viewvc/navit/branches/public_transport/&quot;&gt;public_transport&lt;/a&gt; branch. Because the way&lt;br /&gt;search works (completely backwards), you have to specify time when you&lt;br /&gt;want to be at destination at the command line -- such as&lt;br /&gt;&lt;pre&gt;navit/navit -D 29.4.2009 -T 15:45&lt;/pre&gt;, and you have to select&lt;br /&gt;Vehicle=Demo Pedestrian in the menu before selecting destination. Then&lt;br /&gt;you select destination and current postion, and routing should work --&lt;br /&gt;including public transport -- as long as you have right timetables and&lt;br /&gt;as long as osm contains bus/tram/train stops around area you are&lt;br /&gt;travelling.</description>
  <comments>http://pavelmachek.livejournal.com/77010.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://pavelmachek.livejournal.com/76610.html</guid>
  <pubDate>Wed, 06 May 2009 21:46:10 GMT</pubDate>
  <title>Reasonable way to keep contacts data</title>
  <link>http://pavelmachek.livejournal.com/76610.html</link>
  <description>Long time ago, I had my contacts in single text file. It was something like &quot;First LastName &lt;tab&gt; number&quot;, and I had a script to dial number based on substring. Of course, I could add unstructured information to it (like opening hours of that shop, etc), and it was sorted by me -- not alphabetically -- so I could group together people that &quot;belonged together&quot;.&lt;br /&gt;&lt;br /&gt;Unfortunately, then a cellphone came, and all my contacts went to its memory. Now I get bunch of vcards that are pretty hard to get off the telephone (opensync works with 6151) but are pretty much impossible to push to 6230 (6230 is buggy and reboots when it sees opensync; new opensync should solve it), are pretty much impossible to get on the android, are hard to edit, lack logical grouping, and are all mess. (I don&apos;t even _know_ last names of some of my contacts.)&lt;br /&gt;&lt;br /&gt;OTOH I&apos;m carrying linux machine almost all the time these days... so maybe it would be possible to solve that mess? I&apos;d love having something like magicpoint (call it magiccontacts): minimally structured text file, that can be postprocessed to get data for various devices. Is there something like that? Or is everyone happy with vcards? Or is something more structured but containing some kind of tags to group people toggether the solution?</description>
  <comments>http://pavelmachek.livejournal.com/76610.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>6</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://pavelmachek.livejournal.com/76309.html</guid>
  <pubDate>Sun, 03 May 2009 10:27:56 GMT</pubDate>
  <title>Lots of free time</title>
  <link>http://pavelmachek.livejournal.com/76309.html</link>
  <description>Commit ef35ce231b3cb2a4b1808e826da263bf37ccb38a says:&lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
...
index 2b39168..5e07367 100644
--- a/CREDITS
+++ b/CREDITS
@@ -2166,7 +2166,6 @@ D: Initial implementation of VC&apos;s, pty&apos;s and select()
 
 N: Pavel Machek
 E: pavel@ucw.cz
-E: pavel@suse.cz
 D: Softcursor for vga, hypertech cdrom support, vcsa bugfix, nbd
 D: sun4/330 port, capabilities for elf, speedup for rm on ext2, USB,
 D: work on suspend-to-ram/disk, killing duplicates from ioctl32
diff --git a/MAINTAINERS b/MAINTAINERS
...
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;(Ok, I should really update the CREDITS entry; it contains lots of obsolete stuff. I have been playing with small devices -- notebooks/zaurus PDAs/cellphones for last few years...)&lt;br /&gt;&lt;br /&gt;&lt;p&gt;And that means that I have a lot of free time now. It is a pity; SUSE was a fun place to work at. It also means I&apos;m searching for a new job now...</description>
  <comments>http://pavelmachek.livejournal.com/76309.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>2</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://pavelmachek.livejournal.com/76111.html</guid>
  <pubDate>Tue, 14 Apr 2009 14:57:58 GMT</pubDate>
  <title>Android tethering</title>
  <link>http://pavelmachek.livejournal.com/76111.html</link>
  <description>&lt;a href=&quot;http://code.google.com/p/android-wifi-tether/&quot;&gt;Android wifi tether&lt;/a&gt; is pretty useful application: it is significantly easier to use than running shell scripts by hand, and somehow works better, too.&lt;br /&gt;&lt;br /&gt;&lt;p&gt;Unfortunately, G1 has some problems with tethering. Namely, if you have poor signal, and use USB connection for charging, it is unable to keep the battery charged, and will shutdown itself without warning after few hours...&lt;br /&gt;&lt;br /&gt;&lt;p&gt;(Also, being able to use infrastructure -- not ad-hoc -- mode for wifi tether would be nice. I&apos;m not sure about access point support (that would be very cool), but tethering existing AP would do.)&lt;br /&gt;&lt;br /&gt;&lt;p&gt;On a related note, 2.6.30-rc1 seems to support ad-hoc on intel 3945ABG wifi. It did not work in 2.6.29.... so it is not &lt;em&gt;that&lt;/em&gt; huge problem now.</description>
  <comments>http://pavelmachek.livejournal.com/76111.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://pavelmachek.livejournal.com/75856.html</guid>
  <pubDate>Sat, 11 Apr 2009 09:25:05 GMT</pubDate>
  <title>gcc bites</title>
  <link>http://pavelmachek.livejournal.com/75856.html</link>
  <description>Just save it to a file, gcc file.c, ./a.out and ... &lt;br /&gt;&lt;br /&gt;&lt;pre&gt;
#include &amp;lt;stdio.h&amp;gt;

int main(int argc, char *argv[])
{
	char a[9000000];
	printf(&quot;gcc is wonderful\n&quot;);
}
&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt;No, gcc is not wonderful. I do believe that this code is valid C, and that it should work. Yes, it could be worked around for any given size of array in the kernel, but I guess gcc should just know what it is compiling for and throw compilation error -- or work around the problem using malloc/free internally.&lt;br /&gt;&lt;br /&gt;And yes, I have seen the same problem &lt;a href=&quot;http://trac.navit-project.org/ticket/344&quot;&gt;bite unexpectedly in real life&lt;/a&gt;. When combined with variable-length-array gcc extension, it is quite deadly.</description>
  <comments>http://pavelmachek.livejournal.com/75856.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>10</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://pavelmachek.livejournal.com/75700.html</guid>
  <pubDate>Thu, 09 Apr 2009 11:18:07 GMT</pubDate>
  <title>Fighting with navit</title>
  <link>http://pavelmachek.livejournal.com/75700.html</link>
  <description>Long time ago, &lt;a href=&quot;http://timetab.sf.net&quot;&gt;timetab&lt;/a&gt; project was created to allow searching for public transport connections.&lt;br /&gt;&lt;br /&gt;It worked, but as wireless connectivity was getting more common, it started to be easier to just do the online searches. But now I&apos;d like to do something better: GPS with pedestrian routing, that would know about public transport and use it when it helps.&lt;br /&gt;&lt;br /&gt;Begginings of that code are in timetab CVS in navit/ directory; unfortunately the code was easy to write but definitely is not easy to debug :-(.</description>
  <comments>http://pavelmachek.livejournal.com/75700.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>0</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://pavelmachek.livejournal.com/75321.html</guid>
  <pubDate>Thu, 09 Apr 2009 11:06:12 GMT</pubDate>
  <title>mujmail should be usable</title>
  <link>http://pavelmachek.livejournal.com/75321.html</link>
  <description>...now even with SSL and threading. Of course, the fact that project was accepted as finished by school does not mean it does not contain bugs etc, but well.. it is still &lt;a href=&quot;http://www.mujmail.org/&quot;&gt;the best j2me email client&lt;/a&gt;. It is also GPL.&lt;br /&gt;&lt;br /&gt;Now... is there usable email client for Android? The built-in thing has weird controls, no threading, &quot;reads&quot; email on server even when user did not see them, and looses communication in a way that can not be reconnected way too often. ssh to server then mutt is more usable then that, and I was already thinking about mujmail on it...</description>
  <comments>http://pavelmachek.livejournal.com/75321.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>1</lj:reply-count>
</item>
<item>
  <guid isPermaLink='true'>http://pavelmachek.livejournal.com/75128.html</guid>
  <pubDate>Sat, 04 Apr 2009 22:06:34 GMT</pubDate>
  <title>If you can&apos;t lift this motorbike, it is not for you</title>
  <link>http://pavelmachek.livejournal.com/75128.html</link>
  <description>Ok, so we had 10 years old girl at the stables, wanting to ride big&lt;br /&gt;horse -- not a pony. At the end she got good old gelding, cca 1m55,&lt;br /&gt;and went with me, and nothing bad happened: I picked the route pretty&lt;br /&gt;carefully, and she was mostly able to control the horse.&lt;br /&gt;&lt;br /&gt;I tried to use the &apos;if you can&apos;t mount the horse without help, the&lt;br /&gt;horse is not for you&apos; test, but she somehow managed to pass.&lt;br /&gt;&lt;br /&gt;I had a problem with little girl (12 years, IIRC) on this horse&lt;br /&gt;before; at junction near the stables, I turned my horse right but her horse&lt;br /&gt;went left... with the girl. They got out of my sight, trotting and&lt;br /&gt;there was nothing I could do to help. Pretty bad feeling. (Fortunately, few long minutes after that, she returned, still on the horseback).&lt;br /&gt;&lt;br /&gt;Is there some rule of thumb when to say &apos;sorry, you are too small /&lt;br /&gt;too light / not strong enough for this beast&apos;? Maybe some&lt;br /&gt;law/regulation?&lt;br /&gt;&lt;br /&gt;[I tried to convince her mother; she was almost too scared to hold the&lt;br /&gt;horse but did not stop her daughter from riding him. And yes, I could&lt;br /&gt;have refused to go; but that would simply meant someone else would go.]&lt;br /&gt;&lt;br /&gt;Out of interest, is there the reverse rule, too? I had heard stuff like &quot;weight of rider should not exceed 1/5 weight of pony&quot; to stuff like &quot;weight of rider should not exceed 1/3 weight of pony&quot; and &quot;weight of rider should not exceed weight of pony&quot; :-).</description>
  <comments>http://pavelmachek.livejournal.com/75128.html</comments>
  <lj:security>public</lj:security>
  <lj:reply-count>3</lj:reply-count>
</item>
</channel>
</rss>
