<< 18-06-2022 >>

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