Explore your training options in 10 minutes

X

Back







James Gallagher

Technical Content Manager

James Gallagher is a self-taught programmer and the technical content manager at Career Karma. He has experience in range of programming languages and extensive expertise in Python, HTML, CSS, and JavaScript. James has written hundreds of programming tutorials, and he frequently contributes to publications like Codecademy, Treehouse, Repl.it, Afrotech, and others.

State of the Bootcamp Market Report 2021
Last year, we published our State of the Bootcamp Market 2020 report, a retrospective on the bootcamp space over the last decade. In 2019, the coding bootcamp market grew 4.38%, and we estimated 33,959 people attended and graduated from a…
Python ‘numpy.ndarray’ object is not callable Solution
Like any regular Python array, you can access the contents of a NumPy array using indexing. The indexing method, which uses square brackets, lets you see one item in a list or a particular part of a list. If you…
What is Pseudocode?
Developers usually do not start writing code immediately after a big assignment. The issue with this approach is that the developer will have to think about how they go about completing the assignment as they go. In many cases, it…
Python Convert List to String: A How-To Guide
Suppose you are building an application that shows the grades a student has earned on a test. These grades are stored in a list but you want to present them as a string. How would you go about doing that?…
Python AttributeError: ‘numpy.ndarray’ object has no attribute ‘append’ Solution
In regular Python, you can use the append() method to add an item to the end of a list. You cannot use this method in NumPy. If you try to use the Python append() method to add an item to…
Git fatal: remote origin already exists Solution
The “origin” keyword is commonly used to describe the central source of a Git repository. If you try to add a remote called “origin” that already exists, you will encounter the “fatal: remote origin already exists” error. In this guide,…
Python Copy File: A How to Guide
You may need to copy a file in a number of programs. Imagine if you wanted to build a logging function for your program that begins with a predefined set of text. You could create a copy of an existing…
Python ValueError: math domain error Solution
In mathematics, there are operations which do not work on negative numbers or zero numbers. Consider the square root, for example. You cannot find the square root of a negative number. Python recognizes that not all operations work with negative…
Python ValueError: list.remove(x): x not in list Solution
You cannot remove an item from a list if it does not appear in said list. The Python error ValueError: list.remove(x): x not in list tells you the item you want to remove does not appear in the list. In this…
Bash permission denied Explanation and Solution
Files on an operating system usually have permissions, making the file accessible to a limited range of people. For instance, some files on a computer are accessible only to administrators; other files are only accessible to a particular user. If…
Python JSONDecodeError Explanation and Solution
Many developers store data from a program in a JSON file; other programs reference APIs which require working with JSON. Indeed, you will have no trouble finding a use case for JSON, or its Python equivalent, dictionaries. You may encounter…
Python FileNotFoundError: [Errno 2] No such file or directory Solution
In most cases, any file you reference in a Python program needs to exist. This is, of course, unless you are creating a new file and writing to it. If you reference a file that does not exist, Python will…
How to Describe Leadership Experience in an Interview
Are you applying for a job that will involve managing other people? If so, there’s a high chance that you will be asked to describe your leadership experience in your job interview. Questions about your prior leadership experience help interviewers…
JavaScript Try Catch: A Step-By-Step Guide
JavaScript try catch blocks are error handlers. The "try" block contains the code you want to test. "catch" contains code that will run if the code in your "try" block cannot execute successfully. When developers are testing their programs, it’s…
JavaScript Array Length: A Complete Guide
The JavaScript array length property states the number of items in an array. To find the length of an array, reference the object array_name.length. The length property returns an integer. You’ll often want to know how many values are in…
SQL CREATE TABLE: How-To Guide
The SQL CREATE TABLE statement adds a table to a database. Using this statement, you can specify the names of the columns in the new table and the types of data each column can store. You can also state any…
SQL OR and SQL AND Statements
The SQL OR statement returns records who meet one of many specified conditions in a WHERE statement. The AND statement returns records who meet all the specified conditions. Both clauses use the syntax: WHERE condition AND/OR condition...; SQL WHERE statements…
HTML Select: A How-To Guide
The HTML <select> tag creates a list from which a user can select one or multiple options. A <select> tag should contain one or more <option> tags which represent the choices from which a user can select. Selection boxes are…
Python Index: A Step-By-Step Guide
The Python index() method returns the index position at which an item is found in a list or a string. index() returns the lowest resulting index for the item. A ValueError is returned if the specified item does exist in…
HTML Title Tag: Step-by-Step Guide
The HTML <title> tag defines the title of a web page. This title appears in the tab bar on your browser and when you add a page to your bookmarks list. All web pages should contain a <title> tag. When…
Python Average: A Step-by-Step Guide
There are two ways to find the average of a list of numbers in Python. You can divide the sum() by the len() of a list of numbers to find the average. Or, you can find the average of a…
Python Pass: A How to Guide
The Python pass statement is a placeholder keyword. It is used in empty code blocks such as a for or if statement to prevent against a syntax error. Python recognizes the section of code in which a pass statement is…
Python List Comprehension: A How-To Guide
A Python list comprehension is a way of creating a list based on an existing list. List comprehensions are commonly used to filter items out of a list or to change the values in an existing list. List comprehensions are…
JavaScript JSON: A Guide
JSON, short for JavaScript Object Notation, is a way of storing data. In JSON objects, values are mapped to labels called keys. JSON objects can store any data type, including strings, integers, and other JSON values. JSON is a standard…
Python Remove Key from a Dictionary: A Complete Guide
The Python pop() method and del keyword remove keys from a dictionary. pop() accepts the name of the key you want to remove from the dictionary as an argument. The del keyword stands on its own and refers to a…
Python insert(): A Complete Guide
The Python insert() method adds an item to a list. This method accepts two arguments: the position at which you want to add the item, and the item you want to add. Suppose you have a list of student names,…
Python Dictionary Keys: A Complete Guide
The Python dictionary keys() method returns an object which contains the keys in a dictionary. You can use the list() method to convert the object into a list. The syntax for the keys() method is: dictionary.keys(). You may want to…
JavaScript Ternary Operators: A Step-By-Step Guide
The JavaScript ternary operator evaluates a statement and returns one of two values. A ternary operator can be instructed to return a value if the statement evaluates to either true or false. The syntax for the ternary operator is: statement…
Launch Your Tech Career with a Pathrise Fellowship
Landing your dream tech job is becoming increasingly difficult as competition heats up. In order to bridge this gap, Pathrise is looking to support people looking for a tech job through their Pathrise fellowship.  Pathrise, which launched in early 2018, has adopted…
JavaScript Modulo: A How-To Guide
The JavaScript modulo operator returns the remainder of a division sum. To calculate the remainder of a division sum, use the percentage sign (%). The syntax for the modulo operator is: (number_one % number_two). How to Use the JavaScript Modulo…

Many careers in tech pay over $100,000 per year. With help from Career Karma, you can find a training program that meets your needs and will set you up for a long-term, well-paid career in tech.

Career Karma

Find the right bootcamp for you

By continuing you agree to our Terms of Service and Privacy Policy, and you consent to receive offers and opportunities from Career Karma by telephone, text message, and email.

X
A person sitting on a dark green chair with a laptop on their knee