"The focus of my research is applying #fp, in particular #chez#scheme, to low-level problems — the type of situations that usually call for #rust or #c"
— highly recommended talk on programming with serialized data from @vollmerm @ #ELSconf
I'm playing with #python just now (never done anything serious in it) and I had setup my #java environment recently as well (playing with different options for a linux/windows GUI that didn't need different code for each).
I saw a language speed comparison chart that listed a formula used to calculate Pi to a given accuracy. It showed a 10x difference in speed in favor of Java.
As a little end of work day jolly I thought I'd recreate that on my local machine and see.
I wasn't familiar with the formula so I used #chatgpt to get the formula. That took some clarification to get the correct formula out, but it got there in the end ( -1 to the power and not -1 times).
I wrote the Python version first, and then wrote the same thing in Java.
Running the test I came up with a 5x difference in Javas favor (24s for Python, 5s for Java).
"I don't know if any of you have really seriously dived into #DeepLearning, but it is a truly massive and unwieldy zoo of extremely abstract, seemingly tailored concepts that appears almost impossible to get to the bottom of. There is certainly no foundational, theoretical treatment of the field that would allow for it to be approached with the sort of global understanding with which we treat programming languages... so that that is what I want to expose in the book, how can build up this tower of abstractions from nothing but the simplest functions, elucidating what has been obscured in the production process."
— Anurag Mendhekar on his new book with Dan Friedman, the 800 page tour de force The Little Learner
I've been giving #fish a try on a periodic basis every 6 months or so.
The pattern is always the same: I read an amazing article on how fish makes feature X easier/fancier than bash/zsh, I install it again, I spend half a day trying to export my two decades of bash/zsh customizations, and eventually I just give up overwhelmed by the amount of required work.
Fish is a great shell, but I don't know why they decided to go all the way and completely break the compatibility with anything that POSIX has produced over the past four decades.
I won't rewrite all of my shell functions, aliases, if statements, for loops, string concatenations, and/or conditions and environment variables to comply with a shell that is only compliant with itself, sorry. And I don't know why they decided to go the nuclear way and break compatibility so hard where they could have at least guaranteed a back-compatibility layer with (at least) zsh. Reinventing the whole wheel to make it look exactly the way you want, while disregarding compatibility with everything that already exists, is probably the biggest violation of the UNIX philosophy.
@blacklight@DrHyde@tyil The #JargonFile started being passed around and accumulating entries through the 1970s at #Stanford, #MIT, #CarnegieMellon, Bolt Beranek and Newman, and other pre-Internet computing centers. Some terms date back to the late 1950s MIT Tech Model Railroad Club, a very early progenitor of #hacker culture.
Richard Gabriel's "Worse Is Better" (1991) is always worth a re-visit.
It's a fairly succinct and technical reflection on why worse design design decisions often win. It also encapsulates why we're all using Unix and Windows running C code rather than more advanced and elegant #Lisp machines.
I'm a wierdo. I don't have a problem with that. And yes, I think that most of us who discover #Lisp and fall deeply in love with it are weirdos.
You only need to look at a fern, or a cloud, or a tree, or a human hand, or water curling in vortices off a rock, to know that God is a wierdo too: the universe is written in recursive functions.
@schmudde@evanwolf "Lisp, face it, is used for advanced research and development in AI and other esoteric areas. It has weird syntax, and almost all other computer languages share a non-Lispy syntax. Syntax, folks, is religion, and Lisp is the wrong one. Lisp is used by weirdos who do weirdo science."
that's extremely dogmatic (literally so), for someone who is attacking someone else for being dogmatic. otherwise i was finding it ok.
We are 1 month away from the next Lisp Game Jam! Make a dating sim in Emacs Lisp. Or make a Souls-like in Chicken Scheme (aka Chicken Scheme for the Souls.) Or make a kart racer in Fennel. Or make a post-apocalyptic action platformer in Common Lisp. Or make a roguelike in Racket. Or make a farming sim in Guile. Or make a strand type game in Clojure.
In this update on Stringscope, my string listing tool in Interlisp, I summarized my work on implementing the first menu commands Sort, Reset, and Exit:
#Lisp(s) are the only programming environments that enable a prototype-to-production development cycle for non-trivial projects in a way that is predictable.
G-exps, derivations, creating your own file-like objects and much more. Another great post from unmatched-paren. If you into #guix, I highly recommend this series for better understanding of internals.
Two tools of the Medley Interlisp development environment, the Masterscope Lisp code analyzer and the grapher showing the call graph of a function of my program Stringscope, along with the source of and additional information on a called function. Interlisp Online session on my Chromebox.
Did you know there's an #interlisp IRC channel at Libera.Chat? It's usually pretty quiet but feel free to ask questions, share your Interlisp projects, or start discussions.