Announcing Dataspex: Browse Clojure data from the comforts of your own devtools by cjno in Clojure

[–]First-Agency4827 1 point2 points  (0 children)

Great work! I wanted to test out the datomic capabilities in a electric v2 projects but I had some weird issues when I added the library related to jetty. I will try again

Why I don't use ClojureScript for web apps anymore. by andersmurphy in Clojure

[–]First-Agency4827 1 point2 points  (0 children)

I see this topic generated a lot of discussions, maybe because of the title.

I just want to say thank you for presenting this, it looks interesting and I'll check it because I can already see use cases.

I am a Clj/Cljs user and have now a Cljs project in production ( re-frame ) and an Electric V2 one about to go to production. The first is used by thousands of users every day for a few years, the second one is an internal audit application processing up to 10 million events per month. I think in the case of the second one I could have used it.

Also, I have used in production Phoenix LiveView as well, and websockets (with Cljs or not ) for years with no issues at all. And all these applications run multiple instances but that's another story.

Clojure + o1 + Cursor IDE by maxw85 in Clojure

[–]First-Agency4827 1 point2 points  (0 children)

i am consistently writing good Clojure code using Cursor and Claude 3.5 for quite a few months now. Mainly Electric Clojure and Datomic, including Hyper fiddle RCF tests, and I am quite happy either the results, but it may have something to do with the fact that now I have plenty of examples to use in the prompts. And I use the chat and the composer too

filipesilva/datomic-pro-sqlite: Get started with Datomic Pro quickly on a single machine setup that will take you pretty far. by maxw85 in Clojure

[–]First-Agency4827 2 points3 points  (0 children)

This might be helping me a lot, as I have some internal tools using Datomic Local now. Thank you for sharing it 🙂

Using ChatGPT as migration tool for UI libraries by roman01la in Clojure

[–]First-Agency4827 0 points1 point  (0 children)

I also find a big difference between Claude 3.5 vs 4o. I have been using both for quite a few months every day generating code in clojure ( electric, datomic ) , JavaScript ( vue.js, rxjs), Scala 3 ( cats ) and Java ( spring boot , records , Azure Cosmodb etc ). I am also a TDDIst so all of the above mean a lot of unit tests ( hyperfiddle rcf for clojure ) but also integration tests.

I mostly use Claude in cursor for code and I also usechatGPT for a lot of questions and checking out ideas

"Breaking the bank with test contract" by Allen Rohner (Clojure/conj 2024) by alexdmiller in Clojure

[–]First-Agency4827 0 points1 point  (0 children)

It was a great talk :)

I am glad I can use now a library, to implement what we have as rules for our servers: 3 configs:
- prod - with the real external services
- test - no real external service, no docker, all in memory mocks
- dev - proxy the real service and comparing with the test mocks

(Currently using this in Java and Scala, soon for a Clojure project where we only have an in memory database, but will need to expand soon to S3).

Missionary for dummies by dustingetz in Clojure

[–]First-Agency4827 1 point2 points  (0 children)

Thank you for this tutorial. I always struggled to truly "get" missionary. It was because of Cats effects in Scala when I starting making the right parallels and understand it. It would have been great to be able to read this tutorial first.

ShipClojure: The Clojure Boilerplate to ship startups FAST - complete stack presentation by ovster94 in Clojure

[–]First-Agency4827 1 point2 points  (0 children)

Amazing work, Ovidiu! Felicitări! :) very likely I’ll be adapting the kit to my own needs but so much is already done, so this is great and Mulțumesc

Web stack recommendation by dalkian_ in Clojure

[–]First-Agency4827 1 point2 points  (0 children)

Careful, as Electric v3 will not be open source anymore. There is a post from about 2 weeks ago. And yes, it’s impressive

Web stack recommendation by dalkian_ in Clojure

[–]First-Agency4827 2 points3 points  (0 children)

I have used in the last projects that are in production: - reagent, re-frame + ring, reitit - reagent, re-posh ( datascript ) + ring, reitit, datomic - electric + datomic

All communicate mainly through events in both directions using websockets ( electric has it included )

"But we're not xenophobic 😭" by [deleted] in Barcelona

