frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Extending C with Prolog (1994)

https://www.amzi.com/articles/irq_expert_system.htm
34•Antibabelic•2d ago

Comments

vintagedave•2d ago
> We recently installed Gateway multi-media kits on our PCs, but found the installation less than trivial because of conflicts in our interrupt (IRQ) channels. A simple expert system could have helped to resolve those IRQ conflicts. ... The sample program is set up to allow installation of two different devices, a 'Sound Blaster' and a 'Mitsumi CD- ROM'.

This was a real blast from the past. I wonder why more systems today don't have this kind of logic solving built in. Possibly, too many complex behaviours that are not cleanly quantified.

krzyk•2h ago
Is this the time of year when we try to force redditors to stay away by posting about Prolog?

I see three stories already.

Davidbrcz•1h ago
Refreshing stories between all the AI ones (and crypto/web3 before that)
linguae•1h ago
Ironically, once upon a time Prolog and logic programming in general were part of the cutting-edge of AI. There's quite a fascinating history of Japan's fifth-generation computing efforts in the 1980s when Japan focused on logic programming and massively parallel computing. My former manager, who is from Japan, earned his PhD in the 1990s in a topic related to constraint logic programming.
fc417fc802•35m ago
Even now NEC makes some cool massively parallel chips and accelerators that I wish were more mainstream because they look like they'd be fun to play with.
thesz•35m ago
You said AI: https://github.com/stassa/louise

  Louise (Patsantzis & Muggleton 2021) is a machine learning system that learns Prolog programs.

  Louise is a Meta-Interpretive Learning (MIL) system. MIL (Muggleton et al. 2014), (Muggleton et al. 2015), is a new setting for Inductive Logic Programming (ILP) (Muggleton, 1991). ILP is a form of weakly-supervised machine learning of logic programs from examples of program behaviour (meaning examples of the inputs and outputs of the programs to be learned). Unlike conventional, statistical machine learning algorithms, ILP approaches do not need to see examples of programs to learn new programs and instead rely on background knowledge, a library of pre-existing logic programs that they reuse to compose new programs.
This is what was done by Douglas Lenat from late 1970-s on [1]. He did his work using Lisp, this thing does something close using Prolog.

[1] https://en.wikipedia.org/wiki/Eurisko

dgxyz•1h ago
Well at least it's not clojure or scheme.
Antibabelic•33m ago
What's the third one? I see this one and the Lambda Prolog one.
HexDecOctBin•1h ago
I often wonder what a Prolog implemented as an Objective-C like extension to C would look like. Since WAM has proper stack and heap IIRC, it might be possible to plug that in through some region-based memory management on C side. Is there some prior art like this?
sprior•22m ago
I started using Prolog in my self written home automation system over 20 years ago. At first I was using CORBA and I linked ACE/Tao into SWI-Prolog so that Prolog could catch and send CORBA messages. That worked for years but was too annoying to add new message types since a wrapper had to be written for each, plus threading had to be coordinated between C++ and Prolog. Eventually I ditched the CORBA stuff and switched to MQTT, but instead of binding the C++ and Prolog together I found and extended MQTT support for Prolog directly, actually I've mostly replaced the C++ parts of my HA system with Java. The Prolog is pretty nice the way I can now specify predicates for MQTT topic paths, and I use shared topics for scalability. Now all of this is running deployed in k3s.

I'm helping my dog vibe code games

https://www.calebleak.com/posts/dog-game/
126•cleak•1h ago•47 comments

I pitched a roller coaster to Disneyland at age 10 in 1978

https://wordglyph.xyz/one-piece-at-a-time
280•wordglyph•5h ago•100 comments

Open Letter to Google on Mandatory Developer Registration for App Distribution

https://keepandroidopen.org/open-letter/
115•kaplun•1h ago•51 comments

IRS Tactics Against Meta Open a New Front in the Corporate Tax Fight

https://www.nytimes.com/2026/02/24/business/irs-meta-corporate-taxes.html
120•mitchbob•5h ago•138 comments

Samsung Upcycle Promise

https://www.xda-developers.com/samsung-promised-make-old-phones-useful-galaxy-upcycle/
127•1970-01-01•1d ago•59 comments

Osaka: Kansai Airport proud to have never lost single piece of luggage (2024)

