Recent submissions

Comment · 6 days ago
Fair point; to correct for this bias, ask n people to rate their experience with software reliability, then wait five years and do it again. The larger your n, the more you correct for individual variation (via the Law of Large Numbers)
Comment · 1 month ago
The argument is that developers have a duty not to arbitrarily delete data on your system that you may have relied on that was produced by another program just because they’d like to replace it with something in their own format.

I don’t care if you’re volunteering your time; if you build something whose implied purpose and success depends on other people using it, you emphatically have a duty to those people not to silently destroy stuff that was there before your software was.

Comment · 1 month ago
> Take all the numbers you have so far. Then, “spawn” a new number in every gap between the numbers you already have (crucially, “to the left of all” and “to the right of all” also count as “gaps”). Apply this step forevermore, and you’ll get surreal numbers.

I'm not a mathematician. Can someone explain to me how this approach gets you beyond the rational numbers?

Also, this was formatted as a blockquote, but as far as I can see, this blog post is the only instance of this formulation online.

Comment · 1 month ago
Comment · 8 months ago
+1. I come online to discover new things because there's less friction online than anywhere else. What's more, digging through a mountain of content to find something that resonates with you is a form of work in its own right.

Micropayments are friction, and if you put friction on top of the work of discovery, I will do something else with my time.

Comment · 9 months ago
I suspect all mammals depend on colonies of gut flora to survive. Humans are no exception.
Comment · 9 months ago
Like all the other commenters here, I also devised my own solution—but AFAICT, it's the only other solution that's automated!

Requirements:

  * macOS
  * Zoom
  * Home Assistant
  * A signal light/sign on a smart switch (like [0])
The Procedure:

First, create a script that checks whether you're currently on a Zoom call, and then turns your signal light on or off accordingly. Remember to chmod +x!

  #!/bin/sh

  if [ $(lsof -i 4UDP | grep zoom 2>/dev/null | wc -l) -gt 1 ]; then
    curl \
      -H "Authorization: Bearer ${HOME_ASSISTANT_ACCESS_TOKEN}" \
      -H "Content-Type: application/json" \
      -d '{"entity_id": "${ENTITY_ID}"}' \
      https://${HOME_ASSISTANT_DOMAIN}/api/services/switch/turn_on
  else
    curl \
      -H "Authorization: Bearer ${HOME_ASSISTANT_ACCESS_TOKEN}" \
      -H "Content-Type: application/json" \
      -d '{"entity_id": "${ENTITY_ID}"}' \
      https://${HOME_ASSISTANT_DOMAIN}/api/services/switch/turn_off
  fi
Then, create a LaunchAgent that monitors your Zoom Application Support directory for filesystem changes at ~/Library/LaunchAgents/local.${USER}.on-air.plist:

  <?xml version="1.0" encoding="UTF-8"?>
  <!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
  <plist version="1.0">
  <dict>
      <key>Label</key>
      <string>local.${USER}.on-air</string>
      <key>ProgramArguments</key>
      <array>
          <string>${PATH_TO_SCRIPT}</string>
      </array>
      <key>WatchPaths</key>
      <array>
          <string>/Users/${USER}/Library/Application Support/zoom.us/data</string>
      </array>
  </dict>
  </plist>
Finally, load 'er up:

  $ launchctl load ../Library/LaunchAgents/local.${USER}.on-air.plist
[0]:
https://www.amazon.com/dp/B09NJ8ZCHF
Comment · 10 months ago
Very informative, thanks
Comment · 10 months ago
Comment · 10 months ago
Comment · 10 months ago
I use koreader, including its OPDS server support! While I'm always grateful for all FOSS (and especially for well-written FOSS), koreader's OPDS UI still has a long way to go to approximate what I'm imagining. It's basically a file browser in List view, whereas a good digital book storefront would include gallery views with cover art, synopses and other metadata when clicking into any individual publication, search functionality, recommendation carousels, and more.
Comment · 10 months ago
My dream for an open e-book reader is to have some kind of graphical OPDS browser as a substitute for the commercial storefronts offered by Amazon/Rakuten/etc. If you could host and publish your own ebook library (using BookLore or something similar), then explore and fetch content off of it with the same UI polish as you can get from a corporate vendor (complete with cover art galleries, carousels for recent releases and recommendations and the like), I think that'd make e-readers so much more appealing and usable for diehard FOSS folks.
Comment · 1 year ago
Comment · 1 year ago
Can you elaborate on or cite a source as to why this practice is incorrect? The Nitecore D4 battery charger supports recharging of this and other sizes of Li-ion batteries (in addition to NiMH), so I am skeptical that it is inherently dangerous.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton