Archive for the ‘Travel’ Category

Bali Trip Notes for January 2010

Tuesday, February 9th, 2010

I just spent a month in Bali, mostly the Tuban-Kuta area.

In the past, Bali was regarded as an inexpensive place for young Australians and others to vacation.

For the first time however, I would have to say that is becoming a memory of the past.

There are the occasional local hotels still available for under $25/nite, but none of the newer hotels, which are aiming for $100 to $200/nite.

If you can afford it, the new Holiday Inn Baruna Bali in Tuban at $120 to $200/nite is awesome – opening right onto Tuban/Wanasegara Beach. The style is more modern than Balinese, but you can visit the Risata Hotel Bali down the street and see lush Balinese gardens and stonework.

Taxis have greatly increased in price recently. The fare used to be an afterthought, typically less than $1 within a city.

There are 2 classes of taxis now:

  1. Bluebird – great service and fair prices – old (cheaper) argo meter settings, worth calling in
  2. other companies – average service and high prices – new (higher) argo setttings, or even 40 ribu minimum pickup fare from Galeria Mall. Indonesian visitors are scared of these prices.

To save money, use an ojek (motorcycle taxi), or try carpooling and scheduling multiple stops on the same trip.

Or pick a hotel within easy walking distance of sites that’s also near a major travel artery. In Kuta, that would be at the exit of Jl. Legian near Jl. Pantai Kuta (easy walk to the Legian nightclub scene, memorial and Kuta Beach as well as near taxis to Tuban or Denpasar.) In Tuban, that would be on Jl. Wana segara or Jl. Kartika Pl. (easy walk to Tuban Beach or Discovery Mall/Mal Centro.)

I talked to some merchants in Tuban, and asking rents for storefronts have doubled in the past 12 months.

All of the computer stores selling PCs in Kuta, Tuban and Sanur have closed, likely due to high rents, low margins and lack of capital. There are a few Mac stores, such as PC Max and one in Carrefour. Otherwise, you must go to the large Rimo Computer Mall in Denpasar. Rimo is pretty good for basic parts, with new releases lagging Jakarta by 2 to 3 weeks.

The most comprehensive selection of DSLR batteries and accessories in Kuta-Tuban is in the Zoom Digital Kiosk in Discovery Mall, Tuban.

If you’re a computer or business person and need to stay in touch online, visit Internet Sartika at Jalan Wana segara No. 29, Tuban. It has dual broadband connections (1 Mbps DSL and 1 Mbps fiber optic) and new 3 Ghz Intel Duo Core 2 computers, for the quickest Internet connections.

Several tourists asked me what’s worthwhile to see in Bali.

One of my favorite places is still GWK Cultural Park, which has massive stone monuments, great views overlooking Kuta and local dances starting at twilite. It’s a photographer’s paradise. GWK is only 30 minutes from Kuta or Tuban by taxi and can take anywhere from 2 hours to a day to appreciate.

ApacheCon 2009 Oakland

Friday, November 6th, 2009

I went to ApacheCon 2009 in Oakland. Why Oakland? The ASF was founded here 10 years ago.

Executive Summary

Most of the attendees that I talked to were primarily interested in search technologies, or were Apache project comitters. The search users were already using either Lucene and Solr, or were using commercial software and evaluating Lucene and Solr.

Also a lot of interest in Hadoop, Zookeeper and NoSQL projects.

I added a wikipedia NoSQL project features table after the NoSQL BoF.

The conference was very well-organized, with tutorials, BoFs, a BarCamp, and sessions. Meetup.com was used to generate the highest BoF turnout that I’ve ever seen – close to 100 at the Lucene and Hadoop BoFs. (O’Reilly Conferences can learn from that.)

The Oakland Convention Center was a good venue for this conference, though the attached Oakland Marriott hotel is $$$$ and fond of surcharges, like $33/day for parking, $5 draught beer and $3.75 for a bottle of water in-room.

The keynotes and one track per day were recorded and are available for $99 at Linux Pro Magazine Streaming.

StoneCircle Productions was the conference organizer.

Conference Notes

Monday

Although I live in San Jose, Oakland is far enough away that I’ve never been there. Oakland has a compact downtown full of historical-era buildings, and Alameda is also nice, but things get less pretty at night.

I went to the Lucene tutorial on Monday.

Lunch Conversations

