RAJ KESAVAN

I'm a student currently reading Hypersphere.



arrows

is a geospatial, temporal, and linguistic analysis of recent tweets about U.S. presidential candidates. I used Pandas, TextBlob, and Cartopy. [source]


quetzal

is an online, real-time, multiplayer adaptation of the classic game Snake - if you hit another player, you lose!

When no one else is online, empty spots are taken by an AI ('Aero' in the picture).

I wrote the backend in Clojure, which communicates to clients over WebSockets with http-kit. [source]


ryujin

is a classical cryptography and cryptanalysis Clojure library.

ryujin currently supports Caesar, Affine, Atbash, substititution, Vigènere, and one-time-pad ciphers.

I also created and implemented an algorithm to probabilistically break substitution ciphers at a unicity distance of roughly 5000. [source]

            
=> (encrypt (caesar 15) "hello world")
"spwwz hzcwo"
=> (decrypt (caesar 15) "spwwz hzcwo")
"hello world"
=> (def plain-text "Every mental state is irreducible: the mere fact of naming it - i.e., of classifying it - implies a falsification. From which it can be deduced that there are no sciences on Tlön, not even reasoning")
=> (def cipher-text (encrypt (caesar 23) plain-text))
=> (crack-caesar cipher-text)
=> ({:shift 23, :chi 0.024591684364994242, :guess "Every mental state is irreducible: the mere fact of naming it - i.e., of classifying it - implies a falsification. From which it can be deduced that there are no sciences on Tlön, not even reasoning"})
            
        

logicpod

is a propositional logic Clojure library.

logicpod parses (relatively) free-form input with instaparse, and can evaluate formulas given truth conditions, create truth tables, and check arguments for consistency and validity. [source]

            
=> (def wff-a (parse "(A & ((~B) <-> A))"))
[:and [:atom :A] [:iff [:not [:atom :B]] [:atom :A]]]
=> (def wff-b (parse "((not A) or B)"))
[:or [:not [:atom :A]] [:atom :B]]
; (valid? conclusion & givens)
=> (valid? wff-a wff-b)
false
=> (def wff-c (parse "B"))
=> (valid? wff-b wff-a wff-c)
true
            
        

Like reading? These are some of my favorites:

Italo Calvino / If on a winter's night a traveler
meta; nature of reading and literature


Arundhati Roy / The God of Small Things
ineffable


Virginia Woolf / Mrs Dalloway
hypercube of memories


Haruki Murakami / Hard-Boiled Wonderland and the End of the World
magical realism; consciousness; philosophy of mind; love


Jorge Luis Borges / The Library of Babel; Tlon, Uqbar, Orbis Tertius
short stories; nature of knowledge; philosophy; our place in the universe


Umberto Eco / The Name of the Rose
medieval murder mystery; Christian monasteries; philosophy; semiotics


Joseph Heller / Catch-22
wry humor; government bureaucracy; nature of war


David Mamet / Glengarry Glen Ross
drama; poor, nasty, brutish, short state of human nature



This website is open source too! Fork me on GitHub.