Newest at the top
2024-08-22 10:24:28 +0200 | danse-nr3 | (~danse-nr3@user/danse-nr3) (Quit: on the move) |
2024-08-22 10:23:39 +0200 | CiaoSen | (~Jura@2a05:5800:2d3:fb00:ca4b:d6ff:fec1:99da) (Ping timeout: 252 seconds) |
2024-08-22 10:21:12 +0200 | merijn | (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds) |
2024-08-22 10:16:09 +0200 | merijn | (~merijn@204-220-045-062.dynamic.caiway.nl) |
2024-08-22 10:13:29 +0200 | gmg | (~user@user/gehmehgeh) |
2024-08-22 10:12:43 +0200 | gmg | (~user@user/gehmehgeh) (Remote host closed the connection) |
2024-08-22 10:08:17 +0200 | RedFlamingos | (~RedFlamin@user/RedFlamingos) (Ping timeout: 248 seconds) |
2024-08-22 10:05:20 +0200 | merijn | (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds) |
2024-08-22 10:00:44 +0200 | merijn | (~merijn@204-220-045-062.dynamic.caiway.nl) |
2024-08-22 09:59:11 +0200 | <dminuoso> | Is there any chance you could perhaps just use the ForeignPtr itself? |
2024-08-22 09:59:05 +0200 | <dminuoso> | data ByteString = BS {-# UNPACK #-} !(ForeignPtr Word8) {-# UNPACK #-} !Int |
2024-08-22 09:58:19 +0200 | <dminuoso> | [exa]: Mind my asking, what is the context? |
2024-08-22 09:58:16 +0200 | neuroevolutus | (~neuroevol@206.217.205.48) (Quit: Client closed) |
2024-08-22 09:55:50 +0200 | paddymahoney | (~paddymaho@pool-99-250-30-88.cpe.net.cable.rogers.com) |
2024-08-22 09:51:57 +0200 | tomku | (~tomku@user/tomku) |
2024-08-22 09:51:43 +0200 | tomku | (~tomku@user/tomku) (Ping timeout: 264 seconds) |
2024-08-22 09:51:27 +0200 | tromp | (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
2024-08-22 09:49:42 +0200 | merijn | (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds) |
2024-08-22 09:44:14 +0200 | <jackdk> | At which point you're copying out the bytes, aren't you? |
2024-08-22 09:43:17 +0200 | <geekosaur> | sadly, I think you can't do this without using unsafe functions |
2024-08-22 09:42:44 +0200 | merijn | (~merijn@204-220-045-062.dynamic.caiway.nl) |
2024-08-22 09:40:47 +0200 | <[exa]> | at this point I found that I can do `unsafeUseAsCStringLen` and then `copyBytes` but see, there's the `unsafe` keyword there :) |
2024-08-22 09:40:22 +0200 | <[exa]> | that copies out the CString, which is a little inconvenient |
2024-08-22 09:36:57 +0200 | ubert | (~Thunderbi@77.119.163.30.wireless.dyn.drei.com) |
2024-08-22 09:36:36 +0200 | <jackdk> | https://hackage.haskell.org/package/bytestring-0.11.2.0/docs/Data-ByteString.html#g:25 ? |
2024-08-22 09:35:01 +0200 | machinedgod | (~machinedg@d50-99-47-73.abhsia.telus.net) |
2024-08-22 09:35:00 +0200 | <[exa]> | is there some easiest canonical way to "poke" a ByteString into memory pointed to by a Ptr? |
2024-08-22 09:31:56 +0200 | merijn | (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 255 seconds) |
2024-08-22 09:28:27 +0200 | alexherbo2 | (~alexherbo@2a02-8440-330d-60ad-6486-5b77-842e-76f1.rev.sfr.net) |
2024-08-22 09:21:48 +0200 | merijn | (~merijn@204-220-045-062.dynamic.caiway.nl) |
2024-08-22 09:12:02 +0200 | acidjnk | (~acidjnk@p200300d6e72cfb236432b07e57e26028.dip0.t-ipconnect.de) |
2024-08-22 09:11:01 +0200 | merijn | (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 244 seconds) |
2024-08-22 09:10:58 +0200 | gmg | (~user@user/gehmehgeh) |
2024-08-22 09:06:23 +0200 | merijn | (~merijn@204-220-045-062.dynamic.caiway.nl) |
2024-08-22 09:04:39 +0200 | kuribas | (~user@2a02:1808:2:13d8:2f9b:f5f:e070:ae5e) (Ping timeout: 260 seconds) |
2024-08-22 09:00:53 +0200 | tromp | (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) (Quit: My iMac has gone to sleep. ZZZzzz…) |
2024-08-22 08:57:02 +0200 | kuribas | (~user@2a02:1808:2:13d8:2f9b:f5f:e070:ae5e) |
2024-08-22 08:55:54 +0200 | merijn | (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 260 seconds) |
2024-08-22 08:50:59 +0200 | merijn | (~merijn@204-220-045-062.dynamic.caiway.nl) |
2024-08-22 08:39:31 +0200 | merijn | (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 252 seconds) |
2024-08-22 08:33:33 +0200 | xal | (~xal@mx1.xal.systems) |
2024-08-22 08:33:05 +0200 | xal | (~xal@mx1.xal.systems) (Quit: bye) |
2024-08-22 08:32:12 +0200 | lortabac | (~lortabac@88-125-6-227.subs.proxad.net) |
2024-08-22 08:28:25 +0200 | merijn | (~merijn@204-220-045-062.dynamic.caiway.nl) |
2024-08-22 08:27:59 +0200 | cfricke | (~cfricke@user/cfricke) |
2024-08-22 08:22:35 +0200 | tromp | (~textual@92-110-219-57.cable.dynamic.v4.ziggo.nl) |
2024-08-22 08:12:45 +0200 | merijn | (~merijn@204-220-045-062.dynamic.caiway.nl) (Ping timeout: 246 seconds) |
2024-08-22 08:12:24 +0200 | CiaoSen | (~Jura@2a05:5800:2d3:fb00:ca4b:d6ff:fec1:99da) |
2024-08-22 08:10:01 +0200 | m1dnight | (~christoph@78-20-63-126.access.telenet.be) |
2024-08-22 08:08:28 +0200 | merijn | (~merijn@204-220-045-062.dynamic.caiway.nl) |