Home freenode/#haskell: Logs Calendar

Logs: freenode/#haskell

←Prev  Next→ 502,152 events total
2021-04-23 15:45:28 Merfont joins (~Kaiepi@47.54.252.148)
2021-04-23 15:45:49 × Kaeipi quits (~Kaiepi@47.54.252.148) (Remote host closed the connection)
2021-04-23 15:45:57 <merijn> carbolymer: It can, yes
2021-04-23 15:46:26 <monochrom> People tend to profile 5-minute runs rather than 1-hour runs.
2021-04-23 15:46:44 <monochrom> or s/5/O(1)/
2021-04-23 15:46:55 <carbolymer> Yay!
2021-04-23 15:47:15 <carbolymer> ^ i didn't send that
2021-04-23 15:47:33 <merijn> 'twas the cat
2021-04-23 15:47:42 <carbolymer> cat the monad
2021-04-23 15:48:09 ep1ctetus joins (~epictetus@ip72-194-54-201.sb.sd.cox.net)
2021-04-23 15:50:47 × knupfer quits (~Thunderbi@200116b82bdec0008957f7f04f607311.dip.versatel-1u1.de) (Ping timeout: 250 seconds)
2021-04-23 15:52:11 × xff0x quits (xff0x@gateway/vpn/mullvad/xff0x) (Ping timeout: 240 seconds)
2021-04-23 15:53:01 xcmw joins (~textual@dyn-72-33-2-152.uwnet.wisc.edu)
2021-04-23 15:54:30 xff0x joins (~xff0x@2001:1a81:52f5:ac00:e7f3:bc3c:e7b8:4be7)
2021-04-23 15:54:32 × frozenErebus quits (~frozenEre@37.231.244.249) (Ping timeout: 240 seconds)
2021-04-23 16:00:56 × vicfred quits (~vicfred@unaffiliated/vicfred) (Remote host closed the connection)
2021-04-23 16:01:15 vicfred joins (~vicfred@unaffiliated/vicfred)
2021-04-23 16:01:23 Rudd0 joins (~Rudd0@185.189.115.103)
2021-04-23 16:01:28 × kritzefitz quits (~kritzefit@2003:5b:203b:200::10:49) (Ping timeout: 276 seconds)
2021-04-23 16:02:03 × nicholasbulka quits (~nicholasb@2601:900:4301:da0:5440:6bb8:f181:7832) (Remote host closed the connection)
2021-04-23 16:02:35 nicholasbulka joins (~nicholasb@2601:900:4301:da0:5440:6bb8:f181:7832)
2021-04-23 16:04:29 frozenErebus joins (~frozenEre@37.231.244.249)
2021-04-23 16:05:16 nineonine joins (~nineonine@2604:3d08:7785:9600:35c4:856c:8487:6e07)
2021-04-23 16:05:30 <minoru_shiraeesh> the text-to-speech translator translated the cat's meow as yay
2021-04-23 16:06:49 × nicholasbulka quits (~nicholasb@2601:900:4301:da0:5440:6bb8:f181:7832) (Ping timeout: 250 seconds)
2021-04-23 16:07:26 tzh joins (~tzh@24.21.73.154)
2021-04-23 16:07:45 <minoru_shiraeesh> a silly joke
2021-04-23 16:08:04 wroathe joins (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net)
2021-04-23 16:09:27 × dpl quits (~dpl@77-121-78-163.chn.volia.net) (Ping timeout: 240 seconds)
2021-04-23 16:09:50 <int-e> it went fine until you mixed up text-to-speech and speech-to-text :P
2021-04-23 16:12:57 <minoru_shiraeesh> oh no, I ruined it :P
2021-04-23 16:13:47 nicholasbulka joins (~nicholasb@2601:900:4301:da0:5440:6bb8:f181:7832)
2021-04-23 16:15:44 × tzh quits (~tzh@24.21.73.154) (Remote host closed the connection)
2021-04-23 16:16:29 <minoru_shiraeesh> back to serious business
2021-04-23 16:16:35 <minoru_shiraeesh> here is a question
2021-04-23 16:16:59 <minoru_shiraeesh> I use ansi-terminal to draw on screen in console application
2021-04-23 16:17:17 <minoru_shiraeesh> but it works only if I run it in ghci
2021-04-23 16:17:48 <minoru_shiraeesh> when I build and run it, it's not interactive
2021-04-23 16:18:21 bitmagie joins (~Thunderbi@200116b806a8c30018046d968b59bdfe.dip.versatel-1u1.de)
2021-04-23 16:19:02 <minoru_shiraeesh> but when I exit the app, it show the last "frame" in console, so I know it draws, but something is wrong with timing or something like that
2021-04-23 16:19:39 Guest6509 joins (~laudiacay@67.176.215.84)
2021-04-23 16:19:40 <geekosaur> you need to put the terminal in character mode
2021-04-23 16:19:56 <geekosaur> you also need to disable buffering, probably
2021-04-23 16:20:10 <geekosaur> hSetBuffering stdout NoBuffering
2021-04-23 16:20:12 <minoru_shiraeesh> yes, I applied these settings
2021-04-23 16:20:15 <minoru_shiraeesh> hSetBuffering stdin NoBuffering
2021-04-23 16:20:17 <minoru_shiraeesh> hSetEcho stdin False
2021-04-23 16:20:41 <minoru_shiraeesh> it works okay if I run it from ghci
2021-04-23 16:21:52 <geekosaur> in ghci you are already in character mode. although I thought the RTS conflated buffering and terminal modes such that setting NoBuffering on stdin would enable character mode
2021-04-23 16:22:16 × ashesham` quits (~user@d8d87d1b0.access.telenet.be) (Ping timeout: 252 seconds)
2021-04-23 16:23:41 <minoru_shiraeesh> it works!
2021-04-23 16:23:58 × Guest6509 quits (~laudiacay@67.176.215.84) (Ping timeout: 260 seconds)
2021-04-23 16:24:02 <minoru_shiraeesh> setting NoBuffering to stdout helped
2021-04-23 16:24:06 <minoru_shiraeesh> thanks
2021-04-23 16:25:12 <geekosaur> ye, I just tested it here
2021-04-23 16:25:45 × Merfont quits (~Kaiepi@47.54.252.148) (Remote host closed the connection)
2021-04-23 16:26:07 tzh joins (~tzh@c-24-21-73-154.hsd1.wa.comcast.net)
2021-04-23 16:27:18 Kaiepi joins (~Kaiepi@47.54.252.148)
2021-04-23 16:28:42 jakalx parts (~jakalx@base.jakalx.net) ("Error from remote client")
2021-04-23 16:29:46 jakalx joins (~jakalx@base.jakalx.net)
2021-04-23 16:31:08 kiweun joins (~kiweun@2607:fea8:2a62:9600:b0f2:adc2:955f:bfd9)
2021-04-23 16:33:15 × ph88 quits (~ph88@2a02:8109:9e00:7e5c:d5ef:86b3:afc4:9258) (Ping timeout: 260 seconds)
2021-04-23 16:35:19 × LKoen quits (~LKoen@11.160.9.109.rev.sfr.net) (Remote host closed the connection)
2021-04-23 16:35:25 × kiweun quits (~kiweun@2607:fea8:2a62:9600:b0f2:adc2:955f:bfd9) (Ping timeout: 250 seconds)
2021-04-23 16:36:55 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 252 seconds)
2021-04-23 16:39:27 × heatsink quits (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net) (Remote host closed the connection)
2021-04-23 16:40:13 × mnrmnaugh quits (~mnrmnaugh@unaffiliated/mnrmnaugh) (Remote host closed the connection)
2021-04-23 16:41:56 × Pickchea quits (~private@unaffiliated/pickchea) (Quit: Leaving)
2021-04-23 16:42:51 LKoen joins (~LKoen@11.160.9.109.rev.sfr.net)
2021-04-23 16:43:21 dmytrish joins (~mitra@2a02:8084:a82:d900:6010:2869:d10:372c)
2021-04-23 16:46:42 mnrmnaugh joins (~mnrmnaugh@unaffiliated/mnrmnaugh)
2021-04-23 16:47:33 olabaz joins (~olabian@ool-2f1268f1.dyn.optonline.net)
2021-04-23 16:51:47 <olabaz> hi, I'm new to haskell. what is the use case for haskell? Is it something I would use for writing an OS, low level systems programs, embedded? Is it something I would use for numerical computing or maybe low latency requirements? Does it have a niche where it shines?
2021-04-23 16:52:11 fresheyeball joins (~isaac@c-71-237-105-37.hsd1.co.comcast.net)
2021-04-23 16:53:25 × mnrmnaugh quits (~mnrmnaugh@unaffiliated/mnrmnaugh) (Ping timeout: 252 seconds)
2021-04-23 16:54:00 <raehik> olabaz: it has a few niches, generally good when you have data that needs transforming
2021-04-23 16:54:16 L29Ah joins (~L29Ah@unaffiliated/l29ah)
2021-04-23 16:54:20 heatsink joins (~heatsink@108-201-191-115.lightspeed.sntcca.sbcglobal.net)
2021-04-23 16:54:43 × dmytrish quits (~mitra@2a02:8084:a82:d900:6010:2869:d10:372c) (Ping timeout: 248 seconds)
2021-04-23 16:54:43 <raehik> it's a very very general purpose language so you can do whatever. but it's not so great for systems programming where you want/need to do manual memory management
2021-04-23 16:55:26 dmytrish joins (~mitra@37.228.247.154)
2021-04-23 16:56:03 <juri_> olabaz: I use it for 3d modelling, and running 3d printers.
2021-04-23 16:56:08 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-04-23 16:57:26 mnrmnaugh joins (~mnrmnaugh@unaffiliated/mnrmnaugh)
2021-04-23 16:57:59 <olabaz> I see, thanks.
2021-04-23 16:58:14 <kuribas> olabaz: none of those
2021-04-23 16:58:31 <kuribas> olabaz: in fact, I'd say for most problems, except those you mentioned :)
2021-04-23 16:58:51 <olabaz> haha, interesting
2021-04-23 17:00:05 × malumore quits (~malumore@151.62.127.162) (Ping timeout: 268 seconds)
2021-04-23 17:00:32 <olabaz> Any big corporations using Haskell in production?
2021-04-23 17:00:43 <kuribas> yes
2021-04-23 17:01:33 × kuribas quits (~user@ptr-25vy0i7jci8m8wg4e6i.18120a2.ip6.access.telenet.be) (Remote host closed the connection)
2021-04-23 17:01:35 <geekosaur> I could see it being used for the OS component of a microkernel, with the memory management coming from a C-based microservice
2021-04-23 17:01:43 jrp joins (0550efe4@5.80.239.228)
2021-04-23 17:02:13 <juri_> olabaz: facebook, for one.
2021-04-23 17:02:18 <olabaz> how are they using it?
2021-04-23 17:02:41 <juri_> they have some system that uses haskell to write php, from what i can tell.
2021-04-23 17:04:48 <dexterfoo> olabaz: Haskell is a general purpose high level programming language. You could use it as an alternative to Java/C#/Python/Ruby/etc...
2021-04-23 17:05:00 <geekosaur> weren't they also using it for their spam detection stuff?
2021-04-23 17:06:16 <dexterfoo> It is less suitable for level OS programming or embedded programming. (although with effort it can be done, just like with Java/Python/C#)

All times are in UTC.