00:20:18 | reactormonk | Any way to get all possible symbols in context? Just go to EOF and call suggest? |
00:20:57 | Araq | that's what I'll implement yeah |
00:21:17 | Araq | you can try it already but I think it won't work |
00:21:32 | reactormonk | oke |
00:24:12 | Araq | good night |
05:24:41 | reactormonk | Anyone ever considered using doxygen output for header generation? |
09:26:56 | * | zahary joined #nimrod |
10:35:14 | * | Araq_ joined #nimrod |
12:36:59 | * | Araq_ joined #nimrod |
15:00:00 | * | q66 joined #nimrod |
20:24:23 | * | gradha joined #nimrod |
20:30:16 | reactormonk | is it evil to use ruby to generate nimrod code? :-) |
20:30:42 | reactormonk | or do we have an xml lib? |
20:30:55 | gradha | you could improve the evilness with javascript |
20:31:17 | gradha | there's an xml section in the documentation library page |
20:32:05 | gradha | http://nimrod-code.org/lib.html#xml-processing |
20:32:28 | dom96 | yep. Nimrod's XML support is quite good. |
20:49:50 | gradha | wrt ruby/javascript today I saw a funny short video at https://www.destroyallsoftware.com/talks/wat which I copied to http://dl.dropbox.com/u/145894/wat_by_garybernhardt_from_destroyallsoftware.mp4 to keep, the ending is really nice |
20:55:28 | reactormonk | ups |
20:56:21 | reactormonk | Nothing listed with templates - I'm sure there's something |
20:58:39 | gradha | templates? |
21:02:14 | reactormonk | basically something with string interpolation |
21:02:25 | reactormonk | Or how would you generate nimrod code? |
21:03:16 | gradha | hmm... maybe you mean http://nimrod-code.org/htmlgen.html? |
21:03:39 | gradha | though it's reversed, instead of a template for variables you code the html to generate |
21:06:32 | dom96 | reactormonk: what are you trying to do? |
21:07:02 | reactormonk | dom96, trying to generate code from an API description |
21:07:36 | dom96 | So trying to convert HTML code to Nimrod? |
21:07:54 | reactormonk | It's xml, but yes. |
21:09:09 | dom96 | http://build.nimrod-code.org/docs/strutils.html#173 |
21:09:11 | dom96 | Might help |
21:09:51 | reactormonk | no maps for the indices? :-) |
21:10:59 | dom96 | http://build.nimrod-code.org/docs/strtabs.html#116 ? |
21:11:40 | reactormonk | yep. |
21:17:52 | Araq | argh ... Dexter is holding back Nimrod's progress |
21:18:39 | Araq | thank god there is only one season |
21:18:53 | gradha | Dexter? |
21:19:36 | Araq | look it up :P |
21:20:07 | gradha | the only dexter I know has more than six seasons |
21:21:27 | Araq | don't you tell me |
21:21:32 | Araq | there is only one season |
21:21:50 | gradha | oh, right, like the matrix, just one move |
21:21:52 | gradha | movie |
21:22:01 | Araq | yeah that's the spirit |
21:23:52 | Araq | oh the 'wat' video |
21:24:02 | Araq | that's quite old already, isn't it? |
21:24:43 | gradha | it's so last year |
21:25:49 | * | dom96 already watched all Dexter episodes :P |
21:26:47 | gradha | the book dexter is based on is a total surprise |
21:27:03 | gradha | it's pretty short, and badly fucks up at the end, so you don't even want to read the next |
21:27:18 | gradha | and the amazon reviews for the third book are atrocious |
21:28:15 | Araq | meh, reading books takes way too much time |
21:28:43 | gradha | I read the book by the third tv season, so it helped me stop watching it in disgust |
21:28:59 | gradha | according to wikipedia I gained four seasons of life |
21:29:00 | dom96 | really? Dexter is based on a book? |
21:29:13 | dom96 | The TV series is extremely good |
21:29:15 | gradha | that's what the credits said |
21:29:28 | gradha | the tv is better than the book |
21:46:21 | Araq | gradha: if the tv is better than the book why did you stop watching it for the book? |
21:54:36 | gradha | even though the tv is better it started to feel monotonous and not very interesting |
21:55:01 | Araq | good :-) |
21:55:12 | dom96 | gradha: how far did you watch? |
21:55:12 | Araq | so I don't have to watch all 6 seasons then |
21:55:28 | gradha | well, my taste is peculiar |
21:55:50 | gradha | the reason I stopped watching is that Dexter tries more and mroe to be a "nice guy", which is what people find appealing, I guess |
21:56:04 | gradha | instead, I wanted him to escalate the violence and range of his punishment crimes |
21:56:29 | gradha | who knows, maybe that happened the next season I stopped watching |
21:56:55 | Araq | enough of the spoilers |
21:57:22 | gradha | spoilers? there's only one season though |
21:57:29 | dom96 | All I will say is, if you have not watched the season finale of season 4. You should not have a say in whether Dexter is good or bad :P |
21:57:45 | gradha | see? I always miss the best part |
21:57:50 | gradha | never ask me for any advice |
21:58:34 | dom96 | Don't be so harsh on yourself. |
21:59:33 | gradha | I believe by the time I stopped watching Dexter I stopped watching any tv series, so I'm missing every pop cultural reference these days |
21:59:59 | gradha | so many seasons I haven't watched from TV series I don't even know |
22:00:18 | dom96 | what's your favourite TV series? |
22:00:37 | gradha | hmmm... none? |
22:00:46 | gradha | I don't remember anything remarkable |
22:02:12 | gradha | other than Dexter I liked the two first seasons of Eureka, can't recall anything more recent than that |
22:02:41 | gradha | btw, I watched the hobbit last weekend, in 3d and 48fps |
22:03:04 | gradha | total crap, went with some friends, half of us nearly fell asleep |
22:03:31 | gradha | there were like 5 minutes of stunning 3d scenes, then 120 minutes of meh scenes, then about 30 minutes of blurred action due to the 3d |
22:04:21 | gradha | heh, I didn't even know it's the first of a trilogy, so the film ends and I say "wait, they haven't even reached their destination!" |
22:04:26 | gradha | lol |
22:06:16 | Araq | how can you not have noticed it's a trilogy? o.O |
22:06:27 | gradha | oh, man, it's not even funny |
22:06:39 | * | Araq won't take gradha's critics on Nimrod's doc serious any longer :P |
22:06:39 | gradha | same thing happened with the harry potter stuff |
22:06:44 | Araq | XD |
22:07:01 | gradha | my friends were like "come on, you have to watch this last harry potter movie, totally rocks!" |
22:07:14 | gradha | so I go "ok, I guess the little brat will finally die, let's see that" |
22:07:21 | dom96 | haha. The Part 1 vs. Part 2 thing was a bit silly. |
22:07:35 | gradha | the film ends at some anticlimax snooze scene, and wait, it was the fifth |
22:07:52 | gradha | then my friends go "it's the last *available* film, not THE LAST" |
22:08:08 | gradha | so I've seen the first and fifth, or maybe fourth |
22:09:52 | gradha | luckily these days originality is absent, so all movies are remakes or re-editions of the first movie, so no need to go see them |
22:10:26 | gradha | Araq: what has documentation have to do with the hobbit? it's not even close in length |
22:11:18 | gradha | you are comparing hobbits to macros there |
22:14:56 | Araq | gradha: you miss things like the hobbit being a triology |
22:15:07 | Araq | and you miss things in the docs :P |
22:15:17 | Araq | coincidence? hardly. ;-) |
22:15:27 | gradha | there's certainly a pattern there |
22:15:45 | gradha | I wonder if youtube watching has anything to do with that |
22:24:23 | Araq | gradha: seen this? http://forum.nimrod-code.org/t/114 |
22:27:25 | gradha | i did |
22:29:55 | Araq | so you're not alone ;-) |
22:30:09 | Araq | and I'll do something about it |
22:30:50 | gradha | you see, all these people asking for a language which protects them from themselves |
22:30:55 | gradha | something is wrong in the world |
22:32:03 | gradha | OTOH I liked your shadowing purpose better, so I'm no more pushing for this feature personally |
22:32:27 | Araq | well as I said, I think it's possible to have both at the same time |
22:33:10 | gradha | note that the reason is also the one I had initially: "when translating code from other languages..." |
22:33:29 | Araq | interesting I didn't notice that |
22:33:33 | gradha | IMO that's not a valid argument, and that's why I changed my mind after adopting your style |
22:33:43 | Araq | yay |
22:33:51 | gradha | each language has its own way of use, coercing it to something else may not be the best |
22:34:07 | gradha | that's why you can learn any language in a few weeks or even days |
22:34:21 | gradha | but you may need months or years of coding to actually express yourselve properly in one |
22:34:30 | gradha | or at least that's the timescale for me |
22:35:12 | gradha | for example, the recent bugs I had were related to some json parsing |
22:35:25 | gradha | I am doing it the way I know, and it feels klunky |
22:35:40 | gradha | but I'm letting it rest, maybe I'll find a better way to express what I want if I let it sink |
22:37:57 | Araq | I'm on these bugs |
22:38:22 | gradha | no hurries, I'm not going anywhere (for better or worse) |
22:41:07 | Araq | hrm well get this nacl thing to work then ;-) |
22:44:08 | gradha | that's really away for me, given how little it interests me |
22:44:09 | gradha | sorry |
22:44:35 | gradha | imagine commandline parsing including spaces comes first |
22:45:18 | Araq | alright |
22:45:34 | Araq | er what? imagine commandline parsing? |
22:45:40 | Araq | what's that? |
22:46:11 | gradha | https://github.com/Araq/Nimrod/issues/274 |
22:46:27 | gradha | arguments with spaces are passed in correctly into nimrod |
22:46:38 | gradha | but the module parsing them splits them incorrectly |
22:47:37 | gradha | I looked at the code but decided I dislike the switch-colon-param anyway, so I think I'm going to write a new commandline parsing module |
22:47:48 | gradha | sort of like an ORM where you build the parsing commands |
22:48:25 | gradha | the python optparse module does something similar, you feed it strings defining switches, it figures out how to parse them and do type checks |
22:48:41 | gradha | I want to do it to learn about macros too |
22:52:49 | Araq | alright |
22:53:04 | Araq | sounds like a good idea |
22:53:45 | dom96 | I agree. Many people are put off by the parseopt module I think. |
22:55:48 | gradha | and before that, in my long todo list, I have to figure out why the python code I rewrote in nimrod generates incorrect datafiles for my game |
22:56:52 | gradha | if I manage to concentrate myself in not watching useless videos I might do that tomorrow |
22:57:28 | dom96 | Solution is simple: write an app in Nimrod which blocks access to youtube :P |
22:58:22 | gradha | actually I'm not watching videos, it's just my code phrase to mean I'm not doing anything useful |
22:58:41 | gradha | now I'm just playing a game, in the mornings I tend to stay in bed for too long, etc |
23:01:15 | gradha | just taught my mother to install games on her iphone, she has challenged me to beat her sudoku score |
23:02:18 | dom96 | I'm reading about Carnivorous Plants. |
23:03:06 | Araq | I'm working on Nimrod |
23:03:13 | Araq | and you should do the same :P |
23:04:06 | dom96 | But it's 11pm :\ |
23:04:57 | gradha | won't you have nightmares from mario like plants trying to eat you? |
23:05:23 | dom96 | lol. I hope not. |
23:10:03 | dom96 | "When an insect or spider crawling along the leaves contacts a hair, the trap closes if a different hair is contacted within twenty seconds of the first strike." |
23:10:10 | dom96 | I wonder how a plant measures time. |
23:10:50 | Araq | it calculates some complicated square root |
23:11:00 | dom96 | hah |
23:11:12 | gradha | or could be something depending on the combusition of a specific amount of chemicals |
23:11:30 | Araq | it doesn't measure, it waits until it finished its math homeworks |
23:11:33 | gradha | maybe first hair segregates something |
23:11:40 | gradha | this something goes away in 20 secs |
23:11:52 | gradha | if another hair is touched, and the something hasn't gone away, snap |
23:12:00 | dom96 | gradha: yeah, that makes sense. |
23:12:04 | gradha | but I like Araq's version better |
23:12:50 | dom96 | Araq: We need to make a computer out of these Venus flytraps. :D |
23:13:16 | gradha | you could get rich selling "clusters" |
23:13:38 | * | dom96 submits patent |
23:14:41 | gradha | the overclocking is going to be fun |
23:16:00 | * | q66 joined #nimrod |
23:16:32 | dom96 | "If the prey moves around in the trap, it tightens and digestion begins more quickly." Poor insect :( |
23:17:36 | gradha | are you sure you are reading about plants and not taxes? |
23:20:31 | dom96 | you may be onto something here |
23:21:54 | gradha | dream with venus flytraps, good night |