<<14-07-2012>>

03:27:35ccssnethttp://rover.ebay.com/rover/1/711-53200-19255-0/1?ff3=2&toolid=10044&campid=5336665968&customid=&lgeo=1&vectorid=229466&item=320944559556
03:27:38ccssnetoff topic ^
03:27:44ccssnetbut im selling some ram :)
05:28:31*Trix[a]r_za is now known as Trixar_za
05:29:22Trixar_zaOo
05:29:25Trixar_zaOh hey ccssnet
06:28:56Trixar_zaI was going to read what they were talking about, then I realized I don't really care enough to bother.
06:31:40fowlsup nimrodians
06:32:06fowlthis channel gets more activity than some with twice as many people
06:32:53Araqargh, ccssnet
06:33:06Araqyou did it again! I swear I'll ban you
06:39:08Trixar_zaWell, we better stop this before somebody invokes Godwin's Law
06:45:41AraqNobody here is a Nazi. There I said the word. Now the counter is back to 0. :-)
06:47:19Trixar_zaYou forgot to make the obligatory reference to hilter
06:49:21Trixar_zaAnyway, I learned how to overcome it. I find being insulting regardless of race or creed tends to help :P
06:51:14Trixar_zaand... we went off topic again
06:51:14Trixar_za:P
06:55:44Araqoh btw, glad you like my rammstein quote :D
06:56:13Trixar_zaThey played a gig here last year. Shame I missed it
06:56:37AraqI never saw them live either :-(
06:58:28Trixar_zaI have a friend that works for the National Broadcasting Corporation (SABC). He gets free tickets to shows like this by the promoters
06:58:53Trixar_zaSince I've known him (little over 3 years), I've seen a crapload of shows for free :P
06:59:11Araqhow convenient :D
06:59:59Trixar_zaNot always. He dragged me to an all male ballet thing.
07:00:06AraqXD
07:00:11fowlhaha
07:00:15Trixar_zaThe modern part was OK, but took me a minute to realize they completely lacked women
07:00:35Araqthat's disturbing ...
07:01:19Trixar_zaIt's even more disturbing when you realize the second half (classic) consisted of some of them dressed like women
07:01:41Trixar_zaFake boobs and all
07:03:42Trixar_zaOn the upside, I did discover a big secret most guys don't know
07:04:17Trixar_zaFemale artist (excluding those that have a heavy gay following), tend to have ALOT of female fans
07:04:49Trixar_zaAnd most guys don't want to go. So you end up in the golden circle surrounded by young, mostly attractive girls
07:04:52Trixar_za:P
07:05:07Araqthat's hardly a secret ... :P
07:05:21Trixar_zaWell surprised the bunch of guys there
07:05:26Araqyou only have to watch "sex and the city" in cinema
07:05:31Trixar_zaAnd I originally didn't want to go
07:05:31Trixar_zalol
07:05:36Araqto get this effect
07:05:47Araqwell ... I didn't watch it
07:05:52AraqI watched something else
07:06:00Araqbut it was obvious :D
07:06:17Trixar_zaThe two girls that ended up making out with each other because of the alcohol they've been drinking?
07:06:58Araqthat happens rarely here in germany
07:07:21Araqall girls do some heavy drinking here
07:07:31Araqso they are used to it :P
07:08:01Trixar_zaSouth Africans also drink heavily
07:08:01Trixar_zaalso our drinks are some of the heaviest stuff in the world :P
07:08:13Trixar_zaWe even add alcohol to our imported drinks - we're that bad
07:09:11Trixar_zaI have lost some of my drinking ability though. I used to be able to down 6 stroh rums shots and be perfectly fine
07:09:20Trixar_zaAh, I miss my youth :P
07:12:55Araq6 strohrum shots? that's disturbing too ...
07:13:12Araqanyway, something on topic:
07:13:41Araqfowl: do you feel like wrapping sfml?
07:16:23fowlyes im working on it right now
07:16:33Araqyay excellent
07:16:47fowlall the "sf" prefixes are pissing me off >_>
07:18:31Araqc2nim can strip those for you ...
07:20:30Araqdoes sfml provide C headers?
07:21:00fowlyea
07:21:07Araqwow
07:21:08fowlcalled csfml
07:28:59*Trixar_za is now known as Trix[a]r_za
08:53:39*zahary joined #nimrod
09:27:59*SchalaZeal joined #nimrod
09:28:22SchalaZealBeen toying around with the lexbase module
09:30:05*Trix[a]r_za is now known as Trixar_za
10:04:18AraqSchalaZeal: be careful with it ;-)
10:04:24Araqit's very low level
10:11:03SchalaZealah
10:11:31SchalaZealwell I've been trying to implement a script parser
10:12:04SchalaZealfor a very old, ugly scripting language that's part of this 2D avatar chat program
10:12:09SchalaZealheh
10:12:47Trixar_zaYou're writing a MSChat parser? Oo
10:13:01Trixar_zaWell, It's other name is ComicChat
10:13:17SchalaZealno no
10:13:28SchalaZealthe program's called Palace
10:13:41SchalaZealand the scripting language is Iptscrae
10:14:02SchalaZealIt's VERY hideous to look at
10:14:39AraqSchalaZeal: you have a faible for arcane stuff, don't you? ;-)
10:14:56SchalaZealyeah hehe
10:15:13SchalaZealhere's the "Cyborg" script the program includes
10:15:14SchalaZealhttp://pastebin.com/peWwVahB
10:15:58SchalaZealthe horror
10:16:07fowlwhen i read that i felt like i was being yelled at :(
10:16:20fowlON OUTCHAT { .. alright jeez i hear you
10:18:17SchalaZealyeah it's either capitalized or lowercase, caps by convention
10:18:54SchalaZealthe program has a successor called Manor that implements a more efficient engine using Python
10:19:11SchalaZealbuuuut it ain't free, not as popular either
10:19:42AraqSchalaZeal: how about doing some useful work instead?
10:20:00Araqas you noticed the stdlib lacks zipping and encryption stuff
10:20:45SchalaZealWell I started work on the iptscrae module once I found 3 open source Palace protocol implementations
10:20:59SchalaZealmy friend's been wanting a fresh new one forever
10:22:00SchalaZealthing is... GTK is fine for Windows and Linux..... but I want to port to Mac too once my mom gets her new macbook
10:22:12SchalaZealand GTK...... isn't great on OSX
10:24:05SchalaZealplus I learn as I go along... algorithms are a big weakness of mine
10:25:55Araqalright
10:25:59SchalaZealcoding is something I want to do but math is horrible
10:26:18Trixar_zaWell, I can just read code. It's harder to actually write it
10:26:18Trixar_za:P
10:26:28Trixar_zaAlso, you got me interested in this now
10:26:29SchalaZealsame
10:26:31Araqwell I was talking about wrapping more encryption stuff
10:26:34Trixar_zaI wonder how it's server protocol works
10:26:36SchalaZealah that
10:26:41SchalaZealI can do that
10:27:12SchalaZealwell I found just one open source Palace server and well... I've never heard of it before
10:27:58SchalaZealprotocol documentation sucks too... just a C source file with nary a comment
10:30:30Araqbrb
10:32:58*SchalaZeal quit ()
11:28:29dom96fowl: Brilliant, I love SFML :D
11:50:58Araqping zahary
11:51:18dom96Rust 0.3 has been released...
11:51:23dom96Araq: WORK WORK WORK :P
11:52:18Araqdom96: we can't compete :P
11:52:30dom96How can you say that? :(
11:53:01Araqthey have a team working on it
11:53:15Araqthey put money into it
11:54:06Araqon the other hand, I bet their type system is now too complex :P
11:54:42dom96:)
11:55:19Araqand they lack exceptions
11:55:29Araqand sets
11:55:50Araqand nimrod's macro system is more advanced
11:55:54Araq(I think ...)
11:57:16dom96Araq: Does idetools have a "Find definition of someFunc()"?
11:57:27dom96(Yes, I am totally copying things from VS now :P)
11:59:11Araqyeah, 'def'?
11:59:25*Trixar_za is now known as Trix[a]r_za
11:59:36dom96Awesome.
11:59:47Araqyou said, it doesn't work ;-)
12:00:25dom96haha. My memory sucks.
12:07:17dom96Cool, the pi is still connected :P
12:11:37dom96Also just noticed the 'int literal(5)' stuff.
12:11:43dom96I like it.
12:12:32Araq"Typestate's still there for the time being, but it may not be for much longer. The problem is that it's not being used anywhere in the compiler, so it's not getting exercised nor is it providing any constructive design feedback. Last year there was an attempt to begin using typestate throughout the compiler and standard library, but it proved so clunky to use in practice that nobody had any...
12:12:34Araq...patience to deal with it. So now there are two camps among the developers: those who consider the (quite large) subsystem to be a useless maintenance albatross, and those who would still like the idea of typestate but who acknowledge that it's not usable in its current form. Rust's BDFL appears to be slowly migrating from the latter camp to the former, so typestate may not be around for...
12:12:35Araq...much longer."
12:12:56Araqso typestate is a failure ... much like D's const IMHO
12:13:13Araqand they are discussing about a naming scheme ...
12:18:34dom96Araq: Why do the docs use a semicolon instead of a comma?
12:18:57Araqbecause the ';' is now supported
12:19:05Araqand otherwise it may be ambiguous
12:19:12Araqproc p(a, b; c: int)
12:19:17Araq--> a, b inferred
12:19:33dom96oh.
12:19:56dom96Is ';' supported yet for having multiple commands in the same line?
12:20:05Araqthat too
12:20:11Araqand that's implemented too
12:20:19dom96wow, nice.
12:20:41dom96Why aren't you telling me this stuff!?
12:21:37Araqthe git commits should tell you
12:25:10dom96right
12:28:46Araqhrm my todo says: proc `@` [T](a: openArray[T]): seq[T]
12:28:53Araqdo we really need that?
12:29:11Araqright now `@` only converts arrays, not open arrays
12:30:27dom96Might be nice, no?
12:31:13Araqmeh alright
12:31:23AraqI'll see if it's ambigous
12:31:41*Araq likes the {.error.} pragma
12:35:33*dom96 likes the parseutils module
12:38:45dom96Araq: hrm, any ideas how to detect whether an error message spans multiple lines?
12:38:58Araqyou mean for aporia?
12:39:01dom96yes
12:39:17Araqugh I don't think that's possible ...
12:39:52Araqbut we could change the compiler
12:40:03Araqso that it indents the following lines
12:41:10dom96D:
12:42:28Araqbtw can I close #115 ?
12:43:18dom96no.
12:43:30Araqwhy not?
12:43:35dom96The times module still doesn't have all the features described in that issue
12:44:05Araqwe need to keep the bug count below 25 at any cost
12:44:15dom96lol?
12:44:21Araqotherwise they are out sight and out of my mind
12:44:39dom96Just make sure to mark them correctly
12:44:43dom96and worry about the "major" bugs
12:46:14dom96But yeah, please make the compiler indent the error messages
12:46:45Araqyou can do it
12:46:49Araqit's all in msgs.nim
12:46:58Araqno other files to change
12:47:38dom96alright
12:51:08dom96You fixed the changes I "fixed" a week ago didn't you?
12:55:30Araqthe enum bug at least
12:55:35Araqdunno what else you fixed :P
12:55:43Araqgithub is up to date though
12:58:18AraqI gotta go
12:58:20Araqsee you later
13:42:10*Reisen joined #nimrod
15:13:35*Trix[a]r_za is now known as Trixar_za
15:15:54Trixar_zaTasser: Had the same problem. Even with the right certs it doesn't work properly
15:26:36fowlwhat do i have to do so c2nim can import defs like this: CSFML_GRAPHICS_API sfRenderWindow* sfRenderWindow_create(sfVideoMode mode, const char* title, sfUint32 style, const sfContextSettings* settings); i get error ';' expected
15:40:43dom96fowl: Maybe try removing the 'CSFML_GRAPHICS_API'
15:41:52fowldom96, can i tell it to ignore that part, because its on every function :/
15:44:49dom96probably not.
15:45:01dom96Just use your editor to remove it all
16:15:30*Reisen quit (Ping timeout: 252 seconds)
16:26:55fowli dont like that answer
16:27:03fowl:p
16:27:37Trixar_zaAnyway, bye for now. I leave you all with: http://project-apollo.net/text/rpg.html
16:27:42fowlill look into adding an --ignore option to ignore tokens or something, araq probably has a better way to do it
16:28:04*Reisen joined #nimrod
16:29:29*Trixar_za is now known as Trix[a]r_za
16:30:50dom96fowl: Yeah, Araq always has a better way heh. Maybe redefining that to nothing or some dummy value would help, although I doubt it.
16:32:24dom96I don't really have any other ideas
18:19:54*fowl is now known as fowl-afk
18:30:04*philip__ joined #nimrod
18:31:16*philip__ is now known as filwit
18:46:22dom96hey filwit
18:55:57filwithi dom96
18:56:14filwitsorry for spaming the forums the other day, Araq <:D
18:56:21filwitthead**
19:36:32dom96You mean the IRC channel?
19:38:05filwitdom96: yes
19:38:15filwitsorry, I'm attempting to fix my Arch Linux right now
19:38:31filwitit broke this morning when I tried ot update
19:38:49filwitand the new /lib to /usr/lib thing is more difficult with Catalyst drivers
19:38:51filwit:S
19:39:42dom96oh great
19:39:51dom96I bet I will have fun then...
19:40:12dom96I've been playing Deus Ex: HR for quite a while
19:40:42Tasserdom96, the new one?
19:40:47dom96Tasser: yes
19:41:00dom96It was quite cheap a while ago on Steam
19:41:03Tasserdom96, played it a bit on a games convention... :-)
19:41:13dom96The guards are quite silly.
19:41:33dom96Snipe a guard, a minute later the other guards "oh, must have been nothing".
20:11:01*filwit quit (Quit: Leaving)
20:38:50*fowl-afk is now known as fowl
20:40:05fowlthats the way skyrim is
20:40:30fowlkill a bandit and the others will run over to the body like OMG WHAT HAPPENED a minute later they say must have been the wind
20:40:39dom96oh yeah lol
20:40:43fowlyes, the wind must have flung an arrow into your friends face
20:40:59dom96haha
20:41:07fowlits a harsh land lol
20:50:00TasserI suppose that's realism vs. game fun
20:51:04dom96I'm guessing if I raised the difficulty the guards would look around a bit more intelligently.
21:11:59fowlOk i'm importing Color.h right now, it looks like this: https://gist.github.com/1922a0eb67d037c8aba0 there's a bunch of predefined colors, when I ran c2nim on it they came through as var Black: Color so to import these from the lib do I use var Black: Color {.importc: "sfBlack", dynlib: ...} ?
21:12:51fowland i guess they should be const too
21:12:54dom96yes, there is a way to tell c2nim to add that for you
21:13:33dom96I'm sure it's documented somewhere in --help
21:14:31fowloh cool
21:14:33fowl--dynlib
21:15:52dom96The colors don't seem to be initialized in the header file
21:16:07fowli checked the .so they're in there
21:16:11dom96hrm.
21:16:31dom96I've never seen a C wrapper for a C++ library heh
21:17:06fowli think he maintains it mainly for ffi usage
21:18:34dom96I guess Ruby/Python use it too.
21:19:00dom96So yeah
21:30:58fowlhrm const Black*{.importc: "sfBlack", dynlib: LibG.}: Color expects a definition
21:32:09dom96I don't think you can make it const
21:32:29dom96maybe just make it a `let`
21:36:30fowlError: 'let' symbol requires an initialization
21:36:44fowlit almost worked with var
21:36:54dom96It doesn't work with 'var'?
21:39:28fowlI get a bunch of conflicting type errors
21:39:36fowlfrom gcc
21:40:11dom96what are they?
21:41:14fowlah nvm i was including a header from nimrod.cfg
21:41:24fowli was prob high when i did that
21:42:04dom96heh
22:02:09fowlhrm now i get "undefined reference to `sfBlue'" when i try to use it :/
22:05:42dom96it must not be in the .so then
22:44:28dom96good night
22:53:20fowlnight