How to use Github



About GitHub

GitHub is a git repository hosting service founded in 2008 which allows users to work together to create source code repositories and indexes. It is the largest host of source code in the world with over 24 million users and 67 million different repositories. GitHub has been used for many video games, applications, and browser extensions.

How to Create an Account

GitHub requires that you make a username, give a valid email address and create a password associated with your username. You can set up your account here. You will also need to set an email address which you will use to commit (publish) pieces of program code from your computer. GitHub recommends that you verify your account with an email address as well.

Basic User Features
- Repository Issues
- Repository Pull Requests
- Branch Management
- User Profiles
- Organizations

Programming/Adding Repositories

To create your first repository, navigate your way to the top left of the GitHub menu bar and click "+". Now click "New Repository" and fill in the details on that page. Please note you have to have a confirmed email address to create a new repository. Now, you can download Git and clone your repository. Now you can start to code! GitHub will support any language you can think of, so write a simple program, start tracking your repository and then push your changes!

Conclusion

Learning GitHub isn't that hard once you know your way around the website and it is an amazing program that supports open-source code. If you are truly interested in being involved in this community, then you will probably need to learn much more than we could summarize in this article. Therefore, we recommend that you look to the Github Help page for support in your future ventures. If you are a total beginner, then please look at these Github guides.

Written by MakeTheBrainHappy and -Vuton-. The banner was created by bigpuppy.
Edited by WolfCat67 and jromagnoli. This was originally posted in the Scratch Open Source forums.

How many Valence Electrons does Carbon have

Answer: Carbon has four valence electrons located in its second energy level. Because Carbon only has four electrons, it can form up to four other bonds which tend to be covalent in nature.

Carbon is Element #6 on the periodic table and has an average mass of 12 amu. The model shown to the left differentiates the electrons based off of whether they are in the s vs. p orbital. Still, the two orbitals which are closer together constitute the second energy level and are all considered to be valence electrons. Source.
Carbon has an average mass of 12 amus which means that other isotopes. Indeed, carbon has three known isotopes: Carbon-12, Carbon-13, and Carbon-14. The last of these is known to be radioactive. Carbon's four valence electrons allow it to form a variety of bonds and compounds which exist in nature. It is also one of the key ingredients in molecular processes going on in your cells. Let's explore some of the compounds which carbon forms to carry out these vital processes.

Carbon can form some pretty interesting "Covalent Network Solids." Learn more about this topic in this post. They are some of the most durable materials on earth due to the fact that in order to melt them you need to break covalent bonds. Diamond is one of the hardest materials on earth, while graphite is more soft due to its more complex electronic structure. Source
One class of compounds which carbon forms, especially with itself, it a Covalent Network Solid (shown above). Carbon can also form many bonds with other compounds such as hydrogen and chlorine to form molecular solids. Methane and Carbon Dioxide, two greenhouse gases, are common compounds in which carbon is the central atom connecting all other component structures together.

Carbon is also an important component of sugars which we ingest every day. Source
Carbon is essential to holding together large complex polysaccharides which we consume on a daily basis to gain energy (ATP). Common examples of sugars are glucose, fructose, galactose, sucrose and maltose. Carbon is usually near the center of the molecule. Its four valence electrons allows it to form the maximum amount of bonds in compounds.

To summarize, carbon can form four bonds because it has four valence electrons in its second energy level. This allows it to form a wide variety of compounds and molecules which form the building blocks of many everyday materials and of life itself.


How many valence electrons are in an atom of Phosphorus

Answer: A neutral Phosphorus Atom has five valence electrons. These are contained in the third energy level of the atom. 


Phosphorus Atom Properties
The Phosphorus Element as it would be represented on a modern periodic table. Source
Phosphorus is an element which is part of Group 15 (formally known as the Pnictogen group) and is directly below the nitrogen atom. As was mentioned before, a neutral Phosphorus Atom contains five valence electrons in the third shell. You can see a Bohr Model of Phosphorus below this paragraph. It also supports the original answer of five valence electrons.
Bohr Model of a Phosphorus Atom
Bohr Model of a Phosphorus Atom.
Due to the number of valence electrons, Phosphorus is capable of forming three bonds with other elements. Yet since it has a third-energy level, it can form more than three bonds if it is favorable to do so. Phosphorus tends to form an anion even though it has a low electronegativity. Due to its high reactivity, phosphorus is never found a pure element on earth.

Electron Configuration of Phosphorus with a Lewis Diagram on the side as well. Source
The Valence Electrons are found in different types of orbitals. Two are in the s-orbital (a circular orbital) while the other 3 are in p-orbitals (bell-shaped orbitals). There are a total of 4 orbitals in the valence shell to minimize electron-electron repulsion. Since their is less electron-electron repulsion, this formation is actually more stable than one with an extra electron. Therefore Phosphorus has a higher ionization than its Group-16 (Chalcogen) neighbors Sulfur.

