Hacker News new | past | comments | ask | show | jobs | submit login

I've been using IRC again recently after a long break. I've been struggling to pick a client. I'm on Debian+KDE so I've been using Konversation, but it crashes after a couple hours (so I dont see conversations until I restart it).

I've been pleased to see that IRC still has community. There's something that makes IRC feel safe that I didn't get when I tried Discord.




I see a lot of recommendations for Irssi and I have to throw in a suggestion to replace Irssi: WeeChat. It can be configured to look and feel very similar to Irssi, but

- it uses more sensible defaults,

- it is actively maintained,

- judging by the list in TFA it has twice the number of users, and

- it is built on better practises making extension etc. easier.

(That said, if you're not interested in a text-based interface, The Lounge does look really good. But I've never tried myself.)


For the record, irssi is still actively maintained and developed, but it is understaffed, and has a lot of technical debt standing in the way of some new features.


Weechat via screen/tmux or bouncer is quite pleasant.


The last time I used irc, WeeChat was also my client of choice, having also migrated over from irssi.


I use https://thelounge.chat/, it requires self-hosting somewhere, but it gives you a discord-like experience.


TheLounge is fantastic. I've got it on a pi in the basement on a battery, and I just VPN into home from anywhere. Been running 3-ish years I think.

It works surprisingly well from mobile browsers, too.


> I've got it on a pi in the basement on a battery, and I just VPN into home from anywhere. Been running 3-ish years I think.

That's a _really_ good battery!


Yeah, that's an oversimplification. It's a rack with a bunch of ports to plug in whatever 12-volt batteries aren't currently in use elsewhere. So when I retire one from the car, or a solar experiment, or replace a whole pile of 'em from a UPS and most are kaput but a few are still viable, they all end up on that rack, in parallel. (With fuses and stuff, of course. And I precharge each battery so it closely matches the float voltage before plugging it in.)

Presently I think there's like 30-40 amp-hours worth of lead and lithium sitting there, all charged by a little Meanwell RS-25-12 or something. I don't exactly remember, but the photo looks familiar. (25 watts at 12 volts tweaked up to 13.85 volts, so, roughly 2 amps.)

That powers the cable modem, wifi router, service pi, and a RIPE ATLAS probe. The first two eat 12-ish volts and have SMPS input stages so they're not picky about the -ish, so they just run directly from the battery rail. The latter two have DC-DC converters feeding them (the venerable MC34063 or something similar). Combined, their draw is just shy of an amp at 12 volts, so the rack with its current fleet of batteries can run several days with no AC input.

Realistically if power fails, I usually start the generator after just a few hours, so the batteries never actually drain much.

If I can find a good place to mount a solar panel that doesn't annoy the landlord, I might be able to unplug the Mean Well and run it independently indefinitely.


Don't you also need some sort of battery controller to stop charging batteries once they are full?


Nah, that's what "float" status is all about. There's a voltage where it's safe to let the battery sit indefinitely. Float is less than full-charge peak stress blow-things-up-if-you-stay-here voltage, but IMHO that's to be avoided anyway. So I set the power supply for float, not peak.

Furthermore, all the lithiums have a built-in BMS that'll dehance the charge-path FETs if a single cell goes over its cutoff voltage. So even if my power supply were to lose its regulation and attempt to overcharge them, they'd just disconnect themselves.

The lead-acids in such an overcharge state would simply convert more of their electrolyte to hydrogen gas and eventually deplete the liquid, but because the power supply is so weak in the first place, it couldn't force that to happen at a problematic rate. The regular drafts and air changes through the house would keep the hydrogen below its LEL unconditionally.


i'd love to hear more about this setup!

what kind of rack lets you just jack in 12v batteries with no concern about charge/discharge?

what's the spread of their capacities?

do you group similar capacity batteries together? somehow and charge/discharge them together?

won't nearby large capacity batteries spread/smear their voltage with other batteries on the rail? the smallest batteries will just get obliterated, and the large ones will do the heavy lifting, right?

do you have something that disconnects batteries when their voltage drops too low? and does it charge them too?

if you put every battery on its own charger, and then use a high/low voltage disconnect, maybe this works, to connect random batteries together on a shared rail...

am i overcomplicating this? or is your setup dangerous?

are you assuming everything has the same float voltage, and you never need to actually discharge, and then you never charge either?

as soon as you go off mains/float voltage, and actually use this battery system, some batteries will deplete faster than others since they have less capacity.

are you using it for purely backup purposes only, and not recharging?


> am i overcomplicating this?

Vastly.

> are you assuming everything has the same float voltage

Yes. Both 6S lead-acid and 4S LiFePO4 are happy at 13.8 to 13.9v. Lead-acid has a temperature coefficient but my basement temperature is nice and stable so I just set for 13.85 and it's fine. They're all in float state at this voltage.

> as soon as you go off mains/float voltage, and actually use this battery system, some batteries will deplete faster than others since they have less capacity. ... won't nearby large capacity batteries spread/smear their voltage with other batteries on the rail?

No, they're all in parallel. All their voltages are precisely the same at all times, modulo a few microvolts for drop across the wires and fuses if there's a lot of charging or discharging happening. If it's actually floating in steady-state, they're identical within my ability to measure.

> are you using it for purely backup purposes only, and not recharging?

Purely backup. When I add a new battery to the pile, I charge it to 13.85 with a separate benchtop supply first, so there isn't significant current flowing through the fuse block when I plug it into the parallel bank. I fuse each tap at 2A since there's never a reason to move more, though all the wiring could do 20, I'd rather know about a problem early. Some are probably 3A because the baggie of fuses didn't have enough 2's in it, but whatever.

