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.
Slack client for the terminal
171–180 of 184 posts
Re: Slack client for the terminal
#172https://github.com/bkanber/Slackadaisical
Been using it, works fine as well. Good job OP though, diversity of offering is always good!
Re: Slack client for the terminal
#173Earlier quoted context omitted.
Eul seems like it might fit that requirement: https://eul.im/
I tried the latest Mac version. Crashed instantly I tried to log into Slack. Maybe in a few revisions it'll work but for now, it doesn't seem to.
Re: Slack client for the terminal
#174Earlier quoted context omitted.
This ignores the fact that if you don’t respond to people contacting you you’ll get fired. As a salary you have no voice. The market simply optimizes for whatever is easiest for a ceo to install and maintain.
How is this Slack's fault, again? Or is the argument that messaging systems should be hard to install so they aren't misused? Seriously, what even is this comment chain getting at? If you work somewhere where always-on is a hard requirement, it doesn't matter what messaging system is used. Any place that would fire you for muting notifications would just as easily fire you for turning off email notifications. In shor…
Re: Slack client for the terminal
#175I 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.)
But I think it's more useful to think about the percentage use of RAM for a given application. If you're running on a machine with 32 MB of RAM, then using 20 MB for a single application is obscene. But if you're running 32 GB, it's insignificant.
Even so, a single application shouldn't be using a significant percentage of system RAM on an average consumer grade laptop/desktop (4 to 16 GB of RAM).
Re: Slack client for the terminal
#176Earlier quoted context omitted.
I know someone who uses the gateway but it was a long while before we (I) found out that he didn't receive edits or emoji reactions, which may or may not have caused significant miscommunications.
when did correcting your message become so hard that we needed editS? *edits
s/complext/complex/
Re: Slack client for the terminal
#177Earlier quoted context omitted.
Because the engineering costs have not gone down so it may not make sense to spend the effort to reduce memory usage.
I suspect you might think I demand that every byte is used absolutely optimally. I'm sure some crazy chap out there could write this application with only a few hundred bytes of memory, but that's beside the point.
Re: Slack client for the terminal
#178Earlier quoted context omitted.
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 bef…
I'm responding to the parent, who was questioning the existence of Slack, because IRC already exists. That's not reasonable, as I explained in the comment you're replying to, and even more in another reply. IRC doesn't work "perfectly fine", at least in the context of the problems that Slack solves. I think we largely agree on technical matters; it's a matter of what relevance this has to the OP -- a Slack client for…
I was saying you are comparing Slack to IRC-when-used-to-solve-a-different problem. You haven't described IRC as it could be configured to handle the same problems as Slack, only when you've encountered it in the admittedly more common case that it's intended for drop by traffic.
Re: Slack client for the terminal
#179Earlier quoted context omitted.
I suspect you might think I demand that every byte is used absolutely optimally. I'm sure some crazy chap out there could write this application with only a few hundred bytes of memory, but that's beside the point.
For a lot of my projects I use SBCL. The runtime for SBCL is 50MB. That would be a deal breaker for me in 1995, but it is a reasonable tradeoff for the increased productivity I get from it compared to slimmer runtimes.
What are your reasons for sticking to Common Lisp?
50MB "runtime" sounds quite extreme, even in this day and age. That's 2.5x the consumption of a fresh Node.js instance on my machine. :/
Re: Slack client for the terminal
#180I 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.)
There's an old joke about emacs standing for eight megabytes and continuously swapping. But I think it's more useful to think about the percentage use of RAM for a given application. If you're running on a machine with 32 MB of RAM, then using 20 MB for a single application is obscene. But if you're running 32 GB, it's insignificant. Even so, a single application shouldn't be using a significant percentage of system…
I'm currently on a 16GB machine, where I only have a terminal, a text editor and a browser with few (mild (wikipedia, hn, ...) tabs open. That gives 351 processes using a total of 8.7GB memory (2.11GB of which is unswappable, and about 1 gig of already compressed memory). My 3GB of disk caches go on top of that, and 0.5GB has already been swapped out.
I sure have room for a 20MB binary right now. However, on an 8GB system, I'd be in the red. I would already be swapping several GB, and any allocation would either evict (useful!) caches or swap out the memory of another process.
Any memory allocated in that state reduces the performance of some other component of the system.
Of course, 20MB is much better than the status-quo of casually burning a few hundred MB (or even a few GB) for simple tasks, and the situation of being out of memory with a whopping 8GB is caused primarily by the other "bad citizens", but the point here is that 20MB is indeed a quite big chunk of memory in real-world use-cases.