Tips for speeding up the iPhone

Image for post
Image for post
Photo by Arnel Hasanovic on Unsplash

Anyone who keeps an iPhone until it breaks has likely encountered performance issues as the years go by. Apps crash, wifi has trouble connecting, and you may think to yourself — do I need to buy a new phone? iPhones are expected to degrade with time however they should last around 4 years. Try these tips and tricks before breaking the bank and upgrading to the latest shiny iPhone.

#1. Restart Phone

“Have you tried turning it off and on again?”

We can all thank the Channel 4 British sitcom “The IT Crowd” for coining the phrase “Have you tried turning it off and on again?”. When inquiring about technical support, rebooting the device is the first thing an IT support engineer will ask you to do. …


Terminal Commands Every Programmer Should Know

Image for post
Image for post
Photo by Markus Winkler on Unsplash

The terminal is an important tool that enables power users to navigate the filesystem efficiently. Often filesystems are so large and complex to the point where using the graphical file browser to search is slow and inefficient. If you’re a programmer that always has a terminal open, why not use it to run a search instead of opening up the file browser.

The two most common search-related queries include searching for a filename or folder by name and searching for files that contain a keyword. In this article, we’ll go over the commands that achieve this behavior. …


An overview of using @decorators in python

Image for post
Image for post
Photo by Scott Webb on Unsplash

You’ve likely heard the word “decorator” thrown around as a pattern in Python or seen the mysterious@ symbol in python code. Decorators in Python allow the developer to conveniently modify functions, methods, and classes without introducing repetitive code. In this article, we’ll discuss what a decorator is and how to use this convenient design pattern. It’s as fun as it sounds!

What is a Decorator?

A decorator is a function that wraps another function, modifying its behavior. To put things simply, the following example helps illustrate how a wrapper is applied to a function:

In the above example, the function decorate calls the wrapper function. The wrapper executes a print statement, the function passed in as a parameter, and then another print statement. …


Positive habits that are here to stay

Image for post
Image for post
Photo by Tiago Gerken on Unsplash

For those of us living in areas impacted by COVID, our daily lives and definition of normalcy have changed in unimaginable ways. It was on March 13th, 2020 when my department was notified to pack up our belongings and work from home for the foreseeable future. Nearly seven months later not much has changed — work from home is still enforced, social distancing is a way of life, and grabbing a facemask before leaving the house is as routine as locking the door.

The changes brought by the pandemic have caused old habits to wither and new ones to form. By no means are all of these new habits positive. For instance with gyms being closed, perhaps you aren’t as active as you were pre-quarantine. On the other hand, without having to commute to work, perhaps you’re spending less money on gas and sleeping according to your body’s optimal schedule. While not all new habits will fit into a post COVID routine, many of these habits can have a lasting positive impact on our daily lives. …


A step-by-step guide to creating Python bindings using Xcode and ctypes

Image for post
Image for post
Photo by Jerry Zhang on Unsplash.

As a Python developer, you may run into a scenario where you need to access a C++ library from Python code. An efficient way to pass data from Python to C++ and vice versa is by using Python bindings, which are libraries that bridge the two programming languages together.

Some of the many tools and modules that can be used for creating Python bindings include CFFI, PyBind11, PyBindGen, SIP, and Cython. …


A step-by-step guide to auto-documenting your Python code

Image for post
Image for post
Photo by Jason Blackeye on Unsplash

While thorough documentation is necessary, it’s often put on the back burner and looked upon as a chore and a low-priority task. As a developer, it’s easy to fall back on the mindset of “why document the code when you, the author, know exactly what it’s doing?” When the code is rapidly changing, keeping the docs up to date becomes an even more substantial burden.

Luckily, manually writing out documentation is not required due to the capabilities of Sphinx, a tool that automatically generates documentation from the docstrings in your code.

Below is a step-by-step guide to easily auto-generate clean and well-organized documentation from Python code using Sphinx. …


Advice for developers pursuing careers in VFX and Animation

Image for post
Image for post
Galaxy’s Edge. Photo by Christian Crocker on Unsplash

With experience working at several visual effects and animation companies as a software developer, there are some disparities between this industry and the rest of the tech world when it comes to landing a job and preparing for an interview.

When entering your career as a software engineer, you may be at a crossroads of whether to apply to a big tech FAANG company (Facebook, Apple, Amazon, Netflix, and Google) or a company in the visual effects, animation or gaming industry. The preparation needed for pursuing a career in the entertainment industry is quite different from that of a typical “silicon valley” computer science interview. The advice I’ve outlined below isn’t representative of all companies but is a general takeaway gathered from personal experience. …


Journey running from 3 to 26.2 miles

Image for post
Image for post
Photo by Mārtiņš Zemlickis on Unsplash

Perhaps like me, you have “run a marathon” on your bucket list. The idea of running what seems like an absurd distance, which only a small percentage of the population has achieved, is an enormous mental and physical accomplishment. My primary motivation for conquering this feat included being excited about the health benefits, and perhaps most importantly, wanting to prove to my younger unathletic self who would always hide in the back of gym class that I, too, am strong. With perseverance, anything is possible.

My journey from running 3 miles to a full marathon involved setting incremental goals and adjusting to challenges along the way. By following the steps outlined below, you, too, can knock “run a marathon” off your bucket list and introduce good habits for life. …


Personalize the prompt for increased productivity using Z Shell

Image for post
Image for post
Photo by Goran Ivos on Unsplash

As of 2019, macOS Catalina has adopted Z Shell, or zsh for short, as the default login shell. Z Shell is a Unix shell that acts as an interactive login shell and command line interpreter for shell scripting.

If you’re finding that the prompt isn’t displaying enough or too much information, this article will act as a guide in customizing the prompt using a few simple steps. By default, when you open the terminal on any macOS device, the prompt will only display the current directory. Not being able to see the full current directory path can be inhibiting when navigating across many directories. …


A guide to making your code more maintainable and robust

Image for post
Image for post
Photo by Simon Abrams on Unsplash

Code reviews are an integral part of the development process. They help to ensure you’re building robust and maintainable tools. The benefits of code reviews include increasing visibility of a project, sharing knowledge among team members, and, most importantly, detecting bugs and improving maintainability.

Any developer putting their code up for review wants constructive feedback. Feedback should not be limited to notes about style, line spacing, or naming.

The main focus of a code review should be on giving constructive feedback that will make the code more readable, maintainable and bug free.

Here are the top 10 things to look out for in every code review. …

About

Julie Elise

Software Engineer | Tech Enthusiast

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