The Art of the Infinite – Review

This is the kind of book I wish I’d read 20 years back.

The Kaplans cover a lot of ground, so the book is densely packed with remarkable insights. Although most of the topics (algebra, geometry) were covered in my school syllabus in my younger days, the difference is in how it bridges vast areas of mathematics together.

A seemingly insurmountable problem is shown first. Then some remarkable piece of magic happens. And the clouds clear and light shines through.

A book like this gives a glimpse of the awe-inspiring structure and symmetry in the Universe that mathematicians create in their minds.

Colours in Terminals

    arunsrin@ARUNSRIN-G2CA5 MINGW64 ~
    $ printf "\033[32mhi\033[0m"
    hi
  • \033 is Escape
  • So Escape + 3 + 2 + m tells the terminal that everything from this point onwards is in green.
  • And Escape + [ + 0 + m reverts it back to normal
  • These are some sequences:
Sequence   What it Does
ESC[1m     Bold, intensify foreground
ESC[4m     Underscore
ESC[5m     Blink
ESC[7m     Reverse video
ESC[0m     All attributes off

openssl – Generate a CSR

This command generates a private key and a csr. You can submit the csr to a CA to get the leaf certificate.

openssl req -newkey rsa:2048 -nodes \
  -out myhostname.csr -config myopenssl.cnf

For this, a config file is needed. Fill it up with details like this:

######################################################################################
[ req ]
default_bits = 2048
default_md = sha256
default_keyfile = myhostname.pem
distinguished_name = req_distinguished_name
prompt = no
req_extensions = v3_req # The extensions to add to a certificate request
[ req_distinguished_name ]
C=IN
ST=Karnataka
L=Bangalore
O=None
OU=None
CN=arunsr.in
[ v3_req ]
subjectAltName = @alternate_names
keyUsage = digitalSignature, keyEncipherment
[ alternate_names ]
DNS.1 = www.arunsr.in
DNS.2 = blog.arunsr.in
#######################################################################################