Some Bits: Nelson's log

4 posts in October 2023

SEO spam, Google, Bing, LLMs, and facts

Writing up a short thread I posted on Mastodon.

I want to know what the half-life of benadryl is. So I asked Google, then ChatGPT, then Bing. A common theme with all of these is that they have AI-enhanced systems that swiftly and confidently give a specific answer. But the actual answer is different in every case. There’s a general consensus of 3-9 hoursish, but some sites are saying 6-12.

Worse, the AIs are not great offering sources. The underlying problem here is the web is full of SEO spam from sleazy addiction clinics who are putting all sorts of garbage online to get clicks. And Google, etc are incorporating that garbage. So I really need the actual source so I can then evaluate it for myself. But results on that are mixed.

Google

Search query: [what is the half life of benadryl]. The top summary snippet is from an SEO spam site and says 6.7 to 11.7 hours. Below the fold are a bunch of ordinary search results with snippets highlighting numbers: 2.4-9.3, 7-12, 3.4-9.2, 2-8, ... The good thing here is the results are all links to sites so I can quickly click and evaluate them. The bad thing is most of the links are garbage. Results 4 and 5 are NIH studies, presumably peer reviewed, and give 7-12 or 3.4-9.2 as answers.

ChatGPT 3.5 (OpenAI)

ChatGPT 3.5 tells me 2.4 to 9.3 hours with no sources. When asked specifically for sources it doesn’t provide any but says “you should consult sources”. This result is basically 100% garbage, particularly given ChatGPT 3.5’s penchant for making up fake facts.

ChatGPT 4.0 (OpenAI)

Does a bit better than ChatGPT. Says 2.8-9.3 hours. Gives sources when I ask it, although it’s just by name and fairly generic. A friend and I both tried checking these sources and neither of us could find any specific reference to 2.8 hours. Either ChatGPT made that number up or, at the least, it’s awfully hard to verify its sources. The number is plausible though.

Bing (with ChatGPT 4.0)

The most interesting and promising result, sort of, in response to my query.

What I like about this is it has a mix of an AI summary of web results, a ChatGPT chat answer (offered sometimes, not always), and a list of ordinary web results. The chat results come with citations. Although sadly they are SEO garbage. Also like Google there’s a series of conflicting sets of numbers on the page, all presented with confidence. The first solid result (from NIH) is below the fold but fairly high up, not seen in this screenshot.

Thoughts

There’s a lot of things going wrong here. It’s a hard question without a clear answer. The sources the web search engines are relying on have been comprimised by SEO spam and they aren’t good at finding an authoritative source.

But I’m most mad about the UI choices being made. The system should be smart enough to know it doesn’t have a clear answer; the display of its guesses should be tempered with some indication of low confidence. And no one is doing as good a job as I want with citing sources so I can research and evaluate them myself.

Update: Phind

A friend suggested I try Phind, an AI startup. It’s interesting. It gives me a 5 paragraph answer and a sidebar that’s more like a traditional search engine. The main answert gives me a confident first number (2.4 to 9.3) and then gives me nuance in later paragraphs like how it caries with your age, dosage, general healt etc. And it does cite sources.

Unfortunately it cites addictionresource.com, which I think of as one of the SEO spam things. Although looking more closely at that page it’s fairly good. The synthesis that impressed me in Phind’s answer actually all comes from this page; Phind’s answer is basically a summary rewrite. Also the page does have a bunch of citations at the bottom. It may be SEO content but it’s not spam.

Kiwix Android mess

Update: this is now resolved. As of December 2023 the Play Store has version 3.8.1. The F-Droid version is still ancient though. See these notes on why you might still want to sideload an APK if you want to easily download ZIM files to your phone.

I’m a big fan of Kiwix, the offline Wikipedia reader. It’s great having Wikipedia cached locally on your phone, particularly when travelling. However as near as I can tell there’s no easy way to get a recent version for Android. iOS is a little better. I may be confused but this is what I’ve found.

The Kiwix Android GitHub repo and Apple repo look official and included dated source releases but not binary builds. Android had a 3.7.0 source release in May 2023. iOS had a 3.1 source release at the same time, with a 3.2 just yesterday. Presumably these version numbers are not directly comparable.

The Kiwix Applications page has what I assume are links to official binary downloads.

For iOS, the Mac App Store link gets you version 3.1, from May 2023. 3.2 came out literally just yesterday so a little delay is understandable. That all looks fine.

For Android, the Google Play link gets you version 3.4.5. That’s from November 2021. It won’t install on Android 14 although I happen to have it installed and it still seems to work. The F-Droid link is just the APK for F-Droid itself. The version hosted at F-Droid seems to be 2.4, from 2018. There’s also a direct APK download link. That gets you 3.7.1, the latest Android release (from June 2023), but you have to sideload it manually and it won’t get autoupdates. Bottom line: install from Google Play if you can, or else sideload.

Why aren’t there more recent Android binaries? This Reddit comment has the story. Kiwix is not open source enough for F-Droid’s policies. And Kiwix did some file scanning which fell afoul of Google’s review process. It looks like that was supposed to be fixed with release 3.7 but somehow that still isn’t out. This issue suggests they’ve fixed the issue very recently? There’s also this issue which tracks Android 14 support.

Update: got a response on Mastodon from Kiwix saying “3.8 should be on the playstore anytime soon”.