- awesome views of Bay Area past Golden Gate bridge from 21st floor
- FAST pretty good indexing and search solution, but bought by Microsoft recently (going to continue linux support or not?)
- FAST has FQL (users pronounce it fecal) query language :)
- 150 FAST servers replaced by 40 lucene servers by 1 company
- FAST4 to FAST5 upgrade tough, similar to port to say lucene, forced upgrades for support
- linguistics is 60% of value of Fast according to Monster, 13 languages supported
- “bad stems” can be a nightmare
- SOLR gives you 90% of what you would need to program in java, built on top of Lucene
- Open Source search is not really about price, but about control and flexibility

Monday Afternoon – Lucene Tutorial

- user-assigned document id not mandatory, but great idea for many reasons, including after an index-rebuild
- lucene-assigned id only valid for that snapshot (life of score doc)
- parameter to keep or delete old index directory
- StringBuilder is more efficient than strcat
- populating title column is a good idea
- results boosting handy for ecommerce, specials, etc.
- LUKE – handy tool for index statistics, etc.
- Searcher class, snapshot in time, won’t see new merges
- contrib/ has more analyzers
- snowball stemmers
- use 1 tokenizer and 0 or more token filters
- precision-recall curve ??
- n-grams and shingles (”the president”, “United states”)
- pre-2.9 lucene, numbers and dates really strings
- 2.9 NumericField builds tri structure, help optimize range queries
- SOLR analysis tool apache-solr
- relevance feedback with MoreLikeThis

Monday BoFs

Couchdb

- “ground computing”
- “offline by default”
- now an ubuntu service
- mozilla raindrop to combine chat client msgs
- lockless
- append-only btree
- rsyncable since append-only, also replication
- checksums everywhere
- windows not first class yet, mozilla improving it

@mozilla

- browsercouch
- don’t like sql
- brasstacks test tool storage
- store now, index later
- replicate to handle large indexing load
- testbot ci

Marklogic

- commercial
- xml-centric
- great for articles, books
- transactional
- search-centric
- structure-aware
- schema-free
- xquery-driven
- extremely fast, largest 200 TB xml, 166 on hosts
- clustered
- database server
- 180 clients, 150 employees
- markmail.org demo contains 42 million email messages, very impressive performance with 5 views in almost realtime. Search is distributed across 160 nodes.

JCR in 15 minutes

- Bertrand Del
- JCR is JackRabbit,
a fully conforming implementation of the Content Repository for Java Technology API (JCR). A content repository is a hierarchical content store with support for structured and unstructured content, full text search, versioning, transactions, observation, and more.
- the ultimate content store
- content repo, union of database and filesystem, best of both worlds
- full-text search combined with structured search

Solr Flair

- information forage
- “resume-driven design”

Lucene Numerics

- available in 1.4
- tune by modifying precisionStep

HBASE

One bewildered attendee wished for a NoSQL product matrix, so I added that to the wikipedia NoSQL page.

Wednesday Sessions

Becoming a Pig Developer, Alan Gates

- Apache Pig is a sub-project of Apache Hadoop.
- this talk was really how to use PIG as an end-user, not to become a Pig project developer

Apache Hadoop in the Cloud, Tom White

- general comments on using EC2 with Hadoop mostly

Practical HBase, Michael Stack

- Apache HBase is the Apache Hadoop database, similar to BigTable.
- HBASE usage

mod_jk / mod_proxy and others, Jean-Frederic Clere and 2 others

- mod_jk, mod_proxy, mod_serf and mod_cluster original topics
- mostly focused on mod_jk, mod_proxy and isapi_redirect
- good talk by 3 long-term project contributors
- jk is kind of Java-centric, with support for Apache JServ Protocol (AJP) only available in Java back-end servers for now, like Tomcat
- isapi_redirect is primary way to do redirects on Windows IIS
- survey of audience showed several mod_proxy users, maybe one intentional mod_jk user

Thursday Sessions

“Apache Lucene and Apache Solr Performance Tuning with Mark Miller” was packed, so moving along to a different room …

Scalable Internet Architectures, Theo Schlossnagle

- amazing and thought-provoking talk, also one of the most popular
- think about performance from network packet level to application level
- carp, vrrp, whackamole
- alterdns, neustar
- dynact
- anycast (shared IP), geoip (but need actually accurate database)
- activemq, rabbitmq instead of Spread
- “memcached is the worst thing that ever happened to our industry – it solves a problem, just not the original problem”

