1 of 39

Introduction to Programming Languages

Wayne Zhao, Toomas Tennisberg

2 of 39

Java

3 of 39

Island

Most populated island (Indonesia itself is 4th most populated country, and has the largest Muslim population)

Largest city is Jakarta (also the capital of Indonesia for now), the “Big Durian”

Most widely spoken language is Javanese

It had been a kingdom for many centuries, which even endured European colonialism, and is now thriving

4 of 39

Geography

150,000km^2

13th largest island in the world

Volcanic in origin

Over 150 mountains

Perfect for rice cultivation

Longest river is the Solo river (600km)

5 of 39

Climate

Average temperature between 22 and 29

Wet season from November to April

Tropical rainforest

Human pressure on wildlife

6 of 39

Coffee

Grown in Java

Originally planted by Dutch

Decimated by rust :O (see later)

Arabica blends got replaced with less flavorful versions like robusta

While “java” used to refer to coffee grown in Java, now it can refer to any coffee since it’s genericized

7 of 39

C and C#

8 of 39

Notes

Famous note; “middle C” is what’s where all the other notes on the piano are measured off (even though thought the middle note is clearly, like, E)

C# is enharmonic with D♭. Which means they sound the same in isolation on, say, a piano

C to C# is a half step.

You don’t really hear them played together at the same time but this happen in jazz

9 of 39

Python

10 of 39

PYTHON

Cold War British continuation of government plan

Central Government War Headquarters (BURLINGTON)

Cuban Missile Crisis happened and this caused it to be replaced in 1968

11 of 39

Pythonidae

Family of 31 species of snakes (that means they’re reptiles and all that comes with that)

Found in Africa, Asia, and Australia

Named for the mythical serpent killed by Apollo

12 of 39

Ruby

13 of 39

Aluminum Oxide

With some chromium added

Red in colour (Latin ruber - red)

One of the five cardinal gems

Birthstone for July

Value determined by four Cs (color, cut, clarity, carat weight)

Synthetic rubies since the nineteenth century

14 of 39

Juice

Ruby Red juice :D

Try some!

It’s grapefruit.

I don’t think you’ll want more.

15 of 39

Haskell and Brook and Curry

16 of 39

Haskell Brooks Curry

Haskell Brooks Curry (1900-1982) was an amazing logician

He actually studied as a grad student at MIT!

Many mathematicians advised Curry not to study logic since it was considered “dead”

Curry was eventually convinced to study combinatory logic after reading Principia Mathematica

Developed combinators and their application to other areas of logic like lambda calculus

17 of 39

Go

18 of 39

The game for humans

Oldest continuously played game

Objective to control the most territory

Very simple rules, very complex strategy (rules differ by country)

Believed to be impossible for computers

AlphaGo

19 of 39

Rust

20 of 39

Iron Oxide

Happens when iron reacts with oxygen

4Fe + 3O2 -> 2Fe2O3

Resulting material is weaker and larger than previous

Can cause structural collapse

Symbol of neglect and decay

21 of 39

Pestilence

Of order Pucciniales

A really common and diverse fungus that wrecks crops

Only infect plants (and each of the several thousand species only afflicts a few plants)

They looked like rust (iron oxide)

Historically, rust has been extremely damaging to crops, especially to coffee, pine blister, and cereals

22 of 39

Video Game

If you want this game, you can get it on Steam I guess

It’s like Minecraft in its open-world-ness, except it has significantly more raiding

Started off as a clone of DayZ

Unfortunately, it doesn’t feature the best part of Minecraft: punching trees to get materials

23 of 39

Swift

24 of 39

Apodidae

Small, nimble bird

Similar to a swallow, but not related at all

Related to hummingbirds

Very fast (31m/s)

All continents except Antarctica

25 of 39

Lisp

26 of 39

Speech impediment

Misarticulation of sibilants ([s], [z], [ts], [dz], [ʃ], [ʒ], [tʃ], [dʒ]) or (s, z, ts, dz, sh, zh, tsh, dzh)

Sibilants are a slightly vaguely defined category where air is pushed over tongue and through teeth

Usually caused by tongue being too far to the front (beyond the teeth)

Can sometimes be fixed by speech therapy

27 of 39

PASCAL

28 of 39

Blaise Pascal

French religious philosopher who did science to relax himself at night

Worked on fluid dynamics in the seventeenth century

Showed that pressure is a function of height, not weight

Showed that atmospheric pressure drops with height

Pascal’s triangle

Pascal’s wager

29 of 39

Perl

30 of 39

Pearl

An object made out of calcium carbonate (CaCO3)

Found in molluscs

Usually formed around an irritant

Natural or cultured

31 of 39

R

32 of 39

Letters of the Alphabet

The Ancient Greeks had a “ρ”. Most people will say a capital “ρ” is a “R”. But it used to be the case that it was a symbol intermediate between “R” and “P”.

When “P” developed, “R” gained the tail to differentiate it.

The lowercase “r” is just Latin cursive. Imagine drawing “R” but not closing the loop all the way.

33 of 39

IPA

  • “r” is very funky. It seems to make different sounds in all languages
    • A lot of Romance languages make it a trill, except it ends up slightly different in these languages
  • “r” sounds in general are called rhotic. But there are many types.
    • Surprisingly, lowercase “r” isn’t what we call it in the IPA.
    • The American “r” sound is actually represented by “ɹ” (except it gets written as “r”).

34 of 39

Julia

35 of 39

1984

Major character in the story

Active member of the Outer Party

Little knowledge of life before

Loved Winston

Got caught

Betrayed him

36 of 39

Whitespace

37 of 39

Unicode Characters

  • Possibly some of the most important Unicode characters
    • Unicode actually lists 17 different “space separators” and 25 character have the White_Space property
  • But even this isn’t all the whitespace characters humans use.
  • Before typewriters, we actually used many more spaces.
    • Humans used to put a space mid-way between the thin space and hair space for quotation marks, for instance.
  • Spaces are important. When spaces change, the result looks unnatural.

38 of 39

Hollywood

39 of 39

Home of the US film industry

Formed in the early 20th century

Independent filmmakers running from Edison’s patent lawyers

Grew to be a major center for the film industry

Picked because it features a lot of different climes around it, mountains, valleys, deserts, oceans, etc.

It’s named after that giant “HOLLYWOODLAND” real estate sign

A lot of countries have their film industries with names like “Hollywood” or just get called “Hollywood of”