<< 03-12-2024 >>

00:00:05FromDiscord<@@prestosilver> sent a long message, see https://pasty.ee/HkPRjRfZ
00:00:30FromDiscord<@@prestosilver> (edit) "https://pasty.ee/WYLLlxfC" => "https://pasty.ee/OfUEQmEc"
00:37:59*beholders_eye quit (Ping timeout: 260 seconds)
01:25:07FromDiscord<ikanaut> I got choosenim working, but I don't know where to go from here. I assumed I could add the path given by `choosenim show path` to the VSCodium terminal's PATH, but it can't find nim command↵I already gave the flatpak the correct permissions and appended `/run/host/` to the path.
02:18:30*rockcavera quit (Remote host closed the connection)
03:40:46*disso-peach joined #nim
04:02:39*SchweinDeBurg joined #nim
05:18:14*disso-peach quit (Quit: Leaving)
05:34:29*ntat joined #nim
05:56:26FromDiscord<pmunch> Doesn't choosenim give you the path once it's done?
05:56:56FromDiscord<pmunch> You might need to restart your terminal for the changes to take effect
05:57:36FromDiscord<pmunch> And you should add it to the system PATH and not the local PATH for the VSCodium terminal
06:06:44*Jhonny2x4 quit (Ping timeout: 264 seconds)
06:19:53*Jhonny2x4 joined #nim
06:24:33FromDiscord<klyzx> sent a code paste, see https://play.nim-lang.org/#pasty=ZXYLAuhH
06:27:31*alexdaguy joined #nim
06:33:19FromDiscord<bostonboston> sent a code paste, see https://play.nim-lang.org/#pasty=PDScLwhL
06:33:21FromDiscord<bostonboston> this?
06:33:55FromDiscord<demotomohiro> https://nim-lang.org/docs/manual.html#types-varargs↵The `vararg` parameter must be a last parameter.
06:36:05FromDiscord<bostonboston> My example does not work for the default case 😦
06:39:18FromDiscord<demotomohiro> sent a code paste, see https://play.nim-lang.org/#pasty=zBSNplBe
06:41:31FromDiscord<klyzx> oh it needs to be last I see
06:41:33FromDiscord<klyzx> I did it first
06:49:21FromDiscord<klyzx> sent a code paste, see https://play.nim-lang.org/#pasty=mKInImPp
06:51:42FromDiscord<Elegantbeef> It needs a macro
06:52:40FromDiscord<Elegantbeef> Actually just an overload makes more sense
06:53:50FromDiscord<Elegantbeef> sent a code paste, see https://play.nim-lang.org/#pasty=FrGGhnAL
06:56:28FromDiscord<klyzx> ahh I see I get it now, that helps a lot thanks
07:15:17*ntat quit (Quit: Leaving)
07:24:59*coldfeet joined #nim
07:35:19*xet7 joined #nim
08:08:36*coldfeet quit (Quit: Lost terminal)
08:12:59*xet7 quit (Remote host closed the connection)
08:15:43*xet7 joined #nim
08:40:17FromDiscord<huantian> kyzzle isn't that what i was saying 😭 ↵though i didn't really elaborate haha so probably my bad
08:54:39*perr_ joined #nim
08:54:39*coldfeet joined #nim
08:57:00*perro quit (Ping timeout: 276 seconds)
09:01:46*coldfeet quit (Quit: Lost terminal)
09:07:00FromDiscord<odexine> You two friends or something
09:08:06FromDiscord<klyzx> Yeah
09:08:26FromDiscord<Elegantbeef> Any friend of Huan is an enemy of mine
09:09:15FromDiscord<odexine> So nothing changes between US
09:09:20FromDiscord<odexine> Fuck
09:09:23FromDiscord<odexine> (edit) "US" => "us"
09:09:32FromDiscord<odexine> Swipe keyboard be like
09:10:47FromDiscord<Elegantbeef> Swipedout
09:30:36FromDiscord<Fahd Wer> I need someone who is serious about getting to know me, with respect. Click on the link, and after that, it will redirect you to my WhatsApp account https://t.me/UEEx_Miner_bot/UEB_Miner_Bot?startapp=kBNoWEHfEAAW6WrgR5Z
09:31:37Amun-Ra@admin
09:32:30FromDiscord<Elegantbeef> All the effort to do that and they leave `miner_bot` in the url
09:34:30Amun-Ratrue :P
09:38:42FromDiscord<Fahd Wer> I need someone who is serious about getting to know me, with respect. Click on the link, and after that, it will redirect you to my WhatsApp account https://t.me/UEEx_Miner_bot/UEB_Miner_Bot?startapp=kBNoWEHfEAAW6WrgR5Z
09:38:59FromDiscord<odexine> lol
09:39:09FromDiscord<Elegantbeef> Mjolnir where art though
09:39:31Amun-Rawe need a hammer ;)
09:39:46FromDiscord<Elegantbeef> It's the name of the matrix moderation bot
09:39:51Amun-Raoh, nice
09:41:32FromDiscord<Elegantbeef> There we go
09:41:45FromDiscord<Elegantbeef> Praise the might hammer
09:41:48FromDiscord<Elegantbeef> mighty\
09:56:22Amun-Ra\o/
09:56:47Amun-Rathank you allmighty Þórr
09:57:16FromDiscord<Elegantbeef> That grey little alien watches over us all
09:58:41Amun-RaI'm fine with that, just no probing please
09:59:00FromDiscord<Elegantbeef> Loki's the one that did that in what I'm referencing
09:59:45Amun-Rahmm :>
09:59:53Amun-RaI have to refresh the lore
10:00:10FromDiscord<Elegantbeef> Well I'm referencing stargate so uhh yea good luck
10:00:16Amun-Rahehe
10:03:12*perr_ quit (Ping timeout: 272 seconds)
10:03:16*perr__ joined #nim
10:57:35FromDiscord<hydr0nium> Am I not understanding something or can't you get matching groups in the standard re module
10:58:01FromDiscord<hydr0nium> (edit) "module" => "module. I am using findAll but it returns a seq[string] and ignores my groups"
10:59:52Amun-Rare → nre
11:02:47Amun-Rahydr0nium: https://play.nim-lang.org/#pasty=iWKELkPk
11:03:11Amun-Rahmm
11:03:30*fallback quit (Read error: Connection reset by peer)
11:04:06Amun-Rathat didn't work as expected, https://play.nim-lang.org/#pasty=oaMbqPSu
11:05:05Amun-Rafind accepts captures but does not return all matches
11:05:51*beholders_eye joined #nim
11:06:44FromDiscord<hydr0nium> In reply to @Amun-Ra "that didn't work as": yes I found that your second example "works" but only matches the first occurance. Thats the problem I want all
11:07:34FromDiscord<hydr0nium> Basically `const s = "foo bar baz"` with `re"b(a.)"` should return `ar` and `az`
11:08:45Amun-Rait looks like find works differently than findAll and findIter
11:10:59Amun-Rahttps://nim-lang.org/docs/nre.html#findIter.i%2Cstring%2CRegex%2Cint
11:11:07Amun-RafindIter: Works the same as find(...), but finds every non-overlapping match:
11:11:11Amun-Rait isn't true
11:11:46Amun-Rait looks like you have to roll your own findAll variant and call find with start and endpos by hand
11:12:29Amun-Rawhich sucks
11:14:13Amun-Rayou can obtain capture bounds via captureBouns attribute
11:16:11FromDiscord<hydr0nium> ah sad times. I have a solution now, which is a bit janky but it works
11:16:15FromDiscord<hydr0nium> still thanks for the help!
11:21:03Amun-Rano worries
11:23:30*fallback joined #nim
11:44:33*coldfeet joined #nim
11:56:57*coldfeet quit (Quit: Lost terminal)
12:13:37FromDiscord<blocboyy> Any Cashapp? Chime? Zelle? Btc? Usdt?Skrill? Apple Pay? Pay pal? Venmo? BOA? Wells Fargo? Join my channel↵https://t.me/+zEFPK-AiVFEyZDM0↵https://t.me/+zEFPK-AiVFEyZDM0↵
Got any of these
Chase?
BOA?
Wells Fargo?
Navy federal?
Capital one?
Truist?
Att &t?
PNC?
TD bank?
Credit union?
M&T bank?
Santander bank?
Northwest bank?
Or any other local Bank
JOIN THE CHANNEL NOW TO GET PAID
Join the telegram ch
12:16:04alexdaguyhow are there so many bots on the discord
12:20:44FromDiscord<nnsee> it's not discord
12:20:48FromDiscord<nnsee> it's matrix
12:20:53FromDiscord<nnsee> matrix has a real spam issue
12:20:56FromDiscord<nnsee> <@&371760044473319454>
12:37:28alexdaguyoh
12:37:41alexdaguylol why is the bot called "FromDiscord" on IRC
12:38:02alexdaguythe one sending the messages from matrix over that is
12:39:16FromDiscord<ikanaut> AHA! I figured it out! I had to remove the `/run/host` from the path. It works now.
12:41:36FromDiscord<ikanaut> I successfully compiled an ran my hello world program. It's working but I'm getting some weird warnings in the debug console, I can't tell if they're nim related or not.
12:41:47FromDiscord<ikanaut> (edit) "an" => "and"
12:47:15FromDiscord<nnsee> In reply to @alexdaguy "lol why is the": probably because the IRC bridge is only connected to discord, while discord itself is connected to matrix and irc
12:47:24FromDiscord<nnsee> so it's irc <-> discord <-> matrix
13:24:30alexdaguyamaing
13:49:03*alexdaguy quit (Quit: w)
13:50:37*ntat joined #nim
16:00:08FromDiscord<emiellr> @here Guys why is the Nim package downloaded from the website being flagged as containing malware?
16:00:22FromDiscord<emiellr> Sorry for the ping, but I feel like it's warranted
16:00:46FromDiscord<emiellr> https://media.discordapp.net/attachments/371759389889003532/1313535411150389378/image.png?ex=67507cae&is=674f2b2e&hm=30b3bed2ed3f71916b9ff192cc18766f3c991f9a7569115e2e87fe1a4cd1f0f9&
16:02:30FromDiscord<polakpl2002> ESET straight up deletes `koch.exe` when you select it in the explorer
16:03:09FromDiscord<bostonboston> Known issue, malicious binaries written with nim contain the nim runtime, as do non malicious binaries, therefore heuristics match as malware
16:03:09FromDiscord<nnsee> we really ought to make a FAQ for this
16:03:13FromDiscord<nnsee> seems to be asked every week
16:03:31FromDiscord<emiellr> Oh my bad
16:03:32FromDiscord<nnsee> short answer is that antivirus software is snake oil and should not be taken at face value
16:03:33FromDiscord<emiellr> ig
16:03:38FromDiscord<nnsee> not your fault at all
16:03:59FromDiscord<nnsee> the frustration is aimed more towards the AV vendors
16:04:02FromDiscord<emiellr> In reply to @nnsee "we really ought to": No time like the present, no?
16:06:11FromDiscord<nnsee> In reply to @emiellr "No time like the": seems like Go seems to struggle with the same problem and has a nice FAQ entry already - maybe we should just use that https://go.dev/doc/faq#virus
16:12:53FromDiscord<.bobbbob> In reply to @nnsee "seems like Go seems": "If you’ve just installed the Go distribution and the system reports it is infected, that’s certainly a mistake." famous last words
16:14:03FromDiscord<.bobbbob> by which I mean this virus detection thing is a problem because if someone infiltrates the server and replaces the binary with an infected one, no one will care if virus detectors say so
16:15:12FromDiscord<demotomohiro> In reply to @nnsee "we really ought to": I wrote a FAQ for it. https://internet-of-tomohiro.pages.dev/nim/faq.en#nim-compiler-is-nimslashnimble-virus-or-malwareqmark
16:34:46FromDiscord<demotomohiro> https://go.dev/doc/faq#virus↵> In any case, if you believe the report is in error, please report a bug to the supplier of your virus scanner.↵I reported to window defender support before. I think many people did.↵But anti-virus soft still flag Nim binaries.
16:40:44FromDiscord<bostonboston> What's the best performance timing function? cpuTime? getMonoTime?
16:44:02FromDiscord<griffith1deadly> monotime i assume
16:56:34ehmryyea, monotime
17:17:05*SchweinDeBurg quit (Quit: WeeChat 4.5.0-dev)
17:42:44*beholders_eye quit (Ping timeout: 264 seconds)
17:53:51*beholders_eye joined #nim
18:02:50*xet7 quit (Remote host closed the connection)
18:33:50*coldfeet joined #nim
18:52:10FromDiscord<mark_great> sent a long message, see https://pasty.ee/wDgPNPvt
18:52:54Amun-Raanother one to bite the dust
18:53:49FromDiscord<hydr0nium> I am just starting nim but I am already in love with the lang. Done some advent of code this year. If anyone wants to check it out I've posted about it in my blog 🙂↵↵https://patchwork-security.de/tags/advent-of-code-2024/
19:00:05FromDiscord<mark_great> sent a long message, see https://pasty.ee/agFPIqGY
19:09:59FromDiscord<nervecenter> <@&371760044473319454>
20:42:59*coldfeet quit (Quit: Lost terminal)
20:55:28FromDiscord<rakgew> hydr0nium \: nice!↵btw., there is also a dedicated nim advent of code room\:↵[!aFzaAGKndNnKMhuVnb\:matrix.org](https://matrix.to/#/!aFzaAGKndNnKMhuVnb:matrix.org)↵but not much action there this year so far.
21:13:22FromDiscord<hydr0nium> awesome thanks for the info
21:34:55FromDiscord<rakgew> yw
21:55:46*rockcavera joined #nim
22:07:24*ntat quit (Quit: Leaving)
23:24:31*beholders_eye quit (Ping timeout: 252 seconds)
23:30:37*beholders_eye joined #nim
23:38:48*xet7 joined #nim
23:38:54*zgasma joined #nim
23:40:25*beholders_eye quit (Ping timeout: 252 seconds)
23:45:12*beholders_eye joined #nim
23:55:24*beholders_eye quit (Ping timeout: 245 seconds)
23:56:41*beholders_eye joined #nim