Showing posts with label software. Show all posts
Showing posts with label software. Show all posts

Wednesday, May 27, 2009

Steal this idea: Phone scammer/spammer warnings

Hear my phone ringin',
sound like a long distance call
-- Muddy Waters, "Long Distance Call"
Why telemarketing is an opt-out rather than opt-in process is beyond me. Nevertheless, if you do get a call from a number you don't recognize, you may want to run it by whocalled.us. I recently got a call from a telemarketer (see my report here*) and had an idea for a program to run on the phones of the future. When I say phones of the future, I mean roughly tomorrow since this idea is so simple it should be very easily doable on an iPhone, Android phone, or something else easily programmable. At least, I would hope this is easy to write (I haven't ever used these phones' APIs).

The idea is this: When I get a call from an unknown number, my phone should look it up on whocalled.us. Possibly there would be a reputation system and it could automatically report good calls to the site (though there are some potential privacy issues here which would need to be addressed) and give you the option to mark a previous call as a scam. Integration with donotcall.gov would be nice too.

* Incidentally, this phone number appears to be running multiple scams. The number is used to connect people with various scams so that the companies actually doing the scams are harder to trace. That's why the representative on the other line said that I had called her.

Sunday, May 10, 2009

Technical: Getting Skype working with Bluetooth on Ubuntu with AMD64

If you want to use Skype with Bluetooth headsets on recent versions of Ubuntu Jaunty with an AMD64 architecture, this article might be of interest. If those words didn't make any sense, this article is definitely skippable.

When using Skype with a Bluetooth headset, I was getting error messages of the following form:

ALSA lib ../../../src/pcm/pcm.c:2165:(snd_pcm_open_conf) Cannot open shared library /usr/lib32/alsa-lib/libasound_module_pcm_bluetooth.so

Since Skype only exists in 32-bit mode currently, you can only run it in AMD64 using the linux32 command. However, this requires 32-bit versions of all the libraries that Skype would need, including bluez-alsa if you want to use a Bluetooth headset. Ubuntu currently attempts to handle this with their ia32-libs package but the current version of this package is missing its bluez-alsa libraries (as indicated in the error message). This is the bug that has been reported here.

I have a horrible hack to fix this problem, mostly because I can't find where ia32-libs development takes place nor the Ubuntu development process. I downloaded the 32-bit version of bluez-alsa and used alien -t to convert it into a tar.gz file. I then extracted its contents and made an extremely simple Makefile with this content:

install:
cp ./usr/lib/alsa-lib/libasound_module_ctl_bluetooth.so /usr/lib32/alsa-lib/
cp ./usr/lib/alsa-lib/libasound_module_pcm_bluetooth.so /usr/lib32/alsa-lib/

Next, I created a Debian package with checkinstall which you can find here. To my knowledge, these files are missing in Ubuntu Karmic too, so this might help those users as well.

Takeaway message: If you want to try my hack, download my new package (which I admitedly haven't been able to test on any other machines, so any feedback is welcome) and use your favorite package installer (the graphical one is probably the easiest) to install it.

Saturday, April 11, 2009

Steal this idea: Mobile public transportation planner

If I had an iPhone or Android-based phone instead my current piece of cellphone-shaped garbage, I would want this application: While walking someone, the user tells the application their intended destination ("I'm walking home now") and the application uses GPS information and a data connection to lookup public transportation alternatives to walking. It then suggests small detours or pauses in your journey (e.g. "Wait here, you're at a bus stop. When the #42 comes in ~2 minutes, get on.") which get you closer to your destination. As far as I know, this shouldn't be that hard to write and I'm surprised I haven't heard of it so far (of course, not owning a shiny phone, I don't follow all the apps written for them). It could also get more sophisticated by learning your pace or common routes and locations. In any event, this would be a useful tool and I think I'd take the bus more often if I had it.

Wednesday, March 18, 2009

Error: Too many errors



