<< 24-10-2015 >>

00:23:14*jaco60 quit (Ping timeout: 246 seconds)
00:30:15*dashed joined #nim
00:31:10*Matthias247 quit (Read error: Connection reset by peer)
01:36:58desophoshow do i create runnable binaries (including dependencies) from my Nim code?
01:37:12desophoslike the compiler will produce the binaries but i need to include the deps
01:47:35*pairayd joined #nim
01:53:36desophosi know nothing about distribution :p i guess i have to include the dlls
01:55:23pairaydHow would I get the nth element in a Slice? For example, getting the 5th letter via `'a'..'z'. Using [] gives me a type mismatch error.
01:56:46*Varriount joined #nim
01:57:31*brson quit (Quit: leaving)
02:05:36desophoshow can i programmatically get the location of my running executable?
02:07:52desophosnever mind, os.getAppDir looks like the right thing
02:08:16*Varriount quit (Ping timeout: 265 seconds)
02:23:00*lazypenguin joined #nim
02:26:13*Mudak quit (Quit: bbs)
02:26:25*strcmp1 joined #nim
02:28:40*toad joined #nim
02:29:27*Varriount joined #nim
02:29:44VarriountUgh. I feel dirty.
02:29:55toadVarriount: :O
02:30:00toadHello, why is that?
02:30:20VarriountI used a very dirty hack to continue cross-version support for Nim's sublime text plugin
02:30:30toaddom96 Love your kernel ;)
02:30:42toad0_o how dirty?
02:31:20Varriounttoad: Ok, so some of the new code uses 'exec' because of syntax changes between Python versions
02:32:19toadPython is always dirty IMO :P
02:32:32VarriountThe problem is that 'exec' was a statement in python 2.6 (which Sublime Text 2 uses) and is a function in Python 3.0+ (which is what Sublime Text 3 uses)
02:32:45cazovugh
02:33:01cazovfrom __future__ import wait not python 2.6
02:33:13Varriountcazov: Can't, unfortunately.
02:33:17toadI get ya
02:33:19cazovhence
02:34:41Varriountcazov, toad: https://gist.github.com/Varriount/5c70ccf26bba78eb4d1b
02:34:57cazovnice
02:35:01toadLOL
02:35:04toadThat is easy
02:35:14Varriounttoad: Doesn't make it any less horrid.
02:35:29cazovit's hidden in once place
02:35:39toadVarriount: starred :p I actually like it
02:35:48toadDirty or not, it works and is efficient
02:36:06Varriountcazov: What's ironic is that the problem it solves is the one I had to overcome.
02:36:07cazovfor what it's worth that's how i'd solve the problem, too
02:36:54Varriountcazov: I'm in a situation where I need to use the new 'yield from X' syntax in Python 3.3, however that causes a syntax error in previous versions.
02:37:09cazovouch
02:37:59Varriountcazov: At least the plugin now has an uncaught error notification system, which should make bug reporting easier.
02:38:09Varriount(That's the purpose of all this code)
02:38:25cazovahh, gotcha
02:38:44cazovis sublime text all it's cracked up to be?
02:39:03Varriountcazov: The plugin system is nice, if a tad limited in some respects.
02:39:13VarriountAlthough, I understand that's changing in ST3
02:39:37VarriountThe major pain comes from me trying to support both versions at once.
02:40:01cazovthe only reason i still use vim is because of vertical selection and `that's what i bothered to learn in school` but it's honestly not something that's friendly to my excessive fatfingering or tool laziness
02:40:07cazovyeah
02:40:21Varriountcazov: I believe both versions of Sublime Text have a vim mode.
02:41:06cazoveh, the keystroke stuff is w/e. it's mostly the c/<shift>+i on vertical selection stuff
02:41:30cazovand the occasional macro that i use vim for
02:41:48toadIm trying to get a nim os up with a terminal
02:41:57Varriountcazov: Could you explain the vertical selection?
02:42:19toadWho needs GUIs :P ?
02:42:23Varriounttoad: You actually got the Nim kernel to compile? I can't remember when that code was last touched.
02:42:40toadVarriount: It compiles fine
02:42:47toadBut I wrote new code
02:42:47pairaydcazov, Sublime has vertical selection.
02:42:53toadThat was reference, not a base
02:43:37toadIm hooking up the keyboard now (to the software)
02:43:59cazovVarriount, so like say your text is an x,y cell grid, vim can select a subset of that in both dimensions
02:46:00pairaydcazov, Sublime has multiple cursors, so you can extend the cursors across multiple lines and either type or select. Like, if you wanted to delete '#' from 5 lines, in Vim, you could CTRL+V, 4j, I, DEL. Sublime you can CTRL+ALT+Down * 4, HOME, DEL.
02:46:27*Kingsquee joined #nim
02:46:33cazovalright, sounds pretty much more or less the same thing
02:46:41pairaydYep.
02:47:54cazovthanks, i'll check it out soon, after i finish my battle with msp430-gcc
02:48:48*Varriount_ joined #nim
02:49:18*Varriount quit (Ping timeout: 255 seconds)
02:50:12desophosCTRL+d also selects next
02:50:33desophosi didn't know about CTRL+ALT+Down, but then again i know very few of Sublime's commands :p
02:51:00desophosoh nvm CTRL+ALT+Down just does vertical selection :p
02:54:47*bjz joined #nim
03:05:49*shodan45 joined #nim
03:18:50*Demon_Fox joined #nim
03:25:36*desophos quit (Ping timeout: 265 seconds)
03:35:24*desophos joined #nim
03:37:50*jakesyl quit (Ping timeout: 246 seconds)
03:40:17*toad quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
03:51:11*jakesyl joined #nim
03:54:16*darkf joined #nim
04:09:10*Varriount joined #nim
04:09:19*Varriount_ quit (Ping timeout: 246 seconds)
04:20:24lazypenguinI think I just fell in love with this language
04:25:22desophosit's pretty great isn't it lazypenguin
04:53:37*darkf_ joined #nim
04:54:57*pairayd quit (Ping timeout: 244 seconds)
04:56:14*darkf quit (Ping timeout: 246 seconds)
04:57:35*darkf_ is now known as darkf
04:59:40*desophos quit (Read error: Connection reset by peer)
05:00:53*Demon_Fox quit (Quit: Leaving)
05:26:05*linkedinyou quit (Ping timeout: 240 seconds)
05:43:38*vendethiel joined #nim
05:46:47*bjz quit (Quit: My MacBook Pro has gone to sleep. ZZZzzz…)
05:51:02*bjz joined #nim
05:53:00*bjz_ joined #nim
05:55:55*bjz quit (Ping timeout: 265 seconds)
06:02:21*dashed quit (Quit: Connection closed for inactivity)
06:07:38*vendethiel quit (Ping timeout: 250 seconds)
06:11:40*askatasu1 joined #nim
06:24:53*askatasu1 quit (Ping timeout: 252 seconds)
06:43:51*Ven joined #nim
06:56:25*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
07:13:22*ephja quit (Ping timeout: 260 seconds)
07:16:20*bjz joined #nim
07:17:22*bjz_ quit (Ping timeout: 268 seconds)
07:21:03*pairayd joined #nim
07:28:22*yglukhov joined #nim
07:28:32*Ven joined #nim
07:44:25*pairayd quit (Remote host closed the connection)
08:33:05*gokr joined #nim
08:47:07*Ven quit (Read error: Connection reset by peer)
08:47:30*Ven joined #nim
08:49:00*Ven quit (Read error: Connection reset by peer)
08:49:23*Ven joined #nim
08:50:57*Ven quit (Read error: Connection reset by peer)
08:51:16*Ven joined #nim
08:53:02*Ven quit (Read error: Connection reset by peer)
08:53:16*Ven joined #nim
08:54:43*Ven quit (Read error: Connection reset by peer)
08:55:14*Ven joined #nim
09:04:38*ayia joined #nim
09:05:19*Matthias247 joined #nim
09:14:26*gokr quit (Quit: Leaving.)
09:19:52*joelmo joined #nim
09:22:07*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
09:25:22*yglukhov quit (Remote host closed the connection)
09:39:27*Ven joined #nim
09:46:59*gokr joined #nim
10:06:55*edaaa_ joined #nim
10:18:28*jaco60 joined #nim
10:22:11*yglukhov joined #nim
10:26:25*yglukhov quit (Ping timeout: 240 seconds)
10:29:59*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
10:36:22*ayia quit (Remote host closed the connection)
10:36:58*gokr quit (Ping timeout: 240 seconds)
10:47:36*elrood joined #nim
10:56:05avsejis there any general purpose templating engine for nim? like jinja or liquid?
11:17:35avsejok, I found this post http://forum.nim-lang.org/t/651
11:20:17*Matthias247 quit (Read error: Connection reset by peer)
11:21:28*Guest97237isaway is now known as Guest97237
11:23:47*yglukhov joined #nim
11:28:10*yglukhov quit (Ping timeout: 260 seconds)
11:32:13*joelmo quit (Quit: Connection closed for inactivity)
11:36:43*Ven joined #nim
11:37:21dom96hey avsej
11:37:25*federico3 quit (Ping timeout: 240 seconds)
11:37:32avsejhi
11:37:44dom96yeah, that thread pretty much mentions all of them
11:38:17dom96You can try searching for "template" in nimble, or "templating". Might give you some hits: nimble search template
11:38:18avsejso far moustache port looks the best
11:38:46avsejthanks
11:40:25*federico3 joined #nim
11:44:23*CARAM__ quit (Ping timeout: 268 seconds)
11:45:46*CARAM__ joined #nim
11:57:43*jaco60 quit (Quit: Leaving)
12:00:26*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
12:00:44*wan quit (Quit: WeeChat 1.3)
12:05:06*Ven joined #nim
12:19:07*Kingsquee quit (Quit: https://i.imgur.com/qicT3GK.gif)
12:24:48*nande quit (Read error: Connection reset by peer)
12:25:13*yglukhov joined #nim
12:28:23dom96So who's going to OSCON in Amsterdam!?
12:28:37*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
12:29:49*yglukhov quit (Ping timeout: 256 seconds)
12:34:10*edaaa_ quit (Ping timeout: 250 seconds)
12:34:56*Ven joined #nim
12:59:21*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
13:00:03*dom96 quit (Changing host)
13:00:03*dom96 joined #nim
13:13:00*strcmp1 quit (Remote host closed the connection)
13:24:56*Ven joined #nim
13:38:30*yglukhov joined #nim
13:41:00*strcmp1 joined #nim
13:43:09*yglukhov quit (Ping timeout: 255 seconds)
13:44:30*filcuc joined #nim
13:45:00filcuchow can i specify the -d:ssl when building a binary package through nimble?
13:45:49filcucor in general how can i set specific nim compiler settings inside the .nimble file?
13:45:55*linkedinyou joined #nim
13:46:12filcucfor example specific "C" libraries that should be linked
13:47:53*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
13:48:06r-kuwhile i dont know answer to your question i can suggest you looking through nimble packages and maybe you will find an example. list of packages is here: https://github.com/nim-lang/packages/blob/master/packages.json
13:50:15dom96filcuc: create a <yourmodulename>.nim.cfg file and add the '-d:ssl' there
13:50:52filcucdom96: good to know that ;)
13:51:06filcucdom96: maybe i missed it from the github readme
13:56:28*Ven joined #nim
13:59:18*xet7 joined #nim
14:09:51*desophos joined #nim
14:11:08*Jesin quit (Quit: Leaving)
14:17:57*gokr joined #nim
14:18:41desophoshow do i tell the compiler to make my executable look for dlls in a certain location?
14:20:05Araqyou can't. you put the DLLs next to your exe for distribution
14:20:21Araqhow DLL are searched is determined by the os
14:20:26desophosoh okay, thanks
14:20:39Araqthere are other ways to distribute them, but you don't want to use these
14:21:26*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
14:22:48*gokr quit (Read error: Connection reset by peer)
14:22:59*gokr joined #nim
14:36:27*Ven joined #nim
14:44:57*yglukhov joined #nim
14:45:45*yglukhov quit (Remote host closed the connection)
14:51:59*jakesyl quit (Ping timeout: 240 seconds)
15:05:10*jakesyl joined #nim
15:05:25*Jesin joined #nim
15:09:47*askatasu1 joined #nim
15:27:01*strcmp1 quit (Remote host closed the connection)
15:30:27elrooddesophos, actually, you can use the rpath mechanism on linux (and probably osx) and something like SetDllDirectory on any not too obsolete windows version. or change your PATH or current directory on windows, of course
15:31:27elroodor runtime dynamic linking via LoadLibrary if that's your thing
15:31:34desophoselrood, well i forgot that putting the dlls next to the exe works :D
15:32:00desophosso i'm fine with that for now, thanks though
15:32:35*coryg joined #nim
15:33:23*Matthias247 joined #nim
15:39:48*ephja joined #nim
15:41:13desophosis there a way i can get more detailed info about dll loading errors?
15:41:18desophos"could not load" is way too vague
15:45:39Araqit's most likely a 64 vs 32 bit issue
15:45:57Araqand we don't know how to improve the error message, otherwise we would have done it by now
15:47:15desophosyeah i thought it was that but i think it's something else
15:47:24desophosthat's too bad :/
15:51:42desophosyeah it's not a 64/32bit issue
15:52:23desophosit works on my 64bit windows 10 but i gave it to someone else and it doesn't work on their 64bit windows 10
15:52:28*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
15:52:35desophoswith the dlls next to the exe :/
15:54:34*strcmp1 joined #nim
16:06:12filcuchttps://github.com/filcuc/SendMailNim
16:06:22filcucif you need to send email through you gmail account
16:06:24filcuc:)
16:06:53*yglukhov joined #nim
16:06:58filcuci had already done it in python but i rewrote it in Nim just for fun
16:19:45federico3the zlib wrapper has been dropped from Nim - where did it went?
16:30:26ephjafederico3: to a package called zip
16:31:28ephjathere's no zlib package, but it always were in a directory called zip
16:32:36*toad joined #nim
16:33:50*strcmp1 quit (Quit: bbs)
16:34:00*strcmp1 joined #nim
16:45:29Araqdesophos: that means the DLl depends on some other DLL that you didn't distribute (Direct X?)
16:45:37Araqwell it could mean that.
16:46:32elroodvery nice of that zip package to refuse cooperation with any libzip.so.{>2}, by the way ;P
16:49:28desophoshmm, really Araq? thanks, i'll check that out
16:58:48toadAraq: Arent you the main person behind nim?
16:59:29ephjayep
16:59:58toad:O
17:00:02*jakesyl quit (Ping timeout: 246 seconds)
17:00:19*filcuc quit (Quit: Konversation terminated!)
17:00:21toadHonor to meet you, Araq
17:00:40*Trustable joined #nim
17:01:16toadDoes nim have a 3D graphics lib yet?
17:01:26toad(either opengl, directx, or another)
17:01:41ephjaelrood: it's the major version number, right? someone can edit it if it's compatible I guess, which I assume it is
17:01:46*Trustable quit (Client Quit)
17:02:52ephjatoad: yes https://github.com/nim-lang/opengl
17:03:01toadSweet :D
17:03:35ephjaand a few libs for managing windows (glfw, sdl, ...)
17:06:34federico3ephja: there's no zip package anymore
17:07:19federico3but there's a zip project
17:08:49ephjafederico3: there is
17:09:35ephjaI dunno if an update was necessary, but I fetched the newest package database and could install it
17:11:15federico3ephja: I'm talking about https://github.com/nim-lang/zip/
17:11:30*allan0 quit (Ping timeout: 240 seconds)
17:11:31toadI want an online nim compiler :C
17:11:37toadMy computer wont install nim
17:11:41*Demos joined #nim
17:11:54toadDamn school firewall :p
17:12:48federico3don't we need a way to publish docs for the 3rd party packages?
17:14:02ephjafederico3: yes but it does have a nimble (package) file and it has been registered
17:15:53ephjatoad: http://ideone.com/
17:17:19toadI need an exe or .out :p
17:17:48toadI just need a compiler, not a runner
17:18:16federico3toad: can you SSH outside?
17:18:38ephjathat's mildly risky, but ok :-P
17:18:53toadfederico3: Kinda
17:19:00toadI could cross compile
17:19:02toadJust a pain
17:19:16toadAnd I need to get the c and convert it to a jar via jni
17:19:19federico3or just code/build/run on a dev server
17:19:29toadI need a gui
17:19:31toadVNC sucks
17:25:23*allan0 joined #nim
17:27:53toadWhat console should I build an emulator for? GB seems promising as dom96 has some code for one
17:28:17dom96def- built one for NES
17:28:29toadHi dom96
17:28:34toadLoved your kernel work :D
17:30:05toadWow, good work def-
17:31:16federico3ephja: the zip pkg does not wrap the gzip library tho :-/
17:31:52toaddom96 How far did you get on the gameboy?
17:32:04ephjaok
17:32:11dom96toad: not very far heh
17:32:30toadLol I see
17:32:40toadEver get a gui up?
17:32:44toadOr anything g?
17:33:35toadAs useful that code probably is, Ill probably write my own.... anyything as large as 200lines+ isnt worth for me to catch up on./.... takes me a while and locks me down
17:34:14dom96oh, well, I guess my definition of "not very far" is different
17:34:26dom96I most of the opcodes
17:34:33dom96and got the nintendo logo to display
17:34:41toadYeah
17:34:45dom96but it gets stuck after it scrolls the logo
17:34:48toadI know that much
17:34:53toad(from your readme)
17:35:01dom96but sure, it's way more fun to start your own
17:35:04toadBut my point is you never rendered any game stuff
17:35:09toadJust bios stufdfd
17:35:13toad*stuff
17:35:21dom96yeah
17:42:32*darkf quit (Quit: Leaving)
17:42:50*ochkoffein joined #nim
17:43:00Araqhi toad, you're welcome.
17:45:07toad:)
17:46:19*coryg quit (Ping timeout: 240 seconds)
17:46:24toadQ: How would I use an enum in a class?
17:46:45toadI have enums where the same label is thrown around..... would it be className.enumName ?
17:47:01toadAnd then that would give a number?
17:49:37*coryg joined #nim
17:50:30toadHmmmmm...... I just had an idea
17:50:48*toad quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
17:50:51ephjano, enums are strongly typed, but the integer value can be retrieved by passing it to 'ord'
17:51:27*toad joined #nim
17:51:52VarriountGood morning!
17:52:12VarriountThe sun is shining, birds are singing, and most importantly, mid-terms are over!
17:52:15ephjatoad: no, enums are strongly typed, but the integer value can be retrieved by passing it to 'ord'
17:52:54ephjahttp://manual.nim-lang.org/docs/manual.html#types-enumeration-types
17:53:38toadephja So I have to use ord to have an enum in a class?
17:54:18toadAnd ord(className.EnumName) ?
17:54:21*jakesyl joined #nim
17:57:16ephjano, ord is only used in order to retrieve the integer value. object.enumField will yield the value of that field
17:57:33toadim so confused
17:58:02*Varriount quit (Read error: Connection reset by peer)
17:58:02toadIf I have an enum with a set to 0, and I dont want to type 0 but a, yet the enum is in a class
17:58:13toadHow would I use "a" in code?
18:02:24ephjaI'm not sure what you're trying to achieve, but I'll show you some example code
18:03:03toadTy ephja
18:03:14toadI need 2 enums to have values with the same names
18:03:24toadSo I need to isolate them from each other
18:10:37ephjatoad: https://ideone.com/go5NGG
18:10:44ephjadoes that answer any of your questions?
18:11:06ephjaI don't think 'ord' is of any relevance to what you were asking, but it's good to know about it
18:12:17*Matthias247 quit (Read error: Connection reset by peer)
18:12:23toadChecking, ty :)
18:12:41ephja"var x: int = 1; x = eA" would not work since eA is not an integer, but you could use ord in that case: "var x: int = 1; x = ord(eA)". the numerical value of eA is 4 so 'x' will now hold that value
18:13:58toadTy ord is what I want5
18:16:17ephjaoh ok
18:18:40*Mat4 joined #nim
18:18:44Mat4hello
18:19:10Araqhi Mat4
18:19:28toadHi
18:20:33Mat4hi Araq an toad
18:23:02*vqrs quit (Ping timeout: 272 seconds)
18:23:26ephjait's a possibility
18:24:01*Varriount joined #nim
18:25:07*vqrs joined #nim
18:42:11*askatasu1 quit (Quit: WeeChat 1.3)
18:42:29*askatasuna joined #nim
18:45:33toadHow can i get the data type of a variable in nim?
18:46:25ephjapass it to 'type'
18:47:10*irrequietus joined #nim
18:48:58toadThankds
18:49:44toadIm creating my own array thing
18:49:46toadVery confusing
18:50:45*Demon_Fox joined #nim
18:50:54toadIm returning either a uint8 or a uint16
18:51:05toadBut I dont know which till after the function is called
18:51:34toadAnd the return type is in the function header
18:51:36toadIdeaS?
18:52:32Araqsince every uint8 is a valid uint16 you can simply always return an uint16
18:52:55toadThanks Araq
18:53:04toadAnd then would I just type convert it back?
18:53:20Araqyeah
18:53:25toadOr could I just say uin8 = functionWhichReturnsUint16
18:53:26toadAh ok
18:53:52*def- quit (Quit: -)
18:55:41ephjait's not done implicitly because of the risk of losing information
18:59:01*def- joined #nim
18:59:58ephjahttps://nim-by-example.github.io/
19:01:19*coryg quit (Ping timeout: 240 seconds)
19:05:58*def- quit (Ping timeout: 260 seconds)
19:06:31*def- joined #nim
19:08:23*toad quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
19:17:37*juanfra quit (Quit: juanfra)
19:18:26Varriountonionhammer: You might be interested in the recent commits I've made to the restructure-heirarchy branch of NimLime
19:21:58*strcmp1 is now known as Modar
19:22:55*Modar is now known as ascii_
19:25:19AraqVarriount: can you make app vendor or whatever it's called generate Nim installers via NSIS?
19:25:55onionhammerVarriount i'll check them out thanks
19:26:06Mat4toad: why do you need to handle characters of different format whithin the same routine ?
19:26:49VarriountAraq: I already did? It's just the upload step that's not finished.
19:27:03VarriountI'm working on that today.
19:28:18onionhammerVarriount any functional changes?
19:28:21*coryg joined #nim
19:28:42Varriountonionhammer: The biggest one is the introduction of a generic error handler.
19:29:18VarriountThe idea is that you put the 'catch_errors' decorator on a function, and if there are any uncaught errors that happen in that function, the user will be notified and the error logged to file.
19:29:53*Mat4 quit (Quit: Verlassend)
19:32:21dom96Varriount: Hey, why does NimLime create a new tab called 'nimlime' on save by default, bug?
19:32:22*askatasuna quit (Quit: WeeChat 1.3)
19:32:44Varriountdom96: See the most recent closed issues.
19:33:18Varriountdom96: It's essentially a problem with the default settings. We should probably put out a new release.
19:33:39dom96Varriount: yeah, had to go through settings and disable a bunch of stuff.
19:33:51Varriountdom96: Like?
19:35:12dom96"check.on_save.enabled" and "enable_nm_completions", although I think I disabled the second one just in case.
19:35:47dom96Is there a way to disable auto-indent?
19:36:12Varriountdom96: That's a sublime-text core setting, so look in the builtin settings file.
19:37:14dom96ahh, of course. Should have looked there.
19:39:55*Jesin quit (Quit: Leaving)
19:42:43VarriountWhy did you disable the check.on_save.enabled?
19:50:15*juanfra joined #nim
20:03:14dom96Varriount: I assumed that was creating the new tab on save
20:03:25Varriountdom96: And did it work?
20:03:31dom96Varriount: yeah
20:03:49Varriountdom96: Ugh. I have no idea how that bug appeared.
20:04:25Varriountdom96: The thing I dislike about writing plugins is that it's quite hard to make tests for code. Most of the code is so dependant on user interaction
20:04:54VarriountWhat I need is a test harness to simulate a sublime text instance.
20:07:49Varriountonionhammer: I also fixed a rather nasty bug with loading settings at the module level on ST3. Look at the '__init__.py' file in the nimlime_core folder.
20:21:50*irrequietus quit ()
20:23:54*Senketsu joined #nim
20:32:12AraqVarriount: er, I see no such thing in appveyor.yml
20:34:07Araqer ... actually
20:34:15Araqit's fine to do it with the builder
20:34:25Araqbut I want travis to generate the tar.xz
20:41:49Araqhrm, if I use nimble to install niminst, how does the linux machine know where to find the binary?
21:08:45*vendethiel joined #nim
21:10:20*Jesin joined #nim
21:36:48*Matthias247 joined #nim
21:42:07*strcmp2 joined #nim
21:43:27*ascii_ quit (Ping timeout: 256 seconds)
21:49:27*edaaa_ joined #nim
22:01:37VarriountAraq: I'm not in charge of Appveyor. I don't even have the credentials needed to access it.
22:01:47VarriountAraq: I'm in charge of buildbots, remember?
22:02:23Araqyeah, sorry, my mistake.
22:03:25Varriountdom96: If all goes well, there should be a new major release for NimLime tomorrow.
22:03:32dom96Varriount: cool
22:08:36VarriountThere won't be many new features, but many bugs have been squashed.
22:13:27*Kingsquee joined #nim
22:15:30Araqdom96: are you still so opposed to the 'submodule' feature that you would leave Nim for good if I introduce it?
22:15:39Araq:-)
22:17:18*coryg quit (Ping timeout: 240 seconds)
22:18:32*coryg joined #nim
22:22:16VarriountAraq: Submodule?
22:22:34Araqalso called "namespace"
22:22:40Araqsubmodule foo:
22:22:45Araq const x = 8
22:22:56Araq# can only acces it via 'foo.x'
22:23:04*vendethiel quit (Ping timeout: 272 seconds)
22:23:14Araqit's a generalization of .pure enums.
22:23:31dom96I'm not sure.
22:23:38VarriountWhat's the intended benefit?
22:24:16Araqthere is none. but some people swear it improves software quality.
22:24:54desophoswouldn't that encourage people to just put a bunch of unrelated code in the same module?
22:25:03Araqwell actually my question is whether we should register 'submodule' as a keyword for 0.12 so we're free to add something like it later
22:25:48Araqbut we can always introduce it as a pseudo system.nim template later, so ok, never mind.
22:27:27Araqdesophos: well it would certainly encourage more dots which are sexier than underscores. foo_bar # an intruder? He's ugly!
22:27:47Araqfoo.bar # oh yeah baby.
22:28:10VarriountI don't mind registering it as a keyword, I'm doubtful on the use however.
22:28:28desophoshmm
22:30:30Araqhttps://youtu.be/mE889wZyfbc?t=29
22:36:30lazypenguinAraq, couldn't you just use a regular module?
22:37:46Araqlazypenguin: yeah but people might not like to put all their consts in a separate module, it's an extra file.
22:39:10*coryg quit (Ping timeout: 246 seconds)
22:39:48*Matthias247 quit (Read error: Connection reset by peer)
22:40:43lazypenguinah, i see what you mean about it being a generalization of pure enums.
22:42:07*coryg joined #nim
22:44:54VarriountAraq: What about auto-boxing procedures of different calling conventions (aka thunk generation)
22:48:10AraqVarriount: I think I told you. nice, we want it. but not critical for v1.
22:50:37*Guest97237 is now known as Guest97237isaway
23:02:18*vikaton joined #nim
23:15:54*elrood quit (Quit: Leaving)
23:19:38*nande joined #nim
23:41:21lazypenguinAs anyone used the iup module extensively? I think it might be missing an import but want to run it by someone more experienced
23:43:27Araqwell it was never updated to iup 3.
23:44:00Araqhttps://github.com/nim-lang/Nim/issues/3444
23:44:29*edaaa_ quit (Remote host closed the connection)
23:45:55lazypenguinhah thanks, shoulda checked their first. Is there a more stable binding for a gui toolkit?
23:46:35Araqwe have wrappers for GTK3, GTK2 and wxWidgets
23:46:41Araqand Qt.
23:47:06*FroznPanda joined #nim
23:47:14Araqand the iup 3 wrapper is just a c2nim invokation away.
23:47:31Araqso please just do it.
23:47:49lazypenguinOkay, new territory for me but I will take a stab at it
23:47:51Araqthe existing iup wrapper even was the used c2nim commands iirc
23:48:05Araq*even has the used c2nim command in a comment
23:59:58*bjz_ joined #nim