dumbmatter.com

Online home of Jeremy Scheff

Welcome to my blog!

Here, you will mainly find me writing about whatever interests me at the moment. Since I am a predictably simple man, most of my posts are about sports, science, and programming, with an occasional foray into politics if I'm really bored. My favorite posts include:

All my other posts are listed below, in chronological order. In addition to blog posts, you can read more about me and about some of my projects.


The 2020 census conspiracy theory

Conspiracy theory time! This one is actually mostly true.

Population counts from the census are used to determine how many electoral votes each state gets. In 2020, there were some weird results. Turns out those were mistakes. The Census Bureau even admitted it a couple years ago. In terms of electoral votes, the net impact of the mistakes was:

Coincidentally, all the mistakes favored blue states. 3 more electoral votes for blue states, and 3 fewer for red states.

This means that on election night, if Kamala wins between 269 and 272 electoral votes, the census miscount altered the result of the election. A win/tie would instead turn into a loss/tie! According to Nate Silver's latest model, there's about a 3% chance that will happen.

The "conspiracy" part depends on whether this was intentional. There's no evidence of an actual conspiracy, of course. Regardless, it is true that this "mistake" from the census gives a nice little boost to the Democrats.

Another caveat is that if the electoral vote distribution was different, the candidates might be campaigning differently, and there might not be a 3% chance of these specific situations happening. But it still wouldn't be 0%!


Environmentalism is so fucked

People are worried about carbon emissions and energy usage and shit like that. But AGI is (probably) coming. And AGI doesn't just require software and hardware, it requires energy. Lots of it.

Even if we had done smart things in energy policy, such as continuing to build nuclear power plants so that we were running almost entirely on clean energy now, we'd still be fucked just because of the coming massive increase in energy demand.

Regardless of whether AGI leads to positive or negative outcomes for humanity, you don't want someone else to get it before you, do you? The advantage of being first to AGI would probably be even larger than being first to nuclear weapons or any other transformative technology in history. So any corporation/government with any reasonable amount of resources is going to be scrambling to be first.

And that means they'll be using whatever energy they have. Coal, oil, natural gas, all will be sacrified to manifest the Sand God.


My take on ChatGPT, LLMs, and our eventual doom

ChatGPT. Cool stuff, right? Very fun. Kind of scary too. That's the naive impression you get from playing around with it, or reading about other people's experiences. It's cute until the easily-confused chat bot says "I will not harm you unless you harm me first".

But can a fancy Markov chain actually be scary? I mean it's just predicting the next word, right?

Read more...


OffscreenCanvas pain points

I am working on a side project that makes heavy use of the Canvas API and I came across OffscreenCanvas which seemed to have some compelling features. Wouldn't it be nice for performance to do all of my rendering in a web worker? Well I gave it a try, but wound up not going forward with it due to several reasons:

Read more...


My COVID origin take

There are three major hypotheses for the origin of COVID:

  1. Natural zoonosis - jump from animals to humans, such as at the Wuhan wet market
  2. Lab leak of engineered virus - leak of an engineered virus at the Wuhan Institute of Virology (WIV) through gain-of-function research
  3. Other WIV-related origin - non-engineered virus exposed to humans somehow through the activities of the WIV (such as a lab leak, or infecting someone out collecting samples for WIV in some bat cave)

#1 is the mainstream opinion, advocated by most prominent scientists and government officials.

#2 is treated by some as a conspiracy theory, but certainly seems like less of a crazy conspiracy theory than it did a couple years ago.

#3 is kind of mundane compared to #2, so maybe gets less attention, but IMHO it is very plausible.

Read more...


PWA Summit 2022 presentation

Last week I gave a talk at PWA Summit 2022 which was a purely online conference. It was pretty fun. It was a lot of firsts for me:

The topic was client side storage in web apps, which was of course motivated by my work on Basketball GM and other games which store tons of data client side. It is frustrating how difficult that is, and how easy it is to experience data loss. But as I go over in my talk, there are at least some reasons to be optimistic for the future!

If you're interested in more, here are my slides and here is a video of my presentation:


Privacy bullshit

I recently uploaded my wedding photos to Facebook. Why Facebook? Cause there are a lot of pictures with a lot of different people, and I remembered that Facebook has some nifty auto tagging feature that would save a lot of time.

And after uploading the photos, what I found was that... I really haven't uploaded photos in a long time. Apparently they made the auto tagging opt-in in 2019 (of course most users will never bother to opt in) and removed it completely in 2021. Why? The most concrete answer in that blog post is:

Read more...


I think the pandemic is about over

Why make these Covid posts? Isn't the Internet saturated with hot takes already? Am I really adding anything here?

I think the only reason for me to write about Covid is so I have a record to look back on what I thought at the time, which is kind of interesting for me, but maybe not so interesting for you :)

And what I think now is that the pandemic in the US is about over.

Read more...


Streaming data from IndexedDB to a file with the File System Access API

I was playing around with this for use in my video games which store a ton of data in IndexedDB (too much to read into memory at once) and thought maybe some other people might be interested in it too, since I haven't seen any other discussion of this topic.

The goal here is to move data from IndexedDB to a file without reading all of the data into memory at once. If you are able to read your data into memory, you can create a blob and use URL.createObjectURL to download it to a file - but that's old news. This is about streaming.

The building blocks of this are two fairly new web APIs: the Streams API and the File System Access API. The File System Access API is currently only supported in recent versions of Chrome, but it's the only way to stream data to a file.

What about getting data out of IndexedDB? The IndexedDB API predates streams, so it has no built-in support for that. But it does have cursors, which allow you to iterate over data in your database, which is basically the same thing.

Read more...


An 18 year old bug

I got a fun email earlier today - a support request for literally the second piece of software I ever wrote, back in 2001 when I was a kid with a couple months of programming under my belt.

It's a click tracker that I called Click Manager. Pretty simple stuff - a Perl CGI script that counts how many times a link was clicked, storing the data in a flat file database.

Eventually I even added a nifty UI to view the stats. Check it out, in all its early 2000s glory:

Read more...


Older »