Open in app

Sign In

Write

Sign In

Adam Berg
Adam Berg

174 Followers

Home

About

Published in Level Up Coding

·Mar 1

How to Build a Blog in Rust — Static File Server

Originally published at https://devtails.xyz. Video Walkthrough Initialize Project cargo new blog Listen on Port 8000 and Respond With 404 // main.rs use std::{ io::{prelude::*}, net::{TcpListener, TcpStream}, }; fn main() { let listener = TcpListener::bind("[::]:8000").unwrap(); for stream in listener.incoming() { let stream = stream.unwrap()…

Rust

3 min read

Tutorial: How to Build a Blog in Rust — Static File Server
Tutorial: How to Build a Blog in Rust — Static File Server
Rust

3 min read


Published in Level Up Coding

·Feb 6

Why I am Struggling to get Behind Next.js and Vercel

I’ve written enough articles about JavaScript to have had plenty of people tell me I should just use Next.js instead of learning how to do things myself. I finally had some time to dive in to Next.js …

DevOps

6 min read

Why I am Struggling to get Behind Next.js and Vercel
Why I am Struggling to get Behind Next.js and Vercel
DevOps

6 min read


Published in Level Up Coding

·Dec 28, 2022

Am I Overreacting? Or is React Over-Reacting?

Originally published at https://devtails.xyz. Edit January 4, 2023 As expected, there’s been a lot of focus on the specific example presented. While some of these criticisms are valid, the point of the article is not the specific behaviour demonstrated. Instead it’s about demonstrating the expense of a single React render…

JavaScript

12 min read

Am I Overreacting? Or is React Over-Reacting?
Am I Overreacting? Or is React Over-Reacting?
JavaScript

12 min read


Published in Geek Culture

·Nov 22, 2022

Building a Web Browser With SDL in C++

Originally published at https://devtails.xyz. You can see the current progress and even read this article using the engram browser from your browser. That’s right, this browser has been compiled with emscripten to wasm so you can run a browser in a browser. This post is the first post in likely…

Programming

7 min read

Building a Web Browser With SDL in C++
Building a Web Browser With SDL in C++
Programming

7 min read


Published in Level Up Coding

·Nov 22, 2022

How to Build an HTML Parser in C++

Originally published at https://devtails.xyz. Intro I’ve started building a web browser and initially set it up with a relatively hacky regex to “parse” the HTML. This had no regard for nested structures and very likely had all kinds of other issues. The google search results for “build html parser in c++”…

Programming

5 min read

How to Build an HTML Parser in C++
How to Build an HTML Parser in C++
Programming

5 min read


Published in Level Up Coding

·Nov 8, 2022

Building a Simple Database in Javascript

Originally published at https://devtails.xyz. I have been using MongoDB since about 2015. I have enjoyed the flexibility of not defining schemas and constantly running migrations. Particularly when it comes to prototyping and experimenting. As part of my project, https://github.com/engramhq/engram, I am re-learning, exploring, and sharing how different parts of web…

Database

9 min read

Building a Simple Database in Javascript
Building a Simple Database in Javascript
Database

9 min read


Published in dev/tails

·Oct 11, 2022

Publishing to Medium from Jekyll Using Medium API

Originally published at https://devtails.xyz. All of my technical writing is originally written for https://devtails.xyz/. dev/tails is a blog hosted from Github Pages and built using the jekyll static site generator. Up until now, I’ve relied on Medium’s “Import a Story” feature to cross post to Medium. Unfortunately, almost 100% of…

Software Development

3 min read

Publishing to Medium from Jekyll Using Medium API
Publishing to Medium from Jekyll Using Medium API
Software Development

3 min read


Published in dev/tails

·Oct 10, 2022

How to Run Unit Tests With Jasmine and TypeScript

Originally published at https://devtails.xyz on October 10, 2022. See source code on Github This post describes how to write and run jasmine tests in node when using TypeScript. The general approach used here is to compile all TypeScript files to a build folder and then run jasmine out of the…

Nodejs

2 min read

How to Run Unit Tests With Jasmine and TypeScript
How to Run Unit Tests With Jasmine and TypeScript
Nodejs

2 min read


Published in dev/tails

·Jul 17, 2022

Five Positive Interactions for Every Negative One

Residence Advising When I was a Residence Advisor back at UBC, I received all kinds of coaching and advice about how to become a better leader. …

Management

5 min read

Five Positive Interactions for Every Negative One
Five Positive Interactions for Every Negative One
Management

5 min read


Published in dev/tails

·May 14, 2022

Building My Own App to Enhance Language Learning

Background A couple of years ago, I read Fluent in Three Months and was inspired to tackle learning a new language. After studying and working with computer languages, I realized that learning new ones became easier and easier once I understood the underlying concepts. Around the same time, I committed myself…

Language Learning

6 min read

Building My Own App to Enhance Language Learning
Building My Own App to Enhance Language Learning
Language Learning

6 min read

Adam Berg

Adam Berg

174 Followers

Building https://kaizen.place. writing about C, C++, rust, game development, web development, engineering management. https://devtails.xyz/

Following
  • Charles Chen

    Charles Chen

  • Emily Waters

    Emily Waters

  • Jake Berg

    Jake Berg

  • Brian Armstrong

    Brian Armstrong

  • Benjamin Byram

    Benjamin Byram

See all (10)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech