00:00:04 | FromDiscord | <Elegantbeef> `symLinkExists` |
00:00:19 | FromDiscord | <huantian> I haven't deved for either, but rn fabric seems better performing and forge seems better content-wise |
00:00:21 | FromDiscord | <ripluke> In reply to @Elegantbeef "`symLinkExists`": Ok |
00:00:46 | FromDiscord | <Elegantbeef> Yea huan fabric is better designed and better performance but forge is just the defacto as such it's where all the mods are |
01:16:13 | * | jmdaemon quit (Quit: ZNC 1.8.2 - https://znc.in) |
01:29:56 | FromDiscord | <🌈 comet 🌈> hooray https://media.discordapp.net/attachments/371759389889003532/987529565809279046/unknown.png |
01:30:17 | FromDiscord | <🌈 comet 🌈> i compiled my first hello world script in nim |
01:31:19 | FromDiscord | <demotomohiro> Congrats! |
01:33:54 | FromDiscord | <🌈 comet 🌈> yay |
01:35:53 | * | jmdaemon joined #nim |
01:45:41 | * | arkurious quit (Quit: Leaving) |
01:47:14 | * | wallabra_ joined #nim |
01:48:15 | * | wallabra quit (Ping timeout: 256 seconds) |
01:48:51 | * | wallabra_ is now known as wallabra |
02:37:30 | * | noeontheend quit (Ping timeout: 240 seconds) |
02:43:54 | * | kayabaNerve joined #nim |
02:46:09 | FromDiscord | <!Patitotective> sent a code paste, see https://play.nim-lang.org/#ix=40oo |
02:46:19 | FromDiscord | <!Patitotective> (edit) "https://play.nim-lang.org/#ix=40oo" => "https://paste.rs/4G8" |
02:46:37 | FromDiscord | <!Patitotective> (edit) "https://play.nim-lang.org/#ix=40oq" => "https://play.nim-lang.org/#ix=40op" |
02:46:57 | FromDiscord | <Elegantbeef> Probably |
02:47:12 | FromDiscord | <!Patitotective> (i ask for the `sizeof` part) |
02:51:47 | FromDiscord | <xflywind> use `sizeof(cint)`? |
02:52:05 | FromDiscord | <Elegantbeef> better off doing `sizeof(n)` 😄 |
03:03:14 | FromDiscord | <🌈 comet 🌈> i was told to press f6 and it would run the program in visual studio, not working https://media.discordapp.net/attachments/371759389889003532/987553044256411658/unknown.png |
03:03:25 | FromDiscord | <🌈 comet 🌈> yes i have the nim extension installed |
03:03:59 | FromDiscord | <spoon> do you have nim installed and on your path? |
03:04:29 | FromDiscord | <🌈 comet 🌈> does it have to be in the same path as my project? |
03:04:33 | FromDiscord | <🌈 comet 🌈> if not, yes |
03:04:38 | FromDiscord | <🌈 comet 🌈> i have nim installed |
03:04:53 | FromDiscord | <spoon> how did you install it? |
03:05:55 | FromDiscord | <Elegantbeef> The issue is more windows and nim being in your path |
03:06:23 | FromDiscord | <🌈 comet 🌈> downloaded it from website>opened finish.exe>typed y for everything>opened nim in command prompt |
03:06:27 | FromDiscord | <🌈 comet 🌈> it worked before |
03:06:49 | FromDiscord | <🌈 comet 🌈> but doesn't work in this terminal built into vsc |
03:06:59 | FromDiscord | <spoon> if you open cmd or powershell and type `nim -v` what happens? |
03:07:23 | FromDiscord | <🌈 comet 🌈> In reply to @spoon "if you open cmd": https://media.discordapp.net/attachments/371759389889003532/987554088650690621/unknown.png |
03:07:51 | FromDiscord | <spoon> weird. |
03:07:59 | FromDiscord | <🌈 comet 🌈> In reply to @spoon "weird.": yeah |
03:08:22 | FromDiscord | <spoon> looks like vsc is using powershell, but i dont see how that would change anything |
03:08:40 | FromDiscord | <🌈 comet 🌈> In reply to @spoon "looks like vsc is": i'll try it in powershell |
03:08:54 | FromDiscord | <Elegantbeef> Restart vscode if that doesnt work restart your PC |
03:08:54 | FromDiscord | <Elegantbeef> Then blame winblows |
03:09:30 | FromDiscord | <🌈 comet 🌈> In reply to @spoon "looks like vsc is": yeah something with vsc https://media.discordapp.net/attachments/371759389889003532/987554623411867719/unknown.png |
03:09:35 | FromDiscord | <spoon> if you installed it while vsc was open that might be an issue |
03:10:20 | FromDiscord | <spoon> just restart it ig, other than that... |
03:10:20 | FromDiscord | <🌈 comet 🌈> i installed nim before i was even aware that vs and vscode were different things |
03:10:39 | FromDiscord | <!Patitotective> In reply to @Elegantbeef "Then blame winblows": always |
03:11:03 | FromDiscord | <🌈 comet 🌈> In reply to @Elegantbeef "Then blame winblows": yeah windows sucks but i can't be bothered installing linux |
03:11:09 | FromDiscord | <spoon> dont know, i installed mine through scoop and have no issues |
03:11:22 | FromDiscord | <spoon> In reply to @🌈 comet 🌈 "yeah windows sucks but": you can use wsl (i guess) |
03:11:37 | FromDiscord | <🌈 comet 🌈> i might try restarting my pc |
03:12:05 | FromDiscord | <spoon> windows moment. |
03:13:35 | FromDiscord | <🌈 comet 🌈> nope |
03:13:54 | FromDiscord | <🌈 comet 🌈> restarting vsc magically fixed it https://media.discordapp.net/attachments/371759389889003532/987555730833961010/unknown.png |
03:14:12 | FromDiscord | <🌈 comet 🌈> https://tenor.com/view/judging-stare-bored-dont-you-dare-annoyed-gif-22904796 |
03:15:06 | FromDiscord | <🌈 comet 🌈> screw me |
03:15:23 | FromDiscord | <spoon> only reason i could think of that happening is using an old version of path in powershell |
03:15:48 | FromDiscord | <spoon> when in doubt turn off and back on again |
03:18:17 | FromDiscord | <that_dude> Yeah, I had incredible difficulty updating the environment variables in the vscode powershell. Iirc not even restarting the ide worked. |
03:18:28 | FromDiscord | <that_dude> (edit) removed "Iirc not even restarting the ide worked." |
03:18:47 | FromDiscord | <that_dude> I'm assuming it's because it doesn't truly restart the powershell when you close it |
03:19:15 | FromDiscord | <that_dude> Not even the chocolaty refreshenv command worked for me |
03:19:24 | FromDiscord | <!Patitotective> sent a code paste, see https://play.nim-lang.org/#ix=40ow |
03:19:45 | FromDiscord | <Elegantbeef> `cast[ptr int](data)[]` |
03:19:51 | FromDiscord | <Elegantbeef> Ostensibly |
03:20:29 | FromDiscord | <Elegantbeef> Arguably `copyMem(myInt.addr, payload.data.addr, sizeof(int))` |
03:20:40 | FromDiscord | <!Patitotective> In reply to @Elegantbeef "`cast[ptr int](data)[]`": yey it worked |
03:20:44 | FromDiscord | <!Patitotective> (edit) "yey" => "yay" |
03:25:08 | FromDiscord | <🌈 comet 🌈> not that i'm anywhere skilled to use one, but are there any 3d libraries for nim like opengl or vulkan or something?↵out of curiosity |
03:25:22 | FromDiscord | <Elegantbeef> You can use them directly |
03:25:33 | FromDiscord | <🌈 comet 🌈> huh ok |
03:25:50 | FromDiscord | <Elegantbeef> There are bindings for the C api |
03:27:24 | FromDiscord | <that_dude> In reply to @🌈 comet 🌈 "not that i'm anywhere": would https://github.com/nimgl/nimgl be of any use? |
03:27:34 | FromDiscord | <Elegantbeef> https://github.com/nimgl/nimgl has a bunch of game related bindings |
03:27:34 | FromDiscord | <Elegantbeef> They're not high level so you pretty much have to do the same you'd do inside C or similar but in opengl's case you can make high level bindings relatively quickly |
03:27:39 | FromDiscord | <that_dude> lol |
03:27:40 | FromDiscord | <Elegantbeef> I personally use opengl for my framework and it works well |
03:27:52 | FromDiscord | <Elegantbeef> Matrix moment |
03:27:56 | FromDiscord | <that_dude> F |
03:28:15 | FromDiscord | <that_dude> In my defense, It was 2 min with no response |
03:28:30 | FromDiscord | <Elegantbeef> Matrix bridge dieded |
03:29:11 | FromDiscord | <🌈 comet 🌈> In reply to @Elegantbeef "https://github.com/nimgl/nimgl has a bunch": thanks i'll keep that for later when i figure out how to actually code lol |
03:35:20 | * | TakinOver joined #nim |
03:36:29 | * | kayabaNerve quit (Ping timeout: 256 seconds) |
03:49:14 | * | vicfred quit (Ping timeout: 255 seconds) |
05:38:11 | NimEventer | New Nimble package! anano - Another nanoID implementation for nim, see https://github.com/ire4ever1190/anano |
06:12:57 | FromDiscord | <enthus1ast> try this what @Rika said, also annotating with {.closure.} should also work↵(@d4rckh) |
06:14:41 | FromDiscord | <enthus1ast> you can read this in chunks since csv is line seperated a simple readLine in a loop would do just fine↵(@lantos) |
06:15:44 | FromDiscord | <enthus1ast> the strategy would depend of course what you actually wanna do with the data |
06:16:20 | FromDiscord | <enthus1ast> if you want to run complex queries on it, then sql might be an option, if you wanna do one thing per line, readLine would be my way to go |
06:25:10 | * | kenran joined #nim |
06:29:25 | * | derpydoo joined #nim |
06:42:00 | * | kenran quit (Quit: WeeChat info:version) |
07:01:59 | FromDiscord | <uncle jim> how me draw imgaej in sdl2? |
07:03:05 | FromDiscord | <enthus1ast> imgaej ? |
07:03:07 | FromDiscord | <Elegantbeef> https://www.caveofprogramming.com/guest-posts/drawing-an-image-sdl.html |
07:03:07 | FromDiscord | <enthus1ast> images? |
07:03:29 | FromDiscord | <uncle jim> In reply to @enthus1ast "images?": ye |
07:03:59 | FromDiscord | <enthus1ast> which wrapper do you use? |
07:04:21 | FromDiscord | <uncle jim> In reply to @enthus1ast "which wrapper do you": https://github.com/nim-lang/sdl2 |
07:10:00 | FromDiscord | <Elegantbeef> Like i've said before you just follow the general SDL2 tutorials |
07:10:01 | FromDiscord | <Elegantbeef> It's the same regardless what language you're using just different name procedures/types |
07:10:01 | FromDiscord | <enthus1ast> Load the image\:↵https://github.com/nim-lang/sdl2/blob/7308de614a750d269bbbc0bac296248bc3a19081/src/sdl2/image.nim#L49 |
07:10:08 | FromDiscord | <enthus1ast> copy to render target\:↵↵https://github.com/nim-lang/sdl2/blob/7308de614a750d269bbbc0bac296248bc3a19081/src/sdl2.nim#L2123 |
07:10:19 | * | kayabaNerve joined #nim |
07:10:46 | FromDiscord | <enthus1ast> Present to the screen\:↵https://github.com/nim-lang/sdl2/blob/7308de614a750d269bbbc0bac296248bc3a19081/src/sdl2.nim#L2201 |
07:12:15 | FromDiscord | <enthus1ast> it seems that its a really thin wrapper over sdl2 |
07:13:57 | FromDiscord | <uncle jim> In reply to @enthus1ast "it seems that its": so do you recommend using sdl2_nim over this? |
07:14:09 | FromDiscord | <Elegantbeef> They're identical |
07:14:33 | FromDiscord | <Elegantbeef> They're thin wrappers over sdl2, if you want a more ergnomic wrapper start writing it |
07:15:10 | FromDiscord | <enthus1ast> no↵(@uncle jim) |
07:17:29 | FromDiscord | <uncle jim> bruh i don't understand this, when `enthus1ast` posts, `Elegantbeef` changes to `enthus1ast`. And when `Elegantbeef` posts, `enthus1ast` changes to `Eleganbeef`. What's going on? |
07:17:42 | FromDiscord | <Elegantbeef> We're using matrix |
07:17:56 | FromDiscord | <enthus1ast> no we're bots |
07:18:06 | FromDiscord | <Elegantbeef> Fucking NPCs i tell you |
07:18:09 | FromDiscord | <enthus1ast> yeah |
07:18:35 | FromDiscord | <uncle jim> bruh |
07:18:44 | FromDiscord | <enthus1ast> i do not have sdl2\_nim in my database, so i cannot really comment on it |
07:18:57 | FromDiscord | <Elegantbeef> i use sdl2\_nim for my framework |
07:19:01 | FromDiscord | <Elegantbeef> They're not much different |
07:19:19 | * | xaltsc quit (Remote host closed the connection) |
07:27:10 | * | kayabaNerve quit (Ping timeout: 240 seconds) |
07:32:55 | FromDiscord | <Yardanico> In reply to @uncle jim "bruh i don't understand": Use a Discord client that properly supports webhooks |
07:33:00 | FromDiscord | <Yardanico> Not something like ripcord |
07:33:19 | FromDiscord | <Yardanico> (it doesn't properly support the discord webhook behaviour by design) |
07:33:40 | FromDiscord | <Yardanico> Because the author thinks it'd be insecure to do otherwise |
07:36:26 | FromDiscord | <FireLite> Anybody have an example on how to do signature scanning with nim internally? |
07:37:05 | FromDiscord | <enthus1ast> what is signature scanning? |
07:37:45 | FromDiscord | <Elegantbeef> Think they're talking about digital signatures on PDFs and the like |
07:38:06 | FromDiscord | <uncle jim> In reply to @enthus1ast "what is signature scanning?": used while making passports |
07:38:29 | FromDiscord | <FireLite> In reply to @enthus1ast "what is signature scanning?": Scanning for a certain function in a running process using bytes |
07:38:50 | FromDiscord | <enthus1ast> on windows? |
07:39:33 | FromDiscord | <FireLite> Yes |
07:40:26 | FromDiscord | <enthus1ast> open the process, walk through it with ReadProcessMemory |
07:40:36 | FromDiscord | <enthus1ast> maybe identify the section your stuff is in |
07:41:35 | FromDiscord | <enthus1ast> or dll inject and call GetProcAddress |
07:41:45 | FromDiscord | <enthus1ast> think depends on what you wanna do |
07:43:13 | FromDiscord | <enthus1ast> this is an example i've used to find syscall numbers |
07:43:23 | FromDiscord | <enthus1ast> sent a code paste, see https://play.nim-lang.org/#ix=40p6 |
07:43:44 | FromDiscord | <enthus1ast> matches() is from `hmatching` |
07:44:20 | FromDiscord | <Elegantbeef> `let six = antCreateThread.toOpenArray(idx, idx + 5).toSeq` 😛 |
07:44:26 | FromDiscord | <enthus1ast> yes \:) |
07:44:28 | FromDiscord | <enthus1ast> i know |
07:44:39 | FromDiscord | <enthus1ast> this is some wonky stuff there |
07:46:05 | FromDiscord | <FireLite> sent a code paste, see https://paste.rs/LOC |
07:48:09 | FromDiscord | <enthus1ast> also when you know the relative address of your function you can just get the base address and jump directly to the function |
07:52:26 | FromDiscord | <enthus1ast> what i want to say there are maybe better (faster) options to find a function under certain cirumstances |
07:55:19 | FromDiscord | <enthus1ast> [Elegantbeef](https://matrix.to/#/@elegantbeef:matrix.org)\: seems that hmatching cannot work on openarray |
07:55:38 | NimEventer | New thread by GordonBGood: Can Orc be improved?, see https://forum.nim-lang.org/t/9243 |
07:55:40 | FromDiscord | <enthus1ast> no something else |
07:55:40 | FromDiscord | <Elegantbeef> What? |
08:01:59 | FromDiscord | <ripluke> Cool theme switcher i made with nim and rofi, which creates symlinks to color files https://media.discordapp.net/attachments/371759389889003532/987628227814109256/unknown.png |
08:02:37 | FromDiscord | <Elegantbeef> What's your wrapper of rofi looking like? 😄 |
08:03:12 | FromDiscord | <ripluke> the rofi wrapper is in shell script, but the theme changing backend is in nim |
08:03:41 | FromDiscord | <ripluke> lol i dont think itd be to fun writing rofi scripts in nim lol |
08:03:51 | FromDiscord | <ripluke> (edit) "to" => "too" |
08:04:09 | FromDiscord | <Elegantbeef> You'd be wrong! |
08:04:10 | FromDiscord | <Elegantbeef> https://github.com/beef331/nim_rofi/blob/master/src/nim_rofi.nim |
08:04:13 | FromDiscord | <Elegantbeef> Mad that eons ago |
08:04:34 | FromDiscord | <ripluke> Ooooo ill check it out |
08:04:51 | FromDiscord | <Elegantbeef> It's not that intelligent to be fair |
08:04:55 | FromDiscord | <ripluke> maybe port my existing shell script |
08:05:14 | FromDiscord | <ripluke> In reply to @Elegantbeef "It's not that intelligent": im not doing anything too compilcated |
08:06:54 | FromDiscord | <Elegantbeef> IIRC it's just a bunch of chained together procs that take `seq[string]` |
08:07:31 | FromDiscord | <ripluke> oh |
08:08:50 | FromDiscord | <ripluke> is nimble written in nim lol |
08:09:12 | FromDiscord | <Elegantbeef> Yes |
08:12:47 | FromDiscord | <ripluke> are you a bot or a human lol |
08:12:58 | FromDiscord | <Elegantbeef> Matrix user |
08:13:01 | FromDiscord | <Elegantbeef> So yes human |
08:13:08 | FromDiscord | <ripluke> ahh |
08:13:10 | FromDiscord | <ripluke> ok |
08:18:06 | FromDiscord | <ripluke> Do most people in the server run Linux? |
08:18:41 | FromDiscord | <Elegantbeef> Yes |
08:18:46 | FromDiscord | <ripluke> Also does nim have an ncurse library |
08:19:08 | FromDiscord | <Elegantbeef> There is ncurses wrapping but also the nim native illwill |
08:19:34 | FromDiscord | <ripluke> In reply to @Elegantbeef "There is ncurses wrapping": Cool |
08:22:33 | FromDiscord | <ripluke> I’ll will looks promising |
08:22:42 | FromDiscord | <ripluke> (edit) "I’ll will" => "Illwill" |
08:23:10 | FromDiscord | <enthus1ast> one thing with illwill is the lack of unicode input support |
08:23:31 | FromDiscord | <enthus1ast> so eg typing an 'ö' will crash the whole cmd.exe \:) |
08:24:20 | FromDiscord | <enthus1ast> was working on a patch though, but not done yet just experimental |
08:28:10 | FromDiscord | <ripluke> In reply to @enthus1ast "so eg typing an": I making a tui frontend for a package manager (pacman) so I’m pretty sure people won’t be typing Unicodes lol |
08:28:16 | FromDiscord | <Elegantbeef> Well there's your problem you shouldnt have a cmd.exe |
08:36:06 | FromDiscord | <ripluke> Yup I have bash |
08:36:13 | FromDiscord | <ripluke> Hope that doesn’t crash |
08:49:29 | NimEventer | New question by nexryai: How can I use global variables in nim?, see https://stackoverflow.com/questions/72667950/how-can-i-use-global-variables-in-nim |
08:49:55 | FromDiscord | <Yardanico> ? |
08:52:55 | FromDiscord | <ezquerra> Have you guys used nimporter on Windows? I can successfully run the example shown on the readme on macos, but on Windows python dies as soon as I import the example "nim_math" module for some reason. nim_math.nim works fine when I compile it directly, so it seems the problem is on the nimporter side... |
09:01:00 | * | kayabaNerve joined #nim |
09:06:08 | * | kayabaNerve quit (Remote host closed the connection) |
09:06:45 | * | kayabaNerve joined #nim |
09:07:40 | * | kayabaNerve quit (Remote host closed the connection) |
09:08:47 | * | kayabaNerve joined #nim |
09:08:49 | FromDiscord | <IzanamiのMegumi> you guys might get asked this a lot but |
09:09:14 | FromDiscord | <IzanamiのMegumi> what IDE's would you recommend for nim? |
09:09:21 | FromDiscord | <IzanamiのMegumi> besides vs code |
09:14:33 | FromDiscord | <Rika> Neovim xd |
09:15:16 | FromDiscord | <IzanamiのMegumi> In reply to @Rika "Neovim xd": can it run other stuff like python and lua? |
09:15:26 | FromDiscord | <Rika> Why not? It’s an editor |
09:15:37 | FromDiscord | <Rika> Just find the right plugins and there |
09:18:54 | FromDiscord | <IzanamiのMegumi> I see |
09:19:04 | FromDiscord | <IzanamiのMegumi> I'll take a look |
09:20:49 | FromDiscord | <IzanamiのMegumi> looks kinda barebones |
09:21:11 | FromDiscord | <IzanamiのMegumi> it was made by a brazillian huh, that's interesting |
09:21:14 | FromDiscord | <IzanamiのMegumi> written in lua |
09:25:50 | FromDiscord | <Rika> I mean most editors are barebones |
09:25:57 | FromDiscord | <Rika> You could say vscode is barebones |
09:26:07 | FromDiscord | <j-james> with nimlsp most editors work well |
09:26:23 | FromDiscord | <j-james> i was pleasantly surprised with both kate and sublime |
09:27:06 | * | kayabaNerve quit (Remote host closed the connection) |
09:27:18 | FromDiscord | <j-james> In reply to @Rika "You could say vscode": well |
09:27:24 | FromDiscord | <j-james> i mean you can say anything |
09:27:27 | * | kayabaNerve joined #nim |
09:27:39 | FromDiscord | <Rika> What does barebones mean to you |
09:28:02 | FromDiscord | <ripluke> In reply to @IzanamiのMegumi "what IDE's would you": Lite-xl, I have a setup for it |
09:28:12 | FromDiscord | <ripluke> (edit) "In reply to @IzanamiのMegumi "what IDE's would you": Lite-xl, I have a setup for it ... " added "(as a Nim ide)" |
09:28:40 | FromDiscord | <Rika> What are you looking for in an editor in the first place |
09:29:01 | FromDiscord | <Rika> It’s slow shooting random editors at you waiting to see what sticks |
09:29:34 | FromDiscord | <ripluke> In reply to @Rika "What are you looking": Probably something like intellisense, syntax highlighting, some sort of color scheme customization |
09:29:52 | FromDiscord | <ripluke> That's what most people want |
09:29:55 | FromDiscord | <Rika> That’s pretty much every editor out there |
09:30:13 | FromDiscord | <ripluke> In reply to @Rika "That’s ***pretty much every": Yes because that's what most people want lol |
09:30:36 | FromDiscord | <Rika> Okay yeah I want a programming language where I can print stuff and read stuff from the standard input |
09:30:58 | FromDiscord | <Rika> It’s not helpful in narrowing down what you want because essentially everything does that |
09:31:09 | FromDiscord | <ripluke> In reply to @Rika "It’s not helpful in": Yea |
09:31:10 | FromDiscord | <j-james> In reply to @Rika "What does barebones mean": fair enough i suppose, compared to intelli and co |
09:31:41 | FromDiscord | <Rika> Neovim has some sort of intelli sense but plugins are pretty much required for such |
09:31:45 | FromDiscord | <ripluke> In reply to @ripluke "Yea": But like the only difference in most text editors is ui |
09:31:53 | * | kayabaNerve quit (Ping timeout: 244 seconds) |
09:31:56 | FromDiscord | <Rika> In reply to @ripluke "But like the only": And that’s usually very important to the person |
09:32:04 | FromDiscord | <ripluke> In reply to @Rika "Neovim has some sort": https://github.com/williamboman/nvim-lsp-installer↵williamboman/nvim-lsp-installer: Neovim plugin that allow ... - GitHub |
09:32:15 | FromDiscord | <Rika> I wouldn’t use emacs or vscode or whatever because I don’t like the UI or UX |
09:32:24 | FromDiscord | <ripluke> In reply to @ripluke "https://github.com/williamboman/nvim-lsp-installer ": Easy autocompletion |
09:32:46 | FromDiscord | <Rika> In reply to @ripluke "https://github.com/williamboman/nvim-lsp-installer ": And what did I just say, plugin, m8 that is a plugin |
09:32:47 | FromDiscord | <ripluke> In reply to @Rika "I wouldn’t use emacs": Yea I don't mind emacs but vsc is kinda unintuitive |
09:32:55 | FromDiscord | <ripluke> In reply to @Rika "And what did I": Yea |
09:32:59 | FromDiscord | <Rika> My goodness |
09:33:01 | FromDiscord | <Rika> You do whatever |
09:33:32 | FromDiscord | <ripluke> In reply to @ripluke "Yea": I'm just recommending a plugin |
09:34:13 | FromDiscord | <j-james> what's `when platform` syntax again? |
09:34:19 | FromDiscord | <j-james> (edit) "what's ... `when" added "the" |
09:36:31 | FromDiscord | <j-james> ah `when defined(platform)` there it is |
09:50:26 | FromDiscord | <Phil> sent a code paste, see https://play.nim-lang.org/#ix=40pf |
09:53:50 | FromDiscord | <Forest> Hey @planetis, revisiting Naylib now and getting this error when doing nake buildDesktop |
09:54:02 | FromDiscord | <Forest> sent a code paste, see https://play.nim-lang.org/#ix=40pg |
09:54:57 | FromDiscord | <planetis> Yeah it's past 30 commits, I need to finally update it |
09:58:50 | FromDiscord | <Forest> Rip |
09:59:07 | FromDiscord | <Forest> Would cloning the entire repo be enough for it? |
10:04:49 | FromDiscord | <ripluke> sent a code paste, see https://paste.rs/v1Q |
10:05:06 | FromDiscord | <ripluke> (edit) "https://play.nim-lang.org/#ix=40pk" => "https://play.nim-lang.org/#ix=40pj" |
10:07:38 | * | pro joined #nim |
10:11:55 | FromDiscord | <Forest> Naylib uses Nake to build Raylib and wrap the library |
10:12:04 | FromDiscord | <planetis> not again nimble |
10:12:15 | FromDiscord | <Forest> What's the issue? |
10:12:15 | FromDiscord | <planetis> been there tried it and it didn't work |
10:12:37 | FromDiscord | <planetis> unless you are ok with cloning and building raylib for every project |
10:13:19 | FromDiscord | <Forest> Oof rip |
10:13:19 | FromDiscord | <planetis> which would be ok when writing a game but not with individual examples |
10:14:49 | FromDiscord | <planetis> I need tool that would build static raylib |
10:15:10 | FromDiscord | <Forest> My brain is not working lmao i don't understand? |
10:15:28 | FromDiscord | <planetis> you asked whats the problem, that's it |
10:16:46 | FromDiscord | <planetis> I could use nimble tasks but nake is more flexible in the procs that are available to me |
10:17:00 | FromDiscord | <planetis> hybrid package won't work |
10:17:34 | FromDiscord | <ripluke> Oh |
10:21:41 | FromDiscord | <Forest> Aah okay |
10:21:48 | FromDiscord | <Forest> Yeah that's understandable |
10:22:40 | FromDiscord | <planetis> On the other hand raylibnow and glfw nim compile C source files along with the nim code |
10:23:06 | FromDiscord | <planetis> I don't know what's the benefit with that I found it much slower |
10:25:00 | FromDiscord | <ezquerra> Are there any drawbacks to using the --stackTrace:on --lineTrace:on flags? For example, do they make the compiled executable slower in any way, or perhaps significantly larger? |
10:30:15 | FromDiscord | <Forest> In reply to @planetis "I don't know what's": The benefit would probably be that it doesn't need an external tool? |
10:41:48 | FromDiscord | <planetis> In reply to @ezquerra "Are there any drawbacks": It's much slower |
10:42:16 | FromDiscord | <NullCode> :( |
10:42:19 | FromDiscord | <NullCode> sent a code paste, see https://play.nim-lang.org/#ix=40ps |
10:42:50 | FromDiscord | <NullCode> (edit) "https://play.nim-lang.org/#ix=40pt" => "https://paste.rs/635" |
10:42:58 | FromDiscord | <NullCode> where should i add the zlib.h |
10:43:50 | FromDiscord | <NullCode> https://github.com/nim-lang/zip |
10:45:13 | FromDiscord | <NullCode> https://media.discordapp.net/attachments/371759389889003532/987669307880243230/unknown.png |
10:45:14 | FromDiscord | <NullCode> hmm |
10:45:25 | FromDiscord | <NullCode> everyone's recommending zippy |
10:45:33 | FromDiscord | <NullCode> but i can't seem to create a zip file on nim |
10:47:24 | FromDiscord | <NullCode> (edit) "on nim" => "with it" |
10:57:10 | FromDiscord | <Phil> Can't really comment, I use it to gzip up my webservers output and that works fantastically with it |
10:59:12 | FromDiscord | <Rika> Are there no examples to make a zip file if possible |
11:01:10 | * | pro quit (Quit: pro) |
11:02:50 | * | pro joined #nim |
11:10:46 | FromDiscord | <ezquerra> Thank you @planetis. Do all of those flags make the code slower? Is there one of them that has a small(er) impact? |
11:11:54 | FromDiscord | <planetis> I guess linetrace, but unless you are debugging the application you would compile with -d:release |
11:12:03 | FromDiscord | <planetis> which only enables assertions |
11:12:10 | FromDiscord | <Rika> Line traces are still helpful on release |
11:17:40 | FromDiscord | <NullCode> In reply to @Rika "Are there no examples": none |
11:17:45 | FromDiscord | <NullCode> btw hello rika |
11:22:46 | FromDiscord | <Rika> Uh okay hello |
11:23:38 | FromDiscord | <federico3> Any OSX user here? Is this https://stackoverflow.com/questions/56639315/updating-openssl-to-1-1-1-on-macos/56639316 true ? |
11:25:37 | FromDiscord | <lantos> In reply to @ripluke "Cool theme switcher i": Post on nim forums 🙂 |
11:27:27 | FromDiscord | <lantos> In reply to @federico3 "Any OSX user here?": Im on osx but not had any issues yet with that |
11:39:04 | * | wallabra quit (Ping timeout: 248 seconds) |
11:45:01 | FromDiscord | <federico3> Is it true that the OS does not provide up-to-date OpenSSL versions and people have to use brew?↵(@lantos) |
11:56:14 | FromDiscord | <Knedlik> Hey guys, is it possible to install Nim on Linux purely using Bash? |
12:04:32 | FromDiscord | <Rika> What do you mean “purely using bash”? |
12:05:00 | * | tafa joined #nim |
12:09:08 | FromDiscord | <Knedlik> I mean without the use of a gui and/or a gui browser |
12:10:32 | FromDiscord | <Phil> I mean |
12:10:36 | FromDiscord | <Phil> wget likely is a way? |
12:10:39 | FromDiscord | <Rika> Choosenim? |
12:10:59 | FromDiscord | <Rika> I don’t get it, most installations of Nim are command based |
12:11:44 | FromDiscord | <Phil> Basically, you can wget the tarball from the webpage and then just follow the installation instructions which are commandline based anyway |
12:11:51 | FromDiscord | <Phil> I assume this is for a script that installs nim? |
12:12:26 | FromDiscord | <Rika> There is yes |
12:12:31 | FromDiscord | <Rika> Oh I misread |
12:13:35 | FromDiscord | <Phil> In reply to @Knedlik "I mean without the": Heyho, mind sharing your usecase? |
12:18:01 | FromDiscord | <planetis> @Forest I have ported it to latest raylib |
12:21:30 | FromDiscord | <Forest> Ah nice! Will look once I'm back on PC! |
12:25:08 | FromDiscord | <Knedlik> In reply to @Isofruit "Heyho, mind sharing your": Online IDE with sudo access but no GUI of the machine nor a Nim template |
12:25:55 | FromDiscord | <Rika> What IDE |
12:29:22 | FromDiscord | <Knedlik> CodeAnywhere I think was the name |
12:31:32 | * | rockcavera quit (Remote host closed the connection) |
12:39:50 | FromDiscord | <Phil> In reply to @Knedlik "Online IDE with sudo": Alrighty, yeah you should be able to just wget the URL on which you download the tarball and then follow the manual installation instructions on the webpage, throw that into a script and you're golden |
12:53:32 | * | noeontheend joined #nim |
13:00:06 | * | jmdaemon quit (Ping timeout: 244 seconds) |
13:00:30 | FromDiscord | <dom96> In reply to @federico3 "Is it true that": from what I've used: yes. Although I've not been upgrading my macOS so maybe that's why. |
13:22:38 | NimEventer | New thread by Sekao: Nimwave - build TUIs for the terminal, web, and desktop, see https://forum.nim-lang.org/t/9244 |
13:32:51 | FromDiscord | <lantos> In reply to @federico3 "Is it true that": Its more likely that there isnt a sym link osx will have a ssl lib but it would be easier to brew install openssl |
13:34:17 | FromDiscord | <lantos> (edit) "In reply to @federico3 "Is it true that": Its more likely that there isnt a sym link osx ... willlib." added "for your dev but" | "lib but" => "lib." |
13:34:53 | * | arkurious joined #nim |
14:40:50 | * | pro quit (Quit: pro) |
15:29:22 | FromDiscord | <sealmove> what's the best way to convert `cstring` to `string`? `$`? |
15:32:19 | FromDiscord | <!Patitotective> In reply to @รєคɭ๓๏שє "what's the best way": yes |
15:44:39 | * | noeontheend quit (Ping timeout: 276 seconds) |
16:02:01 | FromDiscord | <sealmove> and what about the opposite? |
16:03:52 | FromDiscord | <planetis> catering() |
16:04:01 | FromDiscord | <planetis> (edit) "catering()" => "cstring()" |
16:05:16 | FromDiscord | <IzanamiのMegumi> In reply to @Rika "You could say vscode": I dont think you could |
16:06:42 | FromDiscord | <Rika> i would |
16:07:02 | FromDiscord | <Rika> why wouldnt i? what support is there without installing any plugins? barely any compared to "actual" IDEs |
16:07:25 | * | kayabaNerve joined #nim |
16:40:24 | * | kayabaNerve quit (Ping timeout: 248 seconds) |
16:44:38 | FromDiscord | <exelotl> Built in terminal, git UI, debugger, per-project settings and task runner, workspaces with hot exit, multi-cursors - and all those features are implemented better than in any other editor I've tried |
16:44:59 | FromDiscord | <exelotl> So I definitely wouldn't call vscode bare-bones 😅 |
16:45:54 | FromDiscord | <exelotl> My next favorite editor is textadept which has almost none of those features unless you script them yourself |
16:49:23 | * | kayabaNerve joined #nim |
17:09:38 | FromDiscord | <Rika> a few of those are in nvim xd |
17:09:53 | FromDiscord | <Rika> terminal, task runner, multi cursor (teeeechnically) |
17:10:07 | FromDiscord | <Rika> i'm not even well versed enough to know if the others are as well |
17:13:08 | FromDiscord | <IzanamiのMegumi> sublime text isnt working for some reason |
17:13:18 | FromDiscord | <IzanamiのMegumi> an issue with snap |
17:15:18 | FromDiscord | <!Patitotective> In reply to @IzanamiのMegumi "an issue with snap": dont use snap |
17:15:52 | FromDiscord | <IzanamiのMegumi> what should I use then |
17:16:01 | FromDiscord | <!Patitotective> what distro |
17:16:04 | FromDiscord | <IzanamiのMegumi> manjaro |
17:16:25 | FromDiscord | <IzanamiのMegumi> I tried downloading via pacman but it didnt work either |
17:18:19 | FromDiscord | <IzanamiのMegumi> insofar the only program I had issues installing |
17:18:40 | FromDiscord | <!Patitotective> In reply to @IzanamiのMegumi "I tried downloading via": this is offtopic actually but you might want to ask in sublime's server https://discord.com/invite/D43Pecu |
17:19:07 | FromDiscord | <IzanamiのMegumi> thanks |
17:27:02 | FromDiscord | <spoon> should be in the aur |
17:30:59 | * | noeontheend joined #nim |
17:32:26 | * | kayabaNerve quit (Ping timeout: 246 seconds) |
17:32:52 | FromDiscord | <IzanamiのMegumi> In reply to @spoon "should be in the": I managed to install it via pacman |
17:33:05 | FromDiscord | <IzanamiのMegumi> Apparently it was an issue with the console I was using |
17:34:29 | FromDiscord | <spoon> odd |
17:34:58 | * | noeontheend quit (Ping timeout: 244 seconds) |
17:35:18 | * | derpydoo quit (Quit: derpydoo) |
17:35:25 | FromDiscord | <IzanamiのMegumi> In reply to @spoon "odd": this desktop I'm using (KDE) has 2 terminals by default |
17:35:41 | FromDiscord | <IzanamiのMegumi> the default konsole and one called yakuake |
17:35:57 | FromDiscord | <IzanamiのMegumi> it seems that not all commands work properly on yakuake |
17:37:19 | FromDiscord | <Luckayla> Just arch things |
17:38:20 | FromDiscord | <!Patitotective> sent a code paste, see https://play.nim-lang.org/#ix=40qu |
17:38:39 | FromDiscord | <Rika> In reply to @IzanamiのMegumi "it seems that not": the fuck? ive never had this issue |
17:38:43 | FromDiscord | <Rika> crazy bug you encountered |
17:39:01 | FromDiscord | <Rika> In reply to @Patitotective "is there a nicer": doesnt that work out of the box already? |
17:39:09 | FromDiscord | <Rika> oh |
17:39:12 | FromDiscord | <Rika> that's called clamp |
17:39:14 | FromDiscord | <Rika> usually |
17:39:29 | FromDiscord | <Rika> i dont think you can get nicer than that |
17:39:37 | FromDiscord | <Rika> (edit) "oh ... " added "i misread" |
17:40:35 | FromDiscord | <!Patitotective> In reply to @Rika "that's called clamp": 👍 |
17:42:03 | FromDiscord | <Rika> well actually you can use the ugly min max mixture thing |
17:42:09 | FromDiscord | <Rika> but i'd just do what you wrote |
18:21:56 | FromDiscord | <demotomohiro> @!Patitotective We already have `clamp`: https://nim-lang.org/docs/math.html#clamp%2CT%2CSlice%5BT%5D |
18:27:03 | FromDiscord | <Rika> didnt check xd nice |
18:57:55 | FromDiscord | <Andreas> Does anybd know if Nim makes use (internal) of tagged-pointers ? I had a use-case and would like to know if its regarded as a "no-no" (portabillity or internal use) or if carefull usage is doable ? |
19:23:08 | FromDiscord | <Forest> sent a code paste, see https://paste.rs/55r |
19:23:38 | FromDiscord | <Forest> when looking in the naylib dir, there's no `include` dir |
19:24:40 | FromDiscord | <Forest> sent a code paste, see https://play.nim-lang.org/#ix=40qO |
19:24:46 | FromDiscord | <Forest> Im using git submodules btw idk if that messes anything up |
19:26:57 | FromDiscord | <planetis> thats the previous commit hash |
19:27:06 | FromDiscord | <planetis> you haven't updated... |
19:36:21 | * | jmdaemon joined #nim |
19:58:13 | * | matt_1337 quit (Read error: Connection reset by peer) |
19:58:20 | FromDiscord | <ripluke> In reply to @Knedlik "Hey guys, is it": Use your package manager |
19:58:45 | * | matt_1337 joined #nim |
20:06:35 | FromDiscord | <ynfle> On ubuntu it's outdated. Use choosenim. It can be installed with only bash |
20:10:49 | * | wallabra joined #nim |
20:17:10 | FromDiscord | <!Patitotective> In reply to @demotomohiro "<@762008715162419261> We already have": lool thanks |
20:17:35 | FromDiscord | <ripluke> In reply to @ynfle "On ubuntu it's outdated.": On ubuntu everything's outdated 💀 |
20:23:53 | FromDiscord | <Elegantbeef> You should use choosenim/gitnim regardless |
20:24:01 | FromDiscord | <Elegantbeef> The package manager is not the way to manage languages |
20:30:57 | FromDiscord | <haxscramper> PMunch: if you are still interested in https://github.com/nim-lang/RFCs/issues/447 you can see https://github.com/haxscramper/nimskull/blob/docgen3/doc/docgen_internal.rst and the implementation in the corresponding PR |
20:37:13 | * | averell joined #nim |
20:40:23 | FromDiscord | <!Patitotective> In reply to @Elegantbeef "You should use choosenim/gitnim": i installed nim manually 💀 |
21:07:39 | * | pro joined #nim |
21:08:25 | FromDiscord | <Elegantbeef> Well you do you i'm not your mom↵(@!Patitotective) |
21:09:43 | * | noeontheend joined #nim |
21:11:18 | FromDiscord | <huantian> beef is patio's mom confirmed |
21:15:05 | FromDiscord | <Prestige> Lol |
21:28:05 | FromDiscord | <Elegantbeef> Shit i hate that it came out this way |
21:29:33 | FromDiscord | <!Patitotective> In reply to @huantian "beef is patio's mom": Hahahah |
21:30:18 | FromDiscord | <!Patitotective> In reply to @Elegantbeef "Well you do you": downvote |
21:31:34 | FromDiscord | <Elegantbeef> Oh noes whatever am i going to do |
21:35:44 | * | MightyJoe quit (Ping timeout: 244 seconds) |
21:35:54 | FromDiscord | <!Patitotective> In reply to @Elegantbeef "Oh noes whatever am": cryaboutit |
22:02:42 | * | pro quit (Quit: pro) |
22:21:09 | * | noeontheend quit (Ping timeout: 276 seconds) |
22:52:33 | * | xet7 quit (Remote host closed the connection) |
23:05:46 | * | kayabaNerve joined #nim |
23:15:37 | * | kayabaNerve quit (Ping timeout: 248 seconds) |
23:19:24 | * | kayabaNerve joined #nim |
23:22:39 | FromDiscord | <that_dude> people need to stop deleting their stack overflow questions. They're prob not the only ones with them |
23:22:42 | FromDiscord | <that_dude> (edit) "people need to stop deleting their stack overflow questions. They're prob not the only ones with them ... " added ":/" |
23:24:09 | * | kayabaNerve quit (Ping timeout: 248 seconds) |
23:26:07 | * | kayabaNerve joined #nim |
23:28:57 | * | kayabaNerve quit (Remote host closed the connection) |
23:42:59 | * | noeontheend joined #nim |
23:59:18 | * | Jjp137 quit (Read error: Connection reset by peer) |