Search Results: "ah"

28 February 2006

Aigars Mahinovs: Migrating from Blogger to your own Mnemosyne blog

As I decided to migrate my blog from blogger.com to my own blogging software on my own domain, I did not want to leave my old posts behind. As I had more then 150 of them, I had to do some automation to do that within my lifetime. The first step is to get the data from Blogger.com database to somewhere where you can access it in full. You will need FTP or SFTP access to a computer with a real IP address. The idea is to go to blogger.com and specifiy that you want to switch storage of your blog pages from their blogspot.com service to your of FTP or SFTP server. You will have to provide server address, URL, folder, username and password. URL does not matter at this point, but other parameters define where your data will be dumped to. Save the changes and republish the blog. After a few dozens of minutes all your data will be at your server in a set of complete html files. Now we need something that will parse those html files and write out something that your blogging software can understand. As I use Mnemosyne, my format is a set of mail message files. To allow me to use HTML formatted messages in my blog (and not only reST) I added this to my config.py:
class EntryMixin:
   def _init_content(self):
       """Read in the message's body, strip any signature, and format using
       reStructedText unless X-Format=='html'."""
       s = self.msg.get_payload(decode=True)
       if not s: return ''
       try: s = s[:s.rindex('-- \n')]
       except ValueError: pass
       body=False
       try:
               if self.msg['X-Format'] == "html":
                       body = s.replace(" ", " ")
                       body = re.sub(r'&(?!\w 1,10 ;)',r'&',body)
                       body = xml.dom.minidom.parseString("<div>"+body+"</div>").toxml()
       except KeyError:
               pass
       except xml.parsers.expat.ExpatError, e:
               print "W: Parse failed for "+self.msg['Subject']+" at "+self.msg['Date']+" from "+str(int(time.mktime(time.strptime(self.msg["Date"],"%a %b %d %H:%M:%S %Y"))))
               print xml.parsers.expat.ErrorString(e.code), e.lineno, e.offset
       if not body:
               parts = docutils.core.publish_parts(s, writer_name='html')
               body = parts['body']
       self.cache('content', body)
       return body
This will try to parse messages as pure xHTML if custom header "X-Format" is set to "html" in the blog entry. There is one problem with this approach - xHTML must be valid, otherwise XML parser in Kid templating engine will fail and there will be no end of trouble. That is why even in HTML mode we reparse the body to XML and back to string again. If we get a parsing error at that point, we fall back to reST parser. Now we need something that will analyse our Blogger.com generated HTML files and get our content from there. Here is the script that I used:
#!/usr/bin/python
import os, os.path, time, sys, glob, re, xml.dom.minidom
id = 1
host = "old"
mdate = re.compile( r'\">(\d+) (\D+) (\d+)<' )
mbody = re.compile( r'</div>(.+)<div style=' )
mfooter = re.compile( r'<a href=\"http://example.com/(.+)\" title=\"permanent link\">(\d+):(\d+)</a></em>' )
files = glob.glob("old/*/*/*.html")
for file in files:
       year = 0
       month = 0
       day = 0
       hour = 0
       minute = 0
       subject = ""
       oldurl = ""
       body = ""
       date = ""
       title = ""
       footer = ""
       f = open( file, "r" )
       status = 0
       for l in f:
               if status == 0:
                       if l.find('class="date-header"')>0:
                               date = l
                               status = 1
               elif status == 1:
                       if l.find('class="post-title"')>0:
                               status = 2
                       if l.find('class="post-body"')>0:
                               status = 4
               elif status == 2:
                       if len(l.strip()) > 0:
                               title = l
                               status = 3
               elif status == 3:
                       if l.find('class="post-body"')>0:
                               status = 4
               elif status == 4:
                       if len(l.strip()) > 5:
                               body += l
                       if l.find('padding-bottom: 0.25em;')>0:
                               status = 5
               elif status == 5:
                       if l.find('posted by ')>0:
                               footer = l
                               break
       f.close()
       rdate = mdate.search( date )
       rbody = mbody.search( body )
       rfooter = mfooter.search( footer )
       year = rdate.groups()[2].strip()
       month = rdate.groups()[1].strip()
       day = rdate.groups()[0].strip()
       subject = title.strip()
       body = rbody.groups()[0]
       body = "<p>"+body+" </p>"
       body = re.sub(r'<img([^>]*?[^/])>',r'<img\1/>',body)
       if subject == "":
               subject = re.sub(r'<br.*?>','\n', body)
               subject = re.sub(r'</p.*?>','\n', subject)
               subject = re.sub(r'<.*?>','', subject)
               subject = subject.strip()
               line = subject.find('\n')
               if line > 45:
                       subject = subject[:40]+"..."
               else:
                       subject = subject[:line]
       oldurl = "http://oldblog.blogspot.com/"+rfooter.groups()[0].strip()
       hour = rfooter.groups()[1].strip()
       minute = rfooter.groups()[2].strip()
       mtime = time.mktime(time.strptime(day+" "+month+" "+year+"  "+hour+":"+minute, "%d %B %Y %H:%M"))
       outname = str(int(mtime))
       while os.path.exists( outname+"."+str(id)+"."+host ):
               id += 1
       outname = outname+"."+str(id)+"."+host
       out = open( "entries/new/"+outname, "w" )
       out.write("Date: "+time.ctime(mtime))
       out.write("\nSubject: "+subject)
       out.write("\nX-URL: "+oldurl)
       out.write("\nX-Tags: untagged")
       out.write("\nX-Format: html")
       out.write("\n\n")
       out.write(body)
       out.close()
