2024/04/23

Newest at the top

2024-04-23 18:44:30 +0200nickiminjaj(~kvirc@user/laxhh)
2024-04-23 18:41:21 +0200gmg(~user@user/gehmehgeh)
2024-04-23 18:40:05 +0200philopsos(~caecilius@user/philopsos)
2024-04-23 18:34:47 +0200manwithluck(manwithluc@gateway/vpn/protonvpn/manwithluck)
2024-04-23 18:33:08 +0200billchenchina(~billchenc@103.152.35.21) (Remote host closed the connection)
2024-04-23 18:30:27 +0200Guest64(~Guest95@217.7.130.9) (Quit: Client closed)
2024-04-23 18:29:33 +0200Ptival(~ptival@64.16.51.186)
2024-04-23 18:26:20 +0200machinedgod(~machinedg@d173-183-246-216.abhsia.telus.net) (Ping timeout: 260 seconds)
2024-04-23 18:22:58 +0200gmg(~user@user/gehmehgeh) (Ping timeout: 260 seconds)
2024-04-23 18:22:04 +0200billchenchina(~billchenc@103.152.35.21)
2024-04-23 18:19:47 +0200billchenchina(~billchenc@2a0d:2580:ff0c:1:e3c9:c52b:a429:5bfe) (Ping timeout: 256 seconds)
2024-04-23 18:04:12 +0200Guest13(~Guest13@cpc93370-hers8-2-0-cust590.6-3.cable.virginm.net) (Quit: Client closed)
2024-04-23 18:03:04 +0200FinnElija(~finn_elij@user/finn-elija/x-0085643)
2024-04-23 18:02:00 +0200danse-nr3(~danse-nr3@151.47.250.177) (Ping timeout: 252 seconds)
2024-04-23 18:01:21 +0200FinnElija(~finn_elij@user/finn-elija/x-0085643) (Remote host closed the connection)
2024-04-23 18:00:36 +0200mei(~mei@user/mei)
2024-04-23 17:58:54 +0200_ht(~Thunderbi@28-52-174-82.ftth.glasoperator.nl)
2024-04-23 17:58:53 +0200pastly(~pastly@gateway/tor-sasl/pastly)
2024-04-23 17:58:12 +0200mei(~mei@user/mei) (Remote host closed the connection)
2024-04-23 17:57:50 +0200manwithluck(manwithluc@gateway/vpn/protonvpn/manwithluck) (Remote host closed the connection)
2024-04-23 17:57:29 +0200tzh(~tzh@c-73-164-206-160.hsd1.or.comcast.net)
2024-04-23 17:56:02 +0200SurfBlueCrab(~SurfBlueC@nyc.nanobit.org) (Leaving)
2024-04-23 17:55:25 +0200yin(~yin@user/zero) (Ping timeout: 256 seconds)
2024-04-23 17:51:56 +0200EvanR(~EvanR@user/evanr)
2024-04-23 17:51:37 +0200EvanR(~EvanR@user/evanr) (Remote host closed the connection)
2024-04-23 17:51:28 +0200 <Guest13> folder concat zip
2024-04-23 17:51:23 +0200 <Guest13> I repeat a lot of concat zip stuff for indexing
2024-04-23 17:51:13 +0200 <Guest13> thank you for the help! I think my code will be a lot cleaner after defining better type and helper functions
2024-04-23 17:50:44 +0200nschoe(~nschoe@2a01:e0a:8e:a190:f3a1:c501:e8bd:2571)
2024-04-23 17:50:27 +0200nschoe(~nschoe@2a01:e0a:8e:a190:1a14:5923:b0ce:d13e) (Quit: ZNC 1.8.2 - https://znc.in)
2024-04-23 17:49:58 +0200pastly(~pastly@gateway/tor-sasl/pastly) (Remote host closed the connection)
2024-04-23 17:49:08 +0200 <EvanR> in larger projects it can help catch type mismatches
2024-04-23 17:48:48 +0200 <EvanR> newtype might add bureaucracy that is not worth it in this case
2024-04-23 17:48:12 +0200 <EvanR> 👍
2024-04-23 17:48:00 +0200 <Guest13> not sure if I should new type or type, still not clear on that one
2024-04-23 17:47:47 +0200 <Guest13> type Grid = Map (Int, Int) Tile
2024-04-23 17:47:19 +0200 <Guest13> I will update the code to use Map
2024-04-23 17:45:51 +0200 <c_wraith> there's nothing to be afraid of
2024-04-23 17:45:48 +0200 <Guest13> and this seems like a prime case of skill issue
2024-04-23 17:45:44 +0200 <c_wraith> you can't fail to update one.
2024-04-23 17:45:36 +0200 <Guest13> I should change it though, I'm doing AOC to get better at Haskell mainly
2024-04-23 17:45:33 +0200 <c_wraith> but the compiler will point you at every one of them
2024-04-23 17:45:17 +0200 <Guest13> I am worried because I have a lot of functions that will break
2024-04-23 17:45:12 +0200pavonia(~user@user/siracusa) (Quit: Bye!)
2024-04-23 17:44:57 +0200 <c_wraith> Guest13: you might be surprised how little time it takes to change a data structure. this is a thing Haskell is really good at
2024-04-23 17:44:55 +0200 <Guest13> yeah with a map I could just fold on the list of indices it would be so easy
2024-04-23 17:44:34 +0200 <EvanR> for AOC it's usually more convenient than an array
2024-04-23 17:44:05 +0200 <EvanR> unlike Map or total map
2024-04-23 17:43:58 +0200 <EvanR> usually 2D array is not perfect, because it makes you decide the dimensions ahead of time
2024-04-23 17:43:49 +0200 <Guest13> cool kids use maps and folds