apeiros changed the topic of #ruby to: Ruby 2.0.0-p247: http://ruby-lang.org (Ruby 1.9.3-p448) || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
vlad_starkov has joined #ruby
predator217 has quit [Ping timeout: 245 seconds]
lucazi_ has quit [Remote host closed the connection]
zorg24 has quit [Ping timeout: 264 seconds]
ssvo has quit [Ping timeout: 245 seconds]
sergicles has joined #ruby
sambao21 has joined #ruby
deviantlinux has quit [Quit: Leaving.]
vlad_starkov has quit [Ping timeout: 276 seconds]
failshell has joined #ruby
optimusprimem has joined #ruby
butblack has quit [Quit: butblack]
failshell has quit [Remote host closed the connection]
butblack has joined #ruby
Mattias has quit [Ping timeout: 240 seconds]
ColKurtz has quit [Ping timeout: 240 seconds]
rubyguy has quit [Ping timeout: 240 seconds]
arusso has quit [Ping timeout: 240 seconds]
saarinen has quit [Quit: saarinen]
rpgsimmaster_ has quit [Quit: No Ping reply in 180 seconds.]
jmccune has quit [Ping timeout: 240 seconds]
rpgsimmaster has joined #ruby
jnix|w has quit [Remote host closed the connection]
etman has quit [Quit: etman]
Mattias has joined #ruby
jnix-working has joined #ruby
l34ch has joined #ruby
jnix-working has quit [Changing host]
jnix-working has joined #ruby
ColKurtz has joined #ruby
arusso has joined #ruby
jnix-working is now known as jnix|w
saarinen has joined #ruby
<l34ch> hey guys
DanKnox is now known as DanKnox_away
jmccune has joined #ruby
sarkis has quit [Ping timeout: 245 seconds]
saarinen has quit [Client Quit]
b00stfr3ak has quit [Quit: Leaving]
Megtastique has quit [Quit: Megtastique]
<l34ch> any cool ruby projects to check out?
<Donovan> too many to list
<Donovan> check out Riak, just saw a presentation on it
<l34ch> alrighty
ner0x has joined #ruby
DrCode has quit [Remote host closed the connection]
Senjai has quit [Ping timeout: 240 seconds]
Todd has joined #ruby
jjbohn has joined #ruby
RichardBaker has quit [Quit: RichardBaker]
pkrnj has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
DrCode has joined #ruby
jkline has joined #ruby
tylersmith has quit [Read error: Connection reset by peer]
dankest has quit [Quit: dankest]
tylersmith has joined #ruby
mupkoo has quit [Remote host closed the connection]
codesoda has joined #ruby
chrisja has quit [Quit: leaving]
marr has quit []
mlpinit has quit [Remote host closed the connection]
baroquebobcat has joined #ruby
rickmasta has quit [Quit: Leaving...]
tylersmith has quit [Remote host closed the connection]
zeade has quit [Quit: Leaving.]
tylersmith has joined #ruby
justsee has quit [Ping timeout: 276 seconds]
i_s has quit [Remote host closed the connection]
nucatus has joined #ruby
blackmes1 has joined #ruby
banisterfiend is now known as banister`sleep
vince_prignano has quit [Quit: vince_prignano]
tylersmith has quit [Ping timeout: 264 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
mikeg has quit [Ping timeout: 256 seconds]
nucatus has quit [Ping timeout: 276 seconds]
rickmasta has joined #ruby
zorg24 has joined #ruby
tommyvyo has joined #ruby
epta has quit [Read error: Operation timed out]
epta has joined #ruby
Badreddin has joined #ruby
<L8D> How can I recursively convert a hash?
rickruby has joined #ruby
<zets> convert it to what?
<L8D> I'm wanting to convert a hash to an openstruct
<eka> L8D: OpenStruct.new(myhash) ?
<L8D> I want to convert it recursively
<L8D> So that hashes inside the hash also get converted to an openstruct
nga4 has joined #ruby
<L8D> {foo: { bar: 10 }}.to_ostruct.foo.bar #=> 10
<nga4> is there a way I can easily replicate String:byteslice on 1.8.6?
hogeo has joined #ruby
_maes_ has quit [Ping timeout: 264 seconds]
<pontiki> how hard is it to write a recursive function to do that?
reset has quit [Quit: Leaving...]
<banister`sleep> pontiki: whenever i do recursive functions my mind encounters the infinite and i pass out
<L8D> I'm not sure.
rickruby has quit [Ping timeout: 240 seconds]
tjbiddle has quit [Quit: tjbiddle]
<pontiki> lol banister`sleep
<pontiki> go back to sleep
<banister`sleep> good idea :P
<pontiki> it was sort of rhetorical
BillCriswell has joined #ruby
<L8D> I was mainly wondering if there was already something in ruby that does it.
dankest has joined #ruby
llirkaz has quit [Remote host closed the connection]
<L8D> because there's a lot of those in ruby, and if you don't learn them you miss out.
justsee has joined #ruby
justsee has quit [Changing host]
justsee has joined #ruby
tkuchiki has joined #ruby
buzzybron has joined #ruby
ravster has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
dbRenaud is now known as zz_dbRenaud
dankest has quit [Client Quit]
superscott[8] has quit [Quit: superscott[8]]
nfk has quit [Quit: yawn]
jdenen has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
snovak has joined #ruby
Mon_Ouie has quit [Ping timeout: 276 seconds]
<L8D> Is there anything wrong with this? https://gist.github.com/L8D/6237288
wookiehangover has quit [Quit: i'm out]
josiah14 has joined #ruby
<L8D> wait
<josiah14> quick question - what is the efficiency (O) of the flatten function in ruby?
<josiah14> is it faster than O(n)?
<pontiki> /9
wookiehangover has joined #ruby
io_syl has quit [Quit: io_syl]
Badreddin has quit [Ping timeout: 245 seconds]
snovak has quit [Ping timeout: 276 seconds]
<josiah14> what do you mean by 9 pontiki
<gf3> L8D: I'd be more inclined to write it like so: https://www.refheap.com/17670
mrapple has joined #ruby
<mrapple> what is "end.last" and where can i learn about it?
c0rn has quit [Read error: Operation timed out]
<pontiki> was just switching windows, mistyped a space
gyre007 has quit [Remote host closed the connection]
Badreddin has joined #ruby
<pontiki> mrapple: .last gives the last item in a collection
<josiah14> end.last would be if a code block starting with 'do' returns a list and you only wanted to return the last element of that list
<josiah14> it's part of the Array class in Ruby
codesoda has quit [Remote host closed the connection]
moses_m has quit [Ping timeout: 246 seconds]
optobear has joined #ruby
<josiah14> i suppose it could also be the end of a lambda or something
<josiah14> any code block that would be closed using 'end'
<L8D> ^ that would return something is a #last method
<mrapple> interesting, i guess i've never tagged things onto 'end' before
<mrapple> makes sense
<josiah14> yah, ruby is incredibly flexible
ehaliewicz has joined #ruby
<mrapple> i feel like i learn new things every day :3
<josiah14> that's what computer programming is supposed to feel like
Spooner has quit [Quit: Leaving]
<pontiki> ^
aryaching has quit [Ping timeout: 268 seconds]
dodosan has quit [Remote host closed the connection]
baroquebobcat has quit [Quit: baroquebobcat]
i_s has joined #ruby
ColKurtz has quit [Quit: Textual IRC Client: www.textualapp.com]
aryaching has joined #ruby
vlad_starkov has joined #ruby
zz_dbRenaud is now known as dbRenaud
<L8D> well...
<L8D> Unless you're an experienced C programmer writing JavaScript code.
<L8D> WHY IS THERE NO POINTERS???
<josiah14> depends on what you are trying to do with JavaScript and how you are doing it
<josiah14> because you don't need pointers in javascript, lol
<josiah14> think more like a functional programmer - pipe functions into functions
zorg24 has quit [Ping timeout: 264 seconds]
ryandeussing has quit [Remote host closed the connection]
Es0teric has joined #ruby
mikepack has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 246 seconds]
tommyvyo has quit [Quit:]
Senjai has joined #ruby
sarkis has joined #ruby
baroquebobcat has joined #ruby
Senjai has quit [Changing host]
Senjai has joined #ruby
lutfidemirci has joined #ruby
rburton- has joined #ruby
kilophoton has quit [Quit: kilophoton]
theRoUS has quit [Ping timeout: 268 seconds]
amacgregor has joined #ruby
jkline has quit [Quit: jkline]
mrsolo has quit [Quit: Leaving]
brain_shim has quit [Ping timeout: 246 seconds]
dankest has joined #ruby
jonahR has quit [Quit: jonahR]
amacgregor__ has quit [Ping timeout: 246 seconds]
butblack_ has joined #ruby
butblack has quit [Ping timeout: 268 seconds]
butblack_ is now known as butblack
Davey has joined #ruby
jkline has joined #ruby
brain_shim has joined #ruby
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
reset has joined #ruby
tommyvyo has joined #ruby
lutfidemirci has quit [Remote host closed the connection]
jkline has quit [Client Quit]
v0n has joined #ruby
nadirvar_ has quit [Ping timeout: 276 seconds]
ryandeussing has joined #ruby
maroloccio has quit [Quit: WeeChat 0.4.0]
weeb1e has joined #ruby
sevenseacat has joined #ruby
sarkis has quit [Ping timeout: 256 seconds]
machuga|away is now known as machuga
ericmathison has quit [Remote host closed the connection]
justsee has left #ruby [#ruby]
tommyvyo has quit [Client Quit]
<mrapple> i should probably check out functional programming one of these days
reset has quit [Ping timeout: 246 seconds]
yxhuvud has quit [Quit: Nettalk6 - www.ntalk.de]
jjbohn is now known as jjbohn|afk
DrCode has quit [Remote host closed the connection]
yxhuvud has joined #ruby
tommyvyo has joined #ruby
iliketurtles has joined #ruby
failshell has joined #ruby
renderfu_ has quit [Read error: Connection reset by peer]
jkline has joined #ruby
renderful has joined #ruby
etman has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
stuff has quit []
DrCode has joined #ruby
nari has joined #ruby
moses_m has joined #ruby
i_s has quit [Remote host closed the connection]
jkline has quit [Client Quit]
butblack has left #ruby [#ruby]
i_s has joined #ruby
jjbohn|afk is now known as jjbohn
tommyvyo has quit [Quit:]
codesoda has joined #ruby
twoism_ has quit [Remote host closed the connection]
twoism has joined #ruby
etman has quit [Ping timeout: 240 seconds]
nucatus has joined #ruby
Tricon has quit [Read error: Connection reset by peer]
pitzips has quit [Ping timeout: 246 seconds]
Tricon has joined #ruby
failshell has quit [Remote host closed the connection]
tgunr has quit [Quit: Nity nite]
tgunr has joined #ruby
sparr has joined #ruby
mlpinit has joined #ruby
tanema has joined #ruby
nucatus has quit [Ping timeout: 240 seconds]
twoism has quit [Ping timeout: 268 seconds]
Beoran__ has joined #ruby
fenicks has joined #ruby
hamakn has joined #ruby
robscomputer has quit [Read error: Connection reset by peer]
fenicks has left #ruby ["Message"]
Beoran_ has quit [Read error: Operation timed out]
etman has joined #ruby
fenicks has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
robscomputer has joined #ruby
robscomputer has quit [Read error: Connection reset by peer]
robscomputer has joined #ruby
blackmes1 has quit [Ping timeout: 240 seconds]
failshell has joined #ruby
mlpinit has quit [Ping timeout: 245 seconds]
krainboltgreene has joined #ruby
_maes_ has joined #ruby
tristanp has joined #ruby
tristanp has quit [Client Quit]
robscomputer_ has joined #ruby
brianpWins has quit [Quit: brianpWins]
mansi has quit [Remote host closed the connection]
Voodoofish430 has quit [Quit: Leaving.]
robscomputer has quit [Ping timeout: 276 seconds]
wuzzzzaah has joined #ruby
Lewix has joined #ruby
jjbohn has quit [Quit: Leaving...]
smathieu has quit [Remote host closed the connection]
i_s has quit [Remote host closed the connection]
failshell has quit [Remote host closed the connection]
poga has joined #ruby
Badreddin has quit [Ping timeout: 245 seconds]
eka has quit [Quit: Computer has gone to sleep.]
Badreddin has joined #ruby
optimusprimem has quit [Ping timeout: 245 seconds]
snovak has joined #ruby
fenicks has quit [Ping timeout: 276 seconds]
zachrab_ has joined #ruby
Neener54 has joined #ruby
Domon has joined #ruby
snovak has quit [Ping timeout: 245 seconds]
graydot has joined #ruby
tgunr has quit [Quit: Nity nite]
randomau_ has joined #ruby
dankest has quit [Quit: dankest]
randomau_ has quit [Read error: Connection reset by peer]
etman has quit [Quit: etman]
randomautomator has quit [Ping timeout: 241 seconds]
havenwood has quit [Remote host closed the connection]
etman has joined #ruby
dankest has joined #ruby
vlad_starkov has joined #ruby
krainbol_ has joined #ruby
echevemaster has joined #ruby
krainboltgreene has quit [Ping timeout: 240 seconds]
vlad_starkov has quit [Ping timeout: 264 seconds]
andredublin has joined #ruby
rickruby has joined #ruby
cads has joined #ruby
optimusprimem has joined #ruby
optimusprimem has joined #ruby
Badreddin has quit [Ping timeout: 245 seconds]
rubyguy has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
threesome has quit [Ping timeout: 268 seconds]
Guest6856 has joined #ruby
Guest6856 is now known as diegoviola
dickson66 has joined #ruby
zachrab_ has quit [Remote host closed the connection]
rickruby has quit [Ping timeout: 264 seconds]
Vivekananda has quit [Ping timeout: 240 seconds]
v0n has quit [Read error: Operation timed out]
BillCriswell has quit [Remote host closed the connection]
chriskk has joined #ruby
rurufufuss has quit [Ping timeout: 245 seconds]
optimusprimem has quit [Max SendQ exceeded]
Niamkik_ has quit [Quit: Disconnecting from stoned server.]
Neener54 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Niamkik has joined #ruby
bzitzow has quit [Ping timeout: 246 seconds]
optimusprimem has joined #ruby
yy-nm has joined #ruby
Scient has quit [Ping timeout: 240 seconds]
sparr has quit [Ping timeout: 264 seconds]
waysc has joined #ruby
radic__ has quit [Ping timeout: 246 seconds]
DaveRoR has joined #ruby
tjad has joined #ruby
sambao21 has joined #ruby
Scient has joined #ruby
lesliewen has joined #ruby
kilophoton has joined #ruby
codesoda has quit [Remote host closed the connection]
postmodern has quit [Quit: Leaving]
Guest54726 has quit [Ping timeout: 260 seconds]
evenix has joined #ruby
Niichan has quit [Ping timeout: 260 seconds]
rickruby has joined #ruby
graydot has quit [Ping timeout: 240 seconds]
sambao21 has quit [Ping timeout: 264 seconds]
JZTech101 is now known as JZ|Zzz
hiyosi has quit [Ping timeout: 264 seconds]
dbRenaud is now known as zz_dbRenaud
<DaveRoR> Anyone know a good place to find the reference for "super"?
<DaveRoR> It is called inside a function of a module, with two arguments.
Nitrodex has joined #ruby
evenix has quit [Ping timeout: 240 seconds]
<Tricon> DaveRoR: Oh, you mean where it's called?
<sevenseacat> the superclass of the object?
Nitrodex is now known as Guest83359
Niichan has joined #ruby
niklasb has quit [Ping timeout: 264 seconds]
<DaveRoR> Tricon: I mean, what does "super" actually do.
<DaveRoR> Tricon: I'm confused and I can find no reference.
<sevenseacat> it calls the same method in the parent object
<Tricon> DaveRoR: ^
<zets> btw, if it's called with no arguments, it passes the same arguments used in the child object method call
<DaveRoR> But what if it is passed two arguments? The first is a string, and the second is a class object?
<DaveRoR> (Sorry I'm a noob...)
ukd1 has quit [Remote host closed the connection]
viszu has joined #ruby
graydot has joined #ruby
<DaveRoR> Trion: ^
banister`sleep has quit [Remote host closed the connection]
<DaveRoR> Tricon: ^
<DaveRoR> sevenseacat: ^
<sevenseacat> then it passes those two arguments to the parent method
zorg24 has joined #ruby
radic__ has joined #ruby
nucatus has joined #ruby
<zets> DaveRoR: https://gist.github.com/zetsubo/6237718 this is really contrived, but this would output "test" and then "called from B#my_func" - the super call is calling the parent method's version
_|christian|_ has joined #ruby
Badreddin has joined #ruby
<DaveRoR> zets: Got it! Thanks! :D
postmodern has joined #ruby
<zets> np :D
Lewix has quit [Remote host closed the connection]
moses_m has quit [Ping timeout: 240 seconds]
krz has joined #ruby
Lewix has joined #ruby
Dreamer3 has joined #ruby
jkline has joined #ruby
nucatus has quit [Ping timeout: 276 seconds]
gianlucadv has quit [Ping timeout: 260 seconds]
aryaching has quit [Ping timeout: 240 seconds]
amacgregor has quit [Read error: Connection reset by peer]
thepumpkin has quit [Remote host closed the connection]
jdenen has quit [Read error: Connection reset by peer]
mlpinit has joined #ruby
zachrab_ has joined #ruby
krainbol_ has quit [Quit: krainbol_]
krainboltgreene has joined #ruby
Nightmare is now known as TheTFEF
sparq_ has quit [Ping timeout: 264 seconds]
ssvo has joined #ruby
Joel_re has joined #ruby
<pontiki> if you're a noob, why do you have RoR in your nick?
<zendeavor> because he wants to talk about ror
baroquebobcat has quit [Quit: baroquebobcat]
<jrobeson> i see this all the time in other channels
mansi has joined #ruby
<jrobeson> i think it has to do with them trying their name.. and finding it already taken
<jrobeson> so they just add whatever they are looking for support for
<zendeavor> my favourites are "linuxnoobie" and similar
smathieu has joined #ruby
<jrobeson> those ones grind my gears unnecessarily :(
<jrobeson> i don't know why i get upset about it
<jrobeson> but for some reason it's a big pet peeve of mine . :(
<sevenseacat> or the ones like 'railsking' when people are learning, i love those
<zendeavor> because they tend toward intentional ignorance rather than welcoming a learning experience
<jrobeson> a learning experience about which part?
<jrobeson> learning irc culture?
<zendeavor> linux
<jrobeson> how does their nick choice reflect intentional ignorance?
zets is now known as xXCORERAILSm45ST
<zendeavor> it doesn't, they tend toward it
<jrobeson> or at least that specific nick choice type
xXCORERAILSm45ST is now known as zets
<zendeavor> it's a phenomenon in #archlinu
<zendeavor> x
<jrobeson> that's not the only one ..
<jrobeson> i used to help with support for gentoo
<jrobeson> same kinda people
<zendeavor> mhmm
<zendeavor> why do those personalities pick such similar nicks? no clue.
duper has quit [Ping timeout: 248 seconds]
<pontiki> maybe it's the only form of validation they get?
viszu has quit [Quit: Leaving.]
snovak has joined #ruby
<jrobeson> i always wanted to know why one would want to advertise themselves as being a noob.. either in nick choice or post..
<zendeavor> same
mansi has quit [Remote host closed the connection]
idoru has quit [Read error: Operation timed out]
<pontiki> when i am a noob in places, i find sometimes it helps the other person know they need to explain a bit differently
<pontiki> or hit me with a tonne of bricks because i asked the question wrong
mansi has joined #ruby
<jrobeson> i guess i'd just say.. some tl;dr of "here's what i know..., here's what i'm trying to figure out"
<pontiki> yeah
<pontiki> graceful revelation of noobishness
<jrobeson> well.. people always like it if you have some indication that you've tried something already
<pontiki> ah
<pontiki> i think that's a bit different, although in the same arena
<pontiki> i like it when people show an interest in trying stuff out, yeah, rather than arguing about why it works the way it does
<jrobeson> or at least.. read something already..
<jrobeson> well.. it helps to know everything in computers is a kludge
<sevenseacat> thats my #1 pet peeve, when people ask if something will work instead of trying it
duper has joined #ruby
<jrobeson> unless it's really hard to try :)
<sam113101> unless it takes a long time to setup
smathieu has quit [Ping timeout: 264 seconds]
<sevenseacat> most of the time it isnt though, its basic syntactic stuff
TheTFEF is now known as Nightmare
<sam113101> … right?
<jrobeson> sevenseacat, yes.. that i find annoying
<sevenseacat> syntactical? whatever
<sam113101> because I always do that :)
zachrab_ has quit [Remote host closed the connection]
<jrobeson> i think i've been doing irc help too long
<zendeavor> 3 years running
snovak has quit [Ping timeout: 264 seconds]
<zendeavor> already too long.
robscomputer_ has quit [Remote host closed the connection]
<pontiki> aye
<jrobeson> uhmm.. what always happens to me.. is .. i join some irc channel to learn something.. but nobody there can help me out
<pontiki> that is a long time
<zendeavor> i should get a medal
<jrobeson> and then i end up helping peopel with the basic stuff
DanBoy has joined #ruby
<zendeavor> i'm ~legendary~ in #archlinux
<pontiki> jrobeson: and you end up answering everyone else's questions
robscomputer has joined #ruby
<jrobeson> hmm.. i'm about 12 years now.. :(
mansi has quit [Ping timeout: 268 seconds]
maniacal has joined #ruby
<Nilium> Coffee is not a good thing to drink before playing multiplayer shooters. Great for coding, not for games.
<jrobeson> ever since i got involved in postnuke
wuzzzzaah has quit [Ping timeout: 250 seconds]
<sam113101> I can you remember you from there zendeavor
<zendeavor> i disagree that it's good for coding
<sam113101> though I don't use archilnux anymore
<Nilium> I disagree that you're good for coding.
<sevenseacat> lol
<zendeavor> maybe
<pontiki> stims
<pontiki> need the stims
<jrobeson> pontiki, i think they just call that meth now..
<Nilium> <zendeavor> if it ain't a needle it ain't in me
<sevenseacat> need more stims *goes to fridge*
<pontiki> but i am intrigued, why is coffee not good before mulitplayer shooters?
pvizcay has joined #ruby
<Nilium> Makes my hand oddly shaky.
<zets> gotta keep that meth cold
Monie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<pontiki> ah so
<pontiki> jrobeson: was thinking of B5 in particular
<pontiki> i'm sure they are *well* past meth
<jrobeson> i was thinking of bsg ..
<Nilium> Like it starts out shaky, balances out a bit and improves, then I get weirdly erratic.
<jrobeson> never saw b5..
<pontiki> omg
<pontiki> SEE IT
<Nilium> The coffee is less likely to be the issue and the whole me playing for too long thing is more likely to be the problem.
<jrobeson> i've never seen star trek either..
<jrobeson> or dr who
<pontiki> but you have seen BSG?
<pontiki> i find this interesting....
v0n has joined #ruby
<jrobeson> well i've seen some episodes of both .. but i didn't really like them
rbento has quit [Quit: ┐('~`;)┌]
<pontiki> ah, ok
<Nilium> I've seen a couple episodes of Star Trek and that weeping angel episode of Dr. Who and that is the extent of my TV scifi. Aside from Lexx, which I kind of have a hard time considering scifi.
<pontiki> that's different
ssvo has quit [Ping timeout: 240 seconds]
<jrobeson> well generally i stayed away from things that happen in space
<pvizcay> Hi! I've a simple script, that is made into a daemon with daemons gem. The startup and stop is working well when run from the command line, but I'm not able to configure it to start automatically with init.d (ubuntu server 12.04). I've tryied "sudo update-rc.d ruby startdaemon.rb defaults with no luck (looks like it looks for just a command line without parameters). Any ideas? thanks
<pontiki> i cannot figure out Lexx. why was it made? who thought it was worth paying actors and crew for? WHO WROTE THE DAMN THING???
<jrobeson> but.. i liked caprica.. so i watched bsg
<pontiki> oh, you're working backwards then
<Nilium> pontiki: It's the mystery that keeps it alive.
<pontiki> Caprica was darn interesting
<sevenseacat> hooray more diet coke
robscomputer has quit [Ping timeout: 268 seconds]
<Nilium> I will also never claim to even understand Lexx's plot 'cause I don't know if it had one
<jrobeson> they had to close it out really quickly .. very sad
<jrobeson> same as dollhouse
vlad_starkov has joined #ruby
<pontiki> i can see why it got cancelled, the pacing was too slow for most TV
<jrobeson> i liked the pacing..
<pontiki> i did too, and the storytelling
<jrobeson> i guess that's the kinda thing you gotta find a way to make money on the internet for..
<Nilium> Speaking of TV shows, I wonder if the Walking Dead ever stopped being boring.
<jrobeson> Nilium, you thought season 1 was boring?
<pontiki> i wouldn't know
<Nilium> I liked Season 1 until it got to the Resident Evil movie ripoff ending episode.
<jrobeson> season 2.. boring..
<pontiki> i stopped after halfway in first season
<Nilium> At which point I just went "what the fuck" and never looked back
<jrobeson> season 3.. definitely stopped being boring
<Nilium> That said, I was one of the people hoping it'd stick close to the comic
<pontiki> when the walkers have more personality than the live people
<Nilium> The Walking Dead game did a much better job, I thought, as far as telling a story goes
ner0x has quit [Quit: Leaving]
<jrobeson> i also like silly things too tho
<Nilium> It didn't try to cram in a stupid underground laboratory ala Resident Evil or anything.
<jrobeson> if that perhaps changes your opinion of mine.. :) .. i liked eureka and warehouse 13 for example..
<Nilium> The whole underground lab thing might be the biggest problem I had with the series.
<Nilium> Because it seriously pissed me off.
<jrobeson> that only happened in two episodes
<pontiki> i still like w13
<pontiki> and i loved eureka
<jrobeson> it wasn't really a core plotpoint
<Nilium> I must not forgive it for those two episodes.
dankest has quit [Quit: dankest]
r4nd0m1 has quit [Read error: Connection reset by peer]
chxane has joined #ruby
<Nilium> They were just completely out of nowhere and amazingly stupid
<jrobeson> pontiki, 6 more episodes and w13 is a goner :(
<pontiki> yeah
<pontiki> i have't watched any of s4 yet :(
<jrobeson> waiting for it to hit netflix or something?
<pontiki> no, i have the eps
<pontiki> just not the time
<jrobeson> ah
<pontiki> i'm not watching anything right now
<l34ch> is it hard to get a job and then relocate to the bay area?
<pontiki> it's much harder to do it the other way 'round
<jrobeson> i've binged on too much stuff on this past few motnhs in this little town..
<Nilium> l34ch: The finding an apartment bit might be difficult.
<Nilium> Or house.
<pontiki> assuming said job is *in* the bay area
<l34ch> yeah ive read its like 3 to 4 grand a month
<pontiki> you have to have roommates
<jrobeson> pick the right company and they will help you relocate
<pontiki> or multiple incomes
<sevenseacat> sounds like fun
<pontiki> no, it's not that much
vlad_starkov has quit [Ping timeout: 240 seconds]
<Nilium> Or find something out of town.
Cyrus_ has joined #ruby
<jrobeson> pontiki, well.. it could easily be $3000 ... depending on the utilities..
<pontiki> if you're able to pay that much in rent, you can still buy a house for less monthly mortgage than that
<pontiki> especially south bay
<jrobeson> i have never heard anybody talk about utility costs
sayd has left #ruby ["WeeChat 0.4.1"]
<pontiki> in the city, it's way hard
<jrobeson> but.. i've definitely seen rents that are pretty high..
<pontiki> if you're in santa clara, utility costs are way low
<jrobeson> i'd be willing to pay it if i had one of those kinda jobs..
<Nilium> Chances are utilities won't be as big a factor.
<pontiki> except internet
gianlucadv has joined #ruby
<Nilium> That's not really utilities though.
<jrobeson> who knows what those crazy californians get up to..
<pontiki> i do
<pontiki> :P
<Nilium> I used to live in California, but it's been about 13 years, so I have no idea what's up down there.
<jrobeson> down there?
<jrobeson> from where
<pontiki> Nilium: for those of us in this particular world, internet is a utility
<Nilium> Plus I lived north of the Bay Area around Roseville.
<pontiki> but it's not regulated as one
<Nilium> And I was like 11 years old.
<jrobeson> i plan on visiting the bay area at some point
<jrobeson> but i doubt i'd move there anytime soon
<pontiki> i can't wait to move back
<pontiki> all of my friends and family
<sevenseacat> when i think of utilities i think like gas, electricity, water, etc.
<pontiki> sevenseacat: those are the typical regulated ones
<jrobeson> the internet should be counted as a utility.. but then .. so should have phones..
<Nilium> I want to go back just because most of my family is there and California's still the place I oddly consider home.
pothibo has quit [Quit: pothibo]
<pontiki> i do consider it home
<pontiki> though i wasn't born there or raised there
alvaro_o has quit [Quit: Ex-Chat]
<Nilium> I was born there, but less than half my life was spent there.
<jrobeson> i've only passed through california on the train
<jrobeson> to and from oregon
<Nilium> It's difficult to explain my irrational fondness for the state.
<pontiki> i was there for about 27 years. had two kids, great friends, other family
<jrobeson> fondess for california doesn't seem irrationally..
<Nilium> It does when I can't find a reason for it.
<pontiki> oh, lots of people loathe the place
idoru has joined #ruby
<jrobeson> sure they do
<Nilium> I'm in Idaho, everyone but the Californians who moved here hate California
<pontiki> i don't think there's any rationality to liking/disliking -- it's all emotional
<Nilium> They mostly hate the Californians 'cause they moved to Idaho and are considered a blight.
<jrobeson> hmm? climate is a very good reason to like california
<jrobeson> that's quite rational
<pontiki> heh, i've heard that a lot, Nilium
<zets> or hate it
kobain_ has quit [Ping timeout: 245 seconds]
<pontiki> jrobeson: that's a post-hoc rationalization :)
<zets> SF weather drives me crazy sometimes
<jrobeson> liking californians..
<jrobeson> now tha'ts different
<jrobeson> i think most people hate californians.. not california
<Nilium> Climate, culture, the state trying to generally do good things (and failing every time), etc.
<pontiki> i get off the plane in SFO and breathe in the marine layer and all that -- it's entirely feelings
tanema has quit [Remote host closed the connection]
<pontiki> it makes me feel good
forced_request has quit [Read error: Connection reset by peer]
<Nilium> Though I could never get used to LA and such. Would drive me mad living there.
krainboltgreene has quit [Quit: krainboltgreene]
<pontiki> Westside wasn't so bad, but i couldn't stand venturing inland
<jrobeson> i slept in the train station in LA ..
<Nilium> It's just too big for me to imagine living there.
<jrobeson> and ate tacos
<pontiki> yeah
<jrobeson> that's about it ..
<Nilium> You need to get a burrito in the Bay Area.
<pontiki> but if you confine yourself to like Venice, SM, Long Beach, it's not so bad
<pontiki> OMG
<pontiki> MISSION BURRITOS
<pontiki> NOW
<Nilium> Exactly.
<Nilium> You have not had a burrito 'til you've had one of those.
<jrobeson> we'll see about that..
pkrnj has quit [Quit: Computer has gone to sleep.]
<jrobeson> i'll be tasting all your burriots
<jrobeson> burritos
Neener54 has joined #ruby
<pontiki> only off a truck
<jrobeson> duh..
<jrobeson> i do eat tacos in a place that isn't a truck tho..
<pontiki> living here is like living in a cultural wasteland, except for the theatre
<jrobeson> the building looks like it should be on a dirt road in some sort of desert like area
<Nilium> Your likelihood of getting food poisoning skyrockets, but it's pretty worth it.
<jrobeson> pontiki, where do you live then ?
<pontiki> right now i'm in minnesnodia
<jrobeson> uhmm..
<jrobeson> where there
<pontiki> twin cities
<jrobeson> ah ok..
<jrobeson> well.. who knows there could be a real place called that
<jrobeson> it can't be that bad..
<pontiki> maybe not if you've never left
<pontiki> let me put it this way: would you willingly choose to go from 20Mbs broadband back to 52kpbs dial-up?
<Nilium> Reminds me of the move from California to Idaho.
<Nilium> I didn't get cable up here 'til.. 2006 I think.
<jrobeson> move to virginia beach pontiki .. :)
<jrobeson> hah
pkrnj has joined #ruby
<Nilium> Might have been 2007.
<jrobeson> we'll see how you feel about the twin cities then..
<pontiki> why should it go further down to 300baud?
ananthakumaran has joined #ruby
<jrobeson> hey now.. it's not that bad..
lusory has quit [Quit: leaving]
<pontiki> 1200?
<jrobeson> the place i am now is like 300
<jrobeson> parkersburg , wv
<jrobeson> until i move back to portland
<pontiki> sympathies. deepest sympathies
<pontiki> pdx is awesome
<DaveRoR> Has there been any significant changes in the functionality of "extend"?
<pontiki> i'd live there as well
<zendeavor> i get bored in portland
<pontiki> whoa
<zendeavor> let's throw a party
<pontiki> bored in portlandia??
<pontiki> the city of quirk?
<zendeavor> too much quirk
<zendeavor> not enough substance
<zendeavor> all shallow weird.
<pontiki> hmm
<Nilium> DaveRoR: Since when?
<zendeavor> we stole "keep portland weird" from austin anyway
<pontiki> i guess the folks i know are different
nga4 has quit [Ping timeout: 264 seconds]
<zendeavor> there's some good people
<Nilium> And has something changed for you?
<zendeavor> most of the area is actually shallow hipster memes
<zendeavor> like, just what they say on the interwebs about hipsters
<pontiki> seattle is much the same way
<zendeavor> screw it, i'm just gonna go to the LUG
<zendeavor> real geeks.
tjad has quit [Ping timeout: 264 seconds]
<pontiki> but i do have some awesome friends there
<zendeavor> neckbeard geeks.
<jrobeson> i didn't think portland was that bad
<zendeavor> yeah there's some really cool people. most, probably.
<zendeavor> but you have to dig deep to get it outta them
<jrobeson> i only accidentally moved there in the first place
<zendeavor> hey me too
<jrobeson> i was living in baltimore before that
seich- has quit [Ping timeout: 264 seconds]
<jrobeson> i went for a visit.. ended up staying for a few years
<zendeavor> it's a fun place
<jrobeson> made some friends.. and they are all begging me to come back
* Nilium pokes DaveRoR
<jrobeson> got plenty of couches to crash
lesliewen has quit [Quit: Leaving.]
<pontiki> living in SM was bad for socializing; LA has the weird thing going on it seems
<pontiki> hard to make friends and just be friends
<DaveRoR> Nilium: Since like, two years ago?
<pontiki> just hang and talk and stuff
<Nilium> Could you be more specific? Version numbers?
<jrobeson> i found portland to be good for that
<Nilium> Between vX and vY?
<pontiki> me too, jrobeson
v0n has quit [Ping timeout: 245 seconds]
<jrobeson> so.. a real ruby question ..
<pontiki> but LA -- maybe i was doing it wrong
<Nilium> Is there something you're actually noticing or just asking if there are differences?
<DaveRoR> Nilium: 1.9.2 and 1.9.3?
<pontiki> a few ppl i met, no one would want to do anything
<jrobeson> anybody used ruby-serial ? i saw some bugs about missing bytes.. and i'm just wondering if it's an endemic problem.. or just some random quirk..
<zendeavor> dude
<zendeavor> no one in portland wants to do anything but walk around downtown
<zendeavor> i'm like
<jrobeson> do what?
<DaveRoR> Nilium: I suspect that the functionality of "extend" is messing with my rails app, that's why...
<jrobeson> we went downtown to do stuff..
<jrobeson> but we never hung out down there
<jrobeson> i think you spent too much time in the pearl..
<sevenseacat> extend is fine with rails
<zendeavor> yeah like, hang out. downtown. doing nothing.
<jrobeson> i lived in SE
<Nilium> I don't think anything in extend changed in any significant or noticeable way in 1.9.2 to 1.9.3
<zendeavor> just walk around
<pontiki> actually, all the folks i know live away from town
<pontiki> we just hang out
<jrobeson> none of my friends are computer nerds
<Nilium> If there's something wrong in your rails app, it's most likely something else you're doing wrong.
<sevenseacat> yep.
<DaveRoR> Nilium: Thanks!
<jrobeson> i personally do like walking around downtown..
<jrobeson> any and all downtowns
seich- has joined #ruby
<jrobeson> everybody in pdx is like.. let's go hiking.. let's go to mt hood, or the falls, or blah blah blah
Neener54 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jrobeson> the coast..
ukd1 has joined #ruby
<jrobeson> let's go on 20 mile bikerides
<Nilium> I went camping once in my life and I'm never doing it again. Camping made me realize that we have houses for a reason.
kung has quit [Quit: Bye!]
<zendeavor> everyone i know that wants to go hiking means "highking"
<Nilium> Is that like a competitive king of the hill thing?
<zendeavor> and they don't have vehicles
<zendeavor> yes Nilium definitely.
<Nilium> So lots of backstabbing and poisoning and so on?
<jrobeson> everybody i know is too laid back for that kinda thing..
Dreamer3 has quit [Quit: Leaving...]
<jrobeson> that's the portland stereotype i know.. low ambition ..
<Nilium> I'm pretty happy to just go on a bike ride around town or a walk or something. I don't need to put myself in the position to potentially die to be happy.
nucatus has joined #ruby
ravster has quit [Quit: Leaving.]
<Nilium> I mean I could go climb to the top of some mountain or go hiking in the snow or something equally likely to result in me slipping and falling to my death but I'm more okay with not doing that.
<jrobeson> hmm.. should i write this in perl hmm..
<Nilium> I should write more blog posts
<Nilium> But after realizing I wasn't a super genius by writing code, I kind of stopped
<Nilium> So now I just hoard all the stuff I've written.
<sevenseacat> i keep meaning to start a blog
<Nilium> Maybe I'll rewrite my blog gem and then blog about rewriting a blog gem.
cj3kim has quit [Remote host closed the connection]
<Nilium> OakTree certainly needs a giant internal thrashing.
krz has quit [Ping timeout: 256 seconds]
<pontiki> how meta,not-meta,meta
tgunr has joined #ruby
nucatus has quit [Ping timeout: 240 seconds]
<Nilium> I think that thereby negates meta-ness.
<pontiki> i keep starting and stopping
<pontiki> i like to write
<Nilium> And then comes around full circle to "hey I have a severe case of NIH syndrome"
<sevenseacat> i like to write too, i dont do a lot of it anymore
lusory has joined #ruby
<Nilium> I like to write so much I got a degree in English :|
tommyvyo has joined #ruby
<Nilium> Still trying to get my fiction/nonfiction/poetry into a literary journal.
<Nilium> That's the really annoying thing though -- I can't publish stuff myself if I want it in a journal.
sparq_ has joined #ruby
<Nilium> At least not until it's already been in a journal
<sevenseacat> last time i formally studied English, i failed it (in high school)
<Nilium> I didn't go to high school, so I have no idea what it would've been like.
<Nilium> Supposedly it's hell.
<sevenseacat> home schooled?
<Nilium> Yep.
newUser1234 has joined #ruby
<sevenseacat> nice
<Nilium> Homeschooled and then went to a community college at 16. Made me want to eventually get a masters so I could teach at a CC.
<Nilium> Not sure when I'll do the masters thing since I'm still sort of burnt out from the first four years.
s2013 has joined #ruby
ukd1 has quit [Ping timeout: 245 seconds]
Joel_re has quit [Ping timeout: 276 seconds]
agjacome has joined #ruby
zachrab_ has joined #ruby
cj3kim has joined #ruby
tjad has joined #ruby
_|christian|_ has quit [Quit: Leaving]
cj3kim has quit [Remote host closed the connection]
<pontiki> hmm... used to be you could qualify to teach at CC with just a bachelor's
<pontiki> not true any more?
kil0byte has joined #ruby
diegoviola has quit [Ping timeout: 240 seconds]
Neener54 has joined #ruby
sarkis has joined #ruby
Joel_re has joined #ruby
<pontiki> still, by all means grab the masters
<pontiki> i wish i had one
<pontiki> mostly for the experience of studying something that intensely
moses_m has joined #ruby
DaveRoR has left #ruby [#ruby]
Neener54 has quit [Client Quit]
snovak has joined #ruby
<sevenseacat> i'd love to go back and study some more. i dont have the time or money though :(
Neener54 has joined #ruby
<pontiki> but as i recall public high school (ages and ages ago), it was exceedingly homogenised, ruled by jocks and cheers, no one ever actually taught you the truth, and geeks, freaks, and queers were always at the bottom of everything
zets has quit []
Joel_re has quit [Read error: Connection reset by peer]
<jrobeson> not much different.. here or anywhere else
snovak has quit [Ping timeout: 246 seconds]
<bnagy> _anywhere_ else?
thepumpkin has joined #ruby
nanoxd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jrobeson> american and anywhere else..
nanoxd has joined #ruby
<jrobeson> where they have something like highschool..
skasio has joined #ruby
Kelet has quit [Read error: Connection reset by peer]
<bnagy> ...
<bnagy> tell me more about your global survey of secondary education!
emogirlj has joined #ruby
<pontiki> you going to subscribe to his newsletter?
<sevenseacat> a bit different over here, no such 'jocks and cheers'
<pontiki> nod
<pontiki> my experience seems typical of US public schools, some better, some worse, some completely different, too
cha1tanya has joined #ruby
<pontiki> magnet schools, specialty schools, art schools, science schools...
<pontiki> these things did not exist
<pontiki> but my dad taught in public high schools
zachrab_ has quit [Remote host closed the connection]
<pontiki> i survived
<pontiki> mostly
<pontiki> easier to jump out and get to uni
<pontiki> but this was a long long time ago
<pontiki> my girls had more opportunities for alternate education
vlad_starkov has joined #ruby
<pontiki> one needed it, one did not
zorg24 has quit [Ping timeout: 268 seconds]
goleldar has quit [Ping timeout: 268 seconds]
baroquebobcat has joined #ruby
Domon has quit [Remote host closed the connection]
Domon has joined #ruby
dankest has joined #ruby
ryandeussing has quit [Remote host closed the connection]
mlpinit has quit [Remote host closed the connection]
andredublin has quit [Remote host closed the connection]
ukd1 has joined #ruby
DanielRb has quit [Read error: Connection reset by peer]
JohnBat26 has joined #ruby
vlad_starkov has quit [Ping timeout: 264 seconds]
dodosan has joined #ruby
Domon has quit [Ping timeout: 276 seconds]
ewnd9 has quit [Ping timeout: 245 seconds]
maniacal has quit [Remote host closed the connection]
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
DanielRb has joined #ruby
DanielRb has quit [Changing host]
DanielRb has joined #ruby
dodosan has quit [Read error: Connection reset by peer]
dodosan has joined #ruby
Lewix has quit [Remote host closed the connection]
Soliah has joined #ruby
dodosan has quit [Remote host closed the connection]
Z3tta has quit [Ping timeout: 260 seconds]
dodosan has joined #ruby
jkline has quit [Quit: jkline]
b00stfr3ak has joined #ruby
tommyvyo has quit [Quit:]
yy-nm1 has joined #ruby
yy-nm has left #ruby [#ruby]
mercwithamouth has joined #ruby
yy-nm1 has left #ruby [#ruby]
Lewix has joined #ruby
yy-nm1 has joined #ruby
<jrobeson> i was just talking to some folks from germany, belgium and whatnot.. there seems to be a hierarchy wherever you go
<jrobeson> oh.. australia sounded somewhat similiar
<jrobeson> although.. not so much on the heterogenous education..
ukd1 has quit [Ping timeout: 268 seconds]
Geison_Bequer has joined #ruby
kevinykchan has quit [Read error: Connection reset by peer]
<sevenseacat> well a hierarchy, sure
<jrobeson> i should have been clear.. i was mostly referring to cliques
kevinykchan has joined #ruby
<sevenseacat> cliques form in any sort of social environment
<bnagy> especially ones that actively encourage them
nga4 has joined #ruby
newUser1234 has quit [Remote host closed the connection]
tommyvyo has joined #ruby
<jrobeson> people of a certain age.. are people of a certain age..
rburton- has quit [Quit: Linkinus - http://linkinus.com]
Haya has quit [Ping timeout: 245 seconds]
<jrobeson> how tautological of me
etman has quit [Quit: etman]
<jrobeson> so.. no ruby serial users? :)
sparr has joined #ruby
tanema has joined #ruby
agjacome has quit [Quit: leaving]
huoxito has quit [Quit: Leaving]
<Nilium> Serial users?
<Nilium> That a gem? For serial ports?
<Nilium> Do those still exist?
tanema has quit [Ping timeout: 264 seconds]
yy-nm1 has quit [Quit: yy-nm1]
<jrobeson> yes they do..
Tricon has quit [Quit: Leaving...]
<bnagy> ls /dev | grep ttys | wc -l => 27
<jrobeson> i have a serial device that takes input from pressure sensors.. need to forward them to a web app
tomzx_mac has quit [Ping timeout: 268 seconds]
Z3tta has joined #ruby
<bnagy> on windows?
<jrobeson> nah.. on linux
<bnagy> oh.. why does just reading from the device not work?
<jrobeson> that's like asking why one would use cdparanoia to handle cd audio files vs cat /dev/cdrom > some iso
<jrobeson> plus all all you get out of that is just plain gunk
<jrobeson> unreadable characters
<jrobeson> but when using minicom.. it'll actually convert it to hex.
nucatus has joined #ruby
<bnagy> ok, I'm going to go and not waste my time somewhere
Heero has joined #ruby
l34ch_ has joined #ruby
<l34ch_> hello
nucatus has quit [Ping timeout: 240 seconds]
sarkis has quit [Ping timeout: 245 seconds]
unRealElite has joined #ruby
amacgregor has joined #ruby
l34ch_ has left #ruby [#ruby]
kil0byte has quit [Remote host closed the connection]
Guest23754 has joined #ruby
i_s has joined #ruby
tommyvyo has quit [Quit:]
Heero has quit [Quit: Leaving]
amacgregor_ has joined #ruby
<Nilium> I'd ask why converting it to hex is somehow valuable but it's better not to.
amacgregor__ has joined #ruby
unRealElite has quit [Quit: This computer has gone to sleep]
amacgregor has quit [Ping timeout: 264 seconds]
<jrobeson> Nilium, so i can read it ..
<Nilium> But why do you need a gem to convert anything to hex?
<jrobeson> anyways.. it works fine last time i did it in perl.. just wondered if anybody had any of the "missing bytes" issues mentioned in the ruby-serial issue tracker
<jrobeson> if they had in fact used it
ukd1 has joined #ruby
<jrobeson> Nilium, i don't need the gem for that
amacgregor_ has quit [Ping timeout: 264 seconds]
Neener54 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jrobeson> i need the gem for reading from the port.. and sending the result to some webapp
<Nilium> Why would a web-app need it in hex?
<jrobeson> and i can't guarantee good results by reading from the device directly
<jrobeson> that's irrelevant to using the gem..
<Nilium> Oh well, I'll just assume you know what you're doing or don't know what you're doing
<Nilium> You can be schrodinger's programmer.
<pontiki> just stick the output from minicom onto a redis queue? web app reads it when it needs to?
<Nilium> Unobserved, nobody has a clue if you know what you're doing.
<jrobeson> Nilium, it doesn't matter.. i was just trying to find out .. if somebody who has used the ruby gem.. had in fact noticed missing bytes
<jrobeson> that's it
<jrobeson> because if they had.. that sounds pretty broken.. and i shouldn't boether with the gem
ssvo has joined #ruby
<jrobeson> there are many other other ways.. like using socat and forwarding the output directly..
<pontiki> you don't have to write everything in the same language...
zeropx has quit [Quit: has left the room … Or did he?]
<jrobeson> surely don't.. it just makes it easier
<jrobeson> i already did it once in perl.. quite easily
<pontiki> that's what i'm saying, you implemented it once, easily, you know it works, use it
<jrobeson> because it eases the depedencies for installing it ..
<jrobeson> requiring perl just for that is not something i'd like to do .. unless i have to
<pontiki> wat
<pontiki> what distro does not come with perl ?
<jrobeson> i currently use linux, but that doesn't mean the software will always be run on linux
<jrobeson> although i hope it will.. that would make things easier certainly.. but i have no guarantee of that
<pontiki> maybe not
popl has joined #ruby
thepumpkin has quit [Remote host closed the connection]
<jrobeson> hmm.. sending it to redis is a good idea.. i'm not familiar with the protocol though
<pontiki> but then again, if you have something that works, now, and you don't *know* it's going to be run anywhere else, you're burrowing into YAGNI
<jrobeson> i was trying to think of where i'd put the bridge.. i could do a rest API
<jrobeson> that was 9 years ago.. i don't have the code anymore
<pontiki> ah, well that's a different issue then
<jrobeson> i was only replying that i know i knew i didn't have to use ruby.. and could certainly use something else :)
<pontiki> and i was saying use what you have, but it turns out you don't have it
i_s has quit [Remote host closed the connection]
<jrobeson> i was also trying to figure out next how i would bridge the serial port to the webapp..
Guest23754 is now known as diegoviola
<pontiki> even so, architecturally, i'd say what you are doing is speed matching things that run a different rates, an asynch solution like using a queue seems better than polling an api
<jrobeson> so.. i could just use socat.. and do a raw tcp stream.. but i think that's a persistant connection..
snovak has joined #ruby
<jrobeson> well this is send from serial.. so it wouldn't be polling
<pontiki> wrong area
<jrobeson> now submitting to the webapp.. i could do it with an api.. or just drop it in redis like you said
<pontiki> that's what i am talking about
<jrobeson> in this particular case.. i'm more used to hacking around shared nothing in php.. and dropping it into a mysql db directly
<pontiki> in the api scenario, your web app will need to poll *something* to get the data
<pontiki> not the serial port itself
<jrobeson> that is.. i always had to work before managing queues in a way that worked with shared yuck hosting
etman has joined #ruby
<pontiki> in the redis scenario, it will consume the queu
<jrobeson> so iwas trying to do it the right way this time
bluOxigen has joined #ruby
ukd1 has quit [Ping timeout: 245 seconds]
<jrobeson> i was also looking into seeing what i could do with gearman
<pontiki> dunno gearman
icole has joined #ruby
<jrobeson> i've always wanted to play with redis.. this is one of the first times in all this time i've done web app coding where i've had a chance to control the entire stack..
<jrobeson> i think i've spent my entire app dev career writing stuff that could work even in the most yuck situations like shared hosting :(
<jrobeson> not really a big problem for web apps.. until you wanna do something likle this
pvizcay has left #ruby ["ruby"]
ananthakumaran has quit [Quit: Leaving.]
<pontiki> i find it a problem for all but the most generic web apps
snovak has quit [Ping timeout: 264 seconds]
<jrobeson> hmm.. i don't recal having a problem.. only kinda hacky for queue management..
icole has quit [Remote host closed the connection]
dodosan has quit [Ping timeout: 246 seconds]
<jrobeson> well more than kinda ..
<jrobeson> but it did work..
<pontiki> i just have a hard time working via an ftp interface to manage the site
<jrobeson> oh.. ftp.. no freakin way
<jrobeson> i could never manage a site with ftp..
dodosan has joined #ruby
<pontiki> or control panels
<jrobeson> i'm not the one who ever has to actually use them that way
<jrobeson> i just make it so they can be used tha tway
<jrobeson> i can't imagine not having ssh
amacgregor has joined #ruby
<pontiki> so many of the cheap hosting plans don't allow any shell access
<jrobeson> ah.. well there is a breaking point..
amacgregor has quit [Read error: Connection reset by peer]
<popl> pontiki: if they allow shell access they've got to support shell access.
<pontiki> and once you roll over it, wth, get a VPS
<pontiki> they don't allow it
amacgregor has joined #ruby
<pontiki> that's the point
<jrobeson> sure.. vpses weren't exactly an option back then ..
<pontiki> back.. when??
<jrobeson> vps have only really been an option for uhmm.. maybe 6 years?
<jrobeson> i took a break for awhile.. not sure when i remember seeing them
khushildep has joined #ruby
<jrobeson> dedicated servers were the only alternative for a long time
<jrobeson> well and coloing..
<popl> an ellipsis is ... or …, FYI
<popl> ;P
vlad_starkov has joined #ruby
krz has joined #ruby
<jrobeson> ok?
amacgregor__ has quit [Ping timeout: 264 seconds]
<pontiki> i had a VDS back in like 02?
<jrobeson> how much was that?
<jrobeson> i don't really remembering seeing such things until usermode linux was a thing
<pontiki> wait, are you saying not an option because of price or because of availability?
SeySayux has quit [Ping timeout: 246 seconds]
<jrobeson> i'm just trying to remember seeing any vdses before usermode linux
<jrobeson> and i'm not remembering any
jpun has quit [Ping timeout: 264 seconds]
<jrobeson> perhaps they were bsd jailed ?
<pontiki> price was like $600/yr
Demo_of_doom_ has joined #ruby
<pontiki> from godaddy
<pontiki> the vps i have now from them is half that
yfeldblum has quit [Ping timeout: 268 seconds]
<jrobeson> ah.. my memory of that is really shot then.. :(
Demo_of_doom_ has quit [Read error: Connection reset by peer]
mlpinit has joined #ruby
browndawg has joined #ruby
<jrobeson> ok.. time to cry in my uhmm.. water
anderson has joined #ruby
St_Marx has joined #ruby
sparr has quit [Ping timeout: 246 seconds]
s2013 has quit [Ping timeout: 240 seconds]
twoism has joined #ruby
twoism has quit [Remote host closed the connection]
unRealElite has joined #ruby
twoism has joined #ruby
samsagaz has joined #ruby
<popl> haha
<popl> poor jrobeson
samsagaz has left #ruby ["Konversation terminated!"]
vlad_starkov has quit [Ping timeout: 264 seconds]
* pontiki refills jrobeson's glass
<popl> I saw some flavor lab making bourbon-flavored water on Bizarre Foods :P
Guest___ has joined #ruby
Guest___ has quit [Client Quit]
SeySayux has joined #ruby
popl has quit [Quit: We must make an idol of our fear, and call it God.]
Guest___ has joined #ruby
Guest___ is now known as Darkco
maniacal has joined #ruby
<jrobeson> pontiki, is that such a good idea?
jpun has joined #ruby
twoism_ has joined #ruby
mlpinit has quit [Ping timeout: 240 seconds]
twoism has quit [Ping timeout: 240 seconds]
twoism_ has quit [Ping timeout: 264 seconds]
<pontiki> i dunno
<pontiki> is it not?
<pontiki> thought you might be thirsty after spending all those tears. dun want you to get dehydrated...
sambao21 has joined #ruby
Darkco has quit [Quit: Textual IRC Client: www.textualapp.com]
l34ch has quit [Ping timeout: 264 seconds]
khushildep_ has joined #ruby
ananthakumaran has joined #ruby
ukd1 has joined #ruby
ezotrank has joined #ruby
khushildep has quit [Ping timeout: 264 seconds]
khushildep_ is now known as khushildep
yacks has quit [Read error: Connection reset by peer]
ntus1017 has joined #ruby
ffranz has quit [Quit: Leaving]
Domon has joined #ruby
endash has quit [Quit: endash]
staafl has joined #ruby
sambao21 has quit [Ping timeout: 245 seconds]
ukd1 has quit [Ping timeout: 264 seconds]
Monie has joined #ruby
lyanchih has joined #ruby
nucatus has joined #ruby
arietis has joined #ruby
sambao21 has joined #ruby
Monie has quit [Client Quit]
nucatus has quit [Read error: Operation timed out]
Megtastique has joined #ruby
dash_ has joined #ruby
_maes_ has quit [Ping timeout: 245 seconds]
sambao21 has quit [Ping timeout: 240 seconds]
ezotrank has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
s2013 has joined #ruby
tagrudev has joined #ruby
ntus1017 has quit [Remote host closed the connection]
ori-l has joined #ruby
amacgregor_ has joined #ruby
s2013 has quit [Client Quit]
jonahR has joined #ruby
emogirlj has quit []
sqd has joined #ruby
iliketurtles has joined #ruby
iliketurtles has quit [Max SendQ exceeded]
Davey has quit [Quit: Computer has gone to sleep.]
amacgregor has quit [Ping timeout: 264 seconds]
iliketurtles has joined #ruby
rurufufuss has joined #ruby
graydot has quit [Quit: graydot]
Davey has joined #ruby
ezotrank has joined #ruby
Davey has quit [Client Quit]
i_s has joined #ruby
cads has quit [Ping timeout: 276 seconds]
smathieu has joined #ruby
ryandeussing has joined #ruby
ayaz has joined #ruby
cads has joined #ruby
snovak has joined #ruby
wallerdev has quit [Quit: wallerdev]
Megtastique has quit [Quit: Megtastique]
ukd1 has joined #ruby
smathieu has quit [Ping timeout: 245 seconds]
i_s has quit [Ping timeout: 276 seconds]
ryandeussing has quit [Ping timeout: 276 seconds]
Megtastique has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.1]
snovak has quit [Ping timeout: 268 seconds]
atno has quit [Quit: Leaving]
ayaz_ has joined #ruby
ayaz_ has quit [Client Quit]
graydot has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
sambao21 has joined #ruby
atno has joined #ruby
vlad_starkov has joined #ruby
nari has quit [Ping timeout: 268 seconds]
maniacal has quit [Remote host closed the connection]
chriskk has quit [Quit: chriskk]
moses_m has quit [Ping timeout: 264 seconds]
DrShoggoth has quit [Quit: Leaving]
sergicles has quit [Quit: sergicles]
sambao21 has quit [Ping timeout: 264 seconds]
pkrnj has quit [Quit: Textual IRC Client: www.textualapp.com]
vlad_starkov has quit [Ping timeout: 276 seconds]
ukd1 has quit [Ping timeout: 240 seconds]
huevon has joined #ruby
Megtastique has quit [Quit: Megtastique]
jefflyne has joined #ruby
Kelet has joined #ruby
khushildep has quit [Quit: khushildep]
tonni has quit [Remote host closed the connection]
brain_shim_ has joined #ruby
sqd has quit [Quit: sqd]
robbyoconnor has quit [Ping timeout: 268 seconds]
sayan has joined #ruby
sparq_ has quit [Ping timeout: 256 seconds]
brain_shim has quit [Ping timeout: 256 seconds]
nso95 has joined #ruby
yacks has joined #ruby
ori-l has left #ruby ["Leaving..."]
zombiebit has joined #ruby
workmad3 has joined #ruby
kil0byte has joined #ruby
dodosan has quit [Remote host closed the connection]
boblu has joined #ruby
zachrab_ has joined #ruby
robbyoconnor has joined #ruby
jds has joined #ruby
jkline has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
emergion has joined #ruby
nucatus has joined #ruby
etman has quit [Quit: etman]
tonni has joined #ruby
etman has joined #ruby
ukd1 has joined #ruby
relix has joined #ruby
nucatus has quit [Ping timeout: 256 seconds]
lyanchih has quit [Quit: lyanchih]
unRealElite has quit [Quit: This computer has gone to sleep]
Matriks has joined #ruby
cj3kim has joined #ruby
cj3kim has joined #ruby
v0n has joined #ruby
apeiros has quit [Read error: Connection reset by peer]
zachrab_ has quit [Remote host closed the connection]
apeiros has joined #ruby
cj3kim has quit [Remote host closed the connection]
rurufufuss has quit [Remote host closed the connection]
hogeo has quit [Remote host closed the connection]
hogeo has joined #ruby
cj3kim has joined #ruby
cj3kim has joined #ruby
cj3kim has quit [Changing host]
persand has joined #ruby
tonytaudesign has joined #ruby
<tonytaudesign> how is everyone doing today?
julweber has quit [Remote host closed the connection]
jonahR has quit [Quit: jonahR]
workmad3 has quit [Ping timeout: 276 seconds]
<tonytaudesign> if an array index is stored in a variable, can you call its index through a method... ex: @variable = array[1]
<tonytaudesign> @variable.method_to_ get_index_number
<bnagy> uh..
<bnagy> you can't
ebanoid has joined #ruby
eldariof has joined #ruby
<sevenseacat> so say array[1] is foo, and your array has foo in it three times
Geison_Bequer has quit [Read error: Connection reset by peer]
<bnagy> ary.index @variable
<sevenseacat> which index do you get?
arietis has joined #ruby
cj3kim has quit [Read error: Connection reset by peer]
cj3kim has joined #ruby
<tonytaudesign> 1
lyanchih has joined #ruby
<tonytaudesign> i am guessing
Haya has joined #ruby
<sevenseacat> so @variable is the string 'foo' and you expect it to keep a reference of where it came from
ukd1 has quit [Ping timeout: 268 seconds]
<bnagy> basically, variables don't ( can't ) know about references to them
<tonytaudesign> gotcha
<tonytaudesign> so only way is iterating through the array for the array with the same memory value?
<tonytaudesign> for the index*
_honning_ has joined #ruby
<tonytaudesign> act I am going to shut up but thanks guys!
<bnagy> well you can use Array#index
<sevenseacat> depends on the type of the variable, i would think - if its a string, it would be a different instance
<bnagy> but, like, an array isn't a Set
cj3kim has quit [Remote host closed the connection]
<bnagy> a="hi", b=[a,a,a,a]
<bnagy> oops
arturaz has joined #ruby
cads has quit [Read error: Operation timed out]
<tonytaudesign> I started a program
<tonytaudesign> and I stored the players in an array
cj3kim has joined #ruby
cj3kim has quit [Changing host]
cj3kim has joined #ruby
<bnagy> it _will_ be nice enough to work out strings, even though the object ids are actually different
<tonytaudesign> then referenced the current player with an instance variable
<bnagy> >> ["yo","hi"].index "hi"
<eval-in> bnagy => 1 (https://eval.in/43342)
<tonytaudesign> but never set up a way for the game to switch to the next player
<bnagy> like those two strings are different objects
<sevenseacat> ah cool.
neo_ has joined #ruby
snovak has joined #ruby
jonahR has joined #ruby
<bnagy> >> %w(player1 player2).cycle.each.first 4
<eval-in> bnagy => ["player1", "player2", "player1", "player2"] (https://eval.in/43343)
jonahR has quit [Client Quit]
Peej has quit [Remote host closed the connection]
allsystemsarego has joined #ruby
<bnagy> man I keep screwing those up and eaching things that are already enumerators :/
snovak has quit [Ping timeout: 268 seconds]
apeiros has quit [Remote host closed the connection]
nso95 has left #ruby [#ruby]
<Fuzai> Is there a way to make gsub only match once?
<Fuzai> nm i just figured it out
vlad_starkov has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
ezotrank has quit [Ping timeout: 240 seconds]
lyanchih has quit [Quit: lyanchih]
Domon has quit [Remote host closed the connection]
aganov has joined #ruby
jkline has quit [Quit: jkline]
Domon has joined #ruby
kaspergrubbe has joined #ruby
workmad3 has joined #ruby
Matriks has quit [Remote host closed the connection]
Domon has quit [Ping timeout: 264 seconds]
zoee has joined #ruby
eldariof has quit [Ping timeout: 268 seconds]
newUser1234 has joined #ruby
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
iliketurtles has quit [Ping timeout: 256 seconds]
xiphffff2 has joined #ruby
Dwarf has quit [Ping timeout: 245 seconds]
maasdesigner1 has joined #ruby
waysc has quit [Read error: Connection reset by peer]
waysc has joined #ruby
xiphffff1 has quit [Ping timeout: 245 seconds]
Hien has quit [Ping timeout: 245 seconds]
ukd1 has joined #ruby
optobear has left #ruby ["PONG :asimov.freenode.net"]
Hien has joined #ruby
Todd has quit []
cj3kim has quit [Remote host closed the connection]
dodosan has joined #ruby
mercwithamouth has quit [Ping timeout: 240 seconds]
v8energy has quit []
dv__ has joined #ruby
Dwarf has joined #ruby
mnemon has quit [Remote host closed the connection]
mnemon has joined #ruby
mnemon has quit [Changing host]
mnemon has joined #ruby
neo_ has quit [Quit: Leaving]
Domon has joined #ruby
etman has quit [Quit: etman]
Elfix has quit [Ping timeout: 264 seconds]
Elfix has joined #ruby
dv_ has quit [Ping timeout: 264 seconds]
iliketurtles has joined #ruby
maasdesigner1 has quit [Remote host closed the connection]
jonkri has joined #ruby
jonkri has joined #ruby
jonkri has quit [Changing host]
mercwithamouth has joined #ruby
dankest has quit [Quit: dankest]
jarray52 has quit [Quit: Leaving.]
Fire-Dragon-DoL has joined #ruby
tesuji has joined #ruby
ukd1 has quit [Ping timeout: 276 seconds]
warnabas has quit [Ping timeout: 268 seconds]
warnabas has joined #ruby
skasio has quit [Quit: leaving]
jds has quit [Remote host closed the connection]
Xeago has joined #ruby
altivec has joined #ruby
nucatus has joined #ruby
jds_ has joined #ruby
jprovazn has joined #ruby
nucatus has quit [Read error: Operation timed out]
polymar has joined #ruby
v0n has quit [Ping timeout: 256 seconds]
jds_ has quit [Read error: Connection reset by peer]
jds has joined #ruby
maxmanders has joined #ruby
spider-mario has joined #ruby
saarinen has joined #ruby
noname001 has joined #ruby
sayan has quit [Ping timeout: 245 seconds]
noopq has joined #ruby
skaflem has joined #ruby
tvw has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
jds has quit [Ping timeout: 264 seconds]
amacgregor has joined #ruby
ezotrank has joined #ruby
Wildhoney has joined #ruby
tesuji has quit [Read error: Connection reset by peer]
tesuji has joined #ruby
Coffers has joined #ruby
amacgregor_ has quit [Ping timeout: 264 seconds]
altivec has quit [Quit: Textual IRC Client: www.textualapp.com]
maxmanders has quit [Quit: Computer has gone to sleep.]
threesome has joined #ruby
vince_prignano has joined #ruby
tonni has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
gstamp has quit [Quit: Computer has gone to sleep.]
vlad_sta_ has joined #ruby
vlad_starkov has quit [Read error: Connection reset by peer]
tonytaudesign has quit [Quit: ChatZilla 0.9.90.1 [Firefox 21.0/20130512193848]]
newUser1234 has quit [Remote host closed the connection]
ukd1 has joined #ruby
calmyournerves has joined #ruby
ephemerian has joined #ruby
camilasan has joined #ruby
snovak has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
nari has joined #ruby
niceguyjames has joined #ruby
b00stfr3ak has quit [Quit: Leaving]
lkba has quit [Ping timeout: 240 seconds]
maxmanders has joined #ruby
snovak has quit [Ping timeout: 264 seconds]
OZzl has joined #ruby
ahawkins has joined #ruby
joast has quit [Ping timeout: 264 seconds]
colonolGron has joined #ruby
ukd1 has quit [Ping timeout: 268 seconds]
tonni has joined #ruby
khushildep has joined #ruby
jds has joined #ruby
Wildhoney has quit [Quit: Wildhoney]
osvico has quit []
wudofyr has quit [Remote host closed the connection]
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
wudofyr has joined #ruby
pygospa has quit [Disconnected by services]
TheRealPygo has joined #ruby
TheRealPygo is now known as pygospa
nomenkun has joined #ruby
dweeb_ has joined #ruby
virtualize|work has quit []
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
huevon has quit [Quit: WeeChat 0.4.1]
virt|a has quit []
jds has quit [Ping timeout: 264 seconds]
graydot has quit [Quit: graydot]
Fire-Dragon-DoL has quit [Quit: Leaving.]
josiah14 has quit [Ping timeout: 250 seconds]
tatsuya_o has joined #ruby
jim0thy_ has joined #ruby
elaptics`away is now known as elaptics
brandon has quit [Ping timeout: 264 seconds]
marius has joined #ruby
amacgregor_ has joined #ruby
shaunbaker has joined #ruby
amacgregor_ has quit [Read error: Connection reset by peer]
amacgregor_ has joined #ruby
amacgregor has quit [Read error: Connection reset by peer]
kiri has quit [Ping timeout: 276 seconds]
marius has quit [Ping timeout: 240 seconds]
apeiros has joined #ruby
Wildhoney has joined #ruby
marr has joined #ruby
Bry8Star{T2 has quit [Ping timeout: 240 seconds]
ukd1 has joined #ruby
kiri has joined #ruby
ehaliewicz has quit [Ping timeout: 246 seconds]
atno has quit [Remote host closed the connection]
atno has joined #ruby
Al_ has joined #ruby
workmad3 has quit [Ping timeout: 256 seconds]
jds has joined #ruby
khushildep has quit [Ping timeout: 245 seconds]
lyanchih has joined #ruby
ukd1 has quit [Ping timeout: 245 seconds]
klaut has joined #ruby
AllInOne has joined #ruby
_Andres has joined #ruby
blackmes1 has joined #ruby
AllInOne has quit [Killed (idoru (Spam is off topic on freenode.))]
rubyist has joined #ruby
Wildhoney has quit [Quit: Wildhoney]
kilophoton has quit [Quit: kilophoton]
smathieu has joined #ruby
khushildep has joined #ruby
MrZYX|off is now known as MrZYX
arietis has quit [Quit: Computer has gone to sleep.]
ezotrank has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
snovak has joined #ruby
BizarreCake has joined #ruby
smathieu has quit [Ping timeout: 245 seconds]
lyanchih has quit [Quit: lyanchih]
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
coderhut has joined #ruby
coderhut has quit [Client Quit]
snovak has quit [Ping timeout: 268 seconds]
Lewix has quit [Remote host closed the connection]
Lewix has joined #ruby
Matriks has joined #ruby
coderhut has joined #ruby
mikecmpbll has joined #ruby
nucatus has joined #ruby
adambeynon has joined #ruby
newUser1234 has joined #ruby
niceguyjames has quit [Quit: Textual IRC Client: www.textualapp.com]
Bry8Star{T2 has joined #ruby
Lewix has quit [Ping timeout: 268 seconds]
lyanchih has joined #ruby
blackmes1 has quit [Ping timeout: 240 seconds]
nucatus has quit [Ping timeout: 264 seconds]
newUser1234 has quit [Ping timeout: 246 seconds]
sevenseacat has left #ruby [#ruby]
sayan has joined #ruby
nari has quit [Ping timeout: 264 seconds]
Emmy has quit [Ping timeout: 276 seconds]
<YaNakilon> [10:57:49] <bnagy> >> %w(player1 player2).cycle.each.first 4
ukd1 has joined #ruby
jefflyne has joined #ruby
<YaNakilon> probably possible with .lazy .flat_map .take?
<YaNakilon> i don't have 2.0 to test
<YaNakilon> but idk how to start the expression
lyanchih has quit [Quit: lyanchih]
sjltaylor has joined #ruby
Kabaka has quit [Ping timeout: 240 seconds]
nga4 has quit [Ping timeout: 245 seconds]
lyanchih has joined #ruby
kung has joined #ruby
caveat- has quit [Ping timeout: 268 seconds]
bnagy has quit [Remote host closed the connection]
Astral_ has joined #ruby
Kabaka has joined #ruby
blackmes1 has joined #ruby
jds has quit [Ping timeout: 264 seconds]
banister`sleep has joined #ruby
caveat- has joined #ruby
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
Astralum has quit [Ping timeout: 245 seconds]
niceguyjames has joined #ruby
ahawkins has quit [Ping timeout: 264 seconds]
coderhut has quit [Ping timeout: 250 seconds]
jds has joined #ruby
ananthakumaran1 has joined #ruby
Wildhoney has joined #ruby
jds has quit [Read error: Connection reset by peer]
ryandeussing has joined #ruby
jds has joined #ruby
ukd1 has quit [Ping timeout: 276 seconds]
brandon has joined #ruby
ananthakumaran has quit [Ping timeout: 264 seconds]
ahawkins has joined #ruby
ryandeussing has quit [Ping timeout: 256 seconds]
jds has quit [Ping timeout: 245 seconds]
Fuzai has quit [Quit: No Ping reply in 180 seconds.]
fuzzy has joined #ruby
_honning_ has quit [Ping timeout: 256 seconds]
bnagy has joined #ruby
mercwithamouth has quit [Ping timeout: 240 seconds]
Emmy has joined #ruby
dangerousdave has joined #ruby
jds has joined #ruby
colonolGron has quit [Ping timeout: 264 seconds]
mercwithamouth has joined #ruby
ntus1017 has joined #ruby
jds has quit [Ping timeout: 276 seconds]
dv__ is now known as dv_
nari has joined #ruby
vlad_sta_ has quit [Remote host closed the connection]
blackmes1 has quit [Ping timeout: 240 seconds]
cha1tanya has quit [Ping timeout: 256 seconds]
vlad_starkov has joined #ruby
amacgregor_ has quit [Ping timeout: 264 seconds]
smathieu has joined #ruby
vlad_starkov has quit [Ping timeout: 240 seconds]
staafl_alt has joined #ruby
ukd1 has joined #ruby
mklappstuhl has joined #ruby
ezotrank has joined #ruby
fermion has joined #ruby
staafl has quit [Ping timeout: 240 seconds]
goleldar has joined #ruby
snovak has joined #ruby
smathieu has quit [Ping timeout: 245 seconds]
browndawg has quit [Ping timeout: 256 seconds]
ahawkins has quit [Quit: Lost terminal]
JZ|Zzz is now known as JZTech101
BRMatt has joined #ruby
lyanchih has quit [Quit: lyanchih]
maasdesigner1 has joined #ruby
maasdesigner1 is now known as maasdesigner
snovak has quit [Ping timeout: 240 seconds]
Wildhoney has quit [Ping timeout: 240 seconds]
ahawkins has joined #ruby
Wildhoney has joined #ruby
ukd1 has quit [Ping timeout: 268 seconds]
jds has joined #ruby
jds has quit [Ping timeout: 264 seconds]
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<e-dard> Hi, just wondering if anyone has any experience with creating a secured backend API, and a decoupled js-based UI, e.g., Backbone/Angular/whatever. I'm interested in athentication
Matriks has quit [Remote host closed the connection]
iFire_ has quit [Read error: Connection reset by peer]
<e-dard> The thoughts I had were: make the backend API token-based, i.e., and API token for each user. In web-app user sends user:pass using form and server responds with token in header
<e-dard> web-app then uses the token in subsequent requests. All over SSL of course.
<e-dard> Is this a common approach? Are there any issues here/
<bnagy> ... is login + cookie a common approach?
<bnagy> uh... hmm. dunno...
iFire has joined #ruby
<e-dard> bnagy: I want this to be stateless
<bnagy> but webby question are probably going to get more traction in one of the rails channels
<bnagy> well it's the web, it's all stateless
<e-dard> bnagy: cool I try Rails
<e-dard> bnagy: I'm not sure what you mean by "it's all stateless", but I'm talking about a more RESTful approach than one involving cookies and server-side processing of client state
<bnagy> the web. Is all stateless.
<bnagy> well modulo whatever this websocket crap is about
Speed has joined #ruby
lupine has quit [Ping timeout: 264 seconds]
dweeb_ has quit [Quit: Computer has gone to sleep.]
nfk has joined #ruby
dweeb has joined #ruby
Senjai has quit [Read error: Operation timed out]
ismlages has joined #ruby
postmodern has quit [Quit: Leaving]
novaon has joined #ruby
<novaon> is thr way i can create simple app to call trough a land phone and play a pre recorded voice file
vince_prignano has quit [Quit: vince_prignano]
mlpinit has joined #ruby
lupine has joined #ruby
Matriks has joined #ruby
gyre007 has joined #ruby
mansi has joined #ruby
amacgregor has joined #ruby
<novaon> sjltaylor do u know about IVRs ?
mlpinit has quit [Ping timeout: 240 seconds]
<sjltaylor> nope
<novaon> oki :(
mansi has quit [Remote host closed the connection]
mansi has joined #ruby
nari has quit [Ping timeout: 240 seconds]
pedda has joined #ruby
lkba has joined #ruby
lyanchih has joined #ruby
mansi has quit [Ping timeout: 264 seconds]
teddyp1cker has joined #ruby
krz has quit [Quit: krz]
kil0byte has quit [Remote host closed the connection]
novaon has quit [Ping timeout: 256 seconds]
novaon has joined #ruby
colonolGron has joined #ruby
sjltaylo_ has joined #ruby
noopq has quit [Ping timeout: 246 seconds]
sjltaylor has quit [Ping timeout: 240 seconds]
tkuchiki has quit [Remote host closed the connection]
tanema has joined #ruby
tkuchiki has joined #ruby
Desert_eagle has quit [Ping timeout: 245 seconds]
colonolGron has quit [Ping timeout: 256 seconds]
warnabas has quit [Read error: Connection reset by peer]
sjltaylo_ has quit [Remote host closed the connection]
sjltaylor has joined #ruby
tkuchiki has quit [Ping timeout: 245 seconds]
hogeo has quit [Ping timeout: 246 seconds]
evenix has joined #ruby
novaon has quit [Ping timeout: 264 seconds]
vlad_starkov has joined #ruby
mklappstuhl has quit [Read error: Connection reset by peer]
Tippler has quit [Ping timeout: 264 seconds]
ukd1 has joined #ruby
sjltaylo_ has joined #ruby
sjltaylor has quit [Remote host closed the connection]
hamakn has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
mikecmpbll has joined #ruby
sam113101 has quit [Ping timeout: 245 seconds]
nucatus has joined #ruby
noopq has joined #ruby
camilasan has quit [Remote host closed the connection]
vlad_starkov has quit [Ping timeout: 240 seconds]
camilasan has joined #ruby
ukd1 has quit [Ping timeout: 264 seconds]
Desert_eagle has joined #ruby
vlad_starkov has joined #ruby
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
jds has joined #ruby
jds has quit [Remote host closed the connection]
niceguyjames has quit [Quit: Computer has gone to sleep.]
jds has joined #ruby
mmitchell has joined #ruby
sam113101 has joined #ruby
nucatus has quit [Ping timeout: 264 seconds]
vlad_sta_ has joined #ruby
lucazi has joined #ruby
pothibo has joined #ruby
vlad_starkov has quit [Ping timeout: 246 seconds]
Domon has quit [Remote host closed the connection]
Wildhoney has quit [Quit: Wildhoney]
Domon has joined #ruby
<shevy> got a question
_serial_ has joined #ruby
<shevy> when to use .is_a? and when to use .respond_to? - I often see the latter used when I am thinking, .is_a? may be better to
<Xeago> shevy: do you really care whether it is_a? Array
<Xeago> or do you care that it can be enumerated?
lucazi_ has joined #ruby
fgo has joined #ruby
pen has joined #ruby
lucazi has quit [Ping timeout: 276 seconds]
<Xeago> (or accessed by index, etc_
<MrZYX> yeah, you might handle a hash and a array argument differently, but if you don't all you care about is that it responds to each
Neomex has joined #ruby
Neomex has quit [Client Quit]
<Xeago> if it quacks like a duck, and it waggles like a duck, it is a duck
<Xeago> don't need to check if it is_a? Duck
<Xeago> as long as it #quack and #waggle
<shevy> But I dont really need a duck :P
<Xeago> Using it as an example because it is caleld DuckTyping
Domon has quit [Ping timeout: 245 seconds]
_serial_ has quit [Quit: Ex-Chat]
sjltaylo_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
codecop has joined #ruby
kung has quit [Quit: Bye!]
thesheff17 has joined #ruby
banister`sleep has quit [Remote host closed the connection]
colonolGron has joined #ruby
razi has joined #ruby
oddalot has joined #ruby
IceyEC has joined #ruby
nari has joined #ruby
mercwithamouth has quit [Ping timeout: 256 seconds]
tealmage has quit [Remote host closed the connection]
gazarsgo has joined #ruby
IceyEC has quit [Client Quit]
yfeldblum has joined #ruby
mengu has joined #ruby
theRoUS has quit [Ping timeout: 240 seconds]
forced_request has joined #ruby
buzzybron has quit [Quit: Leaving.]
AndChat| has joined #ruby
mercwithamouth has joined #ruby
ldnunes has joined #ruby
Dwarf has quit [Remote host closed the connection]
Dwarf has joined #ruby
huevon has joined #ruby
Banistergalaxy has quit [Ping timeout: 256 seconds]
colonolGron has quit [Ping timeout: 264 seconds]
jjbohn has joined #ruby
jonkri_ has joined #ruby
pothibo has quit [Quit: pothibo]
mansi has joined #ruby
jonkri has quit [Ping timeout: 245 seconds]
dash_ has quit [Ping timeout: 256 seconds]
wallerdev has joined #ruby
dash_ has joined #ruby
zeel has joined #ruby
conner has quit [Ping timeout: 264 seconds]
swistak35 has quit [Ping timeout: 245 seconds]
prime_ has joined #ruby
prime has quit [Read error: Connection reset by peer]
prime_ is now known as prime
prime has quit [Changing host]
prime has joined #ruby
Wildhoney has joined #ruby
swistak35 has joined #ruby
thesheff17 has quit [Read error: Connection reset by peer]
devoldmx has quit [Ping timeout: 256 seconds]
ezotrank has quit [Quit: Textual IRC Client: www.textualapp.com]
oddalot has quit [Remote host closed the connection]
IceyEC has joined #ruby
cha1tanya has joined #ruby
snovak has joined #ruby
proph3t has joined #ruby
<proph3t> hi all
mlpinit has joined #ruby
wallerdev has quit [Quit: wallerdev]
niceguyjames has joined #ruby
proph3t has left #ruby [#ruby]
proph3t has joined #ruby
jjbohn has quit [Quit: Leaving...]
JDHankle has quit [Remote host closed the connection]
ukd1 has joined #ruby
snovak has quit [Ping timeout: 264 seconds]
visof has joined #ruby
Schuy13r has quit [Ping timeout: 264 seconds]
Schuy13r has joined #ruby
colonolGron has joined #ruby
jjbohn has joined #ruby
tmi has joined #ruby
jjbohn has quit [Client Quit]
Speed has quit [Quit: When two people dream the same dream, it ceases to be an illusion.]
jds has quit [Remote host closed the connection]
ganeshran has joined #ruby
ukd1 has quit [Ping timeout: 264 seconds]
<ganeshran> I deployed a rails application to a subfolder in my apache root directory
thesheff17 has joined #ruby
nicoulaj has joined #ruby
<ganeshran> but only get a directory browsing when I give the address
julweber has joined #ruby
<ganeshran> is there any way to tell apache to treat the subfoder as a rails application?
conner has joined #ruby
Jabz has joined #ruby
<ganeshran> Any idea on how to tell apache to treat a folder as a rails application rather than a simple subfolder in the root?
osvico has joined #ruby
newUser1234 has joined #ruby
ArchBeOS has joined #ruby
<apeiros> ganeshran: #rubyonrails
<ganeshran> join #rubyonrails
<ganeshran> thanks apeiros will ask there
hmsimha has quit [Quit: Leaving]
<joshu> if you have to choose between using net/http and rest_client is the latter the better option?
forced_request has quit [Read error: Connection reset by peer]
gazarsgo has quit [Quit: gazarsgo]
ewnd9 has joined #ruby
forced_request has joined #ruby
eka has joined #ruby
lyanchih has quit [Quit: lyanchih]
jefflyne has joined #ruby
shredding has joined #ruby
osvico has quit [Ping timeout: 268 seconds]
Badreddin has quit [Ping timeout: 245 seconds]
fenicks has joined #ruby
Jabz is now known as [Goodoog]
wallerdev has joined #ruby
[Goodoog] is now known as Jab_
mark_locklear has joined #ruby
Jab_ is now known as Jabz
osvico has joined #ruby
anonymuse has joined #ruby
DanBoy has quit [Remote host closed the connection]
DanBoy has joined #ruby
thesheff17 has quit [Ping timeout: 256 seconds]
Jabz has quit [Quit: me ne vo']
Jab_ has joined #ruby
nari has quit [Ping timeout: 276 seconds]
proph3t has quit [Quit: proph3t]
Jab_ has left #ruby [#ruby]
tmi has quit [Quit: tmi]
tmi has joined #ruby
mark_locklear has quit [Remote host closed the connection]
dodosan has quit [Remote host closed the connection]
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
mark_locklear has joined #ruby
mmitchell has quit [Remote host closed the connection]
newUser1234 has quit [Remote host closed the connection]
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
jp- has joined #ruby
krawchyk has joined #ruby
iFire has quit [Read error: Connection reset by peer]
ewnd9 has quit [Ping timeout: 240 seconds]
Wildhoney has quit [Quit: Wildhoney]
tommyvyo has joined #ruby
moshee has quit [Ping timeout: 245 seconds]
mansi has quit [Remote host closed the connection]
Spooner has joined #ruby
iFire has joined #ruby
maz-dev has joined #ruby
barratt has joined #ruby
anonymuse has quit [Remote host closed the connection]
jds has joined #ruby
moshee has joined #ruby
kaldrenon has joined #ruby
sjltaylor has joined #ruby
[Goodoog] has joined #ruby
jds has quit [Ping timeout: 240 seconds]
snath has quit [Ping timeout: 268 seconds]
julweber has quit [Remote host closed the connection]
tanema has quit [Remote host closed the connection]
pr0ggie has joined #ruby
lucazi_ has quit []
lucazi has joined #ruby
mengu has quit [Quit: This computer has gone to sleep]
mansi has joined #ruby
browndawg has joined #ruby
theRoUS has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
mansi has quit [Remote host closed the connection]
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
mansi has joined #ruby
novaon has joined #ruby
sjltaylor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
St_Marx has quit [Quit: Leaving]
dickson66 has quit [Quit: WeeChat 0.4.0]
mansi has quit [Ping timeout: 240 seconds]
St_Marx has joined #ruby
Wildhoney has joined #ruby
mklappstuhl has joined #ruby
jim0thy_ has quit [Quit: jim0thy_]
newUser1234 has joined #ruby
Joel_re has joined #ruby
<Joel_re> hey, if I have a https url like https://foo.bar/aasd/as?b=adsfasdf&c=adsfasdfasf
snovak has joined #ruby
tomzx_mac has joined #ruby
<Joel_re> how do I make sure everything with the ? and later is not lost
mikleog has joined #ruby
<Joel_re> since I run http.get(path)
<Joel_re> it fails because path= uri.path
<Joel_re> and I end up requesting a url like https://foo.bar/aasd/as
polymar has quit [Ping timeout: 245 seconds]
sjltaylo_ has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
mikecmpbll has joined #ruby
shunt has joined #ruby
ewnd9 has joined #ruby
ukd1 has joined #ruby
snovak has quit [Ping timeout: 276 seconds]
nucatus has joined #ruby
<_br_> Joel_re: Switch to Faraday and use a different HTTP adapter.
<shevy> Joel_re, perhaps URI.escape ?
<Joel_re> thanks
<Joel_re> hrm, havent tried URI escape
<shevy> I am not sure why .get truncates
<shevy> could be a bug?
jerius has joined #ruby
novaon has quit [Read error: Connection reset by peer]
robwilliamsukio has quit [Excess Flood]
robwilliamsuk has joined #ruby
ArchBeOS has quit [Remote host closed the connection]
ArchBeOS has joined #ruby
jds has joined #ruby
nucatus has quit [Ping timeout: 245 seconds]
ukd1 has quit [Ping timeout: 240 seconds]
mary5030 has joined #ruby
snovak has joined #ruby
devoldmx has joined #ruby
cody-- has joined #ruby
emergion has quit [Quit: Computer has gone to sleep.]
tanema has joined #ruby
JDHankle has joined #ruby
_maes_ has joined #ruby
mercwithamouth has quit [Ping timeout: 240 seconds]
anderson has quit [Read error: Connection reset by peer]
mercwithamouth has joined #ruby
wmoxam has joined #ruby
colonolGron has quit [Quit: Lost terminal]
Appineer has joined #ruby
Appineer has left #ruby [#ruby]
JDHankle has quit [Ping timeout: 246 seconds]
mklappstuhl has quit [Ping timeout: 246 seconds]
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
jds has quit [Read error: Connection reset by peer]
jds has joined #ruby
BlueShark is now known as blueshark
DeanH has joined #ruby
browndawg has quit [Quit: Leaving.]
mklappstuhl has joined #ruby
phantummm has joined #ruby
Matriks has quit [Remote host closed the connection]
blueshark is now known as BlueShark
kaspergrubbe has quit [Remote host closed the connection]
ezotrank has joined #ruby
kaspergrubbe has joined #ruby
niklasb has joined #ruby
decoponio has joined #ruby
huevon has quit [Ping timeout: 240 seconds]
baordog has joined #ruby
ntus1017 has quit [Remote host closed the connection]
jds has quit [Ping timeout: 256 seconds]
nucatus has joined #ruby
polymar has joined #ruby
Niamkik_ has joined #ruby
huevon has joined #ruby
<shevy> how to check whether I am allowed to delete a file? when I try to delete a file that was protected via "chattr -i" before, ruby throws me an Errno::EPERM error
<shevy> fileutils.rb:1406:in `unlink': Operation not permitted - /Depot/jjj/version-check.sh (Errno::EPERM)
Niamkik has quit [Ping timeout: 268 seconds]
mklappstuhl has quit [Remote host closed the connection]
wesside has quit [Quit: Computer has gone to sleep.]
<mikecmpbll> shevy: would File.writable? cover it
jds has joined #ruby
anderson has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
tealmage has joined #ruby
devoldmx has joined #ruby
mmitchell has joined #ruby
homelinen has quit [Ping timeout: 245 seconds]
gazarsgo has joined #ruby
<gazarsgo> joshu: use curb :)
chrisseaton has joined #ruby
devoldmx has quit [Ping timeout: 246 seconds]
<chrisseaton> Hello. Where should I submit a possible docs bug for Ruby 1.9? I'm not sure from the info on https://bugs.ruby-lang.org.
ehc has joined #ruby
homelinen has joined #ruby
pipework has joined #ruby
_honning_ has joined #ruby
tealmage has quit [Ping timeout: 240 seconds]
vince_prignano has joined #ruby
huoxito has joined #ruby
jds has quit [Ping timeout: 276 seconds]
persand has quit [Quit: persand]
Wildhoney has quit [Ping timeout: 240 seconds]
chrisseaton has quit [Client Quit]
breakingthings has joined #ruby
sambao21 has joined #ruby
tealmage has joined #ruby
darrik has quit [Ping timeout: 264 seconds]
viszu has joined #ruby
joast has joined #ruby
jds has joined #ruby
failshell has joined #ruby
mansi has joined #ruby
freerobby has joined #ruby
mikepack has joined #ruby
julweber has joined #ruby
moses_m has joined #ruby
Wildhoney has joined #ruby
jds has quit [Ping timeout: 268 seconds]
tealmage has quit [Ping timeout: 268 seconds]
zeel has quit [Remote host closed the connection]
xiphffff2 has quit [Read error: Connection reset by peer]
rezzack has quit [Read error: Connection reset by peer]
tomzx_mac has quit [Ping timeout: 245 seconds]
xiphffff2 has joined #ruby
rezzack has joined #ruby
mansi has quit [Ping timeout: 268 seconds]
jds has joined #ruby
Tricon has joined #ruby
sparr has joined #ruby
julweber has quit [Remote host closed the connection]
smigg has joined #ruby
rbento has joined #ruby
cody-- has quit [Quit: Computer has gone to sleep.]
cody-- has joined #ruby
pothibo has joined #ruby
JDHankle has joined #ruby
mansi has joined #ruby
frotto has joined #ruby
devoldmx has joined #ruby
pentameter has joined #ruby
jds has quit [Ping timeout: 245 seconds]
mikleog has quit [Read error: Connection reset by peer]
tonni has quit [Remote host closed the connection]
<shevy> mikecmpbll let me test
Badreddin has joined #ruby
endash has joined #ruby
<shevy> mikecmpbll hmm it seems to work, I think I will use it
<mikecmpbll> shevy :)
sjltaylo_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jonkri_ has quit [Quit: jonkri_]
Lewix has joined #ruby
jim0thy_ has joined #ruby
ezotrank has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<joshu> gazarsgo I only have the choice of using std lib net/http or the rest_client gem.
<gazarsgo> no you don't
<gazarsgo> provision a new webserver in heroku or amazon if you have to :)
sambao21 has quit [Quit: Computer has gone to sleep.]
mary5030 has quit [Remote host closed the connection]
<shevy> hmm is it "writeable" or "writable"
Kricir has joined #ruby
vlad_sta_ has quit [Remote host closed the connection]
[Goodoog] has quit [Ping timeout: 260 seconds]
elux has joined #ruby
Lewix has quit [Ping timeout: 264 seconds]
[Goodoog] has joined #ruby
<joshu> gazarsgo my specific use case I only have those two choices. Anyway doesn't matter I've used net/http but just heard about rest_client so I'll give it a try and see which I prefer.
tesuji has quit [Read error: Connection reset by peer]
Haya has quit [Read error: Connection reset by peer]
sambao21 has joined #ruby
ukd1 has joined #ruby
<mikecmpbll> shevy: writable.
[Goodoog] has quit [Client Quit]
Haya has joined #ruby
relix has joined #ruby
maroloccio has joined #ruby
<shevy> mikecmpbll cool, ok, I would have picked writeable
ananthakumaran1 has quit [Quit: Leaving.]
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
pr0ggie has quit [Ping timeout: 264 seconds]
blackmes1 has joined #ruby
BillCriswell has joined #ruby
gyre007 has quit [Remote host closed the connection]
jonkri has joined #ruby
jonkri has quit [Changing host]
jonkri has joined #ruby
Spami has joined #ruby
Spami has joined #ruby
Spami has quit [Changing host]
sparr has quit [Ping timeout: 246 seconds]
ukd1 has quit [Ping timeout: 245 seconds]
tkuchiki has joined #ruby
Taranis has joined #ruby
zachrab_ has joined #ruby
workmad3 has joined #ruby
fyz1x has joined #ruby
viszu has quit [Quit: Leaving.]
banisterfiend has joined #ruby
tesuji has joined #ruby
tonni has joined #ruby
ravster has joined #ruby
<juo> so annoying having to use ruby 1.8.7 at work now I've become accustom to 2.0
<juo> i miss all the new syntax :(
<MrZYX> just tell them there won't be any security updates for 1.8.7 anymore
_Andres has quit [Ping timeout: 246 seconds]
lyanchih has joined #ruby
grzywacz has joined #ruby
grzywacz has quit [Changing host]
grzywacz has joined #ruby
anonymuse has joined #ruby
maasdesigner has quit [Quit: maasdesigner.com]
mercwithamouth has quit [Ping timeout: 246 seconds]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
workmad3 has quit [Read error: Operation timed out]
interactionjaxsn has joined #ruby
dangerousdave has quit [Quit: Leaving...]
shaunbaker has quit [Remote host closed the connection]
dangerousdave has joined #ruby
ntus1017 has joined #ruby
Matriks has joined #ruby
Kricir has quit [Remote host closed the connection]
browndawg has joined #ruby
jds has joined #ruby
fgo has quit [Remote host closed the connection]
fgo has joined #ruby
<shevy> one way to work around it is to not use the new syntax :D
callmeivan has quit [Ping timeout: 245 seconds]
visof has quit [Ping timeout: 240 seconds]
tagrudev has quit [Remote host closed the connection]
yfeldblum has quit [Read error: Connection reset by peer]
sparr has joined #ruby
yfeldblum has joined #ruby
dtcrshr has joined #ruby
dtcrshr has joined #ruby
splittingred has joined #ruby
intuxicated_ has joined #ruby
mercwithamouth has joined #ruby
fgo has quit [Ping timeout: 256 seconds]
newUser1234 has quit [Remote host closed the connection]
intuxicated has quit [Ping timeout: 264 seconds]
thebastl has joined #ruby
staafl_alt has quit [Ping timeout: 264 seconds]
rhys has joined #ruby
brennanMKE has joined #ruby
polymar_ has joined #ruby
callmeivan has joined #ruby
zoee has quit [Quit: zoee]
tommyvyo has quit [Quit:]
mary5030 has joined #ruby
jefflyne has joined #ruby
jefflyne has quit [Max SendQ exceeded]
niceguyjames has quit [Quit: Computer has gone to sleep.]
newUser1_ has joined #ruby
jefflyne has joined #ruby
johnnyfuchs has joined #ruby
linux_noob_666 has quit [Read error: Connection reset by peer]
_honning_ has quit [Ping timeout: 245 seconds]
jlast has joined #ruby
araujo has quit [Ping timeout: 246 seconds]
Badreddin has quit [Quit: leaving]
krishnaveda has quit [Ping timeout: 250 seconds]
banisterfiend has quit [Remote host closed the connection]
polymar has quit [Ping timeout: 276 seconds]
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
camilasan has quit [Remote host closed the connection]
Astral_ has quit [Ping timeout: 246 seconds]
camilasan has joined #ruby
kpshek has joined #ruby
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
mklappstuhl has joined #ruby
Kricir has joined #ruby
tkuchiki has quit [Remote host closed the connection]
julweber has joined #ruby
BizarreCake has quit [Read error: Connection reset by peer]
tmi has quit [Quit: tmi]
thepumpkin has joined #ruby
polymar has joined #ruby
ffranz has joined #ruby
zachrab_ has quit [Remote host closed the connection]
bluenemo has joined #ruby
bluenemo has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
polymar_ has quit [Ping timeout: 276 seconds]
tealmage has joined #ruby
ahawkins has quit [Quit: Lost terminal]
robbyoconnor has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
renderful has quit [Remote host closed the connection]
ebanoid has quit [Quit: brbomgwtfbbq]
wolcanus has joined #ruby
arietis has joined #ruby
Scorchin has joined #ruby
shredding has quit [Quit: shredding]
yacks has quit [Quit: Leaving]
tealmage has quit [Ping timeout: 268 seconds]
mercwithamouth has quit [Quit: Lost terminal]
sayan has quit [Ping timeout: 268 seconds]
pedda has quit [Quit: Textual IRC Client: www.textualapp.com]
ryandeussing has joined #ruby
fgo has joined #ruby
snath has joined #ruby
tommyvyo has joined #ruby
pothibo has quit [Quit: pothibo]
kpshek has quit []
vlad_starkov has joined #ruby
araujo has joined #ruby
araujo has quit [Changing host]
araujo has joined #ruby
polymar has quit [Read error: Connection reset by peer]
polymar has joined #ruby
ryandeussing has quit [Ping timeout: 245 seconds]
pitzips has joined #ruby
oddalot has joined #ruby
kpshek has joined #ruby
kpshek has quit [Remote host closed the connection]
<e-dard> Am I right in thinking, it's a bad idea to define a custom error as class Error < StandardError?
fgo has quit [Read error: Connection reset by peer]
fgo has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
<e-dard> Or is it OK?
eldariof has joined #ruby
thepumpk_ has joined #ruby
hamakn has quit [Remote host closed the connection]
ezotrank has joined #ruby
hamakn has joined #ruby
jprovazn has quit [Quit: Leaving]
dtcrshr has quit [Quit: poff]
arturaz has quit [Ping timeout: 268 seconds]
shaunbaker has joined #ruby
sambao21 has joined #ruby
thepumpkin has quit [Ping timeout: 276 seconds]
Cyrus_ has quit [Quit: Cyrus.sleep()]
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
mikecmpbll has joined #ruby
<_br_> Kovensky: ;)
zoee has joined #ruby
jjbohn has joined #ruby
shredding has joined #ruby
<lectrick> What is the canonical way to raise a custom exception? raise MyExceptionClass ... or raise MyExceptionClass.new... or raise MyExceptionClass.new("some informative detail"), or?
<apeiros> e-dard: StandardError is an acceptable superclass. However, I hope you don't actually name your exception 'Error'
<apeiros> lectrick: depends
<apeiros> lectrick: if your custom exception doesn't have additional attributes, then `raise YourException, "message"`
<lectrick> apeiros: what is the real difference between raising the class itself and an instance of it? is the instance not necessary?
hamakn has quit [Ping timeout: 264 seconds]
<apeiros> if it does have additional attributes, you'll have to use `raise YourException.new(*args)`
freerobby has quit [Quit: Leaving.]
<lectrick> So there is no real reason to "raise MyException.new" then...?
<apeiros> lectrick: raise YourClass will instantiate the exception for you
<lectrick> ok
<apeiros> lectrick: only if you have custom attrs or initializer
<lectrick> ok
mary5030 has quit [Remote host closed the connection]
ezotrank has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ukd1 has joined #ruby
Kricir has quit [Remote host closed the connection]
nucatus has quit [Remote host closed the connection]
leeurooi has joined #ruby
<lectrick> apeiros: thanks again as always
<endash> Anyone know if its possible to programatically add queues to sidekiq
tesuji has quit [Ping timeout: 264 seconds]
BizarreCake has joined #ruby
Fraeon has quit [Quit: Lost terminal]
ukd1 has quit [Ping timeout: 245 seconds]
nucatus has joined #ruby
zorg24 has joined #ruby
jonathanwallace has joined #ruby
rubyist has quit [Quit: Leaving]
<_br_> endash: Sure it is, you can use e.g. Clockwork gem. https://github.com/mperham/sidekiq/blob/master/examples/clockwork.rb
boblu has quit [Ping timeout: 276 seconds]
leeurooi has left #ruby ["I'm outta here"]
bluenemo has quit [Remote host closed the connection]
alex__c2022 has joined #ruby
eldariof has quit [Ping timeout: 245 seconds]
hogeo has joined #ruby
Mon_Ouie has quit [Read error: Operation timed out]
ssvo has quit [Ping timeout: 256 seconds]
<endash> well my use case and this admittedly might sound obtuse
freeayu has joined #ruby
Solnse has joined #ruby
<endash> my app generates a crapload of notifications, so all that busywork gets offloaded to sidekiq so the API returns quickly. I want a given user's notifications to be processed in order, so I was thinking: create a queue for each user, and use sidekiq-limit_fetch to make each queue sequential
mengu has joined #ruby
ezotrank has joined #ruby
devoldmx has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
<endash> i also use sidekiq for more traditional background processing e.g. pdf generation and such so I want to stay with sidekiq if possible
tjad has quit [Ping timeout: 246 seconds]
Notte has joined #ruby
baroquebobcat has joined #ruby
b00stfr3ak has joined #ruby
b00stfr3ak has joined #ruby
aryaching has joined #ruby
smathieu has joined #ruby
Kricir has joined #ruby
freeayu has quit [Remote host closed the connection]
tonni has quit [Remote host closed the connection]
mengu has quit [Ping timeout: 240 seconds]
devoldmx3 has joined #ruby
_maes_ has joined #ruby
ebanoid has joined #ruby
<_br_> that makes sense
devoldmx has quit [Ping timeout: 268 seconds]
acrussell has joined #ruby
bobbyz_ has quit [Ping timeout: 260 seconds]
<endash> thing is it seems like sidekiq expects to know the queues ahead of time :/
acrussell has left #ruby [#ruby]
<_br_> notifications crammed via AMQP into Rabbit and then processed. Sequentially? Is that necessary? Also, remember that sidekiq by default requires you to program your worker to perform idempotent
<xybre> endash: can't you just communicate with the redis server?
<Xeago> endash: if you want it to happen synchronously make it a single worker?
pjeide has joined #ruby
pjeide has quit [Changing host]
pjeide has joined #ruby
smathieu has quit [Ping timeout: 264 seconds]
<endash> i want a given user's queue to be sequential. individual users can still be spread over additional workers
<Xeago> let each step, queue up the next step?
<endash> sequential is necessary because there's some expiration going on as well
<endash> i think i need to think about how to make this more robust
<Xeago> having each step queue the next step, is quite robust
<Xeago> pain to manage tho
ntus1017 has quit [Remote host closed the connection]
aryaching has quit [Ping timeout: 276 seconds]
amacgregor has quit [Ping timeout: 276 seconds]
dallasm has joined #ruby
cmarques has quit [Ping timeout: 268 seconds]
<endash> well as structured it's also possible for a failed worker, retrying much later, to generate notifications that can't be cleared because the operation that clears that notification has already happened
<endash> which is bad
<endash> im just gonna give this more thought
<endash> thanks guys
thepumpkin has joined #ruby
thepumpk_ has quit [Ping timeout: 240 seconds]
ntus1017 has joined #ruby
bobbyz has joined #ruby
r4nd0m1 has joined #ruby
ryandeussing has joined #ruby
rippa has joined #ruby
cj3kim has joined #ruby
cj3kim has joined #ruby
cj3kim has quit [Changing host]
yebyen has joined #ruby
sarkis has joined #ruby
<yebyen> can anyone say how to run simplecov from within rspec in a way such that none of your spec files wind up in the coverage report?
thepumpk_ has joined #ruby
Coffers has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<Xeago> yebyen: I think they are supposed to excluded in a config file
<yebyen> i tried using a spec_helper file but it didn't change anything... the first (alphabetically) spec file does not show in the coverage report, but the second (and presumably later) would
thepumpkin has quit [Read error: Connection reset by peer]
pallavi has joined #ruby
oddalot has quit [Remote host closed the connection]
polymar has quit [Remote host closed the connection]
<yebyen> Xeago: that makes sense
<Xeago> I don't know how to out of my head tho :'(
<yebyen> there aren't any configuration files for simplecov at present :)
JohnBat26 has quit [Ping timeout: 240 seconds]
<yebyen> what is going on with my internet today
<yebyen> maybe it's the wireless
ssvo has joined #ruby
AndChat| has quit [Remote host closed the connection]
Kricir has quit [Remote host closed the connection]
ganeshran has quit [Ping timeout: 250 seconds]
tabolario has joined #ruby
<yebyen> oh it's actually github is down
jonahR has joined #ruby
Kricir has joined #ruby
ezotrank has quit [Quit: Textual IRC Client: www.textualapp.com]
<xybre> Thats been happening a lot lately :/
keeeh has joined #ruby
rippa has quit [Read error: Connection reset by peer]
oddalot has joined #ruby
freerobby has joined #ruby
ananthakumaran has joined #ruby
pallavi has quit [Quit: Leaving]
rippa has joined #ruby
oddalot has quit [Read error: Connection reset by peer]
mklappstuhl has quit [Remote host closed the connection]
oddalot has joined #ruby
thebastl has quit [Read error: No route to host]
Mon_Ouie has joined #ruby
randomautomator has joined #ruby
aganov has quit [Remote host closed the connection]
randomautomator has quit [Read error: Connection reset by peer]
randomautomator has joined #ruby
<apeiros> f'ing ddosers…
<shredding> Ah, ok. The DOS attack may be caused by my ceo who is hitting F5 to see if our sdk is already live :)
randomau_ has joined #ruby
tealmage has joined #ruby
Neener54 has joined #ruby
juarlex_ has quit [Ping timeout: 245 seconds]
_Andres has joined #ruby
Megtastique has joined #ruby
BillCriswell has quit [Remote host closed the connection]
artcurmudgeon has joined #ruby
randomautomator has quit [Ping timeout: 246 seconds]
kaspergrubbe has quit [Remote host closed the connection]
zeropx has joined #ruby
zorg24 has quit [Ping timeout: 276 seconds]
thebastl has joined #ruby
thebastl has quit [Remote host closed the connection]
thebastl has joined #ruby
starship has joined #ruby
maxmanders has quit [Ping timeout: 240 seconds]
graft has joined #ruby
maroloccio has quit [Quit: WeeChat 0.4.0]
tealmage has quit [Ping timeout: 240 seconds]
zorg24 has joined #ruby
mansi has quit [Read error: Connection reset by peer]
splittingred has quit [Read error: Operation timed out]
mansi has joined #ruby
juarlex has joined #ruby
<spike|spiegel> oh github can't take traffic? nothing new
pumper has quit [Read error: Connection reset by peer]
Banistergalaxy has joined #ruby
thepumpk_ has quit [Remote host closed the connection]
<spike|spiegel> "large DDoS" we decide what's "large" give us the numbers.
maxmanders has joined #ruby
wolcanus has quit [Remote host closed the connection]
juarlex has quit [Remote host closed the connection]
renderful has joined #ruby
<YaNakilon> ddosers are the same people as githubers
pallavi has joined #ruby
ebanoid has quit [Quit: brbomgwtfbbq]
juarlex has joined #ruby
<YaNakilon> useless individuals, wasting time for fame, lulz, not profit
<Banistergalaxy> Spike yeah yeah yeah
shredding has left #ruby [#ruby]
shredding has joined #ruby
<shredding> Isn't DDOS always the reason?
<shredding> Noone will ever say "Ups, we totally f****ed up"
yacks has joined #ruby
GeissT has quit [Quit: MillBroChat AdIRC User]
jleishman has quit [Remote host closed the connection]
etman has joined #ruby
kpshek has joined #ruby
thesheff17 has joined #ruby
<xybre> Well, Github is typically pretty honest about what they've fucked up.
devoldmx3 has quit [Read error: Connection reset by peer]
renderful has quit [Ping timeout: 264 seconds]
<graft> can anyone explain this psych encode_with stuff to me?
_withnale is now known as withnale
aryaching has joined #ruby
<graft> like wth this coder object is
cha1tanya has quit [Quit: cha1tanya]
i_s has joined #ruby
nomenkun has quit [Ping timeout: 276 seconds]
oddalot has quit [Remote host closed the connection]
dash_ has quit [Quit: dash_]
<shevy> why is it so hard to recover from DOS attacks?
moses_m has quit [Ping timeout: 240 seconds]
devoldmx has joined #ruby
<yebyen> well i changed to a .rspec config with --color --require=rspec_helper and that at least shows the spec files in the coverage analysis consistently, not omitting the first one. So, I am happy
<xybre> shevy: give me your ip and I'll show you
proxie has joined #ruby
pel_daniel has joined #ruby
jonkri_ has joined #ruby
ukd1 has joined #ruby
noname001 has quit [Ping timeout: 276 seconds]
ebanoid has joined #ruby
mark_locklear has quit [Read error: Connection reset by peer]
aedorn has joined #ruby
maxmanders has quit [Ping timeout: 276 seconds]
mansi has quit [Remote host closed the connection]
aryaching has quit []
jonkri has quit [Ping timeout: 256 seconds]
<shevy> hmm
mansi has joined #ruby
<_br_> shevy: Depends on your infrastructure. DDOS attacks normally take days. Also, you don't know who is doing a "bad" and a "good" request since they orginate from a large Botnet. Given proper Traffic Shaping, Rate limiting and sprinkeled in 5xx errors and multiple data centers with round robin dns, you can keep running even though being hammered massively. Quite a loss of money though. Fun starts when you have enough ressources to actuall
<shevy> aha
<shevy> so it is also hard to realize that a DDOS happens in the first place
<shevy> ok but why are DDOS done actually?
rippa has quit [Read error: Connection reset by peer]
<_br_> well, not really. If you do some monitoring you will notice a constant increase of many thousand percent which is obvious.
<shevy> yeah, well, I did not think of botnets
<_br_> Many reasons, black hats do that for fun but also for profit.
ukd1 has quit [Ping timeout: 246 seconds]
krzkrz has joined #ruby
<aedorn> DDoS sometimes will expose vulnerabilities, or can be used as a distraction to exploit something else.
<_br_> e.g. if you are a stock exchange traded company a blackout of your service can cause the stock to plummet on which you can bet making effectively money.
<_br_> exactly
renderful has joined #ruby
<aedorn> Most times it's just "we're taking your service down" kind of deal, but every now and again there's a deeper meaning. Take for instance when PlayStation Network was hacked a few years ago. That was a DDoS distraction to exploit a vulnerability.
maxmanders has joined #ruby
<_br_> in the case of github, maybe they want to get access to a particular repo to taint it somehow causing a malicious patched version of some git tree being deployed.
krzkrz is now known as krz
<_br_> the sony people were asking for it, their security procedures were beyond a joke.
krz has quit [Client Quit]
<_br_> and sony trys to keep this stuff secret wallering in their "security by obscurity"
<aedorn> Right, just using it as an example of when it wasn't just to take the service down.
krz has joined #ruby
krz has joined #ruby
krz has quit [Changing host]
mansi has quit [Ping timeout: 268 seconds]
<_br_> jap
<_br_> Botnets are facinating though. Particular C&C structure and the nitty gritty details
bluOxigen has quit [Read error: Connection reset by peer]
relix has joined #ruby
ukd1 has joined #ruby
bluOxigen has joined #ruby
JDHankle has quit [Remote host closed the connection]
<xybre> _br_++
jonahR has quit [Quit: jonahR]
<lectrick> github back... what are the github alternatives? Hosting our own secure git repo I guess
<aedorn> Though I'm still questioning why anyone is attacking GitHub. Large banks I get, GitHub ... not so much.
geggam has joined #ruby
<shevy> yeah
<shevy> they should hit banks and not github
<lectrick> Nobody understands. It's proof that whoever is in charge of the ddos botnet out there is an asshole
Wildhoney has quit [Ping timeout: 276 seconds]
<pontiki> as if proof of that were needed...
<lectrick> It's also a call to arms for anyone who wants to create the "decentralized github"
<xybre> lectrick: gitlab
<aedorn> We use GitLab here, but yeah, hosting your own git service is your only real alternative if you want to avoid things like this.
chrisja has joined #ruby
Dwarf has quit [Max SendQ exceeded]
<lectrick> xybre: nice.
Dwarf has joined #ruby
<lectrick> xybre: do they have the pull request functionality that github has? That's probably the feature we use most :/
<aedorn> Decentralized GitHub is a pipe dream =p
<jokke> hello
<_br_> aedorn: Most black hats try to compromise secondary ressources to gain access to their primary target. Github maybe hosts a peace of software which is likely being used by some target they want to compromise. Could be many things though. Occrams razor might point to pure idiotism and "for fun" angle.
<lectrick> aedorn: Decentralization is a hard problem which also solves some very real-world problems
<xybre> There's also Atlassian Stash, but they also make Jira so I won't have anything to do with them.
<jokke> i tried to google this, but i get only results for the other way around. I want to run capistrano tasks from rake
<jokke> is this possible?
<lectrick> GitHub took a decentralized VCS and effectively centralized it.
<jokke> i could just use backticks of course but that'd be ugly
<lectrick> xybre: what's wrong with jira? (we use it here)
frotto has quit [Ping timeout: 264 seconds]
<_br_> lectrick: True, one reason why Linus finds it a joke.
thepumpkin has joined #ruby
nopolitica has joined #ruby
frotto has joined #ruby
<lectrick> _br_: Which is fine, and yet github seems to be doing quite well
<shevy> hmm but linus uses github too
<xybre> lectrick: looks like gitlab supports merge requests
Neomex has joined #ruby
<shevy> I love issue reporting in github
amacgregor has joined #ruby
<lectrick> github needs to figure out how to decentralize itself. somehow. they're smart enough.
<xybre> lectrick: jira has been nothing but a waste of time at every company I've used, HR loves it for some reason, but the devs never find a use for it
<aedorn> lectrick: I can only imagine the future git system will be like Skype, and everybody with a faster than 5Mbps upstream will become a supernode VCS server for partial pieces.
Wildhoney has joined #ruby
<lectrick> xybre: it's being used rather effectively here (or as effectively as a bug/feature tracker/PM app can seem to get, which is "not super effective"). Maybe it's the direction? :)
nadirvar_ has joined #ruby
moses_m has joined #ruby
mikecmpbll has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
etman has quit [Quit: etman]
graft has quit [Ping timeout: 268 seconds]
<xybre> lectrick: there's better solutions out there, but eh
jonathanwallace has quit [Ping timeout: 264 seconds]
<shevy> popularity beats quality
<_br_> decentralized bugtracker in the style of github? hm, how is that supposed to work.
graft has joined #ruby
graft has quit [Changing host]
graft has joined #ruby
ebanoid has quit [Quit: brbomgwtfbbq]
shaunbaker has quit [Ping timeout: 264 seconds]
apeiros has quit [Remote host closed the connection]
<lectrick> _br_: i guess you'd push to a server which is in a ring of servers all "replicating" to each other... or something
<_br_> maybe build-in a bugtracker directly into git, that allows to send deltas and can merge ?
<_br_> lectrick: nntp style?
devoldmx3 has joined #ruby
Lewix has joined #ruby
<lectrick> _br_: possibly, although I don't know the details of the nntp protocol
<_br_> well, nntp was exactly invented to do what you described
ngoldman has joined #ruby
<_br_> p2p is probably more interesting though
Astralum has joined #ruby
jim0thy_ has quit [Quit: jim0thy_]
<_br_> ,oO( assuming that $goverment won't outlaw p2p protocols compeletly at some point *sign*)
etman has joined #ruby
<lectrick> the internet itself is p2p. bgp etc
<lectrick> so good luck w/that
<shevy> ruby documentation is such a joke
devoldmx has quit [Ping timeout: 240 seconds]
wolcanus has joined #ruby
<shevy> please compare this
<shevy> from 1.8.6 to 2.0, they removed documentation
superscott[8] has joined #ruby
<_br_> comparing bgp and p2p makes little sense to me.
smathieu has joined #ruby
quazimodo has joined #ruby
<quazimodo> what's the correct way to use class instance variables in instance methods?
<quazimodo> for my class Foo, in the instance method butts, would it be normal to use Foo.some_var ?
banisterfiend has joined #ruby
<_br_> shevy: lol? removed? we already have too little :(
<aedorn> hmm
<Mon_Ouie> Probably self.class.some_var, in the case of subclasses
<shevy> yeah
<shevy> the documentation of 1.8.6 helps me more than of 2.0 :(
<Mon_Ouie> So that in different subclasses you use different variables
jdenen has joined #ruby
luke has joined #ruby
freerobby has quit [Quit: Leaving.]
luke is now known as Guest84873
<quazimodo> Mon_Ouie: looks ugly, does it happen a lot?
<_br_> shevy: Pity Ruby lacks in that department. We should take a note from the Python people in that regard :/
Joel_re has quit [Read error: Connection reset by peer]
<Mon_Ouie> Does what happen a lot?
cmarques has joined #ruby
hackeron has quit [Remote host closed the connection]
<shevy> yeah _br_
vlad_starkov has quit [Remote host closed the connection]
Joel_re has joined #ruby
cj3kim has quit [Remote host closed the connection]
<YaNakilon> >> %w(СТОЛОВАЯ КАРАВАЕВЫ)[Time.now.day % 2]
<eval-in> YaNakilon => "КАРАВАЕВЫ" (https://eval.in/43389)
Megtastique has quit [Quit: Megtastique]
<YaNakilon> wtf, my browser is bad
<Mon_Ouie> It's because of the Ruby version that your first example doesn't work
intuxicated_ has quit [Quit: Leaving]
intuxicated has joined #ruby
<Mon_Ouie> (In 1.9, the default encoding is ASCII, not UTF-8)
<quazimodo> Mon_Ouie: using the class instance variables within instance methods via self.class.some_var
<quazimodo> does it happen often and is it considered 'ok' ?
Appineer has joined #ruby
<YaNakilon> i see
camilasan has quit [Remote host closed the connection]
<aedorn> shevy: Never noticed that before, but that's pretty odd. Must be an artifact of removing Syck for Psych, or ... something.
<shevy> ohhh
zachrab_ has joined #ruby
<shevy> yeah aedorn that makes sense
<shevy> I noticed that syck is now completely gone :(
<shevy> so probably the API is now very different too
barratt has quit [Ping timeout: 276 seconds]
Guest84873 has quit [Ping timeout: 256 seconds]
<Mon_Ouie> quazimodo: I don't think so. In most cases objects would contain all they need to work without needing more context in the class.
<aedorn> No, not really. A few minor differences from what I recall.
hogeo has quit [Remote host closed the connection]
<aedorn> Yeah, there's nothing to document: https://github.com/ruby/ruby/blob/trunk/lib/yaml.rb
Megtastique has joined #ruby
<artcurmudgeon> how would I go about adding a proxy to restclient? I have to clean up someone elses mess and I dont know alot about ruby
Kricir has quit [Remote host closed the connection]
Appineer has left #ruby [#ruby]
aryaching has joined #ruby
swordsmanz has quit [Quit: swordsmanz]
<quazimodo> Mon_Ouie: oh, so you'd put what the instance needs within itself rather than in the class
<quazimodo> Mon_Ouie: i guess that makes sense :)
<Mon_Ouie> quazimodo: Yup
ner0x has joined #ruby
<Mon_Ouie> aedorn: Giving a link to the github page when github is down might not be the best idea :p
<aedorn> it's up
<Mon_Ouie> Oh. It was really slow when I first clicked.
aryaching has quit [Read error: Connection reset by peer]
Spami has joined #ruby
Spami has joined #ruby
Voodoofish430 has joined #ruby
Fraeon has joined #ruby
<matti> Mon_Ouie: :)
<aedorn> shevy: http://www.ruby-doc.org/stdlib-2.0/libdoc/psych/rdoc/Psych.html .. YAML == Psych in source, so..
<Mon_Ouie> 'alut matti
iliketur_ has joined #ruby
maniacal has joined #ruby
jonathanwallace has joined #ruby
interactionjaxsn has quit [Remote host closed the connection]
woolite64 has quit [Ping timeout: 276 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DrShoggoth has joined #ruby
interactionjaxsn has joined #ruby
geometry06 has joined #ruby
lucazi has quit [Remote host closed the connection]
tealmage has joined #ruby
woolite64 has joined #ruby
oddalot has joined #ruby
lyanchih has quit [Quit: lyanchih]
<matti> :)
khushildep has quit [Quit: khushildep]
nomenkun has joined #ruby
yfoo has joined #ruby
fridim_ has quit [Ping timeout: 268 seconds]
interactionjaxsn has quit [Ping timeout: 240 seconds]
<shevy> oh
ntus1017 has quit [Remote host closed the connection]
<shevy> hmm strange
woolite64 has quit [Ping timeout: 245 seconds]
oddalot_ has joined #ruby
<shevy> should we use Psych.dump instead of YAML.dump ?
<shevy> btw thanks aedorn, still wondering how you found that link :)
atmosx has joined #ruby
skaflem has quit [Quit: Leaving]
bzitzow has joined #ruby
<atmosx> hello
kpshek has quit []
mneorr has joined #ruby
zoee has quit [Ping timeout: 268 seconds]
tealmage has quit [Ping timeout: 245 seconds]
JZTech101 is now known as JZ|Zzz
oddalot has quit [Ping timeout: 264 seconds]
Xeago has quit [Remote host closed the connection]
cj3kim has joined #ruby
cj3kim has quit [Changing host]
cj3kim has joined #ruby
hackeron has joined #ruby
splittingred has joined #ruby
oddalot_ has quit [Read error: Connection reset by peer]
oddalot has joined #ruby
felixjet has joined #ruby
sayan has joined #ruby
Wildhoney has quit [Ping timeout: 245 seconds]
aryaching has joined #ruby
Al_ has quit [Quit: Al_]
oddalot has quit [Remote host closed the connection]
kaspergrubbe has joined #ruby
Megtastique has quit [Quit: Megtastique]
xcv has joined #ruby
rbento has quit [Quit: ZZZzzz…]
zeromodulus has quit [Read error: Connection reset by peer]
Megtastique has joined #ruby
zeromodulus has joined #ruby
mikepack has quit [Remote host closed the connection]
zeromodulus has quit [Changing host]
zeromodulus has joined #ruby
tatsuya_o has quit [Remote host closed the connection]
tonni has joined #ruby
relix has joined #ruby
alex__c2022 has quit [Quit: alex__c2022]
kaldrenon has quit [Remote host closed the connection]
blackmes1 has quit [Ping timeout: 240 seconds]
kaspergrubbe has quit [Ping timeout: 264 seconds]
JDHankle has joined #ruby
freerobby has joined #ruby
c0rn has joined #ruby
JDHankle_ has joined #ruby
__maes_ has joined #ruby
rbento has joined #ruby
klaut has quit [Remote host closed the connection]
mikepack has joined #ruby
mneorr has quit [Remote host closed the connection]
tylersmith has joined #ruby
tylersmith has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby
Megtastique has quit [Quit: Megtastique]
atmosx has quit [Quit: WeeChat 0.4.1-rc2]
hopheady has joined #ruby
zeade has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
mansi has joined #ruby
JDHankle has quit [Ping timeout: 268 seconds]
saarinen has joined #ruby
hopheady has quit [Client Quit]
twoism has joined #ruby
alex__c2022 has joined #ruby
maniacal has quit [Ping timeout: 246 seconds]
boblu has joined #ruby
Dysruption has joined #ruby
MasterAsia has joined #ruby
maniacal has joined #ruby
<MasterAsia> Is an instance variable more expensive than local variable?
DanKnox_away is now known as DanKnox
freerobby has quit [Ping timeout: 264 seconds]
fyz1x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Senjai has joined #ruby
Senjai has joined #ruby
<lectrick> MasterAsia: Probably. Unless you're constantly recreating it in a loop.
slash_quit is now known as slash_nick
zachrab_ has quit [Read error: Connection reset by peer]
oddalot has joined #ruby
zoee has joined #ruby
<lectrick> MasterAsia: You can probably use Benchmark.bm (the 'benchmark' library) to run some tests, or just do a time check after N loops.
zachrab_ has joined #ruby
reset has joined #ruby
ashp has joined #ruby
<lectrick> To discover yourself, I mean
<MasterAsia> lectrick: Mm..Okay
nomenkun has quit [Remote host closed the connection]
<ashp> Hey guys, is there a more ruby way to do lines 4-6 in http://fpaste.org/32376/58721413/ - I was hoping I could do |k,v| on 4 and just use that
<ashp> It seems a bit.. ugly with what I've done.
jonkri has joined #ruby
jonkri has joined #ruby
jonkri has quit [Changing host]
oddalot has quit [Client Quit]
Kricir has joined #ruby
quazimodo has quit [Ping timeout: 240 seconds]
juarlex has quit [Ping timeout: 268 seconds]
<jp-> why not use the mysql gem or even better depending on what you're doing, aequel + mysql?
c0rn has quit [Quit: Computer has gone to sleep.]
Guest10893 has joined #ruby
<jp-> *sequel
zombiebit has quit [Remote host closed the connection]
c0rn has joined #ruby
danman has joined #ruby
<pontiki> ashp: not sure why you're using collect there
devoldmx3 has quit [Ping timeout: 240 seconds]
<ashp> pontiki: I changed the show variables one to each a minute ago, as it didn't need to be collect
acrussell has joined #ruby
digital-ghost has joined #ruby
Joel_re has quit [Ping timeout: 240 seconds]
niceguyjames has joined #ruby
kaldrenon has joined #ruby
acrussell has left #ruby [#ruby]
jonkri_ has quit [Ping timeout: 264 seconds]
devoldmx3 has joined #ruby
<pontiki> doesn't look like you're using the result from that, might as well do each
<pontiki> not that it makes that much difference
julweber has quit [Remote host closed the connection]
jonathanwallace has quit [Ping timeout: 247 seconds]
Asher1 has joined #ruby
zoee has quit [Ping timeout: 276 seconds]
<pontiki> at any rate, i'd not try to reduce the inner bit at 5-6 -- it's readable and clear what you're doing
juarlex has joined #ruby
JZ|Zzz has quit [Ping timeout: 264 seconds]
geggam has quit [Remote host closed the connection]
nucatus_ has joined #ruby
Asher has quit [Ping timeout: 245 seconds]
allaire has joined #ruby
nucatus has quit [Ping timeout: 264 seconds]
<ashp> pontiki: fair enough, I was just worried it wasn't idiomatic enough, I'll keep it as is
ananthakumaran has quit [Quit: Leaving.]
<pontiki> i'm sure someone can come with a one-liner that will make your eyes bleed
JZ|Zzz has joined #ruby
JZ|Zzz is now known as JZTech101
iliketur_ has quit [Quit: zzzzz…..]
reset has quit [Quit: Leaving...]
quazimodo has joined #ruby
wolcanus has quit [Remote host closed the connection]
niceguyjames has quit [Quit: Textual IRC Client: www.textualapp.com]
freerobby has joined #ruby
Asher1 has quit [Ping timeout: 240 seconds]
<ashp> haha, I'm still trying to improve my ruby, I'm permanently stuck in the sort of intermediate zone where I "sort of get procs and blocks and lambdas and classes, but struggle to use any of it effectively"
<shevy> yeah
<shevy> ashp I still try to find a usecase for lambdas myself
<shevy> blocks however are available to every method so they are always useful
dodosan has joined #ruby
amacleod has joined #ruby
ananthakumaran has joined #ruby
abstrusenick has joined #ruby
kirun has joined #ruby
Peej has joined #ruby
<ashp> shevy: only thing that's helped me so far is I went through codeschool.com's "Ruby bits"
<ashp> shevy: and those were incredibly helpful
<ashp> i wish they had more pure ruby things as they really helped, they skipped all the beginner stuff of "here are variables, here are functions!" and dived right into the hard confusing bits
<shevy> aha
ipsifendus has joined #ruby
<shevy> that would have only confused me if I would have started that way
cmarques has quit [Ping timeout: 264 seconds]
jkline has joined #ruby
BillCriswell has joined #ruby
pallavi has quit [Quit: Leaving]
krz has quit [Quit: krz]
shredding has quit [Quit: shredding]
Neomex has quit [Quit: Neomex]
BRMatt has quit [Ping timeout: 246 seconds]
shredding has joined #ruby
redmenace has joined #ruby
maxmanders has quit [Quit: Computer has gone to sleep.]
Neomex has joined #ruby
ilyam has joined #ruby
segmond has joined #ruby
blackmes1 has joined #ruby
xbob_ has joined #ruby
Haya has quit [Read error: Connection reset by peer]
stkowski has joined #ruby
mark_locklear has joined #ruby
jkline has quit [Quit: jkline]
xbob_ has quit [Client Quit]
tvw has quit []
AlHafoudh has joined #ruby
AlHafoudh has quit [Max SendQ exceeded]
Haya has joined #ruby
AlHafoudh has joined #ruby
Asher has joined #ruby
carlyle has joined #ruby
fgo has quit [Remote host closed the connection]
mansi has quit [Ping timeout: 264 seconds]
wolcanus has joined #ruby
abstrusenick has quit [Quit: abstrusenick]
tealmage has joined #ruby
Es0teric has joined #ruby
Spami has quit [Quit: Leaving]
anonymuse has quit [Read error: Connection reset by peer]
segmond has left #ruby [#ruby]
devoldmx3 has quit [Ping timeout: 268 seconds]
devoldmx3 has joined #ruby
rippa has joined #ruby
Neomex has quit [Quit: Neomex]
kpshek has joined #ruby
blufsh has joined #ruby
<blufsh> what is the benefit here of putting factor in an array ?
jonathanwallace has joined #ruby
tealmage has quit [Ping timeout: 264 seconds]
dash_ has joined #ruby
jonathanwallace has quit [Client Quit]
zachrab_ has quit [Read error: Connection reset by peer]
supergiantrobot has quit [Quit: supergiantrobot]
zachrab_ has joined #ruby
arietis has joined #ruby
alex__c2022 has quit [Read error: Operation timed out]
Vicmaster has joined #ruby
ananthakumaran has quit [Quit: Leaving.]
akemrir has joined #ruby
alex__c2022 has joined #ruby
apeiros has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
johnnyfuchs has quit [Remote host closed the connection]
jonathanwallace has joined #ruby
Kricir has quit [Remote host closed the connection]
<superscott[8]> blufsh: personally don't know, that code seems weird when it gets to that part.
d45h has joined #ruby
kaldrenon has quit [Read error: Connection reset by peer]
reset has joined #ruby
zeade has quit [Quit: Leaving.]
Asher has quit [Quit: Leaving.]
dallasm has quit [Remote host closed the connection]
kaldrenon has joined #ruby
sjltaylor has joined #ruby
<Olipro> blufsh: it's a self-iterative function
dash_ has quit [Ping timeout: 268 seconds]
sjltaylor has quit [Client Quit]
<Olipro> it makes it an array member so that the end result is a complete array of all factors
<blufsh> Olipro: yeah, its' recursive.. I just don't know why it's [factor] and not factor
tatsuya_o has joined #ruby
<Olipro> because without it, + would add numerically
<Olipro> or attempt to, and fail
maniacal has quit [Remote host closed the connection]
<blufsh> it is numeric though?
<Olipro> factor should be, yes
BizarreCake has quit [Read error: Connection reset by peer]
<Olipro> + on arrays joins them
<Olipro> although << might be nicer
scarolan has joined #ruby
boblu has quit [Ping timeout: 246 seconds]
<blufsh> Olipro: yeah it's doesn't work if factor doesn't have the array..
cj3kim has quit [Remote host closed the connection]
<blufsh> Olipro: not sure how the << would work?
julweber has joined #ruby
<Olipro> try it in irb/pry
<blufsh> Olipro: all over it now
browndawg has left #ruby [#ruby]
<Olipro> [1] << [2]
<Olipro> << is mainly aimed at variables though
<Olipro> e.g.
<Olipro> you get [1,2] just as you would with [1] + [2]
<amacleod> is there an eval bot in here?
<Olipro> I think there may well be
<Olipro> I just don't know what it is
<Olipro> arr = [1] ; arr << [2] ; p arr # [1,2]
<Olipro> arr = [1] ; arr + [2] ; p arr # [1]
<blufsh> Olipro: oh I know what it does
<Olipro> actually, I made a small mistake there
<blufsh> Olipro: it just didn't work when i tried that
<Olipro> arr << [2] would give you [1,[2]]
<blufsh> yes
companion is now known as Companion
alvaro_o has joined #ruby
<Olipro> dropping << in place of + shouldn't impact it
froy has quit [Ping timeout: 264 seconds]
<apeiros> o0
Kruppe has joined #ruby
iliketur_ has joined #ruby
jjbohn is now known as jjbohn|afk
interactionjaxsn has joined #ruby
ngoldman has quit []
kaldrenon has quit [Read error: Connection reset by peer]
juarlex_ has joined #ruby
rippa has quit [Ping timeout: 248 seconds]
pkrnj has joined #ruby
<apeiros> Olipro, blufsh: the point there is that the return value is an array
<apeiros> >> [1]+[2,3,4]
<eval-in> apeiros => [1, 2, 3, 4] (https://eval.in/43398)
<apeiros> it recursively appends factors
juarlex has quit [Ping timeout: 245 seconds]
<apeiros> remember, last expression is the return value of a method.
relix has joined #ruby
tjad has joined #ruby
RichardBaker has joined #ruby
Shirakawasuna has joined #ruby
Shirakawasuna has quit [Max SendQ exceeded]
Shirakawasuna has joined #ruby
splittingred has quit [Ping timeout: 240 seconds]
kevinykchan has quit [Quit: Computer has gone to sleep.]
johnnyfuchs has joined #ruby
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<Olipro> apeiros: indeed
<amacleod> So in the example, it's putting the latest factor in the front of the array.
elaptics is now known as elaptics`away
kaldrenon has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<blufsh> Olipro: see my comment
<blufsh> it was breaking on the .max function, not sure why + works and << doesn't with the max function
<blufsh> they both are returning an array normally
mansi has joined #ruby
paul_k has quit [Ping timeout: 276 seconds]
<amacleod> doesn't << give you a nested array, rather than a flat one?
jds has quit [Remote host closed the connection]
<apeiros> blufsh: because of the effect Olipro showed you
<Olipro> yeah, actually, << would violate it since rather than joining arrays, it's push one into the other
julweber has quit [Remote host closed the connection]
<Olipro> *it'd
<apeiros> >> a = [1]; a << [2,3,4]; a
<eval-in> apeiros => [1, [2, 3, 4]] (https://eval.in/43406)
jds has joined #ruby
<apeiros> nested array, can't determine whether 1 or [2,3,4] is bigger (not comparable)
<apeiros> hence no max
supergiantrobot_ has joined #ruby
b00stfr3ak has quit [Ping timeout: 240 seconds]
aryaching has quit [Ping timeout: 264 seconds]
<blufsh> apeiros: ah, I see, thanks
<blufsh> Olipro: thanks
ipsifendus has quit [Ping timeout: 264 seconds]
jefflyne has joined #ruby
amacgregor has quit [Ping timeout: 245 seconds]
rippa has joined #ruby
maxmanders has joined #ruby
paul_k has joined #ruby
jjbohn|afk is now known as jjbohn
b00stfr3ak has joined #ruby
b00stfr3ak has quit [Changing host]
b00stfr3ak has joined #ruby
nomenkun has joined #ruby
cmarques has joined #ruby
amacgregor has joined #ruby
aryaching has joined #ruby
<blufsh> am I missing something here but where is the ruby class Range find method in the documentation? http://ruby-doc.org/core-2.0/Range.html
<blufsh> pry(main)) (2..n).class => Range
<wuest> >> (1..2).class.ancestors
<eval-in> wuest => [Range, Enumerable, Object, Kernel, BasicObject] (https://eval.in/43407)
<blufsh> nvm
<blufsh> nvm
<blufsh> ya
<blufsh> my fault
<blufsh> enum
brennanMKE has quit [Remote host closed the connection]
<blufsh> I was missing something :S
mml has joined #ruby
beingjohnm has left #ruby [#ruby]
<wuest> Listing ancestors up front might be a reasonable change to documentation, to avoid such issues.
workmad3 has joined #ruby
<apeiros> it does list superclass and included modules
<Dysruption> when utilizing cucumber and rspec, what is does a normal development cycle look like? cucumber main features first, then rspec the system edge cases?
akemrir has quit [Quit: WeeChat 0.4.1]
bluOxigen has quit [Read error: Connection reset by peer]
nomenkun has quit [Ping timeout: 256 seconds]
bluOxigen has joined #ruby
tjbiddle has joined #ruby
cheenpo_ has quit [Ping timeout: 250 seconds]
<amacleod> Dysruption, last time I used it, the wheel-within-a-wheel diagram was pretty accurate.
dv_ has quit [Ping timeout: 276 seconds]
<Dysruption> amacleod: never heard of that, you have a link?
<wuest> apeiros: indeed; I meant finding a way of displaying them more prominently/clearly. "Where does $method come from" is a frequent enough question, and it's most often answerable by checking ancestors.
<apeiros> wuest: hard. you'll never please everybody.
<apeiros> when you move X up, people will come and complain that Y isn't placed more prominently.
<amacleod> Dysruption, 1. Write cucumber scenario (RED), 2. Write RSpec cases to support scenario (all RED), 3. Write code until all RSpec cases are GREEN, 4. Add the RSpec cases you forgot, 5. Once scenario is GREEN, lather rinse repeat.
<wuest> apeiros: very true. :)
<Dysruption> amacleod: awesome, thank you.
fermion has quit [Ping timeout: 268 seconds]
<Dysruption> don't know how I ever coded before without TDD
devoldmx3 has quit [Ping timeout: 240 seconds]
havenwood has joined #ruby
<amacleod> Dysruption, hopefully by the time you get a few scenarios hammered out, you'll be at the point where you can re-use half or more of your supporting RSpec cases.
barratt has joined #ruby
zastern has joined #ruby
mark_locklear has quit [Ping timeout: 264 seconds]
<amacleod> Also, in real life, I found I actually wrote 3 or 4 scenarios at once, and then revised whichever scenarios I worked on later in reaction to stuff I discovered while working on the first.
<Dysruption> amacleod: what do you mean by writing rspec cases to support scenario? isn't that the equiv of cucmber steps
<amacleod> Dysruption, I was mostly going by the Pragmatic RSpec book http://pragprog.com/book/achbd/the-rspec-book
<Dysruption> ah okay, I'm reading that now. just started
<amacleod> But yeah, having a more-or-less one-to-one mapping between Cucumber steps and RSpec cases worked pretty well for me.
<amacleod> Exceptions being Cuke steps that were actually defined in terms of other Cucumber steps.
zombiebit has joined #ruby
<Dysruption> cool. amacleod is the Cucumber Book any good?
devoldmx3 has joined #ruby
<amacleod> Or RSpec cases that I thought of while working on other stuff that didn't necessarily pertain to any Cucumber step that I was currently working on.
adambeynon has quit [Ping timeout: 240 seconds]
Shirakawasuna has quit [Quit: Leaving]
razi has quit [Ping timeout: 276 seconds]
mosez has quit [Ping timeout: 240 seconds]
<amacleod> Dysruption, I haven't looked at the Cucumber book. I would imagine it builds on the RSpec book and goes more in-depth about BDD and how it differs from and/or augments TDD. Generally I've been well-impressed by Pragmatic books.
<amacleod> They're not universally perfect, by any means, but they're generally good quality and get right to the meat of things.
<Dysruption> Okay very cool, I'll work through the Rspec book and if I find myself wanting more I'll probably check it out
frotto has quit [Ping timeout: 268 seconds]
robbyoconnor has quit [Excess Flood]
<Olipro> I hear Spinach is the new fad
<Olipro> people need to stop naming their f*cking gems after vegetables
matled has quit [Write error: Broken pipe]
jds has quit [Write error: Broken pipe]
<Olipro> Dysruption: but seriously, before you get too into Cucumber, check out Spinach
jds__ has joined #ruby
matled has joined #ruby
<amacleod> I can't find a reference to the diagram I'm thinking about, but I think it's in the RSpec book about 2/3 of the way through.
robbyoconnor has joined #ruby
rippa has quit [Read error: Connection reset by peer]
<Dysruption> Olipro: can you tell me the benefits?
<Olipro> it's like Cucumber, powered by Gherkin, but more natural, none of the nasty regexing
<Olipro> here's a good article on it: blog.codegram.com/2011/10/how-to-achieve-more-clean-encapsulated-modular-step-definitions-with-spinach
devoldmx3 has quit [Ping timeout: 264 seconds]
jjbohn is now known as jjbohn|afk
<Olipro> "Spinach is powered by Gherkin and nicer than Cucumber" - sounds like the ravings of a lunatic
<Dysruption> I'll definitely check it out, thanks Olipro
barratt has quit [Quit: Leaving...]
devoldmx3 has joined #ruby
frotto has joined #ruby
<amacleod> Pickle-powered development. Full of antioxidants. But yeah, Spinach sounds neat... the Gherkin parser is really the nicest thing about Cucumber.
noopq has quit [Ping timeout: 246 seconds]
tylersmith has quit [Remote host closed the connection]
fantazo has joined #ruby
jjbohn|afk is now known as jjbohn
<Dysruption> I like that feature steps are in a class
iliketur_ has quit [Ping timeout: 268 seconds]
tylersmith has joined #ruby
vlad_starkov has joined #ruby
anonymuse has joined #ruby
woolite64 has joined #ruby
WhereIsMySpoon_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
jds__ has quit [Ping timeout: 240 seconds]
WhereIsMySpoon has joined #ruby
bricker-away is now known as bricker
geometry06 has quit [Quit: Leaving.]
<Olipro> amacleod: Ruby Gem salad
iliketur_ has joined #ruby
WhereIsMySpoon has quit [Client Quit]
<Olipro> gherkin, cucumber, spinach... maybe throw some Carrot and Cabbage in there
WhereIsMySpoon has joined #ruby
Vivekananda has joined #ruby
alex__c2022 has quit [Quit: alex__c2022]
WhereIsMySpoon has quit [Changing host]
WhereIsMySpoon has joined #ruby
<amacleod> chard, kale, arugula
tylersmith has quit [Ping timeout: 240 seconds]
thesheff17 has quit [Read error: Connection reset by peer]
maxmanders has quit [Quit: Computer has gone to sleep.]
pothibo has joined #ruby
geekbri has joined #ruby
jlast_ has joined #ruby
RichardBaker has quit [Quit: RichardBaker]
vlad_starkov has quit [Ping timeout: 276 seconds]
workmad3 has quit [Ping timeout: 256 seconds]
kaspergrubbe has joined #ruby
snovak has quit [Ping timeout: 240 seconds]
snovak_ has joined #ruby
tatsuya_o has quit [Remote host closed the connection]
tealmage has joined #ruby
darrik has joined #ruby
snovak_ has quit [Remote host closed the connection]
artcurmudgeon has left #ruby [#ruby]
dankest has joined #ruby
mary5030 has joined #ruby
jlast has quit [Ping timeout: 240 seconds]
<Dysruption> well dammit now I'm just reading this RSpec book just thinking about how I should use Spinach instead
<amacleod> Hopefully Spinach is enough like Cucumber that you can adapt the examples without too much sweat.
<Dysruption> it seems like it
spider-mario has quit [Ping timeout: 264 seconds]
<lewellyn> amacleod: that's a quote of the day.
devoldmx27 has joined #ruby
Vivekananda has quit [Read error: Connection reset by peer]
xbob has joined #ruby
<lewellyn> i didn't pay attention to which channel i was in and it read quite amusingly.
moted has quit [Remote host closed the connection]
geekbri has quit [Remote host closed the connection]
<amacleod> Olipro's statement about the sanity of talking about veggie-themed gems is so very, very, very true.
xbob has quit [Client Quit]
noopq has joined #ruby
<Olipro> lewellyn: ohai
xbob has joined #ruby
<lewellyn> Olipro: mu
mansi has quit [Remote host closed the connection]
<Olipro> so, you're a Rubyist too eh?
elaptics`away is now known as elaptics
<lewellyn> amacleod: i still find it a wonder that ruby has any enterprise presence with the names of some of the gems.
alex__c2022 has joined #ruby
<lewellyn> Olipro: i'm $everywhere
relix has joined #ruby
<Olipro> ahaha, I know that feel
xbob has quit [Client Quit]
<lewellyn> but i've been around long enough that i preordered the pickaxe book ;)
kpshek has quit []
Asher has joined #ruby
devoldmx3 has quit [Ping timeout: 245 seconds]
darrik has quit [Ping timeout: 240 seconds]
renderful has quit [Remote host closed the connection]
tommyvyo has quit [Quit:]
tealmage has quit [Ping timeout: 276 seconds]
chriskk has joined #ruby
<MasterAsia> I've been around since DHH released rails 3.2
<MasterAsia> that was..pretty recent.
mary5030 has quit [Remote host closed the connection]
dodosan has quit [Remote host closed the connection]
ewnd9 has quit [Remote host closed the connection]
<Olipro> heh
mary5030 has joined #ruby
<Olipro> Ruby's so wonderful, you don't need a book to learn it!
barratt has joined #ruby
<amacleod> Its online documentation has gotten much better since 1.8 (which is about when I started using Ruby).
Demo_of_doom_ has joined #ruby
<amacleod> Not that it was awful back then, just a little confusing when trying to figure out where methods came from.
mansi has joined #ruby
ewnd9 has joined #ruby
allaire has quit [Quit: allaire]
visof has joined #ruby
visof has quit [Changing host]
visof has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
splittingred has joined #ruby
cads has joined #ruby
<reactormonk> What's a fast way to find a string inside a directory of files? We're talking about 250GB of data here and I want to know in which file it is.
<amacleod> In Ruby specifically?
devoldmx3 has joined #ruby
mansi has quit [Ping timeout: 276 seconds]
tommyvyo has joined #ruby
tommyvyo has quit [Changing host]
tommyvyo has joined #ruby
<reactormonk> Well, I'm running jruby. You could shell out too.
<amacleod> If not, there are utility programs to do that. On Linux, I'd recommend 'ack-grep'. On Windows, GrepWin.
frotto has quit [Ping timeout: 256 seconds]
Kricir has joined #ruby
<reactormonk> ack-grep?
jds has joined #ruby
mansi has joined #ruby
<shunt> reactormonk: http://beyondgrep.com/
darrik has joined #ruby
devoldmx27 has quit [Ping timeout: 264 seconds]
jarray52 has joined #ruby
atno is now known as atnoAfk
ewnd9 has quit [Ping timeout: 240 seconds]
mansi has quit [Remote host closed the connection]
iliketur_ has quit [Quit: zzzzz…..]
mansi has joined #ruby
barratt has quit [Read error: Connection reset by peer]
nomenkun has joined #ruby
<Olipro> shunt: mentioning a perl program in #ruby is heresy!
<reactormonk> shunt, I think that's too slow :-/
Kricir has quit [Ping timeout: 264 seconds]
<MasterAsia> reactormonk: these are textfiles?
barratt has joined #ruby
mansi_ has joined #ruby
<Neener54> would the silver searcher be useful?
mansi has quit [Read error: Connection reset by peer]
<shunt> i thought that's what amacleod was referring to; seems no more heretical than mentioning windows :)
agjacome has joined #ruby
agjacome has quit [Client Quit]
<reactormonk> MasterAsia, yup
* amacleod started all the heresy this time, he will freely admit.
<reactormonk> MasterAsia, well, XML and some more.
zachrab_ has quit [Remote host closed the connection]
vlad_starkov has joined #ruby
<amacleod> Neener54, thanks for mentioning silver searcher... I might switch to that from ack. :)
mansi_ has quit [Remote host closed the connection]
mansi has joined #ruby
ukd1 has quit [Remote host closed the connection]
Es0teric has quit [Quit: Computer has gone to sleep.]
Es0teric has joined #ruby
i_s has quit [Remote host closed the connection]
johnnyfuchs has quit [Remote host closed the connection]
dmyers has quit [Quit: dmyers]
<banisterfiend> Neener54: what language is the silver search written in?
Es0teric has quit [Client Quit]
<banisterfiend> ah, C
<Neener54> banisterfiend he he, you beat me to it
centr0 has joined #ruby
nopolitica has quit [Quit: Lost terminal]
<epitron> ag is pretty great
<epitron> it's got a troublesome name though
zachrab_ has joined #ruby
iliketur_ has joined #ruby
cmarques has quit [Quit: leaving]
workmad3 has joined #ruby
kpshek has joined #ruby
Kricir has joined #ruby
mansi has quit [Ping timeout: 245 seconds]
nucatus_ has quit [Remote host closed the connection]
<banisterfiend> epitron: oh hello epitron.
zachrab_ has quit [Remote host closed the connection]
<banisterfiend> epitron: I just wonder if it has the same level of integration
kpshek has quit [Client Quit]
<banisterfiend> i normally use ack through emacs
<banisterfiend> i guess if it's similar enough to ack i can just opint emacs at the ag executable instead
maasdesigner1 has joined #ruby
<amacleod> Seems like the author took pains to make ag's interface enough like ack's that it slots into most tools without pain.
fuzzy has quit [Read error: Operation timed out]
nanoxd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
maasdesigner1 is now known as maasdesigner
nanoxd has joined #ruby
maxmanders has joined #ruby
<epitron> yeah, ack supports some more advanced stuff
<epitron> and it's usually fast enough
<epitron> ag is a great powertool
<epitron> and it saves you typing an extra letter
blackmes1 is now known as blackmesa
<epitron> and all letters are on the left side of the keyboard
<epitron> :D
<brisbin> git grep (aliased as gg) is good enough for me
<epitron> so i use ag more than ack
noopq has quit [Ping timeout: 240 seconds]
<epitron> 2 letter commands ftw
<amacleod> epitron, actually, each letter is on an opposite side of my Dvorak keyboard, making it a nice comfortable two-hand two-stroke gesture. :-P
fuzzy has joined #ruby
xcv has quit [Remote host closed the connection]
<epitron> whatever, weirdo!
<epitron> ;)
<amacleod> (correct response detected)
<epitron> haha
mansi has joined #ruby
anonymuse has quit [Remote host closed the connection]
johnnyfuchs has joined #ruby
Matriks has quit [Remote host closed the connection]
robustus has quit [Ping timeout: 264 seconds]
<MasterAsia> amacleod: makes me wonder if there is a science to keyboard key placement
brunoro has joined #ruby
<amacleod> MasterAsia, there is a religion to keyboard key placement.
anonymuse has joined #ruby
<MasterAsia> orly
<amacleod> Kind of. There's a long and possibly sordid history of keyboard design.
robustus has joined #ruby
jds has quit [Ping timeout: 240 seconds]
Kricir has quit [Remote host closed the connection]
<amacleod> Weirdoes like me prefer Dvorak because all the vowels are left-hand home keys and the most common consonants are right-hand home keys. A couple of the axioms behind Dvorak are that less motion is better for typists and alternating between left and right hands is also better.
Peej has quit [Disconnected by services]
Jeep has joined #ruby
mansi has quit [Ping timeout: 268 seconds]
fermion has joined #ruby
<amacleod> I'm forgetting to cite sources, but various studies have shown that the difference isn't all that big after all. That said, the world record for typing speed was set using a Dvorak layout.
RichardBaker has joined #ruby
allsystemsarego has quit [Quit: Leaving]
<Morrolan> How long did it take you to get used to it? :)
<amacleod> The niftiest smear anecdote we Dvorakers have against QWERTY is that the QWERTY layout arose because typewriter manufacturers had to make typing harder to slow typists down to prevent jamming.
<amacleod> Morrolan, a couple of months, but I was pretty young at the time. I'd expect an adult to take maybe 2 months of intensive training or 4 months of casual use to become comfortable.
<matled> that sounds about right
<matled> the worst moment is when you are equally bad with both keyboard layouts
<Morrolan> Hmm, might have to get a labeled keyboard, and start practicing. :)
<Morrolan> With my current keyboard that would lead to a giant mess. *snrk*
<matled> I felt so helpless sitting in front of the keyboard and not being able to type with a decent speed, neither with qwerty nor dvorak
<matled> are you touch typing right now?
<matled> I didn't relabel my keyboard but was
<Morrolan> Yea, I am.
<amacleod> Key labels are for the weak: http://amzn.com/B003F7WXTG
<matled> I think you should be fine then. I bet there are good online courses out there that show you the keyboard while giving you training sessions that focus on the home row first and progress gradually to use more keys
<Morrolan> amacleod: I'm using one of those, actually.
* amacleod apologizes for derailing #ruby from talking about Ruby. The moment an actual Ruby question comes along, I will totally shut up.
jjbohn is now known as jjbohn|afk
freerobby has quit [Quit: Leaving.]
<Morrolan> Oh, the new models include an USB hub? That would have been a nice thing to have.
mansi has joined #ruby
<matled> oh. one of the hardest part of learning dvorak are all those key bindings in programs, as I noticed that I remember most of them by which key to press, not which letter to press.
<matled> vim was really strange for a while
<amacleod> I know for a a fact that there are editions of Mavis Beacon Teaches Typing that support Dvorak.
freerobby has joined #ruby
<Morrolan> matled: I can imagine. :)
<amacleod> Haha. It took me a long while to realize that the movement keys in Nethack were positionally arranged, and not just random gibberish.
<Morrolan> Especially since there's some key combos where I shift my hands away from the typing position.
vlad_starkov has quit [Remote host closed the connection]
johnnyfuchs has quit [Remote host closed the connection]
decoponio has quit [Quit: Leaving...]
<matled> hjkl isn't too bad, jk are on the left hand and hl on the right hand, and the ordering is right, too.
hiyosi has joined #ruby
geometry06 has joined #ruby
geometry06 has quit [Changing host]
geometry06 has joined #ruby
fermion has quit [Quit: Textual IRC Client: www.textualapp.com]
tatsuya_o has joined #ruby
<amacleod> The most annoying part for me is playing first-person shooters that use WASD for movement. First thing I have to do when playing a new game is go to the keyboard settings.
geometry06 has quit [Max SendQ exceeded]
johnnyfuchs has joined #ruby
<Morrolan> Heh.
<matled> yeah, but I'd do that anyway and use sdfe, so you have more keys to use with your pinky :)
jkline has joined #ruby
<matled> no idea why someone thought moving the hand one place to the left would be a good idea
geometry06 has joined #ruby
cj3kim has joined #ruby
cj3kim has quit [Changing host]
cj3kim has joined #ruby
<mml> has anyone heard of reports of Marshal dump/load issues in ruby2.0p247?
<mml> "null byte in string" specifically
dodosan has joined #ruby
dodosan has quit [Remote host closed the connection]
nomenkun has quit [Remote host closed the connection]
dodosan has joined #ruby
c0rn has joined #ruby
maxmanders has quit [Quit: Computer has gone to sleep.]
blufsh has quit [Quit: Page closed]
reset has quit [Quit: Leaving...]
mary5030 has quit [Remote host closed the connection]
wolcanus has quit [Remote host closed the connection]
pkrnj has quit [Quit: Computer has gone to sleep.]
rbento has quit [Quit: ZZZzzz…]
adambeynon has joined #ruby
splittingred has quit [Ping timeout: 276 seconds]
Asher has quit [Quit: Leaving.]
<MasterAsia> amacleod: I'd say just screw it
cj3kim has quit [Remote host closed the connection]
<MasterAsia> Fck Dvorak if it causes that much trouble
i_s has joined #ruby
<amacleod> MasterAsia, which part?
<MasterAsia> I'd take a 10% hit to typing speed for convenience
sambao21 has quit [Quit: Computer has gone to sleep.]
<MasterAsia> (having to change controls for every fps game?)
<amacleod> MasterAsia, you'd pretty much be right. I still like it because I learned so young and it's therefore comfortable to me.
havenwood has quit [Remote host closed the connection]
<MasterAsia> convert convert!
DrShoggoth has quit [Quit: Leaving]
<matled> one point for dvorak may be if you have problems with your hands/wrists
sambao21 has joined #ruby
sambao21 has quit [Client Quit]
shredding has quit [Quit: shredding]
Dreamer3 has joined #ruby
<Morrolan> I could imagine that it's healthier, yea. But if you've got problems, then one of those ergonomic keyboards might be a better help than a different keyboard layout.
<matled> a friend of mine had problems when using qwerty with his wrists until he switched to dvorak
devoldmx27 has joined #ruby
<matled> well, you can do both :)
cj3kim has joined #ruby
cj3kim has joined #ruby
cj3kim has quit [Changing host]
sambao21 has joined #ruby
tealmage has joined #ruby
devoldmx3 has quit [Ping timeout: 256 seconds]
<shevy> cannot load such file -- rake/extensiontask
<shevy> hmm anyone knows this error?
sarkis has quit [Quit: leaving]
amacgregor has quit [Ping timeout: 276 seconds]
<amacleod> Sounds like it might be part of rake-compiler? (which is a thing I do not know about)
saarinen has quit [Quit: saarinen]
i_s has quit [Ping timeout: 240 seconds]
thebastl has quit [Quit: Ex-Chat]
postmodern has joined #ruby
snovak has joined #ruby
tealmage has quit [Ping timeout: 276 seconds]
vince_prignano has quit [Quit: vince_prignano]
blackmesa has quit [Ping timeout: 240 seconds]
<reactormonk> how do I include a module to toplevel? I did some class << self; <code> ; end magic in the module, but include Module doesn't
<reactormonk> make the methods accessable.
Demo_of_doom_ has quit [Remote host closed the connection]
froy has joined #ruby
reset has joined #ruby
i_s has joined #ruby
havenwood has joined #ruby
<amacleod> reactormonk, I don't think you can.
wolcanus has joined #ruby
stuartrexking has joined #ruby
newUser1_ has quit [Remote host closed the connection]
chrisja has quit [Quit: leaving]
<amacleod> reactormonk, there are some contexts where you can include things in what _seems_ like the "top level". For instance Rake has some fancy stuff where you can include modules... What it's actually doing is including them on whatever class its environment is stored in.
banisterfiend is now known as banister`sleep
byprdct has joined #ruby
byprdct has quit [Max SendQ exceeded]
ArchBeOS has quit [Quit: ChatZilla 0.9.90.1 [Firefox 23.0/20130730113002]]
<banister`sleep> reactormonk: works for me
<banister`sleep> reactormonk: module Hello; def hello; puts "hi"; end; end; extend Hello
<banister`sleep> hello # => "hi"
snovak has quit [Read error: No route to host]
snovak has joined #ruby
<reactormonk> extend it is.
Fire-Dragon-DoL has joined #ruby
<banister`sleep> reactormonk: include would work as well, of course
<banister`sleep> singleton_class.send(:include, Hello)
kpshek has joined #ruby
sjltaylor has joined #ruby
Kricir has joined #ruby
krawchyk has quit [Remote host closed the connection]
Neener54 has quit [Ping timeout: 246 seconds]
atyz has joined #ruby
lushious has quit [Remote host closed the connection]
kobain has joined #ruby
cody-- has quit [Quit: Computer has gone to sleep.]
dtcrshr has joined #ruby
cody-- has joined #ruby
Megtastique has joined #ruby
GazD has joined #ruby
kilophoton has joined #ruby
jlast_ has quit [Remote host closed the connection]
Nisstyre-laptop has joined #ruby
maxmanders has joined #ruby
<maasdesigner> hi
jlast has joined #ruby
jlast has quit [Remote host closed the connection]
<Nilium> One time there was a squirrel and it was my friend and I gave it some bread and it looked pretty happy the end.
jlast has joined #ruby
<maasdesigner> is this :hide_sections ruby command in that code or rails command <%= render '/refinery/content_page', :hide_sections => :body_content_title %> ?
superscott[8] has quit [Quit: superscott[8]]
<amacleod> It looks like one association of a hash, which Rails probably interprets as a directive of some sort.
ukd1 has joined #ruby
GazD has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<amacleod> Well, when I say "one association of a hash" I probably mean "a Hash with one association".
<amacleod> It also looks like the second argument to the 'render' function.
d45h has quit [Quit: d45h]
<amacleod> So the documentation for 'render' might tell you more about what it means to put a :hide_sections key there.
<Nilium> maasdesigner: If you have to ask, it's almost always rails. Plus you should ask the rails channel, not the ruby channel.
nucatus has joined #ruby
evenix has quit [Remote host closed the connection]
rbento has joined #ruby
Dysruption has quit [Quit: Dysruption]
<Nilium> Anyway, chances are render has a definition something like def render(something, **args) and just takes a hash of stuff.
fantazo has quit [Remote host closed the connection]
Xeago has joined #ruby
superscott[8] has joined #ruby
<maasdesigner> Nilium: i wasnt sure its about ruby or rails and i first asked here and thank you for comments also amacleod
<Nilium> Well, if you knew Ruby, you'd have known already.
<Nilium> And if you're using Rails without knowing Ruby, holy hell are you in for a world of pain
blackmesa has joined #ruby
<maasdesigner> Nilium: yes you are right and i am suffering now.
saarinen has joined #ruby
<Nilium> So if I just dump a bucket of spiders on you, would that be more suffering or less suffering? Trying to get an idea of the current level of suffering.
nanoxd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Nilium> How about ladybugs?
bsdbandit has joined #ruby
nucatus has quit [Ping timeout: 245 seconds]
<Nilium> A bucket of ladybugs would probably be an improvement if I were using PHP right now.
* amacleod is not sure how spiders in a bucket are relevant to Ruby programming, but it's a delightful mental image.
<bsdbandit> hello wall
<bsdbandit> all
<Nilium> A bucket of spiders is relevant to Ruby in discerning how much one's suffering increases by using Rails without knowing Ruby.
brennanMKE has joined #ruby
maxmanders has quit [Quit: Computer has gone to sleep.]
Companion is now known as companion
<Nilium> If the bucket of spiders makes things better, then we have a way to begin approximating the suffering induced by rails
<Nilium> It's kind of like a binary search.
<amacleod> Test and correct... makes sense.
<maasdesigner> Nilium: im graphic designer and last 3 months almost i look ruby and ruby on rails
<aedorn> Wasn't there a console recording app that was like super easy to use? Something .io ....
<Nilium> Should I take that to mean that spiders improve rails?
<Nilium> aedorn: Dunno, but I found this: https://github.com/antono/shelr
<aedorn> Times like these are what bookmarks are for. Maybe one day I'll start using those.
<Nilium> Looks like that one's a little iffy though
<maasdesigner> Nilium: so you suggest me to go back first learn ruby ? with some test examples ? like koans? i've finished ruby lessons in code school and codecademy then i passed to rails directly maybe its my fault i jump to rails early
ukd1 has quit [Ping timeout: 268 seconds]
<Nilium> Was it http://ascii.io ?
Nisstyre-laptop is now known as Nisstyre
<Nilium> maasdesigner: I highly recommend you know Ruby.
<Nilium> 'Cause Rails is Ruby and if you don't know Ruby you're basically screwed.
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<Nilium> Also, if you aren't actually coding in Ruby, koans, lessons, etc. are all wasted.
jjbohn|afk is now known as jjbohn
<Nilium> Oh, right, forgot to mention aedorn's name so I'd ping him.
<Nilium> Look up.
<aedorn> no, I saw, sorry.. just yeah.
Spami has joined #ruby
Spami has quit [Changing host]
Spami has joined #ruby
<Nilium> Anyway, maas, if you're not invested in coding, you're going to be a shite coder. You don't want to be a shite coder, so try to come up with some personal non-rails/webdev projects first and build them in Ruby.
sambao21 has quit [Quit: Computer has gone to sleep.]
newUser1234 has joined #ruby
tjad has quit [Ping timeout: 276 seconds]
jprovazn has joined #ruby
<Nilium> That is, build things that aren't related to web development, 'cause everything I've seen of webdev in Ruby results in heavily obfuscating logic.
<maasdesigner> Nilium: ok i highly getting this as advice to my brain thank u
<Nilium> O_o
phantummm has quit [Quit: phantummm]
* Nilium thinks he'll go get a cup of coffee.
sambao21 has joined #ruby
<zendeavor> you may need it
<aedorn> oh, didn't see ascii.io.. yes.. that's what I think I was looking at.
<aedorn> I think I need coffee, too.
platzhirsch has joined #ruby
<platzhirsch> What's up in the Ruby mine
<Nilium> Buckets of spiders/ladybugs.
<zendeavor> oh the horror
<Nilium> Fun-fact: you can actually buy a bucket of ladybugs.
<zendeavor> oh the suffers
Geison_Bequer has joined #ruby
<maasdesigner> Nilium: if i post my blog here does it going as spam ?
atnoAfk has quit [Ping timeout: 264 seconds]
narcan has quit [Remote host closed the connection]
<Nilium> Is there a reason you're posting a link to your blog other than shameless self promotion?
<Nilium> 'Cause I don't care, I'm not a moderator and I just won't click it if I don't feel like it.
<zendeavor> just post your source
<zendeavor> the ruby parts
<aedorn> Nilium: Used as a natural predator to aphids
jds has joined #ruby
<Nilium> I don't think he has source, I think he's literally just posting a link to his blog
<Nilium> aedorn: I know
<zendeavor> then it's spam, yes
<maasdesigner> Nilium: i am female
cek has joined #ruby
<Nilium> *she *she's *her
<cek> how do i see failures in test::unit?
<aedorn> Of course, the fact you can buy them from Amazon is pretty hilarious.
<cek> 1 tests, 0 assertions, 0 failures, 1 errors, 0 skips and no traces whatsoever
<Nilium> I'd be worried they'd die en-route
kirun has quit [Quit: Client exiting]
jlast has quit [Remote host closed the connection]
<platzhirsch> Nilium: the reviews are awesome, I thought mh.. 1 of 5 stars, probably because they arrived dead?
<Nilium> Plus it can't be that hard to attract ladybugs to your garden
jlast has joined #ruby
Vivekananda has joined #ruby
sambao21 has quit [Client Quit]
Haya has quit [Ping timeout: 264 seconds]
<shevy> maasdesigner work through http://pine.fm/LearnToProgram/?Chapter=00
vlad_starkov has joined #ruby
sambao21 has joined #ruby
<maasdesigner> shevy: i left this book around 50-55 ish and go to rails i will turn back this book and finish thank you
scarolan has quit [Read error: Connection reset by peer]
scarolan has joined #ruby
amacgregor has joined #ruby
jprovazn has quit [Quit: Leaving]
jds has quit [Ping timeout: 264 seconds]
newUser1234 has quit [Ping timeout: 264 seconds]
cody-- has quit [Quit: Computer has gone to sleep.]
vlad_starkov has quit [Ping timeout: 256 seconds]
newUser1234 has joined #ruby
zodiak has quit [Ping timeout: 246 seconds]
workmad3 has quit [Ping timeout: 246 seconds]
<linduxed> does someone have an idea for a synonym for the phrase "secondary attribute"?
ganeshran has joined #ruby
<amacleod> linduxed, "augmentative characteristic"
<ganeshran> Has anyone worked with Omniauth oauth2?
<linduxed> as in, i've got objects that will have a name, but their secondary attribute can be a year, an author, a country name or something else
<amacleod> linduxed, or were you hoping for a shorter name?
<linduxed> amacleod: yeah
<ganeshran> I am trying to write a custom strategy derived from omniauth oauth2? But not able to test this because it doesnt find a matching provider
<amacleod> linduxed, "data" perhaps.
ipsifendus has joined #ruby
<linduxed> amacleod: hmmm, kinda works, although it's not exact
<linduxed> meta-data?
<waxjar> data is a terrible, terrible name :p
<amacleod> linduxed, sounds like the stuff you're putting in it is pretty varied, making exactness difficult.
sambao21 has quit [Quit: Computer has gone to sleep.]
<amacleod> Are they more than just key/value pairs?
<linduxed> amacleod: yeah, that's why "secondary_attr" was my best guess
<linduxed> amacleod: oh no they're fairly advanced, they're Item
<amacleod> linduxed, "value", "content", "contents", "target"...
<linduxed> amacleod: so an Item could have the name of "Matrix" would have the category of "Movie" and would have the secondary_attr of whatever-the-year-was-it-was-released
tjbiddle has quit [Read error: Connection reset by peer]
<amacleod> linduxed, and you just know what the secondary_attr means by looking at its category and having rules defined for each category?
<linduxed> another item might have the name "The Trial", the category of "Book" and the secondary_attr of "Franz Kafka"
vlad_starkov has joined #ruby
nanoxd has joined #ruby
tgunr has quit [Quit: Nity nite]
DeanH has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<linduxed> now it might be that i have an actual Book, Movie and Whathaveyou class
sparr has quit [Ping timeout: 264 seconds]
jlast has quit [Remote host closed the connection]
thecreators has joined #ruby
c0rn has quit [Quit: Computer has gone to sleep.]
<linduxed> and they could actually house it in more sensible names, like @author and stuff like that
ner0x has quit [Quit: Leaving]
<amacleod> linduxed, if I were designing something like this, I would have a hash called "attributes", and put in {year: 1999}, {author: "Franz Kafka"} and such.
<linduxed> but all of them need to respond to something like secondary_attr, and i'm not sure about that name
kaldrenon has quit [Remote host closed the connection]
tjbiddle has joined #ruby
barratt has quit [Quit: Leaving...]
<amacleod> Since you already have arbitrary rules for the semantics of secondary_attr, those rules could also embed the symbol needed to look the thing up in attributes.
IceyEC has quit [Quit: IceyEC]
kaldrenon has joined #ruby
<ganeshran> Has anyone written a custom strategy for ominauth based on omniauth-oauth2?
<amacleod> Actually, since the secondary attribute seems always to be a single value, you could use "datum". It's enough different from "data" to not totally fall into the "this is a horribly generic term" trap, while still remaining generic enough to never be incorrect.
brunoro has quit [Ping timeout: 245 seconds]
jjbohn has quit [Quit: Leaving...]
<linduxed> amacleod: never heard "datum" ever, but i do like it
<amacleod> It's the singular of "data". (data being the Latin for, roughly "pieces of information")
sambao21 has joined #ruby
vlad_starkov has quit [Ping timeout: 268 seconds]
Megtastique has quit [Quit: Megtastique]
gadgetoid_ has joined #ruby
<amacleod> I mean, if you want to make it deliberately offensive so that people are inclined to go to the class's accessor instead of using the underlying "secondary_attr" message, you could choose something weird and ungainly and not really related to its meaning like "barnacle".
DrCode has quit [Ping timeout: 240 seconds]
codecop has quit [Remote host closed the connection]
<amacleod> Or "carbuncle"... that evokes the notion that the attribute is an extraneous egregious thing that sticks out and should be filed off and covered with a band-aid. :-P
Kricir has quit [Remote host closed the connection]
kaldrenon has quit [Ping timeout: 245 seconds]
mansi has quit [Read error: Connection reset by peer]
<linduxed> i'm not a big fan of names which make you scratch your head and force you to have a look at the implementation :-P
mansi has joined #ruby
ukd1 has joined #ruby
mansi has quit [Read error: Connection reset by peer]
<shevy> hmm I would have thought of datum as the german name for date
<linduxed> well it is date in swedish
<amacleod> Well, you've got a continuum then. "data" is so generic that people will just gloss over it with a shrug. "spidwhicket" is weird enough that people will _have_ to look at the implementation to get it.
newUser1234 has quit [Remote host closed the connection]
mansi has joined #ruby
k3VB6u4d has quit [Excess Flood]
<linduxed> amacleod: i think secondary_attr is the best one so far then :-/
moted has joined #ruby
<amacleod> I suppose if your audience is European, using "datum" would have a nonzero chance of causing confusion when a Swede or a German wonders why it isn't always a date.
workmad3 has joined #ruby
stuartrexkin has joined #ruby
k3VB6u4d has joined #ruby
digital-ghost has quit [Remote host closed the connection]
kpshek has quit []
SDev has joined #ruby
adambeynon has joined #ruby
kpshek has joined #ruby
atno has joined #ruby
ldnunes has quit [Quit: Leaving]
<amacleod> ooh, ooh. What about "addendum"?
babykosh has joined #ruby
<amacleod> Just means "thing added on".
Astralum has quit [Ping timeout: 268 seconds]
DrCode has joined #ruby
stuartrexking has quit [Ping timeout: 276 seconds]
<babykosh> is there a sublime text channel out here?
jp- has quit [Quit: OK, I believe you… but my tommy gun don't]
jefflyne has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Kricir has joined #ruby
smathieu_ has joined #ruby
alex__c2022 has quit [Quit: alex__c2022]
Astralum has joined #ruby
tgunr has joined #ruby
smathieu has quit [Ping timeout: 276 seconds]
jdenen has quit [Read error: Connection reset by peer]
ukd1 has quit [Ping timeout: 240 seconds]
<Nilium> babykosh: Yes, #sublimetext.
Astral_ has joined #ruby
<babykosh> Thank you
<zendeavor> babykosh: /msg alis help
dtcrshr has quit [Remote host closed the connection]
theRoUS has quit [Ping timeout: 246 seconds]
smigg has quit [Remote host closed the connection]
interactionjaxsn has quit [Remote host closed the connection]
failshell has quit [Remote host closed the connection]
elux has quit [Quit: Leaving...]
interactionjaxsn has joined #ruby
ryandeus_ has joined #ruby
Astralum has quit [Ping timeout: 246 seconds]
wmoxam has quit [Ping timeout: 256 seconds]
xcv has joined #ruby
dv_ has joined #ruby
Notte has quit [Remote host closed the connection]
ukd1 has joined #ruby
matled has quit [Write error: Broken pipe]
jaimef has quit [Excess Flood]
etman has quit [Quit: etman]
ryandeussing has quit [Ping timeout: 276 seconds]
matled- has joined #ruby
matled- is now known as matled
staafl has joined #ruby
pskosinski has joined #ruby
interactionjaxsn has quit [Ping timeout: 240 seconds]
jerius has quit [Quit: jerius]
etman has joined #ruby
adambeynon has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
mansi has quit [Remote host closed the connection]
barratt has joined #ruby
barratt has quit [Client Quit]
mansi has joined #ruby
apeiros has quit [Remote host closed the connection]
mansi has quit [Read error: Connection reset by peer]
pranny has joined #ruby
mansi has joined #ruby
carlyle has quit [Remote host closed the connection]
jaimef has joined #ruby
nopolitica has joined #ruby
fbernier has quit [Ping timeout: 260 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
newUser1234 has joined #ruby
thecreators has quit [Remote host closed the connection]
Liothen has joined #ruby
Kricir has quit [Remote host closed the connection]
bluOxigen has quit [Ping timeout: 246 seconds]
Dysruption has joined #ruby
superscott[8] has quit [Quit: superscott[8]]
banghouse2 has joined #ruby
lushious has joined #ruby
Uranio has quit [Ping timeout: 245 seconds]
Dysruption has quit [Client Quit]
vince_prignano has joined #ruby
reset has quit [Quit: Leaving...]
fbernier has joined #ruby
banghouse2 has quit [Remote host closed the connection]
arietis has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
kaspergrubbe has quit [Remote host closed the connection]
jkline has quit [Quit: jkline]
danman has quit [Quit: danman]
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
JDHankle_ has quit [Remote host closed the connection]
danman has joined #ruby
danman has quit [Client Quit]
barratt has joined #ruby
mmitchel_ has joined #ruby
_veer has quit [Ping timeout: 245 seconds]
_veer has joined #ruby
brianpWins has joined #ruby
t0dd2 has joined #ruby
scarolan has quit [Ping timeout: 245 seconds]
mmitchel_ has quit [Remote host closed the connection]
mmitchell has quit [Ping timeout: 276 seconds]
nicoulaj has quit [Remote host closed the connection]
barratt has quit [Client Quit]
rajath has joined #ruby
tatsuya_o has quit [Remote host closed the connection]
<rajath> hi all
BillCriswell has quit [Remote host closed the connection]
<rajath> can someone please point me to a good resource to learn ruby?
SDev has quit [Quit: Page closed]
dangerousdave has quit [Quit: Leaving...]
shunt has quit [Quit: leaving]
<havenwood> rajath: There is some good stuff listed on the Ruby documentation page: http://www.ruby-lang.org/en/documentation/
<gazarsgo> rajath: i like #ruby myself and coworkers
<havenwood> rajath: Coming to Ruby from another language or as a new programmer?
geometry06 has quit [Quit: Leaving.]
<rajath> @havenwood I am pretty good at Java and Python
DeanH has joined #ruby
<rajath> I basically want to learn some web dev, so I thought of learning Ruby first and then learn Ruby on Rails
<havenwood> rajath: Rails channel is #RubyOnRails by the way, just for reference.
<rajath> @havenwood thanks for the links.. I'll look them up
<havenwood> rajath: Sinatra is great, I'd recommend looking at that if you haven't already: http://www.sinatrarb.com/
gazarsgo has quit [Quit: gazarsgo]
yfoo has quit [Quit: yfoo has no reason]
jds has joined #ruby
Neener54 has joined #ruby
<havenwood> rajath: Gotta run, but another place to look is the ruby subreddit: http://www.reddit.com/r/ruby
<rajath> awesome
havenwood has quit [Remote host closed the connection]
<rajath> thanks a lot for all the links you shared
<rajath> :)
jds has quit [Read error: Connection reset by peer]
atyz has quit [Quit: Linkinus - http://linkinus.com]
jds has joined #ruby
breakingthings has quit [Quit: breakingthings]
<zendeavor> you can do webdev with python...
Senjai has quit [Ping timeout: 246 seconds]
barratt has joined #ruby
<rajath> you mean, Django?
<zendeavor> no, i mean python is capable of webdev without a framework
<zendeavor> rails and django are essentially the same thing
<zendeavor> not precisely true, but essentially true
pjeide has quit [Quit: ( www.nnscript.com :: NoNameScript 4.22 :: www.esnation.com )]
<rajath> ohh
snath has quit [Ping timeout: 240 seconds]
<zendeavor> coming to ruby for webdev is a silly idea
<rajath> well, not exactly
<rajath> I was gonna use RoR for web dev
grzywacz has quit [Quit: :wq]
<rajath> so thought of learning Ruby first
<zendeavor> blegh
<zendeavor> it's good to learn ruby first, of course
<rajath> but RoR is not really a good idea, you say?
<zendeavor> it can be a fine idea
<zendeavor> it's just monolithic frameworks are usually rather unnecessary
ganeshran has quit [Quit: Page closed]
pentameter has quit [Read error: Connection reset by peer]
vlad_starkov has joined #ruby
<zendeavor> great for big corporate app servers and stuff (maybe)
<zendeavor> personal projects are better served by rolling your own, or sticking with a smaller thing that fits just your needs
pkrnj has joined #ruby
<rajath> okay
<zendeavor> if you're expecting to need to scale up to a billion hits a day or something, sure, go RoR
mansi has quit [Remote host closed the connection]
<zendeavor> in either case, learn ruby because you're interested in ruby. not because you're interested in webdev.
<zendeavor> python can do webdev just the same.
mansi has joined #ruby
<rajath> hmm
<rajath> then I can probably use Python
<rajath> since I know Python already
<zendeavor> i don't want to discourage you from ruby, mind
<rajath> :)
k3VB6u4d has quit [Excess Flood]
<zendeavor> but just...don't pick it because RoR
<rajath> ohh.. Okay
<rajath> yeah.. Makes sense
<workmad3> plenty of people do pick ruby because of RoR
<zendeavor> they do, and it's utterly silly.
kilophoton has quit [Quit: kilophoton]
jkline has joined #ruby
<Nilium> And I hate them for it >:|
<workmad3> and RoR used to be a nice framework for easing your way into web-dev without having to know everything before you start (less so now, IMO)
<Nilium> Ruby is too awesome to just be known for Rails
rhys has quit [Quit: Leaving]
<zendeavor> ruby and python are essentially equivalent languages
mlpinit has quit [Ping timeout: 256 seconds]
<amacleod> zendeavor, that's like saying Java and C# are essentially equivalent languages.
<workmad3> zendeavor: I dislike python... I find it annoyingly verbose and rigid in its approaches compared to ruby
kilophoton has joined #ruby
<zendeavor> amacleod: do you know why?
<zendeavor> because it's true
vlad_starkov has quit [Ping timeout: 240 seconds]
pskosinski has quit [Quit: Til rivido Idisti!]
<workmad3> zendeavor: you've not done much java or C#, have you? :)
<zendeavor> makes me sick
<Nilium> Java and C# are essentially equivalent aside from C# basically being a better Java with more features.
<Nilium> Which is like saying one form of herpes is better than another, but that's neither here nor there.
<amacleod> zendeavor, well, I suppose you can say that every Turing-complete language is equivalent to every other Turing-complete language.
mansi has quit [Ping timeout: 245 seconds]
<zendeavor> now you're really reaching
<Nilium> In terms of general structure, C# and Java code is usually pretty similar.
<zendeavor> let's not devolve into a semantic debate, okay?
k3VB6u4d has joined #ruby
<Nilium> I think that's fair to say.
<workmad3> well, any program written in one turing-complete language can be translated into another turing-complete language
<zendeavor> the abstractions available are rather similar
<amacleod> I'll grant that Ruby and Python are very similar in many regards. Still, they're different enough that I disagree with your statement that they are essentially equivalent.
<workmad3> (if you take 'program' to include all supporting code down to the bare metal)
<Nilium> I disagree mostly with Python and Ruby being similar just because Python comes across as stricter and less.. friendly to object-oriented code.
<amacleod> They have different visual aesthetics, for one thing. Which matters.
<workmad3> python and ruby are superficially similar
<Nilium> The impression I get is that they're similar because both use 'def'
* zendeavor boggle
cek has quit [Ping timeout: 264 seconds]
<Nilium> Anyway, zendeavor's like the resident troll so it's fine
<zendeavor> that's prevailing wisdom
<zendeavor> wrong, but prevailing.
<workmad3> however, they have different philosophies driving development, different communities, different ecosystems (python's easy-install is, IMO, one of the worst atrocities around), different idioms, different views of design elegance...
<amacleod> Well I, for one, just got trolled.
<Nilium> Let's talk about how perl is dying
<Nilium> Who wants to defend perl?
<zendeavor> someone tried that crap already
<Nilium> I know, I kicked it off last time :D
<Nilium> Or recently.
<Nilium> Maybe it happens more often than I thought.
<workmad3> Nilium: perl 6 is awesome, I installed it today with 'ruby-build 2.0.0-p448'
Banistergalaxy has quit [Ping timeout: 256 seconds]
Es0teric has joined #ruby
<Nilium> Well played.
kilophoton has quit [Quit: Leaving]
reset has joined #ruby
<rajath> guys, coming back to my question.. Should I use a specific Python framework for web dev or just plain web programming in Python?
<Nilium> Also, Do you mean 1.9.3-p448?
Banistergalaxy has joined #ruby
<Nilium> rajath: Wrong room.
<workmad3> Nilium: no, I mean 2.0.0-p247
<amacleod> rajath, you might be better off asking the Python community.
k3VB6u4d has left #ruby ["Textual IRC Client: www.textualapp.com"]
<zendeavor> anywayyyyy, it stops being a matter of the language core and starts being a matter of the library extensions
<rajath> right
<Nilium> So you just like transposed bits of the version O_o
<zendeavor> rajath: choose whatever floats your boat. #python will probably say flash or django
<zendeavor> flask*
<workmad3> Nilium: I got the wrong patch level... it's 11pm here and I was working on memory, cut me some slack!
carlyle has joined #ruby
<Nilium> never.
baordog has quit [Remote host closed the connection]
<Nilium> Also, anyone recommending flash for web dev is evil and should be put down.
<workmad3> Nilium: fine, I'm off to bed :P
<zendeavor> flask
<zendeavor> flask is a different thing i promise
<Nilium> I know.
<zendeavor> i swear
<zendeavor> from the bottom of my
<zendeavor> shoes
<Nilium> Your reassurances suggest you're lying now.
<zendeavor> it comes from shoes thoug
<Nilium> .. People use shoes?
<zendeavor> and socks
<Nilium> Well sockets are fine.
<Nilium> Sockets make the world go round and occasionally drop some things.
<zendeavor> i can't decide whether i like IPC or i wish it would die
<amacleod> Don't you need some shoeets for your sockets?
* Nilium stares
<Nilium> Right, we're done here. Pack it up.
<rajath> thanks a lot guys..
* amacleod wins.
<Nilium> I hope you're happy.
sml0820 has joined #ruby
Mon_Ouie has quit [Ping timeout: 256 seconds]
gadgetoid_ has quit [Quit: ZNC - http://znc.sourceforge.net]
rajath has left #ruby ["WeeChat 0.4.0"]
sparr has joined #ruby
visof has quit [Read error: Connection reset by peer]
ehc has quit [Quit: ehc]
workmad3 has quit [Ping timeout: 246 seconds]
gyre007 has joined #ruby
obs has joined #ruby
barratt has quit [Quit: Leaving...]
freerobby has quit [Quit: Leaving.]
danman has joined #ruby
IceyEC has joined #ruby
<shevy> we need to make ruby more important
barratt has joined #ruby
<Nilium> It's already pretty important.
<zendeavor> it's called RoR
ewnd9 has joined #ruby
scarolan has joined #ruby
stuartrexkin has quit [Quit: Leaving...]
<sml0820> lets change its name to "diamond", and convince users to give it to their very suspecting girlfriend for 3 months salary
Xeago has quit [Remote host closed the connection]
<zendeavor> diamond is already a language
frotto has joined #ruby
<sml0820> lets call it shiny_diamond then i guess
_Ahmed_ has joined #ruby
maasdesigner has quit [Quit: maasdesigner.com]
platzhirsch has left #ruby [#ruby]
tatsuya_o has joined #ruby
zodiak has joined #ruby
<zendeavor> it's okay, ruby was already a language too
<zendeavor> from the same era as diamond
stuartrexking has joined #ruby
freerobby has joined #ruby
<shevy> hmm there is a language called diamond?
dankest has quit [Quit: dankest]
<amacleod> Two, maybe.
brain_shim_ has quit [Ping timeout: 268 seconds]
<zendeavor> shevy: from like...the 60s
aryaching_ has joined #ruby
aryaching has quit [Read error: Connection reset by peer]
_Ahmed_ has quit []
ffranz is now known as ffranz|brb
_veer has quit [Ping timeout: 264 seconds]
nopolitica has quit [Quit: Lost terminal]
devoldmx has joined #ruby
emogirlj has joined #ruby
AlHafoudh has quit [Quit: Computer has gone to sleep.]
emogirlj is now known as zets
tatsuya_o has quit [Ping timeout: 263 seconds]
ehc has joined #ruby
wolcanus has quit [Remote host closed the connection]
ravster has quit [Quit: Leaving.]
goleldar has quit [Quit: Leaving]
snovak has quit [Remote host closed the connection]
stuartrexking has quit [Quit: Leaving...]
snovak has joined #ruby
_veer has joined #ruby
_veer has joined #ruby
_veer has quit [Changing host]
devoldmx27 has quit [Ping timeout: 264 seconds]
snovak has quit [Read error: Connection reset by peer]
freerobby has quit [Quit: Leaving.]
snovak has joined #ruby
snovak has quit [Remote host closed the connection]
Geison_Bequer has quit [Quit: Can you take the blue from the sky? Can you put the wind in your pocket? Can you catch a rainbow? No! Such is Mango!]
mansi has joined #ruby
renderful has joined #ruby
tylersmith has joined #ruby
dankest has joined #ruby
intuxicated has quit [Ping timeout: 240 seconds]
jnix|w is now known as jnix
tylersmith has quit [Read error: Connection reset by peer]
baroquebobcat has quit [Quit: baroquebobcat]
tylersmith has joined #ruby
maasdesigner1 has joined #ruby
maasdesigner1 is now known as maasdesigner
tommyvyo has quit [Quit:]
kilophoton has joined #ruby
kpshek has quit []
babykosh has quit [Quit: babykosh]
Nisstyre has quit [Quit: Leaving]
c0rn has joined #ruby
zorg24 has quit [Ping timeout: 245 seconds]
ryandeussing has joined #ruby
huevon has quit [Quit: WeeChat 0.4.1]
JDHankle has joined #ruby
ryandeus_ has quit [Ping timeout: 264 seconds]
devoldmx has quit [Ping timeout: 240 seconds]
aryaching_ has quit [Read error: Connection reset by peer]
devoldmx has joined #ruby
Asher has joined #ruby
kilophoton has quit [Quit: leaving]
r4nd0m1 has quit []
carlyle has quit [Remote host closed the connection]
maniacal has joined #ruby
Buuyo has joined #ruby
<Buuyo> How do you invoke a subprocess, write to its stdin, and read its stdout?
Banistergalaxy has quit [Ping timeout: 246 seconds]
kilophoton has joined #ruby
<amacleod> popen3, if I remember correctly.
pel_daniel has left #ruby [#ruby]
Banistergalaxy has joined #ruby
huoxito has quit [Quit: Leaving]
<amacleod> Or maybe just open3.
<Buuyo> IO.popen. Ok. Thanks for the nudge in the right direction! :)
<heftig> Buuyo: IO#popen
kaspergrubbe has joined #ruby
dweeb has quit [Quit: Computer has gone to sleep.]
<amacleod> Ok yeah. Open3 is for when you need more than just stdin and stdout. http://www.ruby-doc.org/stdlib-1.9.3/libdoc/open3/rdoc/Open3.html
sayan has quit [Ping timeout: 240 seconds]
tabolario has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mansi has quit [Remote host closed the connection]
<pontiki> not necessarily
<pontiki> Open3 has a bunch of methods
mansi has joined #ruby
<pontiki> Open3#popen3 gives you control over stdin, stdout, and stderr, but it has some caveats you have to watch out for
<pontiki> such as possible blocking on the stdout and stderr
kaspergrubbe has quit [Ping timeout: 276 seconds]
danman has quit [Quit: danman]
danman has joined #ruby
newUser1234 has quit [Remote host closed the connection]
sjltaylor has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mlpinit has joined #ruby
ewnd9 has quit [Ping timeout: 240 seconds]
gstamp has joined #ruby
mansi has quit [Ping timeout: 264 seconds]
vlad_starkov has joined #ruby
maasdesigner has quit [Quit: maasdesigner.com]
amacleod has quit [Quit: Leaving]
wolcanus has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
danman has quit [Client Quit]
danman has joined #ruby
saarinen has quit [Quit: saarinen]
io_syl has joined #ruby
virtualize has joined #ruby
snovak has joined #ruby
tomzx_mac has joined #ruby
barratt has quit [Quit: Leaving...]
brianpWins has quit [Quit: brianpWins]
vlad_starkov has quit [Ping timeout: 268 seconds]
__maes_ has quit [Ping timeout: 264 seconds]
wolcanus has quit [Ping timeout: 264 seconds]
ctp has joined #ruby
_maes_ has quit [Ping timeout: 240 seconds]
cads has quit [Ping timeout: 268 seconds]
jeremyb has joined #ruby
aryaching has joined #ruby
pkrnj has quit [Quit: Computer has gone to sleep.]
g0bl1n has joined #ruby
mikepack has quit [Remote host closed the connection]
ilyam has quit [Quit: ilyam]
yfeldblum has quit [Ping timeout: 264 seconds]
jjbohn has joined #ruby
<jeremyb> working on installing https://github.com/calagator/calagator ; i have the specified versions of gem and ruby. (1.3.7 / 1.8.7); i keep getting an error about the format of a gemspec file. (i very recently blew away ~/.gem and ~/.gems and started from scratch)
<jeremyb> > WARNING: Invalid .gemspec format in "$HOME/.gems/specifications/themes_for_rails-0.5.1.gemspec"
<jeremyb> any ideas?
* jeremyb is not a ruby person
mklappstuhl has joined #ruby
Evixion has quit [Read error: Connection reset by peer]
snovak has quit [Read error: Operation timed out]
<jeremyb> also, Could not find factory_girl_rails-1.7.0 in any of the sources
aryaching has quit [Ping timeout: 264 seconds]
Evixion has joined #ruby
Evixion has quit [Client Quit]
jefflyne has joined #ruby
pkrnj has joined #ruby
pipework has quit [Remote host closed the connection]
threesome has quit [Ping timeout: 256 seconds]
carlyle has joined #ruby
<Neener54> jeremyb I'm assuming you reinstalled the gems right?
<Neener54> jeremyb are you using bundler?
<jeremyb> Neener54: the instructions say to run `bundle`. that's what i did
<jeremyb> Neener54: the guy sitting next to me found something that mentioned `bundle install` so that's running now. but the docs just say `bundle`
<Neener54> jeremyb Well the invalid gem spec probably isn't a huge concern, I've seen gems with that issue before that worked just fine.
johnnyfuchs has quit [Remote host closed the connection]
<Neener54> jeremyb running 'bundle' will do a bundle install if nothing is passed to it
<jeremyb> k
sambao21 has joined #ruby
<jeremyb> Neener54: it's preceeded by a significant amount of output (i guess stderr, but maybe stdout)
<jeremyb> seems like raw, uninterpreted ruby
<Neener54> Could you create a gist of it and link it?
jonkri has quit [Quit: jonkri]
<jeremyb> sure
ssvo has quit [Ping timeout: 240 seconds]
Cyrus has joined #ruby
yfeldblum has joined #ruby
ssvo has joined #ruby
lutfidemirci has joined #ruby
jjbohn has quit [Quit: Leaving...]
carlyle has quit [Ping timeout: 245 seconds]
lutfidemirci has quit [Remote host closed the connection]
wesside_ has joined #ruby
<Neener54> Well, the good news is that it looks like it's not something you're doing
staafl has quit [Ping timeout: 264 seconds]
<jeremyb> Neener54: you saw there's 3 different commands in there
devoldmx has quit [Read error: Connection reset by peer]
<Neener54> jeremyb yeah, and it's the actual gem spec of the gems that's the issue. .gemspec files tell ruby gems how to build the gem.
<jeremyb> so, that means either bug with the thing i'm installing or maybe one of the deps changed over time and broke the project?
zorg24 has joined #ruby
<MrZYX> I'd try ruby 1.9.3
baroquebobcat has joined #ruby
<jeremyb> i'm assuming they wouldn't have knowingly left the project's master broken. but maybe that's too much to expect
devoldmx has joined #ruby
nucatus has joined #ruby
<jeremyb> MrZYX: the install.md says to use 1.8.7 fwiw
<MrZYX> still
<jeremyb> right, i hear you
<jeremyb> wow, this library wifi latency is bad
<jeremyb> and they block ICMP!!! :(
<Neener54> jeremyb which version of 1.8.7 are you using?
<Neener54> Could you run "ruby -v" and paste the printout?
zeromodulus has quit [Read error: Connection reset by peer]
ryannielson has joined #ruby
zeromodulus has joined #ruby
zeromodulus has joined #ruby
zeromodulus has quit [Changing host]
redmenace has quit [Ping timeout: 264 seconds]
redmenace has joined #ruby
ilyam has joined #ruby
jonahR has joined #ruby
nucatus has quit [Ping timeout: 240 seconds]
g0bl1n has quit [Ping timeout: 256 seconds]
Tippler has joined #ruby
ehaliewicz has joined #ruby
galdor_ has joined #ruby
pranny has quit [Quit: Leaving.]
devoldmx3 has joined #ruby
snovak has joined #ruby
anonymuse has quit [Remote host closed the connection]
jefflyne has quit [Ping timeout: 256 seconds]
devoldmx has quit [Read error: Connection reset by peer]
AndChat| has joined #ruby
johnnyfuchs has joined #ruby
<jeremyb> Neener54: $ ruby --version
<jeremyb> ruby 1.8.7 (2010-08-16 patchlevel 302) [x86_64-linux]
jefflyne has joined #ruby
jefflyne has quit [Max SendQ exceeded]
<Neener54> And your gem -v
<Neener54> ?
<Neener54> I'm trying to replicate it
jefflyne has joined #ruby
ryandeussing has quit [Read error: Connection reset by peer]
devoldmx3 has quit [Ping timeout: 256 seconds]
Tippler has quit [Ping timeout: 240 seconds]
<jeremyb> Neener54: 1.3.7
Banistergalaxy has quit [Ping timeout: 264 seconds]
sml0820 has quit [Quit: sml0820]
snovak has quit [Ping timeout: 264 seconds]
MrZYX is now known as MrZYX|off
vince_prignano has quit [Quit: vince_prignano]
ffranz|brb is now known as ffranz
<jeremyb> Neener54: have to run, thanks for the help. back later. (i'm screen'd)
<Neener54> jeremyb sorry I couldn't help much
<jeremyb> np!
<jeremyb> ttyl
elaptics is now known as elaptics`away
ipsifendus has quit [Quit: ipsifendus]
Vicmaste_ has joined #ruby
elaptics`away is now known as elaptics
Vicmaster has quit [Ping timeout: 240 seconds]
scarolan has quit [Read error: Connection reset by peer]
predator117 has quit [Ping timeout: 240 seconds]
scarolan has joined #ruby
ctp has quit [Ping timeout: 246 seconds]