Jekyll2023-05-28T18:37:37+00:00https://ansari.io/atom.xmlAdil AnsariMy blackbookAdil Ansarime@adilansari.comJapan2017-12-30T09:42:59+00:002017-12-30T09:42:59+00:00https://ansari.io/travel/japan-trip<p>Japan is fascinating.</p>
<p>When you think of Japan, the first thing that comes to mind is its modern look and appearance; huge cities with tall buildings and millions of hard working people.</p>
<p>However, the country has over centuries been influenced by many cultures. Asian culture is a predominating inspiration but the impact of Western culture is evident when you look at the newer generation with the type of clothes they wear and also in sports as Baseball is quite popular.</p>
<h2 id="travel-tips">Travel tips</h2>
<ul>
<li><a href="" class="btn btn--success">Rent a pocket wifi</a> at the airport, they are easily available at much cheaper prices. Cellphone plans can be cumbersome to get if you are looking at short term options.</li>
<li>Taxis are expensive, get a <a href="" class="btn btn--success">rail pass</a>.</li>
<li>A <a href="" class="btn btn--success">transit app</a> is a must. You can literally get anywhere using public transit. Even outside Tokyo.</li>
<li>Try to stay closer to a <a href="" class="btn btn--success">major transit central</a>, I chose <strong>Shinjuku</strong>.</li>
</ul>
<h2 id="tokyo">Tokyo</h2>
<p>Tokyo is constantly in motion and continues to be alive at night. Nightlife in the city is something spectacular where parties and night clubs present the perfect opportunity for tourists to mingle with locals. It is a city that never sleeps and no matter the time of day or night, you can find something extraordinary to eat or do here.</p>
<figure class="half">
<a href="https://farm5.staticflickr.com/4632/25680104027_deef730403_b.jpg" title=""><img src="https://farm5.staticflickr.com/4632/25680104027_deef730403_m.jpg" /></a>
<a href="https://farm5.staticflickr.com/4653/25680105487_97f1e9b695_b.jpg" title=""><img src="https://farm5.staticflickr.com/4653/25680105487_97f1e9b695_m.jpg" /></a>
<a href="https://farm5.staticflickr.com/4764/38740657890_4bdafbf0e9_b.jpg" title=""><img src="https://farm5.staticflickr.com/4764/38740657890_4bdafbf0e9_m.jpg" /></a>
<a href="https://farm5.staticflickr.com/4656/40551082341_0f4327ba03_b.jpg" title=""><img src="https://farm5.staticflickr.com/4656/40551082341_0f4327ba03_m.jpg" /></a>
</figure>
<figure class="third">
<a href="https://farm5.staticflickr.com/4602/25783918637_cbfa45c156_b.jpg" title=""><img src="https://farm5.staticflickr.com/4602/25783918637_cbfa45c156_m.jpg" /></a>
<a href="https://farm5.staticflickr.com/4793/39944834294_8ea3596437_b.jpg" title=""><img src="https://farm5.staticflickr.com/4793/39944834294_8ea3596437_m.jpg" /></a>
<a href="https://farm5.staticflickr.com/4617/40612623672_463566b087_b.jpg" title=""><img src="https://farm5.staticflickr.com/4617/40612623672_463566b087_m.jpg" /></a>
</figure>
<p><strong>Kabukicho</strong>, <strong>Roppongi</strong> and <strong>Shibuya</strong> are the popular nightlife spots. Despite a different tradition almost all the nightclubs in these areas play house music, top 40 and other global genres.</p>
<figure class="half">
<a href="https://farm5.staticflickr.com/4655/40551072881_09152b1d9d_b.jpg" title=""><img src="https://farm5.staticflickr.com/4655/40551072881_09152b1d9d_m.jpg" /></a>
<a href="https://farm5.staticflickr.com/4750/40551077271_c279efc9b8_b.jpg" title=""><img src="https://farm5.staticflickr.com/4750/40551077271_c279efc9b8_m.jpg" /></a>
<a href="https://farm5.staticflickr.com/4669/40551075781_a5cf55f86c_b.jpg" title=""><img src="https://farm5.staticflickr.com/4669/40551075781_a5cf55f86c_m.jpg" /></a>
<a href="https://farm5.staticflickr.com/4622/39840179634_5fc8e8a021_b.jpg" title=""><img src="https://farm5.staticflickr.com/4622/39840179634_5fc8e8a021_m.jpg" /></a>
</figure>
<p>One thing for sure, Tokyo women are the best dressed to what I have experienced so far.</p>
<h2 id="mt-fuji">Mt. Fuji</h2>
<p>In summer, from early July to late August, it is the climbing season. However, because of being not in the climbing season, we only stopped at the station No. 5, which is the highest station that the bus can reach. However that place is not boring at all, the feeling of breathing fresh air from the height of 2,300m above sea level is quite interesting like the feeling of the body being purified.</p>
<figure class="third">
<a href="https://farm5.staticflickr.com/4752/39840205204_9f4ee651cd_b.jpg" title=""><img src="https://farm5.staticflickr.com/4752/39840205204_9f4ee651cd_m.jpg" /></a>
<a href="https://farm5.staticflickr.com/4752/25680123807_60f41e418f_b.jpg" title=""><img src="https://farm5.staticflickr.com/4752/25680123807_60f41e418f_m.jpg" /></a>
<a href="https://farm5.staticflickr.com/4607/39840204364_7eee3eede2_b.jpg" title=""><img src="https://farm5.staticflickr.com/4607/39840204364_7eee3eede2_m.jpg" /></a>
</figure>
<figure class="single">
<center>
<a href="https://farm5.staticflickr.com/4792/39944851694_8bfb0a33b1_b.jpg" title=""><img src="https://farm5.staticflickr.com/4792/39944851694_8bfb0a33b1_c.jpg" /></a>
</center>
</figure>
<h4 id="getting-to-mt-fuji">Getting to Mt. Fuji</h4>
<p>The direct bus takes about 2.5 hours and departs from the Shinjuku express bus station to the Station No.5- Muji Subaru Line. On the way to Mount Fuji, you will go through a music road. This is one of the Japanese ridiculous ideas. A small segment of the road will be made into small grooves. When the vehicles run at the speed of 45km/h, the wheel rolling through the grooves combines with the air flow to create the fun melody.</p>
<p>Other option is day-tour, I’ve heard thats pretty decent and it also covers <a href="" class="btn btn--info">Mount Hakone national park</a>. May want to check with your hotel or any travel kiosk.</p>
<h2 id="kyoto">Kyoto</h2>
<p>To witness vintage Japan, it is sometimes necessary to move away from Tokyo.</p>
<p>Kyoto is one of the Japanese cities that has kept most of these early traditions alive. It is still an active city but contrary to Tokyo it is cheaper and there is a more ancient characteristic of Japan that can be experienced here with its tea houses, museums, and temples. It is also a lot quieter than Tokyo allowing visitors to stay in a more laidback atmosphere.</p>
<figure class="half">
<a href="https://farm5.staticflickr.com/4650/40508097022_cd74d20d63_b.jpg" title=""><img src="https://farm5.staticflickr.com/4650/40508097022_cd74d20d63_m.jpg" /></a>
<a href="https://farm5.staticflickr.com/4753/40508110762_557eecce45_b.jpg" title=""><img src="https://farm5.staticflickr.com/4753/40508110762_557eecce45_m.jpg" /></a>
<a href="https://farm5.staticflickr.com/4626/26679794448_89947517a4_b.jpg" title=""><img src="https://farm5.staticflickr.com/4626/26679794448_89947517a4_m.jpg" /></a>
<a href="https://farm5.staticflickr.com/4621/40551055231_2facb20986_b.jpg" title=""><img src="https://farm5.staticflickr.com/4621/40551055231_2facb20986_m.jpg" /></a>
</figure>
<figure>
<center>
<a href="https://farm5.staticflickr.com/4750/40551054241_55908bc4e5_b.jpg" title=""><img src="https://farm5.staticflickr.com/4750/40551054241_55908bc4e5_c.jpg" /></a>
</center>
</figure>
<p>This city has hundreds of Buddhist temples such as <strong>Kiyomizu-dera</strong> and <strong>Kinkaku-ji</strong> that not only provide a look into the religious aspects of the country, but also architecturally they are phenomenal. These temples that were spared bombardment during World War II, and still stand tall, are easily recognized by their wooden structures and curved roofs. It is important to <a href="" class="btn btn--warning btn--small">pay respect to the local rules</a> while visiting the temples and visitors should be aware of the practices that are followed.</p>
<figure class="half">
<a href="https://farm5.staticflickr.com/4678/38740621970_b034a13364_b.jpg" title=""><img src="https://farm5.staticflickr.com/4678/38740621970_b034a13364_m.jpg" /></a>
<a href="https://farm5.staticflickr.com/4700/40551034851_e45735ff9e_b.jpg" title=""><img src="https://farm5.staticflickr.com/4700/40551034851_e45735ff9e_m.jpg" /></a>
<a href="https://farm5.staticflickr.com/4740/38844212670_ce5812749f_b.jpg" title=""><img src="https://farm5.staticflickr.com/4740/38844212670_ce5812749f_m.jpg" /></a>
<a href="https://farm5.staticflickr.com/4720/39840111464_b7cff6bbfa_b.jpg" title=""><img src="https://farm5.staticflickr.com/4720/39840111464_b7cff6bbfa_m.jpg" /></a>
</figure>
<h4 id="getting-to-kyoto">Getting to Kyoto</h4>
<p>The fastest way is Shinkansen.If you take the fastest Shinkansen called Nozomi, it takes about 140 minutes and costs 13,080 yen per person for one way.</p>
<p class="notice--info"><strong>Pro tip:</strong>
From Tokyo to Kyoto, choose the seat E because you can see Mt. Fuji from the seat window on a sunny day. Mt. Fuji appears 40 mins after the departure of Tokyo.</p>
<h2 id="japan-is-encompassing">Japan is encompassing</h2>
<p>Japan is a remarkable place, full of good people, beautiful sights and a rich culture. Seeing videos or photos of Japan is one thing, but actually going there and living for some time is an unforgettable affair. With its unique combination of tradition and modern way of life, it is an excellent destination for fun, work or living.</p>Adil Ansarime@adilansari.comJapan - A vibrant experience.Yamaha R6 race bike project2017-08-23T03:28:16+00:002017-08-23T03:28:16+00:00https://ansari.io/blog/racebike-project<figure class="third" align="center">
<a href="https://farm5.staticflickr.com/4388/36333376640_55891756c5_b.jpg" title=""><img src="https://farm5.staticflickr.com/4388/36333376640_55891756c5_m.jpg" /></a>
<a href="https://farm5.staticflickr.com/4429/36729134645_6b219f738b_b.jpg" title=""><img src="https://farm5.staticflickr.com/4429/36729134645_6b219f738b_m.jpg" /></a>
<a href="https://farm5.staticflickr.com/4392/36333376180_76e153416c_b.jpg" title=""><img src="https://farm5.staticflickr.com/4392/36333376180_76e153416c_m.jpg" /></a>
</figure>
<figcaption align="center"><strong>Before conversion, mostly stock</strong></figcaption>
<p>Bought myself a Yamaha R6 in June 2014. Streets/Highways were just not apt for this mean thing and started doing trackdays. The love for riding intensified and it was 2017 when I decided to convert this into a racetrack only bike.</p>
<figure class="third" align="center">
<a href="https://farm1.staticflickr.com/868/26902976447_3272e81347_b.jpg" title=""><img src="https://farm1.staticflickr.com/868/26902976447_3272e81347_m.jpg" /></a>
<a href="https://farm5.staticflickr.com/4427/35920026463_a446ab03e3_b.jpg" title=""><img src="https://farm5.staticflickr.com/4427/35920026463_a446ab03e3_m.jpg" /></a>
<a href="https://farm5.staticflickr.com/4353/36682645276_07bfc34112_b.jpg" title=""><img src="https://farm5.staticflickr.com/4353/36682645276_07bfc34112_m.jpg" /></a>
</figure>
<figcaption align="center"><strong>Track version of the same bike now</strong></figcaption>
<h4 id="the-conversion">The conversion</h4>
<p>Aftermarket stuff and <del>removed mods</del>:</p>
<table class="table">
<thead>
<tr>
<th>Part</th>
<th>Slurp</th>
</tr>
</thead>
<tbody>
<tr>
<td><del>Tail eliminator</del></td>
<td>Clean tail</td>
</tr>
<tr>
<td>Driven racing grips</td>
<td>Stocks were supposed to be thrown I guess</td>
</tr>
<tr>
<td><del>Tail lamp with integrated turn sigs</del></td>
<td>Because LED and clean</td>
</tr>
<tr>
<td>SC-project CRT exhaust</td>
<td>Expel exhaust gases faster</td>
</tr>
<tr>
<td>Pirelli Diablo Supercorsas</td>
<td>For handling them low corners</td>
</tr>
<tr>
<td>CRG brake and clutch levers</td>
<td>CNC clicker levers</td>
</tr>
<tr>
<td>Zero Gravity Corsa race windscreen</td>
<td>Aerodynamics</td>
</tr>
<tr>
<td>GB racing casing for engine</td>
<td>Gotta protect it</td>
</tr>
<tr>
<td>Bauce racing ECU remap</td>
<td>Removed factory restrictions to set it up for racetrack</td>
</tr>
<tr>
<td>Power commander V</td>
<td>Controller for fuel injectors, smoother power delivery</td>
</tr>
<tr>
<td>DID racing 520 chain</td>
<td>Lighter, less friction, spins faster</td>
</tr>
<tr>
<td>Driven racing front -1 sprocket</td>
<td>More power at lower rpms</td>
</tr>
<tr>
<td>Driven racing rear +1 sprocket</td>
<td>For the pull coming off corners</td>
</tr>
<tr>
<td>Armourbodies race fairings</td>
<td>Easy to take on and off fibreglass body</td>
</tr>
<tr>
<td>Catalytic converter delete</td>
<td>No more emission sensors, unrestricted exhaust flow</td>
</tr>
<tr>
<td>K&N air filter</td>
<td>Breathe healthy</td>
</tr>
<tr>
<td>Moto D racing clip ons</td>
<td>Adjustable handlebars for wider arm position</td>
</tr>
<tr>
<td>GPR V4 steering dampner</td>
<td>Stabilized steering, less tank slapping</td>
</tr>
<tr>
<td>Motion Pro throttle asembly</td>
<td>Much more aggressive throttle response</td>
</tr>
<tr>
<td>Ohlins fork springs</td>
<td>Stiffer forks dialed in for my weight</td>
</tr>
<tr>
<td>Eibach racing rear shock</td>
<td>Lighter rear spring for instant feedback</td>
</tr>
<tr>
<td>Tech3 Yamaha livery</td>
<td>Why not?</td>
</tr>
<tr>
<td>EBC GP racing brake pads</td>
<td>High friction stoppers</td>
</tr>
<tr>
<td>MotoD GPS data logger</td>
<td>Lap by lap bike and rider timing data</td>
</tr>
<tr>
<td>Galfer steel brake lines</td>
<td>Increased brake fluid pressure</td>
</tr>
</tbody>
</table>Adil Ansarime@adilansari.comBuilding a race bikeYour life is like a balloon2017-02-21T03:28:16+00:002017-02-21T03:28:16+00:00https://ansari.io/blog/your-life-is-like-a-balloon<p>Inspired by Steve Jobs’ commencement speech at Stanford University - <strong>You’ve got to find what you love</strong>, I’ve been looking for that one thing since then. But there’s no such step by step guide out there on how to find what you love to do. Its all in one man’s words that I went out to seek passion. But where is it? Have I found it?</p>
<p>I’ve been trying out multiple things, connecting bunch of pieces to see if they form a logical structure or order. Its hard to say if I’ve found it or not but definitely discovered one thing, <em><strong>contentment</strong></em>.</p>
<h4 id="what-brought-me-this-gratification">What brought me this gratification?</h4>
<p><em><strong>Realization</strong></em>. Day in day out I learnt about myself, What I cannot do? What doesn’t bring me happiness? Dejection is unavoidable, on the other hand accepting where I am right now and where I cannot be brings me incomparable pleasure. <em><strong>Glee</strong></em>, because I can let go this shackle and venture in some other direction. There is one less thing upholding me now.</p>
<h4 id="the-balloon">The balloon</h4>
<p>Now I see its all like a helium balloon anchored to the ground. All you got to do is let go off the strings one by one to let it rise high. It is very important to learn about yourself and accept who you are. Go out and challenge yourself everyday. Hear to your head. Fail; fail fast; learn; steer in some other direction; don’t let yourself stagnate. Be on the lookout, constantly doing something. Spend time with yourself, answer is in your head. Embrace your lack of success.</p>
<blockquote class="notice--success">
<p><strong>“Happy he who learns to bear what he cannot change.”</strong> - Friedrich Schiller</p>
</blockquote>Adil Ansarime@adilansari.comGotta unhook those anchors to rise highPortugal2016-11-26T09:42:59+00:002016-11-26T09:42:59+00:00https://ansari.io/travel/portugal-trip<h2 id="the-road-trip">The road trip</h2>
<p>Traveling solo in Europe has been the easiest for me. This time decided to do something different. Landed in Lisbon and did a <a href="/blog/motorcycling-abroad" class="btn btn--info">800km Lisbon-Coimbra-Porto-Sintra road trip</a> on a rented BMW bike.</p>
<figure align="center">
<a href="https://farm1.staticflickr.com/580/31812352431_b1b9986dbc_b.jpg" title=""><img src="https://farm1.staticflickr.com/580/31812352431_b1b9986dbc_c.jpg" /></a>
</figure>
<h2 id="lisbon">Lisbon</h2>
<p>Lisbon is magical. Century old wooden trams trundling down narrow cobblestone streets, weird elevators, street art, thats Lisbon for you. Lisbon is inexpensive compared to other touristy destinations in EU. Your Dollar/Pound is gonna go long way. Custard tarts is the other thing its famous for, especially <a href="">Pasteis de Belem</a>, I went late night to avoid the queues which may run onto the outside pavement. People here know how to party, nightlife usually runs into daylight.</p>
<figure class="half">
<a href="https://farm1.staticflickr.com/450/31587567112_301112b4c7_b.jpg" title=""><img src="https://farm1.staticflickr.com/450/31587567112_301112b4c7_m.jpg" /></a>
<a href="https://farm1.staticflickr.com/650/30924522683_7112b5772a_b.jpg" title=""><img src="https://farm1.staticflickr.com/650/30924522683_7112b5772a_m.jpg" /></a>
<a href="https://farm1.staticflickr.com/350/31360782860_94f84fc15a_b.jpg" title=""><img src="https://farm1.staticflickr.com/350/31360782860_94f84fc15a_m.jpg" /></a>
<a href="https://farm1.staticflickr.com/610/30923926523_d943dfd71d_b.jpg" title=""><img src="https://farm1.staticflickr.com/610/30923926523_d943dfd71d_m.jpg" /></a>
<a href="https://farm1.staticflickr.com/348/31734038835_bd08b9b7a8_b.jpg" title=""><img src="https://farm1.staticflickr.com/348/31734038835_bd08b9b7a8_m.jpg" /></a>
<a href="https://farm1.staticflickr.com/439/30924563133_406deebf97_b.jpg" title=""><img src="https://farm1.staticflickr.com/439/30924563133_406deebf97_m.jpg" /></a>
</figure>
<h2 id="porto">Porto</h2>
<p>Porto is electrical. Visit Porto if you want to get away from crowds. Colorful architecture, one of the best hostels in the world and welcoming locals. Porto is just photogenic, I don’t know if the following pictures do any justice.</p>
<figure class="third">
<a href="https://farm6.staticflickr.com/5566/31363634080_0e0797dcff_b.jpg" title=""><img src="https://farm6.staticflickr.com/5566/31363634080_0e0797dcff_m.jpg" /></a>
<a href="https://farm1.staticflickr.com/656/30893080294_93cee3118f_b.jpg" title=""><img src="https://farm1.staticflickr.com/656/30893080294_93cee3118f_m.jpg" /></a>
<a href="https://farm1.staticflickr.com/598/31736734215_5fa6d1fe71_b.jpg" title=""><img src="https://farm1.staticflickr.com/598/31736734215_5fa6d1fe71_m.jpg" /></a>
<a href="https://farm1.staticflickr.com/775/31620903171_41a5d00e2b_b.jpg" title=""><img src="https://farm1.staticflickr.com/775/31620903171_41a5d00e2b_m.jpg" /></a>
<a href="https://farm1.staticflickr.com/405/31363646870_fe0b65ebed_b.jpg" title=""><img src="https://farm1.staticflickr.com/405/31363646870_fe0b65ebed_m.jpg" /></a>
<a href="https://farm1.staticflickr.com/288/31620846451_4d7ed73d69_b.jpg" title=""><img src="https://farm1.staticflickr.com/288/31620846451_4d7ed73d69_m.jpg" /></a>
</figure>Adil Ansarime@adilansari.comA rhythmic journeyRenting a motorcycle abroad2016-11-16T22:28:01+00:002016-11-16T22:28:01+00:00https://ansari.io/travel/motorcycling-abroad<p>Typical world travelers plan to see world by their own motorcycle, I meet such people often. They ship their bike place to place, store it for around a year or something and see places around. Would’ve been lot of logistics for me so decided to rent one. Riding a motorcycle in many parts of the world is challenging and scary as hell.</p>
<h4 id="safety-concerns">Safety concerns</h4>
<p>Riding is always not safe, specially when you are riding an unknown motorcycle on unfamiliar roads/conditions. You choose your own level of acceptable risk. Many people set off on road with motorcycles out of their experience levels, sure more power is always tempting but there has to be a fine balance.</p>
<h4 id="rental-options">Rental options</h4>
<p>Most of my experience has been in Europe and South East Asia, it is very difficult to rent anything bigger than 125 cc at these places. Scooters are common in Europe. There are options to rent larger bikes, you may have to search on local forums or ask hotels/guides. Sometimes individuals may agree to rent you one, just check if its legal in the particular country to rent a non-permit vehicle.</p>
<p>Whether to get a Enduro, Dual sport, sport is entirely on you. Depends on where you plan to go, your size, experience, preferences, what you plan to carry etc.</p>
<h4 id="paperwork">Paperwork</h4>
<p>Many countries may want an International driver’s permit in addition to native country’s permit and passport, just call the rental agency and ask before hand. Its fairly easy to <a href="https://www.usa.gov/visitors-driving"><strong>get IDP here in USA</strong></a>. Medical Insurance, motorcycle insurance are a must, you don’t want to end up paying for heavy damages/liabilities in case of an incident. Many rental locations will provide you an option to buy insurance from them in case your own insurance is invalid outside home country. Credit card for security deposits.</p>
<h4 id="quick-checklist">Quick Checklist</h4>
<ul>
<li>:white_check_mark: Driver’s license</li>
<li>:white_check_mark: Passport</li>
<li>:white_check_mark: International driving permit</li>
<li>:white_check_mark: Rental vehicle registration papers</li>
<li>:white_check_mark: Credit Cards</li>
<li>:white_check_mark: Helmet (rental location can also provide one)</li>
<li>:white_check_mark: Protective gear (I prefer to carry my own instead of renting)</li>
<li>:white_check_mark: Emergency toolkit</li>
<li>:white_check_mark: Handy maps</li>
<li>:white_check_mark: Emergency phone numbers</li>
</ul>
<h2 id="my-rental-experience-with-imtbike-in-portugal">My rental experience with IMTBike in Portugal</h2>
<p><a href="http://www.imtbike.com" class="btn btn--warning">IMTBike</a> is a motorcycle rental and a tour organizer operating mostly in Iberian region (Spain and Portugal). I’ve learned that they officially partner with <strong>BMW Motorrad</strong>, hence your rental options are limited to Beamers, nevertheless, amazing machines.</p>
<p>I was in <a href="https://en.wikipedia.org/wiki/Lisbon" class="btn btn--success btn--small">Lisbon, Portugal</a> that I decided to rent a bike and go cross country. The rental experience was so friendly, the location manager kept the store open afterhours for me and helped me with everything. He gave me a tour of his facility and spoke about things on what to do and what not. His experience riding in Europe really came in handy. Even lent me his personal rain suit in case, he just let me have it. Bike was really well maintained and clean. I picked up a BMW F700 GS, not one of those huge tourers since I am a supersport person so a tourer would have been a lot.</p>
<figure class="half">
<a href="https://farm1.staticflickr.com/748/31736778025_124d4e7b5b_b.jpg" title=""><img src="https://farm1.staticflickr.com/748/31736778025_124d4e7b5b_m.jpg" /></a>
<a href="https://farm1.staticflickr.com/546/31892084426_20aff0985d_b.jpg" title=""><img src="https://farm1.staticflickr.com/546/31892084426_20aff0985d_m.jpg" /></a>
</figure>
<p>Of course I missed the grunt and power in this adventure bike but was so smooth. He gave me a good briefing of the routes and rules, helped me find a safe parking place near hotel. That small meeting ended up in a friendship. I did about 800 kilometres <a href="https://www.google.com/maps/embed/v1/directions?origin=Lisbon,Portugal&destination=Lisbon,Portugal&waypoints=Coimbra,Portugal|Porto,Portugal|Sintra,Portugal&key=AIzaSyBsp9oYHe38DmRbGTPlYut6eGTb7S51p1I" class="popup-gmaps">(Lisbon-Coimbra-Porto-Sintra)</a>, absolutely no issues with the bike. I won’t say renting from them is cheap but definitely not expensive for what you are getting. Highly recommended :+1:.</p>
<iframe width="100%" height="350" frameborder="0" style="border:0" name="Lisbon-Coimbra-Porto-Sintra-Lisbon" src="https://www.google.com/maps/embed/v1/directions?origin=Lisbon,Portugal&destination=Lisbon,Portugal&waypoints=Coimbra,Portugal|Porto,Portugal|Sintra,Portugal&key=AIzaSyBsp9oYHe38DmRbGTPlYut6eGTb7S51p1I" allowfullscreen="">
</iframe>Adil Ansarime@adilansari.comHandy tips for renting or transporting your bike across.Arizona and Utah2016-09-19T09:42:59+00:002016-09-19T09:42:59+00:00https://ansari.io/travel/arizona-moab-utah<p>A normal weekend trip that was supposed to head Westwards towards California from Phoneix, AZ ended in Utah, :grin:. But as they say, best moments happen when they are unplanned. Another one of those 1000+ miles weekend trip. Left Saturday morning from Phoenix and did an all night 550 mile drive back to catch a 4 AM flight to California and get to work on time.</p>
<iframe width="100%" height="350" frameborder="0" style="border:0" name="Arizona-Utah" src="https://www.google.com/maps/embed/v1/directions?origin=Phoenix,Arizona&destination=Phoenix,Arizona&waypoints=36.83584,-111.5279404|Monument+Valley,Utah|Arches+National+Park,Utah&key=AIzaSyBsp9oYHe38DmRbGTPlYut6eGTb7S51p1I" allowfullscreen="">
</iframe>
<h6 id="horseshoe-bend">Horseshoe Bend</h6>
<p>The horseshoe-shaped meander of the Colorado River located near the town of Page, Arizona, in the United States.</p>
<figure align="center">
<a href="https://farm9.staticflickr.com/8313/29801872392_d674c9ff19_b.jpg" title=""><img src="https://farm9.staticflickr.com/8313/29801872392_d674c9ff19_c.jpg" /></a>
</figure>
<h6 id="monument-valley">Monument Valley</h6>
<p>Monument Valley Navajo Tribal Park, a red-sand desert region on the Arizona-Utah border, is a frequent filming location for Western movies. Its an outdoor park that can be explored by looping a 17-mile Valley Drive. Best part is - you can go off roading in your own vehicle :sunglasses: .</p>
<figure class="third">
<a href="https://farm9.staticflickr.com/8535/29915853835_f69cf975f0_b.jpg" title=""><img src="https://farm9.staticflickr.com/8535/29915853835_f69cf975f0_m.jpg" /></a>
<a href="https://farm9.staticflickr.com/8093/29621316010_b724b7fbbf_b.jpg" title=""><img src="https://farm9.staticflickr.com/8093/29621316010_b724b7fbbf_m.jpg" /></a>
<a href="https://farm9.staticflickr.com/8482/29288482924_c804db4264_b.jpg" title=""><img src="https://farm9.staticflickr.com/8482/29288482924_c804db4264_m.jpg" /></a>
</figure>
<h6 id="arches-national-park">Arches National Park</h6>
<p>Arches National Park lies north of Moab in the state of Utah. It’s known as the site of more than 2,000 natural sandstone arches.</p>
<figure class="third">
<a href="https://farm9.staticflickr.com/8424/29621305120_d831eef2f9_b.jpg" title=""><img src="https://farm9.staticflickr.com/8424/29621305120_d831eef2f9_m.jpg" /></a>
<a href="https://farm9.staticflickr.com/8447/29621227530_fa2ae53b09_b.jpg" title=""><img src="https://farm9.staticflickr.com/8447/29621227530_fa2ae53b09_m.jpg" /></a>
<a href="https://farm9.staticflickr.com/8286/29621264440_1f9756072c_b.jpg" title=""><img src="https://farm9.staticflickr.com/8286/29621264440_1f9756072c_m.jpg" /></a>
</figure>Adil Ansarime@adilansari.comA rhythmic journeyCrater Lake and South Oregon2016-05-07T22:28:01+00:002016-05-07T22:28:01+00:00https://ansari.io/travel/crater-lake-and-south-oregon<p>This was a really random trip, me and my roommate decided on Thursday morning to leave next day and that was it. We stayed over in <a href="https://en.wikipedia.org/wiki/Mount_Shasta,_California">Shasta city</a> the Friday night. Shasta was another picturesque volcano standing right in middle of nowhere.</p>
<p>3 hours from there was our first stop, <strong>Crater lake national park</strong>. The road was cleared a couple days only after snowfall, we were welcomed by the tall fresh white walls amongst the tall swaying pine cones. The drive up there was gripping.</p>
<p>The very first glimpse of <a href="https://www.nps.gov/crla/index.htm">Crater Lake</a> is enough to inspire you. Mount Mazama’s summit was destroyed by a volcanic eruption that occurred around 5677 BC, the caldera formed holds crater lake.</p>
<p>Despite a violent volcanic past there is nothing so soothing as effervescent blue mirror-smooth water, the wispy white snow capped mountains. Here are a few tips that can help you plan your next travel:</p>
<figure>
<a href="https://c2.staticflickr.com/8/7103/26535111200_fa8a712434_h.jpg" title="Crater lake panorama."><img src="https://c2.staticflickr.com/8/7103/26535111200_fe89a2ca69_c.jpg" /></a>
</figure>
<figcaption align="center">Magical panorama</figcaption>
<h4 id="when-to-go">When to go</h4>
<p>Park is usually open throughout except some roads depending on conditions and visitor center (<a href="https://www.nps.gov/crla/planyourvisit/hours.htm">Plan your visit</a>). Summer is fun but post spring is not bad either, you get best of both - <em>snow</em> and <em>sun</em>. Also, check out <a href="https://www.nps.gov/crla/planyourvisit/current-conditions.htm">current conditions page</a>.</p>
<h4 id="do-not-forget-your-camera">Do not forget your camera</h4>
<p>Of course you want instagram likes. Lake is picturesque all around the rim, take enough pictures and enjoy mine :stuck_out_toungue:.</p>
<h4 id="food-and-gas">Food and Gas</h4>
<p>We didn’t see any gas stations nearby or so about 50 miles. So fill up and also food, <em>visitor center cafes</em> are your only option up top.</p>
<h4 id="things-to-do">Things to do</h4>
<p>Hiking of course, the site states swimming, biking, fishing, camping, boat tours etc. I’ve heard that the <em>east rim</em> route is really scenic.</p>
<figure>
<a href="https://c2.staticflickr.com/8/7420/26807012845_eb2dea22bb_h.jpg" title="Mirror."><img src="https://c2.staticflickr.com/8/7420/26807012845_eb2dea22bb_c.jpg" /></a>
</figure>
<figcaption align="center">Reflections</figcaption>
<figure align="center">
<a href="https://c2.staticflickr.com/8/7658/26807010145_d33f016518_b.jpg" title="Mirror."><img src="https://c2.staticflickr.com/8/7658/26807010145_d33f016518_c.jpg" /></a>
</figure>
<figcaption align="center">Sunset</figcaption>
<h4 id="nearby-attractions">Nearby attractions</h4>
<p>We stayed over in Medford that night and wanted to explore a bit more of south Oregon. Nailed down on a couple spots.</p>
<h6 id="oregon-vortex">Oregon Vortex</h6>
<p><a href="http://www.oregonvortex.com/science.htm" class="btn btn--info btn--small">Oregon Vortex</a> is supposedly one of the most impressive scientific mystery spot. You can experience anomalous behavior of gravity, ball rolling upwards? Really? Must visit for science enthusiasts.</p>
<h6 id="oregon-caves">Oregon Caves</h6>
<p>One of the rare marble caves in the world. If you visit, tour is recommended. Usually the last tour is in afternoon, so plan accordingly. More about <a href="https://www.nps.gov/orca/index.htm" class="btn btn--info btn--small">Oregon Caves</a></p>Adil Ansarime@adilansari.comExploring South OregonPagination with MongoDB2016-04-26T00:56:10+00:002016-04-26T00:56:10+00:00https://ansari.io/hack/pagination-with-mongodb<div id="entry-table-of-contents" class="toc-wrapper">
<h2 id="toc-toggle" class="no_toc">
Table of Contents <i class="toc-toggle-icon fas fa-chevron-down"></i>
</h2>
<ol id="markdown-toc">
<li><a href="#what-is" id="markdown-toc-what-is">What is?</a></li>
<li><a href="#using-cursorskip-and-cursorlimit" id="markdown-toc-using-cursorskip-and-cursorlimit">Using cursor.skip() and cursor.limit()</a></li>
<li><a href="#using-natural-ordering-to-skip-data" id="markdown-toc-using-natural-ordering-to-skip-data">Using natural ordering to skip data</a></li>
<li><a href="#winner-not-really" id="markdown-toc-winner-not-really">Winner? Not really</a></li>
</ol>
</div>
<h2 id="what-is">What is?</h2>
<p>I assume you are here becuase you realized the need for it, will keep this short. Pagination is a type of user control that lets user browse a large number of database rows in the form of pages.</p>
<p>I will discuss two ways to effectively paginate using MongoDB.</p>
<hr />
<h2 id="using-cursorskip-and-cursorlimit">Using cursor.skip() and cursor.limit()</h2>
<p>For if we want to limit <code class="language-plaintext highlighter-rouge">pagesize=10</code> comments per page, our data construct would look like:</p>
<figure class="highlight"><pre><code class="language-javascript" data-lang="javascript"><span class="c1">// Page 1</span>
<span class="nx">db</span><span class="p">.</span><span class="nx">comments</span><span class="p">.</span><span class="nx">find</span><span class="p">().</span><span class="nx">limit</span><span class="p">(</span><span class="mi">10</span><span class="p">);</span>
<span class="c1">// Page 2</span>
<span class="nx">db</span><span class="p">.</span><span class="nx">comments</span><span class="p">.</span><span class="nx">find</span><span class="p">().</span><span class="nx">skip</span><span class="p">(</span><span class="mi">10</span><span class="p">).</span><span class="nx">limit</span><span class="p">(</span><span class="mi">10</span><span class="p">);</span>
<span class="c1">// Page 3</span>
<span class="nx">db</span><span class="p">.</span><span class="nx">comments</span><span class="p">.</span><span class="nx">find</span><span class="p">().</span><span class="nx">skip</span><span class="p">(</span><span class="mi">20</span><span class="p">).</span><span class="nx">limit</span><span class="p">(</span><span class="mi">10</span><span class="p">);</span></code></pre></figure>
<p>Generic equation for <code class="language-plaintext highlighter-rouge">page=n</code> would look like:</p>
<figure class="highlight"><pre><code class="language-javascript" data-lang="javascript"><span class="nx">db</span><span class="p">.</span><span class="nx">comments</span><span class="p">.</span><span class="nx">find</span><span class="p">().</span><span class="nx">skip</span><span class="p">(</span><span class="nx">pagesize</span> <span class="o">*</span> <span class="p">(</span><span class="nx">n</span><span class="o">-</span><span class="mi">1</span><span class="p">)).</span><span class="nx">limit</span><span class="p">(</span><span class="nx">pagesize</span><span class="p">);</span></code></pre></figure>
<p>This is native to MongoDB however, this approach has a <strong><font color="red">drawback</font></strong> as <a href="https://docs.mongodb.org/manual/reference/method/cursor.skip/">MongoDB manual</a> states:</p>
<blockquote class="notice--danger">
<p>The cursor.skip() method is often expensive because it requires the server to walk from the beginning of the collection or index to get the offset or skip position before beginning to return results. As the offset (e.g. pageNumber above) increases, cursor.skip() will become slower and more CPU intensive. With larger collections, cursor.skip() may become IO bound.</p>
</blockquote>
<hr />
<h2 id="using-natural-ordering-to-skip-data">Using natural ordering to skip data</h2>
<p>This approach uses the <a href="https://docs.mongodb.org/manual/reference/method/ObjectId/" class="btn btn--info">ObjectId</a>. A <strong>12-byte</strong> ObjectId value is:</p>
<ul>
<li>4-byte representing the seconds since the Unix epoch,</li>
<li>3-byte machine identifier,</li>
<li>2-byte process id, and</li>
<li>3-byte counter, starting with a random value.</li>
</ul>
<p>The <strong>_id</strong> field in your mongo document is an indexed <strong>ObjectId</strong> by default, and the timestamp component brings a natural chronological ordering to your data structure. Here’s what we will do:</p>
<ul>
<li>cache the <strong>_id</strong> for last document in the current page,</li>
<li>fetch documents greater than last saved <strong>_id</strong> in the next page</li>
</ul>
<figure class="highlight"><pre><code class="language-javascript" data-lang="javascript"><span class="c1">// Page 1</span>
<span class="nx">db</span><span class="p">.</span><span class="nx">comments</span><span class="p">.</span><span class="nx">find</span><span class="p">().</span><span class="nx">limit</span><span class="p">(</span><span class="mi">10</span><span class="p">);</span>
<span class="nx">last_comment_id</span> <span class="o">=</span> <span class="p">...</span>
<span class="c1">// Page 2</span>
<span class="nx">db</span><span class="p">.</span><span class="nx">comments</span><span class="p">.</span><span class="nx">find</span><span class="p">({</span><span class="dl">"</span><span class="s2">_id</span><span class="dl">"</span> <span class="o">></span> <span class="nx">last_comment_id</span><span class="p">}).</span><span class="nx">skip</span><span class="p">(</span><span class="mi">10</span><span class="p">).</span><span class="nx">limit</span><span class="p">(</span><span class="mi">10</span><span class="p">);</span>
<span class="c1">// Update last seen id</span>
<span class="nx">last_comment_id</span> <span class="o">=</span> <span class="p">...</span></code></pre></figure>
<p class="notice--warning">If you are using a field other than <strong>_id</strong> for offset, make sure the field is indexed else the performance will suffer.</p>
<hr />
<h2 class="center" id="winner-not-really">Winner? Not really</h2>
<table class="table">
<thead>
<tr>
<th style="text-align: center">Method</th>
<th style="text-align: center">Runtime</th>
<th style="text-align: left">Description</th>
</tr>
</thead>
<tbody>
<tr>
<td style="text-align: center"><a href="#" class="btn btn--info btn--small"><code class="language-plaintext highlighter-rouge">skip()</code></a></td>
<td style="text-align: center"><a href="#" class="btn btn--warning">O (n)</a></td>
<td style="text-align: left">walks over each document from beginning until offset</td>
</tr>
<tr>
<td style="text-align: center"><a href="#" class="btn btn--info btn--small"><code class="language-plaintext highlighter-rouge">find({_id: ..})</code></a></td>
<td style="text-align: center"><a href="#" class="btn btn--success">O (log n)</a></td>
<td style="text-align: left">Binary search on the indexed field</td>
</tr>
</tbody>
</table>
<p>Now the second approach using <code class="language-plaintext highlighter-rouge">find()</code> also comes in handy when you want to enforce some kind of ordering on your data subset. <code class="language-plaintext highlighter-rouge">find().sort()</code> will be faster than <code class="language-plaintext highlighter-rouge">skip().sort()</code> considering you use in on an efficient index.</p>
<p><strong>timestamp</strong> may not work for you, choosing the right granular key is the hero here. So what is the best key? Would be hard for me to answer here but a couple things to keep in mind - <em>uniqueness</em> and <em>ordering</em>.</p>Adil Ansarime@adilansari.comPaginating scalable data with MongoDB.Python Scribe Logger2015-09-10T07:10:34+00:002015-09-10T07:10:34+00:00https://ansari.io/hack/python-scribe-logger<p><a href="https://travis-ci.org/adilansari/python-scribe-logger"><img src="https://travis-ci.org/adilansari/python-scribe-logger.svg?branch=master" alt="Build
Status" /></a>
<a href="https://codeclimate.com/github/adilansari/python-scribe-logger"><img src="https://codeclimate.com/github/adilansari/python-scribe-logger/badges/gpa.svg" alt="Code
Climate" /></a>
<a href="https://coveralls.io/r/adilansari/python-scribe-logger?branch=master"><img src="https://coveralls.io/repos/adilansari/python-scribe-logger/badge.svg?branch=master" alt="Coverage
Status" /></a>
<a href="https://github.com/adilansari/python-scribe-logger/blob/master/LICENSE.mkd"><img src="https://img.shields.io/github/license/adilansari/python-scribe-logger.svg" alt="License" /></a>
<a href="https://pypi.python.org/pypi/scribe_logger/"><img src="https://img.shields.io/pypi/dm/scribe_logger.svg" alt="Downloads" /></a></p>
<div id="entry-table-of-contents" class="toc-wrapper">
<h2 id="toc-toggle" class="no_toc">
Table of Contents <i class="toc-toggle-icon fas fa-chevron-down"></i>
</h2>
<ol id="markdown-toc">
<li><a href="#scribe-logger" id="markdown-toc-scribe-logger">Scribe logger</a></li>
<li><a href="#installation" id="markdown-toc-installation">Installation</a></li>
<li><a href="#testing-locally" id="markdown-toc-testing-locally">Testing locally</a></li>
<li><a href="#logger-usage" id="markdown-toc-logger-usage">Logger usage</a></li>
<li><a href="#writer-usage" id="markdown-toc-writer-usage">Writer usage</a></li>
<li><a href="#contributors" id="markdown-toc-contributors">Contributors</a></li>
</ol>
</div>
<h2 id="scribe-logger">Scribe logger</h2>
<p>This package contains a low level interface for writing to Scribe, as
well as a higher level log handler which plays nicely with Python’s
logging facilities.</p>
<!-- Place this tag where you want the button to render. -->
<p><a class="github-button" data-style="mega" href="https://github.com/adilansari/python-scribe-logger">View on github</a>
<a class="github-button" href="https://github.com/adilansari/python-scribe-logger" data-icon="octicon-eye" data-style="mega" data-count-href="/adilansari/python-scribe-logger/watchers" data-count-api="/repos/adilansari/python-scribe-logger#subscribers_count" data-count-aria-label="# watchers on GitHub" aria-label="Watch adilansari/python-scribe-logger on GitHub">Watch</a>
<a class="github-button" href="https://github.com/adilansari/python-scribe-logger" data-icon="octicon-star" data-style="mega" data-count-href="/adilansari/python-scribe-logger/stargazers" data-count-api="/repos/adilansari/python-scribe-logger#stargazers_count" data-count-aria-label="# stargazers on GitHub" aria-label="Star adilansari/python-scribe-logger on GitHub">Star</a>
<a class="github-button" href="https://github.com/adilansari/python-scribe-logger/fork" data-icon="octicon-repo-forked" data-style="mega" data-count-href="/adilansari/python-scribe-logger/network" data-count-api="/repos/adilansari/python-scribe-logger#forks_count" data-count-aria-label="# forks on GitHub" aria-label="Fork adilansari/python-scribe-logger on GitHub">Fork</a>
<a class="github-button" href="https://github.com/adilansari/python-scribe-logger/archive/master.zip" data-icon="octicon-cloud-download" data-style="mega" aria-label="Download adilansari/python-scribe-logger on GitHub">Download</a></p>
<blockquote>
<p>Supports Python 2.7</p>
</blockquote>
<hr />
<h2 id="installation">Installation</h2>
<p><code class="language-plaintext highlighter-rouge">pip install scribe-logger</code></p>
<hr />
<h2 id="testing-locally">Testing locally</h2>
<figure class="highlight"><pre><code class="language-bash" data-lang="bash"><span class="nv">$ </span>git clone https://github.com/adilansari/python-scribe-logger.git
<span class="nv">$ </span><span class="nb">cd </span>python-scribe-logger
<span class="nv">$ </span>pip <span class="nb">install</span> <span class="nt">-U</span> <span class="nt">-r</span> requirements.txt
<span class="nv">$ </span>python runtests.py</code></pre></figure>
<hr />
<h2 id="logger-usage">Logger usage</h2>
<figure class="highlight"><pre><code class="language-python" data-lang="python"><span class="kn">from</span> <span class="nn">scribe_logger.logger</span> <span class="kn">import</span> <span class="n">ScribeLogHandler</span>
<span class="kn">import</span> <span class="nn">logging</span>
<span class="n">my_logger</span> <span class="o">=</span> <span class="n">logging</span><span class="p">.</span><span class="n">getLogger</span><span class="p">(</span><span class="s">'MyLogger'</span><span class="p">)</span>
<span class="n">my_logger</span><span class="p">.</span><span class="n">setLevel</span><span class="p">(</span><span class="n">logging</span><span class="p">.</span><span class="n">DEBUG</span><span class="p">)</span>
<span class="n">scribe</span> <span class="o">=</span> <span class="n">ScribeLogHandler</span><span class="p">(</span><span class="s">'localhost'</span><span class="p">,</span> <span class="mi">1464</span><span class="p">,</span> <span class="n">category</span><span class="o">=</span><span class="s">'test_category'</span><span class="p">)</span>
<span class="n">scribe</span><span class="p">.</span><span class="n">setLevel</span><span class="p">(</span><span class="n">logging</span><span class="p">.</span><span class="n">DEBUG</span><span class="p">)</span>
<span class="n">my_logger</span><span class="p">.</span><span class="n">addHandler</span><span class="p">(</span><span class="n">scribe</span><span class="p">)</span>
<span class="n">my_logger</span><span class="p">.</span><span class="n">info</span><span class="p">(</span><span class="s">'This is a test message'</span><span class="p">)</span></code></pre></figure>
<p>Exceptions are suppressed by default. Use <strong>silent=False</strong> to raise
them:</p>
<figure class="highlight"><pre><code class="language-python" data-lang="python"><span class="n">scribe</span> <span class="o">=</span> <span class="n">ScribeLogHandler</span><span class="p">(</span><span class="s">'localhost'</span><span class="p">,</span> <span class="mi">1464</span><span class="p">,</span> <span class="n">category</span><span class="o">=</span><span class="s">'test_category'</span><span class="p">,</span> <span class="n">silent</span><span class="o">=</span><span class="bp">False</span><span class="p">)</span></code></pre></figure>
<hr />
<h2 id="writer-usage">Writer usage</h2>
<figure class="highlight"><pre><code class="language-python" data-lang="python"><span class="kn">from</span> <span class="nn">scribe_logger.writer</span> <span class="kn">import</span> <span class="n">ScribeWriter</span>
<span class="n">writer</span> <span class="o">=</span> <span class="n">ScribeWriter</span><span class="p">(</span><span class="s">'localhost'</span><span class="p">,</span> <span class="mi">1464</span><span class="p">,</span> <span class="s">'test_category'</span><span class="p">)</span>
<span class="k">try</span><span class="p">:</span>
<span class="n">writer</span><span class="p">.</span><span class="n">write</span><span class="p">(</span><span class="s">'test_message_1'</span><span class="p">)</span>
<span class="n">writer</span><span class="p">.</span><span class="n">write</span><span class="p">([</span><span class="s">'test_message_1'</span><span class="p">,</span> <span class="s">'test_message_2'</span><span class="p">,</span> <span class="s">'test_message_3'</span><span class="p">])</span>
<span class="k">except</span> <span class="n">ScribeLoggerError</span><span class="p">:</span>
<span class="k">raise</span></code></pre></figure>
<p>Exceptions are raised by default. Use <strong>silent=True</strong> to suppress
them:</p>
<figure class="highlight"><pre><code class="language-python" data-lang="python"><span class="n">writer</span> <span class="o">=</span> <span class="n">ScribeWriter</span><span class="p">(</span><span class="s">'localhost'</span><span class="p">,</span> <span class="mi">1464</span><span class="p">,</span> <span class="s">'test_category'</span><span class="p">,</span> <span class="n">silent</span><span class="o">=</span><span class="bp">True</span><span class="p">)</span>
<span class="n">writer</span><span class="p">.</span><span class="n">write</span><span class="p">(</span><span class="s">'test_message_1'</span><span class="p">)</span>
<span class="n">writer</span><span class="p">.</span><span class="n">write</span><span class="p">([</span><span class="s">'test_message_1'</span><span class="p">,</span> <span class="s">'test_message_2'</span><span class="p">,</span> <span class="s">'test_message_3'</span><span class="p">])</span></code></pre></figure>
<hr />
<h2 id="contributors">Contributors</h2>
<ul>
<li><a class="github-button" href="https://github.com/adilansari" data-style="mega" data-count-href="/adilansari/followers" data-count-api="/users/adilansari#followers" data-count-aria-label="# followers on GitHub" aria-label="Follow @adilansari on GitHub">Follow @adilansari</a></li>
<li><a href="https://github.com/mwhooker">@mwhooker</a></li>
<li><a href="https://github.com/lenn0x">@lenn0x</a>
<!-- Place this tag right after the last button or just before your close body tag. -->
<script async="" defer="" id="github-bjs" src="https://buttons.github.io/buttons.js"></script></li>
</ul>Adil Ansarime@adilansari.comLightweight scribe logging client for pythonMotoGP Indianapolis 20152015-08-10T05:09:27+00:002015-08-10T05:09:27+00:00https://ansari.io/travel/motogp-indianapolis-2015<blockquote>
<p>Got my passes for the 2015 Indianapolis GP, and special access to Paddocks.</p>
</blockquote>
<figure align="center">
<a href="https://farm1.staticflickr.com/686/20215577034_31a27e7e17_b.jpg" title="Paddock pass"><img src="https://farm1.staticflickr.com/686/20215577034_31a27e7e17_m.jpg" /></a>
</figure>
<h4 id="schedule">Schedule:</h4>
<ol>
<li><em>August 7 2015, Friday - Free Practice</em></li>
<li><em>August 8 2015, Saturday - Qualifying</em></li>
<li><em>August 9 2015, Sunday - Raceday</em></li>
</ol>
<h2 id="travel">Travel</h2>
<ul>
<li>Took off on Friday night to Chicago from SF, overnight flight landed at 4.30 in morning.</li>
<li>Picked a rental car to Indianapolis Motor Speedway, still 200 miles to destination.</li>
<li>Took a nap in a rest area after a sleepless night.</li>
<li>Indianapolis was such a deserted town compared to SF.</li>
</ul>
<h2 id="qualifying-saturday">Qualifying, Saturday</h2>
<ul>
<li>Went directly to paddocks and roamed around a bit.</li>
<li>Backyard to pits and team garages, this was exciting.</li>
<li>You cannot actually see teams working inside garages but they occassionally come out for parts.</li>
<li>Within first 5 minutes, <a href="https://twitter.com/AndreaDovizioso">Andrea Doviozoso</a> raced past me on his scooter.</li>
</ul>
<figure class="third">
<a href="https://farm6.staticflickr.com/5666/20838335685_7bda44a5d8_b.jpg" title="Deserted pits"><img src="https://farm6.staticflickr.com/5666/20838335685_7bda44a5d8_m.jpg" /></a>
<a href="https://farm6.staticflickr.com/5832/20828755902_2c29442d9e_b.jpg" title="Repsol Honda backyard"><img src="https://farm6.staticflickr.com/5832/20828755902_2c29442d9e_m.jpg" /></a>
<a href="https://farm6.staticflickr.com/5783/20217320363_8e318d99ae_b.jpg" title="Who uses Dunlop?"><img src="https://farm6.staticflickr.com/5783/20217320363_8e318d99ae_b.jpg" /></a>
<a href="https://farm6.staticflickr.com/5801/20650139530_c9ee05e5a2_b.jpg" title="Battlax"><img src="https://farm6.staticflickr.com/5801/20650139530_c9ee05e5a2_b.jpg" /></a>
<a href="https://farm6.staticflickr.com/5629/20650244840_2d88e487c5_b.jpg" title="Hanging in there"><img src="https://farm6.staticflickr.com/5629/20650244840_2d88e487c5_m.jpg" /></a>
<a href="https://farm1.staticflickr.com/667/20650333368_360f5ae31c_b.jpg" title="Aprilia roller"><img src="https://farm1.staticflickr.com/667/20650333368_360f5ae31c_m.jpg" /></a>
</figure>
<ul>
<li>Went to Moto America and Moto2 team garages, huge trucks around there.</li>
<li>Graves motorsport had the healthiest lineup.</li>
<li>Stunt shows on other part of the raceway.</li>
</ul>
<figure class="third">
<a href="https://farm6.staticflickr.com/5704/20215695614_89823c5416_b.jpg" title="Graves motorsport"><img src="https://farm6.staticflickr.com/5704/20215695614_89823c5416_m.jpg" /></a>
<a href="https://farm1.staticflickr.com/621/20812030266_d8bb4569d1_b.jpg" title="Graves motorsport"><img src="https://farm1.staticflickr.com/621/20812030266_d8bb4569d1_m.jpg" /></a>
<a href="https://farm1.staticflickr.com/703/20651500609_2b8496c383_b.jpg" title="R1 and R6"><img src="https://farm1.staticflickr.com/703/20651500609_2b8496c383_m.jpg" /></a>
<a href="https://farm6.staticflickr.com/5636/20838229785_4417c2675d_b.jpg" title="Lorenzo's Movistar replica"><img src="https://farm6.staticflickr.com/5636/20838229785_4417c2675d_m.jpg" /></a>
<a href="https://farm6.staticflickr.com/5658/20845305021_3189850563_b.jpg" title="WIM racing"><img src="https://farm6.staticflickr.com/5658/20845305021_3189850563_m.jpg" /></a>
<a href="https://farm1.staticflickr.com/575/20828720572_278480fe96_b.jpg" title="Stunts pad"><img src="https://farm1.staticflickr.com/575/20828720572_278480fe96_m.jpg" /></a>
</figure>
<ul>
<li>Explored some gear shops and bought VR|46 merchandise.</li>
<li>Explored more of the exhibition from manufacturers around the world.</li>
<li>Stayed in the garages during MotoGP qualifying, not much was happening here then.</li>
</ul>
<figure class="third">
<a href="https://farm6.staticflickr.com/5739/20828696102_1388af18ca_b.jpg" title="Italians had it right"><img src="https://farm6.staticflickr.com/5739/20828696102_1388af18ca_m.jpg" /></a>
<a href="https://farm6.staticflickr.com/5779/20650227480_c1e10c1934_b.jpg" title="Exhibitor's"><img src="https://farm6.staticflickr.com/5779/20650227480_c1e10c1934_b.jpg" /></a>
<a href="https://farm6.staticflickr.com/5651/20217278773_9146fc7727_b.jpg" title="That Akra on it"><img src="https://farm6.staticflickr.com/5651/20217278773_9146fc7727_m.jpg" /></a>
<a href="https://farm6.staticflickr.com/5659/20217275513_497065b438_b.jpg" title="Horny"><img src="https://farm6.staticflickr.com/5659/20217275513_497065b438_m.jpg" /></a>
<a href="https://farm6.staticflickr.com/5806/20215634364_a40feeea90_b.jpg" title="AGVs"><img src="https://farm6.staticflickr.com/5806/20215634364_a40feeea90_m.jpg" /></a>
<a href="https://farm1.staticflickr.com/769/20811940686_612b4e96c2_b.jpg" title="That ass"><img src="https://farm1.staticflickr.com/769/20811940686_612b4e96c2_m.jpg" /></a>
</figure>
<ul>
<li>Waited for <a href="https://twitter.com/ValeYellow46">Valentino</a> outside the garage for like an hour and he arrived.</li>
<li>I just stayed to get a picture, and saw he was giving autographs for fans, I put my hat forward and this happened.</li>
<li>Jumped around for a bit and left for my hotel.</li>
</ul>
<!-- video please do it -->
<figure class="third">
<a href="https://farm1.staticflickr.com/644/20650081020_51296308ff_b.jpg" title="GodFather"><img src="https://farm1.staticflickr.com/644/20650081020_51296308ff_m.jpg" /></a>
<a href="https://farm1.staticflickr.com/774/20650143278_89e4a745b6_b.jpg" title="Press"><img src="https://farm1.staticflickr.com/774/20650143278_89e4a745b6_m.jpg" /></a>
<a href="https://farm1.staticflickr.com/757/20845263911_579be77189_b.jpg" title="Press"><img src="https://farm1.staticflickr.com/757/20845263911_579be77189_m.jpg" /></a>
<a href="https://farm6.staticflickr.com/5715/20838214295_2bd7cfb549_b.jpg" title="His Rack"><img src="https://farm6.staticflickr.com/5715/20838214295_2bd7cfb549_m.jpg" /></a>
<a href="https://farm6.staticflickr.com/5790/20215564794_cf40a4896c_b.jpg" title="This is it"><img src="https://farm6.staticflickr.com/5790/20215564794_cf40a4896c_m.jpg" /></a>
</figure>
<h2 id="raceday">Raceday</h2>
<ul>
<li>Had a sound sleep. Woke up already late for some action.</li>
<li>Headed directly to the pits. Raining.</li>
<li>Found an umbrella</li>
<li>Had a chance to meet <a href="https://twitter.com/AleixEspargaro">Aleix Espargaro</a>, no one knew him so I just reached out.</li>
<li>Off to stands for race, and penthouse seats didn’t disappoint me.</li>
</ul>
<figure align="center">
<a href="https://farm1.staticflickr.com/745/20650175118_4a2b6063ca_b.jpg" title="Pano from penthouse box"><img src="https://farm1.staticflickr.com/745/20650175118_4a2b6063ca_n.jpg" /></a>
</figure>
<ul>
<li>Rossi managed a hard fought 3rd, but disappointed for <a href="https://twitter.com/lorenzo99">Lorenzo</a>.</li>
<li>Raced to the pits again post celebration.</li>
<li><a href="https://twitter.com/BradleySmith38">Bradley Smith</a> and <a href="https://twitter.com/AleixEspargaro">Aleix Espargaro</a> were the first ones to exit pits.</li>
<li>Not many people knew other racers except VR|46. Another reason why his garage was swamped with fans and other riders left unnoticed.</li>
<li>Photobombing <a href="https://twitter.com/Petrux9">Danilo Petrucci</a> and <a href="https://twitter.com/Yonny68">Yonny Hernandez</a>.</li>
<li>There goes <a href="https://twitter.com/26_DaniPedrosa">Dani Pedrosa</a>, such a short guy.</li>
<li>In fact, all these riders were short and lightweight, totally made sense as it helps easy maneuverability and shift of bike weight.</li>
<li><a href="https://twitter.com/andreaiannone29">Andrea Iannone</a>, the Ducati rider was having a banter with reporters when I approached him.</li>
<li>There comes the today’s champion <a href="https://twitter.com/marcmarquez93">Marc Marquez</a>, undefeated at Indianapolis five times in a row.</li>
</ul>
<figure class="third">
<a href="https://farm1.staticflickr.com/708/20651431279_de2ea13520_b.jpg" title="Bradley Smith"><img src="https://farm1.staticflickr.com/708/20651431279_de2ea13520_m.jpg" /></a>
<a href="https://farm1.staticflickr.com/605/20650169088_7e01316fa6_b.jpg" title="Aleix Espargaro"><img src="https://farm1.staticflickr.com/605/20650169088_7e01316fa6_m.jpg" /></a>
<a href="https://farm6.staticflickr.com/5813/20828616922_ec372f2ddc_b.jpg" title="Danilo Petrucci"><img src="https://farm6.staticflickr.com/5813/20828616922_ec372f2ddc_m.jpg" /></a>
<a href="https://farm6.staticflickr.com/5771/20650107680_5e5e821f2f_b.jpg" title="Yonny Hernandez"><img src="https://farm6.staticflickr.com/5771/20650107680_5e5e821f2f_m.jpg" /></a>
<a href="https://farm6.staticflickr.com/5669/20651422819_637058dd13_b.jpg" title="Jorge Lorenzo"><img src="https://farm6.staticflickr.com/5669/20651422819_637058dd13_m.jpg" /></a>
<a href="https://farm6.staticflickr.com/5678/20217171623_99513b4676_b.jpg" title="Dani Pedrosa"><img src="https://farm6.staticflickr.com/5678/20217171623_99513b4676_m.jpg" /></a>
<a href="https://farm1.staticflickr.com/678/20651420739_4935c04628_b.jpg" title="Andrea Iannone"><img src="https://farm1.staticflickr.com/678/20651420739_4935c04628_m.jpg" /></a>
<a href="https://farm1.staticflickr.com/586/20838156455_4431de0bb1_b.jpg" title="Marc Marquez"><img src="https://farm1.staticflickr.com/586/20838156455_4431de0bb1_m.jpg" /></a>
<a href="https://farm1.staticflickr.com/669/20845274481_7625c7a4a7_b.jpg" title="Marquez's winning Honda"><img src="https://farm1.staticflickr.com/669/20845274481_7625c7a4a7_m.jpg" /></a>
</figure>
<ul>
<li>A dozen fans surrounded him but not bad, worth waiting 2 hours.</li>
<li>Most of the teams packed up their stuff, this was the winning bike from today going home.</li>
<li>Saw Dani Pedrosa leaving in his rental cruze.</li>
<li>Drove back to Chicago but the freeway was closed so had to detour for 70 miles through farmlands.</li>
</ul>Adil Ansarime@adilansari.comA VIP experience in MotoGP paddocks.