News for hackers. Stuff that matters.
Re:Fleck: A Lisp that runs wherever Bash is by 75dvtwin on Friday November 29, 2019 @07:56PM (#21667787)
Speculating here... but in my reading:

Fleck does not require a compiled executable to be installed.

As long as you have bash Fleck will work. For scsh you have to have to install platform specific executable. If it is available in a particular distro, perhaps it is not that bad.

I write, these days, a lot of Ansible installation tools For Multiple versions of (and almost bare) linux, freebsd, openbsd (and hopefully at some point for DragonFlyBSD).

Today, I have to write shell-specific scripts to do application-centric process management, application-centric backup preparation steps, health monitors, smoke tests and so on.

To minimize my work, I instruct Ansible to preinstall bash everywhere... and then I run the bash scripts.

But writing bash scripts is, well,... unsettling (hard to get used to primitive return values, lack of normal enumerated parameter passing and so on)

With Fleck (at least this is my reading), I will be able to install Fleck via Ansible and then write all the scripts in Scheme (which I much prefer compared to bash, zsh or anything else).

I guess, if, in the future, Fleck will help me to avoid worrying about Powershell, kornshell and so on -- I would be delighted.

Sort of like shell-vm on top of base shells :-)

Re:Fleck: A Lisp that runs wherever Bash is by aasasd on Saturday November 30, 2019 @03:14AM (#21669097)
> I instruct Ansible to preinstall bash everywhere... and then I run the bash scripts

Wait a minute. I may be mistaken, but I thought Ansible needed Python on the managed machines, to run some of the modules. Afaik it uploads some Python code via ssh before doing the work proper.

Re:Fleck: A Lisp that runs wherever Bash is by capableweb on Saturday November 30, 2019 @08:10AM (#21669798)
I'm pretty sure Ansible doesn't _require_ python on the target machine as I've run Ansible before with servers that didn't have python on them.
Re:Fleck: A Lisp that runs wherever Bash is by aasasd on Saturday November 30, 2019 @08:19AM (#21669834)
Ah, yes, the ‘raw’ and ‘script’ modules can work without Python, so I guess this makes 75dvtwin's workflow possible.

(https://docs.ansible.com/ansible/latest/installation_guide/i...)

Re:Fleck: A Lisp that runs wherever Bash is by johncowan on Saturday November 30, 2019 @04:25PM (#21672235)
Portability of Scheme code between implementations is still difficult (I'm working on it), but the portability of Scheme implementations is usually good, and the Scheme48 interpreter on which scsh runs will go anywhere Posixy without problems. There's a Windows port, but of course scsh won't work on top of it.
Re:Fleck: A Lisp that runs wherever Bash is by coding123 on Friday November 29, 2019 @11:13PM (#21668466)
Thanks - it was hard to understand the need for Fleck on the fleck website. But your post succinctly explains it.
Re:Fleck: A Lisp that runs wherever Bash is by vasili111 on Friday November 29, 2019 @11:21PM (#21668495)
offtopic

>hopefully at some point for DragonFlyBSD

What advantage of DragonFlyBSD you see today over other OSs?

Re:Fleck: A Lisp that runs wherever Bash is by 75dvtwin on Saturday November 30, 2019 @09:21PM (#21673395)
We are at very early stages, figuring out if we can use Hammer2 file system as content addressable storage system.

Our needs are such, that writes are relatively rare, and go into one cluster, while reads of our blobs, need to go to geographically distributed nodes, whose disk topology is different (less capable) than that of a muster, plus they have somewhat-unreliable connectivity to the master.

So Hammer's network-problems-tolerant streaming replication and offline de-duplication is attractive, at least conceptually.