<< 21-12-2024 >>

00:26:13*rockcavera quit (Remote host closed the connection)
01:49:45FromDiscord<albassort> https://git.dog/Caroline/NimBTC
01:49:50FromDiscord<albassort> i made a repo which didn't scope creap!
01:49:52FromDiscord<albassort> (edit) "creap!" => "creep!"
01:50:54FromDiscord<albassort> i just realized the BTC Repo comments were written by someone on a Japanese keyboard
02:24:36*Onionhammer quit (Quit: The Lounge - https://thelounge.chat)
02:24:59*Onionhammer joined #nim
02:25:26*Onionhammer quit (Client Quit)
02:26:20*Onionhammer joined #nim
03:18:07FromDiscord<saint._._.> In reply to @albassort "https://git.dog/Caroline/NimBTC": You own git.dog?
03:18:44FromDiscord<albassort> nej
03:18:45FromDiscord<albassort> @ras
03:18:50FromDiscord<albassort> (edit) "@ras ... " added "do"
03:18:51FromDiscord<saint._._.> Oh gotcha
04:32:45*SchweinDeBurg quit (Quit: WeeChat 4.6.0-dev)
04:46:28*alexdaguy joined #nim
04:57:20*xet7 quit (Remote host closed the connection)
04:58:41*xet7 joined #nim
05:16:03*xet7 quit (Remote host closed the connection)
05:17:25*xet7 joined #nim
06:16:08*SchweinDeBurg joined #nim
07:03:33*beholders_eye joined #nim
07:07:41*coldfeet joined #nim
08:33:02*ntat joined #nim
09:05:59*coldfeet quit (Quit: Lost terminal)
09:31:01*coldfeet joined #nim
10:10:10FromDiscord<zuz8392> Hey! Check My Profile
10:21:10*coldfeet quit (Quit: Lost terminal)
11:06:34FromDiscord<odexine> Jeez someone really spammed today huh
12:32:31FromDiscord<xreip> Hello
12:32:46FromDiscord<xreip> I'm a new Nim programmer
12:37:35FromDiscord<odexine> Welcome
12:39:17FromDiscord<xreip> In reply to @odexine "Welcome": 👋
12:57:26FromDiscord<nnsee> hello
12:57:34*ntat quit (Quit: Leaving)
13:02:56*krux02 joined #nim
13:37:03*nils` quit (Ping timeout: 246 seconds)
13:58:48*ntat joined #nim
14:04:58FromDiscord<beetroit> In reply to @albassort "https://git.dog/Caroline/NimBTC": Finally, some blockchain action. Wen solana? 🤲🏾
14:19:38FromDiscord<user2m> sent a code paste, see https://play.nim-lang.org/#pasty=frMVvhUU
14:25:55*beholders_eye quit (Ping timeout: 264 seconds)
14:26:14*nils` joined #nim
14:44:06*alexdaguy quit (Quit: afk)
15:27:50FromDiscord<Ayomide Gg> sent a long message, see https://pasty.ee/gMwNmAHV
15:35:41Amun-Raadmins :)
15:38:26*beholders_eye joined #nim
15:40:39*krux02 quit (Quit: Leaving)
15:47:49*beholders_eye quit (Ping timeout: 265 seconds)
15:56:37FromDiscord<k0ts> Don't people have anything better to do
15:59:47FromDiscord<fabric.input_output> In reply to @k0ts "Don't people have anything": they do, that's why they got bots
16:00:09FromDiscord<fabric.input_output> or maybe they don't
16:00:13FromDiscord<fabric.input_output> idk
17:18:15*coldfeet joined #nim
18:16:42anddamhowdy, on windows 11 I cloned https://github.com/neroist/uing installed uing with nimble, then moved to examples/ and tried to start one of the example. I got a collect2 error https://termbin.com/g0as
18:17:10*nils` quit (Ping timeout: 265 seconds)
18:17:36anddamcan you help me figuring what's wrong?
18:17:41FromDiscord<demotomohiro> In reply to @user2m "I'm on windows and": When you do cross compiling, you need to have backend C compiler that can do cross compile.↵I have never tried cross compile to a linux x86_64 on windows, but you probably need to get gcc/clang/zigcc that runs on windows and generate executable for linux x86_64.
18:19:30anddamI didn't even realize I was cross compiling
18:19:42anddamoh user2m is another nick
18:20:19anddamI see you with a question mark before nicks, are you bridged? (I am on IRC)
18:20:28anddamexcept Amun-Ra
18:55:27Amun-Rathey're behind discord proxy bot
19:05:53anddamwe're here in the real world
19:09:23anddamanything about my collect2 issue?
19:11:25Amun-Rawhat's uiMain?
19:11:42Amun-Ralooks like typical missing library during link time error
19:12:07Amun-Rayou might want to include --listcmd
19:12:41Amun-Raas for 1st question, yes, we're real and they are not
19:15:34Amun-Rait looks like you're using libui-ng or sth alike, add that library using --passl
19:20:11anddamI hope I am using libui-ng, I picked uing project since it said "active fork of libui"
19:20:50Amun-Rayou need to add that library to the command line
19:22:30anddamoh I misread the "add that library" part earlier
19:23:55anddamawesome-nim has two "Beginnings of what might become Nim's official UI library", do any of these beginning ever progress? is there an "official" UI library?
19:24:17Amun-Radunno
19:24:45anddamhow do I figure how the lib is called from this nimble output? https://termbin.com/dqtp
19:26:14Amun-Raadd to your .nimble file: requires uing
19:26:56anddamI do not have a nimble file, I am in uing repo
19:28:16Amun-Rait the easiest method; without nimble you have to locate that .dll and add it to --passl possibly along with the path
19:30:25anddamI think the library is libui.dll in ~\.choosenim\toolchains\nim-2.0.2\bin
19:30:47Amun-Raweird
19:31:08anddamI am looking at the whole fs with one of those index explorer
19:31:26Amun-Racopy it to local directory and add --passl='-lui'
19:32:45anddamI did add -lui to passL, I wonder if I should add a -L too since gcc cannot find libui
19:33:09Amun-Ra--passl='-L. -lui'
19:33:17anddama dot?
19:33:19anddamok
19:33:21Amun-Rayes
19:33:43anddamoh coy it to local directory
19:33:48Amun-Rayes
19:33:51anddamx/coy/ c/copy/
19:34:01anddamit's like I've never been on internet
19:34:17Amun-Rait's faster than typing that choosenim directory
19:35:02anddamhttps://termbin.com/hxam
19:35:04anddamthis is odd
19:35:09anddamI copied the whole gcc line
19:37:55Amun-Rahmm, looks fine to me
19:38:03Amun-Ratry to add full path instead of .
19:38:27Amun-RaI've never used gcc on windows
19:39:13Amun-Racreate nimble file, nimble packages are meant to be used by nimble
19:42:51anddamactually me neither, apropos gcc on win
19:52:57*nils` joined #nim
21:08:43FromDiscord<System64 ~ Flandre Scarlet> sent a code paste, see https://play.nim-lang.org/#pasty=xWnNqFDS
21:10:03FromDiscord<Elegantbeef> No
21:10:31FromDiscord<Elegantbeef> sent a code paste, see https://play.nim-lang.org/#pasty=KzGEqrBL
21:12:40FromDiscord<xreip> Ok
21:26:23anddamAmun-Ra: I think I understand the mingw32 linker does see stuff in the ming32 environment, not in the host system
21:26:37anddamusing ld --verbose prints
21:26:41anddamSEARCH_DIR("/R/winlibs64_stage/inst_binutils-2.36.1/share/binutils/x86_64-w64-mingw32/lib"); SEARCH_DIR("/R/winlibs64_stage/inst_binutils-2.36.1/share/binutils/lib"); SEARCH_DIR("/usr/local/lib"); SEARCH_DIR("/lib"); SEARCH_DIR("/usr/lib");
21:32:05FromDiscord<System64 ~ Flandre Scarlet> sent a code paste, see https://play.nim-lang.org/#pasty=ZiQXCEqo
21:35:00FromDiscord<Elegantbeef> So use an `array[ModuleType, T]`
21:36:12FromDiscord<System64 ~ Flandre Scarlet> In reply to @Elegantbeef "So use an `array[ModuleType,": Isn't there a risk I forget to add a string once I create a new module?
21:36:56FromDiscord<Elegantbeef> It uses the Enum value
21:37:10FromDiscord<Elegantbeef> So the array is always sized to the enum fields
21:37:20FromDiscord<Elegantbeef> If you want to ensure you have full coverage use a proc and a case statement without an `else` clause
21:39:01FromDiscord<System64 ~ Flandre Scarlet> In reply to @Elegantbeef "If you want to": is it actually faster than a Table?
21:39:10FromDiscord<Elegantbeef> It's an array
21:39:11FromDiscord<Elegantbeef> So it does not hash
21:41:24FromDiscord<System64 ~ Flandre Scarlet> In reply to @Elegantbeef "It's an array": same for the case statement? Still an array?
21:41:41FromDiscord<Elegantbeef> No it might turn into a jumptable
21:42:42FromDiscord<albassort> In reply to @beetroit "Finally, some blockchain action.": best i can do is publish my monero wrapper
21:43:51FromDiscord<System64 ~ Flandre Scarlet> In reply to @Elegantbeef "No it might turn": Oh alright↵And does returning a string copy the string?
21:43:59FromDiscord<albassort> yes
21:44:07FromDiscord<Elegantbeef> `lent string` won't
21:44:33FromDiscord<Elegantbeef> As long as you consume it directly
21:44:37FromDiscord<albassort> var string, ptr strikg, ref string, lent string wront
21:44:55FromDiscord<albassort> (edit) "strikg," => "string,"
21:45:04FromDiscord<albassort> lent string is for cowards tho
21:45:51FromDiscord<System64 ~ Flandre Scarlet> Alright, thanks
21:46:07Amun-Raand const string, right?
21:53:11*coldfeet quit (Quit: Lost terminal)
21:53:49FromDiscord<System64 ~ Flandre Scarlet> Oh, the boolean AND operator has short circuit
21:54:41FromDiscord<Elegantbeef> Not really
21:55:04Amun-Rahmm
21:57:01Amun-Rait is
21:58:36Amun-Rahttps://play.nim-lang.org/#pasty=mpqZMvWh
22:17:16*ntat quit (Quit: Leaving)
22:36:50FromDiscord<System64 ~ Flandre Scarlet> For adding modules↵Would it be better via a right click menu, or via drag and drop through the bottom left section? https://media.discordapp.net/attachments/371759389889003532/1320158062031405167/image.png?ex=67689481&is=67674301&hm=d9620a8054331675cd2bd30f40e54a4c0c7a41050aa28435fb32237d5611b8f3&
23:25:56*beholders_eye joined #nim
23:33:04*def- quit (Quit: -)
23:34:23*def- joined #nim