<<24-08-2012>>

16:38:34*NimBot joined #nimrod
16:38:39*dom96 needs to fix that NimBot reconnection bug
16:43:55fowlludum dare in 8 hours
16:45:07dom96indeed
16:45:10dom96Are you competing?
16:45:49fowlnah
16:46:06dom96aww
16:49:01Araqdom96: should I pull the trigger again for nimbot?
16:49:19dom96Araq: Why?
16:49:34Araqbecause I pushed something
16:49:56dom96Well NimBot doesn't affect the build process
16:50:05dom96Unless you really want it to announce your push here
16:50:13Araqoh ok
17:09:08fowldom96: what can babel do besides install stuff
17:09:21dom96fowl: Currently, not much.
17:09:34dom96The idea is to have it pull dependencies.
17:11:03fowli see
17:12:19dom96You know like ruby gems.
17:14:52shevy2\o/
17:15:04*shevy2 is now known as shevy
17:15:24fowli need a title for this
17:17:57dom96for what?
17:18:09dom96So anyone try the latest Aporia yet?
17:18:55fowldom96: my game
17:19:02fowli need a name before i create the repo
17:19:22fowlgithub suggested north-american-octo-bear which is pretty good
17:19:29dom96fowl: What type of game is it?
17:19:43fowlspace game
17:19:57fowlmmo ctf/different games
17:20:43fowlfinna-be-sansa
17:20:52dom96well I'm really bad with names
17:21:00dom96I always use some greek god name
17:21:47fowlhmm good idea, ill honor the gods with my game name
17:23:11dom96hehe
18:16:44Araqso, shevy
18:16:56Araqwhat to do with "bug" #187 ?
18:17:24shevyclose it
18:17:39Araqwhat about you writing a tutorial?
18:17:50shevyI would have to understand nimrod first
18:18:09shevyit's just not really making "click" so far
18:18:31Araqwhat's so hard to grasp about the types?
18:18:55shevyI dunno, it's not only the types alone, it's also the syntax required for them
18:19:14Araqit's COLON <type>
18:19:51shevyin ruby you basically have like:
18:19:57shevy def foo(a,b,c='')
18:20:15shevyin nimrod, you have to specify the type, and then you also have to add something after the )
18:21:30dom96shevy: It's simple. It really is. What type do you intend 'a' to be? Lets say you want it to be plain text, ok then, all you need to do is write 'a: string'.
18:21:45dom96The rest is the same as ruby.
18:21:51dom96Up until the ')'
18:21:57shevyonly for types, but there is also the *
18:22:08dom96Now you ask yourself 'Will the function produce anything?'
18:22:39dom96If it does then you ask yourself what type it is, and again all you do is write ': <TypeHere>'
18:23:00dom96The only other syntactic requirement is the '=' (The equals sign)
18:23:06dom96Which isn't that hard to remember.
18:25:10dom96shevy: The * simply means 'export this'
18:25:27dom96There is nothing complicated about it.
18:25:43dom96It's the equivalent of 'public' (In C-like languages I believe)
18:25:51dom96And in Ruby, I think every function is exported
18:26:41shevyall methods in ruby by default are public, yeah
18:27:03shevyone has to use "private" once, then following that, all method definitions will be private
18:27:40dom96ok, so you understand the idea of 'private' and 'public' functions.
18:27:50dom96What is the problem with '*' for you then?
18:27:54dom96Do you not know where to put it?
18:28:13shevyno idea. proc foo*() I suppose
18:28:13dom96It's immediatelly after the name.
18:28:16dom96yes
18:28:30dom96there you go.
18:53:57fowlshevy: im thinking of using verdammung arschloch as my project name, what do you think
18:54:29shevyhmm verdammung is not a real word
18:56:11fowlshevy: how about G�tter dammerung arschloch but i'll take out the spaces so its incomprehensible
18:56:22shevythat word is better
18:56:33shevyG�tterdammerung. it is a bit like "armageddon"
18:56:36shevyack
18:56:40shevyG�tterd�mmerung
18:57:13shevyfowl do you know the nibelungen saga?
18:57:45shevyfowl, http://en.wikipedia.org/wiki/Nibelung it's a cool old saga... a bit northern germany/germanic and akin to the scandinavia myths too
18:57:48Araqdom96: what did you change? aporia works like before :P
18:57:50fowlno i dont know much about esoteric german stuff
18:58:04dom96Araq: Check out changelog
18:58:29Araqwell the bottom bar is still there :P
18:58:34fowlshevy: is dammerungarschloch powerful enough by itself?
18:59:09shevyfowl dunno, it's semi-german at best only :P nah... G�tterd�mmerung alone would be better
18:59:12fowlshevy: google says it means twilights asshole which is pretty good imo :p
18:59:24shevyoh but it is much cooler than twilight alone
18:59:29shevyit's mystical!
19:01:06shevyhmm
19:01:16shevydoes aporia have syntax highlighting? I mean when someone makes a mistake like
19:01:19shevyproce foo()
19:01:24shevyrather than proc foo()
19:01:52dom96shevy: Yes, 'proc' won't be highlighted then. But there is no on the fly error checking like in Visual Studio
19:02:10dom96'proce' won't be highlighted I mean :P
19:02:36shevyhmm
19:03:06shevyand babel will be the addon-installer thing for nimrod packages/software right? so like one could somehow use it to download the latest of aporia and have it setup to work
19:03:29shevyin a way, those things make people lazier :D
19:03:47dom96yes. Might take a while though to happen though :P
19:04:30shevyruby didn't have anything like gem for 10 years or something like that
19:04:46shevythe recommended way to install something was to make use of a file called "setup.rb"
19:04:49shevywhich still works today :)
19:06:02dom96Maybe we should do the same :P
19:06:24*reactormonk quit (Ping timeout: 276 seconds)
19:08:15shevyyeah indeed
19:08:19shevygem was written in 2003/2004
19:08:26shevyalmost ten years
19:08:54fowlis there a standard lib for user packages or a search path nimrod uses
19:11:06Araqfowl: what do you mean exactly?
19:11:19Araqthere is no builtin that returns the compiler's search path
19:12:14dom96I think he wants to know where the compiler looks for libraries/modules.
19:12:45Araq'nimrod dump' ?
19:13:16fowlit would be cool if you could just clone a nimrod lib into ~/.nimrod/libraries/itspath
19:13:31dom96ugh, anyone with Ruby experience want to figure out why github's linguist does not consider .nim files to be the Nimrod language anymore?
19:13:48dom96I'm quite sure it fails on my comp because I have the latest Ruby version and it doesn't support it.
19:14:23shevydom96 where to look for that?
19:14:28dom96https://github.com/github/linguist
19:14:30shevyI have to leave here soon for ~15 minutes
19:14:58dom96Take a look at Installation.
19:15:12shevylib/linguist/languages.yml: - .nimrod
19:15:42shevyhttp://pastie.org/4582165 well odd, I think it should detect .nim files fine from that
19:16:02dom96ys.
19:16:04dom96*yes
19:16:06shevylib/linguist/language.rb: YAML.load_file(File.expand_path("../languages.yml", __FILE__))
19:16:09dom96Could you run it on a nimrod directory?
19:16:10shevylanguage.rb loads that yaml file
19:16:26shevyok how do I do that
19:17:04dom96Install it using bundler and then do: bundle exec linguist directoryHere
19:17:19shevyack
19:17:26shevybundler :)
19:17:36*reactormonk joined #nimrod
19:18:00fowloh dang i need to upload this game data
19:20:11dom96oh ruby. How much I love you so.
19:22:45fowlError: cannot open 'extra_sht' my file names -__-;
19:24:04dom96https://gist.github.com/36d67e6fe5f81c9dbb14
19:24:05dom96 :(
19:24:41fowlwhat is that? looks like python
19:25:11dom96Take a look at the top line, that's me executing: bundle exec linguist lib/
19:25:57fowldom96: i would try updating ffi, rubypython and pygments
19:26:12fowlor wait you're on some old version of ruby?
19:26:24dom96I don't even know.
19:26:35dom96I just installed bundler and did bundle install
19:26:43dom96I didn't even install pygments :P
19:27:11fowlyea bungler does all that stuff for you, i try to avoid it
19:28:05fowldom96: do gem install ffi pygments rubypython
19:28:25fowlwell, maybe not
19:28:30dom96how do I install globally?
19:28:43fowlbundler probably put specific versions
19:29:20dom96ugh, if it's using pygments it's probably trying to use python2.
19:29:25dom96And Arch has Python 3.
19:30:02fowl--[no-]user-install
19:30:09fowlor run it as sudo
19:30:30dom96Yeah, I did that: 'WARNING: You don't have /root/.gem/ruby/1.9.1/bin in your PATH,'
19:30:34dom96Nice job gems.
19:31:27fowllol
19:31:55fowlyou should get them to add nimrod.cfg *.nimrod.cfg to the filenames for nimrod def
19:32:18*dom96 is starting to lose patience with Ruby
19:32:39reactormonkdom96: don't install gems as root - if you want packages, use ruby-* from pacman
19:33:18dom96reactormonk: I don't know what I need, all I want is to get linguist to run.
19:33:57reactormonkdom96: don't run gem as root.
19:34:06reactormonkdom96: then try again
19:34:14dom96I'm not running it as root
19:34:14reactormonkdom96: #ruby btw
19:36:24Araqit's amusing to watch you fight the package managers, dom96
19:36:50dom96Yeah, i'm considering not creating Babel now :P
19:37:20AraqI have yet to find a package manager that is not annoying :P
19:37:26Araqand doesn't break :P
19:41:37fowlanybody know of a good file host
19:41:48Araqseriously
19:41:49dom96dropbox
19:41:59Araqwhy the fuck doesn't it recognize nimrod files anymore?
19:42:50fowlone that you dont have to wait to dl or click through to get to. if i could just have a straight http link to it would pwn
19:42:51dom96A guy broke it obviously.
19:43:26dom96He commited 4 days ago, which happens to be when the last change to a Nimrod repo was detected as having Nimrod code.
19:43:36Araqreadme.markdown takes precedence over readme.txt?
19:43:50fowlplus i cant get dropbox to work >_>
19:44:20reactormonkAraq: pacman? nix? ^^
19:46:06Araqreactormonk: don't let me get started
19:46:48reactormonkAraq: right, you still need one for nimrod? ... :-)
19:49:45Araqreactormonk: it would be nice if linux mint would package wine :P
19:50:14reactormonkAraq: just grab the ubuntu package?
19:50:40fowlnoo if you dont use the ppa you'll be 8 versions behind
19:50:45AraqI won't spend further time on it :P
19:53:10Araqwhy don't they package fucking *wine* in the first place!?
19:53:20Araqwhat crappy distro is this?
19:53:37fowlbecause ubuntu has wine packages so they dont need to?
19:54:36dom96What if he's using Linux Mint Debian edition? :P
19:54:40Araqexcuse me, I want to find it in synaptic
19:54:59fowldom96: then god help his soul
19:55:00Araqand no, I don't want to add search URLs or crap
19:55:16Araqindeed I'm using the debian edition
19:55:20dom96haha
19:55:32fowlyikes lol
19:56:09dom96Araq: Debian is known for having VERY old software in its repositories, as far as I'm concerned
19:56:27*reactormonk quit (Ping timeout: 276 seconds)
19:57:00Araqit's a "rolling distribution based on Debian Testing"
19:57:12shevygem is ok
19:57:16shevythe problem is, bundler came along
19:57:18Araqhow can that be possibly outdated?
19:57:45Araqshevy: could you please hunt the guy down who broke nimrod detection?
19:57:56Araqit's very bad for publicity
19:57:59fowlin debian, even testing refers to products that are 3 years old, similar to the way doctors never stop practicing, packages are never done testing ;)
19:58:09shevyit's linguistics that broke, yes?
19:58:10Araqand we have a release the next week ...
19:58:33Araqand I'm already in a bad mood
19:59:06Araqthat's good, 3 years old makes lots of sense for open source, omg
19:59:09dom96shevy: The linguist gem is broken, in particular the 'stats' feature
19:59:13dom96Read its readme
20:00:10fowldom96: https://github.com/fowlmouth/gotterdammerungarschloch
20:00:37Araqoh fowl, sorry
20:00:57dom96Silly github, it doesn't detect fowl's language at all.
20:01:04dom96You know what, i'm just going to submit a bug report.
20:01:09dom96They should fix their own crap.
20:01:13dom96I don't have time for this.
20:01:16AraqI forgot to tell you: "gotterdammerungarschloch" is easily the worst title I've ever heard of
20:01:21*dom96 is a bit angry, sorry.
20:01:23Araqand it's offending
20:01:30fowlAraq: :D
20:01:47dom96fowl: That is quite a long word, i.e. what German is known for :D
20:01:55shevydom96 I filed one at https://github.com/github/linguist/issues
20:02:59dom96shevy: Install pygments.rb
20:03:04dom96Using gems
20:03:06dom96or whatever
20:03:08shevydoes not work
20:03:42shevywhoever wrote linguist must be clueless about his own dependencies
20:04:27fowlshevy: the gem is called pygments.rb
20:04:37Araqdom96: CTRL + / doesn't work :P
20:04:40shevyack
20:04:44dom96Araq: Lies.
20:04:47dom96strange.
20:04:51shevyack
20:05:07dom96Aporia's language stats are correct
20:05:12dom96https://github.com/nimrod-code/Aporia
20:05:14shevyFetching: ffi-1.0.11.gem (100%) Fetching: blankslate-2.1.2.4.gem (100%) etc..
20:06:37shevytokenizer.rb:58:in `scan': invalid byte sequence in US-ASCII (ArgumentError)
20:07:35shevyI guess I am stopped there
20:08:02*reactormonk joined #nimrod
20:17:45Araqshevy: what do you mean "it works now"?
20:17:55Araqhttps://github.com/github/linguist/issues/238
20:19:12shevyAraq pygments
20:19:48shevybut it's of no use, tokenizer.rb chokes lateron
20:19:56dom96well I got it running
20:20:01shevy:(
20:20:19dom96Stupid Python2 vs. Python3
20:20:38dom96They should at least check the damn version or something.
20:20:46dom96Check for the python2 binary preferably
20:20:53dom96pygments.rb I mean
20:21:42dom96hrm
20:21:49dom96Just got: invalid byte sequence in UTF-8 (ArgumentError)
20:21:59dom96When running on Aporia
20:22:56dom96I'm guessing it tries to open the binary files 0_o
20:25:08dom96yep
20:25:28dom96Deleted binary files.
20:25:35dom96Doesn't detect nimrod
20:32:02fowlAraq: do you think I should change it to dammerungarschloch
20:32:32Araqget rid of 'arschloch', it's offending
20:32:51*reactormonk quit (Ping timeout: 276 seconds)
20:34:21dom96It's as if they blacklisted the .nim extension.
20:36:47Araqyeah because it's some weird nokia binary file too iirc
20:37:00fowli'll call it
20:37:06fowlkeineSchweine
20:37:32Araqcall it, "ihrkotztmichsowasvonderbstandasglaubtihrnicht"
20:38:30dom96Yep
20:38:31dom96https://github.com/github/linguist/commit/64f350922255b3572b9062200bc6be326b609315
20:40:14Araq-.-
20:41:09fowlAraq: it pisses me something that you do not believe in vonderbst?
20:41:38dom96I think we have to add Nimrod to here now: https://github.com/halostatue/mime-types
20:41:44Araq"you piss me off so tremendously you wouldn't believe"
20:41:58fowlah lol
20:43:51dom96'video/vnd.nokia.interleaved-multimedia @nim 'IANA,[Kangaslampi]'
20:43:59dom96https://github.com/halostatue/mime-types/blob/master/lib/mime/types/video#L60
20:44:27dom96Dude, I think this is standardised.
20:44:33fowlAraq: was that directed to me?
20:44:57Araqfowl: no
20:45:05dom96http://www.iana.org/assignments/media-types/video/vnd.nokia.interleaved-multimedia
20:45:42dom96argh
20:45:51dom96'Intended usage : Limited Use'
20:46:09Araqnokia will soon be dead anyway :P
20:47:03Araqseriously, this linguist stuff is broken
20:47:12Araqit should use mime types to filter at all
20:47:20Araqmimetypes simply don't work
20:48:10Araqit's about *programming languages*, maybe it should care about file extensions for programming language files?
20:49:12dom96https://github.com/github/linguist/issues/238#issuecomment-8014422
20:49:17dom96We'll see what they say
20:50:08Araqthat's why we need to control the full software stack :P
20:50:18Araqrewrite linguist and github in nimrod :P
20:50:45dom96Have fun with that :P
20:52:59shevyhehehe
20:53:45shevythat reminds me
20:53:47shevywhere is Tasser?
20:54:02Araqhe's now reactormonk
20:55:19shevylol
21:04:23dom96Good night.
21:08:57fowlnight
22:11:11fowlmy template is just {.immediate.} but this isn't enough anymore?
22:18:15fowl{.inject.} >_>
22:22:00Araqyep
22:24:00Araqfowl: you can also declare your template 'dirty' :P
22:28:10fowlAraq: my chipmunk wrapper has a bunch that are just {.immediate.} that declare procs, do i need to put {.inject.}on the procs?
22:44:32Araqfowl: no, read the manual :P
22:44:43fowli did and i found it confusing
22:44:47Araqprocs default to 'inject'
22:44:50Araqhrm
22:45:27fowlAraq: on reading it again it makes more sense
23:10:52Araqgood night
23:10:58fowlnight
23:37:13fowlthis is weird,is this expected behavior: https://gist.github.com/3457268