Watching some drama

February 3rd, 2014

movie reelLast weekend, Bobby visited Aga and myself here in Luxembourg. Bobby is a big movie buff, so naturally, the plan surfaced to go to the movies. As it turns out, there are quite a few decent movies playing currently.

Okay, okay, “decent” is to be understood in different ways: from shortlisted for the Oscars (The Wolf of Wallstreet) to Ye Olde Poppe Corney entertainment (I, Frankenstein). After assessing the available options, we decided to go all-out: first a very recent Luxembourgish movie about the second world war, and then another movie.

Despite my hinting that after a war movie, we could use something lightweight, we did not go to “I, Frankenstein”. (Damn!). It became the Oscar contender “12 years a slave”. We went to the cinema, and surprised the cassiere by buying tickets for basically 2 movies back-to-back. Had she had a second to think about it, she might have joined me in suggesting another movie…

Anyway, second things first: 12 Years a Slave. In a nutshell: a free black man in the USA of 1820s is kidnapped in Washington and deported to the Southern states, where slavery still exists. He then pretty much lives up to the title of the movie.

I just googled it, and in google you’ll find excerpts such as “It’s far from comfortable viewing, but 12 Years a Slave’s unflinchingly brutal look at American slavery is also brilliant” (Rotten Tomatoes).
Well, after watching Heemwei, phrases like “brutally honest” seem exaggerated. I guess that’s my main problem with the movie: it’s not at all a bad movie, but all the “brutal honesty” felt very much hidden behind a layer of Hollywood polishing. All the violence is deliberatedly filmed and shown – if someone is killed in this movie, they get an on-screen dying moment.

Contrast this with the Luxembourgish movie. It was brutal in its filming. 2 Luxembourgians, press-ganged into the German army in WW2, decide to desert and walk home. Deaths in this movie are similar to those my memory serves me up from Dutch WW2 movies (Meisje met het Rode Haar, Soldaat van Oranje, such movies). Basically, someone is shot, the victim falls over. No close up, no death struggle, no last glance into the camera. The moment of death is empty, meaningless, as are the killings themselves.

Following a discussion with Yann (office mate), it’s like the iconic D-Day scene from Saving Private Ryan: as a viewer, you suddenly (or at least: for me) are no longer sure if the cast will make it out on the other side. They might just get hit by a bullet or step on a mine or be bombed, and then they’re gone. In the words of “Fantasia”, these movies aren’t safe. My main gripe with 12 years a slave: it is safe.

Having said that: both are good movies (in my humble opinion). From either, you’ll leave the cinema feeling less than happy. If you want a brutal look at slavery, watch 12 years. If you’re interested in the brutal desolation, seeing how war arbitrarily makes its victims, watch Heemwei.

Pro-tip: don’t listen to Bobby, don’t watch both in succession. It’s a bit heavy on the soul.

Ubuntu 13.10 for Galaxy Greatness!

January 29th, 2014

I’ve just upgraded my desktop from Ubuntu 12.04 LTS to Ubuntu 13.10. I didn’t think I would – the machine started out on Ubuntu 6.10….

However, I am since almost a week (or should I write “weak”? ;-) the proud owner of a Samsung Galaxy Note III!

Frankly, I still don’t know why.
Having said that, I do want to be able to interface with this fancy new piece of equipment. Turns out that that is a pain in Ubuntu 12.04. And it works out of the box in Ubuntus from 13.04 on – but support for Ubuntu 13.04 stops after this month (i.e., in 2 days). Support for 12.10 will continue for another 3 months though (ain’t that weird).

So, up to the newest version! Annoyances:

  • No virtual desktops
  • All sorts of shopping results in the Dash

Thankfully, there are fixes as well:

  • Go to Appearance > Behavior and toggle “Enable virtual desktops”
    Start CompizConfigSettingsManager (ccsm), go to General > General Options > Desktop size and set it to your liking.
    (answers from StackExchange)
  • Open the Dash, click Filter Preferences, scroll down to Sources and disable everything except for “Applications”.
    Source of this solution.

