There may be a time when you need to implement an interactive map in your web application. Thankfully, JavaScript has a neat library called Leaflet that can help you achieve this. In this blog, I will show you how to create a basic interactive map, along with adding markers and other shapes.

Leaf
Leaf

Leaflet

Leaflet is an open-source JavaScript library that allows developers to add fully interactive, mobile-friendly maps to their web applications. Leaflet comes with many features, such as tile layers, customizable markers, full zoom and pan control, and GeoJSON. …


Web scraping is an incredibly powerful tool software developers have that allows them to extract certain data from websites. While web scraping is possible with many different programming languages, in this blog, I will show you how to web scrape in Ruby using the Nokogiri gem.

A nokogiri, a Japanese saw
A nokogiri, a Japanese saw
A nokogiri

What is Web Scraping

Web scraping is the process of downloading the HTML or XHTML of a webpage, then extracting data from it. There are many different ways a web scraping system fetches website data. Some systems rely on a bot or a web crawler that automatically parses website data. Other systems utilize DOM parsing and even computer…


One of the fundamental concepts in computer science and programming is something called “Big O Notation”. In this blog, I’ll be going over what Big O is, why it is important when it comes to programming, and various examples of Big O.

Big O and bagels
Big O and bagels
Big O, bagel, same thing, right?

What is Big O Notation?

Big O notation is used to describe the runtime, or time complexity, of different algorithms. Although we use the word “runtime”, Big O does not describe how long an algorithm takes in milliseconds or other units of time. Instead, it describes the runtime of an algorithm in terms of the input size and the number of operations it…


Syntax vs. Semantics

On your journey to becoming a software engineer, you will most likely be learning more than one programming language. With different languages, you may have heard the terms “syntax” and “semantics” thrown around here and there, but what do they really mean and why is it important to the context of programming languages? Lets take a closer look.

Syntax

According to Merriam-Webster, the definition of syntax is “the way in which linguistic elements (such as words) are put together to form constituents (such as phrases or clauses)”. Syntax is heavily related to grammar, and usually deals with the order of words…

Brian Cheung

Software engineering student at Flatiron School. Loves all things gaming, photography, and anime.

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