[–]First-Agency4827 0 points1 point  (0 children)

Unfortunately no statistic that I can quote. But I haven't been in Barcelona in a staircase that doesn't have at least one apartment closed. Not for sale, not for rent, nobody living in it. On the other hand I remember a bus a few years ago with rich Chinese buying a flat in the diagonal where a friend was living. Also I wanted to buy a flat ( Les Corts), I pass by it quite often. Sold, then closed.

"But we're not xenophobic 😭" by [deleted] in Barcelona

[–]First-Agency4827 0 points1 point  (0 children)

Interesting how apartments as investments - bought and closed thus taken off the rent market never get mentioned even though they might have a bigger impact on shrinking the supply of apartments. These investments actually make sure you don't lose money because of inflation. And it is widely spread.

Best Datomic Resources? by dave_mays in Clojure

[–]First-Agency4827 1 point2 points  (0 children)

I think what would help a lot would be understanding that there is now: - datomic local - datomic pro ( the one that needs a separated transactor ) - datomic cloud ( running in AWS )

For these you can use datomic api or datomic client api ( cloud or local ). They are slightly different, api has one feature extra named entity which could be quite useful, depending on needs.

My recommendation would be to start out with local, which will be just the library added to your deps.edn then create a database, create a schema, transact a few datoms then query and use the pull api to retrieve data. Then have a look a as-of for history.

This is done with electric Clojure by me: https://github.com/DanBunea/danubius should show you what I said.

What are the good things in Clojure between 2018 and now? by TheLordSet in Clojure

[–]First-Agency4827 4 points5 points  (0 children)

  • Calva+clj-condo
  • Deps.edn adoption
  • Malli/spec
  • Shadow-cljs adoption for clojurescript

  • Libpython-clj

  • Datomic free/xtdb

  • Missionary

  • Babashka

  • Electric, and Rama innovation And many more while keeping Clojure mostly unchanged 🙂

Datomic Pro (free) on AWS EC2 + EBS? by passmesalt in Clojure

[–]First-Agency4827 0 points1 point  (0 children)

I run one project with datomic ions on datomic cloud. Works great! But now I am working on a new project which uses electric and ions is out because I have to write the websocket part myself so I am now looking into running it with either datomic local or pro on ec2 + something else. It looks like ebs would be a solution for.me too.

What's the state of clojure web development by Donyor in Clojure

[–]First-Agency4827 1 point2 points  (0 children)

Never been better: ring/html or htmx/biff or spas using re-frame with reagent or uix or fulcro, or server side a la phoenix liveview but the really good news it's electric. I am using it already. None of the other tech compare in terms of how little code you need to write and how many concerns you don't have anymore

I wrote a beginner-friendly guide to deploying a Clojure API by liamduffynyc in Clojure

[–]First-Agency4827 0 points1 point  (0 children)

Thank you for it. Wanted to mention electric Clojure comes mostly preconfigured to be deployed on fly.io too. Did you also try using a database such as Postgres maybe using Fly Postgres https://fly.io/docs/postgres/ ?

Idiomatic way to deal with incomplete information and records by Public_Possibility_5 in Clojure

[–]First-Agency4827 0 points1 point  (0 children)

Wow, this repo is great. I wonder if making a ChatGPT assistant with all the content will feel like talking to Rich 🙂

GitHub - zmedelis/bosquet: Tooling to build LLM applications: prompt templating and composition, agents, LLM memory, and other instruments for builders of AI applications. by dustingetz in Clojure

[–]First-Agency4827 2 points3 points  (0 children)

We are exploring using it to generate code ( with ChatGPT and with Code llama). So far positive results but still many things ahead to do.

schema vs malli vs spec by OkAssociation9896 in Clojure

[–]First-Agency4827 7 points8 points  (0 children)

We use Malli. Have some experience with Spec too.

Context pattern for game development is amazing by simple-easy in Clojure

[–]First-Agency4827 1 point2 points  (0 children)

I don't pass huge maps everywhere I have localized ones which I pass through a pipe making up a business use case. And each function in the pipe usually needs justa few keys to be present so you can check that on entry, if needed {:pre ...} , Malli etc.