Count the errors. There are at least three:
Error 1: Saying there was an error, then saying there wasn't.
Error 2: Saying there was an error, then saying there wasn't when there really was -- it really didn't rip the DVD.
Error 3: Title says "Error while burning" but it was ripping, not burning.

Is this a bad joke? While trying to rip a DVD, I got this message from Brasero. This is dailywtf material but I haven't been able to find any previous postings on it. While ripping the DVD, the output file grew, but apparently, Brasero deleted it at the end. Also, there are no messages from the kernel about a DVD read error, so we appear to be hallucinating problems.

Sunday, July 13, 2008

These version numbers have version numbers!

This product that was on TV was available for four easy payments of $19.95. I would like a product that was available for three easy payments and one complicated payment. We can't tell you which payment it is, but one of these payments is going to be hard.
-- Mitch Hedburg

Version numbers in Ubuntu Linux can get pretty intense. Here is a list of 13 version numbers from Ubuntu packages in increasingly ridiculous order (that is, order of increasing ridiculous-ness (ridiculousity?)).
  1. 15 (just a number, possibly too simple)
  2. 1.2-2 (three numbers, reasonably simple)
  3. 2.6.24.17.19 (standard Linux kernel version number, very simple)
  4. 2007-12ubuntu3.1 (year, month, and Ubuntu version)
  5. 1:8.04+20080630 (version with a full date in it)
  6. 3.0.28a-1ubuntu4.3 (version and Ubuntu version)
  7. 4.0.1ubuntu5.8.04.1 (package with version and a more complicated Ubuntu version)
  8. 4.4.0-1ubuntu4~hardy1 (version with Ubuntu version and Ubuntu distribution subversion)
  9. 3:0.cvs20060823-3.1ubuntu4 (version, CVS date, and Ubuntu version)
  10. 8.61.dfsg.1~svn8187-0ubuntu3.3 (version, SVN version, and Ubuntu version)
  11. 20080508+git20080601-0ubuntu0.8.04 (version and two dates in it -- okay, one is a GIT version number too)
  12. 3.0.1+build1+nobinonly-0ubuntu0.8.04.1 (version plus some tags then a complicated Ubuntu version)
  13. 10.0.1.218+10.0.0.525ubuntu1~hardy1+really9.0.124.0ubuntu2 (no comment)
(document version: 1.2.62.cvs20080713~svn2942~17ubuntu2.43.1.3-5~binonly~rc7:1)

Wednesday, February 13, 2008

Copying links from Google search results

You may have noticed that when you copy links from Google search results, you don't get what you expected -- when you hover over them, your browser says one thing, but when you right-click on them, it says another. For example, searching for snappletronics, Google gives you the code for a link like this: (emphasis not in original, obviously)

<a href="http://snappletronics.blogspot.com/"
class="l"
onmousedown="return rwt(this,'','','res','1','AFQjCNGxo5T82OPvPMIGpTmHTE3JzTBwzg','&sig2=vMD0Ey969KDVrwhFXwVgBw')">


What does this mean? It means that when you right-click on the link, some Javascript function gets to run and change the link, so the link turns from Snappletronics to Snappletronics (watch the tooltip or your browser's status bar). The second link tells Google that I clicked the link and maybe other identifying information. I believe this surreptitious link-changing is a pretty strong violation of "Don't be evil."

Fortunately, there's help if you use Firefox. If you have Greasemonkey, this script will remove their hooks and prevent them from changing the link on you.

Update (11.12.2010): The above script is now outdated. Depending on when you read this, this script might be a decent replacement.

Thursday, November 1, 2007

Coder-Photographer

While my favorite (pseudo) warrior-poet is Stephen Colbert, (as he currently describes himself in his show's opening title sequence) my favorite coder-photographer is probably Lennart Poettering. In the first category, he made PulseAudio, an awesome open source sound system which allows you to (among other things) combine sound cards and send audio across computers. In the second category, he has taken some incredible panoramas and shares a list of tips for making them in hugin. Kudos!