| 00:01:36 | * | rnrwashere quit (Remote host closed the connection) |
| 00:01:58 | * | rnrwashere joined #nim |
| 00:23:01 | * | knack quit (Ping timeout: 256 seconds) |
| 00:24:00 | * | leorize joined #nim |
| 00:28:37 | * | leorize quit (Ping timeout: 256 seconds) |
| 00:29:54 | * | leorize joined #nim |
| 00:39:38 | * | lritter quit (Ping timeout: 255 seconds) |
| 00:41:09 | * | kungtotte quit (Ping timeout: 246 seconds) |
| 00:41:52 | * | kungtotte joined #nim |
| 00:42:11 | * | rnrwashere quit (Remote host closed the connection) |
| 00:51:37 | * | rnrwashere joined #nim |
| 00:56:18 | * | rnrwashere quit (Ping timeout: 264 seconds) |
| 00:59:02 | * | rnrwashere joined #nim |
| 01:03:29 | * | rnrwashere quit (Ping timeout: 255 seconds) |
| 01:15:35 | * | Marumto quit (Quit: Leaving) |
| 01:15:48 | * | Marumto joined #nim |
| 01:15:58 | * | Marumto is now known as Marumoto |
| 01:16:35 | * | zachk quit (Quit: Leaving) |
| 01:18:20 | * | vlad1777d quit (Ping timeout: 250 seconds) |
| 01:19:42 | * | abm quit (Ping timeout: 264 seconds) |
| 01:27:11 | marcazar | #quit |
| 01:27:18 | * | marcazar quit (Remote host closed the connection) |
| 01:31:31 | * | rnrwashere joined #nim |
| 01:33:22 | * | rnrwashere quit (Remote host closed the connection) |
| 01:35:21 | * | seni quit (Quit: Leaving) |
| 02:22:02 | * | ng0_ joined #nim |
| 02:23:10 | * | Tyresc quit (Quit: WeeChat 2.5-dev) |
| 02:24:09 | * | Marumto joined #nim |
| 02:24:47 | * | ng0 quit (Ping timeout: 256 seconds) |
| 02:26:54 | * | Marumoto quit (Ping timeout: 264 seconds) |
| 02:47:26 | * | chimez joined #nim |
| 02:47:58 | * | chimez quit (Client Quit) |
| 03:02:32 | * | banc quit (Quit: Bye) |
| 03:10:54 | * | rnrwashere joined #nim |
| 03:14:55 | * | rnrwashere quit (Remote host closed the connection) |
| 03:23:50 | * | noeontheend joined #nim |
| 03:24:15 | * | banc joined #nim |
| 04:02:08 | * | noeontheend quit (Ping timeout: 245 seconds) |
| 04:04:34 | * | smitop quit (Quit: Connection closed for inactivity) |
| 04:06:37 | * | dddddd quit (Remote host closed the connection) |
| 04:44:12 | * | Snircle quit (Quit: Textual IRC Client: www.textualapp.com) |
| 05:03:16 | * | noeontheend joined #nim |
| 05:11:05 | * | leorize quit (Remote host closed the connection) |
| 05:30:06 | * | noeontheend quit (Ping timeout: 250 seconds) |
| 05:42:02 | * | narimiran joined #nim |
| 05:47:20 | * | noeontheend joined #nim |
| 06:23:18 | * | leorize joined #nim |
| 06:27:08 | * | noeontheend quit (Ping timeout: 245 seconds) |
| 06:32:19 | * | noeontheend joined #nim |
| 06:57:38 | * | noeontheend quit (Ping timeout: 255 seconds) |
| 07:14:03 | * | Vladar joined #nim |
| 07:31:25 | * | krux02 joined #nim |
| 07:33:53 | * | NimBot joined #nim |
| 07:36:29 | * | Xe quit (Ping timeout: 257 seconds) |
| 08:00:00 | * | gmpreussner quit (Quit: kthxbye) |
| 08:01:16 | * | Xe joined #nim |
| 08:04:50 | * | gmpreussner joined #nim |
| 08:16:11 | * | PMunch joined #nim |
| 08:20:09 | * | Vladar quit (Remote host closed the connection) |
| 08:20:38 | * | Vladar joined #nim |
| 08:35:13 | * | dddddd joined #nim |
| 09:06:36 | * | floppydh joined #nim |
| 09:09:42 | * | ng0_ is now known as ng0 |
| 09:10:06 | * | neceve joined #nim |
| 09:14:18 | * | Vladar quit (Remote host closed the connection) |
| 09:14:46 | * | Vladar joined #nim |
| 09:29:21 | * | abm joined #nim |
| 09:35:05 | * | arecaceae quit (Remote host closed the connection) |
| 09:35:23 | * | arecaceae joined #nim |
| 09:46:41 | * | marcazar joined #nim |
| 09:48:13 | * | sealmove joined #nim |
| 09:49:18 | Zevv | cd |
| 09:52:13 | Araq | .. |
| 10:21:47 | Zevv | -EWRONGWIN |
| 10:33:32 | * | dom96_w joined #nim |
| 10:54:15 | * | KindOne is now known as uptime |
| 11:02:11 | * | nsf quit (Quit: WeeChat 2.3) |
| 11:16:22 | * | lritter joined #nim |
| 11:16:28 | * | smitop joined #nim |
| 11:25:47 | * | ng0 quit (Quit: Alexa, when is the end of world?) |
| 11:27:04 | * | nsf joined #nim |
| 11:38:53 | * | stefanos82 joined #nim |
| 12:20:56 | * | fanta7531 joined #nim |
| 12:35:03 | * | vlad1777d joined #nim |
| 12:53:31 | * | neceve_ joined #nim |
| 12:53:53 | * | neceve quit (Ping timeout: 258 seconds) |
| 13:17:01 | * | Vladar quit (Remote host closed the connection) |
| 13:26:08 | * | smitop quit (Quit: Connection closed for inactivity) |
| 13:28:34 | * | Snircle joined #nim |
| 13:37:08 | * | fanta7531 is now known as fanta7531|away |
| 13:47:37 | * | Vladar joined #nim |
| 13:51:31 | * | fanta7531|away quit (Quit: fanta7531|away) |
| 13:55:28 | * | stefanos82 quit (Remote host closed the connection) |
| 14:06:59 | * | pwntus quit (Remote host closed the connection) |
| 14:19:05 | * | vlad1777d quit (Ping timeout: 246 seconds) |
| 14:24:14 | * | Marumoto joined #nim |
| 14:27:01 | * | Marumto quit (Ping timeout: 268 seconds) |
| 14:32:37 | marcazar | hello! Have a quick question regarding the capacity of sequences. When newSeqOfCap[T](cap) is used to create a sequence is there a way to get the capacity value back similar to len()? |
| 14:33:17 | Araq | there are only hacks |
| 14:33:45 | marcazar | hmmm oki, any direction would be helpful :) |
| 14:33:46 | Araq | there is a feature request for it, somewhere, but for me it never comes up |
| 14:34:38 | Araq | proc cap(s: seq): int = cast[ptr tuple[a, b: int]](s)[1] and someBitMask |
| 14:34:52 | Araq | read system.nim, grep for PGenericSeq for the details |
| 14:35:20 | marcazar | Ok, great. I'll give it a go... I'm using it to reserve space on a buffer. The buffer is created with capacity and length is 0. |
| 14:37:25 | * | rnrwashere joined #nim |
| 14:50:07 | * | PMunch quit (Remote host closed the connection) |
| 14:56:09 | * | chimez joined #nim |
| 14:56:18 | * | chimez quit (Client Quit) |
| 14:58:53 | * | floppydh quit (Quit: WeeChat 2.3) |
| 15:07:34 | marcazar | @Araq this worked for me: proc cap[T](s: seq[T]): int = cast[PGenericSeq](s).reserved |
| 15:07:40 | marcazar | thnx :) |
| 15:07:49 | * | Senketsu quit (Quit: WeeChat 2.3) |
| 15:09:30 | * | Perkol joined #nim |
| 15:11:21 | Araq | you need to mask this with 'and not seqShallowFlag' |
| 15:13:38 | marcazar | hmmm ok, and what does seqShallowflag do? is it for shallowCopy proc |
| 15:16:36 | FromGitter | <mratsim> you can have shallow seq and string |
| 15:16:55 | FromGitter | <mratsim> which are shallow copied on assignment instead of deep copied |
| 15:17:58 | marcazar | right. in system.nim the seqShallowFlag is a const low(int) |
| 15:20:19 | * | Senketsu joined #nim |
| 15:26:00 | * | neceve_ quit (Remote host closed the connection) |
| 15:35:18 | * | aguspiza joined #nim |
| 15:42:59 | * | rnrwashere quit (Remote host closed the connection) |
| 15:49:59 | * | sealmove quit (Quit: WeeChat 2.3) |
| 15:54:56 | * | noeontheend joined #nim |
| 15:57:16 | * | Perkol quit (Quit: Leaving) |
| 15:59:02 | * | Trustable joined #nim |
| 16:11:41 | marcazar | @Araq when the seq is assigned/copied(deep not shallow) we no longer can get the capacity of either party. ShallowCopy and copyMem seem to preserve the capacity attribute. |
| 16:16:38 | * | nsf quit (Quit: WeeChat 2.3) |
| 16:17:16 | * | rnrwashere joined #nim |
| 16:21:53 | * | rnrwashere quit (Ping timeout: 250 seconds) |
| 16:35:29 | Araq | well copying the seq including its capacity is worse for performance iirc |
| 16:35:43 | Araq | it's better to only copy up to its length |
| 17:27:11 | * | Jesin quit (Ping timeout: 255 seconds) |
| 17:33:28 | * | rnrwashere joined #nim |
| 17:38:18 | * | rnrwashere quit (Ping timeout: 264 seconds) |
| 17:54:28 | * | stefanos82 joined #nim |
| 18:03:54 | * | seni joined #nim |
| 18:05:34 | * | zachk joined #nim |
| 18:14:28 | FromGitter | <alehander42> whats new in nim |
| 18:14:30 | * | Vladar quit (Remote host closed the connection) |
| 18:19:55 | * | Vladar joined #nim |
| 18:23:29 | xace_ | alehander42 araq has a proposal to fix memory safety without a gc... a blog is coming up |
| 18:23:39 | xace_ | blogpost* |
| 18:26:28 | * | fanta7531 joined #nim |
| 18:29:36 | * | hoijui joined #nim |
| 18:36:18 | FromDiscord | <sealmove> I am trying to make a shell/repl but can't even figure out how nim secret works 😂 😅 |
| 18:37:22 | FromDiscord | <juan_carlos> Well, its a secret after all. ;P |
| 18:40:50 | FromDiscord | <sealmove> Oh well, it's a good opportunity to learn a little bit about the graph data structure that's used for modules on the way. |
| 18:41:07 | * | Senketsu quit (Quit: WeeChat 2.3) |
| 18:42:16 | FromDiscord | <sealmove> Will take some time but I am envisioning a nice result. Having Nim as your default shell will be cool! |
| 18:42:59 | * | Senketsu joined #nim |
| 18:44:22 | FromDiscord | <juan_carlos> Oh, thats sounds interesting! :D |
| 18:51:45 | * | Senketsu quit (Quit: WeeChat 2.3) |
| 18:52:57 | * | dom96_w quit (Quit: My MacBook has gone to sleep. ZZZzzz…) |
| 18:53:08 | * | Senketsu joined #nim |
| 18:54:11 | * | Senketsu quit (Client Quit) |
| 18:57:22 | * | Senketsu joined #nim |
| 19:02:19 | FromDiscord | <sealmove> :) |
| 19:06:16 | * | Sembei joined #nim |
| 19:07:06 | * | nsf joined #nim |
| 19:11:45 | * | Senketsu quit (Quit: WeeChat 2.3) |
| 19:17:15 | Zevv | sealmove: don't forget: shell goodness is measured in tab completion completeness :) |
| 19:19:37 | * | fanta7531 quit (Quit: fanta7531) |
| 19:28:05 | * | Senketsu joined #nim |
| 19:30:23 | * | Tyresc joined #nim |
| 19:32:03 | * | Senketsu quit (Client Quit) |
| 19:38:16 | * | Trustable quit (Remote host closed the connection) |
| 19:41:55 | FromDiscord | <sealmove> Hehe, let's bot jump so far ahead |
| 19:42:04 | FromDiscord | <sealmove> not* |
| 19:49:23 | * | Senketsu joined #nim |
| 19:57:42 | * | PMunch joined #nim |
| 19:58:56 | * | Marumoto quit (Ping timeout: 246 seconds) |
| 20:00:17 | * | Marumoto joined #nim |
| 20:05:14 | * | Marumto joined #nim |
| 20:06:38 | * | Marumoto quit (Ping timeout: 246 seconds) |
| 20:19:21 | * | Vladar quit (Remote host closed the connection) |
| 20:25:34 | * | nsf quit (Quit: WeeChat 2.3) |
| 20:27:32 | FromGitter | <Varriount> I use `nim secret` |
| 20:27:54 | FromGitter | <Varriount> Usually to test the output of a standard library function |
| 20:28:24 | * | Sentreen quit (Ping timeout: 250 seconds) |
| 20:31:52 | * | Tyresc quit (Ping timeout: 250 seconds) |
| 20:38:10 | * | Snircle is now known as Not-X |
| 20:41:26 | FromDiscord | <sealmove> But nim secret uses Nimscript which can't import most of the standard library, no? |
| 20:42:12 | * | Sentreen joined #nim |
| 21:10:12 | * | hoijui quit (Remote host closed the connection) |
| 21:15:11 | * | Not-X is now known as Snircle |
| 21:16:45 | * | rnrwashere joined #nim |
| 21:19:45 | * | narimiran quit (Remote host closed the connection) |
| 21:19:57 | * | rnrwashere quit (Remote host closed the connection) |
| 21:22:04 | * | rnrwashere joined #nim |
| 21:22:08 | * | rnrwashere quit (Remote host closed the connection) |
| 21:22:42 | * | rnrwashere joined #nim |
| 21:25:58 | * | rnrwashere quit (Remote host closed the connection) |
| 21:26:11 | * | rnrwashere joined #nim |
| 21:39:48 | * | PMunch quit (Remote host closed the connection) |
| 21:45:02 | * | ng0 joined #nim |
| 21:54:12 | * | vlad1777d joined #nim |
| 22:08:46 | * | dddddd quit (Remote host closed the connection) |
| 22:34:28 | FromGitter | <Varriount> Enough of the standard library works for my needs. |
| 22:55:20 | * | aguspiza quit (Ping timeout: 246 seconds) |
| 23:00:39 | FromGitter | <iffy> I realize this is probably not a nim question, but I'm getting LNK2001 unresolved external symbol errors trying to build a CPP program which includes a nim-created static library on Windows. I'm compiling/linking with Visual Studio. Anyone know off the top of their head why the symbols might not be found? |
| 23:01:45 | FromGitter | <iffy> (the unresolved symbols are symbols defined in the nim-created static lib) |
| 23:03:17 | FromGitter | <iffy> oh, finally found `dumpbin.exe`... it's cause the symbols are missing from the static lib :) |
| 23:05:29 | FromGitter | <iffy> Does `--app:staticlib` not work on Windows? Or... what's different about it on Windows (as opposed to Linux/macOS)? |
| 23:15:38 | * | lritter quit (Ping timeout: 246 seconds) |
| 23:41:37 | FromGitter | <iffy> nm, the symbols are there (I needed to do `dumpbin.exe /SYMBOLS myfile.lib` |
| 23:42:46 | FromGitter | <iffy> is it strange/expected that the symbols have `@` before and `@8` after them? |
| 23:43:14 | FromGitter | <iffy> `_NimMain` lacks the @s |
| 23:45:51 | * | leorize quit (Quit: WeeChat 2.3) |
| 23:49:24 | * | Jesin joined #nim |
| 23:59:24 | * | rnrwashere quit (Remote host closed the connection) |