frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Learn Prolog Now

https://lpn.swi-prolog.org/lpnpage.php?pageid=top
44•rramadass•1h ago

Comments

woumn•28m ago
No, thank you.
jackallis•27m ago
is prolog a use-case language or is it as versatile as python?
zimpenfish•17m ago
In theory, it's as versatile as Python et al[0] but if you're using it for, e.g., serving bog-standard static pages over HTTP, you're very much using an industrial power hammer to apply screws to glass - you can probably make it work but people will look at you funny.

[0] Modulo that Python et al almost certainly have order(s) of magnitude more external libraries etc.

bigfishrunning•5m ago
> you can probably make it work but people will look at you funny

Don't threaten me with a good time

qsort•15m ago
Python wins out in the versatility conversation because of its ecosystem, I'm still kinda convinced that the language itself is mid.

Prolog has many implementations and you don't have the same wealth of libraries, but yes, it's Turing complete and not of the "Turing tarpit" variety, you could reasonably write entire applications in SWI-Prolog.

WillAdams•5m ago
Right, Python is usually the second-best choice for a language for any problem --- arguably the one thing it is best at is learning to program (in Python) --- it wins based on ease-of-learning/familiarity/widespread usage/library availability.
mattbettinson•26m ago
In university, Learning prolog was my first encounter with the idea that my IQ may not be as high as I thought
ge96•11m ago
intro to quantum physics for me (which is only sophomore) I noped out of advanced math/physics at that point, luckily I did learn to code on my own
chanux•8m ago
I thoroughly enjoyed doing all the exercises. It was challenging and hence, fun!

I don't think I ever learned how it can be useful other than feeding the mind.

echelon•24m ago
There are declarative languages like SQL and XSLT.

And then there are declarative languages like Prolog.

droningparrot•11m ago
I had more success with the Prolog language track on https://exercism.org/tracks/prolog

It's a mind-bending language and if you want to experience the feeling of learning programming from the beginning again this would be it

zemptime•9m ago
I've recently started modeling some of my domains/potential code designs in Prolog. I'm not that advanced. I don't really know Prolog that well. But even just using a couple basic prolog patterns to implement a working spec in the 'prolog way' is *unbelievably* useful for shipping really clean code designs to replace hoary old chestnut code. (prolog -> ruby)
ramses0•2m ago
I keep wishing for "regex for prolog", ie: being able to (in an arbitrary language) express some functional bits in "prolog-ish", and then be able to ask/query against it.

    let prologBlob = new ProLog()
    prologBlob.add( "a => b" ).add( "b => c" )
    prologBlob.query( "a == c?" ) == True
(not exactly that, but hopefully you get the gist)

There's so much stuff regarding constraints, access control, relationship queries that could be expressed "simply" in prolog and being able to extract out those interior buts for further use in your more traditional programming language would be really helpful! (...at least in my imagination ;-)

dukeofdoom•7m ago
Always felt this would be language that Sherlock Holmes would use...so be sure to wear the hat when learning it
waynecochran•2m ago
I remember writing a Prolog(ish) interpreter in Common Lisp in an 90's AI course in grad school for Theorem proving (which is essentially what Prolog is doing under the hood). Really foundational to my understanding of how declarative programming works. In an ideal world I would still be programming in Lisp and using Prolog tools.

Hallucinated Gods

https://www.theseedsofscience.pub/p/hallucinated-gods
1•pablasso•35s ago•0 comments

Resurgence of an old-timey film format is creating headaches on movie sets

https://www.wsj.com/arts-culture/film/the-biggest-diva-in-hollywood-is-a-camera-3adec350
1•fortran77•1m ago•1 comments

Just Use Postgres

https://www.manning.com/books/just-use-postgres
1•teleforce•2m ago•0 comments

Fine Tune Model for Entrepreneurs and Students

https://rom.base44.app/
2•desadas•2m ago•0 comments

The Test Automation Crisis

https://titusfortner.com/2025/11/11/automation-crisis.html
1•rosiesherry•4m ago•0 comments

Spectral shaper sculpts 10k laser comb lines for exoplanet detection

https://phys.org/news/2025-10-spectral-shaper-sculpts-laser-lines.html
1•PaulHoule•6m ago•0 comments

Skills as Object-Oriented Programming for LLMs

https://bit.kevinslin.com/p/skills-as-object-oriented-programming
1•kevinslin•7m ago•0 comments

