(Hint: You do it with Rosetta 2)

Image for post
Image for post

Here’s what to do while you wait for developers to add native ARM support for the x86 apps you know and love, such as Homebrew (which should be getting support soon).

Use “arch” to run commands in the native Terminal

You can run x86 terminal commands with Apple’s Rosetta 2 by adding the following arch command before it:

arch -x86_64 /bin/bash

So to install Homebrew, run the following:

arch -x86_64 /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/in...)"

You can read more about this here.

Create a separate Rosetta 2 Terminal

  1. Open Finder and navigate to Applications -> Utilities
  2. Right-click on the Terminal app and choose Duplicate
  3. Rename your newly duplicated Terminal app something special like Terminal-Rosetta
  4. Right-click…

A few material things to make your quarantine life more comfortable — and some helpful tips so you can stay sane too.

Image for post
Image for post
My work from home setup.

Quarantine has been stressful for all of us, and if you have the luxury of working from home, your setup is an essential factor in keeping you happy and productive. Since nobody knows how long these conditions are going to last, it is worth investing some money (if you can afford it) on some sweet gear. Also, keep in mind that there is no such thing as a “perfect” setup so do what works best for you and make it unique to your taste since everyone has different needs!

Furniture

Desk — Analiese 4-Drawer Writing Desk


Historical analysis and comparison of theories from St. Anselm and Ibn-Sina

Image for post
Image for post
mik38 via Getty Images

It takes greater faith to believe that an unseen God exists than it does to dismiss it. This is problematic to philosophers and people of religion since you cannot physically confirm that god is there. As a result, early-medieval philosophers such as St. Anselm and Ibn-Sina (Avicenna) attempted to prove the existence of god using vastly different methods rationally.

St. Anselm was an 11th-12th century monk and the Archbishop of Canterbury who was famous for his ontological proof, a philosophical argument for the existence of God.


A lesson in basic macroeconomics, and why we can’t trust corporations to play nice on their own

Image for post
Image for post

Nothing in the economy is as simple as one thing making another happen. Inflation is simply the value of the dollar becoming less, which raising minimum wage does affect. Inflation is caused by adding to the supply of money. Raising minimum wage helps circulate the money that typically pools at the top of the chain, thus increasing consumer spending, boosting the economy.

Low-income individuals tend to spend a higher percentage of their wealth (Engel’s Law), meaning that if their wages increase, they will have more to spend. This relationship leads to money circulating in the market rather than pooling in…


How filmmakers use deliberate editing and frantic camera movements to create overwhelming tension

Image for post
Image for post
Whiplash, 2014

Damian Chazelle’s 2014 film, “Whiplash”, is a beautifully crafted masterpiece that tells the story of a battle between two obsessive characters devoted to their craft of jazz music. On one side we have our protagonist, Miles Teller’s Andrew Neiman. An ambitious and arrogant first-year jazz drummer at a prestigious school that wants to become a legend. In the other corner, we have J.K. Simmons’s Terrence Fletcher, the egomaniacal and imposing conductor of the school band who often pushes his students to their breaking point. …


Image for post
Image for post
Xcode 11 Demo at WWDC19

I was recently working on an iOS app when I found myself in need of renaming my project. This can be useful if you ever need to make a copy of one of your projects to serve as a basis for further development or want to completely overhaul your app’s branding. Unfortunately, the process of refactoring can get a bit complicated in Xcode 11, especially if you are using Cocoapods, additional libraries, or have several subfolders and schemas. In this short tutorial, I will explain how to comprehensively rename your Xcode project without breaking anything in 7 straightforward steps.

Step…


How 2019’s Best Horror Movie Will Make You Afraid of the Light

Image for post
Image for post
Midsommar, Ari Aster (2019)

Horror films are generally associated with darkness, small spaces, and nighttime. After all, it is in the shadows of the night when there is no safety nor comfort where situations seem the most terrifying. Ari Aster’s 2019 film, “Midsommar,” challenges these classic horror tropes by providing a bright and colorful cinematic experience that is beautiful to watch while just as unsettling. Set in a rural Swedish town where the sun never sets, the film features a group of American graduate students who partake in pagan festivities and become entangled in its dangerous rituals. …


A simple project for learning the fundamentals of web scraping

Image for post
Image for post

Before we start, let’s make sure we understand what web scraping is:

Web scraping is the process of extracting data from websites to present it in a format users can easily make sense of.

In this tutorial, I want to demonstrate how easy it is to build a simple URL crawler in Python that you can use to map websites. While this program is relatively simple, it can provide a great introduction to the fundamentals of web scraping and automation. …


Setting up iTerm2, ZSH, and VS Code for optimal performance and aesthetic

Image for post
Image for post
Make coding look pretty

As a developer you spend a ton of time on your computer, you deserve the best experience possible. In this tutorial, I am going to show you how to improve your current setup with tools and themes to make development more fun.

Install iTerm2

iTerm2 provides the best terminal experience on Mac by far. While the built-in Mac OS terminal gets the job done, iTerm2 gives you some really great functionality and impressive 3rd party plugins. If you’re going to be spending a lot of time in a terminal you’re going to want all the little thing this app provides. …

Ahad Sheriff

writing about life, culture, and technology.

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