06:21:55 | * | fowl quit (Quit: Leaving) |
09:28:33 | * | fowl joined #nimrod |
10:27:57 | * | gradha joined #nimrod |
10:28:26 | gradha | test results from my mac at http://dl.dropbox.com/u/145894/t/testresults.html |
10:48:53 | * | XAMPP_8 joined #nimrod |
10:52:19 | * | XAMPP-8 quit (Ping timeout: 248 seconds) |
11:05:07 | * | HFT joined #nimrod |
11:13:53 | * | XAMPP quit (Ping timeout: 245 seconds) |
13:31:54 | * | Araq_ joined #nimrod |
13:34:27 | Araq_ | welcome HFT |
13:34:48 | HFT | hi there |
13:34:50 | HFT | :) |
13:54:39 | Araq_ | usually action starts at night here ;-) |
14:04:42 | * | Araq_ quit (Quit: ChatZilla 0.9.89 [Firefox 17.0.1/20121128204232]) |
14:40:15 | * | q66 joined #nimrod |
15:10:18 | gradha | the best way to have action is to start it |
16:00:04 | * | dom96 starts the action |
16:00:07 | dom96 | hey HFT |
16:01:51 | dom96 | gradha: I see you've been busy today |
16:02:03 | gradha | it only looks that way |
16:02:43 | * | XAMPP_8 quit (Ping timeout: 248 seconds) |
16:04:26 | * | dom96 is already distracted with a Prison Architect GameSpot stream |
16:05:06 | * | gradha scratches head, goes back to mowing lawn |
16:05:31 | * | dom96 wishes he had a lawn to mow |
16:05:51 | gradha | never said it was mine! |
16:11:20 | dom96 | Prison Architect looks quite good actually: http://www.twitch.tv/gamespot |
16:13:02 | gradha | sounds like the sims with chains |
16:16:42 | dom96 | heh, true |
16:18:59 | dom96 | I like these types of games |
16:19:51 | gradha | from what I've read you could like dwarf fortress, a text game I believe |
16:21:06 | gradha | oh, look, it even has "wikipedia" pages http://en.wikipedia.org/wiki/Dwarf_Fortress |
16:24:47 | dom96 | yeah, i've played it once |
16:24:54 | dom96 | Never really got into it. |
16:25:00 | dom96 | Prefer Nethack. |
16:25:57 | gradha | I've always liked the "idea" of games with depth, but end up always settling for graphics, preferably in youtube non interactive form |
16:27:48 | gradha | I've ended up kickstarting http://www.robertsspaceindustries.com, though it clearly didn't need my help. The dev team said they plan to support occulust rift |
16:28:33 | dom96 | ahh yeah. It looks good, but it will take them a while to finish it. |
16:29:01 | dom96 | I saw a video of people trying the Occulus Rift at CES (IIRC), and they were very amazed. |
16:29:07 | gradha | I'm still waiting for http://aa-project.sourceforge.net/aalib/ to create a kickstarter where they promise to bring ASCII in 3d for the occulus rift, imagine nethack with that |
16:29:09 | dom96 | So i'm looking forward to it too. |
16:29:45 | dom96 | that would be interesting, nethack would benefit from real graphics though. |
16:30:21 | gradha | don't they have isometric/tiled versions of the game? |
16:31:04 | dom96 | yeah. But I didn't find it very impressive from the screenshots, I couldn't get it running. |
16:40:57 | dom96 | But yeah, every time I play nethack I always die a different surprising way. I haven't played any other games which have so much surprises. |
16:42:02 | gradha | does nethack have a concept of savegames? |
16:42:24 | dom96 | yeah, but as soon as you die your save does too. |
16:42:35 | dom96 | you could cheat of course |
16:43:03 | gradha | and being open source I guess nobody has hacked nethack to make them persist? |
16:43:52 | gradha | I used to do that when playing xcom, save game, shoot alien, fail shoot, reload game, shoot alien, killed, ok, continue |
16:44:30 | dom96 | well it's a part of the game |
16:44:36 | dom96 | there is a lot of variants of nethack |
16:50:13 | * | FreeArtMan joined #nimrod |
16:56:17 | gradha | hmm... a nimrod variant of nethack |
16:58:08 | dom96 | yes! :D |
16:58:11 | dom96 | Make one :P |
16:58:35 | dom96 | We already have a library for this sort of stuff wrapped. |
16:59:10 | gradha | I would need to know nethack, do you mind me playing first a few years "for documentation" purposes? |
17:00:38 | dom96 | lol. I do, yes. |
17:00:50 | dom96 | I will give you 5 minutes play time. |
17:01:20 | gradha | screenshots... err textshots should be enough |
17:01:51 | dom96 | The key to a good nethack-like game is a good story line. |
17:01:57 | dom96 | IMO |
17:02:08 | gradha | oh, I thought nethack was random like diablo? |
17:02:37 | dom96 | yeah, well it is procedurally generated |
17:02:45 | dom96 | But there is still objectives and stuff |
17:03:37 | dom96 | You have to get some amulet or something |
17:03:57 | dom96 | and you find interesting things, I guess there isn't really traditional story line like in Skyrim |
17:04:02 | dom96 | But it's still quite interesting |
17:04:09 | gradha | does the storyline tell you why you want the amulet? |
17:04:23 | * | dom96 can't remember |
17:04:54 | dom96 | http://nethackwiki.com/wiki/Main_Page |
17:06:36 | dom96 | http://nethackwiki.com/wiki/Story |
17:09:24 | dom96 | It's a bit hard to explain |
17:09:36 | dom96 | I guess it is like Diablo |
17:13:44 | * | FreeArtMan quit (Read error: Connection reset by peer) |
17:36:15 | * | XAMPP-8 joined #nimrod |
17:56:30 | dom96 | Now this is cool, custom Portal 2 level to test for possible job applicants: http://jobs.wibidata.com/puzzles/portal/ |
17:58:49 | gradha | they don't seem to make it a requirement though |
18:01:45 | dom96 | still pretty cool |
18:02:33 | gradha | the idea is nice, shame I don't have any interest in big data |
18:07:53 | gradha | everybody is working now on big data like the most fascinating thing and I still don't get "the web", sigh |
18:14:49 | gradha | talking about web, can jester be used to generate static web pages? what are the requirements for a cheap host, just cgi-bin or something more advanced? |
18:16:41 | dom96 | no. Jester is designed for dynamic websites. |
18:16:48 | dom96 | It is essentially a clone of Sinatra. |
18:25:54 | dom96 | as for a cheap host: github pages seems fine for static things |
18:27:07 | gradha | I've written some crappy google appengine page and thought about moving it to a crappy nimrod implementation to compare |
18:29:30 | * | FreeArtMan joined #nimrod |
18:41:00 | * | XAMPP-8 quit (Ping timeout: 252 seconds) |
18:47:06 | gradha | that's it, let's wrap http://www.webtoolkit.eu/wt/ in nimrod, for maximum lolz |
18:47:33 | gradha | dom96: can you go there and try use the chat of the web page? I want to see if it truly works or its a gimmick |
18:48:11 | gradha | the chat is somewhat collapsed on the bottom right of each page, and seems to "wander" around during navigation |
18:48:50 | dom96 | Works for me? |
18:49:16 | gradha | cool, thanks |
18:50:19 | gradha | nice, it even displays that you "logged out", I guess closing the tab/browser |
18:51:08 | gradha | I wonder if such a web chat could be cross-linked into irc through a proxy bot |
18:51:16 | gradha | or just about anything, like jabber |
18:51:35 | gradha | sounds like a support nightmare though |
18:58:44 | * | q66 quit (Ping timeout: 252 seconds) |
19:00:40 | * | q66 joined #nimrod |
19:09:28 | reactormonk | how do I create namespaces for import? So from kwin import client is valid? |
19:11:23 | dom96 | I don't think that is possible. |
19:11:42 | dom96 | unless 'client' is some object or function |
19:11:51 | reactormonk | hmm |
19:12:09 | gradha | don't know what you want to do, maybe export client to users of your module? |
19:12:42 | reactormonk | well, I'd like that stuff to be namespaced. |
19:12:57 | reactormonk | currently I have 5 files 'globals, ...' |
19:13:07 | gradha | AFAIC if you import something, that something doesn't get exported |
19:13:18 | gradha | at least I had to explicitly make it available to outsiders, see https://github.com/gradha/epak/blob/master/nimrod/nimepakoo.nim |
19:14:23 | gradha | what's the arrangement of your globals files? sounds like pain |
19:14:46 | dom96 | I think the Nimrod way is to name your module 'kwinclient' |
19:15:03 | dom96 | Araq dislikes hierarchies. |
19:19:49 | reactormonk | aww |
19:20:19 | dom96 | But do try to convince him otherwise :P |
19:22:20 | reactormonk | not worth it. |
19:24:00 | reactormonk | dom96, name == filename? |
19:26:21 | dom96 | yeah |
19:27:22 | reactormonk | hm |
19:27:35 | gradha | amazing, the geniuses behind python decided that in xml when you have an empty string you actually want a None object |
19:28:06 | reactormonk | gradha, hm. Is "" falsy in python? |
19:28:37 | gradha | yes |
19:28:49 | reactormonk | gradha, lol. |
19:29:15 | gradha | looks like <tag /> and <tag></tag> are the same thing, in some parallel universe |
19:29:59 | gradha | and this parallel universe happened to dump itself on this one, so now I have to manually convert None objects to "" because otherwise stuff breaks due to strings being expected. Yay! |
19:31:21 | dom96 | gradha: Speaking of parallel universes, you ever watched Fringe? :P |
19:31:31 | reactormonk | gradha, according to #xml, those two are the same things |
19:31:38 | gradha | and here we have again a case for types saving the day |
19:31:48 | gradha | dom96: I did a few episodes |
19:31:53 | gradha | reactormonk: no kidding!? |
19:31:57 | reactormonk | gradha, yep |
19:32:24 | reactormonk | Ankh | reactormonk, yes (outside of Web browsers) |
19:33:00 | gradha | so it's impossible in xml to have an empty string? amazing |
19:33:11 | reactormonk | gradha, go ask yourself, can't tell you |
19:40:39 | gradha | why do I keep waking up in the wrong universe |
19:41:16 | reactormonk | gradha, :-P |
19:42:23 | gradha | dom96: I stopped watching fringe when I saw terminator-grandma take off her skin and show a cybernetic arm, that was enough WTF for me |
19:42:34 | dom96 | haha |
19:42:49 | dom96 | I watched all of it :P |
19:44:18 | gradha | the whole first season? |
19:44:25 | reactormonk | http://sprunge.us/bAKD |
19:44:31 | dom96 | gradha: All the seasons |
19:44:48 | reactormonk | I added path="kwin" to nimrod.cfg |
19:44:54 | reactormonk | but import kwinglobals, kwinworkspace, kwinclient, kwinoptions, kwintoplevel |
19:45:00 | reactormonk | tiling.nim(1, 18) Error: cannot open 'kwinglobals' |
19:45:14 | dom96 | try: --path:kwin |
19:45:27 | dom96 | in the config |
19:45:30 | reactormonk | doesn't help |
19:45:50 | dom96 | you have an extra 's' in your import :P |
19:47:04 | reactormonk | *head -> wall* |
19:47:22 | reactormonk | converter toQVariant(obj: expr): QVariant = result = cast[QVariant](obj) <- valid? |
19:48:08 | * | gradha quit (Quit: Leaving) |
19:49:19 | * | dom96 isn't sure if you can use 'expr' in converters |
19:50:34 | reactormonk | var geom_15001 = workspace.activeClient.geometry_10009; |
19:50:37 | reactormonk | geom_15001.height_9012 -= 100; |
19:50:39 | reactormonk | workspace.activeClient.geometry_10009 = geom_15001; |
19:50:41 | reactormonk | ... kinda nice |
19:51:52 | reactormonk | Nice guide to create a babel package? |
19:55:33 | dom96 | https://github.com/nimrod-code/babel#example-babel-file |
19:56:14 | reactormonk | no code in there? |
19:59:16 | reactormonk | http://sprunge.us/THOj any way to shorten that? |
20:01:24 | dom96 | Not currently. We might get anonymous object creation soon enough though. |
20:04:06 | dom96 | can you actually do that? (omit the return type?) |
20:05:07 | reactormonk | dom96, nope. ;-) |
20:08:22 | * | codeallergy joined #nimrod |
20:13:29 | * | FreeArtMan quit (Read error: Operation timed out) |
20:48:08 | dom96 | This is quite cool: https://github.com/search?q=extension%3Anim&type=Code&ref=searchresults |
21:03:49 | Araq | hi everyone |
21:06:46 | dom96 | hey Araq |
21:21:04 | NimBot | Araq/Nimrod 3c51a7a Grzegorz Adam Hankiewicz [+0 ±2 -0]: Adds some documentation related to exceptions. |
21:21:04 | NimBot | Araq/Nimrod 0e5618b Araq [+0 ±2 -0]: Merge pull request #312 from gradha/pr_adds_some_docs_about_exceptions... 3 more lines |
21:22:08 | NimBot | Araq/Nimrod 73501ed Grzegorz Adam Hankiewicz [+0 ±3 -0]: Moves addr out of tutorial into manual, indexing it too. |
21:22:08 | NimBot | Araq/Nimrod f5e9c00 Araq [+0 ±3 -0]: Merge pull request #315 from gradha/pr_adds_example_of_addr_cast_usage... 3 more lines |
21:22:32 | NimBot | Araq/Nimrod 45e2a4d Grzegorz Adam Hankiewicz [+0 ±1 -0]: Fixes rst format for enumerated list in html output. |
21:22:32 | NimBot | Araq/Nimrod fa614d4 Araq [+0 ±1 -0]: Merge pull request #313 from gradha/pr_fixes_rst_format_enumerated_list... 3 more lines |
21:23:32 | dom96 | And now it will boot strap 3 times. |
21:23:32 | NimBot | Araq/Nimrod 7b68c01 Grzegorz Adam Hankiewicz [+0 ±1 -0]: Documents two-variable for loop with sequences. |
21:23:32 | NimBot | Araq/Nimrod ff7153e Araq [+0 ±1 -0]: Merge pull request #311 from gradha/pr_documents_two_variable_for_loop... 3 more lines |
21:23:36 | dom96 | 4 |
21:23:56 | Araq | what? |
21:24:08 | Araq | I thought you prevent that |
21:24:13 | dom96 | Just thinking out loud. I should make it more efficient with this. |
21:24:36 | Araq | if 2 pushes arrived in a short period of time, it wouldn't rebuild again |
21:24:46 | Araq | you said something like that |
21:25:04 | dom96 | I don't think so... |
21:25:09 | Araq | and I was impressed by this feature :P |
21:25:35 | dom96 | Maybe you thought it up yourself :P |
21:28:05 | Araq | maybe ... |
21:28:12 | dom96 | My plan was to check what files changed and determine whether a rebootstrap was necessary |
21:28:34 | Araq | well you can indeed do that for the documentation files |
21:28:43 | dom96 | yeah, but not for the stdlib. |
21:28:50 | dom96 | Sadly. |
21:29:25 | Araq | well we could make the compiler output a list of stdlib modules that it uses :P |
21:29:49 | Araq | fixed that osproc bug btw? |
21:30:04 | dom96 | no. I will have lots of time tomorrow |
21:30:08 | dom96 | and Friday |
21:30:28 | NimBot | Araq/Nimrod e273d40 Grzegorz Adam Hankiewicz [+0 ±7 -0]: Renames each proc to map, each is left deprecated. |
21:30:28 | NimBot | Araq/Nimrod 2c9ca92 Araq [+0 ±7 -0]: Merge pull request #316 from gradha/pr_renames_each_to_map... 3 more lines |
21:30:55 | Araq | so will I :-) |
21:31:00 | * | Zerathul joined #nimrod |
21:31:18 | dom96 | cool :D |
21:31:23 | * | HFT quit (Quit: Leaving.) |
21:41:52 | NimBot | Araq/Nimrod 3e21825 Grzegorz Adam Hankiewicz [+0 ±1 -0]: Adds randomize(seed) for repeatable pseudo random numbers.... 3 more lines |
21:41:53 | NimBot | Araq/Nimrod df9893d Araq [+0 ±1 -0]: Merge pull request #306 from gradha/pr_adds_randomize_with_specific_seed... 3 more lines |
22:23:52 | * | gradha joined #nimrod |
23:08:23 | Araq | why is everbody in love with 'repr'? I never use it |
23:08:45 | dom96 | why not? |
23:08:50 | gradha | what else do you use to show random data structures? |
23:08:58 | gradha | you suggested it yourself, IIRC |
23:09:26 | Araq | I never work with random data structures I guess |
23:09:45 | gradha | you always implement a $ proc for them? |
23:09:45 | Araq | in the compiler I have 'debug' for the common data structures |
23:10:27 | Araq | no I don't use many different data structures in the first place |
23:10:32 | gradha | how do you use this debug? it's not in the index |
23:10:44 | Araq | it's only for the compiler's internals |
23:10:54 | Araq | and it's *old* |
23:11:04 | gradha | there you have it, repr all the way |
23:11:30 | Araq | I don't mind repr but somebody should improve it |
23:11:48 | Araq | the addresses are ugly and only to allow to look after wrong sharing or cycles |
23:14:52 | gradha | what changes do you have in mind, get rid of the addresses in the output? |
23:15:23 | Araq | yeah |
23:17:04 | gradha | doesn't sound like a really big change |
23:17:51 | gradha | do you think repr is taking away the love spotlight from other procs? |
23:18:33 | Araq | not really but it turned out to be more buggy than other things |
23:19:02 | Araq | which is exactly what you need for debugging |
23:27:14 | gradha | oh, just noticed, Zerathul: en taro Adun! |
23:29:32 | Zerathul | En Taro Tassadar |
23:30:11 | gradha | will you be coding in nimrod for Aiur? |
23:31:16 | Zerathul | A mighty weapon in deed. ;) |
23:32:21 | gradha | good to hear, don't hesitate to ask for support |
23:39:08 | Araq | gradha: Zerathul is a good friend of mine; it's likely he'll PM me instead ;-) |
23:40:21 | gradha | I figured out was somebody known, otherwise you would have welcomed |
23:40:44 | Araq | good point |
23:40:55 | gradha | I watched today several times Kerrigan's trailer, so I couldn't resist |
23:41:45 | Araq | you'll be glad to hear then that "Araq" is an unkown Zerg cerebrate :-) |
23:42:07 | Zerathul | Hehe. |
23:42:13 | gradha | makes tingle my mutated dna |
23:45:34 | gradha | I'm reading a note about idetools not being to locate a proc if the OO dot syntax notation is used, do you want me poking around that or is idetools still a work in progress |
23:46:03 | gradha | had to test it in Aporia first, maybe it's a vim problem |
23:46:24 | gradha | s/had/have/ |
23:46:40 | Araq | idetools is always work in progress like the rest ... |
23:47:48 | gradha | ok, will open a ticket if I manage to make a test case |
23:48:07 | Araq | ok ... |