Skip Yaourt Prompts on Arch Linux

Yaourt is probably the best tool to automatically download and install packages from the Arch User Repository, also known as AUR. It’s really powerful; however, by default, it prompts you a LOT for confirmations of different things, such as checking if you want to install something, if you want to edit the PKGBUILD, etc. As a result, Yaourt is pretty annoying if you’re used to the hands-free nature of most other package managers....

April 4, 2017 · 1 min · Rezha Julio

One Hell Named JSON

Today on my AWS Lambda Python function, its suffering from an error ValueError: Expecting property name: line 1 column 2 (char 1). This function receive a json events from AWS Kinesis and send it back to kafka. Apperently this is an error from json.loads if you have a json strings with a single quote >>> json_string = "{'name': rezha, 'ganteng': true}" >>> json.loads(json_string) # ValueError: Expecting property name: line 1 column 2 (char 1) To fix this, you could use ast....

April 3, 2017 · 1 min · Rezha Julio

Using Google URL Shortener with Your Domain! For Free!!

I sometimes feel like URL shorteners are some of the most understated tools in internet marketing, and there have been more than a few times that I wished I’d had someone share some advice on URL shorteners. For instance: What do you do with really long links? What if you want to track the results? What if the link—long and unwieldy—upstages the content? What if I am on a platform where every character count?...

March 19, 2017 · 4 min · Rezha Julio

Lightning Intro To Go

The Go Programming Language Go is a compiled programming language in the tradition of C and C++, with static typing, garbage collection, and unique language features enabling concurrent programming Latest Release: 1.8rc3 (1.8 will be out soon) Developed internally by Google to solve the kind of problems unique to Google (ie, high scale services/systems) Designers/developers of Go have deep ties to C/Unix (Ken Thompson, Rob Pike, Robert Griesemer, et al) Hello World in Go...

January 22, 2017 · 13 min · Rezha

Is Schemaless Databases Really Exists?

There’s no such thing as a schemaless database. I know, lots of people want a schemaless database, and lots of companies are promoting their products as schemaless DBMSs. And schemaless DBMSs exist. But schemaless databases are mythical beasts because there is always a schema somewhere. Usually in multiple places, which I will later claim is what causes grief. There Is Always A Schema We should define “schema” first. It comes from Greek roots, meaning “form, figure” according to my dictionary....

January 16, 2017 · 5 min · Rezha Julio