- many apps today are so poorly designed that network issues never become scalability concerns – ie. RoR applications :)
- max out at 500 requests per second across 40 boxes – RoR
- firebug and yslow have been fantastic at making front-end engineers aware of networking performance
- 10 gb nics suck
- instead of one big 20 Gbps loadbalancer, use anycast from core router to 5x 4 gpbs cheaper load balancers
- spiky load or DDoS – announce a /32 to separate load balancer, use symmetric return path

- jms, aqmp, spread

durable message queues

- activemq (java)
- openamq (c) – hard to use
- rabbitmq (erlang) – nice except in durable mode because erlang disk io blows

- most common protocol Stomp is awful and slow (hard to read 100k messages per second) and not binary, but lots of clients exist.

- activemq and stomp is a good start.
- rabbitmq and native connectors are better, but no perl client.

- PCI compliance requires a stateful firewall. Hard to do 1.5 million packets per second traffic for most medium-sized data centers, need to use a CDN to distribute static requests and distribute the packets somewhere else
- leaving trailing / off causes 302, doubles traffic
- Slides
- read/write ratio is 1 … likely IM or email?
- went over some networking details with Paul L. afterwards

Recent Developments in SSL and Browsers, Rick Andrews, Thawte

- 1.6 billion OCSP requests per day, need good infrastructure to support that
- intermediate CA allows root CA to be offline – chained hierarchy – SSLCertificateChainFile,
needs intermediate certificates before cross-certificates, some clients need in proper order
- EV hierarchy more complex. wanted new EV root, but older browsers don’t know about it.
- browser ubiquity problem with any new feature, hash or crypto algorithm
- logotypes – trademark and copyright issues with using other companies’ logos in a product
- Verisign does not have apache httpd committers, but should
- 1 attendee wanted to sign JavaScript files, but what does it mean if most sites link to 10 advertising and tracking scripts? what do you tell the user if 1 JS is not signed?

Subversion Meetup

Organizers didn’t show up, so spent 10 minutes talking to a handful of end-users about subversion gripes and moved along to …

Hadoop Meetup

Zookeeper

- zk is persistent to disk
- can run on one node, but 3 is minimum non-toy
- zk is popular in academia now for some reason
- avoid split-brain partitioning between 2 data centers – bad
- very recent merge to fix -368, not ready for production yet
- people using it for a message queue, perhaps more reliable than many other Open Source ones
- need 1 zk node for testing, but 3 zk nodes for non-trivial implementation

Scribe

- github
- 4x to 5x compression with lzo. similar disk bw improvement

A local owner of a gelato store handed out 6 free samples from a portable gelato freezer. :)

Friday Sessions

Building Intelligent Search Applications with the Lucene Ecosystem, Ted Dunnin

- some matrix math
- using his matrix math optimization, a perl program on 1 server was faster than Mahout running on a $250k cluster :)
- tdunning.blogspot.com

- the original LLR in NLP paper
“Accurate Methods for the Statistics of Surprise and Coincidence” check on citeseer
- Mahout project
tdunning [at] apache.org

Realtime Search, Jason Rutherglen

- many technical issues prevent Lucene from being able to do realtime search
- lots of patches done, lots to do
- audience member thanked author for great work so far

Closing Plenary: Brian Behlendorf on Open Source and Charity

Talked to Alex Karasulu a little after the final presentation. He’s a committer on the Apache Directory project. He suggested adding dbm to the NoSQL product matrix. Wants a MacBook Air with 8 GB RAM to run his Java apps. :)

Conference Schedule Grid

Philippines Trip to Bohol and Cebu

Saturday, October 31st, 2009

I went on vacation in the Philippines for a week.

After landing in Manila, I booked a domestic flight to the island of Bohol, a quiet farming and tourism island.

The whole island is beautiful.

The government is serious about sustainable tourism development on the island, and all the roads are new (better than downtown Manila!), and sites are partially or fully wheel-chair accessible for those who need that.

I stayed at the Bohol Tropics Hotel. Very nice hotel, pretty grounds with 3 swimming pools, wifi available, one free PC at reception, and restaurant open late at night. There is a free airport and port shuttle bus.

Just outside the hotel is a minimart and laundry. There’s a port tank farm next door to the hotel, but walled off from the hotel.

The hotel is building a conference and wedding center, so it might lose its charm once it gets busy.

We took a look at the Bohol Resort hotel. They normally charge admission to enter the grounds if you don’t already have a reservation (!), but we were allowed 20 minutes to take a look. It has nice grounds and a white sand beach … but $200 night.

