483 karma · joined June 3, 2023
Another approach I recently discovered is an old but beautiful Unix-style tool for renaming files: vidir - edit a directory in your text editor. It’s part of the moreutils suite [1].
You get the list of filenames in your editor – edit them as you like, save, exit, and it renames the files. It uses whatever editor is set in your $EDITOR env var, so it doesn’t have to be vi/vim.
You can also pipe in a list of files, e.g. `find . -type f | vidir -`, to edit just the files you want - and you can even change paths (add, rename, remove directories) in the editor to move files around easily.
To try it quickly on macOS: `brew install moreutils`
I use OpenIn for this [1] (it’s paid, but a one-time purchase at a very reasonable price). It works with URLs too, supports “browser profiles”, and lets you create logic using JavaScript (e.g., do X if the filename contains Y, or do Z if a modifier key is pressed).
It works really well and even has the ability to “fix” what external apps have changed. I plan to use this on new Macs to reconstruct my app associations and rules.
I do wish the rules were defined in plain text files — sometimes it’s hard to follow the logic through the UI and the way it handles things.
Another comment mentions Hammerspoon (which I used in the past — it was very nice). Maybe I can rebuild part of my current setup with it.
I found an issue asking for the same feature: https://github.com/Huachao/vscode-restclient/issues/1311
I’ve been burned a few times by these clients — difficult backups, changing licensing/commercial terms, hard to version — so now I prefer a few simple .http files that I can version in Git and easily read, even if the extension disappears.
Lol :D
https://docs.anthropic.com/en/docs/build-with-claude/prompt-...
(Not saying having them in the video for everyone is a good thing—I respect the fact that some people can find them annoying)
My idea is to add another endpoint to the API so that using Whisper or Siri, I can say, “Print Eggs and today’s date” or “Print Coffee in medium size.” I use something similar with an Alfred workflow, but voice commands would be nice in the kitchen.
I hate when someone talks about a project I’m interested in but doesn’t share any code. However, the entire thing is so ugly that I’ll never permit any other human being to see it. I’ll incorporate a Dead Man’s switch to delete everything or burn the Raspberry Pi, if needed.
Anyway, it’s all very simple once you realize that Fabric.js [2] handles 80% of the interface and functionalities on the frontend. Probably with Aider [3] and Claude Sonnet 3.5, you can make it during breakfast (or 7 years: I’m a dev, so I’m VERY bad at time estimations).
[1] https://gist.github.com/vsigler/98eafaf8cdf2374669e590328164...
On the homepage, there is a video [2] explaining more as well, and their paper [3].
1. https://www.rouast.com/vitallens/
1. https://github.com/Marsrocky/Awesome-WiFi-CSI-Sensing#vital-...
For example: maybe the ESP32 transmitting the bed weight exposes us to more danger than the radar sensor (that can also be placed very far from the bed)? Maybe with our smartphones charging on the nightstand too.
I’m not a big fan of fear-based, illogical decisions. But, again, I understand perfectly.
One thing to remember: devs and tech-savvy people skip everything and look directly at the terminal commands/code. It’s the reason you should never insert the “don’ts” in your repository readme too high on the page: they will be the first things we’ll cut and paste :D
This is not a criticism; it seems you did a wonderful job. Just the feedback of one of many dummy experimenters that you might lose on that page :)
The trigger can be “Double-click Main Menubar” and the action “Show / Hide Menu Bar Icons left of the BTT Icon.”
You can even add actions to hide them again after a certain number of seconds or minutes.
(It’s only a partial replication because Bartender can show you the additional icons in a secondary bar, if needed).
Here's the (very good!) preview documentation: https://deploy-preview-3678--esphome.netlify.app/components/...
This is such a game-changer for me that I'll be using the ESP32 over the ESP8266 for any projects involving displays from now on.
[1]: https://lvgl.io/
[2]: https://esphome.io/
[3]: ESPHome on HN yesterday (500+ points): https://news.ycombinator.com/item?id=40138228
I'm not sure if it's sad or not, but reading your comment made me realize I learned the same lesson by ordering from AliExpress.
"Images generated in ChatGPT and our API now include metadata using C2PA specifications.
This allows anyone (including social platforms and content distributors) to see that an image was generated by our products.
Read more in our help article here: https://help.openai.com/en/articles/8912793-c2pa-in-dall-e-3 "
- Streamlined and powerful web interface
- File-based structure: "won't kidnap your compose files"
- Web terminal & live logs
I'm trying it as an alternative to Portainer and I'm loving it. It seems to fit perfectly in my flow.
Code and more info: https://github.com/louislam/uptime-kuma
(Not affiliated, just a happy user)