News for hackers. Stuff that matters.

jasonhemann

Re:Make macOS consistently bad (unironically) on Friday March 27, 2026 @04:00PM (#47547489)
I love that there are people who are observant enough to notice these kinds of things, a vanguard for those of us who are blithely unaware and protected due to their vigilance.
Re:Brew cask audit finds apps unmanaged by homebrew on Monday March 23, 2026 @12:07PM (#47491413)
Sometimes you install something manually, and forget that you did so. If you would rather have your installation managed by homebrew, you might find this useful.
Re:Emulating Goto in Scheme with Continuations on Monday February 23, 2026 @06:06PM (#47130329)
Effect handlers would like to have a word.
Re:Financing My Klarna Doritos Locos Taco on Friday October 10, 2025 @10:32PM (#45546086)
Oh really? Not in my neighborhood.
There is indeed a similar, maybe even same, trash that works on MacOS and available on brew. Users are covered there too.
Re:Solving `UK Passport Application` with Haskell on Sunday June 29, 2025 @04:09AM (#44411190)
Just fantastic. Bravo.
This video is charming
Re:Scryer Prolog NPM package (experimental) on Sunday February 16, 2025 @01:49PM (#43070488)
Awesome!
Re:OCR4all on Thursday February 13, 2025 @10:31PM (#43044526)
I was going to say, isn't tesseract /already/ OCR for everyone?
Re:What Is miniKanren? on Sunday January 05, 2025 @12:32PM (#42603347)
What I was thinking of was this one: https://en.wikipedia.org/wiki/Planner_(programming_language)... . I don't imagine there's any more formal a specification beyond what-they-implemented (but I haven't actually read the paper!)
Re:What Is miniKanren? on Sunday January 05, 2025 @12:29PM (#42603331)
Emails are definitely welcome too! Wherever you get stuck is a failure on the part of the authors.
Re:What Is miniKanren? on Saturday January 04, 2025 @01:12PM (#42596515)
IIRC, Dan told me that a million years ago, when they were choosing a name for the Kanren sourceforge repo, they had to use a name with a word that was sufficiently prominent on the internet. Kanren worked because there were enough hits for KanREN.
Re:What Is miniKanren? on Saturday January 04, 2025 @12:23PM (#42596117)
I have a vague recollection about that kind of a declarative UI framework, but I can't remember a single detail. But it's definitely an interesting idea and I know there are other folk out there also interested in your idea.
Re:What Is miniKanren? on Saturday January 04, 2025 @12:20PM (#42596089)
Interesting fact, there's a neat connection between Micro-Planner and the genesis of Prolog. So I think you could be on to something.
Re:What Is miniKanren? on Saturday January 04, 2025 @12:14PM (#42596051)
That's somewhat comforting! But on the other hand, it means also that some of the folk who would be perfectly able to understand the big idea are getting gatekept by just the look of the parentheses, even though host's concrete syntax is of little importance. Which is a darn shame.
Re:What Is miniKanren? on Saturday January 04, 2025 @12:00PM (#42595921)
I think these are great points. Everything should be smooth as butter for an interested reader, and the tutorial should be so approachable and such a page-turner that the curious are hooked on page one and can't put it down.

Really---anything short of that is sub-optimal performance. I think some of it comes from new eyes reading and pointing out room for improvement. The other half is someone having the time to figure out the fix and implement it.

Re:What Is miniKanren? on Friday January 03, 2025 @12:08AM (#42582671)
One of the hopes is that you can drop in your favorite host language's syntax and get a working implementation. What's your usual language stack these days?
Re:What Is miniKanren? on Friday January 03, 2025 @12:04AM (#42582645)
No, but I would so love to hear someone from the team give a talk about it. That's so darn awesome
Re:What Is miniKanren? on Thursday January 02, 2025 @05:21PM (#42579583)
One of the things miniKanren has going for it is that tons of folk have built little embedded implementations in the whatever your favorite host language is. For instance, here's https://web.archive.org/web/20211205175513id_/https://erik-j... a walkthrough of how you'd implement the basics in Python. Comes with an explanation.
Re:What Is miniKanren? on Thursday January 02, 2025 @04:33PM (#42579191)
I was going to mention how cool JJs work is. Upvote to all those links.
Re:What Is miniKanren? on Thursday January 02, 2025 @02:37PM (#42577910)
What's your preferred PL? I suspect we could do a similar build-it-up in that lang too.
Re:What Is miniKanren? on Thursday January 02, 2025 @01:26PM (#42577148)
That's actually related to how the name came about, IIRC!
Re:What Is miniKanren? on Thursday January 02, 2025 @11:42AM (#42575993)
For folks that want to engage / learn more, there's been an annual miniKanren workshop and also a monthly miniKanren hangout online. Interested folk should totally come to either both!
Re:What Is miniKanren? on Thursday January 02, 2025 @11:33AM (#42575910)
I think there'll be all manner of constraint and constraint-logic programming approaches that'd be amenable. I wish I had a great answer for you as "the best".

IMO, these "zebra puzzle"/"einstein puzzle" style problems are like a "hello world" for many related techniques. What's more, there are many languages that combine several of these techniques together so that you can easily pick and choose where appropriate.

If you were just wanting to compare against another related style, answer-set programming is one thing that comes to mind.

Re:What Is miniKanren? on Thursday January 02, 2025 @11:27AM (#42575846)
You totally absolutely are smart enough to understand this. Possibly overly so! Happy to jump on a call and answer questions, if useful!