wmitty | 8 months ago | on: Trans-Taiga Road (2004)
wmitty's comments
wmitty | 1 year ago | on: An autumn bike adventure down the US portion of the Eastern Divide Trail
wmitty | 1 year ago | on: Memory64
You used to have to put everything in one giant class to work around this.
(This situation was so frustrating)
wmitty | 2 years ago | on: In June 2024, ad blockers such as uBlock Origin will be disabled in Chrome 127
https://github.com/brave/adblock-rust
Here is a (somewhat dated) article describing it by the authors:
wmitty | 2 years ago | on: Dark Matter Developers: The Unseen 99% (2012)
wmitty | 3 years ago | on: Shimano’s three-pulley rear derailleur could revolutionise drivetrain design
wmitty | 4 years ago | on: File transfers via the parallel port on DOS using LapLink
You could connect the two computers with a RS232 null modem cable, then type something like the following on the target computer:
mode COM1:2400,n,8,1,p
ctty COM1
This redirected the input/output for the terminal to the serial port.
Laplink on the source computer would then 'type' a series of console commands to create a simple transfer program on the target computer. It would use this simple transfer program to transfer the full laplink.
IIRC it used the msdos DEBUG.COM to build the transfer program on the target computer (but this is an old memory, so could easily be a reconstruction).
Composing this message is bringing back lots of weird memories about how we used to compute before the internet.
wmitty | 4 years ago | on: My lizard brain is no match for infinite scroll
One feature that I want to implement is to have the system randomly enable for 10 minutes - and to signal this by changing the color of light from a desk lamp (Phillips Hue). The idea is that when this happens, I would drop what I was doing and leap for my phone to get some bonus browsing in. Me being controlled by the system like this might be fun?, or at least illustrate something?
wmitty | 4 years ago | on: A website hosted on a floppy disk (Be patient while it's loading)
"Xitami web server, because it's the only one that does no caching at all, so the website is always served fresh from the floppy."
Source: https://web.archive.org/web/20220120092324/https://old.bigca...
wmitty | 4 years ago | on: On Receiving my Certificate of Loss of Nationality
The Canadian banks then have to report all the accounts of US citizens to the US gov. The banks comply with all this because otherwise they get super nasty fines against their us operations.
Also: they tell you that if you come in under the amnesty program (like I did) that their will be no big penalties - but if you wait until the amnesty program expires - and they then find you - they will treat you like a criminal.
wmitty | 4 years ago | on: On Receiving my Certificate of Loss of Nationality
Until a few years ago when the US gov declared that I would be a criminal unless I became a full fledged US citizen. They also made this as difficult, expensive, confusing and time consuming as possible. For example having to find some paper documentation that is was living in Canada in 1967 etc. Huge costs - all of it going to specialist accountants - none to the IRS. And a huge complicated ongoing burden.
I am not even allowed to renounce until I have gone through this charade for a few years.
What has the US got out of this? They have processed lots of paperwork on my behalf and they have sent me some (unsolicited) stimulus checks which paid a tiny portion for the (Canadian) accountant fees they have saddled me with.
wmitty | 4 years ago | on: New PostgreSQL Interface for Cloud Spanner
This is the lexical structure and syntax docs for the new postgres inteface to cloud spanner:
https://cloud.google.com/spanner/docs/postgresql/lexical
And this is the zetasql lexical structure and syntax docs:
https://github.com/google/zetasql/blob/master/docs/lexical.m...
Notice that the new PG docs are an edit of the Zeta ones - evidence that my hypothesis is correct.
wmitty | 4 years ago | on: New PostgreSQL Interface for Cloud Spanner
It is amazingly good.
You give it textual SQL (+ schema + all your function definitions) and it returns a really clean logical query plan. It is also happy to do this via a protobufs so you can use it from languages other than C++. It is also tested and documented up the wazoo. It has been such a pleasure to work with.
Anyway, the big problem with ZetaSQL is that it is not a common SQL dialect.
It seems that the only reasonable way to do this PostgreSQL interface for Cloud Spanner is to add a second parser (and other extensions) to ZetaSQL. If I am correct, I really really hope they open source that part of ZetaSQL as well - it would be a massive step forward for open source SQL tooling.
wmitty | 4 years ago | on: Brave, the false sensation of privacy
This does not appear to be true. Here is the github repo for their open source adblock engine written in rust:
https://github.com/brave/adblock-rust
Here is a (somewhat dated) article describing it by the authors:
https://brave.com/improved-ad-blocker-performance/
> Google will take decisions that benefit their advertisement business, like making impossible to use adblockers on any Chromium based browser.
Because the brave adblocker is integrated directly into the browser (ie. not an extension) the Manifest V3 limitations don't apply.
wmitty | 5 years ago | on: Launch HN: Aviron (YC W21) – High-Intensity Peloton for Rowing
It was written in 6502 assembly language for the Apple II.
It had a really nice display:
- 2 boats, with oars moving timed to your pulls - scrolling scenery - stroke power graphs - odometers that rolled over like mechanical odometers.
I had a piece of tinfoil taped to the wheel on the concept II. There was an aluminum box divided in two with a flashlight bulb on one side and a photocell on the other. When the tinfoil passed under the alumium box the photocell resistance would change, which would be available to the program via a wirewrapped expansion board (that also gave the Apple II 60hz interrupts - a native Apple II has no timer or interrupt controller). I later saw a Cateye magnetic bicyle wheel sensor and felt like such an idiot.
It also had an integrated breakout game that was controlled by the difference in power between the two rowers. Because of how one wrote games in that day (often directly using screen memory as data), if the ball ever escaped the brickout playfield it would start colliding with (and corrupting) other things on the screen, and if it ever left the screen, with random bits of executable code.
When you got a high score on a 20 min row, I had an army surplus air raid siren that would spin up. The idea was that after you completely killed youself on the erg, you would then have to run like crazy to avoid getting deafened by an air raid siren in a small room (thankfully this last part never worked well). A very high school idea.
wmitty | 6 years ago | on: My Covid-19 Story in Brooklyn
https://www.sciencemag.org/news/2020/02/united-states-badly-...
wmitty | 6 years ago | on: File systems unfit as distributed storage back ends: lessons from Ceph evolution
wmitty | 10 years ago | on: ES6 Overview in Bullet Points
JS is a very complicated language - and the language spec in written in a way - that while I am sure is excellent for implementors and compatibility - is pretty much unreadable by language users.
Axel's book is quite authoritative and very readable. You may still go to the spec for finer points - but it sure is 10,000 times easier if you mostly understand the mechanism (and motivations) first.
wmitty | 10 years ago | on: My Keyboard
wmitty | 13 years ago | on: Why did Git become so popular?
Mercurial is a much better fit for how my mind works than Git (I feel that Git is from the school that thrives despite complexity, where I prefer the school that puts lots of effort into a really clean model to minimize complexity).
But I am now giving up on Mercurial: every open source project I play with is on github, so I absolutely need to master Git - and I don't want to keep using two systems.
The network effect wins.
In addition to the natural difficulty of cycling this extremely remote road (both ways), he was dousing himself in so much bug repellent that his heart was constantly racing (he thought he was going to have a heart attack) and he was hallucinating (IIRC) a giant bear that was stalking him.
He has taken the blog down, so I can't link it - presumably because he has published a book - https://www.amazon.com/Cycling-Quebecs-Trans-Taiga-Road-Wild...