Skip to main content

Posts

Algebraic Geometry is the ultimate over-engineered manual on how to overfit your model while pretending it's elegant geometry

Data scientists spend weeks tuning learning rates, setting up dropout layers, and applying LASSO penalties just to avoid overfitting their models. Meanwhile, Algebraic Geometers spent three centuries developing Hilbert’s Nullstellensatz and Polynomial Ideals just to guarantee you could perfectly overfit a finite dataset into a chaotic polynomial variety with absolute mathematical certainty and exactly zero training error. Change my mind: Algebraic Geometry is the ultimate over-engineered manual on how to overfit your model while pretending it's elegant geometry.
Recent posts
  In 1689, philosopher John Locke proposed that the human mind begins as a tabula rasa —a blank slate. According to this theory, we are born devoid of innate ideas, and all knowledge is derived purely from sensory experience and exposure. For centuries, this was a fierce philosophical debate. Today, we are watching it play out in real-time inside server farms. If we look closely at the architecture and training of Large Language Models (LLMs), a fascinating hypothesis emerges: LLMs learn exactly the way a human baby learns. They both start with an empty book, possess a pre-wired neural architecture optimized for processing, and rely entirely on massive exposure to figure out the complex patterns of human language. But as both systems mature, they hit a wall—a wall that requires the introduction of hard rules. Phase 1: The Statistical Sponge When a baby is born, it doesn't know what a noun or a verb is. It simply listens. Over thousands of hours, the baby's biological neural ...

Warning signs of an IT jobs ad: Fast typist required

There are many reasons why this is bad. First, the ability to type in a decent speed may be necessary to program fast (not necessarily to program well, mind you), at least in non-static type languages where IDE can't do autocomplete well. That means languages Java, VB, .NET (with compile time type checking) with extensive autocomplete support, doesn't need much typing speed because the autocomplete will do most of the fast typing for you. Even then, you don't usually bottleneck your productivity at your typing speed unless you are writing a lot of linear non repeating code. But in any environment where such code is necessary, typing speed will be the least of your concern. What's important is the ability to type without conscious effort so that your programming effort can be concentrated on actual programming. Assumes existing programmers in that company are competent: If typing speed limits the productivity of programmers, any framework the existing programmer...

Setting up xen with nat and dhcp in debian lenny (5.0)

Information on setting xen with NAT in debian lenny is scattered over the internet. One resource mention about patching some files. This guide is for people who want to do the setup with the most minimal change to debian default setup. 1. In /etc/xen/xen-config.sxp, comment (put # in front of) the "(network-script network-dummy)" and "(vif-script vif-bridge)". Comment out (erase # in front of) the "(network-script network-nat)" and "(vif-script vif-nat)". 2. Put "brctl addbr $2" after the line saying "echo $*". Then put "ifconfig $2 xxx.xxx.xxx.xxx" at the end of the file, where xxx.xxx.xxx.xxx is a local static IP address. 3. Set up your dhcp server accordingly by have it listen to the interface, the default is xenbr0. The ip of xenbr0 will be automatically set to xxx.xxx.xxx.xxx from step 2 above. Restart your dhcp server if necessary. 4. Run your xen image. 5. Then restart ipmasq by running /etc/init.d/ipmasq...

Ruby on Rails with Postgresql on Debian/Ubuntu

Based on the information scattered here and there, if you want to use postgresql with Ruby on Rails on Debian/Ubuntu, you can use 2 approaches: The first approach based on various places and experiment is 1. Set adapter of database.yml to postgresql. 2. Install postgresql-server-dev-?.? (?.? = 8.3 in Debian Lenny). 3. Install the pg gem with "gem install pg" The above approach has been tested. Another approach based on http://www.williamchu.com/blog/?p=9 1. Set adapter of database.yml to jdbcpostgresql 2. Install the activerecord-jdbcpostgresql-adapter with "gem install activerecord-jdbcpostgresql-adapter jdbc-postgres " I don't bother to test this approach since it's using jdbc, which means another layer of complexity. But this might be useful if you use JRuby. In addition, this approach should work on other linux distro.