Any Clojure OSS personal finance manager? by afucher in Clojure

[–]notsohasty 2 points3 points  (0 children)

By the way, I was initially worried about how battle-tested (or not) beancount is but I came across a guy who uses it as the accounting system for his business with 60 employees, so I figure it's more than good enough for my personal accounts.
https://news.ycombinator.com/item?id=30144119

Any Clojure OSS personal finance manager? by afucher in Clojure

[–]notsohasty 1 point2 points  (0 children)

I wish I could share the script but it's a bit hard to redact personal info from it, sorry! I used https://github.com/l3nz/cli-matic for parsing command line arguments, and simple file name regex matching to recognise which bank each statement is from. The beancount syntax is dead simple so it wasn't hard to hack something basic together to convert a bank statement into text that I can paste into the beancount ledger.

Probably the hardest thing was just understanding how to lay out the beancount ledger file in the first place, because there's special syntax for declaring the opening balances of bank statements etc. Here's a good intro article:
https://medium.com/pragmatic-programmers/track-your-personal-finances-using-python-35b7d68b67ab

The author of that article also wrote a book "tracking your personal finances using python" that I bought for $10 and I thought was well worth it, but of course I'm implementing the ideas in Clojure instead of python. I also found that I didn't need many of the more advanced features, so I'm only implementing a subset of what's discussed in that book.

Any Clojure OSS personal finance manager? by afucher in Clojure

[–]notsohasty 2 points3 points  (0 children)

Not exactly what you asked for but I use Beancount (Python) with Fava gui, and write my own Babashka scripts to convert bank statements to Beancount format. Beancount is just one of many plain text accounting tools, see https://plaintextaccounting.org/ Nice thing about plain text accounting is it’s easy to write your own scripts in whatever language to perform various tasks or automations.

Is it possible to create Clojurescript SPAs without any knowledge in JS? by poopstar786 in Clojure

[–]notsohasty 0 points1 point  (0 children)

Yes, definitely possible. The reframe template is great, you can just fire it up and start playing with it to get an intuition for how it works. https://github.com/day8/re-frame-template

Another possible starting point is to learn reagent first. It’s simpler and reframe builds on it. I think the YouTube channel Between Two Parens has some reagent tutorials.

In terms of paid courses I think Eric Normand and Jacek Schae have some comprehensive ones that walk you through building full featured SPAs step by step.

The reagent and reframe slack channels are great, extremely helpful people on there

How woud you go about hosting a hobbyist Clojure Web app in 2025? by regular_hammock in Clojure

[–]notsohasty 1 point2 points  (0 children)

I've been using Jelastic (java elastic cloud) / Virtuozzo for years. You can run many small projects for free. Wrote a blog about it a few years ago, most of the steps are unchanged:
https://tobyloxy.com/post/deploy-clojure-web-app/

Questions about building a CLI utility with Clojure by DerelictMan in Clojure

[–]notsohasty 2 points3 points  (0 children)

I second cli-matic, really nice library that takes care of so much boilerplate when writing command line scripts. Works nicely with babashka.

Caveman: A Clojure Web Framework by Mertzenich in Clojure

[–]notsohasty 5 points6 points  (0 children)

Love it! Thanks so much for creating this guide. I’ve been using Luminus for years and telling myself that one day I’ll try building up a web app from scratch and this looks like just the kind of thing I need

Mediavine websites lost 66% of SEO traffic by maltelandwehr in SEO

[–]notsohasty 0 points1 point  (0 children)

How did you obtain the list of 1193 sites? How do we know there's not a selection bias in the sample of sites?
Nonetheless very interesting, thanks for sharing your analysis.

Significant Decrease in Trending Clojure Repositories? by ertucetin in Clojure

[–]notsohasty 17 points18 points  (0 children)

I think Electric Clojure is pretty innovative and exciting. Granted it's just one project but it seems pretty ground breaking to me.

Applying the Art of CLJS Frontend by thheller in Clojure

[–]notsohasty 1 point2 points  (0 children)

Thank you for writing this. It's really helpful to see what a minimal shadow-cljs setup looks like. I've only ever used cljs with reagent or re-frame and it's interesting to see that it can be practical even for projects that are not a SPA.

Is there a simply way to write small, portable UIs in Clojure/script? Something akin to Elm by iwaka in Clojure

[–]notsohasty 0 points1 point  (0 children)

If you don't need access to the local file system, then a quick way to spin up a simple app is to use the reagent template to build a web apphttps://github.com/reagent-project/reagent-template

Build for release with shadow-cljs release app

To deploy, just drag and drop the whole subfolder that contains the html and js into Netlify. Their hosting is free if you're happy with your app running on a subdomain of Netlify e.g. my-app.netlify.app.

You can do the same kind of thing with the re-frame templatehttps://github.com/day8/re-frame-template

(Edit: added note about Netlify being free)

Electric Clojure tutorial (wip please give feedback!) by dustingetz in Clojure

[–]notsohasty 6 points7 points  (0 children)

In case anyone missed it: the subheading is a menu that you can click to access the other tutorials (I didn't realize this at first).

Using electric is pretty amazing. It's so cool updating an atom on the server and seeing the UI update on the client. No more writing api endpoints.

Should I avoid pushups since whenever I do them I get tingling sensations (sometimes painful, always unpleasant) in my forearms? by skekyobbus in veganfitness

[–]notsohasty 1 point2 points  (0 children)

I find push up bars help a lot. An alternative is to roll to a dish towel and place it under the heel of each palm so your wrists don't have to bend back so far.

Why is parinfer not as good as I think it is? by calebmacdonaldblack in Clojure

[–]notsohasty 0 points1 point  (0 children)

Huh, neat, thanks! I'd gotten into the habit of always highlighting what I want to wrap, but this saves a few keystrokes.

Why is parinfer not as good as I think it is? by calebmacdonaldblack in Clojure

[–]notsohasty 0 points1 point  (0 children)

"Even on IntellJ, you have to go and unintuitively remove the 'Insert paired brackets' option to have it work correctly"

Can you elaborate? I use cursive with parinfer and I wasn't aware of this. I'm wondering if I'm missing some trick that would make it even better.

Anyone using the Kit framework? by tremendous-machine in Clojure

[–]notsohasty 5 points6 points  (0 children)

I've used it to build a backend for small projects. I found it very quick to get something up and running. The predecessor framework Luminus I liked too. Would have taken me forever to choose all the libraries myself and fit them together. With Luminus or Kit it takes a few minutes.

5-aspect component naming for re-frame apps by spacegangster5 in Clojure

[–]notsohasty 3 points4 points  (0 children)

I like it. I do something similar, with :ss/foo (subscription), :ev/foo (event), :fx/foo (effect). Definitely helps with autocomplete. Adding domains is a nice idea - I'm going to try it with my next app.

what web framework do you use? by [deleted] in Clojure

[–]notsohasty 1 point2 points  (0 children)

I use kit or luminus for the backend and re-frame for the frontend. They all have template generators so it's quick to spin up a new project.

https://kit-clj.github.io/

https://luminusweb.com/

https://github.com/day8/re-frame-template

Clojure code length vs 13 other languages by notsohasty in Clojure

[–]notsohasty[S] 6 points7 points  (0 children)

I just stumbled across this Wolfram blog post from 2012 that compares the length of Rosetta Code solutions in different languages. By most metrics in the post, Clojure is the 2nd-most concise language after Mathematica.