Here I parse the HTML files using a simple state automata and then assemble all the data that we need to have, like timestamp in filename and Date field. In this script it is assumed that in the current directory there is "old/" directory with subdirectories like "2005", "2006", ... which have subdirectories for months in which there are xHTML files for individual posts. The output is written to "entries/new/$timestamp.$id.$host" files. After running this script and then running mnemosyne you will see a bunch of messages about failed parsing of some messages. That shows you where your xHTML is not valid. The usual problems are html entities ( like &euro; ) that the parser does not recognise and lack of closure on img or br tags:
This will fail because of &euro;
<img src="smile.png"> will fail, it must be <img src"smile.png"/>
My import script fixes img and br tags, but for other problems there is not much choice but going trough the entries and fixing them up manually. Also later on, if you will want to paste some custom HTML into your post, you will have to mark the whole post as HTML mode post and also check if you pasted HTML is valid XML manually. There are some other fun things in this blog, but I will go into that in later posts.

Aigars Mahinovs: The hockey fever has begun

With the opening of Turin Olympic games, the sport fever is officially on. Especially it is the fact in Latvia - this year is the ultimate hockey year: our team is in the Olympics and we have the world championship in our capital Riga in a couple months.



Tomorrow we have a chance at medals in biathlon and luge. I had no idea our guys were actually in top 5 there. That will be fun to watch tomorrow.



And on Wednesday the heat will be on: hockey, Latvia vs USA. We would have beaten USA to pulp at last years world championships if the judge would not have illegally rejected two goals shot by our team and given a large number of unfair penalties to our players. Even the coach of the USA team made a point after the game of saying that the judging was inadequate. However the real point is - we will crush you this time.



PS. I just found out that the championship is planned at the same time as the Debconf 6 in Mexico. NOOOOOOO!!!! This is the worst news - I'll miss all the fun. Crap. Really. Crap. I hope there will be some kind of coverage in Mexico.

David Welton: Projects vs Business, "Agile Development"

Projects vs Business I read something via reddit recently that hit a nerve: In this article: Meeting the founders of reddit he says that: "Reddit, like many other initiatives is more a project than a company/business" Like everyone, I get inspired by Paul Graham's writings, and like the idea of making money doing something cool, but my brain seems to be much better at generating ideas for fun projects/cool hacks, as opposed to businesses. I wonder if it's possible or worth it to make that change. Sometimes trying to "be what you aren't" is unpleasant and unsuccessful. On the other hand, perhaps it's more of an acquired skill that doesn't really conflict with the 'hacker' mentality... Agile methods for introducing Agile Development? Something else I found on reddit: An Agile Approach to a Legacy System (pdf) seems interesting because it deals with crappy, real world code, rather than some ideal workplace that exists only in fantasyland. I wish that they'd explained a bit more, at the technical level, of how they managed to integrate their new system with the old one, as that is often a difficult task when the code always has to be up and running, and the old system is in production. I have a Big Ball of Mud to deal with myself, and a development process that is not agile, nor much of anything else really. It's the kind of situation that is only going to change 'in small iterations', rather than trying (and quite possibly failing) to impose a new way of doing things in one fell swoop. So perhaps what I need is an agile methodology for introduction agile development in small iterations?

