September 11, 2011  
1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30

[02:18:44] *** Oddity007 has quit IRC
[02:19:02] *** Oddity007 has joined #ooc-lang
[02:20:05] *** Oddity007 has quit IRC
[02:33:08] *** curtism has joined #ooc-lang
[02:34:29] <curtism> welcome back, curtism
[03:03:57] *** Jetbeard has quit IRC
[03:41:48] *** Oddity007 has joined #ooc-lang
[03:54:40] *** fredreichbier has joined #ooc-lang
[03:54:40] *** ChanServ sets mode: +v fredreichbier
[04:20:42] *** Oddity007 has quit IRC
[04:24:55] *** fredreichbier has quit IRC
[04:32:34] *** shahri_ has joined #ooc-lang
[04:36:04] *** shahri has quit IRC
[04:49:40] *** fredreichbier has joined #ooc-lang
[04:49:40] *** ChanServ sets mode: +v fredreichbier
[05:15:51] *** fredreichbier has quit IRC
[05:19:52] *** shahri_ has quit IRC
[05:44:47] *** Nilium has quit IRC
[05:49:25] *** Nilium has joined #ooc-lang
[10:25:02] *** joshthecoder has quit IRC
[10:54:16] *** MayDaniel has joined #ooc-lang
[11:01:10] *** MayDaniel has quit IRC
[11:10:49] *** bartwe has quit IRC
[11:21:32] *** io2 has joined #ooc-lang
[11:39:58] *** MayDaniel has joined #ooc-lang
[11:56:07] *** MayDaniel has quit IRC
[12:34:31] *** lijat has quit IRC
[12:36:15] *** lijat has joined #ooc-lang
[12:43:40] * nddrylliog is setting up continuous integration for ooc projects.
[12:44:37] <CIA-126> rock: Amos Wenger master * r68a7ab9 / Makefile : Remove git pull from 'make rescue'. If people are stupid and don't pull, it's their own problem - plus it breaks when you're not on a branch. (Hence Jenkins is unhappy.) - http://git.io/cPVqYQ
[12:44:38] <CIA-126> rock: Amos Wenger master * r1cd70fe / libs/Makefile : Merge branch 'master' of github.com:nddrylliog/rock - http://git.io/Q2N6pA
[12:52:36] <nddrylliog> I can sense people being all giddy about it.
[12:52:55] <CIA-126> rock: Amos Wenger master * rdca7443 / libs/Makefile : Smarter about using system's libgc. - http://git.io/5kXvSw
[13:02:19] <CIA-126> rock: Amos Wenger master * r38b19f9 / libs/Makefile : Actual correct syntax for testing installed libgc capabilities now.. hopefully. - http://git.io/AxVaaA
[13:06:41] *** Jetbeard has joined #ooc-lang
[14:00:15] *** wandernauta has joined #ooc-lang
[14:05:33] *** wandernauta has quit IRC
[14:06:33] *** wandernauta has joined #ooc-lang
[14:20:02] <wandernauta> nddrylliog: sed-powered web templates, huh? I like it
[14:20:11] <nddrylliog> wandernauta: :D
[14:20:27] <nddrylliog> wandernauta: I should probably add a small syndicate logo: "POWERED BY SED"
[14:20:35] <wandernauta> Naw
[14:20:42] <nddrylliog> that said, the workflow is really nice
[14:20:42] <wandernauta> It's just as much powered by cat, remember
[14:20:47] <nddrylliog> true that.
[14:20:55] <nddrylliog> I should probably add a github hook to it rebuilds automatically
[14:20:57] <nddrylliog> that would be hella easy
[14:21:16] <wandernauta> Or just move to GH Pages
[14:21:34] <wandernauta> Saves a few bucks on hosting too.
[14:22:08] <wandernauta> (Like the comics too BTW :D)
[14:23:01] <nddrylliog> dude, I have like 8 VPSes hanging around
[14:23:06] <nddrylliog> it's not like money is a problem ;)
[14:23:12] <nddrylliog> wandernauta: thanks!
[14:23:26] <nddrylliog> jenkins is awesome. "Notifying suspects" hmmm.
[14:23:29] <wandernauta> :O
[14:23:41] <wandernauta> Jenkins is the CI system, right?
[14:23:57] <nddrylliog> yep!
[14:24:23] <nddrylliog> got rock covered
[14:24:25] <nddrylliog> trying to set up oc now
[14:27:52] <wandernauta> What happened to the old CI system?
[14:28:28] <nddrylliog> not sure who was managing it.
[14:28:33] <nddrylliog> and it was only handling rock
[14:30:17] *** MayDaniel has joined #ooc-lang
[14:30:34] <wandernauta> Hmm? I seem to remember it was Ducky. Hey, duckinator, were you Alpaca's master?
[14:30:35] <nddrylliog> wandernauta: since we're using ooc at ofmlabs for important stuff, it feels meaningful to have CI
[14:31:02] <wandernauta> nddrylliog: CI is a great idea.
[14:31:33] <wandernauta> nddrylliog: And something like a pre-commit hook that runs some tests would be nice as well.
[14:32:05] <wandernauta> nddrylliog: Committing broken things sucks.
[14:32:53] <nddrylliog> right
[14:33:08] <nddrylliog> but committing broken things to branches, testing them, and then merging them with master sucks less.
[14:38:32] *** wandernauta has quit IRC
[15:33:29] *** MayDaniel has quit IRC
[15:50:10] *** Nilium has quit IRC
[15:50:38] *** Nilium has joined #ooc-lang
[16:04:31] *** Oddity007 has joined #ooc-lang
[17:18:45] *** MayDaniel has joined #ooc-lang
[17:21:08] *** io2 has quit IRC
[17:27:03] *** nddrylliog has quit IRC
[17:45:57] *** MayDaniel has quit IRC
[17:50:21] *** shahri has joined #ooc-lang
[17:59:13] *** io2 has joined #ooc-lang
[18:38:51] <curtism> hi
[18:45:41] * curtism reads some of his ooc source and remembers why he liked it
[18:47:07] <duckinator> hi curtism
[19:04:34] <curtism> is there a recent vim syntax highlighter for ooc around?
[19:07:06] <duckinator> curtism: http://lmgtfy.com/?q=vim+ooc+syntax&l=1
[19:07:07] <duckinator> 2009!
[19:07:57] * curtism will fork and attempt to make it up to date
[19:08:25] <duckinator> don't think there's been much syntax changes after 2010, so you only have like a year to make up for :P
[19:18:46] <curtism> this file wasn't done very well...
[19:18:56] <duckinator> orly
[19:19:22] * curtism doesn't even fork, just starts from scratch
[19:19:29] <duckinator> haha
[19:20:12] <curtism> then you get to help me regex, btw
[19:20:27] <duckinator> D:
[19:20:30] <duckinator> fine :P
[19:26:14] *** fredreichbier has joined #ooc-lang
[19:26:14] *** ChanServ sets mode: +v fredreichbier
[19:26:48] <duckinator> o/ fredreichbier
[19:26:59] <curtism> my join parsing amuses me too much
[19:27:24] <duckinator> hmm?
[19:27:41] <curtism> A wild fredreichbier appeared!
[19:28:12] <fredreichbier> moin!
[19:28:30] <duckinator> curtism: get a screenshot of that
[19:31:07] *** MayDaniel has joined #ooc-lang
[19:32:09] <curtism> duckinator: why?
[19:32:19] <duckinator> because i want to see what it actually looks like? :P
[19:32:30] <curtism> * A wild MayDaniel (~MayDaniel@unaffiliated/maydaniel) appeared! (#ooc-lang)
[19:32:41] <duckinator> lol
[19:37:13] <curtism> ok my ooc syntax is a little rusty
[19:37:43] <curtism> duckinator: finish the set: break, return, ...
[19:38:13] <duckinator> continue, i think
[19:38:30] <duckinator> sadly, that does not work in loop(||...) :(
[19:38:46] <duckinator> `return true` is what `continue` would be, `return false` is what break would be
[19:41:08] <curtism> does ooc have a do {} while ?
[19:41:22] <duckinator> huh...i'm actually not sure
[19:41:23] <duckinator> try it
[19:50:42] <curtism> does ooc have a finally in a try catch?
[19:50:49] <curtism> and should throw() be a keyword?
[19:50:57] <curtism> it's a function so... being a keyword is weird
[19:54:21] <duckinator> it's not a keyword
[19:54:28] <duckinator> and idk if it has finally
[19:54:36] <fredreichbier> no it hasn't
[19:54:49] <fredreichbier> and it's not a keyword since exceptions are mostly done in ooc code itself! hurray!
[19:55:16] <curtism> it doesn't have finally?
[19:59:01] *** wandernauta has joined #ooc-lang
[20:00:14] <fredreichbier> curtism, not yet. shouldn't be that hard to add though
[20:00:16] <fredreichbier> hi wandernauta!
[20:00:24] <duckinator> o/ wandernauta
[20:01:02] <wandernauta> Oi Fred, Ducky!
[20:08:11] *** fredreichbier has quit IRC
[20:29:37] <curtism> good new everyone!
[20:29:44] <curtism> i fail at making vim highlighting files
[20:36:27] <duckinator> haha
[20:36:30] <duckinator> surprise? :P
[20:41:46] <curtism> actually wait it's starting to go a bit better
[20:42:11] <curtism> i'm basing it off of the C and Java vim highlighters plus the ooc gtksourceview highlighter
[20:46:49] *** Jetbeard has quit IRC
[20:54:35] <curtism> gosh darnit
[20:54:51] <wandernauta> Well cursed, curtism
[20:55:10] <curtism> i have block comments working but not line comments
[20:56:20] <curtism> oh....
[20:56:27] <curtism> oodLineComment != oocLineComment
[20:58:22] <duckinator> lolol
[20:59:27] <curtism> ugh
[20:59:38] *** MayDaniel has quit IRC
[20:59:38] <curtism> translating regexes between gtksourceview and vim is balls
[20:59:41] <terinjokes> ood?
[20:59:50] <curtism> vim uses the whole \( \) stuff
[20:59:54] <curtism> gtksourceview doesn't
[21:00:01] <duckinator> terinjokes: i'm assuming it was a typo :P
[21:00:22] <terinjokes> duckinator: doesn't make sense, oocLineComment != oocLineComment?
[21:00:52] <duckinator> no, i think he typoed oocLineComment as oodLineComment in w/e he's working on
[21:01:08] <wandernauta> ^ that
[21:02:06] <terinjokes> oh
[21:02:12] <terinjokes> makes way more sense
[21:02:26] <curtism> http://programble.co.cc/ss/2011-09-11-150020_582x382_scrot.png
[21:02:31] <curtism> progress on vim highlighting
[21:02:57] <terinjokes> oh yay!, vim highlighting
[21:03:03] <duckinator> lol@ new("balls")
[21:03:18] <wandernauta> curtism: Lookin' good
[21:03:42] <wandernauta> curtism: Why is there 'scrot' in the URL?
[21:03:51] <curtism> wandernauta: because i used scrot
[21:04:13] <wandernauta> That's a terrible name for an app
[21:04:45] <curtism> it's the best screenshot app there is though!
[21:05:15] <terinjokes> i use cmd+shift+4
[21:05:33] <curtism> i use printscreen
[21:06:05] <wandernauta> "Hey, what was the URL for that screenshot app again?" "Scrot? uhm? dot com" "What?!"
[21:06:41] <curtism> gaaaah
[21:06:43] <curtism> i hate regex
[21:06:55] <terinjokes> what do you mean, regex is fun!
[21:06:58] <wandernauta> curtism: Regex hates you too
[21:07:23] <curtism> terinjokes: https://gist.github.com/1209974
[21:07:29] <curtism> translate that extended regex
[21:07:35] <curtism> into one that vim understands
[21:07:59] <duckinator> rrrrrrrrrrrrr*dies*
[21:08:30] <curtism> screw it
[21:08:35] * curtism steals the regex from C
[21:08:44] <duckinator> lol
[21:08:45] * wandernauta kickstarts duckinator
[21:08:46] <curtism> ooc float syntax is the same as C, right?
[21:09:08] <duckinator> think so
[21:09:12] <terinjokes> pass
[21:09:22] <duckinator> This isn't python, that doesn't work
[21:10:02] <terinjokes> :(
[21:13:02] <terinjokes> see, i look away at your regex, and I miss Ireland's try
[21:13:27] <wandernauta> Who's Ireland?
[21:13:37] <terinjokes> wandernauta: a country...
[21:13:48] <wandernauta> I know.
[21:13:55] <wandernauta> But a country can't 'try' something, right?
[21:14:27] <terinjokes> wandernauta: the country's rugby team can ground the ball and score 5 points...
[21:14:43] <wandernauta> Oh, sports, okay, nevermind
[21:15:27] <terinjokes> i know, it's killing my productivity...
[21:15:39] *** Jetbeard has joined #ooc-lang
[21:19:05] *** bartwe has joined #ooc-lang
[21:21:34] <curtism> progress update: http://programble.co.cc/ss/2011-09-11-151932_582x382_scrot.png
[21:22:41] <Oddity007> um...
[21:24:39] <curtism> Oddity007: ...mu
[21:25:02] <wandernauta> curtism: Looks good
[21:25:15] <curtism> hm... how should ~stuff be highlighted
[21:25:27] <wandernauta> As a single symbol
[21:29:19] <wandernauta> Anyhoo, I'm off
[21:29:19] *** joshthecoder has joined #ooc-lang
[21:29:19] *** ChanServ sets mode: +v joshthecoder
[21:30:13] <duckinator> obai wandernauta, ohai joshthecoder
[21:30:28] <wandernauta> Cya!
[21:30:28] *** wandernauta has left #ooc-lang
[21:33:50] <joshthecoder> duckinator: howdy from 10k feet
[21:40:03] <bartwe> you're on a plane ?
[21:40:32] <duckinator> either that or he broke gravity
[21:40:38] <duckinator> i prefer to think the latter is what happened
[21:40:54] <bartwe> gravity, it's the law
[21:48:20] <joshthecoder> I can fly like a bird...
[21:48:28] <joshthecoder> ;)
[21:51:15] <Oddity007> Defying laws like a boss.
[21:51:51] *** joshthecoder has quit IRC
[21:51:55] *** jroesslein has joined #ooc-lang
[21:57:35] <curtism> any vim + ooc users to test my highlighter?
[21:57:53] <curtism> right now it pretty much emulates the gtksourceview highlighter
[22:03:39] <curtism> https://github.com/programble/ooc.vim
[22:03:41] <curtism> rawr!
[22:04:21] <duckinator> \o/
[22:04:32] <duckinator> curtism: emulating the gtksourceview highlighter will get you close
[22:04:45] <curtism> i've added a few extras
[22:05:01] <curtism> trying to decide how to highlight ~foo
[22:05:06] <duckinator> hmm
[22:05:53] <curtism> duckinator: hint: open up vim, type :highlight
[22:06:00] <curtism> that lists all the highlight styles
[22:06:52] <duckinator> i found a borked part of vim
[22:07:01] <duckinator> curtism: open vim, :highlight, pagedn until it disappears
[22:07:06] <duckinator> then type :
[22:07:09] <duckinator> note it's now blue
[22:09:27] <duckinator> curtism: "Title" or "Special", maybe?
[22:09:45] <duckinator> imo it's worth highlighting, but i'm not sure what ~foo is really considered
[22:09:49] <duckinator> oh!
[22:10:10] <duckinator> curtism: "Identifier"?
[22:10:41] <curtism> hm...
[22:10:45] <curtism> now give regex for it
[22:11:35] <duckinator> idk about regex, but you probably want all of: `foo~bar: func {...}`, `foo ~bar: func {...}` and `foo~bar()`
[22:12:08] <curtism> isn't it foo: func ~bar?
[22:12:16] <duckinator> er
[22:12:18] <curtism> or do i not know ooc
[22:12:22] <duckinator> apparently i don't :D
[22:12:31] <duckinator> it is foo: func ~bar, my bad
[22:12:33] <duckinator> so
[22:12:47] <curtism> so uh
[22:12:50] <curtism> write regex!
[22:12:51] <duckinator> `foo: func~bar {...}`, `foo: func ~bar {...}` and `foo~bar()`
[22:12:51] <curtism> GOGOGO
[22:13:19] <duckinator> so, you'd be matching... <valid identifier/variable name/whatever>\s?~<valid identifier/variable name/whatever>, i believe
[22:13:36] <duckinator> curtism: what characters are you matching for variables/function names/etc?
[22:13:44] <curtism> i'm not matching them at all
[22:13:47] <duckinator> orly
[22:13:55] <duckinator> hmm
[22:14:31] <duckinator> well it's at least [a-zA-Z][a-zA-Z-_]* i think
[22:14:36] <duckinator> er
[22:14:40] <duckinator> well it's at least [a-zA-Z][a-zA-Z0-9-_]* i think
[22:14:49] <duckinator> ...no, ok, hang on i'll get it :P
[22:15:15] <duckinator> it's at least [a-zA-Z_][a-zA-Z0-9-_]*
[22:15:39] <duckinator> wait
[22:16:00] <curtism> let me check something
[22:16:09] <duckinator> hm?
[22:16:32] <duckinator> yea i think *at least* the last one i pasted is valid
[22:17:06] <duckinator> so it'd be [a-zA-Z][a-zA-Z0-9-_]*\s?~[a-zA-Z][a-zA-Z0-9-_]* or something like that
[22:17:33] <curtism> i should be able to just highlight ~anything
[22:17:45] <duckinator> well, ~1 isn't valid
[22:17:50] <curtism> shh
[22:17:56] <duckinator> and even if unary ~ isn't defined, it may be at one point
[22:18:10] <curtism> so like...
[22:18:14] <curtism> ~\w+
[22:18:19] <curtism> or similar
[22:18:47] <duckinator> you COULD do that, but i'd go with \w+\s?~\w+ just to be a bit more thorough
[22:19:02] <duckinator> because that'll make it possible to detect ~\w+ later and mark it as possibly-invalid
[22:19:09] <duckinator> er
[22:19:13] <curtism> .....what
[22:19:41] <duckinator> if it matches ~\w+ but not \w+~\w+ it's likely invalid
[22:19:52] <duckinator> you could make it a different color
[22:20:00] <duckinator> get what i mean?
[22:20:12] <curtism> nope
[22:20:26] <curtism> you're making my highlighting too complicated!
[22:20:51] <duckinator> curtism: foo~bar() is valid, but merely ~bar() is not, right?
[22:21:15] <curtism> yeah but....
[22:21:18] <curtism> :(
[22:21:27] <duckinator> curtism: just toss in the extra \w+ at the start :P
[22:21:45] <curtism> well that won't do
[22:21:48] <duckinator> hm?
[22:21:49] <curtism> it'd need a lookbehind
[22:21:56] <curtism> lookbehinds are bad!
[22:21:59] <duckinator> oh, don't bother then
[22:22:56] *** jroesslein is now known as joshthecoder
[22:22:57] *** ChanServ sets mode: +v joshthecoder
[22:24:17] <curtism> duckinator: how should i version this
[22:24:24] <curtism> semver doesn't really make sense for it
[22:25:00] <duckinator> curtism: <ooc release>, <ooc release>-1, <ooc release>-2, <ooc release>-n?
[22:25:13] <duckinator> hmm, actually
[22:25:25] <duckinator> no...that wouldn't work very well because the syntax may very well not even change
[22:25:34] <duckinator> curtism: just 1, 2, ...? :P
[22:26:00] <curtism> nah i'll use the ooc version thing
[22:26:09] <duckinator> mk
[22:27:29] <curtism> what is the latest rock release?
[22:27:41] <curtism> 1.9.2?
[22:27:42] <duckinator> 0.9.2
[22:27:49] <duckinator> ooc != ruby :P
[22:27:56] <curtism> almost
[22:28:18] <duckinator> bbs/bbl
[22:49:42] <curtism> duckinator: how should i highlight `in`? i forgot about it
[22:52:39] <curtism> also, if String is highlighted as a primitive type, should CString also be?
[22:54:41] <terinjokes> and back from lunch
[22:56:27] <curtism> hm... also how to highlight `get` and `set`
[23:05:00] <curtism> and should i highlight THINGS_LIKE_THIS specially?
[23:29:32] *** fredreichbier has joined #ooc-lang
[23:29:32] *** ChanServ sets mode: +v fredreichbier
[23:31:14] <curtism> hi fredreichbier
[23:31:23] <fredreichbier> moinn!
[23:31:51] <curtism> do you use vim?
[23:33:25] <fredreichbier> yow!
[23:34:50] <curtism> fredreichbier: https://github.com/programble/ooc.vim tell me what you think
[23:35:37] <fredreichbier> uhuh!
[23:35:54] <fredreichbier> does it have any advantages over https://github.com/crooter/ooc.vim? =D
[23:36:19] *** io2 has quit IRC
[23:38:18] <curtism> fredreichbier: yes
[23:38:30] <curtism> fredreichbier: for one, you can actually use it with spellcheck
[23:38:33] *** joshthecoder has quit IRC
[23:38:55] <curtism> fredreichbier: it's also a little more up to date, better matching, etc
[23:39:19] <fredreichbier> cool! i'll try it
[23:39:21] <fredreichbier> out
[23:40:42] <curtism> another advantage: mine is actually maintained past 2009!
[23:40:46] <fredreichbier> hehe
[23:40:55] <fredreichbier> looks good! nice that ~ are also highlighted
[23:41:27] <fredreichbier> the "TODO" highlighting is also done by your plugin?
[23:42:33] <curtism> yeah
[23:44:47] <curtism> fredreichbier: String is highlighted as a primitive type, should i do the same for CString?
[23:44:54] *** joshthecoder has joined #ooc-lang
[23:44:55] *** ChanServ sets mode: +v joshthecoder
[23:45:31] <fredreichbier> curtism, well why not!
[23:45:45] <fredreichbier> yeah, that's probably good for bindings
[23:45:47] <fredreichbier> i like it. :)

top