News for hackers. Stuff that matters.
Re:Modern IRC Client Protocol by userbinator on Sunday November 19, 2017 @07:51PM (#15736968)
IRC is IMHO an example of a good text-based protocol design, along with several of the other early Internet application-layer protocols (POP, SMTP, HTTP); usable manually with nothing more than a netcat terminal, but also by more fully-featured clients. Early versions of MSNP had a similar flavour, before Microsoft decided to bloatedly XML-ify and SOAP-ify it.

Also, can we please stop using the word "modern" in everything? It's essentially meaningless. At least the name of the page doesn't have it.

Example: I have a book titled "Modern Welding" on my bookshelf (or, as others have called it, "Modem Welding", which partly explains why it's there...), whose copyright date is 1965.

Re:Modern IRC Client Protocol by feelin_googley on Monday November 20, 2017 @01:28AM (#15738201)
"Also, can we please stop using the word "modern" in everything?"

I am using a text-based browser and so I do not use the upvote/downvote javascript. Consider this comment an upvote.

The increasingly pervasive attachment of the word "modern" to software descriptions in recent years is confounding. I thought maybe it was annoying only me but apparently not.

Sometimes I have thought it could be a manifestation of cognitive dissonance arising from the realization that in software, in most cases, "there is nothing new under the sun".

Honestly I do not understand where it comes from or what it means. Is it some sort of marketing buzzword?

Re:Modern IRC Client Protocol by lultimouomo on Monday November 20, 2017 @06:04AM (#15739117)
> I am using a text-based browser and so I do not use the upvote/downvote javascript. Consider this comment an upvote.

I haven't tried, but looking at this page source it looks to me that vote arrows are divs wrapped in anchors pointing to up- and down vote URLs. They should definitely be usable without JS; maybe the problem is that the empty divs are not visible in your text browser?

Re:Modern IRC Client Protocol by feelin_googley on Monday November 20, 2017 @01:46PM (#15742098)
Correct. They are not visible.

I could convert these anchors into visible URLs and they should work. Nevertheless I will not be doing that.

When I mentioned JS I was thinking of the presence of the onclick attribute and the vote() function as seen below.

<a id='up_15739117' onclick='return vote(event, this, "up")' href='vote?id=15739117&amp;how=up&amp;auth=&amp;goto=reply%3Fgoto%3Dedit%3Fid%3D15738201%2315739117%26id%3D15739117#15739117'>

Re:Modern IRC Client Protocol by danieloaks on Monday November 20, 2017 @02:23AM (#15738373)
Can't speak for software but in the case of these specs, 'Modern' in the title pokes fun at the fact that the core protocol specifications most people refer to are around 25 and 18 years old, respectively. RFC 1459, very commonly referred to and still the first reference for a lot of IRC software authors, came out before I had my first birthday!
[dead]
Re:Modern IRC Client Protocol by sctb on Monday November 20, 2017 @07:54AM (#15739535)
Re:Modern IRC Client Protocol by X-Cubed on Sunday November 19, 2017 @10:32PM (#15737556)
In regards to your second point, it is a web page rather than a book, and it states that it is intended as a living document.

IRC has changed a lot over the years, and this is an attempt to document the subset of the protocol that is currently being used in most implementations (hence the "modern" title).

Re:Modern IRC Client Protocol by chipx86 on Sunday November 19, 2017 @11:55PM (#15737887)
MSNP was a neat little protocol. Messages were sent as mime messages. They did have a max message size, but the official client would ignore any headers it didn't know about and any mimetypes it wasn't expecting. This gave third-party clients a lot of ability to extend the protocol. For instance, I hacked in avatar support in Gaim (aka Pidgin) when I was maintaining that support.

MSNP8 is when all the terrible MSNSLP (MSN SLP-Like Protocol) stuff began, with the binary packets. Spent a couple months figuring out the content of those packets... And while avatars were part of the protocol at this point, custom content was no longer as viable. I can understand some of the reasons they wanted to change it, but in the end, I think they ruined a decent (if imperfect) protocol.

Re:Modern IRC Client Protocol by beefhash on Monday November 20, 2017 @12:05AM (#15737926)
>IRC is IMHO an example of a good text-based protocol design

Though it would have been nice if there was an actual text encoding specification. Right now, various networks, especially in Asia, have all kinds of funny encodings going on. Meanwhile in US and European contexts, UTF-8 isn't standardized, so you have to expect other encodings as well.

Re:Modern IRC Client Protocol by DeepYogurt on Monday November 20, 2017 @07:40AM (#15739480)
I for one am waiting for the Post-Modern or New-Modern IRC Client Protocol. Modernism is just so dated these days. /s