00:00:04 | * | jmdaemon quit (*.net *.split) |
00:00:04 | * | alice quit (*.net *.split) |
00:00:05 | * | blackbeard420 quit (*.net *.split) |
00:00:05 | * | Mister_Magister quit (*.net *.split) |
00:00:05 | * | notchris quit (*.net *.split) |
00:00:05 | * | gshumway quit (*.net *.split) |
00:00:05 | * | void09 quit (*.net *.split) |
00:00:35 | * | notchris joined #nim |
00:00:45 | * | blackbeard420 joined #nim |
00:00:51 | * | gshumway joined #nim |
00:01:24 | * | gshumway quit (Changing host) |
00:01:24 | * | gshumway joined #nim |
00:02:07 | * | jmd_ joined #nim |
00:02:16 | * | alice joined #nim |
00:02:40 | * | Mister_Magister joined #nim |
00:02:57 | * | void09 joined #nim |
00:52:33 | * | jmd_ quit (Ping timeout: 250 seconds) |
01:12:56 | * | jmd_ joined #nim |
01:38:39 | FromDiscord | <jaar23> In reply to @michaelb.eth "maybe take a look": Thanks, I'll start from there. |
02:11:43 | FromDiscord | <etra> sent a long message, see http://ix.io/4Bvu |
02:11:49 | FromDiscord | <etra> (edit) "http://ix.io/4Bvu" => "http://ix.io/4Bvv" |
02:38:05 | FromDiscord | <_gumbercules> In reply to @intellij_gamer "Iirc it was named": Yes that's correct. There are a lot of biblical references in Nim. |
02:39:05 | FromDiscord | <_gumbercules> But the connotation with stupid person / idiot is why it was renamed, probably also because Nim is shorter |
02:49:18 | * | azimut quit (Ping timeout: 240 seconds) |
02:52:51 | FromDiscord | <nervecenter> In reply to @slymilano "found a HN thread": afaik it was because Nim is a BDFL language and some people wanted a commitee-driven language, is that what you found? |
02:54:48 | FromDiscord | <slymilano> I couldn't find any concrete reasons in the HN thread. There is a risk to a dictator type leadership. See: Elm which is dead now completely. But others flourish like Linux with Torvalds. I think Araq is more of a Torvalds clear vision and conviction but open to ideas and can change his position with evidence. |
02:55:22 | FromDiscord | <slymilano> I would love to know fr what happened though. I think even the jester author got angry and left? |
02:59:14 | FromDiscord | <Elegantbeef> The reason for the fork is also to make it easier to contribute to and more technically correct |
03:09:25 | FromDiscord | <bostonboston> In reply to @_gumbercules "Yes that's correct. There": Just as God intended |
03:09:51 | FromDiscord | <_gumbercules> In reply to @bostonboston "Just as God intended": The Bible is the story of you |
03:10:47 | FromDiscord | <_gumbercules> And Andreas as well, and given he authored Nim, you're probably right I guess. |
03:11:00 | FromDiscord | <_gumbercules> Sorry for killing the haha - it was a goodun |
03:11:27 | FromDiscord | <_gumbercules> Just FYI, on a personal note, your wit and humor are a breath of fresh air to the community |
03:12:53 | FromDiscord | <_gumbercules> In reply to @slymilano "I would love to": The Jester author wasn't really doing much and culture wars were ultimately the stated reason for leaving |
03:14:08 | FromDiscord | <_gumbercules> (edit) "In reply to @slymilano "I would love to": The Jester author wasn't really doing much ... andleaving.↵↵Nim" added "as far as contributing to the language / ecosystem and helping to move the language forward," | "leaving" => "leaving.↵↵Nim has consistently suffered from the lack of basee contributors that other languages in the same space have enjoyed." |
04:37:15 | FromDiscord | <turtlebasket> > Nim has consistently suffered from the lack of basee contributors that other languages in the same space have enjoyed.↵probably because there's no large company backing it |
05:10:25 | * | rockcavera quit (Remote host closed the connection) |
05:33:08 | * | junaid_ joined #nim |
05:34:54 | * | junaid_ quit (Remote host closed the connection) |
05:53:07 | FromDiscord | <_gumbercules> In reply to @turtlebasket "> Nim has consistently": It's had plenty of time to attract one |
07:00:32 | * | PMunch joined #nim |
07:01:14 | * | ntat joined #nim |
07:39:15 | FromDiscord | <nnsee> how would I set up `~/.config/nim/config.nims` so that `nimcache` points elsewhere (`/tmp/nimcache` and not `~/.cache/nim`) while also keeping the behaviour where it dumps the files in a separate `_d` and `_r` directories for each project? |
07:39:39 | FromDiscord | <nnsee> i've currently got `switch("nimcache", "/tmp/nimcache")` - however, that just seems to dump all of the intermediate files into one single directory |
08:38:00 | FromDiscord | <youssefbs> Hello how can I generate a map file to get additional information about the compiled code, such as memory usage, symbol addresses, and sections' sizes ? |
08:41:49 | PMunch | Same way you would for C pretty much |
09:01:44 | FromDiscord | <demotomohiro> In reply to @youssefbs "Hello how can I": https://nim-lang.org/docs/nimc.html↵--passC: pass an option to the C compiler↵--passL: pass an option to the linker |
09:29:43 | NimEventer | New thread by ploxotnuj1: How to make an archive and unpack/add a folder with files to the archive?, see https://forum.nim-lang.org/t/10358 |
09:41:03 | om3ga | Hello! In compiler options I see available --cc:"borland" <--- is this really works? :) or it's a joke? |
09:43:35 | om3ga | sorry --cc:"bcc" |
09:46:13 | * | antranigv left #nim (Leaving for now, I'm at https://antranigv.am/) |
09:47:45 | om3ga | ah, it's not borland. ignore the question please hahah |
11:11:33 | * | azimut joined #nim |
11:15:44 | FromDiscord | <gogolxdong666> Is there any zero-knowledge library? |
11:16:43 | FromDiscord | <gogolxdong666> (edit) "Is there any zero-knowledge ... library?" added "proof" |
11:25:47 | * | jmd_ quit (Ping timeout: 264 seconds) |
11:30:01 | om3ga | what is zero-knowledge |
11:31:20 | PMunch | I don't know |
11:31:40 | Amun-Ra | empty file lib.nim, zero knowledge necessary to use it |
11:31:53 | PMunch | Couldn't resist |
11:33:13 | PMunch | But zero-knowledge is actually pretty neat: https://en.wikipedia.org/wiki/Zero-knowledge_proof |
11:33:17 | om3ga | you even don't need to import it |
11:38:44 | FromDiscord | <Jackie> In reply to @gogolxdong666 "Is there any zero-knowledge": Take a look at constantine. |
11:41:10 | FromDiscord | <gogolxdong666> |
13:36:00 | * | lucasta joined #nim |
13:50:16 | * | rockcavera joined #nim |
13:54:29 | * | lucasta quit (Quit: Leaving) |
14:10:13 | * | PMunch quit (Quit: Leaving) |
14:40:34 | FromDiscord | <enthus1ast> @gogolxdong666\: can you not just hash the secret or so? |
14:42:00 | FromDiscord | <gogolxdong666> There is a need to sign transaction without knowing private key. |
14:43:43 | FromDiscord | <enthus1ast> then you could do something like ed25519 key exchange |
14:44:00 | FromDiscord | <enthus1ast> where you need to know just your secret key and the others public key |
14:46:31 | FromDiscord | <enthus1ast> and since both parties compute the same key, you can work with this |
14:47:43 | FromDiscord | <gogolxdong666> oh, that might be helpful as well, I'll check thanks! |
15:08:41 | FromDiscord | <michaelb.eth> In reply to @gogolxdong666 "oh, that might be": folks in the Nimbus discord can probably give some additional suggestions re: zero-knowledge and cryptography stuff with Nim |
15:10:56 | FromDiscord | <michaelb.eth> In reply to @nnsee "how would I set": it's not doing exactly what you're wanting to do, but you can probably adapt this approach to your needs:↵https://github.com/michaelsbradleyjr/snarts/blob/algos/examples/config.nims#L5-L13 |
15:12:45 | FromDiscord | <michaelb.eth> I like to have a project's `nimcache` in the root of the project, and within the `nimcache` directory there is separation re: "debug" and "release" and also the name of the name of the `.nim` source being compiled with `nim c` |
15:13:10 | FromDiscord | <michaelb.eth> (edit) "being compiled with" => "supplied to" |
15:17:33 | FromDiscord | <Phil> @youssefbs Tried getFileInfo from std/os lib?↵The output of that contains size |
15:18:07 | FromDiscord | <Phil> I replied here since main is the correct channel for Nim syntax questions and the like |
15:23:16 | FromDiscord | <enthus1ast> there's also just os.getFileSize https://nim-lang.org/docs/os.html#getFileSize%2Cstring |
15:27:42 | FromDiscord | <Phil> Good point, missed it on mobile |
15:37:55 | * | lucasta joined #nim |
15:38:12 | om3ga | where setting TMP dir for compiler build is specified? |
15:39:33 | om3ga | trying to upgrade compiler on 32 bit windows like os, and it fails because path for git and other things not enclosed in " |
15:45:18 | om3ga | I changed env variable, seems it works |
16:07:29 | * | cnx quit (Remote host closed the connection) |
16:08:21 | * | cnx joined #nim |
16:35:51 | * | lucasta quit (Quit: Leaving) |
16:51:18 | * | ntat quit (Quit: leaving) |
17:45:56 | FromDiscord | <xtrayambak> In reply to @slymilano "i thought nimrod was": Why was the name changed, though? |
17:46:12 | FromDiscord | <xtrayambak> Perhaps nimrod is too much to type everywhere? |
17:46:21 | FromDiscord | <xtrayambak> If that's the reasoning, I totally agree with it |
17:59:07 | FromDiscord | <odexine> because nimrod has a negative connottaion |
17:59:09 | FromDiscord | <michaelb.eth> In reply to @xtrayambak "Why was the name": In US culture "nimrod" became associated with the Bugs Bunny character using it to make fun of Elmer Fudd. The association became strong enough that when I was a kid, calling someone "you nimrod" was basically saying "you dumb ass". |
17:59:10 | FromDiscord | <odexine> (edit) "connottaion" => "connotation" |
17:59:41 | FromDiscord | <michaelb.eth> That association still persists today, even if it's not commonly heard anymore |
18:00:14 | FromDiscord | <michaelb.eth> And, for better or worse, cartoons made for US audience have spread far and wide, so.... |
18:01:23 | FromDiscord | <enthus1ast> Nimrod sounds like rotting |
18:02:04 | FromDiscord | <enthus1ast> and nimm in german means take |
18:04:52 | FromDiscord | <michaelb.eth> https://unrememberedhistory.com/2017/01/09/the-nimrod-effect-how-a-cartoon-bunny-changed-the-meaning-of-a-word-forever/ |
18:31:07 | FromDiscord | <demotomohiro> sent a code paste, see https://play.nim-lang.org/#ix=4ByR |
18:38:19 | FromDiscord | <nnsee> In reply to @demotomohiro "Here is my .config/nim/nim.cfg:": great! thanks! |
19:11:12 | * | jmdaemon joined #nim |
19:40:26 | FromDiscord | <.bobbbob> Is there a good tutorial for using sdl with nim? Or should I do a tutorial for another language and figure out how it applies to nim? |
19:40:54 | FromDiscord | <Elegantbeef> Just follow anything that explains how to use sdl2 |
19:41:25 | FromDiscord | <Elegantbeef> It's the same thing everywhere |
19:41:56 | FromDiscord | <Elegantbeef> The procedures or API might be different but same thing otherwise |
19:42:16 | FromDiscord | <.bobbbob> so the sdl2 bindings doesnt do anything fancy? |
19:42:34 | FromDiscord | <Elegantbeef> They remove the `sdl_` prefix, but for the most part it's the same |
19:42:43 | FromDiscord | <.bobbbob> cool |
19:47:18 | * | zaher joined #nim |
19:55:42 | * | zaher left #nim (Leaving Channel) |
20:28:19 | * | Jjp137 quit (Quit: Leaving) |
20:30:03 | * | Jjp137 joined #nim |
21:29:26 | FromDiscord | <ieltan> Is it possible to get the ident of a variable that a template/macro will return a value to?↵`let x = myProc() # myProc() knows that the variable it's going to return a value to is called x` |
21:33:06 | FromDiscord | <Elegantbeef> Nope |
21:35:39 | FromDiscord | <huantian> you'd have to pass `x` into the template/macro and have it emmit the variable declaration |
21:36:14 | FromDiscord | <Elegantbeef> Or make it a declaration macro |
21:36:15 | FromDiscord | <Elegantbeef> but it'd be `let x {.myMacro.} = myProc()` |
21:37:04 | FromDiscord | <ieltan> I see, thanks! |
21:57:40 | FromDiscord | <demotomohiro> sent a long message, see http://ix.io/4BzD |
22:35:54 | * | arkanoid joined #nim |
22:45:56 | arkanoid | when linking with GObject-based project, would you use gintro or wrap C functions? |
23:52:14 | * | jkl quit (Quit: Gone.) |