<<20-07-2012>>

04:03:17*tcsh joined #nimrod
04:03:25tcshHey, is the latest Nimrod the one on the site?
04:05:43tcshNevermind, I'm going to install this correctly this time.
04:09:26*tcsh quit (Remote host closed the connection)
05:27:03*XAMPP quit (Ping timeout: 276 seconds)
06:14:18*Nafai joined #nimrod
06:27:22*tcsh joined #nimrod
06:27:25tcshHey everyone.
06:30:49tcshHey does anyone know where the nimrod emacs plugin is?
06:33:12tcshAha!
06:33:13tcshI found it.
06:41:05*ccssnet quit (Ping timeout: 244 seconds)
06:50:02*ccssnet joined #nimrod
07:15:49*XAMPP joined #nimrod
08:08:35*tcsh quit (Remote host closed the connection)
08:13:23*Trix[a]r_za is now known as Trixar_za
08:15:00*Trixar_za is now known as Trix[a]r_za
09:22:38*Araq_ joined #nimrod
09:23:00Araq_hi Nafai
09:53:55*Araq_ quit (Quit: ChatZilla 0.9.88.2 [Firefox 14.0.1/20120713134347])
11:17:14*Trix[a]r_za is now known as Trixar_za
11:57:52shevywheeee
11:57:57shevywe had a tcsh here
13:00:58*Trixar_za is now known as Trix[a]r_za
14:52:06*shevy quit (Ping timeout: 245 seconds)
15:05:45*shevy joined #nimrod
15:46:35*zahary quit (Quit: Leaving.)
18:03:21Araqhi Nafai
18:54:56NafaiHi Araq
18:59:02Araqargh, forgot a commit and git doesn't mind ...
18:59:43Araqoh well ...
19:00:02Araqso Nafai how did you find your way to here?
19:00:59NafaiI saw nimrod linked on hacker news (or reddit, can't remember now)
19:01:06Nafaiand was reading about it and it looked interesting
19:01:40Araqyay
19:02:21dom96when was this? 0_o
19:02:36dom96The last nimrod link submitted to reddit was 1 year ago
19:03:16dom96I guess you've seen it on hackernews
19:03:29dom96http://news.ycombinator.com/item?id=4269464
19:03:32dom96Not many upvotes D:
19:03:35NafaiYeah, that was it
19:04:01NafaiI actually haven't dived in enough to write any code
19:04:12Nafaibut I'm always on Freenode, so I thought I'd lurk :)
19:07:15dom96hehe, we welcome lurkers with open arms. However we prefer people who actually use Nimrod of course :P
19:08:05AraqNafai: you should give it a try, but I want to release 0.9.0 soon so maybe it's better to wait
19:13:57Araqso dom96, what's the status of "jump to error location"?
19:14:15dom9680% finished
19:18:45Araqwhy only 80%, what's missing?
19:19:08Araqshould be easy to do, you already have the "scroll to XY" feature, right?
19:19:34dom96ok fine, it's 99% finished
19:19:45dom96But things are missing which may make it annoying
19:19:53dom96For example: it only looks through open tabs
19:20:04dom96it will not go to error from a file which is not opened
19:20:40dom96s/from/to
19:21:07Nafaiwould .debs for Debian/Ubuntu be welcome?
19:22:25dom96yes, in fact niminst can already generate those
19:22:31dom96I'm not sure how well it does that
19:22:36dom96Maybe you could tinker it a bit?
19:23:05dom96https://github.com/Araq/Nimrod/blob/master/tools/niminst/debcreation.nim
19:23:41dom96or just let me know if it works correctly :)
19:23:54dom96an rpmcreation module would be nice
19:24:55Nafaisure thing
19:44:01Araqso dom96 all that's left to do is open the file if it's not open already? :-)
19:44:18*Araq likes to try the new feature ...
19:44:34dom96kinda
19:44:42dom96Just wait a little longer please
19:45:38shevyheeh
19:49:39dom96As always problems with widget focus
20:46:10*q66 joined #nimrod
20:46:20q66yay.
20:46:35Araqhi q66
20:46:44Araqnow that's nice :-)
20:47:00*q66 was just tryin' if it exists :p
20:47:04q66had no idea you had channel on freenode
20:47:31Araqlol you missed a lot then
20:48:12dom96welcome q66!
20:48:26q66Araq, my 73th channel
20:48:28q66100 is close :P
20:48:31Araqlike all the interesting discussions ... about term rewriting macros :P
20:48:55q66macros are fun
20:49:04Araqwhich may finally shut up the "nimrod doesn't contain anything new"-crowd
20:49:47q66no language contains anything new these days :P
20:50:11q66languages are just differently combined sets of features and concepts with less or more fuckups
20:50:23q66some are fucked more, some less, some are more interesting, some less
20:50:31Araqtrue
20:50:49Araqbut truely new features are fucked up the most ;-)
20:51:28q66"when you invent something new, you can be sure someone wrote it in Lisp before"
20:52:16Araqyeah and it was as ugly as the rest of lisp so nobody ever looked at it :P
20:52:31q66lisp is not ugly
20:52:34q66lisp is perfection :P
20:52:50Araqnot really
20:53:13q66it's minimalistic, it's powerful, it's unambiguous.
20:53:20Araqthe syntax is weird and not because of the ()
20:53:24q66and i.e. Scheme has some kickass things like first class continuations
20:53:43Araqbut because ',' is used as a quote ;-)
20:54:10q66' is a quote :P
20:54:32Araqbtw I'm aware of first class continuations
20:54:37q66'(5 10 15)
20:54:39q66but it can also be
20:54:43q66(quote (5 10 15))
20:55:12AraqI'm also aware of 'fexprs' ...
20:55:47Araqbut I still think that the feature I've come up with is unique :P
20:56:04Araqand if it isn't ... so be it
20:56:14q66nimrod seems kind of like more functionally oriented statically typed python to me :P
20:56:17q66which is not exactly a bad thing
20:56:38Araqwe also have clay-like type propagation now ;-)
20:57:21Araqexcept that it's not documented yet :D
20:57:33Araqwe also have D's scope guards
21:00:01Araqq66: any experience with rust?
21:01:23q66Araq, i like it
21:01:43Araqthat wasn't my question
21:01:52q66a bit overall
21:01:53Araqeverybody likes it
21:02:06q66except go people
21:02:08q66they're butthurt :P
21:02:24*JStoker quit (Excess Flood)
21:08:25Araq*shrug* the go people don't even have 'assert' ...
21:08:57*JStoker joined #nimrod
21:09:09AraqNimrod's assert is implemented in the stdlib ... I couldn't prevent people from having it even if I wanted to :-)
21:12:22q66Araq, i hope it does not throw like D's
21:13:28q66there is one thing C++ is nice in compared to D and stuff
21:13:34q66it doesn't shove EH/RTTI into your face
21:13:40q66you can disable it and yet use most of the language
21:16:03Araqwhy should RTTI be a problem?
21:16:32q66sometimes you don't want a fat runtime
21:16:38q66i.e. in D there is no way to avoid rtti in a cast
21:16:47q66when you cast objects, you HAVE TO use rtti
21:16:57q66for upcasting/downcasting validity evaluation at runtime
21:17:19q66but yet, that can always be avoided by simply adding a get_type lookup method returning i.e. an enum
21:17:26q66and then checking it before attempting to cast
21:18:03Araqnimrod has type conversions and 'cast' -- 2 different features
21:18:13Araqand voila -- problem solved
21:18:28Araqit's braindead to conflate these two operations anyway
21:18:51q66so you can freely convert pointer types without doing any runtime type checks?
21:18:57Araqsure
21:19:01q66good.
21:19:04q66D can't :P
21:19:20Araqwe had a guy here who wanted to program his AVL with Nimrod
21:19:43AraqI don't know if he ever did that, but I made it work
21:20:02Araq--os:standalone and the whole stdlib is left out
21:21:05Araqdom96 also used it to create a kernel
21:21:15q66cool
21:21:29q66it's kinda ridiculous how d tries to advertise as systems programming language btw
21:21:35q66while it's not at all
21:21:47q66still forces too much shit on you
21:21:53Araqdunno I think it is
21:22:05Araqthis term doesn't mean much anyway
21:22:35q66maybe it theoretically could, for the cost of writing a custom minimal runtime, dumping compatibility with virtually any existing library and avoiding most of language's features
21:22:50q66i mean D library
21:24:03Araqyeah but the linux kernel guys don't really use C's library either
21:24:09Araqso it's a moot point
21:24:25q66Araq, well my point is more like, why are they advertising like that when the language's design is aimed differently
21:24:37q66D is primarily a high level language similar to i.e. C# but compiled to native code
21:24:52Araqand with much more warts than C# ...
21:25:01q66well C# is no good either :P
21:25:04Araqmany many more warts
21:25:08q66it's mediocrity everywhere
21:25:16AraqC# ain't bad at all
21:25:25Araqtheir mistake was to start as a java clone
21:25:43Araqand then sometimes this still shines through
21:25:50q66if i was about to start stuff on .NET I would probably use F#
21:25:50Araqlack of typedef comes to mind
21:26:01AraqF# is better sure
21:26:20Araqas it started from ocaml
21:26:37q66C# is too java-esque, sharing some similar design mistakes, verbosity, and overall feels mediocre and dumbed down
21:26:42q66with no true innovation
21:26:52Araqbut it has
21:26:57AraqLINQ for instance
21:27:10Araqof course Lisp already had it (TM)
21:27:22q66but LINQ is .NET thing ..
21:27:24q66not C# thing
21:27:48AraqC# had to be extended heavily to get Linq working
21:27:57Araqit's a C# thing
21:28:06Araqafaik linq predates F#
21:28:17Araqand C# got linq first, VB got it later
21:28:25q66iirc F# 3.0 will have it
21:28:41Araqbut VB had to be extended for Linq support too, I'm sure
21:29:04q66well i won't argue over this as my knowledge here is limited so i might as well be wrong :)
21:29:11q66i'm a primarily *nix-based programmer
21:30:24q66anyway the original point was - D tries to do everything, in result doing nothing truly right
21:30:47q66it should find its target group, but it hasn't for quite some years
21:31:16q66i've been always suggesting gamedevs, that's where it would possibly succeed, but for that purpose D is kind of unusable
21:31:43q66primarily because of crappy garbage collector and explicit memory management consisting of avoiding the standard library and many language features
21:32:08Araqthe problem is that it's supposed to be a better C++
21:32:14Araqand yet it isn't at all
21:32:31Araqexcept for a bit more sugar and nicer templates
21:32:39q66it's supposed to be a better C++, but yet it concentrates primarily on *entirely* different area than C++
21:33:19q66though not that it's hard to be better than C++
21:33:29AraqC++ is about efficient value based datatypes
21:33:36q66the new native languages like Rust prove it
21:33:39AraqD says: lets make 'class' references instead
21:34:00q66Araq, as i said, higher level, and c#/java-esque
21:34:04q66especially in its OO it's really visible
21:34:26q66it's probably more comfortable to work with, but disqualifies it from being a "better c++" and instead moves it into the high level programming area
21:34:31dom96What's so special about Rust?
21:34:33Araqwhat's really visible is that walter didn't understand C++ when he designed D
21:34:53Araqhe tried to get rid of templates
21:35:00Araqhe made classes reference based
21:35:01q66dom96, there's nothing really "special" about Rust, it's the way it's put together and well designed
21:35:04q66the combination of features
21:35:12Araqhe got rid of multiple inheritance
21:35:16Araqand added interfaces instead
21:35:24q66as i said, java/c#-esque ;)
21:35:27q66they have this.
21:35:29Araqhe had to make 'sort' a built-in
21:35:36Araqdue to the lack of generics
21:35:41Araqand AAs too
21:35:51q66yeah
21:35:51Araqand then alexandrescu came and enlighted him
21:35:58q66then suddently Andrei and he got all the features back :P
21:36:02q66and now it's a weird mix
21:36:06Araqexactly
21:36:18Araqyou can't design a PL this way
21:36:33q66Araq, the thing is, D 1.0 was kinda nice for what it was.
21:36:42q66the fuckup came with D2 where all the C++ things made a return
21:36:53Araqperhaps
21:37:30Araqbut I dislike D 1.0 even more ;-)
21:37:42Araqoh and funny thing:
21:37:53Araqit also still shows in the concurrency model
21:38:02Araqevery object has an attached lock
21:38:10Araqincredible
21:38:35Araqyou have to do some crazy stuff to optimize that design to get acceptable memory overhead
21:38:51q66I showed up around D like 2 years ago, as a C/C++ programmer, began trying
21:38:54q66first i was amazed
21:38:58q66then i got pissed.
21:39:01q66then i gave up
21:39:06q66then i started exploring elsewhere :P
21:39:45q66it seemed so neat and shiny at first
21:39:52q66but when you start working with the insides and dmd ..
21:41:31Araqand they are now considering to change the 'const' system :D
21:41:42q66they want to re-make the Object stuff :P
21:41:49AraqI know
21:41:54q66because it proved broken with const correctness and overloading
21:41:57q66when it all roots from Object
21:42:06q66this will break so much shit :D
21:42:12q66they can just go and call it D3 now.
21:42:23Araqthey can also just use Nimrod instead
21:43:17q66well i can thank d for one thing :P
21:43:23q66it made me look into functional eventuallly
21:45:11AraqC# grows more and more functional with every version too
21:45:35Araqexcept that the basic design still shows through and gets annoying
21:46:18Araqoh and I'll of course never forgive them 'dynamic' or reflection
22:39:57dom96Araq: hrm, IIRC you mentioned somewhere that you would get rid of forward declarations right?
22:40:58Araqyeah but it will take my holidays
22:41:35dom96alright.
22:41:56dom96ugh, it seems that the latest GTK doesn't like accelerators which involve Ctrl + the F keys
22:42:05dom96It's really pissing me off
22:44:27dom96Araq: Try it :D
22:44:30AraqNimBot: I will try it anyway :P
22:44:36dom96:P
23:52:09shevywhich gtk
23:52:12shevygtk3?
23:52:15shevydid they go backwards again
23:52:19shevyevolution in programming is odd...
23:52:40dom96nah, still gtk2
23:52:53dom96Latest gtk2 I meant