16:38:34 | * | NimBot joined #nimrod |
16:38:39 | * | dom96 needs to fix that NimBot reconnection bug |
16:43:55 | fowl | ludum dare in 8 hours |
16:45:07 | dom96 | indeed |
16:45:10 | dom96 | Are you competing? |
16:45:49 | fowl | nah |
16:46:06 | dom96 | aww |
16:49:01 | Araq | dom96: should I pull the trigger again for nimbot? |
16:49:19 | dom96 | Araq: Why? |
16:49:34 | Araq | because I pushed something |
16:49:56 | dom96 | Well NimBot doesn't affect the build process |
16:50:05 | dom96 | Unless you really want it to announce your push here |
16:50:13 | Araq | oh ok |
17:09:08 | fowl | dom96: what can babel do besides install stuff |
17:09:21 | dom96 | fowl: Currently, not much. |
17:09:34 | dom96 | The idea is to have it pull dependencies. |
17:11:03 | fowl | i see |
17:12:19 | dom96 | You know like ruby gems. |
17:14:52 | shevy2 | \o/ |
17:15:04 | * | shevy2 is now known as shevy |
17:15:24 | fowl | i need a title for this |
17:17:57 | dom96 | for what? |
17:18:09 | dom96 | So anyone try the latest Aporia yet? |
17:18:55 | fowl | dom96: my game |
17:19:02 | fowl | i need a name before i create the repo |
17:19:22 | fowl | github suggested north-american-octo-bear which is pretty good |
17:19:29 | dom96 | fowl: What type of game is it? |
17:19:43 | fowl | space game |
17:19:57 | fowl | mmo ctf/different games |
17:20:43 | fowl | finna-be-sansa |
17:20:52 | dom96 | well I'm really bad with names |
17:21:00 | dom96 | I always use some greek god name |
17:21:47 | fowl | hmm good idea, ill honor the gods with my game name |
17:23:11 | dom96 | hehe |
18:16:44 | Araq | so, shevy |
18:16:56 | Araq | what to do with "bug" #187 ? |
18:17:24 | shevy | close it |
18:17:39 | Araq | what about you writing a tutorial? |
18:17:50 | shevy | I would have to understand nimrod first |
18:18:09 | shevy | it's just not really making "click" so far |
18:18:31 | Araq | what's so hard to grasp about the types? |
18:18:55 | shevy | I dunno, it's not only the types alone, it's also the syntax required for them |
18:19:14 | Araq | it's COLON <type> |
18:19:51 | shevy | in ruby you basically have like: |
18:19:57 | shevy | def foo(a,b,c='') |
18:20:15 | shevy | in nimrod, you have to specify the type, and then you also have to add something after the ) |
18:21:30 | dom96 | shevy: 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:45 | dom96 | The rest is the same as ruby. |
18:21:51 | dom96 | Up until the ')' |
18:21:57 | shevy | only for types, but there is also the * |
18:22:08 | dom96 | Now you ask yourself 'Will the function produce anything?' |
18:22:39 | dom96 | If it does then you ask yourself what type it is, and again all you do is write ': <TypeHere>' |
18:23:00 | dom96 | The only other syntactic requirement is the '=' (The equals sign) |
18:23:06 | dom96 | Which isn't that hard to remember. |
18:25:10 | dom96 | shevy: The * simply means 'export this' |
18:25:27 | dom96 | There is nothing complicated about it. |
18:25:43 | dom96 | It's the equivalent of 'public' (In C-like languages I believe) |
18:25:51 | dom96 | And in Ruby, I think every function is exported |
18:26:41 | shevy | all methods in ruby by default are public, yeah |
18:27:03 | shevy | one has to use "private" once, then following that, all method definitions will be private |
18:27:40 | dom96 | ok, so you understand the idea of 'private' and 'public' functions. |
18:27:50 | dom96 | What is the problem with '*' for you then? |
18:27:54 | dom96 | Do you not know where to put it? |
18:28:13 | shevy | no idea. proc foo*() I suppose |
18:28:13 | dom96 | It's immediatelly after the name. |
18:28:16 | dom96 | yes |
18:28:30 | dom96 | there you go. |
18:53:57 | fowl | shevy: im thinking of using verdammung arschloch as my project name, what do you think |
18:54:29 | shevy | hmm verdammung is not a real word |
18:56:11 | fowl | shevy: how about G�tter dammerung arschloch but i'll take out the spaces so its incomprehensible |
18:56:22 | shevy | that word is better |
18:56:33 | shevy | G�tterdammerung. it is a bit like "armageddon" |
18:56:36 | shevy | ack |
18:56:40 | shevy | G�tterd�mmerung |
18:57:13 | shevy | fowl do you know the nibelungen saga? |
18:57:45 | shevy | fowl, 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:48 | Araq | dom96: what did you change? aporia works like before :P |
18:57:50 | fowl | no i dont know much about esoteric german stuff |
18:58:04 | dom96 | Araq: Check out changelog |
18:58:29 | Araq | well the bottom bar is still there :P |
18:58:34 | fowl | shevy: is dammerungarschloch powerful enough by itself? |
18:59:09 | shevy | fowl dunno, it's semi-german at best only :P nah... G�tterd�mmerung alone would be better |
18:59:12 | fowl | shevy: google says it means twilights asshole which is pretty good imo :p |
18:59:24 | shevy | oh but it is much cooler than twilight alone |
18:59:29 | shevy | it's mystical! |
19:01:06 | shevy | hmm |
19:01:16 | shevy | does aporia have syntax highlighting? I mean when someone makes a mistake like |
19:01:19 | shevy | proce foo() |
19:01:24 | shevy | rather than proc foo() |
19:01:52 | dom96 | shevy: Yes, 'proc' won't be highlighted then. But there is no on the fly error checking like in Visual Studio |
19:02:10 | dom96 | 'proce' won't be highlighted I mean :P |
19:02:36 | shevy | hmm |
19:03:06 | shevy | and 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:29 | shevy | in a way, those things make people lazier :D |
19:03:47 | dom96 | yes. Might take a while though to happen though :P |
19:04:30 | shevy | ruby didn't have anything like gem for 10 years or something like that |
19:04:46 | shevy | the recommended way to install something was to make use of a file called "setup.rb" |
19:04:49 | shevy | which still works today :) |
19:06:02 | dom96 | Maybe we should do the same :P |
19:06:24 | * | reactormonk quit (Ping timeout: 276 seconds) |
19:08:15 | shevy | yeah indeed |
19:08:19 | shevy | gem was written in 2003/2004 |
19:08:26 | shevy | almost ten years |
19:08:54 | fowl | is there a standard lib for user packages or a search path nimrod uses |
19:11:06 | Araq | fowl: what do you mean exactly? |
19:11:19 | Araq | there is no builtin that returns the compiler's search path |
19:12:14 | dom96 | I think he wants to know where the compiler looks for libraries/modules. |
19:12:45 | Araq | 'nimrod dump' ? |
19:13:16 | fowl | it would be cool if you could just clone a nimrod lib into ~/.nimrod/libraries/itspath |
19:13:31 | dom96 | ugh, 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:48 | dom96 | I'm quite sure it fails on my comp because I have the latest Ruby version and it doesn't support it. |
19:14:23 | shevy | dom96 where to look for that? |
19:14:28 | dom96 | https://github.com/github/linguist |
19:14:30 | shevy | I have to leave here soon for ~15 minutes |
19:14:58 | dom96 | Take a look at Installation. |
19:15:12 | shevy | lib/linguist/languages.yml: - .nimrod |
19:15:42 | shevy | http://pastie.org/4582165 well odd, I think it should detect .nim files fine from that |
19:16:02 | dom96 | ys. |
19:16:04 | dom96 | *yes |
19:16:06 | shevy | lib/linguist/language.rb: YAML.load_file(File.expand_path("../languages.yml", __FILE__)) |
19:16:09 | dom96 | Could you run it on a nimrod directory? |
19:16:10 | shevy | language.rb loads that yaml file |
19:16:26 | shevy | ok how do I do that |
19:17:04 | dom96 | Install it using bundler and then do: bundle exec linguist directoryHere |
19:17:19 | shevy | ack |
19:17:26 | shevy | bundler :) |
19:17:36 | * | reactormonk joined #nimrod |
19:18:00 | fowl | oh dang i need to upload this game data |
19:20:11 | dom96 | oh ruby. How much I love you so. |
19:22:45 | fowl | Error: cannot open 'extra_sht' my file names -__-; |
19:24:04 | dom96 | https://gist.github.com/36d67e6fe5f81c9dbb14 |
19:24:05 | dom96 | :( |
19:24:41 | fowl | what is that? looks like python |
19:25:11 | dom96 | Take a look at the top line, that's me executing: bundle exec linguist lib/ |
19:25:57 | fowl | dom96: i would try updating ffi, rubypython and pygments |
19:26:12 | fowl | or wait you're on some old version of ruby? |
19:26:24 | dom96 | I don't even know. |
19:26:35 | dom96 | I just installed bundler and did bundle install |
19:26:43 | dom96 | I didn't even install pygments :P |
19:27:11 | fowl | yea bungler does all that stuff for you, i try to avoid it |
19:28:05 | fowl | dom96: do gem install ffi pygments rubypython |
19:28:25 | fowl | well, maybe not |
19:28:30 | dom96 | how do I install globally? |
19:28:43 | fowl | bundler probably put specific versions |
19:29:20 | dom96 | ugh, if it's using pygments it's probably trying to use python2. |
19:29:25 | dom96 | And Arch has Python 3. |
19:30:02 | fowl | --[no-]user-install |
19:30:09 | fowl | or run it as sudo |
19:30:30 | dom96 | Yeah, I did that: 'WARNING: You don't have /root/.gem/ruby/1.9.1/bin in your PATH,' |
19:30:34 | dom96 | Nice job gems. |
19:31:27 | fowl | lol |
19:31:55 | fowl | you 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:39 | reactormonk | dom96: don't install gems as root - if you want packages, use ruby-* from pacman |
19:33:18 | dom96 | reactormonk: I don't know what I need, all I want is to get linguist to run. |
19:33:57 | reactormonk | dom96: don't run gem as root. |
19:34:06 | reactormonk | dom96: then try again |
19:34:14 | dom96 | I'm not running it as root |
19:34:14 | reactormonk | dom96: #ruby btw |
19:36:24 | Araq | it's amusing to watch you fight the package managers, dom96 |
19:36:50 | dom96 | Yeah, i'm considering not creating Babel now :P |
19:37:20 | Araq | I have yet to find a package manager that is not annoying :P |
19:37:26 | Araq | and doesn't break :P |
19:41:37 | fowl | anybody know of a good file host |
19:41:48 | Araq | seriously |
19:41:49 | dom96 | dropbox |
19:41:59 | Araq | why the fuck doesn't it recognize nimrod files anymore? |
19:42:50 | fowl | one 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:51 | dom96 | A guy broke it obviously. |
19:43:26 | dom96 | He commited 4 days ago, which happens to be when the last change to a Nimrod repo was detected as having Nimrod code. |
19:43:36 | Araq | readme.markdown takes precedence over readme.txt? |
19:43:50 | fowl | plus i cant get dropbox to work >_> |
19:44:20 | reactormonk | Araq: pacman? nix? ^^ |
19:46:06 | Araq | reactormonk: don't let me get started |
19:46:48 | reactormonk | Araq: right, you still need one for nimrod? ... :-) |
19:49:45 | Araq | reactormonk: it would be nice if linux mint would package wine :P |
19:50:14 | reactormonk | Araq: just grab the ubuntu package? |
19:50:40 | fowl | noo if you dont use the ppa you'll be 8 versions behind |
19:50:45 | Araq | I won't spend further time on it :P |
19:53:10 | Araq | why don't they package fucking *wine* in the first place!? |
19:53:20 | Araq | what crappy distro is this? |
19:53:37 | fowl | because ubuntu has wine packages so they dont need to? |
19:54:36 | dom96 | What if he's using Linux Mint Debian edition? :P |
19:54:40 | Araq | excuse me, I want to find it in synaptic |
19:54:59 | fowl | dom96: then god help his soul |
19:55:00 | Araq | and no, I don't want to add search URLs or crap |
19:55:16 | Araq | indeed I'm using the debian edition |
19:55:20 | dom96 | haha |
19:55:32 | fowl | yikes lol |
19:56:09 | dom96 | Araq: 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:00 | Araq | it's a "rolling distribution based on Debian Testing" |
19:57:12 | shevy | gem is ok |
19:57:16 | shevy | the problem is, bundler came along |
19:57:18 | Araq | how can that be possibly outdated? |
19:57:45 | Araq | shevy: could you please hunt the guy down who broke nimrod detection? |
19:57:56 | Araq | it's very bad for publicity |
19:57:59 | fowl | in 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:09 | shevy | it's linguistics that broke, yes? |
19:58:10 | Araq | and we have a release the next week ... |
19:58:33 | Araq | and I'm already in a bad mood |
19:59:06 | Araq | that's good, 3 years old makes lots of sense for open source, omg |
19:59:09 | dom96 | shevy: The linguist gem is broken, in particular the 'stats' feature |
19:59:13 | dom96 | Read its readme |
20:00:10 | fowl | dom96: https://github.com/fowlmouth/gotterdammerungarschloch |
20:00:37 | Araq | oh fowl, sorry |
20:00:57 | dom96 | Silly github, it doesn't detect fowl's language at all. |
20:01:04 | dom96 | You know what, i'm just going to submit a bug report. |
20:01:09 | dom96 | They should fix their own crap. |
20:01:13 | dom96 | I don't have time for this. |
20:01:16 | Araq | I 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:23 | Araq | and it's offending |
20:01:30 | fowl | Araq: :D |
20:01:47 | dom96 | fowl: That is quite a long word, i.e. what German is known for :D |
20:01:55 | shevy | dom96 I filed one at https://github.com/github/linguist/issues |
20:02:59 | dom96 | shevy: Install pygments.rb |
20:03:04 | dom96 | Using gems |
20:03:06 | dom96 | or whatever |
20:03:08 | shevy | does not work |
20:03:42 | shevy | whoever wrote linguist must be clueless about his own dependencies |
20:04:27 | fowl | shevy: the gem is called pygments.rb |
20:04:37 | Araq | dom96: CTRL + / doesn't work :P |
20:04:40 | shevy | ack |
20:04:44 | dom96 | Araq: Lies. |
20:04:47 | dom96 | strange. |
20:04:51 | shevy | ack |
20:05:07 | dom96 | Aporia's language stats are correct |
20:05:12 | dom96 | https://github.com/nimrod-code/Aporia |
20:05:14 | shevy | Fetching: ffi-1.0.11.gem (100%) Fetching: blankslate-2.1.2.4.gem (100%) etc.. |
20:06:37 | shevy | tokenizer.rb:58:in `scan': invalid byte sequence in US-ASCII (ArgumentError) |
20:07:35 | shevy | I guess I am stopped there |
20:08:02 | * | reactormonk joined #nimrod |
20:17:45 | Araq | shevy: what do you mean "it works now"? |
20:17:55 | Araq | https://github.com/github/linguist/issues/238 |
20:19:12 | shevy | Araq pygments |
20:19:48 | shevy | but it's of no use, tokenizer.rb chokes lateron |
20:19:56 | dom96 | well I got it running |
20:20:01 | shevy | :( |
20:20:19 | dom96 | Stupid Python2 vs. Python3 |
20:20:38 | dom96 | They should at least check the damn version or something. |
20:20:46 | dom96 | Check for the python2 binary preferably |
20:20:53 | dom96 | pygments.rb I mean |
20:21:42 | dom96 | hrm |
20:21:49 | dom96 | Just got: invalid byte sequence in UTF-8 (ArgumentError) |
20:21:59 | dom96 | When running on Aporia |
20:22:56 | dom96 | I'm guessing it tries to open the binary files 0_o |
20:25:08 | dom96 | yep |
20:25:28 | dom96 | Deleted binary files. |
20:25:35 | dom96 | Doesn't detect nimrod |
20:32:02 | fowl | Araq: do you think I should change it to dammerungarschloch |
20:32:32 | Araq | get rid of 'arschloch', it's offending |
20:32:51 | * | reactormonk quit (Ping timeout: 276 seconds) |
20:34:21 | dom96 | It's as if they blacklisted the .nim extension. |
20:36:47 | Araq | yeah because it's some weird nokia binary file too iirc |
20:37:00 | fowl | i'll call it |
20:37:06 | fowl | keineSchweine |
20:37:32 | Araq | call it, "ihrkotztmichsowasvonderbstandasglaubtihrnicht" |
20:38:30 | dom96 | Yep |
20:38:31 | dom96 | https://github.com/github/linguist/commit/64f350922255b3572b9062200bc6be326b609315 |
20:40:14 | Araq | -.- |
20:41:09 | fowl | Araq: it pisses me something that you do not believe in vonderbst? |
20:41:38 | dom96 | I think we have to add Nimrod to here now: https://github.com/halostatue/mime-types |
20:41:44 | Araq | "you piss me off so tremendously you wouldn't believe" |
20:41:58 | fowl | ah lol |
20:43:51 | dom96 | 'video/vnd.nokia.interleaved-multimedia @nim 'IANA,[Kangaslampi]' |
20:43:59 | dom96 | https://github.com/halostatue/mime-types/blob/master/lib/mime/types/video#L60 |
20:44:27 | dom96 | Dude, I think this is standardised. |
20:44:33 | fowl | Araq: was that directed to me? |
20:44:57 | Araq | fowl: no |
20:45:05 | dom96 | http://www.iana.org/assignments/media-types/video/vnd.nokia.interleaved-multimedia |
20:45:42 | dom96 | argh |
20:45:51 | dom96 | 'Intended usage : Limited Use' |
20:46:09 | Araq | nokia will soon be dead anyway :P |
20:47:03 | Araq | seriously, this linguist stuff is broken |
20:47:12 | Araq | it should use mime types to filter at all |
20:47:20 | Araq | mimetypes simply don't work |
20:48:10 | Araq | it's about *programming languages*, maybe it should care about file extensions for programming language files? |
20:49:12 | dom96 | https://github.com/github/linguist/issues/238#issuecomment-8014422 |
20:49:17 | dom96 | We'll see what they say |
20:50:08 | Araq | that's why we need to control the full software stack :P |
20:50:18 | Araq | rewrite linguist and github in nimrod :P |
20:50:45 | dom96 | Have fun with that :P |
20:52:59 | shevy | hehehe |
20:53:45 | shevy | that reminds me |
20:53:47 | shevy | where is Tasser? |
20:54:02 | Araq | he's now reactormonk |
20:55:19 | shevy | lol |
21:04:23 | dom96 | Good night. |
21:08:57 | fowl | night |
22:11:11 | fowl | my template is just {.immediate.} but this isn't enough anymore? |
22:18:15 | fowl | {.inject.} >_> |
22:22:00 | Araq | yep |
22:24:00 | Araq | fowl: you can also declare your template 'dirty' :P |
22:28:10 | fowl | Araq: my chipmunk wrapper has a bunch that are just {.immediate.} that declare procs, do i need to put {.inject.}on the procs? |
22:44:32 | Araq | fowl: no, read the manual :P |
22:44:43 | fowl | i did and i found it confusing |
22:44:47 | Araq | procs default to 'inject' |
22:44:50 | Araq | hrm |
22:45:27 | fowl | Araq: on reading it again it makes more sense |
23:10:52 | Araq | good night |
23:10:58 | fowl | night |
23:37:13 | fowl | this is weird,is this expected behavior: https://gist.github.com/3457268 |