How to setup VPN for mobile devices with Linux server (quick and dirty PPTP)

By , last updated July 22, 2015

This is a quick and dirty guide to set up a PPTP VPN (Point-to-Point Tunneling Protocol) service on your home server, in which your high end mobile device can connect to. Imagine you are travelling, and you try to connect to your usual services for your phone. For Android, it’s Read More ...

Landing pages best practices

By , last updated July 15, 2015

We have recently encountered a problem with a huge drop-off from our front page. We didn’t have a lot of useful information on our front page – just a technical blog with lots of technical, and sometimes, difficult stuff. Recently, Google Analytics showed that there were many visits, starting from the front Read More ...
sf parent responsive preview

Design rules

By , last updated July 10, 2015

Here I will try to gather all the awesome rules of design I come over while surfing the net. There are always some genius rules that I would need to follow when developing a new website or app, but you remember nothing when it comes to it. So here’s the Read More ...
Asynchronous thread pool

How to stop a std::async task

By , last updated July 5, 2015

Sadly, this is only an intrusive way of stopping std::async. For an almost non-intrusive way of stopping a thread, look at boost::thread. Here the task is to check for primes, in a very non-optimized way consuming as much time as possible. The idea is to pass in an std::atomic_bool, which acts Read More ...
impressiona hentry

Hentry structured data importance

By , last updated July 5, 2015

We have developed a brand new theme for our website with all newest fancy frameworks like Bootstrap and Redux. It shows a submenu with sliding product links and such. The theme is clean, secure, fast and mobile friendly. Did we think it was all that’s needed? Yes. Until our impressions Read More ...

A simple, modern IRC client library in C++. Part #1, the parser

By , last updated June 28, 2015

I’ve started with a side project, making a “smart” chatterbot, which should be able to respond to given commands from other users on IRC (Internet Relay Chat). The first hurdle is to make the bot connect to a network and stay connected. In order to do that, it needs to Read More ...

scoped_ptr vs unique_ptr

By , last updated July 3, 2015

A scoped_ptr is generally known as boost::scoped_ptr, and is from the “ancient” ages before C++11 came along with the <memory> header with std::unique_ptr (and std::shared_ptr). If you’ve been using boost, and have any scoped_ptr lying around, you can (almost always) safely replace them with std::unique_ptr. There are a few subtle Read More ...
subscribe form example

Growing your online business – opt-in popups

By , last updated July 21, 2015

One of our ventures at Studiofreya is to make high resolution textures and post them at for free download and for sale. This type of business was once very profitable, but the market became extremely over-saturated pretty fast. Thus, we are experiencing huge competition from both huge established stock Read More ...
orange cat

Programmer wisdom

By , last updated June 8, 2015

What is a bad software engineer A German general, Kurt von Hammerstein, once said: “I divide my officers into four classes; the clever, the lazy, the industrious, and the stupid. Each officer possesses at least two of these qualities. Those who are clever and industrious are fitted for the highest Read More ...
inf error programming language cpp drawing sketch

1.#INF, 1.#IND and #QNAN floating point numbers and errors

By , last updated June 26, 2015

When programming, there are certain error condition that might arise from your code. If the compiler catches any compilation errors, it will stop compilation and tell you what and where the error is. The compiler also may issue a warning for certain constructs, which may or may not give you Read More ...

SmartAss IRC Bot

By , last updated May 23, 2015

This is an attempt to create an IRC bot, which can talk back to users when they mention it’s name. At the moment it’s in a very early stage of development, and main focus is to adhere to the IRC-protocol and to implement some features here and there. What language Read More ...
Boost logo

The simplest way of building Boost 1.58 for 32-bit and 64-bit architectures with Visual Studio

By , last updated May 21, 2015

Building Boost have never been easier. Just double click this .bat-file and wait for it to be finished. Put this in a file called build_boost_1_58_vs2013.bat and place it next to the boost_1_58_0 folder. The first line will add the Visual Studio tools to PATH, in essence, you can just double Read More ...
Facebook IconYouTube IconTwitter IconGoogle Plus