<< 16-06-2013 >>

01:10:43*DAddYE joined #nimrod
01:16:49*Zor quit (Ping timeout: 248 seconds)
01:16:57*Zor joined #nimrod
01:25:53*EXetoC quit (Quit: WeeChat 0.4.1)
01:45:28*q66 quit (Remote host closed the connection)
02:22:48*DAddYE quit (Remote host closed the connection)
04:34:16*DAddYE joined #nimrod
04:38:23*DAddYE quit (Ping timeout: 240 seconds)
04:49:15*OrionPK quit (Read error: Connection reset by peer)
04:54:48*zz_fowl is now known as fowl
05:06:53*fowl is now known as zz_fowl
05:30:28*DAddYE joined #nimrod
06:07:56*Ricky_Ricardo joined #nimrod
07:14:42*apotheon_ joined #nimrod
07:16:10*apotheon quit (Ping timeout: 264 seconds)
07:27:52*Ricky_Ricardo quit (Quit: Ricky_Ricardo)
07:30:07*DAddYE quit (Remote host closed the connection)
07:39:06*Endy joined #nimrod
07:45:13*Endy quit (Quit: Try HydraIRC -> http://www.hydrairc.com <-)
07:50:08*Endy joined #nimrod
09:33:50*q66 joined #nimrod
09:57:33*[1]Endy joined #nimrod
10:00:35*Endy quit (Ping timeout: 260 seconds)
10:00:36*[1]Endy is now known as Endy
11:29:58*EXetoC joined #nimrod
12:49:32*Endy quit (Ping timeout: 245 seconds)
13:03:05*Endy joined #nimrod
14:43:05*OrionPK joined #nimrod
15:32:18*Araq__ quit (Read error: Connection timed out)
15:34:24*Araq_ joined #nimrod
15:42:52*Ricky_Ricardo joined #nimrod
15:43:11*apotheon_ is now known as apotheon
15:43:12*apotheon quit (Changing host)
15:43:12*apotheon joined #nimrod
16:11:05*Ricky_Ricardo quit (Quit: laptop[lid].close)
16:12:21*Ricky_Ricardo joined #nimrod
16:12:51*Ricky_Ricardo quit (Client Quit)
16:59:23*[1]Endy joined #nimrod
17:02:22*Endy quit (Ping timeout: 256 seconds)
17:03:51*[1]Endy quit (Ping timeout: 260 seconds)
18:41:50*XAMPP_ quit (Read error: Connection reset by peer)
19:30:36*gradha joined #nimrod
19:32:58*gradha quit (Client Quit)
19:33:24*gradha joined #nimrod
19:45:07EXetoCwrapping C libs is easy as pi
19:45:38gradha??
19:46:00gradhaas long as your C lib doesn't use funny macros, yes
19:48:36gradhaq66: I'm going to get a rift, want me to test your engine?
19:49:31q66gradha, there is no support yet whatsoever
19:50:07gradhaoh, I understood the upstream author had already done some work on it
19:50:16q66not yet
19:50:32EXetoCnot so much in the public interfaces though, right? or maybe I've just been lucky. I'm wrapping a very simple lib now
19:53:45EXetoCactually, I've only wrapped ao and SDL, and SDL has complicated macros that define flags
19:54:13gradhahmm... I thought fowl had already wrapped SDL, is this the new 2.0 version?
19:54:28EXetoCno, this was for another language
19:54:48EXetoCnot that it matters too much
19:57:52EXetoCexpanding the macros would've helped
19:58:28gradhausing cpp can be of help to look at the final version of the headers
19:58:44EXetoCyeah
19:58:52gradhamaybe you should try wrapping http://polycode.org to write code in nimrod instead of c++
19:59:59EXetoCI abandoned C++ about 3 years ago :>
20:02:23gradhanobody seems to have noticed yet that c++ templates are a conspiracy to turn humans into compiler error parsers
20:07:55gradhawriting temp[i] = chr(int(temp[i]) + 1) to rot13 characters seems long, is there a shortcut?
20:17:32*zahary joined #nimrod
20:18:01gradhahello zahary
20:18:41zaharyhi
20:19:13gradhait seems your idetools --eval is a successful backdoor in the compiler
20:19:44zaharybackdoor as in security?
20:20:16gradhanobody else knows what it is meant to do, so it depends on you wanted it to do
20:20:34gradha*what you wanted*
20:21:31zaharyvery-long term, it should eval an expression in the context of the currently running/debugged user project
20:21:47zaharyright now, it's supposed to just eval functions that you just wrote
20:22:12gradhaso it's more of a debugging feature then?
20:22:29gradhakind of using it to change some variable while debugging?
20:23:02zaharyyou could see the videos for the various lisp and smalltalk environments for inspiration
20:23:46gradhaI'll update doc the pull request to say it's still in development
20:41:26gradhaAraq: sorry, pressed the wrong keys and now more wild changes have appeared at https://github.com/Araq/Nimrod/pull/486
21:02:54*EXetoC quit (Quit: WeeChat 0.4.1)
21:04:14*gradha quit (Quit: bbl, need to watch https://www.youtube.com/watch?v=1ZZC82dgJr8 again)
21:10:11*zahary quit (Ping timeout: 256 seconds)
21:26:14*EXetoC joined #nimrod
21:45:35*zahary joined #nimrod
21:47:07*Trix[a]r_za is now known as Trixar_za
22:27:35EXetoCconst LibName = "libao.so" proc init*() {.importc: "ao_initialize", dynlib: LibName} init() -> "ERROR: Failed to load plugin /usr/lib/ao/plugins-4/libalsa.so => dlopen() failed"
22:27:55EXetoCam I doing something wrong? this works in D
22:29:18EXetoCthat's ao_initialize trying to load libalsa.so
22:32:09*zahary quit (Quit: Leaving.)
22:33:33dom96EXetoC: try adding a {.cdecl.} to your pragmas.
22:34:44dom96Meh, that probably won't help actually. It only usually helps on Windows.
22:35:25EXetoCoh
22:37:35dom96hrm, that's interesting. Maybe Nimrod's use of dlopen et al. conflicts with ao_initialize's dlopen
22:51:10*NimBot joined #nimrod
23:02:24*Araq__ joined #nimrod
23:04:23*Araq_ quit (Ping timeout: 240 seconds)
23:12:21EXetoChaven't gotten it to work yet. strange issue
23:12:31EXetoCwill try again tomorrow. cya
23:12:33*EXetoC quit (Quit: WeeChat 0.4.1)
23:20:00*Araq__ quit (Read error: Connection timed out)
23:22:22*Araq_ joined #nimrod
23:27:56*q66 quit (Remote host closed the connection)