Apple-Commissioned Study: EU's Digital Markets Act Failed to Lower App Prices

https://www.macrumors.com/2025/11/12/dma-no-lower-fees-study/
1•bangonkeyboard•7m ago•0 comments

Agent Control via Time‑Travel Checkpoints

https://leslieo2.github.io/posts/agent-control-via-timetravel-checkpoints/
1•mjakl•7m ago•0 comments

Baidu releases open-source multimodal AI that it claims beats GPT-5 and Gemini

https://venturebeat.com/ai/baidu-just-dropped-an-open-source-multimodal-ai-that-it-claims-beats-g...
3•teleforce•7m ago•1 comments

Dimension-traveling fermions might explain dark mayter

https://www.popularmechanics.com/science/a69295572/fermion-particle-fifth-dimension-portal/
1•Jeff_Brown•7m ago•0 comments

Show HN: Ory Kratos, an open source Auth0 / Clerk alternative

https://github.com/ory/kratos/releases/tag/v25.4.0
1•vwpolo3•8m ago•0 comments

Tiny Model, Big Logic: Large-Model Reasoning Ability in VibeThinker-1.5B

https://arxiv.org/abs/2511.06221
1•trott•9m ago•0 comments

The PowerPC Has Still Got It (Llama on G4 Laptop)

https://www.hackster.io/news/the-powerpc-has-still-got-it-c4348bd7a88c
2•stmw•11m ago•0 comments

New law to tackle AI child abuse images at source as reports more than double

https://www.gov.uk/government/news/new-law-to-tackle-ai-child-abuse-images-at-source-as-reports-m...
1•sc970•12m ago•1 comments

Gemini: Private AI Compute advances AI privacy

https://blog.google/technology/ai/google-private-ai-compute/
2•tosh•13m ago•0 comments

Show HN: Turn Notion pages into clean, paste-ready email blocks

https://notionto.email/
1•sangkwun•13m ago•0 comments

Don't Start Writing

https://lukakopajtic.com/dont-start-writing/
1•lukakopajtic•14m ago•0 comments

Show HN: Flamehaven FileSearch – Self-Hosted RAG Semantic Search

https://github.com/flamehaven01/Flamehaven-Filesearch
1•Flamehaven•16m ago•0 comments

Taking riders further, safely with freeways

https://waymo.com/blog/2025/11/taking-riders-further-safely-with-freeways
3•ra7•18m ago•0 comments

The last-ever penny will be minted today in Philadelphia

https://www.cnn.com/2025/11/12/business/last-penny-minted
13•andrewl•18m ago•4 comments

What it's like to be in the middle of a conspiracy theory

https://www.technologyreview.com/2025/10/30/1126712/what-its-like-to-be-in-the-middle-of-a-conspi...
1•arunc•18m ago•0 comments

Lumen charge governs gated ion transport in β-barrel nanopores

https://www.nature.com/articles/s41565-025-02052-6
1•bookofjoe•19m ago•0 comments

Kubernetes Is Your Private Cloud

https://oneuptime.com/blog/post/2025-11-12-kubernetes-is-your-private-cloud/view
3•ndhandala•21m ago•0 comments

The Danger of Lunar Micrometeoroid Storms

https://www.universetoday.com/articles/the-hidden-danger-of-lunar-micrometeoroid-storms
1•belter•22m ago•0 comments

Waymo begins freeway rides for the public

https://techcrunch.com/2025/11/12/waymo-robotaxis-are-now-giving-rides-on-freeways-in-these-3-cit...
5•nharada•22m ago•2 comments

Hybrid Hash Join – breaking the memory wall of streams join

https://www.timeplus.com/post/hybrid-hash-join
2•tingfirst•23m ago•1 comments

RubberDuckGPT – An AI that forces you to think

https://rubber-duck-gpt.com
3•tompccs•24m ago•0 comments

Seeking feedback on charity redirecting opposing donations to GiveWell

https://forum.effectivealtruism.org/posts/wp9bDr2vXkNHs7WLF/seeking-feedback-on-charity-redirecti...
1•duelgood•24m ago•0 comments

Matchbox Educable Noughts and Crosses Engine

https://en.wikipedia.org/wiki/Matchbox_Educable_Noughts_and_Crosses_Engine
1•satiated_grue•25m ago•1 comments