<< 16-06-2024 >>

00:08:53*mal`` joined #nim
01:00:01*nazgulsenpai quit (Quit: ZNC 1.8.2 - https://znc.in)
01:05:03*SchweinDeBurg quit (Quit: WeeChat 4.4.0-dev)
01:05:27*nazgulsenpai joined #nim
01:05:27*SchweinDeBurg joined #nim
01:21:49*rockcavera quit (Remote host closed the connection)
01:42:36FromDiscord<that_dude.> (Sorry didn't read everything) Isn't this why generally everything comes with auth token checks first? A website I wrote a scraper for would auto reject any request without any auth tokens. Require some js to be run to generate a basic token as a fingerprint and then use it to generate a bearer token when a user logs in for privileged things. Any non sensitive things can be locked behind the basic token
01:42:44FromDiscord<toynbee> Is nim best written in vim?
01:43:07FromDiscord<that_dude.> I use vscode because I find it easier to use in general
01:44:12FromDiscord<toynbee> Sorry. It was a stupid joke for what I assume is a serious channel. I've never heard of nim so I joined to find out what it is ... And make a stupid joke.Thank you for the earnest answer.
01:45:53FromDiscord<Elegantbeef> Leave the shit jokes to the professionals
01:46:45FromDiscord<Elegantbeef> The reaction makes me need to clarify I make the worst jokes
01:48:00FromDiscord<toynbee> Respect.I don't want to extend this thread to the detriment of what I assume is the purpose of this channel, but I do appreciate the acknowledgement. \:p
01:48:16FromDiscord<Elegantbeef> Well time for you to learn Nim
01:49:39FromDiscord<toynbee> The wiki article suggests that it is a game, rather than a programming language that could be written in vim or vscode, so I should probably look up "nim (programming language)" instead. \:p
01:50:43FromDiscord<toynbee> I was gonna say it sounds like Python and ask if that was accurate, but then I read↵> The syntax of Nim resembles that of Python.[↵So ...
01:51:18FromDiscord<toynbee> Okay, I'm sorry. I didn't mean to hijack the channel. Though based on the responses so far, the nim community seems awesome.
01:54:30FromDiscord<MDuardo> Time to make the Nim (game) in Nim™ (programming language)!?
01:55:01FromDiscord<toynbee> Seems like a good suggestion to me.
02:39:52NimEventerNew thread by physicphy: Can I use OpenACC pragma in nim?, see https://forum.nim-lang.org/t/11769
03:07:50FromDiscord<zumi.dxy> In reply to @toynbee "Is nim best written": or https://github.com/fox0430/moe
04:19:48*disso-peach quit (Quit: Leaving)
06:39:17*rockcavera joined #nim
06:40:18*coldfeet joined #nim
07:04:26*ntat joined #nim
08:24:08*coldfeet quit (Remote host closed the connection)
09:24:18*om3ga quit (Ping timeout: 255 seconds)
12:10:37*coldfeet joined #nim
12:27:52*beholders_eye joined #nim
12:59:29*beholders_eye quit (Ping timeout: 252 seconds)
13:10:13*redj quit (Ping timeout: 268 seconds)
13:32:06NimEventerNew thread by Araq: Mm:sharedOrc, see https://forum.nim-lang.org/t/11770
14:08:34FromDiscord<albassort> i was gonna @ araq because i remember him being here
14:08:39FromDiscord<albassort> but i dont think hes here often
14:48:33*Onionhammer quit (Quit: The Lounge - https://thelounge.chat)
14:48:39*krux02 joined #nim
14:50:28*Onionhammer joined #nim
15:03:34*coldfeet quit (Remote host closed the connection)
15:06:04FromDiscord<Phil> In reply to @albassort "i was gonna @": Also Not a fan of being pinged, if it's about the compile you're better of asking in internals anyway
15:06:40FromDiscord<albassort> In reply to @isofruit "Also Not a fan": Yes I remember that too vaguely, so I decided not to :)
15:16:11*xaltsc quit (Remote host closed the connection)
15:33:15*xet7 quit (Ping timeout: 264 seconds)
15:55:30*Lord_Nightmare quit (Quit: ZNC - http://znc.in)
15:58:29*Lord_Nightmare joined #nim
16:47:28NimEventerNew Nimble package! ninit - Initialize a Nim package non-interactively (does not require nimble), see https://github.com/cypherwytch/ninit
17:08:10*gshumway quit (Quit: .)
17:19:52*coldfeet joined #nim
17:21:20FromDiscord<basilajith> Is there any resource from which I can learn how to generate Swagger/ OpenAPI documentation for REST APIs created using Prologue or Mummy or other Nim frameworks?
17:23:30*krux02 quit (Remote host closed the connection)
17:26:03*gshumway joined #nim
17:55:48FromDiscord<frusadev> Hello i just encountered an issue while coding something.↵↵I couldn't use a const of type `Table` that was imported from a file that imported `Tables` in a file where i didn't import `Tables`. Is that behavior intentional ?
17:59:58FromDiscord<Phil> In reply to @basilajith "Is there any resource": If prologue in it's docs does not have such a guide I fear not. There likely is no tool to auto generate it yet. ↵↵No idea about mummy.
18:00:58FromDiscord<Phil> In reply to @frusadev "Hello i just encountered": The way you worded your example confuses me, could you provide a code example?
18:04:42FromDiscord<frusadev> sent a code paste, see https://play.nim-lang.org/#pasty=zOgwEBwx
18:05:08FromDiscord<frusadev> sent a code paste, see https://play.nim-lang.org/#pasty=xOAbYKIM
18:05:59FromDiscord<frusadev> The error has been solved by importing `Tables` in `environment.nim`
18:06:31FromDiscord<Phil> That is intended. ↵The proc for accessing the table is not available if the table module is not imported. ↵If you want to avoid having a table import everywhere just for this, you can export tables in your table module
18:07:27FromDiscord<Phil> Procs are not bound to objects essentially, they exist separately. ↵Therefore, they are only available where they have been imported
18:08:45FromDiscord<frusadev> In reply to @isofruit "That is intended. ": I see... So i should add `export Tables` in `io.nim` if i want to avoid to much `import Tables` !?
18:09:21FromDiscord<frusadev> Because i'm using Tables from the stdlib
18:12:43FromDiscord<Phil> In reply to @frusadev "I see... So i": `export tables` like so ↵Or if you want to export only specific procs you can get even more specific with `export tables.[]`↵(surround the brackets with backticks)
18:13:13FromDiscord<Phil> sent a code paste, see https://play.nim-lang.org/#pasty=ECERJiAb
18:13:37FromDiscord<frusadev> Oh i see
18:13:45FromDiscord<frusadev> Thank you!
18:24:31*coldfeet quit (Remote host closed the connection)
19:59:23*xaltsc joined #nim
19:59:47*xaltsc is now known as Guest3242
20:01:12*Guest3242 quit (Client Quit)
20:01:32*xaltsc_ joined #nim
20:25:40*ntat quit (Quit: Leaving)
20:41:23*SchweinDeBurg quit (Quit: WeeChat 4.4.0-dev)
20:47:36*SchweinDeBurg joined #nim
20:56:01*nyeaa49284230101 quit (Read error: Connection reset by peer)
20:56:32*nyeaa49284230101 joined #nim
21:11:23FromDiscord<Elegantbeef> @frusadev it does make more sense to just use enums there
21:12:33FromDiscord<Elegantbeef> sent a code paste, see https://play.nim-lang.org/#pasty=jPGyRJBE
21:12:45FromDiscord<Elegantbeef> Heh `import mypaths`
21:18:15FromDiscord<solitudesf> sent a code paste, see https://play.nim-lang.org/#pasty=WdEHoASu
21:18:26FromDiscord<Elegantbeef> We're in a funny place
21:18:42FromDiscord<Elegantbeef> That should be dynamically generated at runtime based off of XDG, but alas
23:49:51*disso-peach joined #nim