HN user

fredcy

102 karma
Posts1
Comments28
View on HN

Our PCI-compliance audit dings us for not disabling autocomplete on the login form fields. That's not the same as disabling paste, but heading that direction.

For personal use I just abandon any site that won't let me use my password manager (Bitwarden).

This is much like the Elm Architecture [1], a pattern that I enjoy using. That structure gives me problems though when I want to speed things up by caching frequent calculations and lookups in the View functions. In Elm, at least, this is only possible by keeping the cache explicitly in the Model and maintaining it in the Update function. So it feels like considerations specific to generating a particular view end up explicitly in the more general update of the application-global Model. And for the Update to avoid doing lots of such view-value computations not needed by the current view, the Update function has to know a lot about view-only state.

[1] https://guide.elm-lang.org/architecture/

Elm, with Typescript and Vite.

Working with Elm code is satisfying to me. It's generally easy to revisit code I last worked with months ago and get immediately fluent with it again. The "Elm Architecture" (model / update / view) with all external interaction done over "ports" is so clean (albeit with boilerplate). Integrating with JS libraries has to be done over ports (async one-way messaging) but it works well enough in practice. Vite provides a decent dev/build toolchain with hot-reloading of all Elm, JS, and CSS code. The Elm framework is very opinionated and has stopped evolving, but it's mostly a joy to work with.

Kind of okay. I came down with COVID on May 10. Took Paxlovid (I'm 64) and felt recovered in a few days (but I continued the 5 days of Paxlovid, of course). Then on May 23 a bad cough started up and it's been bothering me ever since. My family doc could not see me so I went to a clinic in a CVS where she diagnosed bronchitis and said it's likely a lingering effect of the COVID. Damn. And now I read this in Nature: "Long COVID risk falls only slightly after vaccination, huge study shows", <https://www.nature.com/articles/d41586-022-01453-0>

Winnebiko 5 years ago

His "Behemoth" bike had such low gearing for hill-climbing that, as I recall it, the bike had two retractable small wheels, one on each side, that worked like training-wheels to stabilize the bike at very low speeds.

I have a Herman Miller Aeron that works great, bought at a reasonable price off Craigslist.

Along with the Aeron I often use an inflatable cushion, the "Gymnic Disc 'o' Sit". Sitting on it keeps me alert and greatly improves my sitting posture.

I save each OTP config on three separate Yubikeys using Yubico Authenticator. I also screen-shot the QR code and save that and any recovery codes to a veracrypt volume.

If the site allows for UTF I register each key for that too, but only if I can also use OTP since I can't yet use UTF with my android phone.

Damn, this is disappointing. I've long preferred hg over git but developer preference has clearly moved to favor git. I like using mercurial queues for managing local config changes but I guess I'll have to get better using `git stash`. I hope bitbucket provides some tools to easily convert repos from hg to git. Frankly, though, I'll likely just move from bitbucket now.

I've been using Riot daily for several years, and this 1.0 version seems to work really well. Like any major UI change it's going to take me a while to get used to the slightly different mechanics. Overall it looks more modern than the prior versions.

Matt Levine is a treasure. His Money Stuff column/email has taught me, a programmer not versed in fintech, a lot about the intricacies of the financial world. In particular, his clearheaded view of blockchain tech is useful counterpoint to the hype.

I've been playing JQBX over Sonos as Jason described. It works pretty well. It does seem that the app player is needed for this as the web player will play one song over Sonos and then revert to playing on the device where the web app is running.

With Matrix, switching to another server is painful because one's identity is tied to the particular server. I've done such a move and it requires rejoining all rooms and re-establishing any elevated privileges on each. Also, other people will still seen any People (one-to-one / direct message) rooms associated with the old account and may try to use them.

Kindle MatchBook 13 years ago

I would use this with cookbooks. I like to refer to the printed copy in the kitchen but while shopping I could check ingredient lists from a reader.

I've been experimenting with web2py over the last week and I like it. Simple web apps are easy to create with very little work. I'm not keen on through-the-web code development but that's not essential to web2py -- everything can be edited directly as simple files. The code of the 'gluon' library seems fine to me. It's a very compact style of coding that (IMO) could use a few more comments, but it's at least as good as what I've seen in Zope and Plone. (Of course, web2py has not been around long enough to accumulate the kind of cruft that happens in more aged software). The documentation is pretty good, particularly in its examples and tutorials. The new "manual" is good. The one thing is miss is an API manual such as can be found for the PHP and Python libraries.