mmzeeman | 7 months ago | on: Mountain of Ink
mmzeeman's comments
mmzeeman | 1 year ago | on: Where should visual programming go?
mmzeeman | 2 years ago | on: SSH over HTTPS
mmzeeman | 2 years ago | on: Against Superficial Simplicity (2022)
mmzeeman | 2 years ago | on: Dutch rules will soon prevent schoolchildren from having a phone in classroom
mmzeeman | 2 years ago | on: Ask HN: What lesser-known accessories do you use with your computer?
mmzeeman | 2 years ago | on: Ask HN: What lesser-known accessories do you use with your computer?
mmzeeman | 3 years ago | on: Tell HN: Microsoft classifies own emails as junk
mmzeeman | 3 years ago | on: Disputing a Parking Fine with ChatGPT
mmzeeman | 3 years ago | on: Why I program in Erlang (2012)
We have payment gateway solutions (stripe, mollie, buckaroo). See: https://github.com/zotonic/zotonic_mod_payment
It has a full blown MQTT communication bus. Browsers connect as mqtt clients to the cms via a web socket.
mmzeeman | 3 years ago | on: Amsterdam looks incredibly realistic in the new Call of Duty
mmzeeman | 4 years ago | on: Zotonic, the Erlang Web Framework
mmzeeman | 4 years ago | on: Zotonic, the Erlang Web Framework
mmzeeman | 4 years ago | on: Zotonic, the Erlang Web Framework
mmzeeman | 4 years ago | on: Server-sent events, WebSockets, and HTTP
mmzeeman | 4 years ago | on: Server-sent events, WebSockets, and HTTP
mmzeeman | 4 years ago | on: Server-sent events, WebSockets, and HTTP
Open pages in a browser are not that different from IoT devices.
mmzeeman | 4 years ago | on: Server-sent events, WebSockets, and HTTP
mmzeeman | 4 years ago | on: Server-sent events, WebSockets, and HTTP
The solution uses mqtt. Clients subscribe to a topic on the server, and the server publishes patches to update the view. Patches can be incremental (patch against the last frame), cumulative (patch agains the last keyframe) or a new keyframe. It allows for server side rendered views. Multiple clients can subscribe to the same view and keep in sync. See: https://github.com/mmzeeman/zotonic_mod_teleview
mmzeeman | 4 years ago | on: Server-sent events, WebSockets, and HTTP
We use it exclusively for the soon to be released 1.0 version of Zotonic. See: https://test.zotonic.com (running on a 4.99 euro Hetzner vps).
We developed an independent support javascript library called Cotonic (https://cotonic.org) to handle pub/sub via MQTT. This library can also connect to other compliant MQTT brokers. Because MQTT is fairly simple protocol, it is fairly easy to integrate in existing frameworks. Here is an example chat application (https://cotonic.org/examples/chat) which uses the open Eclipse broker.