4ever-clojure
datascript
4ever-clojure | datascript | |
---|---|---|
17 | 25 | |
220 | 5,359 | |
- | - | |
4.1 | 7.7 | |
2 months ago | 9 days ago | |
Clojure | Clojure | |
- | Eclipse Public License 1.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
4ever-clojure
- Old but not rusty - Learning Clojure?
-
New to clojure, where to start?
I found this to be an awesome bridge between reading about the theory and actually writing code that works: https://4clojure.oxal.org/
-
Babashka Babooka: Write Command Line Clojure
This is for general Clojure, I’ve had a lot of fun and learned a lot from it (and the original): https://4clojure.oxal.org/
-
Change a variable inside cycle
It's normal to apply methodology like this to clojure when transitioning from other languages. When I was first learning I did a bunch of exercises on 4clojure and my first attempts looked like this. Then I found loop from the standard library and I understood immutability but relied on loop to do anything to collections of things. Eventually, after looking at the answers, I started to get familiar with the standard library. Then my solutions started to look like the two line solution above.
-
BTowersCoding/ctrain: do 4Clojure (RIP) exercises in the terminal
4Clojure is here now: https://4clojure.oxal.org/. It runs locally in your browser.
-
The best Clojure learning path
Go to https://4clojure.oxal.org/ and solve some stuff. And don't learn any theory. You're thinking how a C# developer thinks and you think you need to learn some kind of packages by heart or something.
-
Building a Startup on Clojure
I learned by reading through a book, then working through problems on https://4clojure.oxal.org/. If you've got JS experience it won't take too much effort to pick up. Don't get too carried away with forming the perfect tail recursive pure functional monad or whatever. Get into just doing what you're trying to do quickly, then after you're competent, read other people's code to correct your style.
-
learning Clojure
I'm only a couple months into learning Clojure too, but I found solving a problem myself and then seeing others solutions on this website https://4clojure.oxal.org/ was invaluable for learning to think like a clojurist.
-
Anything like 4clojure for Haskell?
I'm trying to learn Haskell and found https://4clojure.oxal.org/ very helpful. https://tryhaskell.org/ was also nice, but it is limited in scope as compared to its Clojure equivalent.
-
'Interactive Problems' section in the side bar contains a bad link to '4clojure.'
The actual address is https://4clojure.oxal.org/
datascript
- Datascript: Immutable database and Datalog query engine
-
Datalog in 100 lines of JavaScript (2022)
Hi pests, I don't think the criticism in the comments gives a full picture.
I wrote about a particular flavor of datalog, in common use today. [1] [2]. The earliest representation I know, which matches the syntax of my essay, was in SICP [3]
There's another, more academic form of datalog, which looks a lot more like prolog. Both have lots of similarities: both systems have a set of facts and rules. Both systems have can take a partially filled fact or rule, and find all matching facts. The more academic flavors of Datalog are useful for general logic, and particularly powerful for recursive questions. The variant I showed is more tailed for database queries.
[1] https://github.com/tonsky/datascript
-
XTDB on Mobile Possible?
There is also datascript as a similar option.
- FoundationDB: A Distributed Key-Value Store
-
wotbrew/relic: FRP for Clojure(Script)
What's the use case for relic? Sounds similar to https://github.com/tonsky/datascript ?
- Introduction to Datalog
- Clojure Turns 15 panel discussion video
-
Show HN: Cozo – new Graph DB with Datalog, embedded like SQLite, written in Rust
This look nice !
Datascript seems to be another Datalog engine (in memory only)
https://github.com/tonsky/datascript
-
Ergonomic inline SQL as a Python library
Inspired by past work: LINQ, inline-python, crepe, DataScript, Riffle.
-
Working with large maps
An in-memory database like Datascript may be worth looking into. Otherwise you could take an indexing approach: put all the data into one big map indexed by some unique key, and have a bunch of supplementary indexes that are updated on insertion.
What are some alternatives?
rich4clojure - Practice Clojure using Interactive Programming in your editor
asami - A graph store for Clojure and ClojureScript
reagent - A minimalistic ClojureScript interface to React.js
datahike - A durable Datalog implementation adaptable for distribution.
logseq - A local-first, non-linear, outliner notebook for organizing and sharing your personal knowledge base. Use it to organize your todo list, to write your journals, or to record your unique life.
datalevin - A simple, fast and versatile Datalog database
clojure-by-example - An introduction to Clojure, for programmers who are new to Clojure.
10000-markdown-files - 10,000 markdown files. Useful for stress testing note-taking tools.
ultralisp - The software behind a Ultralisp.org Common Lisp repository
xtdb - An immutable database for application development and time-travel data compliance, with SQL and XTQL. Developed by @juxt
shadow-cljs - ClojureScript compilation made easy
Apache AGE - Graph database optimized for fast analysis and real-time data processing. It is provided as an extension to PostgreSQL. [Moved to: https://github.com/apache/age]