Jeff Epler's blog

14 October 2014, 13:47 UTC

Sprint recompression of JPEG files


When showing my blog photos on my phone, I noticed that they looked terrible. Shown above is a detail of the original image (not entirely free of JPEG artifacts) and of the same area after it was recompressed by sprint. (zoomed 200%, nearest neighbor scaling)

It turns out that sprint recompresses jpegs and this is documented by sprint, but it's still terrible.

It also affects ting.com users, since they are a sprint reseller. (and I didn't find any ting documentation about this misfeature yet)

This happens both on the phone itself, and to devices tethered via the phone.

Most images aren't mangled quite as badly as this one, but their claim that there's "no user perceptible loss of quality" is bunk.

Here are the jpeg files zipped up, in case you are interested in inspecting them for the jpeg compression details: original-and-recompressed.zip

I know that serving web pages over https is the new hotness; here's another reason to do it, since sprint couldn't rewrite the contents of content served over https.

Original image, converted to png

Sprint-recompressed image, converted to png

[permalink]

10 October 2014, 1:30 UTC

Halls Gap Zoo


Jeff took some really neat pictures in Halls Gap Zoo, not far from Horsham.

read more…

1 October 2014, 14:10 UTC

Digital Ocean vs Atlantic.net: Some simple (and simplistic) benchmarks


A few months ago I moved most of my web presence to Digital Ocean. With the cheapest instance costing $5 a month, this beat my former provider dreamhost.com (at about $9 a month for shared hosting), while offering much better performance.

Digtal Ocean (and VPS hosting in general) doesn't offer the "unlimited everything" of dreamhost's shared hosting plans, but the $5/month VPS has more available CPU power (which means pages get served faster) and it has enough space to host all the photos and blogging I've posted online for about 13 years.

When I chose Digital Ocean, one of the main reasons I picked them over hosts like linode.com was that their cheapest hosting plan was lower in price. For price points where Digital Ocean and Linode overlapped, their offerings were about the same in CPU, memory, and storage.

Enter Atlantic.Net. They offer a VPS at the $0.99/month price level. It has less RAM and less disk than Digital Ocean's $5/month instance, but it's still enough to run a substantial website (256MB RAM, 10GiB disk). I decided to try it out, because one of the websites I run is a moinmoin wiki, and that software is perhaps high-profile enough to see security exploits (as opposed to my blogging platform, which nobody's heard of or uses). So yesterday I moved that website from Digital Ocean to Atlantic.net.

I decided to run some tests using the simple 'ab' benchmarking program. All tests reported below were run with '-n 100 -c 4', and I report the 95th percentile time in milliseconds (so smaller is better).

My Digital Ocean instance is in the nyc2 region, and my Atlantic.net instance is in the USA-Central-1 region. I ran tests from each cloud server as well as from windstream and roadrunner in Lincoln, Nebraska, USA.

Source Digital Ocean Atlantic.net
Static content Dynamic content Static Content Dynamic Content
Digital Ocean 1 ms 124 ms 100 ms 1093 ms
Atlantic.net 100 ms 2091 ms 1 ms 59 ms
windstream 104 ms 1823 ms 46 ms 1133 ms
roadrunner 415 ms 2154 ms 73 ms 1158 ms

While there's probably a great deal of measurement error in there, it looks like overall Atlantic.net's faster—both in CPU speed, which is why locally generating dynamic content is faster than on Digital Ocean; and in connection speed to where I am. But that may well just be a matter of where the datacenters are, as Lincoln Nebraska sounds closer to "USA-Central" than "NYC".

Other differences that could influence performance: the Digital Ocean instance is running Debian Wheezy and the Atlantic.net instance is running Debian Jessie.

Other points of comparison between Digital Ocean and Atlantic.net:

  • I like the Digital Ocean control panel better
  • Digital Ocean has a referral program so I've gotten several months of service free.
  • My tests were very simplistic, and done at one time of day, with no control over the other load on the systems in question
  • Unintentionally, some of the Digital Ocean tests from roadrunner went via an IPv6 tunnel which can negatively affect performance

Which hosting should you choose for modest hosting needs? Start by trying Digital Ocean with my referral code—you are receive a $10 credit, enough to run their smallest instance for two months, and I get a credit too. If you're incredibly budget minded, or want the slight edge in performance that I am measuring, try Atlantic.net instead and get VPS hosting for as low as $0.99 a month.

[permalink]

20 August 2014, 14:04 UTC

Kingfisher Cruise


We took a lovely cruise on the Murray River, between the border of Victoria and New South Wales, courtesy of Kingfisher Cruises. It was a fun trip exploring a shallow river area with a wide mix of birds.

read more…

7 August 2014, 11:22 UTC

Odroid U3 with kernel 3.8.13.14-rt31


I've merged 3.8.13.26-rt31 with the odroid-3.8.y branch, and I got a kernel that has reasonable realtime performance on my Odroid U3. I've put the tree (including my config, as arch/arm/configs/odroidu_defconfig) on github.

The U3 isn't without annoyances and the idea of LinuxCNC on ARM isn't free from worries, but I now have a platform dedicated to devloping linuxcnc uspace that draws only 2W when idle, and can build LinuxCNC from clean in about 4 minutes. Not bad!

[permalink]

27 July 2014, 2:13 UTC

Minnesota 2014


Photos from a week exploring Minnesota. Lots of flowers and flower sculptures.

read more…

22 July 2014, 16:52 UTC

Tasmania #2


For the second half of our tour around Tasmania, we went to Freycinet National Park, which was absolutely gorgeous. Had a great hike up to view Wineglass Bay, and then visited other bays and areas of the park. We also stayed not to far away at Windsong B&B. We then spent a day on the tiny Maria Island enjoying being away from people and cars. For the last day, we explored the Royal Tasmania Botanical Garden in Hobart.

read more…

24 June 2014, 12:35 UTC

Better pasting for irssi in X

15 June 2014, 19:19 UTC

Tasmania Sites #1

3 June 2014, 2:59 UTC

Zoos in Victoria

17 May 2014, 20:10 UTC

Healesville Sanctuary

10 May 2014, 16:53 UTC

More Sites Around Victoria

All older entries
Website Copyright © 2004-2014 Jeff Epler