Another use case is applying small patches to a large function or method. Overriding would mean copy pasting largely similar code. It’s a bit ugly.
https://github.com/eidorb/ubank/blob/master/soft_webauthn_pa...
HN user
Another use case is applying small patches to a large function or method. Overriding would mean copy pasting largely similar code. It’s a bit ugly.
https://github.com/eidorb/ubank/blob/master/soft_webauthn_pa...
I've been using a transformer & resistor voltage divider direct into audio in to decode Decabit signals (a form of ripple control aka audio frequency load control): https://web.archive.org/web/20140127003936/http://www.anime-...
I'll test if this antenna methods works as an alternative. I'd feel more comfortable sharing with others if mains voltages are eliminated entirely.
Minor’s accounts must also revoke “sign out” functionality in case they see some titties.
See also:
webauthn in software https://github.com/bodik/soft-webauthn
Unofficial bank API client using software passkey: https://github.com/eidorb/ubank
Massive grug.
I'm about 1/3 through https://hypermedia.systems. It feels right intuitively. But I kinda left off about 10 years ago with Flask and maybe a JS chart lib. Great times!
I can see hypermedia future -- it's lightweight iframes all the way down ;)
Yibico's python-fido2 library (https://github.com/Yubico/python-fido2) contains (a minimal) CBOR implementation too: https://developers.yubico.com/python-fido2/API_Documentation...
I found it wouldn't encode `None`s, but didn't dig at all, just worked around it.
Star count would place it about midway in the list.
Do what you enjoy. (This is easier said than done.) What else could you do, worry?
Yes. Infest the rats' nest.
dang could change url to more hacky post in thread: https://x.com/oldmanscode/status/1862794071561126380
This is useful on the USB support front: https://learn.microsoft.com/en-us/windows/wsl/connect-usb
I may have gone with the following. Yes, some characters are repeated, but I'm not playing code golf.
stripped_lines = (line.strip() for line in buffer.readlines())
non_empty_stripped_lines = [line for line in stripped_lines if stripped_lines]I like using doctest in these simple cases - the tests go in the docstrings!
(Also, it’s part of the standard library.)
First class support for swipe left/right gestures.
Ah-ha! This was a great insight for me. I can't not subvocalise when reading. But I too certainly don't subvocalise when reading code. Now I know what it's like.
I've implemented something similar using Eli Bendersky's example [1] as a guide. His example adds a stop event. I pass my worker thread lambdas, so that arbitrary tasks can be carried out.
[1] http://eli.thegreenplace.net/2011/12/27/python-threads-commu...
The network is built to cope with a peak demand that only occurs for a relatively small amount of time. By reducing the peak demand they can delay the capital expenditure of upgrading the network a number of years.
I love subtle flairs like this. It's something that a lot of people would only notice if removed and I think that's an indicator of good design.
I've been living in a hotel for a few weeks. The internet is just a little expensive - $20 for 50 MB or 3 hours, whichever comes first.
I had some time on my hands and got TCP over DNS working. It's obviously quite slow, but certainly useable. A fun exercise anyway.
I guess you could use a series arrangement to get a binary encoding.