Tweezers.
When you realize how many wars were averted because of them.
Tweezers.
When you realize how many wars were averted because of them.
https://www.espressif.com/en/news/ESP32-S3-BOX-3
There’s a model with a more expensive dock, or one without. The one without worked fine. But it had to be the Box 3 not Box 2. It worked pretty well and you could create custom images to indicate whether it was listening, thinking, etc.
Instructions here: https://www.home-assistant.io/voice_control/s3_box_voice_assistant/
The box isn’t powerful enough to run an LLM itself. It’s just good enough as an audio conduit. You can either use their cloud integration with ChatGPT, or now, Anthropic Claude. But if you had a powerful Home Assistant server, say an Nvidia Jetson or a PC with a beefy Nvidia GPU, you could run local models like Llama and have better privacy.
This is from earlier this year. I imagine they’ve advanced more since then.
Their LLM integration is super cool. I messed with it for a previous job. Way better than Alexa or Google Home.
One Docker env variable and one line of code. Not a heavy lift, really. And next time I shell into the container I don’t need to remind everyone to activate the venv.
Creating a venv in Docker just for the hell of it is like creating a symlink to something that never changes or moves.
I can think of only two reasons to have a venv inside a container:
If you’re running third-party services inside a container, pinned to different Python versions.
If you do local development without docker and scripts that have to activate the venv from inside the script. If you move the scripts inside the container, now you don’t have a venv. But then it’s easy to just check an environment variable and skip, if inside Docker.
For most applications, it seems like an unnecessary extra step.
Installed RabbitMQ for use in Python Celery (for task queue and crontab). Was pleasantly surprised it also offered MQTT support.
Was originally planning on using a third-party, commercial combo websocket/push notification service. But between RabbitMQ/MQTT with websockets and Firebase Cloud Messaging, I’m getting all of it: queuing, MQTT pubsub, and cross-platform push, all for free. 🎉
It all runs nicely in Docker and when time to deploy and scale, trust RabbitMQ more since it has solid cluster support.
Since nobody’s brought it up: MQTT.
It got pigeonholed into IoT world, but it’s a pretty decent event pubsub system. It has lots lf security/encryption options, plus a websocket layer, so you can use it anywhere from devices, to mobile, to web.
As of late last year, RabbitMQ started suporting it as a supported server add-on, so it’s easy to use it to create scalable, event-based systems, including for multiuser games.
That looks great. A lot of places just plonk the Chashu in there. Toasting it is extra bonus.
The impression I had was thst subinterpreters could be launched from the python side. This writeup implies you need to write a C extension to make use of it.
Will have to do more research…
Nice writeup! Be good if, at some point, they covered how threading and multiprocessing impacts opcode processing, especially when it comes to those globals.
Looks great!
Also fan of Kikurage mushrooms and black garlic oil.
Cleaning up the kitchen every night.
Used to leave dishes in the sink during college, then do them when it got full. Got a side job as a bartender, where you had to clean up every surface after the last shift, ready for people the next day. Applied it to home. Has stuck ever since.
Fortunately, married a woman who had the same habits. We’ve never gone to bed with a dirty kitchen, even after a group gathering.
Tried bash, Make, and awk/sed. All hit brick walls. Finally landed on pyinvoke. Two dependencies to install on any new machine. Never had problems. Also, easy to debug and modify as projects evolve.
Funny story: when SO first started, started answering questions in domains I had experience in. The gamification was fun. After a year, questions got repetitive, so stopped.
A few years later. Googling a tech question. Top answer. Checked. Looks good.
Scroll down. It’s my own answer from way back when.
First time I felt old.
If starting out: on web, Python and Typescript will take you far. On mobile, Swift and Kotlin. On Windows/Mac, C# and Swift. You’re on your own for Linux desktop.
Excellent domain name!
Thanks. After your note I went back and re-checked with my friend. I mixed up his comments with those from another friend with a different setup. Updated my original comment.
RemindMe! 3y “reply to this thread”.