The moral imperatives in programming

In 2010 on the message boards of the techno-futurist website LessWrong, a user going by Roko proposed a though experiment: What if, in the future, a malevolent AI were to come along and “ retroactively punish those who did not help bring about its existence…

Not Just Science Fiction

Schrodinger’s Cat is the most famous superposition thought experiment

The modern computing we use everyday has evolved rapidly over the last century. While not the product of a single inventor, modern computing systems resulted from a steady building upon of brilliant ideas and inventions that lead to breakthroughs in both hardware and software. Todays systems…

An introduction to CORS

Same-Origin-Policy

In the early days of the internet, the only available content consisted of plain text and plain files which could only be accessed via email or special message boards. When Sir Tim Berners-Lee developed the World Wide Web in 1989, he extended the availability of content…

Bringing the native experience to the browser

When mobile phones began to dominate the market in the early 2000s, they brought with them a demand for native applications. New and exciting, native apps utilized in-device features to offer capabilities unavailable to the browser experience — offline mode, push notifications, camera…

An Alternative to REST API

image via Wikipedia

Introduction

In the early 2010s, the Facebook development team was tasked with streamlining the mobile app and kept bumping up against the limitations of REST APIs. Loading a user’s posts, with all of the posts’ likes, was proving a challenge. The posts were stored in a…

Getty Images

What is a Promise?

In JavaScript, like in real life, a promise is a commitment to do something — the promise is either kept (resolved) or broken (rejected). Under the hood, promises are objects with functions attached to them, which allows us to replace clunky nested functions and save us from “callback hell”.

Jessica Beaver

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