home.social

#libresilient — Public Fediverse posts

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

  1. Ermahgerd, #LibResilient ( resilient.is/ ) got a code contribution and, more importantly, someone is putting a lot of effort into diving into a somewhat complex issue they are affected with!

    I am very excited about this development.

  2. I am at the #GlobalGathering in Estoril, Portugal this weekend, and have booths about #LibResilient (Saturday, 15:30 - 17:30) and about #Quad9 (Sunday, 15:30 - 17:30).

    If you're there as well, come say hi!

  3. A few issues got created by someone and another merge request was submitted to my little side-project! :awwwblob:

    One of the issues is about having a release. My little project is growing up so fast! :blobcatheart:

    The project website is here by the way, in case anyone is wondering:
    resilient.is/

    #LibResilient #WebDev

  4. I just finished Doing A Thing and I am very proud of myself. Winning at adulting. And #LibResilient just got content-based MIME type deduction. Weee!

  5. I just spent 30min thinking about how I would implement a specific thing that would help me test improvements to #LibResilient with less fuss…

    …and then discovered that I had already implemented that very thing months ago.

    I am a highly skilled professional, I swear.

  6. Old tests runtime: 1m45s
    New tests runtime: 0m26s

    Code coverage up 20%, to ~87%.

    I am okay with this. And all it took was rewriting the tests to Deno over a few months.

    Also, #LibResilient finally has zero Node/npm related crap. I cannot express how happy I am about that.

  7. Rewriting #LibResilient tests in #Deno and… damn!

    The number of random "add a timeout to wait here and hope all random promises started deep in the code resolve before it" I am removing — partially because I now understand my code better, partially because Deno has sane, reliable implementations of WebAPIs — is quite substantial.

    Makes me a happy camper.

  8. Rewriting #LibResilient's tests in #Deno (from NodeJS and Jest) not only helps me write cleaner code and get rid of the mess that npm dependencies are, but also it helps me understand #JavaScript better, it seems.

    In a number of places (in tests and in code they test) it forced me to actually *understand* some quirk of the language and re-write stuff in a cleaner, more unambiguous, easier to debug way.

    Can't wait for the rewrite to be done so that I can remove the last bits of npm crap!

  9. About a thousand lines of code re-written from NodeJS/Jest tests to Deno:
    gitlab.com/rysiekpl/libresilie

    About 1/5th towards the milestone:
    gitlab.com/rysiekpl/libresilie

    Rewriting all tests for Deno will mean I am able to completely remove NodeJS stuff from #LibResilient. Which I am very excited about!

  10. #LibResilient got more #NLnet funding, and so there are new milestones!
    resilient.is/blog/more-funding

    > Good news: NLnet Foundation decided to extend their small grant for LibResilient! That grant funded bulk of the work over the last year and a half. It will now continue to do so for the next year or so.

  11. #LibResilient documentation is now more usable
    resilient.is/blog/better-expos

    It took me a good while but finally LibResilient's documentation (including that of its plugins) is available in one place:
    resilient.is/docs/

    🎉

    There's an index, the whole thing is nicely browseable, and it's all a nice static site, because of course it is. :blobcatcoffee:

    I'm hoping this will make it easier for people to engage with the project and maybe deploy it on their websites. 🤞

    #WebDev

  12. Wow, did two #LibResilient blogposts week after week. I wonder if I can keep this up next week.

  13. #LibResilient got a CLI
    resilient.is/blog/libresilient

    It's a tricky beast to implement, mainly because most relevant functionality comes from plugins anyway, so the CLI necessarily also has to basically be a thin layer over the plugin code.

    The nice thing is that it's implemented in @deno_land. Compared to NodeJS, the difference is like night and day. Deno has a built-in test system, and implements all the WebAPIs LibResilient uses natively.

    Might have to re-write all my Jest tests in Deno! 🤔

  14. New in #LibResilient — two #DNSLink based transport plugins:
    resilient.is/blog/new-dnslink-

    DNSLink makes a lot of sense in LibResilient: DNS is often more reliable than web, and DNSLink offers a way to make certain information — here: where to fetch content from — available in case the main site is down without having to put that in the configuration.

    This means more flexibility in case main site is down. Easier to push out updates related to alternative endpoints or current IPFS CID.

  15. @esi @libreleah indeed I do, kinda. Here's the relevant talk from #MCH2022:
    media.ccc.de/v/mch2022-198-tru

    Project website:
    resilient.is/

    It relies on Service Workers, so it's not a perfect fit for some of these use-cases, but it's a start I think.

    #LibResilient

  16. Writing tests in #Deno :dinosaur: is positively *pleasant*.

    No clue how they achieved that, but compared with Jest, and especially if you're testing stuff that relies on WebAPIs, Deno is a clear improvement.

    Much recommend:
    deno.land/[email protected]/basic

    Looks like I might be able to tear all the NodeJS/npm crap from #LibResilient after all. Fantastic. 🎉

  17. Can you create a services that runs entirely #p2p and only on low power, unreliable devices, like mobile phones and #raspberrypi s?

    #mobilephone #libresilient