HN user

oritron

350 karma

OriBarbut dot com

Posts2
Comments36
View on HN
ESP32-S31 2 months ago

I haven't benchmarked Bluetooth on these devices but have you looked at your uncompressed audio rates over WiFi? OP was asking about Bluetooth at high quality and low latency, which I don't think is a possible combo, hence suggesting another ESP32 if wireless is necessary. If it isn't, a wire difficult to beat.

ESP-NOW is another option to look at, which of course won't work to transmit to a phone directly but can do a point-to-point or multicast transmission between ESP32 devices. I've used it in some projects but not for audio, I couldn't tell you how much of a buffer would be needed to make that work smoothly.

Another option for OP, if the audio is being synthesized then the parameters could be transmitted rather than the audio samples themselves and do synthesizing on the receiving device.

ESP32-S31 2 months ago

Low latency in Bluetooth audio comes down to codecs and the best are proprietary.

If you want to really cut down latency and need wireless with hardware like this, you could use a second ESP32 and send your own bitstream between them.

ESP32-S31 2 months ago

The specs look great, will see how long it takes to get these as WROOM modules or on little dev boards; my two form factors of choice for Espressif devices. I'm also curious about the pricing, so far they've impressed me with how much more you get in successive generations at a similar price.

If you're excited about the (relatively) speedy RISC-V cores and SIMD, look at the P4 which is available now. It has a slightly faster clock but no wireless: https://products.espressif.com/#/product-comparison?names=ES...

There's some cool work out there using the dsp functionality and built in image handling to crunch a lot of pixel data, which should work similarly on the S31: https://www.reddit.com/r/WLED/comments/1ry2jd7/wledmmp4_with...

Nordic Semi, or maybe ST Micro. I've got an STM32WB on my bench at the moment with sensitive coulomb counting and it looks very promising but without all those radios. Of course with all those radios (ie, if you need LoRa on a watch... which is a design decision I'm also skeptical of) then Nordic has a good track record.

I like a good smart watch and I appreciate open source, but an ESP32 isn't a great pick when low power consumption is important and the device is going to be communicating regularly. I'm surprised LILYGO went that direction in a watch form factor.

My recollection is that a rocket design was scaled up from one that worked, by people who didn't consider how an o-ring should be loaded in order to function properly. They inadvertently changed the design rather than simply scale it. I don't think Feynman got this wrong either. His demo was because the justifications for flight were based on the fact that failure had a temperature correlation, and they had a model representing how damaged the o-rings would be.

The o-ring failure was a measurable consequence of the joint design failure. The data behind the model didn't go down to temperatures as low as that at Challenger's launch date.

For more inappropriate extrapolation to justify a decision: the data for the heat shield tile loss model was based on much less damage than sustained by Columbia (3 orders of magnitude IIRC).

Now they are looking at the same style of fallacy and don't even have a model based on damage sustained in flights.

Another parallel I haven't seen discussed here yet, though I haven't read all comments: I recall Feynman feeling like he was on the investigation panel as a prop, that the intention of the investigation was to clear NASA of any wrongdoing. They used a model, considered risks, etc. Feynman recognized the need for a clear and powerful visual to cut through an information dump and pull it to front page news. The invitation of Camarda to a presentation with a pre-determined conclusion has the same feeling. I don't know what Camarda can do to put it on a (non-HN) front page today.

That's an eye catching stat. What is the impact of starlink satellites on the number, ie what if you drop them from both numerator and denominator?

I haven't kept up with Artemis development but I've read extensively about Challenger and Columbia. These two parts of the article stood out to me:

Moon-to-Mars Deputy Administrator Amit Kshatriya said: “it was very small localized areas. Interestingly, it would be much easier for us to analyze if we had larger chunks and it was more defined”. A Lockheed Martin representative on the same call added that "there was a healthy margin remaining of that virgin Avcoat. So it wasn’t like there were large, large chunks.”

Followed by:

The Avcoat material is not designed to come out in chunks. It is supposed to char and flake off smoothly, maintaining the overall contours of the heat shield.

This is echoes both Shuttle incidents. Challenger: no gasses were supposed to make it past the o-rings no matter what, but when it became clear that gasses were escaping and the o-rings were being damaged, there was a push to suggest that it's an acceptable level.

There was a similar situation with heat shield damage and Columbia.

In both cases some models were used to justify the decision, with wild extrapolations and fundamentally, a design that wasn't expected to fail in that mode /at all/.

I know the points that astronauts make about the importance of manned space exploration, but I agree with this author that it seems to make sense to run this as an unmanned mission, and probably test the new heat shield which will replace the Artemis II design in an unmanned re-entry as well.

I haven't found any killer use case for it yet

You might dig into an operations research textbook, there are a number of problems solved with linear programming techniques which might make sense for your interface... In fact might be more intuitive for people that way and with commercial potential.

Ah sorry, I quickly edited that out of my comment! I had the video playing while posting, they were talking about a precursor project for embedded Flutter which this in some ways builds on, /that/ is running on the new RAV4.

One of the example uses given in the talk is 3D tutorials, which I could imagine being handy. Not sure I'd want to click on the car parts for it but with the correct affordances I could imagine a potentially useful interface.

Thanks for pointing it out. I actually use a plugin which rewrites search queries for custom "bangs" which I switched to after waiting for others to be fixed. I didn't realize that the same exists built in.

