Home freenode/#haskell: Logs Calendar

Logs: freenode/#haskell

←Prev  Next→ 502,152 events total
2021-03-06 18:34:32 <Guest78> yes, but I am too noob to find it
2021-03-06 18:35:38 <Guest78> what I am doing now is binding "xdotool mousemove 12 12 sleep 0.2 click --clearmodifiers 1 mousemove restore" to mod-d
2021-03-06 18:36:12 <Schrostfutz> Hi, how can I read from stdin in binary mode?
2021-03-06 18:36:30 × Moyst quits (~moyst@212-149-213-144.bb.dnainternet.fi) (Ping timeout: 260 seconds)
2021-03-06 18:36:31 <Guest78> and it works, but, as you can see it is not very elegant
2021-03-06 18:36:53 <Lycurgus> pipe ur binary?
2021-03-06 18:37:24 <Guest78> marco uses Alt+F1 to get the mate menu
2021-03-06 18:37:40 <Guest78> so it is somehow possible
2021-03-06 18:38:26 <Guest78> thanks for your help geekosaur
2021-03-06 18:38:35 <Schrostfutz> Lycurgus: Binary file, I stored a binary stream to disk and try to parse it
2021-03-06 18:38:55 <geekosaur> hSetBinaryMode stdin True
2021-03-06 18:39:05 <geekosaur> import System.IO for that to work
2021-03-06 18:39:11 <Guest78> I will steal things from your config
2021-03-06 18:39:20 <Lycurgus> funny how "parse" tends to imply text
2021-03-06 18:39:40 <geekosaur> that's an out of date config for my desktop machine which is in storage. I need to push my current config to a branch at some point
2021-03-06 18:40:04 × machinedgod quits (~machinedg@24.105.81.50) (Ping timeout: 245 seconds)
2021-03-06 18:40:41 <Lycurgus> and decode or whatever goes with binary
2021-03-06 18:42:19 Habib joins (~Habib@178.159.3.177)
2021-03-06 18:42:31 j is now known as jess
2021-03-06 18:42:44 <Lycurgus> parse, decode, demux from symbolic to analogue
2021-03-06 18:43:34 <Lycurgus> so conduit or whatever maybe
2021-03-06 18:44:10 sQVe joins (~sQVe@c83-252-72-10.bredband.comhem.se)
2021-03-06 18:44:22 × sQVe quits (~sQVe@c83-252-72-10.bredband.comhem.se) (Client Quit)
2021-03-06 18:44:22 × bigbosskor quits (~Android@mx-ll-223.204.246-6.dynamic.3bb.co.th) (Read error: Connection reset by peer)
2021-03-06 18:44:27 × ezrakilty quits (~ezrakilty@97-113-55-149.tukw.qwest.net) (Remote host closed the connection)
2021-03-06 18:45:54 <Schrostfutz> Great, that worked. Thanks alot!
2021-03-06 18:46:22 × geekosaur quits (82650c7a@130.101.12.122) (Ping timeout: 240 seconds)
2021-03-06 18:46:29 <Schrostfutz> Interesting, I'm using parse in a generic way, does not necessarily imply human readable text for me...
2021-03-06 18:46:37 × frankdmartinez quits (~frankdmar@212.103.48.236) (Quit: frankdmartinez)
2021-03-06 18:47:37 sQVe joins (~sQVe@unaffiliated/sqve)
2021-03-06 18:48:39 <NllPtr> https://paste.tomsmeding.com/TtIbZ7j1 My gut is telling me that this is basically a fold, but I don't know how to write it
2021-03-06 18:49:24 <Lycurgus> np
2021-03-06 18:49:30 × Lycurgus quits (~niemand@cpe-45-46-139-165.buffalo.res.rr.com) (Quit: Exeunt)
2021-03-06 18:51:39 × Schrostfutz quits (~Schrostfu@p2e585ac0.dip0.t-ipconnect.de) (Ping timeout: 260 seconds)
2021-03-06 18:51:59 <koz_> NllPtr: It is a fold, with a counter for state.
2021-03-06 18:52:07 <koz_> If the counter ever goes negative, fail.
2021-03-06 18:52:16 <koz_> If you see an opening paren, add 1.
2021-03-06 18:52:22 <koz_> If you see a closing one, subtract 1.
2021-03-06 18:52:24 heatsink joins (~heatsink@2600:1700:bef1:5e10:ed49:f786:d714:aba1)
2021-03-06 18:52:30 <koz_> If the final state is 0, they're balanced - anything else, it's not.
2021-03-06 18:52:42 <NllPtr> Ohh, yeah I was implementing it with "stacks" (using the list as stack), this is like an implementation with vectors and counting
2021-03-06 18:52:45 <NllPtr> let me try it
2021-03-06 18:52:51 × elliott_ quits (~elliott_@pool-108-51-101-42.washdc.fios.verizon.net) (Read error: Connection reset by peer)
2021-03-06 18:52:55 <koz_> The structure being folded doesn't matter.
2021-03-06 18:53:00 <koz_> You can write that over any Foldable.
2021-03-06 18:53:17 elliott_ joins (~elliott_@pool-108-51-101-42.washdc.fios.verizon.net)
2021-03-06 18:53:44 <NllPtr> yes I know, thanks for the input, let me try it
2021-03-06 18:56:21 × myShoggoth quits (~myShoggot@75.164.81.55) (Remote host closed the connection)
2021-03-06 18:56:32 mputz joins (~Thunderbi@aftr-62-216-201-77.dynamic.mnet-online.de)
2021-03-06 18:56:44 myShoggoth joins (~myShoggot@75.164.81.55)
2021-03-06 18:58:36 × Guest77377 quits (~textual@2603-7000-3040-0000-2dfd-bc54-7da7-bdb8.res6.spectrum.com) (Quit: My MacBook has gone to sleep. ZZZzzz…)
2021-03-06 19:00:30 × sQVe quits (~sQVe@unaffiliated/sqve) (Quit: Bye!)
2021-03-06 19:01:12 geekosaur joins (82650c7a@130.101.12.122)
2021-03-06 19:01:18 elliott__ joins (~elliott@pool-108-51-101-42.washdc.fios.verizon.net)
2021-03-06 19:03:18 bigbosskor joins (~Android@223.204.246.6)
2021-03-06 19:03:20 × bigbosskor quits (~Android@223.204.246.6) (Read error: Connection reset by peer)
2021-03-06 19:03:23 berberman joins (~berberman@unaffiliated/berberman)
2021-03-06 19:03:26 × berberman_ quits (~berberman@unaffiliated/berberman) (Ping timeout: 240 seconds)
2021-03-06 19:03:35 × nbloomf quits (~nbloomf@2600:1700:ad14:3020:40e7:d7b:f52e:210c) (Quit: My MacBook has gone to sleep. ZZZzzz…)
2021-03-06 19:05:38 elfets joins (~elfets@ip-37-201-23-96.hsi13.unitymediagroup.de)
2021-03-06 19:06:10 × jamm_ quits (~jamm@unaffiliated/jamm) (Remote host closed the connection)
2021-03-06 19:08:23 × sh9 quits (~sh9@softbank060116136158.bbtec.net) (Quit: WeeChat 2.8)
2021-03-06 19:10:57 bigbosskor joins (~Android@2001:44c8:422a:bbc1:1:0:79b0:2ebf)
2021-03-06 19:12:46 HenryCH joins (~henry@2001:8e0:2003:e600:3534:3efe:738b:2f4b)
2021-03-06 19:13:55 nineonine joins (~nineonine@2604:3d08:7785:9600:ad8c:89aa:bf10:9556)
2021-03-06 19:14:43 motherfsck joins (~motherfsc@unaffiliated/motherfsck)
2021-03-06 19:16:20 vicfred joins (vicfred@gateway/vpn/mullvad/vicfred)
2021-03-06 19:17:02 hexagenic joins (~mattias@2001:2002:51e0:74c9:d5d6:6022:ea72:3bc1)
2021-03-06 19:17:24 merijn joins (~merijn@83-160-49-249.ip.xs4all.nl)
2021-03-06 19:19:04 × stree quits (~stree@68.36.8.116) (Quit: Caught exception)
2021-03-06 19:19:31 stree joins (~stree@68.36.8.116)
2021-03-06 19:20:23 × mputz quits (~Thunderbi@aftr-62-216-201-77.dynamic.mnet-online.de) (Quit: mputz)
2021-03-06 19:20:25 ech joins (~user@gateway/tor-sasl/ech)
2021-03-06 19:20:28 × nineonine quits (~nineonine@2604:3d08:7785:9600:ad8c:89aa:bf10:9556) (Remote host closed the connection)
2021-03-06 19:21:18 nineonine joins (~nineonine@2604:3d08:7785:9600:ad8c:89aa:bf10:9556)
2021-03-06 19:22:24 conal joins (~conal@64.71.133.70)
2021-03-06 19:22:55 × ericsagnes quits (~ericsagne@2405:6580:0:5100:b415:f422:4eeb:ecc6) (Ping timeout: 240 seconds)
2021-03-06 19:23:02 × nineonine quits (~nineonine@2604:3d08:7785:9600:ad8c:89aa:bf10:9556) (Remote host closed the connection)
2021-03-06 19:25:05 coot joins (~coot@37.30.55.141.nat.umts.dynamic.t-mobile.pl)
2021-03-06 19:25:28 × conal quits (~conal@64.71.133.70) (Client Quit)
2021-03-06 19:27:37 ADG1089__ joins (~aditya@171.79.107.148)
2021-03-06 19:31:01 × bigbosskor quits (~Android@2001:44c8:422a:bbc1:1:0:79b0:2ebf) (Read error: Connection reset by peer)
2021-03-06 19:31:02 bigboss99 joins (~Android@2001:44c8:422a:bbc1:1:0:79b0:2ebf)
2021-03-06 19:31:11 conal joins (~conal@64.71.133.70)
2021-03-06 19:34:57 ericsagnes joins (~ericsagne@2405:6580:0:5100:dc41:de6b:7f91:94a8)
2021-03-06 19:34:59 nbloomf joins (~nbloomf@2600:1700:ad14:3020:40e7:d7b:f52e:210c)
2021-03-06 19:39:38 × xff0x quits (~xff0x@2001:1a81:52b1:4b00:9db1:154e:449f:cfec) (Ping timeout: 264 seconds)
2021-03-06 19:41:11 xff0x joins (xff0x@gateway/vpn/mullvad/xff0x)
2021-03-06 19:41:29 × kenran quits (~kenran@i59F67B82.versanet.de) (Remote host closed the connection)
2021-03-06 19:41:44 maier joins (~maier@i59F67B82.versanet.de)
2021-03-06 19:42:33 × barnowl quits (~barnowl@gateway/tor-sasl/barnowl) (Remote host closed the connection)
2021-03-06 19:42:57 barnowl joins (~barnowl@gateway/tor-sasl/barnowl)
2021-03-06 19:44:44 Habib parts (~Habib@178.159.3.177) ()
2021-03-06 19:49:49 × xff0x quits (xff0x@gateway/vpn/mullvad/xff0x) (Ping timeout: 276 seconds)
2021-03-06 19:50:17 × raehik quits (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net) (Ping timeout: 256 seconds)
2021-03-06 19:51:25 xff0x joins (~xff0x@2001:1a81:52b1:4b00:9db1:154e:449f:cfec)
2021-03-06 19:51:33 × merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 264 seconds)
2021-03-06 19:52:36 raehik joins (~raehik@cpc95906-rdng25-2-0-cust156.15-3.cable.virginm.net)
2021-03-06 19:55:24 sh9 joins (~sh9@softbank060116136158.bbtec.net)
2021-03-06 19:56:58 nineonine joins (~nineonine@S0106a0ff7073d5d5.vf.shawcable.net)

All times are in UTC.