Things I’ve learned, published for the public benefit
Hope This Helps header image

Plasticity – train your ears

image

Plasticity is a pitch discrimination game — that is, a game which tests and improves your ability to distinguish between similar sounds based on their frequency (pitch). You hear two sounds, which may have the same or different frequency (with 50-50 probability) and your job is to say whether they have the same frequency or different frequencies. At first, the differences are fairly obvious, but as you level up, they become smaller and smaller, which makes your job harder.

Plasticity can be a fun game to play (at least, if you believe some of my friends). In addition, it might be helpful if you want to improve your pitch discrimination skills – for example, if you’re a musician.

Plasticity is based on the Firefox Audio API and, as such, requires Firefox 4 or higher. Plasticity uses the HTML5 Web Audio API. It has been tested to work (at least) in recent versions of Chrome, Firefox and Safari – including mobile devices (in the latest release).

I wrote Plasticity to treat my tinnitus (a phantom sound in my head). The idea was to re-wire the auditory cortex in my brain through repeated training in order to change my perception of the tinnitus sound. The name “Plasticity” refers to cortical plasticity – the ability of the cortex to reorganize in response to stimuli. Did Plasticity help my tinnitus? Well, I no longer have a tinnitus problem, though I am not sure to what extent Plasticity contributed to the improvement. If you have tinnitus (especially pure-tone tinnitus), you might as well give it a try. Here are some tips on how to use Plasticity for tinnitus.

Feedback request

If you’re using Plasticity for your tinnitus, don’t forget to post a comment below. I want to know how it went!

→ 182 Comments

Is constant consumption of content keeping you from having your best ideas?

Where do you have your flashes of genius? You know, those moments when a really clever answer to something you’ve been thinking about for the past few days (months? years?) pops up in your head out of the blue.

When you ask people this question, several answers keep cropping up: “in the shower”, “in the toilet”, “in bed”, “on vacation”. Why these places? Maybe because they’re among the few places where we are (1) not actively thinking about some problem, (2) not talking to anyone, (3) not consuming content. In other words, among the few places where we are idle.

Idleness is important. In order to have creative, out-of-the-box ideas, you have to be in a relaxed state. You know that state of mind when you’ve just woken up after a refreshing sleep and there is nothing in your brain yet, and your mind just wanders from topic to topic, bringing interesting ideas and insights? You can’t tell what your next thought is going to be about, but you know it will probably be really original. That’s the state I’m talking about.

Picture of a balloon in the sky

Photo by Geoff Leeming

The opposite of idleness is focus. By the time you start focusing your mind on tasks – your morning email, the morning news, or the meeting you’re going to have at your job – the relaxed, creative frame of mind is gone. If idleness is a hot-air balloon that takes you whichever way the wind blows, focus is a high-speed train that goes straight to your destination, with no sightseeing stops or other diversions. You’ll get from point A to point B, but don’t expect any exciting adventures.

Of course, most of the time, focus is what you want. It makes you complete tasks. It makes you efficient. But it always results in some degree of tunnel vision. The more focused you are, the less likely you are to have a brilliant idea that no one else has thought about.

Tim Schafer, the man behind some of the best videogames in the world, uses a technique he calls “freewriting” in early stages of his projects. You open a notebook and write down your every thought, non-stop, for a certain amount of time. According to Schafer, the best time for freewriting is in the morning:

it has to be first thing in the morning, when the brain is empty. You’re not allowed to check email, Twitter, Facebook—nothing. Talk to as few people as possible beforehand. Every input you allow into your brain is just distracting junk that will grow and swell and muck things up. You are allowed to use the bathroom, but no reading in there. No verbal input!

Why is Tim Schafer so adamant about avoiding input? Probably because he understands that an idle, unfocused state of mind is essential for true creativity. Exposure to other people’s thoughts, whether through conversation at breakfast, reading a newspaper or checking email, focuses your mind and narrows the range of ideas you can come up with.

Unfortunately, idleness is becoming a rarity in today’s digital world. We don’t want to be idle. We want to be connected. We want to be informed. We want to be entertained. And we’ve got the technology to achieve it. So we fill every idle second of our lives with content. We watch TV shows while exercising on a treadmill. We listen to the news while driving to work. Instead of simply walking somewhere, we walk and listen to a podcast. Instead of daydreaming on our morning commute, we read on the Kindle and congratulate ourselves on putting that time to good use.

