Press "Enter" to skip to content

nuxx.net Posts

Video Ads in Angry Birds on Android

Angry Birds (Rovio’s Site), the extremely popular (and quite fun) physics / artillery / puzzle game, is only available in ad-supported format on Android. Initially I didn’t mind this, as the ads started out as simple banners taking up a small portion of the top of the screen. Within the past few days (perhaps after an update?) there are now video ads present in the game. One plays on game launch and then another will play every few levels.

While the video ads can be skipped I find the idea of them terribly irritating. They play sound even if the game itself has been muted and eat up bandwidth. I’d much rather pay for the game than have to see this crap in order to play, so I’ve uninstalled it.

UPDATE: Rovio has responded to the note that I send about this, and apparantly starting some time in 2001 it will be possible to pay to circumvent the ads in Angry Birds.

6 Comments

Google Talk Doesn’t Like application/x-javascript-config for PAC Files

After a bunch of frustration I found an interesting quirk in how Google Talk uses Proxy Autoconfiguration (PAC) files (Additional Documentation). There are two MIME types which can be set for PAC files when serving them, application/x-javascript-config and application/x-ns-proxy-autoconfig, and both work with most browsers, but only the latter works properly with Google Talk.

It turns out that if the MIME type is application/x-javascript-config for the PAC file and the browser does not look directly to the PAC file itself, Google Talk will fail to connect. Looking deeper at it in a network capture (partially pictured above) I’d see the client closing the connection before it was done downloading the PAC file and thus the client would never receive a complete PAC file. Inspecting the TCP stream via Wireshark would show the data simply ending part-way through the PAC file. This resulted in a mysterious failure to connect with no useful error returned from Google Talk. If I simply changed the MIME type back to application/x-ns-proxy-autoconfig for .pac files and restarted Apache, Google Talk would then download the whole PAC file and login fine.

In both of these cases I am serving a typical PAC file off of Apache using RewriteRule ^/$ /internet.pac [R] to ensure that all requests to http://server.local/ go to http://server.local/internet.pac via an HTTP 302. Using a DirectoryIndex directive specifying internet.pac as the index file for the site also resulted in the same issue. In both cases the client was configured to look to http://server.local/ for a PAC file.

