Bohr In

  • About
  • Tags

Extensions On Optional String In Swift

July 21, 2017

Earlier today I was writing some code that looked like this:

Continue Reading

Removing Passwords From PDFs

July 13, 2017

I recently came across a pdf file that required a password to open. This isn’t a super uncommon thing, particularly when sensitive files are being sent over email. The problem with this though is if I want to save the file (to say iCloud Drive), and open it later, I’m never going to remember the password when I need to open the file.

Continue Reading

Why I Dislike CoreData

April 26, 2017

On a recent episode of Fatal Error, the hosts talked about why they’d never use Core Data in a new project. I’m one of those people as well. I’d definitely recommend listening to the episode, but I also thought I’d jot down my reasons for never using Core Data if I have a choice in the matter.

Continue Reading

Multi Line Strings In Kotlin

April 20, 2017

I’ve recently been writing a fair amount of Kotlin for one of our products. We’re using it both in the Android app, as well as in the backend server. Since both of these use cases involve writing SQL, I looked around to see if Kotlin supports multi line strings, so I could write my SQL inline, but also not have it be littered with + and \n everywhere. Turns out, Kotlin is pretty great for this use case!

Continue Reading

Apple Accelerator

April 6, 2017

Recently, Apple launched a App Accelerator in Bangalore. Phil Schiller tweeted about it:

Continue Reading

Migrating Repositories with Git LFS

October 7, 2016

I recently decided to try migrating a private repository from github.com to gitlab.com since GitLab seems to have shipped a lot of great features recently. GitLab has a feature that allows you to import repositories, including Issues from Github, so I decided to give it a try.

Continue Reading

iOS 10 Control Center

September 15, 2016

iOS 10 was released a couple of days ago, and has finally made it onto my carry phone. Although I’d been using the betas on a secondary phone for a couple of months, I’ve only felt most of the changes over the last couple of days.

Continue Reading

Why I Think It’s Ok To Use Emoji In Business Emails

August 30, 2016

I’ll come out and say it: I’m a fan of emoji. 5 years ago, I’d have to kick my own ass for saying that. I’m not entirely sure why I started using emoji, or when, exactly, but I have been for some time now in all forms of written communication.

Continue Reading

Why I’m a Big Fan of Podcasts

August 28, 2016

I’m a huge fan of podcasts. I spend a lot of time listening to them. At the moment, I’m subscribed to 52 podcasts (the number keeps changing). A few people have asked me recently why I’m so into podcasts, so I figured I’d jot down my reasons.

Continue Reading

Amazon RDS, Postgres, JDBC, and SSL

August 24, 2016

I’m using a PostgreSQL database running on Amazon RDS for a new product I’m working on. The web service that will be connecting to the database is written in Java, using Ratpack. Since my web service is not running on EC2, I had to ensure that the Postgres instance had a public IP address, and that it only accepted SSL connections.

Continue Reading
Previous Next

Copyright © 2012 - 2018 Gopal Sharma