Hey there!

I’m Bjarne, and welcome to my blog.

As a developer and enthusiast I like writing and reasoning about Bitcoin and programming. Here you can also check some of my projects I have been working on.

Start reading View Projects

Recent Posts

A Primer To Go Modules

Background on the historical transition to modules, what modules are and the advantages of using it.

Part 3: Let's Build A Broker For Submarine Swaps

In this part of the article series we will look into technical details on how to create Submarine Swaps and extend our payreq package by adding functions to create Bitcoin output scripts and deposit addresses for the swaps.

Enum vs Flag for bitmasks in Python

Ever wondered what’s behind those funny looking Unix access permission values like 600 ✋, 777 ⚠, or 666 😈? Well, they are octal representations, where each of the three rightmost digits represents a different part of the permissions for owner, group, and others. Each of these digits is created from the sum of its component bits. As a result, specific bits add to the sum as it is represented by a numeral:

Projects

Bitcoinhub

Bitcoinhub is a community driven news aggregator for Bitcoin. It is based on the idea of Hacker News, with similar functionality and simplicity.

SubSwap.dev

SubSwap.dev is the demonstration site for a broker platform for Submarine Swaps using the Lightning Network, which was documented in an article series on my blog. The purpose was to show how to integrate Bitcoin and the Lightning Network using Go. It acts as a starting point to experiment with and learn more about it in a fun environment. Forking the repository on GitHub and adding new features to the broker platform is encouraged.

Bit

Bit is a Bitcoin library written in Python and was designed from the beginning to feel intuitive, be effortless to use, and have readable source code. It was initially developed by Ofek Lev in 2016. It has since become popular and found new contributors, among which is the excellent Teran McKinney and me. I have been working on adding new features to Bit since 2017. Notable features include: Multi-signature, Segwit, transaction batching, and Mark Erhardt’s Branch-and-Bound coin selection.

Recent & Upcoming Talks

Avatar

Bjarne Magnussen

Bitcoin enthusiast

About

Being very interested in Bitcoin, algorithms and programming languages, Bjarne Magnussen is currently working as a freelancer. He obtained his Master’s degree in Applied mathematics at the University of Southern Denmark in 2016. In love with the philosophy of open-source, he is among other actively developing on and maintaining the Python Bitcoin library Bit.

To read his Master thesis with the title A Formal Programming Language For Bitcoin Transactions click here.

Oh, and in case you wondered what a dancing Lemur is doing as a profile picture? Well… we all have an inner animal to discover.

Interests

  • Bitcoin 😍
  • Algorithms
  • Math
  • Guitar playing
  • Boardgames

Education

  • MSc in Applied Mathematics, 2016

    Odense, University of Southern Denmark

  • BSc in Applied Mathematics, 2011

    Odense, University of Southern Denmark

Skills

Python

Golang

Rust

R

Experience

 
 
 
 
 

Self-employed

Jan 2019 – Present Valencia, Spain
Freelancer as a programmer.
 
 
 
 
 

Biostatistician

Center for Clinical Epidemiology, Odense University Hospital

Jan 2011 – Jun 2018 Odense, Denmark
Responsibilities included:

  • Statistical counseling
  • Epidemiological research

Accomplish­ments

Algorithms on Graphs

Algorithms on Graphs by University of California San Diego & National Research University Higher School of Economics on Coursera. Certificate earned at Friday, May 31, 2019 10:21 AM GMT
See certificate

Data Structures

Data Structures by University of California San Diego & National Research University Higher School of Economics on Coursera. Certificate earned at Thursday, April 18, 2019 8:14 AM GMT
See certificate

Algorithmic Toolbox

Algorithmic Toolbox by University of California San Diego & National Research University Higher School of Economics on Coursera. Certificate earned at Thursday, March 14, 2019 1:16 PM GMT
See certificate

Contact