News for hackers. Stuff that matters.

eidorb

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.

Re:Australians to face age checks from search engines on Tuesday July 01, 2025 @08:52PM (#44439299)
Minor’s accounts must also revoke “sign out” functionality in case they see some titties.
Re:Breaking WebAuthn, FIDO2, and Forging Passkeys on Wednesday June 25, 2025 @04:59PM (#44381773)
See also:

webauthn in software https://github.com/bodik/soft-webauthn

Unofficial bank API client using software passkey: https://github.com/eidorb/ubank

Re:The Grug Brained Developer (2022) on Tuesday June 17, 2025 @05:38PM (#44304235)
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 ;)

Re:Begrudgingly Choosing CBOR over MessagePack on Sunday March 02, 2025 @06:58AM (#43229551)
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.

Re:OpenAI O3 breakthrough high score on ARC-AGI-PUB on Friday December 20, 2024 @08:33PM (#42476812)
Do what you enjoy. (This is easier said than done.) What else could you do, worry?
Yes. Infest the rats' nest.
Re:Decabit Decoder on Saturday November 30, 2024 @08:51PM (#42285511)
dang could change url to more hacky post in thread: https://x.com/oldmanscode/status/1862794071561126380
Re:Windows Sandbox on Sunday April 02, 2023 @06:03PM (#35415743)
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]
Re:Solving Algorithmic Problems in Python with Pytest (2019) on Saturday December 19, 2020 @07:09AM (#25476923)
I like using doctest in these simple cases - the tests go in the docstrings!

(Also, it’s part of the standard library.)

https://docs.python.org/3/library/doctest.html

Re:Operating Systems on Monday October 24, 2016 @12:09AM (#12776726)
First class support for swipe left/right gestures.
Re:You hear a voice in your head when you're reading, right? on Wednesday February 24, 2016 @03:35AM (#11165341)
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.
Re:Threading in Python on Monday March 04, 2013 @03:30AM (#5317282)
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...

Re:For a Bit of Colored Ribbon on Monday November 26, 2012 @06:19AM (#4831531)
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.
Re:Using python and k-means to find dominant colors in images on Thursday October 25, 2012 @04:27AM (#4696793)
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.