I suddenly realized that there are certain values at work which are critical to me:
I want to work for a company whose product is competitive because it is technologically superior; not for a one which wins primarily by marketing, in the courts, or with patents.
Transparency in decisions.
I’m more productive when I understand why we are doing things this way, not the other. “Transparency” does not necessarily mean “democracy”; the reason “because I’m the CTO, I’m responsible for this, and I decide it this way” is perfect.
Keep work and non-work life apart.
For me, being able to fully switch between these two worlds helps succeeding in both of them. Intervening the two hinders both.
Pay back to the open source movement.
Any technology company uses a lot of open source software. Some prominent examples have turned from spreading FUD about open source to embracing the movement. “When you extend a component – contribute back”, going against this principle is IMO not compatible with being innovative.
Suppose you are wondering randomly on a chessboard, starting from a corner, making one step up, down, left or right every time. You are not allowed to step on cells which you have already visited earlier. What are the chances that at some point you’ll not be able to go anywhere, i.e. you get caught in a dead end made by your own previous steps?
I got no idea how to solve this “purely”. Out of curiosity, I calculated the probabilities programmatically for 8×8 board for any path length (up to 63, naturally). Blue line shows the probability of being stuck at given path length or earlier, yellow line – 10 x probability of being stuck exactly at this path length.
Graphs do not show anything unexpected, except – what happens at points 48 and 49? I have no idea.
The calculation was straightforward by “first thought” without any optimizations. For each path length, I did 10^6 runs; with this amount, dispersion in the results between runs was by far under 1%, and run time acceptable (I do not indicate the units of the right Y-axis 🙂 )
Surprisingly I was not able to profile the run with gprof; looks like MacOS default C compiler and/or libraries just do not do it.
Still interested in a general solution, if there exists one.
LTE coverage around Helsinki. Left to right: DNA, Elisa, Sonera. Maps taken from official sites of the operators in January 2013.
I enjoy wandering around the countryside – also without planned route. Would be nice to mark roads, which are less interesting than others? For example, all dead-ends, and in general cut edges of the road graph.
Good that we have OpenStreetMap with open data and tools. I have created software to pre-render a given region (not too large one) with all cut edges marked. This is how it looks like, marking with thick blue dashed line:
Painted dead ends on OpenStreetMap
Storing and providing OpenStreetMap tiles requires a lot of disk space and bandwidth, so for now I only rendered small regions as a proof-of-concept. Welcome to peep at the maps!
Lubuntu 12.04 seems to have a problem: new keyboard layout can’t be added by graphical menu. Seems to go back to dark times of knowing, which config file to edit… You can add the “layout switcher” (right click on the panel -> Add / remove panel items -> Panel applets -> Add -> Keyboard layout switcher), but I was not able to add any new layout to that “switcher”.
Thanks noobish-nix for a solution. The
magic wordconfig file is
After @lxpanel line, add the line with your setxkbmap options, for example:
@setxkbmap -option grp:switch,grp:shifts_toggle us,ru,fi
Restart lxde (logout/login) to take effect.
There are lots of examples showing how to set a nice colorful bash prompt. I wanted more than the output: the typed text should be hi-intensity, but the command output should be normal. I found only a hackish solution:
- Install a DEBUG trap in your ~/.bashrc:
trap 'echo -ne "\e[0m" > $(tty)' DEBUG
- And add yourself to the tty group:
sudo adduser <username> tty
It works, although I still have to think what can it break at some moment (long after I completely forget about that .bashrc line):
Meanwhile, grc is a regexp-based colorizer for output.
Nothing bad has happened to me because of this, and one may argue that targeted ads are better than non-targeted. But I do not like the idea of being tracked – and I shut off all web ads anyway with AdBlock. Additionally, I have NoScript always on (and allow sites selectively each time when “some site does not work”).
I have quite long “accept-language” header set in my browsers, as I can read web pages in several languages. panopticlick shows that I’m one such user out of about half million (it might be that I’m just the only one with this value of accept-language, who made a check there).
I’m not feeling paranoid because of this. But I’ll be happy to know, is there a way to pass my (complicated 🙂 ) language preferences without allowing for easy fingerprinting.
Short summary of this post: HP Photosmart C8180 all-in-one printer works perfectly with Linux right out of the box.
Nokia has released own online maps, “maps.ovi.com”. I have tried this, and found them to be so much inferior to the competitors that I even feel ashamed for its home country (which is now my home country as well). I think in this area Google Maps set the reference, so I’ve done a small comparison of the two. Continue reading
Has your web site ever been “infected”?
This happened to me today, first time in my life. Hello from go00ogle.net. Below are technical details on what exactly happened, why I did not suffer any damage, and what I recommend to do in order to reduce your own susceptibility. The article is written for a non-technical reader.
Article at Groklaw.
My random pick:
“If Europe leads the way in this [allowing algorithms to be patented], I expect many Americans would want to emigrate so that they could continue to innovate in peace.”
I want to buy a silent Linux desktop computer. No need to be any “high-end” otherwise.
This turned out to be a nontrivial task. After hours of browsing and listening to advices (thanks to my friends who already gave some!), I see the following options:
Wolfram Research, probably most known for their Mathematica calculation product, has launched an online service which makes various calculations and visualizations for free, and with just a web browser:
This project makes me really respect Wolfram. I spent quite some time browsing the examples, almost exclusively from the “mathematics” part, picking like a shy visitor at other areas. Some of my online friends write that “knowledge becomes less of a fashion in our times”. I do not agree a bit. Just look at this product.
10 and more years back, when I studied mathematics, I was an active user and promoter of the (La)TeX typesetting system. Since then, I almost did not use it, but kept the warmest memories of this creation “by mathematicians, for mathematicians”. Yesterday… I can’t say I changed my mind, but I’m not so sure any more about my attitude.
I had to remake a one-page document, for which I already had an old LaTeX template source. Edit the source, “make”, and a nice PDF is ready. Well, now the text which I inserted contained the @ sign. And of course (pdf)LaTeX did not compile.
I did not remember what should one do to typeset ‘@’ literally. I certainly remembered it 10 years back, but that’s not the kind of knowledge which stays alive when not used. It took me about 15 minutes to find the answer.
And now I’m not sure whether I shall promote TeX at all. From my viewpoint, this 15 minutes is unacceptably too much for such “problem” (actually, the very fact that this made a problem, is unacceptable in my current view). I expected the first link in Google search to give the solution, but the reality was very far from that. And – unfortunately for the others – I consider myself as a quite experienced (La)TeX user: I followed news:comp.text.tex, created own document classes, which were also used by other people, and so on. I knew well how it works. I knew where to look for documentation, and what kind of documentation I need. And still this thing, which should never be a stumble at all, took me 15 minutes. I can easily imagine that it takes full day from a person new to the TeX world.
Conclusion: sorry, none at the moment…
A motivated-looking female character illustrates the software update process. Picture from nokia.com
Nokia gives an option to update the phone’s software, at least, for the more expensive models. I do not know, and would like to know, how other mobile phone vendors score in this area. Below is my rant about Nokia way of doing it. The writing is in negative tone, because things are noticed only when they do not
work as expected. I’m interested if there is a vendor who does it better (some do not allow the user to update firmware at all – you must go to the service center for that!)
What a vandalism is this? Turning a keyboard into two pieces of junk?
No, it’s just the opposite – Bringing the Order, and Getting Rid of Junk!
I never use the “numeric keypad” on the right side. And it takes valuable space from my right hand. So what’s the problem if I got the hacksaw? Read on how I did it (with pictures and instructions for followers).
It may be fun to post to the blog from a mobile phone. Doing so via the default web interface is certainly not the most convenient way (lot of extra traffic). WordPress has blog by email solution, which is OK from traffic viewpoint, but I was scared by instructions – involving setup of a “secret email account” and a cron job. Also, it does not support insertion of images.
Scribe is a free Python WordPress publishing client for Symbian S60 phones. Worked fine so far on Nokia E90 – this post is written in Scribe. Insertion of images is still not supported though; seems that the only client capable of it is a commercial Wavelog.
Use case: I want to draw a bike route on a map, for own joy or for sharing with my cycling friends. Google maps are cool, and free. As they are, they are not perfect for this task… but you can make them perfect with a tweak. Continue reading
The camera of Nokia E90 communicator is “3.2 megapixel”. Here is a cut of an image, made with this camera at best light conditions possible (even sunshine, not too bright). Close your eyes, photographers: you may get sick.
Such quality is not just ashaming; I’m now happy that I’m not working at Nokia any more 🙂
Manufacturers increase the number of megapixels, which sales well, but that does not make image any better. Sure, the file size grows, carrying these junk pixels. I always resize these “phone pictures” down at least 2 times (= 4 times file size decrease), often more, before I dare to show them. And the phone does not offer neither option to use lower resolution1, nor any software to resize the captured image. As I feel plain stupid uploading 1MB picture worth of at most 200KB to any web site, I have always to scale it on some other computer. This is called “Mobile life”, “My world with me”, “Always connected” or something like that.
I know that I should pay extra for better camera quality and I’m not objecting to this; what I do not like is the unnecessary pixels which I can’t disable. Next time I may be purposedly looking for a camera with fewer pixels!
Update: 1 I was wrong on this. Camera offers 5 resolutions, smallest 640×480 with file size about 40kB. Finding this menu was not intuitive for me, but one can blame my lack of intuition here.
I rebooted my home computer after a long uptime and suddenly the screen is terribly flickering. Reason? “I did not do anything” 🙂 I installed software updates, added and removed users, but never mangled with the screen, as it was already tuned once and forever.
My Xorg.conf file has only one mode line, the one which works fine at 85Hz. Gnome graphical menu item for “screen resolution” gives only one resolution option… at 60Hz. What the heck?
The GDM screen was at fine refresh rate, but after I log in, it drops to that unbearable 60Hz. This at least gave me a hint that this may have something to do with Gnome. Search in .gconf directory of my home reveals two files:
.gconf/desktop/gnome/screen/[my host name]/0/%gconf.xml
which differ in one line:
<entry name=”rate” mtime=”1152558455″ type=”int” value=”85“>
Value 85 was different in the [my host name]-version, showing 60!
As a first attempt, I just change that value from 60 to 85; I did not actually hope that it will work… but it does. Now my refresh rate is as it was.
My questions to the audience:
- Where did this poor refresh rate come from? Was it some upgraded package, which decided to change my monitor settings? (I have Ubuntu 7.10 and Gnome 2.20.1)
- How is a user supposed to solve such problem?