2025/03/26

Newest at the top

2025-03-26 21:54:35 +0100 <merijn> Especially for what you said "compiler error messages" you probably wanna use prettyprinter and then use prettyprinter-ansi-terminal to render it to ansi terminal output
2025-03-26 21:53:03 +0100 <merijn> [exa]: Then there are multiple renderers to turn those into output (html, ascii, ansi terminal, etc.)
2025-03-26 21:52:43 +0100 <merijn> [exa]: You have prettyprinter that can compose message (including fancy formatting, indenting, line wrapping, etc.) with semantic annotations
2025-03-26 21:52:08 +0100 <merijn> [exa]: Basically, prettyprinter decouples the decision
2025-03-26 21:51:33 +0100infohazards(~user@user/fmira) (Remote host closed the connection)
2025-03-26 21:51:32 +0100infohazards(~user@user/fmira) fmira
2025-03-26 21:51:09 +0100inca(~inca@4-138-135-64.gray-ng.dsl.pinetreenetworks.com)
2025-03-26 21:49:42 +0100infohazards(~user@user/fmira) (Remote host closed the connection)
2025-03-26 21:49:40 +0100 <[exa]> nvm thanks both for pointing me!
2025-03-26 21:49:35 +0100 <[exa]> hard choices today
2025-03-26 21:49:30 +0100 <[exa]> or maybe I just wrap the ansi-terminal with a single function
2025-03-26 21:49:07 +0100infohazards(~user@user/fmira) fmira
2025-03-26 21:44:54 +0100 <[exa]> ok looks like prettyprinter, thanks!
2025-03-26 21:44:46 +0100 <[exa]> yeah I kinda wanted to have something that avoids emitting them if the termcap check fails etc
2025-03-26 21:44:35 +0100inca(~inca@4-138-135-64.gray-ng.dsl.pinetreenetworks.com) (Ping timeout: 268 seconds)
2025-03-26 21:43:41 +0100bitdex(~bitdex@gateway/tor-sasl/bitdex) bitdex
2025-03-26 21:43:39 +0100 <merijn> [exa]: That lets you do formatting like indenting, etc. too
2025-03-26 21:43:36 +0100son0p(~ff@2800:e6:4000:d723:c181:4205:f2b1:437a) son0p
2025-03-26 21:43:35 +0100 <tomsmeding> (also, basic ansi color escapes are easy to do manually)
2025-03-26 21:43:21 +0100wootehfoot(~wootehfoo@user/wootehfoot) (Read error: Connection reset by peer)
2025-03-26 21:43:21 +0100bitdex(~bitdex@gateway/tor-sasl/bitdex) (Remote host closed the connection)
2025-03-26 21:43:16 +0100 <merijn> [exa]: prettyprinter
2025-03-26 21:43:06 +0100 <tomsmeding> ansi-terminal?
2025-03-26 21:42:56 +0100 <[exa]> (purpose: making compiler error messages more easily readable by highlighting the bad part and location)
2025-03-26 21:42:28 +0100ash3en(~Thunderbi@ip1f10cbd6.dynamic.kabel-deutschland.de) (Client Quit)
2025-03-26 21:41:59 +0100 <[exa]> hi all! is there some good terminal library for printing out colored stuff without too much hassle? preferably capable of turning the colors off when not needed?
2025-03-26 21:40:34 +0100infohazards(~user@user/fmira) (Remote host closed the connection)
2025-03-26 21:40:26 +0100infohazards(~user@user/fmira) fmira
2025-03-26 21:40:04 +0100ash3en(~Thunderbi@ip1f10cbd6.dynamic.kabel-deutschland.de) ash3en
2025-03-26 21:39:51 +0100ash3en(~Thunderbi@31.16.203.214) (Read error: Connection reset by peer)
2025-03-26 21:39:10 +0100inca(~inca@4-138-135-64.gray-ng.dsl.pinetreenetworks.com)
2025-03-26 21:33:35 +0100infohazards(~user@user/fmira) (Remote host closed the connection)
2025-03-26 21:31:24 +0100inca(~inca@4-138-135-64.gray-ng.dsl.pinetreenetworks.com) (Ping timeout: 246 seconds)
2025-03-26 21:28:03 +0100jespada(~jespada@2800:a4:2263:8100:f927:2b9e:1735:aa6a) (Quit: My Mac has gone to sleep. ZZZzzz…)
2025-03-26 21:26:46 +0100vanishingideal(~vanishing@user/vanishingideal) (Ping timeout: 252 seconds)
2025-03-26 21:25:29 +0100peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Quit: peterbecich)
2025-03-26 21:23:59 +0100jco(~jco@78-70-217-44-no600.tbcn.telia.com) (Quit: leaving)
2025-03-26 21:23:39 +0100zungi(~tory@user/andrewchawk) andrewchawk
2025-03-26 21:22:08 +0100Digit(~user@user/digit) Digit
2025-03-26 21:18:32 +0100peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com) peterbecich
2025-03-26 21:18:15 +0100alfiee(~alfiee@user/alfiee) (Ping timeout: 244 seconds)
2025-03-26 21:17:55 +0100Tuplanolla(~Tuplanoll@91-159-69-59.elisa-laajakaista.fi) Tuplanolla
2025-03-26 21:16:02 +0100merijn(~merijn@host-vr.cgnat-g.v4.dfn.nl) merijn
2025-03-26 21:15:59 +0100Digit(~user@user/digit) (Ping timeout: 260 seconds)
2025-03-26 21:13:50 +0100alfiee(~alfiee@user/alfiee) alfiee
2025-03-26 21:13:49 +0100peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 244 seconds)
2025-03-26 21:12:28 +0100bitdex(~bitdex@gateway/tor-sasl/bitdex) bitdex
2025-03-26 21:11:00 +0100bitdex(~bitdex@gateway/tor-sasl/bitdex) (Ping timeout: 264 seconds)
2025-03-26 21:10:04 +0100ljdarj1ljdarj
2025-03-26 21:10:03 +0100ljdarj(~Thunderbi@user/ljdarj) (Ping timeout: 268 seconds)