Phosphorus as it moves in a biochemical process. Source
Phosphorus is necessary for some functions in life and is an essential component of fertile soil. It moves as a compound (not as a pure element) through what is called the Phosphorus cycle from the soil to plants and then back into the air before returning to the soil. Phosphorus is also essential component of matches. It was discovered in 1669 by Hening Brand.

Sources:
http://thechemistryguru.com/phosphorus/

When an atom loses an electron, it becomes

Answer: When an atom loses an electron, it becomes a cation (positive ion). When an atom gains an electron, it becomes an anion.


This diagram displays the difference between a positively charged ion (cation), a neutral atom, and a negatively charged atom (anion). Source
Ions are created when an atom loses or gains an electron. Atoms can never lose or gain protons, as this would change the fundamental identity of the atom. The overall charge is determined by the balance between protons and electrons. In the diagram below, the negatively charged atom is said to have a -1 charge while the more positively charged atom has a +1 charge.

As was stated before, when an atom loses an electron, it becomes a cation. What kinds of substances can form cations?

Table Salt  (NaCl). Image Source
Substances which undergo ionic bonding create a positive cation and a negative anion which are held together by these charge attractions. Salts, such as the NaCl shown above, are a type of solid which is held together by ionic bonding. These ions disassociate in polar solvents, such as water. This is why table salt dissolves in water. In this aqueous state, the Na+ and Cl- ions begin to move around freely in the solution and become ions. These free moving cations and anions are the reason why this new solution is a good conductor of electricity.

Silver (Ag) Bars. Image Source
Metals, which usually form metallic bonds are also prone to ionizing. Silver, shown above, almost always ionizes with a +1 charge. There metallic bonds are slightly weaker than the ionic bonds before and that it why they can sometimes lose electrons without much trouble. The electrons in metals are also delocalized, which means that they can move around freely. This makes it very difficult to accurately predict what charge most metals will form. The metals with form known charges are Ag (+1), Zn (+2) and Sc (+3).

Periodic Table with electronegativies. Darker = Higher Electronegativity. Source
To summarize, when an atom loses an electron it becomes a cation. You will generally elements as cations on the left-hand side of the periodic table, since these elements have a low electronegativity. The same logic can be applied to the other side of the periodic table, where you will generally see elements as anions since they have relatively high electronegativities.



What is a Catalyst?

Answer: A catalyst is a substance which changes the rate of a reaction without being used up by the reaction. 
This diagram explains the effect of a catalyst as lowering the activation energy needed for a reaction to occur. Source
A catalyst essentially lowers the amount of energy (called the activation energy) needed to run a chemical reaction. This will allow for more of this reaction to occur which will have the outcome of usually speeding up your entire experiment. There are two different types of catalysts:

Heterogeneous Catalysts- When the Catalyst is in a different phase when compared to the other reactants.

Homogeneous Catalysts- When the Catalyst is in the same phase when compared to the other reactants.

This paper describes an interesting use of catalysts, where the scientists formed Methane based on an Iron Catalyst and some CO2. Catalysts are used in many reactions where the activation energy is to high and prevents the reaction from occurring under normal circumstances.

How can I identify a Catalyst?

You will usually find a catalyst at the beginning (with the reactants) of a multi-step process and at the end (with the products). Then you can identify a substance as being a catalyst, since it was unchanged throughout the entire process.

A biological catalyst which breaks down maltose sugars into glucose. Source

What is a biological Catalyst called?


A biological catalyst is known as an enzyme, since these are materials are proteins which were molded so that they could help speed up reactions which take place inside of the cell. They do this by supporting or hindering reactions through their active sites, which allows cells to regulate the reactions inside of them. Inorganic molecules can also serve as catalysts in biological systems, but these are not unique to biological systems.

The Lewis Dot Structure for H2O

H2O Lewis Structure
Created by MakeTheBrainHappy.
This is the Lewis Dot Structure for H2O. You could alternatively also draw the structure by including two dots for every bond. While oxygen's octet seems to have been filled, hydrogen only has two electrons for its valence shell. Based on our previous discussion surrounding the covalent bonds which hydrogen forms, we know that hydrogen's valence shell only requires two electrons because it only has a 1s orbital. Therefore its valence electron is filled by oxygen sharing another electron.  

H2O's Lewis Dot Structure gives it many unique properties mostly due to the two lone pairs on the central oxygen atom. This increases electron-electron repulsion and therefore creates a bent structure as opposed to CO2's linear structure. This "bent" molecular structure gives it many unique properties such as being polar. One of the most fascinating phenomena is the idea of "hydrogen bonding" which influences water's properties dramatically.

