Improve user experience by beautifying your checkboxes


Default checkboxes in forms can be monotonous, which is fine when you’re signing away your rights, or claiming to have read through terms and agreements, but not when you need users to constantly interact with a form. Take Snapchat for example. When you take a picture, you can then select which friends to send it to by clicking on their name. This looks and feels a lot better than having to click a box next to their name. Luckily, it is not very difficult to make checkboxes more user-friendly. I recently built…

Three things to know before starting a project with Sinatra.


Sinatra is a Ruby web application framework. It is more lightweight than other web frameworks, and is often used without the standard Model-View-Controller(MVC) pattern you would find in a Ruby on Rails application. However, if you were to create an MVC application with Sinatra, here are some tips that could help you along, as well as save you some headaches.

Use Corneal to Generate Sinatra Template

Corneal is a gem that generates a template for your MVC Sinatra app. It creates all the folders and files that you will…

An introduction to algorithms with a common interview problem


Perhaps you are familiar with the 3Sum problem or a derivative of it. The problem is as follows: Given an array of n integers, find elements a, b, and c such that a + b + c = 0. Return all unique triplets that sum to 0. There are variations where you may be given a target sum instead of 0, or may need to find only one such triplet, but the process more or less remains the same:

Simple: Using 3 For Loops

For this method, we are going…

Growing up in a small suburb of New Haven, CT, I had little exposure to the world of coding. We all did. California and its tech revolution — a land of entrepreneurial opportunity, kaleidoscopic documents, data tabulations, bean bag chairs, tremendous glass windows covered with dry-erase computations, and red bricks weathered by fog — seemed a world away for those of us who were indoctrinated with dreams of becoming doctors, lawyers, writers and skilled laborers. And thus, it wasn’t until my family moved to the Bay Area during my senior year of high school, was the allure of this inspiring…

Julian Rosenthal

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store