By always consuming content on our electronic devices, we are, in essence, allowing other people to put their thoughts in our heads every waking minute of our day. What about our own thoughts?

The next time you have nothing to do, consider doing exactly that – nothing. Having a bowl of cereal in the kitchen? Don’t turn on the TV, don’t update your Facebook and don’t catch up on your favorite podcasts. Don’t think about that problem you’ve been thinking about all day. Just relax, chew your cereal, clear your mind, let your thoughts wander, and give your brain a chance to come up with something great.

This post was inspired by Scott Hanselman’s talk on personal productivity, in which Scott tells you, among other things, to do less so that you can do more of it.

→ 4 Comments

I am now afraid of browser plugins

Yesterday night I got my first malware infection from the Internet. Here’s what happened, step by step:

  1. I was reading a discussion on LinkedIn, trying to get user opinions on a particular ISP in Poland.
  2. Some user had posted a link to a website which maintains a ranking of Polish ISPs. I followed it.
  3. I was transported to a pretty normal-looking website with information on ISPs, user ratings, etc. (I’m not going to post the link here, but I did report it to Google and BadwareBusters.)
  4. Soon after I started reading the page, I noticed that my browser (Firefox) started downloading some PDF file. I attempted to cancel the download, but the file was small, so I didn’t manage to do it in time.
  5. The file automatically opened in Adobe Reader 8.2, my PDF viewer of choice. (more on that later)
  6. A few seconds later, I was greeted with this:

This wasn’t just one of those annoying popups that you can simply close. My PC was completely taken over by “Live Security Platinum”, which, as I later found out, is a fake antivirus which tries to convince you that your computer is infected with a bazillion viruses and get you to pay for the “full version” of the “software”. It adds itself to the Windows Registry, sends unknown data over the network, keeps displaying annoying balloons in the notification area, and when you run Task Manager, it immediately closes it so you can’t kill it. It also reconfigures your proxy settings to keep you from running Google searches to find a solution and prevents you from running certain antivirus applications. Most annoyingly, it permanently removes several crucial Windows services like Windows Update.

Lessons learned / Advice

  1. It’s quite possible to get your PC infected just by browsing the Web – even if you never click on any suspicious links, download suspicious software, or visit shady websites. (Incidentally, I had visited tons of what would be considered shady websites before – be they porn sites, hacking sites, pirate sites – you name it, I’ve been there – and never got infected. Go figure.)
  2. Disable all the plugins that are not absolutely necessary. You may need Flash, but do you really need Quicktime, Silverlight, Java and Adobe Reader? (Remember that plugins can be temporarily re-enabled as needed.) Each plugin is one additional way for malware to gain control over your PC. All it takes is a plugin that hasn’t been updated recently and a malicious (or simply hacked) website that redirects you a cleverly written Flash animation, Java applet, video clip or PDF document.
    • Disable Adobe Reader and replace it with a built-in PDF viewer (both Chrome and Firefox have one). If you can’t do that, at least replace it with a less popular viewer like FoxIt Reader (less popular software is safer because the bad guys always focus on software with the largest user base).
  3. If you have to use a plugin, at least make sure it gets updated regularly. Don’t ignore those Flash updates!
  4. Make sure your browser doesn’t automatically open files in external applications, especially popular and rarely updated applications. With automatic opening of files, a web page can easily make your browser download a file and then immediately open it in an external application. If that external application has a security hole, it could allow the attacker to install malware on your system. Set up your browser to always ask you before opening a file. (In Firefox, you can change the behavior in Options|Applications.)

FAQ

Why the hell were you using Adobe Reader?

Well, I had been using FoxIt Reader, but I switched to Adobe because FoxIt occasionally had difficulty rendering PDF files.

Why were you using such an old version of Adobe Reader?

Because it worked faster than the newer versions. I guess I didn’t think of the fact that old Adobe Reader versions have vulnerabilities that could be exploited by a website I visit.

