Below you will find pages that utilize the taxonomy term “Thoughts”
Picking up Backgammon6 minutes read | 1257 words
The links to Amazon and The Book Depository are affiliate links. If you purchase like 50 copies I may afford a coffee :D From Flickr It all started after reading If you can’t choose, pick at random at Aeon.co. It delves into how choosing at random can be best in some cases. Give it a read, it is interesting. Among the HackerNews comments about this submission there were some mentions about choosing at random in real life, and to the novel The Dice Man (Amazon | Book Depository).
Language Detection in Python with NLTK Stopwords4 minutes read | 773 words
Lately I’ve been coding a little more Python than usual, some twitter API stuff, some data crunching code. The other day I was thinking how I could detect the language a twitter user was writing in. Of course, I’m sure there is a library out there that does it… But the NLTK library (the Natural Language Toolkit for Python) does not have any function for this, or at least I was not able to find it after 5 minutes of Google search.
It's Not Only the Politicians: This country is completely fucked up6 minutes read | 1231 words
Beware, in what follows I rant. All figures come from Wikipedia or similar and are expressed with many zeroes and also in written form to make clear what a billion may be. If you are a regular reader of mostlymaths.net, you’ll be aware that I don’t write a lot about current subjects. In fact, I actively try not to write about what’s going on at the moment, one notable exception may be a post I wrote about Mesut Özil’s stellar debut in the 2010 World Cup.
Working on the go with an iPad, a Bluetooth keyboard and a 6sync account7 minutes read | 1485 words
All hail Steve Jobs Inspired by a post by Mark O’Connor from Yield Thought (my frequent readers will have already read something from him from my link collections), I have been working remotely for a week. His set-up is an iPad 2, Apple wireless keyboard, the iSSH app and an account in Linode. My setup is similar, but I use an iPad 1 and 6sync for the VPS.
Again and Again: Playing Go4 minutes read | 729 words
I’ve been playing the game of Go (also known as weiqi or baduk) on and off for almost 10 years. In case you don’t know, Go is a board game with very old roots, that can be traced back to at least 2500 years ago, probably a lot more. Very popular in Japan (known as Go or Igo), Korea (baduk) and China (weiqi), it has been slowly spreading among the west during the last century.
The Mental Drawer: Never miss an idea again3 minutes read | 508 words
This was posted to my mail newsletter a few months ago. Subscribe now if you want to receive this kind of content to your inbox. I won’t spam you, promise. When do you have your best ideas? If you are anything like me, I have my best ideas when I can’t act upon them. While I’m falling asleep or while I’m taking a shower. And a lot of them get lost forever, I always think I’ll remember it next morning, something that never happens.
Doing (Really) Nothing5 minutes read | 903 words
Yesterday I did nothing. Absolutely, really nothing. And it felt great. Before yesterday, my usual weekend was filled of what I thought was doing nothing, but far from it. I wrote posts, programmed, read a lot online and caught up with what was going in the A-List Blogger Club forum. Did some laundry, folded the clothes. All this (well, except for the laundry part) under the assumption that doing what you love does not tire you.
February, March and April Challenge: Language Learning Applied to Gaelic3 minutes read | 470 words
From my cheap dictionary As a byproduct of The Language Switch, I was invited to send a guest post to Bitesize Irish Gaelic, a wonderful site where you can learn Irish gaelic online. Last year I decided to learn Icelandic because we were going to Iceland, this year I was learning Gaelic… Thus we decided that Ireland might be a good place to visit this summer on holidays, encouraging me to learn better this new language.
Counter-examples, Converging Sequences and Giving Immediate Answers3 minutes read | 537 words
Next week is the final exam of the course I’m giving, Numerical Analysis. Classes finished before Christmas, and this week is for students questions. I had one of these sessions this morning, when a pair of students came with a few questions related to the problems I solved on the blackboard. All were quick to solve, until one simple question arose, concerning a trivial problem in Calculus 1 (or Analysis 1, as we name it here).
Don't Wait for New Year to Act on Your Resolutions2 minutes read | 374 words
During this week you will hear and read a lot about New Year’s resolutions. Questions like what do you want to change in your life for the next year and what good habits do you want to build next year are assumed to be always in your mind now. And they should, but not just now. New Year is only a psychological landmark, and a very bad one. Something like 70% of those good intentions you had while the previous year was ending fade into oblivion before February 1st.
Get into the Flow: Music Meditation3 minutes read | 637 words
From morguefile It’s Friday afternoon after a long day and a long week. You board your train and are lucky to find a seat, soon it is crowded with people standing and chatting. You feel tired after the day, and think just about taking a late afternoon nap upon coming home. But you plug your earphones, turn up the volume just until you can’t hear the train sounds and you are in another place.
What it Takes to Be a Winner? Embracing Failure5 minutes read | 853 words
From Yassin Hassan@Flickr Don’t forget to subscribe to my oddly newsletter! Ever tried. Ever failed. No matter. Try Again. Fail again. Fail better. Samuel Beckett One may say that to be a winner you have to be disciplined, commited, hard-worker, have a thirst for the win. But what a winner has almost always behind are countless failures, terrible defeats and fatal blunders. The topic for this post has been jumping on and off from my mind for a few weeks, and what prompted me to finally write it was a very recent post by Gabriel Weinberg, web entrepeneur and CEO of the alternative search engine DuckDuckGo.
Cutting on Distractions3 minutes read | 632 words
Hey! Look! A squirrel! GillesGonthier@Flickr A few weeks ago I realised I was procrastinating too much. I tend to work in cycles, and it looked like my productive cycle was over and my procrastinator half had just kicked in the worse possible moment: lectures had just begun. It looked like there was no solution. My timeboxing strategies went nowhere, will-do lists (litemind.com) had no real meaning, carrot-and-stick solutions didn’t work.
Procrastinating? Find the Next Step Up3 minutes read | 476 words
Stairs to Macchu Pichu, courtesy of Shanidar I just realised why I procrastinate in some tasks. And it may also be why you do, read on! It is not because they are boring, hard or repetitive. They may be. Hard tasks are a measure of your strength, boring and repetitive tasks, of your stamina. No, the problem is another. Some projects are just tombstones. There are certain huge projects, with hardness and boredom along the way that when they are done, they are dead.
Frame Switching and What Not6 minutes read | 1245 words
Two weeks ago it was the beginning of this years lectures. Currently I’m solving problems in the blackboard, 2 hours per week and take care of one computer lab (programming in C, but they have already done a C programming course and another course of numerical computations with C), all for our Numerical Analysis course (7th semester). This is the same schedule I had 3 years ago, also last year I had one computer lab each semester.
Winning Against Your Reading List5 minutes read | 917 words
A nice warm Sunday afternoon, I wanted something cold to drink and a good book to read in my garden. I glanced at my pile of books beside the door, the books I grab to read in the train to my office, a pile of 8 books. Then I remembered I had a few books in the library I wanted to read, another pile, 10 books. As I went down and put them all over the table, I realised I had a few books more in the computer room, 3 books.
Which programming language should I learn next?5 minutes read | 1009 words
I have a problem: I know quite a lot different programming languages (you can read my list of the best 9 books I have read about programming), but I am proficient only in two. I’d love to choose a few to concentrate and build my skills up, but I don’t know which. Read on for background and possible candidates. Since I discovered there were different programming languages, I’ve liked learning different ones.
Linux is a time killer4 minutes read | 823 words
Preface: I have been using Linux since around 1998, when I installed Debian from scratch in my old Pentium II. I am more end-user than power user, but the computer I use most often (my netbook) has Linux in it by default. Also, my office computer is a Linux computer. And I am writing this in my MacBook. Which is not Linux, but at least it is Unix. What comes now is a personal rant, after a fight with my netbook.
Vladimir Arnol'd one of the greatest mathematicians of 20th century4 minutes read | 690 words
Most of you may not know who Vladimir Arnold (Владимир Арнольд, also written as Vladimir Arnol’d) was, but for me his death on 3rd June 2010,was some kind of landmark. I own two books by him (Mathematical aspects of classical and celestial mechanics  and Mathematical methods of classical mechanics ), and are quite high in my list of most checked books, at least when I was starting my journey into the realm of dynamical systems.
On a productivity down3 minutes read | 615 words
A week without writing here. A week with little thesis related work done. But it has also been a week with ideas and things and such. You know, two weeks ago I was in Dresden for a conference. Lots of parallel sessions, and quite a few time to think. This post is mostly a digest from my life bookmarks for these two weeks. Several complex dynamic ideas: Unrelated to my thesis, but I’ve been thinking about them these days.
Life bookmarking and why it could change how you learn3 minutes read | 611 words
Life logging, journaling… what now? The idea behind this post grew from an insight I had, two months ago. I realised that I was bookmarking a lot of web pages because I liked what they explained and wanted to remember what I read. More precisely, I wanted to remember that I had read that. At that time, this seemed the more natural way to approach this problem. A month later, more or less, I landed in this New York times article: The Data-Driven Life.
8 reader reasons for re-inventing the wheel as a programmer3 minutes read | 520 words
As I promised in my previous post reasons for re-inventing the wheel as a programmer, here I collect 8 reader reasons for re-inventing the wheel from comments on the reddit thread and on page comments. They are in no particular order AFAIK. You need a faster wheel: Embedded software is the prime example of such. Average 10 cycles, worst case 15 cycles is not good when your system can explode if you do not attain 14 cycles at most.
What the 'Broken Windows Theory' has to say about productivity4 minutes read | 722 words
The ‘broken windows theory’ is a widely known theory, based on folks knowledge (which have been also tested in real life). Consider a building with a broken window. If this window does not get repaired, other windows can break (over time, or by vandalism). In the long run, someone may break into the building, becoming a squatter. Or a more usual situation. If some litter gets accumulated in a sidewalk or a lot, soon more litter will accumulate, until people start leaving whole bags of trash.
8 reasons for re-inventing the wheel as a programmer3 minutes read | 508 words
Has someone ever told you “Don’t re-invent the wheel”? Again and again I read somewhere around the net that ’re-inventing the wheel' is one of the worse errors a programmer can fall into. In fact, I’ve read it so often that the only thought of doing it makes me re-think over and over other ways of solving (or ignoring) the problem. But here, I advocate my pro’s (the cons can be found elsewhere) for re-inventing the wheel, or at least not being frightened of it.
Backlog filling2 minutes read | 279 words
My backlog of things happening is quickly filling, faster than I can even keep track of it. Just a quick overview Summer trip to Iceland This summer we are going to Iceland for 17 days. It is some kind of tour-trip, where we have arranged accomodation and car rental and we just have to keep en route around the island to sleep where arranged each day. As an addition to this…
Sooner or later...1 minutes read | 177 words
It had to happen sooner or later. This blog has been open, with a somewhat regular publication in English since March 2008, more or less a year ago. Before that, it was more sporadic, and used to be in Catalan, just to output some ideas or share a picture with a friend. And the day had to come. To celebrate this approximate anniversary, I’m moving to my own domain and preparing a new look that will appear in about two weeks.
Love thy tools to maximise your productivity7 minutes read | 1392 words
It is a widely accepted theory that the use of tools determined the development of the human brain. Nowadays, using tools is thus a quite common endeavor everybody does. But ask a carpenter if he would use a jagged saw, or a draftsman a broken pencil. It is not only using the tools, but using the best tools. But what is for the best tools? Using the best possible tools is not enough: you need to love your tools.
Time management systems5 minutes read | 917 words
The pleasure and pain of time management In this post I’ll review some time management systems to get the most out of your workday. Of course, keep in mind that you also should have rest time. Start strong Start your day doing some work for at least half an hour straight. You can do this at home, before leaving yo your office (if you usually spend at least 1h between getting up and leaving) or just on arriving to your office.
CJuicer beats humans (and Unix's diff)2 minutes read | 380 words
Maybe you remember my previous post about detection of copied assignments? Well, now I can say it succeeded. CJuicer is a flex script, generating a lexycal analyzer with a rudimentary parser of C code, it outputs a PostScript with the “logical tree” of loops, function calls and conditionals. Same trees, copied assignment (unless it is simple code, then almost everyone writes the same), without problems with changing names of variables. Thus it could beat diff.
Image processing history: Lena1 minutes read | 175 words
Lena Söderberg I am working in my free time in an image processing related program, and this made me remember when I was taking a course in Signal Processing. One of the standard test images was the one above. Where does this historical image processing snippet come from? Turns out (wikipedia link) it is a standard folklore image, dating back to the seventies, when a bunch of electrical engineers needed an image satisfying certain signal problems (it is, indeed, an image with a lot of significative details, when compressing, denoising or whatever: the hat, the uniform colour distribution except for a few patches of different color…).
Copied programming assignments as cryptograms2 minutes read | 290 words
Pieces of an ENIGMA machine, from Flickr Assume you have a set of alumni, which are due an individual programming assignment. All have the same assignment (as it is hard to come up with several), and it is hard enough that copying from each other passes for everyone’s mind. As a teacher, how do you detect this? From my point of view, there are fundamentally two different kinds of copy:
Future in Mathematics1 minutes read | 152 words
With Sketchbook Mobile The concepts of “future”, “job stability” or even “location” are quite fuzzy when in Mathematics. I think I don’t know any PhD student who knows what he will be doing in 3 years, what he will be working on (not what he will be researching, but working…) or even where he will be. 1-2 years of Master+Master thesis 2-6 years of PhD thesis (3-4 years PhD grant+maybe some associated professor, 1-4 years)
Back from Denmark1 minutes read | 46 words
Last weekend I attended a conference in Denmark, and a colleague I met there showed me the logo of his University. It is supposed to be a coral… but he said in every party they turn it 270º, so it is the “angry elk”. Related postsParseList(ScrambleList(Relateds(Maths)),5)
Stranded at Denmark...1 minutes read | 55 words
Conference for 4 days in an old army place. Really nice, well kept and bought by the university. But away from everything, and everyone. And today my head hurts a lot… Maybe I should go to sleep now (2332). Tomorrow I have a really tight schedule… lot of work to do… And I’m feeling tired.
Calendars & emacs1 minutes read | 179 words
My month, starting For the last two years, I have been really happy, living without a definite calendar. I just knew I had a meeting with my boss “next Monday”, or had a workshop somewhere “in the last weeks of January”. But these days I’ve come to realize I just need a calendar now… And finally managed to mix org-mode's events with standard emacs calendar+diary views. This calendar is emacs calendar’s mode standard one (I love its looks) but harvests information from org-mode’s headlines and timestamps.
Back to work1 minutes read | 106 words
From flickr September is to months as Monday is to weekdays September is again here, like a new year in more than a sense. I have no new “New Year’s promises”, since the beginning of the year. In fact, most of the things I wanted to do are already done, on the way to be done or I gave up. Well, let’s summarize what I shall do these three months to end 2009
Grain of sand1 minutes read | 76 words
Taken from Flickr Sometimes I view mathematical knowledge as a desert. Full of sand, some pebbles, some rocks. You can get easily lost in this dry sea, but you can also find a place to stay and add. And now, I can say I have added my small grain of sand: An entire transcendental family with a persistent Siegel disc (link to the preprint version in ArXiV). My first article, now officially “Awaiting Editorial Assistant Processing”.
Teleworking in August2 minutes read | 331 words
Lavaurs algorithm on course Like almost every year, August comes with a lot of pending To Do lists… This year, it is choking full, mostly of work related issues, and some unknotted threads waiting to be finished. And in two and a half weeks I’ll head for Paris, and then my “vacation” is over. Yesterday I wasted my morning: bought my orange belt, set up the external monitor for my netbook, configured the printer, fotocopied two pages of a book and drank an horchata with a friend.
Levelling up1 minutes read | 104 words
Sometimes I feel like a character from a RPG (or NetHack), where you have a certain level and experience, and as you advance killing monsters, your experience points go up, your level eventually rises and your enemies turn harder. I guess life (or at least a mathematician’s life while doing his thesis) is more or less like this… Enemies appear, you overcome them, and as you advance, they get stronger, bigger and thicker.