Readit News logoReadit News
Kototama commented on Clojure Land – Discover open-source Clojure libraries and frameworks   clojure.land/... · Posted by u/TheWiggles
germandiago · 2 months ago
As a person that is doubting for a backend project (web) between Clojure and Common Lisp, what would you recommend and why?

I think for ehat I saw that Clojure is very clean and there is a clear way to do things but I keep finding people saying that Common Lisp interactivity is super good and CLOS amazing.

So my main question would be:

  1. will this interactivity make a difference in my daily workflow? What I see is that clojure is anyway mostly stateless so fancy things like reload on the fly would not be very important...?
What other diffeerence would you say make a big experience difference.

I tried Python with NiceGUI recently and I was impressed byt I want to try a more functional-like and possible hot-patching in production could be also a feature I would make use of from time to time, instead of sapwning full deployments.

Any feedback from experienced practitioners is welcome.

Kototama · 2 months ago
If it's for a hobby project it can be fun to work with Common Lisp and see all the good things such an old language still has to offer and where it's still superior to more modern languages. You also don't need to deal with the JVM and will have nice stacktraces (Clojure stacktraces are a mix of Java land and Clojure land). However the ecosystem is very thin so you might have to implement more stuff yourself or being blocked on something (no asynchronous programming for example if you need a very high performance web application). It's not rare to search for a library and find that the last edit was 7 years ago. Maybe it works, maybe it does not, but it surely is not maintained.

The interactivity in Common Lisp is a bit better (navigate the stacktrace, debugger, object inspector etc) but the Clojure REPL is also very good and allow to change the code of your application live without recompiling the whole project. Clojure is a functional programming language, whereas CL is multi-paradigms so it's easier to deal with state in Clojure. The ecosystem of Clojure is much richer and you can always fallback on the endless Java ecosystem if something is missing.

Kototama commented on The Synology End Game   lowendbox.com/blog/they-u... · Posted by u/amacbride
articsputnik · 4 months ago
what would be an option to still do it locally? without sending it to the cloud? probably needs a good compression
Kototama · 4 months ago
You could have a big external USB drive and try a deduplicating backup software such as borg backup or restic.
Kototama commented on The Synology End Game   lowendbox.com/blog/they-u... · Posted by u/amacbride
kace91 · 4 months ago
My main issue with their system is how closed it is.

I got an issue where mind would randomly start writing disk like crazy and maxing cpu usage, to the point I was bothered by the noise. I’d stop all containers, leave it as close to idle as I could manage, still spiking.

There was no way I could learn what was causing it.

I would like to assume it was a disk maintenance process or something, but for all I know it could be mining bitcoin and I’d be none the wiser. It went on for some weeks then stopped.

Kototama · 4 months ago
You could activate the sshd service and log in to the NAS.
Kototama commented on The Synology End Game   lowendbox.com/blog/they-u... · Posted by u/amacbride
AndrewDucker · 4 months ago
I'm not seeing anything saying that you can't use third-party drives. Am I missing a blog post from Synology somewhere?
Kototama commented on The Synology End Game   lowendbox.com/blog/they-u... · Posted by u/amacbride
articsputnik · 4 months ago
I have one too, 2013 I guess. I just use it as storage (samba-drive I guess) connected to my mini-computer (hp800) that runs hp800. I do occasional backups via rsync. It works. I also store some images etc. that I don't use there. But I only run a RAID, so I don't have the NAS backuped as well. I still have them in my old macbook backups. But not sure how to properly solve that dilemma of backing up a very large multiple TBs NAS, as I can't afford many more disks and another server to run just for that. If you have any a simple solution, I'm all ear :)
Kototama · 4 months ago
You can use Synology Hyper Backup (or any cloud backup program) and an AWS S3 compatible provider, such as Backblaze.
Kototama commented on All Kindles can now be jailbroken   kindlemodding.org/jailbre... · Posted by u/lumerina
Lalabadie · 10 months ago
Mine would have longer and longer delays on each page turn when I started using it again last year. It's a 10+ years Paperwhite as well.

I jailbroke it and installed KOReader. Suddenly, no delays, great interface, wi-fi sync with Calibre. I might replace the battery one day, but it still lasts 2-3 books.

Kototama · 10 months ago
Books as a unit of time. Interesting :D.
Kototama commented on Software development topics I've changed my mind on   chriskiehl.com/article/th... · Posted by u/belter
Kototama · 10 months ago
> Typed languages are essential on teams with mixed experience levels

I like this one because it puts this endless dilemma in a human context. Most discussions are technical (static typing ease refactoring and safety, dynamic typing is easier to learn and better for interactive programming etc.) and ignore the users, the programmers.

Kototama commented on A better build system for OCaml   blog.janestreet.com/how-w... · Posted by u/gaws
wiseowise · a year ago
Dune is the single best name of a build system out there, nothing even comes close to.
Kototama · a year ago
Because software is built on shifting sands?
Kototama commented on Using Guile for Emacs   lwn.net/SubscriberLink/10... · Posted by u/todsacerdoti
rollcat · a year ago
I've been a "casual" Emacs user for 20ish years. I've never written a full-blown package, but went thru several cycles of init.el bankruptcy.

In my opinion and from my POV, Elisp is completely fine - no need to amend or replace it. The last thing I'd like is to mix yet another language into my config (already have to call out to shell and AppleScript).

Now I don't know how annoying Elisp is for package authors, or maybe there's a Guile/Scheme library somewhere out there that Emacs could desperately use.

The problems are IMHO elsewhere, and the main one is that Emacs feels antiquated next to literally any text editor conceived in the past 30+ years. The defaults are awful - most of my config is just fixing papercuts, like adding support for light/dark mode, finding a reasonable font and applying text size consistently, locating the correct LSP executable, or following platform conventions for copy/paste (all across Linux, OpenBSD, and macOS).

I would really like it if Magit was a standalone program, rather than an Emacs package, so that I could just switch to a more reasonable editor.

Kototama · a year ago
You can always make magit behave as a standalone program if you wish. For example https://github.com/gizmomogwai/magit
Kototama commented on A solution to The Onion problem of J. Kenji Lopez-Alt (2021)   medium.com/@drspoulsen/a-... · Posted by u/fanf2
CarVac · a year ago
I have them now, but's simpler to just avoid that one dangerous and unnecessary cut that proceeds towards my body instead. They taught that in Scouting, never cut towards yourself.
Kototama · a year ago
You need to cut in the direction of your body in some cases (for example when carving wood).

Two things to prevent injuries: a) never put any force if the material resists b) do it slowly.

u/Kototama

KarmaCake day1633November 24, 2008
About
Email: kototamo gmail com

Site: https://www.dialectical-computing.de/

GitHub: http://github.com/kototama/

View Original