How to use the www.Prefixbox.com service to integrate a lightning fast auto-complete search into your static site.

Having an interactive and fully dynamic instant search box is a feature that has become ubiquitous for today’s internet users.


Thanks to the fine folks at letsencrypt.org you can now have completely free, yes FREE, SSL certificates for all of your websites and other web projects. This is important as SSL not only ensures that your communication with the respective site is secure but recently it started playing a pivotal role in many search engine ranking algorithms.

You can apply for the free cert using the webpage gethttpsforfree.com

They give you very detailed information about how to execute all the necessary steps. However their instructions are only aimed at Linux/Unix users. …


Huh? We’re waiting how long?

You don’t have to work for a long time in software development to come across code similar to the following

void CoolStuff() 
{
var data = GetDataWithTimeout(5000);
}
Data GetDataWithTimeout(int timeout)
{
Thread.Sleep(timeout); // or something that takes a while
}

There is one major issue with this code that specifically relates to its readability and consequently its long term maintainability.

Can you spot it?

Don’t worry if you couldn’t. This is a very easy flaw to miss and is usually not uncovered until someone is tasked with maintaining or changing a block of code like this.

What is a “timeout”

The issue with…

Sverrir Sigmundarson

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store