A little something about everything

internet marketing and website development made simple..

The volume (DRIVE:) was not optimized because an error was encountered: Neither Slab Consolidation nor Slab Analysis will run if slabs are less than 8 MB. (0x8900002D)

This error appears in the event viewer when the scheduled task "ScheduledDefrag" runs.

Cause: In most cases this is cause by the -k switch which tells the defrager to perform a slab consolidation on the selected volume. This will cause an error for slabs that are less than 8 MB, and will commonly toss an error on HyperV VM's.

Solution: remove the -k switch from the task.

  • Open scheduled tasks, Microsoft, windows, defrag: "ScheduledDefrag"
  • Now click properties, actions, edit [start a program]
  • under add arguments(optional): remove the -k and click "ok", "ok"

That's it, your done.

Change Style for Multiple Elements onClick: getElementById, getElementsByClassName, querySelectorAll oh my

With a bit of creative javascript and these Methods you can do some pretty neat stuff.

On this page I've create an example for multiple elements display block/none function based onclick function. You could also utilize checkbox.checked, onmouseover, or other such functions.

You can replace querySelectorAll with getElementsByClassName or getElementById for broader browser support or you can simply create a detector onload to look for an element on the page and hide it if the Method is supported with querySelector like this:

window.onload = function(){
 document.querySelector('#compat').style.display = 'none';

The Code:


<div class="aa" style="display: block;">class: aa, no id</div>
<div class="aa" id="aa" style="display: block;">class: aa, id: aa</div>
<div class="bb" style="display: block;">class: bb, no id</div>
<div id="aa" style="display: block;">no class, id: aa</div>
<a onclick="showClass('.aa');" href="#">Looks for class: aa</a>
<a onclick="showClass('#aa, .bb');" href="#">Looks for class: bb, and id: aa</a>
<a onclick="showClass('.aa, .bb');" href="#">Looks for class: aa, bb</a>
<div id="compat" style="display:block;position:absolute;width:100%;height:100%;background-color:#fff;top:0;left:0;padding:50px; "><h1>Compatability Error!</h1>
<p>This page uses newer coding technologies. You should consider upgrading your browser.</p>
<p>for suggestions, please go <a href="http://outdatedbrowser.com/en">here</a>.</p>
<a href="#" onClick="document.getElementById('compat').style.display = 'none';">Continue Anyways</a>


function showClass(s){
 var e = [];
 var e = document.querySelectorAll(s);
 for (var i = 0; i < e.length; i++){
    if(!e[i])return true;

    } else {
 return true;

Use your imagination and see what you can do with it.

Here is a working example:

class: aa, no id
class: aa, id: aa
class: bb, no id
no class, id: aa
Looks for class: aa Looks for class: bb, and id: aa Looks for class: aa, bb

Compatability Error!

This page uses newer coding technologies. You should consider upgrading your browser.

for suggestions, please go here.

Continue Anyways

Government approved unlimited debt ceiling until February 7, in order to reopen the US government spending spree.

In a sad display of bi-partisanship our elected officials decided not only to increase the debt limit but to remove all spending limits until February 7th of 2014. With a record low approval rating the only thing that they have been able to agree on is that they want to spend more of your money. It may be time to clean house if we want to keep the US economy above water in the next few decades.

Do we really need 2.65 million federal employees?

Does the federal government really need 2.9+ Trillion of our money in 2013?

More spending means more taxes, in one form or another.





VPN setup for Windows Server 2012, How to:

VPN Server Setup in Windows Server 2012


Simple walkthrough of the steps you need in order to accomplish this are as follows:

  • Open Server Manager > Add roles and features > Next > Choose (default) role based or feature based > Next
    • Select the server you would like to install VPN services to > Next
    • Select Remote Access Role > Add features > Next > Next > Next
    • Choose (Default) DirectAccess and VPN (RAS) > Next > Next > Next > Install > Close
  • In Server Manager select Remote Access > Select more on the right of the configuration notice or select from you pending tasks
    • Select open getting started wizard if you choose the first method.
    • Select Deploy VPN Only
    • Once the Routing and Remote Access MMC is up right click the Server and choose "Configure and Enable Routing and Remote Access". > Next
      • Select Custom > Next > VPN Access > Finish > OK > Start Service
    • right click server and choose properties
      • Select IPV4 tab to configure IP Pool or leave it Dynamic
  • From Computer management or Active directory you will need to create a group or modify each user you would like to have access to the VPN
    • right click user > properties > dial-in tab > allow access > apply > ok

You should also properly setup you VPN security if you have any critical data being transmitted via this network. For assistance with this you can contact a professional IT company like Area51.mn to assist you with proper setup and network security.  

TLC vs MLC vs SLC, Performance, benchmarks and reliability.

SLC, Single Level Cell (1 bit)

  • Generally 100000 write erase cycles
  • Erase time: 1-2.5ms

MLC, Multilevel Cell (2 or more bits)

  • Anywhere from 3000 to 15000 write erase cycles
  • Erase time: 2.5-3.5ms

TLC, Triple Level Cell (3 bits)

  • Anywhere from 1000 to 5000 write/erase cycles
  • Erase time: 4-5ms


Currently TLC offers the best performance/reliability per $ due to the fact that its the cheapest software and reliability has been improved exponentially over the past few years. MLC is also fairly close in performance/reliability per $, overall a MLC 2 bit cell has about 3x more write/erase cycles than a 3 bit cell so enterprise products tend to be MLC or SLC as SLC does have the best overall reliability with generally is well over 100,000 write/erase cycles ten times that of a MLC unit without software optimizations. Since software can be used to improve the overall reliability issues things can get quite complicated.

First thing to consider is amount of data you will be writing to the drive each day and how long you need the drive to last as SSD drives will all fail at some point based on number of write/erase cycles to the drive.

If the data is static, meaning very little writing/erasing to the drive then go with TLC,

If you plan to have moderate to heavy data writes/rewites/erasing then MLC or SLC, for example mail or database server.

With standard 3x Write Amplification* and 20GB a day in new data writes a 128GB SLC drive should last about 5-6 years and a MLC drive should last about 17-18 years assuming nothing else with the drive fails before that. In a enterprise environment you might have 40GB/day and the lifespan would drop to 2.5-3 years on SLC or 8.5-9 years on a MLC disk.

Enterprise vs Consumer grade SSD's:

The real difference between consumer grade SSD and enterprise grade is how efficiently the drive handles data read/write/erase cycles and sometimes its just marketing so check the MTBF; this should be 1,000,000 at a minimum. Next you will want to check the IOPS(input/outputs per second); in most cases you should look for something with 80,000 or more for both read and write.

Note on SLC:

Because very few people need a drive to last longer than 5-10 years SLC has not had much development keeping the price high and size very small, this is why most people choose MLC or TLC SSD drives today. 


Write Amplification is when SSD cells are erased before being written, this is required. when data is written to the disk the flash controller updates the LBA with the location of the data/metadata any old data still remains on the disk and must be erased. Some drives can offer solutions to this by methods like over provisioning, allowing new data to be written next to the old data without fragmentation and erasing the old data improving performance and the life of the disk but lowering the capacity. Another method it to separate static and dynamic data sets reducing the erase cycles for content that is rarely changed allowing the firmware to be more efficient and rotate usage over the life of the drive.