frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Plwm – An X11 window manager written in Prolog

https://github.com/Seeker04/plwm
91•jedeusus•3h ago

Comments

leephillips•2h ago
Very nice. If you’re used to dwm this should be natural. Unless you use dwm’s tags as more than workspaces, which I do. The author does not, so he implemented workspaces instead of tags. So this can not replace dwm for me.
B1FF_PSUVM•1h ago
Why am I reminded of the all-Erlang HN first page?
pona-a•1h ago
Fun fact: the first version of Erlang interpreter was written in Prolog.
YeGoblynQueenne•1h ago
Oh wow, I gotta try this.

Lots of documentation! Awesome!

rclkrtrzckr•1h ago
Isn't ".pl" actually used for perl?

Well, there might be a Prolog interpreter written in (a) perl (regex) ...

ajdude•1h ago
Prolog was using .pl for a bit over a decade before Perl existed.
jimjimjim•1h ago
Prolog is a older than Perl and there doesn't need to be any exclusive claim on file extensions.
tikhonj•19m ago
It's used for both which consistently confuses logic that guess programming language purely based on file extensions.
gatane•1h ago
Time to do one in Scheme, I guess.
pona-a•49m ago
Here's one in Guile Scheme.

https://wingolog.org/archives/2008/07/31/introducing-griddy

tmtvl•45m ago
Already exists: https://github.com/mwitmer/guile-wm

There might also be ones in other Schemes, but as FFI hasn't been standardised across Schemes yet I doubt there's an implementation-agnostic one.

mhd•44m ago
Done a while ago: https://en.wikipedia.org/wiki/Scwm

There was also "GWM", based on its own lisp dialect, "WOOL", which was around from at least the early 90s.

On the more popular side, you had sawfish (using an elisp-alike, IIRC) and stumpwm (Common Lisp).

DonHopkins•38m ago
Here's an X11 window manager, with pie menus and tabbed windows, entirely written in object oriented NeWS PostScript, from around 1991:

https://donhopkins.com/home/archive/NeWS/owm.ps.txt

And some design notes and emails on that NeWS based window manager for X11 windows:

https://donhopkins.com/home/archive/NeWS/i39l.txt

It incorporated NeWS tabbed windows written in PostScript, which could wrap around X11 windows (and frame NeWS windows too of course):

https://donhopkins.com/home/archive/NeWS/win/tab.ps

And NeWS pie menus written in PostScript, which you could pop up on tabbed window frames and manage X11 windows (and use in NeWS apps too of course):

https://donhopkins.com/home/archive/NeWS/win/pie.ps

There was also a virtual large scrolling desktop, and virtual multi-screen "rooms", both purely written in PostScript, which all plugged together with the tabbed windows and pie menus and X window manager seamlessly. They were all independent of each other and could be used separately, but worked together synergistically. Take that, ICCCM! ;)

Also here's a (pre-ICCCM, pre-X11) X10 window manager with pie menus, written in C and scripted in Forth, from around 1986:

https://donhopkins.com/home/archive/piemenu/uwm/fuwm-main.f

And some of my thoughts on X-Windows and ICCCM window management in general:

https://donhopkins.medium.com/the-x-windows-disaster-128d398...

>In summary, ICCCM is a technological disaster: a toxic waste dump of broken protocols, backward compatibility nightmares, complex nonsolutions to obsolete nonproblems, a twisted mass of scabs and scar tissue intended to cover up the moral and intellectual depravity of the industry’s standard naked emperor.

>Using these toolkits is like trying to make a bookshelf out of mashed potatoes." -Jamie Zawinski

eikenberry•11m ago
I'm hoping one day someone will write a window-manager service for Wayland that replaces the compositor API with a protocol. To once again enable window managers to be implemented in any language, regardless of it having a Wayland/compositor library.

Plwm – An X11 window manager written in Prolog

https://github.com/Seeker04/plwm
92•jedeusus•3h ago•14 comments

Lottie is an open format for animated vector graphics

https://lottie.github.io/
207•marcodiego•6h ago•84 comments

Path to a free self-taught education in Computer Science

https://github.com/ossu/computer-science
104•saikatsg•4h ago•54 comments

Writing your own CUPS printer driver in 100 lines of Python (2018)

