apeiros_ changed the topic of #ruby-lang to: Ruby 2.0.0-p0: http://ruby-lang.org (Ruby 1.9.3-p392) || Paste >3 lines of text on http://gist.github.com
pr0ton has joined #ruby-lang
pr0ton has quit [Read error: Connection reset by peer]
anonymuse has quit [Quit: Leaving...]
pr0ton has joined #ruby-lang
ohcomely has quit [Ping timeout: 248 seconds]
zastern has quit [Remote host closed the connection]
pr0ton has quit [Read error: Connection reset by peer]
drumond19 has joined #ruby-lang
cyri_ has quit [Quit: cyri_]
pr0ton has joined #ruby-lang
pr0ton has quit [Read error: Connection reset by peer]
apeiros_ has joined #ruby-lang
pr0ton has joined #ruby-lang
pr0ton has quit [Read error: Connection reset by peer]
macmartine has joined #ruby-lang
pr0ton has joined #ruby-lang
pr0ton has quit [Read error: Connection reset by peer]
mercwithamouth has joined #ruby-lang
apeiros_ has quit [Ping timeout: 252 seconds]
hasimo has quit [Remote host closed the connection]
pr0ton has joined #ruby-lang
pr0ton has quit [Read error: Connection reset by peer]
torrieri has quit [Quit: Leaving...]
torrieri has joined #ruby-lang
torrieri has quit [Client Quit]
hasimo has joined #ruby-lang
pr0ton has joined #ruby-lang
kurko_ has joined #ruby-lang
valeri_ufo has quit [Ping timeout: 240 seconds]
ilyam_ has joined #ruby-lang
datanoise has quit [Ping timeout: 256 seconds]
sn0wb1rd_ has joined #ruby-lang
sn0wb1rd has quit [Ping timeout: 245 seconds]
sn0wb1rd_ is now known as sn0wb1rd
ilyam has quit [Ping timeout: 260 seconds]
ilyam_ is now known as ilyam
Banistergalaxy has quit [Ping timeout: 272 seconds]
idkazuma has quit [Remote host closed the connection]
Banistergalaxy has joined #ruby-lang
mercwithamouth has quit [Ping timeout: 256 seconds]
mercwithamouth has joined #ruby-lang
pkrnj has joined #ruby-lang
enebo has quit [Quit: enebo]
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
nXqd has joined #ruby-lang
RickHull has joined #ruby-lang
nXqd has quit [Ping timeout: 255 seconds]
apeiros_ has joined #ruby-lang
justinram has quit [Remote host closed the connection]
klebervi_ has quit [Remote host closed the connection]
gregmoreno has quit [Read error: Connection reset by peer]
gregmore_ has joined #ruby-lang
gregmore_ has quit [Remote host closed the connection]
gregf has joined #ruby-lang
gregf is now known as Guest66278
gregmoreno has joined #ruby-lang
iamryo has quit [Quit: iamryo]
datanoise has joined #ruby-lang
apeiros_ has quit [Ping timeout: 248 seconds]
Guest66278 has quit [Quit: WeeChat 0.4.0]
datanoise has quit [Ping timeout: 260 seconds]
QaDeS has quit [Quit: Ex-Chat]
sebasoga has quit [Quit: Computer has gone to sleep.]
Honeycomb has quit [Quit: Leaving.]
Honeycomb has joined #ruby-lang
dhruvasagar has joined #ruby-lang
tomzx_mac has joined #ruby-lang
iamjarvo has joined #ruby-lang
marr has quit [Ping timeout: 272 seconds]
jerrytgarcia has quit [Read error: Connection reset by peer]
jerrytgarcia has joined #ruby-lang
jonahR has joined #ruby-lang
jonahR has quit [Client Quit]
nXqd has joined #ruby-lang
macmartine has quit [Quit: Computer has gone to sleep.]
nXqd has quit [Ping timeout: 255 seconds]
pepper_chico has joined #ruby-lang
tylersmith has quit [Quit: tylersmith]
torrieri has joined #ruby-lang
torrieri has quit [Changing host]
torrieri has joined #ruby-lang
pepper_chico has quit [Client Quit]
apeiros_ has joined #ruby-lang
gix has quit [Ping timeout: 255 seconds]
postmodern has joined #ruby-lang
mjio has quit []
sn0wb1rd has quit [Quit: sn0wb1rd]
gix has joined #ruby-lang
mrsolo has quit [Quit: Leaving]
pepper_chico has joined #ruby-lang
xalei has joined #ruby-lang
Domon has joined #ruby-lang
apeiros_ has quit [Ping timeout: 252 seconds]
Swimming_Bird has joined #ruby-lang
Swimming_Bird has quit [Max SendQ exceeded]
Swimming_Bird has joined #ruby-lang
srbaker has joined #ruby-lang
tomzx_mac has quit [Ping timeout: 252 seconds]
gregmoreno has quit [Ping timeout: 240 seconds]
drumond19 has quit [Remote host closed the connection]
<RickHull> having a problem with rubygems on ubuntu
<RickHull> 10.04
<RickHull> i installed minitest, with rubygems already required, require can't find it
<RickHull> Gem.searcher.find('minitest') returns nil
<RickHull> but i can see Gem.searcher is aware of it in @gemspecs
<havenwood> RickHull: Ruby and gem versions?
sn0wb1rd has joined #ruby-lang
Honeycomb has joined #ruby-lang
yianna has joined #ruby-lang
<RickHull> oh wait
<RickHull> i want 'minitest/spec'
<RickHull> doh
<havenwood> :)
krohrbaugh has quit [Quit: Leaving.]
lsegal has joined #ruby-lang
ilyam has quit [Remote host closed the connection]
ilyam has joined #ruby-lang
yianna is now known as ykk
ykk has quit [Remote host closed the connection]
io_syl has quit [Quit: Computer has gone to sleep.]
mjio has joined #ruby-lang
torrieri has quit [Quit: Leaving...]
apeiros_ has joined #ruby-lang
torrieri has joined #ruby-lang
ilyam has quit [Quit: ilyam]
methods has joined #ruby-lang
kurko_ has quit [Ping timeout: 252 seconds]
methods has quit [Ping timeout: 255 seconds]
KU0N has quit [Quit: Linkinus - http://linkinus.com]
kurko_ has joined #ruby-lang
apeiros_ has quit [Ping timeout: 264 seconds]
rsl has quit [Quit: Computer has gone to sleep.]
ddd has quit [Ping timeout: 245 seconds]
ivanoats has quit [Remote host closed the connection]
torrieri has quit [Quit: Leaving...]
sush24 has joined #ruby-lang
ddd has joined #ruby-lang
psyanid3 has joined #ruby-lang
huydx has joined #ruby-lang
psyanid3 has quit [Client Quit]
torrieri has joined #ruby-lang
ryanf has quit [Ping timeout: 250 seconds]
sush24 has quit [Quit: Leaving]
tomzx_mac has joined #ruby-lang
TTilus has quit [Ping timeout: 264 seconds]
t0h has quit [Ping timeout: 264 seconds]
TTilus has joined #ruby-lang
t0h has joined #ruby-lang
bzalasky has joined #ruby-lang
Axsuul has joined #ruby-lang
apeiros_ has joined #ruby-lang
Banistergalaxy has quit [Ping timeout: 245 seconds]
Banistergalaxy has joined #ruby-lang
mercwithamouth has quit [Ping timeout: 248 seconds]
pr0ton has quit [Ping timeout: 248 seconds]
Honeycomb has quit [Quit: Leaving.]
Honeycomb has joined #ruby-lang
Honeycomb has quit [Client Quit]
srbaker has quit [Quit: Computer has gone to sleep.]
gregmoreno has joined #ruby-lang
soypirate_ has joined #ruby-lang
mercwithamouth has joined #ruby-lang
apeiros_ has quit [Ping timeout: 245 seconds]
gregmoreno has quit [Ping timeout: 245 seconds]
krohrbaugh has joined #ruby-lang
robbyoconnor has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 248 seconds]
nXqd has joined #ruby-lang
ryanf has joined #ruby-lang
torrieri has quit [Quit: Leaving...]
ryanf has quit [Ping timeout: 255 seconds]
sush24 has joined #ruby-lang
intellitech has quit [Ping timeout: 248 seconds]
Kichael has joined #ruby-lang
torrieri has joined #ruby-lang
nXqd has quit [Ping timeout: 256 seconds]
nibbo has quit [Read error: Operation timed out]
chendo_ is now known as chendo
io_syl has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
sush24 has quit [Quit: This computer has gone to sleep]
ryanf has joined #ruby-lang
sush24 has joined #ruby-lang
randallagordon has quit [Quit: leaving]
randallagordon has joined #ruby-lang
nibbo has joined #ruby-lang
bluepojo_ has joined #ruby-lang
datanoise has joined #ruby-lang
ryanf has quit [Ping timeout: 276 seconds]
JohnBat26 has joined #ruby-lang
postmodern has quit [Quit: Leaving]
Honeycomb has joined #ruby-lang
bluepojo has quit [Ping timeout: 276 seconds]
postmodern has joined #ruby-lang
bluepojo_ has quit [Ping timeout: 257 seconds]
postmodern has quit [Remote host closed the connection]
Weems has joined #ruby-lang
Weems has quit [Changing host]
Weems has joined #ruby-lang
r0bgleeson has quit [Ping timeout: 240 seconds]
apeiros_ has joined #ruby-lang
soahccc has quit [Ping timeout: 255 seconds]
eval-in has quit [Ping timeout: 245 seconds]
jarib has quit [Ping timeout: 250 seconds]
mistym has quit [Remote host closed the connection]
postmodern has joined #ruby-lang
torrieri has quit [Quit: Leaving...]
sush24 has quit [Ping timeout: 252 seconds]
cyri_ has joined #ruby-lang
ilyam has joined #ruby-lang
apeiros_ has quit [Ping timeout: 248 seconds]
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
ivanoats has joined #ruby-lang
soahccc has joined #ruby-lang
sush24 has joined #ruby-lang
kurko_ has quit [Quit: Computer has gone to sleep.]
eval-in has joined #ruby-lang
jarib has joined #ruby-lang
jarib has quit [Changing host]
jarib has joined #ruby-lang
ryanf has joined #ruby-lang
jMCg has quit [Ping timeout: 255 seconds]
ryanf has quit [Ping timeout: 245 seconds]
Kuukunen has quit [Ping timeout: 245 seconds]
soypirate_ has quit [Read error: Operation timed out]
runeb has joined #ruby-lang
soypirate has quit [Ping timeout: 272 seconds]
Kuukunen has joined #ruby-lang
sebasoga has joined #ruby-lang
runeb has quit [Ping timeout: 248 seconds]
sebasoga has quit [Read error: Connection reset by peer]
jMCg has joined #ruby-lang
swav_ has quit [Remote host closed the connection]
sebasoga has joined #ruby-lang
sebasoga has quit [Read error: Connection reset by peer]
sebasoga has joined #ruby-lang
robbyoconnor has joined #ruby-lang
bzalasky has joined #ruby-lang
apeiros_ has joined #ruby-lang
Domon has quit [Remote host closed the connection]
sebasoga has quit [Read error: Connection reset by peer]
sebasoga has joined #ruby-lang
torrieri has joined #ruby-lang
datanoise has quit [Ping timeout: 255 seconds]
sebasoga has quit [Ping timeout: 248 seconds]
sebasoga has joined #ruby-lang
Honeycomb has quit [Quit: Leaving.]
sush24 has quit [Quit: This computer has gone to sleep]
Banistergalaxy has quit [Ping timeout: 250 seconds]
Banistergalaxy has joined #ruby-lang
sebasoga has quit [Ping timeout: 252 seconds]
apeiros_ has quit [Ping timeout: 256 seconds]
sebasoga has joined #ruby-lang
chendo has quit [Ping timeout: 240 seconds]
ryanf has joined #ruby-lang
chendo_ has joined #ruby-lang
sush24 has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
madish has quit [Quit: ChatZilla 0.9.90 [Firefox 16.0.1/20121026125834]]
bluepojo has joined #ruby-lang
bluepojo has quit [Remote host closed the connection]
mistym has joined #ruby-lang
mistym has quit [Changing host]
ryanf has quit [Ping timeout: 255 seconds]
mistym has joined #ruby-lang
bluepojo has joined #ruby-lang
datanoise has joined #ruby-lang
kgrz has joined #ruby-lang
bluepojo has quit [Ping timeout: 255 seconds]
jerrytgarcia has quit [Read error: Connection reset by peer]
jerrytgarcia has joined #ruby-lang
sush24 has quit [Quit: This computer has gone to sleep]
tomzx_mac has quit [Read error: Operation timed out]
dhruvasagar has quit [Ping timeout: 252 seconds]
apeiros_ has joined #ruby-lang
sepp2k has joined #ruby-lang
apeiros_ has quit [Ping timeout: 248 seconds]
kgrz has quit [Quit: Computer has gone to sleep.]
datanoise has quit [Ping timeout: 252 seconds]
ryanf has joined #ruby-lang
mistym has quit [Remote host closed the connection]
<RickHull> is there a preferred convention for minitest/spec files
<RickHull> and running them
<RickHull> when i first hack my tests, i usually put them in a __FILE__ == $0 inside the lib
<RickHull> is it better to maintain them separately, like in a toplevel /spec ?
<RickHull> and then what is the way to run them?
Domon has joined #ruby-lang
<RickHull> rspec has some handy conventions that I don't recall the exact details
<RickHull> i'm wondering if minitest/spec has similar, or just punts to minitest/autorun and maybe a rake task?
ivanoats has quit [Remote host closed the connection]
datanoise has joined #ruby-lang
<RickHull> i'm thinking a spec or tests dir at toplevel, require 'minitest/autorun' and then just: ruby spec/*.rb
havenwood is now known as info
info is now known as havenwood
swav has joined #ruby-lang
ryanf has quit [Ping timeout: 276 seconds]
rippa has joined #ruby-lang
swav has quit [Ping timeout: 248 seconds]
kgrz has joined #ruby-lang
iamjarvo has quit [Quit: Leaving.]
benlovell has joined #ruby-lang
apeiros_ has joined #ruby-lang
benlovell has quit [Client Quit]
noop has joined #ruby-lang
cyri_ has quit [Quit: cyri_]
kgrz has quit [Quit: Computer has gone to sleep.]
Mon_Ouie has joined #ruby-lang
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby-lang
iamjarvo has joined #ruby-lang
sailias has joined #ruby-lang
kgrz has joined #ruby-lang
NemesisD has joined #ruby-lang
apeiros has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
xalei has quit [Read error: Connection reset by peer]
apeiros_ has quit [Ping timeout: 252 seconds]
<NemesisD> i'm trying to write a method that given the string Product, it will check descendents of Repository for a ProductRepository or return Repository
slyphon has joined #ruby-lang
slyphon has quit [Client Quit]
<NemesisD> best implementation i have is def foo(klass); Repository.const_get("#{klass}Repository"); rescue NameError; Repository; end. kinda gross and doesn't do descendants technically
ryanf has joined #ruby-lang
mjio has quit []
mjio has joined #ruby-lang
intellitech has joined #ruby-lang
<RickHull> blech
slyphon has joined #ruby-lang
<RickHull> unwind the stack a bit. we shouldn't ever have to write such a method
<NemesisD> i'm trying to do something of a repository pattern, separating data from persistence
<NemesisD> currently you use it something like: repo = Repository.new(conn_pool); repo[MyModel].find(123), [] initializes a generic ModelRepository for that class which knows the bucket for it
<NemesisD> but lets say MyOtherModel supports some additional querying methods, you'd want to have a class MyOtherModelRepository, so you could do repo[MyOtherModel].find_by_some_weird_stuff
gix has quit [Ping timeout: 248 seconds]
<NemesisD> if there's a nicer separate repository pattern i'd like to see it. stole this design from the first gem i found
<RickHull> this seems like reinventing inheritance, badly
ryanf has quit [Ping timeout: 245 seconds]
<RickHull> i'm not familiar with the "repository pattern" though. what's the basic idea, separating data from persistence?
<RickHull> can we just think of the repo as a hash for a moment?
<RickHull> you want to pass it a key of some sort, and get back an object?
gix has joined #ruby-lang
<NemesisD> RickHull: im not that familiar either, but yes, i want persistence completely separate from data. and yes, you'd pass it a key and get back an object. the trick is that i think you need a different repo for Foo than for Bar because they would look in different buckets
datanoise has quit [Ping timeout: 264 seconds]
iamjarvo has quit [Quit: Leaving.]
sebasoga has quit [Ping timeout: 240 seconds]
<RickHull> constructing class names just feels like an antipattern
<NemesisD> RickHull: yeah. i agree it feels gross. but i haven't figured out a way yet of having bucket-specific retrieval methods
rippa has quit [Ping timeout: 240 seconds]
<NemesisD> i'm looking into the Data Mapper pattern, sadly, DataMapper itself doesn't implement it
sebasoga has joined #ruby-lang
slyphon has quit [Quit: slyphon]
<RickHull> frankly, i wouldn't worry too much about this layer. you can encapsulate your core logic by working on atomic data, method parameters. then you just have an adapter to provide the data from different sources
<RickHull> a single method, used by convention
<RickHull> as a primitive example
toretore has joined #ruby-lang
sebasoga has quit [Read error: Connection reset by peer]
<RickHull> e.g. feed your object with #import(foo, bar, baz)
sebasoga has joined #ruby-lang
<NemesisD> RickHull: import? are foo, bar, baz different types?
<RickHull> sorry, it's late and this may be a terrible idea
sebasoga has quit [Read error: Connection reset by peer]
rippa has joined #ruby-lang
<RickHull> but let's say you have a Product with an @id, @sku, @desc, @img
<NemesisD> ok
sebasoga has joined #ruby-lang
dhruvasagar has joined #ruby-lang
sebasoga_ has joined #ruby-lang
<RickHull> you can make this independent of your data layer by feeding Product.new(id, sku, desc, img) and strictly using that interface
<RickHull> or even Marshal.dump and undump
sebasoga_ has quit [Read error: Connection reset by peer]
<RickHull> like, you probably don't want to do Product.save!
sebasoga has quit [Read error: Operation timed out]
<RickHull> more like save!(product)
sebasoga has joined #ruby-lang
<RickHull> and save! will call product.export and decide what to do with an array of parameters
<NemesisD> RickHull: that inversion of control, with save!(product) seems to be the foundation for the repository and data mapper patterns i think
<NemesisD> it looks like the gem Curator may do this
<RickHull> yeah i mean i'm not really happy with what i've said. i'm kind of spitballing here
sebasoga has quit [Read error: Connection reset by peer]
<RickHull> i totally agree that you want to separate your logic from persistence
sebasoga has joined #ruby-lang
<NemesisD> RickHull: yeah, on a daily basis i chafe with activerecord, but the real reason is that i'm looking at the viability of using a KV store for this app, so there is some degree of trickery that must go on for a few of the queries. AR is the wrong choice
mjio has quit []
sebasoga has quit [Read error: Connection reset by peer]
<RickHull> your data may be tied to your persistence, but if not, i would aim for method signatures as your main interface. like, i don't care how you get them, but give me these 6 parameters
countdigi has quit [Ping timeout: 246 seconds]
sebasoga has joined #ruby-lang
rippa has quit [Ping timeout: 240 seconds]
<RickHull> are you sure something like DataMapper isn't sufficient?
<NemesisD> RickHull: that's next on my list. i've heard rumor datamapper 2 might have something to do with the actual data mapper pattern
<RickHull> i wouldn't worry about GoF design patterns
sebasoga_ has joined #ruby-lang
<RickHull> fowler etc.
<RickHull> they are targeting a much more primitive ecosystem of languages
countdigi has joined #ruby-lang
<NemesisD> yeah but the core concept is solid, peristence being a separate responsibility and thus a separate class
<RickHull> your primary concern should be, what is the problem and what are the requirements and how can i meet them
nXqd has joined #ruby-lang
sebasoga has quit [Ping timeout: 252 seconds]
Honeycomb has joined #ruby-lang
<tsou> trying to install rvm. installation halts and the error seems to be a permission denied, because it's trying to write to /bin/ruby. Any idea why it'd do that?
sebasoga has joined #ruby-lang
ryanf has joined #ruby-lang
<RickHull> paste the error, multiline on a paste site
sebasoga_ has quit [Ping timeout: 256 seconds]
<RickHull> NemesisD: are you familiar with maglev / gemstone? they provide a persistent object repository
<RickHull> i think it's an interesting paradigm. but hardly necessary
<NemesisD> RickHull: of course. the problem is that i like testing simple objects. my models represent inert data. persistence is gonna get weird in some places so i want that elsewhere
sebasoga has quit [Read error: Connection reset by peer]
<RickHull> NemesisD: i totally agree with your last statement
<RickHull> nothing i am saying is in conflict with that
<NemesisD> i've seen a few presentations about it, enough to keep me away from using it for anything, but they didn't discuss the object repository in any detail
sebasoga has joined #ruby-lang
<RickHull> you probably need to sudo, or else take care to do a local install
<RickHull> er per-user install
<RickHull> try #rvm
<tsou> this is supposed to be a per-user install
<tsou> that's why i'm confused by it needing permissions to write anything outside my homedir..
<tsou> ah, ok, thanks ;)
Mon_Ouie has quit [Ping timeout: 276 seconds]
nXqd has quit [Ping timeout: 256 seconds]
datanoise has joined #ruby-lang
Weems has quit [Ping timeout: 245 seconds]
bzalasky has quit [Remote host closed the connection]
wardrop has quit [Quit: wardrop]
nXqd has joined #ruby-lang
datanoise has quit [Ping timeout: 276 seconds]
Averna has quit [Quit: Leaving.]
pepper_chico has quit [Quit: Computer has gone to sleep.]
bzalasky has joined #ruby-lang
rue_XIV has quit [Remote host closed the connection]
JohnBat26 has quit [Read error: Operation timed out]
tbuehlmann has joined #ruby-lang
Honeycomb has quit [Quit: Leaving.]
havenwood has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
charliesome has joined #ruby-lang
jerrytgarcia has quit [Read error: Connection reset by peer]
valeri_ufo has joined #ruby-lang
jerrytgarcia has joined #ruby-lang
glebm has quit [Quit: Computer has gone to sleep.]
JohnBat26 has joined #ruby-lang
sebasoga has quit [Quit: Computer has gone to sleep.]
tonni has quit [Remote host closed the connection]
beho has joined #ruby-lang
sebasoga has joined #ruby-lang
ilyam has quit [Quit: ilyam]
mercwithamouth has quit [Ping timeout: 245 seconds]
chendo_ has quit [Ping timeout: 248 seconds]
sebasoga has quit [Ping timeout: 260 seconds]
sebasoga has joined #ruby-lang
sailias has quit [Quit: Leaving.]
chendo_ has joined #ruby-lang
jigfox has quit [Quit: jigfox]
sebasoga has quit [Read error: Connection reset by peer]
sebasoga has joined #ruby-lang
sebasoga has quit [Read error: Connection reset by peer]
sebasoga has joined #ruby-lang
datanoise has joined #ruby-lang
tonni has joined #ruby-lang
sebasoga has quit [Ping timeout: 252 seconds]
hasimo has quit [Remote host closed the connection]
sebasoga has joined #ruby-lang
hasimo has joined #ruby-lang
vmoravec has joined #ruby-lang
datanoise has quit [Ping timeout: 252 seconds]
solars has joined #ruby-lang
sebasoga has quit [Ping timeout: 248 seconds]
sebasoga has joined #ruby-lang
sebasoga_ has joined #ruby-lang
sebasoga_ has quit [Read error: Connection reset by peer]
sebasoga_ has joined #ruby-lang
jerrytgarcia has quit [Quit: Linkinus - http://linkinus.com]
sebasoga has quit [Ping timeout: 252 seconds]
hasimo has quit [Remote host closed the connection]
justinram has joined #ruby-lang
sebasoga_ has quit [Ping timeout: 252 seconds]
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
sebasoga has joined #ruby-lang
NemesisD has quit [Ping timeout: 245 seconds]
flexd has quit [Ping timeout: 264 seconds]
sebasoga has quit [Read error: Connection reset by peer]
sebasoga has joined #ruby-lang
vlad_starkov has joined #ruby-lang
ilyam has joined #ruby-lang
sebasoga_ has joined #ruby-lang
flexd has joined #ruby-lang
hasimo has joined #ruby-lang
ilyam has quit [Client Quit]
sebasoga has quit [Ping timeout: 256 seconds]
brianpWins has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
sebasoga_ has quit [Ping timeout: 248 seconds]
sebasoga has joined #ruby-lang
Demux has joined #ruby-lang
sebasoga has quit [Read error: Connection reset by peer]
sebasoga has joined #ruby-lang
justinra_ has joined #ruby-lang
sebasoga has quit [Read error: Connection reset by peer]
sebasoga has joined #ruby-lang
justinram has quit [Ping timeout: 256 seconds]
Weems has joined #ruby-lang
sebasoga_ has joined #ruby-lang
apeiros_ has joined #ruby-lang
sebasoga has quit [Ping timeout: 256 seconds]
jigfox has joined #ruby-lang
sebasoga_ has quit [Read error: Connection reset by peer]
sebasoga has joined #ruby-lang
beho has quit [Remote host closed the connection]
hasimo has quit [Remote host closed the connection]
sebasoga has quit [Read error: Connection reset by peer]
sebasoga has joined #ruby-lang
retro|cz has joined #ruby-lang
sebasoga_ has joined #ruby-lang
judofyr has joined #ruby-lang
hasimo has joined #ruby-lang
sebasoga has quit [Ping timeout: 256 seconds]
kevinfagan has joined #ruby-lang
kevinfagan has quit [Client Quit]
swav has joined #ruby-lang
gjaldon has joined #ruby-lang
gjaldon has quit [Remote host closed the connection]
runeb has joined #ruby-lang
gnufied has joined #ruby-lang
maxmanders has joined #ruby-lang
benlovell has joined #ruby-lang
runeb has quit [Ping timeout: 245 seconds]
beho has joined #ruby-lang
QaDeS has joined #ruby-lang
rue has joined #ruby-lang
rue has quit [Remote host closed the connection]
gnufied has quit [Quit: Leaving.]
klebervirgilio has joined #ruby-lang
gnufied has joined #ruby-lang
tonni has quit [Remote host closed the connection]
klebervirgilio has quit [Read error: Connection reset by peer]
klebervirgilio has joined #ruby-lang
kevinfagan has joined #ruby-lang
zmack has joined #ruby-lang
klebervirgilio has quit [Ping timeout: 255 seconds]
klebervirgilio has joined #ruby-lang
benlovell has quit [Quit: Computer has gone to sleep.]
ryanf has quit [Quit: leaving]
skade has joined #ruby-lang
kgrz has quit [Quit: Computer has gone to sleep.]
kevinfagan has quit [Quit: Linkinus - http://linkinus.com]
kevinfagan has joined #ruby-lang
sush24 has joined #ruby-lang
intellitech has quit [Quit: intellitech]
benlovell has joined #ruby-lang
blacktulip has joined #ruby-lang
amerine has joined #ruby-lang
benlovel_ has joined #ruby-lang
benlovel_ has quit [Client Quit]
klebervirgilio has quit [Ping timeout: 264 seconds]
tonni has joined #ruby-lang
io_syl has quit [Quit: Computer has gone to sleep.]
felipe has joined #ruby-lang
<yorickpeterse> morning kids
<judofyr> morning old man
amerine has quit [Quit: Computer has gone to sleep.]
vlad_starkov has quit [Remote host closed the connection]
swav has quit [Remote host closed the connection]
kgrz has joined #ruby-lang
<judofyr> (disclaimer: I don't actually know how old you are)
swav has joined #ruby-lang
vlad_starkov has joined #ruby-lang
<andrewvos> judofyr: he is like 12 tho
runeb has joined #ruby-lang
<andrewvos> lyk*
kevinfagan has quit [Quit: Linkinus - http://linkinus.com]
bin7me has joined #ruby-lang
<apeiros_> moinsen
robbyoconnor has quit [Read error: Connection reset by peer]
<andrewvos> goeie moreé
robbyoconnor has joined #ruby-lang
<andrewvos> moré*
brianpWins has quit [Quit: brianpWins]
Bwild has quit [Ping timeout: 260 seconds]
jwollert has quit [Remote host closed the connection]
khaase has quit [Remote host closed the connection]
jwollert has joined #ruby-lang
khaase has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
schroedinbug has quit [Ping timeout: 255 seconds]
alessio_rocco has joined #ruby-lang
Bwild has joined #ruby-lang
huydx has quit [Quit: huydx]
huydx has joined #ruby-lang
amerine has joined #ruby-lang
Criztian has joined #ruby-lang
amerine has quit [Client Quit]
intellitech has joined #ruby-lang
rue|w has quit [Remote host closed the connection]
amerine has joined #ruby-lang
smt has joined #ruby-lang
francisfish has joined #ruby-lang
Criztian has quit [Remote host closed the connection]
S1kx has joined #ruby-lang
S1kx has quit [Changing host]
S1kx has joined #ruby-lang
amerine has quit [Ping timeout: 240 seconds]
xcombelle has joined #ruby-lang
smt has left #ruby-lang [#ruby-lang]
skade has quit [Read error: Operation timed out]
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
skade has joined #ruby-lang
MaddinXx has joined #ruby-lang
emocakes has joined #ruby-lang
AndChat| has joined #ruby-lang
<yorickpeterse> brixen: just a small heads up, thanks for making `rbx compile` and in particular the ability to dump the bytecode. That in combination with the Bytecode docs of Rbx have been tremendously useful for me so far.
Banistergalaxy has quit [Ping timeout: 248 seconds]
MaddinXx has quit [Remote host closed the connection]
sush24_ has joined #ruby-lang
benlovell has quit [Quit: Computer has gone to sleep.]
sush24 has quit [Ping timeout: 250 seconds]
hasimo has quit [Remote host closed the connection]
benlovell has joined #ruby-lang
postmodern has quit [Quit: Leaving]
S1kx has quit [Ping timeout: 245 seconds]
tbuehlmann has quit [Quit: Quitting.]
S1kx has joined #ruby-lang
S1kx has joined #ruby-lang
emocakes has quit [Quit: emocakes]
marr has joined #ruby-lang
KU0N has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
sush24_ has quit [Quit: This computer has gone to sleep]
cored has quit [Ping timeout: 260 seconds]
io_syl has joined #ruby-lang
beho_ has joined #ruby-lang
Squarepy has joined #ruby-lang
beho has quit [Read error: Operation timed out]
Squarepy has quit [Changing host]
Squarepy has joined #ruby-lang
cored has joined #ruby-lang
charliesome has joined #ruby-lang
cultureulterior has joined #ruby-lang
RickHull has left #ruby-lang [#ruby-lang]
dhruvasagar has quit [Ping timeout: 260 seconds]
cyri_ has joined #ruby-lang
xalei has joined #ruby-lang
Domon has quit [Remote host closed the connection]
<whitequark> are there private module functions?
plusk has joined #ruby-lang
woollyams has joined #ruby-lang
woollyams has quit [Remote host closed the connection]
jxie has quit [Quit: leaving]
<apeiros_> whitequark: what do you consider a "private module function"?
<apeiros_> module_function's create a private instance and public class method
<whitequark> apeiros_: but what if I want a private class method?
cored has quit [Ping timeout: 276 seconds]
<apeiros_> private_class_method :foo
<whitequark> say I have some public module functions and some more as helpers to them
<whitequark> oh cool, thanks!
nXqd has quit [Quit: leaving]
nXqd has joined #ruby-lang
<whitequark> hah. compared to `extend self`, that is too much of a mess
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
hasimo has joined #ruby-lang
* apeiros_ thinks extend self is an anti-pattern
<judofyr> whitequark: if someone includes it, they'll have access to every method though
<apeiros_> a module's instance methods which are also available as class methods should be private. they're obviously pseudo-functions and should not be callable from outside.
Criztian has joined #ruby-lang
<apeiros_> with extend self, you either have public instance methods (bad), private class methods (useless), or have to manually mark the class methods as public after the extend self (ugly)
<whitequark> apeiros_: I agree with you
<apeiros_> yay! :D
hasimo has quit [Ping timeout: 276 seconds]
<whitequark> that's why I tried to remove extend self in the first place
<whitequark> but that produced a huge mess with private_class_method and it's ugly
<whitequark> also I never include that module anywhere
<apeiros_> :-/
<whitequark> yeah
<judofyr> I guess you can add "real" private method in modules that are intended to be included with define_method + blocks
<judofyr> foo = proc { }; define_method(:bar) { foo[] }
<apeiros_> o0
<judofyr> not sure if it's a good idea…
<whitequark> judofyr: eww.
<whitequark> this ain't lisp
<judofyr> whitequark: I know :)
vlad_starkov has joined #ruby-lang
wallclockbuilder has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
gjaldon has joined #ruby-lang
pablo__ has joined #ruby-lang
vlad_starkov has joined #ruby-lang
MehLaptop has joined #ruby-lang
pablo__ has quit [Quit: Saliendo]
pablo__ has joined #ruby-lang
pablo__ has quit [Client Quit]
pabloh has joined #ruby-lang
<pabloh> hello
<pabloh> does anybody else find this behavior unexpected: https://gist.github.com/pabloh/5107526 ?
<pabloh> finds*
gnufied has quit [Quit: Leaving.]
<judofyr> pabloh: no? keywords arguments are just hashes that are passed as the last argument
<pabloh> judofyr, i understand how is implemented
<pabloh> pabloh, my point is that is weird anyway, i did pass a parameter
gnufied has joined #ruby-lang
Stilo has joined #ruby-lang
<apeiros_> pabloh: you mean the fact that the first argument is treated as the **keywords argument?
<apeiros_> seems odd to me indeed
<pabloh> apeiros_, yeap
<apeiros_> I'd have expected value to contain your hash and **keywords to be empty
<pabloh> apeiros_, maybe i shoud be consided as a bug
<pabloh> it*
<apeiros_> and that it states "0 for 1" tells me that **keywords is supposed to be optional
<apeiros_> aaaand now I'm worried that the implementation of keyword-args in ruby hasn't been well thought through :-S
<apeiros_> well, no point in worrying before working with 2.0 myself.
<pabloh> apeiros_, I think I going to filled a bug about this and see what happens
<pabloh> filled
<pabloh> s/filled/fill
hasimo has joined #ruby-lang
<apeiros_> file
<apeiros_> *file a bug
<pabloh> yeap that, I'm not a native english speaker... :P
<whitequark> judofyr: oh
<judofyr> whitequark: oh?
<whitequark> apeiros_: it is actually very nice
<whitequark> judofyr: (nevermind)
<whitequark> apeiros_: I've stumbled upon a bug where it did not happen like in the gist, and it was definitely undesired
<whitequark> but never the opposite
robbyoconnor has quit [Ping timeout: 245 seconds]
carloslopes has joined #ruby-lang
<apeiros_> whitequark: hm? what is nice?
<whitequark> apeiros_: how it always picks the last argument as the source for keyword arguments if it's a hash
<apeiros_> but that's problematic for cases where the second last argument can be a hash too
<whitequark> apeiros_: indeed. it's not a frequent case though.
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
<apeiros_> I don't think the frequency of that case can be legitimately estimated
<apeiros_> it gets worse for cases where the second last argument can be anything
MaddinXx_ has joined #ruby-lang
<pabloh> whitequark, I think the worst problem is when you pass a single argument without knowing its type then you dont know how many arguments u are actually passing unless u can actually thell if the argument is a Hash or not
<apeiros_> such cases will work differently depending on what kind of object you pass - if it's a hash, it suddenly works differently
<pabloh> apeiros_, exactly
<apeiros_> and the workaround is ugly - you have to know that the method accepts **keywords and then always pass an empty hash in
<whitequark> pabloh, apeiros_: hmm, interesting
<whitequark> let's see if this manifests itself as a problem in real world
<judofyr> apeiros_: or don't write methods which both accepts a mandatory Hash as the last param *and* keyword argument
<pabloh> apeiros_, even worst the first parameter could be something that happens to inhert from hash, but intented to be something completly different from a Hash
<judofyr> we have the same problem today with Rails' extract_options!
<whitequark> it's basically a condification of a Rails convention
<apeiros_> judofyr: I don't even want to start with how bad that suggestion is.
<judofyr> *optional argument as last parameter
<whitequark> apeiros_: it's actually a nice suggestion. because right now such methods already pose a problem
<apeiros_> no it's not.
<apeiros_> it says having a hash argument other than as keywords is not legitimate.
MehLaptop has quit [Remote host closed the connection]
<apeiros_> and that's borderline stupid
gjaldon has quit [Remote host closed the connection]
<judofyr> apeiros_: it's the combination
<apeiros_> same
<judofyr> apeiros_: mixing hashes and keywords are always going to be messy in Ruby 2.0 because they are the same
<judofyr> it was a trade-off
<apeiros_> it was the same in 1.9 too and they managed to not fuck it up
<apeiros_> not that the 1.9 solution was nice. but at least it was not *broken*.
<pabloh> apeiros_, judofyr, whitequark , I updated the gist if it you inherit from hash you have the same problem
shirokuro11 has joined #ruby-lang
<whitequark> I'm not sure if one should inherit from Hash at all
<pabloh> whitequark, maybe not
<pabloh> whitequark, but in the real world peple does it
<judofyr> bad real world people
<whitequark> pabloh: that's not an argument. people do stupid things
<pabloh> hahah
<whitequark> you can also set $, or how is it called
S1kx has quit [Ping timeout: 255 seconds]
<whitequark> doesn't mean it's a bad idea
gix has quit [Ping timeout: 245 seconds]
<whitequark> (a global variable which magically changes how split() works)
<pabloh> there are many exambles out there were you have classes inheriting from Array or Hash
<pabloh> you can't ignore that
<pabloh> examples*
Mon_Ouie has joined #ruby-lang
<judofyr> apeiros_: I still don't see why they're broken. what error would you expect with: foo(something: 'else')? do you still want that to give you an empty kw-hash and `value` to the Hash?
<judofyr> apeiros_: there's always going to be edge cases here.
nkr has joined #ruby-lang
sailias has joined #ruby-lang
<apeiros_> judofyr: sorry, I don't buy that.
gix has joined #ruby-lang
wallclockbuilder has quit [Read error: Connection reset by peer]
<judofyr> apeiros_: buy what?
<apeiros_> "there's always gonna be" is a lame ass argument.
wallclockbuilder has joined #ruby-lang
<judofyr> apeiros_: you didn't answer my question: what behavior do you want for foo(something: 'else')? ArgumentError or assigning `value`?
<apeiros_> depends
<judofyr> on what? :S
<apeiros_> it's nice that you expect a solution from me on a whim for something other people had many months to think about…
<apeiros_> intuitively I'd probably say: reserve {}-less use for keyword-args. hence ArgumentError
<apeiros_> and I'd use syntax to convert a hash-object to keyword args
dustint has joined #ruby-lang
<judofyr> apeiros_: it's nice that you claimed it was *broken* after looking at it for 2 seconds :)
<apeiros_> judofyr: a bug is MUCH faster to be spotted than figuring out how to fix it
<whitequark> apeiros_: this bug :)
<judofyr> apeiros_: that's not backwards compatible though
<apeiros_> judofyr: d'uh
<apeiros_> so you rather have a shitty broken solution? bad trade IMO.
<apeiros_> anyway, lunch time is over
<judofyr> apeiros_: as in: if we now have code that runs `image_tag(options)`, then I couldn't refactor #image_tag in 2.0 to use kw without also changing all caller sides
hasimo has quit [Remote host closed the connection]
<judofyr> apeiros_: well, that was what matz decided :)
<judofyr> apeiros_: he's really scared for something like Python3 or Perl6 happening to Ruby
<judofyr> so compat was *very* important
S1kx has joined #ruby-lang
<whitequark> apeiros_: shitty broken solution is way better than version which no one uses
<whitequark> pretty much everything which is actually used is shitty and broken
<whitequark> that's life :)
<judofyr> apeiros_: I'm just tired of people saying that something is "broken" when it's been solved decently under the given constraints (and it's actually the *constraints* they disagree with)
<judofyr> see also: encodings in Ruby
srbaker has joined #ruby-lang
dhruvasagar has joined #ruby-lang
kain has quit [Quit: exit]
<apeiros_> judofyr: it doesn't matter whether it's the constraints or the implementation itself. it doesn't change anything about it being broken.
kain has joined #ruby-lang
yalue has joined #ruby-lang
<apeiros_> and you're pretending that you knew that it is impossible to have it backwards compatible without breaking. you don't. all you do know is that you don't know how to comply with the constraints and still not breaking it.
<judofyr> apeiros_: it's hard to discuss when "broken" basically means "I don't like this behavior" :/
srbaker has quit [Quit: Computer has gone to sleep.]
<apeiros_> oh wow
<apeiros_> sorry, but fuck you. seriously. it was not "I don't like this behavior". this is an asstastic move.
apeiros_ has left #ruby-lang [#ruby-lang]
<whitequark> judofyr: the problem with encodings is that no, they aren't solved "decently"
<whitequark> not by comparison with kwargs, which IMO are
<whitequark> encodings have a ton of really weird corner cases which simply aren't justified by *anything*
<whitequark> haha, apeiros ragequit
<whitequark> lol.
<judofyr> whitequark: people keep telling me that, but I haven't noticed that many corner cases…
shirokuro11 has quit [Ping timeout: 272 seconds]
<whitequark> judofyr: ask anyone on #rbx.
<whitequark> but prepare for a shitstorm
schroedinbug has joined #ruby-lang
sailias has quit [Ping timeout: 248 seconds]
ikst has joined #ruby-lang
kurko_ has joined #ruby-lang
<dbussink> judofyr: this is a funny one if you use gsub() with a block and use a string with different encoding whether it works depends on whether you replace characters in the old string not valid in the encoding of the block's return value
<dbussink> judofyr: cases like this for example: https://gist.github.com/dbussink/d26fd666c18896c0787b
<dbussink> judofyr: s originally has encoding utf-8 there
xalei has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
fire has joined #ruby-lang
r0bgleeson has joined #ruby-lang
<judofyr> dbussink: interesting. have you considered opening feature-request for changing these behaviors? I imagine some of these edge cases could have been made more consistent in a 2.0/2.1-release
<dbussink> judofyr: a few issues have opened
iamjarvo has joined #ruby-lang
<dbussink> problem is that so much code in the wild starts to depend on behavior like this
<dbussink> even if it's not specified behavior perse, but it becomes that de facto
<dbussink> which is one of the biggest annoyances of encodings
<dbussink> it hasn't been designed that well and now we're stuck with how it works
barttenbrinke has joined #ruby-lang
<darix> dbussink: you make it sound like encodings were added to make our life easier :p
<dbussink> judofyr: but often the response is also "this is how it should work" and you have to mimic it all
<dbussink> darix: you would think yeah :P
<dbussink> judofyr: oh, and one thing, every object can have an encoding, not just strings
<dbussink> and yes, there is code that depends on that...
<judofyr> dbussink: hm: example of other objects having encodings?
<dbussink> judofyr: the pg gem sets an encoding on the connection
<dbussink> and uses that to set encodings on resulting strings
<dbussink> good behavior, but it's implemented by using the fact you can add encodings to every object
<darix> dbussink: imho ruby should throw an exception when the replacement string has the wrong encoding
<dbussink> instead of just storing an encoding object as an ivar on a connection object
<dbussink> darix: yeah
<dbussink> darix: but that would break a whole bunch of code for people probably :P
<darix> dbussink: and?
<dbussink> these things come from actual bug reports people file
<dbussink> so for rbx, it's often not really a choice
<judofyr> dbussink: I think it would be nice if you documented all of these edge cases and proposed them as a *feature request" for 2.1 maybe
<darix> dbussink: sounds like a topic for the next implementers meeting imho
sduckett has joined #ruby-lang
rippa has joined #ruby-lang
<dbussink> problem is that changes a lot of these things will make encodings even more complex for people
<dbussink> suddenly stuff starts throwing encoding errors in newer versions etc.
<darix> dbussink: and atm it might break the data
<darix> because they add latin1 encoded umlauts into an utf8 string
<judofyr> dbussink: it would still be *very* useful to have a list of gotchas (or places where the documentation is wrong)
emocakes has joined #ruby-lang
<dbussink> judofyr: these case normally end up in rubyspec anyway
kgrz has quit [Quit: Computer has gone to sleep.]
<judofyr> darix: Ruby *does* have abstract unicode strings though: a="æøå"; a.ord == a.encode("ISO-8859-1").ord
<darix> judofyr: does it automatically try to reencode when the target encoding differs?
<judofyr> darix: huh?
<darix> judofyr: taking dbussink's example with gsub+block
<darix> or trying to concat 2 strings with different encoding
<judofyr> darix: yeah, it will encode one string to the other encoding (e.g. `foo << bar` will encode bar into foo's encoding)
<judofyr> darix: the problem will the #gsub! seems to be that it does some funky encoding (it picks the replacement-value as the encoding, not self)
<darix> ic
sduckett has quit [Read error: Connection reset by peer]
soypirate_ has joined #ruby-lang
soypirate has joined #ruby-lang
pnr has joined #ruby-lang
dblack__ has joined #ruby-lang
soypirate_ has quit [Read error: Connection reset by peer]
beiter has joined #ruby-lang
soypirate_ has joined #ruby-lang
emocakes has quit [Quit: emocakes]
jxie has joined #ruby-lang
hapster has joined #ruby-lang
dorei has joined #ruby-lang
<dorei> is there any ruby data structure for handling bitfields?
ebouchut has joined #ruby-lang
<judofyr> dorei: not really. I've seen some gems that helps.
<judofyr> dorei: Fixnum#[] is useful though
<judofyr> dorei: [12[3], 12[2], 12[1], 12[0]] # => [1, 1, 0, 0]
<judofyr> dorei: it's extracts the nth bit
<judofyr> dorei: so you can use `foo[4].zero?` to check if the 4th bit is zero
wmoxam has joined #ruby-lang
mistym has joined #ruby-lang
spuk has quit [Quit: Human beings were created by water to transport it uphill.]
kgrz has joined #ruby-lang
mistym has quit [Remote host closed the connection]
hasimo has joined #ruby-lang
<dorei> judofyr: magic :)
sebasoga_ has quit [Quit: Computer has gone to sleep.]
ddd has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
ivanoats has joined #ruby-lang
Kellin has quit [Ping timeout: 252 seconds]
hasimo has quit [Ping timeout: 260 seconds]
sebasoga has joined #ruby-lang
tbuehlmann has joined #ruby-lang
breakingthings has joined #ruby-lang
ddd has joined #ruby-lang
tomzx_mac has joined #ruby-lang
sush24 has joined #ruby-lang
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
Kellin has joined #ruby-lang
kevinfagan has joined #ruby-lang
ivanoats has quit [Ping timeout: 248 seconds]
idkazuma has joined #ruby-lang
mistym has joined #ruby-lang
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
ivanoats has joined #ruby-lang
slyphon has joined #ruby-lang
vlad_starkov has joined #ruby-lang
Criztian has quit [Remote host closed the connection]
rsl has joined #ruby-lang
kain_ has joined #ruby-lang
wallclockbuilder has quit [Remote host closed the connection]
kain has quit [Read error: Connection reset by peer]
swav_ has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 276 seconds]
swav has quit [Ping timeout: 245 seconds]
ikst has quit [Remote host closed the connection]
melter has quit [Remote host closed the connection]
melter has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 256 seconds]
nick_h has quit [Read error: Operation timed out]
slyphon has quit [Ping timeout: 245 seconds]
sebastiansier has joined #ruby-lang
vlad_starkov has joined #ruby-lang
pepper_chico has joined #ruby-lang
kain_ is now known as kain
soypirate_ has quit [Quit: Leaving]
levifig has quit [Excess Flood]
levifig has joined #ruby-lang
dhruvasagar has joined #ruby-lang
nick_h has joined #ruby-lang
dabradley has quit [Quit: WeeChat 0.3.8]
mistym has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 255 seconds]
dabradley has joined #ruby-lang
gustavnils has joined #ruby-lang
vlad_starkov has joined #ruby-lang
__Big0__ has joined #ruby-lang
sebastiansier has quit [Remote host closed the connection]
wallerdev has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
vlad_starkov has quit [Read error: Connection reset by peer]
enebo has joined #ruby-lang
vlad_starkov has joined #ruby-lang
QaDeS_ has joined #ruby-lang
grough has joined #ruby-lang
QaDeS has quit [Ping timeout: 240 seconds]
vlad_starkov has quit [Remote host closed the connection]
adambeynon has joined #ruby-lang
jigfox_ has joined #ruby-lang
beiter has quit [Quit: beiter]
jigfox has quit [Ping timeout: 260 seconds]
jigfox_ is now known as jigfox
walbert has joined #ruby-lang
gregmore_ has joined #ruby-lang
wallerdev has quit [Quit: wallerdev]
sduckett has joined #ruby-lang
ivanoats has quit [Remote host closed the connection]
gnufied has quit [Quit: Leaving.]
barttenbrinke has quit [Remote host closed the connection]
gregmore_ has quit [Remote host closed the connection]
barttenbrinke has joined #ruby-lang
carloslopes has quit [Remote host closed the connection]
wyhaines has joined #ruby-lang
davidbalber|away is now known as davidbalbert
dabradley has quit [Quit: WeeChat 0.3.8]
thone has joined #ruby-lang
AndChat| has quit [Ping timeout: 248 seconds]
sduckett has quit [Ping timeout: 255 seconds]
plusk has quit [Quit: plusk]
Banistergalaxy has joined #ruby-lang
thone_ has quit [Ping timeout: 245 seconds]
tonni has quit [Remote host closed the connection]
datanoise has joined #ruby-lang
fire has quit [Ping timeout: 245 seconds]
baba has joined #ruby-lang
dabradley has joined #ruby-lang
dabradley has quit [Client Quit]
anonymuse has joined #ruby-lang
dabradley has joined #ruby-lang
ivanoats has joined #ruby-lang
ivanoats has quit [Remote host closed the connection]
ivanoats has joined #ruby-lang
sebastiansier has joined #ruby-lang
gnufied has joined #ruby-lang
mercwithamouth has joined #ruby-lang
bin7me has quit [Quit: Verlassend]
forrest has joined #ruby-lang
ebouchut has quit [Quit: Quitte]
drumond19 has joined #ruby-lang
wwalker has joined #ruby-lang
<wwalker> https://gist.github.com/wwalker/5109072 regex greediness problem. anyone know what I'm doing wrong?
torrieri has quit [Quit: Leaving...]
carloslopes has joined #ruby-lang
madish has joined #ruby-lang
ivanoats has quit [Remote host closed the connection]
krohrbaugh has quit [Quit: Leaving.]
jerrytgarcia has joined #ruby-lang
outoftime has joined #ruby-lang
carloslopes has quit [Ping timeout: 252 seconds]
skade has quit [Quit: Computer has gone to sleep.]
io_syl has quit [Quit: Computer has gone to sleep.]
io_syl has joined #ruby-lang
Ageo has joined #ruby-lang
kgrz has quit [Quit: Computer has gone to sleep.]
kgrz has joined #ruby-lang
baba has quit [Quit: WeeChat 0.4.0]
jonahR has joined #ruby-lang
Ageo has quit [Ping timeout: 245 seconds]
io_syl has quit [Read error: Operation timed out]
vmoravec_ has joined #ruby-lang
nXqd has quit [Ping timeout: 255 seconds]
nXqd has joined #ruby-lang
vereteran has quit [Quit: ZNC - http://znc.in]
vmoravec has quit [Ping timeout: 276 seconds]
jonahR has quit [Quit: jonahR]
plusk has joined #ruby-lang
vmoravec_ has quit [Ping timeout: 260 seconds]
vmoravec_ has joined #ruby-lang
naquad has joined #ruby-lang
barttenbrinke has quit [Remote host closed the connection]
adayzdone has joined #ruby-lang
carloslopes has joined #ruby-lang
idkazuma has quit [Remote host closed the connection]
Stilo has joined #ruby-lang
judofyr has quit [Remote host closed the connection]
idkazuma has joined #ruby-lang
torrieri has joined #ruby-lang
ivanoats has joined #ruby-lang
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
cirenyc has joined #ruby-lang
benlovell has quit [Quit: Computer has gone to sleep.]
agnitio has joined #ruby-lang
ivanoats has quit [Remote host closed the connection]
ivanoats has joined #ruby-lang
srbaker has joined #ruby-lang
sustainableweb has joined #ruby-lang
zmack_ has joined #ruby-lang
_protagoras271_ has joined #ruby-lang
fsvehla has joined #ruby-lang
fsvehla has quit [Client Quit]
gnufied1 has joined #ruby-lang
ivanoats has quit [Ping timeout: 245 seconds]
zmack has quit [Ping timeout: 248 seconds]
gnufied has quit [Read error: Connection reset by peer]
krohrbaugh has joined #ruby-lang
runeb has quit [Remote host closed the connection]
sustainableweb has quit [Read error: Connection reset by peer]
Kellin has quit [Remote host closed the connection]
grough has quit [Quit: Computer has gone to sleep.]
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
ivanoats has joined #ruby-lang
sepp2k1 has joined #ruby-lang
robbyoconnor has joined #ruby-lang
madish has quit [Quit: ChatZilla 0.9.90 [Firefox 16.0.1/20121026125834]]
mercwithamouth has quit [Ping timeout: 276 seconds]
sepp2k has quit [Ping timeout: 248 seconds]
rsl has quit [Quit: Textual IRC Client: www.textualapp.com]
amerine has joined #ruby-lang
robbyoconnor has quit [Max SendQ exceeded]
brianpWins has joined #ruby-lang
robbyoconnor has joined #ruby-lang
brianpWins has quit [Client Quit]
amerine has quit [Client Quit]
gregmore_ has joined #ruby-lang
rue has joined #ruby-lang
jerrytgarcia has quit [Read error: Connection reset by peer]
jerrytgarcia has joined #ruby-lang
sn0wb1rd has quit [Quit: sn0wb1rd]
MaddinXx_ has quit [Remote host closed the connection]
gnufied1 has quit [Quit: Leaving.]
beho_ has quit [Remote host closed the connection]
robbyoconnor has quit [Excess Flood]
jigfox has quit [Quit: jigfox]
robbyoconnor has joined #ruby-lang
sebasoga has quit [Quit: Computer has gone to sleep.]
sailias has joined #ruby-lang
MaddinXx has joined #ruby-lang
kgrz has quit [Quit: Computer has gone to sleep.]
dankest has joined #ruby-lang
jonahR has joined #ruby-lang
apeiros_ has joined #ruby-lang
ilyam has joined #ruby-lang
BigFatFatty has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
dc5ala has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
idkazuma has quit [Remote host closed the connection]
benlovell has joined #ruby-lang
netShadow_ has joined #ruby-lang
zmack_ has quit [Remote host closed the connection]
nertzy2 has joined #ruby-lang
jmeeuwen_ has joined #ruby-lang
zzak_ has joined #ruby-lang
Gekz` has joined #ruby-lang
yxhuvud has joined #ruby-lang
robbyoconnor has quit [Max SendQ exceeded]
dblack__ has quit [Quit: dblack__]
robbyoconnor has joined #ruby-lang
injekt_ has joined #ruby-lang
BigFatFa1ty has joined #ruby-lang
Rubennn_ has joined #ruby-lang
mbr_ has joined #ruby-lang
barttenbrinke has joined #ruby-lang
jashank_ has joined #ruby-lang
__butch__ has joined #ruby-lang
Guu has joined #ruby-lang
davidbalbert is now known as davidbalber|away
sn0wb1rd has joined #ruby-lang
rsl has joined #ruby-lang
idkazuma has joined #ruby-lang
r0bby has joined #ruby-lang
BigFatFatty has quit [*.net *.split]
agnitio has quit [*.net *.split]
adayzdone has quit [*.net *.split]
yalue has quit [*.net *.split]
nkr has quit [*.net *.split]
netShadow has quit [*.net *.split]
injekt has quit [*.net *.split]
Gekz has quit [*.net *.split]
walbert has quit [*.net *.split]
jmeeuwen has quit [*.net *.split]
Bwild has quit [*.net *.split]
noop has quit [*.net *.split]
nertzy has quit [*.net *.split]
musl has quit [*.net *.split]
Rubennn has quit [*.net *.split]
zzak has quit [*.net *.split]
jashank has quit [*.net *.split]
singpolyma has quit [*.net *.split]
yxhuvud2 has quit [*.net *.split]
mbr has quit [*.net *.split]
antbody has quit [*.net *.split]
anekos has quit [*.net *.split]
netShadow_ is now known as netShadow
jmeeuwen_ is now known as jmeeuwen
wallclockbuilder has joined #ruby-lang
robbyoconnor has quit [Read error: Connection reset by peer]
barttenbrinke has quit [Ping timeout: 264 seconds]
singpolyma has joined #ruby-lang
fragamus has joined #ruby-lang
sebasoga has joined #ruby-lang
Bwild has joined #ruby-lang
joevandyk has joined #ruby-lang
techlife has quit [Ping timeout: 256 seconds]
hapster has quit [Quit: Leaving]
r0bby has quit [Remote host closed the connection]
r0bby_ has joined #ruby-lang
musl has joined #ruby-lang
yalue has joined #ruby-lang
injekt_ has left #ruby-lang [#ruby-lang]
noop has joined #ruby-lang
injekt has joined #ruby-lang
fragamus has quit [Quit: Computer has gone to sleep.]
walbert has joined #ruby-lang
Swimming_Bird has quit [Quit: Computer has gone to sleep.]
jondot has joined #ruby-lang
techlife has joined #ruby-lang
anekos has joined #ruby-lang
mistym is now known as mistym_lunch
r0bby_ has quit [Remote host closed the connection]
robbyoconnor has joined #ruby-lang
Rarrikins_e has joined #ruby-lang
<Rarrikins_e> Are there any good web scraping libraries that can get mildly formatted text out of a complex page?
<breakingthings> Nokogiri can parse HTML...
idkazuma has quit [Remote host closed the connection]
<Paradox> i'm having trouble with jon greuber's url regex
<breakingthings> dunno much of anything about any scraping-focused libraries.
<Paradox> ruby keeps barfing on it
<Paradox> (?i)\b((?:[a-z][\w-]+:(?:/{1,3}|[a-z0-9%])|www\d{0,3}[.]|[a-z0-9.\-]+[.][a-z]{2,4}/)(?:[^\s()<>]+|\(([^\s()<>]+|(\([^\s()<>]+\)))*\))+(?:\(([^\s()<>]+|(\([^\s()<>]+\)))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))
<Rarrikins_e> Ahh, OK. I'll check that out. Thanks.
<Paradox> syntax error, unexpected $end, expecting ')'...))*\)|[^\s`!()\[\]{};:'".,<>?«»“”‘’]))/) do |m|
<Rarrikins_e> Paradox: It's better to use a library for that. Even popular regexes are usually not fully valid. I hate how so many sites can't handle plusses in e-mail addresses.
<Paradox> sigh damnit, ok
<Paradox> i was hoping to keep the dependencies down
<Rarrikins_e> Oh, I see.
<Paradox> the problem is
<Paradox> im getting user inputted strings
<Paradox> and i want to take them all and run em through a shortener
<Paradox> its for a reddit sidebar bot
<Paradox> but they can be ANYWHERE in the text
<Rarrikins_e> Oh, OK
robbyoconnor has quit [Max SendQ exceeded]
<Paradox> and i don't want to have to load something like redcarpet just to shoreten urls
<Paradox> heh
<Paradox> his regex is pretty comprehensive
<Paradox> i wonder, does the built in URI library support pulling a url out of a hairy string?
davidbalber|away is now known as davidbalbert
<Paradox> haha yes it does
runeb has joined #ruby-lang
<Paradox> ah damnit, that doesnt solve my problem though
<Paradox> i need to gsub them
swav_ has quit [Remote host closed the connection]
<Paradox> mmm
robbyoconnor has joined #ruby-lang
tdy_ has quit [Read error: Operation timed out]
brianpWins has joined #ruby-lang
kevinfagan has quit [Quit: Leaving...]
<Paradox> doh, URI.regexp
<Paradox> Rarrikins_e, thanks for listening to me walk through a problem, heh
<naquad> i need to get text, its position, font family and size from pdf document. which gem can help me with that/
<naquad> ?
joevandyk has quit [Quit: joevandyk]
<Paradox> pdf
<Rarrikins_e> Paradox: http://codepad.org/d25ZuE9X
<naquad> Paradox, ?
<Rarrikins_e> Paradox: If you want to use that linked regex.
<Paradox> Rarrikins_e, "hello http://world.com".gsub(URI.regexp)
<Rarrikins_e> Ahh, cool :)
<Paradox> erm
<Paradox> not pdf
runeb has quit [Ping timeout: 264 seconds]
<Paradox> pdf-reader works naquad
<naquad> Paradox, it does, but i don't see any way to get at least text objects
<Paradox> try pdf-inspector then
<Paradox> or pdf-extract
<naquad> Paradox, hm, thanks, seems it'll do the trick
joevandyk has joined #ruby-lang
<mehwork> my arrays don't seem to have a .second method, like i see in tutorials. any idea why? .first and .last work though
jigfox has joined #ruby-lang
joevandyk has quit [Client Quit]
<naquad> yeah, pdf-extract does the trick. thank you very much!
<lectrick> Paradox: Heh, daringfireball's URL matcher is crap. Here is the one I wrote: https://gist.github.com/pmarreck/2956396
<Paradox> lectrick, heh, thanks, but i'm using URI.regexp
<Paradox> mehwork, .second comes from activesupport, which is a part of rails
<mehwork> Paradox: i see, does that mean it makes a .third too?
<Paradox> i dont believe so
<Paradox> you really dont need those anyway
<Paradox> they're convenience methods
<Paradox> better to use [0], [1], and [-1]
tonni has joined #ruby-lang
<mehwork> it's not more conventional to use a.last instead of a[-1] in ruby?
<lectrick> Paradox: Heh, I duplicated it apparently. And, I think, possibly improved it, although I'd have to rework it to use the same API. But... cheers!
Swimming_Bird has joined #ruby-lang
<lectrick> Is it possible to capture a non-matching group in regex?
Swimming_Bird has quit [Max SendQ exceeded]
<mehwork> yep
breakingthings has quit []
<lectrick> Syntax example?
Swimming_Bird has joined #ruby-lang
<Paradox> hrm
<Paradox> i didnt think ) could be in urls
<Paradox> guess i was wrong
<mehwork> lectrick: negative lookahead (?!) iirc
<mehwork> to match a q not followed by a u: q(?!u)
<mehwork> to match everythig except if it contains foo: ^(?!.*foo*).*$
maxmanders has quit [Quit: Computer has gone to sleep.]
<mehwork> knowing ruby, there's probably convenience methods that can hold the non matches too
mrsolo has joined #ruby-lang
<lectrick> yeah, but I want to capture something that doesn't actually match the next character.
<lectrick> basically, I want a regex that when set upon a string 'a', $1 returns 'b'
<mehwork> doesn't sound like a job for a regex to me
<mehwork> but i'm no regexpert
davidbalbert is now known as davidbalber|away
pepper_chico has quit [Quit: Computer has gone to sleep.]
benanne has joined #ruby-lang
<andrewvos> Gah someone write me a blurb for the beginning of my cv
<mehwork> andrewvos: See my gitub: <url>
ilyam has quit [Read error: Connection reset by peer]
benlovell has quit [Quit: Zzz]
<mehwork> github
mrsolo has left #ruby-lang [#ruby-lang]
<andrewvos> mehwork: People want more bullshitty stuff
<mehwork> only bullshitty people
<lectrick> mehwork: yeah, I am just curious to see if it is possible. "if the next character is a, capture a b, but don't match on it"
ilyam has joined #ruby-lang
<mehwork> not any cool company you'd wanna work for
<andrewvos> I'm a contractor, the people I'm targetting don't know what the git hubs are
<mehwork> then for those people just put "Rock star PHP guru"
<mehwork> done and done
<andrewvos> I won't sink that low
<lectrick> lol
<dorei> will code php for food xD
<andrewvos> Would rather starve
dblack__ has joined #ruby-lang
<mehwork> write your cv in csv
pepper_chico has joined #ruby-lang
<dorei> ascii art xD
pepper_chico has quit [Max SendQ exceeded]
<mehwork> they'll think your clever and will probably be handing you tons of csv files to parse anyway
<Paradox> i have a cv.yaml
<Paradox> for particularly geeky bosses
pepper_chico has joined #ruby-lang
pepper_chico has quit [Max SendQ exceeded]
<mehwork> i have cv.DONTREADME
<mehwork> i just use linkedin instead of a cv
pepper_chico has joined #ruby-lang
pepper_chico has quit [Max SendQ exceeded]
tomzx_mac has quit [Ping timeout: 255 seconds]
<mehwork> cv's are great...if you want recruiters spamming you all day
pepper_chico has joined #ruby-lang
pepper_chico has quit [Max SendQ exceeded]
pepper_chico has joined #ruby-lang
pepper_chico has quit [Max SendQ exceeded]
pepper_chico has joined #ruby-lang
pepper_chico has quit [Max SendQ exceeded]
skade has joined #ruby-lang
pepper_chico has joined #ruby-lang
mrsolo has joined #ruby-lang
<zzak_> how does a text file generate recruiter spam? i would think linkedin would cause that
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
Stilo has joined #ruby-lang
<yorickpeterse> I have CV.md
Stilo has quit [Max SendQ exceeded]
<yorickpeterse> and convert it to PDF using pandoc
* yorickpeterse brushes neckbeard
<mehwork> linkedin doesn't show your profile publically
<yorickpeterse> `pandoc CV.md --variable mainfont=Georgia --latex-engine=xelatex -o build/CV.pdf` to be exact
<yorickpeterse> neckbeard++
tdy_ has joined #ruby-lang
<mehwork> zzak they get ahold of it and once one recruiter gets ahold of your resume, via dice.com, or anywhere you publish it, it ends up in ALL of their databases forever
<mehwork> and whats worse is if you don't update it, then 4 years later you get all kinds of stupid spam for lower paying jobs doing outdated stuff
<mehwork> whatever you do, don't put your phone number in it. It's bad enough getting email spam. THe worst is when you're at work all day and having recruiters call your cellphone
<zzak_> yeh, dont publish it
brianpWins has quit [Quit: brianpWins]
<zzak_> nothing wrong with having one tho
ilyam has quit [Quit: ilyam]
robbyoconnor has quit [Max SendQ exceeded]
<mehwork> whenever I answer my phone and hear "Hi, is this mehwork?" I respond "Hi, is this a recruiter?". That's how many times they call me
robbyoconnor has joined #ruby-lang
<mehwork> I don't know. I just wouldn't want any job that cared about a resume. Sounds like a boring corporate place. All the jobs i've had that needed one sucked hard and all the ones that didn't were awesome
<zzak_> dont give out your cell phone and get a separate line for your office
<mehwork> I'm sure there are exceptions. If someone really wnated a resume I'd just print out paste my linkedin to a file and print it
<zzak_> that also helps
snarfmason has quit [Quit: Textual IRC Client: www.textualapp.com]
<zzak_> in general job seeking sucks tho
thone_ has joined #ruby-lang
marr has quit [Ping timeout: 256 seconds]
beho has joined #ruby-lang
thone has quit [Ping timeout: 252 seconds]
brianpWins has joined #ruby-lang
krohrbaugh has quit [Read error: Connection reset by peer]
krohrbaugh has joined #ruby-lang
ilyam has joined #ruby-lang
benlovell has joined #ruby-lang
__Big0__ has quit [Remote host closed the connection]
<andrewvos> orly
<Paradox> My uncle once punched a man so hard his legs turned into trombones
<andrewvos> orly
sush24 has quit [Quit: This computer has gone to sleep]
plusk has quit [Quit: plusk]
thone has joined #ruby-lang
__Big0__ has joined #ruby-lang
runeb has joined #ruby-lang
thone_ has quit [Ping timeout: 245 seconds]
Stilo has joined #ruby-lang
sush24 has joined #ruby-lang
runeb has quit [Ping timeout: 264 seconds]
pr0ton has joined #ruby-lang
mistym_lunch is now known as mistym
breakingthings has joined #ruby-lang
benlovell has quit [Quit: Zzz]
dc5ala has quit [Ping timeout: 276 seconds]
dblack__ has quit [Quit: dblack__]
gregf has joined #ruby-lang
retro|cz has quit [Read error: Connection reset by peer]
jerrytgarcia has quit [Read error: Connection reset by peer]
jerrytgarcia has joined #ruby-lang
tonni has quit [Remote host closed the connection]
pr0ton has quit [Ping timeout: 248 seconds]
jondot has quit [Ping timeout: 245 seconds]
postmodern has joined #ruby-lang
davidbalber|away is now known as davidbalbert
dhruvasagar has quit [Ping timeout: 276 seconds]
retro|cz has joined #ruby-lang
sush24 has quit [Quit: This computer has gone to sleep]
wallclockbuilder has quit [Ping timeout: 252 seconds]
wallclockbuilder has joined #ruby-lang
tenderlove has joined #ruby-lang
xcombelle has quit [Read error: Connection reset by peer]
brianpWins has quit [Quit: brianpWins]
hahuang65 has joined #ruby-lang
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
robbyoconnor has quit [Ping timeout: 250 seconds]
pr0ton has joined #ruby-lang
brianpWins has joined #ruby-lang
krohrbaugh1 has joined #ruby-lang
krohrbaugh has quit [Read error: Connection reset by peer]
wallclockbuilder has quit [Remote host closed the connection]
krohrbaugh1 has quit [Read error: Connection reset by peer]
krohrbaugh has joined #ruby-lang
brianpWins has quit [Client Quit]
JoL1hAHN has quit [Quit: WeeChat 0.3.2]
brianpWins has joined #ruby-lang
brianpWins has quit [Client Quit]
sush24 has joined #ruby-lang
aedorn has quit [Quit: Leaving]
cored has quit [Read error: Operation timed out]
JoL1hAHN has joined #ruby-lang
tsou has quit [Quit: Lost terminal]
cored has joined #ruby-lang
cored has joined #ruby-lang
cored has quit [Changing host]
io_syl has joined #ruby-lang
io_syl has quit [Client Quit]
dblack_ has joined #ruby-lang
io_syl has joined #ruby-lang
<whitequark> yorickpeterse: that's a cool way to make a CV, thank
<whitequark> *thanks
<whitequark> if I would ever need to send it anywhere, which I hope I won't, I'll take note
jondot has joined #ruby-lang
jondot has quit [Client Quit]
skade has quit [Quit: Computer has gone to sleep.]
cultureulterior has quit [Quit: cultureulterior]
<zzak_> i think i used gimli before pandoc once
<zzak_> and just wrote a Makefile to build it for me
benlovell has joined #ruby-lang
skade has joined #ruby-lang
<r0bgleeson> yorickpeterse: yeah thats a cool way to keep a CV, i much prefer writing markdown than dealing with openoffice :)
rippa has quit [Ping timeout: 240 seconds]
sebastia_ has joined #ruby-lang
workmad3 has joined #ruby-lang
<yorickpeterse> :)
aedorn has joined #ruby-lang
<yorickpeterse> pandoc is pretty sweet for these things
tsou has joined #ruby-lang
sebastiansier has quit [Ping timeout: 256 seconds]
sepp2k1 has quit [Read error: Connection reset by peer]
madish has joined #ruby-lang
benlovell has quit []
ivanoats has quit [Remote host closed the connection]
grough has joined #ruby-lang
ryanf has joined #ruby-lang
tonni has joined #ruby-lang
pr0ton has quit [Ping timeout: 272 seconds]
sush24 has quit [Quit: This computer has gone to sleep]
emocakes has joined #ruby-lang
ivanoats has joined #ruby-lang
nkr has joined #ruby-lang
marr has joined #ruby-lang
bantic has joined #ruby-lang
francisfish has joined #ruby-lang
agile has quit [Ping timeout: 245 seconds]
NemesisD has joined #ruby-lang
agile has joined #ruby-lang
pkrnj has joined #ruby-lang
sebastia_ has quit [Remote host closed the connection]
skade has quit [Quit: Textual IRC Client: www.textualapp.com]
pr0ton has joined #ruby-lang
MaddinXx has quit [Remote host closed the connection]
adambeynon has joined #ruby-lang
carloslopes has quit [Remote host closed the connection]
nazty has quit [Read error: Connection reset by peer]
dblack_ has quit [Quit: dblack_]
solars has quit [Read error: Operation timed out]
runeb has joined #ruby-lang
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
runeb has quit [Ping timeout: 256 seconds]
Squarepy has quit [Quit: Leaving]
s0ber_ has joined #ruby-lang
s0ber has quit [Ping timeout: 245 seconds]
s0ber_ is now known as s0ber
jerrytgarcia has quit [Read error: Connection reset by peer]
jerrytgarcia has joined #ruby-lang
robbyoconnor has joined #ruby-lang
gustavnils has quit [Quit: Textual IRC Client: www.textualapp.com]
levifig has quit [Excess Flood]
bantic_ has joined #ruby-lang
levifig has joined #ruby-lang
yalue has quit [Read error: Connection reset by peer]
bantic has quit [Ping timeout: 260 seconds]
bantic_ is now known as bantic
iamjarvo has quit [Quit: Leaving.]
zenspider has joined #ruby-lang
<zenspider> rawr
<zenspider> how goes peeps?
davidbalbert is now known as davidbalber|away
pkrnj has quit [Quit: Computer has gone to sleep.]
jonahR has quit [Quit: jonahR]
bluepojo has joined #ruby-lang
fragamus has joined #ruby-lang
Stilo has joined #ruby-lang
amerine has joined #ruby-lang
kurko_ has quit [Ping timeout: 252 seconds]
kurko_ has joined #ruby-lang
kurko_ has quit [Max SendQ exceeded]
kurko_ has joined #ruby-lang
kurko_ has quit [Max SendQ exceeded]
kurko_ has joined #ruby-lang
kurko_ has quit [Max SendQ exceeded]
krohrbaugh1 has joined #ruby-lang
krohrbaugh has quit [Read error: Connection reset by peer]
kurko_ has joined #ruby-lang
baustin has quit [Read error: Connection reset by peer]
brianpWins has joined #ruby-lang
<zzak_> it goes
<zzak_> zenspider: did you get my patch?
rsl has quit [Ping timeout: 256 seconds]
rsl has joined #ruby-lang
krohrbaugh has joined #ruby-lang
krohrbaugh1 has quit [Read error: Connection reset by peer]
enebo has quit [Quit: enebo]
kevinfagan has joined #ruby-lang
amerine has quit [Ping timeout: 245 seconds]
amerine has joined #ruby-lang
wobblini has joined #ruby-lang
amerine has quit [Client Quit]
mercwithamouth has joined #ruby-lang
miq has joined #ruby-lang
walbert has quit [Remote host closed the connection]
miq is now known as Guest37505
Guest37505 has quit [Client Quit]
miquella has joined #ruby-lang
madish has quit [Quit: ChatZilla 0.9.90 [Firefox 16.0.1/20121026125834]]
mjio has joined #ruby-lang
sailias has quit [Ping timeout: 264 seconds]
workmad3 has quit [Ping timeout: 264 seconds]
Swimming_Bird has quit [Quit: Computer has gone to sleep.]
blacktulip has quit [Remote host closed the connection]
runeb has joined #ruby-lang
pkrnj has joined #ruby-lang
cirenyc has quit [Quit: Leaving...]
runeb has quit [Ping timeout: 256 seconds]
xalei has joined #ruby-lang
Criztian has joined #ruby-lang
wardrop has joined #ruby-lang
davidbalber|away is now known as davidbalbert
<zenspider> zzak_: I did. just been sick
<zzak_> :(
mercwithamouth has quit [Ping timeout: 255 seconds]
Swimming_Bird has joined #ruby-lang
Swimming_Bird has quit [Max SendQ exceeded]
Swimming_Bird has joined #ruby-lang
Swimming_Bird has quit [Max SendQ exceeded]
Swimming_Bird has joined #ruby-lang
Swimming_Bird has quit [Max SendQ exceeded]
Swimming_Bird has joined #ruby-lang
Swimming_Bird has quit [Max SendQ exceeded]
Swimming_Bird has joined #ruby-lang
Swimming_Bird has quit [Max SendQ exceeded]
Swimming_Bird has joined #ruby-lang
amerine has joined #ruby-lang
francisfish has quit [Remote host closed the connection]
jerrytgarcia has quit [Quit: Linkinus - http://linkinus.com]
krohrbaugh has quit [Quit: Leaving.]
pr0ton has quit [Ping timeout: 245 seconds]
krohrbaugh has joined #ruby-lang
pr0ton has joined #ruby-lang
amerine has quit [Ping timeout: 245 seconds]
emocakes has quit [Quit: emocakes]
grough has quit [Quit: Computer has gone to sleep.]
joevandyk has joined #ruby-lang
havenn has joined #ruby-lang
joevandyk has quit [Client Quit]
Xzyx987X has quit [Ping timeout: 248 seconds]
Criztian has quit [Remote host closed the connection]
Rarrikins has joined #ruby-lang
davidbalbert is now known as davidbalber|away
pkrnj has quit [Quit: Computer has gone to sleep.]
alessio_rocco has quit [Remote host closed the connection]
Rarrikins_e has quit [Ping timeout: 276 seconds]
Rarrikins has quit [Ping timeout: 245 seconds]
Xzyx987X has joined #ruby-lang
Rarrikins has joined #ruby-lang
idkazuma has joined #ruby-lang
kurko_ has quit [Quit: Computer has gone to sleep.]
tbuehlmann has joined #ruby-lang
intellitech has quit [Quit: intellitech]
krohrbaugh has quit [Quit: Leaving.]
retro|cz has quit [Ping timeout: 240 seconds]
<zzak_> zenspider: hope youre feelin better!
brianpWins has quit [Ping timeout: 255 seconds]
havenn is now known as havenwood
beho has quit [Remote host closed the connection]
netShadow has quit [Quit: netShadow]
ivanoats has quit [Remote host closed the connection]
krohrbaugh has joined #ruby-lang
benanne has quit [Quit: kbai]
breakingthings has quit []
mercwithamouth has joined #ruby-lang
brianpWins has joined #ruby-lang
snarfmason has joined #ruby-lang
__Big0__ has quit [Remote host closed the connection]
forrest has quit [Quit: Leaving]
__Big0__ has joined #ruby-lang
mistym has quit [Remote host closed the connection]
synackted has joined #ruby-lang
retro|cz has joined #ruby-lang
synackted has left #ruby-lang [#ruby-lang]
krohrbaugh has quit [Quit: Leaving.]
krohrbaugh has joined #ruby-lang
ivanoats has joined #ruby-lang
emocakes has joined #ruby-lang
kurko_ has joined #ruby-lang
amerine has joined #ruby-lang
snarfmason has quit [Quit: Computer has gone to sleep.]
<andrewvos> injekt: have you been to gaucho?
outoftime has quit [Quit: Leaving]
emocakes has quit [Quit: emocakes]
snarfmason has joined #ruby-lang
hasimo has joined #ruby-lang
brianpWins has quit [Ping timeout: 272 seconds]
justinra_ has quit [Remote host closed the connection]
toretore has quit [Quit: Leaving]
hahuang65 has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
retro|cz has quit [Ping timeout: 264 seconds]
wyhaines has quit [Remote host closed the connection]
walbert has joined #ruby-lang
jarib has quit [Quit: Lost terminal]
pepper_chico has quit [Quit: Computer has gone to sleep.]
ivanoats has quit [Remote host closed the connection]
srbaker has quit [Quit: Computer has gone to sleep.]
Stilo has quit [Quit: Textual IRC Client: www.textualapp.com]
davidbalber|away is now known as davidbalbert
snarfmason has quit [Quit: Computer has gone to sleep.]
pepper_chico has joined #ruby-lang
dustint has quit [Quit: Leaving]
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
KU0N has quit [Quit: Leaving...]
KU0N has joined #ruby-lang
wmoxam has quit [Ping timeout: 245 seconds]
nXqd has quit [Ping timeout: 276 seconds]
spuk has joined #ruby-lang
<imperator> oh god *****
amerine has quit [Quit: Computer has gone to sleep.]
<zenspider> imperator: ?
nertzy3 has joined #ruby-lang
tbuehlmann has quit [Quit: Yaaic - Yet another Android IRC client - http://www.yaaic.org]
gregmore_ has quit []
<imperator> i thought ruby borked my environment, but it turns out something is fubar in the ffi extconf.rb file
gregmore_ has joined #ruby-lang
<imperator> i didn't realize anything had changed
<imperator> or maybe something did, not sure yet
<imperator> this line: $CFLAGS.gsub!(/-std=[^\s]+/, '')
<imperator> if i comment that line out, it works
<imperator> with it there, i get a failed compile attempt error
nertzy2 has quit [Ping timeout: 245 seconds]
* imperator looks at the file history
tdy_ has quit [Read error: Connection reset by peer]
torrieri has quit [Quit: Linkinus - http://linkinus.com]
<zenspider> so, if you include a module in a class you can test for the module in the ancestry
<Paradox> hehe
<Paradox> my resume is YAML
<zenspider> if you EXTEND a class with a module... how can you test for that? is ducktyping the only way?
tdy_ has joined #ruby-lang
knoxy has quit [Ping timeout: 245 seconds]
QaDeS_ has quit [Quit: Ex-Chat]
<imperator> i686-apple-darwin10-gcc-4.2.1: -E or -x required when input is from standard input
<banisterfiend> zenspider: class.is_a?(TheModule)
<ryanf> or probably class << klass; self.ancestors.include?(TheModule); end right?
<zenspider> imperator: yeah. that really sucks.
<zenspider> I remember coding C straight to the compiler
<zenspider> THOSE WERE THE DAYS
<zenspider> you pretty much win all nerd dick wagging contests with that move
tomzx_mac has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
<banisterfiend> ryanf: Klass.singleton_class < TheModule is cuter ;)
<imperator> zenspider, um...ok
<zenspider> is_a? works all the way back to 1.8, so I'll stick with that. thanks banisterfiend
<banisterfiend> :)