Philipp Kern: Re: Debian Live Ressources [sic]

Yeah, yet another blog without commenting feature. Daniel, when can you dare to call your Debian Live project an “official” sub-project? When at least one DD participates? When you got mailing lists on lists.debian.org like debian-edu oder debian-med? Especially considering that the mailing list is hosted on debian-unofficial.org. Oh well... ;-)

27 February 2006

Julien Danjou: About Xen in Debian

Some people may have noticed that a thread has recently started about Xen on debian-devel. To sum up the whole story, here it is. Guido Trotter and myself asked Adam Heath, the current official maintainer of Xen, if it was possible to help him (bug #342249) to package Xen 3.
He did not answer to our messages, as he seems to be MIA, so we started with Jeremy Bouse, Ralph Passgang and Yvette Chanco to work and we created a project on Alioth in order to package the latest release. We started our development from the package Ralph made previously. We don't know really why, but Bastian Blank, from the Debian kernel team, uploaded his own package of Xen 3, ignoring our request to work on our side, arguing that this was the work of kernel team to maintain Xen. It seems that actually, the kernel team only pretend to maintain the Dom0 and DomU kernel images, probably as soon as Xen in included in the vanilla kernel, and that Bastian took the decision alone to maintain the hypervizor and userspace tools. Today, we have functionnal and splitted packages of Xen 3, available on the Subversion repository. I made Xen packages with the latest development version of our packages and the Xen testing version. They are available from:
deb http://naquadah.org/~jd/debian/xen stable main
Official backports will be uploaded to backports.org as soon as we will have uploaded a version to sid. But for now, we have to cancel or bypass the upload Bastian made...

Joey Hess: wah

Octavia Butler has died, at 58. What a tragic loss. :-(

Erich Schubert: Spam fun

Todays PhD comic is very funny. Another spam fun I like a lot is Make p*nis fast - combining the usual enlargement stuff with pyramid schemes. On a completely unrelated note, a german bird flu joke:
Treffen sich ein B r, ein L we und ein Huhn.
Sagt der B r: "Wenn ich br lle, zittert der ganze Wald." Meint der L we: "Das ist garnichts, wenn ich br lle, zittert die ganze Savanne!"
Daraufhin das Huhn: "Wenn ich huste, zittert die ganze Welt."
Translation:
A bear, a lion and a chicken meet.
The bear says: "When I bellow, the whole forest is afraid.". The lion tops: "When I roar, the whole savannah goes into cover."
The chicken: "When I cough, the whole world panics."

Andrew Pollock: [life] 2700 kilometres (1700 miles) later...

We have returned from our brief sojourn in Phoenix. We had quite an eventful week and a bit, and I've sat down a couple of times to attempt to write it all up, but I've been suffering a bit of writer's block (blogger's constipation?), and I haven't got around to it. So I'm going to just do a longish post covering the everything. It's probably not going to do anything any justice, but if I don't write something down now, it'll never happen... It also gives me a chance to test out my modified seemore plugin (only does a fold for RSS feeds, leaves my blog alone). After I just spent 15 minutes grokking how it worked, and making the one-liner I needed, it seems someone beat me to it. Ah well. C'est la vie. Read on, Macduff!

26 February 2006

Joey Hess: microblog

Cali - BART. More Muir Redwoods. Neat Spanish houses. Feb flowers. Jen, Swati, cats. Fog n haze. Gleaming shops. No dinginess, no teeming masses, no urban blah. Choosing what to perceive.

25 February 2006

Erich Schubert: Galeon goodness.

I've built new galeon packages from CVS (get them here), that have working typeahead find again, working password prompts (so you can login to websites again) and - working flashblock. This is love! How to install flashblock with galeon: Enjoy a world with (next to) no unwanted flash!

Zak B. Elep: Turbulence

This past couple of weeks saw a lot of Debian and Ubuntu work from me in (hopefully) equal measure. For Debian, I whipped up new versions of robotour, xshisen, libmemcache, and gtklp; robotour finally installs in /usr/games as it should be; xshisen acks NMUs and finally has a sane source package (well, a little bit tipsy still, but at least it’s now fixes the NMU source b0rkage;) libmemcache’s -dev now installs its headers to the right location; and gtklp bumps to a new upstream, with touch-fu replacing AM_MAINTAINER_MODE for seamless build. Thanks a lot to my wonderful sponsors Margarita Manterola, Sylvain Le Gall, and Andreas Metzler for the uploads! :D On the other hand, opendchub has migrated to testing, and its initscript failed (not to mention missing a manpage) :( I’ve fixed the latter, but I still have to figure out how to fix the former; I’ll probably have to consult the reference and add an unprivileged opendchub system user and configure the daemon to use that, or fix the source and allow flexible redefinition of opendchub’s working/configuration directories (currently hardcoded to $HOME/.opendchub). Either way, I have to touch the source and make patches; and I would appreciate it very much if my dearest readers can help out ;) On the lighter (or heavier, depending on your POV) side, I noticed that Steve McIntyre posted an RFH for cvs, and I’ve decided to help out a bit. Seeing the source, I was pleasantly surprised as the age (and design) of this package, and it would be a blast for me to study this (and fix bugs, prepare patches, and release new versions while at it. ;) It would also prepare me better for NM as well. :D As for my Ubuntu work, I’ve upgraded my Breezy Badger desktop to Dapper Drake last Monday (just in time for Flight 4,) and I’m quite amazed at the new features of this release. Like many folks I just loved xchat-gnome’s notification feature (especially when you’re moving in between workspaces very often) and was very much pleased with the speed of Gnome 2.13.91 (so much so that I’ve departed from my normal Ion3 desktop without regretting it. ;) But of course, since Dapper Drake is the latest development branch, there were some snags that I got to encounter. One particular bug was with masqmail, because the 0.2.21-1ubuntu1 version created a /var/run/masqmail directory, but since /var/run is mounted as a tmpfs in Dapper, masqmail will complain the next time it restarts. Another (probably cosmetic) bug(?) was with tuxpaint, since it placed a couple of launchers in the Gnome Applications menu, one on Education and the other on Graphics. I’ve yet to see if tuxpaint’s is a genuine bug or just a design decision, but I’ve fixed masqmail’s, and 0.2.21-1ubuntu2 should be on Dapper now, thanks to Daniel Holbach. :D So far I’m loving the new Ubuntu release, and with FeatureFreeze finally here that means I’ll have to drag my desktop box again to the local internet cafe to do yet another aptitude dist-upgrade. Gaah, I need a laptop! :P

24 February 2006

Pierre Habouzit: GFDL the license that s**ks

Dato[1] has blogged about his reaction about the current positions agains GFDL in debian currently. My concern wrt GFDL is simple : As a KDE packager, I would feel really sorry to have to prune any application manual, even ones without Invariants Sections. I'd like to remind some DD's that for some manuals, authors are not going to be found because they are not interested in Free Software anymore, or simply because they are dead. I know that discussions with the FSF are really going nowhere (at least not fast enough). But still, I really think there is some possibility to have a new version of the GFDL where the DRM and transparent copies problems would be gone. If we can have that, then since a lot of Authors use the classical licensed under the GFDL version 1.2 or (at your option) any later version we could accept in main any documentation that has no Invariant parts. Free Software is about giving to *every* users more freedom. This GFDL story looks like taking documentation away from the users that needs it the most. It's : It's not about a firmware here, or any hardware driver problem that you can work around by buying supported hardware. it's about having or having no documentation at all.
Notes [1] I of course have seconded his proposal [2] and if we have a question on an application, our question is unlikely to be answered in the doc, and we strace/read the sources of the application to be answered [3] yeah, I got it, this GR is not compliant with the DFSG!</bad joke></bitterness>

Uwe Hermann: Strange Things

Erich Schubert: XULRunner broke my flashblock :-(

Debian recently switched from heavyweight mozilla to XULRunner as rendering engine for Epiphany and Galeon. This is nice, because it removes the dependency on Mozilla, which you can uninstall now (well, maybe sometime soon - eclipse still depends on mozilla). On the other hand, flashblock no longer works for me in Galeon, which drove me crazy the first time I hit Flash ads again. I hate that shit... I really need to find a way to disable them again. Maybe I'll just uninstall Flash entirely... Oh, and typeahead find is broken in both Epiphany and Galeon, but I don't really know whether to file a bug agains them or aginst xulrunner... ;-) Oh, and I sometimes can't login to GMail any more with Galeon, sometimes I can... seems like we have some things to do... :-(

23 February 2006

John Goerzen: Happy Third Birthday To This Blog

It's hard to believe that I've been blogging 3 years already. 2003 just doesn't seem that long ago. My first post was about the Coleman museum. Post #3, still one of my favorites, is about scaring Swedes with Coleman lanterns. The strangest thing that has happened so far: my review of Greencine turned into the most-commented story on the site, with 40 comments. Most of them griping about Intelliflix. Google Talke & Skype Are Boring was the 2nd-most-commented with 35. Why Do Alarm Clocks Stink? was #3. Cliff likes to give me trouble because all the most popular stories on my blog are about computer topics. So here's a list of the 3 most popular stories from the past 3 years:
  1. Quick and Easy IPv6 for Debian (15,099 reads)
  2. Google Talk and Skype are Boring, and Here's Why (11,823 reads)
  3. Tiny Laptops (9,020 reads)
The story about Underwear Rotation alas was only the 10th most popular with 4,951 reads. Terah, you're going to just have to come up with something wackier to get the attention of this crowd. The least-read story was Terah Says She's Not a Geek with 50 reads. Way under-rated if you ask me.

22 February 2006

Mike Hommey: More work on xulrunner

Xulrunner finally reached unstable on sunday, and it already needed some adjustments. I forgot a conflict, misnamed the libsmjs-dev package, the hppa assembler code got somehow duplicated, so xulrunner failed to build on hppa, and some preference files needed to be moved around the packages. It also fails to build on alpha, but that’s not my fault. I also changed the way we identify a Debian built xulrunner in the user agent. I replaced the "Gecko/yyyymmdd" string with "Gecko/Debian/x.y.z.t-r". That has several advantages over the previous "Gecko/yyyymmdd Debian/x.y.z.t-r" string: That needed 2 updates, because I realized in between that while you can set the general.useragent.product and general.usergagent.productSub variables, they are not actually taken into account until you change them a first time… The HTTP protocol initialization in xulrunner forces the respective values Gecko and yyyymmdd… I just completely removed that part of the code in xulrunner. I took advantage of this needed fix to work even more on the package, enabling the typeaheadfind module, needed by galeon and epiphany, removing some old perl code that does nothing except producing useless errors during the build, and, last but not the least, enabling the “flat style” chrome, meaning that instead of being stuck in .jar files, everything is just here in a standard tree. It appears upstream provides a way to build such trees (option --enable-chrome-format=flat to configure), but it’s useless because it doesn’t install the trees when running make install. In addition to that, the configure script still requires zip, even if it doesn’t use it, except for some obscure .jar files in libnss, that are not installed either. So after disabling the build of these useless files and removing the zip strict requirement if we build flat chrome, and fixing the script responsible for installation of the chrome files, everything got much better. These changes have been applied to firefox as well, so stay tuned, it’s for next upload. Having highjacked spidermonkey, I did some bug triage there as well. It appeared they could all be closed by the fact libmozjs0d is there. I still need to make some triage in my patches to xulrunner and send upstream those that I still have not sent, if they are of any interest there. Apart from this xulrunner stuff, I also did some bug clean-up on libxml2 and libxslt, which I’ve been somehow neglecting for some time.

John Goerzen: Some Reactions

About a week ago, we spent some time calling, e-mailing, and visiting family and friends. Here are some of the things we heard from various people:
"Really? Good." "Oh! Congratulations!" "Happy Congratulations!" *uncertain nervous silence* "I'm happy for both of you." "HOLY COW!" "Wow!" (Then some excited laughter) "I wondered. How are you feeling?" "That's sweet. Thank you [for calling]. You'll be great parents." "That's very exciting." ... "We'll have to get out the grandparent mugs!" "Oh, I'm just so thrilled! My first great grandchild!" "WOW! IS LIFE EVER EXCITING! Blessings to all three of you!" "Did I hear you right? Everyone -- TERAH'S PREGNANT!"
Yes, you did hear right! Terah is pregnant! She's due in October. This will be our first child. We're pretty excited! And also a little nervous. And trying to figure out how to arrange our house -- its floorplan isn't the most convenient for young children. 2006 is certainly going to be an exciting year!

21 February 2006

Simon Law: CodeCon 2006, Day 1


SUV Taxi
Originally uploaded by sfllaw.
I woke up on Friday morning and wondered what breakfast would be. Then I remembered that I was staying at the W and decided to forage for food elsewhere. I took a taxicab with [info]spider88, [info]enochsmiles, [info]maradydd. It was a strange hybrid SUV cab that was painted all yellow, I would later learn that Yellow Cab drivers were scary and that I should avoid them. We got to StudioZ and discovered that we didn't know how to get inside. We figured that out eventually and took stock of the situation. I started moving tables about and setting up chairs, because I abhor standing about with my hands in my pockets. Then I helped hang banners from the rafters. After I did that, I tried to see if I could do anything else. Since CodeCon is run on the cheap so that anybody can attend, drinks like coffee are not included in the conference fee. And since the conference was being held in a night club, there was a convenient bar that would be a good place to setup a concessions stand. So I put things in order and stood behind the counter. I got to see people walk in the door and after registering with [info]wealhtheow or Spider, they'd stand in bewilderment in front of my bar. It was a lot of fun to watch all sorts of people come through. And then I'd smile at them and offer to get them something to drink. We started Lance's talk a little late in order to let everyone settle in their seats. I met him the night before where he talked about his Apache module that has heuristics for detecting when a phisher is trying to clone your website. Or when your website has been cloned and the phisher is passing login requests through to you. This kind of thing is totally what financial institutions have to start doing. We got coffee from this place called Cafe Organica, which seems to have some mixed online reviews. Or rather, Jonathan did, in a big messenger bag filled with carafes. Since Jonathan doesn't actually drink coffee, it was left to me to decide whether it was any good. It seemed to be drip coffee that was thick, dark and strong. Very decent for something that was brewed hours ago. The customers didn't seem to mind, as we ran out of coffee every day.

Couch
Originally uploaded by sfllaw.
The next presentation was SiteAdvisor which takes an interesting tack on safely surfing the web. Instead of building security features into your browser, there's a central server that stores information about sites that you're visiting. But what was really interesting was how they got this information. They had an automated tool that went in pretending to be a real person, signed up for some e-mails, downloaded some programs, and examined what happened afterward. I missed the majority of the VidTorrent presentation, because I was busy chatting with people and offering them refreshments. Also, their demo didn't work because the wireless setup at the conference kept on going down. People were abusing the free Wireless network that Cliff was trying to keep up and running. Which is sad, because Cliff had basically volunteered to set that up on his own time. Tom came up after that to present Localhost, which is a unimaginatively named piece of software, but is interesting because it lets you browse a world-wide filesystem of torrents. What's interesting about his filesystem is that it uses a distributed hash table, so that even if there are files with the same name, you'll be able to distinguish the distinct copies. Which is useful if you want to tell whether you're downloading a legitimate and popular file, or some malicious file that someone's injected. The last talk of the day was Truman, which not only demonstrated an interesting piece of technology, but also quite educational. The tool itself is a specialised Linux distribution that can capture what happens inside itself and simulate a public connexion to the Internet. This is advantages, Joe tells us, because modern pieces of malware are smart enough to disable themselves when they detect sandboxed environments. After people filed out, we packed away everything into storage as StudioZ is a nightclub, so it was setting up for its nightclub crowd. Everyone else went next door to Loft11 where a party was being held, sponsored by [info]bramcohen's awesome company I went inside and bumped into Graydon and we tried to go about finding fellow Canadians. This was not so successful on the crowded downstairs floor, so we went upstairs to chat and catch up. I met some people who were at the speaker's reception and successfully remembered their names. Then I met a guy who was at the night club just waiting for his buddy, and I explained CodeCon to him. He thought it was a great idea.

Stack of Macs
Originally uploaded by sfllaw.
Len Sassaman and Bram got up to give a little speech, which I tried to take photographs of. But failed. Instead, I noticed that they were on this awesome glass ceiling which made me want to dance. I didn't do that though, because my feet hurt from standing all day. I poked my head into a room upstairs that was all white, which was very cool. Some people were playing a game of Werewolf which finished with the villagers winning. I hung out with some people like Eric, Pete, and Kelsey who told the story of her pink Barbie backpack. I also met Chloe and her husband, whose name I have forgotten. But Chloe is awesome because she is now independently wealthy so that she can pursue her dream of studying the nitrogen cycle in soil using post-doc maths. Impressive! I also met [info]akashayi who is not a professional computer programmer at all. She teaches martial arts by day, and slings code by night. She drove all the way from Los Angeles to attend CodeCon and was having the time of her life. I wistfully remember when I was that excited about computing, so just hanging out with her was awesome. She promised me a Kempo lesson if I ever made my way to L.A., which is an offer I intend to collect. I found Spider downstairs, sitting on a couch with Daniel. The night was getting long and we were totally exhausted, so we took a taxicab to the W. There, we went up to Enoch's room party where he treated us to $17 cheeseburgers. Now, I didn't think that cheeseburgers that expensive were worth it, but boy oh boy were those good. Spider and I took a cab to [info]kineticphoenix and [info]riseorbleed's place sometime past midnight and we dragged our luggage into their guest room. Which was really more of an awesome guest apartment. Hurray for knowing people in foreign cities! I don't remember much after that. I think I turned on a space heater before passing out.

Martin F. Krafft: Fat free

Daniel pointed us to maltloaf, which brings up painful memories from my US College times -- you know, ghost milk and 100% fat free butter and stuff like that.
  • Soreen quote 2 g/100 g fat under typical values, so 2%. Someone tell them their PR that they can write 100-2 => 98% fat free for better effect! (yes, I know fat isn't a linear scale). Or do they mean 2 g being about 3% of the suggested daily intake, which means you have 97% "left to spend"?
  • Second, "Soreen Original fruity malt loaf is suprisingly nutritious and low in fat." Aha. Do 97% fat freeness somehow cancel out the 688 kcal per bar? Or are they not trying to appeal to people watching their weight?
To whom are they trying to appeal? If it's really sports persons, then the sheer amount of carbohydrates would call for an average such person (75 kg, 178 cm):
  • to drink about 9 litres of water for each bar (two of which should be isotonic, one with extra electrolytes),
  • to eat just a little less than two bananas for the potassium, and
  • to consume one boiled egg with about one tea spoon of table salt for proteins and sodium
for a moderately balanced diet. Given average fitness and BMI, this person would have to keep the pulse between 140 and 150 for two hours straight (for each bar), and not eat more than 1.8 of those maltloafs. These values are according to a rather reasonable book on sports nutrition I bought in preparation of our Kilimanjaro hike, btw. I really wonder how many sports persons have a balanced diet. Those who don't will not be able to digest the carbohydrates and excrete more than half of them while adding body weight in the long run -- but hey, at 97% fat freeness, that can't be fat, it must be muscular tissue, right? :) These bars do have an impressive amount of carbohydrates, I must say. I am never sure about importing food products from the UK, but maybe I'll have to pick up a few. PS: oh, and does their math square? According to the nutritional facts, 100 g of loaf has 310 kcal while 1/8 of a loaf as 86 kcal, so a bar is 222 g (wow). But 222 g of bar are supposed to have 8*0.6 g = 4.8 g of fat if you approach it bottom-up, and 222*2.0 g/100 = 4.4 g of fat if you come at it from that angle. Daniel, do these things really weigh 222 g per bar?

20 February 2006

Jos Parrella: Loving them

Taken from Getting Around Germany website. It’s worth nothing that Germany is a union country, and transport strikes (Streik) can occur at any time, although it is still a fairly rare occurrence and there is usually plenty of advance notice. Still, travelers should beware that even a short “warning strike” (Warnungstreik) in one city can ripple through the entire system, causing long delays and even cancellations. On these days, be prepared to adjust your travel plans and wait longer than usual. An interesting note about these situations: since trains and punctuality are so important in the German world, the DB will hand-out official “certificates of train tardiness” (Bescheinigung ber Zugversp tung) if a train is late. You can use these as “excuse slips” for arriving late to work, school, or other appointments.

Next.

Previous.