Sunday, November 1, 2026

Show HN: InterviewLint – Practice explaining code, not just writing it https://ift.tt/YiVcHPA

Show HN: InterviewLint – Practice explaining code, not just writing it https://ift.tt/VvG3WYK October 31, 2026 at 11:36PM

Show HN: A language model that lives in a boot sector https://ift.tt/2jgz1K0

Show HN: A language model that lives in a boot sector All the ideas came from the boot sector demo scene where people had been writing chess and BASIC games in 512 bytes, even a C compiler. I wondered what one can do using a neural network instead of a program and generating boot logs for non-existent hardware was something fun to try. Entire inference engine is 510 bytes of MBR, weights, vocab, and strings reside in the sectors following MBR. Small char-level neural network was trained on dmesg generated by machine, so machine produces Linux boot messages infinitely. train.py performs precisely the same integer arithmetic operations as the asm code does and thus produces an output identical character-by-character to the one produced by QEMU. The difference analysis revealed my favorite bug. The characters at the beginning matched those generated by the simulator, but then the output diverged. I retrieved the hidden layer via QEMU’s debug port and compared the neurons' values with those of the simulator, one neuron at a time. Only the value of the first neuron was correct. The activation involves idiv, and idiv stores its remainder in edx. The pointer to the biases table was stored in edx, which resulted in the first neuron being biased correctly and the following ones using garbage. Now the bias' address is determined from the loop counter, and no pointers have to survive the division. Another bug I found simply by looking at the code before I did my first run-through: the BIOS print routine zeros out bx, but bx contains the predicted character number. This explains the push and pop of bx surrounding the print. sectorllm is the most similar to my project, as it runs an actual 5-layer llama2 with attention mechanism in just 1.2K of assembly code. It is the trade-off in the opposite direction, as my engine needs to fit into one sector and therefore my network has just one hidden layer of int8 operations for dreaming the dmesg. https://ift.tt/v061t8S October 31, 2026 at 06:28PM

Saturday, October 31, 2026

Friday, October 30, 2026

Thursday, October 29, 2026

Show HN: I built a map of billboards and banners in Poland (gpy.pl) https://ift.tt/btnuRUJ

Show HN: I built a map of billboards and banners in Poland (gpy.pl) https://gpy.pl/ October 29, 2026 at 01:24AM

Show HN: Measuring how much of an AI-assisted design is yours https://ift.tt/ujM1dqO

Show HN: Measuring how much of an AI-assisted design is yours https://ift.tt/m2tf4Cs October 29, 2026 at 12:11AM

Show HN: OpenTaxRate – open-source US sales tax rates by street address https://ift.tt/LItv3D2

Show HN: OpenTaxRate – open-source US sales tax rates by street address I built this because I tried many sales tax APIs and the problems were: a) the rates were a black box with no source attached b) lookups resolved by ZIP code. ZIP codes are postal routes, not tax jurisdictions. Stripe's Tax team wrote a good post on this [1]: two houses in Drexel, MO share a city, a ZIP, and nearly a house number, but sit in different counties with different rates. If your lookup key is the ZIP, you are wrong on those addresses, even when the rate table is accurate. OpenTaxRate resolves the street address instead: - SST member states (24): the quarterly rate + boundary files, street ranges and ZIP+4, not just the rate tables - Non-SST states: a custom adapter for each state, using its DOR's own published tables and boundary files (TX Comptroller, FL DR-15DSS, ALDOR, IDOR, NY Pub 718, California via CDTFA's lookup, etc) - Census TIGER for geometry I tried with multiple open source geocoders you can self-host: Nominatim, Photon and Pelias, as well as proprietary ones (HERE, Geocodio, Mapbox, Google). Proprietary ones have higher accuracy, ~99.3% correct vs. 97.1% with just open source. For comparison: Avalara AvaTax 99.6%, TaxJar 98.2%. Public benchmark set are in the repo and at opentaxrate.com/benchmarks. Rates are just one part of sales tax, but also there's a ton of work in maintaining it as rules change. It doesn't handle exemptions, holidays, and caps. It returns the rate, plus the state's own location and jurisdiction codes for the address, resolved to the address, with its official source attached. MIT licensed, you can self-host with Postgres + PostGIS. [1]: https://ift.tt/6EkJKlB... https://ift.tt/kAzIRBx October 28, 2026 at 11:10PM

Show HN: InterviewLint – Practice explaining code, not just writing it https://ift.tt/YiVcHPA

Show HN: InterviewLint – Practice explaining code, not just writing it https://ift.tt/VvG3WYK October 31, 2026 at 11:36PM