Elliott C. Back: Internet & Technology

Raspberry Pi Setup – First Steps

Posted in Hardware, Raspberry Pi by Elliott Back on March 26th, 2014.
  1. Change the default password–simply run sudo raspi-config and select the option from the menu
  2. Update all your packages:
  3. sudo apt-get update
    sudo apt-get upgrade

  4. Give your raspberry pi a network name (hostname.local as per raspi-config), using Apple’s zeroconf/bonjour protocol:
  5. sudo apt-get install avahi-daemon
    sudo insserv avahi-daemon

  6. Install airplay using shairport (if you want it)
  7. Setup your wifi card using wicd

The 2013 Mac Pro is Cheaper to Build as Windows PC

Posted in Apple, Hardware, Microsoft by Elliott Back on January 11th, 2014.

This should be a non-controversial opinion, but I’ve already received in an informal forum comments like:

  • the Mac is a workstation not a gaming rig.
  • If you try building it, you will end up paying more.
  • For the money and given workloads it’s a good machine.
  • For a workstation, a prebuilt is the way to go.

For the sake of this argument, we’ll be considering the higher specced 6-core, which retails for a dollar shy of $4,000. It has the following components of interest:

  • Intel Xeon E5-1650 v2 @ 3.50GHz
  • 16GB (4×4GB) of 1866MHz DDR3 ECC
  • 256GB PCIe-based flash storage
  • Dual AMD FirePro D500 GPUs with 3GB of GDDR5 VRAM each

The “FirePro D500″ is a cheaper version of the D700, which is functionally equivalent to an ATI 7970:

The W9000 is for all practical purposes a Radeon HD 7970 when it comes to hardware, but it runs at different clock speeds and has twice as much memory as consumer counterpart.

The FirePro W9000 will provide 3.99TFLOPS of single precision and 0.998 TFLOPS of double precision compute precision, unlike the Radeon HD 7970 (also based on Tahiti XT), which offers 3.79TFLOPS of SP and 0.947TFLOPS of DP performance, respectively.

The Mac Pro is already running on last generation graphics hardware, so we’ll substitute in the superior ATI R9 280X 3GB. Now is a good time to talk about tradeoffs:

  • 99.999999% of people do not need ECC memory in the Mac Pro (and Fire Pros), unless they are processing banking transactions, or flying a mission outside of the ionosphere. For those that do, they should consider the plenitude of little DRAM buffers in their hard disk controllers, motherboards, USB hosts, etc
  • We’re going to avoid Xeon, because we don’t need ECC. But we can still have hexacores, thanks to the i7-4930K, which actually outperforms the Xeon in the Mac Pro by about 8%.
  • Whatever case we pick won’t be as pretty as Apple’s.

Here’s what I come up with:

PCPartPicker part list / Price breakdown by merchant / Benchmarks

Type Item Price
CPU Intel Core i7-4930K 3.4GHz 6-Core Processor $568.98 @ Amazon
CPU Cooler Thermaltake Water 3.0 Extreme 99.0 CFM Liquid CPU Cooler $109.98 @ OutletPC
Motherboard Asus Sabertooth X79 ATX LGA2011 Motherboard $314.99 @ Amazon
Memory Corsair Vengeance 16GB (2 x 8GB) DDR3-1600 Memory $139.99 @ Newegg
Memory Corsair Vengeance 16GB (2 x 8GB) DDR3-1600 Memory $139.99 @ Newegg
Storage Asus ROG 240GB PCI-E Solid State Disk $349.99 @ Newegg
Video Card MSI Radeon R9 280X 3GB Video Card (2-Way CrossFire) $339.99 @ B&H
Video Card MSI Radeon R9 280X 3GB Video Card (2-Way CrossFire) $339.99 @ B&H
Case Fractal Design Define R4 w/Window (Black Pearl) ATX Mid Tower Case $122.98 @ Newegg
Power Supply SeaSonic Platinum 1000W 80+ Platinum Certified Fully-Modular ATX Power Supply $225.98 @ SuperBiiz
Operating System Microsoft Windows 7 Home Premium SP1 (OEM) (64-bit) $82.99 @ NCIX US
Other CPU / E5-1650 $600.00
Other Kingston 16GB 240-Pin DDR3 SDRAM ECC Registered DDR3 1866 (PC3 14900) Server Memory Model KVR18R13D4/16 $210.00
Other Kingston 16GB 240-Pin DDR3 SDRAM ECC Registered DDR3 1866 (PC3 14900) Server Memory Model KVR18R13D4/16 $210.00
Total
Prices include shipping, taxes, and discounts when available. $3755.85
Generated by PCPartPicker 2014-01-11 23:07 EST-0500

This is a far faster system, with twice the RAM, a faster CPU, much faster GPUs, but without ECC or server-warrantied parts. We also lack the amazingly beautiful case that the Mac Pro comes in.

Outlook 2007 / 2010 HTML/CSS Foreground Background Colors on Span Elements

Posted in Browsers, Code, Errors, Microsoft by Elliott Back on September 22nd, 2013.

Say for example you wanted to have a span in an Outlook email (using Word’s terrible HTML renderer) with a unique foreground/background color:


<span style="color:#FF0000;background-color:#000000;">Your Text</span>

This would be supposed to render as: Your Text, but it actually renders as Your Text. Ironically enough, you can style a table cell with foreground/background colors and all will be well. To make this work in a span, I emailed myself an Outlook HTML mail composed using their in-client email editor, saved it to HTML, and found the style that works–adding a mso-highlight CSS rule with the background color:


<span style="color:#FF0000;mso-highlight:#000000;background-color:#000000;">Your Text</span>

For whatever reason, this works…

Update: This works in some cases (if you want a black bg, red text for example) but not others. If the colors are sufficiently OK outlook works fine. I haven’t figured this out 100% yet…

Next Page »