News for hackers. Stuff that matters.
Re:AOLserver is America Online's Open-Source web server by mayoff on Thursday April 20, 2023 @11:08PM (#35649385)
AOLserver was originally NaviServer, before AOL bought it. That’s why all of its API identifiers have the prefix `Ns_` (or `NS_` or `ns`, depending on the kind of identifier). Kind of like how (coincidentally) Apple’s Foundation and AppKit frameworks use the prefix `NS`, because those came from Nextstep.

In 1999, I was hired by ArsDigita, a web startup that used AOLserver, mainly to provide internal development and support for AOLserver. ArsDigita used big multi-CPU Sun servers (this was long before Oracle bought Sun) and I ended up diagnosing several race conditions in AOLserver that the AOL developers had trouble reproducing because they did their dev work on single-CPU boxes.

Fun fact, ArsDigita founder Philip Greenspun (of Greenspun’s Tenth Rule) knew Robert Thau from their shared alma mater MIT. Robert Thau (rst) designed and implemented Apache’s original module API. So ArsDigita hired rst to write mod_aolserver, an Apache module that provided enough of AOLserver’s API to allow running ArsDigita’s codebase (ACS) under Apache.

Re:AOLserver is America Online's Open-Source web server by duderoso on Thursday April 20, 2023 @11:37PM (#35649584)
ha. totally forgot about Philip Greenspun. He also started photo.net which was basically the most prolific online community for photography back in mid 90s/early 2000's. spent majority of my high school / college years browsing that site.
Re:AOLserver is America Online's Open-Source web server by silisili on Thursday April 20, 2023 @11:21PM (#35649477)
Interesting. I always assumed it was Netscape, seeing as they'd purchased the company rather publicly.
Re:AOLserver is America Online's Open-Source web server by talloo on Thursday April 20, 2023 @11:25PM (#35649504)
AOLserver ate the Netscape server for lunch
Re:AOLserver is America Online's Open-Source web server by davidw on Thursday April 20, 2023 @11:53PM (#35649667)
I created, with some other people, what went on to become Apache Rivet: https://tcl.apache.org/rivet/

It did less than AOLserver, but was also very lightweight and easy to integrate with Apache.

For a long time, https://flightaware.com/ used Rivet under the hood.

Tcl was... is a fantastic language for doing web development. Its flexible nature made it really good for doing template/PHP type stuff, and being pretty string friendly, you had a lot of what you needed out of the box.

Re:AOLserver is America Online's Open-Source web server by systems on Friday April 21, 2023 @01:21AM (#35650045)
what are they (flightaware) using now
Re:AOLserver is America Online's Open-Source web server by evilotto on Friday April 21, 2023 @03:43AM (#35650862)
There's still a few .rvt links on the site, so they may still be using a fair bit of rivet.
Re:AOLserver is America Online's Open-Source web server by networked on Friday April 21, 2023 @06:12AM (#35651760)
Thanks for creating Rivet! I use it for several separate pieces of interactive functionality on my home server, the way some may use PHP. The API is simple enough, and if you already know Tcl it doesn't take you long to get started. I especially like how easy it is to implement file uploads with ::rivet::upload.

> Tcl was... is a fantastic language for doing web development.

Except for JSON. You can't round-trip JSON through Tcl because dicts are lists are strings. There are solutions out there (https://wiki.tcl-lang.org/page/JSON), I even wrote a few of them, but in the end there is a fundamental impedance mismatch. It gets in the way of emitting JSON from quick hacks or the REPL because you essentially need an explicit schema.

