Tonight we wanted to watch a show on our iPad 3 while we ate some dinner. I opened the ABC app and started to stream our favorite show. After 30 seconds the quality diminished then the show failed to load. It was time to find out why.
In our apartment we have a Motorola SBG900, a cable modem, which also acts as a wireless router. We also have a WRT160N Cisco wireless-n router. I’ll refer to them as Motorola and Cisco from here on out. When I would connect my iPad to the Motorola, the iPad would always pause at buffering movies. When I pointed the iPad to the Cisco, the movies would stream just fine. On the other hand, I noticed my iPhone 4 gets better speeds on the Motorola and can rarely connect to the Cisco router.
Using speedtest.net I was able to test speeds after trying nearly every option on both routers to determine the best settings. Here are the results.
(Upgraded firmware to 3.0.3 from 3.0.2 which allowed iPhone to connect consistently)
Wireless-N only: 15.86 Mbps
Mixed B-G: 6.53 Mbps
Wireless-N only: 4.42 Mbps
Mixed B-G: 11.33 Mbps
Wireless-N only: 15.86 Mbps
Mixed B-G: 7.94
(Switched Security from WEP to WPA for enhanced security)
11b/11g Standard: 6.86 Mbps
11g Enhanced: 6.45 Mbps
11b/11g Standard: 7.6 Mbps
11g Enhanced: 7.46 Mbps
11b/11g Standard: 5.35 Mbps
11g Enhanced: 5.45 Mbps
My best configuration is to have my iPad and my MacBook Pro connect to the Cisco router in wireless-n only setting. Then have my iPhone connect to the Motorola router in 11b/11g Standard mode. Even though the iPhone gets +4 Mbps connecting to the Cisco in Mixed B-G mode, the tradeoff on the bandwidth on my MacBook and iPad is simply not worth it.
After using a virtual machine to run windows xp and then ie 6, I have finally found a very good solution to working with every version of Internet Explorer. It is a free download called IETester.
Today I downloaded the wordpress for iPhone app and I am currently writing this post from my iPhone. I am able to upload photos from my iPhone’s photo library and make edits to existing posts. All I can say is wow and go download it yourself.
For those of you who want HTML signatures using Gmail’s web interface, there is a Firefox add-on that supports HTML signatures for multiple email accounts.
Download Blank Canvas Gmail SIgnatures
You must get an account with mozilla in order to download the add-on because it is an experimental plug-in. I haven’t had any problems with it.
Grant Skinner created an amazing regular expressions tester which is available as a web application or as a desktop air application.
This application allows you to create regular expressions and then test them on the fly. I highly recommend downloading this application for testing your regular expressions. I used this to successfully debug some regex parsing errors taking an SVG into flex.
Download RegEx Desktop AIR Application
Live Web Application
At work we ordered a Inspiron 530S as an upgrade to my previous machine. Dell tech support stated that the system would be able to support dual monitors with an extended desktop.
Here’s what happened:
Once the Inspiron arrived, we purchased a PCI Nvidia 5500 GeForce MX card. This NVidia card overpowered the ATI Radeon 2400 Pro due to a setting in the bios that gives preference to PCI over PCIe. So in short, I could never get both video cards to play together. Once I removed the NVidia card from my computer, the ATI Radeon 2400 started functioning properly for the first time. (Dell Tech Support took over my computer and they couldn’t figure out why).
Next, talked to Dell Tech Support on the phone. Their sales rep claimed that a DVI Splitter cable would support dual monitors with extended desktop. We ordered two of them. There is no setting on the ATI drivers to support a DVI Splitter cable with extended desktop. Don’t have faith in Dell Sales Reps. Do your homework before you purchase something from them.
After this failed, I noticed a black cap on a VGA port. I took it off and tried plugging in my second monitor into it and rebooted. At start up an warning message displayed stating that my video card configuration wasn’t supported and I had to press F1 to continue. I continued. The integraded graphics card on the motherboard took control over my PCIe ATI Radeon 2400. I couldn’t even get the PCIe card to show up in device manager.
I talked to a senior tech support over at dell, let’s call him, Rasheem, and after dissecting what he was saying, he stated that the only way to get dual monitors with extended desktop was to purchase a video card with a DMS-59 connector. This DMS-59 connector outputs two DVI outputs to a dongle which you can connect two DVI cables to, to support two monitors. Some even support up to four monitors.
Purchased an ATI Radeon X1300 PCIe card that comes with a dongle for $125.
Shoot me an email if you come up with a better solution or if this saved you a few hours.
When attempting to load external compiled css swfs that have an embedded font into my flex application I was getting this error: Unable to load style(SWF is not a loadable module). This is reported as an official bug on adobe’s site at: Enable Local App to load RunTime CSS.swf from Server
To solve this, you require two things.
- Crossdomain Policy
- Local Apache Web Server
Regardless if this is a bug, the host server still needs a crossdomain policy at the root of the domain. Here’s an example crossdomain.xml policy.
The next problem is that you cannot load external compiled swfs from a
document root (c:/my documents/flex projects/myProject/myProject.html) until the bug is fixed.
What I did is installed easyphp. Next, I set up an alias in easyphp. Right click on the ‘easyphp’ icon in the taskbar -> administration. I set the alias to my bin folder of my project so that when I access the url http://127.0.0.1/myProject/myProject.html it loads up my bin directory. Also in my debug settings in flex I set the default debug and run path to launch as http://127.0.0.1/myProject/myProject.html.
Now my css/style swfs are loading great remotely. The only downside is having to run easyphp on top of everything just to load in my external compiled font swfs.
Thanks to Bryce Barrand
- go to system preferences
- click on sharing
- click on “web sharing” (this will turn on the automatically installed version of apache)
- edit apache’s httpd.conf file (should be found at disk/private/etc/apache2/httpd.conf)
- Find the line that says /Directory>
- Just after that, add an Alias for each project that you want to test such as this:
Alias /nameOfAlias /pathToYourFlexBinFolder
- Set your directory node attribute to “/pathToYourFlexBinFolder”. Set the directory node value to:
Options Indexes FollowSymLinks MultiViews
Allow from all
- Restart the webserver by unchecking and rechecking the “web sharing” checkbox
should be good to go after this. you can see the results by going to http://localhost/nameOfAlias in your browser
For anyone that is confused about whether or not it is legal to use your neighbor’s wireless internet access point (router), please read this. It is illegal. After being annoyed out of my mind by an acquaintance claiming that it is legal to use your neighbor’s wireless access point if it is unsecured, I did one google search to find this:
Is It Legal to Use Open Access Wi-Fi Internet Connections?
He claimed that the “Internet Privacy Act” made it legal to use your neighbor’s wireless access point if it wasn’t secured. Too bad the “Internet Privacy Act” was a hoax.
Just because your neighbor’s front yard isn’t being used, it doesn’t mean you can go play football on it.
Before you go on educating the general public about topics like this, please do one google search.
Tonight I needed a fast php google sitemap created for my site. Here’s how I did it.
- Go to: http://enarion.net/google/phpsitemapng/download/
- Download phpSitemapNG
- Upload the folder to your web site
- Go to that folder on your web site, i.e.: http://www.mysite.com/phpSitemapNG/
- Click create sitemap, you now have a sitemap in your root folder ( http://www.mysite.com/sitemap.xml )
- Submit it to google using webmaster tools. Done.
Sitemap it up.
Speed Up Your CSS
Elliot Swan has posted a great article on how to speed up your css development. Check it out