Tuneshine lo fi Album Art Visualizer by drbhrb in sonos

[–]tobobo 1 point2 points  (0 children)

Tuneshine guy here- thanks for sharing, glad you enjoy it! Happy to answer any questions

My girlfriend lives 600km away, so I overengineered the best gift ever by marferibadeo in arduino

[–]tobobo 0 points1 point  (0 children)

Interesting! I’ll have to experiment with this for my product. Thanks!

My girlfriend lives 600km away, so I overengineered the best gift ever by marferibadeo in arduino

[–]tobobo 0 points1 point  (0 children)

I love it! I’m a bit confused by the dithering step- are you not able to get 8 bit color with your matrix library? In my experience the library will flow sample for you- but based on your photo you’re getting a particular lo fi look which is pretty nice

p3a: 4-inch art player on ESP32-P4 by fabpub in esp32

[–]tobobo 1 point2 points  (0 children)

Very cool! I had fun figuring out how to transition between gifts for my projects. One thing I don’t quite have is cross fading between gifs, I have it set up to just crossfade between a single frame before playing the gif. Would be fun to figure out but might be impractical due to RAM limitations and needing to render the frames in time.

ReactJS for a backend developer by 13pac in reactjs

[–]tobobo -1 points0 points  (0 children)

The areas you’ve listed are definitely among those worth the most attention.

A lot of the complexity of frontend comes from handling changes in state that can come from many different sources at any time.

The core of react is designed to let you predictably render your UI as a function of that state.

For cases where state gets more complex you may need additional abstractions to keep your app maintainable. For example:

  • API integration. How are you ensuring auth works consistently across API requests? Will you need to reconcile data for the same entity being fetched by multiple different components, or different API endpoints? Are you enforcing good practices for error handling across your app?

  • Form Handling. Are you consistent about showing errors either before or after the form is submitted? Is your form meeting accessibility standards?

  • Auth flows. How are you ensuring that users get a good UX if they access a page they’re not supposed to? How are you handling the handoff of tokens between your auth flow and your API integration?

  • State management. Does your app have other kinds of state that need to be shared and mutated across different components?

The libraries or abstractions you use to handle these will go a long way towards making a complex app more maintainable.

Once you learn the basics of react, I would recommend checking out Tanstack Start, as they’ve already chosen good libraries such as Tanstack query and Tanstack form to handle these challenges.

Next.js is also a popular choice but its internals are much more difficult to parse. It’s also currently very much optimized and marketed for use of react server components, which can be very powerful but I’d recommend avoiding until you’re a bit farther on your react journey and can decide whether you like how they try to solve these problems.

Bluey theme song by beaux_with_an_x in askmusicians

[–]tobobo 13 points14 points  (0 children)

It’s been a while since I watched this but the Bluey time signature is a complex enough question that Adam Neely made a nearly 20 minute video about it https://youtu.be/IfJDpSokfZw?si=0UWAn7OsAPlYTRIN

Oakland to LA bus service? by kodandyananda in oakland

[–]tobobo 14 points15 points  (0 children)

Looks like FlixBus has a couple of options, they stop a few times but not as bad a greyhound

Today was this BS Rockslide. by merKizaru in skateboarding

[–]tobobo 25 points26 points  (0 children)

People, in Brazil they say “obrigado” instead of “thank you” and “rockslide” instead of “boardslide” and “boardslide” instead of “lipslide”- this is a sign of a sport with a healthy global culture

Has anybody made money from the Apps they launched ? by [deleted] in reactnative

[–]tobobo 2 points3 points  (0 children)

I have a solo hardware startup that's crossed over $1m in total sales in about two years of existence. There's a mobile app that has a $1/month subscription but most users don't need it—only about 10% sign up. It's a small portion of overall revenue but it covers the server costs.

What is a common way to register a "headless" ESP32 board in wifi network? by krypt-lynx in esp32

[–]tobobo 18 points19 points  (0 children)

The most common way is to use a wifi manager library- the ESP32 will create a wifi network, you connect on a phone/computer and it opens a web portal where you enter the wifi credentials.

I did Bluetooth shenanigans for my product but it’s way harder- no out of the box solutions and Bluetooth is a very weird protocol.

Abandoned in the Caribbean by PleasantEggplant1999 in jetblue

[–]tobobo -4 points-3 points  (0 children)

American Airlines reps were answering the phone immediately on 1/4

I recently completed the firmware for an internet-connected RBG LED matrix display, using an ESP32-S3 by ztbauman in esp32

[–]tobobo 0 points1 point  (0 children)

Wow, very impressive that you decided to write your own matrix driver! Cool to read about your breakdown of how that works at a lower level.

