Airplay On Raspberry Pi - Hifi Setup

I’ve had this setup for a year now, it’s useful if you don’t have optical out from your devices like your laptop or your phone. Why optical out? Because analog out from computers are noisy. Noisy as in electrical noises. Without even cranking up the volume the hiss and garbled noise is unbearable. From that point on, I will only output digitally and will only output analog from either a DAC or a mixer. ...

February 8, 2021 · Batista Harahap

Macbook Air M1 Experience for a Software Engineer

In short, It’s GREAT! What can I say more other than it’s just a fantastic machine to play with. At the moment I have a Macbook Pro 16" i9 top of the line, a Ryzen 5600X gaming PC and this new laptop. The i9 16" is just not in the same league as this M1 Air. But that’s not all I have to say, I’m looking at this from a software engineer’s point of view. ...

February 1, 2021 · Batista Harahap

Blogging With Hugo

Before this post, my blog was a self hosted Ghost installation. I hardly update the installation, it’s been at its 0.11.x install for quite a while. It’s not quite straightforward it seems to update to the latest Ghost version. I didn’t want to use MySQL as it’s not needed for my scale, couldn’t get it to work with sqlite3 unfortunately. So I went shopping and immediately liked Hugo. Pre Migration Going to talk more about what led me to Hugo. It started with Pico but was immediately discouraged because the website is not served throught HTTPS and although I have nothing against PHP, it’s still PHP. Dug deeper about static file blogging platforms, wanted a Python alternative to find that it’s not great, it’s too bland for my taste and most importantly it looks old (sorry..). ...

January 11, 2021 · Batista Harahap

Learning FastAPI By Doing - Let's Go Bro!

A few days ago I published a Python Sanic backend and an Android app of a weekend project I did a few years ago. The project was simply directing people to a random cheapest return flights from where they are, set a budget and just press Go. It was written when async Python was beginning to mature. So I thought why not learn something new (FastAPI) and compare it with Sanic. ...

January 2, 2021 · Batista Harahap

Microsoft Flight Simulator - 8700K, 3700X & 5600X with an RTX 3080

As I said here and here, Microsoft Flight Simulator 2020 is beautiful. Been flying non-stop the past few months, to this day I’ve logged 229 hours of game time. Flying virtually made me remember moments and also an opportunity to learn something new. This blog post is about what you get in the game with combinations of CPU’s I’ve tested it on and RTX cards namely 2070 Super and 3080. The combinations are all feeding a 4K60 monitor with HDR turned on. ...

December 5, 2020 · Batista Harahap

cTrader Bots - Runing 24/7 At Home

Lately I’ve been indulging myself in learning more about trading much more than cryptocurrency. During the last 2 weeks I jumped head first into Forex and Precious Metals. It’s different, volume is always high, unlike Bitcoin. Gained a new perspective, while other people might see as manipulation, I see how market maker moves as just another day at the office. Anyways, I learned how to automate some parts of the tradings, here’s what I experienced. ...

November 1, 2020 · Batista Harahap

The Case Of Pairing 3700X and 3080

It has been known that the 3080 is a power hungry GPU while 3700X is supposedly a power efficient CPU with a TDP of 65W. Pairing the two should not be a problem powered by a Corsair RM 750W PSU, or is it? Here’s what happened to my rig. Hardware Spec Before anything else, here is the spec I built: AMD Ryzen 7 3700X Corsair H115i Pro AIO Watercooler AsRock X570 Taichi Motherboard 32GB HyperX Fury 3200MHz Palit Geforce RTX 3080 GamingPro OC Corsair RM750 80+ Gold The Problem The same 3080 was paired before with an Intel i7 8700K rig. I had no problem whatsoever from the hardware. Ran everything just as it should. But there were the occasional stutter when playing Microsoft Flight Simulator 2020, my theory was that there wasn’t enough bandwidth somewhere to do something. So I tried to pair the 3080 with my AMD rig. ...

October 23, 2020 · Batista Harahap

Microsoft Flight Simulator 2020 - Beta Testing Using Your Customers

First of all, WHAT A FLIGHT SIM! In terms of graphics, I don’t think there’s anything close to rival. Leveraging Azure’s worldwide CDN to stream content is a brilliant feat, flight sim content being dynamic means improvements to the content will be delivered faster to us. Picture perfect graphics though comes with a hefty tax on our PC builds, this is next gen material. Built for MSFS 2020 As much as I love the graphics, was not impressed with frame rates. I bought a new casing to house a PC built for this game. Expected to get decent 50-60 FPS but I wasn’t getting it. ...

October 20, 2020 · Batista Harahap

Small Upgrade For The Hackintosh

My last post about my hackintosh is when I was still on Ryzen 3700X/X570 pair. It was overkill for my day to day work, instead I built a new PC just for the hackintosh and used the higher end pair for gaming. It was a great decision, introduced me to the microATX form factor. For a work computer (trading and programming), a microATX board fits my use case. It’s small but it’s big enough to host all my peripherals. I started with this spec. ...

September 15, 2020 · Batista Harahap

Building A Bitcoin Trading Bot With Sanic

For the longest time, I’ve been wanting to write a trading bot to leverage on TradingView’s alert system. For any indicator or strategy you use, you can set up alerts which will then send the notification to various destinations including a webhook. They have a strict 3 second must reply rule which is not trivial the first time I thought about it. Persistence and a lot of codes later wins though, found a way. ...

August 20, 2020 · Batista Harahap