News for hackers. Stuff that matters.

AstroNoise58

Re:De-smarting the Marshall Uxbridge Bluetooth speaker on Saturday January 11, 2025 @01:42PM (#42668002)
Do not underestimate audio circuit tuning based on listening tests. Good ears and patience can substitute a lot of lab equipment dollars, especially for a hobbyist.
Re:De-smarting the Marshall Uxbridge Bluetooth speaker on Saturday January 11, 2025 @01:32PM (#42667909)
I assume you mean AD85050 (rather than AD8255). And yes, the last paragraph before "Going all-in" is about the idea of driving the I2S. But the I2C config sent to the ESMT chip would have had to be reverse-engineered as well...
Re:Plain Text Accounting (PTA) on Monday September 16, 2024 @12:51PM (#41558004)
There are tools to do just that, see for example banks2ledger: https://git.hq.sig7.se/banks2ledger.git
Re:Harder Drive: Hard drives we didn't want or need [video] on Wednesday April 13, 2022 @06:36AM (#31013053)
The escape velocity on the surface of the Earth is approx. 11.2 km/s, not 11000 km/s. Factor of 1000x error. But nice video :)
Re:Show HN: Monitor your el-cheapo UPS via SNMP on Sunday March 14, 2021 @02:25PM (#26457497)
Oh, ok, I guess that might be a bit confusing. :)

The comment documents the interpretation (by the UPS MIB) of possible return values. The same is true for the surrounding few functions (upsAutoRestart, upsBeeperStatus and upsOutputSource) that are similar in form and purpose. Obviously, there is no requirement that all possible output values are generated (exactly once or at all).

The function upsBatteryStatus returns 4 in two cases, because in both of those cases the battery is deemed 'depleted'. And it does not return 1 because there is no input case from upsc (that I know of, at least) where it would make sense to report the battery status as 'unknown'.

Re:Show HN: Monitor your el-cheapo UPS via SNMP on Sunday March 14, 2021 @08:10AM (#26454660)
Not sure what problem you see with that, care to elaborate and/or open an issue?
Re:Show HN: Monitor your el-cheapo UPS via SNMP on Sunday March 14, 2021 @05:43AM (#26453942)
I made this to serve my own need (which it does), to allow my Synology NAS a clean shutdown in case of a power cut. My UPS is not recognized if plugged into the NAS via USB, so it is plugged into a different (SBC) computer instead, which runs this.

Speaking of prior art, I am only aware of this one: https://github.com/luizluca/nut-snmpagent I am not a fan of Ruby and I only trust software I wrote (a.k.a.: I prefer my own bugs in critical pieces of my infra), so here it is.

Posting in case someone else finds it useful, but will answer more general questions (should they come up) as well.

Re:Decentralised content moderation on Thursday January 14, 2021 @08:39AM (#25776125)
I find it pretty interesting that Martin does not mention the kind of community member-driven up/downvote mechanism found on this site (and elsewhere) as an example of decentralised content moderation.

Edit: now I see Slashdot and Reddit mentioned at the end in the updates section (I don't remember seeing them on my first read, but that might just be me).

Re:XTerm: It's Better Than You Thought on Monday January 11, 2021 @03:27PM (#25736107)
There are various ways to take advantage of the GPU -- the so-called GPU-accelerated terminals contain bespoke OpenGL programs ("shaders") to do rendering on the GPU. Here's an interesting way of doing it: https://tomscii.sig7.se/2020/11/How-Zutty-works
Re:XTerm: It's Better Than You Thought on Monday January 11, 2021 @03:23PM (#25736014)
Most "modern" terminals are surprisingly buggy (for lack of a better word), that is, they do not conform to the VT100-series specs (and less documented, but well known quirks). Here's a look at some of them: https://tomscii.sig7.se/2020/12/A-totally-biased-comparison-...
Re:Ask HN: Show me your half baked project on Saturday January 09, 2021 @03:12PM (#25704222)
A very simple web application (aimed at being self-hosted) to collect videos for watching them (repeatedly) later: https://github.com/tomszilagyi/copycat

It invokes youtube-dl under the hood, but the user can add videos (to be downloaded) via the browser. It is quite usable as is, but pretty slim on features. Maybe someone here wants to take it further.