How to Fork a Process

2 posts

Forking processes may be old school concurrency, but it works wonders in many circumstances

Read more →

How to Parse JSON

7 posts

Parsing JSON is used in much of todays programming, learn how here.

Read more →

How to do Concurrency

Concurrency is many things. This is why it is put into a subject. There a coroutines, fibers, threads and futures. Not all languages have them all, but most languages have at least one of them

Read more →

How to make HTTP Requests

Using HTTP(s) apis is so commonplace, you need to know how to do it. Even if your API of choice, does not have a native SDK in your language of choice

Read more →

How to make a CLI Program

CLI programs are very useful. And too many tools that could be an awesome CLI tool get made as a subpar desktop application - don't be that guy

Read more →

How to make a Web Project

Web Projects are a broad subject, from PHP, Ruby, Python and Elixir which have big frameworks, ready to use, over e.g. Go where it is easy to make a quick custom HTTP Server, to low level languages like C and C++.... We will try to focus on the shortest path in the language.

Read more →

How to parse TOML

TOML is used for configuration in many frameworks

Read more →

How to parse YAML

YAML is used for configuration in many frameworks

Read more →

How to read Program Arguments

14 posts

CLI Programs usually needs to be able to handle some sort of input

Read more →

How to read a File

10 posts

All interesting programs will have to be able to read files at some point

Read more →

How to read from STDIN

10 posts

Most linux tools will be able to take input from STDIN, your tools should too

Read more →

How to use SQLite

1 posts

SQLite is an awesome database library. You can use it in memory, or with files. It is fast enough for most - especially non-concurrent or non-write-intensive - workloads

Read more →

How to write JSON

3 posts

Reading JSON is not enough, learn how to write it as well

Read more →

How to write XML

1 posts

XML may not be the hip new text format it once was (was it ever?), but it is a tool in your arsenal, you still need to know how to use

Read more →

How to write a TCP Server

3 posts

Not all of us need to write TCP servers for a living. But learning how, will teach you a lot

Read more →

How to write to a file

3 posts

Next to reading files, this is probably the most important thing your program can do

Read more →

Project Euler

1 posts

Problem solving by writing programs

Read more →

Project Euler, problem 1

1 posts

Multiples of 3 and 5

Read more →