Fork me on GitHub
#announcements
<
2021-04-09
>
wilkerlucio04:04:21

Released [com.wsscode/tailwind-garden "v2021.04.09"] 🎉 , if you like Garden CSS and Tailwind, this has all the definitions and some variant helpers. https://github.com/wilkerlucio/tailwind-garden

🎉 58
👍 12
indy04:04:22

Thank you for doing this service! I understand purge just uses a regex to remove unused classes. Do you have suggestions on what the regex will look like if you use purge?

wilkerlucio04:04:03

if you are going to setup a CSS processing pipeline, its probably better to stick with the official Tailwind build, specially with their new JIT thing, which is awesome 🙂 the target audience of this garden versions is for people that don’t want to mess with more node things

wilkerlucio04:04:48

that said, I think would be the same thing, that depends more on what you are using to write the HTML. If using hiccup for example, something like :div.text-sm.bg-gray-400 may not work by default, but if you use [:div {:class "text-sm bg-gray-400"} it probably works out of the box

indy04:04:57

Wow, I just saw the JIT thing, will have to check how that can be leveraged. What I'm missing in CLJS with tailwind is autocomplete and purge (since the raw size is huge). But I think your tailwind-garden will give me more ideas.

wilkerlucio04:04:32

there is this example configuration for tailwind jit with shadow: https://github.com/jacekschae/shadow-cljs-tailwindcss

indy04:04:43

Thanks a lot, will check this one out 🙂

fjolne15:04:47

@UMPJRJU9E purge works fine for me in CLJS, for both hiccup notations

3
fjolne15:04:34

with the default setup from tailwind docs; IIRC it’s only triggered on release build, so beware to check bundle size diff against that

3
msolli06:04:51

Announcing https://github.com/msolli/proletarian, a durable job queuing and worker system for Clojure backed by PostgreSQL. It provides at least once processing guarantees with customizable retry strategies. Use Proletarian for asynchronously executing tasks in the background. It’s useful for offloading long-running tasks from the request thread in user-facing web applications. The initial public release is https://clojars.org/msolli/proletarian. It’s in alpha since public scrutiny and adoption might necessitate API changes, but I consider Proletarian mostly done and ready for production use. Please give it a spin! I’m happy to discuss and answer questions over at #proletarian. Repo: https://github.com/msolli/proletarian Simple example usage: https://cljdoc.org/d/msolli/proletarian/1.0.32-alpha/doc/example-a-the-basics

👏 54
🎉 29
3
lukasz14:04:16

Looks really cool! I made an attempt at something very similar a while back https://github.com/lukaszkorecki/taskmaster

👍 3
avi15:04:08

Super cool! I was just looking for something like this a month ago… I ended up putting the project on hold so didn’t make a choice, but I was thinking of trying https://contribsys.com/faktory/ with https://github.com/apa512/clj-faktory. This is now bookmarked for next time I need something similar.

avi15:04:15

@U06BEJGKD Kudos on the clear and comprehensive docs. Takes a lot of effort, and well worth it.

avi15:04:56

Also I like how it’s flexible enough to run the workers in the same VM as the rest of an app (e.g. a Web app/server) or in one or more discrete/dedicated VMs. Very nice!

❤️ 3
msolli07:04:09

@U69US348Z Thanks! Yeah, I’ve put some effort into the documentation. It really helps with the design process too, writing down how it’s supposed to work. Hope it can be helpful to you in the future!

avi13:04:50

> It really helps with the design process too, writing down how it’s supposed to work. +1000000

danielsz13:04:14

Cool name

3
chrisn14:04:20

I have an example of using .dataset including reading/writing parquet with graal native.  I spent a bunch of time tracking down things that were making the build bigger/slower than necessary and reworked the parquet bindings so they would work with the latest parquet/hadoop ecosystem pieces.  The example parses a csv, does some calculations, and the saves/loads from parquet to make sure everything is good - https://github.com/cnuernber/ds-graal.

💯 9
🚀 24
👏 9
chrisn14:04:42

I should also say there getting that much working with the a full spark system perhaps not possible due to the fact that about 40% of the hadoop system finds it necessary to use reflection approximately every 10 lines 🙂.

😔 9
quoll16:04:50

Asami 2.0.0 has been released. Asami is a schema-less graph database for both Clojure and ClojureScript. Version 2.0.0 includes durable storage in Clojure. https://github.com/threatgrid/asami

🎉 130
👍 33
vlaaad16:04:34

Long ago, the four nations lived together in harmony...

👍 3
korra2 3
☮️ 3
quoll16:04:06

I think it’s interesting how we have different use cases. For instance, I wouldn’t use Asami for high speed small transactions (especially on disk!) but it’s good for querying

quoll16:04:00

Also, being schema-less can be far more convenient (e.g. you can just load arbitrary JSON into it, and it automatically turns it into a graph). But this has implications for upsert

quoll16:04:44

I just have to wonder… which project is the Fire Nation?

🚒 3
danielcompton19:04:00

Voting has started for Clojurists Together board members! If you’re a member, you should have a ballot by now. If you don't, get in touch! clojurists-together https://www.clojuriststogether.org/news/announcing-board-nominations/

👍 21
18
Adam Helins21:04:28

A peculiar hook for Shadow-CLJS: https://github.com/helins/coload.cljc It formalizes the act of "coloading". When working with CLJC files, this hook ensures they are loaded both as Clojurescript in your JS engine and Clojure on the JVM. Each such namespace exists in two universes, and both universes are kept in sync everytime something is changed. Why? Well, I'll release a novel CSS library soon which leverages this heavily 🙂

😮 18
👍 24