With this, you have your trusty old Ubuntu system back under your control (don’t forget to run svn upgrade on your repos, it’s necessary), and it does interface with the Galaxy Note out of the box :)


Edit after upgrading the machine at work: Hmms, that stuff with the lenses took some more effort.
From FixUbuntu.com comes the ultimate script for preventing online connections. I’ve pasted it below. Most salient features:

  • gsettings set com.canonical.Unity.Lenses remote-content-search none
    This one-line wonder should kill any remote search.
  • echo -e "\n127.0.0.1 productsearch.ubuntu.com" | sudo tee -a /etc/hosts
    This one-line wonder prevents any connections to ubuntu’s productsearch servers.

With this, you can search from the Dash (press windows key) without any online results popping up. I prefer that – if I want online results, I’ll use the online search, thankyouverymuch.

The full script:

#!/bin/bash
 
# Figure out the version of Ubuntu that you're running
V=`/usr/bin/lsb_release -rs`
 
# The privacy problems started with 12.10, so earlier versions should do nothing
if [ $V \< 12.10 ]; then
   echo "Good news! Your version of Ubuntu doesn't invade your privacy."
 else
   # Turn off "Remote Search", so search terms in Dash don't get sent to the internet
   gsettings set com.canonical.Unity.Lenses remote-content-search none
  
   # If you're using earlier than 13.10, uninstall unity-lens-shopping
   if [ $V \< 13.10 ]; then
     sudo apt-get remove -y unity-lens-shopping
  
   # If you're using a later version, disable remote scopes
   else
     gsettings set com.canonical.Unity.Lenses disabled-scopes \
       "['more_suggestions-amazon.scope', 'more_suggestions-u1ms.scope',
       'more_suggestions-populartracks.scope', 'music-musicstore.scope',
       'more_suggestions-ebay.scope', 'more_suggestions-ubuntushop.scope',
       'more_suggestions-skimlinks.scope']"
   fi;
  
   # Block connections to Ubuntu's ad server, just in case
   if ! grep -q productsearch.ubuntu.com /etc/hosts; then
     echo -e "\n127.0.0.1 productsearch.ubuntu.com" | sudo tee -a /etc/hosts >/dev/null
  fi
 
  echo "All done. Enjoy your privacy."
fi

Taking a quick picture with your webcam

January 9th, 2014

You want to take a picture, but hooking your smartphone up to the PC is a pain (no cable or something), and your digital camera isn’t near. You do have a webcam though… so: what do you do?

vlc -I dummy v4l2:///dev/video0 --video-filter scene --no-audio --scene-path $OUTPUTDIR --scene-prefix webcam_photo --scene-format png vlc://quit --run-time=5

That’s what you do. Hooray for VLC making your life somewhat easier!

 

(hattip to Stack Exchange)

Happy new year!

January 9th, 2014

2013, the year that went by. A lot happened, so let’s take a really, really quick look back. Order: fun things to serious things:

  • Swing dancing: way too much. Started the club, organised workshops, went to workshops (including Swinging in the Rain, Smokey Feet, Herrang, Snowball, Crazy Swing, DecaDance, Chase, Laxou Swing), organised quite a few dance evenings in Scott’s, started teaching swing dancing, learned an aerial here and there… pffffffft!
  • Holidays: hiking in Norway, late night accidental swimming in Venice, Poland… yep, it was a good year :)
  • Work: quite a few publications, a good defence by my PhD student, supervision of some bachelors… let’s do more of this this year!
  • Visits and visitors: all over the place, see the visitors page for more updates.

Most recent addition is the living together with Aga part. That’s just fresh and all shiny and new now, and it’s really nice so far :)

Have a great 2014, y’all!

Connecting Ubuntu to WPA2 PEAP networks

December 19th, 2013

It doesn’t work out of the box, and apparently there’s a bug report for it.
From http://askubuntu.com/questions/279762/cant-connect-to-wpa2-enterprise-peap:

There is a bug report here: https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/1104476
A workaround is to remove the line
system-ca-cert=true
from the configuration file found in /etc/NetworkManager/system-connections/NAMEOFNETWORK

I don’t think so, Microsoft!

December 16th, 2013

Upgrading to Windows 8.1 is “free”… all you have to do is give Microsoft your email address.
Wait, what? That doesn’t sound free at all!

Indeed. Actually, it is possible to install Windows 8 / Win 8.1 without a Microsoft account, but it’s unbelievable hidden. In other words: please send us your email address, and also please the password you’re using on your home machine.

I don’t think so, Microsoft.

In a nutshell:

  1. Follow the install (express or custom apparently doesn’t matter), until the point where it asks you to sign in with your microsoft account.

    Notice how it says “next time you log into this device, you’ll use your Microsoft account”? Yeah… NUH-UH!
  2. At the bottom, it says “Don’t have an account yet? Create an account”. Click that.
  3. On the new page, ignore everything except for the message at the bottom “Log in with my existing account”.

Yeah, you’re not getting any of my personal details, and you’re NOT getting any of my passwords. :P!

PS1: I got Microsoft on the laptop to lose some weight! Currently I have 73.9 GB free (vast improvement over the 52 GB free I saw earlier today).
Tricks I used:

  • Tweak hybernate file size to 50%: powercfg -hibernate -size 50
  • Reduce pagefile size to 2 GB (seriously, it was 10 GB… that’s not why I upgraded the amount of RAM in there). Quick guide: Windows Explorer > Right click on “my computer” > Choose “advanced system settings” on the left > Choose “performance settings” > Go to tab “Advanced”.
  • Deleted a truckload of installed apps and some pre-installed software, see e.g. here and more tips here.
  • Ran “disk cleanup”, which gets rid of all sorts of temporary files. At one point (aborted upgrade to Win8.1) there was about 6 GB of that slushing around my system. Which is about 6% of the hard disk… pffffft!
  • Installing Win 8.1 seems to have had a good effect too: the disk size changed from 96.6 GB to 101.2 GB. Yep, can’t explain that one, but don’t mind.

PS2: Laptop is almost ready for repartitioning and installing Ubuntu. Finally.

Sherlock Aga and the Case of the Foul Fragrance

November 24th, 2013

Sherlock Holmes silhouetteSherlock was seated on the couch, deeply engrossed in her latest experiment. I went to the kitchen, and noticed a rather particular smell. “Do you smell that, Aga?”
“Hmmms what?”
“That smell — not quite a delicate bouquet, wouldn’t you say?”
“Not quite sure,” she said while focusing back on her experiment.
“Perhaps it’s the garbage,” I ventured.
“Uh-huh,” came the non-committing reply.

After disposing of the garbage, I figured that was one case cracked by Dr. Ir. Watson Hugo, and I walked around proud as a peacock. Of course, I should have known better. The next morning, the fragrance persisted and had, if anything, turned fouler. Sherlock noticed it too, but couldn’t be bothered to turn the awesome power of her nose to this particular case. In the mean time, I myself, rather set back by my clear failure, took to round two with heart. Both collections of recyclables, paper and glass, were disposed, and the blue bag for plastic recyclables was condemned to the garage. Furthermore, the sink was thoroughly cleaned. With this, I will admit to a pleased smile – although I was not convinced the malfeasant aroma had been successfully combatted, at least I had significantly reduced the number of safe houses it could turn to.

Returning in the evening, I was greeted by an even more powerful smell. This could no longer be, and I pleaded with Sherlock to make use of her nose for the living quality of our premises. She conceded, and quickly identified the culprit: the smell was coming from the refrigerator. We took some steps to block or lessen the foul odour’s intrusion path, and made up our minds to contact a handyman the next morning (it being Sunday).