Complicating things further I found that if instead of relying on a RewriteRule or DirectoryIndex I instead pointed the config directly to the PAC file itself (in this case http://server.local/internet.pac) then the problem would not occur; Google Talk would download the entire PAC file (confirmed in a network capture) and sign in successfully regardless of MIME type.

For purposes of this testing I used the latest released version of Google Talk, 1.0.0.104, running on Windows 7. Google Talk was also set to Detect proxy automatically which reads the system’s proxy settings. In this case it is the PAC file setting is defined in either Internet Explorer or Control Panel under (Internet OptionsConnectionsLAN SettingsUse automatic configuration script).

2 Comments

Pontiac Has Terrible Roads

Pontiac is the first town in which I’ve worked where I also have to pay a city income tax. It is also the worst city I’ve had to deal with road-wise. Two days after a moderate winter snowfall there is still an inch of ice on all roads making even the most gradual uphill difficult to drive. Pulling away from a stoplight is almost always a matter of frustration involving 10-15 seconds of figuring out how to acquire traction.

Maybe I should just buy myself some snow tires. It’d make driving (all around) much nicer during winter.

(Another road photo, and a view from near my new desk on Monday.)

1 Comment

XC Skiing from Home

Having my own cross country skis and with this weekend’s sudden snow fall frozen into hard pack I decided to see how well skiing the field next to my condo would go. Two laps (roughly a mile) later and I can say that I’m now able to have an enjoyable (albeit short and flat) ski from my house. There was even sufficient moonlight to make skiing perfectly fine without a headlight.

The snow is so firmly packed that it could be cut with a saw which allowed me to easily glide along on top of it, only occasionally sinking through recently-drifted powder. It was also deep enough that only once did I run into brush sticking through the snow and have to deviate course. Hopefully this means that the trails at Stony Creek will be open and groomed for skiing this weekend.

(Oh, and the footprints next to the ski tracks? Those are from Roxie heading out to go to the bathroom and then my fetching her deposit from the snow.)

Leave a Comment

Free: Computer Stuff

Here’s some free computer stuff for whoever would like to have it and save it from the landfill or whatever the ‘recyclers’ end up doing with it. The cases also contain lots of useful steel if you’re in need of some epoxy coated (or painted) flat sheet metal.

Stuff is as follows and (to the best of my knowledge) all works fine. Computers are without hard drives, but otherwise (generally) include RAM, etc. I’ve probably got enough spare other parts to get you running as well:

· 2x 17″ CRT Monitors
· 2x enterprise-class switches (1x 10mbit, 1x 100mbit)
· 2x Pizza Box Gateway Computers (Excellent Firewalls)
· 2x PATA drive enclosures. Supports hot swap if your controller does.
· 1x Compaq Deskpro EN (Good Firewall)
· 1x AMD Athlon Computer (Don’t remember specs, decent gaming computer from ~5 years ago.)
· 1x Dell Dimension XPS P90 (real vintage 5V Pentium CPU!)
· 4x ATX Cases (InWin full tower, InWin mid tower, quality generic, Doggy)
· 1x Former Gaming Computer (O/C’d Celeron, metal flake blue case, etc.)

This is all available for pickup at my house in Shelby Township, or I’ll meet you at a local trail or whatnot if you know exactly what you want. Contact me either here via PM here, via email at c0nsumer@nuxx.net, Google Talk at steve.vigneau@gmail.com, or AIM at Iamc0nsumer.

Leave a Comment

A New iMac‽‽‽

 

This past weekend I took my iMac back into the Apple Store to try and get the now-blemished (after another repair) display resolved. Per usual a part was ordered, and on Thursday morning I took the machine in to have the display replaced. Last night when checking on the repair status I noticed that the machine was ready, so I called Apple to see if I could pick it up. Extremely unexpectedly, the person who took my call explained that the data transfer was almost complete and that I should be able to pick it up in the morning. I found this very bizarre, as a data transfer is normally only done when upgrading a machine or replacing the hard disk.

It turns out that something went wrong during the repair and instead of having me wait on another part I was going to be given a new / replacement iMac and the data transfer was to get everything moved over. Talking to the tech when I picked up the machine it sounds as if someone “plugged something in wrong” or somehow made the logic board (motherboard in Apple-speak) fail and instead of waiting for yet another part to arrive Apple instead opted to just give me a new machine. This includes a receipt exchanging my machine for the new one, AppleCare transfer, and all.

The machine returned to me is the Mid 2010 model which has some nice upgrades over my original one (Late 2009), as shown here. Specifically, it has a slightly faster processor (2.96GHz Intel i7-870 vs. 2.80GHz Intel i7-860) and better video (ATI Radeon HD 5750 w/1GB RAM vs. ATI Radeon HD 4850 w/ 512MB RAM) and a comparable hard drive (Western Digital WDC WD1001FALS-40Y6A0 vs. Seagate ST31000528ASQ).

The nicest upgrade was the way the RAM ended up being reconfigured. When I took my Late 2009 27″ iMac in it was fitted with 4x 2GB 1066MHz PC3-8500 SO-DIMMs; two OEM Apple parts and two purchased from Crucial. When returned to me the new / Mid 2010 machine had 2x Apple 4GB 1333MHz PC3-10667 SO-DIMMs. This swap was necessitated by the newer machine’s faster RAM requirements, and it’s really nice to see that Apple replaced things in this way. Before this I had no free slots, which meant that going above 8GB of RAM would have required me to throw out two existing modules. Now there are two free slots, so whenever the next upgrade comes around I won’t have to toss out any parts.

This worked out pretty well, as the new machine has a just-fine display that came wrapped up just like new. There’s a slight small bit of what appears to be plastic on the inside of the glass in the lower right corner, but it’s so small that I don’t really notice it and can probably remove it with a slight puff of air; nothing to complain about at all. There was also a small black smudge on the front bezel, but this came off with a bit of alcohol.

While this whole experience was a bit frustrating overall, I’m content that it worked out this way. I received a newer machine, it appears to work fine, and my inconvenience was offset by a minor, but nice upgrade. And to think it all started with nothing more than a bad optical drive…

(As part of the upgrade I also received the disc set that goes with the machine, and this includes an iLife 11 install disc. This will be quite handy.)

Update on October 21, 2014: When at the Apple store attempting to get the GPU in this iMac fixed for free, I found out what happened to my original 2009 iMac: the LVDS connector on the logic board was damaged. Apple must have then opted to replace the entire machine.

2 Comments

24.4°F and Emerald Ash Borer

Had my camera battery not died in the 24.4°F weather (confirmed by my bike computer while leaving the trail) I would have a better photo than this.

This place is exactly where Nick, Erik, and I spent the bulk of our time on Sunday clearing the trail, and there’s now another fallen tree there. Thankfully this one can be ridden under. It appears that this area had a number of ash trees all of which fell victim to Emerald Ash Borer, and this autumn is the time they are all falling. As they are still very solid internally, I hope that we’ll be able to chop them up in the spring and use them to build a few log piles.

Tonight’s ride was quite wonderful. While it was cold outside I was appropriately (and perhaps over) dressed, and this was only a problem when I stopped to use nature as my toilet. Due to recent rains before the cold the trail was packed hard and as grippy as brushed concrete (or slickrock?) which made riding quite fun. Road traffic was surprisingly light, and I had no problems with cars either on the (residential) roads or at intersections.

I’m really looking forward to being able to ride these trails in the winter. I’ll just have to go get that tree sorted out before it actually falls and keep an eye out for others in this area. I suspect that this trail will be outstanding with studded tires once the snow falls and ice is making everything slick. I can’t wait.

(Total ride time today 1:40:37, 18.71 miles, 11.16 MPH average, 21.76 MPH max. Rode up from home, 1x full single track, two-track as return trail, 1x regular loop, 1x backward regular loop, then back home with a loop around the neighborhood.)

Leave a Comment

Manual Trail Work

This afternoon Erik, Nick, and I headed out to River Bends to remove the fallen tree mentioned here and to check out another reported downed tree. The other tree turned out to be this conflagration comprised of five downed trees and various broken limbs and deadfall, all in one spot. Thanks to Erik’s 4′ bow saw and his ability to quickly cut (Picture 1, Picture 2) what’s seen above was cleared in just under an hour and now looks like this.

This was a rather nice day for working outside. With the temperature just above freezing it was definitely cold, but being appropriately dressed once we got walking and working it was quite comfortable.

Leave a Comment

Apple Magic Trackpad and MiddleClick

Unlike the Magic Mouse (which hurt my hand within minutes of beginning to use it), Apple’s Magic Trackpad is a rather nice cursor input device. It’s identical to the touchpad in Apple’s newer MacBook Pro family, where multi-touch is used in conjunction with an entire touchpad that clicks, eliminating the need for both buttons and tap clicking. I personally cannot stand tap clicking on touchpads, so I will normally disable it and either have one hand on the button and the other on the pad (when I need to work quickly) or lift my finger to move it to the pad to click. With this device one can simply use multi-finger gestures for scrolling and app switching while clicking the entire pad with one (or more) fingers.

As the Magic Trackpad ships, Apple has support for scrolling, primary and secondary clicking (left and right), application switching, and Exposé activation. What Apple (stupidly) did not include is any method of sending a tertiary (middle) click which is the de-facto method for opening links in new tabs in all modern web browsers. Without this one has to either hold Command (⌘) and click (a two-handed affair) or secondary/right click and select open in new tab (slow). Both of these make quickly reading web pages difficult.

Thankfully a guy by the name of Clement Beffa wrote a MiddleClick, a utility which makes three-finger taps (or clicks), an input not captured by Apple’s software, send a middle click. The version (currently) on the main page (MD5 checksum e7a7e1b5f5e55cb5ffac6d091f03f8c9) is slightly broken and the 3 Finger Click option in the menu doesn’t work. However, this version (MD5 checksum 1b02e356684c40bbbb21cf83f70c52ca) does work properly and I’ve been using it to three-finger click for a few hours now. This makes basic web browsing and reading pages a one-handed affair

The only complaint that I now have about the Magic Trackpad is that the pivot for clicking is near the top of the pad, which makes clicking the pad near the top more difficult than when it is pressed near the bottom. This isn’t terrible, though, as clicking the pad near the bottom does not feel abnormal and is what I (currently) find myself doing naturally.

For the time being I’ve unplugged my mouse, and I’m quickly finding the Magic Trackpad to be quite comfortable to use. It’ll take another week or three before I’m sure that I’m comfortable with it, but for now things seem to be going quite well. I’ll need to go back the a classic mouse when using EAGLE for PCB CAD, but that’s a special case because quickly using it requires the one to do things such as hold one mouse button while clicking another.

7 Comments