by ginko · 3y ago · 0 comments
The article brushes over this, but IMO the lack of built-in backlog support is the main reason why IRC is essentially doomed. Logging isn't a "fancy" feature and telling people to just run an always-on logging service on top doesn't cut it.
Especially when there are open, federated chat protocols that don't have this problem.
Discord's logging is shitty because:
1 - The logs aren't yours, they're Discord's. If you get banned from the server, your server shuts down, or Discord bans you altogether your access to those logs is gone forever.
2 - Unlike the logs of some IRC channels, Discord's logs aren't available on the web anywhere, so they can't be indexed or searched outside of Discord.
3 - Paging through hours or days of Discord logs is so incredibly painful, because every few screenfuls or so Discord has to load the previous/next logs and that is super slow compared to paging through text logs offline. If you have a lot of logs to page through, this experience is absolutely atrocious.
4 - There's no easy way to export the logs to be processed with standard/powerful text manipulation tools, like text editors, sed, etc..
Discord's search is painful because:
1 - There's no regex search.
2 - No ability to search via web search engines, because the logs aren't available on any website (see above).
3 - No way to search through the logs of multiple servers at once.
I have IRC logs going back decades, from servers I haven't been on in decades, but they're all instantly searchable, and the text in them is easily manipulable.
My Discord logs are trapped in Discord and I'm forced to use Discord's pretty but otherwise horrible UI to search them.
No, the reason Discord is popular has nothing to do with logging, but everything to do with how easy it is to sign up, join, and get a server running. Inline images and not having to learn obscure IRC commands or figure out obtuse IRC clients are also huge plusses for your average user. Discord's client is also visually pleasing -- something that most IRC client developers still haven't figured out. Aesthetics matter to users, as Apple has proved.
But Discord is an information black hole where data goes to die.
I'm really saddened and angry that projects end up using Discord as their main forum interface.
Not everything is worth keeping around forever, but Discord is as closed a closed garden as can be.
That's great for private servers between friends, but it's contrary to the ethos of Open Source, as nothing is really in the open.
History is basically unsearchable and everyone lives in a perpetual present where topics need to be discussed over and over again instead of being easily available to newcomers. Once they disappear from the current page, they become really hard to reach.
And discord will happily close your account or prevent you from logging if your activity is deemed suspicious, i.e. if you're travelling and using VPNs, getting in can be a nightmare. The feeling of also being constantly watched, a step away from having your account blocked, is jarring.
I wish there was a good open source alternative that would also allow data to be easily made public and allowed users to just join and participate with whatever existing accounts they have (google, GitHub, any Fediverse account, etc).
Servers could be self-hosted or hosted for free or a minimal fee based on the server size, with some paying additional features (like flair, large audio rooms, automated backups, branding, more customization, etc).
But is discord too big to be taken on by an Open Source project?
One project I’m working on uses it instead of Slack and the Element client specifically is pretty good and constantly adding new features
Using chat as a forum is... Just not a great idea. It seems most remember a strong sense of community on forums. We talked about actual interests and learned things and it was great, and stuff didn't get buried or too disorganized , nor did it feel like any kind of time pressure thing where you had to be on at the right time... Why not just... Do that? It was amazing.
Discord gives you a chance at searching old history with zero additional setup if the permissions allow.
For both IRC and Discord you’d need to run a bot to have truly open logs online.
You're totally right that you need a bot to have open logs online, I'm just trying to point out that a huge number of open source projects (CPython, FreeBSD, Haiku, Quotebrowser, random NASA weather balloons, thousands of others) already use a common bot so it's not that hard of a problem. The bigger problem is political, in that most IRC network discourage logging, and many communities are outright hostile to it.
Notifico discards PRIVMSG's immediately and the rest of its logs after a couple of hours normally, but in its last decade of operating it's seen more than 2 billion messages to give you an idea of how much has to get indexed.
Also, writing your own bot for IRC is trivial, and has no TOS, complicated APIs, OAuth flows, or other barriers to entry. Can absolutely do the same for Discord but they've already been making changes to make it more difficult to log or export your data.
As far as logs hosting though, this only works for as long as you're willing to host though. It seems unlikely that Discord will disappear overnight -- or if this was a risk, I'd assume they'd be acquired with a large userbase.
I've written IRC and Discord bots and don't think Discord bots aren't much more difficult. One of the best strengths of writing a Discord bot is that if your bot goes down, you can query and fetch lost history fairly easily. This isn't doable in IRC unless you put a bouncer in front of your bot or the server is set up to feed clients with history.
https://github.com/Tyrrrz/DiscordChatExporter
But beware -- it can result in account termination!
https://support.discord.com/hc/en-us/articles/115002192352-A...
I can not possibly understand why anyone considers discord to be anything but a company with absolute control of a product.
Sure, you can write your own logs, but does your business want you creating even more information to have to submit as evidence if you’re sued? What a nightmare.
He somehow managed to know enough technical information to get past a phone screen, and in the in-person interview claimed to be the second coming of Christ. When he didn't get hired, he sued for religious discrimination.
Fortunately, all communications with and about him were entirely professional and didn't include a reference to his claim, so (iirc) the case was tossed in short order.
That being said, you don't need to do anything to get sued- you just need to have something worth suing for.
As far as I'm concerned it is not a technology that should exist aside from realtime viewing of feeds, and things meant from random idle chatter.
People are using Discord like as if it's a forum and a wiki in one. Which isn't the worst thing, because it's better than nothing, but I think it would be better with an integrated real forum that auto-posts new topics in the chat.
If you have something you think is worthy of preserving, say it in a paginated forum where people can find it, if you have an ephemeral shitpost, say it in the chat. If you want to scroll through history of ephemeral shitposts and see what's happening, even that should have a calendar based pagination UI.
Old forums used to have shoutboxes. Proboards and phpbb and the like were basically already perfect.
If I was going to do a community platform, I'd just build a forum. The only thing I think I'd change is I'd make it so you could download archives, and I'd consider having a wikipedia style policy of everything being Creative Commons.
I’m beyond sick of the helplessness performative shtick around Discord. This is an ancient problem with obvious solutions. Do better.
(To their credit, IRCCloud tries. They are the best swing at it I've seen. They aren't Slack-good, let alone Discord-good. The search continues.)
It's also very bad at URLs.
And sometimes it just breaks and loses results. If I remember right I even hit a situation where searching one word found a chat line, and another word found that same line, but both words didn't find it.
Actually I find it ugly, but thats firmly in personal preference territory. A decenct client would be skinnable or css-able to meet users diverse aesthetics.
Also you forgot to say that Discord had a high quality voice chat back when such a thing was nonexistent in the web and the various desktop clients like Skype were a crapshot or were obscure and required you to host your own server like Mumble.
But the people who use logs won't use IRC, and the people who often miss out on important conversations because they are only casual users will not have logs. Casual users outnumber dedicated users - the lack of good logging is a real problem for them.
Camfrog video chat has been around since the beginning '00s. You could put as many video feeds as you could fit on your screen, with 20-30FPS streams, and good sound quality. Granted, resolution was 352x288, but for seeing and talking, you don't really NEED much else.
Discord, meanwhile, can't keep a reliable WebRTC stream going.
Once every 5-10 years, I look through the logs I have that aren't on textfiles because the statute of limitations hasn't run out and relive a little of the history of how certain things came to be.
Those chats are an ethnography waiting to happen. You'll wish you had yours one day.
And some communities had it setup for you so it is not something that each user had to do.
Or use one of the public ones.
Everything is painful. Clients tend to be terrible and I cannot search at all in IRC, or I get weird integrations between znc and and the chat client.
All in all, i'd rather use discord than IRC, even with the downsides. I do prefer forums or the "was" reddit for information.
It's shitty, but if you just have to beat "non existant" that will often work.
Yes this is a real thing.
Free slacks lose their history in 90 days
people in the west have a lot of freedom in this and don't really need to care at the moment, but imagine living in the CCP or Thailand and bad mouthing the supreme leader?
Discord's search function is so bad it's essentially unusable so having the backlog is often useless, however the ability to "pin" a useful message or discussion by getting a link is very relevant.
Baseline IRC doesn't have message addressing, regardless of backlogging.
You need the "message-tags" extension (https://ircv3.net/specs/extensions/message-tags) and message-ids support (https://ircv3.net/specs/extensions/message-ids.html) for that to even be entertained, plus probably echo-message (https://ircv3.net/specs/extensions/echo-message). I've no idea how well those are supported in servers, to say nothing of clients (which would need a way to surface message ids, and possibly permalinks).
At that point, you probably also want the WIP chathistory extension (https://ircv3.net/specs/extensions/chathistory) which provides backlog support.
Discord's search function is 1,000x better than what's built into Windows 10 and 11. I've found pictures I posted from years ago in discord, Windows 10 can't even find half the files I downloaded and transferred to another drive the other day.
How do companies tolerate such obviously awful search experiences?
That sounds like indexing settings, on your end, are not sufficient for your use cases. I suggest decreasing the interval between indexing on your machine.
If indexing is correctly setup in windows any/all files will be immediately searchable and indexed.
FWIW I have DisableBackOff = 1 set so indexing happens faster than default.
While that's not technically unusable it's far beyond the level where I'll even try to find something in Discord unless it's very important.
But also, it's chat, so I don't really care if on the once-per-month I use the search I have to think about it for a second, because all the other stuff is there and it's good.
Oh wait they’re probably using nosql
Not to mention some IRC channels are really high latency, you leave a message and someone else replies ten hours later. If you miss the reply because you were offline, you couldn't expect anyone to be around to repeat missed conversations back to you.
Due to this I've never really liked IRC, its not good for mobile devices or people who live with DSL or dial-up. Sure you can "just get an account on a bouncer" but that's pretty esoteric knowledge that I never encountered until after university.
Chat being real-time is certainly "approaching real life" much moreso than fully asynchronous email, but most people don't want either to be real life: chat still needs an element of asynchronicity to distinguish it as a technologically useful medium improving over actually walking into a real room.
To put it another way: if I'm in a real life room where being present for the full conversation is necessary, it's easy to excuse being late or going to the bathroom as unfortunate parts of life when people are repeating themselves. When there's simple technological solutions that can easily prevent me from missing anything important, and someone's telling me they don't want it because they like the inconvenience, that's harder to justify.
When I join an IRC chat there's a lot less baggage.. it's just a label / topic, it's very freeing.
logging, message fixing, embedded replies .. all great but not important in the end. These things are blending professional complexity with normal human moments. Not the right optimization (if optimizations are required at all)
You need the irc services to keep specified information (like ownership of channels and nicknames) and they probably could also collect logs, with some limitations in case of netsplits of course.
If I need more context about those messages when I return, I can just ask those users (or a bot).
Still maybe there could be a way to summarize those chats with some kind of a transforming generative text system that I hope exists one day.
It's not trivial to setup a bouncer for the new guy who's just worked out how to connect to IRC.
Absolutely fantastic that it was finally added but IRC is 34 years old, and this has been an essential feature of chat services for at least 20 of those years.
I'd love to see it's introduction now save IRC but given the seeming resistance to adding it, one wonders how long any other improvements will take.
Slack is just a modern irc interpretation. It literally started running on top of IRC.
Discord got popular because it was one of the only chats that kids could access and install in school. It wasn’t a serious tool.
This is the point isn't it. If IRC were fit for purpose, we wouldn't need "modern interpretations".
For one it stops you from being lazy and not maintaining FAQs and documentation.
It also forces you to stop treating the chat as something you need to keep up to date with. At work I see people commonly scrolling back for pages and pages to find the last read marker and continue reading from there. This seems unhealthy to me.
I use a bouncer but I very rarely use the logs. For all the purposes for which I would use logs, there are normally bots in the channel which can compensate.
Regardless, what is your point? I never claimed that conversions can't happen when you are not online, just that you should design your conversations such that it doesn't matter if someone isn't online.
The problem you just described was caused not by IRC and its lack of backlog but by you and your team and your misuse of a backlog-less chat system.
Important announcements shouldn't be done on IRC. For that matter, neither should they be done on Teams, Slack, Discord, Matrix, XMPP, or Skype. Important announcements belong on a web page and a mailing list (both simultaneously) or alternatively on some other purpose built system which tracks who has seen an annoucement so that if important announcement is missed by a key player, someone is alerted and can reach out using an alternative method of communication.
But even if you insist on misusing a chat protocol like IRC for this, ask someone who was there for their logs? I don't understand how nobody on your global team was able to even just summarize what you missed.
It seems someone chose the wrong thing, then you needed a history feature to bridge the gap.
That existing IRC implementations may be antiquated mammoth shit shouldn’t prevent anyone from building something new.
I understand that a part of this whining is a desire to market one’s own proprietary silo which purports to solve these problems.
If you're storing data, someone somewhere has to pay for housing it. One of the reasons IRC is lightweight is because a network and its constituent servers only facilitates exchanging data between users.
Consider how Discord is begging you and everyone to sign up for Nitro because they're housing and serving all of their data. Most IRC networks on the other hand operate perfectly fine off of donated volunteer time and hardware for tens of thousands or even hundreds of thousands of users.
No data to store means cheaper and easier logistics. IRC is just a simple bridge, whereas Discord is a Costco.
As of around a year ago Discord claimed to be passing around 4 billion messages a day.
I don't know how their average message size compares to Slack, but I just took a look at an export of messages from my company's Slack server and our busiest day in six years was just over 1MB in uncompressed JSON format, around 1.4KB per message. Compressed it was around 104 bytes per message. If we assume that the average message size is similar and similar amounts of metadata are stored per message, that means we're talking about somewhere between 400GB and 5.6TB per day for the entirety of Discord.
That's a lot of space on an individual basis, but nothing for a global-scale service. Obviously that's just for text and not any uploaded files, inline previews, thumbnails, etc. but still the point remains. Archiving text is not really a hard problem to solve. It's tiny by modern standards.
And for that matter, for "pretty much everything?"
Seems to me the simplicity of the bot is the biggest feature?
(Now if it’s an extra-special piece of software just to use your extra-special chat, then they’ll tell you to take a hike, true. They’ve got to actually want to get to the dancing bunnies[1] first.)
[1] https://blog.codinghorror.com/the-dancing-bunnies-problem/
Anyways it feels silly to require always-on service when history could just be part of the protocol.
Federation and federation type ideas should be enough; let's get (back?) to a place like cars mostly used to be. You should theoretically be able to know a friend who can fix your car if you don't want to be a mechanic, and the same for "computer stuff."
It's almost like how math educators sometimes don't understand that we mostly don't have checkbooks to balance. Math is important, but that doesn't mean I have ever sat down with paper and made a budget by hand.
Everyone always talks about flexibility and modularity and control, but what people want is stuff you just install and it works and has all the features already there.
Maintaining even trivial software can be hard, and people are very good at using what they have even if it's not explicitly meant to do the use case, like the story where the old lady was annoyed at her family for not telling her about the knitting program, which was Excel, that she found and figured out herself.
Additionally, it's richer in features
This provides a really reliable chat framework in a totally open-standards compliant way.
Of course, most people don't care. This is why the corps business model of profit via surveilance is so successful. So, to jump straight to Godwin's Law: this is the same lack of concern, and passive cooperation, that led to the rise of hitler...
I don't really understand why people would need to log chat, it doesn't really make sense to me. Chat is meant to be ephemeral, short lived, and not leave trace. Chat is spontaneous.
If users want to leave a trace, they use a database or email.
Discord added threads and forums, and those should be logged, but not channels.
I think when I was a teenager, I did a lot of chatting online in the sense you are talking about, and I didn't really care about the backlog. But nowadays, there's no room for "chat without log" because it's way too involved. I don't do synchronous chatting anymore at all, basically. After reading your comment, it seems like "chat" in general is just not for me anymore. Asynchronous messaging, however, still has a big part in my life.
I don't know what expense you're imagining, but my IRC logs took almost zero CPU to acquire and they add up to well under a gigabyte per year before I apply transparent 4x compression.
If you want a full conversation history then use something like email/listservs. IRC is for real-time chat. We already have a plethora of async options.
chat history is critical even for realtime chat.
I understand if what you mean is it’s an extra step the technically challenged don’t want to do but the ability to do so has existed forever.
Of course, this was over 20+ years ago now.
I had an IRCCloud account for the same exact reason until freenode "blew up"
The inability for partisans of particular technologies to understand that affordances matter more than the technologist's spherical-cow notion of "better" continues apace. And I have some empathy for that viewpoint, too, but I grew out of it as a teenager and I always find it odd that others stuck to it.
If you can't meet people where they want to be, your solution might be simple but your solution isn't good for them and fulminating about it just isn't great.
(ripgrep is a very nice log searching tool, only top tier users will be told about it!)
Server Up 1375 days, 10:05:01
*.XXX.net[xx.x.x.xx] 0 9696 10570 56550590
Its server to server link, online 56M secs. Now do the math, how much days this link is up (no netsplit).
Chat is not just for business. Its use-case existed even before notion of business came to be.