How did you remove Live Security Platinum from your computer?

Well, it wasn’t easy. When I typed “live security platinum remove” into Google, all I got was a ton of shady-looking keyword-stuffed sites, all of which tried to get me to purchase or at least download some malware removal software. I literally couldn’t find a single reputable-looking resource on the topic. Not a word from McAfee, Kaspersky or Avast. How was I to know that some app called MalwareRemover or TrojanKiller wasn’t going to mess up my system even more?

In the end, I followed the manual removal instructions given here (near the bottom of the page). That way, at least I could verify each step separately.

Once the malware was removed, I was in for a nasty surprise. Live Security Platinum had removed a number of crucial Windows services like Windows Firewall and Windows Update. By “removed”, I don’t mean that it simply disabled them – I mean that they did not even appear in the Services console. How do you reinstall a basic Windows component? I decided that the simplest way out was to use System Restore to bring my system back to the state it was in 4 days earlier. Thank goodness I had a restore point that I could use.

→ 6 Comments

Review of the Panasonic TX-P42-ST50-E plasma TV

I bought a new TV for my mom to replace her 21-year-old Sanyo CRT TV that my parents bought when I was a pre-teen. By the way, the Sanyo is still working, though the picture isn’t what it used to be. Initially, I was going to do it the polite way and wait for the old TV to die before I got a new one, but as the old TV has shown no signs of decline in the past two years, I lost hope of that ever happening. I guess I should have known better than to count on the death of a Japanese product from the early 90’s. (BTW, how’s your Game Boy working? Mine’s still going strong.)

image

Why plasma?

When you ask a non-techie shopper what TV they are going to buy, the answer is most likely going to be “LED”. In the minds of most consumers, LED TVs are the state of the art in TV technology. A major reason for this association is that, of all the TV types available today, LED TVs simply appeared the latest. They are also a bit thinner and much more energy-efficient than other types of TVs, which contributes to the modern impression they make on shoppers. For these reasons, an LED TV was my default choice as well. I had to be convinced to choose otherwise.

I was persuaded away from LEDs because I noticed a funny thing during my occasional visits to TV stores in Wroclaw: every time I noticed a TV with picture that impressed me, I would glance at the label and it would read “plasma”.

Plasma displays have two big advantages over LCD and LED displays. One is black level. The basic way LCDs work is by having a huge white backlight that is always on. The white light from the backlight is then blocked with an array of tiny colored filters and liquid crystals. To display black, an LCD has to block the white light with liquid crystals that turn black. (It is important to understand that “LED displays” are actually LCD displays with an LED backlight. In a “classic” LCD display, the backlight is a white CCFL; in an LED display, the backlight is composed of a large number of LEDs that give off a white light.) Since the backlight is very bright, light from the backlight tends to “leak” through the liquid crystals. This means that it is very hard for an LCD to display true black. In most cases, the best it can do is very dark grey. (LCD/LED TVs in stores are always set to show bright, colorful images, so you won’t notice this deficiency.)

On the other hand, a plasma display has no backlight. It is more like a matrix of tiny neon lights – small cells filled with a mixture of gases that turn into glowing plasma when you apply voltage to them. Turn off the voltage and the light is gone. Because of this, it is relatively easy for a plasma display to reproduce true black.

Another advantage of plasma displays is uniformity. LCD and LED displays commonly suffer from “backlight bleed” – light from the backlight “bleeds” around the edges of the panel, which means that when looking at a dark scene in a movie (e.g. a night sky or a dark interrogation room), you can notice patches of light instead of a uniform black area. This is not an issue with plasma displays.

The main advantage of LED displays over plasma displays is power consumption. An LED display will use up 50% less power than a plasma display of the same size. This may seem like a lot in relative terms, but for a 40” display the difference is about 60 watts. If you watch TV for 4 hours every single day, you will save 87 kilowatt-hours over a period of one year. This works out to about $15 per year. You decide whether it’s worth paying $15 per year for superior picture quality.

(More detailed comparison of display technologies from Wikipedia.)

My impressions of the Panasonic TX-P42-ST50-E

