Better HN
topnewbestaskshowjobs
Log inSign up

unanimous

22 karma · joined Jul 16, 2019 (7y ago) · 17 submissions

Submissions

comment 1mo ago · link · parent

This is nice to see, and it looks like this release (and maybe some earlier ones?) includes a small order of operations bug fix that hadn't been released for a long time. 1/2(-9.8) now equals -4.9 rather than -0.05102040816326530612. I like how the expression also renders with a multiplication symbol to clarify: 1 / 2 × (−9.8)

comment 2mo ago · link · parent

While I haven't tested for that myself, the script should keep pretty much everything including image metadata. I just made a small change so that it also keeps extended attributes in case any image-related metadata is there.

The script currently requires changing one or two folder paths at the top (more details in the script).

comment 2mo ago · link · parent

When I was using Ubuntu, I would plug my phone into my laptop and run this small script: https://gist.github.com/wheelercj/8cce112fc8ee55fd4858847a52...

It's mainly just rsync. When the phone was plugged in, the photos were accessible at a path like "/run/user/1000/gvfs/gphoto2:host=Apple_Inc._iPhone_abc123/".

Now I use Time Machine, but I still need to check whether it includes iCloud photos.

comment 4mo ago · link · parent

For anyone trying this with a Pi older than the Pi 4, you might still need an SD card with one file on it: https://www.raspberrypi.com/documentation/computers/raspberr...

comment 8mo ago · link · parent

Out of curiosity, I tried running `~True` in a Python 3.14.2 repl and got this output (the -2 is part of the output):

>>> ~True

<python-input-1>:1: DeprecationWarning: Bitwise inversion '~' on bool is deprecated and will be removed in Python 3.16. This returns the bitwise inversion of the underlying int object and is usually not what you expect from negating a bool. Use the 'not' operator for boolean negation or ~int(x) if you really want the bitwise inversion of the underlying int.

-2

comment 1y ago · link · parent

Many email service providers give you the option to fetch all emails from a different service not just as a one-time thing, but ongoing. I'm not sure how that could be set up when running your own email server, but I bet there's a way. Even if there isn't, you can set up automatic forwarding in Gmail.

There's a chance forwarding is better than fetching. I once had a Gmail account stolen, and account recovery was locked for some reason, but email forwarding had been set up and I was still able to get all emails the address received.

In case it's relevant, I happen to use Fastmail now and their "mail fetch" feature involves imap.

comment 1y ago · link · parent

True, that meaning seems to be typical now. The opposite is the original meaning though.

> Scores of authors use the phrase “steep learning curve” or “sharp learning curve” in reference to a skill that is difficult to master. . . . Nevertheless, from the standpoint of learning theory, these and other authors have it backward, because a steep learning curve, i.e., a curve with a large positive slope, is associated with a skill that is acquired easily and rapidly (Hopper et al., 2007).

Source: Fifty psychological and psychiatric terms to avoid: a list of inaccurate, misleading, misused, ambiguous, and logically confused words and phrases (https://www.frontiersin.org/journals/psychology/articles/10....)

comment 1y ago · link · parent

While writing this, I mostly focused on what I like about Restic's design that Duplicati doesn't have, but they're both great. Duplicati is definitely easier to use for anyone not familiar with command line tools. Feedback is welcome!

9.

Restic vs. Duplicati(chriswheeler.dev ↗)

1 points · by unanimous · 1y ago · 1 comment

comment 1y ago · link · parent

They might not have much of a choice but to shut down all .io domains. This video explains a little: https://www.youtube.com/watch?v=1yJ6AZsUlpc

comment 2y ago · link · parent

Zoom Earth is similar to Windy.com

https://zoom.earth/

comment 2y ago · link · parent

Banks are for-profit and credit unions are not-for-profit. Banks will do whatever they think they can get away with to increase their profits, which affects every interaction you have with them. I've had accounts at Citibank and now multiple credit unions, and I regret ever having had accounts at Citibank. They were constantly making things difficult in new ways. I don't know how the bureaucracy compares, but how they treat customers is definitely different.

comment 2y ago · link · parent

I've tried creating a PDF Canarytoken [0] and opening it in a few applications not including Adobe Acrobat. None of them triggered the canary.

[0]: https://canarytokens.org/nest/

comment 2y ago · link · parent

You can edit PDF forms by opening the files in Firefox, but maybe that's not exactly what you mean. I'm not sure about other browsers.

comment 3y ago · link · parent

  Location: Los Angeles, CA
  Remote: open to remote, in-person, and hybrid
  Willing to relocate: yes
  Technologies: Python, C++, JavaScript, C, Go, C#, Java, SQL, HTML/CSS, Git, Linux
  Résumé/CV: chriswheeler.dev/resume.pdf
  Email: email@chriswheeler.dev

comment 4y ago · link · parent

You might not get a notification when you get into the beta. That's what happened to me and someone else who told me about it. Check the DuckDuckGo app every once in a while to see if you're in.

comment 4y ago · link · parent

SpeedCrunch looks very promising, and I've used it a lot in the past. I'm sad to see that they still haven't released the order of operations bug fix [0] they made in 2017.

SpeedCrunch does some operations in an order most people wouldn't expect. For example, SpeedCrunch says 1/2(-9.8) = -0.05102040816326530612

[0] - https://bitbucket.org/heldercorreia/speedcrunch/commits/ac49...