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

    red-agency-96741

    01/01/2023, 7:31 PM
    the dot is there to look like other version types, but that's not semantic versioning
  • g

    gorgeous-airport-54386

    01/01/2023, 7:32 PM
    so the dot is there to mislead people
  • r

    red-agency-96741

    01/01/2023, 7:32 PM
    Semantic is Breaking.Adding.Patch whereas TS uses Major.Minor
  • r

    red-agency-96741

    01/01/2023, 7:32 PM
    yeah p much
  • d

    damp-holiday-78684

    01/02/2023, 5:44 AM
    I want to send the values of list items in the ol along with the current order/index of each list items(Using SortableJS for shuffling functionality) in a POST request at the click of a button. How do I go about getting the index matching the value in HTMX/_hyperscript? Thanks!
  • r

    ripe-actor-72844

    01/02/2023, 9:18 AM
    so not much value in using the typescript versioning system other than to have a larger version number
  • r

    red-agency-96741

    01/02/2023, 9:52 AM
    well, Intel's CPU model numbers have meaning
  • r

    red-agency-96741

    01/02/2023, 9:53 AM
    i[tier] [1 or 2 digit, generation number][3 digit, performance grade][letters, various meanings]
  • r

    red-agency-96741

    01/02/2023, 9:58 AM
    AMD's current models are more arbitrary but they're using a new versioning system for 2023 onwards which generally follows [year (i + 7)][performance grade][arch, mirrors Zen version][performance within grade][letters, various meanings]
  • r

    ripe-actor-72844

    01/02/2023, 2:13 PM
    I just listened to you on a podcast and heard you worked on programming languages in grad school. Im in grad school for CS but focusing on operating systems. But I gotta ask, because I feel like if I had more general knowledge about how good languages (and bad languages too, I suppose lol) are made, it would unlock some new insights for me and possibly let me start working on a personal toy language. Any good resources for learning the ropes of programming language design? Or maybe what specific parts of the discipline you wish more people understood?
  • r

    red-farmer-97020

    01/02/2023, 2:29 PM
    crafting interpreters is the book you are looking for
  • i

    important-van-94053

    01/02/2023, 3:14 PM
    Agreed https://craftinginterpreters.com/
  • m

    mysterious-toddler-20573

    01/02/2023, 3:37 PM
    yep, https://craftinginterpreters.com is the best book on creating a compiler, it teaches recursive descent which is what most real-world parsers use and which exposes the recursive nature of grammars the best
  • r

    red-farmer-97020

    01/02/2023, 3:40 PM
    Has anyone used HTMX/hyperscript in a WebView/electron/tauri app? Hyperscript doesn't have IE11 support, so I don't think it'll work well on windows in a WebView. I'm also not sure how to override the HTMX request maker to call a custom JS function instead of making a request
  • r

    red-farmer-97020

    01/02/2023, 3:42 PM
    Alternatively I open a web server locally every time someone opens this application, which seems a bit wasteful and potentially a security concern
  • s

    some-solstice-89459

    01/02/2023, 4:00 PM
    there is an example on how to do that in the htmx examples page, basicaly, you can use hyperscript to listen for changes in the order of the objects, and use that to swap values into inputs
  • g

    gorgeous-airport-54386

    01/02/2023, 4:08 PM

    https://cdn.discordapp.com/attachments/960258797383856148/1059503383377092710/IMG_3618.png▾

  • m

    mysterious-toddler-20573

    01/02/2023, 4:20 PM
    Give’em the ol use-javascript-to-avoid-using-javascript razzle dazzle
  • b

    boundless-vase-80440

    01/02/2023, 4:34 PM
    it's kinda funny to see how sending an HTML fragment to update part of the UI seems like alien technology to young grugs
  • e

    echoing-lion-55988

    01/02/2023, 4:34 PM
    what is reticulum project?
  • g

    gorgeous-airport-54386

    01/02/2023, 4:41 PM
    https://reticulum.network/
  • w

    white-london-59674

    01/02/2023, 5:32 PM
    Any folks interested in geospatial things with HTMX/hyperscript? The type of stuff I'm thinking about is: - Looking at a map, you can see conversations happening in different places (e.g. a conversation thread has a location coordinate, which is simply visualized by a marker on the map — clicking on the marker takes you to the conversation thread) - CRUDing community assets on a map (e.g. people, businesses, coops, gardens) - Displaying and removing different types of filters on a map (for example, using the https://mghydro.com/watersheds/ api to source a local watershed polygon, rendering that polygon on the map, and being able to remove it) I've done similar projects in JS (https://spect.netlify.app/) — and I'd love to give this a go in hypermedia, collaborating with others who are interested in this kind of thing! Also, any recommendations for webmaps (e.g. mapbox, leaflet) and other tools that could be suited for geospatial hypermedia work?
  • a

    abundant-coat-35982

    01/02/2023, 8:46 PM
    Hey folks, I’m Nathan Petrangelo from this screenshot and others from the Reticulum matrix room, and I thought I’d actually see what’s up in here lol
  • a

    abundant-coat-35982

    01/02/2023, 8:52 PM
    I started theorizing a hypermedia system that looks like React, except the virtual dom is server side, such that state changes are propagated on the server and the smallest possible update is sent to the client
  • a

    abundant-coat-35982

    01/02/2023, 8:53 PM
    I figure React already knows how to propagate state changes and update the dom, so what’s left is making the server transmit those changes instead of doing it directly from within the browser
  • a

    abundant-coat-35982

    01/02/2023, 9:02 PM
    Double checking that although server side React is kind of a thing, it doesn’t do what I am suggesting here https://stackoverflow.com/questions/27290354/reactjs-server-side-rendering-vs-client-side-rendering
  • a

    abundant-coat-35982

    01/02/2023, 9:02 PM
    > Since the UI is rendered on the server, none of your event handlers would work and there's no interactivity (you have a static page).
  • g

    gorgeous-airport-54386

    01/02/2023, 9:03 PM
    Phoenix LiveView?
  • a

    abundant-coat-35982

    01/02/2023, 9:03 PM
    I’m not familiar with that
  • g

    gorgeous-airport-54386

    01/02/2023, 9:03 PM
    https://github.com/phoenixframework/phoenix_live_view
1...966967968...1146Latest