00:54:00 | * | Trixar_za is now known as Trix[a]r_za |
01:06:52 | * | q66 quit (Quit: Quit) |
03:27:49 | * | fowl joined #nimrod |
03:29:01 | * | dom96 quit (*.net *.split) |
03:29:01 | * | mal`` quit (*.net *.split) |
03:34:08 | * | dom96 joined #nimrod |
03:34:08 | * | mal`` joined #nimrod |
03:43:18 | * | zahary1 joined #nimrod |
03:43:21 | * | zahary quit (Read error: Connection reset by peer) |
03:47:37 | * | zahary1 quit (Ping timeout: 240 seconds) |
03:47:43 | * | zahary joined #nimrod |
07:09:28 | * | XAMPP quit (Ping timeout: 246 seconds) |
07:09:45 | * | Trix[a]r_za is now known as Trixar_za |
07:44:37 | * | Araq_ joined #nimrod |
07:54:36 | * | reactormonk quit (Ping timeout: 268 seconds) |
08:09:08 | * | Araq_ quit (Quit: ChatZilla 0.9.88.2 [Firefox 14.0.1/20120713134347]) |
09:28:33 | * | q66 joined #nimrod |
10:04:30 | shevy | Araq, seen this http://tomasp.net/blog/type-first-development.aspx ? |
10:10:36 | * | Trixar_za is now known as Trix[a]r_za |
10:42:52 | * | Araq_ joined #nimrod |
11:22:24 | Araq_ | shevy: I always use TFD :P |
11:22:40 | Araq_ | but I had no name for that :-) |
11:34:03 | * | fowl quit (Quit: Leaving) |
11:49:12 | * | Araq_ quit (Quit: ChatZilla 0.9.88.2 [Firefox 14.0.1/20120713134347]) |
12:06:49 | * | Amrykid quit (Ping timeout: 272 seconds) |
12:06:49 | * | Araq quit (Ping timeout: 272 seconds) |
12:07:51 | * | Araq_bnc joined #nimrod |
12:08:21 | * | Amrykid joined #nimrod |
13:32:54 | * | fowl joined #nimrod |
14:22:53 | * | XAMPP joined #nimrod |
14:31:05 | * | Amrykid quit (Changing host) |
14:31:05 | * | Amrykid joined #nimrod |
14:55:22 | * | zahary1 joined #nimrod |
14:55:54 | * | zahary quit (Read error: No route to host) |
15:01:17 | * | zahary1 quit (Read error: Connection reset by peer) |
15:01:30 | * | zahary joined #nimrod |
15:09:15 | * | reactormonk joined #nimrod |
15:11:11 | * | |apriori| joined #nimrod |
15:51:11 | * | Araq_bnc is now known as Araq |
15:56:09 | * | shevy quit (Ping timeout: 244 seconds) |
16:00:09 | Araq | so yes |
16:00:15 | Araq | I broke bootstrapping |
16:00:17 | Araq | :P |
16:02:45 | fowl | hey Araq what do you think: https://gist.github.com/3342882 |
16:08:11 | * | shevy joined #nimrod |
16:12:29 | Araq | fowl: use 'varargs' instead of 'openarray' :D |
16:12:41 | Araq | ':=' --> meh ... |
16:12:50 | Araq | and find a better name for 'und' |
16:13:07 | Araq | in fact, I guess macros.add could return the father |
16:13:12 | Araq | and be 'discardable' |
16:14:23 | Araq | btw does your code actually work? |
16:14:54 | fowl | no |
16:15:34 | fowl | it derps on line 115 which is result.add(the type section) |
16:16:44 | fowl | Error: internal error: semGenericParamList |
16:23:09 | Araq | hurray ... |
16:23:25 | Araq | I guess nnkNilLit is evil :D |
16:23:38 | Araq | and maps to some real 'nil' perhaps |
16:23:55 | Araq | or hrm |
16:24:04 | Araq | maybe you construct an invalid AST ... |
16:25:55 | fowl | type XXX = tuple[..] should be just like that |
16:26:10 | fowl | i dunno what the middle nil is |
16:37:02 | Araq | well it's for generic params |
16:37:13 | Araq | type XXX[T] = tuple[..] |
16:37:23 | Araq | you need to use nnkEmpty, not nil |
16:37:29 | Araq | for the missing [T] |
16:40:40 | fowl | ah ok |
16:48:27 | Araq | http://www.reddit.com/r/programming/comments/xufn3/alan_kay_normal_considered_harmful/ |
16:48:42 | Araq | "So I've tried this Lively Kernel he talks about and it's even shittier than I imagined." lol |
16:48:48 | * | Araq doesn't like Alan Kay |
16:57:18 | fowl | i dont really understand lively kernel, draggable widgets dont excite me i guess |
17:06:40 | Araq | one simply can't write software like "biological beings" work |
17:06:54 | Araq | which is always what Alan Kay seems to imply |
17:07:18 | Araq | his way of "software engineering" doesn't work and no other field of engineering works like that IMHO |
17:07:33 | |apriori| | Araq: a short resumé about the topic plz |
17:08:27 | Araq | Alan Kay rants about industry I guess |
17:08:52 | Araq | I can't really tell as I stopped listening to his BS years ago :P |
17:14:51 | fowl | cool |
17:14:54 | fowl | it works now :> |
17:21:32 | * | zahary quit (Read error: Operation timed out) |
17:23:11 | * | zahary joined #nimrod |
17:24:02 | Araq | in fact, why he even invented smalltalk when knowing lisp is beyond me |
17:24:43 | Araq | but iirc he used smalltalk to teach children programming ... |
17:25:24 | fowl | the gui would be cool if it was usable in any way |
17:25:35 | fowl | not all archaic |
17:26:28 | Araq | I have to go see you later |
17:44:14 | dom96 | hello |
17:47:29 | fowl | sup |
17:48:15 | dom96 | not much not much, just got back from work. |
17:48:16 | dom96 | You? |
17:49:26 | fowl | looking for something cool to do so i can say im doing that |
17:49:28 | fowl | >_> |
17:51:07 | dom96 | Make a robot using Nimrod |
17:51:09 | dom96 | Send it to Mars. |
17:55:59 | dom96 | I'm always too tired to work on Nimrod after work :( |
19:36:06 | * | |apriori| quit (Remote host closed the connection) |
20:32:23 | shevy | hmm |
20:33:31 | shevy | Araq Alan Kay stated that the central point about OOP are messages sent to objects. I don't know a single lisp implementation that really is OOP to this principle |
20:34:08 | shevy | why use nimrod when one can have lisp!!!! |
20:34:09 | shevy | ;P |
20:34:30 | shevy | the game haxima used to be written in scheme, it was quite interesting to read all the world files |
20:34:37 | shevy | the guy ~1 year ago switched to python |
20:34:41 | shevy | sadly, stopped his work mostly :( |
20:34:59 | shevy | http://myweb.cableone.net/gmcnutt/nazghul.html |
20:35:30 | shevy | https://github.com/gmcnutt/hax2 |
20:39:41 | * | XAMPP_ joined #nimrod |
20:42:58 | * | XAMPP quit (Ping timeout: 268 seconds) |
20:44:27 | dom96 | hey shevy |
20:44:31 | * | reactormonk quit (Ping timeout: 252 seconds) |
20:45:05 | fowl | dom96: hey try listening to this while you code i've been pretty productive on it :p http://www.youtube.com/watch?v=lP0D5u3EMfA |
20:45:27 | dom96 | wow, 5 hours cool |
20:46:07 | dom96 | Awesome. Thanks. |
20:46:24 | shevy | dom96 teach me! |
20:46:31 | shevy | hehe |
20:46:38 | dom96 | shevy: Try writing something! |
20:46:45 | shevy | I've mostly been trying to continue rewriting my largest ruby project |
20:46:56 | dom96 | Start a new project in Nimrod! |
20:46:59 | dom96 | Come on! |
20:47:11 | fowl | shevy: look at this its a giant macro that builds packing/unpacking functions: https://gist.github.com/3342882 |
20:48:05 | shevy | dom96 hmm |
20:48:33 | dom96 | fowl: That is pretty cool |
20:48:47 | shevy | dom96 I first need to be able to walk before I can run! |
20:49:07 | dom96 | shevy: To learn how to program you need to actually program. |
20:49:11 | shevy | omg fowl what's this do? |
20:49:16 | dom96 | So that you can remember it all |
20:49:25 | dom96 | Having me tell you small things all the time won't work |
20:49:31 | shevy | hehe ok |
20:52:11 | dom96 | shevy: So, what are you going to write? |
20:53:04 | shevy | I have absolutely no idea |
20:53:11 | shevy | most things seem to require a lot of knowledge |
20:53:21 | shevy | hmmm |
20:53:21 | dom96 | IRC bot! |
20:53:25 | shevy | hehehe |
20:53:29 | shevy | I did this when I came to ruby |
20:53:37 | shevy | I dont want to re-do the same things again and again :\ |
20:53:43 | shevy | perhaps something GUI related would be nice |
20:55:06 | shevy | in gtk :D |
20:55:07 | dom96 | Make an IRC client :P |
20:55:11 | shevy | lol |
20:55:22 | dom96 | A simple one shouldn't be that difficult. |
20:55:29 | shevy | hmm |
20:55:39 | dom96 | Well GTK will be a bitch |
20:55:41 | shevy | is there a nimrod IRC GUI client yet? |
20:55:47 | dom96 | no |
20:56:03 | dom96 | or not as far as I know at least |
20:56:03 | shevy | hmm what is wrong with GTK? I mean, the C sources are awful but the end result is not so bad in my opinion |
20:56:17 | dom96 | It can be very annoying |
20:56:28 | dom96 | Especially with scrolling |
20:56:43 | dom96 | I had to strip down Aporia to its very core to track down an issue with scrolling |
20:57:03 | dom96 | It turned out I was showing the main window to quickly lol |
20:57:48 | dom96 | *too |
20:59:12 | shevy | hmm |
20:59:43 | dom96 | I'm telling you. |
20:59:46 | dom96 | Start with an IRC client |
20:59:48 | dom96 | er. |
20:59:52 | dom96 | IRC bot I mean |
21:00:00 | dom96 | You get to have lots of fun with it. |
21:00:08 | dom96 | Because you can add whatever features you want |
21:00:28 | dom96 | Like getting the title of a web page when a URL is spoken in a channel |
21:00:40 | dom96 | Integrating with twitter |
21:00:53 | dom96 | using other famous website's APIs |
21:01:01 | dom96 | Of course you will have to implement those in Nimrod :P |
21:01:11 | dom96 | But that's part of the fun ;) |
21:01:18 | dom96 | httpclient is already there |
21:01:28 | dom96 | And I wrote it, so it's obviously awesome :P |
21:01:43 | shevy | well |
21:01:49 | shevy | I wanna concentrate on GUIs |
21:01:49 | shevy | :P |
21:01:59 | fowl | try sfml |
21:02:06 | fowl | :> |
21:02:17 | shevy | I think I know what I could do - I make a skeleton, just with fancy layout, and someone else can connect the base IRC things hehehe |
21:02:41 | dom96 | shevy: Have you ever made GUIs with GTK? |
21:03:09 | shevy | dom96 in ruby-gtk yeah. they worked but looked AWFUL |
21:03:29 | shevy | I made minesweeper, tic tac toe, some simple image displayer thing... a wrapper around ContextFree design |
21:03:36 | shevy | lemme show you that latter program |
21:03:56 | dom96 | And you found creating the GUI the fun part? |
21:04:02 | shevy | http://www.contextfreeart.org/gallery/ it is commandline, for linux, but look at those generated images |
21:04:17 | shevy | dom96, hmm not sure. kinda, yeah. it required too much manual work though |
21:04:33 | dom96 | I hate it :P |
21:04:48 | dom96 | I will make a Glade to Nimrod converter someday |
21:05:02 | Araq | I |
21:05:04 | Araq | AM |
21:05:06 | Araq | BACK |
21:05:08 | Araq | :D |
21:05:12 | dom96 | YAY |
21:05:16 | shevy | glade is that XML abomination isn't it? |
21:05:38 | shevy | I'd wish we could use .css files in GTK |
21:06:36 | Araq | I'm glad we can't :P |
21:06:45 | Araq | css is incredible bloat |
21:07:01 | shevy | and very successful :> |
21:07:07 | Araq | if anything GTK should be stripped down |
21:07:30 | Araq | try to do a resizable 3 column layout in css :P |
21:07:43 | Araq | without the evil tables of course |
21:08:00 | dom96 | Araq: I can do it :P |
21:08:03 | dom96 | Probably |
21:08:05 | dom96 | Maybe |
21:08:17 | Araq | it's been proven to be impossible :P |
21:08:22 | shevy | I use tables |
21:08:29 | dom96 | Araq: lies |
21:08:31 | Araq | ok, with css v3.0 maybe it's possible |
21:08:46 | Araq | or v4? |
21:08:50 | Araq | who knows ... |
21:09:01 | shevy | just shows you that CSS gets better and better with every iteration :> |
21:09:15 | Araq | it shows that CSS's designer was clueless |
21:09:34 | Araq | in fact the "spec first" people always produce crappy designs |
21:16:24 | Araq | so dom96, I made it |
21:16:30 | Araq | no more openarray related bugs |
21:16:46 | Araq | "x" in "xyz" doesn't compile anymore if you don't import strutils |
21:16:46 | dom96 | Really? |
21:16:50 | Araq | really |
21:16:52 | dom96 | Awesome |
21:16:56 | Araq | openarray != varargs now |
21:17:04 | Araq | and I implemented: |
21:17:06 | dom96 | Did you fix that ambiguous aporia delete Trix[a]r_za bug? :P |
21:17:22 | dom96 | So you introduced 'varargs'? |
21:17:27 | dom96 | what? |
21:17:28 | Araq | echo "$# $#".format(23, 4.9) # automatic $ |
21:17:35 | dom96 | What's the difference? |
21:17:56 | Araq | "$# $#" % [$23, $4.9] |
21:17:58 | Araq | vs. |
21:18:05 | Araq | "$# $#".format(23, 4.9) |
21:18:16 | Araq | unfortunately I couldn't do it with the % operator |
21:20:00 | dom96 | ^^ |
21:20:21 | fowl | araq now that i have this macro working i want to call it from another macro so i can inject some leet hax how do i do that |
21:20:57 | Araq | what's the deal? |
21:21:08 | Araq | macro invokation is a nnkCall too |
21:21:36 | fowl | i dont want to invoke it i want to get the nodes |
21:21:51 | fowl | well i do want to invoke it, and get them nodes |
21:21:54 | Araq | getAst or something |
21:22:07 | Araq | there is some illdocumented built-in for that |
21:22:10 | Araq | I can't remember |
21:22:14 | Araq | I never use macros |
21:22:45 | Araq | they are pretty useless to a compiler writer ;-) :P |
21:23:57 | fowl | getAst(macro(body)) returns call(macro) |
21:24:57 | Araq | yes, dom96 I did implement 'varargs' finally |
21:25:12 | Araq | as 10 commit messages should have told you :P |
21:25:26 | dom96 | what's the difference between 'varargs' and 'openarray' then? |
21:25:54 | Araq | proc o(x: openarray[int]) |
21:26:02 | Araq | proc v(x: varargs[int]) |
21:26:09 | Araq | o([1, 2, 3]) #ok |
21:26:16 | Araq | o(1, 2, 3) # invalid |
21:26:23 | Araq | v([1, 2, 3]) #ok |
21:26:28 | Araq | v(1, 2, 3) #ok |
21:26:45 | Araq | "openarray" now only means "seq or array" |
21:27:00 | Araq | it doesn't imply "implicit array construction" anymore |
21:27:07 | Araq | plus you can do this: |
21:27:23 | Araq | proc v(x: varargs[string, `$`]) |
21:27:35 | Araq | v(1, 2, 3) # transformed into |
21:27:45 | Araq | v([$1, $2, $3]) |
21:28:03 | Araq | == v("1", "2", "3") |
21:28:08 | dom96 | nice |
21:28:37 | Araq | it introduces local type converters |
21:28:45 | Araq | really good for formatted output |
21:32:28 | Araq | fowl: getAst should work, are you sure you use it in a macro with a macro invokation as argument? |
21:34:00 | Araq | and no, dom96, I didn't fix the ambiguous identifier bug yet |
21:34:07 | Araq | we talked twice about it |
21:34:15 | Araq | is it important? |
21:34:59 | * | XAMPP_ quit (Quit: Leaving) |
21:36:24 | fowl | Araq: yea i think it will work i just have to change the body i send it |
21:38:45 | dom96 | Araq: Well. As long as Aporia works for Trix[a]r_za I don't really care |
21:42:23 | Araq | can't you just replace DELETE with module.DELETE everywhere and be done with it? |
21:47:05 | dom96 | I could yes |
21:48:34 | Araq | well? do it |
21:49:02 | shevy | lazy dom! |
21:49:17 | shevy | work sucks his life essence away |
21:49:48 | shevy | as it does with me, I am watching The Good, the bad and the ugly, and doing some other easy stuff... non-coding stuff. my brain is sleeping already :P |
21:50:09 | dom96 | yes... :( |
21:52:25 | Araq | I should stop working on nimrod too then I guess? |
21:52:32 | Araq | :P |
21:53:56 | dom96 | Don't you dare |
21:54:03 | dom96 | I'm actually working on Aporia right now :P |
21:56:54 | Araq | yay |
21:57:16 | shevy | whatcha fixing in aporia right now? |
21:57:48 | dom96 | Currently I am making a color scheme for fun :P |
21:58:11 | Araq | lol |
21:58:19 | Araq | that hardly qualifies as "work" |
21:58:59 | dom96 | It totally does :P |
22:01:09 | Araq | now ... fix 'final' for objects? or implement hygienic templates? |
22:01:15 | Araq | what should it be? |
22:01:25 | dom96 | templates |
22:01:36 | Araq | alright |
22:01:40 | Araq | that's more fun anyway |
22:01:49 | Araq | and jester will kick ass afterwards |
22:02:22 | dom96 | :) |
22:17:27 | Araq | pragma parsing? cool |
22:17:41 | Araq | I hope you thought about that they can end with } too |
22:17:52 | Araq | .} is more common though |
22:19:18 | dom96 | nah. |
22:19:24 | dom96 | Just an experiment |
22:19:31 | dom96 | Too tired to make it work for all cases :P |
22:19:41 | dom96 | Also gtksourceview gives some warning |
22:19:45 | Araq | well it's .} or } |
22:19:52 | Araq | 2 cases |
22:19:56 | dom96 | Because I made the style "nimrod:pragma" |
22:30:55 | Araq | hrm logging levels don't make much sense |
22:31:23 | Araq | but not having them will annoy people |
22:31:59 | Araq | instead it should be set-based |
22:32:29 | Araq | "this message is logged into the file and on console" |
22:32:40 | Araq | "this message is also sent per email" |
22:32:42 | Araq | etc. |
22:33:12 | Araq | these things never fit a hierarchy |
22:47:40 | dom96 | And with that |
22:47:42 | * | dom96 -> sleep |
22:47:50 | Araq | me too |
22:47:52 | Araq | good night |
22:47:54 | dom96 | Araq: IIRC I've looked at the logging module |
22:48:01 | dom96 | And found some things I didn't like :P |
22:48:07 | dom96 | And decided to fix it :P |
22:48:13 | Araq | like what? |
22:48:17 | dom96 | I can't remember |
22:48:26 | dom96 | let me check |
22:48:53 | dom96 | Araq: 91 stargazers! |
22:49:35 | Araq | I know |
22:50:40 | dom96 | I think it was the use of global variables |
22:50:50 | dom96 | but meh |
22:50:55 | * | dom96 shrugs |
22:51:06 | dom96 | I'll look at it again tomorrow in the train |
22:51:10 | dom96 | Good night |
22:51:16 | Araq | bye |
23:25:39 | * | Trix[a]r_za is now known as Trixar_za |