“LISP” – The God’s Computer Language

Lisp is a Functional programming language, a 1950s product created for symbolic computing in Mathematics, used popularly in 1980s for Artificial Intelligence.

Famous software “Mathematica” is written in Lisp.

Unfortunately, because of the memory hungry requirement — hence the unique Garbage Collection slow backend processes — Lisp lost its attractiveness in the PC-dominant era of 1990s and 2000s, replaced by the most polular language Java which was invented by James Gosling, a former ‘Lisper’ who had created the popular FranzLisp.

Java has its great success in the past 20 years (1995 – now) in web clients, backend servers, and mobile (Android).

In the multi-cored CPU devices like Smartphones, Java is poorly suited for concurrency, and its object-oriented feature becomes a disadvantage in tracking/debugging the complex web of objects. Java language syntax is lengthy and verbose for mobile apps development.

The old Functional programming Lisp is short, readable, and without the disadvantage of complex objects. The memory size of smartphone is huge (32 GB – 128 GB), so no longer a limit for Lisp.

The return of Lisp happens in 2015 as “Clojure” language. There are few approaches to using Lisp on mobile apps through “Clojure” and some tools:

1. “Zachary Kim – No Strings Mobile App Dev for Clojure” –

2. “Elango Cheran – Exploring Programming Clojure In Other Human Languages (Demo: Tamil language)

References:

1. Watch “Expert to Expert: Rich Hickey and Brian Beckman – Inside Clojure

2. Compare Functional Programming versus Object-oriented

3. Introduction – Why Lisp ?

4. https://clojurefun.wordpress.com/2013/05/16/imagez-image-processing-for-clojure/

Life Algebra

image

How to solve this ‘Life’ Algebra ?

The simultaneous inequality equation with 3 unknowns {e, t, m}, resp. for energy, time, money.

It has no solution but we can get the BEST approximation :
Retire after 55 before 60, then you get optimized {e, t, m} — still have good energy (e) with plenty of time (t) and sufficient pension money (m) in CPF & investment saving.

Beyond 60 if continuing to work, the solution of {e, t, m} -> {0, 0, 0}.

Note: After death (e = t = 0), money is not yours (m = 0).

Napoléon and his life-long love of Mathematics

23 July 1823, an auction of Napoleon’s library at his exile island St. Helena was held in London.

Among the books of history, geography, classics from Plutarch to Voltaire – many volumes contained handwritten comments by the emperor – were the mathematics books:

Bézourt’s Cours de mathématiques
Mentelle’s Géographie mathématique
Nine volumes of Lacroix’s Traité du calcul (At the end of volume containing the Algebra, there are 3 pages of calculations by Napoléon.)

During the last days of Napoléon before his death on St. Helena, he was engrossed in scientific and mathematical reading, sometimes spending entire days. It was here he predicted the rise of the ‘sleeping lion’ China which would tremble the world. Also the ‘Founding Father of Singapore’ Sir Stamford Raffles, on his return to England for good, paid a visit to Napoléon on the beach of St. Helena, where the lonely captive emperor was looking for ships bringing him news from the outside world.

René Descartes

image

image

René Descartes (31 March1596 – 11 Feb1650), the 17th century French mathematician who invented XYZ Cartesian Analytical Geometry.

He also invented the ‘Methodology’. His scientific philosophy ‘Cogito ergo sum’ (Je pense donc je suis / I think therefore I am / 我思故我在) influenced Issac Newton later.

Egg Mathematics

I highly recommend this Harvard Online Course “Science & Cooking” for food and Math lovers.

Example in the Course :

How much boiled water you need to pour into a container to cook a perfect egg ?

image

By conservation of heat (energy), the heat (Q) of boiled water is transferred to the egg (assume no loss of heat to the environment : container, air, etc).

Secondary school Physics :

Q = m.Cp. (Tf-T)
m = mass
Cp = Specific Heat (4.18 J/g.K for water, 3.18 for eggs)
Tf = Final Temperature (64 C for perfect egg & water)
T= Initial Temperature (egg at 23 C room temperature, boiled water at 100 C)

image

Chef’s tip: a perfect egg cooked at around 64 C.

image

Answer: 31 gm of boiled water = 31 cc

Watch “Science and Cooking” on YouTube – Science and Cooking: http://www.youtube.com/playlist?list=PL546CD09EA2399DAB

Think Abstractness

Originally posted on Math Online Tom Circle:

Why some students can learn abstract Math easily while most can’t ?

Education Psychologists help to reduce abstraction level when learning
Abstract Math Concepts.

There are 3 abstract levels:

1) Quality of the relationship between the object of thought and the students:
The opposite of abstract is concrete.
Some students can relate the abstract math objects to concrete
familiar concepts, the closer the relationship the more concrete the
objects are.
eg. Relate abstract ‘Ring’ to familiar concrete object ‘Integer Z’.

2). Process conception and Object conception:
The mental process that leads from process conception to object
conception is called “Reflective Abstraction”. (Piaget).

eg. Quotient Group = G/H = {Hg = gH | g ∈ G}
Process Conception (Canonical procedure ): take all elements from H,
multiply them on the right with some element from G. Similarly for
multiplication on the left.
Object Conception: Partition called Quotient Group.

3). Degree of Complexity of the concept:

View original 52 more words