HNHacker News
TopNewBestAskShowJobs

mccosmos

136 karma · joined November 17, 2014

submissionscomments
mccosmos··on Why Common Lisp is now the best programming language
The best language to use with LLMs is the Cosmos programming language. I can come up with a reason for this later.
mccosmos··on When did Google get so weird?
Yeah..I thought everyone would've quit to Y-ahoo! Search by this point.
mccosmos··on Over 12% of links posted to Hacker News are Show HN projects now
I, for one, am fine with witnessing what changes ´neocoding´ will bring us.
mccosmos··on All extensions disabled due to expiration of intermediate signing cert
No offense but they're not getting inhumane shock treament either if you're going to pull "our stress is holier than thou" and say it's magnitudes higher, I'll be waiting scientific backing on this or else it's just rude... plus they can always just not make me periodically re-install all my addons with no option to just bypass verification... except this time it doesn't work even with the fixes. (Actually, one time I just didn't see it was set to update automatically downgrading one of them. I'm no expert on these issues, really. They just could have asked first in my opinion.) Thanks, Mozillama.

Edit: I had to click "Restart with addons disabled (safe mode)" for those wondering.

mccosmos··on The physics of infinity
It is 0/0 that is undefined. For 1/0 the standard is either infinity (easily checkable in a language like JavaScript or C) or you get the usual talk that you can't mix infinity with numbers and the operation would be meaningless, etc.
mccosmos··on Inventing a Language, from the Guy Who Made Dothraki (2015)
Not quite a movie but having Lojban as the setting fantasy language is the idea behind this new production: https://www.youtube.com/watch?v=4kJATTd6vF8
mccosmos··on The sunk cost fallacy: Devs describe how it almost destroyed them
Such is the wild life of a game programmer...
mccosmos··on Ask HN: Have you created a programming language and why?
I designed a logic-functional language called Cosmos (https://github.com/mcsoto/cosmos) based on what I thought would be a good/minimalist/innovative/easy-to-use language design that I'd like to program in. It's lacking in implementation, as it'd ideally have at least a VM in C (and a game framework, I like those).
mccosmos··on An Opinionated Treatise on Cosmos, a New Programming Language
One property of Cosmos is that there is no boolean type and relations are themselves booleans (q() would be false in this case). Hence, the code would be rather like this:

  rel q()
   true
   false
  ...
  rel main()
   if(q())
    ...
Indeed, having an 'else' that negates the condition would get tough for complicated conditions. Negation-by-failure and soft-cut ('choose') have their own problems in certain circumstances.

Yeah, it's going to decide that | x = 0 | x = 2 (there is no CLP for strings).

mccosmos··on An Opinionated Treatise on Cosmos, a New Programming Language
That would get translated into

  (s="a" and x=2) or true
There is an implicit else.
mccosmos··on An Opinionated Treatise on Cosmos, a New Programming Language
Thanks for the replies. A few comments:

1. I might have gotten a bit carried away when writing some parts of the article.

2. "Functors" are the same as functors from Prolog. Note that Prolog lists are functors too. They also may enable the language to have an 'Option' type like in some functional languages.