https://japannews.yomiuri.co.jp/features/japan-focus/20241228-229891/
121•thunderbong•1h ago•40 comments

Extending C with Prolog (1994)

https://www.amzi.com/articles/irq_expert_system.htm
35•Antibabelic•2d ago•10 comments

Diode – Build, program, and simulate hardware

https://www.withdiode.com/
375•rossant•3d ago•83 comments

Verge (YC S15) Is Hiring a Director of Computational Biology and AI Scientists/Eng

https://jobs.ashbyhq.com/verge-genomics
1•alicexzhang•1h ago

We installed a single turnstile to feel secure

https://idiallo.com/blog/installed-single-turnstile-for-security-theater
131•firefoxd•1d ago•44 comments

Goodbye InnerHTML, Hello SetHTML: Stronger XSS Protection in Firefox 148

https://hacks.mozilla.org/2026/02/goodbye-innerhtml-hello-sethtml-stronger-xss-protection-in-fire...
257•todsacerdoti•5h ago•116 comments

Show HN: Tag Promptless on any GitHub PR/Issue to get updated user-facing docs

8•prithvi2206•37m ago•0 comments

λProlog: Logic programming in higher-order logic

https://www.lix.polytechnique.fr/Labo/Dale.Miller/lProlog/
117•ux266478•3d ago•30 comments

Stripe valued at $159B, 2025 annual letter

https://stripe.com/newsroom/news/stripe-2025-update
123•jez•4h ago•120 comments

Cardiorespiratory fitness is associated with lower anger and anxiety

https://linkinghub.elsevier.com/retrieve/pii/S000169182600171X
34•PaulHoule•1h ago•23 comments

The Missing Semester of Your CS Education – Revised for 2026

https://missing.csail.mit.edu/
298•anishathalye•1d ago•88 comments

Terence Tao, at 8 years old (1984) [pdf]

https://gwern.net/doc/iq/high/smpy/1984-clements.pdf
435•gurjeet•1d ago•255 comments

Denver dumps Flock, awards contract to Axon

https://www.9news.com/article/news/local/denver-removing-flock-cameras-new-axon-contract/73-640b5...
23•therobots927•1h ago•5 comments

A distributed queue in a single JSON file on object storage

https://turbopuffer.com/blog/object-storage-queue
129•Sirupsen•3d ago•40 comments

The 7-Year Bug That Took 3 Minutes to Fix

https://agilitza.com/blog/the-7-year-bug-that-took-3-minutes-to-fix/
8•payala•4d ago•0 comments

OpenAI, the US government and Persona built an identity surveillance machine

https://vmfunc.re/blog/persona/
4•rzk•15m ago•1 comments

Discord cuts ties with identity verification software, Persona

https://fortune.com/2026/02/24/discord-peter-thiel-backed-persona-identity-verification-breach/
297•robtherobber•6h ago•223 comments

Catherine of Braganza, the Queen Who Brought Tea to England

https://www.thecollector.com/catherine-braganza-queen-tea-england/
17•Tomte•3d ago•8 comments

I Ported Coreboot to the ThinkPad X270

https://dork.dev/posts/2026-02-20-ported-coreboot/
273•todsacerdoti•18h ago•58 comments

Show HN: enveil – hide your .env secrets from prAIng eyes

https://github.com/GreatScott/enveil
180•parkaboy•13h ago•115 comments

Unsung heroes: Flickr's URLs scheme

https://unsung.aresluna.org/unsung-heroes-flickrs-urls-scheme/
230•onli•3d ago•83 comments

Show HN: X86CSS – An x86 CPU emulator written in CSS

https://lyra.horse/x86css/
240•rebane2001•16h ago•74 comments

Why the KeePass format should be based on SQLite

https://mketab.org/blog/sqlite_kdbx/
26•wps•5h ago•12 comments

Tiny QR code achieved using electron microscope technology

https://newatlas.com/technology/smallest-qr-code-bacteria-tu-wien/
31•jonbaer•3d ago•22 comments

Making Wolfram tech available as a foundation tool for LLM systems

https://writings.stephenwolfram.com/2026/02/making-wolfram-tech-available-as-a-foundation-tool-fo...
285•surprisetalk•20h ago•155 comments