Logs: freenode/#haskell
| 2021-03-19 23:48:18 | × | raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 260 seconds) |
| 2021-03-19 23:48:37 | × | Tuplanolla quits (~Tuplanoll@91-159-68-239.elisa-laajakaista.fi) (Quit: Leaving.) |
| 2021-03-19 23:49:20 | × | ixian quits (~mgold@2002:4a74:ba78:1701:0:ff:fe78:6269) (Ping timeout: 240 seconds) |
| 2021-03-19 23:50:08 | × | dbmikus quits (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com) (Ping timeout: 240 seconds) |
| 2021-03-19 23:50:22 | → | olligobber joins (olligobber@gateway/vpn/privateinternetaccess/olligobber) |
| 2021-03-19 23:50:22 | × | emmanuel_erc quits (~user@2603-7000-9600-01c9-0000-0000-0000-0874.res6.spectrum.com) (Read error: Connection reset by peer) |
| 2021-03-19 23:50:23 | → | ixian joins (~mgold@2002:4a74:ba78:1701:0:ff:fe78:6269) |
| 2021-03-19 23:50:50 | → | emmanuel_erc joins (~user@2603-7000-9600-01c9-0000-0000-0000-0874.res6.spectrum.com) |
| 2021-03-19 23:55:44 | × | ixian quits (~mgold@2002:4a74:ba78:1701:0:ff:fe78:6269) (Ping timeout: 240 seconds) |
| 2021-03-19 23:56:06 | → | molehillish joins (~molehilli@2600:8800:8d06:1800:c1f2:e355:53f0:4ab8) |
| 2021-03-19 23:58:35 | × | zebrag quits (~inkbottle@aaubervilliers-654-1-3-8.w83-200.abo.wanadoo.fr) (Quit: Konversation terminated!) |
| 2021-03-19 23:58:54 | → | zebrag joins (~inkbottle@aaubervilliers-654-1-3-8.w83-200.abo.wanadoo.fr) |
| 2021-03-19 23:59:41 | → | unyu joins (~pyon@unaffiliated/pyon) |
| 2021-03-19 23:59:57 | × | merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 264 seconds) |
| 2021-03-20 00:01:02 | → | ixian joins (~mgold@2002:4a74:ba78:1701:0:ff:fe78:6269) |
| 2021-03-20 00:01:09 | × | MidAutumnHotaru1 quits (~MidAutumn@unaffiliated/midautumnhotaru) (Quit: Quit 啾) |
| 2021-03-20 00:01:49 | → | MidAutumnHotaru1 joins (~MidAutumn@unaffiliated/midautumnhotaru) |
| 2021-03-20 00:05:27 | <jackdk> | yes, thank you monochrom |
| 2021-03-20 00:05:31 | <hyiltiz> | http://ix.io/2Ttt/haskell How do I generalize the isConnected3 function that works for binary state over 3-by-3 grid via pattern matching into m-by-n grid? |
| 2021-03-20 00:06:05 | <hyiltiz> | I would very much prefer avoiding any TH magic, but would welcome Applicative or combinatorics style stuff |
| 2021-03-20 00:06:22 | × | ixian quits (~mgold@2002:4a74:ba78:1701:0:ff:fe78:6269) (Ping timeout: 260 seconds) |
| 2021-03-20 00:07:09 | × | myShoggoth quits (~myShoggot@75.164.81.55) (Ping timeout: 264 seconds) |
| 2021-03-20 00:07:44 | → | ixian joins (~mgold@terra.bitplane.org) |
| 2021-03-20 00:08:04 | <hyiltiz> | The easiest/brute force method I can think of would check for rows and positive diagonals, and iterate/fold over rows and the transpose of rows |
| 2021-03-20 00:09:08 | → | myShoggoth joins (~myShoggot@75.164.81.55) |
| 2021-03-20 00:13:44 | × | ixian quits (~mgold@terra.bitplane.org) (Ping timeout: 265 seconds) |
| 2021-03-20 00:14:14 | → | ixian joins (~mgold@2002:4a74:ba78:1701:0:ff:fe78:6269) |
| 2021-03-20 00:14:54 | → | elusive joins (~Jeanne-Ka@static-198-54-134-93.cust.tzulo.com) |
| 2021-03-20 00:17:30 | × | elusive quits (~Jeanne-Ka@static-198-54-134-93.cust.tzulo.com) (Client Quit) |
| 2021-03-20 00:17:42 | → | elusive joins (~Jeanne-Ka@static-198-54-134-93.cust.tzulo.com) |
| 2021-03-20 00:22:48 | × | nighmi quits (~felix@port-92-196-48-44.dynamic.as20676.net) (Quit: WeeChat 3.0.1) |
| 2021-03-20 00:25:27 | × | mastarija quits (~mastarija@31.217.23.172) (Quit: Leaving) |
| 2021-03-20 00:31:20 | × | ixian quits (~mgold@2002:4a74:ba78:1701:0:ff:fe78:6269) (Ping timeout: 240 seconds) |
| 2021-03-20 00:31:20 | × | myShoggoth quits (~myShoggot@75.164.81.55) (Ping timeout: 240 seconds) |
| 2021-03-20 00:37:08 | × | Gurkenglas quits (~Gurkengla@unaffiliated/gurkenglas) (Ping timeout: 245 seconds) |
| 2021-03-20 00:38:23 | × | justanotheruser quits (~justanoth@unaffiliated/justanotheruser) (Ping timeout: 265 seconds) |
| 2021-03-20 00:38:34 | × | landonf quits (landonf@mac68k.info) (Excess Flood) |
| 2021-03-20 00:38:57 | → | ixian joins (~mgold@2002:4a74:ba78:1701:0:ff:fe78:6269) |
| 2021-03-20 00:39:04 | × | elfets quits (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de) (Ping timeout: 276 seconds) |
| 2021-03-20 00:39:47 | → | landonf joins (landonf@mac68k.info) |
| 2021-03-20 00:45:27 | → | abhixec joins (~abhixec@c-67-169-139-16.hsd1.ca.comcast.net) |
| 2021-03-20 00:45:28 | → | apache8080 joins (~rishi@wsip-70-168-153-252.oc.oc.cox.net) |
| 2021-03-20 00:47:11 | → | lisphacker joins (~textual@2a02:c7f:3099:bf00:70d6:4425:3a0e:4e13) |
| 2021-03-20 00:47:19 | → | Codaraxis_ joins (~Codaraxis@ip68-5-90-227.oc.oc.cox.net) |
| 2021-03-20 00:50:57 | × | Codaraxis quits (Codaraxis@gateway/vpn/mullvad/codaraxis) (Ping timeout: 246 seconds) |
| 2021-03-20 00:50:57 | × | emmanuel_erc quits (~user@2603-7000-9600-01c9-0000-0000-0000-0874.res6.spectrum.com) (Read error: Connection reset by peer) |
| 2021-03-20 00:51:27 | → | emmanuel_erc joins (~user@2603-7000-9600-01c9-0000-0000-0000-0874.res6.spectrum.com) |
| 2021-03-20 00:51:54 | → | chenshen joins (~chenshen@2620:10d:c090:400::5:ad85) |
| 2021-03-20 00:54:43 | × | landonf quits (landonf@mac68k.info) (Excess Flood) |
| 2021-03-20 00:55:47 | → | landonf joins (landonf@mac68k.info) |
| 2021-03-20 00:57:58 | × | dhil quits (~dhil@80.208.56.181) (Ping timeout: 245 seconds) |
| 2021-03-20 00:58:36 | × | zebrag quits (~inkbottle@aaubervilliers-654-1-3-8.w83-200.abo.wanadoo.fr) (Quit: Konversation terminated!) |
| 2021-03-20 00:58:55 | → | zebrag joins (~inkbottle@aaubervilliers-654-1-3-8.w83-200.abo.wanadoo.fr) |
| 2021-03-20 00:59:52 | × | fryguybob quits (~fryguybob@cpe-74-65-31-113.rochester.res.rr.com) (Ping timeout: 276 seconds) |
| 2021-03-20 00:59:55 | → | remal joins (~remal@d24-57-234-201.home.cgocable.net) |
| 2021-03-20 01:02:21 | × | Tene quits (~tene@poipu/supporter/slacker/tene) (Ping timeout: 265 seconds) |
| 2021-03-20 01:02:26 | × | ByronJohnson quits (~bairyn@unaffiliated/bob0) (Ping timeout: 264 seconds) |
| 2021-03-20 01:07:24 | <infinisil> | hyiltiz: I recommend recursion |
| 2021-03-20 01:08:05 | <hyiltiz> | and more specifically (which kind of recursion with what function over what region)? |
| 2021-03-20 01:08:10 | <infinisil> | For one, create functions to shift the grid in the 3 directions (left-right, up-down, diagonal) |
| 2021-03-20 01:09:05 | → | ByronJohnson joins (~bairyn@unaffiliated/bob0) |
| 2021-03-20 01:09:09 | → | rajivr joins (uid269651@gateway/web/irccloud.com/x-rfbrukjdndkipzwm) |
| 2021-03-20 01:09:12 | <infinisil> | Checking whether there's k in sequence then can be done by checking the top-left element, then shifting the grid in each direction |
| 2021-03-20 01:09:17 | <infinisil> | And recursing with the smaller grid |
| 2021-03-20 01:09:24 | <infinisil> | (and a smaller k) |
| 2021-03-20 01:10:18 | → | dbmikus joins (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com) |
| 2021-03-20 01:11:09 | <infinisil> | I guess you might want three functions for the different directions |
| 2021-03-20 01:11:09 | × | emmanuel_erc quits (~user@2603-7000-9600-01c9-0000-0000-0000-0874.res6.spectrum.com) (Read error: Connection reset by peer) |
| 2021-03-20 01:11:33 | → | emmanuel_erc joins (~user@2603-7000-9600-01c9-0000-0000-0000-0874.res6.spectrum.com) |
| 2021-03-20 01:11:49 | → | cabpa joins (~cabpa@180.190.169.157) |
| 2021-03-20 01:12:04 | → | DTZUZU joins (~DTZUZO@207.81.119.43) |
| 2021-03-20 01:12:53 | <infinisil> | So e.g. you could have `horizontalConnected :: [[P]] -> Maybe P` |
| 2021-03-20 01:13:30 | × | cabpa quits (~cabpa@180.190.169.157) (Quit: Leaving) |
| 2021-03-20 01:13:46 | → | Tene joins (~tene@mail.digitalkingdom.org) |
| 2021-03-20 01:13:46 | × | Tene quits (~tene@mail.digitalkingdom.org) (Changing host) |
| 2021-03-20 01:13:46 | → | Tene joins (~tene@poipu/supporter/slacker/tene) |
| 2021-03-20 01:13:55 | <solidus-river> | jackdk, monochrom ahh, makes sense, sorry I saw that in between thoughts and never responded :X |
| 2021-03-20 01:14:09 | <infinisil> | Or maybe `horizontalConnected :: [[P]] -> Int -> Maybe P` for k |
| 2021-03-20 01:14:11 | → | kiweun joins (~kiweun@cpe98524a8cef7c-cm98524a8cef7a.cpe.net.cable.rogers.com) |
| 2021-03-20 01:14:24 | × | DTZUZU_ quits (~DTZUZO@205.ip-149-56-132.net) (Ping timeout: 246 seconds) |
| 2021-03-20 01:14:45 | × | dbmikus quits (~dbmikus@cpe-76-167-86-219.natsow.res.rr.com) (Ping timeout: 246 seconds) |
| 2021-03-20 01:16:05 | × | ixian quits (~mgold@2002:4a74:ba78:1701:0:ff:fe78:6269) (Ping timeout: 265 seconds) |
| 2021-03-20 01:16:30 | <infinisil> | Though not sure what that would return exactly |
| 2021-03-20 01:17:08 | → | ixian joins (~mgold@terra.bitplane.org) |
| 2021-03-20 01:17:17 | <infinisil> | I had in mind something like "Returns Just v when the top-left of the given grid has a k-long horizontal sequence of v's" |
| 2021-03-20 01:18:19 | <infinisil> | Then that's kind of problematic for recursion |
| 2021-03-20 01:18:44 | × | apache8080 quits (~rishi@wsip-70-168-153-252.oc.oc.cox.net) (Quit: WeeChat 1.9.1) |
| 2021-03-20 01:19:22 | × | slack1256 quits (~slack1256@dvc-186-186-101-190.movil.vtr.net) (Remote host closed the connection) |
| 2021-03-20 01:20:26 | × | nfd quits (~nfd9001@2601:602:77f:1820:88ee:7115:ea57:8fd0) (Ping timeout: 264 seconds) |
| 2021-03-20 01:23:26 | × | ixian quits (~mgold@terra.bitplane.org) (Ping timeout: 264 seconds) |
| 2021-03-20 01:28:17 | → | curl joins (5ce955fb@gateway/web/cgi-irc/kiwiirc.com/ip.92.233.85.251) |
| 2021-03-20 01:29:11 | → | ixian joins (~mgold@2002:4a74:ba78:1701:0:ff:fe78:6269) |
| 2021-03-20 01:30:16 | <curl> | im trying to write a function which integrates a polynomial against an error surface weighted by dirac-like gausians at interpolant fit points, in order to compute the gradient in order to have the direction of best improvement for the polynomial coefficients to flow along |
| 2021-03-20 01:30:44 | <curl> | i have a representation for multivariate polynomials in haskell already |
| 2021-03-20 01:31:12 | × | Narinas quits (~Narinas@187-178-93-112.dynamic.axtel.net) (Read error: Connection reset by peer) |
| 2021-03-20 01:32:29 | → | Narinas joins (~Narinas@187-178-93-112.dynamic.axtel.net) |
| 2021-03-20 01:33:36 | × | acidjnk_new quits (~acidjnk@p200300d0c72b95935491844d6bd44613.dip0.t-ipconnect.de) (Ping timeout: 244 seconds) |
| 2021-03-20 01:33:58 | × | ixian quits (~mgold@2002:4a74:ba78:1701:0:ff:fe78:6269) (Ping timeout: 265 seconds) |
| 2021-03-20 01:37:14 | → | ixian joins (~mgold@2002:4a74:ba78:1701:0:ff:fe78:6269) |
| 2021-03-20 01:37:43 | → | cabpa joins (~cabpa@180.190.169.157) |
All times are in UTC.