Device Bit Rates / Speeds

Many devices are connected to each other over different cables and interfaces. But not all devices can transfer data at the same speeds. The device or connection with the lowest speed determines the maximum speed. Following are some common devices and their speeds.

 Cell Phone Interfaces

  • Edge (Evolution type 2 MS): 148 kB/s download
  • HSPA+: 5.25 MB/s download
  • LTE (2×2 MIMO): 21.6 MB/s
  • LTE (4×4 MIMO): 40.75 MB/s download

Wide Area Networks

  • DS1 / T1: 0.2 MB/s

Local Area Networks

  • Ethernet 10BASE-T: 1.25 MB/s
  • Fast Ethernet 100BASE-TX: 12.5 MB/s
  • FireWire 400: 50 MB/s
  • Gigabit Ethernet 1000BASE-T: 125MB/s

Wireless Networks

  • IEEE 802.11a: 6.75 MB/s
  • IEEE 802.11b: 1.375 MB/s
  • IEEE 802.11g: 6.75 MB/s
  • IEEE 802.11n: 75 MB/s

Wireless Personal Area Networks

  • Bluetooth 4.0: 3 MB/s

Peripheral

  • USB low speed: 192 kB/s
  • USB full speed: 1.5 MB/s
  • USB hi-speed (USB 2.0): 60 MB/s
  • USB super speed (USB 3.0): 625 MB/s x 2
  • Thunderbolt: 1,250 MB/s x 2

View a complete list of device speeds

php.exe is not a valid win32 application. Access Denied

Recently, I needed to run php from the command line on Windows. I had php in my PATH but when I ran the command, an alert window popped up saying “php.exe is not a valid win32 application.”. In my terminal / command line, the response I got was “Access Denied.” Somehow, the php.exe file size become 0 bytes. To fix this, I just overwrote that file with the original php.exe file (60 KB) and reran the command and it worked.

If you get this error, check the file size of your exe.

Placehold.it – Dynamic Placeholder Images

When developing websites, sometimes (unfortunately), not all assets, such as images, are available. In this case, you can use placeholder images using a service at www.placehold.it. For example, to insert an 350 px wide by 150 px high image, you use the following code:

<img src=”http://placehold.it/350×150″>

Below is how the placeholder image looks

You can also change the color of the image and add text to it dynamically. More information at www.placehold.it

Book: Data Center Fundamentals

I’ve been looking for a good book on data center network design and infrastructure architecture which includes a thorough yet not boring explanation of load balancing, clusters, caching and proxy servers, firewalls, and SSL. I also want a book that includes, most importantly, diagrams to make it easy to see the flow of information and where things are relative to each other. After much research, I have found the book titled “Data Center Fundamentals” to be pretty much exactly what I’ve been looking for, even though it was published in 2003.

The book can be purchased from Amazon or you can Google “data center fundamentals PDF” and download a free PDF of the book.

Webmin: GUI for Linux System Administration

As a developer, I spend most of my time writing HTML, CSS, Javascript and PHP. But, every now and then, I need to SSH into a linux server and run commands on the command line. What I hate, though, is having to remember all of these commands which I just don’t use that often. Recently, I came across a web-based GUI for most Linux systems. It’s called Webmin and is an actively maintained projects. With it, you can perform Linux system administration from a website interface and your changes will update the actual files as if you updated them manually.

To learn more, go to http://www.webmin.com

Continue reading Webmin: GUI for Linux System Administration

Save Chili’s Paradise Pie

I just got back from Chili’s and to my unpleasant surprise and disappointment, our waiter told us that Chili’s will be discontinuing their Paradise Pie!!!!! That’s the best dessert EVER!!! Please contact Chili’s and tell them NOT to discontinue their Paradise Pie. This is so crazy … I just can’t believe this!!!!

Call Chili’s NOW at 1-800-983-4637, Monday through Friday from 11:00 AM to 5:00 PM ET, excluding holidays or post a comment at http://www.chilis.com/EN/Pages/contactusform.aspx.

The dessert in the picture below is what the world will be without if we don’t stop them. Call now!

Converting Excel CSV File Encoding to UTF-8

Recently, I needed to take an Excel CSV file, read it using PHP, loop over each row, and insert each row into a MySQL database. The database was configured to support UTF-8 characters. Unfortunately, the Excel CSV file was not UTF-8-encoded. To figure to the file’s encoding, I opened it in Notepad++ which told me that it was encoded as UCS-2 Little Endian.

I then downloaded iconv which is available for both Unix and Windows and tried to convert the file’s encoding from UCS-2 to UTF-8 which seemed to work. The command I ran was Continue reading Converting Excel CSV File Encoding to UTF-8