My Claude is happy to git restore and try a different approach when it walked itself into a corner ;)
HN user
olavfosse
https://olavfosse.no
Very cool!
What's the story for chunking PDFs?
We've been using Marker and handling markdown->chunks manually.
Does it work on other languages?
Can you invite me too? :^)
post@olavfosse.no
Emacs already let's you embed images in comments with iimage-mode
do people really consider this that much of a hassle
takes 1 minute to do
and no need to make/remember passwords with a password manager
people are always hating on the cursors, i think they're fun
people are always hating on the cursors, i think it's fun
Thanks for making this! It's very useful for solving CTF challenges :^)
It would be nice if Biff weren't dependent on various ad-hoc scripts (some in bash, others in babashka), since it means newcomers to Biff (and especially newcomers to Clojure in general) have to install a variety of tools without clear purpose.
I don't find this accurate. Biff is not dependent on any bash scripts at all. There is one(1) bash script, server-setup.sh, which you can run to configure a server. It's a 112loc script which installs dependencies, configures nginx, sets up a systemd service and git deploys. I don't call this a dependency since it's literally the exact same thing as running these commands by yourself. Once you've ran it, neither your server or development env depends on it in any way. It's just a handy way to set up a server.
As for the bb scripts, yes you need to install babashka to run them. I don't see how this is different from having to install lein to run luminus apps? clojure-cli is the defacto standard tool these days after all.. babashka's deps are declarativively defined in bb.edn, i don't find it accurate to describe as "moving pieces" .
like existing Clojure "frameworks", it still fails to feel like a Rails / Django / Laravel and feels more like "here is a project template with a bunch of decisions baked in for you".
"Strong defaults, weakly held."
Putting out fire with more fire works very well: https://en.m.wikipedia.org/wiki/Controlled_burn
Source? Anecdotally many people do. It's actually quite good imo considering the native GUI and features like hide-my-email.
unreadable on mobile is not sufficient
I'm very curious what your other components are and how you managed to fit 2 3090s in one PC.
As I and other have already said, it depends on the specific language. Some languages scope local variables at the function level (irrespective of {} or Begin End), and other languages scope local variables inside the containing {} or Begin and End block.
And some languages do either, depending on the keyword used to declare a variable. Looking at you JavaScript(var vs let).
I understand telling people to "just google it" or "read the fine manual" on support forums where the same repetitive questions are asked a million times, but on hacker news? Why? What is wrong with asking a question that is of interest to the average reader of this thread? What's wrong with conversation?
$ git commit --allow-empty -m ''
While it's correct that each Git commit is a snapshot of the worktree, and not a diff, Git uses copy-on-write / structural sharing, which means that generally speaking adding a commit to your repository is a very cheap operation storage wise.
Recommended reading if you're interested in Git's data model, it's pretty easy to understand compared to Git's UI: https://git-scm.com/book/en/v2/Git-Internals-Git-Objects