> do you have something that disconnects batteries when their voltage drops too low? and does it charge them too?

It's never run long enough to reach a low-voltage disconnect point, but if it did, the LiFePO4's BMSs would disconnect them around 10.5v, and the lead-acids would continue down to about 5.6v, which is where the MC34063's can no longer control their internal Darlington switch and they fall out of regulation. It's anybody's guess how long the Pi stays online after that, but probably not long.

When power came back, the RS25-12 would try to put 13.85v onto the bus and promptly exceed its overcurrent protection, and go into hiccup-retry mode, burping out little bits of charge every few seconds. It's possible that this would eventually bring the lead-acids up to 11-ish volts where it would restart charging in earnest, and this MAY happen fairly quickly because there's very little useful capacity below there, so it might not take many burps to get there, but I haven't tested it. It's also possible that the remaining loads would keep it down and prevent this from working, so I'd have to add a low-voltage disconnect to avert that. But that adds another possible point of failure, in anticipation of an event that should be exceedingly rare.

Or, I could add a proper charger or a CC/CV-limited PSU that would recover such a state in a sensible and expedient way, or if I add the solar MPPT it'll know what to do with an overdischarged bank. But realistically if power's out long enough for this to die, I probably don't care about the internet anymore.


or maybe he just put it on top of the battery? ;-)


And you can self host it on your own computer with 1-click [1]

[1] https://github.com/ipv6rslimited/cloudseeder


That's pretty neat. But it doesn't seem to work as a bouncer keeping the messages when you're offline?

edit: nvm, it does


I think it does. On the start page they state "Always connected. Remain connected to IRC servers while you are offline. Forget about bouncers. Resume where you left off on any device." and in their docs they say "For an optimal experience, The Lounge must be installed on a server that runs 24/7." So I guess you just let that server running and it serves you the client as well as keeping you logged in in IRC.


It does. It also optionally supports notifications if someone messages you while you have all tabs closed (using https://developer.mozilla.org/en-US/docs/Web/API/Notificatio...).


I've used thelounge for a while but I'm baffled by how slow searching is.


Hi! I used to work on Konversation back in the day.

When a KDE app crashes it pops up an error reporting notification or dialog. Did you file a bug via this or do you have the debug info from this dialog saved? Happy to take a look whether I can fix this for you.


I currently use ERC, the GNU Emacs IRC client. Obviously, if you are not using Emacs already, you should not use it, so I recommend irssi. Pretty easy to configure, and with lots of options.


Irssi was good, but Weechat has completely surpassed it.


And it has (had?) a decent slack plugin so you can avoid running slack...


I like the UI quassel offers; they also have a server for better integration over znc but I've never tried that


For a desktop client hexchat/xchat works fine, imo.


Important to note that HexChat was discontinued a few months ago though, and it seems like there's no official follow-up project yet (even though several people have forked it to add their own experiments and fixes).


Funnily enough, the linked page shows The Lounge IRC channel among the ten most populous on Libera. (The Lounge is similar to IRCCloud but self-hosted.)

https://github.com/thelounge/thelounge


I suggest irssi with tmux for the authentic experience.


The authentic experience is irssi in screen, tmux is quite new in comparison (2015 maybe?)


I have a self-built binary at ~/bin/tmux-old dated 2012-09-19, so that provides an upper bound of when I switched from screen.

(And to this day I'm still using tmux + irssi)


2007... Not as traditional but still very authentic to many - our whole channel used it back then.


https://git.causal.agency/catgirl/ for some suckless credits.


I'm more of a WeeChat in tmux guy myself.


I vote for weechat in vterm in emacs for plausible deniability


I use irssi in a screen with a Discord plugin to Bitlbee, so I can connect to Discord using IRC. I'm sure WeeChat or tmux are fine, but I am not reconfiguring my setup again. It's been working for over a decade now.


If you are into TUI stuff I can recommend Senpai https://git.sr.ht/~delthas/senpai/ - it's pretty much how I like to configure weechat and irrsi etc but out of the box.

There's also a new-ish IRC bouncer out there that's a lot simpler than ZNC, soju https://codeberg.org/emersion/soju


I use senpai+soju+gamja and they all work very well together.


Yeah it's a ton of quality of life upgrades that stack up to make quite a modern experience on IRC (as modern as possible...)


I've been using https://github.com/squidowl/halloy for a while. simple and very snappy.


+1 for halloy. Very snappy but it does seem to bog when there is a huge buffer to scroll.


I've been using IRCCloud for my IRC since it has very good mobile support and acts like a bouncer as well


That's what I've been using for work for a while now. It's is really good, though I feel like IRC loses a bit of it's charm, running the client in a browser.

Privately I'm using chat.sr.ht, which is also really good, but with less features than IRCCloud, but I can also easily connect to backend bouncer using irssi.

If you're only in one or two channels, Irssi is okay, but when you have a need to be in multiple channels it get a little rough finding good clients.


https://en.wikipedia.org/wiki/KVIrc

https://github.com/kvirc/KVIrc

https://www.kvirc.net/

...or anything else, really.

But since you're on KDE, and this integrates well, it seems preferrable.

I remember a similar experience like yours eons ago. Koversation sucked. KVirc didn't. Can't compare to now, because I won't touch contemporary KDE with a ten foot pole, but KVirc still doesn't suck, whereever I'm running it. OTOH Hexchat doesn't, either.

Have a look at https://en.wikipedia.org/wiki/Comparison_of_IRC_clients test 'em, pick one.




Join us for AI Startup School this June 16-17 in San Francisco!

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: