Sweating and coding and bye bye Montoya
just ran 4.4 km. the time is 28.25.81. that's 154.77 meter/min. my record speed. the further away, the faster :)maybe this is because i ran almost 2 hours after dinner. i felt better during the run and can maintain the good speed.
last friday was 4 km in 26.30.33, which is 150.94 meter/min. dropping compared to previous.
wondering how i calculate the speed? i code it last week, using java with eclipse as the IDE. i want to pick up java, and i have to solve real problem to make the learning more interesting. then i came up with this runner calculator thing.
first i wrote the classes. in the end, there are 6 classes that i use. 2 of the classes are available in .NET, but not in java (or i don't know the existence of it). the 2 classes are TimeSpan and a text box that selects its text when you tab to it.
so i wrote my own TimeSpan class and extends the JTextField class to select its text when focussed on. after that, i feel that .NET do have its advantages. at least the TextBox is better, with validation built in and all.
on to montoya. i heard the news from my friend yesterday. what a shock. and the news about his immediate exit today adds to the shock. i don't believe that the immediate exit is for his own good. if i were him, i'd like to have my last GP to just enjoy it and pay tribute to the fans. mclaren, at least give him one farewell grand prix please.
i know i'll miss this guy, one of the best overtaker in current F1. bye montoya, i hope he rules the NASCAR and i hope i can see NASCAR once in a while.




0 Comments:
Post a Comment
Links to this post:
Create a Link
<< Home