Soemarko Ridwan

iOS & Web Developer ⟡ Coffee Addict ⟡ Scuba Diver



Network Wide Ad-block
Network Wide Ad-block

As the tagline said, blackhole for internet ads. Ever since the day of the original Adblock (even before ABP), I no longer able to browse the internet without some kind of ad blocking. But today, where most things turn into some kind of app, ad blocker doesn’t really work outside of browser. And that is where pi-hole comes in.

I never really took to Raspberry Pi, unlike Arduino, Pi doesn’t really inspire me to do anything with it. But I bought a couple of Zero W, cause it was dirt cheap, and they sit on my shelf for a year or so. Until I came across dietpi, a super lightweight, extremely minimal version of the OS. And it is designed to work headless right off the bat. I literally look for things to do with my Pi. Again, uninspiring. So I just install CUPS, and turn my USB printer into wifi printer. That’s it. These days, we hardly print anything anyway.

Until I came across pi-hole in one of the list of supported software in dietpi. Seriously, dietpi is a brilliant OS. literally just hit a checkbox, and you have pi-hole installed. Make sure you have static IP for the Pi device, and set your router DNS to the pi-hole, BAM! You’re done. Most ads are gone. Even the one in your apps. Since pi-hole is blocking on the network level, it won’t be as clean as a browser extension blocker. The boxes will still be there, but they are just empty boxes or a placeholder messages.

After using pi-hole for 3 days, turns out 30% of my queries are blocked. OMFG! a third of my internet queries are either ads or trackers. Seriously, pi-hole is so good that it’ll be worth it for you to get a $10 Raspberry Pi just for running it. Think about it, it’s like having $10 once for a lifetime service of ad blocking within your network.

A little caveat when running pi-hole under dietpi, it’s a bit tricky if you want to run dnscrypt as well (still way easier than compiling and installing everything on your own), personally, I just wait until dietpi added dnscrypt to their supported software list. Up until a few days a go, I was running nothing other than pointing my DNS to CloudFlare’s 1.1.1.1. Pi-hole is a huge step-up. I can wait a bit for dnscrypt.


Uber & Lyft == GoJek & Grab
Uber & Lyft == GoJek & Grab

An interesting post from Washington Post about Uber / Lyft;

But Lyft and Uber are a different story. They’re not selling a song or a movie that can be endlessly replicated for little incremental cost; they’re selling a physical service that’s pretty expensive to deliver. At some point, we’re going to have to pay for it.

Heavy users of ride sharing should start getting used to the idea that the cost will soon go up, and plan their lives accordingly. And investors should prepare for demand to drop when customers and drivers discover the true price of the service.

I have told and repeated that to many folks in start-up world around me about GoJek and Grab. Literally the clone of Uber or Lyft in Indonesia, and some of Southeast Asia for Grab. The days of having food delivered to our door cheaper than the parking fee will go away, sooner or later.


Softaculous + Bludit
Softaculous + Bludit

Awhile ago I’ve posted about automating Bludit’s backup, but you know what guys? My cheap ass shared hosting has a better way to do it. Turns out the bug I mentioned in that post it was my own doing. When I wanted to test Grav as my blog, I installed it through Softaculous and I turned on auto update. That’s why my Bludit installation kept being overwritten by Grav.

So I fix that, and upon further investigation, I found Bludit on Softaculous, which I can import my current installation into it. And through Softaculous, I can set up periodic back-up. Then, this is what’s blowing my mind, I can create a staging copy of it. It basically just making copy to another directory, but it’ll change my current workflow. I do all the needed changes on the staging site, then hit the “Push to Live” button. After a quick test, it’ll spit out an error, but it still works.

The only downside I’ve seen is that the analytics on live site is overwritten by the one on the Staging site. I don’t really care about that. If I want to be creepy and track everyone that come to this site I just use Google’s analytics, but I really don’t care about analytics at this point.


On Money
On Money

Upon returning from my scuba trip to Raja Ampat, what I normally do is editing the clips and compile them into one-minute video for my instagram. While doing that, I like to catch-up on my youtube, I played them on my iPad as a background. But one of the recent video from Casey Neistat caught my attention.

The whole 10-min video can be sum up by a single line from Kanye’s Good Life;

Having money's not everything and not having it is.

This really resonates with me at this moment, as I mentioned on my yearly theme post; I’ve been coasting with my past income for awhile now, but now it’s time too aim for more stability especially in terms of income. Again, this is my year of adulting.

Being a digital nomad is current new hotness. I’ve been a subscriber to /r/digitalnomad for awhile now. It seems like an ideal situation for me. I’ll have most of the flexibility I’ve been having for awhile now, but I’ll also have a stable income. And even more stable than most, cause having dollars as income will shield me from the instability of Rupiah, along with the shoddy political climate we’re having right now.

So, up next is me putting my past projects here on this site so it can be both my portfolio and CV. Then apply to tons of companies that accepts nomad developers. Let’s see if not having a Linked-in profile will actually bite me in the ass.

Wish me luck!



Clean -- New bludit theme
Clean -- New bludit theme

It is done. Believe it or not, I made it live, here. It was done within like 3 hours. I simplified and removed a lot of things and dependencies. I always hated the way the old one always slightly off to the side. I've spent too much time fighting with the percentage width and scaling it with css @media queries. And it never looked right.

So here, a back to basic theme, single column view with no stupid / magical CSS or JS. It'll look right on any devices without needing any kind of magic on it. You can also use this theme. It is released under MIT. So please, use it, change it, do whatever you like with it.


Hello 2019 or My Yearly Theme
Hello 2019 or My Yearly Theme

December 2018 was a heck of the month. Got married on the 1st of December, then we went diving in Alor a few days after the wedding. Then we went on 3 weeks trip to Australia, no diving though, which was a bummer but diving there was super expensive and pretty far out from other touristy stuff except for Great Barrier Reef (which sadly, mostly are already dead). That said, the trip was super fun, you should caught glimpses of our trips if you follow my instagram.

Now, I’ve caught up on my podcasts. I’m a fan of CGP Grey videos ever since his coffee video, so I also subscribed to all of his podcasts. The most recent episode of Cortex, they discuss about their past and current yearly theme. Which is cool and all but what clicks for me on this episode is the idea about project. I always thought of project as this one big thing to dedicated some time into doing it. Turns out, something as simple as a blog post can be a project. For some reason, I never thought of it that way. This will totally change my way of thinking about what I considered being productive, and how I approach my future projects.

On to my theme for 2019, I’m just going to steal iMyke past theme, this is my year of adulting. Though I have a different meaning for it. Getting married was his adulting, mine will be focusing on being a husband and in the future, a father. A main provider for my family. I’ve made good bets in the past that let me coasts for awhile, but it won’t last much longer especially now we have scuba as a hobby, and it definitely not enough to send my future kids through college.

And I have so many projects in line right now. New template for this tiny blog of mine. “Mini” apps (more on this in the near future). Blog posts. Many many ideas. Forewarned, I may write many incoherent posts (even less so than in the past), since this is my brain dumping ground. Technically I only need the posts to make sense for me, but my attempt at explaining my approach to the projects will solidify and make the ideas more grounded and way more realistic.

So, happy new year, folks!