Hydrogen bonding is a type of intermolecular force where the electronegativity difference in the oxygen atom causes a partial permanent dipole to form between the hydrogen and oxygen atoms (shown in the dashed lines). The bonds in the water molecule themselves are covalent bonds. You can learn about the difference in this post. Source
Due to the strength of these hydrogen bonds, water has a relatively high melting and boiling point, although they are not as high as network covalent solids. Those are bonded by intramolecular forces which involve the actual sharing of electrons vs. partial dipole forces in hydrogen bonds. There are only three types of bonds which can hydrogen bond. These are N-H, O-H, and F-H bonds due to the large electronegativity differences between the molecules.

NH3 is another molecule which creates similar hydrogen bonds as H2O. Source
What other properties does water have?

Water is one of the only elements to be found in all three states (solid, liquid and gaseous) naturally on earth. Hydrogen bonding causes a crystalline structure which makes it less dense than liquid water. This is why ice floats in the oceans. Water has also a high surface tension and adhesion. Cohesion and adhesion are essential for plants who manipulate these processes to move water from the roots to the leafs to support the growth of the plant. All this is caused by the simple structure of H2O, represented by the Lewis Dot Diagram above.

Water molecules in all three states of matter. Source

Source:

https://pubchem.ncbi.nlm.nih.gov/compound/water

Scratch 101: Winter Trees

Hello and welcome to Scratch 101! In this tutorial we will be creating a "Winter Tree" that is customizable after we complete it.
Objective:
To create an animation using data structures, angles, and pen features. Think about how the image can be customized.
Final Project:

Graphical Setup:
The graphical template is located here: https://scratch.mit.edu/projects/197133814/
Scripts:
Common Mistakes:
  • Make sure that you type in the correct numbers!
  • Make sure to correctly create the "Repeater", "X", and "Y" variables. You can learn more about variables here.
  • Make sure to set the colors correctly to either "green" or "brown". Learn more about this pen block here.

What Type of Bond is joining two Hydrogen Atoms

Answer: Hydrogen atoms in compounds such as H2 and H2O are joined to the molecule with covalent bonds. This is where electrons are shared between the atoms in order to fill there valence shells. 


Representation of the covalent bond joining two hydrogen atoms in the H2 bond. Source

As we mentioned before, hydrogen can only form one covalent bond because its 1s electron orbital holds a maximum of two electrons. Hydrogen can form either a polar covalent bond or a nonpolar covalent bond (want to know the difference? Click here). H2 (shown above) is an example of a nonpolar covalent bond (because there is no electronegativity difference between the two molecules). Water (shown below) contains polar covalent bonds because the oxygen has a greater electronegativity than the hydrogen atoms.
Water is a good example of hydrogen bonded in a polar covalent molecule. Source

Why can I not call this "hydrogen" bonding?

Hydrogen bonding refers to a phenomena which occurs when an H is bonded to either nitrogen, oxygen or fluorine. Water (shown above) is a molecule which can exhibit hydrogen bonding. Due to the large electronegativity difference, strong dipoles are created on either end of the molecule (as shown below). These can then attract one another and create substances with higher boiling points.

Hydrogen bonding between water molecules. Source
 Hydrogen bonding occurs between these dipoles and these so called "H-bonds" are actually not permanent bonds and can be broken quite easily. Covalent bonds are much stronger and are used to build the molecule itself. Hydrogen-bonding could not occur between two hydrogen atoms anyway because the hydrogen always has the partial positive charge. If the hydrogen's were to get close to one another, then these like charges would repel eachother.

Therefore, hydrogen atoms are joined to themselves or other elements with covalent bonds.

How many Bonds can Hydrogen form?

Answer: Hydrogen only forms one covalent bond in order to satisfy its 1s valence shell requirement.
Representations of Hydrogen, the first element on the periodic table. Source

Hydrogen is the first and smallest element on the periodic table. Hydrogen has three different isotopes. Click on the link if you want to learn more about isotopes or about hydrogen's isotopes. Two of those isotopes are stable elements while another is radioactive. The one electron which hydrogen possesses is (when in the ground state) located in the 1s sub shell. The 1s shell only contains one orbital and therefore can only hold 2 electrons. Logically we can conclude then that Hydrogen only needs two electrons to fill its outer valence shell. The only other element which this applies to is to is Helium.

Helium also only needs two electrons to fill its outer valence shell. It already has two electrons in a electrically neutral Helium atom and therefore never forms bonds with any other elements. You can read more about this in our other blog post here. Source
Covalent bonds involve the sharing of different electrons. Each bond allows for two electrons to be shared. Since this is all hydrogen needs, it can only form one bond. This makes it very useful to cap of different lose ends in molecules. Hydrogen's electronegativity is also relatively average (2.2/4) for nonmetals and metals, which means that it normally forms both polar and nonpolar covalent bonds. Hydrogen is in its diatomic form (H2) a component of our atmosphere and one of the lightest elements of all time. It has many times been suggested as a lifting gas, but these efforts have usually failed due to its reactivity with other elements. Since hydrogen is such a small molecule, its electrons easily become exited and it emits high-frequency lightwaves (as shown below).

Hydrogen in its plasma state. Source