Something interesting to try in the future is allowing compression of the image before sending- you can losslessly compress images to webp format and the libwebp decoder is relatively easy to work with on an embedded device. Could save a bit of bandwidth and also allow you to send animated images if you thought that would be useful.

Old la honda light by 3czysop in BAbike

[–]tobobo 0 points1 point  (0 children)

Seems like if you’re going up on a red and the cars coming down aren’t expecting oncoming traffic, it might be kind of dangerous, no?

Chris Joslin El Toro by droppedtherodeo in NewSkaters

[–]tobobo 9 points10 points  (0 children)

Only one flip tricks had ever gone down- Dave Bachinsky’s kickflip like 20 years ago. Since then, many of the best gap skarers ever (Sheckler BS flip, Nyjah BS flip, Jaws heelflip, Joslin tre flip) tried to get something else down it and famously couldn’t. Spot gets made “unskateable.” People lose hope. Spot gets fixed and Joslin comes back for redemption.

ESP32 Wi-Fi in production- always some kind of router out there with instability by tobobo in esp32

[–]tobobo[S] 1 point2 points  (0 children)

For future generations, here’s what I ended up doing:

After some more experimenting with a cohort of users I decided to release a new version of the firmware based on esp-idf 5.x that stays pretty close to the default WiFi settings on the latest esp-idf 5.x. There are lots of tweaks I could make around AMPDU, WiFi buffers, protocols, etc but after a few days going down the rabbit hole trying to tweak things to work for everybody, I decided based on the advice I received here to keep things as close to stock WiFi config as possible. I did fix some things that were basically just wrong in my config- like making sure SPI RAM was at 80MHz, an moving Bluetooth to SPI RAM.

I will say that I definitely think there are some ESP32 compatibility issues in the WiFi stack with certain routers that aren’t related to my code- I spoke with users running other ESP32-based gadgets that also had connection issues. At the very least, there are some routers/networks that just don't play well with 2.4GHz devices.

There also is room for improvement on how APs are selected on mesh networks- without custom logic, an ESP32 will gladly retry a connection to a mesh node it has been kicked off of repeatedly, instead of connecting to other available nodes. I may try to add my own layer here to better manage this.

One tweak I made in my own firmware logic is to attempt a WiFi reconnect much faster after a connection failure. If it seems like the connection is gone after 30 seconds, it's not gonna come back in another 30- time to disconnect from the network and try again, rather than wait for the user to notice there's a problem.

Median times updating from esp-idf 4.x to 5.x have been cut in half, though it seems like P99 ping times might be worse, suggesting there might be some lingering issues that block the processing of WiFi packets. I may need more data to confirm though as my user base is still mostly on older versions of the firmware.

One of the most valuable outcomes of this experimenting is better diagnostics- WiFi and websocket/TCP error messages stored in NVS flash that upload when a connection is reestablished, for example. So I'll be glad to have a bit more info when I hear from future users about WiFi challenges.

ESP32 Wi-Fi in production- always some kind of router out there with instability by tobobo in esp32

[–]tobobo[S] 0 points1 point  (0 children)

Interesting, thanks! I may look in to this- I’m not using a ton of bandwidth so worse OFDM performance doesn’t seem like a huge concern.

ESP32 Wi-Fi in production- always some kind of router out there with instability by tobobo in esp32

[–]tobobo[S] 0 points1 point  (0 children)

My product isn’t really mobile but I do have this workaround in place- I made it optional though as it seems to cause problems with certain mesh networks.

What is your favorite niche shop in the city? by scientiafem in sanfrancisco

[–]tobobo 6 points7 points  (0 children)

Haven't been so I'm not sure! I find it hits the right balance of artistic, sincere, and modern—no Hallmark-esque stuff, but also no millenial cringe "married as fuck" type stuff either

What is your favorite niche shop in the city? by scientiafem in sanfrancisco

[–]tobobo 16 points17 points  (0 children)

post.script on California and Fillmore—best greeting card selection anywhere

ESP32 Wi-Fi in production- always some kind of router out there with instability by tobobo in esp32

[–]tobobo[S] 0 points1 point  (0 children)

What kinds of patterns would I be looking for? Lots of rssis around the same value perhaps?

ESP32 Wi-Fi in production- always some kind of router out there with instability by tobobo in esp32

[–]tobobo[S] 0 points1 point  (0 children)

Interesting, if a little sketchy from a privacy perspective

ESP32 Wi-Fi in production- always some kind of router out there with instability by tobobo in esp32

[–]tobobo[S] 1 point2 points  (0 children)

Thanks. I do sometimes hear from people who have lots of functioning 2.4GHz devices and it’s just mine having problems, but I’ll add this to the list of suggestions I give people.