(The underlying technical problem is Kiwix needs to access the ZIM library for Wikipedia, which can be 100 GB or more! Treating it as a special file makes sense. But Android has over time made it harder and harder to access the local filesystem and they seem to be running into restrictions when they try to make Google Play releases.)

While I’m complaining, Kiwix also has always had usability issues for figuring out which ZIM library for Wikipedia to install. Right now when you look for Wikipedia in their web library you get 66 results. Anywhere from a 878kB file for “Wikipedia articles about Ray Charles” to a 102GB file for “The free encyclopedia”. It’s really unclear which of all the options you want. The mobile download interface in 3.4.5 is a little better than the website and if you sort through the Simplified English version and the “top 100 articles” version you can eventually find 60GB and 100GB files for the whole Wikipedia (with and without images), also a 6GB download for the top 50,000 articles. The library you want is there, but it’s really hard to find it.

I always feel bad complaining about free open source software. I really appreciate the work these folks do. But Kiwix is important and it’s a shame it doesn’t have easily installed releases for the mobile OS with 70% market share.

Hot water recirc energy cost

I have recirculating hot water and a gas hot water heater. It’s very nice having instantly available hot water! I always wondered how much propane I’m wasting pumping warm water around the house.

0.9 gallons a day, or about $60/month. Or 4x the propane I’d otherwise use in summer. (In winter I average around 6 gal/day for heating.)

In detail: I went out of town for a couple of weeks and unplugged the recirc pump. The average usage then (from Sep 23 to Oct 12) was 0.2 gallons. A month earlier it was 1.1 gallons. The low period had the hot water heater turned on, but no recirculation wasting heat. Also no gas cooking or actual hot water usage so not all of that 0.9 is attributable to the recirc loss. (And no furnace heat at all for any of this.)

I used to use a timer to turn the recirc off at night but it stopped working and I wasn’t sure the savings was worth the bother. I guess it was! My long term solution for this is to get a heat pump hot water heater which should be more energy efficient and avoid burning CO2. Some folks use instant hot water heaters at the point of use but I don’t think that’d work for me.

Every Mastodon client is broken

I have a simple goal with Mastodon. When I wake up in the morning I want to see every single post in my Following timeline. In reverse time order, oldest first. I do not want to see boosts ever but I want to see every original post. In Twitter I could do this easily, just by scrolling down (with algorithmic timeline disabled).

Not a single Mastodon client I’ve tried can do it.

Fedilab, tooot, and Megaladon all will just miss posts. I’ll see a post that’s 7 hours old, then a post that’s 1 hour old, and everything from 7–1 in between is missing.

Moshidon looks like it might be able to show all the posts inbetween. I like the UI above: it shows the 11 hour gap and has buttons to fill it on either side. A little more manual than I’d like, but workable. Only it has a fatal bug; when I tap “load newer posts” it does load them but for some stupid reason ignores my client-wide setting to ignore Boosts. So I see a stream of lots of boosts, not just the actual posts I want. It doesn’t have this bug when loading posts in other contexts, only pressing this button. Also if I quit Moshidon and relaunch it now that UI is missing; any posts I didn’t tap to load last time are now forever inaccessible.

Writing this now I realize I haven’t tried the official Mastodon Android client. In the past I didn’t like that one much, but I suppose I should try it now. Nevermind: it doesn’t have the ability to hide boosts.

The problem is so commonplace I wonder if it’s a problem with my server, or with the Mastodon API. But it’s not exactly consistent: each Android client seems to have a slightly different gap it refuses to show, it’s not like the same set of 23 posts are missing. And the Mastodon web client (or rather the Glitch soc fork) I use on tech.lgbt also shows this bug in the web view. But only sometimes. It doesn’t today, whereas all 4 Android clients I tried do.

One thing I’ve noticed trying all these clients is they all suck in various ways. 3 of the 4 lack the “tap at top of screen to scroll to beginning” UI that every Android app should have. Tooot doesn’t even have a humane inertial scrolling, so I have to swipe up one screen at a time over and over again to get to the most recent posts.

Another big probem is these apps all love giving user preferences. Fedilab must have 200+ settings. Some I understand; a single button to show or hide boosts, for instance. Others are baffling. Why are there buttons for “show indicator for image alt text” and also “show indicator for missing alt text”? Just pick an alt text presentation style (the right one) and do it, don’t make the user create their own custom client experience. Lots of choices for configuring correct behavior too, like “load missing content from servers”. Um? Yes? Why is this a toggle? It’s classic open source product design: the folks building the product just love all those choices so they figure their users must want choices too. Too many choices.

Sorry, feeling a bit ranty today. The inability to simply load old posts is pretty maddening.

Update: an iOS using friend says Ivory has no trouble with showing all old posts. Unfortunately I don’t have any iOS devices to try it on.

Update 2: I like this speculation it could be related to paginating incorrectly while filtering boosts. That the client loses count because it’s skipping some posts. Plausible? Hard for me to test short of spamming myself with boosts and seeing if it works.

Update 3: another line of inquiry is that I am informed that the Mastodon server keeps a queue of 800 posts for you in the timeline. That’s it and that includes all things, including stuff I’m filtering out in the client like boosts. That number is hardcoded in feed_manager.rb. I don’t really understand the code but it’s more complicated than that, with some calculations happening with just 200 or 400 items. I don’t think the posts I’m missing are 800 down a time ordered queue, I’d guess more like 100-300. But it’s worth a closer look.