Lombok to Flores by boat (Indonesia)

Download file: Flores boat combined.gpx

Some very rough notes if you are considering the Komodo boat trips from Lombok to Flores. This information stems from November 2015 (I am late in writing this post 🙂 ).

  • Most ticket offices asked around 1.7M IDR, but you can haggle to 1.5M IDR. I’ve also seen 1.4M IDR advertised at Kidi’s homestay at Gili T. This was in “off-season” Nov/Dec 2015. Your mileage may vary.
  • There are multiple boats/companies offering this tour (including more luxurious ones). This post describes the budget backpacker variant; there are multiple operators you can choose from.
  • Food is included in the ticket as well as entry for the Komodo park (including guides).
  • We were with 14 tourists on the boat. This was a good balance between having a fun group and not being too overcrowded.
  • The boat sails during the day as well as through the night. During the day it stops at predetermined spots so you can get off board for activities.
  • Don’t expect the mattresses that you will sleep to be clean. Obviously, this all depends on how luxurious you book your trip.

Day one:

  • 8 o’ clock at the harbor at Gili T, where at 08:30 a connecting boat departed for Lombok. (This depends on from where you set out for your trip.)
  • We met there at a cafe/restaurant of the company. Note that this is the place where you can buy provisions for the trip (e.g. beer).
  • The owner of the company said that if his crew tries to scam you then you can call him and he provided his number. 🙂
  • We left the restaurant for the boat around 10:30.
  • The boat will stop once for dinner, but otherwise keeps on sailing continuously.

Day two:

  • When you wake up, you will find that the boat has stopped off the coast at Moyo Island (Pulau Mojo). You can go on-land to visit a small waterfall.
  • Later in the day you will visit Pulau Satonde (the boat stops here about two hours).

Day three:

  • When you wake up, you will find that the boat is sailing to Gili Lawadarat. Here you can take an iconic picture (see below).
  • Later in the day they will stop at another point in Komodo where you can snorkel some more.
  • You can also visit the local village. In the evening the boat will park near the bats mangroves (you will see them flying out in the evening).

Day four:

  • You will visit the main Komodo island to see the dragons. Be careful if the crew tries to scam you and claim that you need to pay extra for the guides in the park.
  • Later in the day you will visit Rinca island as well. Here you can see some more dragons as well as visit some nice viewpoints.
  • You’ll make one more stop at a nice beach halfway Rinca and Labuan Bajo.
  • Disembark in the afternoon at Labuan Bajo.

Miscellaneous notes:

  • We rented a scooter in Labuan Bajo for driving over the island from west to east. We paid 75k IDR for a 125cc bike.
  • Something else that we discovered in Indonesia: you can pay for Lion Air tickets in some of the supermarkets. This came as a relief for us since we had booked a ticket for departure the next day and they would not accept credit cards on such short notice. (We noticed this in Medan, Sumatra.)

Komodo park:

Schönbrunn luggage storage

Earlier this year I couldn’t quickly find online whether the Schönbrunn palace in Vienna has a luggage storage. A post from 2010 was saying no.

So if you end up here after googling this question: I visited Schönbrunn in October 2016 and I can confirm that they now have luggage storage.

Apache conditional websockets

If you have Apache >= 2.4 and enabled proxy_wstunnel, then this example may help to show how to redirect websockets connections to the right place. (Note that there are easier ways if you want to redirect all traffic to the websocket location. This example is for if you want to have the normal HTTP side-by-side with the websockets.)

[...]
RewriteCond %{HTTP:Upgrade} websocket [NC]
RewriteRule /(.*) ws://localhost:1234/$1 [P,L]
[...]

Search and replace in .docx using Python

A simple PoC to get you going:

#!/usr/bin/env python2
import zipfile as zf
import StringIO as si
import sys

candidates = ["word/document.xml"]

sio = si.StringIO()
with zf.ZipFile(sio, "w", compression=zf.ZIP_DEFLATED) as zio:
  with zf.ZipFile(sys.argv[1], "r") as za:
    for infile in za.namelist():
      indata = za.read(infile)
      if infile in candidates:
        indata = indata.replace("token", "replacement")
      zio.writestr(infile, indata)

with open("modified_{}".format(sys.argv[1]), "w") as oufile:
  oufile.write(sio.getvalue())

Spam level headers in Thunderbird

Spamassassin adds several special headers to every email that it scans. One of these is X-Spam-Level, that is, the degree of “spaminess” that the email scored.

thunderbird-headers

When training your spam filters, it can be useful to see the score of each scanned email. In Thunderbird, this can easily be done by changing a setting using the config editor. In the field mailnews.headers.extraExpandedHeaders add the value X-Spam-Level.

thunderbird-setextra

As a bonus, to see the user agent string, you can also use the config editor by setting mailnews.headers.showUserAgent to value true. This simple flag renders a separate plugin for this functionality superfluous.