<<07-01-2013>>

00:20:18reactormonkAny way to get all possible symbols in context? Just go to EOF and call suggest?
00:20:57Araqthat's what I'll implement yeah
00:21:17Araqyou can try it already but I think it won't work
00:21:32reactormonkoke
00:24:12Araqgood night
05:24:41reactormonkAnyone 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:16reactormonkis it evil to use ruby to generate nimrod code? :-)
20:30:42reactormonkor do we have an xml lib?
20:30:55gradhayou could improve the evilness with javascript
20:31:17gradhathere's an xml section in the documentation library page
20:32:05gradhahttp://nimrod-code.org/lib.html#xml-processing
20:32:28dom96yep. Nimrod's XML support is quite good.
20:49:50gradhawrt 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:28reactormonkups
20:56:21reactormonkNothing listed with templates - I'm sure there's something
20:58:39gradhatemplates?
21:02:14reactormonkbasically something with string interpolation
21:02:25reactormonkOr how would you generate nimrod code?
21:03:16gradhahmm... maybe you mean http://nimrod-code.org/htmlgen.html?
21:03:39gradhathough it's reversed, instead of a template for variables you code the html to generate
21:06:32dom96reactormonk: what are you trying to do?
21:07:02reactormonkdom96, trying to generate code from an API description
21:07:36dom96So trying to convert HTML code to Nimrod?
21:07:54reactormonkIt's xml, but yes.
21:09:09dom96http://build.nimrod-code.org/docs/strutils.html#173
21:09:11dom96Might help
21:09:51reactormonkno maps for the indices? :-)
21:10:59dom96http://build.nimrod-code.org/docs/strtabs.html#116 ?
21:11:40reactormonkyep.
21:17:52Araqargh ... Dexter is holding back Nimrod's progress
21:18:39Araqthank god there is only one season
21:18:53gradhaDexter?
21:19:36Araqlook it up :P
21:20:07gradhathe only dexter I know has more than six seasons
21:21:27Araqdon't you tell me
21:21:32Araqthere is only one season
21:21:50gradhaoh, right, like the matrix, just one move
21:21:52gradhamovie
21:22:01Araqyeah that's the spirit
21:23:52Araqoh the 'wat' video
21:24:02Araqthat's quite old already, isn't it?
21:24:43gradhait's so last year
21:25:49*dom96 already watched all Dexter episodes :P
21:26:47gradhathe book dexter is based on is a total surprise
21:27:03gradhait's pretty short, and badly fucks up at the end, so you don't even want to read the next
21:27:18gradhaand the amazon reviews for the third book are atrocious
21:28:15Araqmeh, reading books takes way too much time
21:28:43gradhaI read the book by the third tv season, so it helped me stop watching it in disgust
21:28:59gradhaaccording to wikipedia I gained four seasons of life
21:29:00dom96really? Dexter is based on a book?
21:29:13dom96The TV series is extremely good
21:29:15gradhathat's what the credits said
21:29:28gradhathe tv is better than the book
21:46:21Araqgradha: if the tv is better than the book why did you stop watching it for the book?
21:54:36gradhaeven though the tv is better it started to feel monotonous and not very interesting
21:55:01Araqgood :-)
21:55:12dom96gradha: how far did you watch?
21:55:12Araqso I don't have to watch all 6 seasons then
21:55:28gradhawell, my taste is peculiar
21:55:50gradhathe 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:04gradhainstead, I wanted him to escalate the violence and range of his punishment crimes
21:56:29gradhawho knows, maybe that happened the next season I stopped watching
21:56:55Araqenough of the spoilers
21:57:22gradhaspoilers? there's only one season though
21:57:29dom96All 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:45gradhasee? I always miss the best part
21:57:50gradhanever ask me for any advice
21:58:34dom96Don't be so harsh on yourself.
21:59:33gradhaI 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:59gradhaso many seasons I haven't watched from TV series I don't even know
22:00:18dom96what's your favourite TV series?
22:00:37gradhahmmm... none?
22:00:46gradhaI don't remember anything remarkable
22:02:12gradhaother than Dexter I liked the two first seasons of Eureka, can't recall anything more recent than that
22:02:41gradhabtw, I watched the hobbit last weekend, in 3d and 48fps
22:03:04gradhatotal crap, went with some friends, half of us nearly fell asleep
22:03:31gradhathere 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:21gradhaheh, 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:26gradhalol
22:06:16Araqhow can you not have noticed it's a trilogy? o.O
22:06:27gradhaoh, 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:39gradhasame thing happened with the harry potter stuff
22:06:44AraqXD
22:07:01gradhamy friends were like "come on, you have to watch this last harry potter movie, totally rocks!"
22:07:14gradhaso I go "ok, I guess the little brat will finally die, let's see that"
22:07:21dom96haha. The Part 1 vs. Part 2 thing was a bit silly.
22:07:35gradhathe film ends at some anticlimax snooze scene, and wait, it was the fifth
22:07:52gradhathen my friends go "it's the last *available* film, not THE LAST"
22:08:08gradhaso I've seen the first and fifth, or maybe fourth
22:09:52gradhaluckily 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:26gradhaAraq: what has documentation have to do with the hobbit? it's not even close in length
22:11:18gradhayou are comparing hobbits to macros there
22:14:56Araqgradha: you miss things like the hobbit being a triology
22:15:07Araqand you miss things in the docs :P
22:15:17Araqcoincidence? hardly. ;-)
22:15:27gradhathere's certainly a pattern there
22:15:45gradhaI wonder if youtube watching has anything to do with that
22:24:23Araqgradha: seen this? http://forum.nimrod-code.org/t/114
22:27:25gradhai did
22:29:55Araqso you're not alone ;-)
22:30:09Araqand I'll do something about it
22:30:50gradhayou see, all these people asking for a language which protects them from themselves
22:30:55gradhasomething is wrong in the world
22:32:03gradhaOTOH I liked your shadowing purpose better, so I'm no more pushing for this feature personally
22:32:27Araqwell as I said, I think it's possible to have both at the same time
22:33:10gradhanote that the reason is also the one I had initially: "when translating code from other languages..."
22:33:29Araqinteresting I didn't notice that
22:33:33gradhaIMO that's not a valid argument, and that's why I changed my mind after adopting your style
22:33:43Araqyay
22:33:51gradhaeach language has its own way of use, coercing it to something else may not be the best
22:34:07gradhathat's why you can learn any language in a few weeks or even days
22:34:21gradhabut you may need months or years of coding to actually express yourselve properly in one
22:34:30gradhaor at least that's the timescale for me
22:35:12gradhafor example, the recent bugs I had were related to some json parsing
22:35:25gradhaI am doing it the way I know, and it feels klunky
22:35:40gradhabut I'm letting it rest, maybe I'll find a better way to express what I want if I let it sink
22:37:57AraqI'm on these bugs
22:38:22gradhano hurries, I'm not going anywhere (for better or worse)
22:41:07Araqhrm well get this nacl thing to work then ;-)
22:44:08gradhathat's really away for me, given how little it interests me
22:44:09gradhasorry
22:44:35gradhaimagine commandline parsing including spaces comes first
22:45:18Araqalright
22:45:34Araqer what? imagine commandline parsing?
22:45:40Araqwhat's that?
22:46:11gradhahttps://github.com/Araq/Nimrod/issues/274
22:46:27gradhaarguments with spaces are passed in correctly into nimrod
22:46:38gradhabut the module parsing them splits them incorrectly
22:47:37gradhaI 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:48gradhasort of like an ORM where you build the parsing commands
22:48:25gradhathe 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:41gradhaI want to do it to learn about macros too
22:52:49Araqalright
22:53:04Araqsounds like a good idea
22:53:45dom96I agree. Many people are put off by the parseopt module I think.
22:55:48gradhaand 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:52gradhaif I manage to concentrate myself in not watching useless videos I might do that tomorrow
22:57:28dom96Solution is simple: write an app in Nimrod which blocks access to youtube :P
22:58:22gradhaactually I'm not watching videos, it's just my code phrase to mean I'm not doing anything useful
22:58:41gradhanow I'm just playing a game, in the mornings I tend to stay in bed for too long, etc
23:01:15gradhajust taught my mother to install games on her iphone, she has challenged me to beat her sudoku score
23:02:18dom96I'm reading about Carnivorous Plants.
23:03:06AraqI'm working on Nimrod
23:03:13Araqand you should do the same :P
23:04:06dom96But it's 11pm :\
23:04:57gradhawon't you have nightmares from mario like plants trying to eat you?
23:05:23dom96lol. I hope not.
23:10:03dom96"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:10dom96I wonder how a plant measures time.
23:10:50Araqit calculates some complicated square root
23:11:00dom96hah
23:11:12gradhaor could be something depending on the combusition of a specific amount of chemicals
23:11:30Araqit doesn't measure, it waits until it finished its math homeworks
23:11:33gradhamaybe first hair segregates something
23:11:40gradhathis something goes away in 20 secs
23:11:52gradhaif another hair is touched, and the something hasn't gone away, snap
23:12:00dom96gradha: yeah, that makes sense.
23:12:04gradhabut I like Araq's version better
23:12:50dom96Araq: We need to make a computer out of these Venus flytraps. :D
23:13:16gradhayou could get rich selling "clusters"
23:13:38*dom96 submits patent
23:14:41gradhathe overclocking is going to be fun
23:16:00*q66 joined #nimrod
23:16:32dom96"If the prey moves around in the trap, it tightens and digestion begins more quickly." Poor insect :(
23:17:36gradhaare you sure you are reading about plants and not taxes?
23:20:31dom96you may be onto something here
23:21:54gradhadream with venus flytraps, good night