Soemarko Ridwan

iOS & Web Developer ⟡ Coffee Addict ⟡ Scuba Diver



Yoga apps quick comparison
Yoga apps quick comparison

I’m getting back into yoga for two main reason, I want to improve my air consumption underwater, and more importantly, I want to shape my body further away from looking like a potato. I used to take yoga classes while I’m still paying for a gym membership. The gym is gone, and I don’t feel like joining another.

So, I start hunting for apps. After a quick search, 3 apps bubble to the top. I scratched out apps that are just showing images of yoga poses, push the one that charge money up front further down. I’m looking for yoga class at home.

  1. Yoga Studio (iOS & Android): after free installation, every button in the app just ask you to subscribe to their membership programs. There is 7-day free trial, but that’ll kick in after you commit to a subscription fee of $96 /year. So I just skip this one, the free is a lie.
  2. FitStar Yoga (iOS only): the only app I saw that gives completely free classes, but it is limited to one class a week. Personally, I’m not a fan of their classes. Not a fan of their music choices, it sounds like those techno electronic songs in gyms. They seem to focus more on poses and positions rather than flow and breathing. Also the app isn’t updated for iPhone X screen, really?! It’s been more than a year. The premium version costs $40 / year.
  3. Down Dog (iOS, Android, & Web): Vinyasa yoga classes. Highly recommended all over the net, including /r/yoga. While some reviews mentioned that it can be used totally free, this is no longer true. You can use it for 3 classes without any commitment, but after that you need to pay $20 / year subscription fee. The classes are quite brilliantly generated every time. Great flow along with some breathing guidance. Good music picks and we have some options to pick the types of music too. Another thing going for Down Dog app, there is a web app version. I’ve been using the web version ever since I’ve paid for the pro account.

That said, I really recommend you to join introductory classes before committing to doing yoga via app or youtube vids. It’s better to have an instructor to teach the most basic stuff rather than going in totally blind. Also youtube is a terrible way to do yoga from home, the pace will go all over the place from videos to videos, and you’ll spend like hours to look for the class you’ll actually like.


Insight into new Gmail

From a googler;

Am a googler (hence throwaway account) & I can easily tell you why this shit keeps happening! Google featureless ZERO penalties for fucking shit up! Zero! Do you know what the people who wasted two years on Allo got after it was canned? Nothing! Some of them actually got promoted!

Google GREATLY encourages “launches” - releasing something publicly. And keep in mind - no penalties if the shit is half baked, not working, only works on chrome, or some such nonsense! This is the norm! Why? Promotion. You cannot get promoted beyond a certain level in this place unless you “launch” something big.

So what do you get when you add of all these perverse incentives? Nine thousand, eight hundred, and eighty-three chat apps, and a never-ending chain of redesigns and relaunches so some people can get promoted. Do you know how many bugs you need to fix to get promoted? Infinity. No matter how many you fix, it will never get you enough “impact” for promotion. Never.

How many useless redesigns do you need to launch to get promoted? ONE!

Extra fun: people internally usually warn about this shit, complain about it, file bugs about shitty performance, etc. It is ALL ignored. Most people who’ve been here for over a few years have given up filing bugs even. Because the reply is always the same: “you’re not the target audience”! And we all know it! We all do! Some quit when they realize it, others just begin optimizing for promotion as opposed to optimizing for what is good for the user or the company. And this is how you get new gmail, for example.

TBH, I’m not a fan of the old Gmail either. Gmail is good for two things, and that’s hosting and searching emails. Use your preferred email client to access your Gmail accounts. And yeah, Gmail app sucks too. I was a fan and bought Sparrow early on, but fucking Google bought it, and pull it off the AppStore.

I was doomed for a bit after the death of Sparrow, back to Apple Mail app. Yes, Mail.app is still better than Gmail. Now, I’m very happy with Spark on both Mac and iOS. It’s practically Sparrow if it hadn’t been bought by Google and kept on being developed until today.


On The 2018 iPad Pro
On The 2018 iPad Pro

Many reviews are out, but I think this twitter thread by Matthew Panzarino hit the nail right on the head;

… it’s great - almost there - but simple things still require gymnastics to pull off.

You’ll be trundling along and then someone will send you a zip file or a download link and all of the sudden you’re caught in an outward spiral of apps, services and extensions trying to just get the files onto your machine for you to use and then into your project.

It’s going to further into becoming a laptop. So I’m gonna hold off upgrading my iPad and keep on using this 2015 MacBook Pro and the old Mac Mini (I don’t remember which year, it’s too old). I might upgrade the Mini if I have to, but I kinda don’t want to. The new Mini is pricey.

Once Xcode is available on iPad Pro, many of those issues above should be gone. By then, it should have a proper solution for looking up docs and pulling codes out of git repos. Working with fonts, images, icons, and other assets. It will then be the perfect iPad Pro for me.


Bludit’s Automated Regular Backup

So I just had a real scare, this blog suddenly just show this error on screen: Theme 'quark' does not exist, unable to display page. I was like, wtf?! And ready to scream in Bludit’s support chat room. But luckily before I did that, I looked for the backup I made when I updated bludit, then I saw it. The file structures all fucked up, seems like the shared hosting company did some kind of roll back and merged this /blog/ folder with old files, htmly files to be specific. And among other things, the index.php file was overwritten too.

I’m glad that the files under ./bl-content are intact, so I can create a clean backup from there. Nuke the whole thing, and start a new bludit instance, and restore the content. As usual, I need to learn things the hard way. Now I need to look into automated regular backup, from the situation mentioned above, you’d already know how simple it is to back-up a Bludit’s site. Just create a script to zip-up a directory, and throw that script into crontab. And here’s the script:

Read more…


Updating Bludit
Updating Bludit

I’m sure this also applies to any other flat file CMSs. Before doing anything, make sure of a few things below:

  1. Backup. Bludit backup plugin exists, but it currently has a weird bug where you need to download the file via ftp instead of from the plugin page. But I prefer just zip up the whole thing and create a snapshot outside of the installation.
  2. Do not touch the core. Anything under bl-kernel in Bludit’s case. If you need to touch the core, consider using other CMS or framework instead. If you touched the core, you literally maintain another fork of the CMS.
  3. Duplicate and renamed modified plugins. Plugins are okay to touch, just make another copy, rename, change the metadata a bit, and do whatever changes you need. This way, the changes will not get restored to the original state when files are being overwritten. For example, I duplicated the Search plugin, because I want to remove the submit button and user just need to hit return to execute the search. I just duplicate everything and call it “Search Clean.

Now with everything above is done, all you need to do is exactly like the cover image:

  1. Merge all folders
  2. Overwrite all files
  3. done.

ez pz


Wat?!

This talk is from 2012, but I just came across it. It is hilarious and too good to not share.

source


Dark Mode + CSS
Dark Mode + CSS

MacOS Mojave comes with the OS wide “dark mode” which sounds pretty awesome, I’m still on High Sierra. But I’m gonna update it soon, it’s already downloaded itself onto this Mac, and I want my disc space back.

That said, even with dark mode on, you’re going to be blinded with with a suddenly bright websites. For that, Safari is going to have a special media query for color scheme. First, you need to [download Safari Release 68] and making sure that Dark Mode CSS Support is turned on in the Develop > Experimental Features menu, and then you can add the following into your CSS:

div {
  background-color: pink;
}

@media (prefers-color-scheme: light) {
  div {
    background-color: yellow;
  }
}

@media (prefers-color-scheme: dark) {
  div {
    background-color: purple;
  }
}

Dark mode CSS

How simple is that?! I’m just touching the surface for the overall implementation, if you want to do this right, please read further into it.