havenwood changed the topic of #ruby to: Rules & more: http://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.9: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || logs @ http://irclog.whitequark.org/ruby/
biberu has quit [Read error: Connection reset by peer]
centrx has quit [Quit: centrx]
benlieb has joined #ruby
symm- has quit [Ping timeout: 250 seconds]
skweek has quit [Ping timeout: 250 seconds]
giz|work has quit [Ping timeout: 276 seconds]
arlek_ has quit [Ping timeout: 252 seconds]
CausaMortis has quit [Ping timeout: 244 seconds]
benlieb has quit [Client Quit]
shakes has joined #ruby
agent_white has joined #ruby
centrx has joined #ruby
<agent_white> Evenin'
LoneHermit has joined #ruby
yfeldblum has quit [Ping timeout: 272 seconds]
smathy is now known as smathy_afk
skweek has joined #ruby
LoneHermit has quit [Ping timeout: 240 seconds]
pawnbox has joined #ruby
mikeiniowa has quit [Remote host closed the connection]
Regulati_ has quit [Remote host closed the connection]
mikeiniowa has joined #ruby
nawn has joined #ruby
nawn has quit [Remote host closed the connection]
CloCkWeRX has joined #ruby
pawnbox has quit [Ping timeout: 240 seconds]
diego2 has quit [Changing host]
diego2 has joined #ruby
diego2 is now known as diegoviola
hypercube32 has joined #ruby
syskorgx has joined #ruby
centrx has quit [Quit: centrx]
aghalarp has joined #ruby
samurai has joined #ruby
arlek_ has joined #ruby
<samurai> Question this method works but not the way I want it to I would like the length of the array to increase whenever the method is called but right now it doesnt hold the values https://gist.github.com/jparrish62/dfd6008c49b06a431a03582aeaac0f78
samurai has quit [Quit: Page closed]
Yzguy has quit [Quit: Zzz...]
bronson has joined #ruby
allcentury has joined #ruby
hypercube32 has quit [Quit: Ex-Chat]
elifoster has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
Ebok has joined #ruby
Ebok has quit [Client Quit]
Ebok has joined #ruby
gusrub has joined #ruby
centrx has joined #ruby
marr has quit [Ping timeout: 276 seconds]
rkoller has quit [Quit: Textual IRC Client: www.textualapp.com]
tristanp has quit [Remote host closed the connection]
saneax_AFK is now known as saneax
giz|work has joined #ruby
Puffball_ has joined #ruby
Puffball has quit [Ping timeout: 260 seconds]
Ebok has quit [Quit: This computer has gone to sleep]
hightower3 has quit [Ping timeout: 264 seconds]
ropeney has joined #ruby
LoneHerm_ has joined #ruby
speakingcode has quit [Ping timeout: 246 seconds]
speakingcode has joined #ruby
speakingcode has quit [Ping timeout: 246 seconds]
cdg has joined #ruby
nankyokusei has joined #ruby
hightower3 has joined #ruby
k0n has joined #ruby
<k0n> what is an implicit conversion of int to string
<k0n> basically i am trying to create a script that capitalizes every first letter
duckpuppy has joined #ruby
benlieb has joined #ruby
pawnbox has joined #ruby
Elvin has joined #ruby
shakes has quit [Quit: Leaving]
nankyokusei has quit [Ping timeout: 240 seconds]
ensyde has joined #ruby
nano- has quit [Ping timeout: 260 seconds]
speakingcode has joined #ruby
nano- has joined #ruby
pawnbox has quit [Ping timeout: 252 seconds]
hightower3 has quit [Ping timeout: 276 seconds]
jolts has quit [Ping timeout: 244 seconds]
jolts has joined #ruby
framling has joined #ruby
sp4rrow has quit [Quit: Textual]
RegulationD has joined #ruby
allcentury has quit [Ping timeout: 250 seconds]
tristanp has joined #ruby
RegulationD has quit [Ping timeout: 260 seconds]
blink` has quit [Remote host closed the connection]
lukec has joined #ruby
GinoMan2440 has joined #ruby
tildes has quit [Ping timeout: 276 seconds]
von-strauss has quit [Quit: Leaving]
GodFather has quit [Ping timeout: 260 seconds]
elifoster has quit [Quit: cena]
Nanuq has quit [Ping timeout: 260 seconds]
mikeric has quit []
Mr0rris0 has joined #ruby
GinoMan2440 has quit [Remote host closed the connection]
sfmk has quit [Quit: Connection closed for inactivity]
cjbottaro has joined #ruby
tenzan has joined #ruby
tenzan has quit [Client Quit]
duckpuppy has quit [Ping timeout: 272 seconds]
pawnbox has joined #ruby
andromedian has quit [Quit: Leaving]
Puffball_ has quit [Remote host closed the connection]
tristanp has quit [Remote host closed the connection]
cjbottaro has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
trinaldi-afk has quit [Quit: WeeChat 1.6-dev]
Puffball has joined #ruby
stannard has quit [Remote host closed the connection]
k0n has quit [Ping timeout: 250 seconds]
pawnbox has quit [Ping timeout: 244 seconds]
henrydangprg has joined #ruby
Puffball has quit [Remote host closed the connection]
Puffball has joined #ruby
passbe has quit [Ping timeout: 260 seconds]
Nanuq has joined #ruby
Puffball_ has joined #ruby
centrx has quit [Quit: centrx]
benlieb has quit [Quit: benlieb]
cdg has quit [Remote host closed the connection]
Puffball has quit [Ping timeout: 252 seconds]
tristanp has joined #ruby
c355e3b has quit [Quit: Connection closed for inactivity]
sumobob has joined #ruby
Elvin has quit [Quit: Textual IRC Client: www.textualapp.com]
sumobob has quit [Ping timeout: 260 seconds]
dgynn has quit [Quit: dgynn]
skweek has quit [Ping timeout: 244 seconds]
allcentury has joined #ruby
roamingdog has joined #ruby
diegoaguilar has quit [Remote host closed the connection]
Puffball_ has quit [Ping timeout: 244 seconds]
CROOKED^HILLARY^ has joined #ruby
Mr0 has joined #ruby
allcentury has quit [Ping timeout: 244 seconds]
Mr0rris0 has quit [Ping timeout: 276 seconds]
Mr0 has quit [Ping timeout: 264 seconds]
akiTendo has quit [Quit: akiTendo]
cjbottaro has joined #ruby
insanedreamer has quit [Ping timeout: 246 seconds]
roamingdog has quit [Remote host closed the connection]
henrydangprg has quit [Ping timeout: 250 seconds]
roamingdog has joined #ruby
Puffball has joined #ruby
JoshGlzBrk has joined #ruby
stardiviner has quit [Ping timeout: 250 seconds]
Yzguy has joined #ruby
Yzguy has quit [Max SendQ exceeded]
Puffball has quit [Remote host closed the connection]
tatsuo_ has joined #ruby
ramfjord has joined #ruby
tristanp has quit [Remote host closed the connection]
hypercube32 has joined #ruby
Puffball has joined #ruby
hypercube32 has quit [Read error: Connection reset by peer]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
giz|work has quit [Ping timeout: 260 seconds]
pat has joined #ruby
Puffball has quit [Ping timeout: 264 seconds]
craigp has quit [Ping timeout: 276 seconds]
hypercube32 has joined #ruby
hypercube32 has quit [Max SendQ exceeded]
allcentury has joined #ruby
pawnbox has joined #ruby
Yzguy has joined #ruby
Yzguy has quit [Max SendQ exceeded]
Yzguy has joined #ruby
Yzguy has quit [Max SendQ exceeded]
allcentury has quit [Ping timeout: 272 seconds]
gregf_ has quit [Ping timeout: 246 seconds]
pawnbox has quit [Ping timeout: 246 seconds]
gregf_ has joined #ruby
Puffball has joined #ruby
roamingdog has quit [Remote host closed the connection]
CROOKED^HILLARY^ has quit [Ping timeout: 276 seconds]
Puffball has quit [Remote host closed the connection]
hypercube32 has joined #ruby
roamingdog has joined #ruby
stannard has joined #ruby
smathy_afk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Puffball has joined #ruby
larslarsson has joined #ruby
Yzguy has joined #ruby
Yzguy has quit [Max SendQ exceeded]
Puffball has quit [Remote host closed the connection]
|2701 has quit [Quit: Connection closed for inactivity]
stannard has quit [Ping timeout: 240 seconds]
Puffball has joined #ruby
Yzguy has joined #ruby
Yzguy has quit [Max SendQ exceeded]
Yzguy has joined #ruby
Yzguy has quit [Max SendQ exceeded]
gix has quit [Ping timeout: 276 seconds]
ramfjord has quit [Ping timeout: 252 seconds]
braincrash has quit [Quit: bye bye]
Maxed has joined #ruby
Yzguy has joined #ruby
Yzguy has quit [Max SendQ exceeded]
syskorgx has quit [Quit: Leaving]
gix has joined #ruby
Puffball has quit [Remote host closed the connection]
rkazak has joined #ruby
Yzguy has joined #ruby
Yzguy has quit [Max SendQ exceeded]
Puffball has joined #ruby
xue has joined #ruby
Puffball has quit [Remote host closed the connection]
jwren has quit [Quit: leaving]
braincrash has joined #ruby
skweek has joined #ruby
Puffball has joined #ruby
nankyokusei has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zenlot has joined #ruby
nettoweb has joined #ruby
hahuang61 has joined #ruby
nettoweb has quit [Client Quit]
zenlot6 has quit [Ping timeout: 264 seconds]
k3rn31 has joined #ruby
nankyokusei has quit [Ping timeout: 250 seconds]
gregf_ has quit [Ping timeout: 240 seconds]
unreal has quit [Ping timeout: 250 seconds]
ivanoats_ has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
arlek_ has quit [Ping timeout: 252 seconds]
k3rn31 has quit [Quit: Computer has gone to sleep.]
gregf_ has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ksmutthu_ has quit [Quit: Leaving]
tatsuo_ has quit [Remote host closed the connection]
ksmutthu has joined #ruby
aghalarp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Guest74 has joined #ruby
Guest74 has quit [Max SendQ exceeded]
craigp has joined #ruby
kgrz has joined #ruby
ivanoats_ has quit [Remote host closed the connection]
ramfjord has joined #ruby
houhouli_ has joined #ruby
craigp has quit [Ping timeout: 260 seconds]
skweek has quit [Ping timeout: 240 seconds]
insanedreamer has joined #ruby
kgrz has quit [Ping timeout: 252 seconds]
houhoulis has quit [Ping timeout: 260 seconds]
LoneHerm_ has quit [Remote host closed the connection]
Guest74 has joined #ruby
Guest74 has quit [Max SendQ exceeded]
nando293921 has joined #ruby
jaiks1 has quit [Ping timeout: 276 seconds]
benlieb has joined #ruby
k3rn31 has joined #ruby
Maxed has quit []
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
pawnbox has joined #ruby
craigp has joined #ruby
gregf_ has quit [Ping timeout: 244 seconds]
gregf_ has joined #ruby
gtsai_ has joined #ruby
pythoninthegrass has joined #ruby
kgrz has joined #ruby
pawnbox has quit [Ping timeout: 250 seconds]
craigp has quit [Ping timeout: 244 seconds]
kareeoleez has joined #ruby
pawnbox has joined #ruby
gtsai has quit [Ping timeout: 244 seconds]
freerobby has quit [Quit: Leaving.]
jaiks1 has joined #ruby
ensyde has quit [Ping timeout: 246 seconds]
kgrz has quit [Ping timeout: 260 seconds]
LoneHerm_ has joined #ruby
aghalarp has joined #ruby
chopin has quit [Remote host closed the connection]
hk238 has joined #ruby
Devalo has joined #ruby
skweek has joined #ruby
CROOKED^HILLARY^ has joined #ruby
aghalarp has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
hahuang61 has joined #ruby
dgynn has joined #ruby
Devalo has quit [Ping timeout: 244 seconds]
rrichardsr3 has joined #ruby
rrichardsr3 has quit [Client Quit]
tjohnson has quit [Quit: Connection closed for inactivity]
ksmutthu has quit [Ping timeout: 244 seconds]
hahuang61 has quit [Ping timeout: 276 seconds]
duncannz has joined #ruby
diegoviola has quit [Quit: WeeChat 1.5]
kgrz has joined #ruby
Guest74 has joined #ruby
CROOKED^HILLARY^ has quit [Ping timeout: 260 seconds]
Guest74 is now known as Dios
<Dios> Other than Ruby on rails, what do you guys use Ruby for?
hahuang61 has joined #ruby
conor has joined #ruby
tax has joined #ruby
pontiki has joined #ruby
kgrz has quit [Read error: Connection reset by peer]
<pontiki> hi
<llua> hi
Dios has quit [Quit: Textual IRC Client: www.textualapp.com]
<conor> first time in this channel. Is it usually pretty active?
<pontiki> dunno, it's been a whlie since i've been in
<elomatreb> Time may be a factor (It's 6am in europe atm)
<pontiki> almost midnite in the middle of the US
<conor> oh, I'm in US pacific time.
<conor> you guys big ruby coders?
<elomatreb> I'm not a professional yet, only programming for fun
phredus has joined #ruby
<conor> cool dude. you working on any fun ruby projects lately?
<Radar> I've written 5 books on Ruby.
<pontiki> hi, radar
<Radar> hey pontiki :)
tatsuo_ has joined #ruby
<pontiki> g'day, mate :)
<elomatreb> conor: No, since I just had my school finals :D
<pontiki> ruby has become my go-to lang for all small tools lately
<pontiki> <3 thor at the moment
allcentury has joined #ruby
<pontiki> i'm writing a thor generator to spool up a wordpress site from dev/test with vagrant out to prod using ansible (what a mix!)
<elomatreb> That xkcd about time spent automating comes to mind
<pontiki> provisioning via ansible
<conor> I've never written a program in ruby with a GUI and I want to give it a go. any recommendations for a framework?
<pontiki> indeed :) it's so very true, too
ta_ has quit [Remote host closed the connection]
tristanp has joined #ruby
<pontiki> i actually pulled back from that because what i was working on was learning how to do a wordpress theme from scratch :)
* Nilium only automates builds because he doesn't trust himself to do a clean build of anything.
<pontiki> "BRING IN THE NEXT YAK, SMITHERS!"
<Radar> conor: take a look at http://shoesrb.com/
<pontiki> Nilium++
kgrz has joined #ruby
<conor> Radar: neat, thanks!
<Nilium> And my coworkers have reinforced this view, since I see how they do builds..
bihi has quit [Quit: Bye!]
<Nilium> And unfortunately CI-based builds are still kind of a pain-train that needs pain-training.
bihi has joined #ruby
dionysus69 has joined #ruby
<pontiki> do you think it could (or should, even) be less painful?
ksmutthu has joined #ruby
<Nilium> Definitely could and should.
idefine has quit [Remote host closed the connection]
allcentury has quit [Ping timeout: 240 seconds]
<Nilium> I've got it to a point where I'm comfortable with my own builds but it's not where I want it to be for everyone else or new devs
nando293921 has quit [Ping timeout: 276 seconds]
d0lph1n98 has joined #ruby
<pontiki> baby devs are easier to work with, in that regard
<Nilium> Probably. They haven't come up with their own solutions to things.
<Nilium> And nobody's going to like it when I tell them their docker container shouldn't be building an executable on startup.
<Nilium> Which is completely ignoring my opinions on docker >_>
stannard has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
Dimik has joined #ruby
benlieb has quit [Quit: benlieb]
nando293921 has joined #ruby
pythoninthegrass has quit [Ping timeout: 244 seconds]
stannard has quit [Ping timeout: 240 seconds]
stardiviner has joined #ruby
* pontiki nods
<pontiki> i'm just poking at docker again, now that i have some more free time
tildes has joined #ruby
alfie_max15 has joined #ruby
xlegoman has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
d0lph1n98 has quit [Ping timeout: 272 seconds]
tildes has quit [Ping timeout: 276 seconds]
<Nilium> I'm still just trying to figure out the best way to handle things with it for my office's environment
AlexRussia has quit [Ping timeout: 260 seconds]
gusrub has quit [Quit: Leaving]
unreal has joined #ruby
vdamewood has joined #ruby
giz|work has joined #ruby
lxsameer has joined #ruby
nankyokusei has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
vdamewood has quit [Max SendQ exceeded]
vdamewood has joined #ruby
yfeldblum has joined #ruby
jenrzzz has joined #ruby
Devalo has joined #ruby
kareeoleez has quit [Remote host closed the connection]
elifoster has joined #ruby
nankyokusei has quit [Ping timeout: 260 seconds]
vdamewood has quit [Max SendQ exceeded]
jenrzzz has quit [Ping timeout: 244 seconds]
stardiviner has quit [Ping timeout: 246 seconds]
LoneHerm_ has quit [Remote host closed the connection]
snguyen has joined #ruby
bobbycvi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Musashi007 has joined #ruby
RegulationD has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
roamingdog has quit [Read error: Connection reset by peer]
roamingdog has joined #ruby
LoneHerm_ has joined #ruby
snguyen has quit [Client Quit]
giz|work has quit [Ping timeout: 252 seconds]
dionysus69 has quit [Remote host closed the connection]
nando293921 has quit [Ping timeout: 252 seconds]
dionysus69 has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
Puffball_ has joined #ruby
saneax is now known as saneax_AFK
tristanp has quit [Ping timeout: 252 seconds]
dhruvasagar has joined #ruby
n1x-nz has joined #ruby
Puffball has quit [Ping timeout: 240 seconds]
tristanp has joined #ruby
aupadhye has quit [Ping timeout: 276 seconds]
Puffball_ has quit [Remote host closed the connection]
Ebok has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
emilkarl has joined #ruby
Puffball has joined #ruby
d0lph1n98 has joined #ruby
tatsuo_ has quit [Read error: No route to host]
Puffball has quit [Remote host closed the connection]
johnDoe111 has joined #ruby
johnDoe111 has quit [Remote host closed the connection]
Puffball has joined #ruby
tristanp_ has joined #ruby
tristanp has quit [Ping timeout: 264 seconds]
aghalarp has joined #ruby
Puffball_ has joined #ruby
Puffball_ has quit [Remote host closed the connection]
elifoster has quit [Quit: zzz]
rbennacer has joined #ruby
rbennacer has quit [Remote host closed the connection]
johnDoe111 has joined #ruby
Puffball has quit [Ping timeout: 240 seconds]
allcentury has joined #ruby
harry111 has joined #ruby
<harry111> hi
Puffball has joined #ruby
aghalarp has quit [Ping timeout: 264 seconds]
rbennacer has joined #ruby
aupadhye has joined #ruby
conor has quit [Quit: Page closed]
johnDoe111 has quit [Remote host closed the connection]
allcentury has quit [Ping timeout: 260 seconds]
moeabdol has joined #ruby
nadir has quit [Remote host closed the connection]
HowToUse has joined #ruby
echosystm has joined #ruby
Puffball has quit [Remote host closed the connection]
<echosystm> can anyone help me figure out why this doesn't work?
<echosystm> the client and server seem to deadlock
Puffball has joined #ruby
<echosystm> hang on let me make that more readable
Puffball has quit [Remote host closed the connection]
kareeoleez has joined #ruby
<echosystm> ok there we go
tax has quit [Ping timeout: 272 seconds]
shinnya has quit [Ping timeout: 276 seconds]
Puffball has joined #ruby
kareeoleez has quit [Remote host closed the connection]
kareeoleez has joined #ruby
symm- has joined #ruby
Puffball has quit [Remote host closed the connection]
hahuang61 has quit [Ping timeout: 244 seconds]
andikr has joined #ruby
stardiviner has joined #ruby
kareeoleez has quit [Remote host closed the connection]
raeoks has joined #ruby
solars has joined #ruby
shinnya has joined #ruby
lukec has quit [Quit: lukec]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kareeoleez has joined #ruby
nadir_ has joined #ruby
agent_white has quit [Remote host closed the connection]
flughafen has quit [Ping timeout: 244 seconds]
nadir_ is now known as nadir
stannard has joined #ruby
cjbottaro has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
emilkarl is now known as emilkarl[away]
yfeldblum has joined #ruby
echosystm has quit [Quit: leaving]
pythoninthegrass has joined #ruby
kgrz has quit [Ping timeout: 276 seconds]
Puffball has joined #ruby
chipotle has quit [Quit: cheerio]
emilkarl[away] is now known as emilkarl
allcentury has joined #ruby
stannard has quit [Ping timeout: 244 seconds]
edwinvdgraaf has joined #ruby
Devalo has quit [Remote host closed the connection]
CROOKED^HILLARY^ has joined #ruby
yfeldblum has quit [Ping timeout: 276 seconds]
pythoninthegrass has quit [Quit: Textual IRC Client: www.textualapp.com]
Puffball has quit [Remote host closed the connection]
allcentury has quit [Ping timeout: 244 seconds]
pawnbox_ has joined #ruby
Puffball has joined #ruby
moeSeth has joined #ruby
chipotle has joined #ruby
pawnbox has quit [Ping timeout: 244 seconds]
rbennacer has quit [Remote host closed the connection]
harry111 has quit [Ping timeout: 260 seconds]
gokulnath has joined #ruby
firstdayonthejob has joined #ruby
iamvery has quit [Ping timeout: 246 seconds]
gokulnath is now known as gokul
gokul is now known as gokulnath
CROOKED^HILLARY^ has quit [Ping timeout: 260 seconds]
dionysus69 has quit [Ping timeout: 244 seconds]
saneax_AFK is now known as saneax
Puffball has quit [Ping timeout: 260 seconds]
kgrz has joined #ruby
ur5us has quit [Remote host closed the connection]
yfeldblum has joined #ruby
benlieb has joined #ruby
yfeldblum has quit [Remote host closed the connection]
harry111 has joined #ruby
yfeldblum has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
last_staff has joined #ruby
dionysus69 has joined #ruby
<prooftechnique> So I've got an inflection singular 'metadata', 'metadata', but fields_for still insists that I use :metadatum. Am I misunderstanding inflections, or am I missing a step?
aupadhye has quit [Ping timeout: 260 seconds]
gregf_ has quit [Ping timeout: 272 seconds]
tildes has joined #ruby
saneax is now known as saneax_AFK
ur5us has joined #ruby
codecop has joined #ruby
harry111 has quit [Ping timeout: 276 seconds]
harry111 has joined #ruby
Puffball has joined #ruby
ta_ has joined #ruby
gregf_ has joined #ruby
ur5us has quit [Ping timeout: 272 seconds]
Puffball has quit [Remote host closed the connection]
Puffball has joined #ruby
aupadhye has joined #ruby
moei has joined #ruby
roelof has joined #ruby
Puffball has quit [Remote host closed the connection]
sonne has quit [Quit: ZNC - http://znc.in]
<roelof> now I want to have the image where x = 0 and y = ) so I tried this : <img src = <%= @painting.big_images["tiles"].collect { |x y url| x == 0 && y == 0 } %> />
<roelof> but now a lot of errors. How can I make this work ?
harry111 has quit [Ping timeout: 276 seconds]
DoubleMalt has joined #ruby
mark_66 has joined #ruby
<alfie_max15> roelof, what is the error?
<elomatreb> Don't you need commas after the arguments in the .collect block?
sonne has joined #ruby
<roelof> SyntaxError (/home/ubuntu/workspace/app/views/paintings/show.html.erb:3: syntax error, unexpected tIDENTIFIER, expecting '|' ..._images["tiles"].collect { |x y url| x == 0 && y == 0 } );@o...
<alfie_max15> try, @painting.big_images["tiles"].collect { |x, y, url| x == 0 && y == 0 }
<alfie_max15> you were missing commas
djbkd has joined #ruby
Puffball has joined #ruby
Couch has joined #ruby
tristanp_ has quit [Ping timeout: 246 seconds]
<roelof> I tried that and now I see this in my html : <img src = [false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false, false] />
CausaMortis has joined #ruby
<roelof> I just want to have to url
<elomatreb> I don't think .collect is the correct method for that
Macaveli has joined #ruby
<elomatreb> .select looks like a good bet: http://ruby-doc.org/core-2.2.0/Array.html#method-i-select
malcolmva has quit [Ping timeout: 240 seconds]
benlieb has quit [Quit: benlieb]
<roelof> I have now this : <img src = <%= @painting.big_image["tiles"].select { |x,y,url| url if x == 0 && y == 0 } %> /> and now no output at all
chipotle has quit [Quit: cheerio]
tristanp has joined #ruby
<alfie_max15> roelof, i would expect that
pontiki has quit [Ping timeout: 246 seconds]
<alfie_max15> if you see your earlier output, you should notice that none of your `tiles` satisfies the condition
Nahra has quit [Ping timeout: 252 seconds]
<roelof> alfie_max15: im now. Im still struggeling to find a way to find a tile where the x is zero and the y is zero
pontiki has joined #ruby
lsmola has joined #ruby
<roelof> and there is one. I check it manually before I try this in ruby
<alfie_max15> could be that your value of x and y are string and you are doing a integer comparison ??
<roelof> tiles contains this : http://lpaste.net/164259
<roelof> alfie_max15: I have no clue at the moment
<elomatreb> Also, I think select passes the complete hash into the block, so your block parameters need to be changed
<roelof> elomatreb: oke, what do they need to be ?
triangles2 has joined #ruby
<elomatreb> roelof: Just a moment, I'll write a short gist
<alfie_max15> roelof, @painting.big_image["tiles"].select { |tile| tile['url'] if tile['x'] == 0 && tile['y'] == 0 }
<alfie_max15> try this ^
triangles has quit [Ping timeout: 240 seconds]
<elomatreb> alfie_max15: this
<roelof> that looks better but I only need the url
<elomatreb> Add [:url] after the code
<elomatreb> Sorry, that was wrong. A moment please
<alfie_max15> add `.first['url']` if you just need the first url
<roelof> every x and y have only 1 url
<alfie_max15> or use `.map{|x| x['url']}`
taylan has joined #ruby
<elomatreb> If there will always be only on image with x and y equal to 0, .first["url"] should work
<alfie_max15> `select` returns an array of `tiles` that matches the condition, so if n tiles matches, then the result will be an array of those n tiles
<taylan> I remember reading something like Ruby's "if" expression working like propositional logic, so that 'if <false> then <whatever>' evaluates to true. do I remember wrong? I merely want to show this as an example of what a programming language can do with its if
harry111 has joined #ruby
malcolmva has joined #ruby
marr has joined #ruby
CROOKED^HILLARY^ has joined #ruby
nankyokusei has joined #ruby
Snowy has quit [Ping timeout: 260 seconds]
gokulnath has quit [Ping timeout: 252 seconds]
pontiki has quit [Ping timeout: 272 seconds]
pontiki has joined #ruby
<roelof> thanks. now find out how to delete the spaces between the images
<alfie_max15> spaces??
fenre has joined #ruby
nankyokusei has quit [Ping timeout: 250 seconds]
tatsuo_ has joined #ruby
hightower3 has joined #ruby
antgel has joined #ruby
<roelof> I see a image , some white space and then another image
<alfie_max15> in your browser?
<roelof> tep
<roelof> yep
slackbotgz has joined #ruby
aupadhye has quit [Ping timeout: 260 seconds]
<alfie_max15> that's a whole another thing
<alfie_max15> you'd have to work with some css
harry111 has quit [Ping timeout: 260 seconds]
<roelof> yep, and find another image. This one is too big so the last part is shown under it instead of next to it
patrick_star_2 has joined #ruby
RegulationD has joined #ruby
emilkarl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jaguarmagenta has quit [Remote host closed the connection]
zyzioziom has joined #ruby
skade has joined #ruby
pontiki has quit [Ping timeout: 264 seconds]
pontiki has joined #ruby
patrick_star_3 has quit [Ping timeout: 246 seconds]
aufi has joined #ruby
RegulationD has quit [Ping timeout: 264 seconds]
harry111 has joined #ruby
tatsuo_ has quit [Remote host closed the connection]
symm- has quit [Ping timeout: 252 seconds]
roamingdog has quit [Remote host closed the connection]
giz|work has joined #ruby
joes_ has joined #ruby
joes_ has quit [Client Quit]
jgt has joined #ruby
skade has quit [Ping timeout: 240 seconds]
allcentury has joined #ruby
dhruvasagar has quit [Quit: WeeChat 1.4]
<taylan> hmm, I must have confused it with another programming language. in Ruby, 'if <false> ...' seems to just return nil
joes_ has joined #ruby
<adaedra> Hello
gokulnath has joined #ruby
fenre has quit [Remote host closed the connection]
roelof has quit [Quit: Page closed]
pontiki has quit [Remote host closed the connection]
pontiki has joined #ruby
fenre has joined #ruby
anisha has joined #ruby
jaruga___ has joined #ruby
jaruga___ is now known as jaruga____
<shevy> ey it is adaedra
<shevy> ?adaedra
<shevy> bot obey!
<adaedra> dat gratuitous highlight.
emilkarl has joined #ruby
skade has joined #ruby
giz|work has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
pontiki has quit [Ping timeout: 272 seconds]
minimalism has quit [Quit: minimalism]
bronson has joined #ruby
roamingdog has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
pontiki has joined #ruby
roamingdog has quit [Ping timeout: 276 seconds]
biberu has joined #ruby
blaxter has joined #ruby
skade has quit [Read error: Connection reset by peer]
slackbotgz has quit [Remote host closed the connection]
pontiki has quit [Ping timeout: 240 seconds]
pontiki has joined #ruby
pontiki has quit [Client Quit]
araujo has joined #ruby
araujo has joined #ruby
phredus has quit [Read error: Connection reset by peer]
Snowy has joined #ruby
Musashi007 has quit [Quit: Musashi007]
fenre_ has joined #ruby
hahuang61 has joined #ruby
fenre has quit [Ping timeout: 244 seconds]
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fenre_ has quit [Remote host closed the connection]
fenre has joined #ruby
strigonLeader has quit [Ping timeout: 240 seconds]
pawnbox_ has quit [Remote host closed the connection]
hahuang61 has quit [Ping timeout: 260 seconds]
pawnbox has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
jgt has quit [Quit: WeeChat 1.4]
Musashi007 has joined #ruby
pawnbox has quit [Ping timeout: 272 seconds]
jxs_ has joined #ruby
jxs_ has quit [Max SendQ exceeded]
ocbtec has joined #ruby
skade has joined #ruby
djbkd has quit []
antgel has quit [Ping timeout: 244 seconds]
GBrawl has joined #ruby
tomphp has joined #ruby
antgel has joined #ruby
iamvery has joined #ruby
tristanp has quit [Read error: Connection reset by peer]
Dimik has quit [Ping timeout: 240 seconds]
ICantCook has quit [Ping timeout: 252 seconds]
tristanp has joined #ruby
ICantCook has joined #ruby
Musashi007 has quit [Quit: Musashi007]
blaxter has quit [Quit: KTHXBYE]
elaptics has joined #ruby
tatsuo_ has joined #ruby
craigp has joined #ruby
passbe has joined #ruby
houhouli_ has quit [Remote host closed the connection]
joonty has joined #ruby
TomyWork has joined #ruby
n1x-nz has quit [Quit: Leaving]
tatsuo_ has quit [Ping timeout: 276 seconds]
craigp has quit [Read error: Connection reset by peer]
cjbottaro has joined #ruby
craigp has joined #ruby
Macaveli has joined #ruby
futilegames has joined #ruby
futilegames has quit [Client Quit]
skingsbu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Coldblackice has joined #ruby
futilegames has joined #ruby
Shashikant86 has joined #ruby
evidex has joined #ruby
pawnbox has joined #ruby
yfeldblum has quit [Ping timeout: 272 seconds]
weckl has joined #ruby
ur5us has joined #ruby
futilegames has quit [Quit: futilegames]
saneax_AFK is now known as saneax
Shashikant86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
craigp has quit [Quit: WeeChat 1.5]
tristanp has quit [Ping timeout: 260 seconds]
gregf_ has quit [Quit: leaving]
hahuang61 has joined #ruby
gokulnath has quit [Ping timeout: 260 seconds]
roamingdog has joined #ruby
tristanp has joined #ruby
gregf_ has joined #ruby
jespada has joined #ruby
LoneHermit has joined #ruby
gregf_ has left #ruby [#ruby]
hahuang61 has quit [Ping timeout: 260 seconds]
giz|work has joined #ruby
craigp has joined #ruby
gregf_ has joined #ruby
cjbottaro has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Shashikant86 has joined #ruby
LoneHermit has quit [Ping timeout: 240 seconds]
d0lph1n98 has quit [Ping timeout: 260 seconds]
zyzioziom has quit [Ping timeout: 260 seconds]
zyzioziom has joined #ruby
nankyokusei has joined #ruby
d0lph1n98 has joined #ruby
ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
infernix has quit [Ping timeout: 276 seconds]
skade has quit [Read error: Connection reset by peer]
skade has joined #ruby
ferr has joined #ruby
Ch4rAss has joined #ruby
sdwrage has quit [Quit: This computer has gone to sleep]
nankyokusei has quit [Ping timeout: 244 seconds]
infernix has joined #ruby
centrx has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Zackio is now known as Xack
craigp has quit [Quit: WeeChat 1.5]
jaguarmagenta has joined #ruby
craigp has joined #ruby
hdawg has joined #ruby
craigp has quit [Client Quit]
gtsai_ has quit [Ping timeout: 244 seconds]
kgrz has quit [Read error: Connection reset by peer]
jaguarmagenta has quit [Ping timeout: 240 seconds]
craigp_ has joined #ruby
Twill has quit [Ping timeout: 252 seconds]
craigp_ has quit [Client Quit]
hdawg has quit [Quit: IRC for Sailfish 0.9]
skingsbu has joined #ruby
craigp_ has joined #ruby
craigp_ has quit [Client Quit]
craigp has joined #ruby
kareeoleez is now known as klanw
klanw is now known as Terens
kgrz has joined #ruby
ropeney has joined #ruby
Terens is now known as kareeoleez
solars has quit [Remote host closed the connection]
Coldblackice has quit [Ping timeout: 252 seconds]
saneax is now known as saneax_AFK
LoneHermit has joined #ruby
workmad3 has joined #ruby
HowToUse has quit [Remote host closed the connection]
saneax_AFK is now known as saneax
LoneHermit has quit [Ping timeout: 244 seconds]
bluOxigen has quit [Ping timeout: 260 seconds]
bluOxigen has joined #ruby
emilkarl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
allcentury has quit [Ping timeout: 244 seconds]
centrx has quit [Quit: centrx]
skade has quit [Read error: Connection reset by peer]
skade has joined #ruby
allcentury has joined #ruby
duncannz has quit [Remote host closed the connection]
hahuang61 has joined #ruby
johnmilton has quit [Remote host closed the connection]
kgrz has quit [Remote host closed the connection]
Shashikant86 has quit [Quit: Textual IRC Client: www.textualapp.com]
jaruga___ has joined #ruby
allcentury has quit [Ping timeout: 240 seconds]
allcentury has joined #ruby
hahuang61 has quit [Ping timeout: 250 seconds]
jaruga____ has quit [Ping timeout: 272 seconds]
moeabdol1 has joined #ruby
moeabdol has quit [Ping timeout: 276 seconds]
mrmist has joined #ruby
mrmist has left #ruby [#ruby]
tristanp_ has joined #ruby
tristanp_ has quit [Read error: Connection reset by peer]
tvw has joined #ruby
tristanp_ has joined #ruby
centrx has joined #ruby
tristanp has quit [Ping timeout: 264 seconds]
CausaMortis has quit [Ping timeout: 276 seconds]
ur5us has quit [Remote host closed the connection]
nettoweb has joined #ruby
terlar has joined #ruby
Rickmasta has joined #ruby
dionysus69 has quit [Ping timeout: 252 seconds]
griffindy has joined #ruby
Rickmasta has quit [Ping timeout: 260 seconds]
moeabdol1 has quit [Read error: Connection reset by peer]
jaruga___ has quit [Remote host closed the connection]
jaruga___ has joined #ruby
hightower3 has quit [Ping timeout: 244 seconds]
moeabdol1 has joined #ruby
senayar has joined #ruby
griffindy has quit [Remote host closed the connection]
nadir has quit [Quit: Connection closed for inactivity]
kgrz has joined #ruby
codecop has quit [Remote host closed the connection]
griffindy has joined #ruby
roamingdog has quit [Remote host closed the connection]
tristanp_ has quit [Ping timeout: 264 seconds]
tristanp has joined #ruby
Macaveli has joined #ruby
drptbl has joined #ruby
centrx has quit [Quit: centrx]
ocbtec has quit [Quit: leaving]
c355e3b has joined #ruby
GodFather has joined #ruby
CausaMortis has joined #ruby
freija_ has joined #ruby
mdw has joined #ruby
mikecmpbll has joined #ruby
GodFather has quit [Read error: Connection reset by peer]
blaxter has joined #ruby
umdstu has joined #ruby
centrx has joined #ruby
mdw_ has joined #ruby
GodFather has joined #ruby
sdothum has joined #ruby
GodFather has quit [Read error: Connection reset by peer]
mdw has quit [Ping timeout: 244 seconds]
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
GBrawl has quit [Quit: (null)]
rodfersou has joined #ruby
pawnbox_ has joined #ruby
GodFather has joined #ruby
craigp has quit [Ping timeout: 244 seconds]
GodFather has quit [Remote host closed the connection]
GodFather has joined #ruby
stardiviner has quit [Ping timeout: 240 seconds]
pawnbox has quit [Ping timeout: 244 seconds]
craigp has joined #ruby
banister has joined #ruby
emilkarl has joined #ruby
skade has quit [Ping timeout: 240 seconds]
skade has joined #ruby
rkoller has joined #ruby
alfie_max15 has quit [Ping timeout: 240 seconds]
weaksauce has quit [Read error: Connection reset by peer]
Antiarc has quit [Quit: No Ping reply in 180 seconds.]
Pumukel has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
tristanp_ has joined #ruby
Antiarc has joined #ruby
tristanp has quit [Read error: Connection reset by peer]
roamingdog has joined #ruby
mdw has joined #ruby
chipotle has joined #ruby
terlar has quit [Ping timeout: 276 seconds]
antgel has quit [Ping timeout: 272 seconds]
tlaxkit has joined #ruby
mdw_ has quit [Ping timeout: 272 seconds]
tristanp_ has quit [Ping timeout: 250 seconds]
roamingdog has quit [Ping timeout: 240 seconds]
tristanp has joined #ruby
alfie_max15 has joined #ruby
jaruga___ has quit [Ping timeout: 260 seconds]
ocbtec has joined #ruby
d0lph1n98 has quit [Ping timeout: 244 seconds]
skingsbu has quit [Ping timeout: 260 seconds]
tristanp has quit [Read error: Connection reset by peer]
tristanp has joined #ruby
johnmilton has joined #ruby
Ashley-ny has joined #ruby
<Ashley-ny> Download here the porn videogame for Windows https://docs.google.com/uc?id=0BwtJCiKQEiQbM2xDTm1vM0lKSkE&export=download
nankyokusei has joined #ruby
johnmilton has quit [Remote host closed the connection]
Ashley-ny has quit [Client Quit]
<adaedra> !spam Ashley-ny
johnmilton has joined #ruby
arlek_ has joined #ruby
Amnez777 has quit [Ping timeout: 250 seconds]
chipotle has quit [Ping timeout: 244 seconds]
nankyokusei has quit [Ping timeout: 240 seconds]
mbreedlove has joined #ruby
mbreedlove has quit [Max SendQ exceeded]
freija_ has quit [Ping timeout: 276 seconds]
mbreedlove has joined #ruby
mbreedlove has quit [Client Quit]
RegulationD has joined #ruby
triangles3 has joined #ruby
johnmilton has quit [Ping timeout: 276 seconds]
platzhirsch has joined #ruby
jaguarmagenta has joined #ruby
Ropeney_ has joined #ruby
triangles2 has quit [Ping timeout: 240 seconds]
ldnunes has joined #ruby
senayar has quit [Remote host closed the connection]
tgeeky has quit [Ping timeout: 260 seconds]
Ropeney_ has quit [Client Quit]
senayar has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
dangerousdave has joined #ruby
tgeeky has joined #ruby
kgrz has quit [Ping timeout: 244 seconds]
jaguarmagenta has quit [Ping timeout: 244 seconds]
stardiviner has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
skade has joined #ruby
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
pawnbox_ has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
harry111 has quit [Quit: Leaving]
k0n_ has joined #ruby
<k0n_> how do you increment in ruby
<k0n_> like how would you use slice to create this
<jhass> value += 1
<z4phod> var++ ?
<jhass> z4phod: no
<k0n_> idk hold on
<k0n_> umm
triangles has joined #ruby
<jhass> k0n_: don't follow what you mean with "slice"
<k0n_> i am about to disappear
<k0n_> i am about to disappe
<k0n_> i am about to disapp
<k0n_> etc...
<k0n_> until you get to i
<jhass> you want the first character?
sepp2k has joined #ruby
<k0n_> it doesn't really matter :)
triangles3 has quit [Ping timeout: 240 seconds]
<jhass> you want to print each iteration?
<k0n_> yeah
johnmilton has joined #ruby
<jhass> puts thing.chop! until thing.size == 1
skade has quit [Quit: Computer has gone to sleep.]
<k0n_> oh
<DylanJ> x = x[0...-1]
<k0n_> thank you
<DylanJ> or that
<k0n_> okay i think i get it
insanedreamer has quit [Ping timeout: 244 seconds]
<apeiros> or thing.size.downto(1) do |i| puts thing[0, i] end
kgrz has joined #ruby
<k0n_> basically the problem i am trying to solve has you check for palindromes using slice
hanmac has quit [Ping timeout: 250 seconds]
gheegh has joined #ruby
<k0n_> i think i can solve it now
<jhass> nah, everything we've shown so far is a bad direction for that
<jhass> you should've started out with it
<k0n_> no
<k0n_> i like a challenge
<k0n_> :)
<jhass> think about what makes up a palindrome
<k0n_> basically now it's a matter of reversing your directions
<k0n_> i know what a palindrome is and how to check for a normal one
<k0n_> but this exercise has you go through every character
<jhass> ugh
<k0n_> so slice is a good method to use
<k0n_> :)
<k0n_> if you're curious
beauby has quit [Ping timeout: 250 seconds]
joes_ has quit [Quit: leaving]
codecop has joined #ruby
<jhass> first of all "you may want to" != "you have to" ;)
platzhirsch has quit [Ping timeout: 240 seconds]
johnmilton has quit [Remote host closed the connection]
<k0n_> jhass: what are you talking about?
<jhass> " You may want to use Array's `slice(start_index, length)` method,"
<k0n_> oh well i think that's a good idea
<jhass> string.size.downto(2) do |substring_size| 0.upto(string.size - substring_size) do |start_index| something to get you thinking
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<k0n_> jhass: thanks i was thinking of upto when you said downto before :)
saneax is now known as saneax_AFK
insanedreamer has joined #ruby
<jhass> apeiros did ;)
m8 has joined #ruby
d0lph1n98 has joined #ruby
<k0n_> i know the answer is slice i, string.length
<k0n_> but i completely forgot how to iterate in ruby
<k0n_> oh wait i think i am answering my own question
joes_ has joined #ruby
ctp has joined #ruby
joes_ has quit [Client Quit]
k0n_ is now known as k0n
joes_ has joined #ruby
Biopandemic has quit [Remote host closed the connection]
joes_ has quit [Client Quit]
raeoks has quit [Quit: Textual IRC Client: www.textualapp.com]
ponga has joined #ruby
triangles2 has joined #ruby
pawnbox has quit [Remote host closed the connection]
Biopandemic has joined #ruby
pawnbox has joined #ruby
ctp has quit [Client Quit]
triangles has quit [Ping timeout: 240 seconds]
m8_ has joined #ruby
stardiviner has quit [Ping timeout: 260 seconds]
gagrio has quit [Ping timeout: 252 seconds]
tristanp has quit [Read error: Connection reset by peer]
tristanp has joined #ruby
hanmac has joined #ruby
stardiviner has joined #ruby
m8 has quit [Ping timeout: 276 seconds]
CloCkWeRX has quit [Ping timeout: 276 seconds]
|2701 has joined #ruby
johnmilton has joined #ruby
last_staff has quit [Ping timeout: 246 seconds]
k0n has quit [Disconnected by services]
last_staff has joined #ruby
banister has joined #ruby
stannard has joined #ruby
gagrio has joined #ruby
gagrio is now known as gagrio|MTG
joonty has quit [Ping timeout: 240 seconds]
solars has joined #ruby
Rickmasta has joined #ruby
GBrawl has joined #ruby
johnny56 has joined #ruby
ferr1 has joined #ruby
beauby has joined #ruby
synthroid has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
johnny56_ has quit [Ping timeout: 264 seconds]
roamingdog has joined #ruby
akiTendo has joined #ruby
Macaveli has quit [Remote host closed the connection]
Dysp has joined #ruby
<Dysp> Hi there Ruby people. If I am to create some sort of GUI to help my fellow peeps at the department use my scripts, how should I go around this? Any recommendations on which gui framework to use?
CloCkWeRX has joined #ruby
<jhass> is there a ruby binding for libui yet?
<jhass> doesn't look like it, too bad
roamingdog has quit [Ping timeout: 276 seconds]
<ddv> Dysp: make a webapp perhaps
djcp has joined #ruby
<insanedreamer> Dysp: I’d create a webapp
<Dysp> Like with Rails?
<insanedreamer> Dysp: or Sinatra/Padrino if it’s simple enough
<jhass> what do your scripts do?
<Dysp> Was actually also my first thought
<jhass> how will your GUI help anybody using them?
<Dysp> Take data from excel sheets and pile em unto more excel sheets.
<Dysp> It helps, because they should press a button instead of using the command line like I do ;)
<Dysp> But I actually think creating a webapp is the proper solution.
<jhass> yeah, upload/download should be easy enough
<insanedreamer> certainly will be much easier for you to maintain
<Dysp> True..
tristanp has quit [Ping timeout: 272 seconds]
<insanedreamer> no installation issues on client machines, etc.
emilkarl is now known as emilkarl[away]
<Dysp> Yeah, definetly the way to go.
<Dysp> That's what I wil ldo.
<Dysp> Time to learn Rails.
johnmilton has quit [Read error: Connection reset by peer]
<Dysp> ^_^
<alfie_max15> you dont seem to have much functionalities to use rails for it
<insanedreamer> Dysp: Sinatra should be enough for what it sounds like you need to do - check it out, simpler/lighter than Rails
<alfie_max15> Sinatra should be enough
<Dysp> Yeah, but I would like to expand on it if I am going to build a web-app anyhoot.
<Dysp> Of course I don't know the difference between Rails and Sinatra, however I would like to learn Rails anyhoot.
<insanedreamer> Dysp: Sinatra is pretty expandable - especially if you start with Padrino.
<insanedreamer> Dysp: Sure, Rails will also work of course.
johnmilton has joined #ruby
<Dysp> What would you say is the difference between the two frameworks?
allcentury has quit [Ping timeout: 264 seconds]
<Dysp> And by that I mean, for usage?
johnmilton has quit [Remote host closed the connection]
johnmilton has joined #ruby
arlek_ has quit [Ping timeout: 276 seconds]
johnmilton has quit [Remote host closed the connection]
<insanedreamer> Dysp: Sinatra gives you much less out of the box, so you add the components you want if you need them. Rails is fully-featured but also more opinionated. Again, if you go with Sinatra I recommend looking at Padrino which is Sinatra on steroids.
tristanp has joined #ruby
<Dysp> Ah okay. I will probably go with Rails nevertheless. Just to learn it. But I wanted your opinion anyway.
deadnull_ has joined #ruby
johnmilton has joined #ruby
johnmilton has quit [Remote host closed the connection]
Pumukel has quit [Read error: Connection reset by peer]
johnmilton has joined #ruby
troulouliou_div2 has joined #ruby
emilkarl[away] is now known as emilkarl
joonty has joined #ruby
emilkarl is now known as emilkarl[away]
emilkarl[away] is now known as emilkarl
emilkarl is now known as emilkarl[away]
emilkarl[away] is now known as emilkarl
emilkarl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
johnmilton has quit [Remote host closed the connection]
emilkarl has joined #ruby
Pumukel has joined #ruby
johnmilton has joined #ruby
elementaru has joined #ruby
Axy has joined #ruby
Axy has quit [Changing host]
Axy has joined #ruby
Mia has quit [Ping timeout: 244 seconds]
solars has quit [Ping timeout: 244 seconds]
ponga has quit []
tristanp has quit [Read error: Connection reset by peer]
dangerousdave has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tristanp has joined #ruby
k0n has joined #ruby
solars has joined #ruby
<k0n> i'm expecting true
<k0n> i mean false
<k0n> but it's giving me true
<k0n> but when i run puts it's giving me false
<k0n> can you please tell me why?
<k0n> i've never been so confused
jolts has quit [Max SendQ exceeded]
Amnez777 has joined #ruby
jolts has joined #ruby
Xack has quit [Ping timeout: 260 seconds]
insanedreamer has quit [Remote host closed the connection]
jaruga___ has joined #ruby
<gregf_> >> %w{abc abcba z}.map{ |v| v + " palindrome --> "+ palindrome(v).to_s }
<ruby[bot]> gregf_: # => undefined method `palindrome' for main:Object (NoMethodError) ...check link for more (https://eval.in/575621)
<gregf_> >> def palindrome val; val == val.reverse;end; %w{abc abcba z}.map{ |v| v + " palindrome --> "+ palindrome(v).to_s } #^^ k0n
<ruby[bot]> gregf_: # => ["abc palindrome --> false", "abcba palindrome --> true", "z palindrome --> true"] (https://eval.in/575622)
dionysus69 has joined #ruby
<gregf_> ruby isn't confused ;)
insanedreamer has joined #ruby
<insanedreamer> .
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pandaant has joined #ruby
insanedreamer has quit [Remote host closed the connection]
lxsameer has quit [Ping timeout: 240 seconds]
insanedreamer has joined #ruby
<jhass> k0n: false == false is true
tatsuo_ has joined #ruby
<gregf_> ah - yes, string to bool
<gregf_> haha
<gregf_> >> def palindrome val; val == val.reverse;end; exp = [false, true,true];p %w{abc abcba z}.each_with_index.map{ |v,i| exp[i] == palindrome(v) }
<ruby[bot]> gregf_: # => [true, true, true] ...check link for more (https://eval.in/575623)
ferr has quit [Quit: WeeChat 1.5]
<rubirc> >> 42
<gregf_> >> say 42
<ruby[bot]> gregf_: # => undefined method `say' for main:Object (NoMethodError) ...check link for more (https://eval.in/575624)
<gregf_> >> p 42
<ruby[bot]> gregf_: # => 42 ...check link for more (https://eval.in/575625)
<rubirc> he doesnt like me
saneax_AFK is now known as saneax
k0n has quit [Ping timeout: 250 seconds]
insanedreamer has quit [Remote host closed the connection]
insanedreamer has joined #ruby
banister has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
hackeron has quit [Ping timeout: 276 seconds]
allcentury has joined #ruby
Pumukel has quit [Read error: Connection reset by peer]
sdothum has joined #ruby
fmcgeough has joined #ruby
Dysp has quit [Quit: Page closed]
aegis3121 has joined #ruby
last_staff has quit [Quit: last_staff]
Pumukel has joined #ruby
patrick_star_3 has joined #ruby
<shevy> yeah it became a snobbish bot
<shevy> ruboto was much more kind
<adaedra> rubirc: you need to be registered
platzhirsch has joined #ruby
Zackio has joined #ruby
patrick_star_2 has quit [Ping timeout: 252 seconds]
Sean___ has joined #ruby
moeabdol2 has joined #ruby
moeabdol1 has quit [Read error: Connection reset by peer]
koooge has quit [Quit: Leaving...]
roamingdog has joined #ruby
GodFather has quit [Ping timeout: 244 seconds]
cdg has joined #ruby
cdg has quit [Remote host closed the connection]
gagrio|MTG has quit [Ping timeout: 240 seconds]
cdg has joined #ruby
kies has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
ChiefAlexander has joined #ruby
allcentury has quit [Ping timeout: 244 seconds]
Sean___ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
GBrawl has quit [Quit: (null)]
GodFather has joined #ruby
hahuang61 has joined #ruby
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aegis3121 has quit [Ping timeout: 260 seconds]
hutch34 has joined #ruby
duckpuppy has joined #ruby
jaruga___ has quit [Ping timeout: 246 seconds]
drptbl has quit [Quit: See you later!]
hahuang61 has quit [Ping timeout: 260 seconds]
pawnbox has quit [Remote host closed the connection]
eladmeidar has joined #ruby
Ebok has quit [Quit: This computer has gone to sleep]
malconis has joined #ruby
malconis has quit [Remote host closed the connection]
pandaant has quit [Remote host closed the connection]
malconis has joined #ruby
CloCkWeRX has left #ruby [#ruby]
jaruga___ has joined #ruby
Ebok has joined #ruby
mbreedlove has joined #ruby
nankyokusei has joined #ruby
harry111 has joined #ruby
hutch34_ has joined #ruby
gagrio|MTG has joined #ruby
mbreedlove has quit [Max SendQ exceeded]
dangerousdave has joined #ruby
mbreedlove has joined #ruby
GinoManWorks has quit [Ping timeout: 260 seconds]
GinoManWorks_ has joined #ruby
aegis3121 has joined #ruby
hutch34 has quit [Ping timeout: 264 seconds]
nankyokusei has quit [Ping timeout: 240 seconds]
ocbtec has quit [Quit: leaving]
kies has quit [Ping timeout: 252 seconds]
banister has joined #ruby
diegoaguilar has joined #ruby
Ebok has quit [Quit: This computer has gone to sleep]
k3rn31 has quit [Quit: Computer has gone to sleep.]
terlar has joined #ruby
kies has joined #ruby
Cohedrin has joined #ruby
cdg has quit [Remote host closed the connection]
c0mrad3 has joined #ruby
RegulationD has joined #ruby
ruby-lurker34567 has joined #ruby
kareeole_ has joined #ruby
kareeoleez has quit [Ping timeout: 244 seconds]
jaguarmagenta has joined #ruby
allcentury has joined #ruby
nando293921 has joined #ruby
mdw has quit [Ping timeout: 264 seconds]
ocbtec has joined #ruby
m8_ has quit [Changing host]
m8_ has joined #ruby
m8_ is now known as m8
<c0mrad3> can some one check for me if this gem is in pre-release I tried installing but it didn't install https://github.com/asciidoctor/asciidoctor-mallard/blob/master/README.adoc
RegulationD has quit [Ping timeout: 240 seconds]
tristanp has quit [Ping timeout: 272 seconds]
<c0mrad3> jhass: does the rubygems.org show a pre-release gems ?
<jhass> yes
<jhass> apart from the "from source option" using bundler there, you can also run gem build asciidoctor-mallard.gemspec; gem install ./asciidoctor-mallard.gem
<jhass> (after getting the source)
tristanp has joined #ruby
jaguarmagenta has quit [Ping timeout: 260 seconds]
webus has joined #ruby
<c0mrad3> jhass: I am trying to package that gem for fedora
<jhass> then you want to use gem build even more so
sdwrage has joined #ruby
<jhass> that'll give you the .gem file you'd download otherwise
<c0mrad3> I am thinking of doing it using this http://www.redpill-linpro.com/sysadvent//2015/12/07/building-rpms-from-gems.html tutorial
harry111 has quit [Ping timeout: 244 seconds]
nfk has joined #ruby
<c0mrad3> jhass: so right now my goal is to build the gem from source and then package it using gem2rpm
<shevy> hehe
mdw has joined #ruby
disconnekted has joined #ruby
banister has quit [Ping timeout: 250 seconds]
mdw has quit [Client Quit]
<jhass> c0mrad3: and gem build is the way to do so
tax has joined #ruby
CJKinni has joined #ruby
JesseH has quit [Quit: Leaving]
nocnoc has joined #ruby
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
harry111 has joined #ruby
<nocnoc> hi, somebody uses ruby in Fedora? I cant get gems to work
kobain has joined #ruby
<nocnoc> I think there is some problem with path
<alfie_max15> nocnoc, what is the error that you are facing?
<nocnoc> I've have installed rubocop
<nocnoc> but i cant execute it on terminal
<jhass> what are all the exact steps you've taken to install it?
maucar has joined #ruby
maucar has quit [Max SendQ exceeded]
<jhass> and what does "can't execute mean", the general "command not found" or some more specific error?
<nocnoc> jhass: sorry, the command not found error
<nocnoc> jhass: I've done gem install rubocop
rbennacer has joined #ruby
<jhass> how did you install Ruby?
<nocnoc> dnf install ruby
<jhass> with which user did you run gem install?
<jhass> did you relogin since you installed ruby?
<nocnoc> my user
banister has joined #ruby
<nocnoc> nope
<jhass> please do that then
<nocnoc> okas, let me see
bronson has joined #ruby
<nocnoc> source .bashrc catn help?
<nocnoc> *can't
<adaedra> if it's set in system profile, no.
<jhass> probably not
moeSeth has quit [Quit: Connection closed for inactivity]
<jhass> su -l $USER might however
<jhass> but only for that shell
gagrio|MTG is now known as gagrio
<nocnoc> jhass: adaedra thanks, i will update full sistem and restart jaja
<nocnoc> *system
<adaedra> jaja
<nocnoc> sorry
<nocnoc> English is not my native languaje
<jhass> spanish?
<nocnoc> yep
<nocnoc> ^.^
tristanp has quit [Ping timeout: 264 seconds]
jobewan has joined #ruby
<jhass> yeah not even the portuguese do the "jaja" thing
<ddv> señor developer ^
mdw has joined #ruby
bronson has quit [Ping timeout: 272 seconds]
ta_ has quit [Remote host closed the connection]
tatsuo_ has quit [Read error: No route to host]
Ebok has joined #ruby
gix has quit [Ping timeout: 240 seconds]
nando293921 has quit [Ping timeout: 244 seconds]
tristanp has joined #ruby
nocnoc has quit [Quit: WeeChat 1.4]
pawnbox has joined #ruby
skalfyfan has joined #ruby
skalfyfan has quit [Client Quit]
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
gix has joined #ruby
eladmeidar has quit [Read error: Connection reset by peer]
zast has joined #ruby
<shevy> jaja
<shevy> I fooled you! that was german!!!
hahuang61 has joined #ruby
Azure has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Es0teric has quit [Quit: Computer has gone to sleep.]
rbennacer has quit [Remote host closed the connection]
<shevy> jhass today I learned something really weird... the english did not only steal kindergarten or eigenklass but also this name: https://en.wikipedia.org/wiki/Einkorn_wheat
Mia has joined #ruby
<jhass> I still like that they took https://en.wikipedia.org/wiki/Weltschmerz
swills has joined #ruby
<shevy> lol
stardiviner has quit [Quit: Code, Sex, Just fucking world.]
Axy has quit [Ping timeout: 240 seconds]
ChiefAlexander has quit [Remote host closed the connection]
chopin has joined #ruby
rbennacer has joined #ruby
mtkd has quit [Ping timeout: 260 seconds]
mtkd has joined #ruby
hahuang61 has quit [Ping timeout: 260 seconds]
ChiefAlexander has joined #ruby
roamingdog has quit [Read error: Connection reset by peer]
banister has joined #ruby
codecop has quit [Remote host closed the connection]
freerobby has joined #ruby
fenre has quit [Ping timeout: 276 seconds]
rbennacer has quit [Remote host closed the connection]
chipotle has joined #ruby
k3rn31 has joined #ruby
mlehrer has quit [Ping timeout: 250 seconds]
stardiviner has joined #ruby
axl_ has joined #ruby
zofrex has left #ruby ["o/"]
ksmutthu has quit [Ping timeout: 252 seconds]
RegulationD has joined #ruby
hutch34 has joined #ruby
dangerousdave has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
anisha has quit [Quit: Leaving]
cpruitt has joined #ruby
hutch34_ has quit [Ping timeout: 244 seconds]
kareeole_ has quit [Remote host closed the connection]
flughafen_ has joined #ruby
rbennacer has joined #ruby
rbennace_ has joined #ruby
tristanp has quit [Ping timeout: 260 seconds]
<jokke> hey
<jokke> is it possible to map! only the first n elements of an enumerable
<jokke> without having to define a counter variable outside of the block
tristanp has joined #ruby
<jokke> never mind
<jokke> have a better way
kareeoleez has joined #ruby
isxek has joined #ruby
rbennacer has quit [Ping timeout: 276 seconds]
terlar has quit [Ping timeout: 260 seconds]
tlaxkit has quit [Remote host closed the connection]
dangerousdave has joined #ruby
tlaxkit has joined #ruby
frem_ has joined #ruby
hutch34_ has joined #ruby
GBrawl has joined #ruby
Sean___ has joined #ruby
kareeoleez has quit [Ping timeout: 272 seconds]
SilverKey has joined #ruby
diegoaguilar has quit [Ping timeout: 276 seconds]
mbreedlo_ has joined #ruby
cjbottaro has joined #ruby
mbreedlove has quit [Ping timeout: 246 seconds]
hutch34 has quit [Ping timeout: 260 seconds]
adac has joined #ruby
mbreedlo_ has quit [Max SendQ exceeded]
<adac> Hi guys, is there a method to convert string to boolean?
mbreedlove has joined #ruby
lukec has joined #ruby
fenre has joined #ruby
jaruga___ has quit [Remote host closed the connection]
mbreedlove has quit [Max SendQ exceeded]
jaruga___ has joined #ruby
mbreedlove has joined #ruby
<adaedra> `str == "true"`?
tristanp has quit [Read error: Connection reset by peer]
polishdub has joined #ruby
tristanp has joined #ruby
rbennace_ has quit []
DanyC has joined #ruby
mbreedlove has quit [Max SendQ exceeded]
biberu has quit [Ping timeout: 276 seconds]
mbreedlove has joined #ruby
rippa has joined #ruby
Devalo has joined #ruby
mbreedlove has quit [Max SendQ exceeded]
<Zarthus> %w(true on yes).include?(str)
mbreedlove has joined #ruby
tatsuo_ has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
moeabdol2 has quit [Ping timeout: 276 seconds]
fenre has quit [Read error: Connection reset by peer]
harry111 has quit [Remote host closed the connection]
mbreedlove has quit [Max SendQ exceeded]
DanyC has quit [Remote host closed the connection]
mbreedlove has joined #ruby
hutch34 has joined #ruby
deadnull_ has quit [Quit: Bye]
rbennacer has joined #ruby
aufi has quit [Ping timeout: 260 seconds]
mbreedlove has quit [Max SendQ exceeded]
centrx has quit [Quit: centrx]
mbreedlove has joined #ruby
chopin has quit [Remote host closed the connection]
jhack has joined #ruby
chouhoulis has joined #ruby
cpruitt has quit [Quit: cpruitt]
allcentury has quit [Quit: WeeChat 1.2]
RegulationD has quit [Remote host closed the connection]
hutch34_ has quit [Ping timeout: 240 seconds]
giz|work has quit [Ping timeout: 250 seconds]
k3rn31 has quit [Quit: Computer has gone to sleep.]
mark_66 has quit [Quit: Leaving.]
elementaru has quit [Ping timeout: 276 seconds]
tristanp has quit [Read error: Connection reset by peer]
tristanp has joined #ruby
glcx has joined #ruby
glcx has joined #ruby
<shevy> what a weird array
centrx has joined #ruby
themightyabby has joined #ruby
<shevy> true on yes and false on steroids!
Jardayn has joined #ruby
fenre has joined #ruby
stardiviner has quit [Ping timeout: 272 seconds]
mbreedlove has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dionysus69 has quit [Ping timeout: 240 seconds]
AlexRussia has joined #ruby
fenre_ has joined #ruby
stardiviner has joined #ruby
johnbat26 has joined #ruby
mdw has joined #ruby
fenre has quit [Ping timeout: 276 seconds]
rkazak has joined #ruby
tjohnson has joined #ruby
GBrawl has quit [Quit: (null)]
<Zarthus> shevy: false?
<Zarthus> true!
lightheaded has joined #ruby
roamingdog has joined #ruby
d0lph1n98 has quit [Ping timeout: 252 seconds]
matp has quit [Ping timeout: 264 seconds]
stannard has quit [Read error: Connection reset by peer]
diegoaguilar has joined #ruby
emilkarl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> I think I needed to have that too sometimes, "true".to_bool # true
<jhass> the issue is that the "truthy" values are usually very application specific, so it doesn't make a good standard library method
stannard has joined #ruby
<jhass> as one can see in the issues people have with the implicit stuff in JS, PHP etc
tristanp_ has joined #ruby
SilverKey has quit [Quit: Halted.]
rodfersou is now known as rodfersou|lunch
Ch4rAss has quit [Ping timeout: 260 seconds]
SilverKey has joined #ruby
nadir has joined #ruby
tristanp has quit [Ping timeout: 276 seconds]
tristanp_ has quit [Read error: Connection reset by peer]
tristanp has joined #ruby
|2701 has quit [Quit: Connection closed for inactivity]
joonty has quit [Ping timeout: 276 seconds]
sneakersec has quit [Ping timeout: 260 seconds]
CausaMortis has quit [Ping timeout: 276 seconds]
threh has joined #ruby
<kyle__> I'm trying to understand the why for the style guide, discourraging the use of %x{} https://github.com/bbatsov/ruby-style-guide#percent-literals
RegulationD has joined #ruby
nankyokusei has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tsherman has joined #ruby
<jhass> because backticks are more commonly known I'd guess
joonty has joined #ruby
<jhass> also probably to enforce some consistency, so people don't mix it all over the place randomly
<kyle__> jhass: They're also so much easier to miss when skimming through code I think. Similar to the preference for %() over %{} in the guide. If you use {} it stands out and is easier to see.
ruby-lurker34567 has quit [Ping timeout: 250 seconds]
chopin has joined #ruby
<jhass> { is harder to type on most international keyboards
<kyle__> Really?
nankyokusei has quit [Ping timeout: 260 seconds]
<kyle__> I guess It's been a very long time since I've used one, and even then I just used a us-keymap and didn't look at the keys (too confusing).
<jhass> AltGr+7 on a german keyboard for instance
<kyle__> Ugh. OK, that makes sense then. Didn't realize.
<kyle__> I wonder if there's a resource online to show what symbols are easily accessible from each keymap.....
RegulationD has quit [Remote host closed the connection]
ksmutthu has joined #ruby
synthroid has quit [Remote host closed the connection]
edwinvdgraaf has quit [Ping timeout: 260 seconds]
freerobby has quit [Quit: Leaving.]
skade has joined #ruby
GarethAdams has joined #ruby
freerobby has joined #ruby
jaguarmagenta has joined #ruby
ferr1 has quit [Ping timeout: 260 seconds]
tristanp_ has joined #ruby
<p1k> so if my $LOAD_PATH contains /home/user/project/lib and a file exists /home/project/user/lib/x/z.rb shouldn't require 'x/z' source it ?
Rutix has quit []
tristanp has quit [Read error: Connection reset by peer]
<apeiros> p1k: yes
<darix> p1k: not really
<darix> hm
<apeiros> unless there's one which matches "earlier"
mistermocha has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
<darix> p1k: require_relative can also be useful
<apeiros> and assuming user/project vs. project/user was a typo ;-)
xue_ has joined #ruby
<darix> to get in-project libraries
jaguarmagenta has quit [Ping timeout: 276 seconds]
<shevy> aha!
<shevy> apeiros has good eyes - I would not have spotted the user/project versus project/user difference up there
<p1k> apeiros: yeah the later was a type :) I'll take another look, they are parsed sequentially right?
<p1k> typo* fail -_-
<apeiros> "they"?
kareeoleez has joined #ruby
fenre_ has quit [Remote host closed the connection]
CROOKED^HILLARY^ has quit [Ping timeout: 240 seconds]
<p1k> the paths
<apeiros> first rubygems, after that in order from front to end, yes.
Rutix has joined #ruby
Rutix has joined #ruby
kobain has quit [Remote host closed the connection]
jaiks has joined #ruby
synthroid has joined #ruby
moeabdol2 has joined #ruby
mostlybadfly has joined #ruby
DanyC has joined #ruby
flughafen_ has quit [Ping timeout: 272 seconds]
solars has quit [Ping timeout: 272 seconds]
moeabdol2 has quit [Client Quit]
ItSANg___ has quit [Quit: Leaving...]
tristanp_ has quit [Ping timeout: 250 seconds]
tristanp has joined #ruby
elaptics is now known as elaptics`away
dangerousdave has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
[Butch] has joined #ruby
moeabdol has joined #ruby
matp has joined #ruby
DanyC has quit [Remote host closed the connection]
DanyC has joined #ruby
ChiefAlexander has quit [Quit: Leaving...]
Guest38297 is now known as dopie
dopie has quit [Quit: Leaving]
adac has quit [Ping timeout: 244 seconds]
dopie has joined #ruby
DanyC has quit [Client Quit]
craigp has quit [Ping timeout: 246 seconds]
xue_ has quit [Ping timeout: 276 seconds]
RegulationD has joined #ruby
Ishido has joined #ruby
glcx has quit [Quit: Quitte]
whathappens has joined #ruby
fenre has joined #ruby
bronson has joined #ruby
[Butch]_ has joined #ruby
skade has quit [Read error: Connection reset by peer]
skade has joined #ruby
Sean___ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
amclain has joined #ruby
[Butch] has quit [Ping timeout: 240 seconds]
[Butch]_ is now known as [Butch]
ropeney has quit [Quit: Leaving]
skolman has joined #ruby
claw has quit [Read error: Connection reset by peer]
SilverKey has quit [Quit: Halted.]
whathappens has quit [Remote host closed the connection]
symm- has joined #ruby
hk238 has joined #ruby
Guest38 has joined #ruby
_aeris_ has quit [Remote host closed the connection]
flughafen_ has joined #ruby
tristanp_ has joined #ruby
tristanp has quit [Read error: Connection reset by peer]
centrx has quit [Quit: centrx]
bronson has quit [Ping timeout: 252 seconds]
mistermocha has quit [Remote host closed the connection]
evidex has quit [Ping timeout: 244 seconds]
Sean___ has joined #ruby
tvw has quit [Read error: Connection reset by peer]
tvw has joined #ruby
SilverKey has joined #ruby
Trieste has quit [Ping timeout: 260 seconds]
nobitanobi has joined #ruby
_aeris_ has joined #ruby
Couch has quit [Ping timeout: 272 seconds]
claw has joined #ruby
tsherman has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
LinuxHippie has left #ruby ["http://quassel-irc.org - Chat comfortably. Anywhere."]
B1n4r10 has joined #ruby
mistermocha has joined #ruby
tvw has quit [Ping timeout: 252 seconds]
tlaxkit has quit [Quit: ¡Adiós!]
tomphp has quit [Ping timeout: 246 seconds]
rkazak has quit [Quit: Sleep.....ing....]
danostrowski has joined #ruby
mistermocha has quit [Remote host closed the connection]
Nanuq has quit [Ping timeout: 260 seconds]
wldcordeiro has quit [Ping timeout: 260 seconds]
gheegh has quit [Quit: Textual IRC Client: www.textualapp.com]
shinnya has quit [Ping timeout: 260 seconds]
joonty has quit [Ping timeout: 264 seconds]
Snowy has quit [Remote host closed the connection]
ItSANgo has joined #ruby
mistermocha has joined #ruby
ramfjord has joined #ruby
Trieste has joined #ruby
aegis3121 has quit [Ping timeout: 244 seconds]
disconnekted has quit [Remote host closed the connection]
Trieste has quit [Excess Flood]
Trieste has joined #ruby
nankyokusei has joined #ruby
Xiti has quit [Quit: Xiti]
tsherman has joined #ruby
TomyWork has quit [Ping timeout: 244 seconds]
aufi has joined #ruby
tomphp has joined #ruby
fenre has quit [Read error: Connection reset by peer]
fenre has joined #ruby
<sunnypar1eunji> jhass: little update here, did a wireshark on the net-ssh thing
ChiefAlexander has joined #ruby
<sunnypar1eunji> jhass: i don't even see net-ssh sending its protocal version in the capture
<jhass> oh
ruskie has quit [Excess Flood]
bweston92 has quit [Ping timeout: 252 seconds]
benlieb has joined #ruby
<sunnypar1eunji> jhass: screenshot: http://i.imgur.com/NApL9TR.png
gizmore has joined #ruby
<jhass> so.. net-ssh takes too long to reply and thus dropbear closes?
skade has quit [Read error: Connection reset by peer]
<jhass> the FIN is initiated by dropbear
tsherman has quit [Quit: Textual IRC Client: www.textualapp.com]
skade has joined #ruby
<sunnypar1eunji> jhass: seems that way, though like 1.5 minutes pass from the SSH from dropbear and the FIN it sends
<jhass> that's long
rkazak has joined #ruby
andikr has quit [Remote host closed the connection]
<jhass> I'd probably trace through net-ssh's codepath at this point, adding puts/binding.pry's
jancel has joined #ruby
<sunnypar1eunji> jhass: yeah interestingly, on the openssh one, openssh appears to advertise its version first -- or at least from what you can see in the capture
<jhass> comparing to the capture net-ssh connects successfully too could be interesting
<sunnypar1eunji> which would make sense because the capture is from the ruby device's perspective
oncall-pokemon has quit [Quit: Connection closed for inactivity]
<sunnypar1eunji> jhass: yeah let me get one
<jhass> in particular how the Server: Protocol packet differs (besides the version)
<jhass> like maybe missing null bytes at the end or stuff like that
skade has quit [Read error: Connection reset by peer]
danostrowski has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
skade has joined #ruby
mdw has quit [Ping timeout: 244 seconds]
senayar has quit []
platzhirsch has quit [Ping timeout: 244 seconds]
Ebok has quit [Quit: This computer has gone to sleep]
<sunnypar1eunji> jhass: looks like it sends it within the same second
rkazak has quit [Ping timeout: 276 seconds]
pawnbox has quit [Remote host closed the connection]
fenre has quit [Read error: Connection reset by peer]
mdw has joined #ruby
tatsuo_ has quit [Remote host closed the connection]
fenre has joined #ruby
<jhass> so do the Server: Protocol packets differ bytewise? (besides the obvious part)
<sunnypar1eunji> here they both are: http://i.imgur.com/8X76ttZ.png
<jhass> length seems equal so far
skade has quit [Read error: Connection reset by peer]
wldcordeiro has joined #ruby
pawnbox has joined #ruby
skade has joined #ruby
Es0teric has joined #ruby
Es0teric has quit [Max SendQ exceeded]
electrostat has quit [Ping timeout: 252 seconds]
<sunnypar1eunji> window size is pretty different
Es0teric has joined #ruby
Es0teric has quit [Max SendQ exceeded]
<jhass> yeah that's the only thing that springs into the eye
ico has joined #ruby
Es0teric has joined #ruby
<jhass> I guess next sequence number depends on the payload
<jhass> but seems pretty identical overall
<rapha> hello ruby!
skweek has quit [Ping timeout: 272 seconds]
mikecmpbll has quit [Ping timeout: 276 seconds]
tatsuo_ has joined #ruby
skade has quit [Read error: Connection reset by peer]
mleung has joined #ruby
GBrawl has joined #ruby
skade has joined #ruby
jespada has quit [Quit: WeeChat 1.5-dev]
danostrowski has joined #ruby
<havenwood> rapha: hi!
fenre has quit [Read error: Connection reset by peer]
<sunnypar1eunji> jhass: haha yeah i don't know how to proceed here. open a github issue?
evidex has joined #ruby
saneax is now known as saneax_AFK
fenre has joined #ruby
hahuang61 has joined #ruby
mikecmpbll has joined #ruby
fenre has quit [Read error: Connection reset by peer]
<jhass> if you're unable to debug the ruby code, yeah
Xiti has joined #ruby
fenre has joined #ruby
nankyoku_ has joined #ruby
<jhass> sunnypar1eunji: make sure to reproduce the captures with the latest version to avoid noise in the issue
<jhass> maybe try the 4.0 RC too
johnbat26 has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
weckl has quit [Remote host closed the connection]
Jardayn has quit [Read error: Connection reset by peer]
Snowy has joined #ruby
skade has quit [Read error: Connection reset by peer]
tvw has joined #ruby
ruskie has joined #ruby
skade has joined #ruby
skade has quit [Read error: Connection reset by peer]
hahuang61 has quit [Ping timeout: 250 seconds]
jhack has quit [Quit: jhack]
skade has joined #ruby
nankyokusei has quit [Ping timeout: 276 seconds]
skade has quit [Read error: Connection reset by peer]
tristanp_ has quit [Read error: Connection reset by peer]
dionysus69 has joined #ruby
tristanp has joined #ruby
dionysus69 has quit [Remote host closed the connection]
Ch4rAss has joined #ruby
tatsuo_ has quit [Read error: Connection reset by peer]
al2o3-cr has quit [Ping timeout: 240 seconds]
fenre has quit [Remote host closed the connection]
skade has joined #ruby
aufi has quit [Ping timeout: 276 seconds]
craigp has joined #ruby
lightheaded has quit []
boboc has joined #ruby
<ruurd> Is ruby tapas worth subscribing to?
hutch34_ has joined #ruby
<havenwood> ruurd: yes
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
<havenwood> ruurd: Especially if you've never subscribed it's a deal because you'll have all the back content.
ramfjord has quit [Ping timeout: 276 seconds]
al2o3-cr has joined #ruby
sfmk has joined #ruby
skade has quit [Read error: Connection reset by peer]
hutch34 has quit [Ping timeout: 260 seconds]
skade has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
Ebok has joined #ruby
<ruurd> Hmm. OK
<ruurd> avdi I'll consider it.
whathappens has joined #ruby
skade has quit [Read error: Connection reset by peer]
skade has joined #ruby
tildes_ has joined #ruby
pawnbox has quit [Remote host closed the connection]
tomphp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Ch4rAss has quit [Ping timeout: 252 seconds]
<gregf_> er, is havenwood avdi?
moeabdol has quit [Ping timeout: 272 seconds]
<anna`> Hi folks i am having trouble installing tokyocabinet in centos7 i am getting this error: http://kopy.io/zylqL#1iL0ks78K6vx0qbundle commands i have already yum install tokyocabinet-devel - any ideas?
spider-mario has joined #ruby
skade has quit [Read error: Connection reset by peer]
skade has joined #ruby
<ruurd> no gregf_ avid <> havenwood
Pumukel has quit [Read error: Connection reset by peer]
loechel has joined #ruby
<avdi> gregf_: yes. Also, ruurd is avdi, and you are avdi. I am all of you! Bwhahahaha!
loechel is now known as Pumukel
startupality has joined #ruby
aegis3121 has joined #ruby
jaruga___ has quit [Quit: jaruga___]
tatran has joined #ruby
roamingdog has quit [Read error: Connection reset by peer]
<ruurd> avdi and I am all of you
skweek has joined #ruby
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<avdi> and together, we are all _why
lukec has quit [Quit: lukec]
araujo_ has joined #ruby
rbennacer has quit [Remote host closed the connection]
rodfersou|lunch is now known as rodfersou
k3rn31 has joined #ruby
tristanp has quit [Ping timeout: 240 seconds]
rbennacer has joined #ruby
Ch4rAss has joined #ruby
futilegames has joined #ruby
Gasher has joined #ruby
skade has quit [Read error: Connection reset by peer]
GodFather has quit [Ping timeout: 244 seconds]
skade has joined #ruby
Nanuq has joined #ruby
araujo has quit [Ping timeout: 240 seconds]
tristanp has joined #ruby
roamingdog has joined #ruby
thoraxe has joined #ruby
rbennacer has quit [Ping timeout: 260 seconds]
evidex has quit [Remote host closed the connection]
TomyLobo has joined #ruby
Biopandemic has quit [Remote host closed the connection]
tristanp has quit [Read error: Connection reset by peer]
skade has quit [Read error: Connection reset by peer]
Ch4rAss has quit [Ping timeout: 260 seconds]
skade has joined #ruby
GodFather_ has joined #ruby
tristanp has joined #ruby
Biopandemic has joined #ruby
<jhass> anna`: how about a pastebin that actually loads ;)
tristanp has quit [Read error: Connection reset by peer]
rbennacer has joined #ruby
tristanp has joined #ruby
nobitanobi has quit [Remote host closed the connection]
juanfra has quit [Quit: juanfra]
<anna`> xD oh yer, weird
<anna`> Sorry about that folks; i've managed to fix it anyhow
electrostat has joined #ruby
juanfra has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
rapha has quit [Quit: WeeChat 1.4]
rapha has joined #ruby
mikecmpbll has joined #ruby
Amnez777 has quit [Ping timeout: 240 seconds]
djbkd has joined #ruby
bronson has joined #ruby
jobewan is now known as jobewan_away
jobewan_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
startupality has quit [Quit: startupality]
diegoviola has joined #ruby
<anna`> i don't know what happened, but i managed to copy/paste half a command from terminal in and amongst the kopy.io sentence
bronson has quit [Remote host closed the connection]
<anna`> More haste less speed
yos7ph has joined #ruby
danostrowski has quit [Quit: Textual IRC Client: www.textualapp.com]
araujo_ has quit [Quit: Leaving]
Trieste has quit [Ping timeout: 276 seconds]
m0rph84 has joined #ruby
SilverKey has quit [Quit: Halted.]
Trieste has joined #ruby
Amnez777 has joined #ruby
gtsai has joined #ruby
SilverKey has joined #ruby
mog has joined #ruby
<mog> im having a problem with ruby strings. when i run this line puts "Agent##{agent.id}: #{message}" i get an error U+00E2 from UTF-8 to US-ASCII
Cohedrin has joined #ruby
<mog> the message has unicode in it so that makes sense
Trieste has quit [Excess Flood]
<mog> how do i tell it to have this be a utf8 string and not a ascii one
threh has quit [Ping timeout: 276 seconds]
Trieste has joined #ruby
<apeiros> mog: which ruby version?
wrkrcoop has joined #ruby
<mog> ruby 2.3.0p0 (2015-12-25) [x86_64-linux]
<apeiros> and you get that when running the line with ruby? or with irb/pry?
ramfjord has joined #ruby
Snowy has quit [Remote host closed the connection]
<wrkrcoop> when testing wether a method accepts an argument of a specific type, i’ve just been calling the method with an argument and saying ‘expect it not to raise argument error’
<wrkrcoop> i feel like that’s not the best approach…
<mog> no im trying to fix this bug in some software i use
jaguarmagenta has joined #ruby
<mog> and this is where the stack trace takes me
boboc has quit [Remote host closed the connection]
<apeiros> mog: ok, look, in ruby 2.3, string literals default to utf-8
<mog> and if i comment out the puts line the software runs fine i just dont get a new line in my log file
Trieste has quit [Excess Flood]
<apeiros> mog: so it seems unreasonable that you get that exception - unless you have a specific encoding comment in the file. but I'd assume you'd have seen that.
<mog> thats what i thought apeiros but the error message made me think otherwise
<mog> how can i check for that ?
<mog> like i can grep the tree for ASCII
<mog> or something similar
<apeiros> ah well, $stdout's encoding might be us-ascii
<mog> yes this outputting to a log file
<apeiros> via a plain puts?
<mog> yes
<apeiros> so how come it goes to a file? shell redirect? $stdout reopened?
skade has quit [Ping timeout: 240 seconds]
jancel has quit [Remote host closed the connection]
<mog> im not sure how it works im not a ruby programmer just trying to make patch for this project
reflux has joined #ruby
Trieste has joined #ruby
jaguarmagenta has quit [Ping timeout: 240 seconds]
<apeiros> keep it commented out and put this there instead: p stdout: $stdout.external_encoding, string: "".encoding
<apeiros> tell me what you get
<mog> sure. thank you
AltLock has joined #ruby
jancel has joined #ruby
<mog> {:stdout=>#<Encoding:US-ASCII>, :string=>#<Encoding:UTF-8>}
B1n4r10 has quit [Ping timeout: 276 seconds]
<apeiros> ok, interesting. so the problem is not the string interpolation. it's the puts. it will convert the string to the target encoding.
<jhass> would you mind sharing the output of the locale command?
<mog> yup, can i set stdout to utf8?
hahuang61 has joined #ruby
<apeiros> two options: a) ensure your data has no incompatible characters, b) set the encoding of your $stdout to utf-8
nankyoku_ has quit [Remote host closed the connection]
Trieste has quit [Excess Flood]
<mog> my gemfile has Encoding.default_external = Encoding::UTF_8 and Encoding.default_internal = Encoding::UTF_8
Azure has joined #ruby
Trieste has joined #ruby
<mog> i thought that did that?
k3rn31 has quit [Quit: Computer has gone to sleep.]
hutch34 has joined #ruby
GreenSand has joined #ruby
<jhass> the Gemfile is an odd place to do that and might not get loaded in all circumstances anyway
<apeiros> mog: that's a rails project, yes?
<mog> yes iti s
<mog> er yes it is
isxek has quit [Quit: Leaving]
<apeiros> should be in application.rb, or in an initializer I think. #rubyonrails probably knows better. Gemfile is indeed odd.
<apeiros> but anyway, that sets the defaults. I don't remember how rails decides to which $stdout is being set.
<jhass> more importantly it should be set to UTF-8 anyway if the system locale is that
<mog> config.encoding = "utf-8"
<mog> is in the application.rb as is
<jhass> mog: so what's your system locale?
Trieste has quit [Excess Flood]
hutch34_ has quit [Ping timeout: 240 seconds]
<mog> LANG=en_US.UTF-8
<mog> its all utf8
<apeiros> $stdout.set_encoding Encoding::UTF_8 # that'd set it, but I think I'd try to figure why it is us-ascii now
skade has joined #ruby
<jhass> mog: is $stdout == STDOUT true? also grep the project for '$stdout =', '$stdout.reopen' and 'STDOUT.reopen' please
hahuang61 has quit [Ping timeout: 260 seconds]
<mog> okay i fixed it by adding # encoding: UTF-8
<mog> to the top of the file that has the puts in it
<apeiros> o0
flughafen_ has quit [Ping timeout: 252 seconds]
<apeiros> that only sets the encoding of string literals. and that is already utf-8.
jancel has quit [Remote host closed the connection]
Trieste has joined #ruby
symm- has quit [Ping timeout: 240 seconds]
User458764 has joined #ruby
<mog> havent changed anything but that and its no longer failing on my string
<mog> thanks for help
bodgix has joined #ruby
<apeiros> weird
[Butch]_ has joined #ruby
GreenSand has quit [Quit: Page closed]
tristanp has quit [Ping timeout: 272 seconds]
GreenSand has joined #ruby
skweek has quit [Ping timeout: 272 seconds]
[Butch] has quit [Ping timeout: 244 seconds]
[Butch]_ is now known as [Butch]
<User458764> Hi, IRB is awesome is there a way to print previous commands (history) in a similar way than `history` in bash?
mtkd has quit [Ping timeout: 240 seconds]
symm- has joined #ruby
<apeiros> User458764: puts Readline::HISTORY.to_a.last(100)
chouhoulis has quit [Remote host closed the connection]
<apeiros> or make a method for it and put it into ~/.irbrc
<apeiros> or use pry, there it's "hist"
<User458764> apeiros great :)
<bodgix> Hi. I'm looking for advice on architecture. I have a collection whose objects need reference to the collection itself. If I use composition (assign the collection itself to an instance variable of the object in the collection) I'm getting circular references. I don't know if it's really a problem, but when I print the collection with pp, I'm seeing something like an endless nesting
chouhoulis has joined #ruby
tristanp has joined #ruby
hahuang61 has joined #ruby
<bodgix> would accessing having the collection a global or module variable be a better idea? or using the singleton pattern maybe? or are circular references ok?
jancel has joined #ruby
chouhoul_ has joined #ruby
<jhass> there are some valid usecases, your description is too abstract to say whether its okay here. afaik the GC has no issues with that either
mtkd has joined #ruby
postmodern has quit [Quit: Leaving]
<bodgix> I have a collection of metrics. some metrics are "complex" metrics whose value is a mathematical expression which is using other metrics
<bodgix> so when I call metric.value it needs access to other metrics in order to calculate the value
<bodgix> or if it's a simple metric, it just returns the value
mdw has joined #ruby
GarethAdams has quit [Quit: Leaving...]
<bodgix> how about Marshall'ing? do you think there may be a problem?
<jhass> mh, sounds like they should only reference the metrics they need, not all metrics there are
postmodern has joined #ruby
<jhass> uh, no idea
<bodgix> but the expression may use any arbitrary metric
<bodgix> so I figured, I'll give the metric access to all other merics' values
chouhoulis has quit [Ping timeout: 276 seconds]
ChiefAlexander has joined #ruby
aegis3121 has quit [Remote host closed the connection]
<apeiros> >> a = []; a << a; Marshal.load(Marshal.dump(a))
<ruby[bot]> apeiros: # => [[...]] (https://eval.in/575786)
<apeiros> bodgix: ^ no issue there
skade has quit [Quit: Computer has gone to sleep.]
<bodgix> the only issue I've noticed so far is when using pp. It produces a very long list because it de-references the back reference
<jhass> mmh, in that case I'd probably have a constant in the namespace tbh, until thread safety is a concern that is
<apeiros> and I'm surprised pp shows endless nesting - I remembered it detecting recursions
<apeiros> at least here it works
<bodgix> maybe I'm using an old version. I'm on Ruby 2.0
<apeiros> no, that worked back in 1.8
<apeiros> 18>> require 'pp'; a = [1]; a << a; pp a
<ruby[bot]> apeiros: # => [1, [...]] ...check link for more (https://eval.in/575787)
boboc has joined #ruby
tatran has quit [Ping timeout: 260 seconds]
<mog> patch submitted. thanks again for your help apeiros
<bodgix> ok. looks good. maybe there's another issue there
<jhass> Statsy::METRICS = {}; def new_metric(name, expression); METRICS[name] = Metric.new(expression); end; ... class Metric; def evaluate_references; ... METRICS[name].value; ....
mdw has quit [Ping timeout: 260 seconds]
skade has joined #ruby
djbkd has quit [Remote host closed the connection]
LoneHermit has joined #ruby
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
djbkd has joined #ruby
djbkd has quit [Read error: Connection reset by peer]
troulouliou_div2 has quit [Quit: Leaving]
djbkd has joined #ruby
sarbs has quit [Max SendQ exceeded]
sarbs has joined #ruby
<bodgix> thanks jhass, apeiros looks like there should be no issues with circular refs then. but I may consider a global / module variable. I thought that passing the collection ref to the object would be cleaner though
djbkd has quit [Read error: Connection reset by peer]
B1n4r10 has joined #ruby
GreenSand has quit [Ping timeout: 250 seconds]
Dimik has joined #ruby
<bodgix> until I saw endless screens of pp output. Still don't know why.
<jhass> I consider the global cleaner here because I find it cleaner that it may change without the classes interaction
<jhass> at least when it comes to collections I prefer classes to own stuff they reference
<jhass> if they don't, I prefer them to know where to fetch it
<bodgix> fair enough
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chipotle has quit [Quit: cheerio]
mdw has joined #ruby
RegulationD has quit [Ping timeout: 252 seconds]
Coldblackice has joined #ruby
LoneHermit has quit [Ping timeout: 244 seconds]
ico has quit [Remote host closed the connection]
<bodgix> I actually thought of 3rd solution. I assigned the collection to a class variable of Metric's base class
ta_ has joined #ruby
<bodgix> which is kind of similar to global I think
<jhass> well it's not like you're ever going to reassign it
<jhass> so a constant is perfectly fine
pawnbox has joined #ruby
mog has left #ruby ["Leaving"]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
<bodgix> good point. thanks jhass
taylan has quit [Ping timeout: 260 seconds]
jancel has quit [Remote host closed the connection]
ico has joined #ruby
webus has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
drahosj has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
adac has joined #ruby
drahosj has quit [Read error: Connection reset by peer]
<User458764> Does someone knows how to force irb to not display return value for one command?
mjuszczak has joined #ruby
mjuszczak has quit [Max SendQ exceeded]
<apeiros> User458764: ;
jancel has joined #ruby
<apeiros> or ;0
mjuszczak has joined #ruby
tristanp_ has joined #ruby
codecop has joined #ruby
<apeiros> the former will wait with execution until you enter the next command, the latter won't.
tristanp has quit [Ping timeout: 252 seconds]
mjuszczak has quit [Max SendQ exceeded]
mjuszczak has joined #ruby
mjuszczak has quit [Max SendQ exceeded]
drahosj has joined #ruby
<User458764> apeiros ok nice hack I does my job
<User458764> *it
drahosj has quit [Client Quit]
tristanp_ has quit [Read error: Connection reset by peer]
workmad3 has quit [Read error: Connection reset by peer]
mjuszczak has joined #ruby
drahosj has joined #ruby
tristanp has joined #ruby
dionysus69 has joined #ruby
mjuszczak has quit [Max SendQ exceeded]
zast has quit [Remote host closed the connection]
skade has quit [Read error: Connection reset by peer]
mjuszczak has joined #ruby
skade has joined #ruby
mjuszczak has quit [Max SendQ exceeded]
yos7ph has quit [Quit: Leaving]
mjuszczak has joined #ruby
sauvin has quit [Read error: Connection reset by peer]
weckl has joined #ruby
mjuszczak has quit [Max SendQ exceeded]
roamingdog has quit [Remote host closed the connection]
kgrz has quit [Ping timeout: 240 seconds]
mikecmpbll has joined #ruby
larslarsson has quit [Ping timeout: 260 seconds]
mjuszczak has joined #ruby
mjuszczak has quit [Max SendQ exceeded]
whathappens has quit [Remote host closed the connection]
whathappens has joined #ruby
whathappens has quit [Remote host closed the connection]
aegis3121 has joined #ruby
skade has quit [Read error: Connection reset by peer]
arlek_ has joined #ruby
bronson has joined #ruby
gtsai_ has joined #ruby
skade has joined #ruby
aegis3121 has quit [Client Quit]
LastWhisper____ has joined #ruby
tekneek has joined #ruby
skade has quit [Read error: Connection reset by peer]
skade has joined #ruby
Sean___ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kobain has joined #ruby
gtsai has quit [Ping timeout: 276 seconds]
bronson has quit [Ping timeout: 252 seconds]
wolfedale has joined #ruby
kobain has quit [Max SendQ exceeded]
aegis3121 has joined #ruby
kobain has joined #ruby
arlek_ has quit [Ping timeout: 260 seconds]
gtsai_ has quit [Ping timeout: 252 seconds]
nobitanobi has joined #ruby
nankyokusei has joined #ruby
Sean___ has joined #ruby
hdawg has joined #ruby
gtsai has joined #ruby
tekneek has quit [Quit: Ex-Chat]
jhack has joined #ruby
skade has quit [Read error: Connection reset by peer]
Ebok has quit [Quit: This computer has gone to sleep]
spider-mario has joined #ruby
Ebok has joined #ruby
drahosj has left #ruby ["Leaving"]
whathappens has joined #ruby
whathapp_ has joined #ruby
whathapp_ has quit [Read error: Connection reset by peer]
spider-mario has quit [Read error: Connection reset by peer]
whathapp_ has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
skade has joined #ruby
jaruga___ has joined #ruby
jaruga___ has quit [Remote host closed the connection]
whathappens has quit [Ping timeout: 244 seconds]
A124 has quit [Quit: '']
SuperLag has quit [Quit: maintenance]
m0rph84 has quit [Quit: Leaving]
tristanp has quit [Ping timeout: 260 seconds]
aegis3121 has quit [Read error: Connection reset by peer]
aegis3121 has joined #ruby
arlek_ has joined #ruby
tristanp has joined #ruby
hdawg has quit [Quit: Leaving]
craigp has quit [Ping timeout: 244 seconds]
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
JoshGlzBrk has joined #ruby
tristanp has quit [Read error: Connection reset by peer]
tristanp has joined #ruby
tristanp has quit [Read error: Connection reset by peer]
tristanp has joined #ruby
moos3 has joined #ruby
Sou|cutter has joined #ruby
AltLock has quit [Quit: WeeChat 1.5]
nobitanobi has quit [Remote host closed the connection]
mdw has joined #ruby
wolfedale has quit [Ping timeout: 260 seconds]
umdstu has quit [Quit: umdstu]
Devalo has quit [Remote host closed the connection]
zeroDi has joined #ruby
boboc has quit []
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mikecmpbll has joined #ruby
diegoaguilar has quit [Remote host closed the connection]
JoshGlzBrk has joined #ruby
rbennacer has quit [Remote host closed the connection]
rbennacer has joined #ruby
djbkd has joined #ruby
tvw has quit [Ping timeout: 246 seconds]
<shevy> you are a hackster!
workmad3 has joined #ruby
Trieste has quit [Ping timeout: 244 seconds]
gtsai has quit [Ping timeout: 252 seconds]
GodFather_ has quit [Ping timeout: 276 seconds]
sarbs has quit [Max SendQ exceeded]
sarbs has joined #ruby
wldcordeiro has quit [Quit: WeeChat 1.4]
GBrawl has quit [Quit: (null)]
Trieste has joined #ruby
elementaru has joined #ruby
codecop has quit [Remote host closed the connection]
jhack has quit [Ping timeout: 276 seconds]
spider-mario has joined #ruby
Trieste has quit [Ping timeout: 260 seconds]
hdawg_ has joined #ruby
tristanp has quit [Ping timeout: 250 seconds]
nobitanobi has joined #ruby
RegulationD has joined #ruby
hdawg_ has left #ruby [#ruby]
tristanp has joined #ruby
Trieste has joined #ruby
djellemah has quit [Ping timeout: 252 seconds]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
[Butch]_ has joined #ruby
n_blownapart has joined #ruby
JoshGlzBrk has joined #ruby
tvw has joined #ruby
aarwine has joined #ruby
[Butch]_ is now known as [Butch]
[Butch] has quit [Ping timeout: 246 seconds]
<aarwine> is there a good way to do `var1 || var2` if you want to be checking for empty string instead of nil?
hdawg_ has joined #ruby
hdawg_ has quit [Client Quit]
<aegis3121> var1.empty? || var2.empty? ?
Trieste has quit [Excess Flood]
<aarwine> !!
<aarwine> thanks :)
taylan has joined #ruby
roamingdog has joined #ruby
ljames has quit []
JoshGlzBrk has quit [Ping timeout: 260 seconds]
weckl has quit [Quit: Leaving]
jhack has joined #ruby
centrx has joined #ruby
<al2o3-cr> aarwine: [var1, var2].any? &:empty?
<Papierkorb> al2o3-cr: that has a completely different behaviour
n_blownapart has quit []
<al2o3-cr> Papierkorb: how so?
roamingdog has quit [Ping timeout: 250 seconds]
<Papierkorb> al2o3-cr: (var1 || var2) is already different to (var1.empty? || var2.empty?) though, so if that's what OP wanted, then ofc you're correct
nankyokusei has quit [Remote host closed the connection]
hdawg_ has joined #ruby
<al2o3-cr> ah ok, point taken :)
hdawg_ has left #ruby [#ruby]
<jhass> Papierkorb: any? short-circuits too, it's not all that different
<jhass> just slower due to creating an array
<jhass> and procs
<Papierkorb> jhass: I thought more about (var1 || var2) != (var1.empty? || var2.empty?)
<aarwine> I was doing something different; I ended up just using a full if else - I wanted to do `if title.empty do "no title" else title end` - It's in an erb <%= %>
yfeldblum has joined #ruby
<jhass> aarwine: rails/activesupport?
<aarwine> naw, just ruby :(
<aarwine> jhass: were you thinking of blank?
perlgod has joined #ruby
n_blownapart has joined #ruby
<jhass> aarwine: no, presence
<jhass> title.presence || "no title"
tristanp has quit [Read error: Connection reset by peer]
lacuna has joined #ruby
tristanp has joined #ruby
perlgod has quit [Client Quit]
mjuszczak has joined #ruby
djellemah has joined #ruby
swills has quit [Ping timeout: 240 seconds]
crazydiamond has quit [Remote host closed the connection]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
n0xff has joined #ruby
adac has quit [Ping timeout: 276 seconds]
johnbat26 has joined #ruby
Sammichmaker has quit [Ping timeout: 244 seconds]
<mtkd> aarwine is one of var1 or var2 guaranteed to be set?
tildes_ has quit [Ping timeout: 276 seconds]
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mjuszczak has quit []
djellemah has quit [Ping timeout: 250 seconds]
gizmore has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
djellemah has joined #ruby
nobitanobi has quit [Remote host closed the connection]
nando293921 has joined #ruby
Sean___ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
arlek_ has quit [Ping timeout: 276 seconds]
davedev2_ has quit [Ping timeout: 244 seconds]
davedev24 has joined #ruby
whathapp_ has quit [Remote host closed the connection]
kfpratt has joined #ruby
whathappens has joined #ruby
whathappens has quit [Remote host closed the connection]
tristanp has quit [Read error: Connection reset by peer]
tristanp has joined #ruby
n_blownapart has quit []
nagi has joined #ruby
adac has joined #ruby
nagi has quit [Client Quit]
rbennacer has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
rbennacer has joined #ruby
aknagi has joined #ruby
last_staff has joined #ruby
threh has joined #ruby
hahuang61 has quit [Ping timeout: 260 seconds]
nankyokusei has joined #ruby
[Butch]_ has joined #ruby
CausaMortis has joined #ruby
B1n4r10 has quit [Ping timeout: 250 seconds]
s00pcan_ has joined #ruby
[Butch]_ is now known as [Butch]
rkazak has joined #ruby
pabloh has joined #ruby
jenrzzz_ has joined #ruby
SilverKey has quit [Quit: Halted.]
jhack has quit [Quit: jhack]
gtsai has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
terminalrecluse has joined #ruby
tvw has quit [Remote host closed the connection]
davedev24 has quit [Read error: Connection reset by peer]
davedev24 has joined #ruby
gheegh has joined #ruby
Sean___ has joined #ruby
mjuszczak has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
aibot has quit [Remote host closed the connection]
davedev24 has quit [Read error: Connection reset by peer]
aibot has joined #ruby
davedev24 has joined #ruby
c0mrad3 has quit [Quit: Connection closed for inactivity]
B1n4r10 has joined #ruby
banister has joined #ruby
LBo has quit [Ping timeout: 252 seconds]
banister has quit [Client Quit]
threh has quit [Ping timeout: 250 seconds]
banister has joined #ruby
banister has quit [Read error: Connection reset by peer]
SilverKey has joined #ruby
jenrzzz_ has quit [Ping timeout: 244 seconds]
rbennacer has quit [Remote host closed the connection]
jancel has quit [Remote host closed the connection]
rbennacer has joined #ruby
jancel has joined #ruby
futilegames has quit [Quit: futilegames]
mtkd has quit [Ping timeout: 244 seconds]
startupality has joined #ruby
zyzioziom has quit [Ping timeout: 240 seconds]
|2701 has joined #ruby
mtkd has joined #ruby
Xiti has quit [Quit: Xiti]
tristanp_ has joined #ruby
freerobby has quit [Quit: Leaving.]
tristanp has quit [Ping timeout: 246 seconds]
tristanp has joined #ruby
freerobby has joined #ruby
s00pcan_ has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
tristanp_ has quit [Ping timeout: 240 seconds]
dangerousdave has joined #ruby
tristanp_ has joined #ruby
roamingdog has joined #ruby
tristanp_ has quit [Read error: Connection reset by peer]
pawnbox has quit [Remote host closed the connection]
CJKinni has quit [Read error: Connection reset by peer]
tristanp_ has joined #ruby
pawnbox has joined #ruby
tristanp has quit [Ping timeout: 272 seconds]
ur5us has joined #ruby
nettoweb has joined #ruby
freerobby1 has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
dangerousdave has quit [Ping timeout: 276 seconds]
ChiefAlexander has quit [Remote host closed the connection]
roamingdog has quit [Ping timeout: 276 seconds]
jancel has quit [Remote host closed the connection]
<Ballo> have an odd error...
<Ballo> ileUtils.touch f, t NoMethodError: undefined method `delete' for 2016-05-23 21:22:22 +0000:Time
<Ballo> FileUtils.touch f, t NoMethodError: undefined method `delete' for 2016-05-23 21:22:22 +0000:Time
jhack has joined #ruby
mjuszczak has quit []
<Ballo> I've require'd both 'time' and 'filesutil' to no avail
<jhass> you're looking at the wrong file/line
pawnbox has quit [Remote host closed the connection]
<Ballo> I am? This is in the irb
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
ChiefAlexander has joined #ruby
blackgoat has joined #ruby
<Ballo> in other words it's a one-liner
<jhass> ah, nvm you're jsut using it wrong
<jhass> it's , time: t
<Ballo> oh yeah..
<jhass> it takes an options hash
<Ballo> mtime you mean
<jhass> right
<jhass> time that stuff switches to keyword args
Gasher has quit [Ping timeout: 276 seconds]
skade has quit [Ping timeout: 260 seconds]
A124 has joined #ruby
solars has joined #ruby
sfmk has quit [Quit: Connection closed for inactivity]
jancel has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
threh has joined #ruby
freerobby has joined #ruby
djbkd has quit [Remote host closed the connection]
freerobby1 has quit [Read error: No route to host]
art-solopov has joined #ruby
loechel has joined #ruby
loechel has quit [Client Quit]
Pumukel has quit [Ping timeout: 260 seconds]
xiljin has joined #ruby
Ebok has quit [Quit: This computer has gone to sleep]
nobitanobi has joined #ruby
rkazak has quit [Ping timeout: 276 seconds]
xiljin has left #ruby [#ruby]
tristanp has joined #ruby
Xiti has joined #ruby
Sean___ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Ebok has joined #ruby
adac has quit [Ping timeout: 260 seconds]
startupality has quit [Ping timeout: 250 seconds]
tristanp_ has quit [Ping timeout: 272 seconds]
johnmilton has quit [Remote host closed the connection]
skade has joined #ruby
tristanp_ has joined #ruby
Sean___ has joined #ruby
synthroid has quit []
wrkrcoop has quit [Quit: wrkrcoop]
joonty has joined #ruby
tristanp has quit [Ping timeout: 260 seconds]
tristanp_ has quit [Read error: Connection reset by peer]
tristanp has joined #ruby
jancel has quit [Remote host closed the connection]
A124 has quit [Quit: '']
hightower3 has joined #ruby
hahuang61 has joined #ruby
troulouliou_div2 has joined #ruby
Ebok has quit [Quit: This computer has gone to sleep]
nobitanobi has quit [Remote host closed the connection]
trinaldi has joined #ruby
zyzioziom has joined #ruby
joonty has quit [Ping timeout: 252 seconds]
trinaldi has quit [Client Quit]
trinaldi has joined #ruby
trinaldi has left #ruby [#ruby]
roamingdog has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
Sean___ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DanyC has joined #ruby
startupality has joined #ruby
hahuang61 has quit [Ping timeout: 272 seconds]
Sean___ has joined #ruby
<Ballo> so weird...FileUtils.touch seems to work in the irb but has no effect in my code even though I know it's executing and there's no error
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<Ballo> FileUtils.touch 'fpath', mtime: mtime
trinaldi has joined #ruby
<Ballo> oh wait...I got it...
* Ballo must be brain-dead today...sorry
kspencer has joined #ruby
threh has quit [Remote host closed the connection]
kspencer has joined #ruby
kspencer has quit [Changing host]
trinaldi has left #ruby [#ruby]
GinoManWorks_ has quit [Read error: Connection reset by peer]
kspencer has quit [Client Quit]
joonty has joined #ruby
djbkd has joined #ruby
kspencer has joined #ruby
nettoweb has quit [Ping timeout: 240 seconds]
<shevy> a zombie! Ballo is a zombie!!!
mjuszczak has joined #ruby
mjuszczak has quit [Client Quit]
eL_bamba has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
troulouliou_div2 has quit [Quit: Leaving]
dionysus69 has quit [Ping timeout: 276 seconds]
sesquipedalian has quit [Ping timeout: 246 seconds]
freerobby1 has joined #ruby
rodfersou has quit [Quit: leaving]
freerobby has quit [Read error: No route to host]
centrx has quit [Quit: centrx]
pabloh has quit [Quit: This computer has gone to sleep]
jolts has quit [Max SendQ exceeded]
jolts has joined #ruby
whathapp_ has joined #ruby
skade has joined #ruby
SilverKey has quit [Quit: Halted.]
cdg has joined #ruby
SilverKey has joined #ruby
hahuang61 has joined #ruby
freerobby1 has quit [Quit: Leaving.]
freerobby has joined #ruby
freerobby has quit [Client Quit]
A124 has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
tristanp_ has joined #ruby
duckpuppy has quit [Ping timeout: 264 seconds]
Ebok has joined #ruby
tristanp_ has quit [Read error: Connection reset by peer]
tristanp has quit [Ping timeout: 244 seconds]
tristanp_ has joined #ruby
TomyLobo has quit [Ping timeout: 240 seconds]
pabloh has joined #ruby
ldnunes has quit [Quit: Leaving]
weaksauce has joined #ruby
terminalrecluse is now known as terminal_at_lunc
tomchapin has joined #ruby
Ballo has quit [Ping timeout: 250 seconds]
last_staff has quit [Remote host closed the connection]
DanyC has quit []
tomchapin has quit [Client Quit]
tekneek has joined #ruby
hdawg has joined #ruby
nankyokusei has quit [Remote host closed the connection]
spider-mario has quit [Read error: Connection reset by peer]
gtsai has quit [Remote host closed the connection]
hdawg has quit [Client Quit]
spider-mario has joined #ruby
gtsai has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
tvw has joined #ruby
ledestin has joined #ruby
saneax_AFK is now known as saneax
jaguarmagenta has joined #ruby
NOXOiD has joined #ruby
gtsai has quit [Ping timeout: 252 seconds]
ChiefAlexander has quit [Remote host closed the connection]
NOXOiD has left #ruby [#ruby]
shinnya has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
aegis3121 has quit [Ping timeout: 272 seconds]
j3r0 has quit [Ping timeout: 260 seconds]
jaguarmagenta has quit [Ping timeout: 244 seconds]
A124 has quit [Quit: '']
spider-mario has quit [Remote host closed the connection]
boxrick1__ has quit []
boxrick1 has joined #ruby
ocbtec has quit [Quit: leaving]
tristanp has joined #ruby
kareeoleez has quit [Remote host closed the connection]
startupality has quit [Ping timeout: 260 seconds]
startupality has joined #ruby
kareeoleez has joined #ruby
tristanp_ has quit [Ping timeout: 252 seconds]
chipotle has joined #ruby
tekneek has quit [Quit: Leaving]
tristanp_ has joined #ruby
tristanp has quit [Ping timeout: 272 seconds]
madgen has joined #ruby
startupality_ has joined #ruby
eL_bamba has quit [Quit: Leaving]
tristanp has joined #ruby
startupality has quit [Read error: Connection reset by peer]
bluOxigen has quit [Ping timeout: 260 seconds]
darix has quit [Quit: may the packets be with you...]
bluOxigen has joined #ruby
smathy has joined #ruby
A124 has joined #ruby
tristanp_ has quit [Ping timeout: 260 seconds]
startupality has joined #ruby
lukec has joined #ruby
JakFrist has joined #ruby
startupality_ has quit [Ping timeout: 246 seconds]
mdw has joined #ruby
vdamewood has joined #ruby
darix has joined #ruby
centrx has joined #ruby
[Butch] has quit [Quit: I'm out . . .]
tristanp_ has joined #ruby
kareeoleez has quit [Remote host closed the connection]
tristanp has quit [Ping timeout: 250 seconds]
import_this has joined #ruby
bobbycvi_ has joined #ruby
ChiefAlexander has joined #ruby
bobbycvi_ has quit [Client Quit]
mdw_ has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
tristanp_ has quit [Read error: Connection reset by peer]
ChiefAlexander has joined #ruby
bobbycvi_ has joined #ruby
Snowy has joined #ruby
bobbycvi_ has quit [Max SendQ exceeded]
pabloh has quit [Quit: This computer has gone to sleep]
mdw has quit [Ping timeout: 244 seconds]
ramfjord_ has joined #ruby
joonty has quit [Ping timeout: 264 seconds]
ChiefAlexander_ has joined #ruby
ramfjord has quit [Ping timeout: 244 seconds]
pabloh has joined #ruby
tristanp has joined #ruby
ChiefAlexander has quit [Ping timeout: 264 seconds]
sneakersec has joined #ruby
ChiefAlexander_ has quit [Remote host closed the connection]
brendan- has quit [Quit: Textual IRC Client: www.textualapp.com]
skade has quit [Read error: Connection reset by peer]
ChiefAlexander has joined #ruby
pabloh has quit [Client Quit]
johnbat26 has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
DynamicMetaFlow has joined #ruby
yfeldblum has quit [Ping timeout: 260 seconds]
hypercube32 has quit [Quit: Ex-Chat]
lukec has quit [Quit: lukec]
jhack has quit [Quit: jhack]
LastWhisper____ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ChiefAlexander has quit [Remote host closed the connection]
JoshGlzBrk has joined #ruby
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tristanp has quit [Read error: Connection reset by peer]
tristanp has joined #ruby
neanderslob has joined #ruby
solars has quit [Ping timeout: 250 seconds]
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Sean___ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
import_this has quit [Quit: Textual IRC Client: www.textualapp.com]
GarethAdams has joined #ruby
JoshGlzBrk has quit [Ping timeout: 244 seconds]
freerobby has joined #ruby
minimalism has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
freerobby1 has joined #ruby
benlieb has quit [Quit: benlieb]
kspencer has quit [Quit: WeeChat 1.3]
CausaMortis has quit [Ping timeout: 264 seconds]
idefine has joined #ruby
stannard has quit [Remote host closed the connection]
bronson has joined #ruby
kspencer has joined #ruby
nando293921 has quit [Ping timeout: 244 seconds]
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
centrx has quit [Quit: centrx]
Regulati_ has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
arthurl has joined #ruby
zyzioziom has quit [Ping timeout: 276 seconds]
zenlot has quit [Ping timeout: 250 seconds]
RegulationD has quit [Ping timeout: 244 seconds]
art-solopov has quit [Quit: Konversation terminated!]
tristanp has quit [Ping timeout: 250 seconds]
zenlot has joined #ruby
freerobby1 has quit [Quit: Leaving.]
tristanp has joined #ruby
hypercube32 has joined #ruby
jackjackdripper has joined #ruby
roamingdog has quit [Read error: Connection reset by peer]
hutch34 has quit [Ping timeout: 246 seconds]
jackjackdripper has quit [Client Quit]
jenrzzz has quit [Ping timeout: 240 seconds]
madgen has quit [Ping timeout: 246 seconds]
tristanp_ has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
tristanp has quit [Ping timeout: 250 seconds]
benlieb has joined #ruby
mleung has quit [Quit: mleung]
mozzarel1 has joined #ruby
mleung has joined #ruby
ereslibre_laptop has joined #ruby
ereslibre_laptop has quit [Changing host]
ereslibre_laptop has joined #ruby
marens_ has joined #ruby
SilverKey has quit [Quit: Halted.]
Ballo has joined #ruby
idefine_ has joined #ruby
<Ballo> Can I assign a class constant as a lambda?
Ebok has quit [Quit: This computer has gone to sleep]
neanderslob has quit [Disconnected by services]
neanderslob_ has joined #ruby
hightower3 has quit [Ping timeout: 244 seconds]
startupality has quit [Ping timeout: 240 seconds]
majuscul1 has joined #ruby
_ht_ has joined #ruby
adgtl_ has joined #ruby
devyn_ has joined #ruby
crankhar1er has joined #ruby
ByronJoh1son has joined #ruby
ule_ has joined #ruby
hostess_ has joined #ruby
idefine_ has quit [Remote host closed the connection]
janno_ has joined #ruby
Raboo_ has joined #ruby
tvl has joined #ruby
Caerusz has joined #ruby
howdoi has joined #ruby
Ariadeno has joined #ruby
kappy_ has joined #ruby
rdark_ has joined #ruby
joevandy1 has joined #ruby
borkdude_ has joined #ruby
ule_ is now known as jsp
Ariadeno is now known as Guest16607
jsp has quit [Changing host]
jsp has joined #ruby
bobbycvi has joined #ruby
santiago_ has joined #ruby
whathapp_ has quit [Remote host closed the connection]
tristanp has joined #ruby
idefine has quit [Ping timeout: 246 seconds]
m8 has quit [Quit: Sto andando via]
znz_jp0 has joined #ruby
Evan| has joined #ruby
spacemud_ has joined #ruby
x0f_ has joined #ruby
diegoaguilar has joined #ruby
Bilge- has joined #ruby
bihi_ has joined #ruby
Lightsword_ has joined #ruby
vircung has joined #ruby
Mr_Pancake- has joined #ruby
iamvery_ has joined #ruby
okdas_ has joined #ruby
DarkBushido_ has joined #ruby
exchgr` has joined #ruby
pikajude_ has joined #ruby
tris- has joined #ruby
blackwell_ has joined #ruby
braincra- has joined #ruby
cschneid- has joined #ruby
troulouliou_div2 has joined #ruby
j416_ has joined #ruby
tristanp_ has quit [Ping timeout: 252 seconds]
martinbjeldbak has joined #ruby
jenrzzz has joined #ruby
trajing has joined #ruby
Seeq_ has joined #ruby
startupality has joined #ruby
bougyman_ has joined #ruby
kspencer has quit [*.net *.split]
Snowy has quit [*.net *.split]
blackgoat has quit [*.net *.split]
aknagi has quit [*.net *.split]
kfpratt has quit [*.net *.split]
elementaru has quit [*.net *.split]
Es0teric has quit [*.net *.split]
ruskie has quit [*.net *.split]
amclain has quit [*.net *.split]
matp has quit [*.net *.split]
frem_ has quit [*.net *.split]
Rickmasta has quit [*.net *.split]
iamvery has quit [*.net *.split]
bihi has quit [*.net *.split]
braincrash has quit [*.net *.split]
dmnd has quit [*.net *.split]
kith has quit [*.net *.split]
adgtl has quit [*.net *.split]
AnoHito has quit [*.net *.split]
nertzy has quit [*.net *.split]
cajone has quit [*.net *.split]
ereslibre has quit [*.net *.split]
Asher has quit [*.net *.split]
rdark has quit [*.net *.split]
eljimador has quit [*.net *.split]
mozzarella has quit [*.net *.split]
_ht has quit [*.net *.split]
chrismytton has quit [*.net *.split]
veloutin has quit [*.net *.split]
tris has quit [*.net *.split]
Guest71979 has quit [*.net *.split]
pikajude has quit [*.net *.split]
blackwell has quit [*.net *.split]
Evan_ has quit [*.net *.split]
frode15243 has quit [*.net *.split]
kappy has quit [*.net *.split]
devyn has quit [*.net *.split]
spacemud has quit [*.net *.split]
ule has quit [*.net *.split]
tercenya has quit [*.net *.split]
rbr has quit [*.net *.split]
digitalfiz has quit [*.net *.split]
[diecast] has quit [*.net *.split]
acalewin has quit [*.net *.split]
davidmichaelkarr has quit [*.net *.split]
YaknotiS has quit [*.net *.split]
j416 has quit [*.net *.split]
tobiasvl has quit [*.net *.split]
Mr_Pancake has quit [*.net *.split]
braderhart has quit [*.net *.split]
mjc_ has quit [*.net *.split]
jwang has quit [*.net *.split]
Raboo has quit [*.net *.split]
martinbjeldbak_ has quit [*.net *.split]
vircung__ has quit [*.net *.split]
trajing- has quit [*.net *.split]
majuscule has quit [*.net *.split]
znz_jp has quit [*.net *.split]
bougyman has quit [*.net *.split]
exchgr has quit [*.net *.split]
Bugboy1028 has quit [*.net *.split]
chrisseaton has quit [*.net *.split]
ByronJohnson has quit [*.net *.split]
Caerus|Away has quit [*.net *.split]
jimcroft has quit [*.net *.split]
jmhmccr has quit [*.net *.split]
okdas has quit [*.net *.split]
janno has quit [*.net *.split]
beawesomeinstead has quit [*.net *.split]
eam has quit [*.net *.split]
tessi_zz has quit [*.net *.split]
linduxed has quit [*.net *.split]
lancetw has quit [*.net *.split]
aguynamedben has quit [*.net *.split]
MissionCritical has quit [*.net *.split]
marens has quit [*.net *.split]
yude has quit [*.net *.split]
crankharder has quit [*.net *.split]
G has quit [*.net *.split]
Guest4184_______ has quit [*.net *.split]
zero7 has quit [*.net *.split]
Bilge has quit [*.net *.split]
joevandyk has quit [*.net *.split]
twodayslate has quit [*.net *.split]
Klumben has quit [*.net *.split]
jordanm has quit [*.net *.split]
Lightsword has quit [*.net *.split]
ELCALOR has quit [*.net *.split]
DarkBushido has quit [*.net *.split]
hostess has quit [*.net *.split]
kireevco has quit [*.net *.split]
x0f has quit [*.net *.split]
cschneid has quit [*.net *.split]
borkdude has quit [*.net *.split]
nekomune has quit [*.net *.split]
Seeq has quit [*.net *.split]
moss has quit [*.net *.split]
DarkBushido_ is now known as DarkBushido
Lightsword_ is now known as Lightsword
blackwell_ is now known as blackwell
Raboo_ is now known as Raboo
Seeq_ is now known as Seeq
j416_ is now known as j416
tvl is now known as tobiasvl
bihi_ is now known as bihi
Mr_Pancake- is now known as Mr_Pancake
G has joined #ruby
G has quit [Changing host]
G has joined #ruby
DarkBushido has quit [Changing host]
DarkBushido has joined #ruby
veloutin has joined #ruby
tris- is now known as tris
DynamicM` has joined #ruby
tessi_zz has joined #ruby
jsp is now known as ule
Bugboy1028 has joined #ruby
ule has quit [Changing host]
ule has joined #ruby
<jhass> yes (whatever you mean by that)
idefine has joined #ruby
GodFather_ has joined #ruby
startupality has quit [Client Quit]
neanderslob_ is now known as neanderslob
B1n4r10 has quit [Ping timeout: 244 seconds]
<Ballo> I just have a lambda I use a lot of places. I could have probably just used a method
DynamicMetaFlow has quit [Ping timeout: 260 seconds]
rbr has joined #ruby
Redfoxmoon has left #ruby ["Leaving"]
shazaum__ has joined #ruby
Mission-Critical has joined #ruby
<jhass> yeah
aguynamedben has joined #ruby
whathappens has joined #ruby
tildes_ has joined #ruby
whathapp_ has joined #ruby
whathappens has quit [Read error: Connection reset by peer]
kspencer has joined #ruby
whathappens has joined #ruby
benlieb has quit [Quit: benlieb]
finisherr has joined #ruby
lukec has joined #ruby
axl_ has quit [Quit: axl_]
djbkd has quit [Remote host closed the connection]
lukec has quit [Client Quit]
akiTendo has left #ruby [#ruby]
firstdayonthejob has quit [Ping timeout: 244 seconds]
whathapp_ has quit [Ping timeout: 272 seconds]
Alayde has joined #ruby
<Alayde> Hey folks. When writing a class to interact with a REST api that requires authentication, is it typically best to take care of authenticating inside the initialize method or is it best if that be explicitly done? e.g. obj = Class.new, obj.authenticate
<kaleido> ive noticed it usually done the latter
idefine has quit [Remote host closed the connection]
Klumben has joined #ruby
pawnbox has quit [Read error: Connection timed out]
pawnbox has joined #ruby
DynamicM` has quit [Remote host closed the connection]
nfk has quit [Quit: Try memory.free_dirty_pages=true in about:config]
freerobby has joined #ruby
Mission-Critical is now known as MissionCritical
djbkd has joined #ruby
nekomune has joined #ruby
Rickmasta has joined #ruby
djbkd has quit [Remote host closed the connection]
ruskie has joined #ruby
bougyman_ has quit [Changing host]
bougyman_ has joined #ruby
bougyman_ is now known as bougyman
roamingdog has joined #ruby
arthurl has quit [Ping timeout: 272 seconds]
rbennacer has quit [Remote host closed the connection]
troulouliou_div2 has quit [Remote host closed the connection]
idefine has joined #ruby
sepp2k has quit [Quit: Leaving.]
rbennacer has joined #ruby
ujjain has quit [Ping timeout: 244 seconds]
astrobun_ has quit [Remote host closed the connection]
idefine has quit [Remote host closed the connection]
<jhass> I'd take credentials in initialize and do the authentication lazily upon the first request
cdg has quit [Remote host closed the connection]
idefine has joined #ruby
rbennacer has quit [Ping timeout: 260 seconds]
nankyokusei has joined #ruby
ujjain has joined #ruby
ujjain has quit [Changing host]
ujjain has joined #ruby
chopin has quit [Remote host closed the connection]
hutch34 has joined #ruby
GarethAdams has quit [Quit: Leaving...]
shazaum__ has quit [Quit: Leaving]
Dimik has quit [Ping timeout: 260 seconds]
nankyokusei has quit [Ping timeout: 264 seconds]
<Alayde> Huh, amazing the things you don't think of until someone else says it
<Alayde> thanks jhass
jaguarmagenta has joined #ruby
roamingdog has quit [Remote host closed the connection]
hutch34 has quit [Ping timeout: 244 seconds]
jancel has joined #ruby
koooge has joined #ruby
jordanm has joined #ruby
kith has joined #ruby
AnoHito has joined #ruby
beawesomeinstead has joined #ruby
jwang has joined #ruby
eljimador has joined #ruby
YaknotiS has joined #ruby
amclain has joined #ruby
elementaru has joined #ruby
Asher has joined #ruby
nertzy has joined #ruby
kfpratt has joined #ruby
tercenya has joined #ruby
yude has joined #ruby
elomatreb has quit [Ping timeout: 250 seconds]
jmhmccr has joined #ruby
chrisseaton has joined #ruby
jaguarmagenta has quit [Ping timeout: 240 seconds]
smathy is now known as smathy_afk
jancel has quit [Ping timeout: 260 seconds]
eam has joined #ruby
hays has quit [Ping timeout: 260 seconds]
elomatreb has joined #ruby
lukec has joined #ruby
cjbottaro has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hays has joined #ruby
skolman has quit [Remote host closed the connection]
idefine has quit [Remote host closed the connection]
skolman has joined #ruby
rkazak has joined #ruby
whathappens has quit [Quit: Leaving...]
matp has joined #ruby
mistermocha has quit [Remote host closed the connection]
davedev2_ has joined #ruby
davedev2_ has quit [Read error: Connection reset by peer]
davedev24 has quit [Ping timeout: 272 seconds]
mbreedlove has joined #ruby
mistermocha has joined #ruby
shadeslayer has quit [Ping timeout: 260 seconds]
xxneolithicxx has quit [Quit: Leaving.]
dhk has joined #ruby
idefine has joined #ruby
davedev24 has joined #ruby
mbreedlove has quit [Ping timeout: 246 seconds]
Nahra has joined #ruby
mistermocha has quit [Remote host closed the connection]