I used FFI in the past (C header) but sherpa-onnx is available on pub.dev these days. Look for "sherpa_onnx".
You can also point sherpa_onnx in your pubspec.yaml file to a local dir (after cloning the repo somewhere on your file system) or point to a specific git commit hash, and don't forget to specify the path because its not the root of the repo. Here's a link to the dir of the flutter package https://github.com/k2-fsa/sherpa-onnx/tree/master/flutter.
Disagreed. To get the best of both worlds I run smart switches that control the smart lights. E.g. install the Philips Hue Wall Switch Module (Zigbee) and make an automation in HomeAssistant to turn off the corresponding light(s).
Now you benefit from both, like being able to make the lights fade off/on.
Also, in case it doesn’t always respond instantly, you should be able to bind the Zigbee devices directly to each other so that it doesn’t need to travel to the Zigbee coordinator (or mesh?) first. Haven’t had the need for this myself though.
I remember reading something about the Costco hot dog story, quite funny IMO, here's what I just found from 2018:
"I came to (Jim Sinegal) once and I said, ‘Jim, we can’t sell this hot dog for a buck fifty. We are losing our rear ends.’ And he said, ‘If you raise the effing hot dog, I will kill you. Figure it out.’ That’s all I really needed. By the way, if you raised (the price) to $1.75, it would not be that big of a deal. People would still buy (it). But it’s the mindset that when you think of Costco, you think of the $1.50 hot dog (and soda)." [1].
Turns out Costco has a new CEO this year, and again the hot dog topic came to light apparently, lol. This article is from 2024:
"'To clear up some recent media speculation, I also want to confirm the $1.50 hot dog price is safe,' Millerchip said." [2].
Think about. Imagine they sell 100 hot dogs per hour. A $0.25 difference means $25/hr in a store doing many orders of magnitude more revenue each hour.
It’s nothing. The way they play it up in the media gets a lot of attention and builds goodwill, but it’s entirely meaningless to their bottom line.
It’s amazing that people eat these stories up, though. I’ve heard so many people repeating this story as if it’s some amazing secret.
When the price does increase, you'll know that there's a new CEO who's lost all connection to reality (in the same way that always happens when you put a person in front of an abstraction without obvious leaks).
Yeah, it's a one-off install. In my case, I did Proxmox[1] for a while with VM's and LXC's, with some of my VM's and unprivileged LXC's running Docker (compose) too because it made the installation of said software easier. It's great, but I'm moving over to switch to Debian with Incus[2] instead of Proxmox. Just for fun mostly.
This is exactly an issue I ran into, though I never bothered to look for a solution. Found your post just by casually browsing HN and it solved my problem! Great work, and nice design too. Reminds me of GH’s design.
I've been wondering about him, and I occasionally checked his GH account to find any recent activity from his GH account, but none. RIP tteck. I hope the pain was minimal.
I’m not a game dev but I have occasionally made small throw-away projects with UE/Unity/GD. When you’d make a game for web on these, I’d assume they’ll be rendered as a canvas.
That’s why I am thinking that custom fonts in a browser game are nothing more than just pixels to draw for the browser.
I’m doing pretty much anything with Flutter now, even trying to build 2D games with it and unless I’m mistaken: it all renders on a canvas, which has its pros and cons, but in your case it would’ve been a non-issue, or did I misunderstand?
WA here, hehe. Congrats!