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
@kslvsunil purge works fine for me in CLJS, for both hiccup notations
with the default setup from tailwind docs; IIRC itโs only triggered on release build, so beware to check bundle size diff against that
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?
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
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
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.
there is this example configuration for tailwind jit with shadow: https://github.com/jacekschae/shadow-cljs-tailwindcss
Thanks a lot, will check this one out ๐
Very cool stuff! Is there any reason why this needs to be an online hosted server, rather than a downloadable local database of error messages? I'd imagine it's just useful for now to community outsource types of exceptions/error patterns etc., but to actually have people use this tool in more serious environments it should probably be entirely offline.
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
Looks really cool! I made an attempt at something very similar a while back https://github.com/lukaszkorecki/taskmaster
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.
@msolli Kudos on the clear and comprehensive docs. Takes a lot of effort, and well worth it.
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!
@aviflax 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!
> It really helps with the design process too, writing down how itโs supposed to work. +1000000
Cool name
I have an example of using <http://tech.ml|tech.ml>.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.
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 ๐.
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
Long ago, the four nations lived together in harmony...
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
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
I just have to wonderโฆ which project is the Fire Nation?
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/
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 ๐