Logs: freenode/#haskell
| 2020-10-29 17:20:16 | <tomsmeding> | then there is a good, working LSP client for vim |
| 2020-10-29 17:20:23 | × | ubert quits (~Thunderbi@2a02:8109:9880:303c:ca5b:76ff:fe29:f233) (Remote host closed the connection) |
| 2020-10-29 17:20:39 | <tomsmeding> | modus tollens produces the required conclusion |
| 2020-10-29 17:20:56 | → | MindlessDrone joins (~MindlessD@unaffiliated/mindlessdrone) |
| 2020-10-29 17:21:04 | <monsterchrom> | Does fintech simply mean blockchain stuff? It's a new term that suddenly popped up a few days ago and suddenly everyone except me knew it like it has always existed. |
| 2020-10-29 17:21:16 | <maerwald> | but they have this obsession with hiring over-qualified ppl, which sometimes has interesting side-effects |
| 2020-10-29 17:21:26 | <tomsmeding> | I understand it as high-frequency trading monsterchrom |
| 2020-10-29 17:21:35 | <maerwald> | monsterchrom: no, I mean actual fintech, stealing real money |
| 2020-10-29 17:21:54 | → | Guest84165 joins (~mrc@81.30.75.204) |
| 2020-10-29 17:21:55 | <thblt> | Sounds way more honest than blockchain. |
| 2020-10-29 17:22:03 | × | Guest84165 quits (~mrc@81.30.75.204) (Client Quit) |
| 2020-10-29 17:22:05 | × | FreeBirdLjj quits (~freebirdl@101.228.42.108) (Ping timeout: 240 seconds) |
| 2020-10-29 17:22:07 | <tomsmeding> | also less power usage probably |
| 2020-10-29 17:22:25 | <thblt> | Where you steal money too, but after having had to lie to pretend it was money in the first place. |
| 2020-10-29 17:23:06 | <maerwald> | I dunno. If you apply for a job and get it... didn't you steal it from the other 50 candidates? :) |
| 2020-10-29 17:23:17 | → | solonarv joins (~solonarv@astrasbourg-653-1-117-122.w90-33.abo.wanadoo.fr) |
| 2020-10-29 17:23:23 | <monsterchrom> | oh, financial technology |
| 2020-10-29 17:23:35 | <geekosaur> | if people behave as if it has value, does it? |
| 2020-10-29 17:24:25 | <tomsmeding> | for most reasonable definitions, yes |
| 2020-10-29 17:24:31 | × | xff0x_ quits (~fox@port-92-193-232-58.dynamic.as20676.net) (Ping timeout: 265 seconds) |
| 2020-10-29 17:24:59 | <maerwald> | But I can say it's interesting to have experienced real fraud once (not from employer, but customer) |
| 2020-10-29 17:25:18 | <avdb> | A-mazing. I got the next three hours to play with Haskell for the first time in a while. |
| 2020-10-29 17:25:41 | <tomsmeding> | avdb: what will you build? |
| 2020-10-29 17:25:42 | → | teardown joins (~user@gateway/tor-sasl/mrush) |
| 2020-10-29 17:27:46 | × | raichoo quits (~raichoo@213.240.178.58) (Quit: Lost terminal) |
| 2020-10-29 17:27:47 | × | u0_a298 quits (~user@47.206.148.226) (Read error: Connection reset by peer) |
| 2020-10-29 17:27:50 | → | idhugo joins (~idhugo@eduroam06.au.dk) |
| 2020-10-29 17:28:48 | → | u0_a298 joins (~user@47.206.148.226) |
| 2020-10-29 17:29:28 | × | Zetagon quits (~leo@c151-177-52-233.bredband.comhem.se) (Ping timeout: 260 seconds) |
| 2020-10-29 17:29:41 | <avdb> | tomsmeding: I will be reading Chris' book since I can't even use Haskell properly yet. |
| 2020-10-29 17:29:58 | <avdb> | I'm currently learning very slowlu due to bad time managment. |
| 2020-10-29 17:30:01 | <avdb> | Slowly* |
| 2020-10-29 17:30:15 | <tomsmeding> | as long as you're having fun, learning slowly is not an issue |
| 2020-10-29 17:30:34 | <carbolymer> | I have: `counter <- newTVarIO 0` and in 2 threads I'm doing: `atomically $ modifyTVar' counter ((+)1) >> readTVar counter` and in both threads I'm getting 1 at the same time - WTF? |
| 2020-10-29 17:30:40 | → | ensyde joins (~ensyde@99-185-235-117.lightspeed.chrlnc.sbcglobal.net) |
| 2020-10-29 17:30:47 | <maerwald> | I'm a strong believer in slow learning |
| 2020-10-29 17:31:24 | <maerwald> | if you learn slow, you forget slow :p |
| 2020-10-29 17:31:27 | hackage | cassava-streams 0.3.0.5 - io-streams interface for the cassava CSV library. https://hackage.haskell.org/package/cassava-streams-0.3.0.5 (PeterJones) |
| 2020-10-29 17:31:46 | <tomsmeding> | carbolymer: is the code shareable? https://paste.tomsmeding.com |
| 2020-10-29 17:31:50 | × | merijn quits (~merijn@83-160-49-249.ip.xs4all.nl) (Ping timeout: 264 seconds) |
| 2020-10-29 17:32:58 | → | st8less joins (~st8less@2603:a060:11fd:0:11a8:48f2:e89a:10e3) |
| 2020-10-29 17:33:47 | → | merijn joins (~merijn@83-160-49-249.ip.xs4all.nl) |
| 2020-10-29 17:35:04 | × | ensyde quits (~ensyde@99-185-235-117.lightspeed.chrlnc.sbcglobal.net) (Ping timeout: 240 seconds) |
| 2020-10-29 17:35:10 | <carbolymer> | tomsmeding, not really, give a minute to re-create minimal example |
| 2020-10-29 17:35:48 | <tomsmeding> | because from your description, #worksForMe :p |
| 2020-10-29 17:35:56 | <tomsmeding> | (i.e. I get 1, 2) |
| 2020-10-29 17:36:49 | → | xff0x_ joins (~fox@2001:1a81:528e:cb00:4e46:bded:683a:1262) |
| 2020-10-29 17:39:20 | <carbolymer> | hmm, maybe it's because it's inside hunit test or ghc flags or idk - working on minimal example! |
| 2020-10-29 17:39:52 | <dminuoso> | I suspect there's an unsafePerformIO you didn't tell us about. |
| 2020-10-29 17:39:59 | <tomsmeding> | are you sure you have the same counter TVar both times? |
| 2020-10-29 17:40:45 | → | thir joins (~thir@p200300f27f0b7e004c18ab60065ea01b.dip0.t-ipconnect.de) |
| 2020-10-29 17:41:53 | <carbolymer> | tomsmeding, yes, because I'm running 5 threads, over 100 elements (everytime this function I pasted) and I am supposed to get 100 in return - but I get only 95 |
| 2020-10-29 17:42:02 | <carbolymer> | which = 100 - nr_of_threads |
| 2020-10-29 17:42:07 | <carbolymer> | which is super weird |
| 2020-10-29 17:42:38 | × | invaser quits (~Thunderbi@31.148.23.125) (Ping timeout: 264 seconds) |
| 2020-10-29 17:42:53 | × | xwvvvvwx quits (~xwvvvvwx@185.213.155.160) (Ping timeout: 260 seconds) |
| 2020-10-29 17:43:09 | → | emertens joins (x@freenode/staff/haskell.developer.glguy) |
| 2020-10-29 17:43:10 | <carbolymer> | dminuoso, could be - might hidden by hunit internals |
| 2020-10-29 17:43:34 | <carbolymer> | dminuoso, but I'm using pretty straightforward test spec |
| 2020-10-29 17:44:16 | <tomsmeding> | do all the threads execute your code about the same number of times? |
| 2020-10-29 17:44:40 | → | mbomba joins (~mbomba@142.114.9.241) |
| 2020-10-29 17:44:58 | hackage | th-lego 0.2.2 - Template Haskell construction utilities https://hackage.haskell.org/package/th-lego-0.2.2 (NikitaVolkov) |
| 2020-10-29 17:45:04 | × | thir quits (~thir@p200300f27f0b7e004c18ab60065ea01b.dip0.t-ipconnect.de) (Ping timeout: 240 seconds) |
| 2020-10-29 17:45:17 | × | emertens quits (x@freenode/staff/haskell.developer.glguy) (Remote host closed the connection) |
| 2020-10-29 17:45:17 | × | christo quits (~chris@81.96.113.213) (Remote host closed the connection) |
| 2020-10-29 17:45:24 | <carbolymer> | tomsmeding, yes, I've added print after each invocation, and this function returns the same value two times at the very beginning |
| 2020-10-29 17:45:51 | <carbolymer> | so, double 1's and numbers from 2-99 |
| 2020-10-29 17:45:56 | <dminuoso> | Im quite confident that stm is fine. |
| 2020-10-29 17:46:16 | <dminuoso> | carbolymer: Are you creating the counter using unsafePerformIO perhaps? |
| 2020-10-29 17:46:31 | <carbolymer> | dminuoso, no, newTVarIO |
| 2020-10-29 17:46:38 | <dminuoso> | carbolymer: No from the outside. |
| 2020-10-29 17:46:38 | <carbolymer> | inside IO |
| 2020-10-29 17:46:45 | <carbolymer> | inside test spec |
| 2020-10-29 17:46:49 | <dminuoso> | I stick to my theory "there's unsafePerformIO somehwere" |
| 2020-10-29 17:47:32 | <tomsmeding> | carbolymer: can you post the test spec? |
| 2020-10-29 17:47:50 | <tomsmeding> | despite knowing there's code we don't see |
| 2020-10-29 17:48:33 | → | Tario joins (~Tario@201.192.165.173) |
| 2020-10-29 17:48:34 | <carbolymer> | I can't - I would need to retype it from remote desktop; hold on, working on that example |
| 2020-10-29 17:48:53 | <tomsmeding> | lol ok no worries |
| 2020-10-29 17:49:06 | <carbolymer> | yeah, perks of remote work in financial company |
| 2020-10-29 17:49:31 | <geekosaur> | here we go again with the fintech :p |
| 2020-10-29 17:49:33 | → | xwvvvvwx joins (~xwvvvvwx@185.213.155.160) |
| 2020-10-29 17:50:13 | → | christo joins (~chris@81.96.113.213) |
| 2020-10-29 17:50:49 | <monsterchrom> | <backseat-driver>Just use ssh X forwarding</backseat-driver> |
| 2020-10-29 17:50:58 | hackage | polysemy-methodology 0.1.2.1 - Domain modelling algebra for polysemy https://hackage.haskell.org/package/polysemy-methodology-0.1.2.1 (locallycompact) |
| 2020-10-29 17:51:21 | tomsmeding | expects at least one of the two platforms involved to run windows |
| 2020-10-29 17:51:57 | geekosaur | likewise |
| 2020-10-29 17:53:07 | <monsterchrom> | I like to hedge-bet (haha fin again) the fantastically unlikely. I say OS/2 at the company and macOS at home. >:) |
| 2020-10-29 17:53:17 | <monsterchrom> | I guess s/say/bet/ |
| 2020-10-29 17:54:06 | <tomsmeding> | does ghc even run on OS/2 |
| 2020-10-29 17:54:10 | <dminuoso> | Hey hey, why do people assume that fintech means financial technologies? What do you call companies specializing in making diver fins? |
| 2020-10-29 17:54:14 | <dminuoso> | Surely you can use Haskell for that too |
| 2020-10-29 17:54:22 | <monsterchrom> | Oh oops hehe |
| 2020-10-29 17:54:38 | <monsterchrom> | I don't assume. I googled. |
| 2020-10-29 17:54:49 | × | christo quits (~chris@81.96.113.213) (Ping timeout: 264 seconds) |
| 2020-10-29 17:54:57 | <carbolymer> | ok, my minimal example works fine, I need to wrap it in test spec |
| 2020-10-29 17:55:05 | <geekosaur> | should port readily |
| 2020-10-29 17:55:09 | <monsterchrom> | Indeed I couldn't for my life figure out what's "fin" in "fintech", never occurred to me it's "finance" |
| 2020-10-29 17:55:17 | → | Deide joins (~Deide@217.155.19.23) |
| 2020-10-29 17:55:22 | <dminuoso> | or maybe its finnish tech! |
All times are in UTC.