<< 03-02-2016 >>

00:00:10*vendethiel quit (Ping timeout: 250 seconds)
00:14:48*jck quit (Read error: Connection reset by peer)
00:15:01*aziz quit (Remote host closed the connection)
00:15:02*Varriount_ is now known as Varriount
00:15:07*jck joined #nim
00:16:18VarriountXe: <3 Templates
00:16:35XeVarriount: it's kind of deceptively powerful
00:16:39VarriountI was wondering how hard it would be to make a bash-like DSL in Nim.
00:16:49Xenturtle?
00:17:03Xeactually
00:17:17Xedoes nim have a method_missing ==?
00:17:30VarriountXe: Say again?
00:17:53Xeruby has method_missing that is called when you put in function names it doesn't know about
00:18:11VarriountThere's the `.` proc/method/template that does that.
00:18:28Xeyeah but this applies to random things too
00:18:42Xelike literally typing in arbitrary shit
00:18:57VarriountHm... Not really.
00:19:15Xewell then it's a bit harder but doable
00:19:17Xe:P
00:19:27Xe...
00:19:35Xetemplate `/`
00:19:45Xe/usr/bin/systemctl restart caddy
00:25:10XeVarriount: ^
00:25:35VarriountAh.
00:26:14*jaco60 quit (Ping timeout: 252 seconds)
00:27:54Xewould that work?
00:28:01Xesort of use `/` as a combinator
00:30:27VarriountXe: Sorta, but I was thinking about something a bit more sophisticated.
00:30:38Xeyeah ofc
00:30:41VarriountProbably using a macro and the block format
00:34:10VarriountXe: https://gist.github.com/Varriount/7421b1733656eac32612
00:34:30Xenash
00:34:31XeI like it
00:34:45VarriountXe: Basically some unholy mixture of Bash, Nim, and Powershell
00:35:27*Varriount keeps meaning to learn more powershell
00:44:23*vendethiel joined #nim
00:45:50*derka joined #nim
00:46:06*pregressive joined #nim
00:50:10*apotheon quit (Ping timeout: 240 seconds)
00:51:13*apotheon joined #nim
00:51:46*derka quit (Quit: derka)
00:52:21*Trustable quit (Remote host closed the connection)
00:57:45*desophos quit (Read error: Connection reset by peer)
00:59:05*gokr quit (Quit: Leaving.)
01:05:40*vendethiel quit (Ping timeout: 248 seconds)
01:07:00*Egon_ quit (Ping timeout: 252 seconds)
01:27:43*vendethiel joined #nim
01:31:20*Varriount quit (Disconnected by services)
01:31:20*Varriount_ joined #nim
01:50:56*vendethiel quit (Ping timeout: 276 seconds)
01:52:34*Varriount joined #nim
01:56:08*Varriount_ quit (Ping timeout: 276 seconds)
01:57:58*Varriount_ joined #nim
01:57:58*Varriount quit (Disconnected by services)
02:04:47*Varriount joined #nim
02:07:50*Varriount_ quit (Ping timeout: 276 seconds)
02:18:48*ephja quit (Ping timeout: 252 seconds)
02:22:13*fab2000 joined #nim
02:23:11fab2000Hi, new to nim , when it comes to OOP what are the options in nim when it comes to polymorphism since it doesn't have interfaces ? thanks.
02:25:27*pregressive quit (Remote host closed the connection)
02:32:38Varriountfab2000: There are methods, generics, and concepts, all of which can be used as a replacement for classes.
02:33:41VarriountMethods are polymorphic procedures, meaning they will work based on a given references true type.
02:35:41fab2000hmm, ok , can you give a quick exemple if you have the time ?
02:37:25fab2000Like given a language X that has interface , I would write something like interface Walker { void walk() }
02:37:39fab2000then a class or a function would accept a walker
02:37:48fab2000How would you write that in nim ?
02:38:39fab2000class AcceptWalker { void accept(Walker walker){ /* body */ } }
02:39:52Varriountfab2000: I can, however keep in mind that the kind of limited OO programming Java enforces isn't really what Nim was designed for.
02:40:18VarriountOr rather, there are two different approaches from each language.
02:43:25fab2000sure
02:45:58*brson quit (Quit: leaving)
02:48:38Varriountfab2000: https://gist.github.com/Varriount/713947183f525a6745b5
02:48:45VarriountThat's an example of methods
02:48:47Xeflyx: you there?
02:49:47Varriountfab2000: There are also concepts, which are a kind of enhanced generic, however those are compile-time mechanisms.
02:50:09Varriountfab2000: I assume you mean something equivalent to a run-time interface?
02:51:31fab2000yes, runtime interfaces, without using inheritance for instance
02:52:10Varriountfab2000: Well, there are also types composed of procedure references (function pointers). Those don't require any kind of special mechanism though.
02:52:47Varriountfab2000: http://nim-lang.org/docs/streams.html#StreamObj
02:53:14VarriountThose are all that interfaces are really, in both Java and C++
02:55:30Varriountfab2000: Oddly enough, there really often that much need for the kinds of inheritance heirarchies that seem required in Java. Generics, and Runtime/Static dispatch handle quite a bit.
02:56:06Varriount*really isn't
02:56:18*krux02 quit (Quit: Verlassend)
02:57:16fab2000Yes, Nim has many interesting ideas, that's why it's a bit hard to begin with it, since one has to figure out which one has to be used in order to fulfill a specific task.
02:57:35Varriountfab2000: You have to remember that in Nim, methods and procedures for any given type can be defined anywhere, not just in the module that defines the type.
02:59:20VarriountWhen I first encountered Nim, it nearly broke my poor addled brain with that concept. "Methods, defined outside their classes? Impossible!"
02:59:30fab2000Yes, it's an handy feature indeed.
03:01:59fab2000ok thanks for your help !
03:02:12VarriountYou're welcome.
03:05:05*vendethiel joined #nim
03:09:12*bungoman_ quit (Quit: Leaving)
03:22:50*kashyap_ joined #nim
03:23:57kashyap_Hi there ... I need some help with debugging an sdl2 program .... https://github.com/ckkashyap/LiveCoding .... while the program runs fine on Linux, I get a crash on Mac - After attaching gdb all I get is nimFrame() on top
03:24:11Varriountkashyap_: Have you tried it on Windows?
03:24:21kashyap_It crashes on windows too
03:24:44VarriountWell, I can help with that then. (No iMac for Varriount)
03:25:02kashyap_:)
03:25:05*fab2000 quit (Quit: Page closed)
03:25:13kashyap_I suspect a lurking race condition
03:26:52*vendethiel quit (Ping timeout: 250 seconds)
03:29:54kashyap_Varriount - a side question, how can I debug on windows - after building with gcc? the gdb I have in there seems to not recognize the exe
03:33:41Varriountkashyap_: Try the --debugger:native switch when compiling Nim
03:33:51kashyap_ok
03:34:14Varriountkashyap_: You can set it to be on by default by modifying the config files.
03:34:23kashyap_cool
03:34:38kashyap_hope you could see the crash on windows
03:41:01kashyap_Varriount_ --debugger:native did not seem to help with gdb
03:41:05*desophos joined #nim
03:49:05Varriountkashyap_: Odd
03:49:13kashyap_you bet :)
03:49:27kashyap_oh you mean about the --debug:native
03:49:46VarriountMaybe? I don't generally use the switch often.
03:51:06kashyap_Varriount_ you are able to see the crash on windows right?
03:51:22Varriountkashyap_: Still trying to get things working. I don't have the sdl package.
03:51:36kashyap_nimble?
03:51:38VarriountAnd the nimble install script is failing for me
03:51:43kashyap_oh!
03:54:54*xtagon joined #nim
03:55:25kashyap_Varriount_ I've gotta scoot now ... I'll sign back in later ...
03:59:15*lompik quit (Ping timeout: 240 seconds)
03:59:18kashyap_btw the call stack on mac is as follows - #0 0x00000001000382d1 in nimFrame (s=0x70000021c670) at /Users/kashyap/Documents/dev/NIM-LANG/Nim/lib/system/excpt.nim:304 #1 0x0000000100037fe6 in Audiocallback_169204 (userdata=0x0, stream=0x10380ec00 "", bytecount=4096) at /Users/kashyap/Documents/dev/junk/LiveCoding/LiveCode.nim:27
04:18:02Varriountkashyap_: It's not crashing for me.
04:18:24*kashyap_ quit (Ping timeout: 252 seconds)
04:27:28*nchambers is now known as ncampers
04:38:52*vendethiel joined #nim
04:48:13*ncampers is now known as nchambers
04:48:22*nchambers is now known as dtscode
04:52:34*vendethiel quit (Ping timeout: 240 seconds)
04:54:09*vendethiel joined #nim
05:00:56*vendethiel quit (Ping timeout: 240 seconds)
05:02:31*dtscode quit (Changing host)
05:02:31*dtscode joined #nim
05:03:02*dtscode quit (Changing host)
05:03:02*dtscode joined #nim
05:08:04*kashyap_ joined #nim
05:43:09*dtscode is now known as mniip
05:43:09*mniip is now known as 64MAAYGZ0
05:44:25*64MAAYGZ0 is now known as mniip
05:45:58*mniip is now known as Guest62425
05:45:58*Guest62425 quit (Killed (kornbluth.freenode.net (Nickname regained by services)))
05:46:41*nchambers joined #nim
05:57:22kashyap_Hey Varriount_ any luck?
05:58:59*nchambers is now known as I
05:58:59*I is now known as Guest72381
05:59:55*Guest72381 is now known as nchambers
06:43:40*gokr joined #nim
06:44:27*gokr1 joined #nim
06:47:56*gokr quit (Ping timeout: 250 seconds)
06:55:04flyxXe: now I'm here
06:57:47*vendethiel joined #nim
06:59:00*kashyap_ quit (Ping timeout: 252 seconds)
07:20:46*vendethiel quit (Ping timeout: 240 seconds)
07:25:12*vendethiel joined #nim
07:39:52*qazwsx_ joined #nim
07:46:34*endragor joined #nim
07:46:56*vendethiel quit (Ping timeout: 240 seconds)
07:47:12*s4 joined #nim
07:53:13*vendethiel joined #nim
07:56:34*Demon_Fox quit (Quit: Leaving)
08:03:21*xtagon quit (Quit: Connection closed for inactivity)
08:08:16*gour joined #nim
08:10:10*Ven joined #nim
08:20:16*lg_ quit (Read error: Connection reset by peer)
08:20:19*derka joined #nim
08:21:35*Varriount_ joined #nim
08:21:35*Varriount quit (Disconnected by services)
08:22:17*ephja joined #nim
08:37:12*vendethiel quit (Ping timeout: 252 seconds)
08:53:08*Trustable joined #nim
08:59:41*ephja quit (Quit: WeeChat 1.3)
09:00:04*lg_ joined #nim
09:05:55*ephja joined #nim
09:12:49*yglukhov joined #nim
09:21:26*coffepot joined #nim
09:24:24ephjaranges not including 0 have to be initialized?
09:24:59ephjawhat if it's in a base class and not exported?
09:27:21*desophos quit (Read error: Connection reset by peer)
09:42:51*jaco60 joined #nim
09:45:02ephjareported
09:57:49*qazwsx_ quit (Quit: qazwsx_)
10:00:37*darkf joined #nim
10:09:34*vendethiel joined #nim
10:15:20*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
10:15:32federico3it would be nice to have a RSS feed of new packages
10:30:17*vendethiel quit (Ping timeout: 276 seconds)
10:31:15wuehlmausAraq_: a friend of mine asked if you would like to go to Froscon to introduce nim?
10:31:29Araq_sure
10:31:38wuehlmausi think it would be wonderful!
10:31:51wuehlmausfroscon.de
10:32:14wuehlmausnim is so worth it, the more i understand about it the more i love it :)
10:32:19*qazwsx_ joined #nim
10:37:39*vendethiel joined #nim
10:51:01*junw joined #nim
11:08:01*qazwsx_ quit (Quit: qazwsx_)
11:11:52*jaco60 quit (Quit: Leaving)
11:13:08*Ven joined #nim
11:20:44*vendethiel quit (Ping timeout: 272 seconds)
11:26:17*vendethiel joined #nim
11:29:39*filwit joined #nim
11:30:35*qazwsx_ joined #nim
11:45:43*warkid_ joined #nim
11:46:06*warkid quit (Ping timeout: 252 seconds)
11:47:56*vendethiel quit (Ping timeout: 240 seconds)
12:09:43Araq_ah it's some German thing that has <b> on the website
12:19:44*BitPuffin joined #nim
12:25:37*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
12:25:44*vendethiel joined #nim
12:34:03*sarlalian quit (Ping timeout: 240 seconds)
12:34:03*vqrs quit (Ping timeout: 240 seconds)
12:34:03*SirCmpwn quit (Ping timeout: 240 seconds)
12:34:15*SirCmpwn joined #nim
12:34:47*qazwsx_ quit (Quit: qazwsx_)
12:34:59*vqrs joined #nim
12:35:06*Pisuke quit (Quit: WeeChat 1.4-dev)
12:36:25*sarlalian joined #nim
12:38:24*qazwsx_ joined #nim
12:38:56*Ven joined #nim
12:41:59*qazwsx_ quit (Client Quit)
12:44:57*warkid_ quit (Ping timeout: 252 seconds)
12:46:14*vendethiel quit (Ping timeout: 256 seconds)
12:50:42*vendethiel joined #nim
12:58:41*vqrs quit (Ping timeout: 245 seconds)
13:00:54*vqrs joined #nim
13:09:31*derka_ joined #nim
13:11:26*derka quit (Ping timeout: 250 seconds)
13:11:26*derka_ is now known as derka
13:15:55*vendethiel quit (Ping timeout: 240 seconds)
13:20:50*ephja quit (Read error: Connection reset by peer)
13:23:25*arnetheduck joined #nim
13:30:42*lompik joined #nim
13:44:46*s4 quit (Quit: Konversation terminated!)
13:52:32*ephja joined #nim
13:54:37*vendethiel joined #nim
13:57:08ephja"LOC9 = &&sinegenerator->Sup;" a method invocation generates this
13:58:10ephjaapparently it's because the first argument is a var
14:11:23ephja"The compiler should not allow this. There is no subtype relation from 'var ref MyQObject' to 'var ref QObject'. There is rarely a reason for 'var ref' and certainly none for your use case." this is a comment for another issue. maybe I should close it then
14:17:47*vendethiel quit (Ping timeout: 276 seconds)
14:21:45*lompik quit (Ping timeout: 245 seconds)
14:23:31*vendethiel joined #nim
14:36:05*vqrs quit (Quit: ZNC 1.6.1 - http://znc.in)
14:40:44*vqrs joined #nim
14:44:58*arnetheduck quit (Ping timeout: 240 seconds)
14:45:56*vendethiel quit (Ping timeout: 272 seconds)
14:54:35*Dildosan joined #nim
14:56:19*Dildosan quit (Client Quit)
15:12:38*vendethiel joined #nim
15:19:13*Ven quit (Quit: My MacBook has gone to sleep. ZZZzzz…)
15:23:49*Ven joined #nim
15:25:38*Ven quit (Client Quit)
15:29:25*Ven joined #nim
15:30:43*yglukhov_ joined #nim
15:33:08*yglukhov quit (Ping timeout: 250 seconds)
15:34:11*vendethiel quit (Ping timeout: 250 seconds)
15:35:00*yglukhov_ quit (Ping timeout: 248 seconds)
15:35:10*pregressive joined #nim
15:41:36*matkuki joined #nim
15:43:13*gokr1 quit (Quit: Leaving.)
15:48:00*qazwsx_ joined #nim
15:52:57*vendethiel joined #nim
15:56:06*Ven quit (Ping timeout: 252 seconds)
15:57:02*Sornaensis quit (Quit: No.)
15:59:13wuehlmauscould some kind soul edit the rosettacode regular expression examples now that re is deprecated?
16:00:24Araq_we want to de-deprecate re.nim ...
16:00:34*Araq_ loves re.nim too much.
16:01:18Araq_every remaining bug in re.nim only affects people who cannot program in the first place *cough*
16:03:23wuehlmausyes, i know, that's why i asked how the same worked in nre.
16:03:52wuehlmaushttp://rosettacode.org/wiki/
16:03:52wuehlmausRegular_expressions
16:03:59wuehlmaushttp://rosettacode.org/wiki/Regular_expressions
16:14:56*vendethiel quit (Ping timeout: 240 seconds)
16:16:04*vendethiel joined #nim
16:26:03*pregressive quit (Read error: Connection reset by peer)
16:26:48*pregressive joined #nim
16:31:12*yglukhov joined #nim
16:31:47*qazwsx_ quit (Quit: qazwsx_)
16:34:49*aziz joined #nim
16:35:29Varriount_Araq_: How does the GC behave when dealing with unloaded Nim dlls?
16:35:40*yglukhov quit (Ping timeout: 260 seconds)
16:37:24*vendethiel quit (Ping timeout: 248 seconds)
16:39:54*vendethiel joined #nim
16:40:55Araq_dunno. it crashes?
16:45:59*Varriount_ quit (Ping timeout: 276 seconds)
16:49:05*Varriount joined #nim
16:49:33VarriountAraq_: I'm trying to help kashyap with his live procedure reloading.
16:50:49Araq_great but is there still no PR for the codegen to support that in a better fashion? would be the first thing I would do
16:50:52*matkuki quit (Read error: Connection reset by peer)
16:51:20*matkuki joined #nim
17:01:54*yglukhov joined #nim
17:02:53*vendethiel quit (Ping timeout: 276 seconds)
17:06:48*vendethiel joined #nim
17:15:51*coffepot quit (Quit: http://www.kiwiirc.com/ - A hand crafted IRC client)
17:21:12*qazwsx_ joined #nim
17:23:30*yglukhov quit (Remote host closed the connection)
17:27:46*vendethiel quit (Ping timeout: 240 seconds)
17:31:03*endragor quit (Remote host closed the connection)
17:34:55*yglukhov joined #nim
17:39:02*vendethiel joined #nim
17:52:29*ics joined #nim
17:56:42*Sornaensis joined #nim
18:00:39*vendethiel quit (Ping timeout: 250 seconds)
18:03:37*vendethiel joined #nim
18:37:42*qazwsx_ quit (Quit: qazwsx_)
18:40:12*shodan45 joined #nim
18:41:53Varriountdom96: Currently reading Nim in Action, looks good so far.
18:46:34*derka quit (Quit: derka)
18:48:19*vendethiel quit (Ping timeout: 250 seconds)
18:49:17*brson joined #nim
18:52:55*derka joined #nim
18:53:29*vendethiel joined #nim
19:01:44*qazwsx_ joined #nim
19:01:45*shodan45 quit (Ping timeout: 245 seconds)
19:07:35Varriountdom96: Do you mind if I send you a critique/editor comments?
19:14:28*BitPuffin quit (Ping timeout: 272 seconds)
19:15:11*vendethiel quit (Ping timeout: 250 seconds)
19:20:54*qazwsx_ quit (Quit: qazwsx_)
19:22:31*vendethiel joined #nim
19:22:35*Matthias247 joined #nim
19:36:41dom96Varriount: not at all. I encourage it :)
19:40:28*qazwsx_ joined #nim
19:43:01*qazwsx_ quit (Client Quit)
19:49:17*shodan45 joined #nim
20:04:07*jaco60 joined #nim
20:07:14matkukiCan somebody take a look at this and tell me how to get correct value at line 38? https://bpaste.net/show/91442a08a419
20:09:57flyxmatkuki: you cast a pointer to a ref object and then use [0] on it… that looks a bit suspicious.
20:10:13flyxerm, ptr object, not ref object
20:11:27flyxso it's basically a c-style array?
20:11:55matkukiflyx: yes, i think so.
20:12:02*derka_ joined #nim
20:12:44*derka quit (Ping timeout: 272 seconds)
20:12:44*derka_ is now known as derka
20:12:52matkukiWhy is it when 'seg' goes out of scope, the value gets messed up?
20:14:39flyxhum. it shouldn't, since it's a ptr and therefore not garbage-collected
20:16:25flyxI'd first check whether the pointer in data gets messed up or the memory the pointer points to
20:16:58*derka quit (Quit: derka)
20:17:00Araq_dunno but your code sucks.
20:17:11ldleworkouch
20:18:34matkukiAraq_: I wish it were mine. It's the old nimrod-chipmunk wrapper example planets.nim.
20:20:02Araq_well seems to me it doesn't have to work outside the scope
20:20:18Araq_data[1] = seg is only done in the case branch
20:21:33matkukiAraq_: A line below of the 'echo garbage' line is a proc call 'shape.setUserData(data)', which also receives garbage!
20:22:28Araq_then it's perhaps a stack corruption
20:22:38Araq_are you sure it's cdecl and not stdcall?
20:24:41matkukitried stdcall, same thing
20:32:10*bjz joined #nim
20:32:16*bjz quit (Client Quit)
20:32:42*bjz joined #nim
20:45:08matkukiAraq_: It works if I add every newVertexArray to a global sequence instead of 'var seg = ...'.
20:45:10matkukibefore: var seg = newVertexArray(...)
20:45:11matkukiafter: gLineArray.add(newVertexArray(...))
20:45:13matkukiWhy?
20:45:36*brson quit (Ping timeout: 250 seconds)
20:45:53matkukiline 26 in the example
20:45:57Araq_wrong question. if you have a memory corruption everything can make it go away.
20:46:11Araq_well "go away" in quotes.
20:46:26matkukiWhat should be done?
20:46:36Araq_the question is if 'newVertexArray' allocates GC'ed memory that you then pass to chipmunk
20:47:01Araq_and then you forget about it and the GC doesn't trace into chipmunk
20:47:27Araq_then you need to keep it alive in your Nim code, like by adding it to a global seq
20:47:43Araq_but that's usually a very bad solution
20:48:06Araq_better is to call GC_ref GC_unref at strategic places
20:48:38matkukiThe function is in the CSFML library. The function is this: https://bpaste.net/show/2c02630e7cc3
20:49:43matkukinewVertexArray(Nim) == sfVertexArray_create(C++)
20:51:03Araq_you should get rid of
20:51:06Araq_ var data = cast[ShapeDataPtr](alloc0(sizeof(ShapeData)))
20:51:06Araq_ data[0] = userData
20:51:18Araq_somehow. it's ugly and might be wrong
20:52:14*brson joined #nim
20:58:49*derka joined #nim
20:59:20*derka quit (Client Quit)
21:04:20*yglukhov quit (Ping timeout: 256 seconds)
21:04:55*yglukhov joined #nim
21:07:01*yglukhov quit (Read error: Connection reset by peer)
21:07:17*yglukhov joined #nim
21:10:26*yglukhov quit (Read error: Connection reset by peer)
21:10:42*yglukhov joined #nim
21:15:55flyxdom96: if I have comments on your book, what is your preferred way to receive them?
21:16:32dom96flyx: http://forum.nim-lang.org/t/1978
21:16:40dom96Just reply with your feedback there
21:16:42dom96:)
21:23:00flyxokay, so I will finally create an account for the forum :)
21:28:47*derka joined #nim
21:33:03*derka quit (Client Quit)
21:34:16*derka joined #nim
21:36:07*BitPuffin joined #nim
21:41:33*FreezerburnV joined #nim
21:41:55matkukiAraq_: How do I find out if it's a stack corruption?
21:42:06*junw quit (Ping timeout: 240 seconds)
21:42:40Araq_good programmers recognize it by their aching toes
21:43:10matkuki:)
21:43:29*BitPuffin quit (Read error: Connection reset by peer)
21:46:02matkukiAraq_: Does it tell you anything that every 'new' function from the CSFML library does this? newVertexArray, newCircleShape, newConvexShape, ...
21:49:38*yglukhov_ joined #nim
21:49:38*yglukhov quit (Read error: Connection reset by peer)
21:52:10*yglukhov joined #nim
21:52:10*yglukhov_ quit (Read error: Connection reset by peer)
21:54:20*yglukhov quit (Read error: Connection reset by peer)
21:54:31*yglukhov joined #nim
21:56:41*yglukhov quit (Read error: Connection reset by peer)
21:56:45derkaHi guys
21:57:02*yglukhov joined #nim
21:57:10Araq_hey derka
21:57:27derkaGuys I might need to recruit a dev or two
21:57:38derkato do python and Nim
21:57:55ldleworkremote? $100k+?
21:58:01ldleworkOkay, sold.
21:58:04derka:)
21:58:27derkaif dollar go back to its previous rate why not
21:58:30derkabut at current rate....
21:58:31derka:)
21:58:32*junw joined #nim
22:00:37derkaso who are the top developpers apart from you Araq
22:01:01*gokr joined #nim
22:01:06ldleworkIf the dollar went back to its previous rate, it would be harder to afford 100k, not less.
22:01:27ldleworkUnless the value of the dollar has been rising as of late, and I'm just ignorant.
22:02:01pigmejldlework: it all depends on context. dolar is stronger compared to some currencies
22:02:13pigmejfor example to PLN it's like +30%
22:02:30derkaidlework in the past one euro was 1.5 $
22:02:30ldleworkthen, gold.
22:02:34derkanow it is almost 1$ i think
22:02:35ldlework:)
22:03:04derkaidlework looks like you are not good at math not a good news :)
22:03:50*vendethiel quit (Ping timeout: 245 seconds)
22:05:44*vendethiel joined #nim
22:05:47ldleworkI can't parse that sentence, but I'll assume its an insult.
22:06:43*gour quit (Quit: WeeChat 1.3)
22:06:47matkukiAraq_: This one works https://bpaste.net/show/aa72c1ac3f60 and this one corrupts: https://bpaste.net/show/f56a26f96706. Is this a Nim bug?
22:07:33pigmejderka: why do you need python AND nim ?
22:08:02derkapgmej because we use python internally and C, and i intend to move some parts to Nim
22:08:14derkaidlework i dont mean to insult at all
22:08:17derkajust a bad joke
22:08:53*mat4 joined #nim
22:08:55mat4hello
22:09:15pigmejderka: ah ok
22:09:41derkaidlework how long have you been in silicon valley
22:09:42ldleworkhi mat4
22:09:50mat4hi ldlework
22:09:52ldleworkcouple years
22:10:30Varriountderka: I can work too!
22:10:42Araq_matkuki: my bet is they both don't work but for one you're lucky
22:11:51Varriountderka: I know Python quite well, although I am a college student at present.
22:11:57*junw_ joined #nim
22:12:32pigmejI could help with python if so
22:12:52derkaidlework might travel to silicon valley in the coming months
22:13:13derkaVarriount where are you located
22:13:36Varriountderka: VA
22:14:09derkaare you far from D.c
22:14:14matkukiAraq_: Thanks for trying! Will try BlaXpirit when he's available, he made the CSFML wrapper. Hopefully he knows.
22:14:51Varriountderka: I'm about 30-40 minutes away.
22:14:56*junw quit (Ping timeout: 245 seconds)
22:15:03VarriountDepends on the traffic.
22:15:28derkaok
22:16:03derkaso not far from Vienna virginia
22:16:19mat4constant dissolving in ranges doesn't seem to work: Either in case of range [511..constDefination - 1] as of range [511..(constDefination - 1)] for example
22:16:31FreezerburnVo/
22:16:37Varriountderka: Not far, no.
22:17:06derkaI will tell you when i go there so we can meet i need to go see one of our partners there
22:17:23derkahow old are you can you drive yet :)
22:17:29Sornaensisok
22:17:30VarriountYes, I can drive.
22:17:35matkukiBlaXpirit: ping?
22:17:42BlaXpiritpony
22:17:44Sornaensiscan anyone point me in the direction of a nim syntax highlighter/checker?
22:17:48Sornaensisfor vim**
22:17:58matkukiBlaXpirit: Close enough :)
22:18:14matkukiGot time for a CSFML problem?
22:18:55ldleworkmatkuki: CSFML is abandoned
22:19:03ldleworkI think it says that on the github page.
22:19:16BlaXpirithuh
22:19:16*brson quit (Ping timeout: 252 seconds)
22:19:29mat4such definations compile, however the arithmetic expression is ignored (
22:19:35BlaXpiritCSFML isn't abandoned
22:19:37ldlework...
22:19:49ldleworkI thought you said you implemented the whole thing wrongly and that you abandoned
22:19:50BlaXpiritand nim-csfml isn't really abandoned either
22:19:55ldleworkand that you don't even know if it works correctly
22:19:57BlaXpiritnah it's not wrong, nim is wrong
22:20:00matkukiIdlework: you mean SFML
22:20:13ldleworkI didn't mean /CSFML/ is abandoned
22:20:17ldleworkas in /actual/ CSFML
22:20:21ldleworkI meant nim-csfml heh
22:20:33Sornaensishello does anyone here edit nim in vim and if so what do you use for syntax highlighting
22:20:43ldleworkYou basically used heavy language to suade me from using nim-csfml when I asked not 6 weeks ago
22:20:56BlaXpiritreally
22:21:14*darkf quit (Quit: Leaving)
22:21:17ldleworkyou made a big stink about destructors and that you had no intention of working on it
22:21:19matkukiIdlework: sfml-nimrod is abandoned
22:21:43ldleworkmatkuki: I'm not referring to that
22:21:48ldleworkI'm referring to nim-csfml specifically.
22:21:56ldleworkI mean, I'm glad to hear its not the case.
22:22:27BlaXpiriti'm not going to actively work on it and i'm not gonna reimplement it to use wrappers which hugely negatively impacts it in every aspect
22:22:45BlaXpiritbut if someone show a concrete bug then i'm gonna fix it
22:23:02ldlework2015-10-30 12:23:03 BlaXpirit Arrrrr, i gave up on nim and on nim-csfml
22:23:04ldlework2015-10-30 12:23:25 BlaXpirit the lib is kinda broken :/
22:23:06ldlework2015-10-30 12:23:43 BlaXpirit maybe there were advancements with finalizers, who knows, but i doubt it
22:24:19*shodan45 quit (Quit: Konversation terminated!)
22:24:55ldlework2016-01-08 01:07:31BlaXpiritldlework, my projects are never really abandoned, but this one is one of the closest to being abandoned
22:24:56BlaXpiritldlework, 2016-01-08.log:[11:07:31] <BlaXpirit> ldlework, my projects are never really abandoned, but this one is one of the closest to being abandoned
22:25:00BlaXpiritxD
22:26:55FreezerburnVBlaXpirit, You gave up on nim?
22:27:02BlaXpirityes
22:27:14FreezerburnVWhy so?
22:27:19BlaXpiritwouldn't have time for it anyway even if i didn't give up
22:27:35FreezerburnVBeyond time reasons, of course :) I know that hardship
22:27:55dom96Sornaensis: I don't personally use vim, but curious why you're asking?
22:28:18Sornaensisso I can have syntax highlighting?
22:28:40def-Sornaensis: https://github.com/nim-lang/Nim/wiki/editor-support
22:28:46mat4Sornaensis: Take a look at the homepage, syntax-highlighting is listed
22:29:28Sornaensisyea that plugin is not working for some reason
22:29:32*Sornaensis shakes head
22:29:35Sornaensisthx
22:30:02def-Sornaensis: works fine for me, did you follow the instructions?
22:30:18mat4do you need a terminal-based text editor ?
22:30:36Sornaensisyes I followed the instructions lol
22:30:52BlaXpiritFreezerburnV, i don't want to be negative (anymore, anyway xD)
22:32:04FreezerburnVFreezerburnV, Not asking for negativity. Just curious about the reasons, since I was planning on investing more time into nim, but if there are reasons to just stick to something like Kotlin or learn Go, might as well learn that up front. If you want to PM me due to not wanting to be negative in #nim chat, I'd understand
22:32:06*vendethiel quit (Ping timeout: 252 seconds)
22:32:51FreezerburnVWhy did I type my own name isntead of yours BlaXpirit? I'm apparently way too tired to think...
22:34:14mat4Sornaensis: Because of probably the same problem as you, I ended up using Joe, modificating the Python highlighting scheme (which was an easy task)
22:35:17*Demon_Fox joined #nim
22:37:56*Jesin quit (Quit: Leaving)
22:40:29*Jesin joined #nim
22:40:55mat4Araq_: Is the ignored arithmetic evaluation in constant expressions defining range types a bug or a feature ?
22:41:41Araq_I don't understand you.
22:43:28ephjaI think he has issues defining ranges with const values
22:44:30ephja"range[511..(constDefination - 1)]"
22:44:34ephjadefinition*
22:45:30Araq_"doesn't seem to work". what's the error message?
22:45:46Araq_range[511..(constDefination - 1)] surely should just work
22:47:06ephjaindeed it does
22:48:08mat4I've found the reason: The constant definations were not preprocessed correctly, sorry
22:48:32mat4the error has nothing to do with Nim
22:50:53*yglukhov quit (Remote host closed the connection)
22:52:24Araq_good. these are my favorite bugs
22:54:03ldleworklol
22:57:04*mat4 this statement reminds me of the dinner scene in Indiana Jones and the temple of doom...
22:59:50Araq_lol
23:00:29*skyfex joined #nim
23:04:28*brson joined #nim
23:14:46*matkuki quit (Quit: ChatZilla 0.9.92 [Firefox 44.0/20160123151951])
23:17:37*vendethiel joined #nim
23:18:07VarriountAraq_: I take it you like bugs like this: https://blogs.msdn.microsoft.com/oldnewthing/20140703-00/?p=583
23:30:17*derka quit (Quit: derka)
23:30:33*derka joined #nim
23:37:28*mat4 quit (Quit: Verlassend)
23:39:22*vendethiel quit (Ping timeout: 250 seconds)
23:44:28*lompik joined #nim
23:47:18*vendethiel joined #nim
23:53:25*desophos joined #nim
23:54:45*derka quit (Quit: derka)