<< 11-02-2024 >>

00:01:49*gooba quit (Remote host closed the connection)
00:02:58*gooba joined #nim
00:13:32*azimut quit (Ping timeout: 255 seconds)
00:24:18FromDiscord<Robyn [She/Her]> In reply to @user2m "ok great so I": Nope
01:00:02*nazgulsenpai quit (Quit: ZNC 1.8.2 - https://znc.in)
01:01:58FromDiscord<kdot_227> will https://github.com/nim-lang/zip/issues/45 ever be fixed?
01:02:29*nazgulsenpai joined #nim
01:03:46FromDiscord<Elegantbeef> In FOSS be the change you want in the world
01:04:33FromDiscord<Elegantbeef> Though obfuscating strings and zipping sounds like malware
01:05:53FromDiscord<kdot_227> In reply to @Elegantbeef "Though obfuscating strings and": I learn zip in nim
01:06:00FromDiscord<kdot_227> but I see nim still has many issues
01:09:17FromDiscord<Elegantbeef> There is zippy
01:09:38FromDiscord<Elegantbeef> Otherwise using the nim-lang/zip package is pretty much using libzip or w/e it's called
01:09:57FromDiscord<kdot_227> In reply to @Elegantbeef "There is zippy": zippy can't handle streams or anything which is why I picked the nim made version
01:15:33FromDiscord<kdot_227> I got it to compile
01:15:40FromDiscord<kdot_227> but u can't even extract it on windows 😭
01:15:42FromDiscord<kdot_227> https://media.discordapp.net/attachments/371759389889003532/1206045865391947776/image.png?ex=65da94bd&is=65c81fbd&hm=f66304c9a5117c1ef3c18a79b7e1d4f4a2fd0eaae0f43a3391d64abdd6cdea9d&
01:23:38FromDiscord<kdot_227> nothing can unzip it
01:23:38FromDiscord<kdot_227> holy
01:23:39FromDiscord<kdot_227> this1@KDOT MINGW64 /c/users/this1/desktop/software/software/grub↵$ unzip test.zip↵Archive: test.zip↵ skipping: datafile.txt unsupported compression method 65534
01:24:07FromDiscord<kdot_227> (edit) "this1@KDOT MINGW64 /c/users/this1/desktop/software/software/grub↵$ unzip test.zip↵Archive: test.zip↵ skipping: datafile.txt unsupported compression method 65534" => "sent a code paste, see https://play.nim-lang.org/#pasty=zhBqTzQcHZya"
01:24:08FromDiscord<Elegantbeef> Attempting to unzip it will not fix the underlying bug
01:24:37FromDiscord<kdot_227> In reply to @Elegantbeef "Attempting to unzip it": my b I thought it was a windows only bug
01:24:45FromDiscord<kdot_227> ill just use zippy
02:20:56FromDiscord<user2m> sent a code paste, see https://play.nim-lang.org/#pasty=kwRvZHKgoWvc
03:24:46*disso-peach quit (Quit: Leaving)
05:12:12*azimut joined #nim
06:05:14NimEventerNew thread by thindil: Nish, a command line shell, see https://forum.nim-lang.org/t/10975
07:39:09*junaid_ joined #nim
08:18:05*redj quit (Quit: No Ping reply in 180 seconds.)
08:19:38*redj joined #nim
08:47:10*advesperacit joined #nim
09:48:22FromDiscord<victormihalache> In reply to @Elegantbeef "Also httpbeast is written": Btw, what do you mean by older style?
09:52:48FromDiscord<Elegantbeef> It was not written with modern Nim memory management in mind
10:13:07FromDiscord<Prestige> Anyone using neovim + Lsp and have nimscript working properly? I get errors about functions not existing, etc. cuz it thinks it's .nim and not .nims
10:13:13FromDiscord<Prestige> or doesn't differentiate
10:17:23FromDiscord<nnsee> i have the same problem but ended up not caring and just disabling the lsp for nimscript files
10:17:42FromDiscord<nnsee> the only one i generally work with is the nimble file which i don't really care for having LSP enabled anyways
10:18:37FromDiscord<whisperecean> @victormihalache these benchmarks are extremely meaningles
10:20:16FromDiscord<Prestige> I wish there was an actual solution for .nims files
10:20:53FromDiscord<Prestige> Also, are there any libraries for `git`? Just essentially run git commands in code, not a cli tool
10:21:15FromDiscord<Elegantbeef> libgit
10:21:31FromDiscord<Elegantbeef> There are some nim bindings and disruptek uses(d) them for nimph
10:21:54FromDiscord<Prestige> libgit2?
10:22:27FromDiscord<Elegantbeef> https://github.com/disruptek/gittyup are dis' bindings
10:22:59FromDiscord<Prestige> Beautiful, thanks
10:24:04FromDiscord<that_dude.> Is there some sort of `{.push: cpp.}` thing I can do so I don't have to wrap a whole file in `when defined(cpp):`? I want to get rid of the indentation it forces
10:24:39FromDiscord<Elegantbeef> sent a code paste, see https://play.nim-lang.org/#pasty=MKOMmMZwMgmp
10:25:47FromDiscord<victormihalache> In reply to @whisperecean "<@604289008692101123> these benchmarks are": not really for my usecase. i was just trying to see what the overhead from each languages compilation and framework was. the only other overhead i could get for my use case is from the connection to the db and the language's way of computing some data (for which they are quite comparable). the main bottleneck would be the ability to handle a large throughput
10:29:10FromDiscord<that_dude.> Unfortunately that doesn't help my case. All of my procs are marked as errors because it doesn't seem to know I will compile with cpp using a `config.nims` (Compliation works fine I just want the fake errors to go away)
10:30:21FromDiscord<Elegantbeef> Restart your editor
10:31:03FromDiscord<that_dude.> No dice
11:24:31FromDiscord<pmunch> @Prestige I did actually consider writing a file extension extender mode for NimLSP
11:24:52FromDiscord<pmunch> Basically you would be able to create headers/footers/config files to load by default for certain file extensions
11:25:32FromDiscord<pmunch> So `.nimble` files could be opened with the header that gets attached to them when they are run
11:25:43FromDiscord<pmunch> Never got around to it though
12:01:59*azimut quit (Remote host closed the connection)
12:03:13*azimut joined #nim
12:04:03*xutaxkamay quit (Ping timeout: 272 seconds)
12:17:36FromDiscord<invis8069> What ide do you use for nim?
12:17:52*xutaxkamay joined #nim
12:19:27FromDiscord<Phil> vscode myself, some folks use vim/neovim, intellij is also possible since they have a nim plugin
12:21:00FromDiscord<invis8069> Ok thanks👍
12:36:57FromDiscord<zumi.dxy> vscode or KDE Kate (because it's got an LSP plugin)
12:43:04FromDiscord<whisperecean> Does anybody monitor the state of use of Nim in Security industry? from my quick google searches Nim's been raising in popularity to develop all sorts of malware
12:46:10FromDiscord<zumi.dxy> ~~when's Defensive-Nim dropping~~
12:47:13FromDiscord<zumi.dxy> I've heard of Go and Rust being used for malware, but their industry reputation is enough to overshadow the whole "being known for malware" thing
12:47:23FromDiscord<zumi.dxy> it's kinda sad actually
12:51:18FromDiscord<whisperecean> Don't think Nim is known for Malware (yet).
12:51:34FromDiscord<whisperecean> There's probably way more malware developed in Go or Rust than in Nim
12:55:56FromDiscord<zumi.dxy> Yeah, true↵but maybe I haven't hung around in Go circles enough to see the regular "hey, my company's security filters blocked Golang" complaints… :p↵(that is an entry in their FAQ after all)
14:34:13FromDiscord<demotomohiro> sent a long message, see https://pasty.ee/MNXDtbgIzXRD
15:37:16NimEventerNew thread by DeathArrow: Mutable value semantics, see https://forum.nim-lang.org/t/10978
15:47:49*jmdaemon quit (Ping timeout: 264 seconds)
15:54:52FromDiscord<sOkam! 🫐> In reply to @avahe "Anyone using neovim +": `when not defined(nimscript): import system/nimscript`
15:55:04FromDiscord<sOkam! 🫐> Only way I found to stop those errors
16:24:00*tiorock joined #nim
16:24:00*tiorock quit (Changing host)
16:24:00*tiorock joined #nim
16:24:00*rockcavera quit (Killed (lithium.libera.chat (Nickname regained by services)))
16:24:00*tiorock is now known as rockcavera
17:05:11*xet7 joined #nim
17:15:06*xet7 quit (Quit: Leaving)
17:18:11FromDiscord<kiloneie> Are there any bugs with `runnableExamples:` ?
17:19:17FromDiscord<kiloneie> for some reason a proc with runnableExamples (any all of the many others) works just fine, but one of them tells me i need to use the value of something i am doing when the runnable example is there
17:19:38FromDiscord<kiloneie> when i put it in a nimib's nbCode: block
17:19:47FromDiscord<kiloneie> but other's so far did not cause problems
17:23:52*xet7 joined #nim
17:35:38FromDiscord<kiloneie> figured it out.↵For some reason i have to explicitly use the `result` variable when `runnableExamples:` is present... i don't know why this is so.
18:08:49FromDiscord<varriount> In reply to @kiloneie "figured it out. For": Might want to file a bug, although my guess is that this is "intentional" (in that it's just a language/semantics quirk).
18:11:10FromDiscord<varriount> It probably has something to do with a procedure being able to implicitly return values without use of `result` or `return`, e.g. `proc foo(): int = 6`
18:25:03*junaid_ quit (Remote host closed the connection)
19:46:55FromDiscord<9ih> what do you guys think about nim
19:47:05FromDiscord<9ih> or is that like a heretical question here
19:55:36*lucasta joined #nim
20:03:29FromDiscord<rakgew> as with anything, there are pros and cons to different folks
20:05:50FromDiscord<rakgew> for me\:↵+\: i love the syntax, small portable fast executables, different backends C/C++/js↵-\: but I would wish the community was bigger, so the eco system of nim-libs was wider
20:10:28Amun-Rawhite space indents, consice syntax, general flexibility
20:11:38FromDiscord<whisperecean> The only real downside is that Nim's ecosystem is not for the average programmer. You really on the 10x engineers that will create all the useful libraries that you need to use or want to use
20:12:09FromDiscord<Elegantbeef> Be the change you want in the world 😄
20:12:37FromDiscord<whisperecean> I am not a 10x engineer
20:12:50FromDiscord<Elegantbeef> Not with that attitude
20:13:15FromDiscord<whisperecean> I am just stating facts 😄
20:13:48FromDiscord<Elegantbeef> Excuse me whilst I shame you for using "engineer" in relation to programming
20:19:55FromDiscord<nnsee> i'm barely a 1x engineer
20:21:35Amun-RaI'm 2x MD 2x eng. and it changes nothing
20:22:42FromDiscord<Elegantbeef> I can make up numbers and titles aswell
20:24:42Amun-RaI'm not sure whether degrees given here translate to english ones 1:1
20:26:49Amun-Rawe have 8 years of elementary school, 4 (high school) / 5 (college), 5-6 years of university; then 5 years if you want to have a doctorate and move furthers (which I started but resigned from getting into)
20:27:20FromDiscord<Elegantbeef> I can only tell you about primary(9 years) and secondary(3 years) in Canada 😄
20:27:30FromDiscord<Elegantbeef> I'm as educated as a pack mule
20:28:32FromDiscord<nnsee> 9 years primary and 3 years secondary in estonia as well, and another 3 years BSc in england
20:44:50*krux02 joined #nim
20:59:52*lucasta quit (Quit: Leaving)
21:07:47FromDiscord<Marcus> I vaguely remember to going to some schools about 25 years ago or so..
21:46:11anddammarcus: me too, it was great
21:46:22anddamnot a worry in the world
22:27:49*KhazAkar quit (Remote host closed the connection)
22:40:01*advesperacit quit ()
23:10:20*jmdaemon joined #nim
23:26:20*lucasta joined #nim
23:29:32FromDiscord<Robyn [She/Her]> In reply to @Elegantbeef "Excuse me whilst I": Software engineer!
23:29:47FromDiscord<Elegantbeef> I hate you
23:30:06FromDiscord<Robyn [She/Her]> Because I'm right?~
23:30:19FromDiscord<Elegantbeef> No cause that's a misuse of the term engineer
23:30:32FromDiscord<Elegantbeef> 99% of software engineers are not engineers 😄
23:30:37FromDiscord<Robyn [She/Her]> Engineer go heehoo build build brrrr
23:30:46FromDiscord<Robyn [She/Her]> Programmer go heehoo code code crrrrr
23:30:59FromDiscord<Robyn [She/Her]> Software engineer go crbrcrbrcr
23:31:09FromDiscord<Elegantbeef> Proper software engineering requires a license!
23:31:13FromDiscord<Robyn [She/Her]> I don't know what the fuck I'm doing with my life
23:31:23FromDiscord<Elegantbeef> Join the club
23:31:26FromDiscord<Robyn [She/Her]> In reply to @Elegantbeef "Proper software engineering requires": The license is called a degree :)
23:31:33FromDiscord<Elegantbeef> No
23:31:55FromDiscord<Robyn [She/Her]>
23:34:13FromDiscord<Elegantbeef> Sorta related and why I'm annoyed is recently my provincial government carved out a exception to the term "software engineer" so anyone can use the term now 😄
23:38:43FromDiscord<Robyn [She/Her]> Lool fun