A surprising fact I /do/ know about DDG: they don't update bang searches anymore, which was one of my favorite differentiators. This feature adds a lot of utility to DDG as a browser default search engine.

You can search "!w Gabriel Weinberg" and it will open the Wikipedia article because of the leading exclamation mark and w. If a site changes their search url, you can submit the precise new pattern they should use for a redirect. If a new service pops up, you can use the same form to request a new search prefix. These form submissions could give someone at DDG an easy interface to verify quickly and approve or reject them.

These form submissions get ignored and have been for years at this point.

There are also Tuya zigbee devices and people have hacked local control of Tuya wifi bulbs to varying degrees. My best stuff is IKEA: their battery powered devices use AAA so I can throw in rechargeable cells and there isn't a ton of waste in CR2032s, and they make the only inexpensive Zigbee buttons I've seen that don't include a double-click (Rodret, not the very similar Somrig). The benefit there is commands are nearly instantaneous, rather than waiting for the maximum double click time before deciding it's a single click. The RGB bulbs don't have a lot of brightness to them in color modes, I wonder if that will change with the new products.

I've got a few locally-controlled wifi bulbs that I bought before seriously getting into home automation. They are Tuya white-label, I'm using the tuya-local integration. Since I can't do something like a zigbee `bind` they are fully network dependent, when they go I'll replace them with IKEA bulbs.

I agree Home Assistant still needs a nerd for setup and tinkering but the default dashboard is impressive and all of the functionality is outstanding.

Most of my current-gen IKEA switches will pop out from their steel cradles with normal button presses, because of the curved back of the switch and the curved cradle it connects to magnetically. They've thrown in die-cut double sided adhesive tissue in what I assume was an afterthought, which doesn't peel from one backer sheet in any of the packages I've opened... Maybe it's humidity or temperature sensitive? After a couple of drops on the ground, some internal plastic cracks and tactile response is lost. I ended up using my own double sided tape but it's not a good user experience. I would bet the new switches don't have a curved back, certainly they've had a number of returns because of this aesthetic choice.

I don't care at all about Thread vs Zigbee (this press release doesn't actually say Thread), beyond the very basics in smart home things you want a computer involved and at that point the way it communicates stops being a big concern. I strongly recommend Home Assistant on a low spec mini pc, beats a Raspberry Pi in ~every metric for this use case.

I've been burned by trusting Matter to mean broad compatability; my Aqara lock doesn't indicate how the door was unlocked over Matter despite showing up in their app, and this is after having to buy their Zigbee bridge because it won't connect to Zigbee devices from other brands. Even with Matter, home automation still needs a geek.

You've gotta count the cost of your time as negative for that to be true. The author built multiple ovens from scratch here, and every cooked meal could be done sooner if the temperature were higher.

Apple M5 chip 9 months ago

Mail deleted a large number of messages but not all of them. It was stored in files (which were smaller on disk, so not an indexing issue) and recovery required loading snapshots from Time Machine, converting to a format Thunderbird could import and transitioning to that.

Apple M5 chip 9 months ago

I haven't heard about surprise-your-files-are-deleted bugs in core programs of other systems. That's a bigger show-stopper in my opinion.

To compare Apples to apples, you'd have to look at a Framework computer and agree that wifi is going to work out of the box... but here I'm meeting you on a much weaker argument: "Apple's software basics are /not/ rock solid, but other platforms have issues too"

Apple M5 chip 9 months ago

the basics are still rock solid

A friend of mine lost a ton of messages when upgrading the OS (and therefore Mail). A number of others were affected by the same issue. There have been show-stopper bugs in the core functionality of Photos as well. I don't get the impression that the basics are Apple's focus with respect to software.

I watched a video of the speed test a few days ago and it looked like the BYD car was still accelerating when the top speed was reached, such that it could have gone faster than the record they were aiming for—there was a speed curve and it wasn't plateauing. Of course there are lots of possible reasons why the car couldn't have managed a higher speed, but I wonder if it's like incredibly tall skyscrapers having secretly validated a taller version in the wind tunnel so they can change plans if competition catches up during construction.

We have more sales on Linux than we do Mac

That's interesting, what's your product? There are a few pieces of software on Macs that I would love to pay for on Linux but the option isn't there.

That's a very good point to keep in mind. I've seen that go wrong!

There are lots of connectors out there where the pins never short. The tricky thing is finding ones that can be plugged and unplugged often, while still being small. I've misused USB B connectors for this purpose; it's not common enough for someone to have the wrong cable to plug in, yet very easy to solder and to get the parts. There are also some circular connectors (M5, M6) where the connector on the device is decently small and the bulk tends to be on the cable side.

With a small crimper there are even more compact options which still handle many mating cycles, like Samtec's various Tiger Eye product lines.

I found Webex to be quite a lot worse than Zoom in my limited experience. I attended a few IEEE presentations hosted on the platform. Audio didn't connect smoothly and needed a few restarts. The talk was constantly interrupted by a chiming noise whenever a person joined or left the meeting. I remember finding a configuration setting for this but the hosts didn't see my message (another bad feature), as this was a meeting-wide setting rather than a client one. Even if it were configurable per-user, that chime turned on is an unexpected and intrusive default setting.

Beyond that, I couldn't see the presented content in full-screen. There was a lot of junk in the form of perpetual UI elements for the "fullscreen mode".

These seemed like pretty fundamental misses for the platform to make.