For text-based templates, Tcl is good. I have written code to generate CSS in Tcl (once for https://www.tcl-lang.org/! -- I made it responsive) and loved how well the language fit the task.

Re:AOLserver is America Online's Open-Source web server by mintplant on Friday April 21, 2023 @01:11AM (#35650012)
> That’s why all of its API identifiers have the prefix `Ns_` (or `NS_` or `ns`, depending on the kind of identifier). Kind of like how (coincidentally) Apple’s Foundation and AppKit frameworks use the prefix `NS`, because those came from Nextstep.

Also lots of stuff at Mozilla, because of Netscape. Usually signifies an older part of the Firefox codebase.

Re:AOLserver is America Online's Open-Source web server by toyg on Friday April 21, 2023 @09:55AM (#35653789)
Ironically, all of these are NameSpaces (NS!) that... end up basically sharing the same namespace.
Re:AOLserver is America Online's Open-Source web server by santoshalper on Friday April 21, 2023 @12:26PM (#35656142)
I always thought they meant namespace. In a weird, indirect way, they did!
Re:AOLserver is America Online's Open-Source web server by pjmlp on Friday April 21, 2023 @01:46AM (#35650154)
This was Rails, years before Ruby mattered at all.

Back in 1999 I joined a startup (Intervento) that had a product based on the same ideas, we created our own Tcl module that could be plugged into either Apache or IIS, had a DB abstraction layer that would generate all CRUD stuff for each table for Informix, MSSQL, Sybase SQL, DB2, Access, Oracle, targeting Aix, HP-UX, Solaris, Windows NT/2000, (we also had Linux but it wasn't considered production ready), extensions could be furter coded in either Tcl or C, and we had an IDE written in VB 6.

We got acquired and became part of Altitude Software, eventually as MSFT partners we got early access to .NET and decided to port the same ideas into .NET, this gave us the performance that Tcl/C didn't deliver under very heavy loads, and Visual Studio.NET was better that what we managed to have with our in-house IDE.

Eventually some of Intervento founders left, and created what is nowadays known as OutSytems, one of the few successful low code companies.

It was a great experience, however as one the persons responsible to optimize Tcl code into C modules, and part of the .NET migration team, I learned to never consider languages without a JIT/AOT compiler for nothing serious beyond OS scripting tasks.

Re:AOLserver is America Online's Open-Source web server by TranquilMarmot on Friday April 21, 2023 @02:51AM (#35650527)
I've written a lot of code in my life. It's fun to think about how much of it gave me a lot of grief when I was writing it and it's not even running anymore haha. On the flip side, it's a bit existential to think about code I've written outliving me and running on peoples' machines long after I'm gone...
Re:AOLserver is America Online's Open-Source web server by xattt on Friday April 21, 2023 @08:39AM (#35652823)
* * *
Re:AOLserver is America Online's Open-Source web server by jabl on Friday April 21, 2023 @10:31AM (#35654330)
> It was a great experience, however as one the persons responsible to optimize Tcl code into C modules, and part of the .NET migration team, I learned to never consider languages without a JIT/AOT compiler for nothing serious beyond OS scripting tasks.

As a slight aside, I once worked on a molecular dynamics simulation program which used Tcl for the basic setup, and then performance critical parts were done in C. A fine enough approach, except that the original authors had decided that the one hammer to get good performance out of C was inlining. And they used this everywhere. Literally everywhere. Everything except for main() and some I/O functions was defined in "static inline" functions in header files.

Re:AOLserver is America Online's Open-Source web server by justinator on Friday April 21, 2023 @01:46AM (#35650156)
Because I read Greenspun's website so much, I was sure I would be writing Tcl for a career. Turned out I did far more photography (still don't own a plane).
Re:AOLserver is America Online's Open-Source web server by varjag on Friday April 21, 2023 @02:22AM (#35650353)
He's more of a Trump helicopter guy lately.
Re:AOLserver is America Online's Open-Source web server by eduction on Friday April 21, 2023 @09:36AM (#35653534)
He still writes about planes! To me he doesn’t seem so much pro Trump as skeptical of certain thinking within the current left (and many Covid policies, though general opinion has shifted in his direction somewhat).
Re:AOLserver is America Online's Open-Source web server by varjag on Friday April 21, 2023 @12:21PM (#35656063)
I mean he painted his chopper into Trump livery and flew it around to "trigger the libs", so…
Re:AOLserver is America Online's Open-Source web server by Paul-Craft on Friday April 21, 2023 @01:59AM (#35650216)
> That’s why all of its API identifiers have the prefix `Ns_` (or `NS_` or `ns`, depending on the kind of identifier). Kind of like how (coincidentally) Apple’s Foundation and AppKit frameworks use the prefix `NS`, because those came from Nextstep.

I've always hated when APIs and types are prefixed like this. It doesn't play very well with autocompete.

Re:AOLserver is America Online's Open-Source web server by Macha on Friday April 21, 2023 @05:58AM (#35651679)
It largely came about at a time where autocomplete was not a widespread concern but C's lack of namespaces was.
Re:AOLserver is America Online's Open-Source web server by Paul-Craft on Friday April 21, 2023 @06:19AM (#35651806)
Tell that to the company I worked for 5 years ago. People are still doing it for some reason.
Re:AOLserver is America Online's Open-Source web server by viraptor on Friday April 21, 2023 @08:22AM (#35652651)
It makes sense in C, doesn't it? You want your or some library's string abstraction available separately and not a bunch of errors because you both defined a different `struct string`.
Re:AOLserver is America Online's Open-Source web server by Paul-Craft on Friday April 21, 2023 @11:01AM (#35654821)
We didn't use C.
Re:AOLserver is America Online's Open-Source web server by gadders on Friday April 21, 2023 @05:16AM (#35651400)
Man, those heady pre-dotcom crash days. I remember reading his blog, and all the drama when the VCs took over and kicked him out.
Re:AOLserver is America Online's Open-Source web server by roel_v on Friday April 21, 2023 @08:34AM (#35652753)
I was cleaning out my old books just a few weeks ago and put 'Alex and Philip's guide to web publishing' in the 'can't justify to keep, feel bad to throw away' pile. I've been trying to give it away on our local ebay but doesn't seem anyone still remembers the cultural significance, or cares about a book on it...
Re:AOLserver is America Online's Open-Source web server by eduction on Friday April 21, 2023 @09:28AM (#35653427)
Glad to see another fan of that book here :) That book is a “definite keep” for me, although chunks are coming out of the binding. The parts that retain the most significance to me are the amount of thought and design he put into web communities. I think this was because he was operating in an era (and coming from an era) where putting a community online in a “scalable” way was expensive and time consuming, so he thought through his goals and the potential ways to achieve them and the corner cases very thoroughly before coding. It also came from a time when, due to the newness of the medium and a shortage of expertise, there was an ethos of democratic education — the idea that anyone can learn this stuff. Even the ways he thought of web communities tended to involve peer education instead of just publishing for clicks.
Re:AOLserver is America Online's Open-Source web server by xattt on Friday April 21, 2023 @08:36AM (#35652783)
This might be searching for patterns where there are none, but is there any relation of ArsDigita to ArsTechnica?

Are the names some sort of cyberpunk in-joke?

Re:AOLserver is America Online's Open-Source web server by marcellus23 on Friday April 21, 2023 @10:36AM (#35654391)
"ars [some adjective]" is a not-uncommon construction for a name — you see other examples around like "ars mathematica".
Re:AOLserver is America Online's Open-Source web server by WorldMaker on Friday April 21, 2023 @03:22PM (#35658723)
"Ars" is Latin for "art". Can be read as things like: "Art digital", "Art technical", "Art mathematical"
Re:AOLserver is America Online's Open-Source web server by marcellus23 on Friday April 21, 2023 @03:34PM (#35658874)
"art" is a valid translation in certain contexts, but a more accurate one would be "skill" or "craft". And noun-adjective is a typical word order in Latin, so you can just translate with the correct English word order ("technical art", not "art technical"*).