The next evening, the handyman was present and together, he and I managed to remove the refrigerator from its enclosure. There was a rather ugly-looking stain in the enclosure, which the handyman identified knowingly as the source of the stench. However, after having cleaned it, the smell still persisted. When Sherlock Aga returned home, she was hit by the smell, and (this time without pleading) enlisted the use of her nose. The culprit was swiftly identified: above the motor of the refrigerator, there was a plastic compartment to contain fluids that leaked from the interior of the fridge there. This compartment housed a foul-looking liquid, which turned out to be the cause of the foul fragrance.

Upon further investigation, Sherlock Aga managed to trace the origins to a pot of pickles. When she had stored the pot lying instead of upright in the fridge, the pot started leaking…

New laptop (MS, wherefore art thou so fat?)

October 27th, 2013

I bought a new laptop (cool thingy, it’s a Toshiba Z930 with mem upgraded to 10 Gb, ghi ghi). The specs are really cool: it’s the lightest ultrabook out there (at the time of writing), and while it doesn’t have 1080p resolution, it does do 1366 x 768. Moreover, it’s the only ultrabook which also offers VGA and Ethernet ports. Yeah, these might become obsolete, but I’m an academic, and given the expected upgrade cycle in most universities (“if it ain’t broke, don’t replace it” sums it up nicely), I need that stuff.

I haven’t had time to play with it, I hardly had time to start it up myself. I read that Win 8.1 came out, so I figured to start it up and try to get that on my system – yes, I’ll go for dual boot with Ubuntu (or something else like Mint). Now I have a really cool SSD drive in there – which is not that big. More specifically, it’s 128 GB. Currently, the unusued windows partition is leaving me with 50 GB usable space of that. I started doing windows update, which kept repeating and repeating, every time ending with a reboot and more updates to install. The first update required me to download over 1 Gb of updates. And that was nowhere near the end of it. I was down to 50 GB out of 128 GB (unformatted) before I started this, and your updates are eating away gigabytes of that???

Seriously, Microsoft, go jogging. You’re becoming too fat to sit on my disk.

Firefox tiny tip

October 27th, 2013

Firefox logoI recently had occasion to reset my Firefox install – meaning all settings reverted to default. One annoying thing is that if you have a few tabs (a few > 6), Firefox does not show a close button on them.

While researching that issue, I found this tidbit: you can middleclick a tab to close it. Holy cow!!! I wish someone had mentioned this to me sooner! :)

Crystal ball gazing

October 13th, 2013

You wouldn't download a car - Fuck you! I would if I couldI was chatting with Matt. Fantastic discussion on all sorts of things, including… “The Future”! I’m sharing some of the things we touched upon below.

The future of 3D printing

The discussion meandered it’s way to 3D printing. Our conclusion in a nutshell: Ikea will move to a pay-for-downloading-your-model model.
If things ever get to this point, yeah, then 3D printing will really work – and it will really have changed society. Of course, maybe not everyone will have a 3D printer – maybe there will be dedicated 3D printshops with bigger, high-quality printers. But this would even work to Ikea’s advantage: higher quality printers + materials equals more happy customers. And they’d save a fortune on not having to build stores, transport the stuff, etc.

So how realistic is this vision from the crystal ball? My guts say a 6 on a scale from 1 (no way, eg. teleportation) to 10 (will eventually happen, eg. moonbase).

The future of music and artists

A few bends further in the conversation, we were noting what many others have noted before: for centuries, musicians earned their living by performing. For a brief 80-100 years, musicians could earn money by performing once and selling the records. In this period, live performances (concerts) were advertisements for the recording. But currently, the trend is shifting back. Most musicians make their living by performing, and recordings (CDs) are nowadays more ads for the concerts than vice versa.

However, the advent of better and more affordable recording equipment means that your current-day home recording enthusiast is on par (if not above) in quality with recording studios from the 80s. In fact, home recording is becoming so affordable, and its quality is becoming sufficiently acceptable – renting a studio can produce better results, but it’s no longer clear it’s worth it.

This, coupled together with the insanity that is the recording “industry” (that is, the folks who do not make music, yet make the most money off of CDs) will lead to a shift in how musicians will earn a living. And yes, the recording industry’s financial model is insane. So any shift away from that is likely for the better.