Learning Go: Second Exercise

Today's exercise is all about slices. We'll need to generate an image by passing a slice of slices to pic.Show. Here's the link: https://tour.golang.org/moretypes/18 package main import "golang.org/x/tour/pic" func Pic(dx, dy int) [][]uint8 { slice := make([][]uint8, dy) for fIndex…

Read this article

Learning Go: First Exercise

I decided to blog my self study adventures in learning Go. I'll start with A Tour of Go's exercises and then follow through my own personal small project, probably a blogging platform that reads markdown files. I already did this, and have my go-learn self study codes in github, but…

Read this article

The Fifth

Quick update about our fifth month together. A visit to the Chiropractor I experienced two seizures this month, one was when I was driving back to work and the the other was during one of the midweek meetings wherein I had an assignment. It was quite embarrassing to be honest…

Read this article

Featured

My notes in setting up Arch

I'm aware that there are many many articles on how to setup Arch Linux, with the official Wiki as the best one to check out first. I just documented my experience on setting up Arch with the objective that I should be able replicate the same setup and environment on…

Read this article

Featured

May the Fourth be with... us

It is the fourth month of being together! <3 It's been a busy month, and a really stressful one (financially). But let me break it down the usual way :) Certification exams and their awful exam system So, my wife was sent to Singapore by her company to take important…

Read this article

Featured

When distro hopping...

So I've been distro hopping for the past couple of weeks, and I always googled how to format my boot drive and then write an ISO to my flash drive as bootable (boot-able, I'm getting a wrong spelling indicator with the "bootable" word XD) USB drive. Since I did that…

Read this article

Featured

Three for thought

We just entered the 3rd month of being together, and a lot has happened, both positive and negative. I'll start off with the positive: Successful JW Broadcasting We just hosted our group's broadcasting for this month, and everything went smoothly. What I like about it being hosted on our place…

Read this article

Featured

Looping in successive order with Async calls

Let's first define an example problem to better understand the issue we have with normal looping: For example, we have an array of post IDs that we would fetch and then print it out on the console const ids = [1, 2, 3, 4]; for (var id of ids) { fetch(`${API_…

Read this article