https://htmx.org logo
Join Discord
Powered by
# htmx-general
  • l

    lively-beach-14291

    12/12/2020, 3:48 PM
    In Julia it's once indirect though, the result of the above expression is a function that takes an
    io
    object and writes the content to it, without creating new strings on the heap.
  • l

    lively-beach-14291

    12/12/2020, 3:49 PM
    This function is created via just-in-time compile, so it's a tad slower to startup, but very fast in hard loops.
  • f

    future-boots-43048

    12/12/2020, 3:50 PM
    @lively-beach-14291 - Just reading HypertextLiteral.jl now.
  • l

    lively-beach-14291

    12/12/2020, 3:50 PM
    It's got a bunch of clever things I'm ripping out for v0.3 -- I tend ot overengineer.
  • f

    future-boots-43048

    12/12/2020, 3:50 PM
    🙂
  • l

    lively-beach-14291

    12/12/2020, 3:51 PM
    @User Join the Dark Side, use Julia 😉
  • m

    mysterious-toddler-20573

    12/12/2020, 3:51 PM
    @User why is this line needed?
  • f

    future-boots-43048

    12/12/2020, 3:51 PM
    It's not needed at the moment.
  • m

    mysterious-toddler-20573

    12/12/2020, 3:51 PM
    OK
  • f

    future-boots-43048

    12/12/2020, 3:51 PM
    Before I was using it in the D3 to select the element.
  • f

    future-boots-43048

    12/12/2020, 3:52 PM
    Now I'm just grabbing the element directly.
  • l

    lively-beach-14291

    12/12/2020, 3:52 PM
    I intend to make a
    HTMX.jl
    which creates glue to bind Julia functions to front-end actions.
  • m

    mysterious-toddler-20573

    12/12/2020, 3:52 PM
    And
    window.xact_whatever
    that isn't general? You need to have a different version of it per graph?
  • f

    future-boots-43048

    12/12/2020, 3:53 PM
    Well ... it's kinda an interactive development environment, so the idea is that you code the visualization that you want on the back end and then watch it update in real time on the front end.
  • f

    future-boots-43048

    12/12/2020, 3:53 PM
    So ... a little bit Brett-Victor-esque.
  • m

    mysterious-toddler-20573

    12/12/2020, 3:56 PM
    I'm wondering if we can reduce it down to something like this:
  • m

    mysterious-toddler-20573

    12/12/2020, 3:56 PM
    where you don't need to use strings to match things up
  • m

    mysterious-toddler-20573

    12/12/2020, 3:56 PM
    or, if you are using strings, you are using the data returned client side
  • m

    mysterious-toddler-20573

    12/12/2020, 3:56 PM
    so it isn't so magical
  • m

    mysterious-toddler-20573

    12/12/2020, 3:57 PM
    Generally I don't like having to use string concat
  • m

    mysterious-toddler-20573

    12/12/2020, 3:57 PM
    narrator: he uses string concat all the time
  • m

    mysterious-toddler-20573

    12/12/2020, 3:57 PM
    SHUT UP!
  • f

    future-boots-43048

    12/12/2020, 3:58 PM
    lol
  • f

    future-boots-43048

    12/12/2020, 3:58 PM
    That looks interesting ...
  • f

    future-boots-43048

    12/12/2020, 3:59 PM
    Yeah.
  • f

    future-boots-43048

    12/12/2020, 3:59 PM
    I like that.
  • f

    future-boots-43048

    12/12/2020, 3:59 PM
    I'd been thinking of eliminating the hyperscript ...
  • f

    future-boots-43048

    12/12/2020, 3:59 PM
    But this kind of glue is really what hyperscript is all about.
  • f

    future-boots-43048

    12/12/2020, 3:59 PM
    So, what you're suggesting makes more sense.
  • f

    future-boots-43048

    12/12/2020, 4:00 PM
    OK. I've got to go for a couple of hours, but I'll work on making it look like that this evening, and then update the PR.
1...969798...1146Latest