I’m not going to write a complete review of the TV. For that, I’ll refer you to the glowing reviews at HDTVtest.co.uk and AVForums. The consensus among the Internet experts is that this is a mid-range plasma TV with better picture quality than last year’s high-end models.

Below, I’ll report my general impressions and include some information that I wasn’t able to find anywhere, despite extensive research. I hope you will find it useful in making your purchasing decision.

Note: The information presented here refers to the European version of the Panasonic ST50. The North American version has different firmware and slightly different features.

  • Black level. This TV produces incredibly deep, inky blacks – much better than I’ve seen on any LCD display. If I may say something slightly controversial, I think there’s little point in improving the black level any further. It’s already better than what you get in a movie theater. (In case you haven’t noticed, movie projectors cannot reproduce 100% black, although they are very close.) Watching dark content such as concert footage or movies with night-time scenes (such as Drive, with night-time car chases and aerial shots of the L.A. skyline) is pure pleasure on this TV. I can’t wait to re-watch Star Wars on it. Space is going to look amazing on this set.
  • Color fidelity. Even without calibration, color accuracy on the Panasonic TX-P42-ST50-E (in the “True Cinema” mode) seems subjectively very good, as checked by inspecting several familiar photographs. This is a very good TV for browsing photos. (You can use the calibration settings posted by David Mackenzie of HDTVtest.co.uk to make the colors even more accurate.)
  • Motion interpolation. Like most modern TVs, the Panasonic TX-P42-ST50-E can make motion more fluid by inserting additional frames between the actual frames in the source. This is a controversial feature. Some people enjoy the extra fluidity; others feel it makes movies feel less “film-like”. I have found I am in the first camp. The standard movie frame rate is quite jerky (just try playing a game at 24 fps – it will be playable, but not fluid by any means). For me, the effect is simply tiring on a large screen, especially when sitting close to the TV. So I have set “Intelligent Frame Creation” to “Mid” and so far I’ve been quite happy.
  • [Added Jun 18 2012:] Burn-in. After about a month of watching a 24-hour news channel for 2-3 hours a day, the channel logo is now permanently visible in light grey when you display a uniform background (especially on white). To be fair, I only noticed the image when I tried the built-in “burn-in remover” feature (which shows a solid white bar moving across the screen). I don’t think this is classic burn-in because no image is visible on a black background (I checked in a very dark room). I tried running the burn-in remover for 5 hours. It has made the channel logo more faint, but it hasn’t removed it. It’s not terribly annoying because the TV is almost never used to display solid colors. The biggest concern is that it will keep getting worse.
  • Sound quality. Customers like slim, sexy TVs. Slim TVs means tiny speakers. Tiny speakers means crappy sound. Panasonic has crammed 8 teeny speakers and a miniature subwoofer into this TV. The 8 speakers sound worse than the single speaker in the old 14” Grundig TV in my kitchen. As an experiment, I plugged in an external amplifier and a very cheap set of Onkyo speakers and the difference was night and day. Don’t get me wrong – you can still watch stuff on this TV; it’s just that the sound seems to be coming from far away (maybe because the speakers are facing down and not forward?) and thus the clarity is not very good. From what I’ve seen, this is pretty much the norm with slim TVs.
  • Reflections. The display is glossy, but I was actually surprised at how well the anti-reflective coating absorbs reflections on this TV. There’s certainly no “mirror effect”, such as you can see on many laptop screens. As long as your display is not facing a window, you should be totally fine.
  • Remote control. From the point of view of someone who’s interested in user interfaces, the remote control is a disappointment. It’s an array of buttons, just like the remote that came with my mom’s 21-year-old Sanyo. Have we really learned nothing about user interfaces in 21 years? Why can’t I have a volume knob to make precise and quick adjustments to volume instead of having to press a button many times? Where’s my pointing device to quickly select options on the screen instead of using the awkward arrow keys? On the plus side, the infrared LED on the remote seems to be pretty powerful, so the remote works pretty much whichever way you point it (at least with fresh batteries). This is a welcome feature, as it can be quite annoying to lift the remote and point it at the TV every time you want to do something, especially if you’re the kind of viewer who often rewinds a movie in order to catch every line of dialogue.
  • Multimedia playback from USB devices. There have been reports that this TV has difficulty playing MKV and AVI files. I have found this to be completely false, at least on my (European) version of the TV. So far, I have tried about 20 different movies in MKV, MP4 and AVI containers, and the TV has played them all back very reliably 90% of them without any problems. I did encounter a problem with one very large (8 GB) MKV movie encoded in 1080p, which worked on my PC but not on the TV. It is possible to seek back and forward by about 10 seconds by pressing OK and then the Left or Right arrow, which is useful if you miss a line. External subtitles in SRT format are supported (the name of the subtitle file has to be the same as the name of the movie file) as well as internal MKV subtitles. Polish characters are supported (there is a menu option to set the character set). The font used to render subtitles is good-looking and very readable, so no problems there, even if your eyesight is not perfect. Subtitles can be turned on and off with the Subtitle button on the remote.
  • DLNA playback. The Panasonic TX-P42-ST50 can access media stored on your PC, eliminating the need to plug in a USB device. It’s simple enough on the TV end: I connected the TV to a router (both using Wi-Fi and an Ethernet cable) and it just worked. However, it took me two hours to get Windows 7 to share my media with the TV – the process is totally unintuitive and involves both reconfiguring your network sharing options and enabling some non-obvious settings in Windows Media Player. Even though I eventually succeeded in this, I was having constant trouble whenever I added a new folder to the shared library: it would take a long time for it to appear on the TV. Finally, I installed a free application called Serviio (by Petr Nejedly) which works perfectly. It allows you to share any folder on your PC with your TV.
  • Subtitles with DLNA playback. One drawback to DLNA playback on the Panasonic TX-P42-ST50 is that external subtitles in SRT files are not supported – only internal MKV subtitles work. (This might be a limitation of the DLNA standard, not of the TV.) To remedy this problem, you can download a free application called MKVmerge (part of MKVToolNix), which can combine a video file (MKV or MP4) and an SRT file into a single MKV file with built-in subtitles. Initially, I was reluctant to take this route, but it turned out to be pretty painless: just drag and drop two files, click “Start”, wait 30-60 seconds and you’re done. Another quirk is that with DLNA playback you cannot turn on subtitles with the Subtitles button on the remote, like you can with USB playback. Instead, you have to press the Option button and choose Subtitles.
  • Internet access. The TV can run third-party apps. Several apps are included with the TV. The selection depends on your country. (In Poland, the best one is iPlex.pl, which allows you to watch older and less popular movies free of charge in exchange for watching commercials for about 5 minutes.) One troubling thing I noticed about the third-party apps is that each one seems to have a different interface. Instead of using the pause button on the remote to pause a video, they’ll force you to press OK, then use the arrow keys to find the “pause” option on their own special menu. Of course the special menu is different in each app. Good luck explaining to a non-techie why something as simple as a pause button cannot work the same way everywhere. The situation is even worse with more “advanced” features like rewinding or finding a show to watch. A couple of words come to mind when contemplating this, the mildest being “idiocy”. As a side-effect of this “explosion of creativity”, many apps simply feel slow, probably because the TV’s CPU is unable to cope with all those custom animations. Panasonic should just enforce common interface guidelines for all apps; otherwise, we’ll have braindead developers each doing their own dance and thinking they look sexy.
  • YouTube app. There is a YouTube application (of course, with its own way of doing things), but I’m not quite sure if it will be of use to anybody. People usually find YouTube videos on various websites, blogs etc. Since no one in their right mind is going to browse the Web on this TV, there is the question of how exactly the YouTube app is supposed to be used. Perhaps it could be useful as a kind of “view later” feature, where you add videos to a playlist on your PC, and then watch them later on a big screen. However, even this limited functionality is not supported well due to the poor user interface of the app and the fact that, amazingly, it does not support the playback of HD videos. You can probably see why I tried it once and then never launched it again.
  • Recording (PVR).The Panasonic TX-P42-ST50-E has a PVR feature, which allows you to record digital TV. You can record on demand or you can tell the TV to record a later show for you (you can even choose the show to record on the TV Guide screen on digital TV, which is pretty convenient). There are, however, several important limitations to this feature:
    • It only works on USB hard drives (USB flash memory is not supported). I was able to successfully use this feature with a USB-powered WD Passport drive.
    • Before you can use it, you have to allow the TV to reformat the drive. This means you have to give up the whole drive for recorded programs.
    • Only digital broadcasts can be recorded. On the plus side, the quality of the recording is great. I was able to record digital terrestrial TV (DVB-T) broadcasts in HD and the quality is indistinguishable from the original. I think the TV simply saves the original MPEG stream.
    • The recorded videos are inaccessible on other devices, even on other units of the same TV. The drive is formatted with the UFS file system, which means it is inaccessible on Windows. The video files themselves are encoded and have not been successfully reverse-engineered so far. So there is no way to view the recorded videos on your PC.
    • You cannot watch one channel and record another at the same time. You can only watch the channel which is being recorded. To watch another channel, you have to stop the recording. This means the PVR feature will be useless if you want to record a football game while your wife watches Downton Abbey.
    • The TV has to be left on standby. If you set it to record a show and then another person turns the TV off completely, you’re out of luck.
  • Noise. First, the good news. Unlike last year’s Panasonic 42” plasmas, this model has no fans (bigger versions do have them). The bad news is that there is a buzzing sound (voltage transformers?) which ranges from inaudible to easily audible (this is when the TV is displaying bright images). At its worst, I can easily hear it in a quiet room at a distance of about 3 meters. The noise is not very high-pitched, so the annoyance factor is not high, in my opinion. If this was a computer display, the noise would of course be totally unacceptable, but, seeing as you rarely use a TV to watch things with no sound, it does not seem a big problem because in most cases whatever you’re watching will mask the sound completely. In any case, I’ve seen DVD drives that made more noise, not to mention the ambient noise you get when watching a movie in a cinema (I’m talking about you, popcorn lovers!). Since the buzzing sound has been reported by other users (usually as not very annoying), I believe it’s a property of the model and not an issue with my specific unit.
  • Heat. The back of the display gets warm in the upper left and right corners. The amount of generated heat seems modest for a display of this size. Certainly this is no heater.
  • Build quality. The set, manufactured in the Czech Republic, feels very solid and well-finished. Nothing feels cheap or flimsy. The build quality certainly inspires confidence in the reliability of the product.
  • Power consumption. Because this is a plasma display, it uses up about twice as much power than an LED display of the same size.
  • Minor annoyances. When watching with headphones on, it’s hard to control the volume because the headphone volume control is buried deep in the menu system.

