Show newer

@peterdrake yes, in Clojure-like inter-opping lisps, Null ≅ nil is the ONLY falsy value, so it is easy to just say `(if x)` to cover that logical state. No need to check equality; just check it itself.

One of my projects for the past year has been converting an old PDF multimedia app into a static web site. Since is better than raw HTML or CSS, I crafted it there before grabbing the output static stuff. It is 99% JS-free, except for optional media lightboxes, and is built to last as long as HTML does, and to run as simply as possible.

@peterdrake as a happy Clojure dev I find myself wondering, why should developers want to write "if x != 0"? Why is it any better than "if x != 'cat'"? And why should language designers treat it specially?

@davep @peterdrake Interesting that in Clojure boolean only exist for interop purposes. Is it really a necessary type?

My University is finally moving away from ol CAS authentication and moving to our choice of SAML or OIDC. Which should I choose?

@schemer I think the hosted-language, JS/Java interop factors are Clojure's biggest win vs The Lisp Curse.

Scheme lover? Are you on Guix? That is why I'm trying to learn some Scheme

RT @veervrrr
In Python, True is 1, False is 0, and 2 is true.

(Thank @mayuutann for showing me that 2 is truthy)

RT @parensofthedead
We're kickstarting the new season of parens-of-the-dead.com by releasing two new episodes this beautiful friday. Have a nice weekend, everyone!

RT @fndriven
My Biff adventure continues. It is really good to learn backend while keeping frontend madness level low enough. biffweb.com/

RT @LittleFunnyGeek
@lambduhh @SeanCorfield Learning Clojure makes you a better developer/problem solver in any other language. The only issue is you will refuse to touch any other language afterwards.

@veer66 I guess there is some connection there. But it mostly just takes effect if you feed that element to some other processor which you've instructed to treat the args as such, such as CSS or JS, right?

RT @rplevy
I was today years old when I learned that "upper case" and "lower case" comes from the literal cases of movable type letter blocks stored in cases on shelves.

Email received with "Fatal" in the title. Next email subject was "Hyperbole". The first one gets thrown out, and the second one knows why.

Ah, this is cool. Rosetta Code may be just what I need when I want to know, "what does that language even look like?"

Plus, learned new stuff. `cycle` has actually been there from the start!?

rosettacode.org/wiki/FizzBuzz

Got it! I installed a bunch of fonts to my last week and, some reboots later, today I realized that I am seeing the actual characters!

(webdev Tory) :emacs:  
What fonts do I need to fix this problem?

Trying to explain argument variables to my kid brother and realized that HTML and CSS don't have functions that take args. Case there against them being programming languages?

Show older
Qoto Mastodon

QOTO: Question Others to Teach Ourselves
An inclusive, Academic Freedom, instance
All cultures welcome.
Hate speech and harassment strictly forbidden.