• Kartik Agaram

    Kartik Agaram

    1 month ago
    I've been participating in the wheel reinvention jam over at Handmade network. My entry plays with tools for debug by print, along 2 dimensions: • (pictured) hiding debug prints by default in the editor, so that we can save them in version control and share debugging tricks with collaborators without it getting overwhelming and always in our collective faces. • (vaporware) rendering debug logs in extensible graphical ways. The tool shouldn't need to know how to render every single type possible; instead it just reads a special representation within a codebase to learn how to render the types in that domain.
    Kartik Agaram
    s
    +1
    11 replies
    Copy to Clipboard
  • Kartik Agaram

    Kartik Agaram

    1 month ago
    This is a pleasant surprise: I just added hyperlinks to my text editor in 35 lines of Lua. https://codeberg.org/akkartik/lines-and-links/commit/c81bedca8ddd Deep in the guts of the renderer, right before it renders a fragment of text, check if it's a file, and if so turn it into my button abstraction (https://github.com/akkartik/lines.love/blob/main/button.lua). Caveats: links can't wrap over multiple lines, links can't contain spaces. Incredibly inefficient, to check the file system for every single word. So it's in a fork for now while I decide just what to do with this new super power.
    Kartik Agaram
    Ivan Lugo
    +1
    6 replies
    Copy to Clipboard
  • Kartik Agaram

    Kartik Agaram

    4 weeks ago
    Are the multiple
    rejoin
    items when you search the different versions?
    Kartik Agaram
    Oleksandr Kryvonos
    3 replies
    Copy to Clipboard
  • i

    Ivan Reese

    3 weeks ago
    I'm enjoying the frequent updates everyone is sharing here. For whatever reason (perhaps the freer format / simpler concept), this channel is succeeding in a way that #two-minute-week hasn't been lately. Keep it up, everyone!
  • Konrad Hinsen

    Konrad Hinsen

    1 month ago
    My highly domain-specific FoC project, the Digital Scientific Notation I called Leibniz, is finally in a state where I think others can explore it without being lost immediately: https://github.com/khinsen/leibniz-pharo
    Konrad Hinsen
    Kartik Agaram
    +1
    10 replies
    Copy to Clipboard
  • 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