| 00:08:36 | * | Mister_Magister quit (Quit: bye) |
| 00:11:10 | * | Mister_Magister joined #nim |
| 01:32:52 | * | th3r00t quit (Ping timeout: 276 seconds) |
| 01:36:43 | * | th3r00t joined #nim |
| 02:31:34 | * | Skippy8 joined #nim |
| 02:50:49 | * | Skippy8 quit (Ping timeout: 248 seconds) |
| 02:53:45 | FromDiscord | <toitle3554> are there any existing packages for something like rust's smallvec crate? (container that stores data in a fixed array up to a certain size, then reallocates data to heap) |
| 02:56:16 | FromDiscord | <toitle3554> poking at a nim implementation and I'm seeing some impressive performance (add() is 50% faster than seq, in some cases), but it seems like the kind of problem someone's already put out a library for |
| 02:56:30 | FromDiscord | <toitle3554> (edit) "someone's" => "someone would've" |
| 02:59:21 | * | termer quit (Ping timeout: 248 seconds) |
| 03:02:02 | * | termer joined #nim |
| 03:03:23 | FromDiscord | <DetermiedNim1> this one? https://github.com/servo/rust-smallvec |
| 03:03:34 | FromDiscord | <toitle3554> In reply to @determiedmech1 "this one? https://github.com/servo/rust-smallvec": yes |
| 03:04:00 | FromDiscord | <DetermiedNim1> tbh i don't personally know of any libraries for that but it doesnt seem too hard to do manually? |
| 03:09:06 | * | rockcavera quit (Remote host closed the connection) |
| 03:09:31 | * | ftajhii quit (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) |
| 03:26:22 | FromDiscord | <toitle3554> In reply to @determiedmech1 "tbh i don't personally": it's not too difficult to write, just a little tedious to re-implement all of system.nim's seq functions and possibly sequtils |
| 03:28:06 | * | ftajhii joined #nim |
| 03:28:32 | FromDiscord | <toitle3554> a lot of my personal projects are hitting points where it'd be nice to have a drop-in seq replacement with better locality/reduced allocations, might try to release something publicly this month |
| 04:28:15 | * | termer quit (Remote host closed the connection) |
| 04:29:49 | * | termer joined #nim |
| 05:35:13 | * | lucerne90 quit (Ping timeout: 272 seconds) |
| 06:45:51 | * | xet7 quit (Remote host closed the connection) |
| 08:25:52 | * | beholders_eye joined #nim |
| 10:48:36 | Amun-Ra | https://play.nim-lang.org/#pasty=RyshPedD |
| 10:48:46 | Amun-Ra | can I borrow a `[]` func without a cast? |
| 10:56:23 | Amun-Ra | I'd normally make it a distinct object with an array field but it has to have a form of plain array |
| 11:00:24 | * | Skippy8 joined #nim |
| 11:06:59 | * | Skippy8 quit (Read error: Connection reset by peer) |
| 11:34:57 | FromDiscord | <pmunch> Did something happen to the VSCode plugin? |
| 11:35:22 | FromDiscord | <pmunch> One of my devs just lost syntax highlighting 😛 |
| 11:45:43 | * | xet7 joined #nim |
| 12:11:29 | FromDiscord | <DetermiedNim1> In reply to @Amun-Ra "can I borrow a": I believeb `↵func `[]`(fp: Float80be, i: int): byte {.borrow.}` should work |
| 12:11:35 | FromDiscord | <DetermiedNim1> (edit) "believeb" => "believe" |
| 12:20:38 | FromDiscord | <Emmanuel M. Smith 🔸> That plugin has the biggest memory leak I've ever seen. It fills up 64GB of ram in a few hours↵(@pmunch) |
| 12:21:09 | FromDiscord | <Emmanuel M. Smith 🔸> Maybe one of my projects is causing it to do something funky |
| 12:25:41 | FromDiscord | <pmunch> Which one? |
| 12:25:56 | FromDiscord | <pmunch> And I'm pretty sure that's a nimsuggest bug |
| 12:25:58 | FromDiscord | <amun0666> In reply to @determiedmech1 "I believe ` func": That's what I tried first. "Error: no symbol to borrow from found" |
| 12:26:00 | FromDiscord | <pmunch> Certainly sounds like it |
| 12:26:37 | FromDiscord | <DetermiedNim1> In reply to @amun0666 "That's what I tried": oh weird |
| 12:39:53 | FromDiscord | <janakali> can't get borrow to work too, but you can unwrap distinct value with distinctBase\: https://nim-lang.org/docs/typetraits.html#distinctBase%2Ctypedesc%2Cstaticbool↵e.g. https://play.nim-lang.org/#pasty=xDnlIAnk↵(@amun0666) |
| 12:56:08 | FromDiscord | <Emmanuel M. Smith 🔸> nim-lang.org↵(@pmunch) |
| 12:56:25 | FromDiscord | <janakali> sent a code paste, see https://play.nim-lang.org/#pasty=OEFTdsAL |
| 12:56:54 | FromDiscord | <Emmanuel M. Smith 🔸> [Edit](https://discord.com/channels/371759389889003530/371759389889003532/1523673908639961130): nim-lang.org I do make heavy use of macros though, maybe that's why |
| 12:57:14 | FromDiscord | <Emmanuel M. Smith 🔸> [Edit](https://discord.com/channels/371759389889003530/371759389889003532/1523673908639961130): NimLang.nimlang I do make heavy use of macros though, maybe that's why |
| 13:01:02 | FromDiscord | <Emmanuel M. Smith 🔸> The other issue I've had is\: when I enabled format on save it would sometime revert my code back 1 or 2 saves. Luckily I had autosaves, that was a nightmare to deal with, so I disabled it. I love Nim, but the tooling around it could use a lot more TLC |
| 13:14:27 | FromDiscord | <luky.ai> sent a long message, see https://pasty.ee/hQOlBQwj |
| 13:20:07 | FromDiscord | <lainlaylie> these things always make me question my reading comprehension. am i missing where it mentions nim? |
| 13:24:53 | FromDiscord | <nnsee> In reply to @lainlaylie "these things always make": typical job spam/scam, banned |
| 13:26:16 | * | Skippy8 joined #nim |
| 13:45:35 | * | Skippy8 quit (Ping timeout: 265 seconds) |
| 14:17:49 | * | th3r00t quit (Ping timeout: 245 seconds) |
| 14:32:41 | FromDiscord | <silentlydre> Bypass for rewasd |
| 14:38:23 | * | th3r00t joined #nim |
| 15:37:59 | * | vival quit (Read error: Connection reset by peer) |
| 15:40:35 | * | vival joined #nim |
| 15:43:39 | * | th3r00t quit (Ping timeout: 245 seconds) |
| 16:04:41 | * | beholders_eye quit (Ping timeout: 262 seconds) |