Using Tensorflow and Keras on M1 Macs Following the instruction here Tensorflow Plugin - Metal - Apple Developer Python (Miniforge)First, we need to install miniforge. Easiest way to do that is to use pyenv. The tool
Living with M1 Mac These are my current account of roadblocks and workaround in using the tools I frequent within Apple Silicon Mac. Mostly I'll try my best to make native works before falling
AWS Lambda Function from Docker Image Since Dec 1, 2020, AWS Lambda allow developers to uses any docker images to be executed as lambda functions. This obviously bring tons of benefits and conveniences. New for AWS
AWS Lambda Functions in Scala Initialize Scala ProjectAssuming we are familiar with SBT and have that installed $ sbt new scala/scala-seed.g8 A minimal Scala project. name [Scala Seed Project]: Lambda Scala Seed Template applied
Define AWS Infrastructure in Python with AWS Cloud Development Kit With AWS CDK, we can define an infrastructure using familiar languages (Python, JS, Java, etc) . The code will be compiled into a cloud formation JSON and deployed as a cloud
Algorithms: Sorting High level review of classic sorting algorithms with Haskell. What do we mean by Sorted?For a sorted list, every element is smaller or equals to the next one. From
Secrets in Code with Mozilla SOPS Secrets presents a challenging dilemma for infrasture-as-a-code. Solution today converge mostly on storing these secrets in some external trusted system (Kube Secrets, Docker Secrets, Build System Secrest, Vault) outside of
Self Hosted Ghost Blog setup with Docker How to set up a self-hosted ghost blog with docker, mysql, TLS, and backup script.
Consistent Python Build with pipenv Managing dependencies in Python is kind of a mess. Let's try to make that better with pipenv
Using AWS as Terraform Backend Terraform is great at provisioning cloud infrastructure. Terraform needs to keep the current state somewhere. Local filesystem can be used in many cases, but not ideal if there are multiple
JDK 14 Feature Overview JDK 14 was officially GA released on 17 March 2020. These major releases are much more frequent in past years. However, I still find the release notes not an ideal
Using Kubernetes Locally in MacOS Install Dockerbrew cask install dockerInstall Kubernetes in DockerGo to menu bar, select the whale icon -> preferencesSelect Kubernetes tab, then "Enable Kubernetes"Check that docker is working~ ❯❯❯ docker run
GPU-accelerated Machine Learning on MacOS with Keras and PlaidML There aren't a lot of GPU-accelerated Machine Learning Framework in MacOS besides CreateML or TuriCreate. Luckily, we could use PlaidML as a backend for Keras as it implements Metal Performance
Manage Java Versions with JEnv Experimenting with different versions of Java made easier by a handy tool. InstallFirst, install JEnv itself. brew install jenv JEnv simply assist in managing Java versions. We have to install
SystemD Quickstart A quite handy framework built-in to most Linux distro. SystemD helps in setting up a process that restarts itself on boot, and when it crash. This is what many packages
javascript Generate QR Code for WiFi Instead of having your guests hunting for WiFi name and type in your weird password, let them scan a QR code and connect with ease. Change wifi-name , wifi-password below and
Interactive ClojureScript in a blog with Klipse I've always been looking for ways to put interactive code in a blog. For Javascript, there's CodePen. For ClojureScript, there's KLIPSE First, try fiddling with the ClojureScript expression below and
blog From Medium to Ghost 2.0 Ghost has advanced so much this year. At this point, I highly recommend it to everybody writing a technical blog. It is time to stop fiddling with Medium and jump over.
Creating Single secure Airflow instance on Ubuntu 18.04 Airflow installation beyond the basics are pretty involved. This is my notes on how. This note assumes the reader wanted to access airflow…
Zeppelin — Notebook สำหรับApache Sparks สำหรับคนที่ติดใจเขียนโปรแกรมแบบ notebook ผ่าน jupyter ตอนนี้มีโปรเจคที่ค่อนข้างใหม่ชื่อ Apache Zeppelin เหมาะมากสำหรับสาย data ที่ใช้…
สร้าง Kubernetes Cluster บน Google Cloud Platform เนื่องจากเป็นโปรแกรมเมอร์งบจำกัด เพิ่งมีคนใจดีให้เครดิตมาลองเล่น GCP ก็เลยสร้าง Kubernetes Cluster ซะเลย ง่ายสุดก็เข้าไปกดคลิ๊กๆ…
Manage Digital Ocean with Terraform สำหรับคนที่ชอบเปิดเอา Compute Node มาเล่นแต่ยังไม่ใช้ Kubernetes ถ้าใช้ Terraform เราก็จะสามารถ สร้างและเชื่อมกับ DNS ได้เลยเร็วๆ บน…
จัดการเครื่องมือ Machine Learning ด้วย Conda เดี๋ยวนี้เริ่มเล่นเครื่องมือ ML ต่างๆ ตัว Python Environment มีหลาย dependency ตีกันมั่วไปหมด…