Recently, I’ve been studying how Kopia stores its data and from that, I have some changes I would like to make to the hypothetical backup system I’ve designed.

How Kopia packs work is that each pack is basically just data from multiple chunks appended together without any marker in between…


Why am I writing this?

When you want a pick a file-system for external storage that’s compatible with multiple operating systems, you get to pick between these:

  • FAT32 — An oldie supported by all popular OSes, but no longer a good choice due to lack of support for files larger than 4 GB
  • NTFS —…


First things first, yesterday I’ve decided to write my own backup software, but after a bit more investigation, I came across Kopia which did most of what I wanted, has great CLI and documentation, and is in active development. …


Introduction

As more and more of our life are becoming digitalized, I’m sure many of you will agree that it can be devastating to loss data, perhaps some important work that will take ages to re-do, or some photo with sentimental value that are lost forever. …


TL;DR

To fix:

Error while starting native debug session: java.lang.RuntimeException: Found broken LLDB configuration

Replace the content of Android Studio.app/Contents/plugins/android-ndk/resources/lldb with the one from the Intel version of Android Studio and everything should work.

Tested on Android Studio 2020.3.1.

Full Story

So I’ve been testing Android Studio on macOS on Apple Silicon (M1)…


Decently large flash storage such as 64 GB flash drives or SD cards are now very affordable. With such a large size, one might think, why not install Windows or Linux on it and use it instead of a hard drive? Not a live-CD-style installation but an actual installation.

I…


While I was playing around with connecting SD cards to the ESP8266, I ran the SdInfo sketch and found one interesting message.

“Data area is not aligned on flash erase boundary! Download and use formatter from www.sdcard.org!

I find this intriguing since as a computer user, I’ve always seen SD card as a raw storage device where it stores bytes and you can put any…


In a previous story, I have written about connecting an SD Card to an ESP8266. During my adventures, I have discovered some interesting tidbits.

One thing is that SD cards support what is called “CMD38” which tell the SD card to erase certain blocks without actually writing zeros to the…


I have decided to play around with connecting MicroSD cards to the ESP8266. From various examples sketches that came with Arduino, I know that it is possible but have never looked into the detail, thinking that it requires some dedicated hardware.

The Protocol

Fascinatingly, no such dedicated hardware is needed and with…


I have an idea for a small project which requires the usage of WebRTC — a web technology which allows peer-to-peer connection between browsers.

WebRTC can be a bit complex due to its distributed nature. To understand more about setting up a WebRTC connection, I’ve created a simple page to play around with WebRTC: https://pawitp.github.io/webrtc-labs/signaling.html

Check below for a demo!

Pawit Pornkitprasan

Software Engineer

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