Aleksandar • Vacić

iOS bits and pieces

Backslashes gone

The WP bug that waxed me so much in the past months is finally gone. At least here. Wherever I had " (double-quote) inside of pre tag, it would be outputted as \" - always prefixed with backslash.

Tonight I dug in into WP core and found that the problematic part is line 76 in file wp-includes/functions-formating.php. When you remove that line, all is displaying nice.

$pee = preg_replace('!(</pre><pre .*?>)(.*?)</pre>!ise',

" stripslashes('$1') .  clean_pre('$2')  . '' ", $pee);

Since wpautop function is not really required in my case (I write entire HTML for my posts), I instead opted to comment out this filter - it’s line 64 in wp-includes/default-filters.php:

// add_filter('the_content', 'wpautop');


I had a good start. I knew Fernando couldn’t risk too much and I was willing to risk a bit more and it really paid off.

Damn right! It was about time for Montoya to win and what better place to do it than in the McLaren’s home. Kimi was again severely hampered today with engine-penalty, starting from 12th, reaching only 3rd. As I said for the previous race - once you get stuck behind Trulli, you can kiss your race goodbye. Consistency must be important for Jarno… It’s kind of surprising that Schumacher did not even try to overtake Trulli. At least once, but no. I can imagine Kimi’s frustration rising and rising when everyone in front of Trulli going away 1s/lap and he’s stuck behind him and M.S. with higher fuel load.

Shit happens.

Hopefully, in the next race he would start from the place he deserves. And he should really, really learn when to let go - he posted a fastest lap time in the last lap! That’s immature and he should know better by now.

French GP

Nothing pretty much exciting around this track, as usual. Starting line-up was not promising anything good. Alonso first then Trulli second. It’s becoming a tradition that Alonso starts very well (and he did that brilliantly) and it’s a tradition that wherever you see Trulli you’ll see 5-6 drivers lined up behind him and a big gap in front. I don’t know how he manages to do that, but he always does good in qualification and then slows down everyone behind him in the race.

Add to do fact that Ferrari was behind, Ferrari which is not in the league with Renault and it was pretty obvious that no one can catch Alonso.

No one but McLarens of which Montoya was ninth but did pretty good in the race (until the car’s hydraulics died) and Kimi which was supposed to be third if it wasn’t for the stupid 10-grid-positions penalty rule. This actually destroyed the race. Kimi did a wonderful job but Alonso was too far away to catch.

Also traditionally, the producer of the tele-broadcasting is maintaining his throne as the worst producer in the entire season. It’s amazing how that person has no clue about F1 racing. Kimi is on one-pitstop-less race strategy and in such case the most important bits of information when Alonso or Kimi get out of the pit-stop is:

  1. How much fuel they got in

  2. What is the time gap between them?

We could see the first info, but second is nowhere to be seen. It kept showing that Alonso had 2(3) stops, Kimi had 1(2) stops and I kept thinking - I already know that, you idiot. What’s the time difference? It wasn’t until the end of the race - when it wasn’t even relevant anymore - that we could finally see it was 17s gap. Dumb, just dumb.

Sentosa Island

I planned to visit few places in S'pore I was recommended, but it come down to choosing one, as I had Sunday only for excursions. Thus, after short research on the net I decided to go to Sentosa. The tipping point was the chance of shooting great photos from cable cars and Mount Faber, followed by the number of attractions on the Island.

Sentosa is Singapore’s island gateway, a former WW2 military base turned into fantastic excursion target. To say that is a must-see is an understatement.