Live data from Hacker News

Slack client for the terminal

github.com

121–130 of 184 posts

Re: Slack client for the terminal

#121
post #50

So we've gone from IRC which worked perfectly fine to a billion dollar business just to port that software back to the terminal, where we started out to begin with I don't understand this world any more

I love using Unix and the terminal, but I hate using IRC. I don't think it works "perfectly fine". I have been lurking on a few IRC channels due to my work on http://www.oilshell.org/ . Problems I noticed: - The lack of conversations/threading is really annoying. Most worthwhile IRC channels have more than one conversation going on at once. Not only do you have to untangle who's talking to who, there's no way to know…

Slack addresses some of the problems, but not all:

> The lack of conversations/threading is really annoying.

Slack is arguably worse - they recently added threading (really comments that can go on a post - there is no nesting), but this has made me much more likely to miss any follow-up because messages are less visible than otherwise.

> By default there seems to be a lot of leave/join spam. I used IRC for a year before turning this off and it vastly improved my experience.

This is entirely client dependent, so not really a fault of IRC. Slack has the same option, it just defaults to not displaying it like clients as opposed to whatever IRC client you used.

> I think most clients don't save anything by default. When I reboot my computer and don't log in again, I miss messages.

Yes. I don't know the inner workings, but generally if you're offline on IRC you will miss anything directed at you. Slack definitely addresses this, and it is my favorite "feature" - it means that Slack is not good for only casual discussions. (Slack's search is my second fav, and there's nothing special about that, it just works well enough that I can usually find that comment I vaguely recall someone making within the last 6 months on one of the many channels I'm on).

I expect this is largely a client issue, though I also imagine that most IRC servers have a very limited amount of immediately available conversation. Remembering that you have direct messages waiting for you would require servers that reserve nicks. That's all guessing though.

- Having to use pastebins for code is annoying.

Slack allows for posting code in text, posting text "snippets" that can include code, and posting files that can be downloaded.

Overall your frustrations seem very reasonable, but from the sound of it you're "hanging out" on IRC channels that are being friendly for outside users to drop in and out, and for devs to have conversations that are considered temporary. Plus not having users post goatse pics or worse. Which means they aren't even TRYING to accomplish what you want. Hard to blame IRC in that case - those features aren't used even when available.

I'm not exactly saying "You just need to use IRC client X" as you predicted, but more "you probably just need to change a config and connect to IRC servers that are INTENDED to do what you want". Not wanting to go through that effort is fine, and I'm not saying Slack and other alternatives are worse or even equal for those tasks, but don't blame the plane for not flying when the pilot is making donuts on the runway.

Re: Slack client for the terminal

#122

I use this personally. Its great. Hides all the cruft that people post in slack as text. I've been working on trying to extend it on the side. A chat client should not be taking over 1GB of RAM

Current software stacks are incredibly bloated. I recently wrote a simple Java web server. I took care no to use unnecessary memory, I didn't use a single library for it, yet it can't do even basic functions without OOM unless I'm giving it 16MB RAM for heap (and it eats even more for other things). So almost 20 MB RAM for hello world. And that's for relatively efficient VM. I guess, similar web server written with C…

That's such an unfair comparison, though (and really, with 8+ GB of RAM being the norm, 20 MB is still pretty svelte). Java has an entire virtual machine and runtime, whereas a C program is just a binary that gets loaded straight into memory.

Re: Slack client for the terminal

#123
post #42

Earlier quoted context omitted.

I wouldn't call it sane. Why do I have to sign up for different Slack organizations and have a different password for each one? Why can't I private message someone on Slack with just a username? I think Discord does this much better.

So, I preface this by saying that I do feel like Slack could have better authentication mechanisms, decoupling the account from the networks. But I do think that some of this is by design as well. I think it is worthwhile to think of each Slack organization as a completely independent and isolated network. This is one way that they can reasonably give some security to their corporate customers. I don't believe that t…

I'm in multiple organizations, but some are against different email accounts, some use an external SSO and some don't. Were Slack to give a single login I would probably NOT be able to connect to the multiple workspaces I do now, which is a major benefit to me.

Re: Slack client for the terminal

#124
post #47

Earlier quoted context omitted.

Maybe https://github.com/42wim/matterircd can help you. It also supports slack (experimental)

Did you write that? Thanks! I actually do use this, but it is missing a lot of useful features, some of which seem unimplementable in IRC One example: the mattermost clients won't register a message as "read" until you switch to that view, so if e.g. I check messages on my phone, I will see unread messages, but IRC doesn't have a way of communicating this between client and server so matterircd seems to mark all mess…

Yes, it does mark them all as read. (because they're technically read by the irc client, even if you haven't yet)

I'm open for ideas on how to fix this, eg manually sending a /quote read command is maybe an option with irc client plugins.

(feel free to open issues with feature requests btw)

Re: Slack client for the terminal

#125
post #100
post #83

Earlier quoted context omitted.

IRC solves these problems via things like bots and bouncers. Although running always connected irssi client [1] in a screen [2] on a server is probably the easiest way to achieve it. [1] https://irssi.org/ [2] https://www.gnu.org/software/screen/

IRC doesn't solve those problems; individual users solve those problems on top of IRC (and usually not very well.) A proper open-ecosystem solution would involve network-level history-storage-and-retrieval nodes (basically archival peers in the IRC protocol), and additions to the protocol to direct archive-access queries to those nodes.

> A proper open-ecosystem solution

Not sure what you mean by "open ecosystem solution." IRC is literally just a few RFCs, a variety of server software, and a variety of client software. It's as extendable as you need it, and most networks have their own extensions already. Is that not open enough for you?

> IRC doesn't solve those problems; individual users solve those problems

As opposed to...? AI solving them? Do we need a corporation to hold our hand while we solve these issues? I'm not following what you're objecting to here. You're free to write and propose your own RFCs and extend IRC however you wish.

Re: Slack client for the terminal

#126

I just want something between this and Slack's mac app, which sometimes doesn't want to load on even Starbucks wifi. Ideally a GUI app that can load messages on airplane wifi would be amazing. Every time I try to open slack on an airplane it just sits there loading and loading and loading. Maybe one day!

Somebody could probably earn a lot of 'coffees' just building a C++ or Python Gtk UI that works with Slack's API, yeah? It couldn't be that rough, could it? I've done little interacting with the API's outside of simple bot integrations for a little fun.

I'd love to try my luck with this, but I'd also love to use Rust and QT. I need to do a bit of research is this even possible yet, or is it going to be fun at all...

Re: Slack client for the terminal

#127
post #93

Earlier quoted context omitted.

Okay. So why isn't IRCCloud better than Slack?

I can’t convince my colleagues to use IRCCloud at least people will put up with using slack. Rocketchat has much more feature parity to slack tbh. Comparing slack to IRC isn’t really fair even though they do the same thing. I have used irc and slack and slack’s ease of use is its asset. I used freenode in high school and college to teach myself scheme. The barrier to entry is not something that can be explained as ju…

Disagree about barrier to entry.

I run an office hours chat for my online classes powered by IRC. I use KiwiIRC as the front-end.

Students need only the web address of the web page I want them to go to. When they get there, they need only a username.

No signup, no verification, none of that. They're online, getting help in seconds.

Individual public channels requiring nickserv registration and all that? that's another story.

But seriously - the barrier to entry to get started is this:

https://kiwiirc.com/client/irc.freenode.net/?##irc_can_be_ea...

Re: Slack client for the terminal

#128

Earlier quoted context omitted.

Current software stacks are incredibly bloated. I recently wrote a simple Java web server. I took care no to use unnecessary memory, I didn't use a single library for it, yet it can't do even basic functions without OOM unless I'm giving it 16MB RAM for heap (and it eats even more for other things). So almost 20 MB RAM for hello world. And that's for relatively efficient VM. I guess, similar web server written with C…

That's such an unfair comparison, though (and really, with 8+ GB of RAM being the norm, 20 MB is still pretty svelte). Java has an entire virtual machine and runtime, whereas a C program is just a binary that gets loaded straight into memory.

functionally and computationally, the tiny C program and the java monster would be doing the same thing....

So yes, they're comparable. Choosing inefficient ways to do things (in the case of Java) is not a way to escape comparison.

Re: Slack client for the terminal

#129
post #50

Earlier quoted context omitted.

I love using Unix and the terminal, but I hate using IRC. I don't think it works "perfectly fine". I have been lurking on a few IRC channels due to my work on http://www.oilshell.org/ . Problems I noticed: - The lack of conversations/threading is really annoying. Most worthwhile IRC channels have more than one conversation going on at once. Not only do you have to untangle who's talking to who, there's no way to know…

Unsolicited feedback for you @chubot, in case you're open to it: Clicking through to oilshell - I wanted to know what is different and exciting about it, but all I found was text saying it's "new". Making the value proposition clearer would go a long way and be a big help to people who are curious and geniunely want to understand what's amazing about your creation.. !

Thanks for the feedback. I thought I had solved that with the "Why a New Unix Shell?" link at the very top, but I understand you still have to read a bunch of text to answer your questions.

My main goal right is to have sophisticated users try it and give bug reports. It's not ready for people to use as their daily shell (and that isn't even the primary purpose of the project. As explained in the FAQ, I'm focused on shell as a programming language first.)

Some people have tried it and reported bugs, but I could use more reports. So I suppose I could try to sell it a little more and maybe get more feedback. But overall I feel like it's gotten a lot of feedback and attention. I'll think about whether it makes sense to "sell it" more.

The other thing I would like is to attract experienced developers who have implemented VMs and programming languages. Most of those people are working on their own projects. But I think many of them understand my project and half of the blog posts are aimed at that audience.

Re: Slack client for the terminal

#130

I miss the days where people recognized that using using 20MB of RAM for a trivial task is obscene. (Great tool, much better than the awful official client, but 20MB is actually a lot of RAM.)

why is it obscene? Ram runs between $3-$10 per GB, so 20MB is 6-20 cents of hardware. That's far cheaper than using 20kB of ram in 1990 ($2 of hardware).

The price of RAM is not a relevant parameter. Why should 20MB hold less information today than it did in 1990?

Especially for this application, which presents a UI from 1990, and the functionality of an IRC client.

Post reply on HN