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
idkazuma has joined #ruby-lang
apeiros has joined #ruby-lang
ruby-lang303 has joined #ruby-lang
jumpei has joined #ruby-lang
ruby-lang303 has quit [Client Quit]
brad_ has joined #ruby-lang
cmaxw has quit [Quit: cmaxw]
apeiros has quit [Ping timeout: 264 seconds]
jacknagel has joined #ruby-lang
mbull9 has quit [Remote host closed the connection]
hahuang65 has quit [Quit: Computer has gone to sleep.]
mistym has quit [Remote host closed the connection]
wmoxam has joined #ruby-lang
pkrnj has joined #ruby-lang
brad_ has quit [Quit: Page closed]
tdy_ has joined #ruby-lang
brad_ has joined #ruby-lang
<darix> whitequark: so it actually is a libxslt issue not necessarily an nokogiri issue right?
spuk has joined #ruby-lang
brad_ has quit [Quit: Page closed]
bzalasky has quit [Remote host closed the connection]
<darix> whitequark: what should nokogiri do about it? requiring the latest libxslt version or even worse bundling it doesnt make sense
headius has joined #ruby-lang
ruby-lang859 has joined #ruby-lang
ledestin has joined #ruby-lang
<ruby-lang859> Is Josh Sm from Ruby Haingoot here?
<ruby-lang859> I mean Josh SZ
torrieri has quit [Quit: Leaving...]
ruby-lang859 has quit [Client Quit]
dingus_khan has joined #ruby-lang
<drbrain> I think there is a branch of nokogiri that does all the fetching and compiling for latest libxml2/libxslt
randomlogin has joined #ruby-lang
randomlogin has left #ruby-lang [#ruby-lang]
idkazuma has quit [Remote host closed the connection]
<r0bglees0n> why not upgrade yourself and rebuild nokogiri?
mistym has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
krohrbaugh has joined #ruby-lang
<drbrain> you shouldn't even need to rebuild nokogiri
<drbrain> but, the branch is mostly for people who don't have libxml2/libxslt in the first place, or have a terribly outdated version
megha has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 252 seconds]
baba has quit [Ping timeout: 252 seconds]
wmoxam has quit [Ping timeout: 264 seconds]
idkazuma has joined #ruby-lang
<r0bglees0n> drbrain: id honestly let it be their problem. most people use and appreciate their package managers instead of vendoring in gems.
cored has quit [Ping timeout: 246 seconds]
wmoxam has joined #ruby-lang
agarie has quit [Read error: Connection reset by peer]
agarie has joined #ruby-lang
<r0bglees0n> does anyone know when https://www.youtube.com/watch?v=xuka0mCFZ2o begins?
cored has joined #ruby-lang
cored has quit [Changing host]
cored has joined #ruby-lang
torrieri has joined #ruby-lang
fosky has joined #ruby-lang
wallerdev has joined #ruby-lang
krohrbaugh has joined #ruby-lang
bright_day has joined #ruby-lang
iamjarvo has joined #ruby-lang
anildigital_work has joined #ruby-lang
torrieri has quit [Ping timeout: 252 seconds]
dingus_khan has quit [Ping timeout: 246 seconds]
towski has quit [Remote host closed the connection]
<whitequark> darix: yes, not a nokogiri issue
<whitequark> I was mainly thinking about binding to a particular version, but after a second thought it seems likely that you cannot distinguish that in a distro-independent way
jumpei has quit [Remote host closed the connection]
<darix> whitequark: imho the only real check would be running your snippet as configure check and refuse building
<darix> but not sure you really want to put all that mess there
<whitequark> eww, autoconf :/
tsou has quit [Quit: Lost terminal]
<whitequark> or wait, it's probably extconf.rb?
<darix> whitequark: i used configure loosely
<whitequark> yeah
<darix> probably extconf.rb
<whitequark> I think this makes sense
krohrbaugh has quit [Quit: Leaving.]
bright_day has quit [Remote host closed the connection]
tsou has joined #ruby-lang
jhn has joined #ruby-lang
krohrbaugh has joined #ruby-lang
pbjorklund has quit [Ping timeout: 252 seconds]
krohrbaugh has quit [Client Quit]
Averna has quit [Quit: Leaving.]
Averna has joined #ruby-lang
krohrbaugh has joined #ruby-lang
techlife has quit [Ping timeout: 264 seconds]
retro|cz has joined #ruby-lang
krohrbaugh has quit [Client Quit]
bzalasky has joined #ruby-lang
krohrbaugh has joined #ruby-lang
pbjorklund has joined #ruby-lang
torrieri has joined #ruby-lang
torrieri has quit [Client Quit]
techlife has joined #ruby-lang
techlife has quit [Max SendQ exceeded]
techlife has joined #ruby-lang
techlife has quit [Max SendQ exceeded]
techlife has joined #ruby-lang
techlife has quit [Max SendQ exceeded]
techlife has joined #ruby-lang
techlife has quit [Max SendQ exceeded]
techlife has joined #ruby-lang
lcdhoffman has joined #ruby-lang
idkazuma has quit [Remote host closed the connection]
soypirate has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 252 seconds]
spuk has quit [Ping timeout: 252 seconds]
spuk has joined #ruby-lang
Invac has quit []
bzalasky has quit [Remote host closed the connection]
Tectonic has quit []
Gaelan has joined #ruby-lang
agarie has quit [Read error: Connection reset by peer]
agarie has joined #ruby-lang
fallenhitokiri has quit [Ping timeout: 240 seconds]
fallenhitokiri has joined #ruby-lang
Tectonic has joined #ruby-lang
soknee has joined #ruby-lang
stonerfish has joined #ruby-lang
kgrz has joined #ruby-lang
chessguy has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
tallship has joined #ruby-lang
chessguy has joined #ruby-lang
dhruvasagar has joined #ruby-lang
havenwood has quit [Remote host closed the connection]
gregmoreno has quit [Remote host closed the connection]
gregmoreno has joined #ruby-lang
aja has joined #ruby-lang
stonerfish has quit [Quit: Leaving.]
stonerfish has joined #ruby-lang
lsegal has joined #ruby-lang
xxaM has joined #ruby-lang
intellitech has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
dhruvasagar has quit [Remote host closed the connection]
wmoxam has quit [Ping timeout: 245 seconds]
Guest87384 has left #ruby-lang [#ruby-lang]
stonerfish has quit [Quit: Leaving.]
aja has left #ruby-lang [#ruby-lang]
kgrz has quit [Quit: Computer has gone to sleep.]
aja has joined #ruby-lang
aja has left #ruby-lang [#ruby-lang]
chimkan_ has quit [Quit: chimkan_]
robbyoconnor has joined #ruby-lang
wallerdev has quit [Read error: No route to host]
wallerdev has joined #ruby-lang
Gaelan has quit [Remote host closed the connection]
chimkan_ has joined #ruby-lang
bzalasky has joined #ruby-lang
<TheNotary> I have a CustomClass, and I'd like it to be able to do ` "a string" += cc ` without having to explicitly specify .to_s, but it's giving me trouble. Says type error can't converit blah to string
stonerfish has joined #ruby-lang
<TheNotary> The class is HtmlTemplate
<TheNotary> now that I look at it... that's way too sloppy to be posting on irc, lol, nvmd
charliesome has joined #ruby-lang
intellitech has left #ruby-lang [#ruby-lang]
tylersmith has joined #ruby-lang
<mistym> I think I have an interesting corollary to "Could god create a rock so heavy he himself could not lift it?"
<TheNotary> Here's a cleaner problem case if anyone can help https://gist.github.com/TheNotary/5307465
<mistym> Ruby just created a JSON file it itself cannot parse. :(
<TheNotary> lol
<mistym> Well crap. I wonder how else I can marshal this.
<TheNotary> what are you marshalling, btw?
<mistym> Arrays of ASCII art strings. JSON and YAML both barfed.
<mistym> I suppose they don't deal well with unusual characters...
Gaelan has joined #ruby-lang
<bnagy> mistym: messagepack
<bnagy> or, like, Marshal
<mistym> bnagy: Thanks, I'll try those.
<bnagy> json and yaml get pissy about invalid encoding combos
<bnagy> although I am surprised that you can annoy them with 'normal' ( 7 bit ) ascii
<mistym> Yeah, I thought that was weird too.
intellitech has joined #ruby-lang
<bnagy> oh, duh, probably not encoding, probably just unescaped delimiters or terminators of some kind
<bnagy> ascii art would be a pretty evil testcase for that
glebm has joined #ruby-lang
<mistym> aalib should obviously be a part of ruby's testsuite.
<mistym> Hooray, marshal did the trick! Thanks again for the suggestion.
chessguy has quit [Remote host closed the connection]
towski has joined #ruby-lang
stardiviner has quit [Quit: my website: http://stardiviner.dyndns-blog.com/]
<bnagy> np, obviously Marshal is ruby to ruby only
stardiviner has joined #ruby-lang
anonymuse has joined #ruby-lang
tylersmith has quit [Quit: tylersmith]
stonerfish has quit [Quit: Leaving.]
cordax has joined #ruby-lang
soypirate has quit [Quit: Leaving]
ivanoats has joined #ruby-lang
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
krohrbaugh has joined #ruby-lang
krohrbaugh has quit [Client Quit]
ivanoats has quit [Ping timeout: 256 seconds]
bzalasky has quit [Remote host closed the connection]
chimkan_ has quit [Ping timeout: 252 seconds]
mbull9 has joined #ruby-lang
amerine has quit [Quit: Computer has gone to sleep.]
TheNotary has quit [Quit: Leaving]
randym_ has joined #ruby-lang
bzalasky has joined #ruby-lang
jwollert- has joined #ruby-lang
ben_ has joined #ruby-lang
wnd has joined #ruby-lang
randym has quit [Ping timeout: 258 seconds]
jwollert has quit [Ping timeout: 258 seconds]
foca has quit [Ping timeout: 258 seconds]
brixen has quit [Ping timeout: 258 seconds]
ben has quit [Ping timeout: 258 seconds]
wnd^ has quit [Read error: Connection reset by peer]
FlyingLeap_ has quit [Read error: Connection reset by peer]
FlyingLeap has joined #ruby-lang
khaase_ has quit [Ping timeout: 258 seconds]
kotp has quit [Ping timeout: 258 seconds]
foca_ has joined #ruby-lang
vgoff has joined #ruby-lang
brixen has joined #ruby-lang
randym_ is now known as randym
khaase has joined #ruby-lang
anonymuse has quit [Quit: Leaving...]
techlife has quit [Ping timeout: 245 seconds]
ben_ has left #ruby-lang [#ruby-lang]
chimkan has joined #ruby-lang
misunnelig has joined #ruby-lang
techlife has joined #ruby-lang
soknee has quit [Quit: Leaving.]
pygmael has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
ivanoats has joined #ruby-lang
misunnelig has quit [Quit: Leaving]
Xzyx987X_ has joined #ruby-lang
Xzyx987X has quit [Read error: Connection reset by peer]
ivanoats has quit [Read error: Connection reset by peer]
ivanoats has joined #ruby-lang
torrieri has joined #ruby-lang
Gaelan has quit [Remote host closed the connection]
banisterfiend has joined #ruby-lang
tylersmith has joined #ruby-lang
glebm has quit [Quit: Computer has gone to sleep.]
pygmael has quit [Quit: pygmael]
pygmael has joined #ruby-lang
torrieri has quit [Quit: Leaving...]
tomzx_mac has quit [Ping timeout: 252 seconds]
chimkan has quit [Ping timeout: 264 seconds]
apeiros has joined #ruby-lang
ivanoats has quit [Remote host closed the connection]
krohrbaugh has joined #ruby-lang
headius has quit [Quit: headius]
chimkan_ has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 240 seconds]
headius has joined #ruby-lang
headius has quit [Client Quit]
mistym has quit [Remote host closed the connection]
krohrbaugh has joined #ruby-lang
crudson1 has quit [Ping timeout: 240 seconds]
torrieri has joined #ruby-lang
torrieri has quit [Read error: Connection reset by peer]
torrieri has joined #ruby-lang
torrieri has quit [Client Quit]
breakingthings has quit []
apeiros has quit [Remote host closed the connection]
agile has quit [Ping timeout: 255 seconds]
tonni has quit [Remote host closed the connection]
torrieri has joined #ruby-lang
S3kx has joined #ruby-lang
cordax has quit [Quit: Computer has gone to sleep.]
wasnotrice_ has joined #ruby-lang
jg_ has joined #ruby-lang
r0bgl33s0n has joined #ruby-lang
ckipel has joined #ruby-lang
earthquake has quit [Ping timeout: 240 seconds]
ckipel is now known as earthquake
krohrbaugh has quit [Quit: Leaving.]
kain has joined #ruby-lang
t0h has quit [Disconnected by services]
t0h_ has joined #ruby-lang
bca has joined #ruby-lang
bca is now known as Guest15922
DefV_ has joined #ruby-lang
zenspider has quit [Quit: Terminated with extreme prejudice - dircproxy 1.1.0]
FiXato|VPS has joined #ruby-lang
|Vargas| has joined #ruby-lang
Kero_ has joined #ruby-lang
nyuszika1 has joined #ruby-lang
mksm_ has joined #ruby-lang
wasnotrice has quit [Ping timeout: 276 seconds]
Guest44635 has quit [Ping timeout: 276 seconds]
S2kx has quit [Ping timeout: 276 seconds]
nyuszika7h has quit [Ping timeout: 276 seconds]
r0bglees0n has quit [Ping timeout: 276 seconds]
FiXato has quit [Max SendQ exceeded]
DefV has quit [Ping timeout: 276 seconds]
Kero has quit [Ping timeout: 276 seconds]
drbrain has quit [Ping timeout: 276 seconds]
mksm has quit [Ping timeout: 276 seconds]
cmckni3 has quit [Ping timeout: 276 seconds]
sn0wb1rdz has quit [Ping timeout: 276 seconds]
tonni has joined #ruby-lang
drbrain has joined #ruby-lang
sn0wb1rdz has joined #ruby-lang
nyuszika1 is now known as nyuszika7h
agile has joined #ruby-lang
techlife has quit [Ping timeout: 248 seconds]
retro|cz has quit [Ping timeout: 240 seconds]
cordax has joined #ruby-lang
symm- has joined #ruby-lang
techlife has joined #ruby-lang
Weems has quit [Read error: Connection reset by peer]
amerine has joined #ruby-lang
stardiviner has quit [Quit: my website: http://stardiviner.dyndns-blog.com/]
glebm has joined #ruby-lang
pygmael has quit [Quit: pygmael]
Gaelan has joined #ruby-lang
crudson has joined #ruby-lang
pygmael has joined #ruby-lang
mbull9 has quit [Remote host closed the connection]
Gaelan has quit [Ping timeout: 246 seconds]
glebm has quit [Quit: Computer has gone to sleep.]
stardiviner has joined #ruby-lang
Tectonic has quit []
glebm has joined #ruby-lang
tylersmith has quit [Quit: tylersmith]
glebm_ has joined #ruby-lang
glebm has quit [Read error: Connection reset by peer]
glebm_ is now known as glebm
sush24 has joined #ruby-lang
Demux has left #ruby-lang [#ruby-lang]
jhn has quit []
mytrile has joined #ruby-lang
voker57 has joined #ruby-lang
voker57 has quit [Changing host]
voker57 has joined #ruby-lang
nXqd has joined #ruby-lang
tbuehlmann has joined #ruby-lang
mjio has quit []
ddfreyne has quit [Excess Flood]
ddfreyne has joined #ruby-lang
symm- has quit [Ping timeout: 245 seconds]
rippa has joined #ruby-lang
ryanf has joined #ruby-lang
glebm has quit [Ping timeout: 245 seconds]
<freedrull> haha, using an options hash like `my_opt = opts[:my_opt] || true` doesn't work so well...
<tsion> freedrull: Why not?
<truls> isn't there a hash lookup with a default value?
<truls> if there's not, make one
<freedrull> maybe, does Hash#fetch take a default value
<tsion> Yeah, opts.fetch(:my_opt, true)
<freedrull> sweeeeet
krohrbaugh has joined #ruby-lang
<truls> you can also set a default value on the hash itself with opts.default = true
<truls> but fetch is more readable i think
<truls> and reminds you every time you do it
<freedrull> oh woah i didnt know that either
<truls> me neither :) wonders of online docs and google..
<tsion> Or ri and pry
<bnagy> you can also do opts = defaults.merge user_opts
<freedrull> that would be nice and short, although its nice to doc the available options *some*where.....
heftig has quit [Quit: Quitting]
krohrbaugh has quit [Ping timeout: 252 seconds]
<bnagy> not seeing where any of the above has anything to do with docs
<bnagy> but at least with a defaults hash ( or constant hash or whatever ) you can see the defaults by reading the code
iamjarvo has quit [Quit: Leaving.]
<freedrull> oh i guess you'd see it when you set opts.defaults= , yea
heftig has joined #ruby-lang
<bnagy> DEFAULTS= {widgets: :frobbed, pieces: 8, ducks_go: 'quak'}
<freedrull> righto
woollyams has quit [Quit: Computer has gone to sleep.]
wallerdev has quit [Quit: wallerdev]
tonni has quit [Remote host closed the connection]
gregmoreno has quit [Remote host closed the connection]
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
pbjorklund has quit [Ping timeout: 264 seconds]
towski has quit [Ping timeout: 240 seconds]
mbj has joined #ruby-lang
pbjorklund has joined #ruby-lang
pbjorklund has quit [Ping timeout: 264 seconds]
cordax has quit [Quit: Computer has gone to sleep.]
pbjorklund has joined #ruby-lang
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby-lang
tonni has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
ddfreyne has quit [Excess Flood]
LokiShanker has joined #ruby-lang
ddfreyne has joined #ruby-lang
charliesome_ has joined #ruby-lang
krohrbaugh has joined #ruby-lang
benlovell has joined #ruby-lang
apeiros has joined #ruby-lang
JohnBat26 has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 245 seconds]
sush24 has quit [Quit: This computer has gone to sleep]
solars has joined #ruby-lang
charliesome has quit [Disconnected by services]
charliesome_ is now known as charliesome
rippa has quit [Ping timeout: 240 seconds]
mbj has quit [Quit: leaving]
Wardrop has quit [Quit: Wardrop]
maxmanders has joined #ruby-lang
Wardrop[home] has joined #ruby-lang
Wardrop[home] has left #ruby-lang [#ruby-lang]
io_syl has quit [Read error: Operation timed out]
crudson has quit [Quit: Leaving.]
dr_bob has joined #ruby-lang
crudson has joined #ruby-lang
dhruvasagar has joined #ruby-lang
io_syl has joined #ruby-lang
postmodern has quit [Ping timeout: 252 seconds]
Gaelan has joined #ruby-lang
pygmael has quit [Quit: pygmael]
rippa has joined #ruby-lang
Guest23931 has quit [Ping timeout: 252 seconds]
gregmoreno has joined #ruby-lang
maxmanders has quit [Quit: Computer has gone to sleep.]
Gaelan has quit [Ping timeout: 264 seconds]
ddfreyne has quit [Excess Flood]
gregmoreno has quit [Ping timeout: 264 seconds]
ddfreyne has joined #ruby-lang
sush24 has joined #ruby-lang
Gaelan has joined #ruby-lang
maxmanders has joined #ruby-lang
torrieri has quit [Quit: Leaving...]
dhruvasagar has quit [Ping timeout: 260 seconds]
dhruvasagar has joined #ruby-lang
Gaelan has quit [Ping timeout: 252 seconds]
beiter has joined #ruby-lang
rippa has quit [Ping timeout: 240 seconds]
torrieri has joined #ruby-lang
kgrz has joined #ruby-lang
lsegal has quit [Quit: Quit: Quit: Quit: Stack Overflow.]
io_syl has quit [Quit: Computer has gone to sleep.]
Averna has quit [Quit: Leaving.]
krohrbaugh has joined #ruby-lang
agarie has quit [Remote host closed the connection]
mbj has joined #ruby-lang
blacktulip has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 252 seconds]
francisfish has quit [Remote host closed the connection]
francisfish has joined #ruby-lang
randym has quit [Ping timeout: 240 seconds]
francisfish has quit [Ping timeout: 256 seconds]
megha has quit [Ping timeout: 248 seconds]
security has joined #ruby-lang
judofyr has joined #ruby-lang
Kero_ is now known as Kero
mrfelix has joined #ruby-lang
dr_bob has quit [Quit: Leaving.]
Muz has quit [Ping timeout: 252 seconds]
dr_bob has joined #ruby-lang
Muz has joined #ruby-lang
GarethAdams has joined #ruby-lang
jumpei has joined #ruby-lang
maxmanders has quit [Quit: Computer has gone to sleep.]
randomlogin has joined #ruby-lang
maxmanders has joined #ruby-lang
postmodern has joined #ruby-lang
alessio_rocco has joined #ruby-lang
adambeynon has joined #ruby-lang
pygmael has joined #ruby-lang
<mbj> whitequark: Evening!
<mbj> whitequark: Still busy with cleaning up debris.
<tbuehlmann> moin!
maxmanders has quit [Quit: Computer has gone to sleep.]
<yorickpeterse> morning
woollyams has joined #ruby-lang
dr_bob has quit [Ping timeout: 255 seconds]
headius has joined #ruby-lang
krohrbaugh has joined #ruby-lang
thebastl has joined #ruby-lang
stef_204 has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 255 seconds]
maxmanders has joined #ruby-lang
tbuehlmann has quit [Quit: Quitting.]
tsion has quit [Quit: Leaving]
kgrz has quit [Read error: Connection reset by peer]
dustint has joined #ruby-lang
woollyams has quit [Quit: Computer has gone to sleep.]
jumpei_ has joined #ruby-lang
Squarepy has joined #ruby-lang
jumpei_ has quit [Remote host closed the connection]
jumpei has quit [Ping timeout: 240 seconds]
francisfish has joined #ruby-lang
dr_bob has joined #ruby-lang
Gaelan has joined #ruby-lang
<whitequark> mbj: ... Evening?
<whitequark> you're at CEST? Central European, right?
<whitequark> also http://www.total-knowledge.com/~ilya/mips/ugt.html but in this case that was surprisingly relevant
Gaelan has quit [Ping timeout: 264 seconds]
<mbj> whitequark: I'll have time in the Evening ;)
<mbj> whitequark: This was an in IRC to twitter reply.
<whitequark> ah, sure :)
<mbj> whitequark: Good stuff in your testing dsl!
<mbj> whitequark: I have to force myself on the business issue, else I'd not get time.
<whitequark> ack.
<mbj> whitequark: /re CEST yes.
LokiShanker has quit [Read error: Connection reset by peer]
Loki__ has joined #ruby-lang
torrieri has quit [Quit: Leaving...]
retro|cz has joined #ruby-lang
r0bgl33s0n has quit [Ping timeout: 245 seconds]
maxmanders has quit [Quit: Computer has gone to sleep.]
krohrbaugh has joined #ruby-lang
Averna has joined #ruby-lang
maxmanders has joined #ruby-lang
LokiShanker has joined #ruby-lang
Loki__ has quit [Read error: Connection reset by peer]
LokiShanker has quit [Max SendQ exceeded]
krohrbaugh has quit [Ping timeout: 246 seconds]
LokiShanker has joined #ruby-lang
woollyams has joined #ruby-lang
randym_ has joined #ruby-lang
gnufied has joined #ruby-lang
tbuehlmann has joined #ruby-lang
wmoxam has joined #ruby-lang
Wardrop[home] has joined #ruby-lang
Wardrop[home] has left #ruby-lang [#ruby-lang]
benlovell has quit [Quit: Computer has gone to sleep.]
maxmanders has quit [Quit: Computer has gone to sleep.]
LokiShanker has quit [Quit: Leaving]
Gaelan has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 252 seconds]
maxmanders has joined #ruby-lang
GarethAdams|Work has joined #ruby-lang
GarethAdams has quit [Disconnected by services]
GarethAdams|Work is now known as GarethAdams
Gaelan has quit [Ping timeout: 252 seconds]
vargas_ has joined #ruby-lang
hramrach has quit [Remote host closed the connection]
|Vargas| has quit [Ping timeout: 245 seconds]
benlovell has joined #ruby-lang
Wardrop[home] has joined #ruby-lang
Gaelan has joined #ruby-lang
gnufied has quit [Quit: Leaving.]
gnufied has joined #ruby-lang
maxmanders has quit [Quit: Computer has gone to sleep.]
randomlogin has quit [Ping timeout: 246 seconds]
Gaelan has quit [Ping timeout: 256 seconds]
vargas_ has quit [Quit: ...]
thebastl has quit [Read error: No route to host]
thebastl has joined #ruby-lang
jumpei has joined #ruby-lang
hramrach has joined #ruby-lang
fjfish has joined #ruby-lang
woollyams has quit [Quit: Computer has gone to sleep.]
francisfish has quit [Ping timeout: 240 seconds]
postmodern has quit [Quit: Leaving]
dustint has quit [Ping timeout: 240 seconds]
thebastl has quit [Read error: Operation timed out]
headius has quit [Ping timeout: 264 seconds]
sepp2k has joined #ruby-lang
gnufied has quit [Quit: Leaving.]
gnufied has joined #ruby-lang
gnufied has quit [Client Quit]
wmoxam has quit [Ping timeout: 260 seconds]
headius has joined #ruby-lang
gnufied has joined #ruby-lang
headius has quit [Ping timeout: 252 seconds]
lcdhoffman has joined #ruby-lang
jumpei has quit [Remote host closed the connection]
Averna has quit [Quit: Leaving.]
tsipanov has joined #ruby-lang
tsipanov has left #ruby-lang [#ruby-lang]
tsipanov has joined #ruby-lang
idkazuma has joined #ruby-lang
xxaM has quit [Remote host closed the connection]
soknee has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 245 seconds]
idkazuma has quit [Remote host closed the connection]
Glass_saga has joined #ruby-lang
dougsko has quit [Ping timeout: 252 seconds]
dougsko has joined #ruby-lang
<andrewvos> Step1: Use Mechanical Turk to register 1000 of these cards http://www.pockit.com/affiliates/affiliates-msm-pm/
<andrewvos> Step2: Script the creation of 1000 Heroku accounts
<andrewvos> Step3: Mine bitcoins on 50,000 micro instances
<andrewvos> Step4: ???
<andrewvos> Step5: (probably not) Profit!
<judofyr> CPU mining?
krohrbaugh has joined #ruby-lang
<judofyr> no profit at all
<judofyr> it's all custom silicon these days
tsipanov has quit [Remote host closed the connection]
* andrewvos goes back to drawing board
<andrewvos> judofyr: Custom silicon? Don't you just mean GPUs?
<judofyr> andrewvos: nope, GPUs are out
tsipanov has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 245 seconds]
<andrewvos> Wow purdy
carloslopes has joined #ruby-lang
<andrewvos> judofyr: How do you work out how many bitcoins it could potentially mine?
<andrewvos> In time
maxmanders has joined #ruby-lang
<andrewvos> Oh wait
<andrewvos> Just realised I know how to read
jeffmess has joined #ruby-lang
<andrewvos> (so useful!)
tsipanov has quit [Remote host closed the connection]
<andrewvos> 25,200 millions hashes per second
<andrewvos> oh wait that's not for the one you linked
idkazuma has joined #ruby-lang
<judofyr> andrewvos: see here: http://bitclockers.com/miningcalculator
mistym has joined #ruby-lang
mistym has quit [Changing host]
mistym has joined #ruby-lang
maxmanders has quit [Client Quit]
<andrewvos> Wow
<andrewvos> At the current bitcoin exchange rate this really seems like a good idea judofyr
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
gnufied has quit [Quit: Leaving.]
tsipanov has joined #ruby-lang
mistym has quit [Remote host closed the connection]
iamjarvo has joined #ruby-lang
maxmanders has joined #ruby-lang
Gaelan has joined #ruby-lang
<spike|spiegel> just wait til it tanks...
mistym has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
dustint has joined #ruby-lang
breakingthings has joined #ruby-lang
dustint has quit [Quit: Leaving]
dustint has joined #ruby-lang
scampbell has joined #ruby-lang
fosky has quit [Remote host closed the connection]
<injekt> lol bitcoiin
judofyr has quit [Ping timeout: 260 seconds]
sush24 has quit [Ping timeout: 260 seconds]
Gaelan has quit [Remote host closed the connection]
thinkdevcode has joined #ruby-lang
tsipanov has quit [Remote host closed the connection]
thebastl has joined #ruby-lang
<zzak> where did you guys put the milk
sush24 has joined #ruby-lang
fsvehla has joined #ruby-lang
tsipanov has joined #ruby-lang
krohrbaugh has joined #ruby-lang
FiXato|VPS is now known as FiXato
krohrbaugh has quit [Ping timeout: 252 seconds]
sush24 has quit [Quit: Leaving]
mistym has quit [Remote host closed the connection]
sailias has joined #ruby-lang
maxmanders has quit [Quit: Computer has gone to sleep.]
jokar has joined #ruby-lang
Gaelan has joined #ruby-lang
<andrewvos> wat
tehGaryColeman has joined #ruby-lang
jokar has quit [Client Quit]
tehGaryColeman has quit [Ping timeout: 276 seconds]
tehGaryColeman has joined #ruby-lang
maxmanders has joined #ruby-lang
tonni has quit [Remote host closed the connection]
Gaelan has quit [Remote host closed the connection]
idkazuma has quit [Remote host closed the connection]
sush24 has joined #ruby-lang
mistym has joined #ruby-lang
mistym has joined #ruby-lang
mistym has quit [Changing host]
outoftime has joined #ruby-lang
jumpei has joined #ruby-lang
thebastl has quit [Remote host closed the connection]
r0bgl33s0n has joined #ruby-lang
thebastl has joined #ruby-lang
thebastl has quit [Remote host closed the connection]
wmoxam has joined #ruby-lang
idkazuma has joined #ruby-lang
thinkdevcode has quit [Remote host closed the connection]
thebastl has joined #ruby-lang
judofyr has joined #ruby-lang
rippa has joined #ruby-lang
wyhaines has joined #ruby-lang
tonni has joined #ruby-lang
krohrbaugh has joined #ruby-lang
security is now known as fire
idkazuma has quit [Remote host closed the connection]
spuk has quit [Quit: Human beings were created by water to transport it uphill.]
jbwiv_ has joined #ruby-lang
jumpei has quit [Remote host closed the connection]
jbwiv_ has quit [Read error: Connection reset by peer]
jmaya has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
jmaya has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
chrismar035 has joined #ruby-lang
maxmanders has quit [Quit: Computer has gone to sleep.]
sush24 has quit [Ping timeout: 248 seconds]
soypirate has joined #ruby-lang
bzalasky has joined #ruby-lang
krohrbaugh has quit [Quit: Leaving.]
maxmanders has joined #ruby-lang
beiter has quit [Quit: beiter]
dhruvasagar has joined #ruby-lang
stef_204 has quit [Remote host closed the connection]
bzalasky has quit [Remote host closed the connection]
bzalasky has joined #ruby-lang
dhruvasagar has quit [Ping timeout: 240 seconds]
jumpei has joined #ruby-lang
jumpei has quit [Remote host closed the connection]
Weems has joined #ruby-lang
Weems has quit [Changing host]
Weems has joined #ruby-lang
jumpei has joined #ruby-lang
jeffmess has quit [Ping timeout: 245 seconds]
tsou has quit [Ping timeout: 240 seconds]
jumpei has quit [Remote host closed the connection]
sush24 has joined #ruby-lang
chrismar035 has quit [Ping timeout: 252 seconds]
zmike123 has joined #ruby-lang
beiter has joined #ruby-lang
jumpei has joined #ruby-lang
jumpei has quit [Remote host closed the connection]
zmike123 has quit [Read error: Connection reset by peer]
chrismar035 has joined #ruby-lang
tehGaryColeman has quit []
jonahR has joined #ruby-lang
krohrbaugh has joined #ruby-lang
jumpei has joined #ruby-lang
bzalasky has quit [Remote host closed the connection]
cmaxw has joined #ruby-lang
carloslopes has quit [Remote host closed the connection]
havenwood has joined #ruby-lang
chendo has joined #ruby-lang
gregmoreno has joined #ruby-lang
lcdhoffman has joined #ruby-lang
kain has quit [Ping timeout: 248 seconds]
jumpei_ has joined #ruby-lang
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
jumpei has quit [Ping timeout: 240 seconds]
bradland has joined #ruby-lang
krohrbaugh1 has joined #ruby-lang
apeiros has quit [Remote host closed the connection]
Gaelan has joined #ruby-lang
<yorickpeterse> zzak: I drank it
<judofyr> yorickpeterse: YOU DRANK IT?
<yorickpeterse> YES
<yorickpeterse> also cereal
<judofyr> oh god
krohrbaugh has quit [Read error: Operation timed out]
pabs has quit [Ping timeout: 264 seconds]
krohrbaugh1 has quit [Ping timeout: 246 seconds]
Gaelan has quit [Ping timeout: 256 seconds]
tonni has quit [Remote host closed the connection]
singpolyma has quit [Quit: Lost terminal]
jumpei has joined #ruby-lang
<zzak> :(
singpolyma has joined #ruby-lang
jumpei_ has quit [Ping timeout: 256 seconds]
Wardrop[home] has quit [Quit: Wardrop[home]]
maxmanders has quit [Quit: Computer has gone to sleep.]
Asher has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby-lang
carloslopes has joined #ruby-lang
mbull9 has joined #ruby-lang
benlovell has quit [Quit: Computer has gone to sleep.]
Asher has joined #ruby-lang
jumpei has quit [Remote host closed the connection]
maxmanders has joined #ruby-lang
nXqd has quit [Ping timeout: 256 seconds]
judofyr has quit [Remote host closed the connection]
tomzx_mac has joined #ruby-lang
tomzx_mac has quit [Client Quit]
carloslopes has quit [Ping timeout: 252 seconds]
robbyoconnor has joined #ruby-lang
tsou has joined #ruby-lang
mbull9 has quit [Remote host closed the connection]
sush24 has quit [Ping timeout: 258 seconds]
chendo has quit [Quit: Computer has gone to sleep.]
chendo has joined #ruby-lang
<mbj> whitequark: I'll begin 21:00 CEST, 3 free hours!
krohrbaugh has joined #ruby-lang
TheNotary has joined #ruby-lang
krohrbaugh has quit [Client Quit]
GarethAdams has quit [Quit: Linkinus - http://linkinus.com]
SImon___ has joined #ruby-lang
pygmael has quit [Quit: pygmael]
krohrbaugh has joined #ruby-lang
Gaelan has joined #ruby-lang
SImon___ has quit [Client Quit]
sush24 has joined #ruby-lang
wudofyr_ has quit [Remote host closed the connection]
siwica23 has joined #ruby-lang
wudofyr_ has joined #ruby-lang
fjfish has quit [Remote host closed the connection]
francisfish has joined #ruby-lang
Swimming_Bird has joined #ruby-lang
chendo has quit [Quit: Computer has gone to sleep.]
banisterfiend has quit [Remote host closed the connection]
francisfish has quit [Ping timeout: 245 seconds]
siwica23 has quit [Ping timeout: 245 seconds]
anonymuse has joined #ruby-lang
djwonk has joined #ruby-lang
__butch__ has joined #ruby-lang
hashbangchris has joined #ruby-lang
Gaelan has quit [Remote host closed the connection]
Gaelan has joined #ruby-lang
mbull9 has joined #ruby-lang
ivanoats has joined #ruby-lang
ivanoats has joined #ruby-lang
ivanoats has quit [Changing host]
vlad_starkov has quit [Remote host closed the connection]
krohrbaugh has quit [Quit: Leaving.]
krohrbaugh1 has joined #ruby-lang
krohrbaugh1 has quit [Client Quit]
Gaelan has quit [Read error: No route to host]
robbyoconnor has quit [Max SendQ exceeded]
Gaelan has joined #ruby-lang
robbyoconnor has joined #ruby-lang
tbuehlmann has quit [Remote host closed the connection]
krohrbaugh has joined #ruby-lang
lsegal has joined #ruby-lang
robbyoconnor has quit [Max SendQ exceeded]
robbyoconnor has joined #ruby-lang
dr_bob has left #ruby-lang [#ruby-lang]
bzalasky has joined #ruby-lang
bushido has joined #ruby-lang
vlad_starkov has joined #ruby-lang
cmaxw_ has joined #ruby-lang
pabs has joined #ruby-lang
tsipanov has quit [Remote host closed the connection]
io_syl_ has joined #ruby-lang
cmaxw has quit [Ping timeout: 252 seconds]
cmaxw_ is now known as cmaxw
jonahR has quit [Quit: jonahR]
rue has quit [Remote host closed the connection]
siwica has joined #ruby-lang
rue has joined #ruby-lang
siwica has left #ruby-lang [#ruby-lang]
siwica has joined #ruby-lang
maxmanders has quit [Quit: Computer has gone to sleep.]
siwica has left #ruby-lang [#ruby-lang]
maxmanders has joined #ruby-lang
carloslopes has joined #ruby-lang
dhruvasagar has joined #ruby-lang
baba has joined #ruby-lang
fire has quit [Ping timeout: 264 seconds]
spike|spiegel has quit [Quit: WeeChat 0.4.0]
Gaelan has quit [Remote host closed the connection]
nXqd has joined #ruby-lang
maxmanders has quit [Quit: Computer has gone to sleep.]
mistym_ has joined #ruby-lang
djwonk has quit []
siwica_ has joined #ruby-lang
Gaelan has joined #ruby-lang
Gaelan has quit [Remote host closed the connection]
efy has joined #ruby-lang
nXqd has quit [Ping timeout: 240 seconds]
Gaelan has joined #ruby-lang
Gaelan has quit [Remote host closed the connection]
cmaxw has quit [Quit: cmaxw]
siwica has joined #ruby-lang
thone_ has joined #ruby-lang
<siwica> test
towski has joined #ruby-lang
<siwica> Is anybody using Aptana for Ruby development? I have problems making the autocomplete work for external libraries. any hints?
<rue> No, I use an editor…
robbyoconnor has quit [Max SendQ exceeded]
thone has quit [Ping timeout: 252 seconds]
robbyoconnor has joined #ruby-lang
<siwica> you dont consider Aptana a proper editor, or what do you mean?
dhruvasagar has quit [Ping timeout: 240 seconds]
<siwica> I am using the standard ruby editor within, if you mean that
setmeaway2 has quit [Read error: Connection reset by peer]
setmeaway2 has joined #ruby-lang
<zzak> siwica: they have a bug tracker and help forum, you should check there
tylersmith has joined #ruby-lang
<siwica> thank you! I was hoping for instant help but unfortunately they dont seem to have an irc channel
dc5ala has joined #ruby-lang
robbyoconnor has quit [Remote host closed the connection]
snarfmason has quit [Quit: Textual IRC Client: www.textualapp.com]
robbyoconnor has joined #ruby-lang
rockpapergoat has joined #ruby-lang
pygmael has joined #ruby-lang
krohrbaugh has quit [Quit: Leaving.]
pygmael has quit [Client Quit]
sepp2k has quit [Remote host closed the connection]
siwica_ has quit [Quit: Page closed]
brahmana has joined #ruby-lang
zwevans has joined #ruby-lang
mbull9 has quit [Remote host closed the connection]
jonahR has joined #ruby-lang
mistym is now known as mistym_lunch
nXqd has joined #ruby-lang
tomzx_mac has joined #ruby-lang
kirin` has joined #ruby-lang
snarfmason has joined #ruby-lang
misunnelig has joined #ruby-lang
JohnBat26 has joined #ruby-lang
robbyoconnor has quit [Max SendQ exceeded]
robbyoconnor has joined #ruby-lang
kirin` has quit [Ping timeout: 246 seconds]
sepp2k has joined #ruby-lang
kirin` has joined #ruby-lang
<TheNotary> I use Aptana for ruby development
<TheNotary> it's open right now
<TheNotary> siwica: What are you wondering about?
kirin` has quit [Ping timeout: 264 seconds]
sush24 has quit [Quit: This computer has gone to sleep]
kirin` has joined #ruby-lang
nignaztic has joined #ruby-lang
<brahmana> I installed a gem from github through bundler
<brahmana> Now how do I uninstall that?
<TheNotary> gem uninstall the_gem
nazty has quit [Ping timeout: 260 seconds]
<brahmana> The installed gem is placed under a separate bundler directory and the gem command doesn't list it at all
<TheNotary> the gem has been 'vendorized' or something. So all the code is located within the project folder where you involde bundle from to install
<TheNotary> so I think just deleting it's folder removes all traces (other than whats in the .gemfile-lock) if i'm not mistaken
kirin` has quit [Ping timeout: 245 seconds]
<brahmana> Nope, it's not vendored. It is the main gems directory itself. Only the gems installed from git urls are placed in that bundler directory
<TheNotary> you might also try removing the reference from Gemfile and do `bundle`
brianpWins has joined #ruby-lang
<brahmana> TheNotary: ^^ Did that already. Removed that from Gemfile and did a bundle install. The folder still persists
<TheNotary> hmm.. i'm out of ideas then =/
kirin` has joined #ruby-lang
<TheNotary> is it showing up in gem list |grep the_gem?
<brahmana> I am using rvm and this is where it is installed : ~/.rvm/gems/ruby-2.0.0-p0/bundler/gems/contacts-aaa3d670d2a8 where as other gems are installed here : ~/.rvm/gems/ruby-2.0.0-p0/gems
robbyoconnor has quit [Ping timeout: 256 seconds]
<brahmana> TheNotary: No, it does not show up in gem list | grep contacts
<brahmana> Does that mean the gem is not installed and bundler would load that from that directory dynamically ?
<TheNotary> That sounds like a bug. I noticed something screwy with ruby-2.0.0-p0 before actually... The folder was somehow set to root access only (I have no idea how that could happen).
<TheNotary> I didn't report anything though because it was too weird to list as an issue =/
enebo has joined #ruby-lang
<brahmana> aah I see..
kirin` has quit [Read error: Connection reset by peer]
zwevans has left #ruby-lang [#ruby-lang]
enebo has joined #ruby-lang
tonni has joined #ruby-lang
<brahmana> It looks more like a bundler feature for gems loaded via a git uri
<brahmana> A couple of other gems that I have specified with git uri are also placed in the same bundler/gems directory and are not listed in gem list | grep gem_name
robbyoconnor has joined #ruby-lang
snarfmason has quit [Quit: Textual IRC Client: www.textualapp.com]
apeiros has joined #ruby-lang
kirin` has joined #ruby-lang
stefff has joined #ruby-lang
Gaelan has joined #ruby-lang
cjs226 has joined #ruby-lang
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
r0bby has joined #ruby-lang
Gaelan has quit [Ping timeout: 260 seconds]
Wardrop[home] has joined #ruby-lang
robbyoconnor has quit [Ping timeout: 240 seconds]
Gaelan has joined #ruby-lang
Gaelan has quit [Remote host closed the connection]
lcdhoffman has quit [Quit: lcdhoffman]
mbj has quit [Read error: Operation timed out]
lcdhoffman has joined #ruby-lang
djwonk has joined #ruby-lang
headius has joined #ruby-lang
mwjcomputing has joined #ruby-lang
torrieri has joined #ruby-lang
torrieri has quit [Client Quit]
torrieri has joined #ruby-lang
nXqd has quit [Ping timeout: 240 seconds]
mbj has joined #ruby-lang
<siwica> @Notary: I want aptana to make auto complete suggestions for classes i use from externam ruby gems
r0bby has quit [Ping timeout: 245 seconds]
wudofyr_ has quit [Remote host closed the connection]
wudofyr_ has joined #ruby-lang
ledestin has quit [Quit: ledestin]
djwonk has quit []
Squarepy has quit [Quit: Leaving]
Squarepy has joined #ruby-lang
krohrbaugh has joined #ruby-lang
lcdhoffman has quit [Quit: lcdhoffman]
krohrbaugh has quit [Client Quit]
thebastl has quit [Remote host closed the connection]
krohrbaugh has joined #ruby-lang
jhn has joined #ruby-lang
flujan has joined #ruby-lang
jhn has quit [Client Quit]
maxmanders has joined #ruby-lang
adambeynon has joined #ruby-lang
fsvehla has quit [Quit: fsvehla]
lcdhoffman has joined #ruby-lang
vlad_starkov has quit [Remote host closed the connection]
krohrbaugh has quit [Quit: Leaving.]
symm- has joined #ruby-lang
nXqd has joined #ruby-lang
<efy> Is using special vars like $' and $` considered okay style for Ruby?
<efy> I don't have much previous experience w/ Ruby or Perl.
<apeiros> I prefer not to
<apeiros> and I'd prefer ruby to abolish them.
thebastl has joined #ruby-lang
stefff has quit [Quit: stefff]
thebastl has quit [Remote host closed the connection]
dc5ala has quit [Quit: Ex-Chat]
torrieri has quit [Ping timeout: 256 seconds]
benanne has joined #ruby-lang
maxmanders has quit [Quit: Computer has gone to sleep.]
mistym_lunch is now known as mistym
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
<TheNotary> siwica: I don't think anyone's written that functionality yet for Aptana, although it sure would be nice. Right now I get by simply by pulling up the github repo for the gem in my browser which isn't as quick as checking an auto-complete list, but it's more thorough since you get to see the algo and comments.
Gaelan has joined #ruby-lang
kain has joined #ruby-lang
Squarepy has quit [Quit: Leaving]
Gaelan has quit [Ping timeout: 240 seconds]
rippa has quit [Ping timeout: 240 seconds]
Xzyx987X_ has quit [Quit: Leaving]
chessguy has joined #ruby-lang
Squarepy has joined #ruby-lang
dankest has joined #ruby-lang
maxmanders has joined #ruby-lang
chessguy has quit [Remote host closed the connection]
pablonvz has joined #ruby-lang
chessguy has joined #ruby-lang
mrfelix has quit [Quit: Computer has gone to sleep.]
jumpei has joined #ruby-lang
Swimming_Bird has quit [Quit: Computer has gone to sleep.]
Xzyx987X has joined #ruby-lang
brahmana has quit [Read error: Connection reset by peer]
pablonvz has quit [Ping timeout: 256 seconds]
krohrbaugh has joined #ruby-lang
forrest has joined #ruby-lang
pkrnj has joined #ruby-lang
brahmana has joined #ruby-lang
Swimming_Bird has joined #ruby-lang
vlad_starkov has joined #ruby-lang
brahmana has quit [Read error: Connection reset by peer]
brahmana has joined #ruby-lang
vlad_starkov has quit [Ping timeout: 260 seconds]
beiter has quit [Quit: beiter]
nXqd has quit [Ping timeout: 256 seconds]
Nisstyre has quit [Quit: Leaving]
mbull9 has joined #ruby-lang
krohrbaugh1 has joined #ruby-lang
krohrbaugh1 has quit [Client Quit]
pbjorklund has quit [Ping timeout: 264 seconds]
krohrbaugh1 has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 256 seconds]
Squarepy has quit [Quit: Leaving]
pbjorklund has joined #ruby-lang
pkrnj has quit [Ping timeout: 252 seconds]
pkrnj has joined #ruby-lang
pbjorklund has quit [Ping timeout: 245 seconds]
rwilcox has joined #ruby-lang
bradland has quit [Quit: bradland]
pbjorklund has joined #ruby-lang
TheNotary has quit [Ping timeout: 264 seconds]
r0bby has joined #ruby-lang
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
dustint has quit [Ping timeout: 248 seconds]
pbjorklund has quit [Ping timeout: 264 seconds]
perry has joined #ruby-lang
maxmanders has quit [Quit: Computer has gone to sleep.]
krohrbaugh1 has quit [Quit: Leaving.]
pbjorklund has joined #ruby-lang
cjs226 has quit []
krohrbaugh has joined #ruby-lang
ledestin has joined #ruby-lang
jumpei has quit [Remote host closed the connection]
bzalasky has quit [Remote host closed the connection]
agarie has joined #ruby-lang
maxmanders has joined #ruby-lang
misunnelig has left #ruby-lang [#ruby-lang]
lcdhoffman has quit [Quit: lcdhoffman]
scampbell has quit [Remote host closed the connection]
tsion has joined #ruby-lang
tsion has quit [Changing host]
tsion has joined #ruby-lang
alessio_rocco has quit [Remote host closed the connection]
jfarmer has joined #ruby-lang
sailias has quit [Ping timeout: 258 seconds]
krohrbaugh has quit [Quit: Leaving.]
rockpapergoat has quit [Remote host closed the connection]
carloslopes has quit [Remote host closed the connection]
wallerdev has joined #ruby-lang
rwilcox has quit [Quit: Computer has gone to sleep.]
Boohbah has joined #ruby-lang
symm- has quit [Ping timeout: 256 seconds]
TheNotary has joined #ruby-lang
mistym has quit [Remote host closed the connection]
jonahR has quit [Quit: jonahR]
<jfarmer> This question might get a better answer here since it's really about object-oriented design.
<jfarmer> I have a question, here: https://gist.github.com/jfarmer/38b93f53bf72ec48241f
<jfarmer> Let's say I'm building a textbook for a set of schools. The textbook has many units and each unit has many quizzes. There's some quiz data which is global but there's another set of quiz data which is school specific, e.g., schools can put a quiz in different units, schools can differ as to whether a quiz is required, etc.
<jfarmer> There's an additional constraint that this be done in a Rails-friendly way, but for now that's a secondary concern.
pbjorklund has quit [Ping timeout: 245 seconds]
<jfarmer> I'm thinking of creating a QuizWithSchool class that represents a quiz in the context of a particular school (i.e., a decorator).
<jfarmer> Thoughts?
<drbrain> jfarmer: sounds like "all quiz data is global" plus "this school uses these quizes"
<drbrain> and if you have "private" quiz data, then a separate ownership relationship could be added
<jfarmer> drbrain: No, there's other data, too.
<jfarmer> drbrain: For example, whether a quiz is required, where the quiz appears inside the unit, etc.
<jfarmer> Those also vary on a per-school basis.
<jfarmer> From the quiz editor's perspective, I don't want them to have to think about this, ideally.
<jfarmer> I also don't want to overcomplicate the code.
jg_ has quit [Ping timeout: 245 seconds]
<drbrain> is there a hard requirement that school A not be able to see school B's quiz that only school B uses?
maxmanders has quit [Quit: Computer has gone to sleep.]
<jfarmer> drbrain: It's not just whether a quiz is in a unit that varies.
<drbrain> or does school A say "I want to make a quiz and order them like so"
<jfarmer> drbrain: Both schools might have Quiz A in Unit X, but they might be in different positions.
* drbrain nods
<jfarmer> drbrain: Or one school might have it marked as required and the other as optional.
<drbrain> ok
<jfarmer> Ideally, the person editing the quiz needn't be aware of this, since they're also a member of a particular school.
<drbrain> so I would give a school units and units quizzes
<drbrain> with a recommended order of some sort for units that the school can clone and alter
<drbrain> (more for usability)
<jfarmer> Heh.
<jfarmer> Well
<jfarmer> If you change the requirements ;)
<jfarmer> Oh, clone and alter, I see.
<jfarmer> Well, the ordering of units is not important.
<jfarmer> In fact, the units will be the same across all schools.
<jfarmer> And their ordering.
<whitequark> all my Rake::TestTask runs look like this: https://gist.github.com/whitequark/caadc12df60cdaff2938
<whitequark> ugly as hell
<whitequark> anyone knows how to fix this?
<drbrain> whitequark: looks like you're running rake -t
<whitequark> drbrain: I don't
<whitequark> but it definitely looks so
<drbrain> I wonder if it's a bug, I haven't used rake 10 :/
<drbrain> … I only get that output with -t
<jfarmer> whitequark: Do you see the same error with Ruby 1.9?
<drbrain> jfarmer: it seems like keeping it as straightforward as you can is best
<jfarmer> drbrain: I'm missing how to keep it straightforward, then.
<drbrain> I don't see anything outlandish in your requirements that would necessitate more complexity
<whitequark> jfarmer: yeah same
<whitequark> aaaand yes, it's OK with rake 0.9
<drbrain> jfarmer: I think pointing the school to a default unit thingy until they decide to alter it is the way to go
<jfarmer> drbrain: That seems more complex to me.
jonahR has joined #ruby-lang
<jfarmer> drbrain: The ugly thing is something like this
<drbrain> don't you need a way to specify the optional-ness of a quiz per unit regardless?
<drbrain> … I don't see that in your gist
iamjarvo has quit [Quit: Leaving.]
<jfarmer> drbrain: A quiz is only in one unit, so in a world where there's no per school data being required is a property of the quiz itself.
<drbrain> yep
<jfarmer> drbrain: Right, so, I'm imagining a new table whose primary key is (school_id, quiz_id)
<drbrain> I think I got confused for a minute there thinking a quiz could appear in a new unit
<jfarmer> And it contains fields like unit_id, required, etc. and whatever else
<drbrain> that's exactly what I was thinking
<jfarmer> Ok, then so far we're on the same page. :)
<drbrain> … a join model
<jfarmer> But now things become a little complicated.
<drbrain> (is that what they're calling it still?)
<jfarmer> Well, the table is a join table, yes.
<jfarmer> I dunno is Rails has a Rails-specific word for it.
<jfarmer> if*
<drbrain> sure, anyhow, on to the complicated
<jfarmer> Code that used to look like: @unit = Unit.find(params[:id]), @unit.challenges, etc.
srbaker has quit [Quit: Computer has gone to sleep.]
<jfarmer> Now becomes something like @unit.challenge_for(current_school)
<jfarmer> challenges_for
<jfarmer> Or, hmm
<drbrain> I think I would address it from the school
<jfarmer> Yeah
<jfarmer> RUBBY DUCKY DEBUGGING
<jfarmer> I just realized
cjs226 has joined #ruby-lang
<drbrain> :D
<jfarmer> I'd probably rather type something like current_school.units.find(params[:id])
<drbrain> ↑ yes
<jfarmer> Still, @unit = current_school.units.find(params[:id]); @unit.challenges ???
<jfarmer> How does that last bit work?
<drbrain> I think units would go through the join table
<drbrain> not direct to Unit
<jfarmer> Not sure I follow
<drbrain> has_many :units, through: :school_units or something like that
<jfarmer> What has_many units? The school?
<jfarmer> Sure, that's fine
<jfarmer> But
<drbrain> yes, the school
<jfarmer> That's what my code describes
<drbrain> (if I'm using your terminology correctly)
mbj has quit [Quit: leaving]
<jfarmer> School has many units through the join table
WillMarshall has joined #ruby-lang
<jfarmer> current_school.units maps to the SQL: "SELECT * FROM units JOIN whatever ON (whatever.unit_id = units.id) WHERE whatever.school_id = ?"
r0bgl33s0n has quit [Read error: Connection reset by peer]
<jfarmer> Where "whatever" is the (school_id, quiz_id, unit_id, required) table we were discussing.
* drbrain nods
<jfarmer> Sure, so, I'm talking about a page like
<jfarmer> Wat
<jfarmer> "/units/10"
thinkdevcode has joined #ruby-lang
<jfarmer> UnitsController#show in Rails parlance
breakingthings has quit []
<drbrain> sure, or maybe /schools/5/units/10, to get the school ID in there too
forrest has quit [Quit: Leaving]
fosky has joined #ruby-lang
<jfarmer> Sure, although there's really a current_school method that returns the School of whatever user is logged in
<jfarmer> But, yes, somehow we know the school ID
<jfarmer> That's fine
postmodern has joined #ruby-lang
solars has quit [Ping timeout: 246 seconds]
<drbrain> ok
<drbrain> we're now getting to the edges of my rails knowledge since I've only worked on a rails app for about 3 months of the past two years
<jfarmer> Well
<jfarmer> "TO INFINITY AND BEYOND" - Buzz Lightyear
<drbrain> I think you have two options here
<drbrain> a) return the join model for current_school.units
<jfarmer> Ah, true.
<drbrain> b) use "include" to pull in the quiz data
<jfarmer> Not sure I follow on that last one.
<jfarmer> What would I be including and where?
crynix has joined #ruby-lang
Nisstyre-laptop has joined #ruby-lang
<jfarmer> Hmm
<jfarmer> Meh, ok, I think I've got this.
<drbrain> oh good
<jfarmer> That said...
<jfarmer> Man.
<drbrain> since using the right terminology to explain what you should include is taking me a bit
pbjorklund has joined #ruby-lang
<jfarmer> Well, you can only "include" a module.
<drbrain> no, it's a rails thing
<jfarmer> Oh
<jfarmer> You me like whatever.includes(:blah_blah)?
<jfarmer> eager loading?
<drbrain> yes
<jfarmer> Well, the icky thing about that is it will require every user to pull in the data from all schools
<jfarmer> And then select down in Ruby the school-specific code
blacktulip has quit [Remote host closed the connection]
<jfarmer> includes only works with associations and you can't have an association with a dynamic condition in Rails
<drbrain> I see
soknee has quit [Quit: Leaving.]
<jfarmer> drbrain: The display side is clearer in my mind, but the editing side still seems awful.
<jfarmer> This is where a "context object" that contains the quiz seems helpful
<drbrain> wouldn't that context object be a model for the join table?
Gaelan has joined #ruby-lang
<jfarmer> Well, imagine you're editing a challenge
<jfarmer> Er, quiz
<drbrain> do I edit the content of the quiz, just make it (non) optional or both?
<jfarmer> Both.
<jfarmer> And ideally in the same interface.
<jfarmer> Not ideally, it'd be dumb if it weren't.
krohrbaugh has joined #ruby-lang
<jfarmer> "/quizzes/10/edit"
<drbrain> then I would probably never create a controller action that modifies the Quiz directly
<jfarmer> Ah, I see
<drbrain> only via the model on the join table
<jfarmer> Ok, right.
Gaelan has quit [Remote host closed the connection]
<drbrain> I would make it appear as a single resource
<drbrain> HTTP resource
<jfarmer> Yep, you're right.
<drbrain> you could have a second edit resource for bulk editing just optional-ness as a series of radio buttons or whatever
Gaelan has joined #ruby-lang
<jfarmer> Rails really wants you to use fields_for
<jfarmer> And if you have form_for(@quiz) then it's confusing
<jfarmer> But if you have form_for(@contextual_thing)
krohrbaugh has quit [Client Quit]
<jfarmer> then you can easily have fields_for(@contextual_thing.quiz)
<drbrain> yep
krohrbaugh has joined #ruby-lang
<jfarmer> This becomes a little confunsing
<drbrain> you can also have a separate partial for the quiz-only portion
<jfarmer> Sure sure, yeah, that's not the confusing bit
<jfarmer> But thinking about the display side again for a sec
WillMarshall has quit [Read error: Connection reset by peer]
<jfarmer> Basically, both a Unit and a Quiz have a context-dependent view
<jfarmer> The unit, which lists all quizzes for a particular page
<jfarmer> Er, a particular school
<jfarmer> And the quiz, which contains school-specific data
anonymuse has quit [Quit: Leaving...]
<drbrain> (BTW, why not "lesson" or some other more-specific word than "unit" which is more generic)
r0bgleeson has joined #ruby-lang
<jfarmer> We use more domain-specific language outside the code base, but in the code there's some path dependence.
<jfarmer> There used to be an intermediary thing called a lesson
<jfarmer> and it was removed and unit remained
hashbangchris has quit [Quit: mt]
wmoxam has quit [Ping timeout: 264 seconds]
srbaker has joined #ruby-lang
<jfarmer> Alright, this was helpful. I'll see what mess the code turns into. Thanks drbrain!
<drbrain> np!
cjs226 has quit []
mjio has joined #ruby-lang
pbjorklund has quit [Ping timeout: 245 seconds]
pkrnj has quit [Quit: Computer has gone to sleep.]
brahmana has quit [Quit: leaving]
jfarmer has quit [Quit: Textual IRC Client: www.textualapp.com]
Gaelan has quit [Remote host closed the connection]
pbjorklund has joined #ruby-lang
brianpWins has quit [Quit: brianpWins]
mwjcomputing has quit [Quit: Leaving]
thinkdevcode has quit [Remote host closed the connection]
sepp2k has quit [Remote host closed the connection]
pbjorklund has quit [Ping timeout: 245 seconds]
Gaelan has joined #ruby-lang
wyhaines has quit [Read error: Connection reset by peer]
pbjorklund has joined #ruby-lang
enebo has quit [Quit: enebo]
Gaelan has quit [Ping timeout: 255 seconds]
pbjorklund has quit [Ping timeout: 245 seconds]
apeiros has quit [Remote host closed the connection]
<postmodern> which json library is smart enough to coerce Objects into Hashes/Arrays via as_json or to_hash?
pbjorklund has joined #ruby-lang
krohrbaugh1 has joined #ruby-lang
krohrbaugh has quit [Ping timeout: 264 seconds]
wyhaines has joined #ruby-lang
mrfelix has joined #ruby-lang
jonahR has quit [Quit: jonahR]
Gaelan has joined #ruby-lang
__butch__ has quit [Quit: Leaving.]
<freedrull> can null object patterns solve this problem: if date > other_date (where the other_date might be nil)
ivanoats has quit [Remote host closed the connection]
jhn has joined #ruby-lang
torrieri has joined #ruby-lang
<freedrull> i guess NullObject could implement to_datetime and return Time.at(0), but I'm sure I would accidentally use that method for presentation at some point...
nXqd has joined #ruby-lang
<drbrain> wouldn't it be a NullTime (or NullDate) then?
mrfelix has quit [Quit: Computer has gone to sleep.]
<drbrain> also, why wouldn't your NullDate be fully presentable?
<drbrain> I thought that was part of the pattern
<freedrull> sure
pablonvz has joined #ruby-lang
<freedrull> hmm in this case i'm asking if the pattern can be applied to comparing to a nil value
<freedrull> but maybe its not applicable i dunno
<drbrain> I think Avdi wrote an article about exactly your problem
<drbrain> so I guess not exactly your problem
pablonvz has left #ruby-lang [#ruby-lang]
pkrnj has joined #ruby-lang
krohrbaugh1 has quit [Quit: Leaving.]
<freedrull> yeah i think avdi is where i first heard of this idea, ill check out the article again and see if he covers this particular case
tyler has joined #ruby-lang
tyler_ has quit [Read error: Connection reset by peer]
_whitelogger has joined #ruby-lang
Gaelan has quit [Read error: Connection reset by peer]
Gaelan has joined #ruby-lang
fosky has quit [Remote host closed the connection]
benanne has quit [Quit: kbai]
scottschecter has joined #ruby-lang
scottschecter has quit [Client Quit]
scottschecter has joined #ruby-lang
chrismar035 has quit [Quit: chrismar035]
mrfelix has joined #ruby-lang
scottschecter has quit [Client Quit]
torrieri has quit [Quit: Leaving...]
MehLaptop has joined #ruby-lang
mrfelix has quit [Quit: Computer has gone to sleep.]
scottschecter has joined #ruby-lang
kevinfagan has quit [Ping timeout: 252 seconds]
outoftime has quit [Quit: Leaving]
scottschecter has quit [Quit: WeeChat 0.4.0]
jhn has quit []
scottschecter has joined #ruby-lang
kevinfagan has joined #ruby-lang
charliesome has joined #ruby-lang
r0bby has quit [Ping timeout: 245 seconds]
scottschecter has quit [Quit: WeeChat 0.4.0]
<whitequark> postmodern: activesupport?..
<postmodern> whitequark, ah yes
<postmodern> whitequark, also remembered dm-serializer supports it
cupakromer has joined #ruby-lang
spuk has joined #ruby-lang
jumpei has joined #ruby-lang
<charliesome> whitequark: want to see a magic trick
<whitequark> charliesome: shoot
<charliesome> 19>> class X < (); end; X.ancestors
<eval-in> charliesome => [X, Object, Kernel, BasicObject] (http://eval.in/14867)
<whitequark> charliesome: so
<whitequark> 19>> class X < nil; end; X.ancestors
<eval-in> whitequark => [X, Object, Kernel, BasicObject] (http://eval.in/14868)