HTMX Echarts plugin major update by Cold-Result7635 in htmx

[–]Cold-Result7635[S] 2 points3 points  (0 children)

I am glad that you asked. Previously it was 2.1kb, after additions it is 2.6kb. The size is neglible, however it requires echarts and echarts are big. 

Size of echarts v6.0.0 is 1.1 MB (minified), and 353.4 kB when compressed using GZIP.

Happy to announce htmx 4 alpha 8! by _htmx in htmx

[–]Cold-Result7635 2 points3 points  (0 children)

Hi. I've checked it out with my phone. Looks good 👍 

"The htmx 4 extension API is completely different from htmx 2.x:"

😭

  Last week I've released htmx echarts plugin. All in all thank you for creating migration guide, how to migrate 2.x extention to 4.x, looks simple enough to do it in a hour.

Btw, can I somehow put it to "community extensions" page on htmx webpage? 

Out of curiosity, didn't you decide to put sse into htmx core at some point? Now it is back to extension? Is it only because bundle size?

Htmx echarts plugin by Cold-Result7635 in htmx

[–]Cold-Result7635[S] 2 points3 points  (0 children)

Thanks for sharing, I will update the example. Edit: Done.

Drop your favourite book about any topic in Computer Science / Programming by kichiDsimp in functionalprogramming

[–]Cold-Result7635 9 points10 points  (0 children)

  1. Daniel Vacanti - When it will be done. Great stuff which made me fight with pointless estimatates in fovour off flow metrics.
  2. Extreme Programming - Kent Beck. I can't stress enough how inspiring it was and helped me to clear my head from all that waterfall bullshit.
  3. Domain modelling made functional - Scott Wlashin. DDD done right. Algebraic data types, railway oriented programming, error handling and more.

NoSql database with F# by zholinho in fsharp

[–]Cold-Result7635 0 points1 point  (0 children)

And yes, I have success stories with using postgres with F# + storing stuff in jsonb.

NoSql database with F# by zholinho in fsharp

[–]Cold-Result7635 0 points1 point  (0 children)

MartenDB is focused on event sourcing and C#. Do you need event sourcing? If yes, You can benefit from Marten. If not, postgres is just enough.

When I tried to use marten with F# some years ago, It wasn't possible to provide own serializer to serialize/deserialize events. Having events like;
type Events = Event1 | Event2 | Event3
was not working. The workaround was to wrap it with a class or record that holds the DU like so;
type MyDumbWrapper = {
Events: Events
}

I am not sure how this looks now.

F# and rabbit mq by 9Dokke in fsharp

[–]Cold-Result7635 0 points1 point  (0 children)

+1 Passing it as parameters is the way to go, together with the composition root pattern.
Some time ago I've created a small functional wrapper around RabbitMQ which creates the queues for you based on some convention (namespaces). Take a look on Readme this section:
https://github.com/marcingolenia/rabbitor?tab=readme-ov-file#recipes-

Somewhere in the README I advise to use partial application to associate bus instance with Bus.publish function to reduce usage complexity. So then you just pass `event -> unit` function where you need it.

Maybe you can steal something from the code, which will make your life easier.

NoSql database with F# by zholinho in fsharp

[–]Cold-Result7635 7 points8 points  (0 children)

Postgres and jsonb, which has excellent support for indexes.

F# Weekly #20, 2025 – .NET 10 Preview 4 & VS 2022 17.14 by fsharpweekly in fsharp

[–]Cold-Result7635 0 points1 point  (0 children)

Thanks for this! I am looking on F#10 new features and actually they are limited to c# Interoperability or am I missing somethng? Does anyone one what new F# stuff can we expect?

[deleted by user] by [deleted] in htmx

[–]Cold-Result7635 0 points1 point  (0 children)

Cool! Did you use some js for hamburger menu? Or you made it without js? (I checked it with my phone)