https://behind.pretix.eu/2018/01/20/cups-driver/
109•todsacerdoti•5h ago•9 comments

Ask HN: What are you working on? (May 2025)

32•david927•1h ago•92 comments

Lisping at JPL (2002)

https://flownet.com/gat/jpl-lisp.html
73•adityaathalye•3d ago•16 comments

Claude 4 System Card

https://simonwillison.net/2025/May/25/claude-4-system-card/
495•pvg•15h ago•194 comments

Writing a Self-Mutating x86_64 C Program (2013)

https://ephemeral.cx/2013/12/writing-a-self-mutating-x86_64-c-program/
54•kepler471•4h ago•16 comments

Show HN: Zli – A Batteries-Included CLI Framework for Zig

https://github.com/xcaeser/zli
41•caeser•4h ago•11 comments

Design Pressure: The Invisible Hand That Shapes Your Code

https://hynek.me/talks/design-pressure/
110•NeutralForest•7h ago•29 comments

Show HN: DaedalOS – Desktop Environment in the Browser

https://github.com/DustinBrett/daedalOS
79•DustinBrett•5h ago•15 comments

Koog, a Kotlin-based framework to build and run Al agents in idiomatic Kotlin

https://github.com/JetBrains/koog
14•prof18•3d ago•0 comments

Denmark to raise retirement age to 70

https://www.telegraph.co.uk/world-news/2025/05/23/denmark-raise-retirement-age-70/
179•wslh•4h ago•424 comments

CAPTCHAs are over (in ticketing)

https://behind.pretix.eu/2025/05/23/captchas-are-over/
75•pabs3•20h ago•73 comments

Martin (YC S23) Is Hiring Founding AI/Product Engineers to Build a Better Siri

https://www.ycombinator.com/companies/martin/jobs
1•darweenist•4h ago

Wrench Attacks: Physical attacks targeting cryptocurrency users (2024) [pdf]

https://drops.dagstuhl.de/storage/00lipics/lipics-vol316-aft2024/LIPIcs.AFT.2024.24/LIPIcs.AFT.2024.24.pdf
79•pulisse•9h ago•55 comments

'Strange metals' point to a whole new way to understand electricity

https://www.science.org/content/article/strange-metals-point-whole-new-way-understand-electricity
81•pseudolus•7h ago•25 comments

Show HN: SVG Animation Software

https://expressive.app/expressive-animator/
151•msarca•10h ago•66 comments

Is TfL losing the battle against heat on the Victoria line?

https://www.swlondoner.co.uk/news/16052025-is-tfl-losing-the-battle-against-heat-on-the-victoria-line
54•zeristor•12h ago•79 comments

Tariffs in American History

https://imprimis.hillsdale.edu/tariffs-in-american-history/
55•smitty1e•1d ago•86 comments

Can a corporation be pardoned?

https://papers.ssrn.com/sol3/papers.cfm?abstract_id=5202339
36•megamike•4h ago•56 comments

What happens after you run Git push?

https://www.blacksmith.sh/blog/security
5•tsaifu•2d ago•0 comments

On File Formats

https://solhsa.com/oldernews2025.html#ON-FILE-FORMATS
100•ibobev•4d ago•63 comments

Dependency injection frameworks add confusion

http://rednafi.com/go/di_frameworks_bleh/
80•ingve•13h ago•87 comments

Reinvent the Wheel

https://endler.dev/2025/reinvent-the-wheel/
549•zdw•1d ago•209 comments

Programming on 34 Keys (2022)

https://oppi.li/posts/programming_on_34_keys/
49•todsacerdoti•8h ago•67 comments

Now you can watch the Internet Archive preserve documents in real time

https://www.theverge.com/news/672682/internet-archive-microfiche-lo-fi-beats-channel
95•LorenDB•2d ago•9 comments

Show HN: AI Baby Monitor – local Video-LLM that beeps when safety rules break

https://github.com/zeenolife/ai-baby-monitor
63•zeenolife•4d ago•45 comments

The Newark airport crisis

https://www.theverge.com/planes/673462/newark-airport-delay-air-traffic-control-tracon-radar
87•01-_-•4h ago•65 comments

Show HN: Wall Go – browser remake of a Devil's Plan 2 mini-game

https://schaoss.github.io/wall-go/
20•sychu•6h ago•7 comments