2024/10/15

Newest at the top

2024-10-15 02:08:12 +0200athan(~athan@syn-173-042-095-241.biz.spectrum.com) (Remote host closed the connection)
2024-10-15 02:06:56 +0200morby(~morb@pool-108-41-100-120.nycmny.fios.verizon.net) (Ping timeout: 272 seconds)
2024-10-15 02:05:22 +0200morb(~morb@pool-108-41-100-120.nycmny.fios.verizon.net)
2024-10-15 02:04:06 +0200athan(~athan@syn-173-042-095-241.biz.spectrum.com) athan
2024-10-15 02:03:18 +0200peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com) (Ping timeout: 245 seconds)
2024-10-15 02:01:15 +0200morb(~morb@pool-108-41-100-120.nycmny.fios.verizon.net) (Ping timeout: 246 seconds)
2024-10-15 02:00:48 +0200todi(~todi@vm4634378.25ssd.had.wf) todi
2024-10-15 02:00:01 +0200morby(~morb@pool-108-41-100-120.nycmny.fios.verizon.net)
2024-10-15 01:57:25 +0200todi(~todi@vm4634378.25ssd.had.wf) (Ping timeout: 244 seconds)
2024-10-15 01:56:10 +0200morb(~morb@pool-108-41-100-120.nycmny.fios.verizon.net)
2024-10-15 01:52:56 +0200morby(~morb@pool-108-41-100-120.nycmny.fios.verizon.net) (Ping timeout: 255 seconds)
2024-10-15 01:52:44 +0200Tuplanolla(~Tuplanoll@91-159-69-59.elisa-laajakaista.fi) (Quit: Leaving.)
2024-10-15 01:52:18 +0200zero(~z@user/zero) zero
2024-10-15 01:51:57 +0200yin(~z@user/zero) (Remote host closed the connection)
2024-10-15 01:50:13 +0200morb(~morb@pool-108-41-100-120.nycmny.fios.verizon.net) (Ping timeout: 248 seconds)
2024-10-15 01:47:30 +0200morby(~morb@pool-108-41-100-120.nycmny.fios.verizon.net)
2024-10-15 01:44:46 +0200mjrosenb(~mjrosenb@pool-96-232-177-77.nycmny.fios.verizon.net)
2024-10-15 01:44:07 +0200morb(~morb@pool-108-41-100-120.nycmny.fios.verizon.net)
2024-10-15 01:42:48 +0200son0p(~ff@190.69.120.153) son0p
2024-10-15 01:41:51 +0200AlexZenon(~alzenon@178.34.151.233)
2024-10-15 01:39:11 +0200todi_awaytodi
2024-10-15 01:30:31 +0200jcarpenter2(~lol@2603:3016:1e01:b9e0:dd36:cbb0:bd68:c718)
2024-10-15 01:29:08 +0200todi(~todi@p57803331.dip0.t-ipconnect.de) (Ping timeout: 245 seconds)
2024-10-15 01:29:00 +0200AlexZenon(~alzenon@178.34.151.233) (Ping timeout: 244 seconds)
2024-10-15 01:27:06 +0200todi_away(~todi@vm4634378.25ssd.had.wf)
2024-10-15 01:25:23 +0200 <sm> sorry, forgot this was IRC
2024-10-15 01:25:23 +0200 <sam113101> thank you my man
2024-10-15 01:24:19 +0200todi(~todi@p57803331.dip0.t-ipconnect.de) todi
2024-10-15 01:24:19 +0200 <haskellbridge> ... long message truncated: https://kf8nh.com/_heisenbridge/media/kf8nh.com/vjQfLuREsoEJecoXcpehsPYR/jMVxugiTxGA (3 lines)
2024-10-15 01:24:19 +0200 <haskellbridge> <sm> from left to right would be
2024-10-15 01:24:08 +0200 <haskellbridge> <sm> from left to right would be "import Data.Function ((&))" "[0..1000] & filter (\x -> x`mod`3 == 0 || x`mod`5==0) & sum"
2024-10-15 01:23:58 +0200 <haskellbridge> <sm> * 0 || x `mod` 5 == 0]" [corrected]
2024-10-15 01:20:44 +0200 <haskellbridge> <sm> * "sum [x | x <- [0..1000], x `mod` 3 == 0, x `mod` 5 == 0]"
2024-10-15 01:20:14 +0200 <haskellbridge> <sm> most idiomatic would probably be sum [x | x <- [0..1000], x "mod" 3 == 0, x "mod" 5 == 0]
2024-10-15 01:20:05 +0200todi_away(~todi@p57803331.dip0.t-ipconnect.de) (Ping timeout: 255 seconds)
2024-10-15 01:17:31 +0200AlexZenon(~alzenon@178.34.151.233)
2024-10-15 01:17:26 +0200peterbecich(~Thunderbi@syn-047-229-123-186.res.spectrum.com) peterbecich
2024-10-15 01:16:57 +0200Sgeo(~Sgeo@user/sgeo) Sgeo
2024-10-15 01:14:45 +0200 <sam113101> 0..999 |> Enum.filter(fn x -> rem(x, 3) == 0 || rem(x, 5) == 0 end) |> Enum.sum
2024-10-15 01:14:43 +0200 <sam113101> that's elixir:
2024-10-15 01:13:50 +0200 <sam113101> (that was ruby btw)
2024-10-15 01:11:51 +0200 <sam113101> (0...1000).filter { |x| x % 3 == 0 || x % 5 == 0 }.sum
2024-10-15 01:11:49 +0200 <sam113101> how would you write this, first the idiomatic way (for haskell), and second in a way that preserves the "flow", i.e. from left to right
2024-10-15 01:10:43 +0200 <haskellbridge> <sm> Do go on. :)
2024-10-15 01:10:34 +0200malte(~malte@mal.tc) malte
2024-10-15 01:09:18 +0200 <sam113101> sorry it's me again with the same question as the other day
2024-10-15 01:07:11 +0200AlexZenon(~alzenon@178.34.151.233) (Ping timeout: 265 seconds)
2024-10-15 01:07:10 +0200todi(~todi@p57803331.dip0.t-ipconnect.de) (Ping timeout: 252 seconds)
2024-10-15 01:07:09 +0200malte(~malte@mal.tc) (Remote host closed the connection)
2024-10-15 01:06:43 +0200todi_away(~todi@p57803331.dip0.t-ipconnect.de)