CUDA on WSL

CUDA on WSL

Ever since Windows launching their subsystem for Linux (WSL), I really excited. It means that I no need to do dual boot, using emulator that takes more resource than pristine Linux itself, and many other hassle. You may say that I can just use Linux as a daily driver. But unfortunately I’m not much as a “programmer” myself. I do work with computational chemistry/biochemistry. However, being work in scientific field require me to use tools and software that mostly available in more popular OS such as Windows while not many provided for MacOS (good thing I’m not a fanboy). So at most of the time I’m literally put my one leg on Windows while the other need to stay still on Linux.

One of my requirement is to use GPU to train my machine learning. While I do have access to GPU server, I would like to test my code with small sample locally without any need to stay connected all the time. Granted! CUDA now can be used within WSL2. Here is how I set-up and some notes about it:

Lanjutkan membaca “CUDA on WSL”

Set Up Raspberry Pi 4 (B) with Ubuntu Server 20.04 (+Minimal Desktop) and Argon One Fan Control

Set Up Raspberry Pi 4 (B) with Ubuntu Server 20.04 (+Minimal Desktop) and Argon One Fan Control

*updated 2020 Oct 21, change the method to obtaining desktop GUI and adding some troubleshooting

In this tutorial, I will write about how to set complete Ubuntu server 20.04 into Raspberry Pi 4 (B) including the desktop GUI. Note that mine is 8GB version, so I use Ubuntu 64-bit for that. It may works with 32-bit or 64-bit/Pi 3 pairs. I also use Argon One case with fan control. There will be slight workaround than what is written in Argon One instruction manual.

Lanjutkan membaca “Set Up Raspberry Pi 4 (B) with Ubuntu Server 20.04 (+Minimal Desktop) and Argon One Fan Control”

NVIDIA + ARM, Will the Force be With You?

NVIDIA + ARM, Will the Force be With You?

Rencana migrasi Apple ke arsitektur ARM ternyata bukan menjadi kejutan terbesar saat ini. Beberapa hari lalu NVIDIA yang merupakan pemain besar di industri GPU mengumumkan akusisi ARM dari SoftBank. Dari sisi teknologi dan ekonomi, akusisi ini bakal mengubah total arah perkembangan industri semikonduktor dan supercomputing. Kok bisa?

Lanjutkan membaca “NVIDIA + ARM, Will the Force be With You?”

iPad Air 3 + Pencil vs Surface Pro 3 + Pen for Note-Taking (Review)

iPad Air 3 + Pencil vs Surface Pro 3 + Pen for Note-Taking (Review)

Recently I bought new iPad Air 3 (2019) for note-taking purpose. Actually I already own Surface Pro 3 (2014) and really fond with that. But then it shifted to be my personal PC for work. After spending quite some time with my new iPad Air 3, I would like to compare both of them in this blog.

Not a fair review, I know. While one is launched this year, the other is almost 5 years old. That’s why I’m gonna write a review specifically for note-taking. By Handwriting of course, with their respective surface pen and apple pencil.

Lanjutkan membaca “iPad Air 3 + Pencil vs Surface Pro 3 + Pen for Note-Taking (Review)”

Solving WiFi Signal Problem in Elementary OS (and Other Ubuntu Derivative)

Somehow my works back to programming again. Hence I must go back using linux. Unfortunately, my perfectly set Debian was wiped out when I upgrade my laptop. Then as a distrohopper, I tempted to discover any new linux flavor which is lightweight and fast. Then I decided to choose elementary OS as my next desktop.

I wont write about elementary OS in this blog. Instead, I notice that there’s some annoying problem: unlike previously where my wifi driver was not installed, this time, it’s there. But… The signal just only 1 bar! although I’m sitting less than 1 meter from my router.

So I found that this is a common problem in latest Ubuntu version. Yeah this elementary OS somehow derived from it. So I successfully solve it with the code below:

Lanjutkan membaca “Solving WiFi Signal Problem in Elementary OS (and Other Ubuntu Derivative)”