apeiros_ changed the topic of #ruby to: Ruby 2.1.2; 2.0.0-p481; 1.9.3-p545: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
dayepa has joined #ruby
dc has quit [Remote host closed the connection]
timonv has joined #ruby
NukePuppy has quit [Ping timeout: 264 seconds]
goleldar has quit [Remote host closed the connection]
crazysim has quit [Excess Flood]
crazysim has joined #ruby
centrx has quit [Quit: Mission accomplished. Ready for self-termination.]
oddalot has quit [Ping timeout: 245 seconds]
timonv has quit [Ping timeout: 240 seconds]
tsuyoshi_ is now known as zz_tsuyoshi_
jso has quit [Ping timeout: 245 seconds]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jso has joined #ruby
rlazoti has joined #ruby
zz_tsuyoshi_ is now known as tsuyoshi_
hpoydar has joined #ruby
blz37 has quit [Quit: WeeChat 0.4.3]
endash has quit [Quit: endash]
tjr9898 has joined #ruby
rgrinberg has quit [Quit: Leaving.]
rgrinberg has joined #ruby
Hanmac1 has joined #ruby
little_f_ has joined #ruby
AlSquirrel has quit [Quit: This computer has gone to sleep]
Hanmac has quit [Ping timeout: 264 seconds]
little_fu has quit [Ping timeout: 240 seconds]
nichtdiebohne1 has joined #ruby
nerdy has joined #ruby
nichtdiebohne1 has quit [Client Quit]
MrJoshua has joined #ruby
nichtdiebohne has quit [Ping timeout: 240 seconds]
Xeago has joined #ruby
chrstphrhrt has joined #ruby
trei3212 has joined #ruby
srnty has joined #ruby
MrJoshua has quit [Client Quit]
crazymykl has quit [Ping timeout: 240 seconds]
srnty has quit [Client Quit]
rlazoti has quit [Quit: Computer has gone to sleep.]
srnty has joined #ruby
oo_ has joined #ruby
aniM has quit [Ping timeout: 245 seconds]
zz_karupa is now known as karupa
toretore has quit [Quit: This computer has gone to sleep]
<gr33n7007h> Where do I put the file named boxy.rb which holds a Box class, to then require that file?
Arkaniad|Laptop has joined #ruby
Arkaniad has joined #ruby
razrunelord has joined #ruby
Arkaniad|Laptop has quit [Client Quit]
benzrf is now known as butts
toretore has joined #ruby
butts is now known as benzrf
<benzrf> gr33n7007h: why not boxxy.rb
tsuyoshi_ is now known as zz_tsuyoshi_
<redlegion> Lol
rlazoti has joined #ruby
trei3212 has left #ruby ["Leaving"]
<redlegion> No, bad benzrf.
havenwood has joined #ruby
yubrew has joined #ruby
oo_ has quit [Remote host closed the connection]
fluve has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
razrunelord has quit [Ping timeout: 244 seconds]
havenwood has quit [Remote host closed the connection]
yubrew has quit [Ping timeout: 240 seconds]
hpoydar has quit [Remote host closed the connection]
hpoydar has joined #ruby
aniM has joined #ruby
fgo has joined #ruby
sleepee has quit [Quit: Leaving]
benlieb has joined #ruby
Hobogrammer has joined #ruby
<alkimome> lol
<alkimome> boxxy,rb
<alkimome> boxxy.rb
<shevy> wat
<shevy> gr33n7007h what question is that man
crazymykl has joined #ruby
fschuindt has joined #ruby
<shevy> gr33n7007h don't put it in your pants
fschuindt has quit [Max SendQ exceeded]
<shevy> gr33n7007h otherwise, logically, you must place it where ruby can find it
hpoydar has quit [Ping timeout: 245 seconds]
<shevy> the by far best and simplest way would be into ruby's default main SITE_DIR
<alkimome> just what the dude talked before me
fgo has quit [Ping timeout: 245 seconds]
<gr33n7007h> ok thanks
<alkimome> can anyone explain the slice method to me please?
<alkimome> :S
<benzrf> alkimome: it slices things
<shevy> alkimome I think it takes things you specify
<shevy> >> [1,2,3,4].slice(2)
<eval-in> shevy => 3 (https://eval.in/165890)
<shevy> alkimome look's as if it works on default way to count
<shevy> >> [1,2,3,4][2]
<eval-in> shevy => 3 (https://eval.in/165891)
<shevy> but really
<shevy> you have []
<shevy> why would you need slice
vyorkin has joined #ruby
vyorkin has quit [Client Quit]
mgberlin has quit [Remote host closed the connection]
<shevy> >> [1,2,3,4,5,6,7,8].slice(2,2)
<eval-in> shevy => [3, 4] (https://eval.in/165893)
<shevy> >> [1,2,3,4,5,6,7,8][2,2]
<eval-in> shevy => [3, 4] (https://eval.in/165894)
rlazoti has quit [Quit: Computer has gone to sleep.]
vyorkin has joined #ruby
oo_ has joined #ruby
brandoncordell has joined #ruby
phoo1234567 has quit [Remote host closed the connection]
JoshGlzBrk has joined #ruby
<apeiros> alkimome: what beyond what you can find in http://www.ruby-doc.org/core-2.1.2/Array.html#method-i-slice do you need explained?
<brandoncordell> Quick question. Is there a reason why line 4 (in the gist) returns `[]` instead of nil? https://gist.github.com/brandoncordell/d69b83530154543d0bd8
<apeiros> brandoncordell: http://imgur.com/fBoM2
moritzschaefer has joined #ruby
<apeiros> it's like a fence with poles. the last "valid" pole is after the last existing item
<apeiros> I can't tell you why they chose this design over another, though.
stytown has joined #ruby
<RubyPanther> well it is a lot better than #slapchop
<brandoncordell> weird
xcv_ has quit [Remote host closed the connection]
<alkimome> thank guys!
<brandoncordell> would there ever be a valid reason for wanting the last "pole" and not the last item?
<alkimome> I'm studying basic syntax
<alkimome> so I'm trying to understand the method
<RubyPanther> brandoncordell: 0 indexed vs 1 indexed
<heftig> apeiros: that image doesn't have arr[5]
<heftig> what would that look like, there?
<apeiros> heftig: because it's identical to arr[|]
<apeiros> heftig: because it's identical to *arr[7]
moritzs has quit [Ping timeout: 244 seconds]
<alkimome> so
<apeiros> brandoncordell: you don't want an item, you want a slice
MrJoshua_ has joined #ruby
<alkimome> slice(the_house_of_the_array_it_start_counting, how_much_houses_to_the_final_selection)
<alkimome> thanks!
<apeiros> brandoncordell: and ruby says "a slice right at the end is still a valid slice"
<heftig> no, going by the blue bars it would look be between arr[5,0] and arr[5,2]
<brandoncordell> apeiros: ahh, I don't know why that wasn't more apparent to me
Zenigor has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
<apeiros> heftig: no laddie, you're reading that wrong :)
<brandoncordell> also, the fact that you had that image so easily accessible is impressive haha
<heftig> but then the display breaks down because going form that it should output [], identical to arr[5,1], but it doesn't
<apeiros> heftig: getting a slice != getting an index
george2 has quit [Remote host closed the connection]
<apeiros> heftig: getting an index is less problematic in that it will return nil when out of bounds all the time. no [] vs. nil distinction.
pu22l3r has joined #ruby
<RubyPanther> >> [][0,999999999]
<eval-in> RubyPanther => [] (https://eval.in/165895)
MrJoshua_ has quit [Client Quit]
<RubyPanther> >> [][1,999999999]
<eval-in> RubyPanther => nil (https://eval.in/165896)
MrJoshua_ has joined #ruby
lw has joined #ruby
rlazoti has joined #ruby
northfurr_ has joined #ruby
<heftig> apeiros: how would diagrams for arr[5] and arr[5,1] look like?
northfurr_ has left #ruby [#ruby]
<RubyPanther> The usefulness is that [] is true and nil is false
<heftig> being consistent with the other nine
<brandoncordell> heftig: arr[5] -> nil, array[5,1] -> []
<heftig> brandoncordell: that's not what i'm asking
MrJoshua_ has quit [Client Quit]
<heftig> it's about that image
<apeiros> heftig: they'd look identical. again, getting a slice != getting an index.
<alkimome> what are you guys talking about?
<heftig> apeiros: the image doesn't make that distinction though, and that's misleading
<apeiros> maybe I should add a dotted line or something
<RubyPanther> if foos = bars[baz,bing] ; ... else blow up
Hanmac1 has quit [Ping timeout: 245 seconds]
<alkimome> what about strip?
<alkimome> how this method work?
Ankhers has joined #ruby
<apeiros> alkimome: you are aware that there are docs?
<apeiros> I even linked you to them…
<heftig> apeiros: i'd remove the two index lines. maybe replace them with [X,1] lines
<brandoncordell> apeiros: thanks again for clearing that up!
baroquebobcat has quit [Quit: baroquebobcat]
<alkimome> Sorry, I didn't see it
<apeiros> heftig: no.
<alkimome> the doc link
<apeiros> heftig: if, then I'll try to make the distinction in the mechanics more clear.
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> but removing it is a bad idea. ary[x] != ary[x,1]
<apeiros> heftig: but IMO you're making a confusion where the case is clear
<alkimome> I got the link now apeiros, thank you very much!
sevenseacat has joined #ruby
<apeiros> while ary[5,1] can return an empty array following the diagram, what could ary[5] possibly return? remember, it does not return a sub-array.
<apeiros> alkimome: note: you're welcome to ask follow up questions. but we don't want to just quote the docs to you ;-)
MrJoshua has joined #ruby
mary5030 has joined #ruby
<shevy> sometimes my code becomes so complex, that I know there is some bug somewhere but I can't even find where it might be...
<benzrf> shevy: maybe you should be using haskell
<shevy> in haskell it will probably be even harder
<shevy> because one has to think more while programming
<shevy> like when you use vim, your brain has to think in vim-like actions
Channel6 has quit [Quit: Leaving]
mary5030 has quit [Ping timeout: 255 seconds]
<shevy> finally I found the place where the bug will be ...
<apeiros> btw., IMO [1,2,3][4,2] # should => [nil, nil]
<apeiros> and consequently, [1,2,3][0,5] # => [1,2,3,nil,nil]
dukedave has quit [Ping timeout: 264 seconds]
<apeiros> would also be more consistent with [1,2,3][4] # => nil
DanielI has joined #ruby
DanielI has quit [Changing host]
DanielI has joined #ruby
zz_tsuyoshi_ is now known as tsuyoshi_
agent_white has joined #ruby
<shevy> halsbe will fix this
bean_ is now known as Guest2260
unop_ has joined #ruby
benlieb has quit [Quit: benlieb]
aspires has joined #ruby
pu22l3r_ has joined #ruby
tkuchiki has joined #ruby
GriffinHeart has joined #ruby
Arkaniad has quit [Ping timeout: 252 seconds]
pu22l3r has quit [Ping timeout: 264 seconds]
vyorkin has quit [Ping timeout: 245 seconds]
robustus has quit [Ping timeout: 264 seconds]
Steve21 has joined #ruby
pu22l3r_ has quit [Remote host closed the connection]
<Steve21> anyone able to give this a try for me? link is in description: https://github.com/StephenOTT/GitHub-Reminders
robustus has joined #ruby
GriffinHeart has quit [Ping timeout: 244 seconds]
yubrew has joined #ruby
mgberlin has joined #ruby
quitobro has joined #ruby
Steve21 has quit [Client Quit]
jle` has quit [Ping timeout: 245 seconds]
Channel6 has joined #ruby
Zebroid has joined #ruby
asteve has joined #ruby
asteve has quit [Max SendQ exceeded]
asteve has joined #ruby
asteve has quit [Max SendQ exceeded]
asteve has joined #ruby
asteve has quit [Max SendQ exceeded]
Mon_Ouie has quit [Ping timeout: 272 seconds]
asteve has joined #ruby
asteve has quit [Max SendQ exceeded]
hydrozen has joined #ruby
yubrew has quit [Ping timeout: 244 seconds]
asteve has joined #ruby
JoshGlzBrk has joined #ruby
shvelo has quit [Ping timeout: 240 seconds]
Zebroid has quit [Ping timeout: 255 seconds]
yakko has quit [Ping timeout: 240 seconds]
stytown has quit [Quit: stytown]
srnty has quit [Quit: srnty]
hermanmunster has quit [Remote host closed the connection]
fgo has joined #ruby
tsuyoshi_ has quit [Quit: ZNC - http://znc.in]
rlazoti has quit [Quit: Lingo - http://www.lingoirc.com]
hermanmunster has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dapz has joined #ruby
pu22l3r has joined #ruby
fgo has quit [Ping timeout: 244 seconds]
tsuyoshi_ has joined #ruby
hermanmunster has quit [Ping timeout: 244 seconds]
hamakn has quit [Remote host closed the connection]
mikesplain has quit [Ping timeout: 240 seconds]
yakko has joined #ruby
quitobro has quit [Remote host closed the connection]
IceDragon has quit [Ping timeout: 240 seconds]
IceDragon has joined #ruby
therealGent has joined #ruby
quitobro has joined #ruby
diegoviola has quit [Ping timeout: 240 seconds]
chrstphrhrt has left #ruby [#ruby]
timonv has joined #ruby
ClarusCogitatio has quit [Ping timeout: 240 seconds]
theRealGentleman has quit [Ping timeout: 272 seconds]
hermanmunster has joined #ruby
ClarusCogitatio has joined #ruby
tskogberg has quit [Ping timeout: 240 seconds]
tskogberg has joined #ruby
quitobro has quit [Ping timeout: 255 seconds]
naiyte has joined #ruby
Hanmac has joined #ruby
dukedave has joined #ruby
timonv has quit [Ping timeout: 240 seconds]
GeekOnCoffee has quit [Ping timeout: 240 seconds]
GeekOnCoffee has joined #ruby
cid404 has quit [Ping timeout: 240 seconds]
eguim has quit [Ping timeout: 240 seconds]
Jamo has quit [Ping timeout: 240 seconds]
eguim has joined #ruby
Jamo has joined #ruby
tus has quit []
iamjusthatdude has joined #ruby
cnj has quit [Ping timeout: 240 seconds]
yfeldblum has quit [Read error: Connection reset by peer]
alkimome has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby
LACP has quit [Ping timeout: 240 seconds]
hamakn has joined #ruby
cnj has joined #ruby
radic has quit [Ping timeout: 255 seconds]
benlieb has joined #ruby
jle` has joined #ruby
Zenigor has quit [Remote host closed the connection]
Jamo has quit [Ping timeout: 240 seconds]
chihhsin has quit [Ping timeout: 240 seconds]
freannrak has quit [Ping timeout: 240 seconds]
Jamo_ has joined #ruby
radic has joined #ruby
chihhsin has joined #ruby
oddalot has joined #ruby
atmosx has quit [Remote host closed the connection]
lewix has joined #ruby
freannrak has joined #ruby
inukshuk has quit [Ping timeout: 240 seconds]
<lewix> what's the equivalent of this in js? https://gist.github.com/anonymous/05ae94262821fa4ccd43
LACP has joined #ruby
dub- has quit [Ping timeout: 240 seconds]
dub- has joined #ruby
<iamjusthatdude> wut
<sevenseacat> lol
inukshuk has joined #ruby
Derander has quit [Ping timeout: 240 seconds]
<shevy> ack
<shevy> javascript
Takle has joined #ruby
<lewix> lol
paulog has quit [Ping timeout: 240 seconds]
atmosx has joined #ruby
Derander has joined #ruby
<lewix> shevy, what does ack stand for
<sevenseacat> i believe its a general expression of displeasure.
<lewix> ah
little_f_ has quit [Remote host closed the connection]
<lewix> is it australian?
<sevenseacat> no
<lewix> ok
<DanielI> er
<DanielI> acknowledgement is the first thing I think of (networking)
paulog has joined #ruby
<lewix> yuk
little_fu has joined #ruby
Zamerick has quit [Quit: Leaving]
Takle has quit [Ping timeout: 240 seconds]
krz has joined #ruby
IceDragon has quit [Ping timeout: 240 seconds]
<benzrf> ack is a searching tool!
<benzrf> like grep!
quitobro has joined #ruby
aniM has quit [Ping timeout: 255 seconds]
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nerdy has quit [Quit: Computer has gone to sleep.]
mattstratton has joined #ruby
pu22l3r has quit [Remote host closed the connection]
renier has quit [Ping timeout: 240 seconds]
eguim has quit [Remote host closed the connection]
renier has joined #ruby
kilk_ has quit [Ping timeout: 240 seconds]
quitobro has quit [Client Quit]
nickenchuggets has joined #ruby
kilk_ has joined #ruby
yakko has quit [Ping timeout: 264 seconds]
diegoviola has joined #ruby
dorei has quit []
Thermo has joined #ruby
yubrew has joined #ruby
sara2010 has quit [Read error: Connection reset by peer]
tjcravey has joined #ruby
pu22l3r has joined #ruby
hgl has joined #ruby
aspires has quit []
aspires has joined #ruby
sleepee has joined #ruby
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
yubrew has quit [Ping timeout: 255 seconds]
cid404 has joined #ruby
sara2010 has joined #ruby
little_fu has quit [Remote host closed the connection]
apeiros has quit [Ping timeout: 245 seconds]
Zebroid has joined #ruby
aniM has joined #ruby
razrunelord has joined #ruby
Zebroid has quit [Ping timeout: 272 seconds]
renier has quit [Ping timeout: 272 seconds]
dukedave has quit [Ping timeout: 245 seconds]
hgl has quit [Ping timeout: 240 seconds]
razrunelord has quit [Ping timeout: 272 seconds]
pu22l3r has quit [Remote host closed the connection]
renier has joined #ruby
fgo has joined #ruby
DanielI has quit [Quit: Leaving]
dc has joined #ruby
<shevy> ack
<shevy> lewix ack is an expression of dismay or surprise
_maes_ has joined #ruby
Ankhers has quit [Ping timeout: 264 seconds]
mikesplain has joined #ruby
fgo has quit [Ping timeout: 272 seconds]
tsuyoshi_ has quit [Quit: ZNC - http://znc.in]
GriffinHeart has joined #ruby
aniM has quit [Ping timeout: 264 seconds]
hgl has joined #ruby
mikesplain has quit [Ping timeout: 240 seconds]
aspires has quit []
JoshGlzBrk has joined #ruby
Lewix_ has joined #ruby
Arkaniad has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo_ has joined #ruby
srnty has joined #ruby
brandoncordell has quit [Ping timeout: 240 seconds]
alexju_ has joined #ruby
nerdy has joined #ruby
alexju has quit [Ping timeout: 240 seconds]
GriffinHeart has quit [Remote host closed the connection]
aniM has joined #ruby
srnty has quit [Remote host closed the connection]
spastorino has quit [Quit: Connection closed for inactivity]
Thermo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
srnty has joined #ruby
srnty has quit [Remote host closed the connection]
srnty has joined #ruby
sleepee has quit [Quit: Leaving]
JoshGlzBrk has quit [Ping timeout: 264 seconds]
srnty has quit [Remote host closed the connection]
squaresurf has joined #ruby
<zastern> If I'm using `bundle exec`, are gems installed for that ruby, but not explicitly listed in the Gemfile, still available in that context?
mweshi has joined #ruby
<GeekOnCoffee> zastern: no, only gems in the Gemfile are typically included
<GeekOnCoffee> though you might be able to get around that
mikepack has joined #ruby
<zastern> GeekOnCoffee: I don't want to get around it :)
<zastern> I was worried I might "forget" to specify a gem in my Gemfile, if I already have it installed.
<zastern> And then try to deploy, and BOOM
<zastern> GeekOnCoffee: so, it "not working" is the behavior I want.
braincrash has quit [Quit: bye bye]
closer has quit [Ping timeout: 252 seconds]
cobakobodob has quit [Ping timeout: 240 seconds]
zorak has quit [Quit: Saliendo]
zorak has joined #ruby
squaresurf has quit [Quit: Lingo - http://www.lingoirc.com]
Ankhers has joined #ruby
braincrash has joined #ruby
closer has joined #ruby
mikemac has joined #ruby
dc has quit [Remote host closed the connection]
crazymykl has quit [Ping timeout: 264 seconds]
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lewix has quit [Ping timeout: 244 seconds]
PanPan has joined #ruby
yubrew has joined #ruby
Guest10150 has quit [Quit: leaving]
Thermo has joined #ruby
cashnguns has joined #ruby
yubrew has quit [Ping timeout: 240 seconds]
Ankhers has quit [Ping timeout: 264 seconds]
kaspergrubbe has quit [Remote host closed the connection]
nerdy has quit [Quit: Computer has gone to sleep.]
mgberlin has quit [Remote host closed the connection]
mgberlin has joined #ruby
GGMethos has quit [Quit: WeeChat 0.4.3]
nerdy has joined #ruby
danijoo_ has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
diegoviola has quit [Ping timeout: 240 seconds]
aspires has joined #ruby
mikemac has quit [Remote host closed the connection]
crazymykl has joined #ruby
cashnguns has quit [Quit: I'm just an old fashioned cowboy]
diegoviola has joined #ruby
eighthbit has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mikemac has joined #ruby
terrellt has quit [Remote host closed the connection]
saarinen has joined #ruby
CodeBunny has joined #ruby
mikesplain has joined #ruby
b00stfr3ak has joined #ruby
crazymykl has quit [Ping timeout: 240 seconds]
ericboehs has quit [Read error: Connection reset by peer]
GGMethos has joined #ruby
GGMethos has quit [Read error: Connection reset by peer]
kireevco has joined #ruby
freerobby has quit [Quit: Leaving.]
Zebroid has joined #ruby
havenwood has joined #ruby
prathamesh has joined #ruby
coderhs has joined #ruby
Zebroid has quit [Read error: Connection reset by peer]
coderhs has quit [Client Quit]
Zebroid has joined #ruby
GGMethos has joined #ruby
jtiggo has quit []
cobakobodob has joined #ruby
mikesplain has quit [Ping timeout: 244 seconds]
Zebroid has quit [Ping timeout: 255 seconds]
fgo has joined #ruby
rgrinberg has quit [Quit: Leaving.]
aniM has quit [Ping timeout: 255 seconds]
yakko has joined #ruby
timonv has joined #ruby
aniM has joined #ruby
freerobby has joined #ruby
mary5030 has joined #ruby
fgo has quit [Ping timeout: 244 seconds]
yakko_ has joined #ruby
tjr9898 has quit [Remote host closed the connection]
kaspergrubbe has joined #ruby
kireevco has quit [Quit: Leaving.]
rgrinberg has joined #ruby
yakko has quit [Ping timeout: 255 seconds]
chrstphrhrt has joined #ruby
kireevco has joined #ruby
JBreit has quit [Read error: Connection reset by peer]
timonv has quit [Ping timeout: 255 seconds]
<diegoviola> so i have this data here: https://gist.github.com/diegoviola/785cc3716f461883e23a
<diegoviola> if i do foo[0] i'm only getting the first character from the "410" string, any ideas?
HowardwLo has joined #ruby
<diegoviola> I need to get the whole thing, like "410"
<diegoviola> not sure what i'm doing wrong
<sevenseacat> what did you define foo as?
<sevenseacat> also, you have a syntax error in that output
HowardwLo has left #ruby [#ruby]
Thermo has quit [Remote host closed the connection]
<diegoviola> yeah i see
<diegoviola> first line
<diegoviola> if i do a foo.class i'm getting this: Nori::StringWithAttributes
<sevenseacat> i have no idea what you're doing.
<diegoviola> that data is coming from a SOAP web service
<diegoviola> using the savon library
hugoxrosa has joined #ruby
<sevenseacat> and instead of just showing us what you're doing, you're trying to explain it
benzrf is now known as benzrf|offline
<diegoviola> well, what do you want to see exactly?
JBreit has joined #ruby
<diegoviola> i'm new with this code as well, so excuse me that i haven't provided enough data to show you
<sevenseacat> start with showing us what you're actually doing in the terminal
<diegoviola> ok
<sevenseacat> you've been here long enough to know how this works :)
Channel6 has quit [Quit: Leaving]
TDJACR_ has quit [Ping timeout: 252 seconds]
<sevenseacat> ok thats very different than what you posted before
<sevenseacat> you have an array of strings
<diegoviola> yeah
TDJACR has joined #ruby
<diegoviola> and i'm getting the first output by doing this: units.map do |u| u.split("|") end
<sevenseacat> okay, so whats the problem?
<sevenseacat> (ps. you're telling and not showing, again)
kaspergrubbe has quit [Remote host closed the connection]
cory_ has joined #ruby
<diegoviola> what i'm not sure is why i would only get "4" when i do u.first
<sevenseacat> so what is u?
saarinen has quit [Quit: saarinen]
<diegoviola> an array of strings
<sevenseacat> ...
<sevenseacat> apparently not.
aspires has quit []
JBreit has left #ruby ["Leaving"]
mgberlin_ has joined #ruby
<diegoviola> yeah it doesn't look like it: https://gist.github.com/diegoviola/e29c041b9ff839c92faa
<diegoviola> sorry
<diegoviola> u.class returns this: Nori::StringWithAttributes
pwk has quit [Quit: Leaving]
wow has joined #ruby
sevenseacat has quit [Quit: Leaving.]
<diegoviola> hrm nvm
jxf has quit [Ping timeout: 264 seconds]
aniM has quit [Ping timeout: 272 seconds]
hydrozen has quit [Quit: Computer has gone to sleep.]
mgberlin has quit [Ping timeout: 244 seconds]
wow is now known as wowXIDD
little_fu has joined #ruby
sevenseacat has joined #ruby
little_fu has quit [Remote host closed the connection]
wowXIDD has quit [Client Quit]
wow has joined #ruby
yubrew has joined #ruby
baroquebobcat has joined #ruby
hugoxrosa has quit [Read error: Connection reset by peer]
aniM has joined #ruby
saarinen has joined #ruby
mary5030 has quit [Remote host closed the connection]
saarinen has quit [Client Quit]
yubrew has quit [Ping timeout: 272 seconds]
wow is now known as wowXiDD
tjr9898 has joined #ruby
GriffinHeart has joined #ruby
jxf has joined #ruby
benlieb has quit [Quit: benlieb]
gygar has quit [Ping timeout: 264 seconds]
b00stfr3ak has quit [Remote host closed the connection]
oo_ has quit [Remote host closed the connection]
arrubin has quit [Quit: Textual IRC Client: www.textualapp.com]
aniM has quit [Ping timeout: 264 seconds]
lethjakman has joined #ruby
tjr9898 has quit [Ping timeout: 272 seconds]
prathamesh has quit [Remote host closed the connection]
srnty has joined #ruby
prathamesh has joined #ruby
Mooneye has joined #ruby
yakko_ has quit [Remote host closed the connection]
mr_snowf1ake has quit [Quit: Leaving]
dideler has quit [Ping timeout: 240 seconds]
stytown has joined #ruby
prathame_ has joined #ruby
prathamesh has quit [Ping timeout: 272 seconds]
LoRdToLsToI has joined #ruby
brandoncordell has joined #ruby
prathamesh has joined #ruby
lethjakman has quit [Ping timeout: 245 seconds]
kireevco has quit [Quit: Leaving.]
prathame_ has quit [Ping timeout: 255 seconds]
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
kireevco has joined #ruby
kireevco has quit [Client Quit]
Zebroid has joined #ruby
kireevco has joined #ruby
kireevco has quit [Client Quit]
phutchins has joined #ruby
freerobby has quit [Quit: Leaving.]
Zebroid has quit [Ping timeout: 264 seconds]
fgo has joined #ruby
prathamesh has quit [Ping timeout: 255 seconds]
bluOxigen has joined #ruby
tkuchiki has quit [Remote host closed the connection]
mattstratton has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tkuchiki has joined #ruby
fgo has quit [Ping timeout: 264 seconds]
mgberlin_ has quit [Remote host closed the connection]
mikesplain has joined #ruby
<shevy> haha
<shevy> Nori
<shevy> that's the wrapping around Sushi
therealGent has quit [Ping timeout: 264 seconds]
oo_ has joined #ruby
kireevco has joined #ruby
mikesplain has quit [Ping timeout: 272 seconds]
yacks has quit [Ping timeout: 264 seconds]
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
oo_ has quit [Ping timeout: 245 seconds]
prathamesh has joined #ruby
yakko has joined #ruby
Mooneye has quit [Quit: Leaving]
Morkel has joined #ruby
aganov has joined #ruby
x1337807x has joined #ruby
pontiki has joined #ruby
yakko has quit [Ping timeout: 240 seconds]
Cache_Money has joined #ruby
prathamesh has quit [Ping timeout: 245 seconds]
larissa has quit [Quit: Leaving]
yubrew has joined #ruby
Cache_Money_ has joined #ruby
dapz has joined #ruby
yacks has joined #ruby
prathamesh has joined #ruby
Cache_Money has quit [Ping timeout: 255 seconds]
Cache_Money_ is now known as Cache_Money
dc has joined #ruby
whitedawg has joined #ruby
yubrew has quit [Ping timeout: 244 seconds]
oo_ has joined #ruby
Lewix_ has quit [Remote host closed the connection]
lewix has joined #ruby
ffranz has joined #ruby
benlieb has joined #ruby
agent_white has quit [Quit: night]
prathamesh has quit [Remote host closed the connection]
prathamesh has joined #ruby
lewix has quit [Ping timeout: 244 seconds]
phutchins has quit [Ping timeout: 255 seconds]
timonv has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
noop has joined #ruby
lewix has joined #ruby
RandyT has quit [Quit: ZNC - http://znc.in]
prathamesh has quit [Ping timeout: 272 seconds]
voodoofish1 has joined #ruby
naiyte has left #ruby [#ruby]
RandyT has joined #ruby
voodoofish has quit [Ping timeout: 264 seconds]
srnty has quit [Quit: srnty]
mary5030 has joined #ruby
causasui has quit [Ping timeout: 264 seconds]
dapz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mary5030 has quit [Ping timeout: 272 seconds]
M-Technic has quit [Ping timeout: 240 seconds]
rgrinberg has quit [Quit: Leaving.]
lxsameer has joined #ruby
hakunin has quit [Ping timeout: 244 seconds]
rgrinberg has joined #ruby
diegoviola has quit [Ping timeout: 240 seconds]
prathamesh has joined #ruby
fgo has joined #ruby
diegovio1 has joined #ruby
timonv has quit [Remote host closed the connection]
garndt has quit [Quit: Connection closed for inactivity]
Zebroid has joined #ruby
ta has quit [Remote host closed the connection]
ta has joined #ruby
Zebroid has quit [Ping timeout: 255 seconds]
CorpusCallosum has joined #ruby
noop has quit [Ping timeout: 272 seconds]
tjr9898 has joined #ruby
ta has quit [Ping timeout: 264 seconds]
rgrinberg has quit [Quit: Leaving.]
stytown has quit [Quit: stytown]
dreamchaser has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
hakunin has joined #ruby
tjr9898 has quit [Ping timeout: 264 seconds]
shvelo has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
causasui has joined #ruby
heftig has quit [Quit: Quitting]
oo_ has quit [Remote host closed the connection]
CaptainJet has quit []
Cache_Money has quit [Quit: Cache_Money]
phinfonet has quit []
oo_ has joined #ruby
ta has joined #ruby
Xeago has quit [Ping timeout: 244 seconds]
M-Technic has joined #ruby
techsethi has joined #ruby
stytown has joined #ruby
ghr has joined #ruby
rgrinberg has joined #ruby
tobago has joined #ruby
Mooneye has joined #ruby
shvelo has quit [Ping timeout: 264 seconds]
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
mweshi has quit [Quit: mweshi]
ghr has quit [Ping timeout: 255 seconds]
mijicd has joined #ruby
dreamchaser has quit [Ping timeout: 264 seconds]
fluve has quit [Remote host closed the connection]
setra has joined #ruby
Rahul_Roy has joined #ruby
Xeago has joined #ruby
Macaveli has joined #ruby
Notte has joined #ruby
mikepack has quit [Remote host closed the connection]
alem0lars has joined #ruby
Arkaniad has quit [Ping timeout: 272 seconds]
bal has joined #ruby
wallerdev has joined #ruby
bal has quit [Read error: Connection reset by peer]
ra4king1 has joined #ruby
bal has joined #ruby
ra4king has quit [Disconnected by services]
ra4king1 is now known as ra4king
alem0lars has quit [Client Quit]
Shidash has joined #ruby
dreamchaser has joined #ruby
nerdy has quit [Quit: Computer has gone to sleep.]
diegovio1 has quit [Quit: WeeChat 0.4.3]
Mooneye has quit [Quit: Leaving]
lewix has quit [Remote host closed the connection]
Ankhers has joined #ruby
tjr9898 has joined #ruby
lewix has joined #ruby
tagrudev has joined #ruby
bigkevmcd has joined #ruby
vyorkin has joined #ruby
Xeago has quit [Ping timeout: 264 seconds]
cory_ has quit [Quit: Connection closed for inactivity]
jprovazn has joined #ruby
Arkaniad has joined #ruby
toastynerd has quit [Remote host closed the connection]
duncannz has joined #ruby
lewix has quit [Ping timeout: 244 seconds]
Ankhers has quit [Ping timeout: 264 seconds]
mercwithamouth has quit [Ping timeout: 240 seconds]
ta has quit [Read error: Connection reset by peer]
tjr9898 has quit [Ping timeout: 264 seconds]
alem0lars has joined #ruby
vyorkin has quit [Ping timeout: 240 seconds]
mijicd has quit [Remote host closed the connection]
techsethi has quit [Quit: techsethi]
metadave has quit [Ping timeout: 264 seconds]
doev has joined #ruby
doev has quit [Read error: Connection reset by peer]
peeja has quit [Ping timeout: 264 seconds]
mercwithamouth has joined #ruby
okinomo has quit [Ping timeout: 264 seconds]
chrstphrhrt has quit [Quit: chrstphrhrt]
metadave has joined #ruby
okinomo has joined #ruby
peeja has joined #ruby
Mooneye has joined #ruby
mijicd has joined #ruby
Notte has quit [Remote host closed the connection]
mikeymicrophone has joined #ruby
<mikeymicrophone> I’m using the twitter gem to create an oauth login system. I can’t figure out how to set the callback url (I have it set in my dev.twitter.com interface but not in my code).
toastynerd has joined #ruby
razrunelord has joined #ruby
benlieb has quit [Quit: benlieb]
Zebroid has joined #ruby
mercwithamouth has quit [Ping timeout: 264 seconds]
bubbajones has quit [Quit: leaving]
ta has joined #ruby
JasmeetQA has joined #ruby
mercwithamouth has joined #ruby
bubbajones has joined #ruby
etqqkoiflwhb has joined #ruby
doev has joined #ruby
razrunelord has quit [Ping timeout: 245 seconds]
etqqkoiflwhb has quit [Client Quit]
Zebroid has quit [Ping timeout: 240 seconds]
mijicd has quit [Remote host closed the connection]
apeiros has joined #ruby
charliesome has joined #ruby
<csmrfx> mikeymicrophone: if I remember correctly, it is a parameter in the call
mijicd has joined #ruby
pencilcheck has joined #ruby
ritz has joined #ruby
ritz has quit [Client Quit]
prathamesh has quit [Remote host closed the connection]
vyorkin has joined #ruby
jhass|off is now known as jhass
relix has joined #ruby
<mikeymicrophone> csmrfx: thanks! no luck yet but I’ll keep trying.
pencilcheck has quit []
luckyruby has joined #ruby
Darryl has joined #ruby
setra has quit [Ping timeout: 244 seconds]
zigomir has joined #ruby
zigomir has quit [Read error: Connection reset by peer]
zigomir has joined #ruby
<Hanmac> shevy ping
yubrew has joined #ruby
Xeago has joined #ruby
kenndel_ has joined #ruby
kireevco has quit [Quit: Leaving.]
dreamchaser has quit [Read error: Connection reset by peer]
dreamchaser has joined #ruby
mijicd has quit [Remote host closed the connection]
yubrew has quit [Ping timeout: 240 seconds]
davedev24_ has quit [Remote host closed the connection]
fabrice31 has joined #ruby
kenndel has quit [Ping timeout: 264 seconds]
davedev24_ has joined #ruby
felixdd has joined #ruby
mijicd has joined #ruby
jheg has joined #ruby
ghr has joined #ruby
ndrei has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
klaut has joined #ruby
davedev24_ has quit [Ping timeout: 240 seconds]
noop has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
benlieb has joined #ruby
JohnBat26 has joined #ruby
Mon_Ouie has joined #ruby
techsethi has joined #ruby
whitedawg has quit [Ping timeout: 245 seconds]
nanodano has quit [Quit: Leaving.]
jarray52 has left #ruby [#ruby]
dangerousdave has joined #ruby
techsethi has quit [Ping timeout: 245 seconds]
techsethi has joined #ruby
<mozzarella> guys, any of you know of a tutorial on writing a rakefile for actually compiling and linking stuff, not just basic tasks?
<jhass> avdi grimm had a nice video series recently
<Hanmac> mozzarella: are you looking for this? http://rubygems.org/gems/rake-compiler
<mozzarella> not really
<mozzarella> I just want to use rake to compile C++ apps
jheg has quit [Ping timeout: 255 seconds]
<ari-_-e> mozzarella: uh, ones that don't involve ruby?
<mozzarella> ari-_-e: yeah
moritzschaefer has quit [Ping timeout: 264 seconds]
<mozzarella> jhass: thank you, I will watch them
mocchi has joined #ruby
Mooneye has quit [Quit: Leaving]
Poky has joined #ruby
ta has quit [Remote host closed the connection]
havenwood has quit [Ping timeout: 264 seconds]
ta has joined #ruby
vyorkin has quit [Ping timeout: 245 seconds]
atmosx has quit [Ping timeout: 264 seconds]
alex88 has joined #ruby
ta has quit [Read error: Connection reset by peer]
felixdd has quit [Ping timeout: 264 seconds]
mercwithamouth has quit [Ping timeout: 272 seconds]
d34th4ck3r has joined #ruby
atmosx has joined #ruby
havenwood has joined #ruby
xcv has joined #ruby
jmeeuwen has quit [Quit: Disconnecting from stoned server.]
jmeeuwen_ has joined #ruby
whitedawg has joined #ruby
jmeeuwen_ is now known as jmeeuwen
alex88 has quit [Quit: Leaving...]
alex88 has joined #ruby
dc has quit [Remote host closed the connection]
Dreamer3 has quit [Quit: Leaving...]
anarang has joined #ruby
d34th4ck3r has left #ruby [#ruby]
jackneill has joined #ruby
dreamchaser has quit [Ping timeout: 264 seconds]
LiohAu has joined #ruby
spicerack has joined #ruby
razrunelord has joined #ruby
Zebroid has joined #ruby
qba73 has joined #ruby
qba73 has quit [Remote host closed the connection]
kwd has joined #ruby
razrunelord has quit [Ping timeout: 244 seconds]
xcv has quit [Remote host closed the connection]
toastynerd has quit [Remote host closed the connection]
Zebroid has quit [Ping timeout: 245 seconds]
northfurr has quit [Quit: northfurr]
brandoncordell has quit [Quit: Lost terminal]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_pingu has joined #ruby
ta has joined #ruby
skaflem has joined #ruby
causasui has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
ephemerian has joined #ruby
causasui has joined #ruby
<_pingu> http://pastebin.com/XSaFeK3m That is a working serverspec example. How can I test this n times with a sleep in between?
sara2010 has left #ruby [#ruby]
yubrew has joined #ruby
mocchi has quit [Remote host closed the connection]
alem0lars has quit [Quit: Going AFK...]
prathamesh has joined #ruby
r0bby is now known as robbyoconnor
Joulse has joined #ruby
Shidash has quit [Ping timeout: 240 seconds]
yubrew has quit [Ping timeout: 244 seconds]
sepp2k has joined #ruby
weklj has joined #ruby
<weklj> do we have a ruby bot here?
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
<weklj> If I have to find out what is the use of included keyword, how can I found that out?
jhass is now known as jhass|off
<sevenseacat> google it?
<weklj> that's what I am doing and I guess I found the answer now
<sevenseacat> :)
<sevenseacat> everyone's a winner
yakko has joined #ruby
yakko has quit [Remote host closed the connection]
<Hanmac> weklj: "included" is not a keyword, "include" isnt one too but might look like one, "included" is a "hook-method" that is called in the module when the module is included into another module/class
apeiros has quit [Ping timeout: 244 seconds]
hermanmunster has quit [Remote host closed the connection]
MrDoctor has joined #ruby
<MrDoctor> I'm working on a rails project which has google_api_client in the Gemfile
hermanmunster has joined #ruby
<MrDoctor> google_api_client has multi_json 1.3.6. as a dependency
<MrDoctor> And I want do add desk 1.0.1 into the Gemfile
<Hanmac> MrDoctor: #rubyonrails ?
<MrDoctor> Which inturn has multi_json 1.6.0 as a dependency
<weklj> Hanmac: I am doing rubymonk and there is one question that uses included
<_pingu> http://pastebin.com/XSaFeK3m That is a working serverspec example. How can I test this n times with a sleep in between? if the test failes the test should be done again after some seconds
<weklj> but I don't understand it still :S
<MrDoctor> I am getting no response from ##rails
<Hanmac> MrDoctor: thats why i said "#rubyonrails" ... but imo that problem can not be fixed without updating the code of google_api_client
<Pro|> how to turn [1,2,3] into = "1,2,3"
<Pro|> in a ruby way
<weklj> Pro|: flatten
<weklj> [1,2,3].to_s
alexju_ has quit [Remote host closed the connection]
<Hanmac> weklj: hm wrong, use .join(',')
<bhaak> [1,2,3].join(',')
<weklj> mmm
timonv has joined #ruby
<weklj> to_s would change it into string, wont' it?
<MrDoctor> Okay Hanmac
<Hanmac> weklj: #included sample: if you include module A into class B, then A.included(B) is called so A knows that it was included into B
hermanmunster has quit [Ping timeout: 264 seconds]
<Hanmac> weklj: see the difference
<Hanmac> >> [[1,2,3].to_s, [1,2,3].join(',')]
<eval-in> Hanmac => ["[1, 2, 3]", "1,2,3"] (https://eval.in/165986)
<weklj> and that A.included(B) is called from within the B?
AlSquirrel has joined #ruby
alem0lars has joined #ruby
<weklj> got the diff, Hanmac , ty
jhass|off is now known as jhass
<Hanmac> wekij: yeah include does that: #include first calls #append_features that will add the constants and methods from module A into class B, if that was successful it calls #included
sevenseacat has left #ruby [#ruby]
ARCADIVS has joined #ruby
ayaz has joined #ruby
moritzs has joined #ruby
LekeFly has joined #ruby
Xeago has quit [Remote host closed the connection]
<weklj> I am now letting module Foo know that ClassMethods is included it in
Xeago has joined #ruby
<weklj> and then including the Foo in Bar class
toastynerd has joined #ruby
<weklj> Can anyone please tell me what am I doing wrong?
nfk has joined #ruby
AlSquirrel has quit [Ping timeout: 255 seconds]
zarubin has quit []
kaspergrubbe has joined #ruby
prathamesh has quit [Read error: Connection reset by peer]
prathamesh has joined #ruby
sandelius has joined #ruby
roolo has joined #ruby
toastynerd has quit [Ping timeout: 245 seconds]
moritzs has quit [Ping timeout: 244 seconds]
dreamchaser has joined #ruby
Takle has joined #ruby
moritzs has joined #ruby
francisfish has joined #ruby
ghr has joined #ruby
<_pingu> no one?
einarj has joined #ruby
<csmrfx> ?
<_pingu> http://pastebin.com/XSaFeK3m That is a working serverspec example. How can I test this n times with a sleep in between? if the test failes the test should be done again after some seconds
francisfish has quit [Client Quit]
francisfish has joined #ruby
<csmrfx> weklj: perhaps u want extend one module with other
<csmrfx> lol
<csmrfx> good work Hanmac
<weklj> I see
<Hanmac> _pingu: i dont know about Rspec but you can try this: begin; p "test"; raise; rescue; sleep 2; retry; end
Hobogrammer has quit [Ping timeout: 255 seconds]
moritzs has quit [Ping timeout: 244 seconds]
havenwood has quit [Remote host closed the connection]
MrDoctor has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
prathamesh has quit [Ping timeout: 255 seconds]
jph98 has quit [Read error: Connection reset by peer]
Takle has quit [Read error: Connection reset by peer]
prathamesh has joined #ruby
Takle has joined #ruby
elricsfate has quit [Ping timeout: 245 seconds]
qba73 has joined #ruby
marr has joined #ruby
iamjusthatdude has quit [Ping timeout: 264 seconds]
<csmrfx> haha
workmad3 has joined #ruby
klaut has quit [Remote host closed the connection]
moritzs has joined #ruby
<_pingu> Hanmac: ok, thanks
d34th4ck3r has joined #ruby
<sandelius> csmrfx Your Foo should include a module with ClassMethods
charliesome has joined #ruby
mikecmpbll has joined #ruby
timonv has quit [Remote host closed the connection]
dreamchaser has quit [Ping timeout: 264 seconds]
<csmrfx> My modules are even simpler than Hanm's example
moritzs has quit [Max SendQ exceeded]
<csmrfx> I think you should aim for the same
elaptics`away is now known as elaptics
<csmrfx> or you will end up spending coding time in stackoverflow threads
olivier_bK has joined #ruby
moritzs has joined #ruby
* csmrfx goes for a jog now
moritzs has quit [Max SendQ exceeded]
moritzs has joined #ruby
Zebroid has joined #ruby
moritzs has quit [Max SendQ exceeded]
moritzs has joined #ruby
stytown has quit [Quit: stytown]
yubrew has joined #ruby
Zebroid has quit [Ping timeout: 272 seconds]
LekeFly_ has joined #ruby
LekeFly has quit [Ping timeout: 264 seconds]
<Kilo`byte> something is borked with my gemspecs of installed gems
moritzs has quit [Ping timeout: 272 seconds]
<Kilo`byte> it started with one of them getting corrupted
<Kilo`byte> and now whenever it tries anything with the rails gems it enters infinite recursion (maybe resolving dependencies?)
prathamesh has quit [Remote host closed the connection]
prathamesh has joined #ruby
<Kilo`byte> in fact, i cannot start any program using gems because it seems to freeze loading the gem
<Kilo`byte> i get this on stderr
<Kilo`byte> Invalid gemspec in [/home/stephan/.rvm/gems/ruby-2.0.0-p247/specifications/actionmailer-4.0.0.gemspec]: stack level too deep
yubrew has quit [Ping timeout: 240 seconds]
dilated_dinosaur has joined #ruby
Takle has quit [Remote host closed the connection]
chth0n has joined #ruby
<Kilo`byte> so yeah, can't do anything atm
prathamesh has quit [Ping timeout: 240 seconds]
AndChat| has quit [Ping timeout: 245 seconds]
<Hanmac> Kilo`byte: hm try to remove that gem and then install it again ... does the error still happens?
St_Marx has joined #ruby
<Kilo`byte> sec
posixpascal has joined #ruby
<Kilo`byte> tbh, i suspect it won't let me even uninstall it
<posixpascal> yeah ruby is awesome.
spider-mario has joined #ruby
<Kilo`byte> Hanmac: yeah, looks like it fell into infinite recursion as well... lemme gist the console log
joonty has quit [Quit: WeeChat 0.4.2]
<Hanmac> Kilo`byte: if nothing works, use your rvm and install another (maybe newer) ruby
<Kilo`byte> and yeah, gonna try that now
<Kilo`byte> should upgrade to 2.1 anyways
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
Takle has joined #ruby
weklj has quit [Ping timeout: 246 seconds]
dumdedum has joined #ruby
sigurding has joined #ruby
decoponio has joined #ruby
boris has joined #ruby
timonv has joined #ruby
sinkensabe has joined #ruby
<Kilo`byte> Hanmac: rvm depends on gem install which seems broken :/ only solution i see is to completely reinstall ruby
moritzs has joined #ruby
<posixpascal> I started with RVM and switched to rbenv. No problems ever since.
<Hanmac> Kilo`byte: http://rvm.io/ imo the installer there does not need gem install
<Kilo`byte> err, i used rvm command
<Kilo`byte> and i installed rvm with my distros package manager
alem0lars has quit [Quit: Going AFK...]
<Kilo`byte> actually hmm
<Kilo`byte> meh, my hdd is stuffed anyways
mercerist has joined #ruby
ARCADIVS has quit [Quit: WeeChat 0.4.3]
klaut has joined #ruby
mercerist has quit [Client Quit]
dreamchaser has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
mercerist has joined #ruby
dreamchaser is now known as Guest86246
andrewlio has joined #ruby
Guest86246 has quit [Client Quit]
moritzs has quit [Ping timeout: 264 seconds]
marr has quit []
moritzs has joined #ruby
LekeFly_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
moritzs has quit [Max SendQ exceeded]
LekeFly has joined #ruby
towbes has quit [Ping timeout: 240 seconds]
AlSquire has joined #ruby
xcv has joined #ruby
havenwood has joined #ruby
alem0lars has joined #ruby
sigurding has quit [Quit: sigurding]
razrunelord has joined #ruby
moritzs has joined #ruby
<olivier_bK> i require logger on my file
<olivier_bK> i can get the first one on my log
moritzs has quit [Max SendQ exceeded]
<olivier_bK> i dont understand why in my second class i cant get the ouput in my log
<olivier_bK> ??
moritzs has joined #ruby
d34th4ck3r has quit [Quit: zzz]
_pingu has quit [Quit: ChatZilla 0.9.90.1 [Firefox 30.0/20140608211828]]
rdark has joined #ruby
razrunelord has quit [Ping timeout: 240 seconds]
<olivier_bK> i found it :)
<olivier_bK> sorry gus
yubrew has joined #ruby
krz has quit [Quit: WeeChat 0.4.3]
spicerack has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
towbes has joined #ruby
benlieb has quit [Quit: benlieb]
krz has joined #ruby
Zebroid has joined #ruby
havenwood has quit [Ping timeout: 264 seconds]
yubrew has quit [Ping timeout: 240 seconds]
hgl has quit [Ping timeout: 240 seconds]
Veidit has quit [Read error: Connection reset by peer]
St_Marx has quit [Quit: Ex-Chat]
blueOxigen has joined #ruby
Zebroid has quit [Ping timeout: 244 seconds]
hgl has joined #ruby
sigurding has joined #ruby
duncannz has quit [Ping timeout: 244 seconds]
bluOxigen has quit [Ping timeout: 240 seconds]
dangerousdave has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
yano has quit [Remote host closed the connection]
sandelius has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hgl has quit [Ping timeout: 240 seconds]
dangerousdave has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
bluOxigen has joined #ruby
Takle has quit [Remote host closed the connection]
blueOxigen has quit [Ping timeout: 240 seconds]
joonty has joined #ruby
Takle has joined #ruby
dilated_dinosaur has quit [Ping timeout: 255 seconds]
maximski has joined #ruby
uresu has joined #ruby
fabrice31 has quit [Remote host closed the connection]
<uresu> Hi all, can anyone help me with the basecamp gem. I require it, but it states :: undefined method `establish_connection' for Basecamp:Module
<uresu> Where shall I start?
hl has joined #ruby
tziOm has quit [Remote host closed the connection]
toastynerd has joined #ruby
shredding has joined #ruby
toastynerd has quit [Read error: No route to host]
toastynerd has joined #ruby
<uresu> Anyone :( ?
alem0lars has quit [Quit: Going AFK...]
Xeago has quit [Ping timeout: 272 seconds]
Aryasam has joined #ruby
<Hanmac> uresu: "establish_connection" vs "establish_connection!"
dilated_dinosaur has joined #ruby
toastynerd has quit [Ping timeout: 272 seconds]
kwd has quit [Quit: kwd]
phutchins has joined #ruby
tziOm has joined #ruby
fabrice31 has joined #ruby
sigurding has quit [Read error: Connection reset by peer]
juco has joined #ruby
vifino has joined #ruby
Veidit has joined #ruby
posixpascal has quit [Quit: leaving]
sandelius has joined #ruby
Takle has quit [Remote host closed the connection]
tvw has joined #ruby
posixpascal has joined #ruby
phutchins has quit [Ping timeout: 245 seconds]
dilated_dinosaur has quit [Ping timeout: 264 seconds]
posixpascal has quit [Client Quit]
posixpascal has joined #ruby
Aryasam has quit [Ping timeout: 264 seconds]
Mon_Ouie has quit [Ping timeout: 255 seconds]
towbes has quit [Ping timeout: 240 seconds]
RandyT has quit [Ping timeout: 240 seconds]
vyorkin has joined #ruby
PanPan has quit [Quit: ChatZilla 0.9.90.1 [Firefox 30.0/20140605174243]]
davedev24_ has joined #ruby
kirun has joined #ruby
kwd has joined #ruby
kyb3r_ has quit [Read error: Connection reset by peer]
roolo has quit [Quit: Leaving...]
RandyT has joined #ruby
prathamesh has joined #ruby
senayar has joined #ruby
vyorkin has quit [Ping timeout: 255 seconds]
Zebroid has joined #ruby
dmitrykorotkov has joined #ruby
dmitrykorotkov has quit [Max SendQ exceeded]
Notte has joined #ruby
dmitrykorotkov has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
Takle has joined #ruby
dilated_dinosaur has joined #ruby
dmitrykorotkov has quit [Max SendQ exceeded]
Zebroid has quit [Ping timeout: 255 seconds]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
fgo has quit []
garethrees has joined #ruby
vyorkin has joined #ruby
Papipo has joined #ruby
<Papipo> Hi all
<Papipo> is there any idiom to get an array in repeating pairs?
<Papipo> if I have [1,2,3], get an array like [[1,2], [2,3]]
<csmrfx> arrays of arrays
<csmrfx> many ways
<csmrfx> Papipo: do you use ri?
sigurding has joined #ruby
<Papipo> nopes
xcv has quit [Read error: Connection reset by peer]
xcv has joined #ruby
ghr has quit [Ping timeout: 264 seconds]
<tobiasvl> Papipo: so you don't want all permutations, just those ones?
<csmrfx> Papipo: install ri
<csmrfx> then
<Papipo> I want like a chain
<csmrfx> $ ri Array
<Papipo> 1 with 2, 2 with 3, 3 with 4
<Papipo> etc
<csmrfx> you will get a list of all the idioms! 8)
<Papipo> nice
<Papipo> thx
techsethi has quit [Ping timeout: 272 seconds]
spicerack has joined #ruby
vyorkin has quit [Ping timeout: 240 seconds]
towbes has joined #ruby
jottr_ has joined #ruby
shredding has quit [Quit: shredding]
tjr9898 has joined #ruby
dblessing has joined #ruby
<csmrfx> Papipo: see ri Array.repeated_combination
<csmrfx> and .repeated_permutation
wald0 has joined #ruby
lkba has joined #ruby
nfk has quit [Quit: yawn]
Nahra has joined #ruby
<Papipo> almost :D
<csmrfx> maybe just combination or permutation
mercerist has quit [Quit: Computer has gone to sleep.]
phoo1234567 has joined #ruby
francisfish has quit [Remote host closed the connection]
roolo has joined #ruby
<workmad3> Papipo: each_cons
<workmad3> >> [1,2,3].each_cons(2).to_a
<eval-in> workmad3 => [[1, 2], [2, 3]] (https://eval.in/166049)
mijicd has quit [Remote host closed the connection]
<workmad3> Papipo: also sometimes known as a 'sliding window' ;)
Aryasam has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
dorei has joined #ruby
sopheny has joined #ruby
dblessing has quit [Quit: dblessing]
ndrei has quit [Ping timeout: 264 seconds]
Xeago has joined #ruby
nszceta has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
sevenseacat has joined #ruby
Xeago has joined #ruby
toastynerd has joined #ruby
<Kilo`byte> now my rvm is acting up
Aryasam has quit [Ping timeout: 244 seconds]
toastynerd has quit [Ping timeout: 240 seconds]
mercerist has joined #ruby
Ankhers has joined #ruby
<Papipo> Thx workmad3 :D
<Kilo`byte> i wanna get my ruby install to work again D:
<csmrfx> whats the prob
yubrew has joined #ruby
<Kilo`byte> my rvm is acting up after reinstalling ruby
<Kilo`byte> ruby-2.0.0-p247 is not installed.
<Kilo`byte> Could not load ruby ruby-2.0.0-p247.
<Kilo`byte> my default ruby (and only installed one) is 2.1.0 though
<Kilo`byte> that one is the one i used to have... i thought i wiped all traces
<kaspergrubbe> Do you have a .ruby-version in that dir that refers to the old version?
<Kilo`byte> which dir?
<kaspergrubbe> the dir you are currently standing in maybe
<Kilo`byte> thats my home dir and nope, there isn't
Ankhers has quit [Ping timeout: 264 seconds]
<Kilo`byte> kaspergrubbe: csmrfx: also, it complains about not having ~/.rvm/gems/ruby-2.1.0/bin in path, but i added it :/
yubrew has quit [Ping timeout: 245 seconds]
<csmrfx> so
<csmrfx> reinstall was with rvm?
gregf_ has joined #ruby
Takle has quit [Remote host closed the connection]
<Kilo`byte> i uninstalled ruby through my package manager, deleted ~/.rvm and installed ruby and rvm again
<sopheny> Do you know rbenv ?
<Kilo`byte> i heard of it, but not more
<csmrfx> Kilo`byte: did you read the rvm docs, and do everything?
<csmrfx> also, debian or ubuntu?
<Kilo`byte> arch
<csmrfx> hm, probably requires same spells for env/bash
<csmrfx> are you using bash?
<Kilo`byte> i wouldn't use any distro utilizing apt-get ;)
tus has joined #ruby
<csmrfx> I wouldn't use any distro not utilizing apt-get 8)
dangerousdave has quit [Read error: Connection reset by peer]
dangerou_ has joined #ruby
<Kilo`byte> imo apt-get is verbose and slow... but thats off topic (distro wars are not ruby related after all :P)
<csmrfx> lol
<Kilo`byte> anyways, suggestions?
<csmrfx> are you using bash?
<Kilo`byte> yes sir
<csmrfx> restart bash
<Kilo`byte> did many times :P
<csmrfx> test what is in path?
<Kilo`byte> it basicly prefixes my bin dir in home dir
<Kilo`byte> checking the bash startup log shows that happens in a rv wrapper script
little_fu has joined #ruby
<csmrfx> well you get the error if rvm or ruby or gems dont have the things in path, right
<Kilo`byte> rvm wants the gem path at the very beginning
<Kilo`byte> but rvm is adding my home dir bin/ path to it itself
St_Marx has joined #ruby
<Kilo`byte> ahh i see
<Kilo`byte> it happens when adding the binstubs
phutchins has joined #ruby
<Kilo`byte> csmrfx: yes, the sourcing of rvm is last line in my .bashrc
<Kilo`byte> . ~/.rvm/scripts/rvm
nszceta has quit [Ping timeout: 244 seconds]
Papipo has left #ruby [#ruby]
Zebroid has joined #ruby
<csmrfx> uh, can you pastie the command and error?
mengu has joined #ruby
mengu has joined #ruby
maloik has quit [Quit: leaving]
little_fu has quit [Remote host closed the connection]
<Kilo`byte> csmrfx: it errors on sourcing it
Zebroid has quit [Ping timeout: 245 seconds]
timonv has quit [Remote host closed the connection]
francisfish has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
prathamesh has quit [Remote host closed the connection]
prathamesh has joined #ruby
northfurr has joined #ruby
danijoo has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
timonv_ has joined #ruby
tesuji has joined #ruby
wasamasa has joined #ruby
maloik has joined #ruby
prathamesh has quit [Ping timeout: 272 seconds]
timonv_ has quit [Ping timeout: 272 seconds]
robbyoconnor has quit [Read error: Connection reset by peer]
<wasamasa> hi, what's the ruby equivalent of the python requests module?
eka has joined #ruby
<wasamasa> I've already figured out that nokogiri seems to be the equivalent to lxml
<csmrfx> open3 perhaps
robbyoconnor has joined #ruby
<DouweM> I'd go with HTTParty
<csmrfx> Kilo`byte: and command was "make me a sammixh"?
eka has quit [Client Quit]
<Kilo`byte> csmrfx: nah, that is what i get when starting bash
ldnunes has joined #ruby
<wasamasa> csmrfx: open3 looks to me more like subprocess than http
<wasamasa> csmrfx: as in, safer interaction with processes
<csmrfx> OpenUri?
<csmrfx> *OpenURI
jxf has quit [Ping timeout: 252 seconds]
centrx has joined #ruby
Takle has joined #ruby
xcv has quit [Remote host closed the connection]
Notte has quit [Remote host closed the connection]
xcv has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<wasamasa> looks okayish for an stdlib library
xcv has quit [Remote host closed the connection]
karupa is now known as zz_karupa
timonv has joined #ruby
schaary is now known as schaary|afk
linojon has joined #ruby
<wasamasa> hmm, the http gem is cool, too
<wasamasa> looks a bit more to me like requests than httparty
<wasamasa> thanks
JasmeetQA has quit [Read error: Connection reset by peer]
<workmad3> wasamasa: faraday is also a good interface for HTTP requests
<matti> Faraday <3
<wasamasa> hmm, faraday looks more like something I'd use in a web application than quick and dirty commandline applications :P
<tagrudev> devoloping a gem is it possible to to load the current environment with pry
<tagrudev> and how
shevy has quit [Ping timeout: 272 seconds]
<tagrudev> it seems to ignore the require_paths in my gemspec file
<tagrudev> hmm
setra has joined #ruby
alem0lars has joined #ruby
northfurr has quit [Quit: northfurr]
hpoydar has joined #ruby
relix has joined #ruby
yalue has joined #ruby
toastynerd has joined #ruby
yubrew has joined #ruby
shredding has joined #ruby
shredding has quit [Client Quit]
hydrozen has joined #ruby
shredding has joined #ruby
Nahra has quit [Remote host closed the connection]
DanielI has joined #ruby
schaary|afk is now known as schaary
shevy has joined #ruby
alem0lars has quit [Ping timeout: 255 seconds]
relix has quit [Ping timeout: 240 seconds]
<Hanmac> yesterday nearly midnidght i tried to make an ERM of my rpg classes, (Actor, Skill, etc) and try to show how they are connected ;P ... just say there are many many 1->n and m->n connections ... and the connection between Actor and Skill for sample are 5 Classes/Tables ;P
hpoydar has quit [Ping timeout: 272 seconds]
toastynerd has quit [Ping timeout: 240 seconds]
<workmad3> Hanmac: sounds about right :)
maximski has quit [Read error: Connection reset by peer]
ndrei has joined #ruby
lw has quit [Quit: s]
<Hanmac> ah i captured someones interest ;P *plan succeeded*
Ankhers has joined #ruby
yubrew has quit [Ping timeout: 240 seconds]
maximski has joined #ruby
<centrx> You are making an ORM ERM RPG?
<workmad3> Hanmac: I used to try that sort of thing back when I tried to make games :)
<workmad3> Hanmac: also fun is trying to create an object model of a game engine...
ihme-TTilus is now known as TTilus
shevy has quit [Ping timeout: 272 seconds]
<Hanmac> centrx: hm nope ... i write a new script engine for a possible RPG maker games ... yesterday ad night i was lying around and i thought how they are connected ... because i KNOW that someday i will get stack-error from the interconnections
hydrozen has quit [Quit: Computer has gone to sleep.]
<centrx> An ERM RPG ORM?
<deepy> ERM?
<workmad3> deepy: entity relationship model
<Hanmac> centrx: the ERM was only to get my mind clear ... currently the data are some xml stucture, but database should be possible to ... if wanted
<workmad3> deepy: or possibly enterprise relation manager...
little_fu has joined #ruby
<workmad3> deepy: but going by context, I'm gonna go with my first though :)
<centrx> ahh, so it's actually an XML ERM RPG ORM
<Hanmac> hm centrx if you want that you could commit that to the prossible project ;P
Ankhers has quit [Ping timeout: 264 seconds]
linojon has quit [Quit: linojon]
<centrx> k I'll get right on it
bluOxigen has quit [Ping timeout: 272 seconds]
sumark has quit [Remote host closed the connection]
bluOxigen has joined #ruby
sumark has joined #ruby
trepidaciousMBR has joined #ruby
jxf has joined #ruby
oo_ has quit [Remote host closed the connection]
<trepidaciousMBR> Hi - I have shrimp installed, and it shows up on "gem list", but if I require it, I get "no such file to load". This is on OS X, ruby 1.8.7
<Hanmac> workmad3: in the last rewrite i did, i tried to make it "feature" based ... means Skills are not direct connected to ActorClass for sample, its more like:
<Hanmac> Actor has many ActorClasses, ActorClass has many Level, Level has Features (i explain later, but ActorClass has many Features too), Feature has many Skills ...
<Hanmac> the interesting part about Feature is that its a connection point between where is something added and what should be added (like it can add skills to Actor, Enemy, ActorClass, Levelable::Level, and many more, and Feature also has a Requirement part, with that it can also check if some requirement is set, like Actor has ActorClass(X) level >= Y)
ta has quit [Remote host closed the connection]
lxsameer has quit [Quit: Leaving]
<Hanmac> trepidaciousMBR: ruby1.8.7 is that problem, replace it with newer version 2.1.2 is current release
linojon has joined #ruby
<trepidaciousMBR> I'll have a look at that, also require 'rubygems' before require 'shrimp' seems to help?
<posixpascal> trepidaciousMBR: also require 'rubygems' before requireing shrimp
<trepidaciousMBR> posixpascal: Yup that fixes it, thanks
<posixpascal> Be sure to upgrade to at least ruby 2.0. :) you can use rvm/rbenv for that purpose.
<workmad3> you don't need 'require "rubygems" ' on ruby > 1.9 ;)
<workmad3> and ruby 1.8 is EoL... has been for a while now
<posixpascal> jup
workmad3 is now known as wm3|away
prathamesh has joined #ruby
Takle has quit [Remote host closed the connection]
atraylen has joined #ruby
WormDrink has quit [Ping timeout: 264 seconds]
Zebroid has joined #ruby
noop has quit [Ping timeout: 240 seconds]
<wasamasa> so, rbenv is the tool giving me sandboxes where I can install project-specific gems?
little_fu has quit [Remote host closed the connection]
<wasamasa> while rvm is more of "Do what I mean"?
Zebroid has quit [Ping timeout: 272 seconds]
uresu has quit [Quit: uresu]
ta has joined #ruby
xcv has joined #ruby
posixpascal has quit [Ping timeout: 252 seconds]
posixpascal has joined #ruby
Takle has joined #ruby
<csmrfx> is rbenv a sandbox these days?
mary5030 has joined #ruby
sailias has joined #ruby
<csmrfx> I thought is was the "simpler pythonic rvm"
zarubin has joined #ruby
sailias has quit [Remote host closed the connection]
dANOKELOFF has joined #ruby
eighthbit has joined #ruby
tier has joined #ruby
tier has quit [Remote host closed the connection]
tier has joined #ruby
rlazoti has joined #ruby
WormDrink has joined #ruby
sailias has joined #ruby
WormDrink has quit [Changing host]
WormDrink has joined #ruby
<wasamasa> hmm
<wasamasa> or maybe even chruby?
<sevenseacat> i never saw a use for project-specific gems with a tool like rvm - thats what bundler is for
garndt has joined #ruby
Takle has quit [Remote host closed the connection]
Ankhers has joined #ruby
wm3|away has quit [Ping timeout: 272 seconds]
nowthatsamatt has joined #ruby
jerius has joined #ruby
ta has quit [Ping timeout: 272 seconds]
Takle has joined #ruby
phinfonet has joined #ruby
rlazoti has quit [Quit: Leaving]
alexju has joined #ruby
lewix has joined #ruby
lewix has quit [Changing host]
lewix has joined #ruby
shredding has quit [Quit: shredding]
rlazoti has joined #ruby
naw has quit [Read error: Connection reset by peer]
naw has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
Darkchaos has joined #ruby
danijoo has joined #ruby
trepidaciousMBR has quit [Ping timeout: 240 seconds]
sinan has joined #ruby
trei3212 has joined #ruby
<sinan> Are hashes thread-safe in MRI?
<Darkchaos> Hello Guys. I only have a quick question regarding the mechanize gem: I am browsing a site whose javascript changes some link's href. Now the thing is, mechanize does not notice. Is there some flush/rescan or does it not support js at all?
jerius has quit []
northfurr has joined #ruby
<sinan> Darkchaos: doesn't support JS. I faced the same issue recently, didn't find a ruby library that supported JS nicely, ended up using CasperJS.
<Darkchaos> sinan: may I use it additionally to mechanize?
<wasamasa> Darkchaos: I'd try working around the js
<wasamasa> Darkchaos: for example if it ends up using some rest api, use it instead
<sinan> Darkchaos: it would be very hackish to use it with mechanize; CasperJS is not ruby, it is a full javascript solution
<Darkchaos> the js is heavily obfuscated :/ Ill look into it
mary5030 has quit [Remote host closed the connection]
lw has joined #ruby
<sinan> Darkchaos, wasamasa: that was my case too, the JS calculated some hash that it would sent through the REST API, figuring out how the hash is caclulated would have taken me forever :)
<csmrfx> sinan: dont use threads in MRI
<csmrfx> (unless theres changes in newest ruby versions)
<sinan> csmrfx: thanks, but that doesn't answer my question :)
<Darkchaos> sinan So I can use CasperJS to "debug" it?
<csmrfx> sinan: probably are as threads are locking in MRI
<csmrfx> but, threading requires care
<sinan> Darkchaos: umm ... CasperJS allows you to do what mechanize does, but it runs in the context of the javascript of the page. So basically, any JS that comes with the page would run naturally. You wouldn't be able to link it back to ruby easily, but if you are doing a standalone solution, you could use CasperJS
<sinan> Darkchaos: in my situation, I let my ruby code spawn a process, run CasperJS inside it, and return what I was looking for. It was very slow, but my situation didn't require speed
Morkel has quit [Quit: Morkel]
cobakobodob has quit [Ping timeout: 255 seconds]
<wasamasa> sinan: well, you could reimplement the hashing procedure in ruby, no?
<sinan> wasamasa: in concept, yes. In reality, it would take me a week to realize what the code was doing
yfeldblum has quit [Ping timeout: 272 seconds]
<sinan> wasamasa: imagine 200kb of obfuscated JS doing "something" on the page.
hamakn has quit [Remote host closed the connection]
<wasamasa> speaking of obfuscated js
<sinan> csmrfx: I am asking because I was looking into the code of https://github.com/ruby-concurrency/thread_safe, and when they find you are running MRI they just use the standard Hash and Array.
sopheny has left #ruby ["Quitte"]
yubrew has joined #ruby
<sinan> I was wondering if their code is out of date, or it is still safe to assume Hash and Array are threadsafe in MRI.
jmurray has joined #ruby
<sinan> wasamasa: that's some very cool stuff right there, thanks :D
<wasamasa> no idea how it works on non-opensource stuff
<wasamasa> hmm, that gave me an idea
<wasamasa> writing a commandline ruby script that uses jsnice.org
<wasamasa> which leads me to my next question
<wasamasa> good argument parsing libraries?
<wasamasa> I'm used to argparse under python, but would like having something a little bit less verbose :P
<Darkchaos> wasamasa it is better than jsbeautifer.org however the result is still not nice :D
Bira has joined #ruby
<Darkchaos> i just used OptionParser
lewix has quit [Remote host closed the connection]
ta has joined #ruby
ltd has quit [Remote host closed the connection]
qwyeth has joined #ruby
davedev24_ has quit [Ping timeout: 264 seconds]
yubrew has quit [Ping timeout: 245 seconds]
garethrees has quit [Ping timeout: 240 seconds]
<wasamasa> hmm
<wasamasa> rubygems.org tells me its docs live on rubyforge.org which seems to be down?
alex88 has quit [Ping timeout: 240 seconds]
toastynerd has joined #ruby
alex88_ has joined #ruby
krz has quit [Quit: WeeChat 0.4.3]
sinan has quit [Quit: leaving]
phoo1234567 has quit [Remote host closed the connection]
DanielI has quit [Changing host]
DanielI has joined #ruby
davedev24_ has joined #ruby
brasten has joined #ruby
Takle has quit [Remote host closed the connection]
toastynerd has quit [Ping timeout: 240 seconds]
qwyeth has quit [Read error: Connection timed out]
exgf has joined #ruby
qwyeth has joined #ruby
exgf has quit [Client Quit]
aniM has joined #ruby
thesheff17 has quit [Ping timeout: 244 seconds]
blackms has quit [Remote host closed the connection]
exgf has joined #ruby
ghr has joined #ruby
phoo1234567 has joined #ruby
northfurr has quit [Quit: northfurr]
Deele has joined #ruby
voodoofish1 is now known as voodoofish
gr33n7007h has quit [Quit: Leaving]
thesheff17 has joined #ruby
momomomomo has joined #ruby
Takle has joined #ruby
mary5030 has joined #ruby
obscured has joined #ruby
LadyRainicorn has joined #ruby
lewix has joined #ruby
ffranz has quit [Ping timeout: 244 seconds]
hamakn has joined #ruby
tesuji has quit [Ping timeout: 272 seconds]
ta has quit [Ping timeout: 244 seconds]
yakko has joined #ruby
yfeldblum has joined #ruby
cobakobodob has joined #ruby
wowXiDD has quit [Remote host closed the connection]
uresu has joined #ruby
<wasamasa> well, worse, it shut down
ta has joined #ruby
<wasamasa> wonderful
shevy has joined #ruby
Zebroid has joined #ruby
wowXiDD has joined #ruby
yfeldblum has quit [Ping timeout: 264 seconds]
ascarter has quit [Quit: Textual IRC Client: www.textualapp.com]
alex88_ is now known as alex88
mary5030 has quit [Remote host closed the connection]
atraylen has quit [Ping timeout: 245 seconds]
ffranz has joined #ruby
dangerou_ has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
ascarter has joined #ruby
Zebroid has quit [Ping timeout: 264 seconds]
mercwithamouth has joined #ruby
Zenigor has joined #ruby
wm3|away has joined #ruby
Kricir has joined #ruby
troulouliou_dev has joined #ruby
JokerDoom has joined #ruby
tkuchiki_ has joined #ruby
ta has quit [Read error: Connection reset by peer]
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
mengu has quit [Remote host closed the connection]
tkuchiki has quit [Ping timeout: 244 seconds]
<shevy> from .rb files, how would you guys generate javascript?
almostwhitehat has joined #ruby
yano has joined #ruby
tkuchiki_ has quit [Ping timeout: 244 seconds]
shredding has joined #ruby
<ericwood> huh
<ericwood> ??????
Ankhers has quit [Remote host closed the connection]
tacos1de has quit [Remote host closed the connection]
spicerack has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ericwood> what are you trying to do
tacos1de has joined #ruby
<shevy> I don't want to write html css or javascript when I am using ruby
<sevenseacat> lol why
codabrink has joined #ruby
<ericwood> are you writing a web app?
<Mon_Ouie> Probably not worth using though
unop_ has quit [Ping timeout: 240 seconds]
<Hanmac> ping shevy
lw has quit [Quit: s]
<ericwood> if you're doing stuff with JS and ruby I would ASSUME you're using some kind of web framework, right?
<ericwood> or are you insane
<shevy> sevenseacat the reason is simple - it takes away resources to have to adjust to different modes
<shevy> ericwood I am not insane; I am using my own helper code, the question is how to best do so
<ericwood> shevy: use heredoc
<ericwood> but tbh I hate rails helpers...make use of partials instead
<dorei> shevy: haml will help you trick yourself that u're not writing html
lw has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
wm3|away is now known as workmad3
<shevy> dorei well the problem is that it is just a haml->html conversion
<shevy> same with coffeescript->javascript
<shevy> it's all like a jigsaw puzzle
oo_ has joined #ruby
<ericwood> the trick is to just write javascript and html instead
<ericwood> weird, I know
<sevenseacat> lol
<shevy> I already don't write html since about 10 years, ruby generates the whole html/css stack for me
<shevy> nah, that sounds like what a noob would do
<ericwood> I am a huge proponent of SASS, though
<ericwood> you can pry sass from my cold dead hands
<shevy> hmm
<workmad3> ericwood: it does help when the language adds new and useful features :)
qba73 has quit []
<ericwood> workmad3: yeah, whatever does it for you really
<workmad3> ericwood: especially with the scss dialect... so it's CSS but with extras :)
danielpclark has joined #ruby
<ericwood> I kinda prefer normal JS over coffeescript but I've come to accept that people are the other way around
<ericwood> workmad3: yah SCSS is the greatest thing ever
<ericwood> I actually just put together a presentation that goes over all of its features
troulouliou_dev has quit [Remote host closed the connection]
<ericwood> <3
trei3212 has quit [Ping timeout: 272 seconds]
<workmad3> I like coffeescript and haml... but I'm also perfectly happy using plain HTML and JS if I can't be bothered to set them up in a project or I'm working with people who don't like them
francisfish has quit [Remote host closed the connection]
<sevenseacat> haml and sass are win.... coffeescript is a mixed bag
<workmad3> my main gripes are when I go from coffeescript to ruby and back... then I end up doing (foobar)-> in ruby and ->(foobar) in coffeescript...
<ericwood> last time I tried using haml it really got in my way...but I've heard there's some syntax changes
<workmad3> depends on what you're doing with haml
<ericwood> usually I'm using it to generate html
<sevenseacat> lol
<workmad3> haha :P
<ericwood> it is a lot easier to read tho
theRoUS has joined #ruby
<ericwood> html hurts my eyes
theRoUS has joined #ruby
theRoUS has quit [Changing host]
<workmad3> haml can be pretty quick to read and write for HTML structure... but it's a PITA for nesting structure and content together
yubrew has joined #ruby
ta has joined #ruby
mary5030 has joined #ruby
<ericwood> shevy: anyways, avoid using ruby strings etc for generating markup
<ericwood> use some kind of templating language
<ericwood> and keep your shit in separate files
ta has quit [Remote host closed the connection]
<ericwood> I HATE running into gigantic strings with heredoc in ruby files
<ericwood> shit is unmaintainable
<workmad3> tends to look shit then too... '%p<newline>Please accept the <newline>%input{type: 'checkbox', name: "toc"}<newline> Terms and Conditions
<workmad3> ericwood: how about the DATA section at the end of a ruby file? :D
<ericwood> oh boy even better!!!
<workmad3> ericwood: I've met someone who used the DATA section for *another* ruby script before...
<ericwood> you can do that?
<workmad3> ericwood: so he ran a script locally, it connected via SSH to a server, dumped the DATA out there and then ran it...
<ericwood> impressive.
<shevy> going the template route will lead to spaghetti code like php
<ericwood> that's the spirit, shevy
<ericwood> how about throwing a framework in there
<workmad3> ericwood: ruby has eval()...
<ericwood> like sinatra or rails or something
<shevy> they use templates as well
<shevy> erb crap for instance
<workmad3> ericwood: so yeah, you can put scripts in DATA :)
<workmad3> shevy: in PHP *everything* is a crappy template though
<workmad3> shevy: and has shit separation for them :)
<shevy> I am so glad to have abandoned php man
<ericwood> workmad3: I literally saw someone reimplement const_get in a controller by doing: eval(params[:class])
<workmad3> ericwood: haha
<shevy> php does not deserve to be more popular than ruby
<ericwood> they didn't work here anymore otherwise we would have good reason to fire them
<ericwood> shevy: PHP has its uses
<ericwood> doesn't make it okay, tho
<workmad3> ericwood: I like printing the PHP documentation out onto soft paper...
<shevy> lol
__class__ has quit [Read error: Connection reset by peer]
djcp has joined #ruby
djcp has left #ruby [#ruby]
posixpascal has quit [Ping timeout: 252 seconds]
<shevy> well
<shevy> the php docu is not that bad
yubrew has quit [Ping timeout: 272 seconds]
rlazoti has quit [Quit: Leaving]
<workmad3> shevy: it's awful
<ericwood> there are worse things
<workmad3> shevy: it's filled with PHP code samples
lemur has joined #ruby
hamakn has quit [Remote host closed the connection]
<shevy> I find it better than ruby's official documentation
<shevy> the user contributions are about 80% useless
<wasamasa> the comments are horrifying
<ericwood> apparently most PHP functions have weird names to avoid collisions because the original hashing mechanism for that stuff internally was based on the function name
<shevy> and way too long, it's like covering 80% of that page height
eighthbit has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ericwood> so they just built the language conventions around the fact that the interpreter was shit
<workmad3> ericwood: and then they never deprecate *anything*... :(
<ericwood> yep
<workmad3> shevy: see, that doc page is awful... PHP code in it!
unop_ has joined #ruby
<tobiasvl> $HTTP_POST_VARS is luckily deprecated
NukePuppy has joined #ruby
<ericwood> oh man thank god
<shevy> it looks prettier than ruby docu workmad3!
thisirs has joined #ruby
Takle has quit [Remote host closed the connection]
<shevy> workmad3 loooook http://ruby-doc.org/stdlib-2.1.2/
mailo has joined #ruby
tkuchiki has joined #ruby
mailo has quit [Client Quit]
trei3212 has joined #ruby
<shevy> black, white
<shevy> and one blue border!
spacebug_ is now known as spacebug
Xeago has quit [Remote host closed the connection]
<shevy> 1980 retro-coding
Xeago has joined #ruby
<shevy> the real links are a bit better
<workmad3> shevy: http://apidock.com/ruby/StringScanner <-- that looks prettier ;)
Xeago has quit [Read error: Connection reset by peer]
<shevy> :P
<shevy> yeah
<shevy> well
|RicharD| has joined #ruby
Xeago has joined #ruby
<shevy> apidock has the right idea, I don't like the visual mark right now, but I think the idea behind it is better than the ruby-doc.org/stdlib-2.1.2/libdoc* one
<|RicharD|> Hi if I have a float like this: 1.529876826983034e-05 - how I can show with correct 0 and without -05 ?
Xeago has quit [Remote host closed the connection]
<shevy> it's a bit too much info/convoluted
<workmad3> hehe http://www.php.net/manual/en/language.variables.variable.php "Sometimes it is convenient to be able to have variable variable names. " no... no it's not...
Xeago has joined #ruby
<shevy> php is so awful that it deserves a worse documentation
atraylen has joined #ruby
<wasamasa> |RicharD|: that's just the scientific representation
lw has quit [Quit: s]
<wasamasa> |RicharD|: the value is fine
mailo has joined #ruby
<|RicharD|> yes but I need to show
<|RicharD|> correctly for my client :D
<wasamasa> use string formatting?
<|RicharD|> 1.529876826983034e-05 must be: 1.00000529876826983034
<|RicharD|> umh %s ?
roolo has quit [Ping timeout: 244 seconds]
<centrx> Here is a real-world example:
asteve has joined #ruby
toastynerd has joined #ruby
<workmad3> |RicharD|: no...
<centrx> nevermind this is a complicated example
<workmad3> |RicharD|: 1.529876826983034e-05 is '0.0000152987....'
<wasamasa> >> sprintf("%.12f", 1.5e-5)
<wasamasa> => "0.000015000000"
<eval-in> wasamasa => "0.000015000000" (https://eval.in/166082)
<wasamasa> oh nice, a bot
Notte has joined #ruby
<workmad3> >> "%0.6f" % 1.5e-5
<eval-in> workmad3 => "0.000015" (https://eval.in/166083)
unop_ has quit [Ping timeout: 240 seconds]
freerobby has joined #ruby
<workmad3> if you don't want to use sprintf ;)
Takle has joined #ruby
<|RicharD|> oh thank you :)
__class__ has joined #ruby
mercwithamouth has quit [Ping timeout: 272 seconds]
tgoodman has joined #ruby
CaptainJet has joined #ruby
<tgoodman> anyone use HTTParty?
toastynerd has quit [Ping timeout: 244 seconds]
shredding has quit [Ping timeout: 240 seconds]
eka has joined #ruby
shredding has joined #ruby
eka has quit [Read error: Connection reset by peer]
eka has joined #ruby
timonv_ has joined #ruby
Macaveli has quit [Ping timeout: 252 seconds]
hamakn has joined #ruby
mnemon has quit [Ping timeout: 260 seconds]
timonv has quit [Ping timeout: 272 seconds]
treehug88 has joined #ruby
setra has quit [Ping timeout: 255 seconds]
mengu has quit []
yakko has quit [Read error: Connection reset by peer]
aganov has quit [Quit: Leaving]
yakko has joined #ruby
ixti has joined #ruby
fschuindt has joined #ruby
aniM has quit [Ping timeout: 255 seconds]
tobago has quit [Remote host closed the connection]
<tgoodman> trying to implement sending an email with an attachment as a post.
tgoodman has left #ruby [#ruby]
thisirs has quit [Remote host closed the connection]
redsandhand has joined #ruby
yfeldblum has joined #ruby
mnemon has joined #ruby
zz_jrhorn424 is now known as jrhorn424
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
setra has joined #ruby
<redsandhand> sorry about that. Anyone familiar with sending emails w/ attachments as a simple post?
<redsandhand> i.e., without requiring a separate gem
<Darkchaos> There is no out-of-the-box implementation to colorize console output?
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ylluminate has joined #ruby
jottr_ has quit [Ping timeout: 245 seconds]
<andrewcarter> that's pretty out of the box :p
yfeldblum has quit [Ping timeout: 240 seconds]
jtiggo has joined #ruby
mnemon has quit [Remote host closed the connection]
Ankhers has joined #ruby
lw has joined #ruby
george2 has joined #ruby
Xeago has quit [Remote host closed the connection]
felixdd has joined #ruby
tagrudev has quit [Quit: Me = Awesome]
vt102 has joined #ruby
Xeago has joined #ruby
lkb has joined #ruby
Zebroid has joined #ruby
<Darkchaos> andrewcarter :D oh shit
centrx has quit [Quit: Mission accomplished. Ready for self-termination.]
<Darkchaos> however I thought of something easier, not using the complex gems :P
jespada has joined #ruby
jtiggo has quit []
rayners has joined #ruby
trei3212 has quit [Ping timeout: 244 seconds]
MrDoctor has joined #ruby
mnemon has joined #ruby
senayar has quit [Read error: No route to host]
<MrDoctor> Is there a way I can open files from http url's, ones that require authentication, using oauth instead of basic http authentication?
<Darkchaos> thanks that is nice, rdark
<shevy> when you guys write css
<shevy> do you prefer style A:
<shevy> p.hover_test1:hover { opacity: 0.4; }
<shevy> or style B, separate lines (so newlines after { and between each individual element
Zebroid has quit [Ping timeout: 244 seconds]
<tobiasvl> style B
<sevenseacat> would never use style A
<rdark> +1 style B
<shevy> ok
mattstratton has joined #ruby
bean__ has joined #ruby
endash has joined #ruby
snath has quit [Ping timeout: 272 seconds]
eka has quit [Ping timeout: 240 seconds]
<Darkchaos> depends, for one element one could use a 1liner, but never for multiple
<jxf> shevy: +1 for style B, with one possible exception: if I had to write a series of one-attribute statements and I wanted to make the differences between them more readily visible
<jxf> e.g. (if they were all slightly different opacities)
Bira has quit [Remote host closed the connection]
<jxf> but I'd probably use Sass for that, not raw CSS
Xeago_ has joined #ruby
Kricir has quit [Remote host closed the connection]
lmickh has joined #ruby
Xeago_ has quit [Read error: Connection reset by peer]
Xeago_ has joined #ruby
<shevy> hmm
senayar has joined #ruby
spastorino has joined #ruby
einarj has quit [Remote host closed the connection]
einarj has joined #ruby
Xeago_ has quit [Remote host closed the connection]
Xeago has quit [Ping timeout: 255 seconds]
kireevco has joined #ruby
krz has joined #ruby
enebo has joined #ruby
Bira has joined #ruby
felixdd has quit [Remote host closed the connection]
einarj_ has joined #ruby
kilk_ has quit [Quit: Leaving]
bean__ has quit [Quit: bean__]
bal has quit [Quit: bal]
bal has joined #ruby
geggam has joined #ruby
mikepack has joined #ruby
eighthbit has joined #ruby
francisfish has joined #ruby
stytown has joined #ruby
jottr_ has joined #ruby
rayners has quit [Remote host closed the connection]
einarj has quit [Ping timeout: 264 seconds]
eka has joined #ruby
jprovazn has quit [Quit: Leaving]
anarang has quit [Quit: Leaving]
bean__ has joined #ruby
poguez_ has joined #ruby
renderful has quit [Remote host closed the connection]
acrussell has joined #ruby
prathamesh has quit [Remote host closed the connection]
yubrew has joined #ruby
bal has quit [Client Quit]
renderful has joined #ruby
kwd has quit [Quit: kwd]
dangerou_ has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
moritzs has quit [Ping timeout: 272 seconds]
acrussell has left #ruby [#ruby]
jfran has joined #ruby
kireevco has quit [Quit: Leaving.]
renderful has quit [Client Quit]
DouweM has quit [Ping timeout: 252 seconds]
kireevco has joined #ruby
Xeago has joined #ruby
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
yubrew has quit [Ping timeout: 264 seconds]
tier has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
sigurding has quit [Quit: sigurding]
toastynerd has joined #ruby
moritzs has joined #ruby
badosu has joined #ruby
badosu has quit [Remote host closed the connection]
badosu has joined #ruby
Takle has quit [Remote host closed the connection]
Xeago has joined #ruby
trepidaciousMBR has joined #ruby
<trepidaciousMBR> Sorry was AFK - I'll update to newer Ruby, not sure what the best way is on OS X
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kireevco has quit [Quit: Leaving.]
<andrewcarter> trepidaciousMBR: I like using ruby-build and chruby
tier has joined #ruby
<andrewcarter> trepidaciousMBR: just ignore the cocoa pods parts https://gist.github.com/andrewroycarter/6815905
Xeago has quit [Read error: Connection reset by peer]
<ericwood> ruby-install is good too
<trepidaciousMBR> andrewcarter: Thanks
Xeago has joined #ruby
zorak has quit [Ping timeout: 264 seconds]
Xeago has quit [Remote host closed the connection]
bmurt has joined #ruby
JBreit has joined #ruby
fabrice31 has quit [Remote host closed the connection]
centrx has joined #ruby
Morkel has joined #ruby
chrstphrhrt has joined #ruby
mijicd has joined #ruby
eka has quit [Ping timeout: 245 seconds]
eka has joined #ruby
Xeago has joined #ruby
Xeago_ has joined #ruby
sevenseacat has quit [Quit: Leaving.]
Takle has joined #ruby
sigurding has joined #ruby
Xeago has quit [Ping timeout: 264 seconds]
alex88_ has joined #ruby
thisirs has joined #ruby
Sawbones has joined #ruby
sigurding has quit [Read error: Connection reset by peer]
Xeago_ has quit [Read error: Connection reset by peer]
rippa has joined #ruby
Xeago has joined #ruby
alex88 has quit [Ping timeout: 244 seconds]
rayners has joined #ruby
codeurge has joined #ruby
ehc has joined #ruby
badosu has quit [Remote host closed the connection]
yfeldblum has joined #ruby
Beoran__ has quit [Ping timeout: 272 seconds]
maloik has quit [Quit: Lost terminal]
towbes has quit [Ping timeout: 264 seconds]
sinkensabe has quit [Remote host closed the connection]
Kricir has joined #ruby
Xeago_ has joined #ruby
Lucky__ has joined #ruby
baroquebobcat has joined #ruby
<Darkchaos> is there a way to make gem install verbose?
yfeldblum has quit [Ping timeout: 240 seconds]
thisirs has quit [Ping timeout: 240 seconds]
<Darkchaos> nokogiri quits everytime and gem_make.out is senceless
<Darkchaos> nvmd^^ --help helps
Hobogrammer has joined #ruby
orionstein_away is now known as orionstein
oo_ has quit [Remote host closed the connection]
ayaz has quit [Quit: BBL]
Xeago has quit [Ping timeout: 240 seconds]
mg^ has quit [Quit: Leaving]
nateberkopec has joined #ruby
mailo has quit [Quit: Leaving...]
ndrei has quit [Ping timeout: 255 seconds]
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
roolo has joined #ruby
b00stfr3ak has joined #ruby
jeeves has joined #ruby
telling has left #ruby [#ruby]
danman has joined #ruby
Bira has quit [Remote host closed the connection]
<jeeves> I'm having some issues with getting chipmunk installed. This is the error when I try to run the ruby package http://pastebin.com/2QuQiYV0
MrDoctor has quit [Ping timeout: 264 seconds]
iceden has joined #ruby
<jeeves> and I'm getting a x90 conversion error when I try doing a gem install
Beoran__ has joined #ruby
Bira has joined #ruby
<centrx> jeeves, That error message just means chipmunk is not installed...
<centrx> jeeves, The error to fix is how to install chipmunk
mehlah has joined #ruby
skinny_much has joined #ruby
dANOKELOFF has quit [Remote host closed the connection]
dANOKELOFF has joined #ruby
naw has quit []
naw has joined #ruby
jeeves is now known as jeeves_moss
towbes has joined #ruby
towbes has quit [Changing host]
towbes has joined #ruby
Zebroid has joined #ruby
setra has quit [Ping timeout: 272 seconds]
prathamesh has joined #ruby
little_fu has joined #ruby
cmhobbs has joined #ruby
dANOKELOFF has quit [Ping timeout: 240 seconds]
<shevy> ok it's time of the day again guys
<shevy> down with your pants!
Zebroid has quit [Ping timeout: 244 seconds]
atraylen has quit [Ping timeout: 244 seconds]
mercerist has quit [Quit: Computer has gone to sleep.]
toastynerd has quit [Remote host closed the connection]
endash has quit [Quit: endash]
CodeBunny has quit [Ping timeout: 244 seconds]
ixti has quit [Ping timeout: 255 seconds]
<jeeves_moss> shevy, lol. fun
jhass is now known as jhass|off
<jeeves_moss> shevy, got some time to help me get gl_tail installed over here?
mercerist has joined #ruby
maximski has quit []
<shevy> jeeves_moss what is gl_tail?
ndrei has joined #ruby
redsandhand has quit [Quit: redsandhand]
<jeeves_moss> it's a log visualition program.
bluOxigen has quit [Ping timeout: 244 seconds]
<shevy> never heard of it before
<jeeves_moss> shevy, I've been fighting with it onWindows AND Ubuntu. I could really use some help getting it working. http://www.fudgie.org/
<shevy> wow
<shevy> that page does not even have installation instructions
<shevy> oh wait
<jeeves_moss> lol. yea. it's a serious uphill battle
<shevy> the pink download link
yfeldblum has joined #ruby
<shevy> on darkgreen background
<shevy> that guy is a design genius
lxsameer has joined #ruby
lxsameer has quit [Changing host]
lxsameer has joined #ruby
banister has joined #ruby
banister has quit [Client Quit]
yubrew has joined #ruby
<shevy> ok so the github repository is at https://github.com/Fudge/gltail/tree/master
<jeeves_moss> I'd apericate any help if you have time. I'd really like to get it working on my Ubuntu install. The windows install would just be a bonus (since it's on my netbook, and I use it as a second screen)
terrellt has joined #ruby
<shevy> it seems as if that project requires bundler
<jeeves_moss> the ubuntu system I'm trying to get it to work on is my BeagleBone Black and a 7" LCD screen
stytown has quit [Quit: stytown]
<shevy> as I don't use bundler I really have no idea how I could help you
<jeeves_moss> Ihave no idea what bundler is
<shevy> rake aborted!
<shevy> cannot load such file -- bundler/gem_tasks
<shevy> gem install bundler
<shevy> but I don't use it so I am at end here sorry
<jeeves_moss> ok, thanks
<jeeves_moss> I just want to get it active on my BBB. That way, I can leave it plugged in on my desk
fschuindt has quit [Ping timeout: 240 seconds]
jhass|off is now known as jhass
ghr has quit [Ping timeout: 240 seconds]
<shevy> well he has github
<shevy> so you can file issue requests
<shevy> such as "make it simpler to install your code"
<jeeves_moss> cool, thanks. I'm a networking guy, not a programmer
<shevy> if he is interested then he will improve his readme etc...
echevemaster has joined #ruby
yubrew has quit [Ping timeout: 240 seconds]
<shevy> I'd say about 80% of the projects/authors on github I filed an issue request, replied or improved so it's usually a very good way
<shevy> the author from coderay even told me how to solve a specific problem, so it was like getting free help :P
aspires has joined #ruby
<jeeves_moss> cool. I love the software when it's running (it's a good visual to leave running in the waiting room of an I.T. place).
mailo has joined #ruby
<jeeves_moss> and if I can make it run on the BeagleBone, then I have a low power soulition
troyready has joined #ruby
Morkel has quit [Quit: Morkel]
<jeeves_moss> and if you know what you're looking for, it's informative
Aryasam has joined #ruby
jeeves has joined #ruby
kireevco has joined #ruby
luckyruby has quit [Quit: Leaving...]
prathamesh has quit [Remote host closed the connection]
prathamesh has joined #ruby
johnhamelink has quit [Ping timeout: 272 seconds]
krz has quit [Quit: WeeChat 0.4.3]
snath has joined #ruby
edgarjs_afk is now known as edgarjs
<jeeves> sorry, had to swap WiFi adaptors to auth the little one
johnhamelink has joined #ruby
phinfonet has quit [Ping timeout: 240 seconds]
ixti has joined #ruby
timonv_ has quit [Remote host closed the connection]
jeeves_moss has quit [Ping timeout: 240 seconds]
lkba has quit [Ping timeout: 264 seconds]
Zenigor has quit [Remote host closed the connection]
timonv has joined #ruby
zigomir has quit [Remote host closed the connection]
sailias has quit [Quit: Leaving.]
sailias1 has joined #ruby
lkb has quit [Ping timeout: 264 seconds]
olivier_bK has quit [Ping timeout: 240 seconds]
mailo has quit [Quit: Leaving...]
roolo has quit [Quit: Leaving...]
prathamesh has quit [Ping timeout: 255 seconds]
<shevy> let's build the best package manager in ruby
SBoolean has joined #ruby
<ericwood> no thanks
bricker`work has joined #ruby
<shevy> why not?
<ericwood> too much work, rubygems works fine
<ericwood> stop stirring up controversy, do as you're told
<centrx> shevy, Debian's apt is already the best package manager.
<ericwood> eh
<shevy> rubygems is limited to .gem
kaspergrubbe has quit [Remote host closed the connection]
<ericwood> I actually really love homebrew
<ericwood> it's been so nice to me
timonv has quit [Ping timeout: 240 seconds]
<centrx> We need a package manager that will install ANY file!
<shevy> yes centrx
<ericwood> well, in defense of rubygems, it's kinda like designed for ruby libs...
voodoofish430 has left #ruby [#ruby]
<shevy> yeah
jespada has quit [Remote host closed the connection]
<shevy> by and large rubygems is quite ok
<shevy> a bit too slow at times or so it appears
<jeeves> lol
phinfonet has joined #ruby
<jeeves> budle is broken.. grrrrrrr. everything I touch is broken
<shevy> jeeves now you know why I don't use it :P
Xeago_ has quit [Remote host closed the connection]
<jeeves> yea yea
<shevy> jeeves though it's not so much the broken stuff, one can often work around; it's more like that it tries to do things on its own
<workmad3> jeeves: 'broken' means what exactly here? :)
<shevy> here is the most famous quote I have from it:
jespada has joined #ruby
little_fu has quit [Remote host closed the connection]
<jeeves> it won't matter if it's a comuter or a tool. everything that I pick up is broken. I spend more time fixing things than I do fixing things that need to be fixed.
andrewlio has quit [Remote host closed the connection]
<shevy> June 2012: <banisterfiend> somehow bundler is getting in the way but i didnt ask bundler to do a damn thing
<jeeves> I'll pick up a screwdriver, and someone will have broken the blade in half.
little_fu has joined #ruby
<shevy> jeeves you need to pick the good tools and avoid the bad
<shevy> and some projects are broken so one should avoid these as well
Xeago has joined #ruby
<jeeves> lol
<shevy> jeeves here is the most important basic question firstly
Xeago has quit [Remote host closed the connection]
<shevy> (1) does irb work?
<shevy> and then
<shevy> (2) does gem work?
momomomomo has quit [Quit: momomomomo]
<jeeves> I don't get that option. I'm usally the last guy to get called in because they know I'll keep at it until it's fixed. two weekends ago, I spent 16 hours in the machine shop making a tool to fix sometihg. I'm NOT a machinist. I'm an Administrator
eka has quit [Ping timeout: 272 seconds]
<shevy> if you can answer twice with yes then your situation is not totally hopeless
rbartos has joined #ruby
<shevy> you were simply unlucky to be available
<shevy> you should improve your hidey mode
<shevy> or delegate to others
<jeeves> lol yea.
<shevy> hey, ruby question now
<jeeves> ok, what gives with this "could not locate gemfile" crap?!
<shevy> the newer pickaxe gives an example of instance_method()
<shevy> as opposed to using alias_method
Xeago has joined #ruby
<shevy> but I am unsure ... do people rather use alias-ways or instance_method ways to refer to old methods, that they wish to change?
<shevy> like:
<shevy> alias_method :old_system, :system
<shevy> vs.
<shevy> old_system_method = instance_method(:system)
<shevy> jeeves I guess it could not find the file called Gemfile
gondalier has joined #ruby
<shevy> /Depot/Downloads/gltail-master/Gemfile
<shevy> gltail has it though
jahkobi has joined #ruby
little_fu has quit [Ping timeout: 240 seconds]
Ankhers has quit [Read error: Connection reset by peer]
gondalier has quit [Client Quit]
<jeeves> nm, went into the program folder, and it did it's thing
lkb has joined #ruby
<shevy> haha
Takle has quit [Remote host closed the connection]
eka has joined #ruby
mary5030 has quit [Remote host closed the connection]
<jeeves> I think we have a winner here on the Ubuntu machine. Windows, not so much
jmbrown412 has joined #ruby
maletor has joined #ruby
havenwood has joined #ruby
mikepack has quit [Remote host closed the connection]
djbkd has joined #ruby
mary5030 has joined #ruby
shredding has quit [Quit: shredding]
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
eka has quit [Ping timeout: 255 seconds]
thisirs has joined #ruby
<jeeves> shevy, can you give me a quick hand with this error?
baroquebobcat has quit [Quit: baroquebobcat]
SBoolean has quit [Ping timeout: 240 seconds]
ziyadb has joined #ruby
<shevy> what error
<shevy> shall I read your mind
<shevy> ACK
<shevy> YOU WERE THINKING ABOUT BOOBS
eka has joined #ruby
<jeeves> one sec. trying to pastebin
<shevy> please not pastebin :(
<shevy> gist github or pastie.org
<shevy> pastebin plays flash ads :P
<jeeves> DL is deprecated, please use Fiddle]
<shevy> well
<shevy> that is bad
<jeeves> No such file or directory - git ls-files from
<shevy> lol
Zenigor has joined #ruby
<shevy> that sounds like bundler trying to use git
<shevy> there is #bundler btw if you really wanna try to find out what it is running
mikepack has joined #ruby
lkba has joined #ruby
<jeeves> oh, thanks
<shevy> I opted the lazy way and live a bundler-free life
<ddv> check your gemspec
kaspergrubbe has joined #ruby
<jeeves> ddv, I don't know what that is
toastynerd has joined #ruby
Aryasam_ has joined #ruby
<jeeves> how do I fix this one now? "/var/lib/gems/1.9.1/gems/chipmunk-5.3.4.5/lib/chipmunk.rb:6: Use RbConfig instead of obsolete and deprecated Config.
<jeeves> "
doev has quit [Ping timeout: 244 seconds]
hpoydar has joined #ruby
Aryasam has quit [Ping timeout: 240 seconds]
<jhass> by doing what it says
SBoolean has joined #ruby
<jhass> should only be a warning though?
<centrx> It must be a warning. The chipmunk github page says it supports 1.9.x
<jeeves> ok, one sec
BradLsys has joined #ruby
BradLsys has quit [Read error: Connection reset by peer]
tkuchiki has quit [Remote host closed the connection]
<jeeves> that one was an error in the config
chipotle has quit [Quit: cya]
dik_dak has joined #ruby
BradLsys has joined #ruby
bean__ has quit [Quit: bean__]
<jeeves> anyone know WTF is going on here? http://pastebin.com/NcxR15cH
pontiki has quit [Quit: Lost terminal]
voodoofish430 has joined #ruby
roolo has joined #ruby
Arkaniad has quit [Ping timeout: 264 seconds]
mailo has joined #ruby
pontiki has joined #ruby
mikecmpbll has quit [Ping timeout: 244 seconds]
<jhass> gl_tail.yaml has a syntax error on line 5 column 38
phinfonet has quit [Ping timeout: 240 seconds]
jottr_ has quit [Ping timeout: 264 seconds]
phinfonet has joined #ruby
razrunelord has joined #ruby
Hobogrammer has quit [Ping timeout: 272 seconds]
IceDragon has joined #ruby
iceden has quit [Ping timeout: 264 seconds]
AndChat| has joined #ruby
lkba has quit [Read error: Connection reset by peer]
francisfish has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
dumdedum has quit [Quit: foo]
baroquebobcat has joined #ruby
<jeeves> jhass. lol
gondalier has joined #ruby
scarolan has joined #ruby
vpretzel has joined #ruby
robbyoconnor has quit [Excess Flood]
scarolan has quit [Client Quit]
robbyoconnor has joined #ruby
Eiam has joined #ruby
maximski has joined #ruby
snath has quit [Ping timeout: 245 seconds]
rebelshrug has joined #ruby
rebelshrug has quit [Max SendQ exceeded]
razrunelord has quit []
mr_snowf1ake has joined #ruby
AndChat| has quit [Read error: Connection reset by peer]
lkba has joined #ruby
Joulse has quit [Quit: Joulse]
Aryasam_ has quit [Ping timeout: 272 seconds]
tvw has quit []
redondos has quit [Excess Flood]
sonofflynn has quit [Ping timeout: 240 seconds]
Zebroid has joined #ruby
redondos has joined #ruby
redondos has joined #ruby
redondos has quit [Changing host]
cmhobbs has quit [Quit: Leaving]
towbes has quit [Ping timeout: 255 seconds]
Rahul_Roy has quit [Quit: Connection closed for inactivity]
sonofflynn has joined #ruby
yfeldblum has quit [Remote host closed the connection]
jrhorn424 is now known as zz_jrhorn424
prathamesh has joined #ruby
ixx has quit [Ping timeout: 252 seconds]
fresham has joined #ruby
snath has joined #ruby
charliesome has joined #ruby
<jeeves> so, if I install gltail from gem install, how do I run it?
larsam has joined #ruby
Zebroid has quit [Ping timeout: 244 seconds]
klaut has quit [Remote host closed the connection]
iceden has joined #ruby
hobogrammer1 has joined #ruby
Arkaniad has joined #ruby
<wasamasa> hmm
naiyte has joined #ruby
naiyte has quit [Max SendQ exceeded]
eka has quit [Read error: Connection reset by peer]
<wasamasa> so I've figured out that to use the jsnice api I need to use a http library that supports chunked/streaming upload
<wasamasa> interesting
<wasamasa> looks like em-http-request does that
eka has joined #ruby
Shidash has joined #ruby
naiyte has joined #ruby
mikecmpbll has joined #ruby
<stian> does anyone work as a developer full time in here?
kevind has joined #ruby
<centrx> stian, Many
stytown has joined #ruby
danielpclark has quit [Ping timeout: 240 seconds]
danielpclark has joined #ruby
CaptainJet has quit []
SBoolean has quit [Ping timeout: 240 seconds]
SBoolean_ has joined #ruby
<stian> hmm
<stian> I'm curious, at the age of soon to be 26, and just starting out is it eevn possible for me to get a job within software development
<stian> or development at all really
<centrx> Why wouldn't it be?
<stian> I dunno
<stian> the bar is high
maestrojed has joined #ruby
<stian> I'm getting old
<centrx> Even 100 year olds are not old
hpoydar has quit [Remote host closed the connection]
larsam has quit [Remote host closed the connection]
<stian> :D
<centrx> Computer-related fields are a growing industry
chth0n has quit [Ping timeout: 240 seconds]
hpoydar has joined #ruby
dc has joined #ruby
<stian> so from being a complete noob, such as myself to actually landing a job
<centrx> They are one of the few fields much less affected by the recession
jeeves has quit []
<stian> how many years do you think that'd take; realistically
<centrx> *some of the few fields
<stian> 5 years?
<centrx> Have you done anything with computers in the last 26 years?
<stian> Yes I have been working within IT for about 2 years full time for a small software development company now
axl_ has joined #ruby
<stian> had a few jobs here and there within IT too, mostly administrative crap
ta has joined #ruby
diegoviola has joined #ruby
<centrx> Is this system administration/network administration?
<stian> yes
<centrx> technical support/help desk?
<stian> I do both currently
<stian> all of those
<centrx> What programming have you done?
alex88_ has quit [Quit: Leaving...]
<centrx> Did you ever have that one day of class in the 6th grade where you learned BASIC for a day?
<stian> I've written a caller id module in asterisk (php) and a temperature converter in ruby
<GeekOnCoffee> get a decent github profile with ruby/rails work and you'll have little trouble finding work
<stian> already know github :D
djbkd has quit [Remote host closed the connection]
<stian> s/github/git
<Sou|cutter> bottom line, it doesn't take 5 years of experience to get a junior level developer position
<stian> yes I did do basic but I hated it to hell
<stian> did a bit of pearl too but I didn't pay attention in school at all
* wasamasa was told at his current internship to learn some ruby and rails
<wasamasa> that's why I'm here
<Edelwin> Hi
<stian> I don't even care about rails at this point :P
eka has quit [Ping timeout: 240 seconds]
hpoydar has quit [Ping timeout: 264 seconds]
nowthatsamatt has quit [Quit: nowthatsamatt]
towbes has joined #ruby
<shevy> haha
skaflem has quit [Quit: This computer has gone to sleep]
einarj_ has quit [Remote host closed the connection]
<stian> Sou|cutter: how many years would you say then if you were to just throw a number out there
<shevy> wasamasa we here are good at ruby
<GeekOnCoffee> stian: find something to care about and make yourself an expert
<shevy> but we suck at rails
dANOKELOFF has joined #ruby
<shevy> so we push them over towards #rubyonrails
skaflem has joined #ruby
<stian> GeekOnCoffee: that's my problem :P
<Sou|cutter> stian: set a goal, work towards it. How long it takes depends on how hard you work, but I've seen people ramp up to junior developer in less than a year. It depends on the person
<stian> GeekOnCoffee: don't really care about anything tbh
<centrx> stian, http://sivers.org/kimo
<GeekOnCoffee> stian: McDonalds is always looking for people who don't care
<stian> hahah
<Sou|cutter> stian: it doesn't sound like you're starting from zero though
<stian> :D
<shevy> stian but what is your use domain, surely you must have any interests, so couple that with automation
<centrx> stian, How long it takes totally depends on how much effort you put into it
<stian> shevy: dunno
<wasamasa> shevy: well, I still have to get the basics first, so I'm looking for the stuff I need to do what I wrote scripts before
dreamchaser has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
<shevy> stian what does that even mean :P
<wasamasa> shevy: system/user utilities and stuff grabbing information from the web
IceDragon has quit [Ping timeout: 244 seconds]
<stian> was a LOT of work since I don't even know php at /all/
<shevy> omg what is this stian
<shevy> ack
<shevy> you poor soul
obs has joined #ruby
<centrx> PHP, that is very unfortunate
<stian> it's a caller id module for asterisk. queries capsule's rest api for the number, returns the name etc
<Sou|cutter> stian: asking how long it will take is kinda the wrong question
<stian> centrx: yes, but I had to
<stian> Sou|cutter: I know :(
<Sou|cutter> stian: if you want to do it, just take steps to get there and enjoy the journey
<shevy> enjoying php?!?!
<wasamasa> Sou|cutter: clearly he wants to know how long he must endure php until he gets there
<stian> haha not really man
<shevy> man Sou|cutter you send him into the fire
<stian> If I could of written it in ruby I woul of
<Sou|cutter> :P
<stian> *would
Rollabunna has quit [Remote host closed the connection]
<shevy> you still could!
IceDragon has joined #ruby
<stian> well no shevy, asterisk modules are in php
Rollabunna has joined #ruby
<shevy> it doesn't seem to do anything fancy
<stian> right
<shevy> so what, rewrite whatever asterisk does in ruby
<shevy> the php hegemony over the www must be ripped apart
squaresurf has joined #ruby
<stian> I wrote it in php because I could create a module for this module lol
<wasamasa> I thought asterisk was phone software?
<stian> it is wasamasa
<wasamasa> why does such a thing even use php?
<stian> I run the phone server at work
<stian> wasamasa: hell don't ask me :P
<wasamasa> for anything else than frontends?
<jhass> you could just shell out to a ruby script :P
<shevy> wasamasa for ordering pizzas I guess
Rollabunna has quit [Remote host closed the connection]
<centrx> PHP can be awesome if you don't know about Python and Ruby
<wasamasa> centrx: nope
<shevy> lol centrx
<stian> hahah
<wasamasa> centrx: arrays alone are a clusterfuck
<stian> it's a pain
<shevy> I liked it better when centrx said that php was a scourge
<stian> php is a pain in the ass
<stian> I hated it
<wasamasa> centrx: they can behave like lists and maps at the same time
<shevy> it's super flexible!!!
hakunin_ has joined #ruby
<stian> kept on finding myself saying, hmm I could probably do this in ruby with less effort
<centrx> I know, I used to be a leading PHP opponent
<shevy> haha stian
pasties has quit [Ping timeout: 245 seconds]
<dangerou_> anyone use ruby with Amazon SQS?
<stian> but hey, it's all good
hakunin has quit [Read error: Connection reset by peer]
djbkd has joined #ruby
<stian> I'm basically goint to rewrite it in ruby, just to do it
libsys has joined #ruby
<stian> even though it has nothing to do with asterisk, it would be fun
<centrx> Ruby is very happy
axl_ has quit [Quit: axl_]
<stian> haha
deric_skibotn has joined #ruby
edgarjs is now known as edgarjs_afk
atmosx has quit [Remote host closed the connection]
atmosx has joined #ruby
<centrx> Ruby is optimized for happiness
<stian> it is
<jhass> isset($result['parties']['person']['firstName']) . ($result['parties']['person']['lastName']) looks wonky
<stian> I started with python but then saw ruby
<shevy> ruby code is also significantly shorter than php
<jhass> you get a boolean and then concat a whatever
<stian> jhass: it is wonky as hell
naiyte has quit [Quit: Leaving.]
<shevy> that's ok
<shevy> it is php after all
<stian> basically I'm trying to get the firstname and last name out of the json array
<jhass> also work on your indentation
<stian> I have no way of knowing how to in php
<stian> it's all fucked
<jhass> you probably meant && isset(...
<shevy> please
<shevy> why do you correct his php code
<centrx> PHP is so insane. There are no corrections for it.
<jhass> I don't know, kinda bored
pasties has joined #ruby
<stian> centrx: ^^
naiyte has joined #ruby
<stian> jhass: so I coul do issit twice? but with && instead of . ?
bean__ has joined #ruby
<stian> *isset
naiyte has quit [Max SendQ exceeded]
bradleyprice has quit [Remote host closed the connection]
<centrx> 'isset'($'result'['parties']['person']['firstName']) . ($'result'['parties']['person']['lastName'])
<shevy> PLEASE
<jhass> stian: yes, so you and the two booleans
<shevy> HAVE MERCY
<shevy> lol
<stian> hahaha
<shevy> you and the two booleans over there...
<stian> shevy: :)
<shevy> stian walks into a pub and sees two sturdy booleans, asking:
bradleyprice has joined #ruby
naiyte has joined #ruby
<shevy> [someone else continue the joke]
<shevy> sorry :P
chrishough has joined #ruby
edgarjs_afk is now known as edgarjs
naiyte1 has joined #ruby
<jhass> I didn't even know php had casts
naiyte1 has left #ruby [#ruby]
saarinen has joined #ruby
saarinen has quit [Client Quit]
<stian> I don't even know what that is
<jhass> (array)json_decode($value,true); looks like one
naiyte1 has joined #ruby
<jhass> normally you have that in statically typed languages
elricsfate has joined #ruby
<shevy> php has cats?
<stian> lol
<shevy> oh yeah
<stian> jhass: it's above my head
renier has quit [Ping timeout: 244 seconds]
<shevy> I remember the () one
<stian> all that code is hacked together
<shevy> it did remind me of C/LPC
naiyte1 has left #ruby [#ruby]
naiyte1 has joined #ruby
<jhass> you get an object of some super type, say Number, but you know it's actually its subclass Integer and you need a feature only the child has
<jhass> so you cast it into that
naiyte1 has left #ruby [#ruby]
<jhass> basically tell the compiler, "I know this is this class, treat it as such"
saarinen has joined #ruby
<jhass> php probably abuses it to do some kind of conversion
<shevy> please stian
naiyte1 has joined #ruby
<shevy> leave your dark past behind today
naiyte1 has left #ruby [#ruby]
<stian> indeed
goleldar has joined #ruby
<stian> I'm just going to clean it up, add some regex and call it a day
<stian> then leave php behind
qwyeth has quit [Quit: Leaving]
bradleyprice has quit [Ping timeout: 240 seconds]
<stian> as I said, only wrote it because the modules are in php
Spami has joined #ruby
blackmesa has joined #ruby
<pontiki> that really is a valid reason
naiyte has quit [Ping timeout: 264 seconds]
<stian> lol
eka has joined #ruby
Takle has joined #ruby
naiyte has joined #ruby
oliver3 has joined #ruby
Arkaniad has quit [Ping timeout: 264 seconds]
<stian> well, I don't know how I could of written it in ruby then had it work with the module I would of written it for, would have to have made some sort of wrapper
<stian> or as someone mentioned, shelled out and called my ruby script I guess
qhartman has quit [Quit: Ex-Chat]
<pontiki> don't
<stian> but it needs to return the caller id in time and meh
<pontiki> really
eka_ has joined #ruby
<stian> haha :)
<pontiki> if you start mixing languages in a package, future maintainers will be highly confused
<stian> indeed
bean__ has quit [Quit: bean__]
<pontiki> and shelling out to another script adds way more process overhead
<stian> I want to make the module usable so it can be merged if wanted, then from there move on to more ruby stuff
eka_ has quit [Read error: Connection reset by peer]
axl_ has joined #ruby
<stian> I've got a lot of motivation now at least after this weekend of hell
<shevy> excellent
<shevy> you are ready to go
<shevy> fuel your hate of php into love for ruby
<stian> :)
<stian> haha
Kruppe has quit [Quit: ZNC - http://znc.in]
djbkd has quit [Remote host closed the connection]
<shevy> of course one day you may also hate parts of ruby
chrstphrhrt has quit [Quit: chrstphrhrt]
<centrx> It is so clean
<shevy> but it will still stay significantly nicer than php
<stian> sure
posixpascal has joined #ruby
renier has joined #ruby
<shevy> python probably is better than php as well :P
<pontiki> become deeply benched in as many languages as you can, as many systems, packages, etc
<centrx> Everything is better than PHP.
<stian> I really don't care that much as long as I'm learning something, besides it's a language
<pontiki> become the most versatile developer you can
<stian> pontiki: this
Xeago has quit [Remote host closed the connection]
<pontiki> centrx: COBOL is MUCH worse than PHP
<stian> I need to learn the concepts more than language imo
<wasamasa> hmpf
axl_ has quit [Client Quit]
eka_ has joined #ruby
<stian> currently reading "Well-Grounded Rubyist", really good book
siflyn has joined #ruby
<pontiki> yes; programming is itself a skill separate from language syntax and libraries
<centrx> COBOL is at least organized and self-consistent
<wasamasa> eventmachine throws me an error when I attempt using its streaming example
dukedave has joined #ruby
eka has quit [Ping timeout: 272 seconds]
<centrx> COBOL is insane, yes, but it is not fundamentally as bad as PHP in every respect
<stian> pontiki: :)
Kruppe has joined #ruby
djbkd has joined #ruby
tjr9898 has quit [Remote host closed the connection]
havenwood has joined #ruby
Morkel has joined #ruby
NivenHuH has joined #ruby
djbkd has quit [Read error: Connection reset by peer]
_djbkd has joined #ruby
testcore has joined #ruby
<pontiki> you may certainly choose to never write in PHP, but I choose to know PHP well enough that I can write useful and maintainable code in it when it is required.
<stian> I agree
<stian> being versitile is a good thing
maoko has joined #ruby
francisfish has joined #ruby
ehc has quit [Quit: ehc]
<pontiki> i will say writing in ruby is a whole lot more fun than writing in PHP
<stian> uh
<stian> *duh
<wasamasa> requiring the right thing kind of fixed it except
ra4king has quit [Ping timeout: 240 seconds]
<wasamasa> oh damnit, giving up on this one
sinkensabe has joined #ruby
<stian> hah :)
<wasamasa> I just can't figure out how to rewrite this thing in ruby: https://github.com/brettlangdon/jsnice/blob/master/lib/index.js
djcp has joined #ruby
<Darkchaos> wtf has happend? bash suddenly shows: /usr/bin/ruby^M: Corrupt Interpreter: File or Dir not found
djcp has left #ruby [#ruby]
<Darkchaos> I retype the address twice..
pietr0 has joined #ruby
<Darkchaos> äh the shebang
<stian> bang bang
centrx has quit [Quit: Mission accomplished. Ready for self-termination.]
<jhass> you seem to manage to add a weird char at the end
<wasamasa> looks like windows encoding
<Darkchaos> yes, but there is none. no CTRL+M
<Darkchaos> ah, do I need to set to UTF-8?
<Darkchaos> is ^M maybe \r? if so I found the mistake
<wasamasa> yes?
<Darkchaos> the only file I did not touch in linux before editing in windows^^
<RubyPanther> yeah on windows ^M is \r\n or something, and on *nix it is just \n
<RubyPanther> The only time you'll ever get a plain \r is on an old old mac
<pontiki> ^M is \r, ^L is \n
gondalier has quit []
<stian> I have to say, I'm really glad I joined this channel. you guys are great :)
benzrf|offline is now known as benzrf
_pingu has joined #ruby
<RubyPanther> pontiki ^M should be a literal "enter" key sequance for your platform
jfran has quit [Read error: Connection reset by peer]
<pontiki> <3 u 2, stian
workmad3 has quit [Ping timeout: 264 seconds]
jfran has joined #ruby
nateberkopec has quit [Quit: Leaving...]
squaresurf has left #ruby [#ruby]
<Darkchaos> weird. I converted to UNIX UTF-8, but now it complains about a #!/usr/... not found
<Darkchaos> the fuck is going on :D
<pontiki> vice-versa, RubyPanther
sinkensabe has quit [Remote host closed the connection]
<jhass> did you add a BOM?
<jhass> (it looks like it)
<pontiki> an enter key sequence would translate to a character sequence in the file
<pontiki> the character sequence doesn't press my enter key
ghr has joined #ruby
dreamchaser has quit [Read error: Connection reset by peer]
<Darkchaos> yes, I selected "UTF-8" instead of "UTF-8 without BOM"
<lolmaus> How do i pass a value into a module definition? I want to pass foo in this example: https://gist.github.com/lolmaus/05a8d00f41ea0028d43b
rgrinberg has left #ruby [#ruby]
<Darkchaos> however still not better. I hate it :D Will just touch and copy+paste..
<jhass> lolmaus: make foo a constant
endash has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
posixpascal has quit [Ping timeout: 252 seconds]
<jhass> lolmaus: if it's not a constant value make it a parameter to bar
<Darkchaos> works^^
maoko has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
freerobby has joined #ruby
eka_ has quit [Ping timeout: 240 seconds]
<jhass> lolmaus: or an instance variable that has to be defined in the class the module is included to
shinobi_one has joined #ruby
Notte has quit [Remote host closed the connection]
havenwood has quit [Ping timeout: 264 seconds]
<RubyPanther> pontiki: it doesn't press your key, but it will tend to generate your platforms end-of-line sequence. In shells and most editors it will really generate the enter key keycode. The shell would not have any special ^M code for that in most cases
sinkensabe has joined #ruby
<RubyPanther> obviously some editors will trap everything from the keyboard and then actually see the ^M but that is atypical behavior
<pontiki> you of course realize you're not saying anything in particular?
icole has joined #ruby
<pontiki> quite tautological
<lolmaus> jhass: it's a value read from a Yaml file, so i believe i can make it a constant.
<RubyPanther> "Gee, I didn't get the point... there must not have been one!"
<Darkchaos> No. My Case was: Ruby File made on Windows Machine. Encoding set to Windows/ANSI
mikepack has quit [Remote host closed the connection]
<RubyPanther> pontiki: Yeah, I do get that a lot.
<Darkchaos> so, was expected
<pontiki> a platform-specific end of line seuquence will generate an end of line response
ghr has quit [Ping timeout: 240 seconds]
<Darkchaos> however: How would I deploy my Files to a Linux machine then? or vice-versa?
danijoo has quit [Read error: Connection reset by peer]
<jhass> Darkchaos: a decent editor lets you create files with UNIX lineendings and (BOM-less) UTF-8 on any platform
<jhass> make sure your ftp client doesn't mess it up again, if that's what you're using
danijoo has joined #ruby
<Darkchaos> yes but I mean it's ruby. How might I ensure that it works on both platforms?
<Edelwin> Darkchaos: look at the code of the ruby VM
sinkensabe has quit [Remote host closed the connection]
<Darkchaos> It would work with that editor I guess
ixti has quit [Ping timeout: 264 seconds]
b00stfr3ak has quit [Ping timeout: 244 seconds]
<Darkchaos> Edelwin: does it auto-adopt?
<jhass> 1) don't use a shebang, 2) declare the encoding at the top (# -*- encoding: utf8) 3) run with ruby file.rb
jobewan has joined #ruby
<_pingu> I start some rspec tests with: RSpec::Core::Runner.run(existing_test_files) How can I assign a custom object to the runner, that i have access to this object in the tests? Documetation for RSpec::Core::Runner.run says: run(args, err = $stderr, out = $stdout). so, can I do RSpec::Core::Runner.run(existing_test_files, myObject) ?
tier has quit [Remote host closed the connection]
gattuso has quit [Read error: Connection reset by peer]
<Darkchaos> jhass: And What to do when I want to have it in the BASH Path. Alias to ruby file.rb?
AlSquire has quit [Quit: This computer has gone to sleep]
havenwood has joined #ruby
qwyeth has joined #ruby
<RubyPanther> Darkchaos: if you take off the \r crap then it works fine everywhere. You gain portability by doing it the *nix way
<jhass> Darkchaos: I don't work with windows, but you even if you add a shebang you should be able to run it with ruby file.rb there
Thermo has joined #ruby
b00stfr3ak has joined #ruby
St_Marx has quit [Quit: Ex-Chat]
<RubyPanther> windows will use the file extension and ignore the #!
LekeFly has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<RubyPanther> so you use both correctly
<Darkchaos> jhass: That was dedicated to linux, to have it work like a usual unix program?
<Darkchaos> Okay and strip off \r
eka has joined #ruby
<RubyPanther> the "correct" *nix ways will already work portably, there is no extra steps
phinfonet has quit []
ra4king has joined #ruby
thisirs has quit [Ping timeout: 240 seconds]
yubrew has joined #ruby
<stian> dammit centrex
<stian> where'd ya go
Rahul_Roy has joined #ruby
Zebroid has joined #ruby
yfeldblum has joined #ruby
postmodern has joined #ruby
<_pingu> ok, think i have a way.
_pingu has quit [Quit: ChatZilla 0.9.90.1 [Firefox 30.0/20140608211828]]
mikecmpbll has quit [Quit: i've nodded off.]
chrstphrhrt has joined #ruby
maoko has joined #ruby
dANOKELOFF has quit [Remote host closed the connection]
Xeago has joined #ruby
yubrew has quit [Ping timeout: 264 seconds]
Aryasam has joined #ruby
Xeago has quit [Remote host closed the connection]
Aryasam has quit [Client Quit]
dideler|work has quit [Ping timeout: 245 seconds]
Zebroid has quit [Ping timeout: 264 seconds]
Eiam has quit [Ping timeout: 260 seconds]
Xeago has joined #ruby
dc has quit [Remote host closed the connection]
rdark has quit [Quit: leaving]
LadyRainicorn has quit [Ping timeout: 245 seconds]
rezzack has quit [Quit: Leaving.]
_maes_ has quit [Ping timeout: 244 seconds]
ixti has joined #ruby
|RicharD| has quit [Ping timeout: 245 seconds]
bean__ has joined #ruby
eka has quit [Ping timeout: 240 seconds]
shinobi_one has quit [Quit: shinobi_one]
rezzack has joined #ruby
Macaveli has joined #ruby
rezzack has quit [Client Quit]
dideler|work has joined #ruby
Notte has joined #ruby
ehc has joined #ruby
whitedawg has quit [Quit: Leaving.]
b00stfr3ak has quit [Read error: Connection reset by peer]
eka has joined #ruby
alexju has quit [Remote host closed the connection]
trepidaciousMBR has quit [Quit: trepidaciousMBR]
<stian> Man the link centrx (I think) posted is fantastic
posixpascal has joined #ruby
Mooneye has joined #ruby
jmurray has quit [Ping timeout: 240 seconds]
tcstar has quit [Ping timeout: 240 seconds]
jonahR has joined #ruby
jonahR has quit [Remote host closed the connection]
iamjusthatdude has joined #ruby
jonahR has joined #ruby
<iamjusthatdude> rspec is not that hard
xcv has quit [Remote host closed the connection]
lxsameer has quit [Quit: Leaving]
nickgartmann has joined #ruby
tjr9898 has joined #ruby
SBoolean has joined #ruby
axl_ has joined #ruby
SBoolean_ has quit [Ping timeout: 255 seconds]
b00stfr3ak has joined #ruby
treehug88 has quit [Ping timeout: 245 seconds]
SBoolean_ has joined #ruby
sinkensabe has joined #ruby
hakunin_ is now known as hakunin
rbartos has quit [Remote host closed the connection]
towbes has quit [Ping timeout: 272 seconds]
datafirm has joined #ruby
Morkel has quit [Quit: Morkel]
Takle has quit [Remote host closed the connection]
obs has quit [Quit: Konversation terminated!]
SBoolean has quit [Ping timeout: 240 seconds]
willbarrettdev has joined #ruby
jmurray has joined #ruby
sepp2k has joined #ruby
gondalier has joined #ruby
mikecmpbll has joined #ruby
_djbkd has quit [Remote host closed the connection]
yfeldblu_ has joined #ruby
rbartos has joined #ruby
yfeldblum has quit [Ping timeout: 260 seconds]
bradleyprice has joined #ruby
Mooneye is now known as Isak
alexju has joined #ruby
momomomomo has joined #ruby
tcstar has joined #ruby
Isak is now known as J-bIock
<stian> !seen centrx
nateberkopec has joined #ruby
<stian> dammeit
<stian> *dammit
djbkd has joined #ruby
J-bIock is now known as J-brock
JBreit has left #ruby ["Leaving"]
nateberkopec has quit [Client Quit]
J-brock is now known as bartwe
bartwe is now known as ogod
ogod is now known as J-bloke
bradleyp_ has joined #ruby
icole has quit [Remote host closed the connection]
carraroj has joined #ruby
carraroj has quit [Changing host]
carraroj has joined #ruby
bradleyprice has quit [Read error: Connection reset by peer]
icole has joined #ruby
ra4king1 has joined #ruby
J-bloke is now known as AceVixen
CodeBunny has joined #ruby
bbloom has quit [Quit: Textual IRC Client: www.textualapp.com]
jerius has joined #ruby
jerius has quit [Client Quit]
AceVixen is now known as NyxFFS
NyxFFS is now known as Kroggildor
Kroggildor is now known as Giic
tier has joined #ruby
Notte has quit [Remote host closed the connection]
ra4king has quit [Ping timeout: 244 seconds]
stytown has quit [Quit: stytown]
Shidash has quit [Quit: Leaving.]
stytown has joined #ruby
shinobi_one has joined #ruby
towbes has joined #ruby
dub- is now known as dbu
Kricir has quit [Remote host closed the connection]
aspires has quit []
chrishough has quit [Quit: chrishough]
yano has quit [Ping timeout: 630 seconds]
Takle has joined #ruby
kaspergr_ has joined #ruby
dfinly has joined #ruby
dfinly has quit [Client Quit]
aspires has joined #ruby
bradleyp_ has quit []
bradleyprice has joined #ruby
mailo has quit [Quit: Leaving...]
roolo has quit [Quit: Leaving...]
nanoyak has joined #ruby
kaspergrubbe has quit [Ping timeout: 240 seconds]
Gowie has joined #ruby
Tricon has joined #ruby
jahkobi has quit [Quit: jahkobi]
kireevco has quit [Read error: Connection reset by peer]
jmurray_ has joined #ruby
jmurray has quit [Ping timeout: 255 seconds]
jmurray_ is now known as jmurray
aspires has quit [Client Quit]
kireevco has joined #ruby
<Gowie> Is it possible to verify a pem file's password via the OpenSSL library?
yetanotherdave has joined #ruby
jahkobi has joined #ruby
nmokru has joined #ruby
carraroj has quit [Quit: Konversation terminated!]
<iamjusthatdude> I don't have the slight idea
<iamjusthatdude> sorry
rbennacer has joined #ruby
carraroj has joined #ruby
<jhass> I guess
<rbennacer> hey guys
carraroj has quit [Changing host]
carraroj has joined #ruby
<Edelwin> rbennacer: and girls.
<rbennacer> and girls :)
<shevy> hey guys
LekeFly has joined #ruby
<shevy> would it not be better if .rb files would have no comments at all?
aspires has joined #ruby
<jhass> shevy: how'd you do rdoc?
<tobiasvl> shevy: why on earth would that be better
<rbennacer> any idea why i am having this error? http://pastebin.com/0v5MGM6S
<shevy> jhass who needs rdoc
<tobiasvl> self-documenting code gone wild
<jhass> I bet you do
<shevy> last time I used rdoc was like 10 years ago
<rbennacer> i am escaping the parenthesis
<jhass> shevy: you haven't been on ruby-doc.org or rubydoc.info ever?
SBoolean_ has quit [Ping timeout: 264 seconds]
<shevy> tobiasvl yeah; I come to a ratio of about at least 3 lines of docu or docu-related lines compared to real code
<jhass> or called ri in the last 10 years?
sprihodko has joined #ruby
shinobi_one has quit [Quit: shinobi_one]
<shevy> I don't have ri
<tobiasvl> shevy: and why is that a bad thing
<shevy> all docu is gathered locally and integrated into my knowledge base
<jhass> shevy: what about ruby-doc.org/rubydoc.info?
<tobiasvl> why do you want to get rid of comments
timonv_ has joined #ruby
<shevy> jhass only to extract information for the first time
<tobiasvl> just set up your editor to hide all comments then ...
<tobiasvl> jeez what is this discussion
<shevy> tobiasvl my editors reach the complexity of just about notepad
<shevy> and a bit colour highlighting
<rbennacer> any idea?
<jhass> rbennacer: well, looks like the ) in the filename doesn't actually get escaped
<shevy> rbennacer that paste is hard to read
<jhass> rbennacer: use %x[ or %x{ or whatever
shinobi_one has joined #ruby
ghr has joined #ruby
mikespla_ has joined #ruby
sprihodko has quit [Client Quit]
<tobiasvl> shevy: so you use a bad editor, don't use ri, and don't need comments at all (neither rdoc or inline comments) and you think it would be better to just drop all comments, although you haven't stated why you think it's a good idea to drop them. does that sum up your crazy view on programming ruby
<jhass> rbennacer: and seriously? wth you need sudo to convert a f*ing movie?
<Senjai> rbennacer: use a different delimiter as jhass suggested. Or use backticks
<shevy> rbennacer usually the shell does not like unescaped ( and ) tokens
mikespla_ has quit [Read error: Connection reset by peer]
mikespl__ has joined #ruby
<rbennacer> i tried to use other delimiter , it is the same problem
<jhass> oh, yeah the shell is barfing
<rbennacer> and i am escaping them
<rbennacer> i am using \(
<shevy> tobiasvl my editor is perfect; I have no need for ri; comments may be useful sometimes but useless other times - I did not come to a conclusion, I asked a simple question
<jhass> escape twice or yet better quote
benzrf is now known as benzrf|offline
Giic is now known as Mooneye
<rbennacer> can it interpolate a variable?
<tobiasvl> shevy: okay the answer is "no, it would not be better if .rb files have no comments at all"
<rbennacer> can i use interpolated variables in the %x command
SBoolean has joined #ruby
<stian> any vim & tmux users in here? :)
<shevy> rbennacer yep
chrishough has joined #ruby
<rbennacer> how?
Thermo has quit [Remote host closed the connection]
<rbennacer> can i get an example
<shevy> rbennacer though actually, I would rather build the full string before you really want to do that
<jhass> Gowie: http://ruby-doc.org/stdlib-2.1.1/libdoc/openssl/rdoc/OpenSSL/PKey/RSA.html#method-c-new third form will probably raise if the passphrase is wrong
<pontiki> shevy: documention in code is part of the conversation with the future.
Thermo has joined #ruby
<shevy> but when code changes the documentation can become outdated!
<jhass> rbennacer: #{} syntax should work
Thermo has quit [Client Quit]
<pontiki> shevy: think of how you would learn how to use the methods in the Array class if there were no documentation at all
<shevy> with irb :)
Thermo has joined #ruby
<rbennacer> cool
timgauthier has joined #ruby
jheg has joined #ruby
jottr_ has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
<pontiki> irb won't tell you what various parameters are necessary, etc
andrewjanssen has joined #ruby
<pontiki> how would even know that there *was* an Array class?
<shevy> tab completion!
<pontiki> learning ruby would be awfully painful and slow
<shevy> actually I cheated, I had the pickaxe which was rather nice
Photism has quit [Quit: Leaving]
<pontiki> and any other library not part of that?
<pontiki> how would know even know there *were* any libraries?
Xuerian has quit [Remote host closed the connection]
<pontiki> stupid lag
kenneth has joined #ruby
<shevy> I often wonder about that too when reading documentation of gems on rubygems.org
<jhass> there's no documentation on rubygems.org
<jhass> (for the gems)
gondalier has quit []
<shevy> there is a happy link for gems towards documentation
<jhass> so you've been to rubydoc.info
<jhass> which uses yard / rdoc
<jhass> both realized through comments
<Gowie> jhass: I'll check that out, thanks!
<shevy> was there any other choice?
RyanV has joined #ruby
<pontiki> this is a rather ridiculous conversation
maestrojed has quit [Quit: Computer has gone to sleep.]
gondalier has joined #ruby
<pontiki> if no one else is going to see your code, you don't have to document it; it's your choice
Sawbones has quit []
<pontiki> if you want others to use it, you should consider ways of making sure they will
dangerou_ has quit [Read error: Connection reset by peer]
<shevy> do you often read code from other people when you use a gem?
andrewlio has joined #ruby
dangerousdave has joined #ruby
<pontiki> not at first, no
<rbennacer> thank you guys
nickenchuggets has quit [Remote host closed the connection]
<pontiki> and in some cases, i haven't ever
<rbennacer> double quoting worked
<rbennacer> :)
dangerousdave has quit [Max SendQ exceeded]
<jhass> rbennacer: \ is escaping, "foo" is quoting
Hanmac1 has joined #ruby
<shevy> I dread having to read Hanmac's code
<rbennacer> i meant double escapin jhass
<rbennacer> hehe
dangerousdave has joined #ruby
rbennacer has left #ruby ["Leaving"]
<shevy> I don't even understand it 50% of the time when he writes in here on #ruby
<momomomomo> hola pontiki
dangerousdave has quit [Max SendQ exceeded]
<pontiki> hihi momomomomo
BradLsys_ has joined #ruby
<momomomomo> pontiki: you should join me at the inaugural GoMN meetup whenever it comes about; you'd dig it if you dug C
<tobiasvl> shevy: don't you wish Hanmac commented his code more then? :)
dangerousdave has joined #ruby
<pontiki> i have looked at Go a bit, and would really like to try it
aspires has quit []
<shevy> tobiasvl I don't want to see his code at all! :(
dangerousdave has quit [Max SendQ exceeded]
<momomomomo> pontiki: I love it; I've used it in production recently
LekeFly has quit [Quit: Textual IRC Client: www.textualapp.com]
<shevy> for examples of course
<pontiki> i have been looking at the closuremn list and i'm not really interested in an academic pursuit...
BradLsys has quit [Read error: Connection reset by peer]
<shevy> there must be plenty of working examples
Hanmac has quit [Ping timeout: 255 seconds]
<momomomomo> you mean clojure*?
Zebroid has joined #ruby
BradLsys_ has quit [Read error: Connection reset by peer]
<pontiki> yes
noop has joined #ruby
djbkd has quit [Remote host closed the connection]
dangerousdave has joined #ruby
<momomomomo> the dude that runs it used to be an involved rubymn rubyist
dangerousdave has quit [Max SendQ exceeded]
<momomomomo> I have a couple of books on clojure, and while it's interesting, to me it seems like just another jvm lang
<shevy> tobiasvl although it's a bit colourful, I also like homepages like this one: http://coderay.rubychan.de/
<momomomomo> someone please don't shoot me
mikeymicrophone has quit [Quit: mikeymicrophone]
<pontiki> i have been poking around clojure (because i have such a fondness for lisp)
<pontiki> but i haven't gotten must of anywhere
<momomomomo> same; i've go ta couple of books if you want
dangerousdave has joined #ruby
<pontiki> s/must/much/
dangerousdave has quit [Max SendQ exceeded]
djbkd has joined #ruby
<pontiki> i have joy and and CIA
pushpak has joined #ruby
<momomomomo> same
<pontiki> and i've gone through the clojurebridge stuff
dangerousdave has joined #ruby
djbkd has quit [Read error: Connection reset by peer]
dangerousdave has quit [Max SendQ exceeded]
_djbkd has joined #ruby
<shevy> (why(do(you(like(lisp
eka has quit [Read error: Connection reset by peer]
<tobiasvl> )))))
<iamjusthatdude> what you guys talking about?
<tobiasvl> iamjusthatdude: loads of horse manure
<pontiki> lisp was the first language that taught me the utter joy of programming, shevy
<shevy> well the starting ( are ok but the closing ones I don't like
<momomomomo> Lisp is great
<momomomomo> pontiki: that was C for me
eka has joined #ruby
dangerousdave has joined #ruby
<iamjusthatdude> lol, ok
dc_ has joined #ruby
dangerousdave has quit [Max SendQ exceeded]
<tobiasvl> lisp is awesome
<iamjusthatdude> why people talk so well of haskell?
<iamjusthatdude> anyone has experience with it here?
nateberkopec has joined #ruby
mjsmith2 has joined #ruby
<pontiki> only dabbling
superscott[8] has joined #ruby
superscott[8] has quit [Remote host closed the connection]
<momomomomo> there's a great book called 'learn you a haskell for great good' free online: http://learnyouahaskell.com/
superscott[8] has joined #ruby
dangerousdave has joined #ruby
dumdedum has joined #ruby
<iamjusthatdude> gonna take a look!
rezzack has joined #ruby
therealGent has joined #ruby
Kricir has joined #ruby
<iamjusthatdude> lol, nice title
kaspergrubbe has joined #ruby
Zebroid has quit [Ping timeout: 255 seconds]
<pontiki> i'm about halfway through that, but haven't been into it in a while
<momomomomo> eh, I've been focusing less on lisp and noise and more on Go
<shevy> Go Lisp!
GriffinHeart has joined #ruby
<iamjusthatdude> is Go cool?
<momomomomo> it's a breeze to write and think concurrently
Spami has quit [Quit: This computer has gone to sleep]
<pontiki> work is keeping me a bit too focused
<shevy> iamjusthatdude you should ask benzrf|offline about haskell
<pontiki> have littel bandwidth for just hacking and learning
<momomomomo> pontiki: where/what do you work on?
little_fu has joined #ruby
<momomomomo> pontiki: ah, I hacked on Go for work, so that was a 2 bird with one stone thing; glad it worked out haha :X
<pontiki> freelancing for ackmann-dickenson downtown
<momomomomo> ah I'm at 9th and 3rd downtown
<momomomomo> come by :p
<pontiki> cool
<pontiki> err
<momomomomo> ha
Macaveli has quit [Ping timeout: 252 seconds]
<pontiki> ave vs street?
<momomomomo> 9th st / 3rd ave
dc_ has quit [Ping timeout: 244 seconds]
<momomomomo> right next to oracle
<pontiki> they're at 7th ave and 3rd st
<momomomomo> oh right on; doing railsy stuff for them?
<pontiki> yep
<momomomomo> they have a long ass footer on their website
kaspergr_ has quit [Ping timeout: 272 seconds]
<pontiki> really f-ing complex app at the moment
<pontiki> lol, i know
<pontiki> look at brewtoad.com for a loong footer
<stian> dammit this channel is logged...
<stian> wonder if I should change my nick to Riker
<shevy> stian the NSA knows everything about you
<stian> shevy: I know :(
<pontiki> government backup system
nanoyak has quit [Quit: Computer has gone to sleep.]
<stian> meh, fuck em
<momomomomo> yep, I back this up to my local govt backup logstash
<shevy> for well behaving citizens
<momomomomo> +1 good
<pontiki> heheh
little_f_ has joined #ruby
little_fu has quit [Ping timeout: 245 seconds]
<stian> :P
GriffinHeart has quit [Ping timeout: 272 seconds]
benzrf|offline is now known as benzrf
<shevy> benzrf! someone asked about haskell
<shevy> <iamjusthatdude> why people talk so well of haskell?
datafirm has quit [Quit: Computer has gone to sleep.]
rbartos has quit [Remote host closed the connection]
datafirm has joined #ruby
Kricir has quit [Ping timeout: 240 seconds]
rbartos has joined #ruby
<benzrf> !
heftig has joined #ruby
Shidash has joined #ruby
yano has joined #ruby
yfeldblu_ has quit [Remote host closed the connection]
rbennacer has joined #ruby
<rbennacer> hello, how can i use this in a control structure
datafirm has quit [Ping timeout: 245 seconds]
apeiros has joined #ruby
<rbennacer> the =~ is not working
aspires has joined #ruby
stytown has quit [Quit: stytown]
<shevy> looks like ffmpeg output
<rbennacer> it is :)
<shevy> what do you mean with =~
Xeago has quit [Remote host closed the connection]
<shevy> rubular shows you only the //
<shevy> if you want to capture it, put the part inside ()
<shevy> then you can use either $1, or [1] on the MatchData object
<rbennacer> mmm so basically i am trying to see if the file has "Data: rtp"
<shevy> yes
<shevy> but for this
<shevy> why not use .include? 'Data: rtp'
<rbennacer> i tried
<rbennacer> it didnt work
<shevy> :P
<shevy> >> "abc def ghi Data: rtp".include? 'Data: rtp'
<eval-in> shevy => true (https://eval.in/166149)
<shevy> now now there you are mr. rbennacer
<shevy> who's a good bot
<shevy> who's a good bot
* shevy cuddles eval-in
<rbennacer> haha
nickenchuggets has joined #ruby
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
<shevy> I knew that output because I was fiddling with ffmpeg just like 10 minutes ago
<shevy> because ffmpeg can tell you the duration of any multimedia file right?
edgarjs is now known as edgarjs_afk
Rollabunna has joined #ruby
St_Marx has joined #ruby
<rbennacer> i dont inderstand why ti is not working for me though http://pastebin.com/nZGr2uBj
<rbennacer> i just want to know if it has a rtp data stream :)
<jhass> "doesn't work" means nothing
posixpascal has quit [Read error: Connection reset by peer]
<rbennacer> true
<shevy> please
<shevy> pastebin
<shevy> slays kittens
<shevy> btw rbennacer: if (res.include? "Data: rtp")
m8 has joined #ruby
<shevy> the () are not necessary
<shevy> also, have you really made sure that whatever res contains, really includes your target string?
edgarjs_afk is now known as edgarjs
Arkaniad has joined #ruby
rayners has quit [Remote host closed the connection]
<shevy> because eval-in showed to you above that it works fine
<jhass> rbennacer: you didn't explain me why you have to sudo yet
skaflem has quit [Quit: Leaving]
<rbennacer> because i am accessing a mounted point
<jhass> that's a rather stupid reason
Spami has joined #ruby
<rbennacer> that you for using the word stupid ;)
workmad3 has joined #ruby
<rbennacer> thank
Rollabunna has quit [Ping timeout: 255 seconds]
naiyte1 has joined #ruby
<jhass> why don't you start your ruby script under a user that has access to it? or mount with a uid mapping so you have access?
<iamjusthatdude> do you guys know if it's possible to get a highed paid developer salary
<iamjusthatdude> after a bootcamp
<iamjusthatdude> on appacademy?
<iamjusthatdude> it's ruby on rails
_djbkd has quit [Remote host closed the connection]
<shevy> rbennacer just make sure that res contains what you need, and get rid of those weird ()
<jhass> sorry there's no nice way to say it, or people will never stop blindly stuffing sudo when something "doesn't work"
naiyte has quit [Ping timeout: 264 seconds]
<momomomomo> lol iamjusthatdude that's a question of the person
<rbennacer> jhass, i am not offended ;), always ready to learn new things
<rbennacer> jhass, on it
<stian> learning ftw
<iamjusthatdude> it's on san francisco too
<momomomomo> some people go through those and don't get a gig; some go through and get an entry level gig
autonomousdev has joined #ruby
<iamjusthatdude> bad thing is, I'm not even from USA
<stian> neither am I
Xeago has joined #ruby
<iamjusthatdude> but how would I do a bootcamp, and get a job without the proper documentaion
<iamjusthatdude> documentation
<iamjusthatdude> I really don't want to stay on Brazil, where I am from and crap
<stian> listen, many of us want to live and work in silicon valley and live the "startup dream" like we've seen on tv
<stian> dude, everywhere is crapi mo
<iamjusthatdude> I read somewhere some companies can support your visa
<stian> *imo
<stian> I'm from norway, shit sucks here too
<stian> yes they can sponsor you but usually it's insanely difficult
<iamjusthatdude> dude, just search AppAcademy
<stian> and if they sponsor it's probably a H1 visa
<iamjusthatdude> My life is pure shit right now, and I just need this crap so hard
ra4king1 is now known as ra4king
<stian> *H1B
<stian> my life sucks ass too
<iamjusthatdude> Norway is such a nice country dude, how can it be
<shevy> norway is damn cold
<stian> it's a matter of perception, that's one
mehlah has quit [Quit: Leaving...]
<shevy> iamjusthatdude where in brazil exactly?
<iamjusthatdude> Recife
<iamjusthatdude> They have a cool developer community in town
<shevy> so you have a beach
<shevy> we don't have a beach here in middle europe!
<iamjusthatdude> I like it, but I'm not even living there now, but I'm returning
alvaro_o has joined #ruby
<iamjusthatdude> Yeah, it's a great town to live
<stian> where are you from shevy ? :)
<shevy> stian austria, vienna
<iamjusthatdude> the fucked up shit is, I'm 22 already, I dropped out college, no job and shit
<iamjusthatdude> family life sucks, I need a goddamn solution
<stian> ah cool shevy
<shevy> iamjusthatdude well 22 is still young
<stian> iamjusthatdude: hey man I'm 26
rbennacer has left #ruby ["Leaving"]
<iamjusthatdude> lol, well, maybe I just need to calm down and get my shit together
gondalier has quit []
<stian> maybe you need to stop worrying so much
<stian> :P
<iamjusthatdude> yeah
<stian> panicking is not what you need to do
<shevy> do it like hisham
<iamjusthatdude> still, don't you guys feel slighted interested on doing some bootcamp stuff?
<stian> sure I do iamjusthatdude
<stian> I've though about it alot
<shevy> though he is from Rio de Janeiro
<iamjusthatdude> thanks for the support guys
<stian> but listen man...
<stian> this is the internet
top4o has joined #ruby
<stian> and for the future, we don't need visas
<stian> you can work from home etc
<stian> if you're skilled
<shevy> iamjusthatdude he wrote htop and started gobolinux back when he was a student
<stian> htop huh :P I use that a lot
<iamjusthatdude> wow
<iamjusthatdude> there are a lot of talented people around here
<shevy> I forgot where he works now... I think it used to be somewhere in his CV
<stian> sure are a lot of talented people here no doubt
<shevy> though he also finished his master thesis quite some years ago
<stian> but you'll always think everyone else is better than you, smarter than you
<stian> what you need to do is to start believing in yourself, and apply yourself to what you want to do
little_f_ has quit [Remote host closed the connection]
<stian> and just take it one step at a time
<iamjusthatdude> thanks man
<iamjusthatdude> really, Thank you very much
<stian> I barely know how to write a simple program in ruby, and I'm 26 years old
<iamjusthatdude> I just need to breathe, think and fight
<stian> I barely know shit
<stian> might loose my job in a month
<iamjusthatdude> why is that? :/
mikespl__ has quit [Read error: Connection reset by peer]
<stian> I do technical support for a pretty small startup here in norway, and we're running out of money
<stian> I'll be the first on the chopping block most likely
mikesplain has joined #ruby
<shevy> fish filet!
<stian> we've got some US investors at this point but I dunno if they'll pick us up or not, and either way I think I'll get the boot
<iamjusthatdude> that's bad man
<iamjusthatdude> whats your plan?
<stian> I have none
<iamjusthatdude> to get out of this situation
<stian> live with my mom maybe
<stian> I dunno
<iamjusthatdude> how much do you know to code?
<shevy> stian go to brazil :D
<jonahR> i feel you dawgs
<jonahR> the situation is the same in Puerto Rico
<iamjusthatdude> we have jobs on tech and developer community here
<iamjusthatdude> at least in Recife, we do
dc_ has joined #ruby
kilk_ has joined #ruby
<iamjusthatdude> I hope stuff sort it out foir you stian
<jonahR> unless you're willing to suck it up and code in Java, .NET or go the lowest you can by doing sites with PHP you're pretty much left with no choice
rbartos has quit []
<stian> how much do I know to code?
<stian> I know nothing
diegoviola has quit [Remote host closed the connection]
<iamjusthatdude> in times like this, I just think to get in my room, and study code for a entire year straight out
<iamjusthatdude> jonah
<iamjusthatdude> you could learn to code web
andrewjanssen has quit [Quit: Leaving...]
<iamjusthatdude> and put your own business up
timonv_ has quit [Remote host closed the connection]
<jonahR> I've tried but it's hard to get good clients here
<iamjusthatdude> not even web stian?
francisfish has quit [Remote host closed the connection]
<iamjusthatdude> You are from porto rico?
<Hanmac1> jonahR: you can go deeper and program a website in C :p
ndrei has quit [Remote host closed the connection]
<iamjusthatdude> Stian, save some money
<iamjusthatdude> and subscribe to treehouse
<iamjusthatdude> they have great classes on web
jespada has quit [Read error: Connection reset by peer]
<iamjusthatdude> and even ruby on rails
<iamjusthatdude> just study your ass off
mikesplain has quit [Ping timeout: 255 seconds]
<jonahR> most clients aren't willing to pay the real price and want projects dirt cheap
<stian> hehe
<benzrf> RoR pfft
phutchins has quit [Ping timeout: 240 seconds]
<benzrf> who needs it!
<stian> I can't save moeny tbh
<momomomomo> a good way to start is by gonig through harvard's cs50 course
<stian> I suck with money
<momomomomo> http://cs50.net
<stian> and also I suck at applying myself
<jonahR> Hanmac1: lol
nanoyak has joined #ruby
<iamjusthatdude> just pay it directly with your credit card dude
<iamjusthatdude> you can do it
<iamjusthatdude> I'm ending Ruby basic syntax
<stian> I don't have CC
<iamjusthatdude> and I will get back to web dev
<stian> I don't know ifI even want to be a developer
<stian> I just really like the culture
<stian> lol
little_fu has joined #ruby
<stian> I don't know what I want to do in life
<iamjusthatdude> lol, I see
<stian> Now tell me that's not worse than your situation
<iamjusthatdude> I want to learn to code so I can do science better
<iamjusthatdude> yeah, you are right
<momomomomo> that's not necessarily a bad place to be
<iamjusthatdude> but don't give up
<stian> everyone else I know have something they want to do
<momomomomo> self discovery is good :p
jahkobi has quit [Quit: jahkobi]
<momomomomo> I've switched careers 3 times
<iamjusthatdude> I spent some 4 years to learn what I wish to do with my life
<stian> momomomomo: I've been self discovering for 6 years now
<momomomomo> looping back to development; which I did when I was a kid
<stian> still have no clue haha
<iamjusthatdude> read books on interesting stuff
<iamjusthatdude> and read a lot
<iamjusthatdude> this may help you discover what you are passsionate about
<jonahR> I've had to give up music to earn a living and still not getting paid enough
Bira has quit [Remote host closed the connection]
maoko has quit [Ping timeout: 272 seconds]
<stian> but you still have something you're passionate about
<iamjusthatdude> true
<iamjusthatdude> I love science, code, math
<iamjusthatdude> I just need to study it hard
<Hanmac1> i should commit my recent changes for my scripting engine ... i can say, if someone does understand what the code does, than this one is a pro ;P
djbkd has joined #ruby
<stian> git commit!
ARCADIVS has joined #ruby
<stian> I love science too but I hate math
yubrew has joined #ruby
<iamjusthatdude> math is needed for science :(
gr33n7007h has joined #ruby
<iamjusthatdude> I'm trying to move from basic math to more advanced calculus
<iamjusthatdude> come on man, you can do it, you can sort it out too
<iamjusthatdude> I just need to breathe, and step out of desesperation
<iamjusthatdude> it will all be fine
<iamjusthatdude> if we do our work
<iamjusthatdude> we just need to sort it out
<iamjusthatdude> I 'learned' basic ruby syntax
ghr has joined #ruby
<iamjusthatdude> on one/two months on the books
<iamjusthatdude> still reviewing it
aspires has quit []
<iamjusthatdude> I have the book names if you need it
<iamjusthatdude> I'm going to take a bath now, Brazil games is about to start
<iamjusthatdude> and I'm watching with my future ex-girlfriend
<iamjusthatdude> and my friends
<shevy> lol
<stian> haha
<stian> damn
jottr_ has quit [Ping timeout: 255 seconds]
<stian> iamjusthatdude: listen man if you ever need anyonet to talk to I'm here for ya
mjsmith2 has quit []
noop has quit [Ping timeout: 244 seconds]
stytown has joined #ruby
<stian> and if you ever need any help I'm sure the guys who know ruby here can help
mjsmith2 has joined #ruby
mehlah has joined #ruby
<iamjusthatdude> okay man, thanks
<iamjusthatdude> for real
<iamjusthatdude> I really needed some perspective
<iamjusthatdude> thank you all for real
yubrew has quit [Ping timeout: 240 seconds]
<stian> no worries man
<stian> Everyone wants to make it big; at least some part of everyone does
ghr has quit [Ping timeout: 240 seconds]
Hanmac1 is now known as Hanmac
<stian> We all want to magically have enough moeny to be able to live life happily ever after
<stian> Hanmac: what am I looking at? :)
mikesplain has joined #ruby
shvelo has joined #ruby
datafirm has joined #ruby
Bira has joined #ruby
mikepack has joined #ruby
chrstphrhrt has quit [Quit: chrstphrhrt]
decoponio has quit [Quit: Leaving...]
<Hanmac> stian: the scripting engine of a new RPG game/system ... this part is for Requirement of features, for dynamic enable and disable of features or similar (with that you can say that Skill A is only available if the Battler has State B or similar)
aspires has joined #ruby
<stian> Hmm
<Hanmac> the marked part are helper for parsing and generating xml code (the "database" stuff support xml)
endash has quit [Ping timeout: 244 seconds]
<stian> cool you can highlight stuff
iamjusthatdude has quit [Ping timeout: 272 seconds]
RyanV has quit [Quit: Computer has gone to sleep.]
<stian> Ok let me see if I can read the code at least
djbkd has quit [Remote host closed the connection]
<stian> the method takes a lot of parameters that's for sure
andrewjanssen has joined #ruby
<stian> have no idea what it does tbh
<stian> why do you have two methods with the name parse_xml?
<stian> well one having _ infront
elaptics is now known as elaptics`away
eka has joined #ruby
sdwrage has joined #ruby
djbkd has joined #ruby
<renier> Hi. Does anyone know if there is a way to generate a dependency graph of your project, without including the development dependencies?
<stian> Hanmac: :(
djbkd has quit [Remote host closed the connection]
havenwood has quit [Remote host closed the connection]
djbkd has joined #ruby
xcv has joined #ruby
Zebroid has joined #ruby
havenwood has joined #ruby
djbkd has quit [Remote host closed the connection]
<Hanmac> stian: the _parse_xml is a helper method used in derivated code: https://github.com/OpenRubyRMK/game-engine/blob/master/data/scripts/2.0/requirement_states.rb as you can see a "supclassed" to_xml uses _to_xml_array there you also can see where the parameters come from
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
<stian> oh
sailias has quit [Read error: Connection reset by peer]
<stian> I don't even know what a super class is :(
sailias has joined #ruby
<jhass> stian: don't worry, it's just Hanmac
<stian> oh ok
* stian laughs
Eiam has joined #ruby
havenwood has quit [Ping timeout: 264 seconds]
Zebroid has quit [Ping timeout: 255 seconds]
<Hanmac> hey! sometimes i wake up, look at my code and then wonder "wtf have i done?" ;P
andrewjanssen has quit [Quit: Leaving...]
<Edelwin> Hanmac: they you remember why you switched from perl :p
dumdedum has quit [Quit: foo]
<stian> haha
<Hanmac> Edelwin: no but i switched from ASM ... and i am happy about it ;P
endash has joined #ruby
<stian> I wish I knew more about ASM
<jhass> Hanmac: the part you need to worry about: why only sometimes?
andrewjanssen has joined #ruby
<jhass> stian: no, you don't
<Hanmac> jhass have you seen what i can do with C++ templates and C-macros ? ;P
<jhass> I looked away every time you showed
<Hanmac> Ha! i knew it! my code has gorgon skills ;D
Kricir has joined #ruby
kaspergr_ has joined #ruby
towbes has quit [Ping timeout: 240 seconds]
Xuerian has joined #ruby
sailias has quit [Remote host closed the connection]
baroquebobcat has quit [Quit: baroquebobcat]
<stian> jhass: actually yes I do thonk knowing some ASM could be valuable
<jhass> well, yeah I agree. Better know your enemy
<stian> or, in general knowledge of more low level languages
baroquebobcat has joined #ruby
baroquebobcat has quit [Client Quit]
<jhass> so you recognize it early and can stay away
<stian> haha
<stian> damn, 10pm already..
kaspergrubbe has quit [Ping timeout: 240 seconds]
<stian> I wonder how the hell people manage to code after work hours :/
baroquebobcat has joined #ruby
<stian> that's not how it is for me at all tbh
Kricir has quit [Ping timeout: 272 seconds]
<stian> my curve is flatline until 10am
<stian> then lasts until 4-5pm then game over
little_fu has quit [Remote host closed the connection]
sailias has joined #ruby
<stian> unless I'm really engaged in something and I'm not interrupted
gondalier has joined #ruby
alem0lars has joined #ruby
lkba has quit [Read error: Connection reset by peer]
AndChat| has joined #ruby
<stian> but that curve is pretty accurate except the night hours as I can't stay awake that late
towbes has joined #ruby
<stian> either that or I haven't actually really worked on something I'm engaged in in a LONG time :P
<jhass> :P
<apeiros> jhass: nice! I try to sleep after midnight nowadays, though :D
nanoyak has quit [Read error: Connection reset by peer]
<jhass> yeah...
kaspergr_ has quit []
mattmcclure has joined #ruby
nanoyak has joined #ruby
kevind_ has joined #ruby
<stian> I try to get minimum 7 hours a night
<apeiros> stian: if that's the case for you, it means your work exhausts you and you're probably working at a too fast pace
<stian> apeiros: not really tbh
aspires has quit []
<stian> I work tech support
kilk__ has joined #ruby
<apeiros> do you watch tv when you get home?
<stian> no
mikepack has quit [Remote host closed the connection]
<stian> I never watch tv
<apeiros> then I have no idea what your problem is :)
<stian> reddit, probablyu
<stian> and irc, stuff like that.
francisfish has joined #ruby
<stian> I lack discipline :)
prathamesh has quit [Remote host closed the connection]
<Poky> try not using reddit/irc for 14 days. even after you come back, you'll have plenty more time. for quite some time ;)
francisfish has quit [Read error: No route to host]
nanoyak has quit [Client Quit]
kevind has quit [Ping timeout: 244 seconds]
kevind_ is now known as kevind
francisfish has joined #ruby
<stian> Poky: I'll have to start out with no reddit after work
sailias has quit [Remote host closed the connection]
maestrojed has joined #ruby
<stian> I reddit a bit at work but that's mostly to take a break etc
<Senjai> I don't understand how people get hooked on reddit
<stian> Honestly it's just a way of wasting time
<yxhuvud> it is easy. Avoid the default subreddits.
<stian> It's the same with anything really
kilk_ has quit [Ping timeout: 264 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<Poky> yxhuvud: to get or not get hooked?
<yxhuvud> to get hooked. the default subreddits are pretty crap
nanoyak has joined #ruby
<Poky> I guess it depends on what you mean by hooked. I mean reading interesting articles / blogs etc. takes way more effort than browsing through gifs. so you might be less likely to daze out while doing so ;)
blackmesa has quit [Ping timeout: 264 seconds]
<stian> I usually skim the articles and read the comments :(
x1337807x has joined #ruby
<stian> I'm one of /those/ people
<stian> haha
nowthatsamatt has joined #ruby
jahkobi has joined #ruby
casheew has joined #ruby
kilk__ has quit [Ping timeout: 272 seconds]
ghr has joined #ruby
casheew has quit [Client Quit]
stytown has quit [Quit: stytown]
djbkd has joined #ruby
codabrink has quit [Ping timeout: 272 seconds]
cocotton has joined #ruby
DouweM has joined #ruby
<Poky> I usually read comments first. And only if I find it interesting afterwards, the article. :)
codabrink has joined #ruby
Notte has joined #ruby
Notte has quit [Remote host closed the connection]
Notte has joined #ruby
ghr has quit [Ping timeout: 245 seconds]
<stian> right Poky :)
leeve is now known as teras
teoric has joined #ruby
<jhass> it's a trap!
bean__ has quit [Quit: bean__]
hakunin has quit []
hakunin has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jottr_ has joined #ruby
Xeago has quit [Remote host closed the connection]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chrishough has quit [Quit: chrishough]
ARCADIVS has quit [Quit: WeeChat 0.4.3]
yfeldblum has joined #ruby
<Hanmac> jhass: hey! i have also my own binding for wxWidgets ;P
teoric has quit [Quit: WeeChat 0.4.2]
<bmurt> this might be a dumb question, but i'm doing some screen scraping on aws' status page, but want to save the result for the next loop up to prevent unnecessary alerts from being sent. my initial thought was to store that value outside of the script, but didn't want to use a file on the filesystem. is there another way?
yfeldblum has quit [Read error: Connection reset by peer]
<jhass> Hanmac: are they done?
RyanV has joined #ruby
<jhass> yet?
yfeldblum has joined #ruby
<bmurt> the script itself is executed via cron so simply storing it in the script would cause it to get wiped on every execution
banister has joined #ruby
<jhass> bmurt: file would be the classical way. Alternatives are writing a daemon, connecting to some DBMS/datastore
<bmurt> yeah, damnit
timonv has joined #ruby
jfran has quit [Quit: Going offline, see ya! (www.adiirc.com)]
<bmurt> i figured as much, because i came across Tempfile but that also goes away when the script ends
Veejay has left #ruby ["WeeChat 0.4.0"]
<jhass> yeah, tempfiles are for intermediate stuff, you're searching for persistence
scarolan has joined #ruby
kilk__ has joined #ruby
yubrew has joined #ruby
<Hanmac> jhass: Total Lines : 31,881 Code Lines : 17,744 https://www.ohloh.net/p/rubywx i did many of the code but its still not finish yet :/ but it works with recent wx and recent ruby ... not like wxRuby
<shevy> hehe
geggam has quit [Quit: wfh_rest_of_day]
<bmurt> yessir jhass
<shevy> but you still did not put it into a .gem :(
<bmurt> oh well, thanks
<jhass> Hanmac: can I make fresh looking Gnome apps in that?
<jhass> you know, popovers, action bars, that fancy stuff
scarolan has quit [Client Quit]
<Hanmac> jhass: ... hm nope most of the stuff is to new and does not have wx widget represents, but i try to add them into wx itself directly later
<Hanmac> shevy i added wxMessageDialog recently ... with that i might add more sample code (and maybe a gem ... sometime this year ... maybe)
<jhass> I wish we had a good GI (GObject Introspection) binding
<shevy> hehehe
<shevy> didn't you say that last year as well ;P
duncannz has joined #ruby
<jhass> it's really a wish of mine!
<shevy> but now you even have less time because you have to work!
TDJACR has quit [Ping timeout: 252 seconds]
timonv has quit [Ping timeout: 255 seconds]
<Hanmac> shevy i think i will do a rwx gem before centos drop ruby1.8 ;P
<shevy> we should really map out the percentage of github-based projects in ruby vs. these projects also being available at rubygems.org
chrishough has joined #ruby
posixpascal has joined #ruby
<shevy> I will bet on centos
terrell_t has joined #ruby
m8 has quit [Quit: Sto andando via]
yubrew has quit [Ping timeout: 245 seconds]
<shvelo> I wish there was a desktop UI framework that didn't suck
banister is now known as banisterfiend
terrell_t has quit [Read error: Connection reset by peer]
<Hanmac> shvelo: wxWidgets is nice ... the only bad thing is that it does not have all gtk widgets :/
djbkd has quit [Remote host closed the connection]
terrell_t has joined #ruby
<shvelo> I mean in general
agent_white has joined #ruby
<shevy> is that not beautiful: http://goo.gl/Uw1i02
<shevy> shvelo I'd love to have an agnostic one
<shevy> so one could write in one language and it works everywehre
little_fu has joined #ruby
ARCADIVS has joined #ruby
<agent_white> Herro
terrellt has quit [Ping timeout: 255 seconds]
hobogrammer1 has quit [Ping timeout: 264 seconds]
<shvelo> herro prease
XenoWolf_ has quit [Ping timeout: 240 seconds]
XenoWolf has joined #ruby
djbkd has joined #ruby
<shevy> whatch guys tarking about
CaptainJet has joined #ruby
<oliver3> shvelo, Qt. I don't know if there are Ruby bindings, but Qt is the best I've ever used. Next up would be JavaFX (again, no Ruby joy there unless you go JRuby with Java for your controller classes).
<shevy> nobody here uses ruby + qt :(
<oliver3> "Best" also being subjective depending on use-case.
chipotle has joined #ruby
<posixpascal> I think ruby + qt is possible
<posixpascal> cuz I used it in one of my projects
nanoyak has quit [Read error: Connection reset by peer]
<posixpascal> but I was just experimenting with QT and switched to PyQT cuz I liked that more.
nanoyak has joined #ruby
Tricon has quit [Quit: Linkinus - http://linkinus.com]
<shevy> !!!
<jhass> shevy: I disagree, that'll never allow you to follow the design guidelines of any framework
Thermo has quit [Quit: Textual IRC Client: www.textualapp.com]
<shevy> you read design guidelines for building gnome apps?
<jhass> well, I never built a serious gnome app before
<jhass> but I probably would if I do so
<shevy> the thing is that the core functionality should be very similar among the various toolkits
<shevy> so let's say a given user has only either qt/kde, or either gtk/gnome
Sawbones has joined #ruby
endash has quit [Ping timeout: 244 seconds]
<shevy> so you write for the gtk/gnome folks but that leaves out the qt/kde folks
<Hanmac> shevy rwx can be created as gem, it has the rake commands for that ... i only didnt pushed it yet to rubygems because i still think it is not finish enough for rhat ... there are still many classes missing
<shvelo> btw what's the best language for creating UI? Is it XML or something else?
<oliver3> HTML5
<posixpascal> Depends on the app
kyb3r_ has joined #ruby
<shevy> I here think that kde konsole is awesome, better than gnome-terminal, but as far as editors are concerned, I think the gtk/gnome based editors beat the qt/kde ones
<jhass> shevy: my point is that it's better if it fits in one DE than if it fits in none, even if that means it looks even worse in others
<posixpascal> or project. HTML is pretty nice especially with CSS. Java'S Swing for CrossPlatform is nice too.
<shvelo> so Node-Webkit?
<shevy> I like CSS
Zenigor has quit [Remote host closed the connection]
<oliver3> Seriously actually why didn't I say that before... Sod desktop apps, just write a web app and possibly make it a Chrome desktop app... Maybe utilising this? http://opalrb.org/
gondalier has quit []
mikepack has joined #ruby
<posixpascal> jhass: You can for sure use both QT and GTK
<shevy> I think gtk3 gave people in gnome-land for the first time the ability to use or markup in a css-like fashion
timgauthier has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jhass> posixpascal: yeah, in case I get more bored than usual
<posixpascal> OpalRB isn't production ready in my opinion. It has a large footprint of libraries and you'd better drive with javascript alone.
<shevy> imagine if we would be able to design the whole UI of any web app, qt, gnome, or windows app in just css alone!
nickgartmann has quit [Quit: Connection closed for inactivity]
<jhass> gtk is pretty much there
GriffinHeart has joined #ruby
<oliver3> posixpascal, Swing is old school. Java has JavaFX now which replaces Swing. It's similar to the web stack (HTML, CSS, JS) except with more styling properties and a FXML instead of HTML.
<oliver3> And this is #ruby so I'm going to stop talking about Java.
<posixpascal> oh didnt know that
<shvelo> GTK CSS documentation is horrible
<jhass> now that adwaita will be the default engine
<jhass> gtk docs in general are horrible
<shvelo> yup
mikepack_ has joined #ruby
mikepack has quit [Read error: Connection reset by peer]
nfk has joined #ruby
terrell_t has quit [Remote host closed the connection]
<posixpascal> Well. Node-Webkit is really awesome for building apps. But it'll look different on both: qt and gtk.
closer has quit [*.net *.split]
cibs has quit [*.net *.split]
minecoins has quit [*.net *.split]
Zespre has quit [*.net *.split]
eshy has quit [*.net *.split]
zz_karupa has quit [*.net *.split]
terrellt has joined #ruby
carraroj has quit [Quit: Konversation terminated!]
<posixpascal> also: you can't remove that 'webpage' feel completely...
Notte_ has joined #ruby
timgauthier has joined #ruby
<jhass> sure, there are many crossplatform/toolkit technologies, my only point is that they don't work if you want anything that integrates well into your DE and that I prefer stuff that does
<jhass> same for mobile platforms btw
<Hanmac> shevy: wxWidgets has a php binding ... think about THAT! ;P
<jhass> hell, even gtk has one
SilverKey has joined #ruby
Notte has quit [Ping timeout: 255 seconds]
<shvelo> eww
naiyte1 has quit [Quit: Leaving.]
LiohAu has quit [Quit: LiohAu]
<posixpascal> I heard about an ICQ client written in php+gtk.
mocfive has joined #ruby
<shvelo> Android has the best UI framework on Linux yet
jpierre03 has quit [Read error: Connection reset by peer]
GriffinHeart has quit [Ping timeout: 245 seconds]
chrstphrhrt has joined #ruby
duncannz has quit [Ping timeout: 264 seconds]
<posixpascal> I don't think you'll find the 'perfect' toolkit...
<posixpascal> which fits into both DE
<shvelo> Chrome OS seems to be the best-looking Linux distro, but it's also one of the most useless
mikepack_ has quit [Ping timeout: 240 seconds]
naiyte has joined #ruby
Hobogrammer has joined #ruby
naiyte has quit [Max SendQ exceeded]
jpierre03 has joined #ruby
naiyte has joined #ruby
naiyte has quit [Max SendQ exceeded]
elico has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
Zebroid has joined #ruby
<shvelo> Why can't Android UI be ported to desktop
naiyte has joined #ruby
naiyte has quit [Max SendQ exceeded]
<elico> I am trying to insert a lot of records to a mysql using activerecord interface and it seems to take a lot of time to insert each of the rows.
mattstratton has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mikepack has joined #ruby
<elico> Are there any ways to make it faster or run it on threads?
<jhass> elico: have a look at activerecord-import
naiyte has joined #ruby
naiyte has quit [Max SendQ exceeded]
naiyte has joined #ruby
naiyte has quit [Max SendQ exceeded]
naiyte has joined #ruby
naiyte has quit [Max SendQ exceeded]
Zebroid has quit [Ping timeout: 245 seconds]
Sawbones has quit []
sinkensabe has quit [Remote host closed the connection]
<shevy> anyone knows what .partition does without looking at the doc?
<jhass> yep
<shevy> I have an old snippet from manveru
naiyte has joined #ruby
<shevy> from years ago
<shevy> looks as if I never looked at it again ... it goes like this:
<shevy> (splitter = Dir.entries('.')).partition {|i| File.directory?(i)}[0].map{|s| (s[0,1] == ".")? s = nil : s = s}.compact
naiyte has quit [Max SendQ exceeded]
danijoo has quit [Read error: Connection reset by peer]
naiyte has joined #ruby
danijoo has joined #ruby
naiyte has quit [Max SendQ exceeded]
GeraldoRamos has joined #ruby
<shevy> hmm
naiyte has joined #ruby
<jhass> the map content is just s if s[0] == '.'
<shevy> I think that may be the only instance where I have ever used .partition
naiyte has quit [Max SendQ exceeded]
srnty has joined #ruby
boris has quit [Remote host closed the connection]
<elico> jhass: thanls
<elico> thanks
Bira has quit [Remote host closed the connection]
naiyte has joined #ruby
Thermo has joined #ruby
naiyte has quit [Max SendQ exceeded]
mary5030 has quit [Remote host closed the connection]
Kricir has joined #ruby
naiyte has joined #ruby
naiyte has quit [Max SendQ exceeded]
cpruitt has joined #ruby
naiyte has joined #ruby
cocotton_ has joined #ruby
naiyte has quit [Max SendQ exceeded]
Sawbones has joined #ruby
naiyte has joined #ruby
naiyte has quit [Max SendQ exceeded]
<elico> jhass: I am not sure how to even read the documentation on this. I did not found any example which I can try by to understand the usage.
benlieb has joined #ruby
<elico> Do i just require it?
naiyte has joined #ruby
<jhass> (linked from the readme)
naiyte has quit [Max SendQ exceeded]
baroquebobcat has quit [Quit: baroquebobcat]
<Mon_Ouie> jhass: Opposite of that, wouldn't be very interesting otherwise
<elico> OK got it
djbkd has quit [Remote host closed the connection]
aspires has joined #ruby
<Mon_Ouie> (s unless s[0] == ".")
<elico> it was a bit tricky
NukePuppy has quit [Ping timeout: 244 seconds]
<jhass> Mon_Ouie: er, yeah, my bad
naiyte has joined #ruby
naiyte has quit [Max SendQ exceeded]
terrell_t has joined #ruby
<shvelo> btw Dir.glob is awesome
tier has quit []
naiyte has joined #ruby
cocotton has quit [Ping timeout: 244 seconds]
naiyte has quit [Max SendQ exceeded]
Kricir has quit [Ping timeout: 272 seconds]
djbkd has joined #ruby
cocotton_ has quit [Ping timeout: 244 seconds]
<shevy> no
Xeago has joined #ruby
<shevy> shvelo Dir[] is better
mary5030 has joined #ruby
sailias has joined #ruby
<shvelo> why?
<shevy> you save 3 characters too!
naiyte has joined #ruby
naiyte has quit [Max SendQ exceeded]
nanoyak has joined #ruby
terrellt_ has joined #ruby
jaiks has joined #ruby
<shevy> Dir[ string [, string ...] ] ? array
<shevy> Equivalent to calling Dir.glob(array,0) and Dir.glob([string,...],0)
srnty has quit [Remote host closed the connection]
naiyte has joined #ruby
<shevy> though you have to keep in mind that these two are not the same
DanielI has quit [Ping timeout: 244 seconds]
naiyte has quit [Max SendQ exceeded]
<shvelo> Dir.glob accepts enumerator
<shevy> can you give an example?
naiyte has joined #ruby
terrellt has quit [Ping timeout: 240 seconds]
naiyte has quit [Max SendQ exceeded]
gondalier has joined #ruby
<shvelo> too lazy
vpretzel_ has joined #ruby
Zespre has joined #ruby
closer009 has joined #ruby
eshy has joined #ruby
cibs has joined #ruby
minecoins has joined #ruby
zz_karupa has joined #ruby
naiyte has joined #ruby
naiyte has quit [Max SendQ exceeded]
nanoyak has quit [Client Quit]
terrell_t has quit [Ping timeout: 264 seconds]
<shvelo> can we use regex in Dir.glob?
nanoyak has joined #ruby
lord4163 has left #ruby [#ruby]
<jhass> no, only glob patterns
naiyte has joined #ruby
naiyte has quit [Max SendQ exceeded]
vpretzel has quit [Ping timeout: 240 seconds]
Rollabunna has joined #ruby
jaiks has quit [Ping timeout: 244 seconds]
naiyte has joined #ruby
timgauthier has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
obscured has quit [Quit: leaving]
<elico> jhass: it's indeed much faster...
<elico> now I can make it in jumps of 100 instead of 1
Notte_ has quit [Remote host closed the connection]
<elico> jhass: is there a way to find couple options the same as import ? or maybe you do have in mind an idea how to do a search of 10-20 options in one query?
timgauthier has joined #ruby
<jhass> "options"?
noeden_ has joined #ruby
Rollabunna has quit [Ping timeout: 245 seconds]
Arkaniad has quit [Ping timeout: 240 seconds]
aspires has quit []
aspires has joined #ruby
<elico> I have a url which I am dividing into couple segments and which I need to find couple components based on the url but If I do couple queries for each component it will take couple more secs.
ghr has joined #ruby
kireevco has quit [Quit: Leaving.]
<elico> as an example I am looking for ten domain names in the table.. "www.inn.co.il" "www.walla.co.il" "www.yahoo.com" etc..
AlexRussia has quit [Ping timeout: 264 seconds]
<elico> I have an array with the matches for the queries but each select takes ages..
<jhass> Component.where(domain: [ "www.inn.co.il", "www.walla.co.il", "www.yahoo.com"]) or what?
nowthatsamatt has quit [Quit: nowthatsamatt]
<elico> I think this is the answer
<elico> (I am a bit rusty)
DanielI has joined #ruby
ldnunes has quit [Quit: Leaving]
jackneill has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 255 seconds]
yubrew has joined #ruby
jpierre03 has quit [Ping timeout: 264 seconds]
<shevy> (I like lisp)
<elico> seems like the right choice.
<shvelo> I like lisp too
eighthbit has quit [Quit: Textual IRC Client: www.textualapp.com]
<elico> Now I have another issue which is that some of the values exists and there for there is an issue while inserting with the import
icole has quit [Remote host closed the connection]
x1337807x has joined #ruby
jmurray has quit [Quit: jmurray]
noeden_ has quit [Quit: Textual IRC Client: www.textualapp.com]
noeden_ has joined #ruby
SBoolean has quit [Remote host closed the connection]
zigomir has joined #ruby
blackmesa has joined #ruby
yubrew has quit [Ping timeout: 240 seconds]
lewix has quit [Ping timeout: 264 seconds]
Sawbones has quit []
mikesplain has quit [Ping timeout: 255 seconds]
benlieb has quit [Read error: Connection reset by peer]
Xeago has quit [Read error: Connection reset by peer]
pushpak has quit [Ping timeout: 252 seconds]
jmurray has joined #ruby
maletor has quit [Read error: Connection reset by peer]
codeurge has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
terrellt_ has quit [Remote host closed the connection]
Bira has joined #ruby
noeden_ has quit [Client Quit]
Solnse has joined #ruby
noeden_ has joined #ruby
icole has joined #ruby
zB0hs has joined #ruby
jmurray has quit [Ping timeout: 245 seconds]
almostwhitehat has quit [Quit: almostwhitehat]
<Solnse> what should I use instead of .upto if I don't want to include the final number? i.e. I want 1.upto(10) to include only up to 9, not 10... ?
Tricon has joined #ruby
mary5030 has quit [Remote host closed the connection]
<banisterfiend> Solnse (1...10)
Tricon has quit [Client Quit]
<Solnse> I tried that but I'm actually using a variable... and that range doesn't seem to work with a variable name
brasten has quit [Quit: brasten]
maletor has joined #ruby
terrellt has joined #ruby
<Solnse> <main>': undefined method `below' for main:Object (NoMethodError)
<Solnse> because it thinks it's a method
<jhass> >> a = 5; b = 7; a...b
<eval-in> jhass => 5...7 (https://eval.in/166182)
Bira_ has joined #ruby
agent_white has quit [Ping timeout: 264 seconds]
noeden_ is now known as noeden_sss
SCHAAP137 has joined #ruby
<Solnse> 1.upto(below - 1) just looks sloppy to me...
AlexRussia has joined #ruby
<jhass> I kind of prefer that actually, I find the visual difference between .. and ... too low
ahuman has quit [Quit: No Ping reply in 180 seconds.]
orionstein is now known as orionstein_away
<jhass> but that's personal preference
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bmurt has quit []
ahuman has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
Bira has quit [Ping timeout: 240 seconds]
top4o has quit [Quit: ChatZilla 0.9.90.1 [Firefox 30.0/20140605174243]]
nickgartmann has joined #ruby
agent_white has joined #ruby
<Solnse> I seem to remember a simple way to add all numbers in array using map and :+ or something... I can't find anything like that now... any hints?
DanielI has quit [Changing host]
DanielI has joined #ruby
<hoelzro> >> (1.. 10).reduce(:+)
<eval-in> hoelzro => 55 (https://eval.in/166183)
<hoelzro> Solnse: ^
havenwood has joined #ruby
<Solnse> that's it... thanks...
<hoelzro> np =)
baroquebobcat has joined #ruby
kireevco has joined #ruby
kireevco has quit [Max SendQ exceeded]
noeden_sss is now known as FrediVosberg
kireevco has joined #ruby
ARCADIVS has quit [Quit: WeeChat 0.4.3]
sdwrage has quit [Quit: This computer has gone to sleep]
jpierre03 has joined #ruby
Poky has quit [Ping timeout: 240 seconds]
shinobi_one has quit [Quit: shinobi_one]
phinfonet has joined #ruby
unop_ has joined #ruby
Zebroid has joined #ruby
shinobi_one has joined #ruby
sdwrage has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
lemur has quit [Remote host closed the connection]
nanoyak has joined #ruby
Zebroid has quit [Ping timeout: 272 seconds]
Notte has joined #ruby
djbkd has quit [Remote host closed the connection]
nfk has quit [Quit: yawn]
duncannz has joined #ruby
stytown has joined #ruby
Kricir has joined #ruby
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sailias has quit [Quit: Leaving.]
djbkd has joined #ruby
gattuso has joined #ruby
Mooneye has quit [Quit: Leaving]
kilk__ has quit [Ping timeout: 240 seconds]
Kricir has quit [Ping timeout: 255 seconds]
SilverKey has quit [Quit: Halted.]
qwyeth has quit [Quit: Leaving]
testcore has quit [Ping timeout: 264 seconds]
isthisreallife has joined #ruby
isthisreallife has left #ruby [#ruby]
chrstphrhrt has quit [Quit: chrstphrhrt]
aniM has joined #ruby
djbkd has quit [Remote host closed the connection]
edgarjs is now known as edgarjs_afk
aspires has quit []
djbkd has joined #ruby
maximski has quit []
jobewan has quit [Quit: Leaving]
aspires has joined #ruby
naiyte has quit [Quit: Leaving.]
geggam has joined #ruby
northfurr has joined #ruby
naiyte has joined #ruby
naiyte has quit [Max SendQ exceeded]
naiyte has joined #ruby
naiyte has quit [Max SendQ exceeded]
timonv has joined #ruby
aspires has quit [Client Quit]
naiyte has joined #ruby
naiyte has quit [Max SendQ exceeded]
rlazoti has joined #ruby
jheg has quit [Quit: jheg]
naiyte has joined #ruby
naiyte has quit [Max SendQ exceeded]
kireevco has quit [Read error: Connection reset by peer]
naiyte has joined #ruby
kireevco has joined #ruby
naiyte has quit [Max SendQ exceeded]
ghr has joined #ruby
divbell has quit [Ping timeout: 240 seconds]
naiyte has joined #ruby
naiyte has quit [Max SendQ exceeded]
andrewjanssen has quit [Quit: Leaving...]
aspires has joined #ruby
naiyte has joined #ruby
marr has joined #ruby
naiyte has quit [Max SendQ exceeded]
timonv has quit [Ping timeout: 240 seconds]
riotjone_ has joined #ruby
naiyte has joined #ruby
Notte has quit [Remote host closed the connection]
divbell has joined #ruby
mjsmith2 has quit [Remote host closed the connection]
duncannz has quit [Ping timeout: 272 seconds]
riotjones has quit [Ping timeout: 240 seconds]
ghr has quit [Ping timeout: 244 seconds]
lkb has quit [Quit: Wychodzi]
siflyn has quit []
posixpascal has quit [Quit: leaving]
aspires has quit []
aspires has joined #ruby
chrstphrhrt has joined #ruby
oliver3 has quit [Quit: Leaving]
edgarjs_afk is now known as edgarjs
djbkd has quit [Read error: Connection reset by peer]
Thermo has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
djbkd has joined #ruby
terrell_t has joined #ruby
GriffinHeart has joined #ruby
Mooneye has joined #ruby
zB0hs has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
vifino has quit [Quit: Me sais Laptop sleepy.]
andrewlio has quit [Quit: Leaving.]
moritzs has quit [Ping timeout: 240 seconds]
terrellt has quit [Ping timeout: 244 seconds]
Kricir has joined #ruby
GriffinHeart has quit [Ping timeout: 255 seconds]
toastynerd has quit [Remote host closed the connection]
Xeago has joined #ruby
codeurge has joined #ruby
toastynerd has joined #ruby
cpruitt has quit [Quit: cpruitt]
brasten has joined #ruby
bbloom has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
kirun has quit [Quit: Client exiting]
alexju has quit [Remote host closed the connection]
et09 has joined #ruby
<et09> how do i tidy-style fix the indentation of a ruby file
Xeago has quit [Ping timeout: 272 seconds]
<AntelopeSalad> et09: do you use sublime?
<et09> no
<ericwood> et09: what editor do you use?
<xybre> In Vim you just gg=G
<ericwood> ^^^^^^
<et09> wow.
<et09> that didn't exactly do it correctly tho
Mooneye has quit [Ping timeout: 264 seconds]
<ericwood> huh?
<ericwood> what editor do you use?
<et09> vim with some vimrc set up already
<ericwood> ah
<ericwood> ggVG=
<xybre> It should be based on the syntax file you have and it relies on some settings, like your tabs and stuff.
<et09> same prob
<AntelopeSalad> who named that command?
cpruitt has joined #ruby
<et09> tabstop=4, shiftwidth=4, expandtab
<xybre> It's not named
<AntelopeSalad> you literally hit =?
<ericwood> I highly recommend installing the vim-ruby package rather than the one that ships with vim
<xybre> "g" is a precursor command, "g" means 'move cursor to top of file' "=" means 're-indent' and "G" means 'all the way to the end of the file'.
<xybre> You don't type this into a commandline, they are actions performed from Normal mode.
<ericwood> yep
<ericwood> stop what you're doing and hit esc 10000 times
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ericwood> then do what xybre said
<ericwood> :)
<et09> that really works awfully
SCHAAP137 has quit [Remote host closed the connection]
<ericwood> do what I recommended and install the vim-ruby package
<et09> just indents everything to one space
cpruitt has quit [Read error: Connection reset by peer]
<et09> ericwood: what do i do after that, ggVG= again?
<ericwood> restart vim, do the indent trick again yah
<xybre> It's more of an action sequence. Think of playing a video game on your computer. "wwwwwwwwwaaswwwawwwwd" is what the action might look like to move forward, sidestep left, take a step back run forward and juke right, but you wouldn't call that a named command.
<AntelopeSalad> yeah i get it now
<et09> boy, this is not the best readme.md
<ericwood> you should pastebin the before and after
cpruitt has joined #ruby
<AntelopeSalad> up up down down left right left right select start
<ericwood> et09: have you installed a vim package before?
<et09> yes
<ericwood> okay
<xybre> et09: Does vim "know" the file is Ruby?
<et09> judging by the syn. hilite, yes
<ericwood> :set filetype=ruby
alem0lars has quit [Quit: alem0lars]
mikepack has quit [Remote host closed the connection]
<et09> what is the vim runtimepath
andrewjanssen has joined #ruby
<et09> (isn't there a script that will just do this)
ffranz has quit [Quit: Leaving]
<xybre> Hmm. I've been using that command since.. like.. 2006 and I've never had an issue. I wonder what the problem is. Gotta be a setting somewhere.
spider-mario has quit [Read error: Connection reset by peer]
ARCADIVS has joined #ruby
<et09> i have a missing 'end' somewhere, about to blow my brains out over it
nanoyak has joined #ruby
<xybre> A syntax error could cause Vim to blow up too :p
<et09> hm
<AntelopeSalad> is it gistable?
<AntelopeSalad> i bet i can find it in under 5 seconds
<et09> i'm not sure
<et09> its like 500 lines
<AntelopeSalad> doesn't matter
Zebroid has joined #ruby
<et09> not sure regardless i mean
j_mcnally has joined #ruby
<j_mcnally> Heyo
<j_mcnally> Running into an issue with 2.1.1 / Brew and Ruby-install
<j_mcnally> Anyone seen this readline error?
<et09> https://gist.github.com/djvs/c539bf651854ee4fa745 well, there's the problem section
dc_ has quit [Remote host closed the connection]
<et09> ack sorry, redone in ruby
naiyte has quit [Quit: Leaving.]
jottr_ has quit [Ping timeout: 264 seconds]
nanoyak has quit [Client Quit]
<xybre> et09: commented
matkal has joined #ruby
<et09> where was it?
<xybre> Thats the vim-re-indented version from my side. It doesn't look like there is a missing end. :/
<xybre> At least not in that block.
<et09> but the vim syntax highlighting has a yellow 'end' instead of brown 'end'
sinkensabe has joined #ruby
<matkal> my host is in UK, how do i force time for New Zealand
<et09> maybe not a missing 'end', i'm really not sure
<xybre> Maybe its an end in the wrong location then.
<xybre> Which is a bit more difficult to identify.
noob101 has joined #ruby
<xybre> Because I don't know waht the code is supposed to do (its nightmarish anyway).
julian-delphiki has joined #ruby
Zebroid has quit [Ping timeout: 264 seconds]
<et09> should i be using sublime here
<et09> is it gpl
<AntelopeSalad> sublime does have a plugin that insta perfectly formats ruby
<xybre> The editor won't make much difference, you can use Sublime if it helps, Sublime isn't FOSS, its Shareware.
<et09> what a pita
<AntelopeSalad> every 10min to 40min it pops up a dialog saying to buy it, but it lasts forever
Guest2260 has quit [Ping timeout: 245 seconds]
<AntelopeSalad> if you don't feel like buying it
<et09> how much does it cost lol
<AntelopeSalad> $6,800
<noob101> I am trying to choose an option. I want computer engineer but in the list that I am looking at, it says three things. Engineer, Engineer/Cooperative Engineering and Engineering/Engineering Technologies. Which one is related to computer engineering?
<xybre> Not that much, less than 100 bucks.
<jhass> $70 actually
<noob101> I know it's a noob question, I just need an answer please. Sorry
nateberkopec has quit [Quit: Leaving...]
<et09> Noob101: could be any of the 3...
<jhass> but as said, free to use forever, just that popup on every 15 saves
<AntelopeSalad> ah 15 saves? i never figured that out
<AntelopeSalad> thought it was random
<jhass> iirc, something like that
<xybre> Noob101: I'd probably stick with just Engineering, but the last one won't scare anyone away either.
<jhass> might be 20 or whatever
agent_wh1te has joined #ruby
<noob101> It's not computer technologies?
agent_white has quit [Ping timeout: 244 seconds]
<noob101> I mean no
terrell_t has quit [Remote host closed the connection]
<noob101> Engineering technologies? It's not that?
terrellt has joined #ruby
<matkal> anyone help me with timezone
sinkensabe has quit [Ping timeout: 240 seconds]
<matkal> in ruby
<matkal> ?
Georg3 has joined #ruby
<noob101> I would of thought that it was engineering technologies but I will stick with Engineering I guess. Thanks for the help.
<j_mcnally> What versions of readline are supported currently? I saw a bug about 6.3 not being supported in 6.3 being supported, what version should i have installed?
<xybre> Noob101: its not a big deal as long as your job description makes sense.
nateberkopec has joined #ruby
<noob101> Computer engineering doesn't lay below engineering technologies I guess.
francisfish has quit [Remote host closed the connection]
<noob101> xybre: Oh ok np. I will eat now, thanks for telling me.
libsys has quit [Ping timeout: 245 seconds]
<Georg3> anyone use vim on mac?
<jhass> j_mcnally: that was a build system issue and is fixed in the latest releases of 2.0 and 2.1
djbkd has quit [Remote host closed the connection]
<j_mcnally> hmmm im using ruby-install
jahkobi has quit [Quit: jahkobi]
qhartman has joined #ruby
Bira_ has quit [Remote host closed the connection]
timgauthier has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Shidash has quit [Ping timeout: 272 seconds]
<AntelopeSalad> et09: what's with this , addLinkUnderRoute(link.attributes['href'], link.inner_text, @vidresr, j+1) if !link.attributes['href'].to_s.include?("ocw.mit.edu") && if !link.inner_text.include?(/itunes/i)
<AntelopeSalad> && if !...
<et09> u just found it at the same time as me i think
segmond has joined #ruby
<xybre> Noob101: np
<et09> inside Session Activites when?
<xybre> Georg3: Lotsa people.
<AntelopeSalad> you have a few of them in that group
<AntelopeSalad> as soon as i put it into rubymine it said i was on drugs
autonomousdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<et09> something in that block is wrong... it ?'s out when i copy and paste it in the editor
jahkobi has joined #ruby
<Georg3> xybre: I was just curious if by default the configuration files and vimrc was supposed to install to ~/usr/share ?
<xybre> AntelopeSalad: that code.. my eyes..
<AntelopeSalad> then notified me of that section
<et09> xybre: it's meant to be for me only ;)
<et09> which turned out great
chrstphrhrt has quit [Quit: chrstphrhrt]
autonomousdev has joined #ruby
lemur has joined #ruby
Bira has joined #ruby
<xybre> Georg3: I'm using MacVim via Homebrew and it only puts stuff in /usr/local/share. Did you compile it yourself?
ARCADIVS has quit [Quit: WeeChat 0.4.3]
x1337807x has joined #ruby
<zzak_> j_mcnally: yeah, try upgrading to 2.1.2
<j_mcnally> k thnx zzak_
<xybre> et09: You msut really dislike yourself :(
<Georg3> xybre: not I installed macvim through home-brew as well
enebo has quit [Quit: enebo]
<et09> it's not my fault, it's MIT's fault.
<j_mcnally> o im an idiot im using 2.1.1
<et09> unstructured HTML :(
ItSANgo_ has quit [Quit: Leaving...]
<xybre> Georg3: Hmm. Let me double check my configuration.
<Georg3> xybre: do you have vim installed? no mvim?
<j_mcnally> unstructured html?
<matkal> i have activesupport installed but Time.zone not working for me
<Georg3> xybre: vim installed alongside mvim*
<et09> yeah like <h2>section 1</h2><p>...</p>...<h2>section 2><p>...</p><p>...
Takle has quit [Remote host closed the connection]
<et09> :(
<j_mcnally> looks strucutred lol
<matkal> can anyone help with Time.zone
<xybre> Georg3: I have both (--override-system-vim). There's no ~/usr or ~/shared path on my system though.
<et09> it's not ideal for my purposes, but w/e
<et09> mostly dealt with
<j_mcnally> yeah i feel u
<Georg3> xybre: I did the same thing, you don't have a /usr/share/vim/vim73 folder on your system?>
gondalier has quit []
freerobby has quit [Quit: Leaving.]
dangerousdave has quit [Ping timeout: 240 seconds]
agent_wh1te has quit [Ping timeout: 245 seconds]
<xybre> Georg3: I do have a /usr/share/vim folder, yes, but not ~/usr...
<AntelopeSalad> et09: for fun i grepped the file, there's 36x do and 16x end
<j_mcnally> et09: is the issue u cant really be sure everything between two h2s actually relate to the original h2?
<et09> AntelopeSalad: there's each's too
nanoyak has joined #ruby
<xybre> AntelopeSalad: How the .. wat. O_o
<Georg3> xybre: duh my bad, I'm still learning the command line and vim - does ~ mean root?
RyanV has quit [Quit: Computer has gone to sleep.]
<et09> j_mcnally: no, i can. sort of.
<AntelopeSalad> 14x each
<et09> hmm.
<AntelopeSalad> 30 vs 36
<xybre> Georg3: Nope, ~ means "home" It's basically a shortcut for $HOME
<et09> there's each_with_index too
blackmesa has quit [Ping timeout: 240 seconds]
<Georg3> xybre: ah alright, well glad we have the same setup
agent_white has joined #ruby
<Georg3> xybre: thanks for checking.
<xybre> Georg3: Starting a path wit just / on its own implies "root" :)
mehlah has quit [Quit: Leaving...]
<AntelopeSalad> i don't think this approach will work hah
<Georg3> xybre: noted! =)
lemur has quit [Ping timeout: 240 seconds]
Kricir has quit [Remote host closed the connection]
<xybre> Georg3: Your own configurations should go into ~/.vimrc and ~/.vim/
djbkd has joined #ruby
<AntelopeSalad> but there's no way those if statements are legit
<et09> which if statements
<et09> oh
cpruitt has quit [Quit: cpruitt]
<et09> you're right, wtf
RyanV has joined #ruby
<xybre> et09: Did you write that code? You didn't, right?
<et09> why did i write "if" twice
<AntelopeSalad> i don't know
ARCADIVS has joined #ruby
<xybre> Okay, code drunk, refactor sober.
<AntelopeSalad> probably forgot there was a 300 character condition before it haha
<et09> phew!
<et09> fixed it
<AntelopeSalad> it was just those 2 right?
<et09> yep
<et09> thanks
<Georg3> xybre: see thats where I'm lost - I do "cd ~/" then "ls -a" and it shows a bunch of . files even .viminfo but no .vimrc and .vim...
<AntelopeSalad> np
<xybre> Georg3: Vim won't create them for you, typically.
danielpclark has quit [Ping timeout: 264 seconds]
<xybre> Georg3: the .vimrc is just a text file
<Georg3> xybre: ah ok, that's where I was messed up.
yubrew has joined #ruby
zigomir has quit [Remote host closed the connection]
mconnolly has joined #ruby
<xybre> Georg3: For instance here's what my .vimrc looks like: https://github.com/acook/config/blob/master/dotfiles/.vimrc
Rollabunna has joined #ruby
zigomir has joined #ruby
jhass is now known as jhass|off
<xybre> I commented it pretty well, so you can at least get an idea of whats going on. Soem of it is for plugins I use, and the rest you can always `:help foo` where "foo" is whatever you're not sure about.
naiyte has joined #ruby
nateberkopec has quit [Quit: Leaving...]
naiyte has quit [Max SendQ exceeded]
mconnolly has quit [Quit: mconnolly]
<xybre> (anything that starts with `let g:` is for a plugin and can be safly ignored when you're starting out)
<Georg3> xybre: interesting... alright and .vim is a folder where I can create a "colors" folder to add a different theme correct? (stock one kills my eyes)
<et09> http://i.imgur.com/IZAC3QZ.png the script generates these
<et09> cool huh
mconnolly has joined #ruby
dik_dak has quit [Remote host closed the connection]
<xybre> Georg3: Yep! Here's my .vim folder as an example: https://github.com/acook/config/tree/master/dotfiles/.vim
aniM has quit [Ping timeout: 255 seconds]
mconnolly has quit [Client Quit]
naiyte has joined #ruby
Mooneye has joined #ruby
naiyte has quit [Max SendQ exceeded]
dc has joined #ruby
<xybre> Most of my fun stuff is in "bundle" where Pathogen loads my plugins from (I'm using git submodules for that).
apeiros has quit [Remote host closed the connection]
mconnolly has joined #ruby
<Georg3> xybre: appreciate your time =) still getting a hang of all this. Slowly but surely!
naiyte has joined #ruby
mconnolly has quit [Client Quit]
apeiros has joined #ruby
naiyte has quit [Max SendQ exceeded]
<j_mcnally> thnx guys: 2.1.2 did the trick
cobakobodob has quit [Ping timeout: 255 seconds]
mconnolly has joined #ruby
<xybre> Georg3: No problem, I learn new vim stuff all the time. Pretty much if you can think of a use case, its either built in, or in a vim plugin.
jxf has quit [Ping timeout: 260 seconds]
naiyte has joined #ruby
<Georg3> xybre: ya it's just confusing like i want to install a vim theme for macvim and it wants to me also install janus: vim distribution...
yubrew has quit [Ping timeout: 264 seconds]
Mooneye is now known as Graham
zigomir has quit [Ping timeout: 255 seconds]
naiyte has quit [Max SendQ exceeded]
Rollabunna has quit [Ping timeout: 244 seconds]
Graham is now known as volatile
naiyte has joined #ruby
axl_ has left #ruby [#ruby]
naiyte has quit [Max SendQ exceeded]
volatile has left #ruby [#ruby]
naiyte has joined #ruby
dc has quit [Ping timeout: 255 seconds]
naiyte has quit [Max SendQ exceeded]
naiyte has joined #ruby
<xybre> Georg3: The theme wants Janus??
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
naiyte has quit [Max SendQ exceeded]
<Georg3> xybre: here's what I was checking out - http://astonj.com/tech/vim-for-ruby-rails-and-a-sexy-theme/
naiyte has joined #ruby
naiyte has quit [Max SendQ exceeded]
<Georg3> xybre: I guess looking at ti again it looks like it's not "required" but they recommend it.
ghr has joined #ruby
<xybre> Georg3: Oh. Yeah you can skip Janus. It's even bigger and more complex than mine.
mikepack has joined #ruby
mocfive has quit [Remote host closed the connection]
tjr9898 has quit [Remote host closed the connection]
naiyte has joined #ruby
naiyte has quit [Max SendQ exceeded]
tjr9898 has joined #ruby
stytown has quit [Quit: stytown]
naiyte has joined #ruby
<xybre> Georg3: I'd say starting out from scratch is a good way to do it, but its also good to try on bigger configurations like Janus or mine or someone else's to see how it works/looks/feels and then reverse engineer it back into your own.
mconnolly has quit [Quit: mconnolly]
naiyte has quit [Max SendQ exceeded]
lmickh has quit [Remote host closed the connection]
naiyte has joined #ruby
mconnolly has joined #ruby
shvelo has quit [Ping timeout: 240 seconds]
naiyte has quit [Max SendQ exceeded]
naiyte has joined #ruby
danielpclark has joined #ruby
thesheff17_ has joined #ruby
<Georg3> xybre: ya what I think I'm going to do is work on getting macvim setup so I can comfortably use it as an editor and go from there. maybe peek into yours and the janus config tomorrow
naiyte has quit [Max SendQ exceeded]
thesheff17 has quit [Disconnected by services]
thesheff17_ is now known as thesheff17
naiyte has joined #ruby
naiyte has quit [Max SendQ exceeded]
<Georg3> xybre: can you explain something though? In his config he has me put the small snippet after I copy the vim color file into .vim/colors into a .gvim folder
mikepack has quit [Ping timeout: 240 seconds]
<Georg3> isn't .gvim different than macvim?
ghr has quit [Ping timeout: 264 seconds]
testcore has joined #ruby
<Georg3> xybre: "~/.gvimrc.after" sorry that's what I'm talking about - will macvim read from this?
DanielI has quit [Quit: Leaving]
naiyte has joined #ruby
nanoyak has quit [Read error: Connection reset by peer]
naiyte has quit [Max SendQ exceeded]
nanoyak has joined #ruby
<xybre> Georg3: hmm, looking now
djbkd has quit [Remote host closed the connection]
tjr9898 has quit [Ping timeout: 272 seconds]
naiyte has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
naiyte has quit [Max SendQ exceeded]
mikecmpbll has quit [Quit: i've nodded off.]
danman has quit [Quit: danman]
chrstphrhrt has joined #ruby
mikepack has joined #ruby
naiyte has joined #ruby
naiyte has quit [Max SendQ exceeded]
naiyte has joined #ruby
naiyte has quit [Max SendQ exceeded]
xcv has quit [Remote host closed the connection]
naiyte has joined #ruby
naiyte has quit [Max SendQ exceeded]
Arkaniad has joined #ruby
<Georg3> xybre: I created ~/.vim/colors and added the codeschool.vim file, I just don't know if I follow his next step.
naiyte has joined #ruby
<xybre> Georg3: I think the .after bit emulates ~/.vim/after but I can't find any documentation on it
naiyte has quit [Max SendQ exceeded]
<Georg3> xybre: ok well say for now I just want macvim to use that theme, what would be my next step? I have the theme.vim inside ~/.vim/colors
naiyte has joined #ruby
naiyte has quit [Max SendQ exceeded]
<xybre> Georg3: I just put the colorscheme command in my .vimrc and it works fine. I'm not sure what the difference is. I'm kinda curious now.
jarto has joined #ruby
<xybre> the #vim guys might know.
naiyte has joined #ruby
naiyte has quit [Max SendQ exceeded]
<Georg3> xybre: agh that's right :colorscheme - alright. perfect =) - if you end up finding out what it is let me know =P
<xybre> Oh, I'm using a plugin that translate the colorscheme for terminal-vim also, so it looks nearly as nice as gvim.
freerobby has joined #ruby
naiyte has joined #ruby
naiyte has quit [Max SendQ exceeded]
<Georg3> O_o? I'm gonna save whatever that is for another day lol
mconnolly has quit [Quit: mconnolly]
<xybre> Well, colorschemes are defined typically either for Gvim or for normal Vim.
<xybre> A lot of the really nice ones are only set up for Gvim.
naiyte has joined #ruby
naiyte has quit [Max SendQ exceeded]
<Georg3> Gvim, vim and MacVim are all different correct?
<xybre> That annoyed me, so I found a plugin that makes them work for Vim too.
<benzrf> hey
<Georg3> gotchya
<benzrf> i'm using sequel
brasten has quit [Quit: brasten]
nateberkopec has joined #ruby
<benzrf> how do i check if every item in a list is a primary key of my table
naiyte has joined #ruby
<xybre> When I say "vim" I mean what yo ucan run from Terminal.app/iTerm, and Gvim I'm using as a blanket description for any GTK, MacVim, etc visual vim outside of a terminal.
<benzrf> without that many lookups
andrewlio has joined #ruby
naiyte has quit [Max SendQ exceeded]
kenneth has joined #ruby
<Georg3> xybre: ah ok, I didn't know that correlation.
<xybre> benzrf: get a list of primary keys for that table?
<xybre> benzrf: then compare?
<benzrf> seems like overkill
naiyte has joined #ruby
<benzrf> there has to be an sql way of doing that
<xybre> Cause.. uh.. how many primary keys are you going to have...
naiyte has quit [Max SendQ exceeded]
sdwrage has quit [Quit: This computer has gone to sleep]
kevind has quit [Quit: kevind]
<benzrf> not that many
<benzrf> but this is a matter of principle :p
Bira has quit [Remote host closed the connection]
<benzrf> i mean, is a value of some row's primary key
naiyte has joined #ruby
naiyte has quit [Max SendQ exceeded]
<xybre> Georg3: I make the distinction because OSx doesn't have a very good ability to title windows (Spectacle helps) so I run terminal vim inside of tmux which is much nicer for me than gvim, even though Gvim does a better job with certain rendering bits.
<Georg3> xybre: gotchya - for color scheme do i need to preface that with
naiyte has joined #ruby
<xybre> benzrf: Oh, you mean if the primary key is "ID" and the values are 1, 2, 3; given a list of 2, 3, 4 you want to see if they're all valid IDs?
<Georg3> xybre: ":" or only if I'm entering it inside vim
nanoyak has quit [Quit: Computer has gone to sleep.]
naiyte has quit [Max SendQ exceeded]
<benzrf> xybre: precisely
<xybre> Georg3: Only from inside vim, you can leave off the leading :, but I think its still valid if you put it.
mikecmpbll has joined #ruby
<benzrf> xybre: wait never mind, it would make sense to preload the list of keys anyway
<Georg3> xybre: excellent.
naiyte has joined #ruby
naiyte has quit [Max SendQ exceeded]
naiyte has joined #ruby
<benzrf> xybre: nvm im wrong, did you have something in mind?
testcore has quit [Ping timeout: 264 seconds]
naiyte has quit [Max SendQ exceeded]
<xybre> benzrf: Oh okay, took me a minute. In that case you can do a IN query with a COUNT. Like SELECT COUNT FROM table WHERE id IN (2,3,4); If the length is different than the length of your list, then they don't all match up.
<benzrf> xybre: is there a simple way to do that with Sequel or should i just write in the sql
naiyte has joined #ruby
naiyte has quit [Max SendQ exceeded]
naiyte has joined #ruby
<xybre> benzrf: There should be but I'd have to read the docs
naiyte has quit [Max SendQ exceeded]
<xybre> Georg3: Here's my setup with terminal vim: http://i.imgur.com/7fFzQtT.png
<benzrf> eh
testcore has joined #ruby
<xybre> Actually, the tmux configuration in that screenshot is old.
<Georg3> xybre: that's nice =P I got my theme working, now I already see how many more things I want to change lol
naiyte has joined #ruby
<Georg3> xybre: numbered lines, font size, font, etc.
duncannz has joined #ruby
naiyte has quit [Max SendQ exceeded]
mijicd has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: i've nodded off.]
naiyte has joined #ruby
naiyte has quit [Max SendQ exceeded]
cobakobodob has joined #ruby
<xybre> Here's the font configuration of mine: https://github.com/acook/config/blob/master/dotfiles/.vimrc#L109
<xybre> I'm using the Font Detect plugin because I use this configuration on a lot of different machines.
naiyte has joined #ruby
naiyte has quit [Max SendQ exceeded]
baroquebobcat has quit [Quit: baroquebobcat]
<Georg3> xybre: ah, does that font come default with osx?
<xybre> I think I built those Meslo fonts myself, but here's a different version of them: https://github.com/Lokaltog/powerline-fonts/tree/master/Meslo
Bira has joined #ruby
naiyte has joined #ruby
fresham has quit [Quit: fresham]
naiyte has quit [Max SendQ exceeded]
<Georg3> xybre: thank you =) oh actually I think adobe just open sourced a cool font I might check out, like source sans code or something like that
<xybre> Meslo is based off of Menlo that ships with OSX if you don't care about the dotted-zero
naiyte has joined #ruby
naiyte has quit [Max SendQ exceeded]
zorak has joined #ruby
<Georg3> xybre: ah ya nvm its "source code pro" and I'm not a big fan, I'll stick with menlo and thanks again for the input and help =)
<benzrf> i got it nvm
<xybre> The Meslo is just slightly different than Menlo and the Powerlien versions jsut include some extra Unicode glyphs for making neat statuslines.
gwb3 has joined #ruby
gwb3 has quit [Changing host]
gwb3 has joined #ruby
naiyte has joined #ruby
naiyte has quit [Max SendQ exceeded]
<Georg3> xybre: can I have vim echo it's current setting?
naiyte has joined #ruby
naiyte has quit [Max SendQ exceeded]
snath has quit [Ping timeout: 264 seconds]
naiyte has joined #ruby
naiyte has quit [Max SendQ exceeded]
danman has joined #ruby
naiyte has joined #ruby
Kricir has joined #ruby
naiyte has quit [Max SendQ exceeded]
naiyte has joined #ruby
nanoyak has joined #ruby
naiyte has quit [Max SendQ exceeded]
naiyte has joined #ruby
ItSANgo has joined #ruby
naiyte has quit [Max SendQ exceeded]
nanoyak has quit [Client Quit]
Zebroid has joined #ruby
asteve has joined #ruby
asteve has quit [Max SendQ exceeded]
naiyte has joined #ruby
codeurge has quit [Ping timeout: 245 seconds]
naiyte has quit [Max SendQ exceeded]
sdwrage has joined #ruby
asteve has joined #ruby
Bira has quit [Remote host closed the connection]
snath has joined #ruby
danman has quit [Client Quit]
naiyte has joined #ruby
<xybre> Georg3: For a single value yeh
naiyte has quit [Max SendQ exceeded]
<dorei> hello, is there some gem that would help find out from which alphabet is a given unicode character?
george2 has quit [Remote host closed the connection]
naiyte has joined #ruby
naiyte has quit [Max SendQ exceeded]
<Georg3> xybre: once again, I gotta run for a bit - but thanks again. I'm sure I'll be back later tonight =)
nanoyak has joined #ruby
naiyte has joined #ruby
djbkd has joined #ruby
codeurge has joined #ruby
Georg3 has quit [Quit: Georg3]
naiyte has quit [Max SendQ exceeded]
St_Marx has quit [Quit: Ex-Chat]
naiyte has joined #ruby
yacks has quit [Ping timeout: 245 seconds]
Zebroid has quit [Ping timeout: 264 seconds]
naiyte has quit [Max SendQ exceeded]
atmosx has quit [Remote host closed the connection]
naiyte has joined #ruby
naiyte has quit [Max SendQ exceeded]
Photism has joined #ruby
naiyte has joined #ruby
t_3212 has joined #ruby
naiyte has quit [Max SendQ exceeded]
dr0ff has joined #ruby
naiyte has joined #ruby
naiyte has quit [Max SendQ exceeded]
wald0 has quit [Ping timeout: 245 seconds]
unop_ has quit [Ping timeout: 240 seconds]
codeurge has quit [Ping timeout: 255 seconds]
naiyte has joined #ruby
_djbkd has joined #ruby
terrellt has quit [Quit: Leaving...]
r0ok has joined #ruby
danielpclark has quit [Quit: Leaving]
codeurge has joined #ruby
Darkchaos has quit [Ping timeout: 245 seconds]
ehc has quit [Quit: ehc]
RyanV has quit [Quit: Computer has gone to sleep.]