<<01-11-2012>>

00:10:44*Trixar_za is now known as Trix[a]r_za
00:12:21*JStoker quit (Excess Flood)
00:45:46*JStoker_ joined #nimrod
01:19:53*JStoker_ is now known as JStoker
03:57:23reactormonkfuck it, my elisp project failed... too slow. anyone using emacs here? Then I'll take a look at nimrod-mode next
05:28:04*ryderblue joined #nimrod
05:49:07*fowl quit (Ping timeout: 252 seconds)
06:09:10*fowl joined #nimrod
06:57:34*Trix[a]r_za is now known as Trixar_za
07:38:00*ryderblue quit (Quit: ryderblue)
07:52:39*Trixar_za is now known as Trix[a]r_za
08:09:30*Araq_ joined #nimrod
09:48:54*Araq_ quit (Quit: ChatZilla 0.9.89 [Firefox 16.0.2/20121024073032])
11:47:41*gradha joined #nimrod
12:08:02*Araq_ joined #nimrod
12:42:45Araq_gradha: thanks for your post on the forum
12:43:07Araq_that really helped :D
12:43:27gradhaok, I guess
12:44:04Araq_I will improve the tutorials and hrm
12:44:16Araq_I guess we need some other structure for them
12:44:37Araq_the tut is worthless, the manual is often better
12:44:50Araq_but both don't really show how to *use* Nimrod ...
12:45:22gradhaI wouldn't hastily make such decisions, just like I wrote, the problem is not having "newbie eyes", so my opinion on the subject is also biased by my previous experience
12:45:41gradhamaybe the tutorial is ok and it just doesn't much my expectations?
12:45:45gradhawho knows
12:45:49gradhathat's the problem with documentation
12:46:14gradhas/much/meet/
12:46:44gradhamaybe a good idea would be to look at other languages' beginner tutorials and see what works for them
12:47:17gradhaI fondly remember the python introduction tutorial to be really nice and prompting me to actually write code rather than think "ah, I'll do that later, some decade of these..."
12:47:27Araq_well everybody complains about it, so it must be bad ;-)
12:47:37gradhabut that was in 1.5.2, not sure where python stands now
12:48:24Araq_well I'm already overwhelmed with the spec/manual ...
12:48:39Araq_for instance, exception tracking basically works now ...
12:48:52Araq_but now I have to document all this ...
12:49:17gradhawriting docs is really a PITA
12:50:03gradharead yesterday's log about the tagging/exception tracking, looks really nice
12:50:07Araq_and then it's only in the manual
12:50:14Araq_the tut won't cover it at all ...
12:50:23Araq_like "distinct" types for instance
12:50:33Araq_documenting stuff twice is a pita
12:50:39Araq_there has to be a better way
12:50:51Araq_maybe I'll work with lots of includes
12:50:56gradhaI'm not sure about that (documenting twice)
12:51:10Araq_and reference the non-spec parts in a list of articles
12:51:14gradhaoh, improved hyperlinking (or notes, see advanced stuff there) would help
12:52:04gradhaI think the problem with the tutorial now is that it's mainly the source of documentation, while it should be an overview with hyperlinks to it
12:52:18gradhasay, a newbie shouldn't even care about the immutability properties of a sequence
12:52:31gradhabut somebody with more experience may want to learn about them
12:53:26gradhawouldn't like to be in your shoes wrt to deciding about documentation, it's the most difficult part (aka: communicating with others)
12:53:29Araq_on the other hand we could also finally improve aporia and then tell users to use it to learn the api
12:53:42Araq_then you type 's.' and a list shows the 'add'
12:54:06gradhahehe, serves me well for always using vim
12:54:38gradhamaybe some day I'll try aporia
12:56:50Araq_well the compiler is ide agnostic
12:57:00Araq_so vim will get the same support
12:57:28Araq_in fact, "compiler as a service" is implemented but dom96 is too busy to change aporia to use it
12:57:48Araq_and I don't feel like testing it further via telnet :P
12:57:48gradhainteresting, didn't know you had that done
12:58:42Araq_yeah just image how this stuff would look like if I had no ral job :P
12:58:44Araq_*real
13:00:29gradhafood calls, later
13:09:21Araq_alright, see you later
13:09:23*Araq_ quit (Quit: ChatZilla 0.9.89 [Firefox 16.0.2/20121024073032])
13:16:09dom96hello
13:18:58*q66 joined #nimrod
13:27:20*dom96 replied to the thread
14:12:53gradhaat the moment forums/irc is good enough to learn, docs are just needed for "scaling"
14:13:07gradhathey will come
14:13:14gradhathe problem was nobody uses nimrod, right?
14:26:49dom96I suppose, yeah.
15:12:33reactormonkanyone in for emacs here?
15:15:20gradhais https://github.com/eegg/nimrod-mode yours?
15:16:03*Trix[a]r_za is now known as Trixar_za
15:18:38reactormonkI'm Tass over there
15:19:21Trixar_zaI was wondering who Tass was
15:19:22Trixar_za:P
15:19:25reactormonkbut that might be a starter, yep
15:19:53reactormonkbut first I'll see what I can squeeze out of my current project speed-wise, drop it on github and mark it as FAILED
16:05:52gradhaoverloading / for path concatenation in the os is genius
16:06:35gradhait also seems problematic, I guess you can't use that if you also overload / in another imported module
16:07:11gradhawhat would the syntax be then, pathA os./ pathB os./ pathC ?
16:07:22dom96os.`/`
16:08:38gradhaat that point joinPath doesn't seem long at all, especially with the backticks (depending on keyboard i18n)
16:10:08dom96yeah, it loses its beauty at that point.
16:34:48reactormonkgradha, overloading is bound to types
16:34:51*ryderblue joined #nimrod
16:35:04reactormonkso that shouldn't be much of a problem except if you want to overload it on strings
16:35:21reactormonkand people won't clash with the stdlib.
16:35:57gradhasure, I just love overthinking stuff
16:36:22gradhafinding out what breaks apart is what entertains me
16:37:32reactormonkgo break some US voting machines then ;-)
16:38:44gradhaso far I haven't read about any which works
16:39:37gradhavoting with PKI would be far better, but you have to give up anonymity
16:39:54gradhaat some point you have, or you simply pass it as trust onto another party
16:40:47reactormonk... and they even gave up the post-election polls
16:41:12reactormonkbecause they were wrong - and the journals didn't even thing fraud might be happening
16:41:31gradhanobody expects the Spanish inquisition!
16:41:43gradhasuch boring minds
17:51:19Araqso gradha ... we can make doc2 annotate exceptions automatically. killer feature, hu? :P
17:51:37gradhayessssss
17:54:15gradhaprecisely I'm writing a proc which returns a reference to an object from the database, nil when not found
17:54:29gradhaadding this killer feature will also show EDb can be raised too
17:54:43dom96Araq: Are you going to implement in the way that I described it? i.e.: raise newException(EIO, ...) ## Doc string.
17:54:50dom96Will result in:
17:55:02Araqdom96: I tried :P
17:55:07dom96Exceptions: EIO | Doc string
17:55:35Araqby the time the analysis runs, 'newException' has already been expanded
17:55:58Araqso the doc string is lost too ...
17:56:25dom96Simply get rid of newException and allow: raise EIO, message :P
17:57:23Araqhrm
18:01:46*Trixar_za is now known as Trix[a]r_za
18:06:21gradhaI'm not understanding the following error. With code like:
18:06:26gradha var todo: ref TTodo
18:06:27gradha todo = conn.getTodo(todoId)
18:06:27gradha if nil == todo:
18:06:40gradhaI get: Info: instantiation from here
18:06:41gradhalib/system.nim(626, 13) Error: cannot instantiate: 'T'
18:06:53Araqinteresting
18:07:01gradhashit
18:07:21Araqnimrod forces you to do it properly :P
18:07:27Araqif todo == nil: ...
18:07:40Araqor: if todo.isNil:
18:07:56gradhaok
18:08:04Araqproc `==`(x, y: ref T): bool is the signature I think
18:08:14gradhastill, I like the backwards idiom, it prevents mistyping ==
18:08:31gradhaI'll use isNil, thanks
18:08:32Araqbut 'nil' does not determine T
18:08:53Araqif you mistype = instead of == you'll get another error
18:09:00Araqnimrod is not C++ ...
18:09:30gradhaslightly cryptic Error: ':' expected
18:09:41AraqI know
18:09:48Araqit's good enough for now :P
18:09:58gradhame too
18:10:28gradhais if var = nil: a special case or nimrod simply disallows assignments inside the if?
18:14:33Araqthe later
18:15:20Araqbtw tell zahary when he's around that I think I solved the constructor problem and he'll love the solution
18:15:57gradhaif I remember I'll do so
18:20:10Araqand yeah before you ask: nonnullable types are planned
18:20:56gradhaI recall you saying that, though I come from language where this feature doesn't exists, so I'm not feeling to be missing a big deal
18:21:26gradhaI love how nil and messaging works in objc
18:21:33gradhaso actually nil is a feature for me!
18:21:34Araqit doesn't matter, it's crucial for marketing
18:21:39gradhahaha, true
18:22:19Araqpeople don't get that Java exemplified the problem since everything is a pointer in java ...
18:23:11gradhaoh, the painful memories of teachers forcing into me the idea that there are no pointers in java therefore it is a safe language...
18:23:59Araqhow come haskell is never blamed for 'bottom' btw?
18:24:24gradhano idea about haskell, the worst I've heard about it is: monads
18:25:17dom96Araq: What are you referring to? what is 'bottom'?
18:26:15dom96Problem with Haskell, to some people at least, is that it is purely functional. Which means that Monads are the only way to perform IO...
18:26:48Araqugh, let me look it up ...
18:27:36gradhadom96: yeah, real life sucks, it's all so much easier when you don't have to interact with it
18:35:21Araqdom96: http://www.haskell.org/haskellwiki/Bottom
18:37:54gradhaisn't that like the noreturn pragma?
18:38:38Araqit's an endless loop
18:38:50Araqbut haskell doesn't detect it and lets you get away with it
18:39:20gradhaI write those endless loops quite often, maybe it would be a nice shortcut to have...
18:39:42gradhamaybe the committee was drunk when they approved bottom?
18:39:57Araqyeah but you don't do 'let x = (while true) + 12'
18:40:18Araqit's an artifact of haskell's laziness
18:40:36gradhawell, not directly, the (while true) in my case would be any function returning an integer, which never returns.
18:40:36Araqyou can't avoid it easily
18:40:53Araqwell yeah
18:41:08Araqwell nimrod has that problem plus 'nil'
18:41:17Araqso it's worse than haskell ;-)
18:41:36gradhaoh, so it's a problem? man, I didn't know that when I joined this irc channel
18:41:41gradhaI want my sanity back!
18:42:35gradhaI've always thought that people trying to solve the halting problem have too few interesting things to do in their life
18:47:02AraqI dunno, I find all these thing interesting :P
18:47:26Araqthere is a subclass of turing machines for which the halting problem is solvable
18:47:41Araqbut I forgot how this subclass looks like
18:47:49Araqit's non-trivial though
18:47:51gradhainteresting yes, but trying to *solve* the halting problem... isn't it enough to run something and see it doesn't finish?
18:48:48gradhayou only need a QA department, with something above the average monkey
18:49:14Araqmeh where is the fun in that? :P
18:49:34Araqprove that it terminates instead
18:49:47Araqif you can't prove it your code is too complex :P
18:50:31gradhawhen somebody tells me my code is complex I tell them to look at the linux kernel
18:51:20gradhaI guess you can argue it doesn't finish too, since it takes over the machine and never exits (unless it crashes)
18:52:53Araqmost interactive applications are endless loops, yes
18:53:54Araqlots of formal systems have been developed with this in mind though
18:54:38gradhaah... formal. The word that strikes fear into the hearts of many programmers
18:55:13gradhais git head stable now?
18:55:27AraqI think so
18:55:46Araqbut exception tracking is not activated
18:55:54gradhaI've just finished a new example, so rather than check it I'll rebase now and request a pull
18:56:15Araqoh wait a sec ...
18:57:46gradhadon't worry, I'll tag locally so I can revert
18:58:45Araqthere you go
18:58:56gradhaok
19:01:35gradhalow upload bandwidth sucks
19:05:01gradhasince I'm uploading now my copy of build/csources.zip, what's the deal behind it? is it like pregenerated code for bootstraping?
19:05:50Araqwtf
19:06:00Araqyou shouldn't upload csources.zip
19:06:05Araqthat's offending
19:06:20Araqit's only needed if bootstrapping somehow was broken
19:07:09gradhawell, it came updated with commit c19fc97a780ffd3b804a9aa76e0bac2e9da7c4e9, and since I'm pushing first to my fork I have to upload it
19:07:30gradhaat least that's what I think git is doing, so far sent 11MB
19:08:39gradhaisn't that the "feature" of dvcs? everybody gets to keep gigabytes of history
19:10:17reactormonkgradha, Araq does not like huge diffs on github, so he zips the sources
19:10:59Araqgradha: did you run 'koch csource'?
19:11:08gradhano
19:11:15gradhawhat does it do?
19:11:37Araqit generates the C sources for bootstrapping
19:12:03Araqso if you didn't run that I fail to see how your .zip can be different from the one on github
19:12:12gradhaoh, no, it's not different
19:12:22gradhait's just that I've merged your changes into my fork
19:12:32gradhabut now "git push" actually uploads them
19:12:46gradhait is "stupid", it doesn't know it can fetch them from your repo, in the cloud, that is
19:13:07gradhaso far I've just fast forwarded my fork to match yours, I'll send my changes now
19:14:24gradhaok, there you go https://github.com/Araq/Nimrod/pull/243
19:14:53gradhaI'm sure there are better ways to implement this example
19:15:20gradhafor instance: the command line parsing is quite repetitive, I'm positive macros will help there (when I learn to write them)
19:16:41gradhaI guess I'll learn that first, so I can .emit. native objc like a boss
19:19:23Araqwarning: nitpicking and rambling ahead
19:19:55Araqwhy do you use `' ? which font shows that as an open/closed quote?
19:20:11Araqit's 2012 ...
19:20:45gradhathe font is Terminus
19:21:05gradha`'
19:21:22gradhanot sure about that, hasn't that always looked like that?
19:21:49Araqindeed, it always looked like shit ;-)
19:22:02Araqunless you're born before 1970 I guess
19:22:43gradhahmmm... I'm from 1980, but never actually used those until I started with linux, so maybe that had the old ancient font?
19:22:57gradhadoes http://blogs.adobe.com/typblography/2012/09/source-code-pro.html look better?
19:23:36gradhaor just tell me which characters to use
19:24:02Araqwell ' ' or " " or ` `
19:24:15gradhaso just repeating the same character, ok
19:25:13gradhaif you have more nitpicks I can update the pull request
19:27:14Araqyou don't have to update
19:27:18gradhapushed version with ' '
19:27:22Araqlol
19:27:34AraqI dislike ' : ' and prefer ': ' ;-)
19:27:44Araqas : is no binary operator
19:27:57gradhaI don't quite get that
19:28:39gradhaoh, you mean the var declarations?
19:28:43gradhadon't know where that came from
19:29:14Araqin the var declarations yeah
19:29:32gradhaI hate them aswell, must have been the other me when I wasn't looking
19:30:25Araqspeaking of which, I never do 'discard(x)', but 'discard x'
19:31:09gradhaI've also seen echo without the brackets in the docs
19:31:29gradhaI'm still torn between using them or not, it's something new I'm not used to
19:41:47dom96guys, we should attempt to resurrect the Nimrod wikipedia page!
19:41:52gradhadiscarded discard's brackets
19:42:16gradhawhy are they deleting it?
19:42:26dom96They already deleted it... a long time ago.
19:42:33dom96Due to it not being notable enough :\
19:43:19reactormonkwrite it in some foreign language
19:43:34reactormonkthen argue in the english wikipedia that it's there in that language
19:44:16dom96We would need foreign references then...
19:44:18gradhawe can fix this writing something notable in nimrod
19:44:41dom96Blog posts might be enough, anyone have a blog?
19:44:58gradhamaybe number of github repos?
19:46:04dom96number of Nimrod github repos you mean?
19:46:17dom96How does that translate into a wikipedia reference?
19:46:35gradhanot forks, github repos using nimrod as language, that would be notable, meaning people use it
19:46:36dom96(Not to mention we can't determine that because Github won't accept reactormonk's patch :\)
19:46:55gradhatrue, maybe we should first gain notability on github
19:48:00dom96The only thing this could back up is writing "There are many Nimrod projects on Github", but backing up stuff about the language would mean we would need to use references to Nimrod's manual which Wikipedia doesn't like IIRC
19:48:45gradhasounds like a problem... only if you want to be in wikipedia
19:49:10dom96The only reason I found Nimrod is because of Wikipedia :P
19:49:12Araqbrb
19:49:20dom96Then 2 days later the article was deleted.
19:49:26dom96Talk about luck :D
19:49:53gradhai found about it on stackoverflow
19:50:03gradhamust have been a comment by one of you
19:51:02dom96http://stackoverflow.com/questions/1157328/programming-languages-with-python-like-syntax-but-native-code-generation
19:51:07dom96I have no idea who that guy is.
19:51:23dom96Same here: http://stackoverflow.com/questions/3557072/is-there-a-better-c
19:51:39dom96That's the only results on google for "stackoverflow nimrod programming language"
19:52:21reactormonkdom96, go rant on the pull request
19:52:44dom96Lets all rant on it
19:52:45gradhasomehow that's not what I remember
19:53:04gradhaI remember looking up for something like "programming language which compiles to C" and somewhere there was a link
19:53:16gradhaamong stuff like vala and other languages
19:53:24dom96Everyone, RANT https://github.com/github/linguist/pull/253
19:54:21gradhahaha, done
19:54:28gradhaI'm gonna get soo banned
19:54:36dom96"I hear even haskell guys had to face reality and created monads..." whaaaat?
19:55:03gradhanonsense trolling
19:55:23dom96argh, please don't do that.
19:55:33dom96I don't think that will get us anywhere.
19:55:35gradhaok, deleted
19:55:52gradhanot sure what else can get you, github has their own priorities
19:56:21Araqwell since we ranting already
19:56:30gradhawouldn't you have to find the people in charge of merging stuff? seeing as that is good to merge
19:56:43AraqI'm sorry but this is typical of "modern" developers ...
19:56:57Araqbuilding shit on top of shit without ever thinking
19:57:20dom96Everyone just +1 it or something :P
19:57:25Araqas if for programming language detection binary files would matter
19:57:28reactormonkcan't do that anymore
19:57:49dom96Or say "Yes, I agree with dom96. Merge this please."
19:57:49reactormonkAraq, well, public relations :-P
19:57:59dom96:P
19:58:11Araqwtf
19:58:15gradhamaybe embedding a meme...
19:58:17Araqdid they delete my comment?
19:58:30dom96Araq: Are you sure you didn't comment on the issue? :P
19:58:37AraqI did comment
19:58:45dom96yes, you did.
19:58:50gradhain fact I remember reading that comment
20:00:38dom96Lets all just DOS github, that'll show them.
20:01:01gradhahehe, and you were schooling me just a moment ago
20:01:27dom96True, but DOS'ing is anonymous, kinda.
20:01:33dom96Totally different!
20:01:39gradharight
20:02:09dom96I kid, i kid. Lets hope they finally merge this :(
20:02:28dom96Could be worse, they could have simply closed it.
20:02:40gradhabtw, here's what initiated me in nimrod: http://stackoverflow.com/questions/1721804/which-general-purpose-programming-languages-implementations-compile-to-c
20:03:58dom96nice. No idea who ante is.
20:04:05Araqha, nimrod is the top answer
20:04:17gradhajust upvoted it, I'm liking it
20:04:25Araqok, ... I'm pissed off
20:04:32Araqhow come they dare delete my comment?
20:04:39AraqI wasn't even offensive, iirc
20:04:57dom96Araq: Dude. Are you sure you commented on the pull request?
20:05:13dom96And not just the issue?
20:05:18Araqlol
20:05:20dom96Your comment is still there.
20:05:22dom96On the issue.
20:05:27Araqaha XD
20:05:42dom96..lol
20:06:01gradhatrue, that's what I was remembering too
20:07:14Araqthe better
20:07:20Araqso I commented again ;-)
20:08:08gradhasomehow the lack of OMG reduces the drama of the request
20:08:37Araqdamn
20:09:09dom96haha
20:09:26Araqbtw gradha I think some simple helper procs would help your parsing code already
20:09:42Araqbut the transition to a template is very simple
20:10:00dom96Araq: select for processes on Windows doesn't work well IIRC, right?
20:10:22Araqdom96: it's your code ...
20:10:29dom96I know.
20:10:40dom96I really should have documented this argh
20:10:59gradhatemplate == macro?
20:11:22Araqa template started as a quasi quote
20:11:37Araqbut yeah a template is a simple form of a macro
20:12:24gradhaok, I'll review the pull request once I go through the second tutorial
20:16:26Araqin fact, they are quite easy if you know C's #define
20:17:24gradhalooks like evading any knowledge about C# doesn't pay off in the end
20:17:26dom96yeah, just went through the git history. Select does not work correctly on Windows.
20:17:29*dom96 changes docs
20:18:25Araqhu? what has c# to do with it?
20:18:44gradhadyslexia, most likely
20:19:33gradhaI was expecting macros to be like C's #define
20:21:40Araqlol
20:26:49AraqC's macros are no macros :P
20:27:03gradhaawwww, what a pity
20:27:08Araqthank god they didn't use the word "module" for their include crap ...
20:27:16dom96C's macros are a joke compared to Nimrod's :P
20:27:32Araqotherwise people would now think of modules being a bad idea ...
20:28:53gradhaAFAIK C's macros and includes are part of the preprocessor, which has nothing to do with the language itself, they just get lumped with it, but I've satanized other languages with the C preprocessor too, just because I could!
20:29:14Araqthis is almost true :P
20:29:30Araqfact is though that the preprocessor is part of the C standard
20:29:46Araqyou can't pretend it somehow doesn't belong to C ...
20:30:02dom96Araq: What is the reason I can't simply terminate a running thread, again?
20:30:21gradhasure, I just don't see it as "integrating" with the language, it's an additional compilation phase
20:30:40gradhadom96: terminating threads is evil, or so they say
20:30:59Araqdom96: I dunno ... I think you can?
20:31:09Araqbut the posix's api for it is deprecated
20:31:24dom96I see.
20:31:33Araqfor dumb reasons
20:31:46dom96I guess the alternative isn't super bad.
20:32:28Araqone reason is that the thread could still hold some lock
20:32:37Araqand then you could trigger deadlocks this way
20:33:04Araqthis assumes that you A) have no control over the code the thread executes that you want to terminate
20:33:08dom96true. I wish I had some way to simply terminate a blocked call though.
20:33:16Araqand B) somehow still use the very same lock as this thread
20:33:20AraqB )
20:33:23gradhadeadlocks are the second best thing behind infinite loops
20:33:32gradhas/behind/after
20:33:45Araqin other words, it's a dumb reason
20:33:59Araqwith the same logic you could deprecate terminating a process ...
20:34:18dom96I am forced to pass the process object back to the main thread and terminate the process if I want to terminate the build process...
20:34:22dom96Which seems hackish.
20:35:00dom96Because readLine on the Process' stdout could block...
20:35:22dom96I hate IO.
20:37:10Araqit's also likely to be wrong :P
20:37:21dom96of course.
20:37:30Araqyou must not pass the process back to main thread
20:37:45Araqunless the main thread allocated the object
20:38:34Araqthe compiler should warn about this ...
20:39:09dom96I should probably pass the PID.
20:39:18dom96and then terminate the PID.
20:39:47Araqyeah that's much better
20:39:50dom96But then I need a function which lets me terminate a process by PID
20:40:37dom96Useful addition to osproc I guess.
20:40:41dom96I shall implement it.
20:40:43Araqyeah
20:40:59Araqmaking PProcess = ref TProcess was a bad idea ...
20:41:44Araqwe could try PProcess = var TProcess and maybe I won't break any code
20:41:55Araqand then it can be shared between threads ...
20:43:55dom96ok, what we'll do is I will finish nimbuild first, and then we'll worry about this :P
20:44:15Araqgood
20:44:43Araqon the other hand sending a PProcess properly with the API works
20:44:53Araqif only because of implementation details :P
20:46:51dom96channels.send() actually copies the object then, it doesn't just pass the pointer? right?
20:46:59dom96Which is correct and doesn't cause any issues.
20:47:13Araqright
20:47:21dom96So that's subject to change?
20:47:30Araqno ...
20:47:49Araqwell I thought you exchange the PProcess via some global :P
20:47:56Araqand that would be wrong :P
20:47:59dom96No.
20:48:00fowli tried to do type PFoo = (var TFoo) or (ptr TFoo) for a c wrapper and it wouldnt work =(
20:48:26Araqperhaps the compiler doesn't like ()
20:48:38AraqPFoo = var TFoo # works for me
20:48:44Araqthe compiler itself uses it now
20:49:38fowltype mismatch: got (TFoo) but expected one of:
20:49:38fowla25.zoo(x: PFoo)
20:52:21fowlwithout the ()s, var tfoo or ptr tfoo is interpreted as var tfoo | var ptr tfoo
20:53:00Araqwell I dunno what you're doing :P
20:53:50fowlAraq: i'd like things like sdl's TEvent to pass in as var so you can just do pollevent(event) without so much address stuff
20:56:44*ryderblue quit (Remote host closed the connection)
20:56:45dom96hrm, would a converter work in this case? lol
20:57:35fowllol converter toptr*[A](some: var A): ptr A = addr some
20:57:50AraqI think it doesn't due to compiler bugs
20:58:59fowlno generic converters :(
20:59:35fowlit seems to work though
20:59:53dom96what about term rewriting macros?
21:00:05dom96nah
21:00:07dom96I guess not.
21:01:30fowltemplates creating a converter doesnt run
21:01:35fowlcan someone verify
21:05:31Araqfowl: sorry, I'm watching breaking bad
21:05:41Araqjust fill in a bug report
21:06:25dom96fowl: Seems to be working for me.
21:06:28dom96What's your code?
21:07:05gradhaAraq: changed fonts, everything still looks the same to me. How do you like `x´?
21:08:49Araqlol what's wrong with «»
21:09:03gradhaI have no key to type that
21:09:38dom96how the hell do you type � ?
21:09:45gradha´?
21:09:58gradhaThat's the latin accent for a vowel, without the vowel
21:10:05gradhaI can type it pressing space + accent key
21:10:15gradhano, the other way round
21:10:21gradhaá ´ a
21:10:28dom96Doesn't work for me :\
21:10:37gradhayeah, that's the problem with these keyboards
21:10:46gradhathey are all missing keys!
21:11:18AraqI'm gonna implement 'ptr T not nil' syntax
21:11:39Araqthe compiler won't check the semantics though
21:11:59Araqit's a "bug" that it doesn't work yet
21:12:16Araqbut I'll nevertheless spam reddit about nimrod's awesome notnull pointers
21:12:30AraqI call it the "D style" of language design :P
21:12:42dom96haha
21:13:34gradha“talking like a sir”
21:13:46gradha“yep, that's nice”
21:14:15gradha“or maybe I'm talking in 3rd person?”
21:14:59gradhawait! «I can do it»
21:15:04gradhahehe, keyboards are funny
21:15:18Araqnext version will also be numbered "2.6" for marketing reasons
21:15:47gradhawhat's the market for a 2.6 version of anything?
21:16:14Araqwell it suggests that it's rock solid
21:16:31gradhaI think you have to go beyond python, like 4000 at least
21:16:54AraqNimrod 40K
21:16:59AraqI like it
21:17:05gradha«nice»
21:17:28Araqdude I can't tell if you're «serious»
21:17:34Araqstop it
21:17:38dom96"Now with a compiler which renders the AST in 3D!"
21:17:51gradha«and sirly quotes»
21:18:14dom96User's response: "This sucks. D can render it in 11D!"
21:20:11fowlhttps://gist.github.com/3996628
21:20:55dom96fails indeed.
21:23:30Araqbtw, fowl, auto conversion between var and ptr/ref is planned
21:23:45reactormonkAraq, converters?
21:25:03fowli know, i just dont want to wait for it :>
21:25:53*gradha quit (Quit: gradha)
22:01:54reactormonkdoes nimrod have warnings btw?
22:04:06Araqyes it does
22:04:23Araqbut only a couple
22:05:03reactormonkis it implement as a condition?
22:06:05Araqlol no if you're speaking of lisp's condition system
22:06:21reactormonk total_word_tokens_of_would_be_recorded_documents_skipped_because_lacking_coordinates +=
22:06:23reactormonk word_tokens_of_would_be_recorded_documents_skipped_because_lacking_coordinates
22:06:25reactormonkWTF.
22:06:46fowllol
22:07:01fowlyou never write trollcode?
22:07:09reactormonk http://sprunge.us/AGZD
22:07:51reactormonkthis guy is smoking serious stuff... I want some of it too
22:08:13fowllol
22:08:53fowlwhat language is that? val, value, print_line() dont look familiar
22:09:05reactormonkthat's some of the worst part - some other parts are nicely documented
22:09:16reactormonklike abstract classes with a bunch of comments - that's nice
22:09:19reactormonkit's scala
22:09:33fowlah
22:09:45reactormonkvar is variable, val is static value
22:09:59reactormonkaka you don't change the reference of val
22:10:09fowlsure
22:10:12fowlvar is var and val is let
22:10:26reactormonkkinda
22:29:17Araqhttp://dilbert.com/2012-10-21/
22:51:56dom96reactormonk: Where is that code from?
23:01:11reactormonkdom96, some research rpoject
23:09:14dom96gah, the linux-x86 builder crashed :\
23:09:51Araqyep
23:27:20*Boscop quit (Disconnected by services)
23:27:21*Boscop joined #nimrod