00:01:44 | * | tensortom joined #nim |
00:03:18 | tensortom | does windows default security allow an app to open a local port for the purpose of inter-process communication without prompting the user? |
00:04:05 | FromDiscord | <sealmove> Hiw can I tell if my changes is what breaks the build? I tried this compare-thing described in "contributing" documentation but I still can't tell. |
00:14:13 | tensortom | nvm. asynctools has great stuff |
00:16:31 | * | seni quit (Quit: Leaving) |
00:16:42 | * | noeontheend quit (Ping timeout: 264 seconds) |
00:44:28 | shashlick | @sealmove did you try the megatest locally |
00:44:53 | shashlick | @brentp sorry not able to check now, do you have the error output |
00:48:27 | FromGitter | <viell> hay guys. I have problem installing nimble.i already have a c compiler installed and don't know what to do next. ⏎ i have installed nim,also but nimble, no. ⏎ and how can I install aporia on Windows? GitHub doesn't give much of a help for Windows... |
00:48:39 | ryukoposting | alright, so I made a working docker image for nim that doesn't require me to rebuild the compiler every time I run stuff |
00:49:33 | ryukoposting | viell I haven't used nim on windows much, but on linux, nim picked up gcc without me having to tell it where to look |
00:50:27 | shashlick | viell: how did you install Nim |
00:50:46 | shashlick | ryukoposting which os |
00:50:57 | shashlick | We now have Linux binaries |
00:51:04 | ryukoposting | devuan ascii |
00:51:12 | ryukoposting | which is basically debian |
00:52:09 | ryukoposting | viell: I'd avoid aporia, it's kind of a dead project at the moment AFAIK. The overwhelming majority of the nim community uses VS Code, apparently the Nim plugin for it is pretty slick. |
00:54:00 | ryukoposting | otherwise, if you don't like VS Code or you just want to try something different, my fork of the Nim syntax highlighting files for Kate is up-to-date. My editor of choice for Nim is a version of Sam that I tweaked to my liking. |
00:55:33 | ryukoposting | shashlick: do you mean to tell me I wasted 2 hours teaching myself how to use docker |
00:58:10 | * | Jesin quit (Quit: Leaving) |
00:58:28 | * | ryukoposting hears crickets |
00:58:29 | FromGitter | <viell> @FromIRC from the book |
00:58:39 | shashlick | Nothing is ever wasted |
00:59:04 | shashlick | Might be useful for someone as well |
00:59:10 | ryukoposting | if nothing else, I guess it's good resume padding "knows docker, kinda" |
00:59:12 | FromGitter | <viell> @FromIRC oh ok |
01:00:01 | shashlick | FromIRC is a bridge bot, I'm shashlick |
01:00:46 | FromGitter | <viell> come onnnnnn.!!! I know... I just reply.. |
01:00:57 | ryukoposting | lol it's all good |
01:01:27 | ryukoposting | have you tried just opening up notepad, making a file that just contains `echo "hello, world!"` and compiling that? |
01:01:50 | ryukoposting | that should be a decent indicator that things are working right |
01:02:19 | FromGitter | <viell> no I just checked if nim is installed correctly said in the book and yes it was |
01:02:25 | FromGitter | <viell> but not nimble. |
01:02:47 | FromGitter | <viell> is there any differences? |
01:03:21 | FromGitter | <viell> I thought -maybe not sure- the compiler of nim is called nimble, right> |
01:03:28 | ryukoposting | not completely sure, windows has a different workflow for getting stuff installed |
01:03:39 | ryukoposting | nimble is the package manager and build tool |
01:03:47 | FromGitter | <viell> oh |
01:04:04 | ryukoposting | kinda like if pip and make were a single thing and didn't suck |
01:04:16 | FromGitter | <viell> lol |
01:04:40 | FromGitter | <viell> now how can I install nimble? |
01:04:52 | * | Jesin joined #nim |
01:04:53 | ryukoposting | don't worry though, from what I can tell, most of the nim devs use windows so the support is solid |
01:05:08 | FromGitter | <viell> coz GitHub approach didn't work...with koch tool I mean |
01:05:13 | ryukoposting | lemme take a look, one sec |
01:05:21 | FromGitter | <viell> ok |
01:05:57 | ryukoposting | i think it might already be installed, assuming you installed it via the website |
01:06:25 | FromGitter | <viell> website and the book and videos from YouTube... |
01:06:28 | FromGitter | <viell> :-) |
01:06:32 | ryukoposting | https://nim-lang.org/install_windows.html this? |
01:06:42 | FromGitter | <viell> yea |
01:07:11 | ryukoposting | assuming you ran finish.exe and set your PATH correctly, you should be all good |
01:07:42 | FromGitter | <viell> yes those are done.does that mean nimble is also installed? |
01:07:43 | ryukoposting | try opening up cmd or powershell, and run `nimble --version` |
01:08:13 | FromGitter | <viell> 'nimble' is not recognized as an internal or external command, ⏎ operable program or batch file. |
01:08:30 | FromGitter | <viell> I don't think it's installed |
01:08:31 | ryukoposting | hmmmm, alright |
01:08:39 | ryukoposting | where did you extract that zip? |
01:09:00 | FromGitter | <viell> the c drice |
01:09:19 | FromGitter | <viell> my c directory |
01:09:29 | ryukoposting | alright, go to where you extracted it, and go to nim-0.19.4/bin/ |
01:09:32 | FromGitter | <viell> alongside other nim files |
01:09:42 | FromGitter | <viell> ok hold on |
01:10:17 | FromGitter | <viell> same |
01:10:59 | ryukoposting | so in that directory, there should be nim.exe, nimgrep.exe, some other executables, some DLLs, etc. |
01:11:02 | ryukoposting | you're seeing that? |
01:11:24 | FromGitter | <viell> it's just nim.exe |
01:11:32 | ryukoposting | o |
01:11:37 | ryukoposting | weird |
01:11:52 | ryukoposting | I have the windows zip open on my machine and i see all the stuff you need |
01:11:58 | FromGitter | <viell> weird doesn't even cover it |
01:12:41 | * | dddddd quit (Remote host closed the connection) |
01:12:55 | ryukoposting | I would say just download this guy https://nim-lang.org/download/nim-0.19.4_x64.zip |
01:13:17 | ryukoposting | replace the stuff you extracted before with this one |
01:13:25 | FromGitter | <brentp> @shashlick no problem. I'll debug more later. would be nice not to have to do the full struct definitions |
01:13:44 | FromGitter | <viell> more surprisingly, I downloaded Windows zip file from the website but build.bat and build64.bat were missing but they were in the Linux zip file |
01:14:09 | FromGitter | <viell> ok wait |
01:14:54 | ryukoposting | it sounds like you followed some really, really old instructions |
01:16:49 | FromGitter | <viell> the book I had was the 2017 edition, so...YEA |
01:17:01 | ryukoposting | oofda |
01:17:21 | ryukoposting | I've only been using nim for like 8 months, and even in that time period it has gotten waaaay easier to install |
01:17:34 | FromGitter | <viell> really? |
01:17:42 | * | noeontheend joined #nim |
01:17:45 | ryukoposting | yeah definitely |
01:18:01 | FromGitter | <viell> I've been over it for like 2 weeks to just install it!!!!!! |
01:18:07 | ryukoposting | both on windows and linux, though I haven't really touched a windows machine in a few months |
01:18:27 | ryukoposting | all the instructions you should need are on the website https://nim-lang.org/install_windows.html |
01:18:59 | ryukoposting | just download the zip, and then the text below the big yellow buttons will guide you through the process of installing it |
01:19:03 | FromGitter | <viell> I checked them once it says just run finish.exe |
01:19:09 | ryukoposting | yep |
01:19:26 | ryukoposting | you'll extract the zip to wherever you want it to be, then run finish.exe |
01:19:27 | FromGitter | <viell> but it didn't work |
01:19:40 | ryukoposting | what went wrong? |
01:20:33 | ryukoposting | I guess that's probably a dumb question of me... was there an error message? |
01:20:48 | FromGitter | <viell> the terminal just closed automatically |
01:20:59 | FromGitter | <viell> no |
01:21:07 | ryukoposting | iirc that means it worked |
01:21:09 | FromGitter | <viell> it was like a glitch |
01:21:37 | FromGitter | <viell> :-| |
01:22:04 | ryukoposting | succeed silently, fail as loudly and as safely as possible |
01:22:39 | FromGitter | <viell> it didn't.after all these stuff tha old instructions I did, the 'nim' directory apeard |
01:23:26 | ryukoposting | it doesn't need to do a whole lot, the compiler is already built for you and all that |
01:23:26 | * | rnrwashere quit (Remote host closed the connection) |
01:24:03 | ryukoposting | try deleting the whole nim directory you have right now, and just follow the website |
01:24:17 | FromGitter | <viell> so why did the nimble --version sounded like that? |
01:24:32 | ryukoposting | that's because you don't have nimble right now |
01:24:33 | FromGitter | <viell> > *<ryukoposting>* try deleting the whole nim directory you have right now, and just follow the website SERIOUSLY? |
01:24:54 | ryukoposting | you don't have nimble |
01:25:04 | FromGitter | <viell> means I can start programming now? |
01:25:28 | ryukoposting | well, you have the compiler |
01:25:42 | FromGitter | <viell> well enough |
01:25:51 | FromGitter | <viell> right? |
01:26:18 | ryukoposting | so if you added the directory that contains nim.exe to your PATH environment variable, you should be able to call the compiler from cmd and powershell |
01:26:21 | ryukoposting | so let's try that |
01:26:35 | ryukoposting | open up cmd or powershell again, and just do `nim --version` |
01:26:41 | FromGitter | <viell> aok |
01:27:06 | FromGitter | <viell> it's installed |
01:27:19 | ryukoposting | what version do you have, out of curiousity |
01:27:47 | FromGitter | <viell> Nim Compiler Version 0.19.4 |
01:27:56 | ryukoposting | alright, you're on the latest version, so that's good |
01:28:10 | FromGitter | <viell> :-) |
01:28:52 | ryukoposting | if you do `nim --help` it'll show you all the things you can tell the compiler to do |
01:29:00 | ryukoposting | or, well, most of the important things at least |
01:29:49 | FromGitter | <viell> I checked it |
01:29:54 | ryukoposting | and again, with regards to editors, VS Code is the de facto standard, but there are other options out there |
01:30:09 | FromGitter | <viell> how can I plug it in vs? |
01:30:19 | ryukoposting | VS Code, not VS |
01:30:52 | FromGitter | <viell> that one... |
01:31:25 | ryukoposting | I don't know VS Code well enough to guide you through that, but if it's anything like other editors of its ilk, it has a pretty little plugin installing thing built in |
01:31:53 | ryukoposting | almost like if you were installing an app on your phone or something |
01:32:53 | FromGitter | <viell> oooooooookay. I think I can handle from now on...tnx for help.it really really helped me. |
01:33:03 | ryukoposting | yeah, no problem |
01:33:12 | FromGitter | <viell> :-) |
01:33:23 | ryukoposting | you'll probably want to redo your installation eventually |
01:33:37 | ryukoposting | but while you're just starting out, what you have now should be fine |
01:34:09 | FromGitter | <viell> no please...2 weeks are long enough... |
01:34:46 | FromGitter | <viell> and even thinking about that annoys me |
01:34:48 | ryukoposting | well, hopefully this time it will be easier since you know the book's instructions are out of date lol |
01:35:11 | FromGitter | <viell> XD |
01:35:19 | ryukoposting | you also have the IRC/Gitter/Slack/whatever-else-is-connected-to-this-thing to help you out |
01:35:40 | FromGitter | <viell> yea I know.tnx again |
01:35:46 | ryukoposting | no problem |
01:39:40 | * | drw_ joined #nim |
01:40:04 | drw_ | Hi! |
01:40:11 | ryukoposting | hello |
01:41:05 | drw_ | Hey Ryu I watched your videos on iterators :) |
01:41:09 | ryukoposting | aaaaay |
01:41:28 | ryukoposting | im planning on making more soon, just v busy lately |
01:42:00 | drw_ | Why dont you put them on youtube, there is very little conthent there |
01:42:19 | * | noeontheend quit (Ping timeout: 250 seconds) |
01:44:09 | ryukoposting | there's a few reasons why I'm not using youtube |
01:44:39 | drw_ | Oh, why? |
01:45:13 | ryukoposting | The main one is that I want my videos to be easy to download, save, and share, and youtube actively tries to prevent users from doing that |
01:45:59 | ryukoposting | I suppose I could post on youtube and just mirror them on my site |
01:47:23 | * | rnrwashere joined #nim |
01:47:27 | drw_ | Like it or not, Youtube is main source for this kind of tutorials |
01:47:36 | * | rnrwashere quit (Remote host closed the connection) |
01:47:50 | * | rnrwashere joined #nim |
01:47:58 | drw_ | Question: I have the following error when trying to compile some OpenGL app on Ubuntu |
01:48:28 | drw_ | ../../.nimble/pkgs/opengl-1.2.0/opengl/private/prelude.nim(5, 10) Error: cannot open file: X |
01:49:04 | drw_ | when defined(linux) and not defined(android) and not defined(emscripten): import X, XLib, XUtil |
01:49:25 | drw_ | Where should X, XLib, XUtil be in the folder structure? |
01:49:47 | drw_ | im on 0.19.4 via choosenim |
01:50:32 | ryukoposting | I guess I don't see "everyone uses it" as a reason why I should use it, given that I have alternatives that put me in greater control of my content, and I don't really benefit from youtube's greater potential for random exposure since I'm catering to a highly specific audience and I have no interest in monetizing the videos |
01:50:36 | ryukoposting | but eh |
01:50:40 | ryukoposting | anyway |
01:51:19 | ryukoposting | that's a weird one, I haven't used nim's openGL stuff myself but I can try to troubleshoot it |
01:52:04 | ryukoposting | is there a nimble package I can pull in and build real quick? I'm not on ubuntu but I'm on another close relative of debian so I should be able to replicate whatever problem you're having |
01:54:32 | drw_ | .choosenim/toolchains/nim-0.19.4/tests/deps is the only location where X, XLib, XUtil are |
01:55:01 | ryukoposting | wait so you have the files? |
01:55:24 | drw_ | yes, but why are they in /tests? |
01:56:53 | ryukoposting | that is an excellent question |
01:57:13 | ryukoposting | is there a project I can build to see what I get? it could just be a missing nimble package or something |
01:58:18 | drw_ | https://bitbucket.org/DraganJanushevski/q3bsp/src/master/ |
01:58:21 | drw_ | try this |
01:59:46 | ryukoposting | built fine for me |
01:59:47 | ryukoposting | wat |
02:00:02 | * | rnrwashere quit (Remote host closed the connection) |
02:00:18 | * | rnrwashere joined #nim |
02:00:54 | ryukoposting | running on nim 0.19.4, linux amd64, nimble 0.9.0 |
02:02:01 | drw_ | hmmm... |
02:03:14 | ryukoposting | you're probably missing some x11 libraries then? maybe? |
02:04:41 | drw_ | you mean C libraries? |
02:04:59 | ryukoposting | try installing libx11-dev and libxext-dev |
02:05:08 | ryukoposting | yes, C libraries |
02:06:17 | ryukoposting | just run apt install libx11-dev libxext-dev, and see if that affects anything |
02:06:36 | drw_ | nope, same |
02:06:58 | ryukoposting | ok quick sanity check |
02:07:10 | ryukoposting | I cloned the repo you sent me, and ran nimble build |
02:07:12 | drw_ | do You have x11-1.0 folder in your nim installation? |
02:07:22 | ryukoposting | not sure, lemme take a look |
02:07:32 | ryukoposting | where's yours? |
02:07:55 | drw_ | in tests/deps :D |
02:08:20 | ryukoposting | yes, I do |
02:08:29 | * | sealmove joined #nim |
02:08:40 | drw_ | same place? |
02:08:43 | ryukoposting | I also have opengl-1.1.0/ in the same directory |
02:08:50 | ryukoposting | yep, same place |
02:09:04 | drw_ | damn :) |
02:09:57 | ryukoposting | looks like all of the files in there are just bindings to xlib |
02:10:03 | ryukoposting | more or less |
02:10:05 | ryukoposting | cd .. |
02:10:07 | drw_ | yap |
02:10:12 | ryukoposting | shoot wrong terminal lol |
02:11:35 | sealmove | shashlick: sorry I was afk. yeah i did the megatest but don't know what to look for |
02:12:00 | ryukoposting | drw_: can you run `apt list --installed | grep opengl` for me |
02:16:05 | * | rnrwashere quit (Remote host closed the connection) |
02:18:43 | drw_ | libqt5opengl5/artful,now 5.9.1+dfsg-10ubuntu1 amd64 [installed,automatic] python3-pyqt5.qtopengl/artful,now 5.7+dfsg-6 amd64 [installed,automatic] |
02:20:51 | drw_ | I have Mesa 17.2 and I can run OpenGL 3.3 |
02:22:20 | ryukoposting | my output is |
02:22:22 | ryukoposting | libopengl0-glvnd-nvidia/stable,now 390.87-8~deb9u1 amd64 [installed,automatic] |
02:23:00 | ryukoposting | I think you're missing libopengl |
02:23:24 | ryukoposting | you might have opengl but not the development libraries |
02:23:33 | * | rnrwashere joined #nim |
02:24:03 | ryukoposting | I would try `apt search`ing for libopengl |
02:24:55 | ryukoposting | er, well i guess that still wouldn't really explain the error you're getting |
02:25:47 | ryukoposting | ooooooh hold up |
02:25:56 | * | rnrwashere quit (Remote host closed the connection) |
02:26:09 | ryukoposting | drw_: run `ls ~/.nimble/pkgs` for me |
02:26:09 | drw_ | I cant even compile the program |
02:27:22 | * | vlad1777d quit (Ping timeout: 246 seconds) |
02:27:34 | drw_ | glm-1.1.1 opengl-1.2.0 sdl2-2.0 stb_image-2.3 x11-1.1 |
02:28:28 | drw_ | should i add x11-1.1 in the nimble file? |
02:28:52 | ryukoposting | possibly? |
02:29:00 | ryukoposting | it can't hurt, try giving that a shot |
02:29:11 | ryukoposting | I think it'd have to be `requires "x11"` |
02:29:28 | * | revere quit (Ping timeout: 246 seconds) |
02:29:58 | * | revere joined #nim |
02:30:37 | ryukoposting | i have all those packages, just a different version of x11 (glm-1.1.1, opengl-1.2.0, sdl2-2.0, x11-1.0) |
02:31:16 | * | rnrwashere joined #nim |
02:32:38 | drw_ | dependency satisfiet for x11 |
02:32:47 | drw_ | let me install easygl |
02:35:05 | drw_ | same thing, i think its sometning with the path config |
02:36:22 | ryukoposting | the name is probably just coincidental or something |
02:36:38 | ryukoposting | im looking at the file that's giving you an error rn |
02:39:48 | ryukoposting | that' |
02:39:59 | ryukoposting | that's just bizarre, sorry man I really have no idea |
02:40:59 | drw_ | haha np :D |
02:51:30 | leorize | drw_: looking at this https://github.com/nim-lang/opengl/commit/ad45daf0d4e3b94f919c74a3cbf02ba56fc6bdfe |
02:51:37 | leorize | I think you should install opengl package from git |
02:58:56 | drw_ | yay it worked! |
02:59:32 | drw_ | I just copyed-pasted the line import x11/X, x11/XLib, x11/XUtil |
03:02:37 | * | banc quit (Quit: Bye) |
03:06:39 | leorize | you should make your program use the newer opengl package :P |
03:10:38 | sealmove | guys, when I write a new tests, do I need to push files likes megatest? I mean the updated version that includes the new test? |
03:11:38 | leorize | iirc megatest is auto-generated |
03:17:42 | sealmove | yeah sure, but do I need to push it? |
03:18:03 | leorize | no, testament generates it on the fly |
03:18:25 | leorize | to see if you should push any file, check if it's tracked by git |
03:18:33 | leorize | if not then it's safe to leave them out |
03:25:39 | * | noonien quit (Quit: Connection closed for inactivity) |
03:27:49 | * | banc joined #nim |
03:33:11 | sealmove | git seems to track a lot of files for no reason... |
03:41:02 | * | leorize quit (Ping timeout: 258 seconds) |
03:42:41 | * | leorize joined #nim |
03:46:09 | sealmove | I don't get it... megatest passes but travis not |
03:48:58 | leorize | what do you mean? megatest passes on your pc but not on travis? |
03:49:03 | sealmove | "Error: execution of an external program failed: '/home/travis/build/nim-lang/Nim/testament/tester --pedantic all -d:nimCoroutines'" |
03:49:15 | sealmove | yeah |
03:49:39 | sealmove | I don't know what travis runs, but I run every test I could in every way locally, and they all pass |
03:49:50 | leorize | you'd need to scan above for 'ERROR:' :P |
03:50:03 | leorize | well passing on your pc doesn't mean that it'll pass on travis |
03:50:08 | leorize | the setup is quite different |
03:50:54 | sealmove | what do I need to do to understand the problem? |
03:58:59 | sealmove | "ERROR:" doesn't even appear anyway, except last line which says "Error: execution of an external program failed: '/home/travis/build/nim-lang/Nim/testament/tester --pedantic all -d:nimCoroutines'" |
03:59:32 | leorize | look above |
03:59:33 | leorize | search for ERROR: |
04:01:34 | sealmove | in job log right? |
04:03:16 | leorize | yea |
04:05:08 | sealmove | yeah, there are no "ERROR:"s |
04:05:45 | leorize | can I see the log? |
04:05:58 | sealmove | sure |
04:06:08 | sealmove | https://travis-ci.org/nim-lang/Nim/builds/500977916?utm_source=github_status&utm_medium=notification |
04:09:59 | leorize | "output different!" |
04:10:27 | sealmove | what does it mean? |
04:11:23 | sealmove | ohh I am stupid.... |
04:11:40 | sealmove | sorry this is my first test |
04:24:24 | * | rnrwashere quit (Remote host closed the connection) |
04:25:03 | sealmove | so tests MUST have a discard section? |
04:25:46 | sealmove | or at least if there is output... it has to be matched I guess |
04:26:42 | * | rnrwashere joined #nim |
04:32:25 | * | nsf joined #nim |
04:37:19 | leorize | if you are lazy, you can just verify the output silently with doAssert |
04:41:14 | * | rnrwashere quit (Remote host closed the connection) |
04:44:58 | * | rnrwashere joined #nim |
04:45:18 | ryukoposting | woooah https://www.youtube.com/watch?v=4rJEBs_Nnaw |
04:53:57 | shashlick | Was viell able to get Nim working on windows? |
04:54:18 | ryukoposting | he has the compiler but nothing else |
04:55:19 | ryukoposting | i don't remember where the book directs people but there should probably be a big sign there that says "no, go back over here" |
04:56:12 | shashlick | That's weird if he's downloaded the official zip |
04:57:49 | shashlick | the online zip has everything, just checked again |
04:59:15 | ryukoposting | yeah i have no idea what he did, he did the wrong thing but apparently he did it the right way because the compiler works for him |
05:05:38 | * | nsf quit (Quit: WeeChat 2.4) |
05:13:23 | shashlick | sealmove: have you had any luck? |
05:13:50 | sealmove | shashlick: no :/ I get "output different!" but don't know why |
05:13:59 | leorize | look above |
05:14:03 | leorize | there's a huge diff |
05:14:05 | shashlick | so i don't know how megatest works |
05:14:22 | shashlick | but it appears megatest doesn't print anything if it works |
05:14:26 | shashlick | cause expected output is blank |
05:14:34 | sealmove | oh wtf all this is a diff? |
05:14:45 | shashlick | actual output dies at vm/tzero_extend.nim |
05:14:55 | shashlick | so either your changes fail that test |
05:15:01 | shashlick | or the test that was JOINED afte rthat |
05:15:30 | shashlick | which is statictypes/t3784.nim |
05:15:36 | shashlick | look for those files further abov in the log |
05:16:00 | shashlick | so the idea of megatest is to consolidate all tests that can be run in one compile/exec run |
05:16:08 | shashlick | so any test marked as JOINED is consolidated into megatest |
05:16:31 | shashlick | the failure is just a guess |
05:18:11 | shashlick | so try running both those tests individually and see what happens |
05:20:14 | shashlick | but you said that megatest runs fine locally for you? |
05:21:04 | sealmove | yeah, if I understand correctly. also both vm/tzero_extend.nim and statictypes/t3784.nim pass |
05:21:11 | shashlick | note also that the test you added trepl.nim is also JOINED |
05:21:30 | shashlick | i don't know how megatest decides to join or not |
05:24:44 | shashlick | okay don't think my theory is right, trepl is joined after, but processed by megatest before |
05:26:30 | sealmove | so all we know is that a test from megatest fails |
05:26:44 | sealmove | is it usually obvious which test fails? |
05:28:18 | sealmove | hmm w8, i think i know what is happening |
05:28:28 | shashlick | no idea, need to see the coe |
05:30:35 | sealmove | i used "quit(0)" :S |
05:32:41 | sealmove | ok... I think it's impossible to write a test for my change, since it involves an infinity loop |
05:37:08 | sealmove | didn't expect "quit(0)" to quit the whole megatest xD |
05:39:18 | sealmove | anyway, I think it's solid, and with this change you can make your own nim secret without having to touch Nim repo :D |
05:40:35 | sealmove | (I used quit(0) in the test, which means my test broken the other tests xD not the actual changes) |
05:41:11 | * | rnrwashere quit (Remote host closed the connection) |
05:42:01 | shashlick | how did megatest print all that stuff then |
05:42:26 | * | rnrwashere joined #nim |
05:43:57 | sealmove | because the new output was just the string "OK" because the megatest program exited due to me calling "quit()" |
05:44:12 | sealmove | while it was expecting the output of all tests |
05:44:20 | sealmove | the big print thing is a diff |
05:48:40 | shashlick | okay well, at least you figured it out 😄 |
05:53:23 | leorize | sealmove: you can disable your test in megatest with the attribute "joined: false" in the discard section |
05:53:40 | leorize | that'll run your test outside of megatest |
05:53:49 | sealmove | leorize: or I can just delete it :P it's useless anyway |
05:53:54 | leorize | :P |
05:53:55 | sealmove | ohhh |
05:54:02 | sealmove | nice! thanks |
05:54:31 | leorize | doAssert is recommended over most forms of quit() :P |
05:54:48 | sealmove | yeah but.. it's a weird situation |
05:55:40 | sealmove | basically the only way is quit because an inf loop is supposed to happen, and the user of the repl will exit with C-d for example |
05:56:30 | sealmove | unless there is a way to terminate nim secret more smoothly (but I think there isn't) |
05:58:38 | leorize | quit 0 |
05:58:54 | leorize | ^ that's how you terminate nim secret |
06:15:45 | * | rnrwashere quit (Remote host closed the connection) |
06:16:17 | * | rnrwashere joined #nim |
06:17:51 | sealmove | haha |
06:20:54 | * | rnrwashere quit (Ping timeout: 264 seconds) |
06:25:42 | * | sealmove quit (Quit: WeeChat 2.4) |
06:40:55 | * | zahary quit (Quit: Connection closed for inactivity) |
06:48:37 | FromGitter | <Varriount> Ctrl-c quits Nim secret too, I think |
06:54:20 | * | nsf joined #nim |
06:58:51 | * | rnrwashere joined #nim |
07:12:48 | Zevv | ^D as well |
07:18:14 | * | rnrwashe_ joined #nim |
07:20:27 | * | rnrwashere quit (Ping timeout: 264 seconds) |
07:43:29 | * | NimBot joined #nim |
08:00:00 | * | gmpreussner_ quit (Quit: kthxbye) |
08:04:31 | * | gmpreussner joined #nim |
08:33:06 | * | Vladar joined #nim |
08:48:23 | * | rnrwashe_ quit (Remote host closed the connection) |
08:49:07 | * | rnrwashere joined #nim |
08:52:03 | * | rnrwashere quit (Remote host closed the connection) |
08:52:18 | * | rnrwashere joined #nim |
09:35:59 | * | ng0 joined #nim |
10:10:02 | * | Vladar quit (Remote host closed the connection) |
10:22:41 | * | drw_ quit (Ping timeout: 256 seconds) |
10:29:44 | * | dddddd joined #nim |
10:30:48 | * | Pisuke joined #nim |
10:31:19 | * | MyMind quit (Ping timeout: 244 seconds) |
11:11:59 | * | lritter joined #nim |
12:15:49 | * | rnrwashere quit (Remote host closed the connection) |
12:28:07 | * | nsf quit (Quit: WeeChat 2.4) |
12:40:53 | FromGitter | <gogolxdong> How to show the stack strace of JS backend, got SIGSEGV: Illegal storage access. (Attempt to read from nil?) |
12:42:06 | * | Sembei joined #nim |
12:42:14 | * | Pisuke quit (Ping timeout: 250 seconds) |
13:19:55 | * | noonien joined #nim |
13:47:14 | leorize | gogolxdong: --stacktrace:on doesn't work? |
13:47:34 | * | narimiran joined #nim |
13:50:01 | * | theelous3_ joined #nim |
13:50:32 | FromGitter | <arnetheduck> is https://github.com/nim-lang/Nim/blob/devel/compiler/nim.nim#L93 still true? |
13:54:04 | FromGitter | <gogolxdong> @leorize , no , it doesn't. |
13:54:22 | * | tensortom quit (Remote host closed the connection) |
13:54:39 | * | tensortom joined #nim |
13:55:03 | FromGitter | <gogolxdong> I wonder what the code trying to read from nil is . |
14:07:46 | FromGitter | <gogolxdong> I even don't know how to write a code reading from nil properly. |
14:08:10 | * | disruptek quit (Ping timeout: 257 seconds) |
14:08:23 | * | theelous3_ quit (Read error: Connection timed out) |
14:08:50 | * | theelous3_ joined #nim |
14:25:22 | * | theelous3_ quit (Ping timeout: 244 seconds) |
14:26:37 | * | rnrwashere joined #nim |
14:31:06 | * | rnrwashere quit (Ping timeout: 264 seconds) |
14:32:22 | * | disruptek joined #nim |
14:35:56 | * | vlad1777d joined #nim |
14:41:57 | * | smitop joined #nim |
14:42:32 | smitop | All nimscript file implicitly `import nimscript`, right? |
14:49:12 | * | Vladar joined #nim |
15:20:55 | * | stefanos82 joined #nim |
15:40:47 | * | narimiran quit (Remote host closed the connection) |
15:41:14 | FromGitter | <Varriount> Yes |
15:41:22 | * | narimiran joined #nim |
15:47:12 | * | theelous3_ joined #nim |
15:49:17 | * | chimez joined #nim |
15:49:26 | * | chimez quit (Client Quit) |
16:06:53 | * | Vladar quit (Remote host closed the connection) |
16:11:35 | * | Vladar joined #nim |
16:15:46 | * | abm joined #nim |
16:29:57 | * | narimiran quit (Remote host closed the connection) |
16:30:30 | * | narimiran joined #nim |
16:54:43 | * | Trustable joined #nim |
17:00:17 | * | rnrwashere joined #nim |
17:02:08 | FromGitter | <zetashift> The `.this ` is deprecated, what should one use instead? Or just refactor to not use it? |
17:04:01 | * | rnrwashere quit (Remote host closed the connection) |
17:07:27 | * | rnrwashere joined #nim |
17:08:31 | leorize | zetashift: yep |
17:11:18 | * | smitop quit (Quit: Connection closed for inactivity) |
17:26:22 | * | narimiran_ joined #nim |
17:28:43 | * | narimiran quit (Ping timeout: 268 seconds) |
17:36:03 | FromDiscord | <Zireael> how would I write bindings for a js lib that has namespaces? do I bind "whatever" or "NAME.whatever"? |
17:44:15 | * | Vladar quit (Remote host closed the connection) |
18:10:20 | * | rnrwashere quit (Remote host closed the connection) |
18:11:47 | * | rnrwashere joined #nim |
18:16:09 | * | rnrwashere quit (Ping timeout: 252 seconds) |
18:17:06 | * | brakmic joined #nim |
18:48:46 | FromGitter | <Varriount> Zireael: The latter, I think. |
18:52:58 | * | brakmic quit (Read error: Connection reset by peer) |
18:53:03 | * | brakmic_ joined #nim |
18:54:47 | * | nsf joined #nim |
19:01:32 | * | Senketsu_ joined #nim |
19:04:22 | * | Senketsu quit (Ping timeout: 244 seconds) |
19:12:40 | FromGitter | <zetashift> My godot-nim project compiles fine on 0.19.2 but on latest devel I get the error `cl : Command line warning D9002 : ignoring unknown option '--platform:amd64' ⏎ LIBCMT.lib(chkstk.obj) : fatal error LNK1112: module machine type 'X86' conflicts with target machine type 'x64' ` which seems to be on the vcc side, do I have something configured wrong or should I file a bug report? |
19:22:57 | * | brakmic joined #nim |
19:24:46 | * | rnrwashere joined #nim |
19:26:32 | * | brakmic_ quit (Ping timeout: 250 seconds) |
19:44:09 | ryukoposting | anyone know how compile-time json stuff is going? |
19:53:48 | solitudesf | it works now |
19:54:06 | ryukoposting | that gives me warm fuzzy feelings |
19:54:34 | solitudesf | https://github.com/nim-lang/Nim/pull/10746 |
19:54:46 | ryukoposting | i've been working one some basic proof-of-concept stuff, should be helpful as I dig deeper into this |
20:16:54 | * | rnrwashere quit (Remote host closed the connection) |
20:21:00 | ryukoposting | https://lewd.pics/p/JXc5.png |
20:21:25 | ryukoposting | basic JSON -> Nim AST conversion |
20:39:31 | * | noonien quit (Quit: Connection closed for inactivity) |
20:48:53 | * | krux02 joined #nim |
20:53:08 | * | lritter quit (Quit: Leaving) |
20:53:48 | * | brakmic quit (Remote host closed the connection) |
20:56:55 | * | brakmic joined #nim |
20:59:20 | * | brakmic quit (Remote host closed the connection) |
20:59:40 | * | brakmic joined #nim |
21:15:20 | * | rnrwashere joined #nim |
21:18:34 | * | brakmic quit (Read error: Connection reset by peer) |
21:18:40 | * | brakmic_ joined #nim |
21:21:21 | * | Trustable quit (Remote host closed the connection) |
21:25:06 | * | narimiran_ quit (Remote host closed the connection) |
21:27:31 | * | noonien joined #nim |
21:30:04 | * | nsf quit (Quit: WeeChat 2.4) |
21:48:29 | * | brakmic joined #nim |
21:52:08 | * | brakmic_ quit (Ping timeout: 250 seconds) |
21:57:27 | * | brakmic quit (Ping timeout: 240 seconds) |
21:59:09 | * | brakmic joined #nim |
22:45:21 | FromGitter | <Varriount> ryukoposting: If you're aiming to convert the JSON api definitions that Boto3 uses, would build your parsing code around the concenpts the APII definitions use. |
22:45:26 | FromGitter | <Varriount> *I would |
23:01:20 | * | brakmic_ joined #nim |
23:02:06 | * | brakmic quit (Read error: Connection reset by peer) |
23:14:23 | * | brakmic_ quit () |
23:14:23 | * | rnrwashere quit (Remote host closed the connection) |
23:25:43 | * | Cadair joined #nim |
23:58:56 | * | flyx quit (Quit: ZNC - http://znc.in) |
23:59:13 | * | flyx joined #nim |