Down the road is the new Eskaya hotel. Same deal as the Bohol Resort. We didn’t feel like paying to enter, so we just left.

After Bohol, I took a $10 90-minute OceanJet high-speed boat to Cebu for the afternoon.

The Cebu port area and downtown looked like a grimy toilet. There aren’t many tourist attractions in downtown Cebu aside from a handful of monuments and churches.

I tried to fly back to Manila for my return flight home, but 2 typhoons moved into Manila, so I ended up buying a last minute one-way ticket for $1688 back to SFO via HK. Expensive, but I would have needed a fair amount of luck, and a few days sitting around at the Manila airport to return on a free rebooking.

Cathay Pacific requires rebooking to be done with your travel agent or local office where the ticket was purchased, so they were of no help. I’ve never heard of an airline policy like that before, and I’ll certainly keep it in mind next time I book a flight to Asia.

Filipino gunmen kill 21 over political rivalry

GPS Maintenance and RAIM Check Workload

Friday, September 25th, 2009

There are two recent changes regarding IFR GPS operations and pilot responsibility in the USA:

  1. Updating a permanently installed GPS database for IFR navigation is considered preventive maintenance and must be performed and logged somewhere, similar to a VOR check, by the appropriate person, plus an operational check. See 14.43 Appendix A (32).
    Only under Part 91, if no special tools or assembly is required, can just anybody can do it. Otherwise a technician must do it the update for operation under Part 121, 135, etc. See this article for more details.
  2. Starting Sept. 28, 2009, preflight RAIM checks for non-WAAS GPS receivers are required for many GPS RNAV procedures, and likely also for WAAS receivers in areas of non-WAAS coverage.
    Pilots have reported having to print a list of RAIM data as thick as a book with their FSS briefing now.

Makes life more difficult than “kick the tires, light the fires and follow the magenta line.” :)

AOPA Online: Preflight RAIM checks for non-WAAS GPS receivers
AOPA Online: RAIM Issue Brief
Wally Roberts: GPS Approach Concepts
Flyer Forums UK: Compulsory for pilots to check for RAIM

Defcon 17, Las Vegas

Sunday, August 2nd, 2009

Estimates are about 8,000 people showed up for Defcon 17. The Riviera corridors were gridlocked at times – foreboding for next year.

Everybody was carrying a netbook, often with 500 mA USB wifi cards and 12″ external antenna. I can’t believe how many people had powered-on iPhones and Windows notebooks in a “hostile network environment.”

Some favorite talks were:

  • Metaphish (Spearphishing with Metasploit, PDFs and Tor) – blended attacks are the future.
  • Passwords – remarkable what a student can do with a couple home PCs and a little time. The recent FOSS dev sites disclosures provide lots of data to analyze.
  • Clobbering the Cloud – lots of low-hanging fruit in cloud services.

cnn.com: story on conference

Indonesia Craves the Blackberry

Monday, June 8th, 2009

BlackberryThe Blackberry cell phone has rocketed in popularity in Indonesia in the past few months, from fairly obscure to a “must have.”

The 4 reasons are: new, affordable data plans, Yahoo Messenger and FaceBook support, and a camera.

GSM/Edge data plans have been available for years in Indonesia, though somewhat expensive per KB, flaky and with an odd signup process (find out the right sms address and send a couple requests to it and wait.)

Now cell providers are promoting all-you-can-eat data plans at 5000 Rp/day (50 cents per day).

Wifi is popular for when they are low on cash but near a free wifi hotspot, available in most offices, hotels and malls.

Indonesia is a huge cell phone market, about the same population as the USA. Less than 1% of households have Internet access, although many employees now have it at work.

The only thing holding back Blackberry penetration is purchase price. Phones are not subsidized with long-term contracts as in the West, so they’re retail priced at $350-$600 each.

All of my friends there have asked me how much a Blackberry is in the USA. It’s priceless to see their expression when I say, “free with a service contract.” :)

cnet.com: A more streamlined Facebook for BlackBerry
CHART OF THE DAY: Apple, RIM Swallow Mobile Industry Profits (AAPL, RIMM)
jakartapost.com: BlackBerry maker given deadline
jakartapost.com: BlackBerry maker to open after-sales service center

Long Weekend in Hawaii

Monday, May 25th, 2009

I had a relaxing long weekend in Honolulu. It’s nice to have a change of scenery periodically.

It was fairly quiet in Waikiki, as Japanese tourists are still afraid of the swine flu and mainland Americans do the “staycation”. Both the flight on Hawaiian Airlines and the room at the Continental Surf Hotel were quite inexpensive.

