opensource Open Source Is there any closed source android app that you wish had a good open source alternative?
Jump
lisp Lisp Community What were some of your first technologies/tools?
Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCH
    charje
    4 months ago 100%
    1. Some Dell that belonged to the school
    2. JCreator
    3. Java
    4. about 5
    5. Racket
    6. Emacs 7.Haskell & Common Lisp
    7. Common Lisp
    1
  • lisp Lisp Community Štar: an iteration construct for Common Lisp
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCH
    charje
    4 months ago 100%

    It is fun to make a cl:loop replacement. It is definitely overdone though. Lately I have been using https://git.sr.ht/~charje/loop to much enjoyment.

    1
  • commonlisp Common Lisp Is there any Common Lisp implementation on Web Assembly?
    Jump
    programmerhumor Programmer Humor Fuck this. I am creating a new language. Some guy in 2006.
    Jump
    guix Guix 48.4% of the projects on Guix are outdated
    Jump
    lisp Lisp Community Appreciation for Common Lisp Packages
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCH
    charje
    8 months ago 100%

    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.

    3
  • lisp
    Lisp Community charje 8 months ago 100%
    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, but no other programming language that I know of allows one to keep imports in a totally different file. The real point of this post is to talk about a specific scenario that reveals in interesting interaction between asdf systems (libraries), symbols, and macros. A conversation about packages almost always involves talking about symbols. Here is the situation: there is a library, A, that implements some very useful computations. The public interface for the library is a combination of macros and functions. It is rather verbose though, so you want to wrap it in a macro and create a new library: B. You want the users of your library to only have to use your library and not have to worry about depending directly on library A, so you want to re-export some of the symbols from library A so the users of your library can just use those symbols exported from your library. If you don't see a problem with this then congratulations: you are sane. This relies on just a couple features: - feature of asdf: orthogonal to packages meaning that one can use a symbol from any package without having to explicitly load the system. If a package is loaded, it's symbols can be used. - feature of packages: symbols in a package can be referred to by their full name (`package-name:symbol-name`) anywhere in anyone's program. It does not matter if they have the symbol imported into their package. It does not matter if they have a package local nickname. It does not matter that they have a different symbol interned with the same `symbol-name`. - macros do not have any feature of their own that make this possible, but because of the previously mentioned features, using a symbol from another library in a macro expansion works just fine. As an added benefit, you cannot expand to symbol from a package that is not exported or from a non-existent package because the reader (which happens before macro expansion, even before macro definition) makes sure all the symbols are accounted for. I witnessed someone in almost this exact situation. They were using Rust. The problem happened when someone tried to use the macro from library A that had been re-exported from library B. The macro expanded to use some symbols that were qualified assuming that the user had already imported them from library A. However, the user imported from library B. The work around ended up being to not re-export and just tell the user via documentation that they have to explicitly depend on library A, and use their macro. That is the story. Let me know what you think, and tell me about a time that you were grateful for the way Common Lisp handles packages and symbols.

    18
    3
    lisp Lisp Community If there is one Lisp function/macro/feature that you would like to see in a non-Lisp language, which one would it be?
    Jump
    linux Linux 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?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCH
    charje
    9 months ago 100%

    Does anyone have experience with the pine buds pro? I'm especially curious about the microphone.

    1
  • lisp Lisp Community If there is one Lisp function/macro/feature that you would like to see in a non-Lisp language, which one would it be?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCH
    charje
    9 months ago 100%
    1. Common Lisp
    2. Haskell I guess
    3. defmacro. This would probably involve changing the syntax to list form like axel does.
    2
  • mechanicalkeyboards Mechanical Keyboards Recommendations for cherry blue keyboards.
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCH
    charje
    9 months ago 100%

    Have you tried kailh box clickies (like box white)? They are much more refined both in sound and tactile feedback. I'm not going to suggest a specific keyboard to buy because I made mine.

    1
  • linux_gaming Linux Gaming (Support) Nintendo Switch Joycons will not reconnect to PC unless paired again.
    Jump
    programmerhumor Programmer Humor Brought to you by the ocaml gang
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCH
    charje
    10 months ago 100%

    JS doesn't do any type inference. Ocaml type checker knows all the types and is completely type safe without type annotations.

    1
  • lisp Lisp Community [CODE-REVIEW] Determine if given lists intersect
    Jump
    green Green - An environmentalist community 'Climate-Friendly' Meat Is a Myth
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCH
    charje
    1 year ago 100%

    Many farmers growing plants for animal feed. Also there are Deer farms that raise deer specifically for the hunting industry.

    1
  • lisp Lisp Community [CODE-REVIEW] Determine if given lists intersect
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCH
    charje
    1 year ago 100%

    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.

    1
  • programmerhumor Programmer Humor Proc macro sandboxing
    Jump
    programmerhumor Programmer Humor All other licenses are cuck licenses
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCH
    charje
    1 year ago 100%

    proprietariable just means the code can be taken and rerelased as proprietary (no freedoms all rights reserved).

    11
  • programmerhumor Programmer Humor All other licenses are cuck licenses
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCH
    charje
    1 year ago 100%

    You can sell GPL licensed software. You don't have to publish the source code publicly online.

    3
  • programmerhumor Programmer Humor All other licenses are cuck licenses
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCH
    charje
    1 year ago 100%

    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.

    14
  • programmerhumor Programmer Humor All other licenses are cuck licenses
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCH
    charje
    1 year ago 96%

    Copyleft licences are the only true free software licences. All other open source licenses are just proprietariable.

    96
  • lisp Lisp Community What does your Lisp development environment look like?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCH
    charje
    1 year ago 100%
    • 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.

    GNU Guix: https://guix.gnu.org/

    cl-guix-utils: https://git.sr.ht/~charje/cl-guix-utils

    "Lisp for the web": https://adamtornhill.com/articles/lispweb.htm

    "Practical Common Lisp": https://gigamonkeys.com/book/

    3
  • unixporn Unixporn Hey, we should all really stop using racist slang to refer to customozation
    Jump
    opensource Open Source GitHub is slowly rolling in 2FA. Any good open source apps that will enable me to activate 2FA token on android?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCH
    charje
    1 year ago 62%

    I know it is an unpopular opinion, but it is a huge headache in general. I don't think the theoretical benefits (which make total sense) actually pay off in reality and are worth the extra headache. I'm not saying they should not have it at all, but it should be at least opt-out instead of forced.

    In the case of github, I think it is part of their long drawn out plan of data collection and proprietary lock down. Next they are going to require your house address and government ID. I feel better using an free and open source platform anyway.

    2
  • opensource Open Source GitHub is slowly rolling in 2FA. Any good open source apps that will enable me to activate 2FA token on android?
    Jump
    memes Memes See, communism doesn’t work
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCH
    charje
    1 year ago 14%

    Capitalism should be authoritarianism and bottom text should be "why doesn't communication work?".

    -5
  • commonlisp Common Lisp Condition Handling in the Lisp Language Family
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCH
    charje
    1 year ago 100%

    I really enjoyed the insights here. I wish people more liberally made custom condition and error types and defined many restarts around where they are signaled.

    1
  • asklemmy Asklemmy What's some really unpopular opinion you have?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCH
    charje
    1 year ago 100%

    Emacs has a proper gui by default. You have to give it option to make it run in the terminal.

    2
  • asklemmy Asklemmy What's some really unpopular opinion you have?
    Jump
  • "Initials" by "Florian Körner", licensed under "CC0 1.0". / Remix of the original. - Created with dicebear.comInitialsFlorian Körnerhttps://github.com/dicebear/dicebearCH
    charje
    1 year ago 81%

    "save" is a bit of misnomer. The animals are forcibly bred into a life of pure suffering. That is what they are being saved from. The less demand for animal torture, the less the industry needs to breed.

    7