Conclusions

When I bought the Panasonic TX-P42-ST50-E, I had already read Internet reviews of it, so I was not surprised to see the flawless cinematic picture quality of this TV. I was, however, pleasantly surprised at how well it handles digital content. Having read user comments about the limited video format support in previous Panasonic models, I was fully prepared to shell out $100 for an external media player such as the WD TV Live. This has turned out to be completely unnecessary, which is great because it eliminates the need for another device with yet another remote control.

If you are looking for a modern TV with top-notch picture quality and good support for digital media playback at a reasonable price, you’ll be doing yourself a disservice if you don’t at least check out the Panasonic TX-P42-ST50-E.

My only reservation concerns the buzzing noise that can occasionally be heard when displaying bright images. If you are highly sensitive to noise, it’s probably a good idea to make sure you will be able to return the TV in case you find the buzz too irritating. Personally, I don’t have a problem with it, and I’ve spent significant amounts of money and time to silence my PC, so chances are you won’t either.

(For tons of discussion and nerdy details, check out the official threads at AVSForum and HighDefJunkies.)

→ 15 Comments

How to tie your shoelaces securely

Back in my high school days, I had constant problems with my shoelaces coming undone. I was always having to stop and tie them, sometimes several times a day. Then I discovered Ian’s Secure Knot. It took me 10 minutes to learn (it’s really simple, once you get past the initial difficulty of translating diagrams into hand movements) and I’ve never looked back.

I’ve been using Ian’s Secure Knot for over ten years and (I swear I’m not exaggerating) I haven’t had my shoelaces come undone once. As far as I’m concerned, this knot provides military-grade security for your shoes. It looks great, too!

Finished Ian's Secure Shoelace Knot picture

→ 3 Comments