• Kartik Agaram

    Kartik Agaram

    3 weeks ago
    Now every one of my LÖVE apps can edit its source code. Here's a chart showing how they relate to each other: • lines.love: text editor with drawings (http://akkartik.name/lines.html) • simplifying: ◦ text.love: editor without drawings (https://codeberg.org/akkartik/text.love) ◦ view.love: read-only mode (https://codeberg.org/akkartik/view.love) ◦ pong.love: simplest possible example repo to tailor to whole new apps (https://codeberg.org/akkartik/pong.love) • minor changes: ◦ links: versions adding hyperlink support (https://codeberg.org/akkartik/lines-and-links; https://codeberg.org/akkartik/links.love) ◦ polygons: an early experiment on a different approach to drawing (https://github.com/akkartik/lines-polygon-experiment) • complexifying: ◦ capture: simple blank-slate editor for adding notes to a directory (https://git.sr.ht/~akkartik/capture.love) ◦ pensieve: the big kahuna, a note-taking app on an infinite surface (https://git.sr.ht/~akkartik/pensieve.love) I'm hoping this lays the groundwork for a freewheeling eco-system of apps that are easy to modify while also being amenable to exchanging genetic information. Because that's basically what I did today in pulling patches the other way from pong.love all the way across to the right.
  • i

    Ivan Reese

    3 weeks ago
    Tangentially related to the community, if you squint a bit: Saturday is my new "edit the podcast" day — something I haven't really had room for in my schedule until now. No wonder the episodes have been ~2 months apart. Hopefully that improves now.
    i
    Kartik Agaram
    2 replies
    Copy to Clipboard
  • j

    Jason Morris

    2 weeks ago
    Doing web UI things this week, and it feels like trying to run through a tar pit. The Prolog dialect I'm using came out with a first draft of it's first user guide, so did some time learning about everything I'm doing wrong. Ended up with about 10 new feature and documentation issues in the repo. A long list of good ideas is an asset, right?
    j
    w
    4 replies
    Copy to Clipboard
  • Tom Larkworthy

    Tom Larkworthy

    3 weeks ago
    I am trying to fix something that @Jimmy Miller said on here. In particular
    There doesn't seem to be a way of building up higher level abstractions [on Observablehq.com] at the moment and saving and reusing them.
    While is not technically true, because you can plug in a Firebase and build what you like, but that is waaay to involved for prototyping. Also once you did that nobody can fork your notebook and still get access to the backend, or they can, but the whole thing ends up inappropriately insecure. So the point stands that to do that well requires a fair amount of expertise. So I am fixing that. I am building a low config realtime multi-tenant state abstraction that supports end user forking and federated access. So you can build abstraction on Observable, but also so you can start to develop cross platform realtime workflows. In addition, anybody who uses that store can fork the containing notebook and still access their data, so it supports end user (re) programming. Furthermore it is a sane security model, that has per user isolation so forks can't steal access unrelated users data. I can talk about it now coz I can see the end and its totally possible! A forkable notebook realtime statestore is coming to Observable soon! https://futureofcoding.slack.com/archives/C03RR0W5DGC/p1659475446182609?thread_ts=1659196747.344019&cid=C03RR0W5DGC
    Tom Larkworthy
    Jimmy Miller
    5 replies
    Copy to Clipboard
  • j

    jamii

    1 month ago
    I've been working on https://www.scattered-thoughts.net/writing/the-program-is-the-database-is-the-interface. The demo uses clojurescript at the moment, but I'm currently working on replacing it with a (poorly implemented) language where every value in a
    defs
    remembers where it came from and can be directly edited. This will mean that eg in the todo example, the text will be directly editable wherever it appears rather than having to add an explicit set-text action.
    j
    Konrad Hinsen
    +1
    5 replies
    Copy to Clipboard
  • Myles Haynes

    Myles Haynes

    1 week ago
    what is the clicking doing? like is it linked to a specific field in the original object?
    Myles Haynes
    Oleksandr Kryvonos
    2 replies
    Copy to Clipboard
  • m

    Maikel

    1 month ago
    I hope to find some time to make a video soon to better show how things work.. I'll try to explain it in text here: the statemachine definition is shown on the left. The states are the boxes with only a border and the current state is the blue box. The event/messages to trigger a state transition are defined by the boxes with a grey background. The flows on the right side use this statemachine: the flow on the top right handles storing the current state in a cookie but also initialises the statemachine with the stored state when the flow is loaded. A special node "OnStateChange" responds to statemachine changes... you can define the state that a OnStateChange node reponds to and trigger the output flow. In this example the statemachine shows the behavior of a lightswitch which can have 3 states: off, on and max.. the lightswitch can be put in "max-mode" only when the lightswitch is on. This is visualized by the image in the form-node. The buttons in the form-node also respond to the currentstate. Currently there's only support for 1 statemachine per flow, which is far too limiting offcourse, so I am going to change that soon.
    m
    l
    +2
    23 replies
    Copy to Clipboard
  • Oleksandr Kryvonos

    Oleksandr Kryvonos

    1 week ago
    During this week I have added possibility to edit Json and each edit generates new version, I hope that this will allow to see deviations in versions much earlier, and will allow to start discourse much earlier to prevent merge conflicts; live version: https://uprun.github.io/lisperanto/
  • d

    Daniel Sosebee

    4 days ago
    Looks great! What do the three dots to the left of each block do?
    d
    1 replies
    Copy to Clipboard
  • Oleksandr Kryvonos

    Oleksandr Kryvonos

    17 hours ago
    so far editing code on a canvas as plain text is workable but not very easyhttps://twitter.com/o_kryvonos/status/1574133734005260288?s=20&t=VBUt6BcoIoaQ0p401PDQEQ