WUnderground Free API is closed.

Have been used Weather Underground free API for my personal use for the last couple of years. However, it has been broken since yesterday. Unable to retrieve weather data and only thing I got from the response is “invalidkey”. Then I logged in to my weather underground developer account, there was an error message: “the API key has been disabled manually”.

So, what is wrong? I only use this key to show local weather information in my place, designed to fetch information every 15 minutes from wunderground.com, way below the limits. (Free API can have 500 calls per day, 10 calls per minute.)

Later, I found there is a message appeared on the homepage of WeatherUnderground API says “we will no longer provide free API keys“. Also there is a post on the official community website says “Your subscriptions, and therefore access, will continue to work through 12/31/2018.(https://apicommunity.wunderground.com/weatherapi/topics/end-of-service-for-the-weather-underground-api?topic-reply-list[settings][page]=4#topic-reply-list)

I also Googled, there were discussions about this since mid-2018. Looks like, they have planned for a long time. However, I searched my inbox, there is nothing sent from weather underground in the last year.

It is time switch to another weather API provider now.

(Workaround) To remove a stubborn package on Debian.

I have a Buffalo LinkStation, which I installed Debian Stretch on it.

Recently, I was trying to remove obsolete packages by using “apt-get autoremove” command after an update. Usually this process will take a couple of minutes. But this time, unfortunately there was a package (to be more specific, an old kernel) which refused to be removed by apt or dpkg. Continue reading (Workaround) To remove a stubborn package on Debian.

(Updated method) Prevent Debian Linux randomly reboot on Biostar NM70I-847

I have a NM70I-847 motherboard, and I installed Debian 9 Stretch on it recently. After installation, the system began to reboot randomly without any warning.

I used to run Debian 7 Wheezy on this motherboard, the RC6 sleep feature of the CPU’s graphics need to be disabled to prevent such issue. It should be very easy to fix just need to add parameter i915.i915_enable_rc6=0to grub boot option.

But the method seems not working (or deprecated) — after applied the fix computer still keep rebooting on its own. Message like the following can be observed from dmesg:

i915: unknown parameter 'i915_enable_rc6' ignored

Yep, that’s why this fix is not working, because this parameter has been ignored by system. Continue reading (Updated method) Prevent Debian Linux randomly reboot on Biostar NM70I-847

Wanna Cry?

Last weekend was definitely not a normal weekend. The flare out of the computer worm virus WannyCry[1] screwed lot of people’s weekend. It’s been quite long since last mass computer virus outbreak which I can remember was the Blast worm virus[2] back in 2003.

The virus takes advantage of the exploit MS17-010[3] in Windows’ SMB server, it use port 445 to get control of an unpatched computer, and then use this computer to infect more computers on the network. This time, the exploit affects almost every PC running Windows.

Especially for the PC still running outdated version like Windows XP which is widely used in my local banks, companies, stores, gov departments …, etc. Microsoft released a patch[4] for these end-of-life OSes on May 12th, which is very unusual. Continue reading Wanna Cry?