HN user

ga_to

51 karma
Posts1
Comments23
View on HN
Deno Desktop 1 month ago

Dioxus seems to be 'just' another way to generate HTML on the desktop. Electron but Rust? Is there a legitimate upside there?

Sure could, but then you would need to do the thing AND think about doing the triggering and then find the trigger button on your watch. This way you wouldn't have to think about it, because it's automated. Triggering something manually also doesn't really count as 'automation' I would say.

In my (admittedly limited) experience, it does run, even with quite comparable performance, but getting a wheel to interact with the game has been a bit challenging. But this could be resolved with a custom driver for my specific hardware. Using the community standard mod manager seems to resolve the UI jank by completely bypassing it.

Disabling the physical light switch should usually only come after setting up a different way of controlling the light by hand, without a phone.

Most likely there is some sort of motion or presence sensor that turns on the lights which then turn themselves off after some time or no more presence is detected. There are also small wireless switches that could be used in place of the actual wall switch.

I have done so in my apartment for example. Since the bedroom light switch is for some reason outside of the room I taped it down and put a wireless switch in a more reasonable spot. Another example is the hallway light, which only turns on by motion sensing when the sun is starting to go down.

I usually don't comment because I am fine with reading stuff on here during my breaks and don't engage in discussions. Your poo-pooing of a hobby project that has no ambitions of being enterprise grade really rubbed me the wrong way though. If it brings you joy to call me a bot, go ahead though.

But it's _not_ c2rust. It started that way but this approach was abandoned in favor of a manual port. From the comment you replied to: > The decision to throw it all away and do a manual port, while surely gut-wrenching, was the right call. You just can't automatically translate the intent of the original C code into safe, idiomatic Rust.

From the second paragraph of TFA: > I threw away all of the C2Rust output and decided I would translate all of the files into Rust manually from C.

Please at least read the source before shit-talking it.

IIRC Microsoft does similar things for the VSCode changelogs to highlight that all features work across all platform and colorschemes.

I would bet it's not. Based on the same starting point (phone in pocket) how many steps are there actually?

UI Option:

- take out phone

- unlock phone

- leave current app

- find and open control app

- find icon to toggle action

- lock phone

- put phone back in pocket

NFC option:

- take phone out of pocket

- bump phone against NFC sticker

- find NFC sweet spot

- put phone back in pocket

If you already have a USB A to Lightning cable you can keep using this, true. But the new cable that is included just does not fit. An android convert who might have a dozen USB A chargers but zero USB A to Lightning cables would either need such a cable, which is not in the box, or a new charger, which has a USB C socket on it to use the cable from the box.