ivanoats has quit [Remote host closed the connection]
<seydar>
oh wow that's actually kinda useful
peterc has left #ruby-lang [#ruby-lang]
petercooper has joined #ruby-lang
runeb has quit [Ping timeout: 255 seconds]
peterc has joined #ruby-lang
<seydar>
drbrain: where are you working these days?
<drbrain>
I'm about to import rdoc to ruby
peterc has quit [Client Quit]
peterc has joined #ruby-lang
peterc has left #ruby-lang [#ruby-lang]
wtfisgoingon has joined #ruby-lang
thinkdevcode has joined #ruby-lang
wtfisgoingon has left #ruby-lang [#ruby-lang]
tryagain has joined #ruby-lang
tryagain has left #ruby-lang [#ruby-lang]
whyAllIPBanned has joined #ruby-lang
<banisterfiend>
drbrain: what does that mean?
<seydar>
"where do you work?" "i'm about to put some bread in the oven"
Veejay has joined #ruby-lang
parndt has joined #ruby-lang
<drbrain>
banisterfiend: rdoc is packaged in ruby, so I need to import it when it gets released
<banisterfiend>
oh..
miah has quit [Quit: Derpops!]
<petercooper>
test
<seydar>
petercooper: acknowledge
<drbrain>
petercooper: I see your test
kurko_ has quit [Quit: Computer has gone to sleep.]
mjio has quit [Ping timeout: 260 seconds]
<parndt>
no need to get testy, petercooper ;)
spectra has quit [Ping timeout: 240 seconds]
mjio has joined #ruby-lang
gix has quit [Ping timeout: 255 seconds]
gix has joined #ruby-lang
datanoise has quit [Ping timeout: 246 seconds]
spectra has joined #ruby-lang
sn0wb1rd_ has joined #ruby-lang
sn0wb1rd has quit [Ping timeout: 260 seconds]
sn0wb1rd_ is now known as sn0wb1rd
whyAllIPBanned has quit [Ping timeout: 245 seconds]
<Ashkin>
how can I 'unextend' a class instance? I've googled this a fair bit today and yesterday, but I've found nothing [very] useful; mostly just broken code. I want to add player movement handling to objects as the players' focus changes from one object to another, and remove them after. There are other ways to accomplish this, but being unable to find a way to unextend (or similar) is still frustrating. Is there a way to do this?
<drbrain>
Ashkin: it's not part of ruby
thone_ has joined #ruby-lang
<petercooper>
There's a way but don't do it.
<Ashkin>
@petercooper: why?
<petercooper>
because what drbrain said
<petercooper>
Some people have hacked this functionality into MRI as an experiment but it's the sort of fiddling you wouldn't want to run in production
<drbrain>
Ashkin: you should probably use a better design
chendo_ has joined #ruby-lang
<drbrain>
if you're going to add and remove functionality multiple times, just leave it in
<Ashkin>
I was really hoping i was just missing something. and yes: in this case i'm going to store a ref to the object and use a flag to disable any computer-controlled behavior
thone has quit [Ping timeout: 260 seconds]
WillMarshall has joined #ruby-lang
<zenspider>
which is better?
<zenspider>
You should look at the implementation of Array#== or its members.
<zenspider>
You should look at your implementation of Array#== or the #== method of its members.
<zenspider>
I was thinking also of #== on Array or its members
<zenspider>
but that ... I dunno. this is a mess
seanstickle has joined #ruby-lang
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
ivanoats has joined #ruby-lang
ivanoats has quit [Remote host closed the connection]
ryanf has quit [Ping timeout: 256 seconds]
flexd has quit [Read error: Operation timed out]
<Ashkin>
thanks @ drbrain and petercooper
shtirlic_ has joined #ruby-lang
shtirlic has quit [Read error: Connection reset by peer]
shtirlic has joined #ruby-lang
savage- has quit [Remote host closed the connection]
kurko_ has joined #ruby-lang
ryanlecompte has joined #ruby-lang
mwjcomputing has quit [Ping timeout: 264 seconds]
__butch__ has quit [Quit: Leaving.]
shtirlic_ has quit [Ping timeout: 264 seconds]
havenn has quit [Remote host closed the connection]
<swarley>
I'm more interested in what use unextending could have practically
<swarley>
I can't really think of a time i wanted to pull an extension out
sn0wb1rd has quit [Quit: sn0wb1rd]
<banisterfiend>
swarley: google mixico for an idea
<zenspider>
there is also the un gem
<zenspider>
it's a bad idea tho
<banisterfiend>
swarley: you can also implement a very pretty state machine thingy using unextending
<zenspider>
it is just as pretty doing it through composition
<swarley>
Oh, but from my experience with haskell, state can be achieved through much easier methods than extending and unextending
<zenspider>
yeah... but then you can't read it
<zenspider>
:P
<swarley>
Lol, That's a given
sepp2k1 has quit [Remote host closed the connection]
<swarley>
But really, can't you just use a sort of proxy method set to access an array to emulate state? A stack of states i guess.. Not to get all dr suessy
<swarley>
whenever I've needed to have a state, I've always just used an array to check what was on top of the stack
<swarley>
push and pop when something changes, etc
wmoxam has quit [Remote host closed the connection]
seydar has quit [Quit: leaving]
<blazes816>
a stack of states is a serious structure so sturdy it can survive stoppage
swav has quit [Read error: Connection reset by peer]
<fowl>
hallo, please to help? treetops give me error: TypeError: wrong argument type Class (expected Module)
swav has joined #ruby-lang
<fowl>
treetop hates on me with great vigour
anannie has quit [Ping timeout: 264 seconds]
anannie has joined #ruby-lang
cirwin has quit [Ping timeout: 255 seconds]
swav has quit [Remote host closed the connection]
tenderlove has joined #ruby-lang
tenderlove has quit [Read error: Connection reset by peer]
tenderlove has joined #ruby-lang
chendo_ has quit [Quit: Computer has gone to sleep.]
stonerfish has quit [Ping timeout: 276 seconds]
justinram has quit [Remote host closed the connection]
dankest has quit [Quit: Leaving...]
diegoviola has quit [Ping timeout: 264 seconds]
<rking>
fowl: Can you elaborate on the conditions causing this?
<rking>
Was it when you 'gem install treetop'd? was it when you used its API? Was it when you fed it an .mp3 as input?
<fowl>
somewhere, a thing is evalled unhappily. It claims to expect the Module, but gets the Class (I give it the class, because these are what the examples are like)
<fowl>
rking: ill put it on the gist
<rking>
fowl: A gist??? Now u taek it 2 next levl.
<brownies>
so i get the error: uninitialized constant ApplicationController::Devise::Controllers
<brownies>
clearly a scoping issue, but i'm not sure how to sidestep it?
ryanf has quit [Ping timeout: 244 seconds]
<fowl>
brownies: did you spell Device correctly
<brownies>
yes, it's the Devise gem, see my github link above
<fowl>
ah
stardiviner has joined #ruby-lang
<fowl>
brownies: if you create Devise module inside ApplicationController class, its not the same module as ::Devise
<brownies>
fowl: yeah, i get that, so how to do this properly?
afgeneralist has joined #ruby-lang
<brownies>
do i just have to do it somewhere outside the ApplicationController class? or is there a way, within this class, to specify the right scope?
<fowl>
brownies: i dunno, thats all rails voodoo, i'd ask in #rubyonrails
<rking>
fowl: Did you write the rest of this freestyle or were you following another document?
<fowl>
rking: freestyle. i dont get the error, i modeled it after that sexp parser that i verified worked
<fowl>
by `dont get` i mean dont understand
<rking>
Well, how many intermediate versions did you test?
<rking>
BTW vim has a 'treetop' syntax. Pretty cool IMO
qpingu has quit [Quit: Leaving.]
<fowl>
rking: are you trying to emulate sprint's tech support? are you going to tell me to restart my computer?
<zzak>
how long do oranges last?
<rking>
fowl: I'd prefer that you reformat it, actually.
<rking>
zzak: I'd give them ~8 minutes.
<rking>
(In a microwave)
<zzak>
i've had these for about a month
<zzak>
not sure if still fresh
<rking>
fowl: You're being ultran00b on this.
Aria has joined #ruby-lang
<rking>
Actually, I'm starting to think this is a troll and I took the bait.
krz has joined #ruby-lang
<rking>
Just roll it back to the last version that worked
<rking>
Do one that only parses typedefs, or only parses functions.
xyzodiac has quit [Quit: Computer has gone to sleep.]
<fowl>
stop being a hater, the problem is its trying to extend some node with a class
<fowl>
FUCK THE WORLD!
fowl has left #ruby-lang ["Leaving"]
charliesome has joined #ruby-lang
<rking>
In case anyone doesn't know fowl, that's intentional drama.
<zzak>
international ninnyism
rsl has quit [Quit: Computer has gone to sleep.]
shtirlic_ has joined #ruby-lang
methods has left #ruby-lang [#ruby-lang]
afjudoka has joined #ruby-lang
<drbrain>
zzak: if you update ruby, do the fiddle tests pass for you?
sn0wb1rd has joined #ruby-lang
<zzak>
drbrain: i saw aarons commit, but havent tried it myself, been distracted by work; hoping to spend some time on it tonight tho
<drbrain>
I'm seeing failures
sn0wb1rd has quit [Read error: Connection reset by peer]
<drbrain>
since you don't have time I'll check out trunk again and run them
sn0wb1rd has joined #ruby-lang
<zzak>
sec
<drbrain>
running configure :D
<afgeneralist>
Can anyone see my text?
<zzak>
drbrain: its been in the back of my mind all day
<reactormonk>
afgeneralist, no
<afgeneralist>
dammit. this nickserv registration is driving me crazy
<afgeneralist>
@reactormonk Thanks
afgeneralist is now known as shike
<zzak>
drbrain: rdocing
<shike>
Is the dramatic fellow by the name of 'fowl', chad fowler?
ramonmaruko has quit [Remote host closed the connection]
<zzak>
i couldnt figure out rubyci.org, too verbose
ramonmaruko has joined #ruby-lang
shike_ has quit [Remote host closed the connection]
xyzodiac has quit [Quit: Computer has gone to sleep.]
gsav has joined #ruby-lang
runeb has joined #ruby-lang
xyzodiac has joined #ruby-lang
qpingu has joined #ruby-lang
qpingu has quit [Client Quit]
ryanf has joined #ruby-lang
runeb has quit [Ping timeout: 252 seconds]
gsav has quit [Read error: Connection reset by peer]
shike has joined #ruby-lang
BigO has joined #ruby-lang
BigO has quit [Remote host closed the connection]
rekky has joined #ruby-lang
lcdhoffman has joined #ruby-lang
sn0wb1rd has joined #ruby-lang
Glass_saga has quit [Remote host closed the connection]
towski has joined #ruby-lang
Glass_saga has joined #ruby-lang
ryanf has quit [Ping timeout: 260 seconds]
methods has joined #ruby-lang
methods is now known as Guest33710
sn0wb1rd has quit [Quit: sn0wb1rd]
towski has quit [Remote host closed the connection]
sn0wb1rd has joined #ruby-lang
sn0wb1rd has quit [Client Quit]
Guest33710 has left #ruby-lang [#ruby-lang]
<mars777>
Can you write a case stamens with a File.open in Ruby? If so how do you do that?
<zzak>
mars777: what are you trying to do?
sn0wb1rd has joined #ruby-lang
ryanlecompte has joined #ruby-lang
jgomez has joined #ruby-lang
wmoxam_ has joined #ruby-lang
wmoxam has quit [Quit: leaving]
tenderlove has quit [Ping timeout: 260 seconds]
Glass_saga has quit [Remote host closed the connection]
Glass_saga has joined #ruby-lang
stardiviner has quit [Ping timeout: 255 seconds]
imajes has quit [Excess Flood]
imajes has joined #ruby-lang
ryanf has joined #ruby-lang
<B|aster>
Hey I created a simple test with MiniTest and I got NameError: uninitialized constant MiniTest. I thought MiniTest was included by default with 1.9 ?
<reactormonk>
I don't have mana-symbols installed atm
<reactormonk>
... yet gem install doesn't bail
<reactormonk>
... err, wait, now it does
<judofyr>
:)
x0F has quit [Quit: Leaving]
tjadc has joined #ruby-lang
<reactormonk>
but it's still not listed as dependency in Gemfile.lock
stonerfish has quit [Quit: Leaving.]
valeri_uF0 has left #ruby-lang [#ruby-lang]
valeri_ufo has joined #ruby-lang
<judofyr>
reactormonk: you have it installed? try this in irb and see if the dependency is listed there: Gem::Specification.select { |x| x.name == "magic-cards" }
jgomez has joined #ruby-lang
<reactormonk>
judofyr, yep, it is
<judofyr>
reactormonk: then it's a bundler issue :/
<judofyr>
sorry, can't help you there
<judofyr>
reactormonk: you can of course manually add the dependency to your Gemfile
<reactormonk>
judofyr, added the line into the Gemfile.lock, doesn't help
<judofyr>
but it's kinda hackish
<reactormonk>
judofyr, not overly, I use the other gem directly as well
shtirlic_ has quit [Remote host closed the connection]
shtirlic_ has joined #ruby-lang
<krzbrg>
@yorickpeterse: good to know
<erikh>
or Process.spawn
<krzbrg>
@yorickpeterse: is there a way to simply pass the equivalent of ^C (ctrl+C)?
<erikh>
krzbrg: you could send it a sigint with kill
dankest has quit [Quit: Leaving...]
<yorickpeterse>
^
<yorickpeterse>
^C sends SIGINT I believe
<erikh>
BUT, you have to have another thread or process to do it, because system will wait until the program completes before continuing on with your program
<erikh>
yep
<erikh>
so you can go to your terminal and type kill -INT <pid>, or you can use Process.kill("INT", <pid_of_system_process>)
<erikh>
but the real problem is stepping around system holding everything up to execute something else.
<krzbrg>
ah, true
<erikh>
if you're in the main thread, the process system() runs should trap the ^C when you press it
<erikh>
if that's what you're asking.
m3nd3s has joined #ruby-lang
<erikh>
what's the reason you want to send this to your program? is it just spending too long?
<krzbrg>
I am running a Sinatra application; in one of the routes I need to be able to compile a few SASS files to CSS in a local directory.
spike|spiegel has joined #ruby-lang
<krzbrg>
SASS cannot one-off compile; it watches the directory for changes. Sinatra waits for the command to finish before refreshing the page, however, because it is an ongoing process the Sinatra app will not respond until the process is manually terminated.
stardiviner has quit [Ping timeout: 246 seconds]
<krzbrg>
If I background the process initially with system("$(command)&") the directory seems to compile correctly.
GarethAdams has joined #ruby-lang
<dominikh>
sass can very well "one-off compile". having it watch for changes actually requires a flag
aritjd has joined #ruby-lang
<erikh>
yyyeah
vlad_starkov has joined #ruby-lang
<erikh>
you really don't want that problem
<erikh>
probably want to look into what dominikh is suggesting.
shtirlic_ has quit [Remote host closed the connection]
spike|spiegel has quit [Client Quit]
<erikh>
most of my day has been ensuring that a zone transfer happened in a test suite
sush24_ has quit [Quit: This computer has gone to sleep]
<erikh>
turns out I juggled poorly and when I was depending on the zone transfer to work, the master hadn't been updated yet to accept transfer requests from the slave
<andrewvos>
Hehe system in a http request nice one.
<andrewvos>
system()*
<erikh>
andrewvos: do you use mini_magick?
<andrewvos>
erikh: Nope
<erikh>
what do you use for resizing images?
<andrewvos>
erikh: Not resized images before in Ruby.
<erikh>
ah. well, lots of people use a combination of mini_magick and paperclip to accomplish this
<krzbrg>
@dominikh: Hah! All these months using SASS and I never once ran it without the "--watch" flag as I aliased the command the first day I installed it.
<judofyr>
well, it's same way if you write "judofyr" ;)
carloslopes has joined #ruby-lang
<telemachus>
That's pretty big. And pink. Also, big.
faustman has quit [Ping timeout: 248 seconds]
<judofyr>
it's not pink :(
<judofyr>
god, I hate this code
* telemachus
admits I am colorblind, but it looks pinkish to me.
runeb has quit [Ping timeout: 244 seconds]
<charliesome>
holy shit the indentation in the date tests is the same as mri's c source
anannie has quit [Ping timeout: 264 seconds]
<erikh>
oh, the honey badger whitespace?
anannie has joined #ruby-lang
<charliesome>
is that the name for it?
<apeiros_>
charliesome: you mean tab & space mixed?
<charliesome>
yep
<telemachus>
tabs, spaces all together?
<erikh>
tabs, spaces, they just don't care, they just don't give a fuck
<erikh>
unless you try and fix it
rippa has joined #ruby-lang
<erikh>
and send them a diff
<apeiros_>
by all the indentation fights
<erikh>
then they give a fuck.
<apeiros_>
I think everybody can agree that *this* is the most horrible variant of them all
<telemachus>
apeiros_: Oddly, no.
<charliesome>
but but but you save 7 bytes at a time!
<charliesome>
" " vs. "\t"
<charliesome>
there's a clear winner guys
<telemachus>
When this comes up on Reddit/HN I always see a small but vocal crowd who swears it's the best
<telemachus>
tab for indentation and spaces for alignment (they say)
svyatov has quit [Quit: svyatov]
<telemachus>
I find it foul, but...
<erikh>
the best solution for a project maintained by a team is a standard
<apeiros_>
telemachus: we live in the wrong time. a few hundred years back they'd just send them off to another continent…
<telemachus>
erikh: yes
<erikh>
who cares what's in the standard. just a standard.
<telemachus>
rational thought is rational
<erikh>
sorry
<telemachus>
erikh wins one interweb
<erikh>
getting in a lot of trouble for those lately
<erikh>
I'll stop now
<charliesome>
if i ever design a language that takes off, the presence of a tab character is going to cause a parser warning
<telemachus>
erikh: What for being rational?
<erikh>
charliesome: oh, you should probably use python, i think it has that feature already
<charliesome>
erikh: python complains if you mix tabs and spaces
<apeiros_>
erikh: while I generally agree, there's some things I'd not accept. mixed indentation actually being one.
<charliesome>
if you stick to one or the other it's quiet
<erikh>
apeiros_: a standard implies that there is no 'mixed'
<charliesome>
warn "USE SPACES DAMMIT" if src.include? "\t"
<apeiros_>
I wouldn't mind tabs, spaces or what width (as long as it's <= 4 spaces)
<erikh>
and has tools to enforce it.
<apeiros_>
erikh: hm? not a mixed standard. a standard of mixed tabs & spaces.
<telemachus>
apeiros_: I use 8 for C actually. Keeps my nesting low.
<erikh>
charliesome: not that easy: echo "^V^I"
<erikh>
apeiros_: right, i can't see anyone actually proposing that as a standard.
<telemachus>
(also, somehow in C it helps me to "see" things better)
<apeiros_>
erikh: but it's what core ruby does…
<erikh>
apeiros_: no, it has no standard. that's different.
<apeiros_>
at certain points it's very consistently indented, but with tabs & spaces mixed.
<telemachus>
apeiros_: But not by standard, just by kind of default wtf-ism.
<telemachus>
This came up on ruby-core at some point about a year or two ago
<apeiros_>
erikh: na, it's 1 person standards… at least that's how it seemed to me. (i.e. a couple of people using that "standard"), it's not a project wide standard, yes. and it shouldn't be IMO.
<telemachus>
steveklabnik started a mini-movement and for a while people were cleaning up files
<erikh>
eh? why not?
<telemachus>
Not sure how far it went
<erikh>
eh, throw that shit in a pre-commit hook and call it a day
<apeiros_>
mhm, stuff like that could be easily cleaned automatically.
<apeiros_>
or semi-automatically if you don't trust full automatism.
<judofyr>
I think `go fmt` is a great idea
<erikh>
there are tools for most non-ruby languages that do what go fmt does
replore_ has quit [Remote host closed the connection]
<judofyr>
yeah, but everyone uses `go fmt`
mytrile has joined #ruby-lang
<judofyr>
perltidy has a trillion options and everyone tweaks it a bit
<erikh>
eh
<erikh>
I like options
<erikh>
go fmt has options too, IIRC.
<judofyr>
but the point of go fmt is that all code should look alike :)
<apeiros_>
mhm, I pondered a "use lazy" pragma for my own language. only if you used that you could use whatever formatting you wanted. otherwise you were forced to comply to a certain rules.
<apeiros_>
+set of
<judofyr>
erikh: only three options: one for stripping comments, two for tab settings
xyzodiac has joined #ruby-lang
<erikh>
yeah, I don't like that at all. even with perltidy I've found the defaults to be absolutely frustrating in spots.
<apeiros_>
i.e., the idea is, that you can format however you want, but in order to do that you have to "stigmatize" the code
<erikh>
the problem with "one size fits all" tools like this is that they indirectly imply how your code should be designed
<erikh>
as the formatted code will look like shit if you do anything outside of the little box the formatter expects you to fit in
<apeiros_>
I agree that not everything should be standardized
<apeiros_>
but it's good to have a couple of rules
<apeiros_>
I'd be actually interested in what cases I'd agree that compulsive formatting is bad (I can totally imagine that such cases exist)
sepp2k has joined #ruby-lang
<erikh>
I mean, a pre-commit hook on the r-l svn that was grep -qE "^ *\t" would end this problem
Uranio has joined #ruby-lang
<erikh>
for pretty much everything that was code
leopard_me has joined #ruby-lang
<erikh>
I'm probably simplifying it a bit, but it's not much more complicated than that after you exclude files that shouldn't be considered.
<darix>
apeiros_: you can still send them to another country to punish them. US. some military dictatorship in africa. i am sure we can find unwelcoming places for such people.
<erikh>
invert it if you want to require tabs
<erikh>
anyhow
<apeiros_>
^^
<apeiros_>
alas, I can't send them :(
<apeiros_>
have to wait until I assume world dictatorship.
<darix>
all it costs you is a one way ticket:p
<apeiros_>
but I'll work on that plan at five again.
<darix>
and making sure they cant get a ticket back home :)
xyzodiac has quit [Ping timeout: 264 seconds]
pab|o has joined #ruby-lang
m3nd3s has quit [Remote host closed the connection]
xyzodiac has joined #ruby-lang
kitallis has quit [Quit: Computer has gone to sleep.]
kitallis has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
rsl has joined #ruby-lang
flexd has joined #ruby-lang
Banistergalaxy has quit [Ping timeout: 256 seconds]
xyzodiac has quit [Ping timeout: 264 seconds]
pur-angst has quit [Read error: Connection reset by peer]
aetcore has joined #ruby-lang
xyzodiac has joined #ruby-lang
Banistergalaxy has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
xyzodiac has quit [Quit: Computer has gone to sleep.]
tonni_ has quit [Remote host closed the connection]
anannie has quit [Ping timeout: 248 seconds]
anannie has joined #ruby-lang
pab|o has joined #ruby-lang
nick_h_ has quit [Ping timeout: 264 seconds]
nick_h has joined #ruby-lang
<imperator2>
apeiros_, why not FFI?
<apeiros_>
imperator2: because I struggle already enough without FFI :)
<apeiros_>
but yeah, would actually be a nice exercise
<imperator2>
i forced myself to learn it
<imperator2>
plus, it works with jruby
<apeiros_>
I know, but since this ext is for use with gosu, that's not quite useful :)
<erikh>
FFI is great when you need the C preprocessor
<erikh>
absolutely awesome
<erikh>
and we all know that no C libraries use the C preprocessor
<imperator2>
apeiros_, what's gosu?
<apeiros_>
game lib
<imperator2>
erikh, oh, believe me, it can be a pain
* imperator2
is converting his win32-api stuff to FFI, so it wasn't like i was using the C preprocessor anyway :)
<erikh>
haha
<erikh>
well, I'm pretty excited
runeb has joined #ruby-lang
<erikh>
tonight I wrote integration tests
<imperator2>
it did fall down on OSX with sys-proctable, though
<erikh>
imperator2: did you ever find a workaround for mach stupidity?
<imperator2>
it degenerated into a rat hole of deeply nested structs and i lost the will to live
m3nd3s has quit [Remote host closed the connection]
<erikh>
imperator2: it all works great if you suid the ruby script
<erikh>
:P
vlad_starkov has quit [Remote host closed the connection]
<erikh>
but yeah, so integration tests
enebo has joined #ruby-lang
<erikh>
I wrote a test that builds a master/slave redis pair and ensures they're talking to each other (by writing to the master and reading from the slave)
<erikh>
another one that tests BIND zone transfers are setup properly
<erikh>
and another one that ensures my syslog cluster gets log messages from client machines
<erikh>
the machines all build on my box and are provisioned with vagrant and chef
<erikh>
took around 4 hours to write the tests; the system that powers it took about a month to write
retro|cz has quit [Ping timeout: 244 seconds]
<erikh>
knowing months ahead of time your shit won't break when it's deployed to production? priceless.
<imperator2>
apeiros_, if there's a shared object, jruby should be able to use it
<imperator2>
erikh, nice
mccraig_ has left #ruby-lang [#ruby-lang]
stonerfish has quit [Quit: Leaving.]
mccraig has joined #ruby-lang
sn0wb1rd has quit [Quit: sn0wb1rd]
<imperator2>
of course, i'm fighting with ffi now....jiinxed myself
<erikh>
imperator2: yeah, I'm pretty excited.
tonni has joined #ruby-lang
lcdhoffman has joined #ruby-lang
runeb has quit [Remote host closed the connection]
banisterfiend has joined #ruby-lang
<apeiros_>
hm, is there an equivalent to `return enum_for(__method__, *args) unless block_given?` for C-ruby?
mars777 has joined #ruby-lang
xyzodiac has joined #ruby-lang
runeb has joined #ruby-lang
mistym has joined #ruby-lang
rekky has joined #ruby-lang
runeb has quit [Remote host closed the connection]
<banisterfiend>
apeiros_: you mean without resorting to rb_funcall? :P
stardiviner has joined #ruby-lang
carloslopes has quit [Remote host closed the connection]
<apeiros_>
banisterfiend: hm, rb_funcall would be a way. I wouldn't know how to do __method__ literally, but could hardcode the name
ryanlecompte has quit [Remote host closed the connection]
<banisterfiend>
rb_funcall(self, rb_intern("__method__"), 0); would probably do the trick
<apeiros_>
oh great, rb_yield_values is not documented in README.EXT
<banisterfiend>
apeiros_: what are u working on
<apeiros_>
and rb_yield only accepts a single value
<apeiros_>
banisterfiend: small set of classes for gosu interface work
Uranio has quit [Quit: WeeChat 0.3.8]
shtirlic_ has quit [Remote host closed the connection]
<apeiros_>
and since some of the classes are rather simple, I thought it'd be a good exercise to do them in C
gsav has joined #ruby-lang
gsav has quit [Client Quit]
<banisterfiend>
apeiros_: cool
<apeiros_>
ah, works. <3 grep
<banisterfiend>
apeiros_: you dont use ack ?
<erikh>
I use perl -ne 'print if /regex/
vlad_starkov has joined #ruby-lang
<judofyr>
isn't the_silver_searcher the new cool thing?
chimkan has joined #ruby-lang
<apeiros_>
banisterfiend: na, too lazy to learn it.
<apeiros_>
I probably should
<apeiros_>
but… not enough pain yet :)
<erikh>
there's not much to learn
<banisterfiend>
apeiros_: there's nothing to learn, you just type "ack blah"
<erikh>
most of the args are the same you'd pass to grep
<erikh>
unless you have files you want to search that aren't in it's visibility list
<erikh>
then you have to use -a
<erikh>
that's like, 100% of what you need to know
<apeiros_>
^^
<apeiros_>
not quite
<apeiros_>
brew install ack? :D
<banisterfiend>
apeiros_: should work
wyhaines has joined #ruby-lang
Mon_Ouie has joined #ruby-lang
<erikh>
yeah, or cpan App::Ack if you're a perl guy
<judofyr>
I think you mean `cpanm App::Ack`
<judofyr>
<3 cpanm
gnufied1 has quit [Quit: Leaving.]
* imperator2
has used ack for a while
BigO has joined #ruby-lang
<imperator2>
got tired of grep -r not actually working
davidbalbert is now known as davidbalber|away
gsav has joined #ruby-lang
mistym is now known as mistym_meeting
robbyoconnor has joined #ruby-lang
ulisescab has joined #ruby-lang
methods has joined #ruby-lang
<imperator2>
blarg, why is my struct not getting filled properly? grr...
schaerli has quit [Remote host closed the connection]
gnufied has joined #ruby-lang
<apeiros_>
your in-struct-ion was wrong…
davidbalber|away is now known as davidbalbert
<apeiros_>
oh yay, recursive include is possible in C :D
<apeiros_>
+infinite
<apeiros_>
is there a way to suppress an expected warning?
Nisstyre has quit [Ping timeout: 260 seconds]
<workmad3>
apeiros_: circular includes? you evil person :P
ryanlecompte has joined #ruby-lang
<apeiros_>
workmad3: accident
<methods>
i've seen it used for obfusticated contests
xyzodiac has quit [Quit: Computer has gone to sleep.]
<judofyr>
I hate that Struct defines #hash and #eql?
<imperator2>
apeiros_, what's the warning?
<imperator2>
judofyr, why?
R_Macy has joined #ruby-lang
<apeiros_>
unused variable (ruby passes in the VALUE of the class in the allocator, but I don't make any use of it)
<judofyr>
imperator2: maybe I just need to stop using Struct as a simple way to do attr_accessor + #initialize
xyzodiac has joined #ruby-lang
voker57 has quit [Read error: Connection reset by peer]
<judofyr>
imperator2: nah, just had some weird bugs where I expect object identity, but Struct uses value identity
aetcore has quit [Remote host closed the connection]
<imperator2>
are #eql and #== the same for Struct? maybe one does object identity, i'd have to check
<banisterfiend>
apeiros_: you should use include guards
<apeiros_>
banisterfiend: hm? I just accidentally copied an include over. the whole thing is too small to bother with any automatisms IMO.
<imperator2>
apeiros_, shouldn't cause a warning, can you pastie the snippet?
judofyr has quit [Remote host closed the connection]
<apeiros_>
rb_cPoint is of type VALUE, and yes, it's a class
<apeiros_>
following ruby-core style there. but I don't follow it everywhere.
<apeiros_>
I'll github the full code in a few days anyway, if you want I can do it today
agile has quit [Ping timeout: 240 seconds]
mytrile has quit [Remote host closed the connection]
davidbalber|away is now known as davidbalbert
agile has joined #ruby-lang
<apeiros_>
heh, from an optimization point of view, seems really premature… the pure ruby-struct version is about as fast as the C version…
<apeiros_>
oh… no wonder. forgot to change the module in the test… *embarassed*
dankest has joined #ruby-lang
<apeiros_>
ok, 5x faster.
<apeiros_>
imperator2: gotta catch the train, will be back online in ~40min
faustman has joined #ruby-lang
bradland has quit [Quit: bradland]
<imperator2>
btw, seems there's already a gosu lib
GarethAdams has quit [Quit: Leaving...]
brianpWins has quit [Quit: brianpWins]
<apeiros_>
imperator2: yes, the one I'm using ;-)
<apeiros_>
I said I intend to use what I write *with* gosu. I'm not writing the gosu lib
<apeiros_>
jlnr is the author (or maintainer?) of gosu
mpan has quit [Ping timeout: 265 seconds]
* apeiros_
off now
apeiros_ has quit [Remote host closed the connection]
mupilot_ has joined #ruby-lang
mupilot has quit [Ping timeout: 246 seconds]
mupilot_ is now known as mupilot
chimkan_ has quit [Quit: chimkan_]
agarcia has quit [Quit: Konversation terminated!]
jbsan has quit [Ping timeout: 248 seconds]
chimkan has joined #ruby-lang
mlangenberg has joined #ruby-lang
replore_ has joined #ruby-lang
<mlangenberg>
Hi all, I was learn a refactoring trick from someone. See I was looking at the following class: https://gist.github.com/37eada14976468cf77a3 and I noticed a switch statement around 'type'.
<mlangenberg>
That always rings an alarm bell.
jbsan has joined #ruby-lang
<mlangenberg>
Now I could do subclassing here, but what about extending an object with a specific module?
rekky has quit [Quit: rekky]
havenn has quit [Read error: Connection reset by peer]
havenn has joined #ruby-lang
sush24_ has quit [Quit: This computer has gone to sleep]
CoverSlide has quit [Ping timeout: 252 seconds]
blazes816 has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
datanoise has joined #ruby-lang
banisterfiend has quit [Remote host closed the connection]
<andrewvos>
mlangenberg: The first link is less code?
<andrewvos>
rking: You may not :)
xyzodiac has quit [Quit: Computer has gone to sleep.]
<mlangenberg>
A refactoring does not always end up with less code.
<andrewvos>
It should in 99% of cases?
<rking>
mlangenberg: That other one doesn't take it far enough, IMO. The 'elsif recipient == ' stuff is a smell of the same thing.
ulisescab has quit [Ping timeout: 260 seconds]
<mlangenberg>
totally right rking, unfortunately it is mapped directly from a database row (ActiveRecord)
<rking>
I wouldn't resort to any fancy #extend stuff, either.
<rking>
Just instantiate a different object.
<andrewvos>
Honestly after actually looking at the class, I don't understand why so much functionality is inside one class and I would go with SRP.
<andrewvos>
rking: 1, me: 0
replore has quit [Ping timeout: 260 seconds]
<andrewvos>
Not that we're keeping score
<rking>
andrewvos: Is that the total score, for all time so far?
<mlangenberg>
That's why I am also exploring alternatives for subclassing. ActiveRecord does the instantiation, I can't decide to instantiate a subclass. (and I hate STI).
<andrewvos>
rking: It gets reset every day.
<rking>
OK
<rking>
I'll just try to freeze it at that for the day, so I can lock away the win.
<andrewvos>
mlangenberg: I also hate Sexually Transmitted Infections.
<andrewvos>
rking: Your "I won on the internet" medal is in the post.
<andrewvos>
OH SHIT it's home time. xxx
<mlangenberg>
Haha, we call that a SOA in Dutch.
<rking>
mlangenberg: Sounds cool then.
<mlangenberg>
sure is Service Oriented
Uranio has quit [Ping timeout: 245 seconds]
headius has joined #ruby-lang
<rking>
I mean the #extend idea.
<rking>
ActiveRecord imposes some constraints
Uranio has joined #ruby-lang
<rking>
(Though I'd also consider other options, such as delegating to an ivar that polymorphs from there.)
<mlangenberg>
How could I use an ivar? What would be setting the ivar?
brianpWins has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
Uranio has quit [Client Quit]
tenderlove has joined #ruby-lang
Aiur has joined #ruby-lang
xyzodiac has joined #ruby-lang
__butch__ has joined #ruby-lang
<apeiros_>
is there a shorter way to say (in C): `return (expression) ? Qtrue : Qfalse;` ?
banisterfiend has joined #ruby-lang
mrsolo has joined #ruby-lang
__butch__ has quit [Remote host closed the connection]
<crankharder>
everyone stop and learn inject. now.
<whitequark>
crankharder: don't use inject for that. ever again.
<whitequark>
#each_with_object.
<whitequark>
and inject (also collect) is named incorrectly. that should have been #reduce and #map, because that's what they do.
<havenn>
imho #map should have been named #each!
<whitequark>
each time you use #inject instead of #each_with_object, a kitten dies.
<whitequark>
havenn: incorrect
<whitequark>
#bang! methods modify the object they're applied to
<whitequark>
#map doesn't
<manveru>
map! does :)
<manveru>
anw, what's wrong with inject in this case?
<banisterfiend>
whitequark: how hard would it be to hack the ruby interpreter so it can write out snapshots of the running ruby program to disk for restoring later on (a la smalltalk images) ?
<manveru>
i asked matz about that, he said it's not easy
<banisterfiend>
ah too bad, even R can do that, but i guess it was a design decision from the beginning
qpingu has joined #ruby-lang
bhus has quit [Quit: Leaving]
apeiros has quit [Remote host closed the connection]
<methods>
whitequark: actually i use to think that about bang methods too but then always noticed that some were actually not modifying the object and then later in a book i read a guy explain that really bang should only be used when you have something with a similar name like x vs x! where x! just means like a warning sign that you should think carefully when using it
<crankharder>
you should think carefully when programming
apeiros_ has joined #ruby-lang
<methods>
then use c :p
<methods>
I'm jk
emptyflask has quit [Remote host closed the connection]
<anannie>
In ruby is there a way to return more than one value from a function in real-time?
<manveru>
hehe
<whitequark>
banisterfiend: quite hard, but the interpreter I'm writing right now supports that as a design feature! :)
<manveru>
anannie: return a, b
<whitequark>
methods: yeah you're correct
<manveru>
nothing in ruby is real-time though :P
<anannie>
manveru: What if I am scanning a game board and I want to return the value of the array again and again?
<methods>
why have each_with_object and inject ? just seems that inject also supports passing a symbol
sailias has quit [Read error: Connection reset by peer]
sailias1 has joined #ruby-lang
<manveru>
methods: inject uses the return value of the block for the next run, each_with_object always uses the same object
<anannie>
manveru: I have a specific function @line for that, what I want is that it should read through the array, and hand it over line by line to another outside function which does the processing per line and waits for the next line
zigidias has joined #ruby-lang
krohrbaugh has quit [Quit: Leaving.]
<manveru>
anannie: and what's the problem?
<anannie>
manveru: I'm trying to make a game of life program
<methods>
ah
<anannie>
It would definitely be easier to push the entire array out just like that, but I want to struggle with this a bit and figure out the language properly in the process
krohrbaugh has joined #ruby-lang
<whitequark>
methods: you can pass a symbol with &:foo
<manveru>
well, multiple return values in ruby are just arrays
<whitequark>
actually the fact that reduce accepts a symbol is an artefact from the time when that syntax was not available/was very slow
<anannie>
Can I not define something like the IO's read functionality in Ruby?
methods has left #ruby-lang [#ruby-lang]
<anannie>
Handing over the game board line by line would be very useful
<manveru>
i'm not sure i understand what you're asking
<manveru>
you want to yield each line?
schaerli has quit [Remote host closed the connection]
postmodern has quit [Quit: Leaving]
tenderlove has quit [Remote host closed the connection]
havenn has quit [Remote host closed the connection]
carloslopes has joined #ruby-lang
<anannie>
Sorry about that manveru, something happened in the real world
carloslopes has quit [Remote host closed the connection]
havenn has joined #ruby-lang
carloslopes has joined #ruby-lang
rippa has quit [Ping timeout: 250 seconds]
Nisstyre-laptop has quit [Ping timeout: 240 seconds]
<anannie>
manveru: yield executes the entire block if I'm not mistaken, I just want to read an array line by line within an object like a file is read and then pass data on one line at a time, wait for execution, pass the next line and so on
<seydar>
anannie: can you do some pseudocode for what you'd like to have happen?
schaerli has joined #ruby-lang
havenn has quit [Ping timeout: 245 seconds]
havenn has joined #ruby-lang
stonerfish has joined #ruby-lang
emptyflask has joined #ruby-lang
<anannie>
def line; @line = @gameboard.map... (or something like that to read it line by line and pass it on to the variable); passing_variable_to_code_that_called_it; end
headius has quit [Quit: headius]
<anannie>
so when someone can do x = object_name.line
<anannie>
and it will iterate through feeding in x the value of each line on the "gameboard"
davidbalbert is now known as davidbalber|away
xyzodiac has quit [Quit: Computer has gone to sleep.]
amerine_ has joined #ruby-lang
schaerli has quit [Remote host closed the connection]
canton7 has quit [Excess Flood]
canton7 has joined #ruby-lang
amerine_ has left #ruby-lang [#ruby-lang]
<anannie>
one easy solution is to of course shift the iteration through the other end and then feed specific line numbers and things, but I don't want to do that unless necessary, is there an elegant and pretty way out?
wyhaines has quit [Remote host closed the connection]
runeb has joined #ruby-lang
banisterfiend has quit [Remote host closed the connection]
<manveru>
?
<manveru>
that's what blocks are for
<manveru>
but if you really want to do it without, you can use enumerator
<manveru>
>> e = %w[a b c d].each; e.next + e.next
<manveru>
=> "ab"
<anannie>
is there no way to put this inside an object?
runeb has quit [Ping timeout: 260 seconds]
<anannie>
Ah I see
<anannie>
So I can pass an enumerator along and it will iterate through it on its own?
<manveru>
yes
mistym_lunch is now known as mistym
soptnrs has joined #ruby-lang
<foucist>
crankharder: what if i'm trying to add a value to a hash? [:foo, :bar].inject(hash){|h,v| h[v] << 1 }
<foucist>
i have hash = Hash.new { |hash, key| hash[key] = [] } if that helps heh
enebo has joined #ruby-lang
zigidias has quit [Quit: cookies!]
<anannie>
manveru: Okay I'm trying this out in command line and code and I'll let you know when I'll have it running. Thank you for your help.
soptnrs has left #ruby-lang [#ruby-lang]
mistym is now known as mistym_meeting
davidbalber|away is now known as davidbalbert
runeb has joined #ruby-lang
BigO has quit [Remote host closed the connection]
<foucist>
crankharder: well, [:foo, :bar].reverse.inject(value) { |key, v| { v => key } } does the trick, but i want to add to an existing hash
BigO has joined #ruby-lang
pab|o has quit [Quit: Leaving]
soptnrs has joined #ruby-lang
soptnrs has left #ruby-lang [#ruby-lang]
soptnrs has joined #ruby-lang
havenn has quit [Remote host closed the connection]
soptnrs has left #ruby-lang [#ruby-lang]
headius has joined #ruby-lang
kurko_ has quit [Quit: Computer has gone to sleep.]
runeb has quit [Remote host closed the connection]
BigO has quit [Remote host closed the connection]
zigidias has joined #ruby-lang
chimkan has quit [Quit: chimkan]
tenderlove has joined #ruby-lang
<manveru>
that doesn't help much, yeah :)
schaerli has joined #ruby-lang
BigO has joined #ruby-lang
carloslopes has quit [Remote host closed the connection]
<drbrain>
crankharder: but, you don't create the same lock in multiple threads
<drbrain>
you create it in, say initialize
slyphon has quit [Quit: WeeChat 0.3.8]
<crankharder>
got it, thanks
joast has quit [Quit: Leaving.]
<drbrain>
I think include MonitorMixin makes the mutual exclusion transparent to you and your users
havenn has joined #ruby-lang
zigidias has joined #ruby-lang
emptyflask has quit [Remote host closed the connection]
joast has joined #ruby-lang
mjio has joined #ruby-lang
headius has joined #ruby-lang
TheMoonMaster has quit [Ping timeout: 246 seconds]
TheMoonMaster has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
emptyflask has joined #ruby-lang
Guest91972 has quit [Ping timeout: 265 seconds]
RickHull has joined #ruby-lang
<RickHull>
hello fine folks of #ruby-lang, it's been a while
<RickHull>
i was talking to a friend of a friend who works for Extole in san fran, and he convinced me to come to town in january for a week of interviews
<RickHull>
please pm me if you recognize me from years past and have any relevant info xD
schaerli has joined #ruby-lang
<RickHull>
i.e. who is hiring, places to stay, etc
enebo has quit [Quit: enebo]
datanoise has quit [Ping timeout: 260 seconds]
schaerli has quit [Ping timeout: 245 seconds]
blazes816 has quit [Quit: blazes816]
sailias has quit [Quit: Leaving.]
rue has quit [Ping timeout: 255 seconds]
krohrbaugh has quit [Quit: Leaving.]
<manveru>
RickHull: i was just in SF last two weeks :)
rolfb has joined #ruby-lang
<manveru>
you wanna move there?
<RickHull>
if i get a job, yeah
rue has joined #ruby-lang
<lianj>
manveru: did you enjoy it?
<manveru>
there's a metric ton of jobs waiting to be filled...
<RickHull>
that's what i hear
methods1 has left #ruby-lang [#ruby-lang]
<manveru>
lianj: yeah
<lianj>
manveru: with whole family?
<RickHull>
any decent/cheap places to stay? i am ok with hostels / shared space in the right environment
<RickHull>
i have some couches to crash on too
<manveru>
flew back when it started getting cold and raining :)
<manveru>
RickHull: i stayed at mirabelle in the mission, they are on airbnb
<RickHull>
ok cool. I heard SOMA is ruby central
<manveru>
but there are cheaper places like startuphouse
<RickHull>
that sounds totally doable. maybe do some "networking"
gmci has joined #ruby-lang
gmci is now known as Guest65901
<manveru>
hehe
<manveru>
that was my plan, but then paypal screwed up and i had to find somewhere else
<RickHull>
manveru: where are you based now?
<manveru>
bavaria
<RickHull>
oh shit, right
<manveru>
yeah :P
<manveru>
i'd love to live in SF for a while at least, just hard getting any kind of visa
ryanlecompte has quit [Read error: Connection reset by peer]
ryanlecompte has joined #ruby-lang
enebo has joined #ruby-lang
RickHull1 has joined #ruby-lang
RickHull has quit [Ping timeout: 246 seconds]
chimkan_ has quit [Quit: chimkan_]
davidbalbert is now known as davidbalber|away
RickHull1 has quit [Read error: Connection reset by peer]
shtirlic has quit [Read error: Connection reset by peer]
shtirlic has joined #ruby-lang
tenderlove has quit [Remote host closed the connection]
RickHull has joined #ruby-lang
<RickHull>
anyway, that sucks about the visa. shouldn't be like that
chimkan has joined #ruby-lang
tenderlove has joined #ruby-lang
<manveru>
you timed out
<RickHull>
yeah, weird
justinram has quit [Remote host closed the connection]
<manveru>
so i have no idea what you said the last minutes
<manveru>
but i fully agree :)
<RickHull>
on a wired broadband connection
<RickHull>
i said nothing for 6 or 7
<manveru>
hm
<RickHull>
i made a bad joke just before my disconnect notice, maybe karma. not worth repeating
krohrbaugh has joined #ruby-lang
mistym has quit [Remote host closed the connection]
datanoise has joined #ruby-lang
thatdutchguy has quit [Remote host closed the connection]
gsav has quit [Ping timeout: 252 seconds]
thatdutchguy has joined #ruby-lang
thatdutchguy has quit [Read error: Connection reset by peer]
thatdutc_ has joined #ruby-lang
aetcore has quit [Ping timeout: 245 seconds]
thatdutchguy has joined #ruby-lang
thatdutchguy has quit [Read error: Connection reset by peer]
thatdutc_ has quit [Read error: Connection reset by peer]
thatdutchguy has joined #ruby-lang
krohrbaugh1 has joined #ruby-lang
krohrbaugh has quit [Read error: Connection reset by peer]
thatdutchguy has quit [Read error: Connection reset by peer]
thatdutc_ has joined #ruby-lang
achiu has quit [Quit: WeeChat 0.3.9.1]
thatdutc_ has quit [Read error: Connection reset by peer]
thatdutchguy has joined #ruby-lang
achiu has joined #ruby-lang
thatdutchguy has quit [Read error: Connection reset by peer]
thatdutchguy has joined #ruby-lang
thatdutc_ has joined #ruby-lang
thatdutchguy has quit [Read error: Connection reset by peer]
blacktulip has quit [Remote host closed the connection]
elux has quit [Quit: Bye!]
thatdutc_ has quit [Read error: Connection reset by peer]
thatdutchguy has joined #ruby-lang
thatdutc_ has joined #ruby-lang
thatdutchguy has quit [Read error: Connection reset by peer]
mwjcomputing has joined #ruby-lang
thatdutc_ has quit [Read error: Connection reset by peer]
thatdutchguy has joined #ruby-lang
thatdutc_ has joined #ruby-lang
thatdutchguy has quit [Read error: Connection reset by peer]
datanoise has quit [Ping timeout: 244 seconds]
thatdutc_ has quit [Read error: Connection reset by peer]
thatdutchguy has joined #ruby-lang
thatdutc_ has joined #ruby-lang
thatdutchguy has quit [Read error: Connection reset by peer]
<headius>
anyone playing with mruby or otherwise want to chat about some C challenges?
<headius>
trying to get it to build on a small 32-bit embedded processor and my C-fu is failing me a bit
thatdutc_ has quit [Read error: Connection reset by peer]
thatdutchguy has joined #ruby-lang
thatdutc_ has joined #ruby-lang
thatdutchguy has quit [Read error: Connection reset by peer]
thatdutchguy has joined #ruby-lang
thatdutc_ has quit [Read error: Connection reset by peer]
thatdutc_ has joined #ruby-lang
anachronistic has quit [Quit: anachronistic]
thatdutchguy has quit [Read error: Connection reset by peer]
thatdutc_ has quit [Read error: Connection reset by peer]
thatdutchguy has joined #ruby-lang
<andrewvos>
Oh that reminds me headius... zenspider following on from our conversation on compilers etc. yesterday, I was digging through parse.y in mruby and trying to understand how that bison syntax works. Pretty hardcore.
thatdutchguy has quit [Read error: Connection reset by peer]
thatdutc_ has joined #ruby-lang
michpowershell has joined #ruby-lang
thatdutc_ has quit [Read error: Connection reset by peer]
<andrewvos>
And was wondering it Mats just basically threw together that giant file in a few months :/
<andrewvos>
Crazy shit.
mwjcomputing has quit [Ping timeout: 256 seconds]
thatdutchguy has joined #ruby-lang
michpowershell has left #ruby-lang [#ruby-lang]
mistym has joined #ruby-lang
thatdutchguy has quit [Read error: Connection reset by peer]
thatdutchguy has joined #ruby-lang
thatdutchguy has quit [Read error: Connection reset by peer]
thatdutchguy has joined #ruby-lang
thatdutchguy has quit [Read error: Connection reset by peer]
thatdutchguy has joined #ruby-lang
thatdutchguy has quit [Read error: Connection reset by peer]
thatdutchguy has joined #ruby-lang
thatdutc_ has joined #ruby-lang
thatdutchguy has quit [Read error: Connection reset by peer]
mistym has quit [Remote host closed the connection]
<zzak>
andrewvos: i think the syntax is part of iso standard
thatdutc_ has quit [Read error: Connection reset by peer]
thatdutchguy has joined #ruby-lang
<zzak>
also, the bison docs are great
<zzak>
not that im any good, but they are very nice docs
thatdutchguy has quit [Read error: Connection reset by peer]
<headius>
andrewvos: yeah that stuff is pretty insane
chimkan has quit [Quit: chimkan]
thatdutchguy has joined #ruby-lang
<headius>
or at least it looks insane…I have never been a parser guy
thatdutchguy has quit [Read error: Connection reset by peer]
<andrewvos>
zzak: Yeah I don't have the concentration for diging through docs so I dug through the mruby source rather :)
thatdutchguy has joined #ruby-lang
<zzak>
its about half the size of MRI's
<andrewvos>
headius: Yeah, pretty scary stuff!
thatdutchguy has quit [Read error: Connection reset by peer]
<andrewvos>
headius: And it's all one file too. Not sure how I feel about that.
thatdutchguy has joined #ruby-lang
thatdutc_ has joined #ruby-lang
thatdutchguy has quit [Read error: Connection reset by peer]
rolfb has quit [Quit: Leaving...]
thatdutc_ has quit [Read error: Connection reset by peer]
thatdutchguy has joined #ruby-lang
<andrewvos>
Holy shit ag is fast. It's almost creepy.
Carnage\ has quit []
krohrbaugh1 has quit [Quit: Leaving.]
thatdutchguy has quit [Read error: Connection reset by peer]
thatdutchguy has joined #ruby-lang
ggreer has joined #ruby-lang
<ggreer>
8^)
thatdutchguy has quit [Read error: Connection reset by peer]
chimkan_ has joined #ruby-lang
thatdutchguy has joined #ruby-lang
krohrbaugh has joined #ruby-lang
thatdutchguy has quit [Read error: Connection reset by peer]
thatdutchguy has joined #ruby-lang
thatdutc_ has joined #ruby-lang
thatdutchguy has quit [Read error: Connection reset by peer]
thatdutchguy has joined #ruby-lang
thatdutc_ has quit [Read error: Connection reset by peer]
thatdutc_ has joined #ruby-lang
thatdutchguy has quit [Read error: Connection reset by peer]
thatdutchguy has joined #ruby-lang
thatdutc_ has quit [Read error: Connection reset by peer]
thatdutc_ has joined #ruby-lang
thatdutchguy has quit [Read error: Connection reset by peer]
emptyflask has quit [Remote host closed the connection]
<rue>
andrewvos: alias boo!=ag
<ggreer>
andrewvos: glad you like ag
thatdutc_ has quit [Ping timeout: 255 seconds]
<andrewvos>
ggreer: Write it?
<ggreer>
I wrote most of it
<andrewvos>
ggreer: Thanks!
<andrewvos>
ggreer: Searchin .feature files by default makes me less angry every day.