Better HN
topnewbestaskshowjobs
Log inSign up

codery

10 karma · joined May 10, 2022 (4y ago) · 7 submissions

Submissions

comment 1y ago · link · parent

This looks great, I'm still learning Janet and couldn't write it myself.

I only know about: https://github.com/Engelberg/better-cond in clojure which is different it adds syntax enhancement + control flow convenience.

Similar better-cond can be written in clojure too:

  (defn better-cond [& clauses]
    (fn [& args]
      (some (fn [[pred result]]
              (when (apply pred args)
                (if (fn? result)
                  (apply result args)
                  result)))
            (partition 2 clauses))))
But it's not composable as Janet's version, it will fail when mapped over, because it may return a plain value instead of a callable one. In Janet, all values can naturally participate in higher-order contexts due to its uniform treatment of callables, while in Clojure, only actual functions can be composed or mapped.

comment 1y ago · link · parent

https://github.com/disconcision/fructure

https://www.youtube.com/watch?v=CnbVCNIh1NA

comment 1y ago · link · parent

"The use of FORTRAN, like the earlier symbolic programming, was very slow to be taken up by the professionals. And this is typical of almost all professional groups. Doctors clearly do not follow the advice they give to others, and they also have a high proportion of drug addicts. Lawyers often do not leave decent wills when they die. Almost all professionals are slow to use their own expertise for their own work. The situation is nicely summarized by the old saying, “The shoe maker’s children go without shoes”. Consider how in the future, when you are a great expert, you will avoid this typical error!"

Richard W. Hamming, “The Art of Doing Science and Engineering”

Today, lawyers delegate many paralegal tasks like document discovery to computers and doctors routinely use machine learning models to help diagnose patients.

So why aren’t we — ostensibly the people writing software — doing more with LLM in our day-to-day?

If you take seriously the idea that LLM will fundamentally change the nature of many occupations in the coming decade, what reason do you have to believe that you’ll be immune from that because you work in software? Looking at the code you’ve been paid to write over the past few years, how much of that can you honestly say is truly novel?

We’re really not as clever as we think we are.

comment 3y ago · link · parent

I use org-mode timers[1] all the time, here's youtube short[2] on that.

[1]:orgmode.org/manual/Timers.html [2]:youtube.com/shorts/JbHE819kVGQ

comment 3y ago · link · parent

Last paragraph about essential and incidental complexity rings my ear about Rich Hickey's "Simple Made Easy" talk.

Talk: https://youtube.com/watch?v=SxdOUGdseq4

comment 3y ago · link · parent

I wish world (Apple, Google, Microsoft etc.) had implemented SQRL instead of PassKeys :(

SQRL: https://www.grc.com/sqrl/sqrl.htm

comment 3y ago · link · parent

None of the above permissions are asked by the app, go to settings > apps > emacs > permissions, by default app hasn't requested a single permission!!

All the permissions are set to FALSE. They are there, if any package you install needs that permission, it will be asked to allow such.