Logs: freenode/#haskell
| 2020-10-29 19:56:05 | <maerwald> | also, GUIs are a mess in neovim |
| 2020-10-29 19:56:19 | → | jakob_ joins (~textual@p200300f49f1622004116af098f243cdf.dip0.t-ipconnect.de) |
| 2020-10-29 19:56:40 | <maerwald> | too many, but none complete |
| 2020-10-29 19:56:46 | <maerwald> | agile |
| 2020-10-29 19:56:48 | <dolio> | Vim comes with Haskell highlighting. |
| 2020-10-29 19:56:54 | <dolio> | As does neovim, I think. |
| 2020-10-29 19:57:11 | <ibloom> | Is there a way to go between the two types of vectors at zero expense? |
| 2020-10-29 19:57:22 | <davean> | ibloom: what two types? |
| 2020-10-29 19:57:49 | <koz_> | ibloom: Also, what are you trying to do that requires this? |
| 2020-10-29 19:58:19 | → | kritzefitz joins (~kritzefit@212.86.56.80) |
| 2020-10-29 19:58:23 | <ibloom> | I have regular vectors that I'm freezing from Data.Vector.Mutable and Data.Vector.Storable that come from JuicyPixels |
| 2020-10-29 19:58:27 | <maerwald> | avdb: also, Twinside/vim-hoogle is useful |
| 2020-10-29 19:59:40 | <koz_> | Is there a reason you can't just work with Storable all the time? |
| 2020-10-29 19:59:46 | <koz_> | Storable has mutable versions too. |
| 2020-10-29 20:00:06 | <maerwald> | I also use luochen1990/rainbow for haskell. First installed it for clojure some time ago, but it's nice here too |
| 2020-10-29 20:00:11 | <avdb> | maerwald: I'm not there yet, I still have a hard time understanding Hoogle but still not as bad as cppreference. |
| 2020-10-29 20:00:44 | <ibloom> | Yeah the mutable version of storable is implemented very differently... perhaps I'm missing something. |
| 2020-10-29 20:01:36 | <davean> | Ok, vectors from the 'vector' package, thats a good place to start. |
| 2020-10-29 20:02:09 | <koz_> | ibloom: What do you mean? |
| 2020-10-29 20:02:13 | <davean> | ibloom: what do you mean "implimented very differently"? |
| 2020-10-29 20:02:19 | <koz_> | It's the same as mutable vectors for any other variety basically. |
| 2020-10-29 20:02:25 | <maerwald> | avdb: https://tinyurl.com/yxhxn7m3 my plugin config |
| 2020-10-29 20:03:12 | <ibloom> | davean: Data.Vector.Mutable is based on read and write for example. Maybe I need to read more. |
| 2020-10-29 20:03:26 | <koz_> | ibloom: What do you mean by 'read more'? |
| 2020-10-29 20:03:37 | × | rdivacky quits (~rdivacky@212.96.173.4) (Read error: Connection reset by peer) |
| 2020-10-29 20:03:38 | <ibloom> | I mean I need to read more of the docs. |
| 2020-10-29 20:03:54 | → | rdivacky joins (~rdivacky@212.96.173.4) |
| 2020-10-29 20:03:58 | <koz_> | ibloom: Are you unclear how to move between mutable and immutable vectors, perhaps? |
| 2020-10-29 20:03:59 | <davean> | ibloom: thats not the mutable storable, but if you can't read and write its not mutable - thats what being mutable is |
| 2020-10-29 20:04:41 | <davean> | ibloom: if you don |
| 2020-10-29 20:04:46 | <dolio> | Well, the write part. |
| 2020-10-29 20:04:47 | <davean> | t want read and write you don't want mutable vectors |
| 2020-10-29 20:05:02 | <davean> | dolio: well no, read because mutable ones have a semantic difference in that they're ordered |
| 2020-10-29 20:05:42 | <ibloom> | No no, all of that code is written already, I just have images I'm generating by writing to mutable vectors and others that I'm loading from JuicyPixels and the only way I can find to combine them was to go to and from a list. |
| 2020-10-29 20:06:02 | × | _vaibhavingale_ quits (~Adium@203.188.228.9) (Quit: Leaving.) |
| 2020-10-29 20:06:22 | <davean> | freeze? |
| 2020-10-29 20:07:02 | <ibloom> | If I freeze from Data.Vector.Mutable MVector I get a Data.Vector vector. I need a Data.Vector.Storable vector. |
| 2020-10-29 20:07:42 | <davean> | Right so use the storable version ... |
| 2020-10-29 20:07:55 | → | fandi_ joins (~fandi@125.160.217.204) |
| 2020-10-29 20:08:07 | <davean> | If you want storable, use storable? |
| 2020-10-29 20:08:41 | <ibloom> | Right, that means I need to rewrite all my mutable code, because the libraries are actually very different as far as I can tell. |
| 2020-10-29 20:08:46 | <davean> | You're code doesn't have to care which it is, use Data.Vector.Generic(.Mutable) |
| 2020-10-29 20:08:51 | <davean> | no, it doesn't |
| 2020-10-29 20:09:16 | <koz_> | ibloom: Not really, no. The APIs of all the mutable vector types are almost exact matches. |
| 2020-10-29 20:09:20 | <davean> | I'm so confused how you're not hearing what is being said |
| 2020-10-29 20:09:42 | <koz_> | The only difference is that your data has to be Storable to be put in a mutable Storable vector. Is that the issue here? |
| 2020-10-29 20:10:04 | × | thir quits (~thir@p200300f27f0b7e004c18ab60065ea01b.dip0.t-ipconnect.de) (Ping timeout: 240 seconds) |
| 2020-10-29 20:10:11 | <ibloom> | I think I wasn't using the Generic version. Instead I've got an old library. |
| 2020-10-29 20:10:24 | <davean> | old? How old are we talking ... thats not new |
| 2020-10-29 20:10:43 | <geekosaur> | pretty sure they've always had nearly identical APIs |
| 2020-10-29 20:10:50 | × | fandi__ quits (~fandi@118.97.77.114) (Ping timeout: 264 seconds) |
| 2020-10-29 20:11:14 | <geekosaur> | unless we're talking some JuicyPixels thing |
| 2020-10-29 20:11:36 | <davean> | geekosaur: Data.Vector.Generic.* got added in 2009 |
| 2020-10-29 20:11:46 | → | GyroW joins (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) |
| 2020-10-29 20:11:46 | × | GyroW quits (~GyroW@ptr-48ujrfd1ztq5fjywfw3.18120a2.ip6.access.telenet.be) (Changing host) |
| 2020-10-29 20:11:46 | → | GyroW joins (~GyroW@unaffiliated/gyrow) |
| 2020-10-29 20:11:56 | <ibloom> | I've been importing Data.Vector.Mutable instead of Data.Vector.Generic.Mutable |
| 2020-10-29 20:12:18 | × | avdb quits (~avdb@ip-62-235-189-214.dsl.scarlet.be) (Ping timeout: 268 seconds) |
| 2020-10-29 20:12:19 | <ibloom> | I'll try that and let you know how it goes. |
| 2020-10-29 20:12:28 | → | conal_ joins (~conal@66.115.157.138) |
| 2020-10-29 20:12:35 | × | conal_ quits (~conal@66.115.157.138) (Client Quit) |
| 2020-10-29 20:12:38 | × | conal quits (~conal@64.71.133.70) (Ping timeout: 264 seconds) |
| 2020-10-29 20:12:38 | × | GyroW_ quits (~GyroW@unaffiliated/gyrow) (Ping timeout: 264 seconds) |
| 2020-10-29 20:13:13 | → | conal joins (~conal@66.115.157.138) |
| 2020-10-29 20:13:22 | × | conal quits (~conal@66.115.157.138) (Client Quit) |
| 2020-10-29 20:13:34 | → | fandi__ joins (~fandi@118.97.77.114) |
| 2020-10-29 20:14:48 | <ibloom> | I see , it looks like I'm actually using STVectors. Sorry, I've been wiring up some old code I hadn't touched in a while. |
| 2020-10-29 20:14:50 | → | conal joins (~conal@66.115.157.138) |
| 2020-10-29 20:14:58 | × | conal quits (~conal@66.115.157.138) (Client Quit) |
| 2020-10-29 20:15:18 | × | tvrsky quits (~tvrsky@177.20.187.150) (Quit: Leaving) |
| 2020-10-29 20:15:26 | → | nineonine joins (~textual@216.81.48.202) |
| 2020-10-29 20:15:56 | <koz_> | STVector is just a mutable vector specialized to ST. |
| 2020-10-29 20:16:37 | × | fandi_ quits (~fandi@125.160.217.204) (Ping timeout: 268 seconds) |
| 2020-10-29 20:19:05 | → | ransom joins (~c4264035@2603:300b:1301:3d00:1050:d45f:fca2:b267) |
| 2020-10-29 20:19:12 | → | scasc joins (~szabi@213142096120.public.telering.at) |
| 2020-10-29 20:19:15 | × | jakob_ quits (~textual@p200300f49f1622004116af098f243cdf.dip0.t-ipconnect.de) (Quit: My Laptop has gone to sleep. ZZZzzz…) |
| 2020-10-29 20:19:52 | <scasc> | Just a quick question: |
| 2020-10-29 20:20:00 | → | kish joins (~oracle@unaffiliated/oracle) |
| 2020-10-29 20:20:01 | × | wroathe quits (~wroathe@c-68-54-25-135.hsd1.mn.comcast.net) (Ping timeout: 260 seconds) |
| 2020-10-29 20:20:22 | dminuoso | patiently waits for the question |
| 2020-10-29 20:20:34 | dminuoso | scribbles down potential answers |
| 2020-10-29 20:20:38 | → | wroathe joins (~wroathe@c-73-24-27-54.hsd1.mn.comcast.net) |
| 2020-10-29 20:20:45 | dminuoso | readies the ScopedTypeVariable answer |
| 2020-10-29 20:20:46 | <scasc> | I seem to remember that some recent GHC dropped 32-bit architecture (i386) support, and only supports x86_64 now |
| 2020-10-29 20:21:02 | <scasc> | is that right, or do I misremember? |
| 2020-10-29 20:21:21 | <maerwald> | I don't remember that |
| 2020-10-29 20:21:57 | × | kuribas quits (~user@ptr-25vy0i9qqlftcl4jjst.18120a2.ip6.access.telenet.be) (Quit: ERC (IRC client for Emacs 26.3)) |
| 2020-10-29 20:22:12 | <geekosaur> | there was discussion of that for windows, I think? |
| 2020-10-29 20:22:12 | <maerwald> | even 9.0.1-alpha1 has 32bit |
| 2020-10-29 20:22:13 | <dminuoso> | https://www.haskell.org/ghc/download_ghc_8_10_1.html#linux_i386 |
| 2020-10-29 20:22:18 | × | nbloomf quits (~nbloomf@2600:1700:ad14:3020:d1d4:d989:c09d:31fa) (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 2020-10-29 20:22:21 | <dminuoso> | scasc: We ship i386 builds. |
| 2020-10-29 20:22:41 | hackage | zxcvbn-hs 0.3.0.0 - Password strength estimation based on zxcvbn. https://hackage.haskell.org/package/zxcvbn-hs-0.3.0.0 (PeterJones) |
| 2020-10-29 20:23:18 | → | takuan_dozo joins (~takuan@178-116-218-225.access.telenet.be) |
| 2020-10-29 20:24:02 | × | ransom quits (~c4264035@2603:300b:1301:3d00:1050:d45f:fca2:b267) (Ping timeout: 264 seconds) |
| 2020-10-29 20:24:13 | → | machinedgod joins (~machinedg@24.105.81.50) |
| 2020-10-29 20:25:41 | <scasc> | Thanks. I was quite unsure, that's why I wanted to double check. |
| 2020-10-29 20:26:16 | <scasc> | Didn't find an authoritative source, but of course, I could have checked the distribution packages provided. |
| 2020-10-29 20:27:02 | × | toorevitimirp quits (~tooreviti@117.182.180.36) (Ping timeout: 264 seconds) |
| 2020-10-29 20:27:51 | × | christo quits (~chris@81.96.113.213) (Remote host closed the connection) |
All times are in UTC.