Hello! This is another Friday Social topic. Hoping that this will be more insightful than the previous ones and we will learn something useful from this....
There are many things to like about Common Lisp packages. In everyday programming, I really like being able to define one or more packages in one file then just have a (in-package package-name) at the top of other files opposed to having sometimes hundreds of lines of imports. Some programming languages are worse than others,...
Isn’t this (in-package …) form just a namespace feature?
It is not only a namespace feature; it is first class. You can use find-package to fetch a package object and pass it around and manipulate. It looks like this can be done to some extent in C# as well.
For C# namespaces, exports carry over to different uses of the same namespace, but using statements go out of scope at the end of the current namespace use. That signals to me that imports are not related at all to namespaces. It seems that C++ acts similarly. From what I can tell Both C# and C++ allow for fully qualified names without any sort of import.
I have to agree with you about Rust: they goofed it up my trying to make too many rules about which libraries and symbols can be used in which places.
This is another Friday social topic. You are aimlessly wandering around a beautiful hilltop by a sea when an angel approaches you from the opposite direction. She is no ordinary angel. She is a Lisp angel! She will grant one Lisp wish to you. Before she can fulfill your wish, she needs this information from you:...
I had installed Guix with Mate as my DE but a big part of my desktop experience is having Plank as my dock. I don’t see it in the package list on the Guix website. Am I mistaken or is Plank not usable on Guix ? Any recomendations for alternatives ?
Instead of storing intersect-p as a variable and keeping it until the end of the loop, you can return early as soon as you find the first intersection.
Even though a hash table has better symtotic run time, you might find after benchmarking that the O(n^2) is faster for your use case. If you are set on using a hash table, you might consider setting the initial size to something a bit larger (relative to the input lists) to avoid having to dynamically grow the hash table.
I think also the return value of the inner loop is never used…
I personally like to keep my tests assertions top level so I can interactively run each one by itself.
You still own the code you release under GPL. the restriction you are describing is actually caused by the non-copyleft licences you claim to prefer. If you choose to use MIT, you are limiting which libraries you can use. If you had picked GPL to begin with, you can use any library.
Common Lisp. I basically only use SBCL. It has good introspection, restarts, and source analysis for debugging. I mainly write theoretical research code that doesn’t depend on calling into the JVM or C++ code. I do try to keep my code portable, so I will check with other implementations from time to time.
I use GNU Emacs and Sly (though I am thinking of trying Lem). I don’t use any structural editing outside of Emacs’ built in electric-pair-mode, show-paren-mode, and expand-region (not built in). I don’t even use rainbow delimiters anymore. I get all my Common Lisp dependencies from GNU Guix. It is very pleasant to use and is rolling release. In addition to Guix, I use cl-guix-utils, which adds live loading of dependencies quicklisp style.
I first learned Racket then Emacs Lisp (both in college). Emacs lisp was more pleasant due to its interactive and self documenting nature. I wanted to write real programs; Common Lisp looked and felt more like Emacs Lisp (but better). I started learning Common Lisp primarily with the “Lisp for the web” series. I was hooked. I learned more mainly through reading the hyperspec, studying other people source code and reading articles. I didn’t read any of the famous books until I recently read “Practical Common Lisp”. I already knew pretty much everything it had to offer. I wish I had read it sooner.
Meta post I’ve decided to make. I enjoyed the unixporn subreddit a lot when I used reddit more. I enjoy customizing my linux de as much as the next nerd....
What useful open source projects are written in Common Lisp?
Hello! This is another Friday Social topic. Hoping that this will be more insightful than the previous ones and we will learn something useful from this....
Fuck this. I am creating a new language. Some guy in 2006. (programming.dev)
48.4% of the projects on Guix are outdated (repology.org)
Appreciation for Common Lisp Packages
There are many things to like about Common Lisp packages. In everyday programming, I really like being able to define one or more packages in one file then just have a (in-package package-name) at the top of other files opposed to having sometimes hundreds of lines of imports. Some programming languages are worse than others,...
Enshittification of GitHub?
First, they restricted code search without logging in so I’m using sourcegraphBut now, I cant even view discussions or wiki without logging in....
What You're acc to your fav language (lemm.ee)
I didn't know where else to ask this, if there is another comm i should ask please lmk. Do you have any suggestions for wireless headphones i can use with linux?
Preferably a dongle, but Bluetooth is ok as well. what wireless headphones do you use? thanks for all suggestions!!!...
If there is one Lisp function/macro/feature that you would like to see in a non-Lisp language, which one would it be?
This is another Friday social topic. You are aimlessly wandering around a beautiful hilltop by a sea when an angel approaches you from the opposite direction. She is no ordinary angel. She is a Lisp angel! She will grant one Lisp wish to you. Before she can fulfill your wish, she needs this information from you:...
(Support) Nintendo Switch Joycons will not reconnect to PC unless paired again.
My Nintendo Switch joycons cannot reconnect on their own to my PC....
Any Way to Use Plank on Guix ?
I had installed Guix with Mate as my DE but a big part of my desktop experience is having Plank as my dock. I don’t see it in the package list on the Guix website. Am I mistaken or is Plank not usable on Guix ? Any recomendations for alternatives ?
'Climate-Friendly' Meat Is a Myth (time.com)
[CODE-REVIEW] Determine if given lists intersect
cross-posted from: lemmy.ml/post/4591838...
Proc macro sandboxing (lemmy.ml)
All other licenses are cuck licenses (lemmy.basedcount.com)
What does your Lisp development environment look like?
It’s Friday, so I though it would be nice to have a social topic here. So here’s a bunch of questions to stir up some discussions:...
Practical Variable-Arity Polymorphism (www2.ccs.neu.edu)
Hey, we should all really stop using racist slang to refer to customozation
Meta post I’ve decided to make. I enjoyed the unixporn subreddit a lot when I used reddit more. I enjoy customizing my linux de as much as the next nerd....