News for hackers. Stuff that matters.
Re:Is there any code in Firefox (as of 2020) that comes from... by asveikau on Friday March 27, 2020 @09:51PM (#22708545)
As Motif expertise is now an obsolete skill, I don't think this ages well. Short version: in some places, they don't like how the library works. In others, they are working around library bugs. In all cases, they seem severely pissed off about it, which is probably a bigger issue than Motif.
Re:Is there any code in Firefox (as of 2020) that comes from... by not2b on Friday March 27, 2020 @10:20PM (#22708647)
Most of the anti-Motif comments are by jwz.
Re:Is there any code in Firefox (as of 2020) that comes from... by asveikau on Friday March 27, 2020 @10:25PM (#22708672)
I've generally liked his technical rants and writings. These don't really land with me though. Maybe he was frustrated with some deadlines or something.
Re:Is there any code in Firefox (as of 2020) that comes from... by bsder on Friday March 27, 2020 @10:54PM (#22708801)
There is a reason that anybody who dealt with it called it Mogrief.

An entire GUI toolkit was written from scratch simply to replace Motif (Gtk).

This should tell you what you need to know.

Re:Is there any code in Firefox (as of 2020) that comes from... by vidarh on Saturday March 28, 2020 @03:10AM (#22709721)
It was more to it than Motif being painful, though. Motif was not open, and the open reimplementation (LessTif) was buggy.
Re:Is there any code in Firefox (as of 2020) that comes from... by DonHopkins on Saturday March 28, 2020 @04:49AM (#22709996)
Another buggy painful non-open reimplementation of Motif, which arguably had the silliest name of any user interface toolkit in the entire universe, was Sun's and AT&T's (Unix System Laboratories) "MoOLIT", the Motif Open Look Intrinsics Toolkit, that let you switch back and forth between those two different competing looks and feels (both of which sucked in their own ways), and which was based on "OLIT", then Open Look Intrinsics Toolkit, which itself was based on the horrible X Toolkit Intrinsics (Xt), which was the root of all evil.

>MoOLIT (Motif OPEN LOOK Intrinsics Toolkit) is a graphical user interface library and application programming interface (API) created by Unix System Laboratories in an attempt to create a bridge between the two competing look-and-feels for Unix workstations at the time: OPEN LOOK and OSF Motif.

>The library provided common GUI features such as boxes, menus, lists, and buttons, but allowed users to choose which look and feel they wanted at runtime. It was a short-lived project, as the industry was moving towards Motif as the de facto GUI standard, a trend culminating in the COSE initiative in 1993.

Of course if you just wanted a laugh at the name, you could also use the X Anathema Widgets (Xaw) toolkit, but I think MoOLIT was funnier. I cracked up every time I saw some Sun marketing droid in a tie seriously talking about it.

https://en.wikipedia.org/wiki/MoOLIT

https://en.wikipedia.org/wiki/OLIT

https://en.wikipedia.org/wiki/OPEN_LOOK

https://en.wikipedia.org/wiki/Motif_(software)

https://en.wikipedia.org/wiki/X_Toolkit_Intrinsics

https://en.wikipedia.org/wiki/X_Athena_Widgets

>In a talk for USENIX, X pioneer Jim Gettys remarked that although Athena widgets were "ugly", they were often used in the period of X history that he describes as the "GUI wars", as a safe alternative to the competing Motif and Open Look toolkits.

Re:Is there any code in Firefox (as of 2020) that comes from... by asveikau on Friday March 27, 2020 @11:05PM (#22708858)
I am a tad too young to have encountered it, I was picking up X programming in the wave where motif was heading out. I remember Xt/Xaw which I believe had some commonalities with Motif. Then the first version of gtk I played with was 1.x.
Re:Is there any code in Firefox (as of 2020) that comes from... by DonHopkins on Saturday March 28, 2020 @01:42AM (#22709478)
The genius of TCL/Tk, and the reason I believe Tk was so incredibly successful despite the flaws and shortcomings of TCL, is that toolkits like Motif, based on the X Toolkit Intrinsics, that aren't written AROUND an existing extension language, end up getting fucked by Greenspun's Tenth Rule:

https://en.wikipedia.org/wiki/Greenspun%27s_tenth_rule

>"Any sufficiently complicated C or Fortran program contains an ad hoc, informally-specified, bug-ridden, slow implementation of half of Common Lisp." -Philip Greenspun's Tenth Rule

The X Toolkit ends up needing to do all of these dynamic-scripting-language-like things, like resolving names and paths, binding events to handlers, calculating expressions, and instantiating objects based on resource data. So if it doesn't already start out with a standardized scripting language to use for that, it has to duplicate all that dynamic almost-but-not-quite-entirely-unlike-half-of-Common-Lisp stuff itself.

Case in point: Motif's infamous UIL (because X resource files weren't half-assed enough).

https://www.donhopkins.com/home/catalog/unix-haters/hpox/uil...

And then when you do get around to plugging that toolkit into some other scripting language (the way WINTERP plugged Motif/Xt into XLisp, or GTK/GObject plugs into Python for that matter), now you have two or more fat bloated complex buggy poorly documented incompatible impedance-mismatched half-assed competing layers of middleware and object models tripping over each other's feet and spraying each other with seltzer bottles like the Three Stooges.

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

https://news.ycombinator.com/item?id=22610342

>Speaking of the plague, does it support UIL? ;)

>Neils Mayer described WINTERP (XLisp + Motif) as: You might think of such functionality as "client-side NeWS without the postscript imaging model".

http://nielsmayer.com/winterp/

>Don Hopkins wrote to a comp.human-factors discussion about "Info on UIL (User Interface Language)" on January 22, 1993:

https://groups.google.com/d/msg/comp.human-factors/R3wfh90HM...

>Here are some classic messages about UIL. Avoid it like the plague.

[...]

Re:Is there any code in Firefox (as of 2020) that comes from... by segfaultbuserr on Saturday March 28, 2020 @03:07PM (#22713521)
Motif was kind of a running joke back in the early 90s (check the Usenet archive for posts and jokes), just like how JavaScript is today - Everyone was using it, it was in a state of continued development (with a feature creeping tendency), and like other technologies, it has its own limitations. Unsurprisingly, it received a huge number of complaints, its popularity was partially responsible for that. Just like how early Unix had a reputation of unreliability, or how many people complain about JavaScript or web frameworks today. Are they technical milestones? Yes. Is it normal for people to complain about it? Also yes.