I went on a short airplane flight with a female instructor at Flight School Hawaii in a Cessna 172SP.

Blue skies, Kona winds, practise area, a couple landings at Kalaeloa Airport (formerly called Barbers Point), back to HNL 22L.

The 172SP was beautiful except for 1 interesting problem. The magnetic compass had leaked into the Garmin 430 GPS, ruining most of the LCD display. D’oh!

Otherwise I hung out in the hotel or walked on Waikiki beach (quite humid even at night.)

The huge abandoned CompUSA superstore on Ala Moana is still empty, 2 years later.

Duke’s Waikiki was 100% full at dinner time, prolly the only crowded place I saw.

The street performers were even more varied than last time. I hadn’t seen the steel drums performer or magician before.

The Continental Surf Hotel is pretty basic. It has medium-sized rooms with AC and basic cable, coin laundry, a cursory gym (3 cardio machines and a universal machine, no free weights, in a too-small room), and a jumbo flat screen TV in the lobby tuned to a sports channel. Some people rent rooms monthly. There are only 2 small elevators, so if one broke, that could be a problem. Nice view on the roof of Waikiki and Diamondhead.

cessnaowner.org: Rebuilding a Compass

Could Flight 1549 Have Landed at La Guardia instead of in the Hudson River?

Monday, January 26th, 2009

Update: Video Re-enactment by Scene Systems.

It will take a year for the NTSB to do a full investigation of Flight 1549, and I’m sure many recommendations will be made about airport birds, ditching airliners and things we haven’t even thought of yet.

In the meantime, so far I’ve heard about 5 issues to ponder …

1) After looking at a few Google maps overlayed with Flightaware data for Flight 1549 that landed in the Hudson River, maybe it could have landed back at La Guardia, instead of in an icy river, if landing gear could be extended:


Flight 1549 Ground Track
Flight 1549 Ground Track Google Mashup by Avweb

Another “Powered by Google” Map
FlightAware Live Flight Track Log (AWE1549)

La Guardia’s elevation is about 21′. The engines failed at about 3,200′. The best glide ratio for an airliner is between 12 and 20 to 1, depending on model and configuration.

It looks like range was not a problem, although one would have to look at a current New York sectional map to see what obstructions would be in various flight paths.

KLGA Sectional Chart ApproximationAccording to the sectional I found online, turning right after engine failure would have resulted in no obstructions.

ATC instructed the plane to turn left and the plane complied. I have a feeling from reading and listening to the transcript that more urgency doing a turnback would have resulted in a landing at LGA, if landing gear could be extended.

2) Dick Rutan made the following observation in a letter to avweb.com: “[All the major news outlets] missed the big story that there were not enough rafts. Remember the Titanic. Had this not been in the river, 80% of passengers would have died in the cold water. How many rafts? Enough for all the passengers? There were a few on a raft and the rest on the wing.”

I have heard that rafts have been removed from many airliners to save weight, hence fuel and operating costs.

3) Also, a news report on the web said the A320 “ditch switch” had not been activated, thus allowing more water than necessary to enter the plane.

4) Would it be possible to shroud the engines with a 1 cm grille with sharpened facing dividers to cube the incoming birds?

5) How does a complete engine failure due to birds on a twin affect ETOPS operations over an ocean? Could the engines be damaged on take-off, then suddenly fail at altitude?

METAR weather observations around that time (the event happened on Jan. 15, 2009 at 3:30 pm EST, which is 2030Z) are available for KJFK and KLGA.

METAR KJFK 151951Z 33010KT 10SM BKN034 BKN055 M07/M14 A3024 RMK AO2 SLP238 T10671144
METAR KLGA 151951Z 34013KT 10SM BKN035 M06/M14 A3022 RMK AO2 SLP234 T10611139

Random comments about Flight 1549 on another blog
wikipedia: Gimli Glider
wikipedia: US Airways Flight 1549
avweb: US Airways Ditching Fallout Hits American With Rafts
avweb: Flight 1549, The Online Game?
avweb: Radio transcript and audio
youtube: Radio Scanner of the first 5 mins of US Airways Flight 1549 crash in the Hudson River
cnn.com: Flight 1549 crew: Hudson landing still on our minds
AP: Sully: Sex life better after Hudson landing

(Disclaimer: I hold a FAA commercial airplane license and have flown many ocean flights around Hawaii and Florida, but do not have any airline experience.)