Hacker News new | past | comments | ask | show | jobs | submit login

> Both QT and Gnash run on the framebuffer, there is no X server, so a regular VNC client will not work.

Tip with Qt: you can use QT_QPA_PLATFORM=vnc and the Qt app will be exposed over vnc (if you have the plug-in installed / linked ofc). Pretty useful for testing embedded hardware from your desktop (not for deployment though, as it will be the only way your app will be rendered)

The QT version compiles as a desktop app as well. It uses an HTTP api to the coffee machine. Normally only localhost, but for development I can tunnel that port over ssh, so from my desktop I can use "actual" hardware. Same with Flash/Gnash, ssh tunnel and a local instance (recently made a snap for that: https://raymii.org/s/blog/Ive_packaged_up_Gnash_as_a_Snap_fo...).

But thanks for the tip, I'm going to try that and see how it works. Maybe even get the old machine running the new UI via vnc.

I have to say I find it incredibly fascinating you're actually using Gnash to support a Flash-based UI. Were you previously using the official runtime and switched over to Gnash, or was Gnash always the runtime target? If the former, how'd the transition work out, and were there any hitches / do you have to do things differently now?

Based on a few (possibly old) videos of the Nio I found that show the touchscreen for a couple of moments the system appears to have fairly high input latency (~1.5s), and zero realtime feedback (eg, no "pressed" state indication). Hrm.

FWIW, I've been looking around for quite some time for a general-purpose way to do easy-to-maintain UI design that isn't Gambas Basic ("how to basic?") or Electron ("what is RAM?"), and my current to-have-a-look-at is actually the drag-and-drop layout builder in the Godot game engine, which has a 2D mode, and from what I've seen of it is rather fast and makes reasonable efforts toward performance.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact