2.5x better performance: Rama vs. MongoDB and Cassandra
Planet Clojure
by Nathan Marz
3h ago
We ran a number of benchmarks comparing Rama against the latest stable versions of MongoDB and Cassandra. The code for these benchmarks is available on Github. Rama’s indexes (called PStates) can reproduce any database’s data model since each PState is an arbitrary combination of durable data structures of any size. We chose to do our initial benchmarks against MongoDB and Cassandra because they’re widely used and like Rama, they’re horizontally scalable. In the future we’ll also benchmark against other databases of different data models. There are some critical differences between these syst ..read more
Visit website
Clojure 1.11.3
Planet Clojure
by Clojure.org
3h ago
Clojure 1.11.3 is now available. CLJ-2843 - Reflective calls to Java methods that take primitive long or double now work when passed a narrower boxed number at runtime (Integer, Short, Byte, Float). Previously, these methods were not matched during reflection and an error was thrown. Java 21 added an overload to the method Thread/sleep in the 1-arity. When upgrading to Java 21, existing Clojure calls to Thread/sleep become reflective, but continue to work. As usual, you can detect reflection with *warn-on-reflection* and address with a type hint (here, ^long) to choose the desired ove ..read more
Visit website
Transducers and Eduction in Clojure simply explained
Planet Clojure
by Magne
1d ago
With help from our coming AI overlords: Transducers and eduction in Clojure are ways to efficiently process and transform data, especially when working with large datasets. Here's a simple explanation: Transducers: Transducers are functions that can be composed together to create a sequence of transformations. They allow you to define a series of operations (like mapping, filtering, etc.) that can be applied to any collection of data, without having to worry about the specific data structure. Transducers are "context-independent" - they don't care about the input or output data structures, th ..read more
Visit website
The Value of Values
Planet Clojure
by Eric Normand
1d ago
Leadership and courage ..read more
Visit website
How to Become a Software Engineer ?
Planet Clojure
by Avinash Singh
2d ago
Want to become a software engineer? But why? What is the need? Haven't you decided yet? If not then you need to decide it first! Maybe you want to become a software engineer because of your curiosity from childhood about how computers work, or because you want to earn lots of money and want to build a good reputation in the tech industry. If none of the above reasons apply, and you want to become a software engineer because you don't know what to do and someone suggested it to you, then you need to rethink. Because the journey of software engineering will not be easy, it's important to be clea ..read more
Visit website
53: Clojure LSP with Eric Dallo
Planet Clojure
by Daniel Compton
2d ago
Eric Dallo talks about the LSP protocol, and Clojure LSP. Sorry about the audio quality on this recording, I missed that I was using my MacBook Microphone instead of my podcast microphone. Clojure LSP Langserver.org lsp-mode clj-kondo analysis data clojure-lsp-intellij ..read more
Visit website
Crafting Synthetic Marvels: Clojure, Python and AI’s Synergistic Dance
Planet Clojure
by Khatia Tchitchinadze
3d ago
The post Crafting Synthetic Marvels: Clojure, Python and AI’s Synergistic Dance appeared first on Flexiana ..read more
Visit website
Keeping the :argslist of Clojure functions DRY
Planet Clojure
by Agical
3d ago
The problem: I had a case where I had several “pairs” of functions that shared their interface and I want to type as little as possible and don’t want to have to remember to keep their argument lists and doc strings in sync. The functions return SVG and the interface is a configuration map. One of the functions in a pair returns Hiccup, because that’s what I need for the components rendering the SVG. Read this ..read more
Visit website
Clojure in Collaboration: Whimsical
Planet Clojure
by JUXT Ltd
3d ago
Bridging remote work challenges with Whimsical's Clojure-based tools ..read more
Visit website
Clojure Goodness: Pretty Printing Collection Of Maps #Clojure
Planet Clojure
by mrhaki
3d ago
The namespace clojure.pprint has some useful function to pretty print different data structures. The function print-table is particularly useful for printing a collection of maps, where each map represents a row in the table, and the keys of the maps represent the column headers. The print-table function accepts the collection as argument and prints the table to the console (or any writer that is bound to the *out* var). We can also pass a vector with the keys we want to include in the table. Only the keys we specify are in the output. The order of the keys in the vector we pass as argument i ..read more
Visit website

Follow Planet Clojure on FeedSpot

Continue with Google
Continue with Apple
OR