home.social

#crystallanguage — Public Fediverse posts

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

  1. You're looking for something that's readable but more efficient and smaller than #JSON or #YAML?
    Structure data with #ASCII control codes like people did in 1963!

    trans.github.io/c0data/

    There's also a library in @CrystalLanguage available.

    #crystallang #crystallanguage

  2. AI Slop reached the @CrystalLanguage community.

    Usually I'm using DDG but I had another session with Google open and I just searched whether #CrystalLanguage has in-built Shell escaping nowadays and the first match was a website for a commercial auth solution.

    At first it kinda sounded reasonable but at one point it's coming up with an in-built `Shell.escape`.
    I can't remember what I searched but even for other stuff two #aislop websites are higher ranked than the official doc.

    #CrystalLang

  3. Oh wow, according to @codetrendr (account should start mirroring soon) #LavinMQ was 🚀 trending on #GitHub two weeks ago? 🤩

    For those who don't know: it's a #MessageQueue written in :crystal: #CrystalLang supporting #AMQP 0-9-1 (like 🐰 #RabbitMQ) and #MQTT (popular in 🤖 #IoT).

    And it was born at @84codes / #84codes. 🙏🏻

    lavinmq.com/

    #crystallanguage #crystal

  4. Oh wow, according to @codetrendr (account should start mirroring soon) #LavinMQ was 🚀 trending on #GitHub two weeks ago? 🤩

    For those who don't know: it's a #MessageQueue written in :crystal: #CrystalLang supporting #AMQP 0-9-1 (like 🐰 #RabbitMQ) and #MQTT (popular in 🤖 #IoT).

    And it was born at @84codes / #84codes. 🙏🏻

    lavinmq.com/

    #crystallanguage #crystal

  5. Oh wow, according to @codetrendr (account should start mirroring soon) #LavinMQ was 🚀 trending on #GitHub two weeks ago? 🤩

    For those who don't know: it's a #MessageQueue written in :crystal: #CrystalLang supporting #AMQP 0-9-1 (like 🐰 #RabbitMQ) and #MQTT (popular in 🤖 #IoT).

    And it was born at @84codes / #84codes. 🙏🏻

    lavinmq.com/

    #crystallanguage #crystal

  6. Oh wow, according to @codetrendr (account should start mirroring soon) #LavinMQ was 🚀 trending on #GitHub two weeks ago? 🤩

    For those who don't know: it's a #MessageQueue written in :crystal: #CrystalLang supporting #AMQP 0-9-1 (like 🐰 #RabbitMQ) and #MQTT (popular in 🤖 #IoT).

    And it was born at @84codes / #84codes. 🙏🏻

    lavinmq.com/

    #crystallanguage #crystal

  7. Oh wow, according to @codetrendr (account should start mirroring soon) #LavinMQ was 🚀 trending on #GitHub two weeks ago? 🤩

    For those who don't know: it's a #MessageQueue written in :crystal: #CrystalLang supporting #AMQP 0-9-1 (like 🐰 #RabbitMQ) and #MQTT (popular in 🤖 #IoT).

    And it was born at @84codes / #84codes. 🙏🏻

    lavinmq.com/

    #crystallanguage #crystal

  8. I've been trying to figure out how to document operators built with my Crystal Kubernetes client because the types are all generated from the CRD.

    It just occurred to me today that K8s CRDs use OpenAPIv3, which supports a `description` property. All I needed to do was use it to write doc comments in the generated code.

    github.com/jgaskins/kubernetes

    #kubernetes #CrystalLanguage

  9. I just noticed that NATS 2.11 was released last week. The feature I've been waiting for is per-message TTLs, so I just added support for them to my Crystal NATS client. 🎉

    github.com/jgaskins/nats/commi

    #NATS #Crystal #CrystalLanguage

  10. Cutting out regexes made Armature's path matching over 30x faster. 🤯

    Routing a request to an endpoint in 6µs is good, but doing it in under 190ns is a lot better!

    github.com/jgaskins/armature/c

    #Crystal #CrystalLanguage

  11. @martenframework btw you should consider using hashtags on such announcements, like #crystallang #crystallanguage #webframework #webdevelopment #webdev #crystal.

    And I think it would be great if the posts would also contain a summary of the changelog of that release.

    No pressure but I think it might help regarding visibility. 😉

  12. Finally published a library I've wanted for a long time: a Crystal type for dealing with both calendar and monotonic durations in the same object.

    github.com/jgaskins/duration

    #Crystal #CrystalLanguage

  13. It seems that @sdogruyol did another performance and memory #benchmark where he compared @ruby's Sinatra (#Ruby 3.4.0) against @CrystalLanguage's @crystalkemal.

    However, I don't think it's entirely fair though. 😉

    You can find the repository over here:

    github.com/sdogruyol/kemal-git

    #rubylang #crystallang #crystallanguage #ruby #crystal #SinatraRb #sinatra

  14. Serdar updated the #crystalkemal cookbook with more recipes (i.e. #Cookies, #Databases, #redis ).

    If you're looking for a #sinatra like framework for @CrystalLanguage, then #kemalcr is the best way to go.

    #CrystalLang #CrystalLanguage#kemal

  15. In case you're looking for further #RubyLang folks to follow, you might want to have a look over here:

    fedidevs.com/ruby/

    It seems a @CrystalLanguage list is missing for now though.

    #ruby #rails #rubyonrails #CrystalLang #CrystalLanguage #Crystal

  16. The moment when you're searching around and you found something that finally makes it very easy just to do the thing that you like to do.

    I think that every #Ruby, @rails and @CrystalLanguage developer felt this happiness at one point. 😊

    reddit.com/r/crystal_programmi

    #CrystalLang #CrystalLanguage #crystal #RubyLang #rails #RubyOnRails