| 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) |
| 17:06:43 | * | beholders_eye joined #nim |
| 18:09:51 | FromDiscord | <nnsee> In reply to @silentlydre "Bypass for rewasd": sorry? |
| 19:19:44 | * | Skippy8 joined #nim |
| 19:24:31 | * | Skippy8 quit (Ping timeout: 267 seconds) |
| 19:43:54 | * | GlitchSyndicate joined #nim |
| 19:43:57 | * | GlitchSyndicate left #nim (#nim) |
| 19:50:44 | * | beholders_eye quit (Ping timeout: 245 seconds) |
| 19:54:16 | FromDiscord | <silentlydre> In reply to @nnsee "sorry?": There's nun? |
| 20:05:52 | * | th3r00t joined #nim |
| 20:11:12 | FromDiscord | <nnsee> In reply to @silentlydre "There's nun?": can you rephrase your question? what are you talking about exactly? |
| 20:16:17 | FromDiscord | <nnsee> In reply to @silentlydre "Bypass for rewasd": it's fairly clear to me that you're not in the right place, but you're not the first one asking about this specific thing: https://discord.com/channels/371759389889003530/753721959308853319/1288960084633845901 |
| 20:16:32 | FromDiscord | <nnsee> i'm curious how you were led here |
| 20:16:52 | FromDiscord | <nnsee> when googling `"nim" "rewasd"`, nothing really comes up |
| 20:37:07 | FromDiscord | <DetermiedNim1> smth with nvidia maybe? |
| 20:37:20 | FromDiscord | <DetermiedNim1> I know nvidia has a product called NIM |
| 20:50:44 | * | rockcavera joined #nim |
| 21:10:57 | * | FromDiscord quit (Remote host closed the connection) |
| 21:11:10 | * | FromDiscord joined #nim |
| 21:41:00 | FromDiscord | <wbvmdbwq> https://media.discordapp.net/attachments/371759389889003532/1523805992284983406/image.jpg?ex=6a4d726b&is=6a4c20eb&hm=3ee3f3b926f108224cf60498a5a3d308831f72d73a71bc9be910feb1fb751a0f& https://media.discordapp.net/attachments/371759389889003532/1523805992591032360/image.jpg?ex=6a4d726b&is=6a4c20eb&hm=b927f57e7e064c017f6a0f16b217931be0672f59c2589ccba8daedf7237f6492& |
| 21:48:42 | * | Observer joined #nim |
| 21:49:37 | * | Observer left #nim (#nim) |
| 22:03:00 | * | amadaluzia quit (Read error: Connection reset by peer) |
| 22:05:30 | * | amadaluzia joined #nim |
| 22:08:49 | * | Jjp137 quit (Quit: Leaving) |
| 22:18:26 | * | Jjp137 joined #nim |
| 22:22:11 | FromDiscord | <11clock> ok so I figured out a workflow with lsp disables |
| 22:22:14 | FromDiscord | <11clock> (edit) "disables" => "disabled" |
| 22:23:04 | FromDiscord | <11clock> VS Code:↵- Enable word completion for all open documents↵- Run a problem checker hooked up to a nim check command when I save a file |
| 22:24:07 | FromDiscord | <11clock> Nim check is a bit weird, though. One error seems to cascade down to everything below. |
| 22:25:01 | FromDiscord | <imanuelmav> [ [𝗖𝗥𝗘𝗔𝗧𝗘-𝗔-𝗧𝗜𝗖𝗞𝗘𝗧 ] ](discord:/#@%64%69%73%63%6F%72%64%2E%67%67/%5A%45%36%68%68%53%6B%50%70%39) |
| 23:00:54 | FromDiscord | <DetermiedNim1> vscode nimlsp seems to work fine for me? |
| 23:01:27 | FromDiscord | <DetermiedNim1> ill have to double-check what i have setup |
| 23:06:12 | FromDiscord | <emiliajssl> Have a question |
| 23:06:32 | FromDiscord | <emiliajssl> Regarding how LaTeX documentation generation works |
| 23:12:13 | FromDiscord | <emiliajssl> sent a long message, see https://pasty.ee/FFUZjHlo |
| 23:12:50 | FromDiscord | <emiliajssl> (edit) "https://pasty.ee/LcQyXBdQ" => "https://pasty.ee/YHyruhdo" |
| 23:13:48 | * | lucerne90 joined #nim |
| 23:41:45 | * | emery quit (Quit: https://quassel-irc.org - Chat comfortably. Anywhere.) |