Since Twitter was destroyed it’s been frustrating losing access to all the stuff I wrote. X still allows you to download an archive of your own tweets, but then there’s the challenge of making the data useful.
For awhile now I’ve been using Julia’s tweet-archive. It works great but I never loved the styling. (I never tried to improve it, either.) You can see my archive in Julia’s thing here.
Matt Haughey just vibe-coded up an alternative. I like the way it looks. It’s also got a couple of extra tricks. The code works with various old formats of Twitter exports. The Javascript has some nice functions like filtering by year. And it displays reply tweets, albeit not linked to what you’re replying to. You can see my archive in Matt’s thing here.
Matt’s code worked out of the box for me but some of the path management and permissions are a little fiddly. Here’s what I did to get it working, from a Twitter archive I pulled just yesterday.
# Download and prepare the files
mkdir /tmp/t; cd /tmp/t
unzip twitter-dump.zip
git clone https://github.com/mathowie/tweet-search-archive
# Clean up the repo a bit and link in the data
cd tweet-search-archive
rm -r tweets_media
ln -s ../data/tweets.js .
ln -s ../data/tweets_media .
sed -i 's/Your Name/Nelson Minar/; s/yourhandle/nelson/' build.py
# Build the archive
python build.py
# Copy the output to a web server and fix permissions
cp -a tweet_search.html ../data/tweets_media ~/public_html/tmp/tweets/
find ~/public_html/tmp/tweets/ -type d -exec chmod 0755 {} + -o -type f -exec chmod 0444 {} +
I have accounts at Schwab. Some of their email isn’t getting forwarded to me via Cloudflare, mail sent from @schwab.com. Some is, mail sent from @mail.schwab.com.
The problem seems to be that schwab.com has an SPF record dictating strict rules about who can send mail as them and Cloudflare is obeying them.
It looks like the problem is at Proofpoint, their secure email system. schwab.com has an SPF record that says only Proofpoint is allowed to send mail as schwab.com and receivers should reject anything from a server not in Proofpoint’s list. But the IP address that sent the mail isn’t on that list, despite whois data saying it belongs to Proofpoint. Sure seems like their error but it’s not transient.
The Schwab mail that is getting through is being sent from mail.schwab.com. That has a different SPF record for ExactTarget (Salesforce). They seem to be doing SPF correctly.
Bad product managers sometimes think it’s a good idea to prevent you from pasting data into a web form “for security”. This is a particularly popular trick on websites where you enter payment account numbers.
Here’s a quick fix that seems to work. Supplied by Gemini but no doubt well known.
This basically overrides any event handlers for paste that the page code might have done. Not a good idea in general but it does seem to fix pasting into a box.
I’ve been excited about the promise of passkeys for awhile now. But also bitterly disappointed in the reality when I tried to use them in March 2024. Shit just didn’t work.
I’m happy to report that here at the end of 2025 passkeys seem to mostly work now. I’ve gotten to the point where I’m glad to see them. They get saved to 1Password whether I’m on desktop or my phone and they are usable again from either device. There’s a little confusion still vis-a-vis when to use them, the Chrome popup that offers to fill them comes up a little awkwardly. But it basically all works.
I have no idea what passkey adoption is like in the wild. But I’m no longer surprised when a website offers to save one, in fact I’m pleased. I think we’ve turned a corner.
There’s still problems. Passkeys are still confusing to civilians. Exporting passkeys from one ecosystem to another is still awkward, although there is a FIDO standard in the works.
One thing I like is with passkeys we now have lots of factors for authenticating someone. A cookie. A typed email address or username. A password. A TOTP 2FA code. A passkey. Emailed or texted codes. Emailed or texted magic links. Websites are now being built to work with some flexible combination of those factors. That seems like a good change and might enable other forms of authentication in the future.
Tinkering with Android’s Health Connect data, the hub for fitness data in the Android ecosystem. I don’t want to mess with their formal APIs so I’m looking to use the nightly full database backups I have it making to Google Drive. They seem to work and contain real data. (This may be a mistake: Health Connect has some semantics implicit in their API I’m having to rediscover by looking at the raw data.)
The result is a .zip file with a single .db file in it, a sqlite3 database. That database has some 73 tables in it but many are empty. So my sexual_activity_record_table shows 0 records, rude!
I’m mostly interested in data from my InBody scale. But I may also have data written from a Amazfit writsband, a WiThings scale, Cronometer diet tracker, maybe the phone itself. Don’t know! Here’s some tables that do have interesting data in them, data that was updated in the last day or two.
Tables seems to come in a couple of types. Some are very simple tables with no app or device identifier and no timezone info. Other tables have complex data with time zone offsets and app and device identifiers. These often are recording cumulative counts for the interval or the like. My theory is the simple data is for old Google Fit APIs and the more complex data is coming from apps using Health Connect APIs. It may be something else.
One thing I’ve learned doing this is Health Connect allows multiple devices and apps to record to the same record of, say, your weight. For my purposes I want to separate those out by ID so I can know whether a weight measure came from the WiThings scale or the InBody scale. Or whatever.
InBody Data
Bottom line: the only useful things this is writing are weight and body fat. I bought the fancy H30 scale that does more precise measures of skeletal muscle mass. They are not recording this data to Health Connect, disappointing. (I do wonder if they can: Health Connect seems to have fixed categories of data.) InBody doesn’t seem to have any other data export options, either. Ugh.
weight_record_table (WiThings also writing data)
body_fat_record_table (Inbody writes twice, WiThings also writing data)
basal_metabolic_rate_record_table (AmazFit also writing this)
Amazfit Data
Bottom line: this is recording a lot of stuff. Steps, Oxygen, Calroies burned, Heart rate, Sleep.
Data is often logged every 10 minutes, but not always. Its data seems to be coming from app ID 1 (Google Fit) and device .
Simple data recorded every N minutes
heart_rate_record_series_table
speed_record_table
activity_date_table
sleep_stages_table (contains an interval but is simple data)
Complex data recorded every N minutes
steps_record_table (both phone itself and Amazfit / Zepp)
distance_record_table
oxygen_saturation_record_table
total_calories_burned_record_table (Amazfit and Phone)
resting_heart_rate_record_table
sleep_session_record_table (naps vs. full sleep)
Tables with lots of rows but no actual measurements, just time intervals
heart_rate_record_table
SpeedRecordTable
Cronometer data
nutrition_record_table (many columns!)
Phone-originated data
height_record_table (written once a day)
activity_intensity_record_table (contains no data?)
If you want to buy Google’s smallest Google One plans, you may have to go to the settings page, cancel Google One first and then buy again. In particular they don’t show you cheaper options unless you cancel first. Don’t worry: the cancellation isn’t immediate, it comes effective when your current month is up. You have time to re-enable a new smaller plan.
I use about 40GB on Google One and have paid $2/mo for years for the 100GB plan. I upgraded a few months ago to some AI Premium plan that came with 2TB for $20/mo. I hated the AI so I switched back to what was the smallest plan on offer, the 2TB no AI plan for $10/mo. They weren’t showing me the 100GB $2/mo plan. I found the workaround to cancel in a Reddit discussion.
Google dropped the “Don’t be Evil” ethos more than a decade ago. Stuff like hiding cheaper plans is clearly on the evil side. Dumb and sleazy.
Health Connect is Google’s data platform for fitness info: weight, steps, etc. Summary: Health Sync is a humane way to get at the data stored in it, so are Health Connect backups.
Health Connect replaces Google Health, a very old product. It also sort of envelops Google Fit. Health Connect isn’t really a consumer product. The consumer product is the Fit app where you can see some records and history. But it’s pretty minimal. Health Connect is more of a database for developers that Google maintains. Various things can store data into Google Fit, various things can take it out. In my case my scale (an InBody) stores my weight in Google Fit and my diet tracker (Cronometer) pulls that data out. Sometimes, it doesn’t seem very reliable.
Worth noting that Health Connect happens on your phone. I don’t think much if anything happens in the cloud.
There’s no simple CSV data export from Health Connect. Shocking oversight, I know. Google Takeout also has no entry for Health Connect. Here’s four alternatives to getting your data:
The Health Connect app in Android has a way to set up a nightly backup to Google Drive. The resulting Health Connect.zip is about 20MB in my case. It contains a sqlite database that is unencrypted. It’s pretty straightforward to get weight, steps, etc out of it. It works for me.
Google Takeout for Google Fit does work. This gives you data in a messy pile of small JSON files with names like raw_com.google.weight_com.inbody2014.inbody_he.json. My actual weight data is stored in there, it would not be hard to write a tool to convert the data into a clean CSV. Maybe someone has.
Health Sync is a third party app that syncs health and fitness data between apps. Sort of Zapier for health data. I connected Google Fit to Google Drive with it and it seems to be creating nicely formatted CSV files for me. It also has a Health Connect sync to Google Drive which should sync everything all at once, but may not be able to get at data history. I’ve got it turned on as well and am not clear what it is doing.
There’s a fourth alternative I haven’t explored.. Google Fit does have a cloud platform and API and it should be possible to write software to fetch data from it to a server. Maybe someone’s done this. But Google Fit appears to be on its way out, I wouldn’t invest in this. Health Connect does not have any sort of cloud API, it’s all running on Android only.
Needless to say this is all a big mess. Part of the problem is Google is trying to meet privacy requirements, health data is particularly sensitive. It’s the same with location tracking, like Google Timeline. They’re moving all this stuff to only live on the user’s Android devices so they are less responsible for it. It’s awkward.
I love the idea of passkeys but had a very bad time trying to use them last year. But sites keep adding support for them and friends reported they were having more luck, so I gave them another try. It worked!
Before I get into details, I want to talk about another milestone: Apple is leading the way in passkey migration, see these notes on iOS 26. So far none of the vendors had any story for “what if I want to move my passkey to a different device or program?” and Apple now has a solution.
For now I’m storing all my passkeys in 1Password. They’re my existing password agent and I like they are independent. If I were starting brand new I might use Google’s password manager instead, it’s now quite good, but it locks you into Chrome. Apple also has very good password management in their products.
1Password, Windows, and Android
I’m now able to log into GitHub and this test site with passkeys. I generated them in Chrome on Windows and stored them in 1Password and that worked. I could then use them from Chrome on Android (via 1Password). Hooray!
It’s still a little janky: the 1Password UI integration is not perfect. But it does work. A huge help is everything is now displaying which software is trying to fill in the password: 1Password’s blue keyhole icon or Google’s multicolored key.
It was not easy making this work reliably! It’s partly my fault: last year when testing I did everything I could to disable 1Password. Re-enabling it was not so simple. In Windows it’s straightforward enough, but note that Google Chrome or Windows Hello both might try to intervene. I’ve got it going to 1Password first now and I’m happy.
In Android it’s a total mess. It’s Google’s fault, the Android settings have proliferated terribly across the product. And I suspect no one at Google is mandated to make it easy for their competitors to work well.
1Password’s instructions mostly got me there but shed a tear for step 3 with four different scenarios like “If you have a Samsung device running...” Good ol’ Android :-(
Actually even following those instructions I had a lot of trouble. You have to enable it in two different Settings places.
I ended up having to remove everything and re-enable 1Password a second time for it to work. Like I said before, I did a bunch of stuff to disable 1Password last year and I suspect that made me a trickier case than most users.
So passkey usability still isn’t great. But at least I can get them working on my devices now! And now that it is working I’m anticipating a real improvement in authentication usability. I’m convinced passkeys are a good technology, I just wish the user experience were better.
If you want to listen to NPR Morning Edition as a podcast, try this URL.
Apologies to whoever’s API key that is. But it’s been circulating for six years now so I don’t feel bad using it.
NPR has a really awkward stance with the Internet. It’s supposed to be for public benefit but then their audio programs are their essential intellectual property, so they keep them locked up. Their NPR One app is just awful. For a long time I was using some third party hack feed, but it recently shut down.
I’m partly responsible for introducing the use of “API keys” in web services. We used one for the Google SOAP search service, a very early public web service. And we put API keys in the request. But at least in the SOAP XML body, not the URL. Putting them in the URL is just asking for them to be copied around. API keys are a bad idea for other reasons but they are sort of useful for a low security tracking token.
Adobe somehow managed to install itself as an extension in my web browser giving itself permission to read and change all your data on all websites. Without my consent or cooperation. And Chrome just allowed it.
Fortunately some other part of Chrome was like “hold up, that’s not right” and warned me about it. But only after it was installed. Again, the fuck is this?
Meanwhile, the essential security and ad blocking software I rely on is being crippled by Chrome, ostensibly for security reasons. They allow Adobe to do this bullshit and don’t allow me to let uBlock Origin do the same thing even when I explicitly install it.
This is where I remind you that Adobe software, in particular Acrobat, has been responsible for more security intrusions in web browsers than pretty much any piece of software out there.
The current Adobe Acrobat on Windows is just awful btw. They invented some new UI toolkit that doesn’t look like any other Windows app. It also doesn’t work, the process of trying to save a file to a directory is particularly awful.
Why is this possible?
Update: a friend who used to work on Chrome commented that this is a long-standing challenge with Chrome. The Windows browser allows other apps to install extensions by dropping a folder or file in the right place. That makes sense, there’s lots of scenarios where that’d be a good idea. So Chrome may be doing the right thing here. My only quibble is the UI could be clearer, maybe “Adobe attempted to install this extension, would you like to allow it?” The way it is written now looks like it was fully installed even though as a disabled extension, it wasn’t really.
Adobe though, they can fuck right off. Acrobat is so aggressive about subverting your Windows machine. It’s gotten worse in Windows 11 now that Microsoft has made file associations so difficult. The legitimate freeware I want doesn’t really install itself as a file handler correctly but Adobe of course is paying a whole team of geniuses finding new ways to worm its way into your operating system.
Google Timeline is one of my favorite lesser-known products, a detailed place by place diary of everywhere I’ve been with my phone for the last eight years. Unfortunately they are shutting down the web product and replacing it with a mobile-only product. The deadline is December 8, in five days. I’ve been putting off figuring it out until now. These docs were helpful as was this article and this one.
Update: after some evaluation, the new mobile product is fairly nice. It’s a comprehensive thing inside Maps, it’s not an afterthought. It does have reasonable data export. When I first wrote this post I was cranky at the change and my view has softened some since.
Migrating to new Timeline mobile
The first thing I did was use Google Takeout to download all my old timeline data from the web application. A timeline-only archive was fast, just a few minutes, and a 50MB download. It contains a lot of data but what I wanted most was the single JSON file with my GPS history in it. (The rest of it are the semantically analyzed files: very useful but not as cool).
The other thing I did was to migrate to Google Timeline on my phone. That’s the only option now, and it’s not as good as the old web application. But it’s what they have.
The migration was relatively simple. Once I disabled my Private DNS ad blocker, that is, with it enabled the app would not get past one stage of the signup process. No error, just a refresh.
To set up mobile Timeline you have to launch Google Maps on your primary phone, find your way to the Timeline part of the app, and run through a setup wizard. It asks some questions about your preferences. Then it says it will download all your data and it’s done. (This is the part that Private DNS was breaking.) Afterwards it gives a summary of the options you picked, here’s mine:
I’m unclear on whether it really copied all my data over. It said it’d only download a couple MB, not the 50MB+ compressed the takeout had in it. I do see old trips of mine over the years so some data copied over. My guess is it only kept the semantic tracks, not the detailed point by point logs.
The new Timeline mobile product looks pretty nice in general. It’s got an easily browsable list of old trips, just like the webapp had. Too bad it’s confined to my tiny phone.
Once I finished the migration the web application no longer works for me.
Exporting data
I cannot find any data export option in the new mobile Timeline product. I’ve asked a question on the help forums. I fear Google may have removed this feature. If so, I am very unhappy about that.
To export your mobile Timeline data, in Android Settings (not Maps) go to Settings > Location > Location Services > Timeline > Export timeline data. This option was not available for me at first after setting up mobile Timeline, I had to reboot my phone and then it appeared.
The export is a single file named Timeline.json. Mine is about 15MB (compare 800MB for the Google Takeout). The data does seem complete, it goes back 8+ years just like my old web Timeline data did. It’s a different format though. The meat of it is in a section called semanticSegments, see some examples here. It looks to be a hybrid of analyzed data with place IDs etc and then some raw GPS coordinates. I think it’s not as fine grained as the old web Timeline export but am not sure.
There is also a backup system for timeline data that operates separately from the rest of Android backups. You have to enable it separately within the Maps app under Timeline. But I think those backups can only be used to restore a phone, there’s no way to get at the data in them.
Thoughts on location tracking
I love location tracking. I have a continuous record of where I’ve been for some 12 years. I built a whole location tracking product. It’s so powerful having an automatic diary and travelogue! And Google Timeline’s semantic analysis is great, they do an excellent job turning a random string of lat/lon pairs into a story like “you went to Venice, went to this museum, spent two hours at this restaurant”. I love being able to review my history like that.
Google didn’t build this timeline product out of the kindness of their own heart. They did it to justify their advertising surveillance of users. Because as nice as it is for me to remember where I went shopping three years ago in Dublin, it’s way more valuable to Google to know that for many of their users. The bargain was they’d also make that data available to us, the users, as a form of transparency and quid pro quo. It felt reasonable to me.
Now the bargain has enshittified. Google is still doing just as much surveillance as always, moreso now that ad networks have sprawled and grown. There’s probably 20 location vendors who know where I am most of the time thanks to trackers in Chrome, the Android ecosystem, and its various apps. It’s not great but we’ve been living this way a few years now with some abuses but also some advantages. But now Google has weakened one of the best of those advantages, the Timeline web application. Update: not entirely fair, the new mobile app does seem like a serious product.
Watching an expert tech friend of mine struggle to understand why his computer with 1Password was letting him log in magically to a site, I was reminded of this conversation I had with Jessamyn West about passkey usability for ordinary people. Jessamyn is very steeped in tech and does tech support for folks in a rural library. She frequently writes really interesting stories about what her clients have trouble with. A useful touchstone into what the tech experience is like for ordinary Americans. She wrote a whole book about it!
Anyway, I wanted to capture a few of the things she said in response to an earlier blog post of mine complaining about passkeys. Here’s a link to the full Mastodon thread, some lightly edited quotes are presented here:
J: I am sorry you’ve had such a miserable time with passkeys but also kind of happy they are a shit show because they were so clearly going to be tough for people who are not computer system experts, don’t have reliable computer access (so might use a library) or have cell phone access instability. Maybe they’ll slow the roll-out. Thanks for sharing your experience.
N: when the tech works right it should be a much better and more secure experience!
J: Yeah I totally get that for the target audience. I think I get huffy when people have been breathlessly saying “This will solve online security!” when in point of fact it’s going to make it harder for at least one subclass of people for whom internet stuff is already pretty challenging.
N: what does that group of people do now for logins?
J: They usually have passwords that fit the requirements and write them down in books. Some of them don’t have mobile devices and so they’d have to get a phone call at a landline or get a message to their email which maybe they can’t check if they’re not at home. Which makes getting tech-support at the library fairly difficult. A lot of these people only use two factor authentication where it’s absolutely necessary.
Jessamyn has also written about a concept of “device continuity”, the idea that people own a digital device and all the data on it stays intact or is migrated with upgrades, replacements, etc. That’s a luxury not everyone has. Phones break, get lost, stolen. So much of our digital authentication assumes that people have a secure device that they will have access to continuously. Things like passkeys don’t work nearly as well if you don’t have that.
Ever since my Goodreads account loss disaster I’ve been eager to back up all the info on books I have recorded there. Right now I’m motivated to build my own UI for that data so I can search for books more easily. Considering emulating Simon Willison’s dogsheep projects and getting the data into sqlite for Datasette.
Anyway, there’s a bunch of ways to get data out of Goodreads. They’ve changed over the years as Amazon, their owner, makes it less and less accessible. Here’s some options:
My Books > Import/Export. The simplest bulk export. Takes a few minutes and you get a CSV file, one per book in your library. Data includes title, author, ISBN, rating, date read, etc. The data format is a bit funky with columns like "=""0060590297""" or "=""""" but it seems to have most of the data I want in it. (Unfortunately it does not have the number of reviews the book has received, but it does have average rating.)
Account Settings > Settings > Privacy > download request, called a “DSAR” (a GDPR compliance term). This gets you a zip file full of JSON stuff. They say it will take up to a month to prepare the download, last time I did it took several days. There’s a lot of uninteresting stuff here, like a record of every time I opened the Kindle app on my tablet. It’s also not in a convenient format. The review.json contains my reviews, for instance, but the book is only referenced by freetext title: no IDs or ISBNs or the like.
Goodreads API. Hahha, just kidding, it was shut down in 2020 “As part of our overall commitment to continually improve our data management”.
HTML scraping. There’s a bunch of projects and tutorials around scraping data, all at various levels of completeness or abandonment. I had some luck with goodreads-user-scraper: it looks like someone’s maintaining it and it’s oriented around user data, not just scraping stuff for some marketing purpose. But it errored out about halfway through with a 404, not sure if I was throttled or it’s broken. Also none of the data was personal to me other than the list of books, in particular my review text isn’t in the dump.
Note my list is organized around getting a snapshot of your account. Given it takes them up to a month to prepare that a snapshot, it’d be nice to have incremental updates. I think a scraping approach is the only way to do that.
I’m going to start with the CSV and feed it into datasette and see where that gets me. Probably use scraping otherwise, the DSAR looks pretty useless for my purposes.
The schema is messy so I created some views in sqlite to have cleaner output in Datasette
drop view if exists read;
create view read as
select
"My Rating",
"Average Rating",
"Date Read",
Title,
Author,
trim(ISBN13, '"=') as "ISBN13",
replace("My Review", '<br/>', '
') as "Review"
from
books
where
"Bookshelves" in ("", "wont-finish")
;
drop view if exists toread;
create view toread as
select
"Average Rating",
"Date Added",
Title,
Author,
trim(ISBN13, '"=') as "ISBN13"
from
books
where
"Bookshelves" = "to-read"
;
Yesterday I tried using passkeys with Google and had a bad experience. I’ve since found a couple of sources of the problems and worked around them. I will reiterate it’s still all a bad experience, in no way is this product ready for ordinary users to rely on.
Some of my passkey problems may be specific to logging in to Google services. There seems to be something wrong specifically with their server-side authentication implementation, maybe related to the “new login page” they recently launched. I’m having a better experience with other sites. With both GitHub and Adobe I’m able to create a passkey, save it, and use it to log in. Sometimes. Chrome seems to be sending passkey requests to the wrong device.
Some of my problems might also be related to 1Password. It’s in the middle, between the authenticating site and my browser. But I really want passkey requests to go through to Google’s passkey agent on my phone (at least until 1Password works on Android). See below for notes on 1Password; I’ve disabled its passkey support in my desktop browser for now.
The main problem I’ve encountered is which agent I store the passkey on. I have at least four possibilities: 1Password, Windows Hello (on my desktop), my Pixel 8 Android phone, and my Samsung Android tablet. Those latter two are the same data store, with passkeys synced, but separate physical devices. I want to use the Pixel 8 because it’s the most likely to be accessible to me, at least until 1Password works reliably on Android. But it’s seldom the device I’m logging in on, so I’m relying on Chrome / Windows delegation to a nearby device.
Saving a passkey
This is what saving an Adobe passkey looks like. Before I turned off 1Password, Chrome on Windows wanted me to save the passkey in 1Password, that’s the screenshot above left. If I click the little Yubikey looking thing at the top then I get brought to a Windows dialog in the middle: this is asking me to save it to Windows Hello on my desktop, as authenticated with a PIN. If I then click “Use another device” I get the option of using my Pixel 8. That works; the Pixel gets a message (Bluetooth? Internet?), pops up a screen, and I can save the passkey.
Logging in with a passkey
Logging in worked for me, at least once. But as I tried to document this more thoroughly it failed. I finally turned off 1Password’s recommending passkeys in the browser and that seems to have simplified things enough where they work reliably.
That slideshow is the easy seven step process that’s working for me to log in. I believe steps 1 and 2 are Adobe’s website, 3 4 and 5 are all Chrome on desktop, and steps 6 and 7 are Windows. Not depicted: the extra steps for the UI on the phone to actually use the passkey.
Things go really wrong between steps 3 and 4. I say “Use a passkey from Pixel 8” and then the browser sends the request to SM-X800 instead. That’s my Samsung tablet. WTF? Google knows I’m logged in to two Android devices and syncs passkeys to both of them. So in theory either device would work but I have the phone with me always, not the tablet. And it’s wacky that I am prompted for “Pixel 8” and it sends it to “SM-X800” instead. The passkey dialog sometimes shows up on the tablet but when I’ve tried using it it fails (now it’s not even showing up). I can’t find any way to tell Google to use my Pixel 8 exclusively, or preferentially. I asked on Reddit.
So instead of step 4 I do steps 5 and 6 instead, the awkward way to get Chrome/Windows to use another device for a passkey instead of the default. Note the UI stops being Chrome and starts being Windows at step 6. The good news is this does work; the passkey dialog shows up on the Pixel 8, I approve, and I’m logged in.
Mind you this 7 step process is the good case, I have it working reliably and repeatedly. But only after disabling 1Password entirely and only after going through contortions to work around some problem with using the wrong passkey device. Still not sure how that is happening.
Update: really helpful response on Mastodon from a Google engineer saying at least some of what I’m encountering with multiple devices could be a bug in Chrome.
1Password
I’ve only gotten this far by disabling 1Password’s passkey support entirely. It looks like this:
I’m sympathetic to 1Password, it must be very hard to preserve your business when dependent on the platforms of monopolists. I want them to be my passkey store. But until 1Password works on Android I can’t. And the Chrome desktop browser integration on Windows seems to be causing me problems. Not sure if it’s outright bugs or if it’s just some things are simpler without it.
Anyway, here’s the 1Password extension preferences and its confusing array of options for exactly where it will intervene. As you can see I’ve disabled the most obvious passkey part of it. I still see some evidence it’s in the middle sometimes though. I’m really not sure. Some of my testing has been with the extension entirely disabled in Chrome, I’m reasonably sure it’s not involved in those cases.
Some tech friends surprised me by saying they’re all using passkeys and liking them. I’m still not, despite being very interested in them. Passkeys seem like a failure to me so far. But my friends who are having success with them are all full-in on the Apple ecosystem, that may be why they are having a good experience. I’m using mostly Google and Android stuff and really want 1Password to manage my passkeys.
Update: the notes below are mostly for trying to log in to Google using passkeys. I had a better experience using passkeys for GitHub.
1Password passkeys are a mess.
1Password doesn’t work. I’m not sure it’s their fault. The platform owners (Google, Microsoft, Apple) have all paid lip-service to supporting third party passkey stores but in practice it is clumsy if it works at all. 1Password announced support for passkeys last September, including Android. But here in March 2024 it still doesn’t work. It requires Android 14, which came out only 5 months ago and isn’t on many devices. It also requires Chrome support third party passkeys. Which maybe works? But requires setting a flag in Chrome to enable, and user reports say it may not work well. Disappointing all around and also a clear question for anti-trust investigation IMHO.
The Google passkey experience
Using passkeys in Google (Android, Chrome) is better but doesn’t work reliably. I successfully just created a passkey stored on my Pixel phone, in Google’s store. And then logged in with it using my Windows machine running Chrome. But I had to scan a QRCode to do that, an absurd workflow, despite my phone and my desktop communicating (via Bluetooth?) in the past in some Chrome thing. In theory this desktop/phone integration gets better the second time you need it but instead it just doesn’t work at all; the desktop browser tells me to press a button on my phone but the prompt never shows up on the phone. A similar workflow for Google 2FA is still working so my phone is still able to do some authentication related stuff.
Also I can’t reliably use accounts.google.com to manage my passkeys. Google’s webapp crashes. It might be related to my browser extensions, it works better in incognito mode. Or it’s possible this is something unique to me (I have one of the very first Google accounts ever, created when I worked there before anything launched). Or maybe it’s just broken?
None of this is giving me much confidence in Google managing passkeys.
How about Microsoft?
I also tried creating a passkey stored in Windows Hello to log in to Google using my Chrome browser. This actually works pretty well. But Windows Hello feels rinky-dink and I really don’t want to use it. And at least some part of Windows integration breaks.
Migration
Another huge problem with passkeys is there’s still no story for migrating. If I have a passkey stored on my phone and I get a new phone, can I move the old passkey to another phone? What if I switch from Android to iPhone? Every time I’ve looked they say “migration is a work in progress”.
The practical thing for now is to look at passkeys as ephemeral things you have many of. Your account at Google has many ways to log in: password, proprietary device-based unlock, passkeys. It might have several passkeys. If you get a new phone you’ll just make a new passkey.
Except... what if I use passkeys to log in everywhere? What if I have 100 passkeys on my phone? Do I manually have to create 100 new passkeys, one for every site? That’s ridiculous. But I think that’s where we are today.
Which brings me back to 1Password. They have an excellent story for migration; your authentication lives in the 1Password cloud. Or at least I think they do, I’m not actually sure for passkeys. I can’t test it. Because 1Password passkeys don’t work in Chrome.
Update: it seems Android is storing passkeys in the Google Password Store which you can manage via the Chrome browser. They are synced across devices.
I took over Feditrends, which has an RSS 2.0 feed. The feed’s contents are in UTF-8. Feedly doesn’t display them correctly, interpreting the typographical punctuation as ISO-8859-1 nonsense instead.
That mess is supposed to be quotation marks: U+201C “ at the start.
The underlying problem is that neither the feed document nor the Apache2 server specify the encoding. And in the absence Feedly is guessing ISO-8859-1. Odd guess in 2024! This may also be a problem for JSON feeds. Real weird if so, JSON’s default is UTF-8 as is jsonfeed’s recommendation.
The fix I just deployed now for the RSS feed is to add <?xml version="1.0" encoding="utf-8"?> to the start of the RSS feed document. I don’t know if this works yet. Two years ago I discovered it’s hard to test RSS feeds, there’s very few clients to use. And ones like Feedly I can’t force to refresh and display new. So instead I’ll just wait a day and see. Update I think it worked; the U+2019 in this headline displays in Feedly properly as “Ford’s” and looks like a curly apostrophe.
The other fix would be to get the HTTP server to specify the encoding. I suspect that’s what the old server was doing and I introduced a bug when I took over the product. Right now my server is sending Content-Type: application/xml without specifying the byte encoding. Adding a charset=utf-8 to that would be a good idea. But that configuration turns out to be slightly difficult in Apache2. I’ve already got AddDefaultCharset utf-8 in the config but that doesn’t really apply everywhere. Some random LLM recommends adding this to my config:
<FilesMatch "\.xml$"> Header set Content-Type "application/xml; charset=utf-8" </FilesMatch>
That looks plausible. But I prefer the RSS document itself be self-describing. I’d set it in the HTTP transport too but I hate messing with Apache configs.
Two observations
Apache2 is really not a good web server anymore. It’s never modernized. So configuring Let’s Encrypt is a real mess (smoothed over by certbot). It has strange defaults for a world before UTF-8 and HTTPS everywhere. It’s possible it’ll never support HTTP/3. I only use it because I’ve been using it for, what, 29 years now? It’d be a Project to migrate my existing stuff over. I like Caddy these days as a modern simpler replacement although it lacks CGI support. (Don’t laugh, it’s still useful!).
The word “encoding” is ambiguous. I often say things like “that document is encoded in UTF-8”. But people also say “the feed is encoded in RSS 2.0” or “RSS is encoded in XML”. So many layers of encoding. “Charset” seems to be the better term to mean “is this ISO-8859-1 or UTF-8?” But that doesn’t feel quite right either. Surely Unicode is the set of characters, and UTF-8 is the encoding of that into bytes? Huh.
I just spent 45 minutes getting Netflix to work at the same time in my two houses. I don’t know if it will keep working but I’ll write up what I’ve learned so far. The rules have changed recently as Netflix tries to crack down on account sharing. I don’t even know if what I want to do is allowed anymore.
A key concept here is the “Netflix household” which seems to be defined as “on the same internet connection as this TV”. They don’t explain what “this TV” might mean in a world of many different Netflix clients. Nor do they define “internet connection”: is it WiFi SSID? External IP address? What about VPNs and static routing and IPv6? Is “household” just a synonym for “house with a LAN” or does it encompass a larger notion of a family that might not always be in one building together? Netflix doesn’t make any of this clear.
What is working right now
I followed the instructions for “Using Netflix outside of your home”, “Second home or frequent travel to the same location”. These are frustratingly vague but the nut of it is “From the main place you watch Netflix open the Netflix app or go to Netflix.com on a web browser on your portable device once a month... Then take the same steps when you arrive at your second location to continue watching Netflix without interruption.”
The key thing here seems to be “on Netflix.com on a web browser”. We first tried this using iPad and Android client apps or the Roku client app and things kept not working. However when I watched Netflix first on an Android tablet Chrome tab, then Ken watched it on an iPad tablet Safari tab, suddenly everything started working and we were allowed to watch two shows at the same time in two houses. Once we’d done the browser thing we were able to both watch a show at the same time in the Roku client in two houses. Success! At least, for now. I’m anticipating it breaking.
I have a theory that what’s happened is Netflix is willing to take a look at all the IP addresses that recently tried to use an account. And then accept that they are all part of the same household if you jump through the login / email verification hoops. It also appears that they have a one SSID only policy for wireless devices. I’ll also note we were sent to the evocatively named URL https://www.netflix.com/tv2. Is that for a second TV? Who knows?
Netflix now only lets you watch in one “household”. What’s a household? “A Netflix Household is a collection of the devices connected to the internet at the main place you watch Netflix.” As I said above this isn’t a very specific definition and I can’t tell if “one family that goes back and forth between two houses” counts as one household or not. The existence of special instructions for “Second home or frequent travel to the same location” suggests what we are doing should be OK.
There’s a bit more specific info on this help page. This part (and the reliance on mobile browser logins) makes me think SSIDs are a key factor: “If you have multiple Wi-Fi networks, we may only associate one with your Netflix Household. If you want to watch Netflix on a device that is connected to a Wi-Fi network using a different ISP account or that has a different external IP address, you may be asked to verify that device as part of your Netflix Household.” Just to complicate things: I have separate WiFi networks in the two houses, of course, but they both share the same SSID.
They also say “We use information such as IP addresses, device IDs, and account activity to determine whether a device signed into your account is part of your Netflix Household. We do not collect GPS data to try to determine the precise physical location of your devices.”
There’s a whole separate flow from Netflix for “I am temporarily at a hotel”. We used that first to get the second house working, and it worked fine for awhile but then it stopped. I think maybe they have a 14 day limit? Interestingly that device no longer had the option of saying I was temporarily there.
Finally Netflix has the option to add an Extra Member to an account. This costs another $7.99 a month and basically creates a new limited account with a separate email and password. It’s not clear whether an extra member is allowed to be in a second house / household / internet connection or not. Also I really don’t want a separate login, that sounds like I’d have to constantly be juggling who is logged in every time I watch TV. I just want two profiles on one account.
ARGH
This is all so maddening and more than once I thought to myself “you know, Plex never hassles me about this when I watch unlicensed copies of Netflix videos”. But I’m trying to be an upstanding citizen and pay for my service. Why does Netflix make it so hard?
I’m sympathetic to their desire to crack down on account sharing. Folks abused the old system quite a bit. I think the restriction that would make sense is “you can’t watch two streams simultaneously from two IP addresses”. Ie: two people could watch different things at the same time in one house, or one person can watch things at any house they want”. Just not two across houses. But I don’t think that’s their model.
I sure wish they defined exactly what their model is in technical enough terms I could understand if what I’m doing is impossible. I tried asking support for help and they seemed even more confused than me.
It’s still hard to set up offline Wikipedia on Android with Kiwix. Fortunately the app is getting updates again after the year+ mess. The new app works well and you can download ZIM libraries in the app and they work fine. But getting the full 100GB Wikipedia is difficult to impossible from their downloader.
Here’s what I did to download the ZIM file to my PC, then copy it to the phone. These steps may require the phone be in developer mode; that’s safe in Android and is not the same as rooting the phone.
Choose a ZIM file. I picked the 101.6GiB wikipedia_en_all_maxi_2023-11.zim
Launch the Play Store Kiwix app on your phone and use the app to download something small, like the top 100 articles. The goal here is just to get a storage folder created.
Mount the phone via USB on your PC.
On the PC, go to the directory Pixel 8\Internal shared storage\Android\data\org.kiwix.kiwixmobile\files\Kiwix You should see the small ZIM file that you installed in step 3 there.
Copy the big ZIM file you downloaded into the directory
Launch the Kiwix app and choose Library. You should see your new file.
Reddit is full of people saying they did this and it did not work. I’m not sure what’s going on. Maybe developer mode helps?
If the above steps don’t work, it’s recommended you uninstall the Google Play Store version of Kiwix and sideload a download from Kiwix itself. This has extra capabilities the Play Store won’t allow, including file access.
Another option is to install the Kiwix PWA, a fancy web page that works like an offline application. For some confusing reason PWAs on Android (which are not reviewed) can access your entire filesystem even if individual apps (which are reviews) can’t. That’s Google’s fault. Kiwix has been developing their PWA a lot recently. I haven’t really tried it.
The underlying problem here is Android keeps ratcheting up platform security and has slowly eroded the principle that apps can access files. I would hope nothing would stop this direct USB transfer but I don’t know anymore. I have other apps that can still access the filesystem, like SolidExplorer. Maybe Google gives them an exception that Kiwix can’t get?
Choosing a ZIM file
Kiwix has made it very hard to find the ZIM file for Wikipedia. The product usability is really bad.
It seems the ZIM libraries come in the following flavors:
Mini: summary sections only with pictures
Maxi: full articles with pictures
Nopic: full articles without pictures
???: no videos (almost all of them seem to be this but there’s exceptions.)
If you search for “Wikipedia” in the mobile app, you get a bunch of special interest things like “Ray Charles Wikipedia”. If you weed through those you can finally find actual Wikipedia. But the labels are (currently) wrong. For instance the screenshot at right shows 4 different versions of the top 100 articles. But one is mislabelled: that 14.1MB one does not contain videos. I think it’s actually wikipedia_en_100_mini_2023-12.zim which is only the summary section of each article, but has pictures.
In theory you can use the Google Play store app to download the full 100GB Wikipedia all in your phone. Nice! Assuming you can make that download work reliably on a phone, that is. But in practice I literally can’t find that ZIM file in the downloader, it’s like it’s hidden. The closest I could find was the 56GB all nopic.
BTW these files are huge for a phone! If you want something smaller try wikipedia_en_top_maxi_2023-10.zim. That’s 50,000 articles at 6GB. I do think it’s worth getting the full maxi with pictures; very useful in offline situations.
Kiwix also has a new Library webapp which lets you view the ZIM files in your browser. It seems like a nice idea! But again, the usability is terrible. What’s the difference between these 4 libraries in the screenshot below? Other than the size.
I feel bad picking on an open source project like Kiwix. But the product has had these usability problems for years now. They get funding from Wikipedia, maybe it’s not enough.
I keep seeing chatter about the Signal Foundation and their financials, so I dug deeper into their IRS 990 filings. No big story here, just my notes on what I learned. I love the secure messaging product and the non-profit mission. But their financial status sure seems headed for trouble. I am not an expert on non-profit financials, it’s possible I missed something and if so I’ll try to update this post.
Update: somehow I missed this post two weeks ago from Signal discussing their finances and asking for donations from individuals. More or less agrees with what I describe below. I’m looking at older financial reports, new donations won’t have shown up in the data I looked at yet.
Bottom line: the company is spending $20M–$30M a year. They’re making maybe $2M a year in real revenue. The only meaningful inflow was in 2018, the $105M loan (now mostly gift) from Brian Acton. They aren’t getting significant income from the product nor major contributions from other donors. They’re down to $37M in assets in 2022. Without some major change or new donation it looks like they’ll be out of money in a year or two. I think Wikipedia’s summary is mostly accurate:
On February 21, 2018, Moxie Marlinspike and WhatsApp co-founder Brian Acton announced the formation of the Signal Foundation, a 501(c)(3) nonprofit organization.[4][8] The foundation was started with an initial $50 million loan from Acton, who had left WhatsApp’s parent company, Facebook, in September 2017.[8] ... By the end of 2018, the loan had increased to $105,000,400, which is due to be repaid on February 28, 2068. The loan is unsecured and at 0% interest.
If you look at ProPublica’s summary of the 990 filings there’s some graphs of financial trends but they give a slightly misleading picture.
That revenue graph is dominated by details of the $105M loan in 2018. Most of the revenue in the graph above is Acton forgiving that loan, knocking $10M–$30M off a year. (The loan is down to $32M in 2022). If you look at Part VIII of the 2022 990, for instance, $23.5M of $26M is contributions. There’s no list of contributors but eyeballing the numbers, the big contributions every year match the debt forgiveness. It looks like their primary contributor is Acton writing off the loan.
Other than the gift, the most meaningful revenue Signal books is about $2M in 2021 and 2022 for royalties. There’s also ~$400K a year from investment income. Overall Signal seems to be taking in a couple of million a year from the product. And not receiving any major contributions other than Acton’s 2018 gift.
Meanwhile Signal’s expenses were $30.5M in 2022. Part IX of the 990s has the details. Roughly $12.5M is paying employees and executives, another $12.5M is computer hosting costs (Twilio, Microsoft, Amazon, Google). The 2021 picture is similar.
So that’s the picture; spending $30M a year, taking in $2M, and living off the $105M gift in 2018. That’s going to run out soon.
Nothing in this picture is weird or nefarious, it makes perfect sense for a non-profit. Signal is running a valuable service for people to use for free. But they aren’t getting major donations, relying entirely on that gift from their CEO in 2018. That’s cool too, I love seeing rich people use their money and time to build something of benefit to the world! But either he’s going to have to stump up again or something’s got to change.
(BTW, the Signal Foundation is the non-profit I’m looking at here. They own an ordinary company subsidiary, Signal Messenger LLC. That LLC seems mostly small and passive, not raising investment of its own. I don’t think this is like OpenAI and Microsoft.)
Just got this email from Carta. Or a financial phishing attempt. Or both?
At least they provided a copy and paste URL you can verify, although it going to a resource named “redirect” is not inspiring. The real treat here though is the big black button is not a link to carta at all; it’s a link to mandrillapp.com, some Mailchimp surveillance thing.
Trying a new thing: labelling all email from MailChimp in Gmail so I have a heads up it’s probably spam. I’m not quite ready to just stop seeing these mails but I’m getting there. Here’s the filter, thanks to JsKnox’ suggestion to filter on list:mcsv.net.
Matches: list:mcsv.net.
Do this: Apply label "mailchimp", Never mark it as important
I didn’t select the action “skip inbox”. That’d be the next step. (I find JsKnox’s suggestion to reply with email of your own amusing but way more than I’d do.)
I’m not convinced this filter is perfect. My old filtering on phrases in the mail like “view this email in your browser” catches more mailing lists. But they may not be Mailchimp mailing lists; some seem to be some other spam software. I may end up wanting to filter on those too but I’m going to focus on Mailchimp for now. That list:mcsv.net filter sure is easy.
Thoughts and Rant
I get a lot of spam from MailChimp, Intuit’s spam company. Four years have passed since I last looked at this; back then I concluded 93% of the mail MailChimp sent me was spam but the other 7% was useful enough I didn’t block them entirely.
It feels worse now. Nothing in the product has improved for me, they still have nothing for people who receive mail from MailChimp. We are the product, not the customer. Meanwhile Intuit has cemented their control over the spam market.
I didn’t bother categorizing all the recent Mailchimp mail I got. Some of it is stuff I want, local community organizations that use Mailchimp (because what else is there?). A lot of it isn’t. Holidays are worst, when every restaurant and hotel I ever foolishly gave my email address to eight years ago decides to sign me up for a new spam mailing list and suggests I pop in for Christmas dinner in Thailand or London or someplace else thousands of miles from me.
The key problem is how Mailchimp allows their customers to add people like me to new mailing lists without my consent. That should not be allowed. Every subscription to a list should require consent from the recipient. But that’s not how the business works.
Gmail is in an interesting position where they could make that how the business works. Just tune their spam filtering algorithm a tiny bit, maybe rank mail from new mailing lists where I didn’t opt-in via Gmail more like spam. That’d be absolutely crushing to Intuit’s business and would no doubt lead to lawsuits. Couldn’t happen to a nicer company.
Roku is an excellent media streaming device. But it’s ridiculously cheap because their real business is selling data on what you watch to advertisers.
I haven’t found a good general Roku setting in the app for opting out of that surveillance. It’s not really in the app’s settings, other than you can turn off personalized ads. I presume they’re still selling my data.
I did find some hard-to-find web pages though.
California gives me special powers. Roku has a don’t-sell page for us hidden here. The UI is (deliberately?) confusing but I believe “Enabled” is the more private option.
Roku’s cookie settings gives you tools to opt out of not only their own cookies, but their ad partners too. The main thing it does is take you to this industry opt out tool which is a general purpose web thing. Only works with ad blocker disabled. I think this is just setting things on the specific web browser you visited it on and is not a broader account opt-out.
Roku is also embedding more and more ads in the app. There’s a secret menu to turn those off that works, at least for now. Hat tip to Andy for finding this page. The code is Home (5 times), then up right down left up.
Update: My Roku is actually a TCL television. I can’t find anything online about TCL privacy choices but when I emailed me they sent me to this web form to submit a request. An automated process got me to the point of them wanting my TV’s serial number that also says “Roku TV: This data is solely controlled by Roku TV. Please email the request to privacy@roku.com” so I guess that’s the end of that. The process was not friendly: 2 different CAPTCHAs and 3 separate verifications of email and phone number.
The Plex video player launched a new social media feature where it shows you things like “your friend Nelson watched Totally Licensed Movie last night”. You can see your feed of friends’ activity at this link. This seems to be part of a broad new product effort called Discover Together.
I didn’t opt into this sharing. I don’t want my friends to see a list of the TV shows I watch. Plex unilaterally decided to start collecting and publishing that data without my explicit consent. Which video files I watch is private data and potentially a legal problem. I can see how it’d be useful for Plex to become more of a social media app. But the abusive way they launched it makes me want to go scorched earth and block every aspect of data sharing I can from Plex.
Update: in a discussion on Mastodon a Plex engineer responded with a personal (not official) comment and said
You should have been shown two screens at some point; one to opt-in or out of view state syncing, and another more recently to opt in or out of the social sharing stuff, and would have needed to opt-in to both for any of this to be shared with friends.
So it’s possible I clicked something at some point to allow this.
Update 2: over on Reddit someone posted what the UI looks like for the opt-in I might have clicked. There’s four screens that pop up interrupting whatever you turned your TV on to watch. The first three are marketing copy, the fourth is the consent request. It’s very unlikely I paid enough attention to this to make an informed choice. It also looks like the default was to opt people in to friends sharing.
Update 3: PC Gamer has an article about Plex’ explanation of how people got this turned on without their consent. Turns out the “You’re in control” UI has a flow which turns off the privacy without the user intending it. Terrible design although not clear if it’s malice or incompetence.
Here’s what I did to preserve my privacy. I found two major things to block in Plex: watch history and ad preferences. There’s also some other minor account settings. Details below.
Profile settings: activity sharing
You can opt out of sharing what you are watching with friends by going to this link to edit your profile and selecting “Privacy Settings” at the bottom. “My Watch History” is the one I found most invasive.
Account setting: ads and more
Plex has a bunch of other privacy settings in your account. You can edit them by going to this link to edit your account and looking at the bottom for Privacy. There are several links there.
The most useful one is the Ad Vendors page, where you can opt out of them selling your data to 100+ marketing companies. This only works in some US states (thank you, California!) You have to disable your ad blocker to see the UI that lets you change things.
Here’s the list of opt-out states. The obvious typos are perhaps an indicator of how seriously Plex takes this part of their product. California Colorado Connecticut Virginia Utah Indiana Iowa Montana Oregon Tennessee Texas Massachusettes New Jersey Pennsylvania Deleware
There’s also a “Privacy Preferences” link that takes you to this part of the webapp. It looks mostly like legalese text but if you look closely there is a checkbox you can turn off for “Send playback data to Plex”.
Further up the account settings page there’s also “Sync Your Watch State and Ratings”. That’s also keeping a record of what you watch. I think this particular feature is private to you and it provides a useful function, so I’ve left this one on for now.
Dark patterns
Plex’s scattered privacy settings seem designed to make it hard for users to find and configure them. It’s so hard to even find these things that I had to write a whole blog post. And after spending 30+ minutes on this I’m still not sure I got it all configured the way I want.
The playback preferences are buried deep in thousands of words of legalese text. The ad vendor preferences are only available to users from certain jurisdictions. And then the UI doesn’t even work if you are running an ad blocker (as likely 98% of people who get to this page are).
Maybe that’s all just bad design, Plex is not the most professional product. But it sure feels intentional, to keep users trapped in choices that benefit the company.
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.
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.
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.
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.
I switched from MyFitnessPal to Cronometer for tracking the calories in the food I eat. It’s a good food diary. Need more time using it but I plan to write a happy review on my main blog. A key advantage in Cronometer is its data is accurate. Some technical notes on details of that:
They use carefully vetted data sources. Most food trackers advertise “14 million foods!” but 13.9M of those are wrong or incomplete data. Cronometer has a core database of 30,000 foods from reliable sources. Most of my entries are coming from the NCCDB, a commercial database with an academic connection. Cronometer also has a broader set of data from commercial sources and the user community but these are clearly labelled as less accurate.
A related advantage is Cronometer has pretty good search ranking. When I type “milk” the top 2 results are “whole milk” and “2% milk”, both from the NCCDB. Good authoritative data. I’m finding mostly generics there too, not brand names which are just unnecessary extra choices for staple items.
Cronometer also shows data confidence scores on its summary statistics like how many calories or how much Vitamin C you ate for the day. Most of my scores are 100% or 90%. It’s a pretty broad accuracy number, mostly they’re just accounting for incomplete entries in the database. But it’s a thoughtful touch.
OTOH they also show calories to a ridiculous level of precision. It tells me the 1 tablespoon of butter I put on my toast had 101.72 calories in it, as if I measured that tablespoon to 5 significant digits and butter never varied. It’s weird they don’t just round to the nearest integer. Most of the UI is very good, this is a rare mistake.
I’m mad about the food tracking app MyFitnessPal for various reasons, it’s a badly designed product. But I’ve been a user of it for a long time and I’d like to get a copy of all the data I laboriously entered. They won’t give it to me.
MFP has a data export feature. But it requires you pay an eye-watering $20/mo to get access to it and it seems limited to exporting 90 days of data.
They have a basic report feature that will show you a graph of calories consumed by day for the last 90 days. That’s the main thing I care about although it’s nowhere near complete. Anyway that’s backed by an XHR for the URL https://www.myfitnesspal.com/api/services/reports/results/nutrition/Calories/90?report_name=Calories which gives you a simple JSON time series. Unfortunately changing that “90” to “365” or “180” results in a server error (after a long delay) so I don’t think you can trick it into giving you more data.
They also have a printable diary report type which gives you line items for every food item you’ve entered. There’s no limit in the UI on how long that report goes for, but the webapp seems to error out (after a long delay) if you get more than about a month of data. Perhaps scanning more than 500 rows in a database is too much Big Data for their system architecture. That data is coming from a POST XHR to https://www.myfitnesspal.com/api/services/diary/report and you can capture a detailed JSON response in browser developer tools. I was able to use this to tediously get my data a month at a time.
I couldn’t find an easy way to get the recipes, meals, etc I’d custom created for myself. I don’t really use those features much so I didn’t try very hard. There’s a lot of other data they collect too, it’d sure be nice to have a comprehensive “download all data” option for what is, essentially, a data recording app.
YouTube TV needs to know your home location to decide whether you have the right to watch local TV channels, also sports broadcasts. It’s an awkward impedance mismatch between the global Internet and 1920s business models born from the radio era. Anyway, the tech is a PITA for me.
Summary: sometimes you might have to log in and manually press an “update my home area” button. I do this from my phone when I’m really physically in that area, because the phone geolocation works.
Update (July 2024): just had to do this again and it was more complicated than I remember.
Try to watch YT TV in my desktop browser, get the error about location
Open YT TV app on phone
Tap little portrait of me in upper right
Click “Location” in my Account
Click “Update” for “Current playback area”, even though it shows the right area already
It says “updating...” and then “you have successfully updated...”
Desktop browser can watch the show again
In detail.. My home metro is the Sacramento area, where Grass Valley is. That is the main place I watch TV, where I live. But I do travel and also spend a fair amount of time in San Francisco. I always want YouTube TV to treat me as a Sacramento metro resident. This all should be in line with YouTube TV’s policies, in particular you are allowed to travel and watch shows from home as long as you log in from home every 3 months.
The problem is the main device I watch YouTube TV on in Grass Valley (a Roku TCL TV) is using Starlink. And Starlink’s IP addresses make me look like I’m in Los Angeles. So YouTube TV never sees me logging in from what it thinks is Sacramento. It’s really stupid and a great example of why IP based geolocation is a bad idea.
The easy work around has been to watch YouTube TV from my cell phone from time to time. The phone app seems to use the phone’s actual location, not the IP address, and all is well.
Apparently I forgot to do that and the app on a Roku in San Francisco refused to show anything until I logged in again from my home area. Same thing happening here in my web browser. Everything locked.
Finally on the phone I found a way to set my home area. It was almost like I had to set it up again, manually pressing a button saying “yes I really am home now” (in Grass Valley). Once I did that my account was unlocked and all the other devices worked again with Sacramento as my home area.
What a stupid farce.
(Coincidentally, just yesterday I set up my desktop computer to spoof my location so I look like I am where I really am in Grass Valley, despite the Starlink IP being in LA. Somehow that didn’t seem to work with Youtube TV. Maybe just a cache problem, or maybe they get upset if the IP location doesn’t match the browser geolocation? My impression is YouTube TV is doing the minimum to comply with licensing requirements and is not too worried about catching dastardly people who spoof their locations, but who knows.)
You know what videos I have that don’t have georestrictions? The pirated ones. Once again the illegal option is a better user experience.
I finally found a good extension for controlling browser geolocation: location-guard. It’s open source, works in multiple browsers, and has some smart features. This replaces my old config hack for Firefox on my desktop computer and I’m mostly using it to work around Starlink’s geolocation limitations.
Update July 2025: no one ported Location Guard to MV3 so Google has now broken it. I’m using Cloaq instead. It’s not quite as fancy but seems to do the job. However read the notes about their use of the debugger API and having to launch Chrome with a shortcut. Nuisance!
Update April 2026: I’m using this Location Guard (V3) now. It’s on GitHub here but I didn’t verify that the version from the Chrome web store matches that code.
I used this site to test it (although it bugged out on me once...) Probably this test site is better, it has more diagnostic detail. The Chrome permissions at chrome://settings/content/location are also worth examining.
It’s important to me this type of extension be open source. The extension has to have permission to access all websites and all data, so it takes a lot of trust to run it. And this kind of extension has a bad history of being bought and subverted (see also: the sad Hover Zoom story.)
Location Guard works by overriding the geolocation API in the browser Javascript. It’s pretty clever about it. By default Location Guard adds 500 meters of random noise to your current location. It keeps a cache of the location it gives to the site for 30 minutes so you don’t appear to be jumping around randomly. It also updates the accuracy data on the reply to indicate the location is not precise.
I worry that this kind of randomization is not really great, that if a site collects enough samples they can average away the noise. I’ve always thought it was better to just truncate coordinates. But in practice it’s probably good enough for most sites. Also I could be entirely wrong about this, the FAQ references some academic research about why this particular kind of Laplacian noise works.
But I won’t want to fuzz my location, I want to appear 400 miles away. For that I use Fixed Location. There’s a confusing option to that: “Fixed location disables geolocation. warning: this also disables the permission dialog”. I’m running with that turned off, because I definitely want to get a notification if a site is trying to geolocate me. The relevant code is here. It seems to work to let you still deny location permission if you want.
Note if you’re testing this be sure to use the extension option to delete local cache as needed.
I like Mastodon. But the mess which is cross-server following UI is really terrible. One bandaid for it is a browser extension. There’s a bunch of them. But the extensions have to have permission to modify data on all Internet sites, a potentially scary thing. Extension authors have definitely abused that power in the past. So my rule for this kind of thing now is it has to be open source.
There’s three open source Chrome extensions I found that make following cross-server easier.
Tootski (GitHub). This is the one I use. It works by adding a button to the awful “following users on Mastodon is a terrible experience” popup. It’s been a little flaky but does seem to work. Also ads a “share any page on Mastodon” button which I don’t need.
I’ve noticed something since switching to Chrome: sometimes when I click on a search result some text is highlighted on the page. Turns out this is called text fragments. More docs here and a general interest article here or here. Th ey date to 2020 and work in all major browsers but Firefox.
For example searching Google for [coconut milk chicken marinade] leads an in-line “People also ask” result. Clicking that result leads to a special anchored URL that causes Chrome to navigate to and highlight the relevant result. It’s a way to make a deep link into a particular piece of a page, based on its text content, without the page having an explicit anchor to link to.
There’s a standards proposal here (and a W3C document) that talks about some subtleties. There’s escaping, of course. There’s an HTTP directive for a page to opt out of the behavior. The browser applies a :target CSS pseudo-class to let the site customize the highlight style. Also a little bit of Javascript API for the feature.
The syntax :~:text= made me wonder what other possibilities there were. MDN calls the :~: a “fragment directive” but so far text seems to be the only option. :~: was chosen because it wasn’t seen anywhere on the Web at the time the proposal was written.
Update: see also fragmentations, an alternate proposal which just normalizes putting plaintext phrases in an anchor. The Mozilla folks seem to prefer that. I’m not sure any browsers really do anything for them; the implementations I’ve seen involve Javascript or an extension.
While migrating my poor old blog I looked at a 2003-era script I wrote to ping services to tell them when blog was updated. Yes, this used to be a thing. I pinged three services, one is still up.
Ancient history
blo.gs: still live! Pings still work! They even have an API to get the update stream. This was originally built by Jim Winstead, then went to Yahoo, then Automattic (ie, Wordpress) picked it up in 2009 and has been running it faithfully ever sense. Three cheers to Automattic, they run a lot of neat little things that would otherwise be abandoned.
weblogs.com: fails, website doesn’t even exist any more. This was an early service that had big drama in 2004 when Dave Winer threw a hissy fit. VeriSign bought it in 2005, then a few years later it was bought by a private investor group. The last copy of the page in the Wayback Machine is April 2019 and has LexisNexis as the owner. Not sure anyone noticed its passing in 2019.
Google blogsearch. The website is gone but my request to blogsearch.google.com/ping still looks like it works (it probably doesn’t). Apparently this shut down in mid-2018. The larger blog search project shut down in 2011.
Current status
I don’t know what the modern version of blog pinging is, if there even is such a thing. Sitemaps have replaced much of the web function and active push systems like Twitter or ActivityPub have replaced the RSS based pings. Fortunately RSS itself still works.
There’s a large number of ping services that claim to ping many indexers endpoints for you. Ping-o-matic is old and reputable (and owned by WordPress Foundation), it now supports Blo.gs, Feed Burner, Spinn3r, and Superfeedr. One of the biggest lists is from something called “Brain Bliss”, here’s the list of blog pings it says it does. Some of these are definitely offline now.
How do you back up your passwords in 2023? It’s a grim topic but if someone dies it’s an enormous help if their executor can access their online accounts. Passwords are a key part of that. Here’s some notes on a succession plan for account access. They’re 1Password specific, but any decent password database should work similarly.
1Password emergency access
1Password has a very well thought out emergency kit. It’s a single page you print out that contains most of the data you need to get access to a 1Password vault. Print that and put it somewhere safe. What’s missing is your vault’s password, the thing you type to unlock it. There’s a space for you to write it in. Diceware style passphrases (e.g. “correct horse battery staple”) are a good choice for your vault’s password; secure, relatively easy to remember and type, and quite easy to read when scribbled on a piece of paper.
1Password also has a family recovery system. If you’re paying for a family plan anyone who is a “Family Organizer” can unlock someone else’s vault in an emergency. Note you have to set this up ahead of time.
Printing passwords
1Password’s recovery system is great and what you want to use. But there’s something to be said for a simple paper backup in case something goes catastrophically wrong at 1Password. It’s very easy to export 1Password’s database, either to a special format 1P invented or to a plain old CSV file.
Printing 1500 passwords is harder; it’s a lot of pages and you want it to be legible. I ended up using good ol’ Keepass for print formatting. I exported my database to CSV, then imported it using the generic importer in Keepass. It has a decent print system, the formatting is fairly good. My ~1500 passwords ended up being 30 pages. Don’t forget to print double sided to save half the paper.
Passwords aren’t everything
Passwords aren’t all you need to get access to everything online. Two factor authenticaton, passkeys, etc all complicate that.
Phone access is increasingly useful, particularly for two factor logins. I imagine there could be a need to get one last thumbprint to unlock a phone...
Email access is also really valuable. Consider setting up Google Inactive Account Manager if you use Gmail. Note it’s a minimum of 3 months to trigger.
I’m trying to understand passkeys. I did a test today trying to create and use a passkey on a demo site. I tested trying to log in on an Android phone (Pixel Pro 6), an Android tablet (Samsung Galaxy Tab S8+), a Windows 10 desktop, and a Chromebook. Here’s what I learned.
In summary: passkeys seem to work well for login and are shared across Android devices. Passkeys are stored alongside old fashioned passwords in a product Google calls “Google Password Manager”. If synced any Android device can be used as an authenticator for any passkey you’ve added. However Chrome cannot act as an authenticator on Windows or ChromeOS; they delegate to a nearby Android device. Important features for managing passkeys do not exist yet.
These notes are all for today, May 19. Most of my devices are pretty well updated: Chrome 113.0.5672.94, Android 13 on the phone and tablet, ChromeOS Beta 114.0.5735.31 on the Chromebook. The desktop is Windows 10 Pro 22H2. I have not set up Windows Hello on it.
(I didn’t test on any Apple systems. My understanding is Apple Keychain works pretty well and is synced across all devices via iCloud.)
Logging in
I created a new account and passkey at passkeys.io on my phone. That took a one-time setup of Google Password Manager on my phone to tell it to store passkeys there and let me unlock them with my phone biometrics. Then the new passkey was created and stored.
Chrome on Android Phone: I could log in and out of the demo site very easily in the Chrome browser. Chrome prompts me once to verify I want to log in with a passkey, then a second prompt for my thumbprint, then I’m logged in. I wouldn’t mind if they whittled that down to a single prompt.
Firefox on Android phone: worked identically to Chrome with no extra setup.
Chrome on Android Tablet: after initial setup it was the same login experience as phone. The tablet also lets me use a PIN instead of a thumbprint. The important thing here is I never did anything to get my passkey on to my Android tablet. That happened transparently, behind the scenes. Apparently Google is syncing passkeys between secure Android devices via the Internet (or possibly Bluetooth). The passkey is definitely coming from the tablet itself, my phone is not involved.
Chrome on Chromebook: different experience. Logging in pops up a “use your passkey” dialog with a list of devices that have my passkeys. I chose my phone and a notification popped up on my phone asking me to approve and use my thumbprint to log in. That all just worked in 4 clicks/taps in total. Behind the scenes I believe this uses Bluetooth. The passkey is not on my Chromebook, it requires a different device to be the authenticator.
Chrome on Windows: similar experience as Chromebook once Bluetooth was set up on Windows. I’m prompted with a list of authenticator options, delegating to my phone worked like the Chromebook. There’s also an option for “Windows Hello or external security key” as an authenticator which popups up a Windows dialog for what I imagine is Windows’ passkey authenticator. Before I added Bluetooth to the Windows box that popup appeared immediately, it was my only choice. I didn’t pursue the Windows stuff, but I imagine that’d be the way to get passkeys on the Windows device itself (or a Yubikey) and not rely on a phone. It’d be nice if Chrome didn’t ask me every time which Android device I wanted to use.
Firefox on Windows: goes straight to the Windows dialog, even with Bluetooth available. No choice of authenticators. It doesn’t seem aware it could delegate to my Android phone.
Edge on Windows: two options, “Windows Hello or external security key” or else “Use a different phone or tablet”. That second option popped up a FIDO: QR Code that introduced Edge to my phone as an authenticator. Then the phone did the passkey thing via Bluetooth. Second time around I had a third authenticator option, my phone, which worked just like Chrome and Firefox on Windows. I don’t know if some of this interaction was specific to passkeys.io and their Javascript libraries.
Summary: Android devices are storing passkeys and syncing them between themselves. Windows and Chromebook are not storing passkeys but can delegate via Bluetooth to a nearby Android device.
Managing passkeys
Logins work pretty well in the Google ecosystem, what about managing passkeys? The story isn’t as great although Android at least can give you a list of passkeys.
Google’s passkey authenticator product is called Google Password Manager (GPM). This is the same thing that stores plaintext passwords for websites you log in to. It manages passkeys too. I never set it up before because I use 1Password instead.
Android: GPM is part of Google Play Services, a sort of adjunct to the Android OS. Launching GPM on Android is not easy. It’s hidden in Settings and I could only find it via a search, and in a different place on the Samsung tablet than the Pixel phone. Once in the Password Manager there’s a button “Add shortcut” which will give you an icon you can tap to open it. Opening that I see a list of my passkeys and passwords.
Chrome on Windows: GPM is in Chrome settings at chrome://settings/passwords. However it only has a list of my passwords, there are no passkeys there. Not too surprising since the passkeys aren’t actually on my Windows machine.
Chrome on Chromebox: same as Windows; no way to list your passkeys that I can find.
Google Passwords webapp: GPM has a webapp version of its product. It only lists my passwords, not my passkeys. This seems like a fairly serious omission to me. I don’t know any way on the web to find the passkeys that Android is syncing for me.
Google Accounts: Google has a webapp for the passkeys I can use to log in to Google itself. It tells me that two were automatically created for me, one on each of my Android devices. That’s a relatively new thing but is an extension of a passkey-like authentication that Google/Android has been doing for awhile.
Summary: GPM on Android is the only working passkey management tool. It’s pretty limited. You can list your passkeys and delete them. There’s no option to export them, or back them up outside Google’s ecosystem, or share them with someone else. Some of that stuff is supposedly coming but I have a suspicion Google is in no hurry to implement something that’d let you migrate out of their product.
I switched to Firefox over 5 years ago, when Quantum came out. Yesterday I switched back to Chrome, at least for awhile. OMG it’s so much faster.
Why
The primary reason to switch is the new Chromebook. Running Firefox on ChromeOS is not great. You’ve got two choices. Either install the Android app, which works too much like a mobile app. Or install the Linux app which mostly should work OK but it’s running in a container and is awkwardly integrated. Either way, it’s hard to overlook that it’s a Chromebook running ChromeOS which is largely a bunch of Chrome browser tabs as apps. And while I can run different browsers in different places it’s very nice only having a single browser everywhere for data syncing, etc.
The other reason is Firefox doesn’t feel as great to me as the early Quantum days. It’s slow to first launch, like 5+ seconds. Turns out I shut down and relaunch my browser a lot (I’m a tab zero kind of guy). Also I keep running into little weird site problems with Firefox where the most likely explanation is the site was never tested on it. (e.g., the Wordpress.com editor I’m typing this in looks better in Chrome.) I just got tired of dealing with that friction.
Migration
Moving from Firefox to Chrome is pretty easy. Chrome has an import tool to bring in bookmarks although I had to organize after the import to get them in the right place. It will also import browsing history, something I’ve found surprisingly useful to keep around.
Most of the important stuff is in authentication. I use 1Password already so my login passwords are already portable. There’s no way to bring over login cookies so I have to re-log-in to everything in Chrome but, eh, that seems inescapable.
The surprising hard part of moving over was browser extensions. I only use six, and some of them have identical versions in multiple browsers. But I had to find a different Pinboard extension. And sadly I’ve learned both Imagus and Bypass Paywalls Clean have gotten deprecated / not updated for a long time. So that’s awkward, albeit also a problem for Firefox.
Missing
The main thing I’m missing from Firefox is Multi-Account Containers. I use that to quarantine hostile surveillance sites like Facebook or Twitter. It doesn’t work perfectly but I think it helps. Anyway Chrome doesn’t have them. It is relatively easy to use separate profiles in Chrome now, so I’m doing that, but it’s not as good a solution as Firefox’s more automatic UI. SessionBox seems the most popular extension but it’s basically payware and the UI is a bit awkward. Does seem to get the job done though.
Also worried about ad blockers. Right now uBlock Origin works great on Chrome. But there’s the ongoing Manifest v3 thing coming and concerns it will make effective ad blocking harder. If Chrome breaks ad blocking I’ll switch back to Firefox, so got to keep an eye on that.
I’ve noticed that Chrome’s “restore closed tab” feature isn’t as robust as Firefox’s. Firefox can not only restore an old tab but a whole window of tabs. And it restores them with more state, like the text of a Reddit post that I closed the window before posting and then changed my mind and decided I wanted to post afterall. It’s not a big deal but I got used to the Firefox safety net.
Chrome allows third party cookies. You can turn that off but they haven’t done anything to mitigate all the stuff that breaks. Like Google’s own home.nest.com, which apparently uses a google.com cookie or something to authenticate. Firefox has a more complex system for blocking invasive third party cookies, so does Safari.
Feelings
So far Chrome is working fine for me. It definitely feels snappier; somehow Firefox has gotten less responsive over the past couple of years. But I haven’t measured that in any precise way. That first window open is definitely way faster on Windows in Chrome, and I checked and it’s not just because Chrome is hiding as a background app. (That trick makes it faster still.) Also a lot of web pages feel like they’re reacting faster to my inputs. But without careful measurement I can’t really be sure.
I think Firefox is important. I want Mozilla to succeed. But I feel a bit like I’ve just taken a hairshirt off. My main message is I should be trying different browsers more frequently.
Bad experience with ChromeOS trying to install Obsidian following these instructions. I did eventually get it working but only with a bunch of ugly hacks as root.
Note the install instructions have you making bwrap setuid root. Ugh! I did not do that, because other things online say it isn’t necessary. I did try enabling setuid a few times and it didn’t fix anything.
First problem: flatpak just won’t work other than root. Even flatpak list gives me a “Permission denied” error (unhelpfully not telling me what permission is denied.) This happens even with bwrap setuid. I don’t know if that’s a general flatpak thing or is a problem specific to ChromeOS. Docs I’ve read online suggest that at least parts of flatpak shouldn’t require root but that installing software probably will. Whatever, I’ll just do everything as root. (At least part of the problem is /home/nelson/.local/share/flatpak ended up being owned by root and permissions 0700; this happened on Ubuntu too, so a Flatpak bug? But even fixing that, still couldn’t flatpak list on the Chromebox.)
Installing with Flatpak went smoothly. There’s now an Obsidian app icon in the ChromeOS GUI. But when I launch it either nothing happens, or the logo for Obsidian shows up but with an infinite spinning circle on top of it. No feedback on what’s wrong. The online advice for access to ChromeOS system logs is all out of date. I finally found my way to a log viewer at chrome://device-log/ but there’s nothing there about the app not working. The log dump generated from chrome://network/ does seem to have useful info but I could not understand what was failing.
OK, so let’s launch from a command line instead. An hour later, here’s a short transcript of all the breakage I encountered.
~ ⬢ [Systemd] ❯ flatpak run md.obsidian.Obsidian
error: Permission denied
~ ⬢ [Systemd] ❯ sudo !!
sudo flatpak run md.obsidian.Obsidian
error: "flatpak run" is not intended to be ran with sudo
~ ⬢ [Systemd] ❯ sudo bash
root ~ ⬢ [Systemd] ❯ flatpak run md.obsidian.Obsidian
Debug: Will run Obsidian with the following arguments:
Debug: Additionally, user gave:
[13 zypak-helper] Failed to connect to session bus: [org.freedesktop.DBus.Error.NoReply] Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
[13 zypak-helper] src/helper/main.cc:40(DetermineZygoteStrategy): Assertion failed: bus
/app/bin/obsidian.sh: line 40: 13 Aborted (core dumped) zypak-wrapper /app/obsidian $@ ${EXTRA_ARGS[@nelsonminar
root ~ ⬢ [Systemd] ❯ dbus-run-session flatpak run md.obsidian.Obsidian
...
[0319/141600.942543:FATAL:electron_main_delegate.cc(299)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180.
root ~ ⬢ [Systemd] ❯ dbus-run-session flatpak run md.obsidian.Obsidian --no-sandbox
it worked!
So.. it has to run as root. Then it turns out it doesn’t want to run as root, at least via sudo. And then it needs access to the system’s DBus, which for some reason the Flatpak hasn’t set up. Then Electrno complains about root needing --no-sandbox so if I provide that option it works! Lololo.
Just a total mess of complex systems stuff that’s standing between me and my application. DBus, the Crostini container, the Flatpak container, the Chrome/Electron sandbox. Layers and layers of stuff and some of it is broken.
So a failed experiment, even if in the end I did get the thing running. To be fair to ChromeOS: this is really not what that product is designed for. A Linux program, Flatpak, a separate Chrome/Electron instance. Yeah, don’t do that. I suspect if I need to do this for real I’ll just end up using the Android app running on the Chromebook and put up with the less-than-optimal mobile UI.
I’m doing calorie counting, something I’ve found effective for managing my weight as long as I can stick to actually tracking everything. It’s a pain in the ass but being mindful about what I eat helps. Which means the tool I use for counting calories is important.
Boy, are the tools out there terrible. I’m using MyFitnessPal but other apps seem the same.
My immediate rant is the absolute garbage that’s in their food database. They are very proud to advertise they have 11 million entries. Like this one, where cream has the calorie density of enriched uranium:
Last night I had some delicious Königsberger Klopse. I had a sensible amount of the sauce, maybe 2 tablespoons of cream. How many calories was that?
Well according to the screenshot above, 5175 calories. No wonder I’m so fat! Mind you this database entry has a little green checkmark which supposedly means it’s verified good data. About as “verified” as Musk’s Twitter Blue, I guess. The image on right shows there’s a zillion different options for recording amount, a confusing mix of metric and imperial, volume and weight.
There’s three different ways to record “tbsp”. Depending on which you choose, 2 of those are 104 calories, 690 calories, or 5175 calories. Just total nonsense. And I can’t even use their edit workflow to fix it; apparently this particular item was entered by MyFitnessPal themselves so there’s no easy way to report an error.
This example is particularly bad but the database is full of all sorts of bad data. I don’t begrudge being off by ±10%, whatever. But there’s plenty of just wrong information, incomplete descriptions (is that yogurt sweetened or not?), and a lot of made-up-fiction where some other user hallucinated a number. Still particularly annoyed to see this error in a so-called verified item.
Database issues aside there’s all sorts of other problems with the actual tracking flow. The variance in ways of measuring things; volume vs weight, and the units. Many items have gram to ounce conversions so you can use either, but not all. Sometimes it’s not clear of “ounce” means weight or volume. A lot of things get listed as “1 serving” or “1 slice” which is meaningless.
I have a lot of other complaints too. The fad now in food tracking is macros, recording fat, carbohydrates, etc. I’m sure that’s helpful for some people but for me it’s too much; I’m having a hard enough time tracking just one number. Worse, MyFitnessPal decides to scold me about the other numbers I don’t care about. Entering my 2 tablespoons of cream comes up with a warning like “your daily goal is 97 grams of fat and this item has 22 grams”. That kind of nagging is actively harmful to my goals and I can’t figure out a way to turn it off. I did tell them my goal was 10 kilograms of salt a day, so at least it’s not harassing me when I eat a pickle. Don’t tell my doctor.
There’s a lot of other apps, maybe some are better. But what I really want is a real leap in food tracking. I have a theory that with contemporary AI you could build a tracker that works solely based on a photo of the food and maybe a little extra data: the weight of the dish, maybe a note like “made with extra butter”. I have no proof that’d work of course but I hope someone tries.
No surprise, a mobile phone company’s service sucks. Still worth documenting. I took a trip to Austria. I paid Verizon $100 for an international calling plan with more minutes and data than I could use. It mostly worked fine, but one day I made a phone call and got a message about it being billed at $1.99/minute as an international call. Weird, it should have been included in my plan. The slight wrinkle here is I was using WiFi calling from my hotel in Austria (and no VPN). But surely that shouldn’t matter?
I guess it did. This showed up on my bill:
It’s not in the bill, but the website and the customer support agent see a note that it’s for activity in January. On my October bill. I made the call in October.
I decided to waste my time to get a refund for that $1.99. It went as well as you might expect. But what really kills me is how bad Verizon’s product is.
I submitted a ticket and asked for email response. I’m getting text message response instead. My attempts to reply to the text message are silently dropped. I can’t submit responses on the website either; the submit button does nothing. (I do see an event fired in the Javascript console, but the message is dropped.) I tried two browsers. I tried editing my ticket to use a different contact method, that also failed.
I tried logging in again in a new browser. I had to verify, some 2FAish thing. I get a text message saying “click here to verify”, which I do. Meanwhile the login website is asking for a code, one never given to me by the 2FA side path. I submit a blank code and am logged in.
The website creating the ticket had numerous typos. The subject for the email they sent me is “, we received your support request.” I guess my name was supposed to be before the comma? The first message from the agent said “your concern with the INternational call. nI know how important this is for you.” Presumably they’re using canned responses; do they have typos in them?
The second message from the agent was about someone else’s bill entirely. 5 minutes later they told me to disregard it.
I have another Austrian call itemized on my bill that is attributed to Canada. It seems to be confusing the 431 area code with +43 1, phone numbers in Vienna. Are they using regex to decide which country I called? At least I did not get billed for this one.
I finally gave up and got someone on the phone. They looked and quickly agreed to refund the charge. As they should; $1.99 is not worth their time. Or mine, but it’s the principle of the thing.
I realize how boring this rant is, my apologies. It’s just astonishing to me that I have a fairly ordinary interaction with a consumer product used by millions of people. And in every single point along the way I see signs of the company just not giving a shit. Typos in canned messages, failed database merges in outbound messages, dropping inbound messages on the floor, a confusing or broken login system, mistaken billing, a high schooler’s idea of how to identify what country a call was made to. Does no one competent at Verizon care?
For 20+ years I’ve wanted the ability to search the web pages I’ve seen. Simple full text search on page contents, maybe also on some metadata like page title and the text of links to the page. You’d think this would be simple but it’s not. There’s 20+ years of systems that claim to do this that no longer work. It’s a cursed product category.
Firefox has some built in history search but it’s terrible; not sure what it is searching but it’s definitely not the full text of every page. Also a lot of pages are missing from it. Still the history database could be useful to feed to some other tool. It’s in a sqlite file in the user profile.
There’s a March 2022 discussion of tools for this. I read it all and was discouraged; it’s clear there’s no good solid product. I sifted through all the discussions and settled on two options: ArchiveBox with some custom scripting to import browsing history or else Recoll with an addon to capture browsing history.
I looked at Recoll and gave up. The Windows build requires payment to download, there’s no easy way to try it first. And the website says the Windows version has indexing limitations. I need a solid Windows program.
ArchiveBox could be promising. But the desktop app is Electron, marked “alpha”, and requires Docker to run. There’s an Ubuntu headless version but they only provide a PPA for 20.04, a 2.5 year old Ubuntu release. The install instrnuctions have you installing stuff globally with pip. I quit at that point.
I’m being cranky here but I really want a clean product for this function, not some hackerware. Or if it’s going to be hackerware I’d rather roll my own.
One subtlety; it’s not really enough to just get URLs and download them again. You really want the text as rendered in the user’s browser, to catch login data. Even with that it’s not going to be perfect unless you really snapshot the whole page; the sensible thing of giving back a URL from the search engine has the same problem that the URL now may not look like the URL then.
Update: this isn’t a search tool, but NirSoft’s BrowsingHistoryView is a nice table viewer for browser history. Much nicer than Firefox’s built in view.
BrowserParrot looks promising but is Mac only. Can’t tell if the project is active or not.
HeyDay also looks interesting. It’s more AIish than a simple search engine but might be helpful. $19/mo. Update 2: I tried HeyDay and it is not for me. It’s definitely doing something with my browser history. But it requires more active involvement than I want. It keeps asking me to categorize pages I’ve seen into topics, way more labor than I want to perform. It does do some stuff passively; popups on pages and in Google searches saying “hey, this is like this other thing you looked at”. Which in theory might be nice but so far the suggestions have been intrusive, not helpful. The UI is pretty demanding. All in all, not for me.
Update 3: I have failed to find a product that will do this for me. I’m doing a tiny bit better with Firefox history though. The key was changing the sort order from “by Date” to “by Last Visited” so now my results are in reverse chronological order, which makes it much easier to find again that thing I saw yesterday.
For whatever reason I find myself accidentally inputting control-mousewheel events in my browsers a lot. In both Chrome and Firefox this changes the zoom level of the page, something I pretty much never intend to do. (And if I do, I use Ctrl-Plus and Ctrl-Minus instead.) One fix for this I’ve been using for years is a small AutoHotKey script that captures those events and cancels them.
While working on my Atom feed for the linkblog I was frustrated I had no way to preview a feed. The only reader I knew about was Feedly, the hosted app, and they don’t have a way to say “reload this feed” to easily see changes. I couldn’t find a modern desktop client feed reader at all. Turns out there’s a few, here’s three I tried.
QuiteRSS: simple, no nonsense. Last release was April 2020. There’s a fork with a little more tinkering but it’s not a lively project.
SeaMonkey: the continuation of the old Mozilla hairball of Internet apps. It has a decent feed reader. And active development.
LifeRea: a Linux app. Works in WSLg. Actively developed.
I used this to diagnose a formatting issue with my atom feed. My summaries are now HTML but I wasn’t really formatting them as HTML with <p> tags and the like so the images were being inlined in an ugly way. Fixed now.
I’m in the habit of searching Google for “what is my ip” to see my IP address; they have a little onebox result right at the top that shows it.
Turns out it’s cached. Worse than useless, actively harmful.
At least that’s what it looked like. I searched “what is my IP” today when I was on WAN2, my backup, and saw my WAN2 address. Then I fixed WAN1 so it’d work again and it looked like my router returned to WAN1 from failover to WAN2. But I’d type “what is my IP” and Google still showed the WAN2 address, like the return hadn’t happened. I finally checked on some other site and saw that the failover had happened. A shift-reload on the Google search page did finally show the correct data. All of this sure looks like something is caching the IP address. Maybe it’s related to a persistent HTTP or QUIC session my browser has open?
Every time I do this I have to remind myself https://api.ipify.org/ is the best way to check your IP. Simple text result, a web service intended for this use. Ipify has other tricks too, including an inexpensive geolocation service.
HSBC has a broken two factor authentication system that I finally figured out how to make work. I’m not the only one having trouble; searches like “hsbc generate security code” are very popular.
The Android app generates the code. The key thing is you cannot be logged in to HSBC on the mobile app while generating the code. If you are logged in you are taken to an “Accounts” page that shows current balances. Nowhere from here can you generate a code. You have to log off first.
Once you are logged off the screen asking you to login asks for a fingerprint or a “Digital Security Device passcode”. (The latter is a second password that you set up as part of their 2FA system.) Do not log in. Instead, press the “Generate security code” button at the bottom of the screen, then choose “Log on security code” from the popup menu. You’ll have to verify your fingerprint and then it will give you a 6 digit code. That is your temporary security code you can type into the web application to log in.
To complicate matters more; if you are logged in to HSBC both from a desktop browser and from the Android app then HSBC gets confused and complains about how you have two active sessions at once. I think I had to log in on the desktop website like 4 times before I finally managed to finish my business.
I tried taking screenshots to illustrate this but hilariously the app seems to be blocking screenshots, no doubt “for my security”. None of the online help docs have pictures that match the only screen in the app that actually lets you generate codes.
Update Nov 2024: nothing has improved at HSBC. But I got a screenshot from the website.
My old Mastodon instance stopped working. I want to migrate to nelson@tech.lgbt. Unfortunately migration is pretty limited in Mastodon. There is no simple way to move your actual content, your toots. You can move your list of who you follow though, and in some circumstances get your followers to follow your new account. There’s three ways to migrate:
Just redirect the old account. This doesn’t actually move any data or set up the new account at all, but it does tell any new visitors you’ve moved.
Use the “account migration” tool. This basically does a redirect, but then also “irreversibly force everyone to unfollow your current account and follow your new account”.
The first two methods require the server you’re moving from be online and federated. My old server is dead. But I do have a data export archive so I can use that to set up the new account.
What’s in a Mastodon export? It’s a bit messy, there are several files.
Who you follow, block, mute. Also lists and bookmarks. These are in separate CSV files you have to download individually. These are the stuff you can usefully import elsewhere.
All your toots in an archive, along with a bunch of images. The toots are in a big JSON blob. There’s also some other data like your avatar image. These cannot be imported.
Bottom line, the only thing I can really import usefully is who I follow. And doing that won’t get them to follow me. Mastodon’s blog post says “moving instances is painless and straightforward with Mastodon” but that’s really not true. Not surprised, doing this in a federated system with user security as a top priority is hard.
The import seemed to go smoothly. It’s not instance, the import page says “we’ll get to it eventually”. It seemed to take a few minutes.
The import was not complete, but maybe it takes awhile. My export had 275 accounts I was following. First time I looked after 15 minutes I had about 114 people I was following (according to the new server’s export tool). The second time after 45 minutes it was 177. I don’t expect all 275 of the accounts will ever import, some are from servers that are gone.
I’m starting to get followers again, I suspect because they saw the “nelson followed you” notification. It will be impossible to get most of them over without the old server coming back up.
The nicest thing about my new instance is the skin is now some clean, single column layout of toots. I really hated that old darkmode multicolumn thing!
I finally got my Google Takeout archives downloaded, the most important of my cloud backups. I tend to prefer Google for my services so a lot of stuff is there dating back 20 years. Google Takeout is an excellent product. What’s in the dump?
I chose to download Takeout’s default: everything but Access Log Activity. It came to about 67GiB of zip files, 72GiB uncompressed.
The top level of the dump includes a nice HTML explanation of what’s in it. With per-product documentation for the types of files you’ll find there and what formats they might be in.
Here’s info on some of the meaningful data I found that I was expecting to see.
9GiB: Mail. The biggest and most precious of all my Google data. All stored in a single .mbox file, which is awkward but not an unreasonable choice. The file is not date sorted. The volume per year is confusing: 2012 and 2020 are big at 13,000+ messages. 2019 I only had 6000. Maybe it’s spam related. There’s also a few extra data files for things like filters, blocked users, etc.
35GiB: Photos. I’m a heavy user of Google photos. Contains both original and edited images, also metadata in a simple JSON format. A little confused at the directory structure; many of the files are in folders like “Photos from 2020” but some are in per-Album directories, I think there are duplicates.
23GiB: Drive. If you asked me I’d tell you I didn’t use Google Drive. I have no idea how this got so big. The useful stuff there is copies of my Google Docs; spreadsheets mostly. The big stuff is a bunch of photos I then imported to Google Photos, I could probably delete them from Drive. It’s a very random and poorly organized collection of stuff.
2.5GiB: YouTube. All the content I’ve created (videos, comments). But also detailed watch and search histories going back 11 years.
0.3GiB: Groups. MBOX format archives of Google Groups I’m an admin for.
0.1GiB: Contacts. VCF format contact lists.
0.1GiB: Calendar. ICS format, single file.
0.3GiB: Location History. JSON files tracking my movements, used for Google Timeline.
And some of the less interesting or accidental stuff.
0.3GB: My Activity, Google Pay. The biggest surprise to me; Google records meticulous details on when I use specific products, there’s online version of the product here. Goes back at least 10 years and includes Android apps, details of what Google Map views I’ve looked at, credit card transactions, YouTube video views, every search query for two years. It’s all stored in a generic format that seems to apply across Google products. Also the dump is an absolutely terrible HTML format with like 4KB of styled HTML per record. Example of a record for an Android app launch:
0.1GiB: Maps. Data spread out over several directories. Bookmarked places, some KMZ files for custom maps I made.
0.4GiB: Location History. Google’s recorded where my phone has been since I first installed Google Maps. They have a nice history browser for this, I also built my own visualizer product for the data. I really like having it but I think most people would find it surprising and creepy Google keeps this.
0.7GiB: Google Play Games Services, Google Play Store, Android Device Configuration Service, Recorder. Stuff related to my Android phone, including a record of every version of every app I’ve installed and some saved game state.
0.8GiB: Nest, Google Home. Stuff about my thermostat. Including 2 years of detailed temperature readings, etc from my house.
0.6GiB: Blogger. I forgot I ever had a Blogspot blog but google didn’t. Also records of my comments on a lot of other blogs.
0.6GiB: Voice. I have a Google Voice number I basically never use. But it gets spam voicemails, for which sound files and text transcripts have been saved for 7+ years.
0.4GB: Google Account, Profile. A record of a year of explicit logins (as opposed to passive authentication). Love the inactive account emails I apparently wrote a few years ago: “What a horrible thing, but apparently I’m no longer able to access my Google account which means I’m likely dead or incapacitated.”
0.1GB: Chrome. I don’t use Chrome much so this is very small. Among other things it contains a history of visited URLs going back 3 months.
0.1GB: Hangouts. An archive of some GChat messages from 2017?
I’m pretty sanguine about all this data. I want Google to be keeping a lot of data for me and I trust them to be careful caretakers of it. Some of it is incredibly useful; I was really excited when I learned Google Maps had my location history, for instance. Google does a reasonable job letting you control just what you can track and I really appreciate being able to download the data.
The My Activity stuff is the one thing that made me nervous. Partly the awful format is coloring my impression. (There’s several projects on GitHub that parse and analyze it.) But also they’re storing a lot of sensitive data in a generic way that’s not sensitive to the particular app. I don’t really care they have a record of my credit card transactions, but I am a bit nervous at this second record of my Google Maps views or the exact times and places that I launched Grindr. I believe Google keeps this data in this format for security audits.
Goodreads lost all my data, writeup here. This hammered home the value of data export services for making my own copy of stuff. I had an export from last July so the Goodreads loss wasn’t entirely catastrophic. Some notes on other data export services.
Data export is obviously a competitive problem for services. If I can’t get my data I can’t easily migrate to a different service. So evil companies want to keep you locked in. Consequently the data export products are often not very good. Countering that are laws like the GDPR and CCPA which give consumers rights to request their data. I’m finding most of the big services I care about do have a reasonable export service. A good hacker spirit also still pervades in some tech companies, they build export because they think it’s the right thing for users.
Google Takeout is the gold standard. The Data Liberation Front did pioneering work in convincing a company to provide export tools many years ago. The tool now works very well. I’m particularly impressed there’s a way to set up a new data export every two months; all the other services are one offs.
Most of these data export services can be slow. Various nonsense explanations (“for your security”). I cynically expect companies keep them slow to be awkward. But one insider I asked confirmed that they can also be slow for legitimate technical reasons. If you’ve got, say, a real-time messaging system then scraping back for 15 years of message history can be pretty hard on the datastore. Backup requests are seldom time critical so built-in throttles make some sense.
It’s a big problem to actually do anything useful with the data dump once you get it. Some of the services (Twitter) include little webapps to at least sorta browse the data. Some just give plain CSV or JSON dumps and you’re on your own. I was hoping to find a diversity of wonderful open source software that could consume these exports. But in retrospect of course not; building those is a lot of damn work.
There’s less organized community around data exports than I’d hoped to find. The IndieWeb world is a good starting point. Datasette is one general purpose data viewer; Dogsheep is a nice collection of tools to import various formats in to sqlite for Datasette. HPI is another interesting general purpose viewer toolset. Also FreeYourStuff which seems to include some scrapers for sites without export tools.
Some of the exports reveal a surprising amount of extra data I didn’t know the sites had. Feedly has a list of everything I’ve read with dates, for instance, which is kinda neat! Facebook has a huge amount of stuff, some alarming, it would take awhile to comb through what all they’ve collected on me. “apps_and_websites_off_of_facebook” seems to be surveillance capitalism in action.
A thread I need to follow up on is what the IndieWeb kids call POSSE: Publish (on your) Own Site, Syndicate Elsewhere. Make it so you own a copy of all the data as you create it. It makes a lot of sense, Cory Doctorow has written about how he does that. It’s a lot of work.
I spent some time today pulling backups for data of all the sites I could think to check. I’ll update this list as I discover more. It’d be awesome to automate refreshing these backups every month or three but given all the security and performance issues that seems difficult.
One mild annoyance with Starlink is geolocation doesn’t work very well. A lot of sites identify me by my IP address, which is the satellite base station somewhere near Winters, CA 100 miles from me. Even if they use the browser’s geolocation API to get my location my computer, since I don’t have a WiFi connection Firefox seems to fall back on that same IP based location.
Anyway, there’s a simple solution in Firefox. Open the URL about:config and search for “geo”. Edit the value of geo.provider.network.url and change it from the default (a Google service) to a static answer. Here’s what I use, for Grass Valley:
Note this JSON blob is not a Javascript Geolocation API response; it must be some special backend API. Mozilla has their own location API, I wonder why they use Google’s in Firefox?
It’d be nicer to have a browser extension to manage this for me. There used to be a consensus open source choice, Location Guard, but it hasn’t gotten an update for two years. There’s a bunch of spammy looking clones on the Firefox store I won’t trust. Location Guard might still work but when I briefly tried it I couldn’t see how to give out a specific location, only enable their privacy fuzzing.
Note that browser location spoofing won’t be good enough to fake out sites that really care what your location is. They’re probably using your IP address to locate you, or some other more devious means. But it’s a nice solution for ordinary apps that are just trying to do something simple.
Also note setting a single static location is probably a bad idea for a mobile device like a laptop or phone.
This is news to me. The Firefox page at about:compat shows a bunch of cases where they spoof their User-Agent to get websites to work better. Also other hacks. The most recent one in Firefox 95 is to pretend to be Chrome for Slack so that Slack enables some features. What a terrible kludge on top of a kludge.
The “Overrides” seem to be about tricking websites into enabling features that for some reason are disabled on Firefox. The Interventions seem more targeted, patches for bugs in sites like a CSS hack that prevents some badly performing overdraws on Zillow.
This all reminds me of the hacks Microsoft does to keep broken apps working on Windows.
I’m getting a new phone and decided to stop using Authy and use Aegis Authenticator instead. Authy’s been fairly good but I worry about it as a product. It’s not Twilio’s business. Also it’s closed source. Aegis Authenticator is a nice open source alternative with thoughtful features. Its main drawback is it’s Android-only; no iOS, no desktop apps. Works for me but may not for you.
Authy was an improvement because it offered a way to migrate data to a different Authy install. Unfortunately it does not support a proper open export option. For security, they say, which may be true but also means you’re locked in. So instead of having a managed export we’re reduced to using some scary third party Go program or Javascript pasted in from a Gist. As if that were more secure.
I went with the Javascript; the method that worked for me is documented here. (See the discussion below for updates.) This is an update on an older method that relied on hacking the Chrome extension to get the data out of it. That extension no longer exists but happily the desktop app is just a wrapper for a webapp, a wrapper that supports a debug console. The method boils down to “get to the console and then paste a script which will render a bunch of QR codes you can scan”. Scary and hacky, but it seems to work.
I was able to do all this with Authy Desktop for Windows using Google Chrome. Firefox might or might not work; I couldn’t figure out how to get to the console for the main.html there so using Chrome was easier. I then scanned the resulting QR codes into Aegis and it’s working.
Aegis is nice, btw. It supports various options to backup (encrypted) to JSON files that presumably anything could read.
Update: once you’ve migrated you probably want to delete your Authy account to remove the data they have in cloud storage. It’s pretty easy and they have a thoughtful tool, although note there’s a 30 day wait for it to actually be deleted. The one wrinkle is Authy also has a special unique 2FA protocol, you can recognize it from the 7 digit codes. my529 uses it. I was able to migrate this code to Aegis and log in with it. But Authy’s site and the existence of online authentication protocols makes me think deleting your Authy account may also disable this token behind the scenes. The Authy app recommends you disable it yourself; I changed my529 to use a standard HOTP style token.
I’m finally trying to go full cord-cutter and use Youtube TV instead of DirecTV and/or Comcast cable with a TiVo or other DVR. So far so good, sorta, the ads suck.
Youtube TV is a great product. $65 in the US gets you access to about 100 channels, mostly high quality content. Also you get local TV although you do have to prove to Youtube where you live (via browser geolocation, lol.) You can watch 3 streams at once. If you pay extra you can get premium channels, 4K streaming, offline viewing, more than 3 streams at once. The only real drawback I’ve seen so far is that it’s stereo audio only although they’re promising to finally add 5.1 eventually. (Youtube itself has this same problem; wtf, folks?) There’s one minor problem which is Roku officially doesn’t support Youtube TV anymore (they’re having a contract dispute), but Google solved that problem by shoving Youtube TV into the main Youtube app for now.
The bad thing is the ads. Youtube TV is full of ads. I watched a 48 minute episode of Top Chef last night and was forced to watch 10 minutes of ads, mostly in 2 minute blocks. Unskippable. The ads themselves weren’t too bad (and I have ad personalization turned off). But the volume was at least 10dB higher than the show content. And did I mention the ads were unskippable? Just awful. A way worse experience than pirating the show or watching on a traditional DVR where you can fast forward over the ads.
And that’s the confusion. If you watch Youtube TV shows via Video-on-Demand (VOD), the ads are unskippable. And placed later as separate content from the show. If you watch a show via DVR (a recording) you record the ads as the show is broadcast. But you can fast forward over them.
Youtube TV is making a distinction between “a show you have recorded” vs “a show we pulled from a library for you”. I’m sure this makes perfect sense contractually. Technically it’s nonsense. At least, I hope YouTube isn’t making a specific digital recording of a show just for me when I told it to record it. Surely they’re making one recording and sharing it to everyone? Maybe not; Sling’s exemption from copyright licensing relies entirely on getting a separate copy of the stream for every viewer, I don’t know how they record them. Anyway that’s all legal trickery garbage.
The real confusion is a UI problem. All the Youtube TV UI gives you is “add to library”. That both puts any VODs the show has in a special Library view for you (for convenience) and also starts DVR recording any new episodes that are broadcast. So when you first add Top Chef it looks like you already have all the episodes! But only VOD versions; you have to wait until something is broadcast to get the DVR version, the one you can skip ads in. Shows end up being twice in your Library, one VOD and one DVR, and you can choose which version you want. It’s pretty clumsy. Also there’s rumors that some shows / channels force you to watch the VOD version with its ads but I haven’t’ experienced that yet.
It’s all so dumb. The VOD experience is better in absolutely every way. Except for the ads, which Youtube and the content providers have chosen to be super aggressive about. (Apparently this varies show by show). I sort of accept that I should be somehow paying “extra” for VOD access, it is pretty valuable to have 10 years of a show all available to you at once to stream. OTOH I’m already paying $65/mo for access to this product and the VOD playback is consuming no resources, so why do I get punished by being forced to see ads? Mostly I’m irritated by the overlap with the DVR model.
I wonder how long this DVR exception will last. It’s clearly in both the content provider’s interest and Youtube’s interest to force me in to the VOD ad model instead. For that matter I should feel lucky the mute button still works in VOD ads.
Here’s what really worries me; the VOD ads are way more valuable. They can be updated any time. They are personalized to me via my YouTube login. And they are unskippable. I suspect these ads are worth 10x the value to the advertiser that a normal broadcast ad is worth. Expect this kind of ad to be the future, particularly as more people get rid of personal DVRs and cable subscriptions in favor of the clearly superior streaming on demand.
BTW I tried a little technical wizardry to block the Youtube TV VODs. In particular switching to AdGuard DNS. Didn’t work; I suspect Youtube serves all the video streams from the same DNS name. A filtering proxy or an aggressive firewall could probably block the VOD ads with packet inspection although SSL makes that harder. But even so there’s no reason the app would let you get away with it; it seems quite likely the Youtube TV app would just refuse to let you watch anything if it can’t force the ads into your eyeballs.
A little birdie tells me another way to skip Youtube TV ads is to stream on a computer with ad blockers installed. The fancier ones can block the VOD ads while still showing the show. The problem then is you need to get the video to your TV screen. Chromecast won’t work for that, because it just sends the URLs over to be played so you aren’t watching your computer’s ad-free stream. HDMI or video mirroring will work. But this all requires you have a PC in the loop. My goal here is to get the TCL Roku TV to do everything, no PCs involved. The downside is Roku isn’t about to let you install an ad blocker.
Summary: Firefox Browser is the stable consumer product. It’s about to be replaced with Firefox Preview, a major new release you may want to switch to early. There’s also a collection of betas and nightly builds.
One thing that’s nice about Android is that Firefox works nicely on it; there’s no iOS requirement that all browsers really just be reskinned versions of the vendor’s browser component. I’ve set up Firefox to be my default browser and that setting mostly sticks other than Google launching Chrome occasionally on me. I think Firefox is even used as an embedded browser in other things, but I’ve never been sure.
Anyway, the confusing thing is there’s so manythings called Firefox on the Google Play store. Here’s a rundown of them all.
Firefox Browser (org.mozilla.firefox): this is the one you probably want, the mainline consumer app. This is currently version 68.8.0. This is the old Firefox that’s been around for awhile; this is not the new version announced in January 2020.
Firefox Preview (org.mozilla.fenix): this is the new hotness. Version 4.3.0 for me right now, but also says “GV: 76.0”. It’s a major update involving a port to GeckoView. See also these details of new features. Dark mode, more privacy, an option to put the toolbar on the bottom of the screen (near your thumb), a Private Browsing button right on the tab selector. Main change though is a full new rendering engine. Supports fewer addons, but does have uBlock Origin. This new stuff is slated to be released to the public as the Firefox Browser pretty soon.
Firefox for Android Beta (org.mozilla.firefox_beta): this looks like a slightly older version of Firefox Preview. Currently reports version 75.0.0-beta.6, also “GV: 75.0”. I would guess ordinarily this would be the cutting edge beta version of Firefox but right now during the transition to the new hotness, Firefox Preview is getting updates faster. Not positive.
Firefox Nightly for Developers (org.mozilla.fennec_aurora) Firefox Preview Nightly for Developers (org.mozilla.fenix.nightly): I didn’t test these. I assume they’re just nightly builds of the two main development lines. FWIW the Preview Nightly currently reports “GV: 78.0a1” so it looks fairly far ahead of the main Firefox preview
Firefox Focus (org.mozilla.focus): a privacy-oriented experimental browser. Version 8.2.0 (75.0) right now. I think this was most relevant a couple of years ago and has taken a backseat to what is now Firefox Preview, which includes some of the same privacy features.
There’s also a bunch of stuff using the Firefox brand name that isn’t a browser at all. Firefox Private Network VPN (org.mozilla.firefox.vpn): is Mozilla’s new project selling VPN service to users. Firefox Lockwise (mozilla.lockwise) gives access to the Firefox password store. I think they’re trying to become a password agent like 1Password? Firefox Send (org.mozilla.firefoxsend) is a tool for sharing files. Last update was March 2019, not sure if the project is abandoned. Notes by Firefox is yet another text memo product. Firefox ScreenshotGo organizes screenshots with OCR and text search. And finally Mozilla Stumbler is a wardriving tool for building out Mozilla Location Service data. Last release Feb 2019.
Google Drive has no Linux support. That’s hilarious. Lots of folks have hacked things up though. I settled on rclone as a command line tool because it seemed maintained and was available in Ubuntu. It’s a generic cloud drive tool able to get at files, etc from many different providers.
The one-time-setup for Google Drive access is awful. It requires OAuth, which is a nice idea but then has the lovely usability of OAuth vs. command line tools. Lots of copying and pasting tokens. Even worse they really want you to set up your own API key. The end result is I had to do a bunch of “register as a Google developer” stuff, including maybe even generating a review request for my OAuth app called “Nelson’s private experiment do not use” (since private apps are only available to GSuite customers). The irony of this being somewhat my fault; I built the very first Google API key system back in 2001. No good deed goes unpunished.
Anyway, once set up it seems to work. My credentials are apparently stored in ~/.config/rclone/ Example commands:
rclone ls ‘Google Drive:/GPSLogger for Android/’
rclone --progress sync ‘Google Drive:/GPSLogger for Android/’ ‘./gdrive’
I’ve found some awful behavior from Google though; Google Drive seems to be converting my CSV text files into Google Sheets; I can’t get the CSV back, no matter which Google Drive client I try. I filed a bug on GPSLogger about it, but I wonder if it’s my own mistake.
You can use Yandex Image Search right now as a pretty good facial recognition system for anyone who has labelled photos on the Web. I believe this is the first generally accessible facial recognition system with a large database. Yandex isn’t designed for this purpose. The trick is to upload photos cropped to a face and it’ll work more or less to find similar faces.
This post was inspired by Bellingcat’s recent post on image search which noted Yandex’s image search as something particularly good and particularly called out the facial recognition. I’m just elaborating on what he found.
Here’s a selfie I took today. It’s never been on the web before this post and appears in no databases as I do these searches. This is a good clear photo of me, which makes the results better, but it works with less good photos too.
Now pretend you didn’t know my name. Put the image in to Yandex. Here’s the result you get.
The first two images are me. Click on either of them and the web page it takes you to has my name on it. Now you know who I am!
It’s not perfect; there’s no name provided directly, someone has to read the linked page to find one. And a person still has to sift through the near-matches of faces. But it’s pretty good. The only limit is Yandex’s database. That’s kind of “the whole web”, but their index is nowhere as comprehensive as Google.
Demonstration with Andrew Yang
Recognizing myself is easy. How about a stranger? I used this today to identify who the “Yang” was in this image from CNBC. It’s supposed to be Andrew Yang, the presidential candidate, but it is not.
Crop the image to Yang’s face, put it in Yandex, and you get this
All five of the first images look like our guy. The first result on the Yandex result page also leads directly to his home page: Geoff Yang. Some CNBC intern is gonna be in so much trouble! (This post is not an endorsement of Andrew Yang.)
Facial recognition vs image search
The new thing here is that Yandex is working not just as a reverse image search tool; it seems to be doing facial matching. None of the images it finds look much like the original image; different aspect ratio, different background, different details. But the faces match. It even matches my selfie both to a much younger version of me without a beard and to a version of me holding a box up obscuring part of my face. That’s pretty wild.
FWIW, here’s what other image search engines do with my selfie. I tested Google, Baidu, Bing, and TinEye. TinEye returned 0 results.
GoogleBaiduBing
Look at all the beardy white guys with some yellow in the image! None of them are me. It’s not a bad guess; I gave it a head shot, it found me similar head shots. But it didn’t find my face. Yandex finds my face. (Arguably TinEye’s 0 results is the right answer for this query; this image does not exist online.)
Why this matters
We’re on the cusp of a major change in day to day privacy with facial recognition algorithms. AI has now gotten good enough that it can do excellent facial recognition; modern software can take a blurry photo of half a face and match it to other faces of the same person. It’s a pretty scary future, particularly as already put into place by authoritarian governments like in Xinjiang, but it is inevitable and unstoppable.
Right now an ordinary person still can’t, for free, take a random photo of a stranger and find the name for him or her. But with Yandex they can. Yandex has been around a long time and is one of the few companies in the world that is competitive to Google. Their index is heavily biased to Eastern European data, but they have enough global data to find me and Andrew Yang.
If you use Google Photos or Facebook you’ve probably encountered their facial recognition. It’s magic, the matching works great. It’s also very limited. Facebook seems to only show you names for faces that people you have some sort of Facebook connection to. Google Photos similarly doesn’t volunteer random names. They could do more; Facebook could match a face to any Facebook user, for instance. But both services seem to have made a deliberate decision not to be a general purpose facial recognition service to identify strangers.
There is at least one public recognition service out there: FindClone (hat tip to Brad F). You can read more about FindClone here. (It used to be known a FindFace, and SearchFace.) However it’s limited to photos from VKontakte, the Facebook for the Russian speaking world. It’s a big dataset. But it’s not international like the Yandex search engine is.
I imagine within a few years this “look up a name from a face” will become as common as “look up a name from a phone number”. Not quite ubiquitous because everyone finds it creepy, but easy enough to access if you need it.
Update December 2022
Microsoft / Bing now has Who Is That which does facial recognition, but only for famous people. It does not work with my image.
Yandex seems to have dialed back or removed the facial recognition. Searching my image above now gives a bunch of generic portraits, no longer me.
I decided to delete my 23andMe profile. All told it took about a week and I have a copy of everything I care about. Could have gone faster but I was careful and slow about it.
I did the test in 2011 with mixed feelings; genetic data is so super private and yet also so readily available to a determined attacker. I was curious what the reports would say. And I kind of wanted to support the company, I believed their research mission.
The consumer product never quite excited me. Other than one very significant thing (story forthcoming) it’s told me nothing useful. A lot of the stuff they highlight is dubious. I don’t see any reason to continue to pay for access to it.
And then there’s the law enforcement fuckery. Police keep getting more and more aggressive about accessing genetic databases. It’s not clear the courts will protect people. Time to delete the data.
Note that deletion isn’t really deletion. 23AndMe seems to make a good faith effort to remove data and destroy samples. But they may have shared some data and it’s no longer entirely under their control. Also your entire genetic data is stored “to meet CLIA requirements”, apparently some regulatory requirement where the government wants labs to keep data so they can evaluate lab quality. In theory all that stuff should be anonymized but I wouldn’t trust that against a determined attacker. If I’d known all this back at the beginning I never would have done the test.
So, what to do when deleting your 23AndMe account? Here’s what I did. Note I have very old data in their system, from a genetic test in 2011.
Contact any connections you have and let them know you’re deleting your data. If you shared something with a family member it might be nice to give them a couple of days to take one last look at your data.
Download all user data. This page is accessible from Settings, at the bottom under Data. It has buttons for downloading various sections. The reports data wants to print; I printed that to a PDF file.
Be sure to download raw genetic data. It doesn’t download immediately; it creates a request and you get an email when it’s ready. (Mine took just a few minutes and was 24MB). This is the most important data on the site, the raw genetic test output. It’s all your SNPs. It’s possible to analyze this data with lots of tools, both online and offline.
Download your archived reports. This only applies to pre-2016 accounts, before the FDA settlement, and only contains old science reports.
Browse your current reports. One last trip down memory lane. It turns out I do not have the Neanderthal trait that makes people sneeze after eating dark chocolate. Thanks, 23AndMe, that’s definitely worth risking my genetic privacy to know!
Consider downloading / printing any detailed reports you are interested in. They seldom contain any more personal data than is in the summary report but the surrounding context may be useful.
Consider downloading Profile Data. This is a record of inputs you’ve given the site, like address changes and your self-reported phenotype. You have to request a download; it took two days for me. Mine was a few uninteresting tiny CSV files so I’m not sure it was worth the bother.
Request account closure. That’s the final step, the deletion. The big red button is at the bottom of this page. They send you an email to confirm with some caveats.
Once I submitted the final deletion my account looked inaccessible the moment I tried to log in. Well I could log in, but it looked like an empty profile. The site didn’t promise any final notification when the deletion is completed, no idea whether I’ve simply been marked as status: deleted or they actually scrubbed my data. Presumably destroying biological samples takes some time.
As noted above, various copies of your genetic data will be kept for years and there’s nothing you can do to delete it. I believe these are all anonymized and won’t be easy to associate with your name, but that still seems pretty crappy to me.
I will give 23AndMe credit, nowhere in this process was there some retention process slowing me down. They never even asked why I was deleting! I appreciated that; it’s much harder to, say, cancel cable TV.
23AndMe’s deletion details
This is the disclosure in the email from 23AndMe about what deletion means. Note the third bullet item about “will retain your Genetic Information”; despite my request they are not actually deleting my data.
We received your request to permanently delete your 23andMe account and associated data. The following apply when you submit your deletion request:
If you chose to consent to 23andMe Research by agreeing to an applicable 23andMe Research consent document, any research involving your data that has already been performed or published prior to our receipt of your request will not be reversed, undone, or withdrawn.
Any samples for which you gave consent to be stored (biobanked) will be discarded.
23andMe and the contracted genotyping laboratory will retain your Genetic Information, Date of Birth, and sex as required for compliance with legal obligations, pursuant to the federal Clinical Laboratory Improvement Amendments of 1988 and California laboratory regulations.
23andMe will retain limited information related to your data deletion request, such as your email address and Account Deletion Request Identifier, as necessary to fulfill your request and for the establishment, exercise or defense of legal claims.
Once you confirm your request to delete all of your data, 23andMe will begin processing your request. This decision cannot be cancelled, undone, withdrawn, or reversed.
A discussion on Twitter led me to wonder; is all the mail I get from Mailchimp spam? Can I filter it? Turns out filtering Mailchimp in Gmail is hard. But I have a mediocre solution and some ideas on what Mailchimp should do to be kinder to email recipients.
I only notice Mailchimp mail when I get some crap I don’t want to see and click the Unsubscribe link. I get a lot of these same spams from the same company, like my old college or my local pizza place. The landing page for unsubscribing is distinctly Mailchimp, which is when I notice that they’re the source of the spam.
What seems to happen is a Mailchimp customer creates a new Mailchimp list for every marketing campaign. So I won’t get any more June 5 Campaign mails, but I’m bound to get the next June 12 Campaign mail and there’s no way to make it stop. It is spam. My question is; is all Mailchimp mail spam? (Spoiler; only 93% of mine in the last year is.)
Identifying Mailchimp in Gmail
My mediocre solution for identifying Mailchimp mail is a gmail search for three special phrases in the message body, the current copy Mailchimp includes to provide their (not-very-effective) opt-out mechanisms. This text could change at any time, but it seems to be consistent for several years now. Here’s the search term, all three phrases:
“view this email in your browser” “want to change how you receive these emails?” “You can update your preferences or unsubscribe”
The better way to filter would be on an email header like X-Mailer, Received, or the DKIM signature. Gmail’s filters don’t seem to allow filtering on any of those criteria. Here’s an example spammy mail; maybe someone else has a better idea how to get Gmail to identify these. (There is a possibility involving Google Script but I can’t tell if that’s really a good idea to use.)
My Mailchimp statistics
In the past year I’ve gotten 57 Mailchimp mails. Maybe more if they went to the Spam folder and were auto-deleted. I have deliberately subscribed to 0 Mailchimp mailing lists, so in some sense all 57 are spam.
However, a whole lot of these Mailchimp mails come from organizations I legitimately have business with. Reed College being the primary culprit, also my local pizza place. I’d rather not get any of those emails, but they are in some sense organizations that have a reason and a right to email me. 54 of the 57 Mailchimp mails I got are in this category, or 93%. I’d rather not get any more of them.
3 of the 57 Mailchimp mails were things I actually wanted to get. Two from the XOXO conference, one from OpenStreetMap. Those organizations use Mailchimp responsibly in a way that helps me and even if I didn’t explicitly opt-in to a mailing list. I want these mails.
0 of the 57 Mailchimp mails were pure spam. None of them were from an organization I’d never heard of before. So that’s good! Update: not a day after writing this I got a pure spam Mailchimp mail, an ad for a Kickstarter game called “Cracked”.
Still, a 93% feels-spammy rate is pretty awful and Mailchimp should do better.
Mailchimp for recipients
AFAIK Mailchimp currently has essentially no product for email recipients. We’re not customers, we’re the product Mailchimp is selling. There’s this polite veneer that somehow we’ve opted in to these communications, and Mailchimp does provide opt-outs. But they aren’t really working.
My proposed solution is Mailchimp should build a small product for email recipients. Leave the defaults as-is, to not decimate Mailchimp’s business. But give users the chance to say “I never want to receive any Mailchimp mail from this organization again”. Not just opt-out of a specific list, but all lists from a particular Mailchimp customer. It’s not simple; Mailchimp would have to create an account for each email recipient with some small Web UI, passwords, etc. It’s not a tiny project, but it’s not a huge one either.
Of course Mailchimp won’t do this. They have no incentive to. Right until the moment someone like me gets fed up enough and considers blocking all of Mailchimp as spam. Imagine if Gmail did that; it would absolutely crush the company. Mailchimp should have a solution in hand before their spam problem escalates to the level of existential crisis.
(Even better would be to require an explicit opt-in from each organization, or for each mailing list. That’s how it used to work in the old Mailman days. But no way would Mailchimp do this; it’d destroy their business.)
An alternate thing Mailchimp could do is get more aggressive at policing their customers. There’s a feedback form when you unsubscribe that includes lines “This is spam and should be reported” as well as “I never subscribed to this list”. I faithfully click one or the other every time I get spam via Mailchimp, in the hopes it creates some signal inside the company and maybe their customer will be reined in. So far I see it having zero effect though, and why would it? The spammer is who is paying Mailchimp, not me.
I have several friends who work at Mailchimp. It’s a good company and they have a good product for their customers. But as a company I suspect they are myopic, focussed only on their paying customers. I’d like them to do more to stop spammy use of their product before it becomes a crisis.
Someone got the original CERN NextStep web browser working in emulation. Here’s how my two blogs look. Not bad really, the text is fully readable and the links seem to work, although the lack of HTML entities sure makes things ugly vs. Markdown formatting’s Unicode quotes.
Just a shout-out to Kiwix, the software plus database for reading Wikipedia offline. It’s incredibly helpful to have on your cell phone when you’re traveling and don’t have a data plan. Also nice just to have lightning-fast browsing of Wikipedia. They now have clients for iOS, Android, Windows, MacOS, and Linux.
You have to download the data separately. Their ZIM format seems well thought out, compressed tight and general purpose enough you can get other document collections like Stack Overflow posts, TED talks, etc. English Wikipedia is an enormous 35Gb, 80Gb if you get images too. There are various Wikipedia subsets but no “top articles” opton I see. (Be careful not to download a Simple English version by accident.)
The most interesting thing to me is Kiwix is now partnered with Wikimedia Foundation. A nice cash infusion, but also gives Kiwix some legitimacy. I’m hoping that gives a second wind to the editorial project to produce a Wikipedia subset that’s smaller and well selected to be sufficient.
There are some other offline Wikipedia readers on the Apple app store. I used Wiki Offline for years but the company that produced that seems to have disappeared (again). There’s also Minipedia which does have a nice small subset you can download. I think all of these alternatives found it hard to produce regular updates with the most recent Wikipedia content. Kiwix seems to be doing quarterly releases.
Ahead of the Great Deletion, Flickr has a decent export tool built in to the user settings page. You click the export button, wait a day or two for an email, and then get some ZIP files to download.
I posted a little summary of what’s in the exports on Metafilter. Long story short, I think it’s pretty much all the data and metadata Flickr has. Here’s an expanded version of it:
Photos
4 zip files are my photos
Photos are in JPG format with EXIF tags. I’m not positive but I believe these are the original bits I uploaded from my camera, or something similar. There is a lot of EXIF data intact.
Filenames are the title of the photo (downcased) plus the photo’s Flickr ID
File timestamps are bogus dates in 2013/2014
Metadata
1 zip file with a bunch of JSON files
Most of the JSON files are one file per photo that includes Flickr metadata. Photo title, description, time, tags, geotags, comments on the photo, etc.
Several other JSON files with things like all the comments I’ve made, JSON data for my photo albums (a collection of photos), etc
Edit: a caveat on the geo top level field. This seems to be set even if the photo was never properly geotagged via the Flickr map tool or with EXIF tags. It looks like it’s set to the location of the computer that uploaded the photo?!
Conversion tool plan
I’m not aware of any tools that do much with this Flickr metadata, but I haven’t looked hard. I’ve considered writing my own minimal one with an eye towards extracting all the most important metadata from the JSON and stuffing it in EXIF tags. Ideally the resulting JPG files would then look reasonable when imported into Google Photos and/or Lightroom. Some specifics:
Set the JPG filename from the JSON photo title more nicely than Flickr did
Set the JPG file timestamp to the creation date in the EXIF data. If there is no EXIF timestamp, then take something from the Flickr JSON.
Insert Flickr’s JSON geotags from the photo into an EXIF geotag (if one doesn’t exist). I geocoded a bunch of photos by hand in Flickr, I’d really like to preserve that data
Insert Flickr’s JSON name and description tags into the EXIF in appropriate textual fields.
Insert Flickr’s tags into the EXIF; is there an appropriate field?
Capture Flickr comments from the JSON into the EXIF?
Flickr JSON has a “people” tag but I don’t think I’ve ever used it.
Update
A year later I never got around to doing this “right”. Instead I just took the _o original files from the Flickr export and renamed them a bit, turning the dash and underscores into spaces. Then uploaded. Google Photos seems to have done an OK job fishing dates, geotags, and some sort of descriptions out of whatever EXIF data Flickr had given me. I’m sure I lost any Flickr-specific data, like hand geocoded Flickr photos, comments, etc. Also there’s some problem with “photos already in Google Photos”, I’m not sure if it picked up any extra metadata. But mostly I got my pictures online.
Firefox Sync is nice. Nice enough I’ve switched to using Firefox on iOS. Almost entirely for the ability to send a tab to my mobile device. This happens to me all the time; I have something interesting or useful on my desktop browser and I want to look at it on my iPhone. Now instead of emailing myself a URL awkwardly I can just send the tab to the iPhone and it’s done.
The other feature I like is the ability to open URLs that are or were recently open in another browser. That way I can grab something of interest on my iPhone even if I forgot to send it from the other computer. This feature’s less useful to me since I tend not to leave tabs open. Also the sync seems to be minutes out of date, so sometimes what I want isn’t available.
Firefox Sync shares a lot of state: bookmarks, saved passwords, browser history, installed addons, etc. It all seems pretty useful and it all seems to work well.
Update: by default it syncs every 15 minutes. You can configure it.
Twitter is shutting off their streaming API. After months of warning, the actual deadline is in three days, Thursday the 16th. If you were using the streaming API to follow at most a few thousand accounts, there’s a workaround: Twitter lists.
The idea is you create a Twitter list containing all the accounts you want to follow. Then you poll lists/statuses for the timeline of tweets. Polling isn’t awesome but the default rate limit is once a second, so it’s not too bad. Twitter lists are limited to 5000 accounts, so if you need more than that this won’t work (but consider multiple lists).
The main thing you’ll lose this way is replies; Twitter lists don’t include replies not to list members. (Or maybe not to people you follow, I’m confused on that point.) But otherwise it seems to work. If you’re working with old Twitter code be sure you understand about extended_tweets; you almost certainly want to be getting them.
One wrinkle: creating a list of thousands of people isn’t easy. It looked to me like there was a hard limit of adding 1000 users to a list every day. Also maybe a soft limit of hundreds in a short period of time.
The other option I tried was instead of a list, create an account and follow the users of interest. Then look at their home timeline. This doesn’t work as well for various reasons. First, Twitter mucks with a home timeline more than a list timeline, more risk of reordering and stuff. Also the rate limit is lower (once a minute). Finally it seems harder to quickly follow thousands of new accounts, I ran into more draconian rate limits.
One more wrinkle: listing or following a user notifies them you are interested in them. Following people via the streaming API was completely passive, now users have a hint they’re being watched. It’s not a big deal but some users may choose to block you when they get listed / followed.
Bit of kerfuffle this week around Reddit, which had a security breach despite having two factor authentication enabled. Some basic introductory notes for folks wondering what’s going on.
Two-Factor authentication (or 2FA) is any login protocol that requires a second thing for logging in besides your password. Passwords are a terrible form of security, you should use 2FA for any account you care about. Definitely your email account and your bank. Also whatever is important in your job: your Amazon Web Services account, or your Twitter account, or whatever.
SMS (text messages) are often used as the second factor in 2FA: the website text messages you a one-time code you type in to the login page. You give the website your cell phone number to set it up. But SMS is not secure; it’s far too easy to convince a mobile phone company to hijack a cell phone number. SMS is better than no 2FA, but if you have any other option at all don’t use SMS. Note many accounts have a backdoor SMS recovery option that you only use if you lost your password; these are also insecure and seem to be what tripped up Reddit. SMS 2FA is also vulnerable to phishing and MITM attacks.
TOTP / HOTP, one-time passwords, are also a common 2FA option and are pretty good. App generates codes every minute / every login and you type them into the page. You set it up by scanning a QRCode when you set up the login, then run an app like Google Authenticator, Authy, or 1Password to generate a number that you type in to log in. It’s what I use in practice. Not positive how safe it is to use 1Password to store both passwords and this second factor in the same system, so mostly I don’t use that. These are still vulnerable to phishing and MITM attacks.
U2F / Yubikey is the new hotness in 2FA. You have a physical device, a little USB key, and a special protocol that lets web sites authenticate through your browser to the key itself. The hardware is designed to be secure. Also the second factor that’s used is phishing resistant. Yubikeys are quite common in the tech industry but does require software support that’s not available everywhere.
Push-based 2FA, where you have a custom app on your phone that pops up a confirmation dialog. You press a single button to approve the login and you’re done. It’s very convenient. I first saw this in the Blizzard Authenticator. Duo Push is a product you can use to implement push-based 2FA on your own sites. Apple’s iCloud 2FA also does a variety of push 2FA along with also requiring you type in a code. I don’t know how secure push-based is but I’m guessing pretty good, at least the obvious phishing attacks won’t work.
tl;dr: use 2FA on important accounts. Avoid SMS if you can.
Interesting new Reddit tool: Masstagger. You install it and it pops up little red warnings next to user’s posts. “the_donald user”, or “kotakuinaction user”, or the like. A quick way to get some insight into a Redditor’s history and reputation. Makes it easy to identify the Nazi-wannabes at least.
More about it in this Reddit discussion. I particularly like the author’s responses to the kind of crap these projects always attract. “Why not open source? ... Because I don’t want to”. “This is just like giving Jews yellow stars! ... No, not really.” “Can I add my own subreddits to tag to meet my own personal desires? ... No, this identifies Nazis. My old tool was editable and people used it to stalk porn posters.”
Behind the scenes the way it works is they have a list of deplorable subreddits (104 right now) that they monitor. The server on the backend is constantly downloading posts to those subreddits and keeping statistics on which users post there. There’s a second service that lets you look up the scores for a list of usernames. That’s used by the browser addon; when you load a Reddit page it gets the scores and annotates accordingly.
They had some scaling problems today; unfortunately the service is dynamically generating the statistics data when users ask. I was thinking they could just do things statically, generate a statistics file once an hour for the addon to download. But tracking 100,000 users over 100 subreddits that’s 10M records, or maybe 200M of static data. That’s a lot to serve in a single file.
There’s a variety of existing “profile Reddit users” sites; see SnoopSnoo, Reddit User Analyser, and Reddit Investigator. I wonder if any of them have a backend suitable for this use? Reddit User Analyser works by fetching comments from Reddit directly in the browser page; no server, so probably too heavyweight for this addon. SnoopSnoo appears to have a database on the backend, the report pages come back with little bits of data injected as scripts in the HTML source. Reddit Investigator is down right now.
Anyway it’d be pretty simple to build a custom service for this. Less clear how hard it’d be to make it scale. Static files are clearly the best choice, but it’s a lot of data. Maybe one static file per profiled user? That would require the addon fetch like 40 static files with each page load, that’s not great but it’s not awful.
Twitter purged a bunch of robot accounts this week as some sort of effort to clean up their platform. You can see the personal result for you by logging in to https://analytics.twitter.com/, you’ll see the falloff.
My personal account @nelson lost about 5% of followers. My account is pretty ordinary other than it’s old.
I have an account with a much simpler set of followers though: my robot account @somebitslinks. That’s an automated account posting interesting links I place on Pinboard. It’s not social in any way. But it got 10,000 followers all in one day in January 2012 when it was listed for a few hours as a recommended account on Twitter’s home page.
Over the years that account has lost followers, I imagine as people got fed up with all the robot spam in their timelines. It slowly dropped from 10,000 to 9000. This week in the purge it dropped from 8947 to 8087, or just about 10%.
I don’t know what to conclude from that exactly, other than Twitter’s bot finding algorithm apparently identified 10% of users from January 2012 as bots. Makes me wonder what the real number is.
Update: some context in this tweet, showing big accounts losing anywhere from 2% to 78% of followers. Also this NYT summary.
I’ve been running Privacy Badger lately. That’s EFF’s ad tracking blocker, it tries to stop third party websites from tracking you. The clever thing is instead of having some admin-maintained block list, it’s a learning system that builds its own list based on what it observes on your browser:
Privacy Badger keeps note of the “third party” domains that embed images, scripts and advertising in the pages you visit. Privacy Badger looks for tracking techniques like uniquely identifying cookies, local storage “supercookies,” and canvas fingerprinting. If it observes a single third-party host tracking you on three separate sites, Privacy Badger will automatically disallow content from that third-party tracker. In some cases a third-party domain provides some important aspect of a page’s functionality, such as embedded maps, images, or stylesheets. In those cases Privacy Badger will allow connections to the third party but will screen out its tracking cookies and referrers (these hosts have their sliders set to the middle, “cookie block” position).
I’ve run this for a couple of months now and it has identified 1134 potential tracking domains. Note I run this along with uBlock and some other blockers, and I’m not sure how they interact.
629 green (allow, not enough data)
327 yellow (allow because it’s on a white list of essential services, but try to block personal tracking)
76 red (block)
Here’s a shell snippet to dump all the domains that are fully blocked (red), starting with Privacy Badger’s JSON export:
Once I eliminate subdomains (ie: http://www.metafilter.com vs metafilter.com) I’m left with 41 domains. Some of these are surprising. Metafilter, for one, they’re a pretty benign company.. Also Google. Clearly they’re not blocking all stuff ever loaded as a third party from google.com; half the Internet would break. So I’m kind of confused what this is really doing.
I’m trying Mozilla’s new web browser, Firefox Quantum (aka Firefox 57). It’s in beta now, will be the primary Firefox release in a few weeks.
There’s a lot going on with this release but the primary feature is speed. It is super snappy and responsive. From simple tricks like taking UI actions faster in response to input, to deep things like a brand new CSS engine (in Rust) and a new process model. Firefox had been single process up to now, unlike Chrome. Now it’s multi-process but still using threads in a performance / resource usage tradeoff. Uses less memory too although since I never keep many tabs open that’s less of a problem for me.
One drawback of the new release is old Firefox extensions no longer work; developers have to make significant changes for the new process model. Most of the Chrome extensions I care about also have Firefox versions that have already been updated. uBlock Origin, LastPass (a beta), Imagus, Pinboard+.
Been awhile since I used Firefox. It’s still good. Some customizations that helped me:
I just set up Symantec VIP two-factor authentication for my bank account, to replace an old VeriSign hardware token. Symantec VIP is a mobile phone app, they also sell a hardware token.
The basic security model is similar to the VeriSign token or TOTP as implemented by Google Authenticator. I type my password to log in, then am prompted to type a six digit second code from the Symantec VIP app. The code generated is valid for 30 seconds. I’m not positive it’s time-based; every time I generate a new token, it shows being valid for a full 30 seconds.
The Symantec VIP app has a very simple model of user identity. The first time I ran the app on my phone it assigned me a “Credential ID”. I then supply that to every single site that I want to use it for 2FA. That’s different from the Google Authenticator model where you scan a QR code to set up a new site. Not sure how Symantec supports having multiple identities or changing your ID. There is an option to scan a QR code, so maybe there’s a second identity model.
There’s no backup of the token; if I lose the phone or something I have to go back to my bank to set up access again, out of band.
Another slight weirdness; my bank says it will take 48 hours to enable the token. No explanation why it’d take that long. In the meantime they gave me a temporary 6 digit code that will work many times as my 2FA code. That’s not ideal but probably harmless, at least in this application.
Symantec VIP is more complex than I’ve seen. There’s a whole VIP Manager product for enterprise management, maybe that provides more flexibility and control for advanced users.
As an end user I prefer Google Authenticator, mostly because I’ve got it set up for several sites already. But Symantec VIP seems OK too. No idea how their backend integration tools compare. TOTP sounds awfully simple to deploy.
Update: one problem with the basic Symantec VIP model; my bank is relying on Symantec to keep the secret safe. They didn’t generate a new secret for me to share with them, they’re using whatever is baked into my default Symantec ID. That may be appropriate for many businesses that want to outsource security, but it’s a form of risk.
Update 2: the python-vipaccess tool works to generate new Symantec VIP tokens that you can then import into Authy.
The GOP’s craven selling-out of user privacy to ISPs has me wondering, just how private is the modern web?
Only sort of private. HTTPS Everywhere is working, at this point I’m surprised if a site doesn’t support SSL. So the contents of web requests and replies are encrypted. Of course the IP address of who you’re talking to is not protected. But the hostname is also in cleartext; your ISP can see that you are specifically visiting eff.org or nelsonslog.wordpress.com. This is true both in HTTP/1.1 and HTTP/2.0.
Really the hostname is being exposed by SSL/TLS itself, in the Server Name Indication. The SNI is the way a single server can serve multiple web domains, it’s virtual hosting for SSL. The client initiates a connection and sends in cleartext “I’m trying to talk to eff.org”. The server responds with negotiating a connection using eff.org’s certificate. (The hostname may also appear in the request as a Host header, but I believe that’s encrypted.)
Why not encrypt the hostname in SNI? Who do you encrypt it for? SSL is as much about verifying server identity as it is encrypting the traffic, so the protocol starts with the client asking for a specific identity to set up the encryption. I think the hostname could be encrypted in the handshake with a second encryption channel, but I haven’t thought hard about it. And I have no idea how hard it would be to implement in practice, much less get adopted.
Note that HTTP/2.0 doesn’t do anything new about hostnames, it just uses TLS 1.2. The HTTP/2.0 spec mandates SNI support and that the client use it to specify the destination host.
Outside HTTP, your DNS hostname queries are also being sent in plaintext. So your ISP could snoop (or hijack) those. Thanks to Tom Jennings for pointing this out to me. In theory DNSsec or DNSCrypt or something like Dingo could protect against this, maybe now’s the time to get serious about deployment.
While I’m here, a lot of discussion yesterday was along the lines of “well time to use a VPN”. But VPNs don’t really solve the problem and introduce lots of new problems on their own. I only like them when you’re in a hotel with a shitty network or you need a specific private intranet connection.
The LA Times is a good newspaper and is currently doing the best political coverage in California. They are also the most aggressive ad shoveling website I have ever seen. Their ad blocker blocker and paywall works, preventing me from reading articles. I even tried installing an ad blocker blocker blocker which doesn’t work.
So I open articles like this in incognito mode, and let it run its ads, and close the popups and mute the videos and try to ignore the visual distraction. But boy that page does not go quietly. Here’s how they reward their readers.
That’s a timeline of 30 seconds of page activity about 5 minutes after the article was opened. To be clear, this timeline should be empty. Nothing should be loading. Maybe one short ping, maybe loading one extra ad. Instead the page requested 2000 resources totalling 5 megabytes in 30 seconds. It will keep making those requests as long as I leave the page open. 14 gigabytes a day.
There’s no one offender in the network log, it’s a wide variety of different ad services. The big data consumer was a 2 megabyte video ad, but it’s all the other continuous requests that really worry me.
A lot has been written about the future of journalism, the importance of businesses like the LA Times being profitable as a way to protect American democracy. I agree with that in theory. But this sort of incompetence and contempt for readers makes me completely uninterested in helping their business.
Edit for pedantic nerds: for some unfortunate reason this blog post ended up on Hacker News where people raised eyebrows at my 14 gigabytes / day estimate. To be crystal clear: I did a half-assed measurement for 30 seconds and measured 5 megabytes. 5 * 2 * 60 * 24 = 14,400, or about 14GB. That’s all I did.
Yes, I know that extrapolation is possibly inaccurate. If you want to leave a browser window open for 24 hours to measure the true number, be my guest; I’ll even link to your report here. (Hope you have lots of RAM and bandwidth!) I’m a web professional with significant experience measuring bandwidth and performance, I know how to do this right. But that’s the LA Times webmaster’s job, not mine, and I don’t have a lot of confidence that they much care.
3.2 hours is the current record for measuring traffic before something crashes.
Edit 2: for a lot of people visiting my blog I think it is their first view of a network timeline graph like this. Generating your own timeline for any web page is easy if you use Chrome. It’s a standard view in the Network tab in Developer Tools. See the docs, but briefly you open dev tools and click on network and watch the waterfall graph. You want to open it before loading the page so it captures everything from the start. Beware a normal web page will end very soon and be boring; the LA Times is a very special website.
New computer, old problem, I want Chrome to open links in new windows, not a tab in some existing window that may be minimized or on another desktop. I fixed this on a Mac with AppleScript; in Windows it’s easier, you just have to modify a registry setting.
Long story short, you want to modify the Default key at HKEY_CLASSES_ROOT\ChromeHTML\shell\open\command to include the argument “-- new-window”.
This all reminds me I should set it up again so CapsLock searches Google. So far I’ve been putting off installing AutoHotkey. I can probably also use it to create some keys to change system volume and switch audio output devices.
Reddit Enhancement Sweet has a neat feature where if someone links to a Wikipedia article you can click on an expando button and a div pops up showing just a small bit of the Wikipedia article right on top of the page, a sort of quick preview. Here’s the code for it.
It works by using the Wikipedia API, specifically the “parse” method. (So named because it parses Wikimedia source data and returns JSON, the article contents). This URL is a sample query for the JSON contents of the Round-robin DNS page. There’s a zillion options for configuring what it returns, section=0 seems like a useful one to only get the first section of an article, typically the summary. And here’s how to get only the first paragraph.
The Wikipedia API has a sandbox for designing queries.
BTW I’m having a hard time with Chrome Developer Tools lately. I can’t find that Reddit page + RES loading this JSON anywhere. Maybe because it’s happening in a Chrome extension, out of site in a background page or something? Dunno.
I like posting source code on my blog. Wordpress.com has a bug where it re-escapes my code every time I edit it. I am creating this blog post to file a support ticket, because I’m now a paying customer.
The code I want to post is the Python code
int(“1”) & 2
Ie; take the string 1, cast it to an int, then bitwise and it with the integer 2. I chose this because both the ” and & may get HTML escaped.
I’m following these instructions for posting code. Note they dont’ tell you which editor mode to do this in; Visual or HTML mode. I’m going to do both.
Both of these displayed correctly the first time. But the moment I edited the post again and saved it, it escaped the ” to be " and the & to be & It will keep adding more escaping every time I edit it. It’s very annoying.
Visual mode
int(&quot;1&quot;) &amp; 2
HTML Mode
int(&quot;1&quot;) &amp; 2
Notes
This bug is 4+ years old and yet still with us and seems to have been carried over to WordPress’ new visual editor, Calypso. I suspect they’re doing something naive like re-escaping every single time the editor switches modes. I tried asking wordpress.com front line support and just got a “need to look into this more” reply with a promise of an email followup.
Update: got a reply from support saying it was a known issue they were looking into and that “For now the solution is to stick to the HTML editor when writing code in blocks.” Well, that’s clear. I wonder if any of Wordpress’ own engineers use Wordpress to blog about code? Doesn’t this drive them crazy?
Google has amassed the world’s greatest library of music. Here’s how to download the music from a playlist nicely if you’re not worried about licensing questions:
The -o option names the file something nice. Note I left the youtube ID in there so you could find the file again.
The -f 140 option means download the 128kbps AAC audio stream only. There may be higher quality audio available but this sounds fine to my tin ear, also it seems to work with absolutely everything.
I tried --write-thumbnail for nice album covers in the files but it seems to only write the image as a second file, not into the m4a metadata. I’ve also had bad luck trying to use command line tools to add metadata to the m4a file afterwards, stuff like artist or whatever. Ended up corrupting the files. I didn’t try very hard.
I needed to generate a new serious password so I decided to try to out the old Diceware / xkcd idea of a phrase made of nonsense words. I took inspiration from this article (as seen on Metafilter). I ended up using the Diceware list along with this Python generator. I probably could have just used this Diceware Javascript generator but some irrational part of me trusted a Python program installed on my own machine via pip more than a Javascript page.
Why not use the big list that xkcdpass has? Because it has too many obscure words (“filariae”). What’s nice about Diceware is it has a list of just 7776 short common words. According to that Javascript generator 6 Diceware words has 77 bits of entropy, which is good for 3500 years against an attacker making a trillion guesses a second.
The best thing about these long passphrases is they are easy to type on mobile keyboards. The whole l33+ thing we still childishly do is murder on an iPhone.
A friend asked what the best way to tweet a Torrent would be. I thought the obvious thing would be to tweet the magnet link, but those tend to be too long to fit in 140 characters and Twitter’s URL shortener doesn’t work on magnet: links.
Why are magnet links so long any way? Here’s a working magnet link to a copy of wikipedia, an 11GB file named enwiki-20140707-pages-articles.xml.bz2:
The important thing is the hash in the xt parameter. That uniquely identifies the content and it can be addressed as such via DHT discovery. Those tr parameters just list trackers, which you don’t strictly need thanks to trackerless torrents. Indeed, the following 61 character URL works fine in Transmission.
It’s not very convenient though. It lacks a filename, file size, etc. Startup time is (theoretically) slower as we have to discover data. I also don’t know how much of a performance impact removing the tracker list has, if any.
Of course one could add some of the missing bits back. “dn” is the displayed filename, “xl” is the file size.
The xt parameter is a bit subtle; there are at least 9 different hash algorithms that can be specified. BTIH seems to work well for torrents.
I accept that Google has locked down Chrome extensions and made them hard to install from anywhere other than their own store. Security issue (also, vendor lock-in). But why does the store have to be so awful?
The thing I want, the extension I clicked on, is there. In the middle in a 980x700 box. That is the web page I requested. Why is it locked inside a tiny frame with some slightly faded out ugly set of icons beneath it?
Why is the URL for the extension cepmakjlanepojocakadfpohnhhalfol instead of some human readable name?
Why is the 980x700 box so badly laid out? The top gutter is too small compared to the left and right gutters, and there’s no bottom gutter at all, just more ads for other products I don’t want. And so much of the box is given over to a screenshot. I appreciate wanting to demo the wares, but often screenshots are not the best way to understand what a Chrome extension does. There’s so little room left for the text! And screenshots can be so visually noisy they look hideous embedded in the rest of the tiny box inside the app store page, like this one.
The navigation is also funky; clicking tabs like “reviews’ does some Web 2.1 trick where the content and URL change but the page doesn’t actually navigate. This part works reasonably well, it’s certainly faster than reloads, but it reinforces how this thing is not really a web page but a bad app trapped inside a browser, on top of a blurred out version of a store I do not want to shop at.
In the long long ago the Chrome app store had a much nicer simple page per extension. They changed it a couple of years back and I assumed they’d swiftly recognize their mistake.
Logging out of Google is a funny process; you get redirected to a bunch of sites one at a time, presumably clearing cookies in different domains. youtube.com, blogger.com, and of course google.com. Here’s the URL for google.com, broken down by CGI parameters
I find that chain of ils parameters interesting. It’s an odd set of properties, including some like Orkut for which I have no account. I wonder if it’s a list of Google services that maintain their own authentication tokens?
I’m having a problem where all Google services are super-slow for me, randomly. Not just Gmail but also even a Google search. Doesn’t happen in incognito mode. My theory was it was related to being logged-in, but logged out didn’t fix it. Being in an incognito window does fix it. Hrm. (Update: logging out does seem to have fixed it afterall, and now that I’m logged in again I’m fine. Perhaps my Google session got stuck on a broken server?)
I’ve switched Chrome ad blockers to µBlock, which claims to be lighter weight than AdBlock and AdBlockPlus. Also the author is a slightly cranky open source guy who refuses to even take donations, and I like that. So far my only complaint is a few pages don’t load well and a couple of ecommerce things failed unless I disabled it.
Just tracked down one failure: http://krebsonsecurity.com/2014/10/chip-pin-vs-chip-signature/ displays as plain text, no CSS or Javascript or anything. Turns out the entire krebsonsecurity.com domain is blocked by the “domainsonly” list from DNS-BH Malware Domains. Which is sort of hilarious given Krebs’ work publishing about malware. I can’t tell if that’s a bug in the list, that Krebs was actually compromised at some point, or if it’s just some pissing match between security nerds. I think the last explanation is most likely, Krebs is often the focus of strong opinions. If so that’s stupid and annoying though; these black hole lists should only be applied very sparingly. FWIW the ban goes back to 2010.
µBlock’s tools for understanding stuff aren’t bad. If you right click the icon and choose “Options”, there’s a “Statistics” tab where you can reload a page and see what was blocked and by which rules. It doesn’t show which ruleset contains the rule though, so you have to hunt for that.
I think it’s hilarious that Chrome’s New Tab page blocks 3 requests, all matching the rule google.*/gen_204?. Tracking images? The new tab page loads like 15 other resources from Google that are allowed.
Update: the Krebs list was commented out with a datestamp of 2014-10-29, two days before I wrote this blog post.
The results of using youtube-dl to download at 50 kbytes/second:
Basically it uses max bandwidth for a bit, then stops. The average rate is indeed 50 kbytes/sec, but it’s 1 second of 300 kbytes/sec (max rate) followed by 6 seconds of none. Not exactly the intended effect.
I’m not clear on how much a user-space app can even do to throttle bandwidth on a TCP socket like this. I’d assumed they were stalling the pipe, only reading 60 kbytes/second, and the server is filling the pipe and something’s buffering. But that graph looks more like youtube-dl reading the whole buffer all at once, then sleeping a long time.
The code looks like it’s doing something reasonable. If I understand the main loop right, it reads block_size bytes (1024), then sleeps for a carefully calculated amount of time to maintain the rate. So it’s at least trying to read little bits in short intervals, I wonder why it’s not working? I should test it on a faster network and see if it does the same weird thing.
I ran some simple ads to promote Logs of Lag, my League of Legends netlog parser. I’m having a hard time getting attention and thought it’d help to get a bit of paid traffic. I invested, oh, $20 in all of this, trying to bottom feed some traffic. Results after a week or two of trying:
Google Adwords
0.18% CTR. 4468 impressions, 8 clicks, $2.73
Very bad results, particularly on the search ads. Google’s minimum bid for a relevant keyword like [league of legends lag] seems to be at least $1, and apparently Google is happier showing no ads than showing cheap ads. 4339 of the impressions were via the Display Network. Near as I can tell AdWords gives me no way to see where those ads actually displayed. Bummer.
Bing Ads
0.59% CTR. 848 impressions, 5 clicks, $0.17
Straight-up clone of the Google ad campaign. But Bing Ads is quite happy to show ads for $0.10 CPC, so the good keywords I wanted got some impressions and clicks. No display ads at all; not sure if I wasn’t eligible or there was just no inventory.
Twitter Ads
Too early to tell. But my ad is a poor match for Twitter. All you can promote is a tweet, and I didn’t want to write a special ad tweet for my website. Also hard for me to imagine a Twitter user will be inspired to try my tool by a Twitter ad, particularly on a mobile device. I think Twitter Ads may be better suited for brand campaigns.
Reddit Ads
0.94% CTR, 14030 impressions, 132 clicks, $10.
By far the most successful of my ads. In part because I could target it so specifically to /r/leagueoflegends, a big community. Also Reddit ads are cheap. It’s a pretty interesting ad product really, particularly the way ads become stories that get Reddit votes, comments, etc. I’m surprised it’s not better known. Reddit has a blanket $0.75 CPM rate which seems fairly cheap to me, particularly given the value of Reddit’s audience. The ad tool sure is primitive though. I’m left wondering why Reddit doesn’t pursue an ads business more aggressively.
Conclusion
Small ad campaigns are cheap. OTOH I didn’t set up any way to measure actual conversion. What I want is to get my tool in people’s minds so they remember to try it a month from now, and I’m not about to do the necessary work for such a small side project of mine. I don’t regret the $12.90 I spent though. I’d definitely go back to Reddit ads to get attention for something there, particularly if the organic way of getting Reddit attention doesn’t work out.
archive.org announced BitTorrent support for downloads of their 1m+ files. The way they’re doing it is interesting, with HTTP seeded BitTorrent, a widely supported BitTorrent extension. In addition to normal torrent chunk downloads from peers, the BT client can also fetch ranges of bytes from an HTTP or FTP URL that’s published in the torrent. So archive.org doesn’t need to do anything too complicated with seedboxes; they just publish .torrent files that reference their existing HTTP resources, and BitTorrent clients will be able to download them. Only the BT clients can also do the P2P thing to download chunks, helping take some bandwidth off of archive.org and solving flash crowd problems.
There’s an impedance mismatch between BitTorrent and HTTP. HTTP is for downloading single files, ideally all in one stream although with Range requests you can get chunks from the middle. A single torrent has multiple files in it, and it’s natural to download chunks out of order. The BEP explains how the chunk stuff works for HTTP serving.
The other mismatch is that the HTTP contents located at a particular URL can and do change. The file contents located in a particular .torrent can’t really change; they are named by a checksum of their content, so if you change the content then the torrent is invalid. archive.org punts on this problem and just says that sometimes they change the HTTP contents and so you need to use a fresh/up-to-date .torrent. Expedient, if not particularly clean.
Someone on Metafilter mentioned they registered the IDN http://www.ʬʬʬ.com (aka http://www.xn--5paaa.com). I thought that was cool, so I posted it to my usual social media thing. And it worked, correctly rendering everywhere! Here’s the flow of where that worked
Pasted the name into the Pinboard Chrome extension
Clicked on the link, redirecting through t.co and dlvr.it
In retrospect, I think why this works is IDNs aren’t really Unicode, they’re Punycode (that xn-5paaa thing). So most of the tools are treating that thing as ASCII but the browser happens to do the interpretation so it displays correctly. I confirmed that a bit by tweeting “this is a test http://www.ʬʬʬ.com”, which shows up on Twitter as “this is a test http://www.xn--5paaa.com” on both Twitter.com and the MacOS client. The link still works, but it looks wrong; Twitter should probably translate.
Back in 1993 I ran a Usenet server. Usenet’s mostly dead now but there’s a lively trade on Usenet still in pirated media, particularly pornography. The challenge is posting a 1 gigabyte .AVI file in a medium that’s limited to small text files. Here’s some of the tech in use these days:
nzb, a metadata file for downloading a large file spread across multiple posts. It serves a function analagous to .torrent files in BitTorrent; doesn’t contain any content, but describes content. There are Usenet search engines that return NZB files, you can then take one to download the actual release off your favourite NNTP server.
An NZB file is an XML document that describes a set of files which, when combined, make the release. Each file is described by a Usenet group and a list of segments. Each segment is a single Usenet message, named by Message ID. (Note: you can’t create the NZB file until after all the message parts have been uploaded).
rar, a compression format. It’s like zip, but tighter. Rar also does multipart well.
par2, an error correcting code format. Sort of the opposite of compression; transmit redundant data so a large archive can be rebuilt even if a few little pieces are missing.
uuencode, the historical encoding of binary data for Usenet. It’s a base 64 encoding with some very primitive file wrapper stuff. Still in use.
yEnc, the modern encoding of binary data for Usenet. It’s a full 8 bit encoding with escaping for a few characters (NULL, LF, CR, =). It also has a simple file wrapper and the ability to split a file amongst multiple messages. yEnc seems like MIME-lite, not sure what problem it solves that MIME can’t do.
sfv files are checksums on other files, used to verify your parts.
nfo files are text files (well, ansi graphics), typically a README from the release group.
I took a close look at a single NZB for a 300MB AVI file. Here’s what it contains:
15 files: an SFV, a PAR2, 6 .RAR parts, and 7 PAR2 pieces.
Each RAR part is 50 megs and consists of 201 segments of length 249600.
The encoding makes each RAR file 70 megs on the server. Last chunk is smaller, total RAR text size is 410MB.
The PAR2 chunks total another 40MB.
It’s roughly 450MB to post a 300MB AVI to Usenet, or 50% overhead.
Here’s some Windows software I found useful:
GrabIt, a free NNTP client that’s good at downloading large binaries. The client is free and will download any NZB you give it, but they really want you to pay $25/year to use their NZB search engine.
QuickPar takes a PAR fileset and assembles the single file out of its components.
YEnc Power Post seems to be what people posting to Usenet use, but I can’t find a canonical linkf or it I trust.
What I’m missing is a reliable, free NZB search engine. There’s a variety of for-pay options of varying levels of sleaziness. binsearch.info is promising.
Over on my main blog I just posted What’s a Chrome Web App? Long story short, it’s basically either a bookmark or a Chrome extension.
As part of my research I turned my aviation weather experiment into a Chrome Application. It took about 15 minutes, and most of that was resizing the icon. Here’s the mainfest.json file that makes it go:
The most interesting part of that is the “container: panel”. That tells Chrome to launch it without any navigation UI, so it looks like a standalone application. I could also be asking for extended privileges, like accessing geolocation or delivering notifications.
In a bit of a yak shaving exercise, I’m looking for a really simple blog post writer that’s more convenient than using wordpress.com’s web editor. Windows Live Writer works with wordpress.com, how good is its HTML?
$(data).find('option[value^="ruc"],option[value^=eta]').each(
function(i, e) {
var timeString = $(e).text();
var filename = $(e).attr("value");
r[timeString] = filename;
});
There’s no support for <pre> tags, but I found a plugin that does it. (Update: not suitable for wordpress.com, since it requires Javascript. Use wordpress.com’s builtin
tag instead) The ribbon UI is pretty bad and there’s a lot of junk between me and my thoughts. But it’s not terrible. Here’s a picture: