Data structure: a (very) long list of numbers defining a line It is possible to speculate how a neural network stores information/meaning. One can think of information as being stored on a line with a direction in a very high-dimensional co-ordinate system (i.e. “vector”). Using a 3-D graph as a visual example, perhaps an arrow in a certain direction measures how “sports-related” something is. From an origin, 1-D graph (line) is defined by 1 number, 2-D graph by 2 numbers, 3-D graph with 3 numbers....
Gregory Zuckerman the Man Who Solved the Market
In his Art of Doing Science and Engineering, Hamming warns of the difficulty of obtaining reliable data: in his experience, despite all assurances given, there were always significant errors in collection (above and beyond ordinary noise) in the datasets he encountered. One example he gave was an important accounting rules change, which (he says) affects the correct interpretation of balance sheet for a large portion of major American companies at the time....
Notes on interactive Lean tutorials
After reading Terence Tao’s article on how proof checkers can allow non-mathematicians to contribute to cutting-edge maths, I decided to give interactive LEAN games a spin. I started with the Lean 4 version of Natural Number World and then moved to Lean intro to logic. A few notes for fellow beginners: The instructions are incomplete, likely because the materials were designed to accompany an Imperial College maths course. It is therefore useful to look at the answers within the source code, rather than struggle in....
Marcus du Sautoy Around the World in 80 Games
The text reads very fluently and makes me want to order all the books by Marcus du Sautoy. I didn’t realise that Mahjong was like Rummy and Poker in that it is a trick-taking game. After reading that, something clicked and I could finally see what it’s all about. The idea of Markov chain appeared a few times as the best way to model games, e.g. Monopoly. The core of it seems to be that the probability of something happening depends only on the current state, not on the previous states, cf visual explanation here....
Richard Hamming The Art of Doing Science and Engineering
I first heard of Hamming through his famous article You and Your Research. So when I found a book under his name available from the public libraries, I reserved it without much thinking. “You and Your Research” is in fact the last entry in this collection of lecturers, intended on military technical researchers (i.e. engineers and scientists) about the enter into their careers. It was written in 1997, so much of the content is of historical interest only....
Generate Chronology: first steps
TL;DR I deployed a simple alpha website with python code, where: the user inputs a paragraph-referenced Word (.docx) document website automatically generates a paragraph-referenced Chronology in Word for download and further editing. These are the first lines of python I have written / glued together with large language models (LLMs). And the approach taken in the code borders on the absurd. But the story may make good reading for those interested in how current (2024) LLMs affect people early in their programming journeys....
Why care about databases
In his memoirs, Edward Snowden spoke of an era where computers were still the preserve of a small minority, and random strangers would go to extraordinary lengths to help each other in online chats (something which predated the world wide web, which meant this took place outside of the web browsers e.g. Chrome or Firefox). He saw control of one’s own computer as key to privacy and integrity, and was scathing of “cloud computing” which misleading implies that your data is naturally and comfortably held “in the cloud”....
Parsing LegalDocML Files
Recently I find that when engaging with abstract theoretical texts (e.g. Tom Bailey’s Ambiguous Sovereignty, it is often helpful to make a website out of it. The technical barrier of entry is low: LLMs can readily generate scripts that would allow me to split the text into smaller files and then create separate HTML files out of it. For a journal article, the whole process may take no more than 1-2 hours, and the process of playing around the text lets concept sip in and permits me to say (only with some exaggeration) that my eyes passed over all the text once (when I am testing out the website)....
2 days of Golang with LLMs
TLDR: how I modified and deployed this programme with little knowledge of Golang 1 Background and motivation I began picking up the standard web development tools (Javascript, HTML and CSS) around a year ago, and hand wrote some websites in plain HTML and React with minimal help from LLMs. Around a month ago, I was introduced to the Next eco system, and began heavily using LLMs. I have worked through the Next quick start myself, but the front end of every project has been drafted by V0....
Reflections on the Open Source Economy
I attended two events (with Disruptive Tech London and with OpenUK Ambassadors) that gave me much food for thought on the open source economy. In gist: Open-source tech businesses survive (and sometimes thrive) because they give clients great service and clients have the option of walking out of the relationship at any point. But it is still unclear how one can fairly reward the creators of open-source software, who arguably create the most value in the ecosystem and are not compensated proportionately....