home.social

#xtxt — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #xtxt, aggregated by home.social.

fetched live
  1. One of the yet-unexplored features of XTXT is its potential to multiplex multiple HTTP connections over a single serial link—without relying on TCP/IP.

    In the past, we had solutions like PPP (and later PPPoE), which allowed network-layer communication over point-to-point connections. But those were fundamentally data link layer protocols, operating at a lower level in the OSI model.

    XTXT, on the other hand, can be thought of as an application-layer alternative for achieving similar multiplexing, but with much lighter networking demands. It’s designed to work seamlessly on smaller systems by simply exchanging text streams—no need for OSI compliance or the overhead of traditional networking stacks.

    With XTXT, all you need is the ability to send and receive structured text. And most computers, even very old ones can do that. The simplicity is the beauty.

    #xtxt #hypermedia #hypertext

  2. Anyone familiar with ESXDOS enough who can generously give me a few tips on how to port or abstract the ZX Spectrum +3 file handling api (+3DOS) so that programs work on both Spectrum OSes?

    At this time I only have one real Spectrum +3 to test on real hardware, no idea how to use ESXDOS on an emulator.

    count frames
    github.com/ha1tch/xtxt/blob/ma

    count streams (WIP)
    github.com/ha1tch/xtxt/blob/ma

    #retrocomputing #esxdos #plus3 #ZXSpectrum #Speccy #Spectrum #xtxt

  3. XTXT Update: I added the utility muxcat (like unix 'cat', but for multiplexed, extended text files)
    Three different implementations (Ruby, Python, Go). Still very much work in progress, they almost work.

    ruby
    github.com/ha1tch/xtxt/blob/ma

    python
    github.com/ha1tch/xtxt/blob/ma

    go
    github.com/ha1tch/xtxt/blob/ma

    #xtxt #hypermedia #hypertext #retrocomputing

  4. Another XTXT update: I added some initial support for various retro platforms. Let me know if you find any errors in the code for your platform of choice! I'm mostly testing against a couple of emulators and the hardware I have.
    github.com/ha1tch/xtxt/tree/ma

    #xtxt #hypermedia #hypertext #retrocomputing

  5. I did more work on XTXT, adding some very simple code examples in other languages: C, Assembler (Z80 and 8086), Pascal, Go, Python, Ruby, Swift.
    github.com/ha1tch/xtxt/tree/ma
    (the old and dirty Ruby samples are still available under the ruby.old directory, until we have newer and better ones)

    Notably, the Z80 Assembler version of the most basic example compiles to a binary of just under 70 bytes. I used PASMO to assemble it. (if you need to compile Pasmo itself from source like I did on Apple M1/arm64, ensure that you add -std=c++17 to the CXXFLAGS variable in the generated Makefile)

    #xtxt #hypermedia #hypertext

  6. For the first time in several years I've updated the XTXT project. Hopefully more will follow sometime soon.

    github.com/ha1tch/xtxt/tree/ma

    XTXT is a simple yet powerful format that addresses many challenges in modern data representation. Its ability to separate content, metadata, and structure into independent streams makes it a strong candidate for diverse applications, from hypertext systems to programming tools and cloud workflows.

    #xtxt #txt #hypertext #hypermedia #internet #ietf #w3c

  7. For the first time in several years I've updated the XTXT project. Hopefully more will follow sometime soon.

    github.com/ha1tch/xtxt/tree/ma

    XTXT is a simple yet powerful format that addresses many challenges in modern data representation. Its ability to separate content, metadata, and structure into independent streams makes it a strong candidate for diverse applications, from hypertext systems to programming tools and cloud workflows.

    #xtxt #txt #hypertext #hypermedia #internet #ietf #w3c