2024-01-06 00:02:39 +0100 | raym | (~ray@user/raym) (Ping timeout: 252 seconds) |
2024-01-06 00:03:00 +0100 | son0p | (~ff@186.114.35.184) |
2024-01-06 00:07:51 +0100 | peterbecich | (~Thunderbi@047-229-123-186.res.spectrum.com) (Ping timeout: 245 seconds) |
2024-01-06 00:07:53 +0100 | gdown | (~gavin@h69-11-149-109.kndrid.broadband.dynamic.tds.net) (Remote host closed the connection) |
2024-01-06 00:10:03 +0100 | raym | (~ray@user/raym) |
2024-01-06 00:24:34 +0100 | gmg | (~user@user/gehmehgeh) (Quit: Leaving) |
2024-01-06 00:28:13 +0100 | son0p | (~ff@186.114.35.184) (Quit: Bye) |
2024-01-06 00:29:11 +0100 | azimut | (~azimut@gateway/tor-sasl/azimut) |
2024-01-06 00:45:21 +0100 | Fansly | (~Fansly@2404:c0:2020::b50:e2a6) (Ping timeout: 245 seconds) |
2024-01-06 00:45:33 +0100 | Fansly | (~Fansly@2001:448a:2010:476e:5d30:627d:73c3:a75f) |
2024-01-06 01:05:59 +0100 | son0p | (~ff@186.114.35.184) |
2024-01-06 01:07:42 +0100 | sawilagar | (~sawilagar@user/sawilagar) (Ping timeout: 260 seconds) |
2024-01-06 01:09:56 +0100 | ystael | (~ystael@user/ystael) (Ping timeout: 245 seconds) |
2024-01-06 01:12:10 +0100 | thegeekinside | (~thegeekin@189.217.90.224) (Read error: Connection reset by peer) |
2024-01-06 01:15:59 +0100 | jargon | (~jargon@211.sub-174-205-225.myvzw.com) (Read error: Connection reset by peer) |
2024-01-06 01:16:21 +0100 | acidjnk | (~acidjnk@p200300d6e72b9387192044100938d5f4.dip0.t-ipconnect.de) (Ping timeout: 256 seconds) |
2024-01-06 01:18:07 +0100 | FinnElija | (~finn_elij@user/finn-elija/x-0085643) (Ping timeout: 240 seconds) |
2024-01-06 01:22:43 +0100 | chomwitt | (~chomwitt@athedsl-99408.home.otenet.gr) (Remote host closed the connection) |
2024-01-06 01:32:02 +0100 | machinedgod | (~machinedg@d198-53-218-113.abhsia.telus.net) (Ping timeout: 260 seconds) |
2024-01-06 01:33:24 +0100 | Tuplanolla | (~Tuplanoll@91-159-69-171.elisa-laajakaista.fi) (Quit: Leaving.) |
2024-01-06 01:50:38 +0100 | gdown | (~gavin@h69-11-149-109.kndrid.broadband.dynamic.tds.net) |
2024-01-06 01:53:49 +0100 | FinnElija | (~finn_elij@user/finn-elija/x-0085643) |
2024-01-06 01:55:43 +0100 | adanwan | (~adanwan@gateway/tor-sasl/adanwan) (Ping timeout: 240 seconds) |
2024-01-06 01:55:45 +0100 | Unicorn_Princess | (~Unicorn_P@user/Unicorn-Princess/x-3540542) (Quit: Leaving) |
2024-01-06 01:57:08 +0100 | adanwan | (~adanwan@gateway/tor-sasl/adanwan) |
2024-01-06 01:57:38 +0100 | stiell | (~stiell@gateway/tor-sasl/stiell) (Remote host closed the connection) |
2024-01-06 01:58:04 +0100 | stiell | (~stiell@gateway/tor-sasl/stiell) |
2024-01-06 02:02:10 +0100 | azimut | (~azimut@gateway/tor-sasl/azimut) (Remote host closed the connection) |
2024-01-06 02:02:33 +0100 | azimut | (~azimut@gateway/tor-sasl/azimut) |
2024-01-06 02:03:30 +0100 | void | (~mikess@user/mikess) |
2024-01-06 02:04:14 +0100 | peterbecich | (~Thunderbi@047-229-123-186.res.spectrum.com) |
2024-01-06 02:04:28 +0100 | void | mikess |
2024-01-06 02:06:13 +0100 | xdminsy | (~xdminsy@117.147.71.169) (Ping timeout: 256 seconds) |
2024-01-06 02:06:24 +0100 | waleee | (~waleee@h-176-10-144-38.NA.cust.bahnhof.se) (Ping timeout: 252 seconds) |
2024-01-06 02:10:54 +0100 | Fansly | (~Fansly@2001:448a:2010:476e:5d30:627d:73c3:a75f) (Read error: Connection reset by peer) |
2024-01-06 02:12:46 +0100 | erina | (~erina@222.195.81.39) |
2024-01-06 02:14:02 +0100 | jmdaemon | (~jmdaemon@user/jmdaemon) |
2024-01-06 02:14:12 +0100 | esph | (~weechat@user/esph) (Ping timeout: 268 seconds) |
2024-01-06 02:14:33 +0100 | Fansly | (~Fansly@2001:448a:2010:476e:5d30:627d:73c3:a75f) |
2024-01-06 02:15:01 +0100 | esph | (~weechat@user/esph) |
2024-01-06 02:22:11 +0100 | Lord_of_Life | (~Lord@user/lord-of-life/x-2819915) (Ping timeout: 264 seconds) |
2024-01-06 02:22:31 +0100 | Lord_of_Life | (~Lord@user/lord-of-life/x-2819915) |
2024-01-06 02:35:05 +0100 | bilegeek | (~bilegeek@2600:1008:b081:b81f:9976:d007:6091:d13d) |
2024-01-06 02:54:03 +0100 | waleee | (~waleee@h-176-10-144-38.NA.cust.bahnhof.se) |
2024-01-06 03:07:52 +0100 | Axman6 | (~Axman6@user/axman6) (Remote host closed the connection) |
2024-01-06 03:08:11 +0100 | Axman6 | (~Axman6@user/axman6) |
2024-01-06 03:15:38 +0100 | xff0x | (~xff0x@133-175-35-58.east.fdn.vectant.ne.jp) |
2024-01-06 03:38:58 +0100 | xff0x | (~xff0x@133-175-35-58.east.fdn.vectant.ne.jp) (Ping timeout: 260 seconds) |
2024-01-06 03:41:25 +0100 | igemnace | (~ian@user/igemnace) (Read error: Connection reset by peer) |
2024-01-06 03:52:30 +0100 | peterbecich | (~Thunderbi@047-229-123-186.res.spectrum.com) (Ping timeout: 260 seconds) |
2024-01-06 03:58:41 +0100 | igemnace | (~ian@user/igemnace) |
2024-01-06 04:00:59 +0100 | <erina> | @help djinn |
2024-01-06 04:01:00 +0100 | <lambdabot> | djinn <type>. |
2024-01-06 04:01:00 +0100 | <lambdabot> | Generates Haskell code from a type. |
2024-01-06 04:01:00 +0100 | <lambdabot> | https://github.com/augustss/djinn |
2024-01-06 04:02:18 +0100 | <erina> | :t (map .) |
2024-01-06 04:02:19 +0100 | <lambdabot> | (a1 -> a2 -> b) -> a1 -> [a2] -> [b] |
2024-01-06 04:09:44 +0100 | <erina> | I don't really get this...... |
2024-01-06 04:09:50 +0100 | <erina> | :t map (.) |
2024-01-06 04:09:51 +0100 | <lambdabot> | [b -> c] -> [(a -> b) -> a -> c] |
2024-01-06 04:09:56 +0100 | <erina> | :t (.) map |
2024-01-06 04:09:57 +0100 | <lambdabot> | (a1 -> a2 -> b) -> a1 -> [a2] -> [b] |
2024-01-06 04:10:21 +0100 | <erina> | :t flip (map .) |
2024-01-06 04:10:22 +0100 | <lambdabot> | a1 -> (a1 -> a2 -> b) -> [a2] -> [b] |
2024-01-06 04:13:31 +0100 | <erina> | Oh, I got it. |
2024-01-06 04:13:41 +0100 | <erina> | I got the type of the (.) operator wrong. |
2024-01-06 04:14:16 +0100 | eggplantade | (~Eggplanta@2600:1700:38c5:d800:4930:80a7:d767:a681) (Remote host closed the connection) |
2024-01-06 04:14:32 +0100 | eggplantade | (~Eggplanta@2600:1700:38c5:d800:4930:80a7:d767:a681) |
2024-01-06 04:17:43 +0100 | motherfsck | (~motherfsc@user/motherfsck) (Quit: quit) |
2024-01-06 04:20:19 +0100 | finn_elija | (~finn_elij@user/finn-elija/x-0085643) |
2024-01-06 04:20:19 +0100 | FinnElija | (~finn_elij@user/finn-elija/x-0085643) (Killed (NickServ (Forcing logout FinnElija -> finn_elija))) |
2024-01-06 04:20:19 +0100 | finn_elija | FinnElija |
2024-01-06 04:20:22 +0100 | incertia_ | (~incertia@209.122.137.252) |
2024-01-06 04:21:08 +0100 | ChaiTRex | (~ChaiTRex@user/chaitrex) (Quit: ChaiTRex) |
2024-01-06 04:21:41 +0100 | incertia | (~incertia@209.122.137.252) (Ping timeout: 240 seconds) |
2024-01-06 04:21:41 +0100 | incertia_ | incertia |
2024-01-06 04:21:52 +0100 | jargon | (~jargon@211.sub-174-205-225.myvzw.com) |
2024-01-06 04:28:46 +0100 | Axma61144 | (~Axman6@user/axman6) |
2024-01-06 04:32:51 +0100 | ChaiTRex | (~ChaiTRex@user/chaitrex) |
2024-01-06 04:34:47 +0100 | esph | (~weechat@user/esph) (Ping timeout: 264 seconds) |
2024-01-06 04:35:43 +0100 | azimut | (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 240 seconds) |
2024-01-06 04:37:05 +0100 | <Axma61144> | Hello hello, can someone on matrix say some things so I can test a thing? |
2024-01-06 04:38:00 +0100 | Axma61144 | Bynbo7 |
2024-01-06 04:39:02 +0100 | esph | (~weechat@user/esph) |
2024-01-06 04:42:55 +0100 | ChaiTRex | (~ChaiTRex@user/chaitrex) (Ping timeout: 240 seconds) |
2024-01-06 04:44:15 +0100 | td_ | (~td@i53870917.versanet.de) (Ping timeout: 252 seconds) |
2024-01-06 04:44:51 +0100 | <Clint> | is the bridge working? |
2024-01-06 04:46:11 +0100 | td_ | (~td@i5387093B.versanet.de) |
2024-01-06 04:46:57 +0100 | ChaiTRex | (~ChaiTRex@user/chaitrex) |
2024-01-06 04:49:54 +0100 | <haskellbridge> | 06<sm> what things ? |
2024-01-06 04:50:15 +0100 | <Bynbo7> | As far as I know it is... |
2024-01-06 04:50:42 +0100 | <Bynbo7> | Issues I've been having with strange characters messing up my display |
2024-01-06 04:51:10 +0100 | <Bynbo7> | Looks like it's still happening, thanks sm |
2024-01-06 04:54:00 +0100 | gdown | (~gavin@h69-11-149-109.kndrid.broadband.dynamic.tds.net) (Remote host closed the connection) |
2024-01-06 04:56:36 +0100 | Axma55317 | (~Axman6@user/axman6) |
2024-01-06 04:57:43 +0100 | Axma55317 | Axman61 |
2024-01-06 04:58:51 +0100 | rvalue | (~rvalue@user/rvalue) |
2024-01-06 05:05:33 +0100 | incertia_ | (~incertia@209.122.137.252) |
2024-01-06 05:06:15 +0100 | Lycurgus | finds matrix cognitively dissonant with hs |
2024-01-06 05:06:30 +0100 | gdown | (~gavin@h69-11-149-109.kndrid.broadband.dynamic.tds.net) |
2024-01-06 05:07:34 +0100 | incertia | (~incertia@209.122.137.252) (Ping timeout: 260 seconds) |
2024-01-06 05:07:34 +0100 | incertia_ | incertia |
2024-01-06 05:09:50 +0100 | aforemny | (~aforemny@2001:9e8:6ceb:8a00:a2b7:311b:c8e6:59e1) |
2024-01-06 05:10:23 +0100 | aforemny_ | (~aforemny@i59F516E1.versanet.de) (Ping timeout: 256 seconds) |
2024-01-06 05:11:12 +0100 | peterbecich | (~Thunderbi@047-229-123-186.res.spectrum.com) |
2024-01-06 05:17:11 +0100 | alp_ | (~alp@2001:861:e3d6:8f80:157b:7ae2:54aa:2f19) (Ping timeout: 256 seconds) |
2024-01-06 05:26:26 +0100 | <glguy> | Bynbo7: does it only work will all of your layers? Have you tried without tmux or any of the other pieces? |
2024-01-06 05:52:09 +0100 | waldo | (~waldo@user/waldo) |
2024-01-06 06:00:16 +0100 | qqq | (~qqq@92.43.167.61) |
2024-01-06 06:03:16 +0100 | shriekingnoise | (~shrieking@186.137.175.87) (Ping timeout: 245 seconds) |
2024-01-06 06:09:35 +0100 | waldo | (~waldo@user/waldo) (Ping timeout: 264 seconds) |
2024-01-06 06:12:16 +0100 | Fansly | (~Fansly@2001:448a:2010:476e:5d30:627d:73c3:a75f) (Ping timeout: 246 seconds) |
2024-01-06 06:12:24 +0100 | waldo | (~waldo@user/waldo) |
2024-01-06 06:13:23 +0100 | Fansly | (~Fansly@103.3.220.245) |
2024-01-06 06:16:11 +0100 | waleee | (~waleee@h-176-10-144-38.NA.cust.bahnhof.se) (Ping timeout: 264 seconds) |
2024-01-06 06:26:54 +0100 | mikess | (~mikess@user/mikess) (Quit: nyaa~) |
2024-01-06 06:27:35 +0100 | mikess | (~mikess@user/mikess) |
2024-01-06 06:27:36 +0100 | phma | (phma@2001:5b0:211b:ea88:27f8:300f:f5b2:4333) (Read error: Connection reset by peer) |
2024-01-06 06:28:12 +0100 | mikess | (~mikess@user/mikess) (Client Quit) |
2024-01-06 06:28:18 +0100 | phma | (~phma@host-67-44-208-92.hnremote.net) |
2024-01-06 06:35:22 +0100 | Fansly | (~Fansly@103.3.220.245) (Ping timeout: 260 seconds) |
2024-01-06 06:35:43 +0100 | Fansly | (~Fansly@2001:448a:2010:476e:5d30:627d:73c3:a75f) |
2024-01-06 06:39:34 +0100 | causal | (~eric@50.35.85.7) |
2024-01-06 06:43:13 +0100 | ell | (~ellie@user/ellie) (Quit: Leaving) |
2024-01-06 06:44:11 +0100 | ell | (~ellie@user/ellie) |
2024-01-06 06:45:21 +0100 | TMA | (tma@twin.jikos.cz) (Ping timeout: 245 seconds) |
2024-01-06 06:45:38 +0100 | Fansly | (~Fansly@2001:448a:2010:476e:5d30:627d:73c3:a75f) (Ping timeout: 260 seconds) |
2024-01-06 06:46:28 +0100 | Fansly | (~Fansly@2404:c0:2120::ac2:8f13) |
2024-01-06 06:56:43 +0100 | waldo | (~waldo@user/waldo) (Ping timeout: 246 seconds) |
2024-01-06 06:59:10 +0100 | random-jellyfish | (~developer@2a02:2f04:11e:c600:fb0c:a9bb:caa2:bcbb) |
2024-01-06 06:59:10 +0100 | random-jellyfish | (~developer@2a02:2f04:11e:c600:fb0c:a9bb:caa2:bcbb) (Changing host) |
2024-01-06 06:59:10 +0100 | random-jellyfish | (~developer@user/random-jellyfish) |
2024-01-06 06:59:35 +0100 | waldo | (~waldo@user/waldo) |
2024-01-06 07:02:55 +0100 | ChaiTRex | (~ChaiTRex@user/chaitrex) (Ping timeout: 240 seconds) |
2024-01-06 07:04:16 +0100 | Fansly | (~Fansly@2404:c0:2120::ac2:8f13) (Ping timeout: 276 seconds) |
2024-01-06 07:04:35 +0100 | Fansly | (~Fansly@2001:448a:2010:476e:5d30:627d:73c3:a75f) |
2024-01-06 07:10:00 +0100 | waldo | (~waldo@user/waldo) (Ping timeout: 252 seconds) |
2024-01-06 07:12:19 +0100 | waldo | (~waldo@user/waldo) |
2024-01-06 07:12:30 +0100 | ChaiTRex | (~ChaiTRex@user/chaitrex) |
2024-01-06 07:17:19 +0100 | ell | (~ellie@user/ellie) (Quit: Leaving) |
2024-01-06 07:18:11 +0100 | ell | (~ellie@user/ellie) |
2024-01-06 07:28:49 +0100 | harveypwca | (~harveypwc@2601:246:c280:7940:585a:99af:3e4c:209b) |
2024-01-06 07:30:54 +0100 | waldo | (~waldo@user/waldo) (Ping timeout: 252 seconds) |
2024-01-06 07:40:22 +0100 | waldo | (~waldo@user/waldo) |
2024-01-06 07:47:01 +0100 | trev | (~trev@user/trev) |
2024-01-06 08:07:56 +0100 | gdown | (~gavin@h69-11-149-109.kndrid.broadband.dynamic.tds.net) (Remote host closed the connection) |
2024-01-06 08:19:37 +0100 | mixfix41 | (~plaguedog@user/mixfix41) |
2024-01-06 08:23:23 +0100 | tromp | (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
2024-01-06 08:32:26 +0100 | Fansly | (~Fansly@2001:448a:2010:476e:5d30:627d:73c3:a75f) (Quit: Quit) |
2024-01-06 08:32:36 +0100 | Fansly | (~Fansly@2001:448a:2010:476e:5d30:627d:73c3:a75f) |
2024-01-06 08:33:05 +0100 | mikess | (~mikess@user/mikess) |
2024-01-06 08:33:18 +0100 | Fansly | (~Fansly@2001:448a:2010:476e:5d30:627d:73c3:a75f) (Client Quit) |
2024-01-06 08:33:25 +0100 | Fansly | (~Fansly@2001:448a:2010:476e:5d30:627d:73c3:a75f) |
2024-01-06 08:34:34 +0100 | takuan | (~takuan@178-116-218-225.access.telenet.be) |
2024-01-06 08:40:28 +0100 | <Franciman> | https://www.sciencedirect.com/science/article/pii/S0167642321000022 glad to see functional languages to be quite energy efficient |
2024-01-06 08:42:28 +0100 | <Franciman> | i wonder why ocaml is consistently more efficient than haskell |
2024-01-06 08:42:32 +0100 | <Franciman> | more energy efficient* |
2024-01-06 08:42:35 +0100 | <Franciman> | except for RAM |
2024-01-06 08:43:04 +0100 | <Franciman> | maybe it's because they use side effects in a freer way |
2024-01-06 08:43:48 +0100 | <Franciman> | i would expect the opposite, due to laziness avoiding useless recomputations |
2024-01-06 08:43:56 +0100 | <Franciman> | computations* |
2024-01-06 08:45:29 +0100 | <int-e> | but you can expect that there are few repeated computations in those benchmarks, so laziness is, for the most part, just bookkeeping overhead |
2024-01-06 08:46:22 +0100 | gmg | (~user@user/gehmehgeh) |
2024-01-06 08:47:27 +0100 | <Franciman> | hmm ok, makes sense |
2024-01-06 08:47:30 +0100 | <Franciman> | python is a disaster lol |
2024-01-06 08:49:10 +0100 | <int-e> | I assume they used the standard CPython which is a bytecode interpreter which carries a lot of overhead. |
2024-01-06 08:49:53 +0100 | TMA | (tma@twin.jikos.cz) |
2024-01-06 08:53:05 +0100 | alp_ | (~alp@2001:861:e3d6:8f80:45c3:be55:befe:ab57) |
2024-01-06 08:54:02 +0100 | <Franciman> | int-e: no i read that for each language they took the state of the art implementations and compared the results |
2024-01-06 08:54:54 +0100 | peterbecich | (~Thunderbi@047-229-123-186.res.spectrum.com) (Ping timeout: 260 seconds) |
2024-01-06 08:55:11 +0100 | <Franciman> | i mean, they tried different compilers/vms |
2024-01-06 08:56:18 +0100 | <Franciman> | but they don't seem to explicitly say which ones are considered. So maybe they think only cpython is state of the art :P |
2024-01-06 08:57:57 +0100 | <int-e> | Well, that is the standard implementation of Python. But it would be interesting to see how, say, PyPy would compare. |
2024-01-06 09:00:13 +0100 | <int-e> | Anyway, I don't think that the idea that lazy evaluation is benefitial for energy consumption will work out in practice... if you compare tuned implementations of the same algorithms in different languages which is what they're doing. |
2024-01-06 09:00:57 +0100 | mfaathirarsa | (~Thunderbi@2001:448a:2010:476e:9181:8cb5:3456:b667) |
2024-01-06 09:01:07 +0100 | <Franciman> | so the results just say that ocaml's runtime is more energy efficient than haskell's one |
2024-01-06 09:01:10 +0100 | <Franciman> | full stop |
2024-01-06 09:01:41 +0100 | <int-e> | (You can do on-demand evaluation in other languages as well, or, more likely, compute just the values that you need, exactly once. Lazy evaluation will benefit you when you write naive implementations that express a lot of values that you'll never need.) |
2024-01-06 09:03:42 +0100 | <int-e> | I *love* lazy evaluation precisely because of this... the ability to write seemingly stupid code that is still executed *reasonably* efficiently. But I fully expect to pay a 2x factor in performance compared to more elaborate code that embeds more knowledge of which values are needed and which aren't. |
2024-01-06 09:03:56 +0100 | eggplantade | (~Eggplanta@2600:1700:38c5:d800:4930:80a7:d767:a681) (Remote host closed the connection) |
2024-01-06 09:03:57 +0100 | <int-e> | Quite possibly in a non-functional language. |
2024-01-06 09:09:49 +0100 | peterbecich | (~Thunderbi@047-229-123-186.res.spectrum.com) |
2024-01-06 09:12:26 +0100 | waldo | (~waldo@user/waldo) (Ping timeout: 245 seconds) |
2024-01-06 09:15:54 +0100 | esph | (~weechat@user/esph) (Ping timeout: 260 seconds) |
2024-01-06 09:17:48 +0100 | waldo | (~waldo@user/waldo) |
2024-01-06 09:18:01 +0100 | esph | (~weechat@user/esph) |
2024-01-06 09:26:55 +0100 | petrichor | tries to read the article, runs headlong ino |
2024-01-06 09:27:11 +0100 | <petrichor> | *into a paywall |
2024-01-06 09:27:30 +0100 | <petrichor> | ffs elsevier |
2024-01-06 09:29:27 +0100 | <Fansly> | Time to sail the seas |
2024-01-06 09:35:51 +0100 | eggplantade | (~Eggplanta@2600:1700:38c5:d800:4930:80a7:d767:a681) |
2024-01-06 09:40:21 +0100 | eggplantade | (~Eggplanta@2600:1700:38c5:d800:4930:80a7:d767:a681) (Ping timeout: 245 seconds) |
2024-01-06 09:47:55 +0100 | fendor | (~fendor@2a02:8388:1605:d100:267b:1353:13d7:4f0c) |
2024-01-06 09:53:54 +0100 | mixfix41 | (~plaguedog@user/mixfix41) (Ping timeout: 252 seconds) |
2024-01-06 09:56:37 +0100 | alp_ | (~alp@2001:861:e3d6:8f80:45c3:be55:befe:ab57) (Ping timeout: 246 seconds) |
2024-01-06 09:57:53 +0100 | econo_ | (uid147250@id-147250.tinside.irccloud.com) (Quit: Connection closed for inactivity) |
2024-01-06 10:01:39 +0100 | peterbecich | (~Thunderbi@047-229-123-186.res.spectrum.com) (Ping timeout: 256 seconds) |
2024-01-06 10:02:55 +0100 | thelounge793 | (~thelounge@2a05:f480:1400:24b2:5400:4ff:fe76:a8f3) (Ping timeout: 246 seconds) |
2024-01-06 10:07:38 +0100 | Square | (~Square@user/square) (Ping timeout: 260 seconds) |
2024-01-06 10:07:54 +0100 | _ht | (~Thunderbi@28-52-174-82.ftth.glasoperator.nl) |
2024-01-06 10:09:02 +0100 | acidjnk | (~acidjnk@p200300d6e72b9389282867f9962ac807.dip0.t-ipconnect.de) |
2024-01-06 10:15:51 +0100 | eggplantade | (~Eggplanta@2600:1700:38c5:d800:4930:80a7:d767:a681) |
2024-01-06 10:17:33 +0100 | tromp | (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
2024-01-06 10:22:40 +0100 | xdminsy | (~xdminsy@117.147.71.169) |
2024-01-06 10:26:36 +0100 | mixfix41 | (~plaguedog@user/mixfix41) |
2024-01-06 10:28:33 +0100 | rvalue | (~rvalue@user/rvalue) (Ping timeout: 252 seconds) |
2024-01-06 10:29:49 +0100 | rvalue | (~rvalue@user/rvalue) |
2024-01-06 10:31:44 +0100 | Fansly | (~Fansly@2001:448a:2010:476e:5d30:627d:73c3:a75f) (Remote host closed the connection) |
2024-01-06 10:35:13 +0100 | random-jellyfish | (~developer@user/random-jellyfish) (Ping timeout: 256 seconds) |
2024-01-06 10:44:51 +0100 | Fansly | (~Fansly@2001:448a:2010:476e:5d30:627d:73c3:a75f) |
2024-01-06 10:47:40 +0100 | alp_ | (~alp@2001:861:e3d6:8f80:28a9:a912:1c4c:ea20) |
2024-01-06 10:51:19 +0100 | Tuplanolla | (~Tuplanoll@91-159-69-171.elisa-laajakaista.fi) |
2024-01-06 10:54:22 +0100 | shriekingnoise | (~shrieking@186.137.175.87) |
2024-01-06 10:55:48 +0100 | tzh | (~tzh@c-71-193-181-0.hsd1.or.comcast.net) (Quit: zzz) |
2024-01-06 10:58:29 +0100 | waldo | (~waldo@user/waldo) (Ping timeout: 240 seconds) |
2024-01-06 11:00:54 +0100 | mmhat | (~mmh@p200300f1c7323c1eee086bfffe095315.dip0.t-ipconnect.de) |
2024-01-06 11:01:13 +0100 | mmhat | (~mmh@p200300f1c7323c1eee086bfffe095315.dip0.t-ipconnect.de) (Client Quit) |
2024-01-06 11:06:49 +0100 | alp_ | (~alp@2001:861:e3d6:8f80:28a9:a912:1c4c:ea20) (Ping timeout: 256 seconds) |
2024-01-06 11:08:13 +0100 | waldo | (~waldo@user/waldo) |
2024-01-06 11:19:11 +0100 | waldo | (~waldo@user/waldo) (Ping timeout: 264 seconds) |
2024-01-06 11:23:33 +0100 | cyphase | (~cyphase@user/cyphase) (Ping timeout: 252 seconds) |
2024-01-06 11:30:41 +0100 | tromp | (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
2024-01-06 11:33:08 +0100 | xff0x | (~xff0x@133-175-35-58.east.fdn.vectant.ne.jp) |
2024-01-06 11:33:52 +0100 | sawilagar | (~sawilagar@user/sawilagar) |
2024-01-06 11:34:13 +0100 | cyphase | (~cyphase@user/cyphase) |
2024-01-06 11:36:49 +0100 | [_] | (~itchyjunk@user/itchyjunk/x-7353470) |
2024-01-06 11:38:36 +0100 | erina | (~erina@222.195.81.39) (Ping timeout: 256 seconds) |
2024-01-06 11:40:13 +0100 | [itchyjunk] | (~itchyjunk@user/itchyjunk/x-7353470) (Ping timeout: 246 seconds) |
2024-01-06 11:42:57 +0100 | waldo | (~waldo@user/waldo) |
2024-01-06 11:44:36 +0100 | not_reserved | (~not_reser@185.153.177.184) |
2024-01-06 11:46:17 +0100 | gmg | (~user@user/gehmehgeh) (Quit: Leaving) |
2024-01-06 11:46:40 +0100 | gmg | (~user@user/gehmehgeh) |
2024-01-06 11:56:44 +0100 | acidjnk | (~acidjnk@p200300d6e72b9389282867f9962ac807.dip0.t-ipconnect.de) (Ping timeout: 256 seconds) |
2024-01-06 12:00:23 +0100 | mc47 | (~mc47@xmonad/TheMC47) |
2024-01-06 12:00:26 +0100 | ubert | (~Thunderbi@p200300ecdf21770b15e685a60338cf54.dip0.t-ipconnect.de) |
2024-01-06 12:03:32 +0100 | harveypwca | (~harveypwc@2601:246:c280:7940:585a:99af:3e4c:209b) (Quit: Leaving) |
2024-01-06 12:09:53 +0100 | mc47 | (~mc47@xmonad/TheMC47) (Remote host closed the connection) |
2024-01-06 12:14:13 +0100 | vglfr | (~vglfr@234.red-88-6-215.staticip.rima-tde.net) (Ping timeout: 268 seconds) |
2024-01-06 12:15:15 +0100 | bilegeek | (~bilegeek@2600:1008:b081:b81f:9976:d007:6091:d13d) (Quit: Leaving) |
2024-01-06 12:19:02 +0100 | vglfr | (~vglfr@141.pool85-48-184.static.orange.es) |
2024-01-06 12:27:07 +0100 | eggplantade | (~Eggplanta@2600:1700:38c5:d800:4930:80a7:d767:a681) (Ping timeout: 246 seconds) |
2024-01-06 12:30:33 +0100 | billchenchina | (~billchenc@103.118.42.229) |
2024-01-06 12:32:46 +0100 | mc47 | (~mc47@xmonad/TheMC47) |
2024-01-06 12:32:47 +0100 | alycidyne | (~kova@user/alycidyne) |
2024-01-06 12:33:59 +0100 | billchenchina | (~billchenc@103.118.42.229) (Client Quit) |
2024-01-06 12:35:40 +0100 | igemnace | (~ian@user/igemnace) (Remote host closed the connection) |
2024-01-06 12:36:59 +0100 | waleee | (~waleee@h-176-10-144-38.NA.cust.bahnhof.se) |
2024-01-06 12:38:34 +0100 | vglfr | (~vglfr@141.pool85-48-184.static.orange.es) (Read error: Connection reset by peer) |
2024-01-06 12:39:10 +0100 | vglfr | (~vglfr@234.red-88-6-215.staticip.rima-tde.net) |
2024-01-06 12:48:35 +0100 | vglfr | (~vglfr@234.red-88-6-215.staticip.rima-tde.net) (Ping timeout: 264 seconds) |
2024-01-06 12:49:20 +0100 | vglfr | (~vglfr@141.pool85-48-184.static.orange.es) |
2024-01-06 12:53:31 +0100 | erina | (~erina@2001:da8:d800:186:dbdf:e94d:43ae:be02) |
2024-01-06 12:57:10 +0100 | eggplantade | (~Eggplanta@2600:1700:38c5:d800:4930:80a7:d767:a681) |
2024-01-06 13:01:48 +0100 | Sgeo | (~Sgeo@user/sgeo) (Read error: Connection reset by peer) |
2024-01-06 13:02:14 +0100 | mikess | (~mikess@user/mikess) (Ping timeout: 260 seconds) |
2024-01-06 13:02:42 +0100 | ubert | (~Thunderbi@p200300ecdf21770b15e685a60338cf54.dip0.t-ipconnect.de) (Ping timeout: 260 seconds) |
2024-01-06 13:02:45 +0100 | ubert1 | (~Thunderbi@p548c8c1f.dip0.t-ipconnect.de) |
2024-01-06 13:05:02 +0100 | ubert1 | ubert |
2024-01-06 13:07:04 +0100 | azimut | (~azimut@gateway/tor-sasl/azimut) |
2024-01-06 13:10:02 +0100 | igemnace | (~ian@user/igemnace) |
2024-01-06 13:19:07 +0100 | vglfr | (~vglfr@141.pool85-48-184.static.orange.es) (Read error: Connection reset by peer) |
2024-01-06 13:19:27 +0100 | vglfr | (~vglfr@234.red-88-6-215.staticip.rima-tde.net) |
2024-01-06 13:34:21 +0100 | phma | (~phma@host-67-44-208-92.hnremote.net) (Read error: Connection reset by peer) |
2024-01-06 13:35:22 +0100 | phma | (~phma@host-67-44-208-188.hnremote.net) |
2024-01-06 13:36:42 +0100 | Fansly | (~Fansly@2001:448a:2010:476e:5d30:627d:73c3:a75f) (Ping timeout: 260 seconds) |
2024-01-06 13:37:14 +0100 | Fansly | (~Fansly@103.3.220.245) |
2024-01-06 13:38:18 +0100 | ubert | (~Thunderbi@p548c8c1f.dip0.t-ipconnect.de) (Ping timeout: 252 seconds) |
2024-01-06 13:54:39 +0100 | irrgit_ | (~irrgit@146.70.95.26) |
2024-01-06 13:55:25 +0100 | danza | (~danza@151.47.165.195) |
2024-01-06 13:55:26 +0100 | danza_ | (~danza@151.47.165.195) |
2024-01-06 13:55:36 +0100 | danza_ | (~danza@151.47.165.195) (Remote host closed the connection) |
2024-01-06 13:57:41 +0100 | <alycidyne> | Hello, I've read about HOUSE, and am now thinking about more hacking in Haskell. Are there any recommended resources or communities for this? |
2024-01-06 13:57:41 +0100 | irrgit | (~irrgit@146.70.27.218) (Ping timeout: 240 seconds) |
2024-01-06 13:59:10 +0100 | <[exa]> | (what's HOUSE?) |
2024-01-06 13:59:34 +0100 | <[exa]> | (I assume some cool acronym but never saw it as such) |
2024-01-06 14:03:20 +0100 | <probie> | [exa]: An experiment in writing an operating system in Haskell from about 20 years ago. https://programatica.cs.pdx.edu/House/ |
2024-01-06 14:03:45 +0100 | ubert | (~Thunderbi@p200300ecdf26831728578d2c0a0071cf.dip0.t-ipconnect.de) |
2024-01-06 14:04:50 +0100 | <alycidyne> | The paper is actually really fascinating, it's equal parts Haskell and system architecture (never thought I'd see ISA and Haskell in the same page) |
2024-01-06 14:05:47 +0100 | Fansly | (~Fansly@103.3.220.245) (Ping timeout: 252 seconds) |
2024-01-06 14:06:16 +0100 | <[exa]> | ah this, cool |
2024-01-06 14:06:30 +0100 | Fansly | (~Fansly@2001:448a:2010:476e:5d30:627d:73c3:a75f) |
2024-01-06 14:11:19 +0100 | fendor | (~fendor@2a02:8388:1605:d100:267b:1353:13d7:4f0c) (Remote host closed the connection) |
2024-01-06 14:13:41 +0100 | danza | (~danza@151.47.165.195) (Ping timeout: 240 seconds) |
2024-01-06 14:15:30 +0100 | vglfr | (~vglfr@234.red-88-6-215.staticip.rima-tde.net) (Ping timeout: 260 seconds) |
2024-01-06 14:17:32 +0100 | <probie> | HaLVM was also somewhat cool, although unikernels in general never seemed to gain much traction. |
2024-01-06 14:18:25 +0100 | jmdaemon | (~jmdaemon@user/jmdaemon) (Ping timeout: 246 seconds) |
2024-01-06 14:20:23 +0100 | coot | (~coot@89-69-206-216.dynamic.chello.pl) |
2024-01-06 14:26:18 +0100 | <alycidyne> | probie: On an aside note, what I'm more intrigued is why nobody speaks about single-level store anymore. Apart from IBM i, no plans at all. |
2024-01-06 14:27:15 +0100 | danza | (~danza@151.47.139.156) |
2024-01-06 14:31:20 +0100 | target_i | (~target_i@217.175.14.39) |
2024-01-06 14:36:12 +0100 | mixfix41 | (~plaguedog@user/mixfix41) (Quit: quittin' ..) |
2024-01-06 14:37:03 +0100 | <erina> | @hoogle (a->Bool) -> [a] -> [Int} |
2024-01-06 14:37:04 +0100 | <lambdabot> | Data.List findIndices :: (a -> Bool) -> [a] -> [Int] |
2024-01-06 14:37:04 +0100 | <lambdabot> | GHC.OldList findIndices :: (a -> Bool) -> [a] -> [Int] |
2024-01-06 14:37:04 +0100 | <lambdabot> | BasePrelude findIndices :: () => (a -> Bool) -> [a] -> [Int] |
2024-01-06 14:39:16 +0100 | coot | (~coot@89-69-206-216.dynamic.chello.pl) (Quit: coot) |
2024-01-06 14:39:47 +0100 | coot | (~coot@89-69-206-216.dynamic.chello.pl) |
2024-01-06 14:40:42 +0100 | esph | (~weechat@user/esph) (Ping timeout: 260 seconds) |
2024-01-06 14:43:17 +0100 | esph | (~weechat@user/esph) |
2024-01-06 14:43:49 +0100 | waldo | (~waldo@user/waldo) (Ping timeout: 276 seconds) |
2024-01-06 14:44:29 +0100 | waldo | (~waldo@user/waldo) |
2024-01-06 14:45:22 +0100 | danza | (~danza@151.47.139.156) (Ping timeout: 260 seconds) |
2024-01-06 14:48:41 +0100 | waldo | (~waldo@user/waldo) (Ping timeout: 252 seconds) |
2024-01-06 14:50:12 +0100 | danza | (~danza@151.47.139.156) |
2024-01-06 14:53:50 +0100 | <erina> | @pl \x y -> map (x,) (elemIndices '.' y) |
2024-01-06 14:53:51 +0100 | <lambdabot> | (line 1, column 15): |
2024-01-06 14:53:51 +0100 | <lambdabot> | unexpected "," |
2024-01-06 14:53:51 +0100 | <lambdabot> | expecting letter or digit, variable, "(", operator or ")" |
2024-01-06 14:54:20 +0100 | <erina> | :t \x y -> map (x,) (elemIndices '.' y) |
2024-01-06 14:54:21 +0100 | <lambdabot> | t -> [Char] -> [(t, Int)] |
2024-01-06 14:55:01 +0100 | <probie> | erina: what are you trying to do? |
2024-01-06 14:55:45 +0100 | <erina> | I'm converting a [[Char]] to a list of indices containing '#' (the '.' is a mistake, but should look fine in this case) |
2024-01-06 14:57:53 +0100 | <erina> | I'm currently using concat $ zipWith (\x y -> map (x,) (elemIndices '.' y)) [0..] ls, which is ...... really ugly |
2024-01-06 14:57:58 +0100 | son0p | (~ff@186.114.35.184) (Remote host closed the connection) |
2024-01-06 14:58:57 +0100 | <haskellbridge> | 15<Jade> I'm looking at this sorting network https://bertdobbelaere.github.io/sorting_networks.html#N4L5D3 and it looks like you'd be able to find the minimum element using 5-comparisons (as sorting using 5 comparisons would trivially yield the minimum element) but I'm not sure how to do it standalone |
2024-01-06 14:59:33 +0100 | <haskellbridge> | 15<Jade> My current approach needs six comparisons, but I can't figure out what sequence of five comparisons would yield me the minimum element |
2024-01-06 15:04:02 +0100 | erina | (~erina@2001:da8:d800:186:dbdf:e94d:43ae:be02) (Ping timeout: 260 seconds) |
2024-01-06 15:04:57 +0100 | Unicorn_Princess | (~Unicorn_P@user/Unicorn-Princess/x-3540542) |
2024-01-06 15:05:20 +0100 | mc47 | (~mc47@xmonad/TheMC47) (Remote host closed the connection) |
2024-01-06 15:16:34 +0100 | alycidyne | (~kova@user/alycidyne) (Quit: leaving) |
2024-01-06 15:17:40 +0100 | oo_miguel | (~Thunderbi@78-11-179-96.static.ip.netia.com.pl) (Quit: oo_miguel) |
2024-01-06 15:23:45 +0100 | erina | (~erina@222.195.81.40) |
2024-01-06 15:25:18 +0100 | coot | (~coot@89-69-206-216.dynamic.chello.pl) (Quit: coot) |
2024-01-06 15:31:35 +0100 | Unicorn_Princess | (~Unicorn_P@user/Unicorn-Princess/x-3540542) (Remote host closed the connection) |
2024-01-06 15:41:46 +0100 | waldo | (~waldo@user/waldo) |
2024-01-06 15:42:13 +0100 | vglfr | (~vglfr@234.red-88-6-215.staticip.rima-tde.net) |
2024-01-06 15:44:31 +0100 | waleee | (~waleee@h-176-10-144-38.NA.cust.bahnhof.se) (Ping timeout: 245 seconds) |
2024-01-06 15:57:37 +0100 | sprout_ | (~quassel@2a02-a448-3a80-0-490d-19e-4886-e182.fixed6.kpn.net) |
2024-01-06 15:58:29 +0100 | acidjnk | (~acidjnk@p200300d6e72b9389282867f9962ac807.dip0.t-ipconnect.de) |
2024-01-06 16:00:29 +0100 | sprout | (~quassel@2a02-a448-3a80-0-f168-44da-f351-b5b9.fixed6.kpn.net) (Ping timeout: 240 seconds) |
2024-01-06 16:08:22 +0100 | doyougnu- | (~doyougnu@045-046-170-068.res.spectrum.com) (Ping timeout: 260 seconds) |
2024-01-06 16:11:51 +0100 | doyougnu | (~doyougnu@045-046-170-068.res.spectrum.com) |
2024-01-06 16:19:34 +0100 | Guestintheweeb | (~Guestinth@216.126.35.198) |
2024-01-06 16:35:43 +0100 | azimut | (~azimut@gateway/tor-sasl/azimut) (Ping timeout: 240 seconds) |
2024-01-06 16:36:42 +0100 | Fansly | (~Fansly@2001:448a:2010:476e:5d30:627d:73c3:a75f) (Read error: Connection reset by peer) |
2024-01-06 16:36:56 +0100 | Fansly | (~Fansly@173-245-211-45.sin.as54203.net) |
2024-01-06 16:38:23 +0100 | waldo | (~waldo@user/waldo) (Ping timeout: 264 seconds) |
2024-01-06 16:41:13 +0100 | Fansly | (~Fansly@173-245-211-45.sin.as54203.net) (Ping timeout: 246 seconds) |
2024-01-06 16:41:50 +0100 | Fansly | (~Fansly@2404:c0:2120::ac7:966e) |
2024-01-06 16:47:17 +0100 | Guestintheweeb | (~Guestinth@216.126.35.198) () |
2024-01-06 16:47:55 +0100 | merrinx | (~user@2001:4640:b7b9:0:12da:fc10:e9ef:c6f7) |
2024-01-06 16:52:57 +0100 | <erina> | @pl \a b c -> 1000000 * f a b c |
2024-01-06 16:52:58 +0100 | <lambdabot> | (((1000000 *) .) .) . f |
2024-01-06 16:56:21 +0100 | turlando | (~turlando@user/turlando) () |
2024-01-06 16:56:43 +0100 | turlando | (~turlando@user/turlando) |
2024-01-06 17:00:04 +0100 | irrgit_ | (~irrgit@146.70.95.26) (Remote host closed the connection) |
2024-01-06 17:00:23 +0100 | irrgit_ | (~irrgit@176.113.74.130) |
2024-01-06 17:01:17 +0100 | sprout_ | sprout |
2024-01-06 17:02:20 +0100 | xff0x | (~xff0x@133-175-35-58.east.fdn.vectant.ne.jp) (Ping timeout: 252 seconds) |
2024-01-06 17:02:26 +0100 | waldo | (~waldo@user/waldo) |
2024-01-06 17:14:49 +0100 | Fansly | (~Fansly@2404:c0:2120::ac7:966e) (Ping timeout: 246 seconds) |
2024-01-06 17:14:56 +0100 | Fansly | (~Fansly@2001:448a:2010:476e:5d30:627d:73c3:a75f) |
2024-01-06 17:16:02 +0100 | erina | (~erina@222.195.81.40) (Ping timeout: 260 seconds) |
2024-01-06 17:18:30 +0100 | nschoe | (nschoe@gateway/vpn/protonvpn/nschoe) |
2024-01-06 17:18:54 +0100 | waldo | (~waldo@user/waldo) (Ping timeout: 260 seconds) |
2024-01-06 17:19:53 +0100 | waldo | (~waldo@user/waldo) |
2024-01-06 17:22:13 +0100 | nschoe | (nschoe@gateway/vpn/protonvpn/nschoe) (Client Quit) |
2024-01-06 17:24:25 +0100 | danza | (~danza@151.47.139.156) (Quit: Leaving) |
2024-01-06 17:24:43 +0100 | waldo | (~waldo@user/waldo) (Ping timeout: 268 seconds) |
2024-01-06 17:30:01 +0100 | notzmv | (~zmv@user/notzmv) (Ping timeout: 256 seconds) |
2024-01-06 17:30:56 +0100 | tromp | (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
2024-01-06 17:31:40 +0100 | oo_miguel | (~Thunderbi@78-11-179-96.static.ip.netia.com.pl) |
2024-01-06 17:32:21 +0100 | <c_wraith> | Jade: Still around? You only need 3 comparisons. min4 a b c d = min (min a b) (min c d) |
2024-01-06 17:33:36 +0100 | <c_wraith> | If you want to inline the calls to min it's a mess, but each one is only a single comparison. |
2024-01-06 17:33:41 +0100 | <haskellbridge> | 15<Jade> the problem is that I can't compare values, but I need to know which of those parameters is the smallesz |
2024-01-06 17:33:46 +0100 | <haskellbridge> | 15<Jade> the problem is that I can't compare values, but I need to know which of those parameters is the smallest |
2024-01-06 17:34:16 +0100 | <c_wraith> | that sounds more like a philosophical problem.... |
2024-01-06 17:34:20 +0100 | <haskellbridge> | 15<Jade> that gives me the smallest value, but I want to know which one is the smallest, the value doesn't matter |
2024-01-06 17:35:32 +0100 | <c_wraith> | I'm still trying to understand how to define "smallest" if you can't compare values. |
2024-01-06 17:35:48 +0100 | <haskellbridge> | 15<Jade> The current approach looks like this https://paste.tomsmeding.com/lCfWdDaX |
2024-01-06 17:36:03 +0100 | <haskellbridge> | 15<Jade> you can, but I want to know which one is the smallest, not what the smallest value is |
2024-01-06 17:36:22 +0100 | waldo | (~waldo@user/waldo) |
2024-01-06 17:36:49 +0100 | <duncan> | this function does not pass the 'so what' test |
2024-01-06 17:39:31 +0100 | <c_wraith> | So you just write a trivial variant on min. min' (a, b) (c, d) | a < c = (a, b) | otherwise = (c, d) |
2024-01-06 17:40:17 +0100 | <c_wraith> | Or if you really want, return all 4 |
2024-01-06 17:40:25 +0100 | <c_wraith> | Then you haven't lost anything |
2024-01-06 17:40:31 +0100 | <haskellbridge> | 15<Jade> wait, yeah now I get what you mean |
2024-01-06 17:40:38 +0100 | <haskellbridge> | 15<Jade> that makes so much more sense, I feel stupid |
2024-01-06 17:44:11 +0100 | <c_wraith> | Eh. You shouldn't feel stupid. It takes a long time to learn all the ways to turn a problem sideways to see if it works better from that angle. |
2024-01-06 17:44:19 +0100 | econo_ | (uid147250@id-147250.tinside.irccloud.com) |
2024-01-06 17:45:00 +0100 | <haskellbridge> | 15<Jade> hm, but I need to recursively call this function, and depending on which parameter was the smallest, I need to pass that lists tail and the full list for the others |
2024-01-06 17:48:06 +0100 | tromp | (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
2024-01-06 17:50:23 +0100 | son0p | (~ff@186.114.35.184) |
2024-01-06 17:50:25 +0100 | <c_wraith> | yeah, so.. if you have something more like... helper (a, as) (b, bs) | a < b = ((a, as), (b, bs)) | otherwise = ((b, bs), (a,as)) |
2024-01-06 17:50:42 +0100 | <c_wraith> | you call it with the head and tail of each list |
2024-01-06 17:50:54 +0100 | <c_wraith> | it compares only the heads |
2024-01-06 17:51:37 +0100 | <c_wraith> | and gives you back (head, tail) pairs ordered by the heads. Then you still have all four pieces of information, but you know which is necessary where |
2024-01-06 17:52:19 +0100 | ubert | (~Thunderbi@p200300ecdf26831728578d2c0a0071cf.dip0.t-ipconnect.de) (Ping timeout: 276 seconds) |
2024-01-06 17:52:23 +0100 | ubert1 | (~Thunderbi@p200300ecdf26838a28d1917258673ded.dip0.t-ipconnect.de) |
2024-01-06 17:52:37 +0100 | <c_wraith> | The main thing to do is ignore the parameters after they've been used once. Use the outputs of that intead |
2024-01-06 17:53:00 +0100 | <haskellbridge> | 15<Jade> rightg |
2024-01-06 17:53:01 +0100 | <haskellbridge> | 15<Jade> right |
2024-01-06 17:54:40 +0100 | ubert1 | ubert |
2024-01-06 17:59:00 +0100 | esph | (~weechat@user/esph) (Ping timeout: 252 seconds) |
2024-01-06 18:00:21 +0100 | <haskellbridge> | 15<Jade> ah damnit |
2024-01-06 18:00:24 +0100 | esph | (~weechat@user/esph) |
2024-01-06 18:00:43 +0100 | <haskellbridge> | 15<Jade> this works, but it breaks stability, because the position of the list in the recursive call is important |
2024-01-06 18:00:56 +0100 | <haskellbridge> | 15<Jade> and that isn't given this way |
2024-01-06 18:05:00 +0100 | coot | (~coot@89-69-206-216.dynamic.chello.pl) |
2024-01-06 18:06:47 +0100 | <c_wraith> | Hmm, it's sure not. You could probably recover it, but the overhead is starting to get annoying |
2024-01-06 18:10:06 +0100 | <c_wraith> | the one sure way to do it, I suppose, is the most annoying. You just move the whole tree into your code as a bunch of nested cases |
2024-01-06 18:10:30 +0100 | <haskellbridge> | 15<Jade> I think that is what I had before with optimizations |
2024-01-06 18:10:42 +0100 | <c_wraith> | well.. you weren't nesting |
2024-01-06 18:10:51 +0100 | <haskellbridge> | 15<Jade> *but* it has six comparisons, but it should be possible to reduce it to five |
2024-01-06 18:10:59 +0100 | <haskellbridge> | 15<Jade> right, yeah |
2024-01-06 18:11:49 +0100 | <c_wraith> | the nesting depth should be three. And that's the part that matters. Not the number of different conditions in different branches |
2024-01-06 18:16:07 +0100 | tzh | (~tzh@c-71-193-181-0.hsd1.or.comcast.net) |
2024-01-06 18:19:02 +0100 | azimut | (~azimut@gateway/tor-sasl/azimut) |
2024-01-06 18:21:19 +0100 | waldo | (~waldo@user/waldo) (Ping timeout: 255 seconds) |
2024-01-06 18:25:42 +0100 | waldo | (~waldo@user/waldo) |
2024-01-06 18:27:53 +0100 | <c_wraith> | Jade: This isn't the actual code you need, but this is the structure of it. https://paste.tomsmeding.com/tK15HPHc |
2024-01-06 18:28:27 +0100 | <c_wraith> | Jade: note that reaching each branch requires 3 comparison, and in that branch you know which was the minimum (or equal, to preserve stability) |
2024-01-06 18:28:37 +0100 | <haskellbridge> | 15<Jade> thank you |
2024-01-06 18:29:06 +0100 | rvalue | (~rvalue@user/rvalue) (Read error: Connection reset by peer) |
2024-01-06 18:29:06 +0100 | <c_wraith> | and yes, I tested it with all permutations of [1,2,3,4] and got 1 as the result each time :) |
2024-01-06 18:34:49 +0100 | rvalue | (~rvalue@user/rvalue) |
2024-01-06 18:38:28 +0100 | vglfr | (~vglfr@234.red-88-6-215.staticip.rima-tde.net) (Ping timeout: 246 seconds) |
2024-01-06 18:40:07 +0100 | eggplantade | (~Eggplanta@2600:1700:38c5:d800:4930:80a7:d767:a681) (Remote host closed the connection) |
2024-01-06 18:40:25 +0100 | eggplantade | (~Eggplanta@2600:1700:38c5:d800:4930:80a7:d767:a681) |
2024-01-06 18:41:42 +0100 | mengu1 | (~mengu1@c83-254-18-254.bredband.tele2.se) |
2024-01-06 18:42:19 +0100 | mfaathirarsa | (~Thunderbi@2001:448a:2010:476e:9181:8cb5:3456:b667) (Quit: mfaathirarsa) |
2024-01-06 18:45:10 +0100 | mengu1 | (~mengu1@c83-254-18-254.bredband.tele2.se) (Client Quit) |
2024-01-06 18:49:44 +0100 | YoungFrog | (~youngfrog@39.129-180-91.adsl-dyn.isp.belgacom.be) |
2024-01-06 18:54:56 +0100 | <EvanR> | such brute force |
2024-01-06 18:58:16 +0100 | <c_wraith> | honestly, template haskell should be used to write that kind of code. It's painful. |
2024-01-06 18:59:11 +0100 | <ephemient> | going back to the original, wouldn't this be good enough? https://paste.tomsmeding.com/AZfwpd81 |
2024-01-06 19:00:34 +0100 | <c_wraith> | I like it. |
2024-01-06 19:01:55 +0100 | <c_wraith> | Though it pays laziness overhead on top of what the giant tree does. (thunks are allocated for all the unused branches, which isn't totally free.) I wouldn't usually care about that, but in the specific case of writing what's supposed to be an optimized sort... |
2024-01-06 19:02:10 +0100 | <monochrom> | I think you missed "a :" "b :" etc but heh. |
2024-01-06 19:02:42 +0100 | vglfr | (~vglfr@157.pool85-48-184.static.orange.es) |
2024-01-06 19:02:55 +0100 | vglfr | (~vglfr@157.pool85-48-184.static.orange.es) (Read error: Connection reset by peer) |
2024-01-06 19:03:14 +0100 | vglfr | (~vglfr@234.red-88-6-215.staticip.rima-tde.net) |
2024-01-06 19:07:26 +0100 | vglfr | (~vglfr@234.red-88-6-215.staticip.rima-tde.net) (Ping timeout: 245 seconds) |
2024-01-06 19:08:48 +0100 | <c_wraith> | also, fwiw in the context of the original I'm seeing some use of (:|), which suggests Data.List.NonEmpty. Be careful using it in performance-oriented code. There are use patterns where it can destroy sharing and cause a lot of extra allocation. |
2024-01-06 19:10:02 +0100 | irrgit_ | (~irrgit@176.113.74.130) (Read error: Connection reset by peer) |
2024-01-06 19:10:21 +0100 | irrgit_ | (~irrgit@176.113.74.130) |
2024-01-06 19:10:41 +0100 | vglfr | (~vglfr@234.red-88-6-215.staticip.rima-tde.net) |
2024-01-06 19:11:43 +0100 | __monty__ | (~toonn@user/toonn) |
2024-01-06 19:13:21 +0100 | <EvanR> | smh, shoulda used newtype over basic list to track if it's nonempty |
2024-01-06 19:15:20 +0100 | vglfr | (~vglfr@234.red-88-6-215.staticip.rima-tde.net) (Ping timeout: 256 seconds) |
2024-01-06 19:21:40 +0100 | Fansly | (~Fansly@2001:448a:2010:476e:5d30:627d:73c3:a75f) (Remote host closed the connection) |
2024-01-06 19:22:52 +0100 | vglfr | (~vglfr@234.red-88-6-215.staticip.rima-tde.net) |
2024-01-06 19:24:14 +0100 | tromp | (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
2024-01-06 19:26:12 +0100 | Fansly | (~Fansly@2001:448a:2010:476e:5d30:627d:73c3:a75f) |
2024-01-06 19:30:26 +0100 | not_reserved | (~not_reser@185.153.177.184) (Quit: Client closed) |
2024-01-06 19:30:37 +0100 | waleee | (~waleee@h-176-10-144-38.NA.cust.bahnhof.se) |
2024-01-06 19:37:13 +0100 | zmt01 | (~zmt00@user/zmt00) |
2024-01-06 19:39:16 +0100 | notzmv | (~zmv@user/notzmv) |
2024-01-06 19:41:10 +0100 | zmt00 | (~zmt00@user/zmt00) (Ping timeout: 260 seconds) |
2024-01-06 19:46:29 +0100 | esph | (~weechat@user/esph) (Ping timeout: 240 seconds) |
2024-01-06 19:49:52 +0100 | tromp | (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
2024-01-06 19:50:30 +0100 | esph | (~weechat@user/esph) |
2024-01-06 19:55:38 +0100 | pavonia | (~user@user/siracusa) (Quit: Bye!) |
2024-01-06 20:03:29 +0100 | YoungFrog | (~youngfrog@39.129-180-91.adsl-dyn.isp.belgacom.be) (Quit: ZNC 1.7.x-git-3-96481995 - https://znc.in) |
2024-01-06 20:03:49 +0100 | YoungFrog | (~youngfrog@39.129-180-91.adsl-dyn.isp.belgacom.be) |
2024-01-06 20:08:28 +0100 | billchenchina | (~billchenc@103.152.35.21) |
2024-01-06 20:09:07 +0100 | esph | (~weechat@user/esph) (Ping timeout: 246 seconds) |
2024-01-06 20:10:14 +0100 | esph | (~weechat@user/esph) |
2024-01-06 20:14:22 +0100 | YoungFrog | (~youngfrog@39.129-180-91.adsl-dyn.isp.belgacom.be) (Ping timeout: 260 seconds) |
2024-01-06 20:15:20 +0100 | peterbecich | (~Thunderbi@047-229-123-186.res.spectrum.com) |
2024-01-06 20:15:29 +0100 | YoungFrog | (~youngfrog@39.129-180-91.adsl-dyn.isp.belgacom.be) |
2024-01-06 20:19:40 +0100 | Ashkan | (~Ashkan@147.161.173.72) |
2024-01-06 20:20:51 +0100 | <Ashkan> | Hey guys |
2024-01-06 20:20:51 +0100 | <Ashkan> | How do I copy a haskell value (possible large vector, a vertex buffer to be exact) into a `Ptr ()` I have ? |
2024-01-06 20:20:52 +0100 | <Ashkan> | I've found `poke` but I'm not sure |
2024-01-06 20:23:39 +0100 | esph | (~weechat@user/esph) (Ping timeout: 252 seconds) |
2024-01-06 20:25:30 +0100 | esph | (~weechat@user/esph) |
2024-01-06 20:30:08 +0100 | <ncf> | castPtr, poke |
2024-01-06 20:36:48 +0100 | waldo | (~waldo@user/waldo) (Ping timeout: 268 seconds) |
2024-01-06 20:38:01 +0100 | Lycurgus | (~georg@user/Lycurgus) (Quit: leaving) |
2024-01-06 20:38:17 +0100 | <Ashkan> | ncf tnx |
2024-01-06 20:40:04 +0100 | coot | (~coot@89-69-206-216.dynamic.chello.pl) (Quit: coot) |
2024-01-06 20:43:59 +0100 | waldo | (~waldo@user/waldo) |
2024-01-06 20:44:59 +0100 | esph | (~weechat@user/esph) (Ping timeout: 264 seconds) |
2024-01-06 21:01:28 +0100 | wroathe | (~wroathe@50.205.197.50) |
2024-01-06 21:01:28 +0100 | wroathe | (~wroathe@50.205.197.50) (Changing host) |
2024-01-06 21:01:28 +0100 | wroathe | (~wroathe@user/wroathe) |
2024-01-06 21:02:16 +0100 | target_i | (~target_i@217.175.14.39) (Quit: leaving) |
2024-01-06 21:11:38 +0100 | Unicorn_Princess | (~Unicorn_P@user/Unicorn-Princess/x-3540542) |
2024-01-06 21:17:04 +0100 | khumba | (~khumba@user/khumba) |
2024-01-06 21:17:31 +0100 | Ashkan | (~Ashkan@147.161.173.72) (Quit: Client closed) |
2024-01-06 21:19:46 +0100 | wroathe | (~wroathe@user/wroathe) (Quit: leaving) |
2024-01-06 21:22:54 +0100 | waldo | (~waldo@user/waldo) (Ping timeout: 260 seconds) |
2024-01-06 21:27:03 +0100 | merrinx | (~user@2001:4640:b7b9:0:12da:fc10:e9ef:c6f7) (Remote host closed the connection) |
2024-01-06 21:46:49 +0100 | Fansly | (~Fansly@2001:448a:2010:476e:5d30:627d:73c3:a75f) (Remote host closed the connection) |
2024-01-06 21:47:01 +0100 | Fansly | (~Fansly@2001:448a:2010:476e:5d30:627d:73c3:a75f) |
2024-01-06 21:49:53 +0100 | Sgeo | (~Sgeo@user/sgeo) |
2024-01-06 21:51:42 +0100 | billchenchina | (~billchenc@103.152.35.21) (Quit: Leaving) |
2024-01-06 21:52:45 +0100 | greenbagels | (~gb@user/greenbagels) |
2024-01-06 22:07:07 +0100 | coot | (~coot@89-69-206-216.dynamic.chello.pl) |
2024-01-06 22:08:56 +0100 | Fansly | fansly |
2024-01-06 22:12:54 +0100 | fansly | (~Fansly@2001:448a:2010:476e:5d30:627d:73c3:a75f) (Quit: Quit) |
2024-01-06 22:13:04 +0100 | fansly | (~fansly@2001:448a:2010:476e:5d30:627d:73c3:a75f) |
2024-01-06 22:15:07 +0100 | _ht | (~Thunderbi@28-52-174-82.ftth.glasoperator.nl) (Quit: _ht) |
2024-01-06 22:16:40 +0100 | fansly | (~fansly@2001:448a:2010:476e:5d30:627d:73c3:a75f) (Client Quit) |
2024-01-06 22:16:51 +0100 | fansly | (~fansly@2001:448a:2010:476e:5d30:627d:73c3:a75f) |
2024-01-06 22:19:47 +0100 | td_ | (~td@i5387093B.versanet.de) (Ping timeout: 264 seconds) |
2024-01-06 22:25:58 +0100 | jmdaemon | (~jmdaemon@user/jmdaemon) |
2024-01-06 22:28:04 +0100 | fansly | (~fansly@2001:448a:2010:476e:5d30:627d:73c3:a75f) (Ping timeout: 246 seconds) |
2024-01-06 22:28:14 +0100 | fansly | (~fansly@182.0.241.41) |
2024-01-06 22:30:40 +0100 | Square | (~Square@user/square) |
2024-01-06 22:36:35 +0100 | td_ | (~td@i53870935.versanet.de) |
2024-01-06 22:37:17 +0100 | xdminsy | (~xdminsy@117.147.71.169) (Ping timeout: 240 seconds) |
2024-01-06 22:50:04 +0100 | mikess | (~mikess@user/mikess) |
2024-01-06 22:55:42 +0100 | fansly | (~fansly@182.0.241.41) (Remote host closed the connection) |
2024-01-06 22:58:17 +0100 | mechap | (~mechap@user/mechap) |
2024-01-06 23:04:14 +0100 | alp_ | (~alp@2001:861:e3d6:8f80:9aa9:8fae:2639:38a4) |
2024-01-06 23:05:42 +0100 | khumba | (~khumba@user/khumba) () |
2024-01-06 23:09:24 +0100 | igemnace | (~ian@user/igemnace) (Quit: WeeChat 4.1.2) |
2024-01-06 23:29:28 +0100 | szkl | (uid110435@id-110435.uxbridge.irccloud.com) |
2024-01-06 23:32:46 +0100 | todi1 | (~todi@p4fd1a54c.dip0.t-ipconnect.de) (Quit: ZNC - https://znc.in) |
2024-01-06 23:37:21 +0100 | [itchyjunk] | (~itchyjunk@user/itchyjunk/x-7353470) |
2024-01-06 23:41:30 +0100 | [_] | (~itchyjunk@user/itchyjunk/x-7353470) (Ping timeout: 268 seconds) |
2024-01-06 23:41:55 +0100 | __monty__ | (~toonn@user/toonn) (Quit: leaving) |
2024-01-06 23:45:57 +0100 | tromp | (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
2024-01-06 23:50:14 +0100 | tromp | (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |