03:27:35 | ccssnet | http://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:38 | ccssnet | off topic ^ |
03:27:44 | ccssnet | but im selling some ram :) |
05:28:31 | * | Trix[a]r_za is now known as Trixar_za |
05:29:22 | Trixar_za | Oo |
05:29:25 | Trixar_za | Oh hey ccssnet |
06:28:56 | Trixar_za | I was going to read what they were talking about, then I realized I don't really care enough to bother. |
06:31:40 | fowl | sup nimrodians |
06:32:06 | fowl | this channel gets more activity than some with twice as many people |
06:32:53 | Araq | argh, ccssnet |
06:33:06 | Araq | you did it again! I swear I'll ban you |
06:39:08 | Trixar_za | Well, we better stop this before somebody invokes Godwin's Law |
06:45:41 | Araq | Nobody here is a Nazi. There I said the word. Now the counter is back to 0. :-) |
06:47:19 | Trixar_za | You forgot to make the obligatory reference to hilter |
06:49:21 | Trixar_za | Anyway, I learned how to overcome it. I find being insulting regardless of race or creed tends to help :P |
06:51:14 | Trixar_za | and... we went off topic again |
06:51:14 | Trixar_za | :P |
06:55:44 | Araq | oh btw, glad you like my rammstein quote :D |
06:56:13 | Trixar_za | They played a gig here last year. Shame I missed it |
06:56:37 | Araq | I never saw them live either :-( |
06:58:28 | Trixar_za | I have a friend that works for the National Broadcasting Corporation (SABC). He gets free tickets to shows like this by the promoters |
06:58:53 | Trixar_za | Since I've known him (little over 3 years), I've seen a crapload of shows for free :P |
06:59:11 | Araq | how convenient :D |
06:59:59 | Trixar_za | Not always. He dragged me to an all male ballet thing. |
07:00:06 | Araq | XD |
07:00:11 | fowl | haha |
07:00:15 | Trixar_za | The modern part was OK, but took me a minute to realize they completely lacked women |
07:00:35 | Araq | that's disturbing ... |
07:01:19 | Trixar_za | It's even more disturbing when you realize the second half (classic) consisted of some of them dressed like women |
07:01:41 | Trixar_za | Fake boobs and all |
07:03:42 | Trixar_za | On the upside, I did discover a big secret most guys don't know |
07:04:17 | Trixar_za | Female artist (excluding those that have a heavy gay following), tend to have ALOT of female fans |
07:04:49 | Trixar_za | And most guys don't want to go. So you end up in the golden circle surrounded by young, mostly attractive girls |
07:04:52 | Trixar_za | :P |
07:05:07 | Araq | that's hardly a secret ... :P |
07:05:21 | Trixar_za | Well surprised the bunch of guys there |
07:05:26 | Araq | you only have to watch "sex and the city" in cinema |
07:05:31 | Trixar_za | And I originally didn't want to go |
07:05:31 | Trixar_za | lol |
07:05:36 | Araq | to get this effect |
07:05:47 | Araq | well ... I didn't watch it |
07:05:52 | Araq | I watched something else |
07:06:00 | Araq | but it was obvious :D |
07:06:17 | Trixar_za | The two girls that ended up making out with each other because of the alcohol they've been drinking? |
07:06:58 | Araq | that happens rarely here in germany |
07:07:21 | Araq | all girls do some heavy drinking here |
07:07:31 | Araq | so they are used to it :P |
07:08:01 | Trixar_za | South Africans also drink heavily |
07:08:01 | Trixar_za | also our drinks are some of the heaviest stuff in the world :P |
07:08:13 | Trixar_za | We even add alcohol to our imported drinks - we're that bad |
07:09:11 | Trixar_za | I 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:20 | Trixar_za | Ah, I miss my youth :P |
07:12:55 | Araq | 6 strohrum shots? that's disturbing too ... |
07:13:12 | Araq | anyway, something on topic: |
07:13:41 | Araq | fowl: do you feel like wrapping sfml? |
07:16:23 | fowl | yes im working on it right now |
07:16:33 | Araq | yay excellent |
07:16:47 | fowl | all the "sf" prefixes are pissing me off >_> |
07:18:31 | Araq | c2nim can strip those for you ... |
07:20:30 | Araq | does sfml provide C headers? |
07:21:00 | fowl | yea |
07:21:07 | Araq | wow |
07:21:08 | fowl | called 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:22 | SchalaZeal | Been toying around with the lexbase module |
09:30:05 | * | Trix[a]r_za is now known as Trixar_za |
10:04:18 | Araq | SchalaZeal: be careful with it ;-) |
10:04:24 | Araq | it's very low level |
10:11:03 | SchalaZeal | ah |
10:11:31 | SchalaZeal | well I've been trying to implement a script parser |
10:12:04 | SchalaZeal | for a very old, ugly scripting language that's part of this 2D avatar chat program |
10:12:09 | SchalaZeal | heh |
10:12:47 | Trixar_za | You're writing a MSChat parser? Oo |
10:13:01 | Trixar_za | Well, It's other name is ComicChat |
10:13:17 | SchalaZeal | no no |
10:13:28 | SchalaZeal | the program's called Palace |
10:13:41 | SchalaZeal | and the scripting language is Iptscrae |
10:14:02 | SchalaZeal | It's VERY hideous to look at |
10:14:39 | Araq | SchalaZeal: you have a faible for arcane stuff, don't you? ;-) |
10:14:56 | SchalaZeal | yeah hehe |
10:15:13 | SchalaZeal | here's the "Cyborg" script the program includes |
10:15:14 | SchalaZeal | http://pastebin.com/peWwVahB |
10:15:58 | SchalaZeal | the horror |
10:16:07 | fowl | when i read that i felt like i was being yelled at :( |
10:16:20 | fowl | ON OUTCHAT { .. alright jeez i hear you |
10:18:17 | SchalaZeal | yeah it's either capitalized or lowercase, caps by convention |
10:18:54 | SchalaZeal | the program has a successor called Manor that implements a more efficient engine using Python |
10:19:11 | SchalaZeal | buuuut it ain't free, not as popular either |
10:19:42 | Araq | SchalaZeal: how about doing some useful work instead? |
10:20:00 | Araq | as you noticed the stdlib lacks zipping and encryption stuff |
10:20:45 | SchalaZeal | Well I started work on the iptscrae module once I found 3 open source Palace protocol implementations |
10:20:59 | SchalaZeal | my friend's been wanting a fresh new one forever |
10:22:00 | SchalaZeal | thing 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:12 | SchalaZeal | and GTK...... isn't great on OSX |
10:24:05 | SchalaZeal | plus I learn as I go along... algorithms are a big weakness of mine |
10:25:55 | Araq | alright |
10:25:59 | SchalaZeal | coding is something I want to do but math is horrible |
10:26:18 | Trixar_za | Well, I can just read code. It's harder to actually write it |
10:26:18 | Trixar_za | :P |
10:26:28 | Trixar_za | Also, you got me interested in this now |
10:26:29 | SchalaZeal | same |
10:26:31 | Araq | well I was talking about wrapping more encryption stuff |
10:26:34 | Trixar_za | I wonder how it's server protocol works |
10:26:36 | SchalaZeal | ah that |
10:26:41 | SchalaZeal | I can do that |
10:27:12 | SchalaZeal | well I found just one open source Palace server and well... I've never heard of it before |
10:27:58 | SchalaZeal | protocol documentation sucks too... just a C source file with nary a comment |
10:30:30 | Araq | brb |
10:32:58 | * | SchalaZeal quit () |
11:28:29 | dom96 | fowl: Brilliant, I love SFML :D |
11:50:58 | Araq | ping zahary |
11:51:18 | dom96 | Rust 0.3 has been released... |
11:51:23 | dom96 | Araq: WORK WORK WORK :P |
11:52:18 | Araq | dom96: we can't compete :P |
11:52:30 | dom96 | How can you say that? :( |
11:53:01 | Araq | they have a team working on it |
11:53:15 | Araq | they put money into it |
11:54:06 | Araq | on the other hand, I bet their type system is now too complex :P |
11:54:42 | dom96 | :) |
11:55:19 | Araq | and they lack exceptions |
11:55:29 | Araq | and sets |
11:55:50 | Araq | and nimrod's macro system is more advanced |
11:55:54 | Araq | (I think ...) |
11:57:16 | dom96 | Araq: Does idetools have a "Find definition of someFunc()"? |
11:57:27 | dom96 | (Yes, I am totally copying things from VS now :P) |
11:59:11 | Araq | yeah, 'def'? |
11:59:25 | * | Trixar_za is now known as Trix[a]r_za |
11:59:36 | dom96 | Awesome. |
11:59:47 | Araq | you said, it doesn't work ;-) |
12:00:25 | dom96 | haha. My memory sucks. |
12:07:17 | dom96 | Cool, the pi is still connected :P |
12:11:37 | dom96 | Also just noticed the 'int literal(5)' stuff. |
12:11:43 | dom96 | I like it. |
12:12:32 | Araq | "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:34 | Araq | ...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:35 | Araq | ...much longer." |
12:12:56 | Araq | so typestate is a failure ... much like D's const IMHO |
12:13:13 | Araq | and they are discussing about a naming scheme ... |
12:18:34 | dom96 | Araq: Why do the docs use a semicolon instead of a comma? |
12:18:57 | Araq | because the ';' is now supported |
12:19:05 | Araq | and otherwise it may be ambiguous |
12:19:12 | Araq | proc p(a, b; c: int) |
12:19:17 | Araq | --> a, b inferred |
12:19:33 | dom96 | oh. |
12:19:56 | dom96 | Is ';' supported yet for having multiple commands in the same line? |
12:20:05 | Araq | that too |
12:20:11 | Araq | and that's implemented too |
12:20:19 | dom96 | wow, nice. |
12:20:41 | dom96 | Why aren't you telling me this stuff!? |
12:21:37 | Araq | the git commits should tell you |
12:25:10 | dom96 | right |
12:28:46 | Araq | hrm my todo says: proc `@` [T](a: openArray[T]): seq[T] |
12:28:53 | Araq | do we really need that? |
12:29:11 | Araq | right now `@` only converts arrays, not open arrays |
12:30:27 | dom96 | Might be nice, no? |
12:31:13 | Araq | meh alright |
12:31:23 | Araq | I'll see if it's ambigous |
12:31:41 | * | Araq likes the {.error.} pragma |
12:35:33 | * | dom96 likes the parseutils module |
12:38:45 | dom96 | Araq: hrm, any ideas how to detect whether an error message spans multiple lines? |
12:38:58 | Araq | you mean for aporia? |
12:39:01 | dom96 | yes |
12:39:17 | Araq | ugh I don't think that's possible ... |
12:39:52 | Araq | but we could change the compiler |
12:40:03 | Araq | so that it indents the following lines |
12:41:10 | dom96 | D: |
12:42:28 | Araq | btw can I close #115 ? |
12:43:18 | dom96 | no. |
12:43:30 | Araq | why not? |
12:43:35 | dom96 | The times module still doesn't have all the features described in that issue |
12:44:05 | Araq | we need to keep the bug count below 25 at any cost |
12:44:15 | dom96 | lol? |
12:44:21 | Araq | otherwise they are out sight and out of my mind |
12:44:39 | dom96 | Just make sure to mark them correctly |
12:44:43 | dom96 | and worry about the "major" bugs |
12:46:14 | dom96 | But yeah, please make the compiler indent the error messages |
12:46:45 | Araq | you can do it |
12:46:49 | Araq | it's all in msgs.nim |
12:46:58 | Araq | no other files to change |
12:47:38 | dom96 | alright |
12:51:08 | dom96 | You fixed the changes I "fixed" a week ago didn't you? |
12:55:30 | Araq | the enum bug at least |
12:55:35 | Araq | dunno what else you fixed :P |
12:55:43 | Araq | github is up to date though |
12:58:18 | Araq | I gotta go |
12:58:20 | Araq | see you later |
13:42:10 | * | Reisen joined #nimrod |
15:13:35 | * | Trix[a]r_za is now known as Trixar_za |
15:15:54 | Trixar_za | Tasser: Had the same problem. Even with the right certs it doesn't work properly |
15:26:36 | fowl | what 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:43 | dom96 | fowl: Maybe try removing the 'CSFML_GRAPHICS_API' |
15:41:52 | fowl | dom96, can i tell it to ignore that part, because its on every function :/ |
15:44:49 | dom96 | probably not. |
15:45:01 | dom96 | Just use your editor to remove it all |
16:15:30 | * | Reisen quit (Ping timeout: 252 seconds) |
16:26:55 | fowl | i dont like that answer |
16:27:03 | fowl | :p |
16:27:37 | Trixar_za | Anyway, bye for now. I leave you all with: http://project-apollo.net/text/rpg.html |
16:27:42 | fowl | ill 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:50 | dom96 | fowl: 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:24 | dom96 | I 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:22 | dom96 | hey filwit |
18:55:57 | filwit | hi dom96 |
18:56:14 | filwit | sorry for spaming the forums the other day, Araq <:D |
18:56:21 | filwit | thead** |
19:36:32 | dom96 | You mean the IRC channel? |
19:38:05 | filwit | dom96: yes |
19:38:15 | filwit | sorry, I'm attempting to fix my Arch Linux right now |
19:38:31 | filwit | it broke this morning when I tried ot update |
19:38:49 | filwit | and the new /lib to /usr/lib thing is more difficult with Catalyst drivers |
19:38:51 | filwit | :S |
19:39:42 | dom96 | oh great |
19:39:51 | dom96 | I bet I will have fun then... |
19:40:12 | dom96 | I've been playing Deus Ex: HR for quite a while |
19:40:42 | Tasser | dom96, the new one? |
19:40:47 | dom96 | Tasser: yes |
19:41:00 | dom96 | It was quite cheap a while ago on Steam |
19:41:03 | Tasser | dom96, played it a bit on a games convention... :-) |
19:41:13 | dom96 | The guards are quite silly. |
19:41:33 | dom96 | Snipe 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:05 | fowl | thats the way skyrim is |
20:40:30 | fowl | kill 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:39 | dom96 | oh yeah lol |
20:40:43 | fowl | yes, the wind must have flung an arrow into your friends face |
20:40:59 | dom96 | haha |
20:41:07 | fowl | its a harsh land lol |
20:50:00 | Tasser | I suppose that's realism vs. game fun |
20:51:04 | dom96 | I'm guessing if I raised the difficulty the guards would look around a bit more intelligently. |
21:11:59 | fowl | Ok 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:51 | fowl | and i guess they should be const too |
21:12:54 | dom96 | yes, there is a way to tell c2nim to add that for you |
21:13:33 | dom96 | I'm sure it's documented somewhere in --help |
21:14:31 | fowl | oh cool |
21:14:33 | fowl | --dynlib |
21:15:52 | dom96 | The colors don't seem to be initialized in the header file |
21:16:07 | fowl | i checked the .so they're in there |
21:16:11 | dom96 | hrm. |
21:16:31 | dom96 | I've never seen a C wrapper for a C++ library heh |
21:17:06 | fowl | i think he maintains it mainly for ffi usage |
21:18:34 | dom96 | I guess Ruby/Python use it too. |
21:19:00 | dom96 | So yeah |
21:30:58 | fowl | hrm const Black*{.importc: "sfBlack", dynlib: LibG.}: Color expects a definition |
21:32:09 | dom96 | I don't think you can make it const |
21:32:29 | dom96 | maybe just make it a `let` |
21:36:30 | fowl | Error: 'let' symbol requires an initialization |
21:36:44 | fowl | it almost worked with var |
21:36:54 | dom96 | It doesn't work with 'var'? |
21:39:28 | fowl | I get a bunch of conflicting type errors |
21:39:36 | fowl | from gcc |
21:40:11 | dom96 | what are they? |
21:41:14 | fowl | ah nvm i was including a header from nimrod.cfg |
21:41:24 | fowl | i was prob high when i did that |
21:42:04 | dom96 | heh |
22:02:09 | fowl | hrm now i get "undefined reference to `sfBlue'" when i try to use it :/ |
22:05:42 | dom96 | it must not be in the .so then |
22:44:28 | dom96 | good night |
22:53:20 | fowl | night |