<< 03-03-2019 >>

00:01:44*tensortom joined #nim
00:03:18tensortomdoes windows default security allow an app to open a local port for the purpose of inter-process communication without prompting the user?
00:04:05FromDiscord<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:13tensortomnvm. asynctools has great stuff
00:16:31*seni quit (Quit: Leaving)
00:16:42*noeontheend quit (Ping timeout: 264 seconds)
00:44:28shashlick@sealmove did you try the megatest locally
00:44:53shashlick@brentp sorry not able to check now, do you have the error output
00:48:27FromGitter<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:39ryukopostingalright, 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:33ryukopostingviell 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:27shashlickviell: how did you install Nim
00:50:46shashlickryukoposting which os
00:50:57shashlickWe now have Linux binaries
00:51:04ryukopostingdevuan ascii
00:51:12ryukopostingwhich is basically debian
00:52:09ryukopostingviell: 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:00ryukopostingotherwise, 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:33ryukopostingshashlick: 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:29FromGitter<viell> @FromIRC from the book
00:58:39shashlickNothing is ever wasted
00:59:04shashlickMight be useful for someone as well
00:59:10ryukopostingif nothing else, I guess it's good resume padding "knows docker, kinda"
00:59:12FromGitter<viell> @FromIRC oh ok
01:00:01shashlickFromIRC is a bridge bot, I'm shashlick
01:00:46FromGitter<viell> come onnnnnn.!!! I know... I just reply..
01:00:57ryukopostinglol it's all good
01:01:27ryukopostinghave you tried just opening up notepad, making a file that just contains `echo "hello, world!"` and compiling that?
01:01:50ryukopostingthat should be a decent indicator that things are working right
01:02:19FromGitter<viell> no I just checked if nim is installed correctly said in the book and yes it was
01:02:25FromGitter<viell> but not nimble.
01:02:47FromGitter<viell> is there any differences?
01:03:21FromGitter<viell> I thought -maybe not sure- the compiler of nim is called nimble, right>
01:03:28ryukopostingnot completely sure, windows has a different workflow for getting stuff installed
01:03:39ryukopostingnimble is the package manager and build tool
01:03:47FromGitter<viell> oh
01:04:04ryukopostingkinda like if pip and make were a single thing and didn't suck
01:04:16FromGitter<viell> lol
01:04:40FromGitter<viell> now how can I install nimble?
01:04:52*Jesin joined #nim
01:04:53ryukopostingdon't worry though, from what I can tell, most of the nim devs use windows so the support is solid
01:05:08FromGitter<viell> coz GitHub approach didn't work...with koch tool I mean
01:05:13ryukopostinglemme take a look, one sec
01:05:21FromGitter<viell> ok
01:05:57ryukopostingi think it might already be installed, assuming you installed it via the website
01:06:25FromGitter<viell> website and the book and videos from YouTube...
01:06:28FromGitter<viell> :-)
01:06:32ryukopostinghttps://nim-lang.org/install_windows.html this?
01:06:42FromGitter<viell> yea
01:07:11ryukopostingassuming you ran finish.exe and set your PATH correctly, you should be all good
01:07:42FromGitter<viell> yes those are done.does that mean nimble is also installed?
01:07:43ryukopostingtry opening up cmd or powershell, and run `nimble --version`
01:08:13FromGitter<viell> 'nimble' is not recognized as an internal or external command, ⏎ operable program or batch file.
01:08:30FromGitter<viell> I don't think it's installed
01:08:31ryukopostinghmmmm, alright
01:08:39ryukopostingwhere did you extract that zip?
01:09:00FromGitter<viell> the c drice
01:09:19FromGitter<viell> my c directory
01:09:29ryukopostingalright, go to where you extracted it, and go to nim-0.19.4/bin/
01:09:32FromGitter<viell> alongside other nim files
01:09:42FromGitter<viell> ok hold on
01:10:17FromGitter<viell> same
01:10:59ryukopostingso in that directory, there should be nim.exe, nimgrep.exe, some other executables, some DLLs, etc.
01:11:02ryukopostingyou're seeing that?
01:11:24FromGitter<viell> it's just nim.exe
01:11:32ryukopostingo
01:11:37ryukopostingweird
01:11:52ryukopostingI have the windows zip open on my machine and i see all the stuff you need
01:11:58FromGitter<viell> weird doesn't even cover it
01:12:41*dddddd quit (Remote host closed the connection)
01:12:55ryukopostingI would say just download this guy https://nim-lang.org/download/nim-0.19.4_x64.zip
01:13:17ryukopostingreplace the stuff you extracted before with this one
01:13:25FromGitter<brentp> @shashlick no problem. I'll debug more later. would be nice not to have to do the full struct definitions
01:13:44FromGitter<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:09FromGitter<viell> ok wait
01:14:54ryukopostingit sounds like you followed some really, really old instructions
01:16:49FromGitter<viell> the book I had was the 2017 edition, so...YEA
01:17:01ryukopostingoofda
01:17:21ryukopostingI've only been using nim for like 8 months, and even in that time period it has gotten waaaay easier to install
01:17:34FromGitter<viell> really?
01:17:42*noeontheend joined #nim
01:17:45ryukopostingyeah definitely
01:18:01FromGitter<viell> I've been over it for like 2 weeks to just install it!!!!!!
01:18:07ryukopostingboth on windows and linux, though I haven't really touched a windows machine in a few months
01:18:27ryukopostingall the instructions you should need are on the website https://nim-lang.org/install_windows.html
01:18:59ryukopostingjust download the zip, and then the text below the big yellow buttons will guide you through the process of installing it
01:19:03FromGitter<viell> I checked them once it says just run finish.exe
01:19:09ryukopostingyep
01:19:26ryukopostingyou'll extract the zip to wherever you want it to be, then run finish.exe
01:19:27FromGitter<viell> but it didn't work
01:19:40ryukopostingwhat went wrong?
01:20:33ryukopostingI guess that's probably a dumb question of me... was there an error message?
01:20:48FromGitter<viell> the terminal just closed automatically
01:20:59FromGitter<viell> no
01:21:07ryukopostingiirc that means it worked
01:21:09FromGitter<viell> it was like a glitch
01:21:37FromGitter<viell> :-|
01:22:04ryukopostingsucceed silently, fail as loudly and as safely as possible
01:22:39FromGitter<viell> it didn't.after all these stuff tha old instructions I did, the 'nim' directory apeard
01:23:26ryukopostingit 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:03ryukopostingtry deleting the whole nim directory you have right now, and just follow the website
01:24:17FromGitter<viell> so why did the nimble --version sounded like that?
01:24:32ryukopostingthat's because you don't have nimble right now
01:24:33FromGitter<viell> > *<ryukoposting>* try deleting the whole nim directory you have right now, and just follow the website SERIOUSLY?
01:24:54ryukopostingyou don't have nimble
01:25:04FromGitter<viell> means I can start programming now?
01:25:28ryukopostingwell, you have the compiler
01:25:42FromGitter<viell> well enough
01:25:51FromGitter<viell> right?
01:26:18ryukopostingso 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:21ryukopostingso let's try that
01:26:35ryukopostingopen up cmd or powershell again, and just do `nim --version`
01:26:41FromGitter<viell> aok
01:27:06FromGitter<viell> it's installed
01:27:19ryukopostingwhat version do you have, out of curiousity
01:27:47FromGitter<viell> Nim Compiler Version 0.19.4
01:27:56ryukopostingalright, you're on the latest version, so that's good
01:28:10FromGitter<viell> :-)
01:28:52ryukopostingif you do `nim --help` it'll show you all the things you can tell the compiler to do
01:29:00ryukopostingor, well, most of the important things at least
01:29:49FromGitter<viell> I checked it
01:29:54ryukopostingand again, with regards to editors, VS Code is the de facto standard, but there are other options out there
01:30:09FromGitter<viell> how can I plug it in vs?
01:30:19ryukopostingVS Code, not VS
01:30:52FromGitter<viell> that one...
01:31:25ryukopostingI 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:53ryukopostingalmost like if you were installing an app on your phone or something
01:32:53FromGitter<viell> oooooooookay. I think I can handle from now on...tnx for help.it really really helped me.
01:33:03ryukopostingyeah, no problem
01:33:12FromGitter<viell> :-)
01:33:23ryukopostingyou'll probably want to redo your installation eventually
01:33:37ryukopostingbut while you're just starting out, what you have now should be fine
01:34:09FromGitter<viell> no please...2 weeks are long enough...
01:34:46FromGitter<viell> and even thinking about that annoys me
01:34:48ryukopostingwell, hopefully this time it will be easier since you know the book's instructions are out of date lol
01:35:11FromGitter<viell> XD
01:35:19ryukopostingyou also have the IRC/Gitter/Slack/whatever-else-is-connected-to-this-thing to help you out
01:35:40FromGitter<viell> yea I know.tnx again
01:35:46ryukopostingno problem
01:39:40*drw_ joined #nim
01:40:04drw_Hi!
01:40:11ryukopostinghello
01:41:05drw_Hey Ryu I watched your videos on iterators :)
01:41:09ryukopostingaaaaay
01:41:28ryukopostingim planning on making more soon, just v busy lately
01:42:00drw_Why dont you put them on youtube, there is very little conthent there
01:42:19*noeontheend quit (Ping timeout: 250 seconds)
01:44:09ryukopostingthere's a few reasons why I'm not using youtube
01:44:39drw_Oh, why?
01:45:13ryukopostingThe 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:59ryukopostingI suppose I could post on youtube and just mirror them on my site
01:47:23*rnrwashere joined #nim
01:47:27drw_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:58drw_Question: I have the following error when trying to compile some OpenGL app on Ubuntu
01:48:28drw_../../.nimble/pkgs/opengl-1.2.0/opengl/private/prelude.nim(5, 10) Error: cannot open file: X
01:49:04drw_when defined(linux) and not defined(android) and not defined(emscripten): import X, XLib, XUtil
01:49:25drw_Where should X, XLib, XUtil be in the folder structure?
01:49:47drw_im on 0.19.4 via choosenim
01:50:32ryukopostingI 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:36ryukopostingbut eh
01:50:40ryukopostinganyway
01:51:19ryukopostingthat's a weird one, I haven't used nim's openGL stuff myself but I can try to troubleshoot it
01:52:04ryukopostingis 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:32drw_.choosenim/toolchains/nim-0.19.4/tests/deps is the only location where X, XLib, XUtil are
01:55:01ryukopostingwait so you have the files?
01:55:24drw_yes, but why are they in /tests?
01:56:53ryukopostingthat is an excellent question
01:57:13ryukopostingis there a project I can build to see what I get? it could just be a missing nimble package or something
01:58:18drw_https://bitbucket.org/DraganJanushevski/q3bsp/src/master/
01:58:21drw_try this
01:59:46ryukopostingbuilt fine for me
01:59:47ryukopostingwat
02:00:02*rnrwashere quit (Remote host closed the connection)
02:00:18*rnrwashere joined #nim
02:00:54ryukopostingrunning on nim 0.19.4, linux amd64, nimble 0.9.0
02:02:01drw_hmmm...
02:03:14ryukopostingyou're probably missing some x11 libraries then? maybe?
02:04:41drw_you mean C libraries?
02:04:59ryukopostingtry installing libx11-dev and libxext-dev
02:05:08ryukopostingyes, C libraries
02:06:17ryukopostingjust run apt install libx11-dev libxext-dev, and see if that affects anything
02:06:36drw_nope, same
02:06:58ryukopostingok quick sanity check
02:07:10ryukopostingI cloned the repo you sent me, and ran nimble build
02:07:12drw_do You have x11-1.0 folder in your nim installation?
02:07:22ryukopostingnot sure, lemme take a look
02:07:32ryukopostingwhere's yours?
02:07:55drw_in tests/deps :D
02:08:20ryukopostingyes, I do
02:08:29*sealmove joined #nim
02:08:40drw_same place?
02:08:43ryukopostingI also have opengl-1.1.0/ in the same directory
02:08:50ryukopostingyep, same place
02:09:04drw_damn :)
02:09:57ryukopostinglooks like all of the files in there are just bindings to xlib
02:10:03ryukopostingmore or less
02:10:05ryukopostingcd ..
02:10:07drw_yap
02:10:12ryukopostingshoot wrong terminal lol
02:11:35sealmoveshashlick: sorry I was afk. yeah i did the megatest but don't know what to look for
02:12:00ryukopostingdrw_: can you run `apt list --installed | grep opengl` for me
02:16:05*rnrwashere quit (Remote host closed the connection)
02:18:43drw_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:51drw_I have Mesa 17.2 and I can run OpenGL 3.3
02:22:20ryukopostingmy output is
02:22:22ryukopostinglibopengl0-glvnd-nvidia/stable,now 390.87-8~deb9u1 amd64 [installed,automatic]
02:23:00ryukopostingI think you're missing libopengl
02:23:24ryukopostingyou might have opengl but not the development libraries
02:23:33*rnrwashere joined #nim
02:24:03ryukopostingI would try `apt search`ing for libopengl
02:24:55ryukopostinger, well i guess that still wouldn't really explain the error you're getting
02:25:47ryukopostingooooooh hold up
02:25:56*rnrwashere quit (Remote host closed the connection)
02:26:09ryukopostingdrw_: run `ls ~/.nimble/pkgs` for me
02:26:09drw_I cant even compile the program
02:27:22*vlad1777d quit (Ping timeout: 246 seconds)
02:27:34drw_glm-1.1.1 opengl-1.2.0 sdl2-2.0 stb_image-2.3 x11-1.1
02:28:28drw_should i add x11-1.1 in the nimble file?
02:28:52ryukopostingpossibly?
02:29:00ryukopostingit can't hurt, try giving that a shot
02:29:11ryukopostingI 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:37ryukopostingi 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:38drw_dependency satisfiet for x11
02:32:47drw_let me install easygl
02:35:05drw_same thing, i think its sometning with the path config
02:36:22ryukopostingthe name is probably just coincidental or something
02:36:38ryukopostingim looking at the file that's giving you an error rn
02:39:48ryukopostingthat'
02:39:59ryukopostingthat's just bizarre, sorry man I really have no idea
02:40:59drw_haha np :D
02:51:30leorizedrw_: looking at this https://github.com/nim-lang/opengl/commit/ad45daf0d4e3b94f919c74a3cbf02ba56fc6bdfe
02:51:37leorizeI think you should install opengl package from git
02:58:56drw_yay it worked!
02:59:32drw_I just copyed-pasted the line import x11/X, x11/XLib, x11/XUtil
03:02:37*banc quit (Quit: Bye)
03:06:39leorizeyou should make your program use the newer opengl package :P
03:10:38sealmoveguys, 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:38leorizeiirc megatest is auto-generated
03:17:42sealmoveyeah sure, but do I need to push it?
03:18:03leorizeno, testament generates it on the fly
03:18:25leorizeto see if you should push any file, check if it's tracked by git
03:18:33leorizeif 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:11sealmovegit 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:09sealmoveI don't get it... megatest passes but travis not
03:48:58leorizewhat do you mean? megatest passes on your pc but not on travis?
03:49:03sealmove"Error: execution of an external program failed: '/home/travis/build/nim-lang/Nim/testament/tester --pedantic all -d:nimCoroutines'"
03:49:15sealmoveyeah
03:49:39sealmoveI don't know what travis runs, but I run every test I could in every way locally, and they all pass
03:49:50leorizeyou'd need to scan above for 'ERROR:' :P
03:50:03leorizewell passing on your pc doesn't mean that it'll pass on travis
03:50:08leorizethe setup is quite different
03:50:54sealmovewhat do I need to do to understand the problem?
03:58:59sealmove"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:32leorizelook above
03:59:33leorizesearch for ERROR:
04:01:34sealmovein job log right?
04:03:16leorizeyea
04:05:08sealmoveyeah, there are no "ERROR:"s
04:05:45leorizecan I see the log?
04:05:58sealmovesure
04:06:08sealmovehttps://travis-ci.org/nim-lang/Nim/builds/500977916?utm_source=github_status&utm_medium=notification
04:09:59leorize"output different!"
04:10:27sealmovewhat does it mean?
04:11:23sealmoveohh I am stupid....
04:11:40sealmovesorry this is my first test
04:24:24*rnrwashere quit (Remote host closed the connection)
04:25:03sealmoveso tests MUST have a discard section?
04:25:46sealmoveor 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:19leorizeif 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:18ryukopostingwoooah https://www.youtube.com/watch?v=4rJEBs_Nnaw
04:53:57shashlickWas viell able to get Nim working on windows?
04:54:18ryukopostinghe has the compiler but nothing else
04:55:19ryukopostingi 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:12shashlickThat's weird if he's downloaded the official zip
04:57:49shashlickthe online zip has everything, just checked again
04:59:15ryukopostingyeah 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:23shashlicksealmove: have you had any luck?
05:13:50sealmoveshashlick: no :/ I get "output different!" but don't know why
05:13:59leorizelook above
05:14:03leorizethere's a huge diff
05:14:05shashlickso i don't know how megatest works
05:14:22shashlickbut it appears megatest doesn't print anything if it works
05:14:26shashlickcause expected output is blank
05:14:34sealmoveoh wtf all this is a diff?
05:14:45shashlickactual output dies at vm/tzero_extend.nim
05:14:55shashlickso either your changes fail that test
05:15:01shashlickor the test that was JOINED afte rthat
05:15:30shashlickwhich is statictypes/t3784.nim
05:15:36shashlicklook for those files further abov in the log
05:16:00shashlickso the idea of megatest is to consolidate all tests that can be run in one compile/exec run
05:16:08shashlickso any test marked as JOINED is consolidated into megatest
05:16:31shashlickthe failure is just a guess
05:18:11shashlickso try running both those tests individually and see what happens
05:20:14shashlickbut you said that megatest runs fine locally for you?
05:21:04sealmoveyeah, if I understand correctly. also both vm/tzero_extend.nim and statictypes/t3784.nim pass
05:21:11shashlicknote also that the test you added trepl.nim is also JOINED
05:21:30shashlicki don't know how megatest decides to join or not
05:24:44shashlickokay don't think my theory is right, trepl is joined after, but processed by megatest before
05:26:30sealmoveso all we know is that a test from megatest fails
05:26:44sealmoveis it usually obvious which test fails?
05:28:18sealmovehmm w8, i think i know what is happening
05:28:28shashlickno idea, need to see the coe
05:30:35sealmovei used "quit(0)" :S
05:32:41sealmoveok... I think it's impossible to write a test for my change, since it involves an infinity loop
05:37:08sealmovedidn't expect "quit(0)" to quit the whole megatest xD
05:39:18sealmoveanyway, 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:35sealmove(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:01shashlickhow did megatest print all that stuff then
05:42:26*rnrwashere joined #nim
05:43:57sealmovebecause the new output was just the string "OK" because the megatest program exited due to me calling "quit()"
05:44:12sealmovewhile it was expecting the output of all tests
05:44:20sealmovethe big print thing is a diff
05:48:40shashlickokay well, at least you figured it out 😄
05:53:23leorizesealmove: you can disable your test in megatest with the attribute "joined: false" in the discard section
05:53:40leorizethat'll run your test outside of megatest
05:53:49sealmoveleorize: or I can just delete it :P it's useless anyway
05:53:54leorize:P
05:53:55sealmoveohhh
05:54:02sealmovenice! thanks
05:54:31leorizedoAssert is recommended over most forms of quit() :P
05:54:48sealmoveyeah but.. it's a weird situation
05:55:40sealmovebasically 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:30sealmoveunless there is a way to terminate nim secret more smoothly (but I think there isn't)
05:58:38leorizequit 0
05:58:54leorize^ 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:51sealmovehaha
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:37FromGitter<Varriount> Ctrl-c quits Nim secret too, I think
06:54:20*nsf joined #nim
06:58:51*rnrwashere joined #nim
07:12:48Zevv^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:53FromGitter<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:14leorizegogolxdong: --stacktrace:on doesn't work?
13:47:34*narimiran joined #nim
13:50:01*theelous3_ joined #nim
13:50:32FromGitter<arnetheduck> is https://github.com/nim-lang/Nim/blob/devel/compiler/nim.nim#L93 still true?
13:54:04FromGitter<gogolxdong> @leorize , no , it doesn't.
13:54:22*tensortom quit (Remote host closed the connection)
13:54:39*tensortom joined #nim
13:55:03FromGitter<gogolxdong> I wonder what the code trying to read from nil is .
14:07:46FromGitter<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:32smitopAll 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:14FromGitter<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:08FromGitter<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:31leorizezetashift: 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:03FromDiscord<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:46FromGitter<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:40FromGitter<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:09ryukopostinganyone know how compile-time json stuff is going?
19:53:48solitudesfit works now
19:54:06ryukopostingthat gives me warm fuzzy feelings
19:54:34solitudesfhttps://github.com/nim-lang/Nim/pull/10746
19:54:46ryukopostingi'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:00ryukopostinghttps://lewd.pics/p/JXc5.png
20:21:25ryukopostingbasic 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:21FromGitter<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:26FromGitter<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