BSON 16MB limit is not that limiting

The maximum BSON document size is 16 megabytes.  — Source: MongoDB Docs

Here are the approximate English version word counts of some popular novels:

Harry Potter
The Philosopher(Sorcerer)’s Stone – 76,944 words @ 429K
The Chamber of Secrets – 85,141 words @ 481K
The Prisoner of Azkaban – 107,253 words @ 597K
The Goblet of Fire – 190,637 words @ 1100K
The Order of the Phoenix – 257,045 words @ 1500K
The Half-Blood Prince – 168,923 words @ 969K
The Deathly Hallows – 198,227 words @ 1200K
TOTAL RAW Text Size = 6276 KB or 6.2 MB

Lord of the Rings
The Hobbit – 95,022 words @ 522K
Fellowship of the Ring – 177,227 words @ 1005K
Two Towers – 143,436 words @ 820K
Return of the King – 134,462 words @ 711K
TOTAL RAW Text Size = 3058 KB or 3 MB

Customac or Hackintosh – It just works

Story time!

In March of 2013 I decided to build a new desktop for the sole purpose of running OSX.  I’ve enjoyed getting my job done on a Macbook for several years and thought having a desktop version would just be dandy.  Being a tinkerer, I couldn’t resist the challenge and flexibility of being able to boot into any OS of my choice.  Parts were ordered and I started with Mavericks.

It worked fine until my first update.  Not that the update broke anything but the anxiety of keeping up with updates while maintaining a 100% operational system was just too scary.  After all, I do need to get work done.  I nuked my install with Windows 8.1 and life was fine for a while.  Dual 22″ screens, SSD, and kickass video card is just too dang useful in any OS, I can suffer along right?

I use various tools that give me a somewhat functional environment for my work (Cygwin, putty, etc.) but it never quite worked right if I had real work to do where I needed to send files, or copy/paste lines of code.  At the end of the day, I was just more productive on OSX even with less screen real-estate.

‘Why didn’t you install Linux?’  Says just about anyone who knows me and my love for that OS, but at the end of the day, I need to do work.  And that work involves doing demos and presentations using WebEx, GoToMeeting and various other tools that absolutely HATE Linux.  Besides, I get my Linux fill with my server, which I will detail in a future post.

Challenge accepted!

I went back to to see what progress had been made in the ‘Hackintosh’ world.  I found that they had adopted the name ‘Customac’, which I immediately liked the sound of but haven’t fully adopted yet.  I found that a new community developed custom BIOS for my board makes the OSX update process painless (no patching DSDT or manually editing plists after every update).

Thanks to the community for creating the tools that made this possible and honestly, quite painless.

Screen Shot 2015-12-30 at 3.43.25 PM

The Build

Purchased recommended (for Mar 2013) hardware:

Followed the guide for my motherboard:

Installation instructions with Unibeast and El Capitan (Thanks company Macbook!):

Only scary part was opting to use a community bios since Gigabyte essentially abandoned a REALLY feature rich motherboard.   Now I had Mavericks installed originally using the F11 version of the BIOS.  But I did have issues with USB3 and Sound working after coming back from sleep.  Not show stoppers just a hassle.  I decided to try out this new F12j community bios which fixes all of those issues without DSDT patching.  This makes applying OSX updates less of a potential headache as well.


Bus Speed Chart

According to this, a single port 10 GbE adapter needs (at minimum) to be placed in a server expansion slot that is a PCIe 1.0 x 8 (8 lane bus); a dual port adapter must go in a x16 slot if it is a PCIe 1.0 bus.

Any PCIe 2.0 expansion slot can handle a dual port 10 GbE adapter, since the slowest bus (x8) runs at 4,000 MB/s.

So, if you are providing a 10 GbE solution using older servers, check with the customer (or verify!) that they will have an open server expansion slot that is x8 or x16.

Bus speed requirements

Bus speed requirements are listed below:

·        4 Gb Fibre Channel requires 425 MB/sec

·        8 Gb Fibre Channel requires 850 MB/sec

·        10 GB Fibre Channel requires 1,250 MB/sec

Bus speeds in PCIe servers

PCIeXpress 1.0 x 1 250
PCIeXpress 1.0 x 2 500
PCIeXpress 1.0 x 4 1,000
PCIeXpress 1.0 x 8 2,000
PCIeXpress 1.0 x 16 4, 000
PCIeXpress 1.0 x 32 8,000
PCIeXpress 2.0 x 8 4,000
PCIeXpress 2.0 x 16 8,000
PCIeXpress 2.0 x 32 16,000


Excel Sort IP Address

You are actually sorting the decimal value of the IP Address.

A2: IP Address

IBM developerWorks: How to build your own “Watson Jr”

Tired of that expensive home lab going to waste keeping up with this whole “cloud” fad…and thus paying your mortgage?  How about putting that computing power to something useful?  Build your own Watson!  After you’ve completed your “Lab-in-a-box” you will have the equivalent virtualized hardware to complete the Watson Jr cluster.

[] IBM Watson – How to build your own “Watson Jr.” in your basement