Blog

Missing add or push => No work evening

At the moment I’m working on a few papers. One of them is a rewrite of
a recently rejected paper (that’s life right?) and the other a brand
new one.

For both of the above mentioned papers I am naturally using LaTex for
text processing and a version control system – git. I am big fan of
git – well any version control actually. The number of times I have
been saved by version control is uncountable by now. However, there are two things version control has never protected me from: forgetting to
add a file to my repository or forgetting to push to the
repository. In fact, the only reason I write this post right now is
because I around 16.00 today forgot adding a file to my repository at work —
making it impossible for me to work this evening.

Oh well, I will just sit down with a cup of coffee and relax.

Taekwondo Quiz

In the past we at Aalborg Soobak had a Taekwondo Quiz. The game is about translating words form korean to danish in rounds. In each round a word to translate was provided along with a list of possible translation. The player then had to select the correct translation. During the game, the player was awarded points – the game was over at the first wrong answer. To make it a bit more difficult, the answers had to be given within a given time frame.

The quiz, however, has not been available on our web-page for a long time. We have renewed our web-page and the quiz got lost in the modifications. The game has however been requested quite often by other clubs ( but strangely enough by our own membes ) and everytime we responded: “We are aware of it. It will come back eventually. ” – but we never implemented.

One day I received an e-mail asking if the quiz would re-emerge as they were missing it. As mentioned, we already intended to reimplement the quiz and it had just been pushed back in the pile of tasks for ages. Anyway, I had the day off and in classic programmer style thought: “I can do this in two hours – I will be done before lunch” (I started in the morning around ten). I was not finished before lunch – in fact I did not finish before 23.00 in the evening with a reimplementation using the old HTML-code.

I could have been done earlier, had I not spend time focusing creating a decent architecture for the PHP back-end. Something that paid as I two days later – with minimal effort – could change the front-end completely to use bootstrap and be a responsive web-page (comes for free with bootstrap).

I have some improvement planned for the taekwondo quiz, but they will have to wait. The quiz is available here ( only in danish though)

View Over Oslo

Travel Time

I have a paper deadline just around the corner. I usually try not to plan any events in the weekends before paper deadlines as I know I will want to edit the paper in the weekends as well –I’m most efficient in the weekends and in the evenings. This time I however had planned to attend an event. A birthday party in Oslo. I have a paper deadline just around the corner and that and usually I try not to plan any events in the weekends before paper deadlines as I know I will want to edit the paper in the weekend as well –I’m most efficient in the weekends and in the evenings. This time I however had planned to attend an event. A birthday party in Oslo.

Continue reading “Travel Time”

Just typical me

Since I moved to Kiel my taekwondo practice has been slightly non-frequent. I try to go each week, but due to long working hours and quite a lot of travels lately, I haven’t been to practice regularly since before summer. I think I have been to one practice two weeks ago and that is about it.

This friday I decided to go practice. The weather was nice so I skated to practice as. During a yeop-chagi kicking session my right knee started hurting a lot – and stupid as I am I naturally continued practice and also skated home. Stupid! My knee was so bad in the evening that I could barely walk 🙁

Luckily, the worst pain was gone the next day 🙂

Tree in Botanical Garden

A trip to the botanical garden

In the start of this month I decided to buy myself a camera. I have never really been that interested in taking pictures but occasionally I needed a camera and never had one. At some point that got annoying and I decided to do something about it. So I bought a camera. To get some practice with it, I took it for a spin in the Botanical Garden in Kiel. The pictures below are the result of that trip (among other pictures).

Smart commandline prompt

So in my work I’m developing a tool – Lodin. The program is a simple commandline tool taking an input and query file as parameters – with the small twist that if the query is not given, then the tool enters a prompt asking for the query. The naive way of reading the query in C++ is obviously to do

std::string s; 
std::getline(std::cin,s);

After which the line inputted by the user is contained in the string s. There is however a catch. The user cannot do any editing during inputting: If he makes a typo he has to delete the line to correct the typo (something that bothered me a lot everytime I had to show of the tool). The other day, I finally decided it was about time to fix this and make a proper query prompt.

Continue reading “Smart commandline prompt”

A small daily struggle

In the past week I have been visiting Rennes for collaborating on research. Workwise everything went fine, but in the airport I encountered one of my daily struggles: the colors used to indicate if a toilet i occupied or free. What colors make sense? well, obviously red for occupied and green for free! Right? No! As color blind, I can’t see the difference so I have to try the door and see. Okay okay, it’s only a slight inconvenience but it would still be nice I didn’t have to disturb the person occupying the toilet.

The “Real World”

Over the time it seems a phrase has manifested itself in the danish language: “Den Virkelige Verden” (“The Real World”). It is often used when talking about education; to signify the difference between academia and the non-academia – and especially in the discussion of whether the syllabus in the public education is relevant in the “real world” (non-academia) and thus whether public education pushes people towards academia.

Last time I stumbled upon the phrase was today in a sentence: “Grades are irrelevant in the real world”. I don’t object to the fact that life requires so much more than good grades, and good grades is not mandatory for doing your job well – but I am honestly getting tired of calling life outside academia for “the real world”. To me that devaluates a job in academia. Academia, is just as relevant as a job outside the university – but the value of our work is maybe only discovered years, decades or centuries later (especially true for mathematicians). Today, I’m writing this post on my computer, something that is only possible because researchers took their time to develop the silicon inside it. Because researchers played around with computers looong before they were relevant for the public and loooong before they were even close to being as portable as today.

Please, do debate the syllabus in public school. Please, do debate whether we have down-prioritised non-universiy degrees, but please: Stop calling it the “Real World” vs “Academia”….

Weltmeister

Yesterday I was skating my usual route down by the harbour, playing around and practicing various skills on my inlines. It was quite nice weather, yet there weren’t that many on the harbour. I found that quite odd, but the low density of people was perfect for my skate practice 😀

During my skate session I was practicing my backwards skating and in particular my backwards snake. I’m quite good at backwards snake (if I may say so myself) when leading with my right leg, but when leading with my left leg…not so much. In fact, I have come to the conclusion that I am generally good at doing things while leading with the right leg and less good when leading with the left. I find this peculiar as I, as a taekwondo instructor, have always told my students that we must practice both sides, yet I have neglected that myself while skating.

Anyway, During my session two older people stopped me up on their scooters and asked me “How did you get so good at skating” (In german of course). I responded that I had just been skating for many years. When they left they said “Weltmeister” – to which I had to laugh. I am definitely not world champion. But I was rather flattered 🙂