Lisp notes

Lisp is the greatest single programming language ever designed - Alan Kay

You can try out clojure at tryclojure.

Lisp stands for LISt Processing, and code is written in lists.

The first argument of a list needs to be a function. The rest, are the arguments to that function.

Lists are enclosed in parentheses and separated by spaces. (1 2 3) is a list.

(not true) // not is the negation function and true is the argument
// prints false

Mathematical operators are like normal functions. So instead of 4 + 2, you will do

(+ 4 2)

Clojure syntax

(+ 1 2) // this prints 3
"hello world" // strings are enclosed in ""

A list is a collection of items like so: (1 2 3)

(list 1 2 3) // Create list using the list function
'(1 2 3) // Or by prepending ' operator

The reverse function reverses a collection. So if you pass a string, it will use it as a collection of characters. ```lisp (reverse “hello”) // (“h” “e” “l” “l” “o”)

2023

Hacking Ruby

It’s limited in it’s simplicity by the inherent complexity of it’s aim.

Linux tricks

Deleting all files with a certain pattern in the filename rm *.c # This deletes all the .c files

Cpython notes

Cpython is the official implementation of Python. It is written in C (hence the name).

Better hacker

The goal is to gain a better understanding of computer systems and become a better hacker.

Welcome to Jekyll!

Getting started with Jekyll First install bundler and jekyll. gem install jekyll bundler

Lisp notes

Lisp is the greatest single programming language ever designed - Alan Kay

Notes on The Internet

You go onto your computer, open a browser and type www.google.com and hit enter. What happens?

Interesting links

This is a collection of links to some of the interesting articles I found on the internet

Back to Top ↑