havenwood changed the topic of #ruby to: Rules & more: http://ruby-community.com || Ruby 2.3.0; 2.2.4; 2.1.8; 2.0.0-p648: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org/ruby/
kalopsian has joined #ruby
lubekpl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bkxd has quit [Ping timeout: 240 seconds]
toretore has quit [Ping timeout: 245 seconds]
mostlybadfly has quit [Quit: Connection closed for inactivity]
symm- has joined #ruby
duckpuppy has joined #ruby
houhoulis has joined #ruby
icarus has quit [Ping timeout: 265 seconds]
<apeiros> zacts: I'm not aware of other ruby->js transpilers
duckpuppy has quit [Ping timeout: 260 seconds]
mistermocha has joined #ruby
kies^ has joined #ruby
pawnbox has joined #ruby
kfpratt has joined #ruby
rkazak_ has joined #ruby
mistermocha has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 276 seconds]
dopie has quit [Quit: Lost terminal]
dopie has joined #ruby
neanderslob_ has joined #ruby
devoldmx has joined #ruby
seitensei has joined #ruby
govg has quit [Ping timeout: 250 seconds]
aaeron has joined #ruby
devoldmx has quit [Ping timeout: 264 seconds]
djbkd has joined #ruby
seitensei has quit [Ping timeout: 240 seconds]
<zacts> ah ok
<zacts> cool
PaulCapestany has quit [Remote host closed the connection]
senayar has joined #ruby
PaulCapestany has joined #ruby
mistermocha has joined #ruby
cpup has quit [Ping timeout: 245 seconds]
atomical has joined #ruby
`derpy has quit [Quit: Get down Mr President!]
cpup has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
atomical_ has joined #ruby
mistermocha has quit [Ping timeout: 250 seconds]
cdg has joined #ruby
<zacts> on the bus with 20min battery
<zacts> oops wrong channel
atomica__ has joined #ruby
atomical has quit [Ping timeout: 255 seconds]
adaedra has joined #ruby
last_staff has joined #ruby
kfpratt has quit [Remote host closed the connection]
<zenspider> rawr
shanemcd has joined #ruby
atomical_ has quit [Ping timeout: 272 seconds]
prereflect has joined #ruby
kirun has quit [Remote host closed the connection]
rkazak_ has quit [Quit: Sleep.....ing....]
whippythellama has quit [Quit: WeeChat 1.3]
idefine has joined #ruby
shanemcd has quit [Ping timeout: 272 seconds]
underplank has joined #ruby
DLSteve has joined #ruby
prereflect has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
|ifei5good has quit [Read error: Connection reset by peer]
dopie has quit [Quit: Lost terminal]
neanderslob_ has quit [Read error: Connection reset by peer]
dopie has joined #ruby
dstarh has joined #ruby
harai has quit [Ping timeout: 245 seconds]
banister has joined #ruby
moeabdol1 has quit [Ping timeout: 246 seconds]
prereflect has joined #ruby
TheBloke- is now known as TheBloke
rkazak has joined #ruby
trwyth has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
underplank has quit [Quit: underplank]
shakes has quit [Ping timeout: 255 seconds]
idefine has quit []
ohaibbq has quit [Read error: Connection reset by peer]
ohaibbq has joined #ruby
FernandoBasso has quit [Quit: Leaving]
RegulationD has quit [Remote host closed the connection]
paradisaeidae has joined #ruby
gizmore has joined #ruby
ESpiney has quit [Ping timeout: 246 seconds]
prereflect has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
harai has joined #ruby
last_staff has quit [Quit: last_staff]
RobertBirnie has quit [Ping timeout: 260 seconds]
prereflect has joined #ruby
<dorei> anyone here that uses the citrus gem?
Luna_Moonfang has quit [Quit: WeeChat 1.3]
jobewan has quit [Quit: Textual IRC Client: www.textualapp.com]
Luna_Moonfang has joined #ruby
Luna_Moonfang is now known as Guest27793
Guest27793 has quit [Changing host]
Guest27793 has joined #ruby
Lucky__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Guest27793 has quit [Client Quit]
darkxploit has quit [Ping timeout: 255 seconds]
LW_Luna has joined #ruby
shakes has joined #ruby
LW_Luna is now known as Guest79072
charliesome has joined #ruby
Guest79072 has quit [Client Quit]
ico has quit [Remote host closed the connection]
LW_LunAFK has joined #ruby
LW_LunAFK has quit [Changing host]
LW_LunAFK has joined #ruby
LW_LunAFK is now known as LW_Luna
LW_Luna is now known as Luna_Moonfang
bradleyprice has quit [Remote host closed the connection]
bradleyprice has joined #ruby
bradleyprice has quit [Remote host closed the connection]
prereflect has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Radar> ?used
<ruboto> Don't ask "does anyone use <thing>?". It's better to just state your problem and if anyone has used <thing> they will most likely answer.
grill has joined #ruby
infiton has joined #ruby
sankaber has joined #ruby
cdg has quit [Remote host closed the connection]
darkxploit has joined #ruby
infiton has left #ruby ["WeeChat 1.3"]
celly has joined #ruby
infiton has joined #ruby
harai has quit [Ping timeout: 246 seconds]
pabs has quit [Ping timeout: 246 seconds]
pabs has joined #ruby
bithon has quit [Ping timeout: 276 seconds]
paradisaeidae has quit [Quit: ChatZilla 0.9.92 [Firefox 43.0.3/20151223140742]]
Luna_Moonfang has quit [Remote host closed the connection]
Luna_Moonfang has joined #ruby
rgtk has joined #ruby
Luna_Moonfang is now known as Guest7949
Guest7949 has quit [Changing host]
Guest7949 has joined #ruby
Guest7949 is now known as LW_Luna
LW_Luna is now known as Luna_Moonfang
celly has quit [Ping timeout: 256 seconds]
marr has quit [Ping timeout: 255 seconds]
paradisaeidae has joined #ruby
infiton has quit [Ping timeout: 255 seconds]
RobertBirnie has joined #ruby
symm- has quit [Ping timeout: 260 seconds]
RobertBirnie has quit [Client Quit]
rgrmatt has joined #ruby
lessless has joined #ruby
hinbody has joined #ruby
infiton has joined #ruby
prereflect has joined #ruby
sorbo_ has joined #ruby
RobertBirnie has joined #ruby
shanemcd has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
blt has quit [Ping timeout: 264 seconds]
rgrmatt has quit [Remote host closed the connection]
Lucky__ has joined #ruby
atumzin has quit [Read error: Connection reset by peer]
Luna_Moonfang has quit [Quit: WeeChat 1.3]
Luna_Moonfang has joined #ruby
atumzin has joined #ruby
vdamewood has quit [Quit: Life beckons.]
infiton has quit [Ping timeout: 260 seconds]
rgrmatt has joined #ruby
dorei has quit []
neanderslob has joined #ruby
rgrmatt has quit [Remote host closed the connection]
akem has joined #ruby
sorbo_ has left #ruby [#ruby]
infiton has joined #ruby
charliesome has joined #ruby
mistermocha has joined #ruby
cdg has joined #ruby
pabs has quit [Ping timeout: 240 seconds]
duckpuppy has joined #ruby
ohaibbq has quit [Read error: Connection reset by peer]
ohaibbq has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
RegulationD has joined #ruby
justicefries has joined #ruby
pabs has joined #ruby
infiton has quit [Quit: WeeChat 1.3]
duckpuppy has quit [Ping timeout: 256 seconds]
dn5 has quit [Quit: Leaving]
RegulationD has quit [Ping timeout: 255 seconds]
shanemcd has quit [Remote host closed the connection]
mistermocha has quit [Remote host closed the connection]
DLSteve has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
dopie has quit [Quit: Lost terminal]
dopie has joined #ruby
hinbody has quit [Quit: leaving]
hinbody has joined #ruby
charliesome has quit [Client Quit]
aaeron has quit [Quit: aaeron]
DrShoggoth has joined #ruby
tjohnson has quit [Quit: Connection closed for inactivity]
sneakerhax has joined #ruby
devoldmx has joined #ruby
solocshaw has quit [Ping timeout: 240 seconds]
dingman has quit [Ping timeout: 260 seconds]
dopie has quit [Quit: Lost terminal]
dopie has joined #ruby
devoldmx has quit [Ping timeout: 250 seconds]
lessless has quit [Remote host closed the connection]
charliesome has joined #ruby
pabs has quit [Ping timeout: 245 seconds]
babblebre has quit [Quit: Connection closed for inactivity]
pabs has joined #ruby
kies^ has quit [Ping timeout: 250 seconds]
govg has joined #ruby
rodfersou has quit [Quit: leaving]
mdw has quit [Quit: Sleeping Zzzzz]
Jardayn has quit [Quit: Leaving]
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pontiki has joined #ruby
pawnbox has joined #ruby
aaeron has joined #ruby
blt has joined #ruby
atumzin has quit [Ping timeout: 245 seconds]
senayar has quit []
aaeron_ has joined #ruby
pawnbox has quit [Ping timeout: 245 seconds]
dmcp has joined #ruby
dmcp has quit [Read error: Connection reset by peer]
aaeron has quit [Ping timeout: 260 seconds]
aaeron_ is now known as aaeron
atumzin has joined #ruby
atumzin has quit [Changing host]
atumzin has joined #ruby
paradisaeidae has quit [Quit: ChatZilla 0.9.92 [Firefox 43.0.3/20151223140742]]
FooMunki has quit [Quit: FooMunki]
aaeron has quit [Ping timeout: 256 seconds]
Yzguy has quit [Quit: Zzz...]
DrShoggoth has quit [Quit: Leaving]
Ox0dea has joined #ruby
arescorpio has joined #ruby
amclain has quit [Quit: Leaving]
Bidun has joined #ruby
freerobby has joined #ruby
Bidun has left #ruby [#ruby]
BTRE has joined #ruby
yeticry has quit [Read error: Connection reset by peer]
yeticry has joined #ruby
Puffball has quit [Remote host closed the connection]
Puffball has joined #ruby
celly has joined #ruby
akem has quit [Quit: Bye]
bb010g has joined #ruby
Rodya_ has joined #ruby
freerobby has quit [Quit: Leaving.]
celly has quit [Ping timeout: 255 seconds]
freerobby has joined #ruby
yes`r has joined #ruby
hxegon is now known as hxegon_AFK
hxegon_AFK is now known as hxegon
pawnbox has joined #ruby
grill has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
BTRE has left #ruby ["Leaving"]
hxegon has quit [Ping timeout: 256 seconds]
duncannz has joined #ruby
pawnbox has quit [Ping timeout: 240 seconds]
c355e3b has quit [Quit: Connection closed for inactivity]
terminalrecluse has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
grill has joined #ruby
Highsen has joined #ruby
ss_much has quit [Quit: Connection closed for inactivity]
joneshf-laptop has quit [Ping timeout: 245 seconds]
grill has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
finisherr has quit [Ping timeout: 250 seconds]
finisherr has joined #ruby
prereflect has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
RegulationD has joined #ruby
joneshf-laptop has joined #ruby
RegulationD has quit [Ping timeout: 250 seconds]
shanemcd has joined #ruby
braincras has quit [Quit: bye bye]
startupality has joined #ruby
shanemcd has quit [Ping timeout: 265 seconds]
Ox0dea has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
duckpuppy has joined #ruby
aaeron has joined #ruby
yqt has quit [Ping timeout: 256 seconds]
pdoherty has quit [Ping timeout: 276 seconds]
duckpuppy has quit [Ping timeout: 260 seconds]
braincrash has joined #ruby
dingman has joined #ruby
mistermocha has joined #ruby
mistermocha has quit [Ping timeout: 264 seconds]
webus has joined #ruby
devoldmx has joined #ruby
snarkanoid has quit [Ping timeout: 250 seconds]
shakes has quit [Quit: Leaving]
devoldmx has quit [Ping timeout: 276 seconds]
duckpuppy has joined #ruby
andywojo has quit [Ping timeout: 245 seconds]
aaeron has quit [Quit: aaeron]
arescorpio has quit [Quit: Leaving.]
duncannz has quit [Ping timeout: 256 seconds]
druonysus has quit [Remote host closed the connection]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
cdg has quit [Remote host closed the connection]
seitensei has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kobain has quit [Ping timeout: 240 seconds]
sorbo_ has joined #ruby
seitensei has quit [Ping timeout: 250 seconds]
Rodya_ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
colegatron has quit [Ping timeout: 260 seconds]
Rodya_ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
robh71 has joined #ruby
robh71 has quit [Max SendQ exceeded]
sorbo_ has quit [Remote host closed the connection]
robh71 has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
startupality has quit [Quit: startupality]
cdg has joined #ruby
arup_r has joined #ruby
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
braincra- has joined #ruby
trwyth has joined #ruby
colegatron has joined #ruby
cdg has quit [Remote host closed the connection]
braincrash has quit [Ping timeout: 260 seconds]
rkazak has quit [Quit: Sleep.....ing....]
krz has joined #ruby
ss_much has joined #ruby
trwyth has quit [Ping timeout: 264 seconds]
startupality has joined #ruby
phutchins has quit [Quit: WeeChat 1.3]
Rodya_ has quit [Quit: Leaving...]
startupality has quit [Client Quit]
trwyth has joined #ruby
celly has joined #ruby
harai has joined #ruby
trwyth has quit [Client Quit]
psy_ has quit [Remote host closed the connection]
celly has quit [Ping timeout: 240 seconds]
cdg has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
vdamewood has joined #ruby
tubuliferous_ has joined #ruby
freerobby has quit [Quit: Leaving.]
atumzin has quit [Read error: Connection reset by peer]
arooni_______ has quit [Ping timeout: 250 seconds]
atumzin has joined #ruby
atumzin has quit [Changing host]
atumzin has joined #ruby
adgtl has joined #ruby
pdoherty has joined #ruby
startupality has joined #ruby
DavidDudson has joined #ruby
startupality has quit [Client Quit]
startupality has joined #ruby
atumzin has quit [Ping timeout: 246 seconds]
atumzin has joined #ruby
tubuliferous_ has quit [Ping timeout: 265 seconds]
andywojo has joined #ruby
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
sigurding has joined #ruby
varunwachaspati has joined #ruby
grill has joined #ruby
DavidDudson has joined #ruby
andywojo has quit [Ping timeout: 256 seconds]
<slackR> .seen jhass
<jhass> slackR: 1 second
scampbell has joined #ruby
grill has quit [Ping timeout: 246 seconds]
<slackR> Okai.
atumzin has quit [Ping timeout: 240 seconds]
atumzin has joined #ruby
<slackR> jhass: would it be a bad idea to solve a problem implementing a while loop?. It won't loop forever
<jhass> slackR: first answer yes. Second answer no.
skcin7 has joined #ruby
<slackR> I'll take that as a yes. In the sense not a bad idea.
skcin7 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ur5us has quit [Remote host closed the connection]
mesamoo has joined #ruby
skcin7 has joined #ruby
arup_r has quit [Remote host closed the connection]
hagabaka has quit [Ping timeout: 256 seconds]
hagabaka has joined #ruby
<slackR> jhass, https://paste.teknik.io/2645. Check the code now. I did touch it for 10 days or so, I couldn't figure out a way to re-write random_word function/method, I'm finally thinking about using a while loop there.
arooni_______ has joined #ruby
<slackR> I hope I fixed all the syntax issues
darkf has joined #ruby
scampbell has quit [Quit: Leaving]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblu_ has joined #ruby
tubuliferous_ has joined #ruby
graffix222 is now known as graffix
cyfr0n has quit [Ping timeout: 276 seconds]
RegulationD has joined #ruby
arup_r has joined #ruby
rgtk has quit [Remote host closed the connection]
terminalrecluse has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
RegulationD has quit [Ping timeout: 264 seconds]
kies^ has joined #ruby
tildes has joined #ruby
<jhass> slackR: it truly is 50/50
devbug has joined #ruby
<jhass> depends entirely on the problem
bradleyprice has joined #ruby
hagabaka has quit [Ping timeout: 256 seconds]
pawnbox has quit [Remote host closed the connection]
marcdel_ has quit [Ping timeout: 264 seconds]
juddey has quit [Ping timeout: 256 seconds]
pdoherty has quit [Ping timeout: 245 seconds]
scripore has quit [Quit: This computer has gone to sleep]
pawnbox has joined #ruby
hagabaka has joined #ruby
<shevy> jhass!
<shevy> you are back
<jhass> shevy: are you sure?
darkf_ has joined #ruby
startupality has quit [Quit: startupality]
darkf has quit [Ping timeout: 272 seconds]
haxrbyte_ has quit [Ping timeout: 240 seconds]
rkazak has joined #ruby
ton31337 has joined #ruby
<ton31337> what does this mean?
<ton31337> def otherwise(&block)
<ton31337> &block
arooni_______ has quit [Ping timeout: 250 seconds]
devoldmx has joined #ruby
scripore has joined #ruby
haxrbyte has joined #ruby
<shevy> jhass yeah!
nerium has quit [Quit: nerium]
elaptics is now known as elaptics`away
<shevy> this is a good example:
redeeem has joined #ruby
<shevy> >> upcase = proc {|i| i.upcase }; p ["foo", "bar", "baz"].map(&upcase)
<ruboto> shevy # => ["FOO", "BAR", "BAZ"] ...check link for more (https://eval.in/495194)
chouhoul_ has joined #ruby
redeeem has quit [Client Quit]
<shevy> well or not
<shevy> haha
<shevy> >> p ["foo", "bar", "baz"].map(&:upcase)
<ruboto> shevy # => ["FOO", "BAR", "BAZ"] ...check link for more (https://eval.in/495195)
devoldmx has quit [Ping timeout: 256 seconds]
<shevy> anyway in the first case you can specialize your proc object in more ways
tmtwd has joined #ruby
chouhoulis has quit [Ping timeout: 255 seconds]
lubekpl has joined #ruby
grill has joined #ruby
devoldmx has joined #ruby
devoldmx has quit [Remote host closed the connection]
devoldmx has joined #ruby
adgtl has quit [Remote host closed the connection]
scripore has quit [Quit: This computer has gone to sleep]
kalopsian has quit [Ping timeout: 255 seconds]
bMalum has joined #ruby
ur5us has joined #ruby
hakat has quit [Read error: Connection reset by peer]
grill has quit [Ping timeout: 276 seconds]
seitensei has joined #ruby
seitensei has quit [Changing host]
seitensei has joined #ruby
claw has quit [Ping timeout: 260 seconds]
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
ur5us has quit [Ping timeout: 240 seconds]
cajone is now known as cajone_afk
iateadonut has joined #ruby
terminalrecluse has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<krz> whats the best way to remove the first character in a string only if the first character is -
seitensei has quit [Ping timeout: 240 seconds]
tubuliferous_ has quit [Ping timeout: 265 seconds]
ton31337 has left #ruby [#ruby]
lxsameer has joined #ruby
<arup_r> >> puts [ "-abc".sub(/^-/,''), "a--bc".sub(/^-/,'') ]
<ruboto> arup_r # => abc ...check link for more (https://eval.in/495196)
<arup_r> >> p [ "-abc".sub(/^-/,''), "a--bc".sub(/^-/,'') ]
<ruboto> arup_r # => ["abc", "a--bc"] ...check link for more (https://eval.in/495197)
<arup_r> krz: ^^
<shevy> krz: x = '-abc'; x[0,1] = '' if x.start_with? '-'
tildes has quit [Ping timeout: 255 seconds]
Highsen has quit [Ping timeout: 265 seconds]
darkf_ is now known as darkf
<shevy> if it would be the last character it would be even easier, one could use .chop!
trwyth has joined #ruby
pawnbox has quit [Remote host closed the connection]
claw has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
celly has joined #ruby
pawnbox has joined #ruby
grill has joined #ruby
<arup_r> lost my all energy somehow.... not able to concentrate in work... :(
govg has quit [Ping timeout: 240 seconds]
gizmore has quit [Ping timeout: 240 seconds]
govg has joined #ruby
celly has quit [Ping timeout: 260 seconds]
haxrbyte has quit [Remote host closed the connection]
adgtl has joined #ruby
zapata has quit [Quit: WeeChat 1.3]
adgtl has quit [Remote host closed the connection]
adgtl has joined #ruby
grill has quit [Ping timeout: 245 seconds]
amoeba_ has quit [Quit: Leaving]
haxrbyte has joined #ruby
CloCkWeRX has quit [Ping timeout: 255 seconds]
DavidDudson has joined #ruby
solars has joined #ruby
rippa has joined #ruby
Highsen has joined #ruby
mary5030 has quit [Remote host closed the connection]
juddey has joined #ruby
scepticulous has joined #ruby
hagabaka has quit [Ping timeout: 265 seconds]
vikaton has quit [Quit: Connection closed for inactivity]
Averna has joined #ruby
codecop has joined #ruby
trwyth has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
roshanavand has joined #ruby
sp1rs has joined #ruby
sp1rs has quit [Read error: Connection reset by peer]
roshanavand has quit [Ping timeout: 264 seconds]
defendguin has joined #ruby
<defendguin> i just installed ruby via brew do I need to add it to my bash profile?
duncannz has joined #ruby
vdamewood has quit [Quit: Life beckons.]
duncannz has quit [Max SendQ exceeded]
andywojo has joined #ruby
kalopsian has joined #ruby
<havenwood> defendguin: Brew links automatically. Check: ruby -v
<havenwood> defendguin: You can `brew unlink ruby` and restore it with `brew link ruby`.
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
<havenwood> defendguin: You might want to prepend the rubygem bin dir to your path in a dotfile: export PATH="$(brew --prefix ruby)/bin:$PATH"
Highsen has quit [Ping timeout: 255 seconds]
<defendguin> Atomic:bin justin$ ruby -v
<defendguin> ruby 2.0.0p645 should be 2.3 something i think
Highsen has joined #ruby
skcin7 has quit [Max SendQ exceeded]
<havenwood> defendguin: Check that brew is happy with how your PATH is setup: brew doctor
adgtl has quit [Ping timeout: 265 seconds]
skcin7 has joined #ruby
andywojo has quit [Ping timeout: 256 seconds]
<havenwood> defendguin: You might need to reorder /etc/paths to what brew doctor says.
TvL2386 has joined #ruby
<havenwood> defendguin: You have brew installed in a strange place...
<havenwood> defendguin: Warning: /usr/bin occurs before /usr/local/homebrew/bin
kalopsian has quit [Ping timeout: 260 seconds]
<defendguin> yup see it
pawnbox has quit [Remote host closed the connection]
DavidDudson has joined #ruby
pawnbox has joined #ruby
<defendguin> ahh much better
<defendguin> ok that fixed that
<defendguin> my pg gem wont install
damaged_fxxk has joined #ruby
rkazak has joined #ruby
adgtl has joined #ruby
PedramT has joined #ruby
<havenwood> defendguin: Did you install PosgreSQL?
<defendguin> i did
<havenwood> defendguin: Error?
<defendguin> not via brew but i did
startupality has joined #ruby
<havenwood> defendguin: Ah
sp1rs has joined #ruby
Highsen has quit [Remote host closed the connection]
<damaged_fxxk> I have come from Perl background... But I wanna give ruby a try... I am actually interested in network programmin'.. Could ya guys suggest me some good books?!
dfdfdf has joined #ruby
PedramT has quit [Remote host closed the connection]
PedramT has joined #ruby
steffkes has joined #ruby
steffkes has quit [Changing host]
steffkes has joined #ruby
<havenwood> damaged_fxxk: That's the first that comes to mind. It's quite accessible but doesn't go into crazy detail.
domgetter has joined #ruby
<damaged_fxxk> gracis @havenwood...I know the internal of socket programmin'... I wanna write some clean code .. I do socket programmin' in Perl usin some libraries
jondot has joined #ruby
<defendguin> havenwood: http://pastie.org/10660043
ur5us has joined #ruby
atumzin has quit [Ping timeout: 255 seconds]
<havenwood> defendguin: Can't find the 'libpq-fe.h header
<havenwood> defendguin: I'd probably install postgres with brew. You could alternatively point it at where it pg really is.
atumzin has joined #ruby
RobertBirnie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> damaged_fxxk: Well here's a good place for questions. I can't think of a general Ruby network programming book at the moment.
sp1rs has quit [Quit: sp1rs]
<havenwood> damaged_fxxk: Hrm, looking at what i have. I guess the dRuby book is related but probably not what you're looking for either.
sp1rs has joined #ruby
hostess has quit [Quit: No Ping reply in 180 seconds.]
<damaged_fxxk> havenwood: Thats okay... I will try some ruby network libraries...
<havenwood> damaged_fxxk: I can point you towards some nice libraries at least. There are quite a variety of HTTP clients but this is a great one: https://github.com/httprb/http#readme
framling has joined #ruby
<defendguin> havenwood: /Library/PostgreSQL/9.4 i don't know if i have that header file though
<damaged_fxxk> havenwood: damn....... My english is extremly terrific! apologies
duckpuppy has quit [Ping timeout: 256 seconds]
deuterium has joined #ruby
startupality has quit [Quit: startupality]
<havenwood> damaged_fxxk: Great HTTP/2 implementation: https://github.com/igrigorik/http-2#readme
SCHAAP137 has joined #ruby
atumzin has quit [Read error: Connection reset by peer]
<havenwood> damaged_fxxk: If you're looking for something in particular just ask!
startupality has joined #ruby
<damaged_fxxk> havenwood: thank you again man...
<defendguin> ERROR: While executing gem ... (OptionParser::InvalidOption)
<defendguin> invalid option: --with-pg-config=/Library/PostgreSQL/9.4/bin
<havenwood> damaged_fxxk: any time
RegulationD has joined #ruby
<defendguin> i guess I could add PG bin to my path
grill has joined #ruby
atumzin has joined #ruby
<defendguin> yup that fixed it
damaged_fxxk has left #ruby ["WeeChat 1.3"]
hostess has joined #ruby
sdwrage has quit [Quit: This computer has gone to sleep]
RegulationD has quit [Ping timeout: 256 seconds]
stannard has joined #ruby
coderhut has joined #ruby
grill has quit [Ping timeout: 240 seconds]
coderhut has quit [Client Quit]
constantinexvi has quit [Ping timeout: 240 seconds]
djbkd_ has joined #ruby
<dfdfdf> why arch chruby has differnet path than in official documentation
redreem has joined #ruby
redreem_ has joined #ruby
<dfdfdf> arc use path without 'local'
constantinexvi has joined #ruby
dionysus69 has joined #ruby
cajone_afk is now known as cajone
stannard has quit [Ping timeout: 265 seconds]
redreem_ has quit [Client Quit]
GGMethos has quit [Ping timeout: 240 seconds]
Averna has quit [Ping timeout: 264 seconds]
coderhut has joined #ruby
djbkd_ has quit []
<shevy> dfdfdf file to issue request for documentation clarification? https://github.com/postmodern/chruby/issues
diegoviola has joined #ruby
rgtk has joined #ruby
<havenwood> dfdfdf: So you're expecting it in /usr/share/chruby then? Double check that's not where it is? The standard location is /usr/local/share/chruby but it's up to the AUR package.
tagrudev has joined #ruby
rgtk has quit [Remote host closed the connection]
PedramT has quit [Remote host closed the connection]
<havenwood> dfdfdf: Totally an aside, but nice writeup on chruby with arch: https://gist.github.com/jhass/8839655bb038e829fba1
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
karapetyan has joined #ruby
ohaibbq has quit [Quit: Leaving...]
blub` has joined #ruby
coderhut has quit [Ping timeout: 252 seconds]
hostess has quit [Quit: No Ping reply in 180 seconds.]
CloCkWeRX has joined #ruby
DavidDudson has joined #ruby
DavidDudson has quit [Client Quit]
redreem has quit [Quit: Page closed]
blub has quit [Ping timeout: 250 seconds]
DavidDudson has joined #ruby
BSaboia has joined #ruby
davedev24 has quit []
DarkBushido has quit [Ping timeout: 260 seconds]
c0m0 has joined #ruby
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
juodumas has joined #ruby
startupality has quit [Quit: startupality]
DarkBushido has joined #ruby
warrenich has joined #ruby
* warrenich waves
moeabdol1 has joined #ruby
<juodumas> Hi. Is there a way to always retrieve mail header as an array with ruby-mail (currenty it either returns a string or an array)?
moeabdol1 has quit [Client Quit]
<warrenich> looking for a nice website CMS. any suggestions?
DavidDudson has joined #ruby
startupality has joined #ruby
constantinexvi has quit [Ping timeout: 240 seconds]
constantinexvi has joined #ruby
hostess has joined #ruby
howdoi has joined #ruby
cdg has quit [Remote host closed the connection]
programmerq has quit [Remote host closed the connection]
DavidDudson has quit [Client Quit]
vdamewood has joined #ruby
seitensei has joined #ruby
seitensei has joined #ruby
GGMethos has joined #ruby
topolinux has joined #ruby
startupality has quit [Quit: startupality]
devoldmx has quit [Remote host closed the connection]
warrenich has quit [Quit: Leaving...]
webus has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
seitensei has quit [Ping timeout: 250 seconds]
pawnbox has quit [Ping timeout: 250 seconds]
RTG` has joined #ruby
celly has joined #ruby
dn` has joined #ruby
bkxd has joined #ruby
roshanavand has joined #ruby
roshanavand has quit [Client Quit]
celly has quit [Ping timeout: 246 seconds]
iateadonut has left #ruby [#ruby]
topolinux has quit [Quit: Sto andando via]
pawnbox has joined #ruby
startupality has joined #ruby
djbkd_ has joined #ruby
startupality has quit [Client Quit]
hostess has quit [Quit: No Ping reply in 180 seconds.]
djbkd_ has quit [Remote host closed the connection]
blackgoat has quit [Ping timeout: 272 seconds]
adgtl has quit [Ping timeout: 245 seconds]
adgtl has joined #ruby
hostess has joined #ruby
adgtl has quit [Changing host]
adgtl has joined #ruby
Dimik has quit [Ping timeout: 255 seconds]
kmckelvin has joined #ruby
startupality has joined #ruby
BSaboia has quit [Quit: Leaving]
agit0 has joined #ruby
PedramT has joined #ruby
startupality has quit [Client Quit]
rgtk has joined #ruby
TheBrayn has quit [Quit: ZNC - http://znc.in]
tmtwd has quit [Ping timeout: 260 seconds]
PedramT has quit [Remote host closed the connection]
PedramT has joined #ruby
aef has quit [Remote host closed the connection]
adgtl_ has joined #ruby
DavidDudson has joined #ruby
DavidDudson has quit [Client Quit]
adgtl has quit [Ping timeout: 264 seconds]
DavidDudson has joined #ruby
PedramT has quit [Remote host closed the connection]
PedramT has joined #ruby
TheBrayn has joined #ruby
kmckelvin has quit [Ping timeout: 255 seconds]
PedramT has quit [Remote host closed the connection]
PedramT has joined #ruby
marr has joined #ruby
juddey has quit [Ping timeout: 272 seconds]
<epitron> havenwood: hmmm.. That arch setup sounds irritating, since you have to pay attention when Ruby is updated and redo the symlink
<epitron> It's probably better to just use Ruby install
<epitron> Can chruby use "~/.rubies/system" as a valid version?
hostess has quit [Quit: No Ping reply in 180 seconds.]
<epitron> Or I guess I could find it in usr/bin
zenspider_ has joined #ruby
firstdayonthejob has joined #ruby
tercenya_ has joined #ruby
bradleyprice has quit [Remote host closed the connection]
haasn has quit [Ping timeout: 240 seconds]
zenspider has quit [Ping timeout: 250 seconds]
Hobbyboy has quit [Ping timeout: 240 seconds]
Olipro has quit [Ping timeout: 250 seconds]
blackmesa has joined #ruby
Olipro has joined #ruby
contradictioned has quit [Quit: No Ping reply in 180 seconds.]
tercenya has quit [Ping timeout: 250 seconds]
mark1 has joined #ruby
bb010g has quit [Quit: Connection closed for inactivity]
contradictioned has joined #ruby
hostess has joined #ruby
Hobbyboy|BNC has joined #ruby
PedramT has quit [Ping timeout: 265 seconds]
Kiwi_sherbet has joined #ruby
haasn has joined #ruby
kalopsian has joined #ruby
defendguin1 has joined #ruby
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
roshanavand has joined #ruby
toretore has joined #ruby
bkxd has quit [Ping timeout: 264 seconds]
Hounddog has joined #ruby
DavidDudson has joined #ruby
TheHodge has joined #ruby
arup_r has quit [Remote host closed the connection]
bradleyprice has joined #ruby
defendguin has quit [Ping timeout: 240 seconds]
kalopsian has quit [Ping timeout: 245 seconds]
ByronJoh1son has quit [Ping timeout: 250 seconds]
blaxter has joined #ruby
blt has quit [Remote host closed the connection]
bkxd has joined #ruby
hostess has quit [Quit: No Ping reply in 180 seconds.]
Hobbyboy|BNC is now known as Hobbyboy
andywojo has joined #ruby
hostess has joined #ruby
andywojo has quit [Ping timeout: 240 seconds]
al2o3-cr has quit [Ping timeout: 240 seconds]
PedramT has joined #ruby
GGMethos has quit [Ping timeout: 250 seconds]
roshanav_ has joined #ruby
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
hostess has quit [Quit: No Ping reply in 180 seconds.]
PedramT has quit [Remote host closed the connection]
PedramT has joined #ruby
al2o3-cr has joined #ruby
roshanavand has quit [Ping timeout: 260 seconds]
PedramT has quit [Remote host closed the connection]
PedramT has joined #ruby
sp1rs has quit [Read error: Connection reset by peer]
hostess has joined #ruby
jackcom has joined #ruby
<jackcom> when i use selenium, firefox start page has blue background so i can’t go into website.
<jackcom> help me
nfk|laptop has joined #ruby
sp1rs has joined #ruby
Kiwi_sherbet has quit []
Kiwi_sherbet has joined #ruby
Kiwi_sherbet has left #ruby [#ruby]
Kiwi_sherbet has joined #ruby
defendguin1 has quit [Quit: Leaving.]
grill has joined #ruby
ByronJoh1son has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
grill has quit [Ping timeout: 240 seconds]
aef has joined #ruby
smactive has joined #ruby
sandstrom has joined #ruby
sp1rs has quit [Read error: Connection reset by peer]
junw has joined #ruby
arup_r has joined #ruby
blackmesa has joined #ruby
smactive has quit [Ping timeout: 260 seconds]
Ishido has joined #ruby
Mon_Ouie has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
sp1rs has joined #ruby
GGMethos has joined #ruby
devbug has quit [Read error: Connection reset by peer]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
ss_much has quit [Quit: Connection closed for inactivity]
DavidDudson has joined #ruby
blackmesa has joined #ruby
DavidDudson has quit [Max SendQ exceeded]
adgtl_ has quit [Ping timeout: 245 seconds]
jondot has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DavidDudson has joined #ruby
tesuji has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
tesuji has quit [Read error: Connection reset by peer]
juodumas has left #ruby [#ruby]
blackmesa has joined #ruby
rodfersou has joined #ruby
bradleyprice has quit [Remote host closed the connection]
govg has quit [Remote host closed the connection]
bkxd has quit [Ping timeout: 272 seconds]
Kiwi_sherbet has quit []
Jackneill has joined #ruby
bkxd has joined #ruby
sp1rs has quit [Ping timeout: 245 seconds]
adgtl has joined #ruby
blackmesa has quit [Ping timeout: 255 seconds]
roshanav_ has quit [Remote host closed the connection]
blackmesa has joined #ruby
toretore has quit [Ping timeout: 240 seconds]
junw has quit [Quit: Leaving]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 265 seconds]
ur5us has quit [Ping timeout: 260 seconds]
PedramT has quit [Remote host closed the connection]
rodfersou is now known as rodfersou|afk
PedramT has joined #ruby
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
sandstrom has quit [Quit: My computer has gone to sleep.]
celly has joined #ruby
bkxd has joined #ruby
sandstrom has joined #ruby
adgtl has quit [Remote host closed the connection]
Pupeno has joined #ruby
Pupeno has joined #ruby
domgetter has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
karapetyan has quit [Remote host closed the connection]
domgetter has joined #ruby
urine_boy has joined #ruby
<urine_boy> ALL NIGGERS SHOULD BE EXTERMINATED
<urine_boy> death to niggers
karapetyan has joined #ruby
<ljarvis> !mute urine_boy
<urine_boy> ALL NIGGERS SHOULD BE EXTERMINATED because they are black
celly has quit [Ping timeout: 276 seconds]
jschmid has joined #ruby
krz has quit [Quit: WeeChat 1.2]
DavidDudson has joined #ruby
seitensei has joined #ruby
seitensei has quit [Changing host]
seitensei has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
roshanavand has joined #ruby
DavidDudson has quit [Max SendQ exceeded]
govg has joined #ruby
Averna has joined #ruby
DavidDudson has joined #ruby
Wsewolod has quit [Ping timeout: 240 seconds]
colegatron has quit [Ping timeout: 250 seconds]
urine_boy has left #ruby [#ruby]
seitensei has quit [Ping timeout: 240 seconds]
roshanavand has quit [Ping timeout: 240 seconds]
karapetyan has quit [Remote host closed the connection]
nfk|laptop has quit [Ping timeout: 265 seconds]
<yorickpeterse> lol
govg has quit [Ping timeout: 240 seconds]
<yorickpeterse> it's like people aren't even trying any more these days
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
grill has joined #ruby
dlitvak has joined #ruby
<DefV> hmz
<DefV> Good thing he actually added his reasoning
<DefV> as not to make us wonder
blackmesa has joined #ruby
harai has quit [Ping timeout: 264 seconds]
pawnbox has quit [Remote host closed the connection]
grill has quit [Ping timeout: 255 seconds]
duckpuppy has joined #ruby
toretore has joined #ruby
<shevy> yorickpeterse lol
toretore has quit [Client Quit]
nfk|laptop has joined #ruby
pawnbox has joined #ruby
whiteline has quit [Ping timeout: 245 seconds]
jschmid has quit [Ping timeout: 260 seconds]
colegatron has joined #ruby
sameerynho has joined #ruby
DavidDudson has quit [Read error: Connection reset by peer]
<yorickpeterse> "How do I troll an IRC channel? I KNOW IT, I'LL CALL PEOPLE "NIGGERS"! GENIUS"
duckpuppy has quit [Ping timeout: 265 seconds]
<yorickpeterse> "also lol "urine_boy" is such a funny handle hahaha I'm totally going to troll them"
lxsameer has quit [Ping timeout: 272 seconds]
<pontiki> this seems typical of the genre
<apeiros> yorickpeterse: it's not even people. it's a single idiot.
<pontiki> "I need attention because I'm bored and don't know how else to make my way."
lxsameer__ has joined #ruby
<DefV> you wonder. Did he come online "Damn, pissboy is already taken. pissman as well. Let's go for urine_boy then."
<pontiki> are you going to make me look if those are taken or have you already done that? :)
sameerynho has quit [Ping timeout: 260 seconds]
Begi has joined #ruby
<DefV> 12:08 [Freenode] -!- There is no such nick pissboy
TvL2386 has quit [Quit: Ex-Chat]
kalopsian has joined #ruby
Begi2 has joined #ruby
Begi has quit [Ping timeout: 264 seconds]
kalopsian has quit [Ping timeout: 256 seconds]
tvw has joined #ruby
dfdfdf has quit [Read error: Connection reset by peer]
<dionysus69> hello guys, can anyone guide me through how to cheat on youtube? is there a way to send a ruby request to some video that refreshes automatically every 5 minutes? I understand it won't load it in the browser but how can I simulate viewing a youtube video without actually opening it up in browser? or do I have to hack a browser for that?
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Zarthus> dionysus69: that sounds rather unethical, what are you trying to do?
<dionysus69> no evil done really just trying to win in a not very important contest
<Zarthus> that sounds evil to me :)
<Zarthus> win legitimately, or not at all
<dionysus69> come on I am 100% sure at least thousand participants will cheat, there will be no fair winner
<Zarthus> that said, you actually cannot. Views on youtube are unique and require watching of a large percentage of the video (that youtube does not disclose)
<shevy> he can not?
<dionysus69> what if I simulate "watching video" without actually looking at it? thats why I asked, if I hack browser so it runs as a service? maybe in that case I can?
<Zarthus> just don't participate in the contest, if everyone is cheating ;)
<dionysus69> then I can implement some IP spoofing so not every view is from the same address, makes sense?
<shevy> if you can find out how to automate it
<Zarthus> YouTube has a robust system for detecting unique views
<shevy> are you advertising or something?
<dionysus69> nope some contest, whoever has highest views, wins
<dionysus69> but ye the video is advertising some company
<shevy> no not you
<shevy> there isn't that much in ruby to help you ... there is mechanize for websites but these are mostly just click-on-button... then we have xdotool ... which is somewhat annoying....
skade has joined #ruby
skcin7 has quit [Max SendQ exceeded]
skcin7 has joined #ruby
roshanavand has joined #ruby
<dionysus69> what is xdotool?
aryaching has joined #ruby
skcin7 has quit [Max SendQ exceeded]
<ljarvis> youtube probably has the best anti-gaming system on the planet..
<pontiki> hmm, sounds like you're trying to perpetrate click fraud
skcin7 has joined #ruby
skade has quit [Ping timeout: 272 seconds]
centrx has joined #ruby
<yorickpeterse> maybe just get people to genuinely watch your video
<pontiki> "buncha other people will do it" doesn't motivate anyone to help you figure out how to do the same
Thomas-0725 has joined #ruby
blub` is now known as blub
lxsameer__ is now known as lxsameer
lxsameer has quit [Changing host]
lxsameer has joined #ruby
<dionysus69> yorickpeterse: will try that too but just an insurance
<dionysus69> hahaha
<ljarvis> this isn't on topic any more, so please take it to #ruby-offtopic, dionysus69
<dionysus69> ye but what if we come up with some new technique that no one has tried
<Zarthus> dionysus69: then you can submit it to the bug bounty and actually earn money
<dionysus69> haha ok thanks for input anyways :)
<dionysus69> Zarthus: after exploiting it a lil :D :D
puria has quit [Ping timeout: 255 seconds]
jondot has joined #ruby
blackgoat has joined #ruby
andywojo has joined #ruby
dfdfdf has joined #ruby
webus has joined #ruby
yos7ph has joined #ruby
<Zarthus> does anyone know where I can find the official source of the Regex Engine (Origuruma I think?) ruby uses?
<Zarthus> there's a lot of sources but I have no idea which one is official
karapetyan has quit [Remote host closed the connection]
finisherr has quit [Quit: finisherr]
andywojo has quit [Ping timeout: 260 seconds]
<Mon_Ouie> The Ruby uses its modified version of Oniguruma, look at files matching reg*.{c,h} in Ruby's source code
<Mon_Ouie> (plus the enc directory and oniguruma.h)
sandstrom has quit [Quit: My computer has gone to sleep.]
<ljarvis> all hail onigmo
karapetyan has joined #ruby
FernandoBasso has joined #ruby
llfwf33 has joined #ruby
govg has joined #ruby
PedramT has quit [Ping timeout: 264 seconds]
blackmesa has quit [Ping timeout: 255 seconds]
PedramT has joined #ruby
<Zarthus> I suppose that's the best place to look, yeah.
El3k0n has joined #ruby
sigurding has quit [Quit: sigurding]
PedramT has quit [Read error: Connection reset by peer]
El3k0n has quit [Client Quit]
PedramT has joined #ruby
PedramT has quit [Read error: Connection reset by peer]
govg has quit [Ping timeout: 276 seconds]
robh71 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
PedramT has joined #ruby
Axy has joined #ruby
Axy has quit [Changing host]
Axy has joined #ruby
puria has joined #ruby
PedramT has quit [Remote host closed the connection]
whiteline has joined #ruby
PedramT has joined #ruby
bob_f has joined #ruby
<bob_f> Hi, it seems that `&&` does not short circuit, but I find many people discouraging using `and` instead. Is there a conventional way to use `&&` in a short-circuit fashion ?
<bob_f> Surprisingly difficult to find an authorative answer to this.
Mia has quit [Ping timeout: 276 seconds]
govg has joined #ruby
<apeiros> bob_f: && always short circuits
<apeiros> bob_f: so the question is - what makes you think it wouldn't?
<j416> bob_f: authoritative answer -- try it and see™
<bob_f> apeiros: I must be doing something stupid then.
<bob_f> This line gives me `no implicit conversion of Symbol into Integer`: if action.is_a? Hash && action[:partial]
<bob_f> Am I parenthesising wrong ?
<apeiros> yes
<bob_f> if (action.is_a? Hash) ?
<apeiros> ew
<apeiros> action.is_a?(Hash)
<ljarvis> if action.is_a?(Hash)
<bob_f> Ah. Cheers. :)
<bob_f> Figured I would have noticed by now if && wasn't short-circuiting; thought I was losing my marbles. Thanks guys.
<ljarvis> or Hash === action (I prefer is_a?)
<apeiros> && has precedence, so you get action.is_a?(Hash && action[:part])
<apeiros> ?guys bob_f
<ruboto> bob_f, Though inclusion was probably intended, not everyone relates to being "one of the guys". Maybe consider using "folks", "all", "y'all", or "everyone" instead?
<bob_f> Right, got it. My understanding of `and` vs `&&` was that the only difference was precedence, so was getting really confused.
<apeiros> correct. `and` and `&&` only differ in precedence. which can help leaving parens away in some situations.
<bob_f> And is the tide against using `and` a general consensus ?
<apeiros> I doubt there's general consensus
<apeiros> I tend to not use `and`, but use parens and && instead.
<bob_f> Cool, a lot of stuff online suggests that there's a definitive consensus, I was taking that with a pinch or two of salt.
<apeiros> but I've seen people advocate to use whichever requires less parens.
<ljarvis> actually I would say that is the general consensus, at least the unoffocial style guides say avoid and/or (I also use &&/||)
<apeiros> ljarvis: "that" = "use && + parens"?
<ljarvis> apeiros: aye
karapetyan has quit [Remote host closed the connection]
wrilain has joined #ruby
aryaching has quit [Read error: Connection reset by peer]
<bob_f> I'm coming from Python so am reluctantly dropping parens where I can so my code looks as cool as everyone else's.
<bob_f> But clearly getting into a spot of bother with it from time to time. :)
<ljarvis> I'm a huge fan of parens, and if I had a choice I'd make them non-optional in Ruby :)
nfk|laptop has quit [Ping timeout: 255 seconds]
RegulationD has joined #ruby
roshanavand has quit [Remote host closed the connection]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
mostlybadfly has joined #ruby
Axy has quit [Ping timeout: 276 seconds]
yos7ph has quit [Quit: Leaving]
rgtk has quit [Remote host closed the connection]
aef has quit [Remote host closed the connection]
prestorium has joined #ruby
jondot has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
RegulationD has quit [Ping timeout: 260 seconds]
Thomas-0725 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ljarvis> my perfect Ruby would have ivar instantiation inside method argument definitions, and first-class functions (with () mapping to #call()) and non-optional parens
<ljarvis> it's not much to ask right :)
houhouli_ has joined #ruby
puria has quit [Ping timeout: 265 seconds]
<blub> some times when i have a bunch of nested function calls i start formatting it like lisp and then i have to go back and juggle spaces to make it look normal its so annoying of me..
pawnbox has quit [Remote host closed the connection]
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
houhoulis has quit [Ping timeout: 246 seconds]
CloCkWeRX has left #ruby [#ruby]
atumzin has quit [Ping timeout: 250 seconds]
atumzin has joined #ruby
atumzin has quit [Changing host]
atumzin has joined #ruby
PedramT has quit []
Thomas-0725 has joined #ruby
sandstrom has joined #ruby
Axy has joined #ruby
Axy has quit [Changing host]
Axy has joined #ruby
Mia has quit [Ping timeout: 276 seconds]
roshanavand has joined #ruby
atumzin has quit [Read error: Connection reset by peer]
atumzin has joined #ruby
atumzin has quit [Changing host]
atumzin has joined #ruby
rgtk has joined #ruby
ruby-lang185 has joined #ruby
pawnbox has joined #ruby
Thomas-0725 has quit [Quit: Textual IRC Client: www.textualapp.com]
celly has joined #ruby
roshanav_ has joined #ruby
tubuliferous_ has joined #ruby
atumzin has quit [Read error: Connection reset by peer]
atumzin has joined #ruby
atumzin has quit [Changing host]
atumzin has joined #ruby
roshanavand has quit [Ping timeout: 260 seconds]
pacMakaveli has joined #ruby
ruby-lang185 has quit [Ping timeout: 252 seconds]
bradleyprice has joined #ruby
pawnbox has quit [Ping timeout: 256 seconds]
celly has quit [Ping timeout: 256 seconds]
pawnbox has joined #ruby
Axy has quit [Ping timeout: 256 seconds]
llfwf33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mdw has joined #ruby
Mia has joined #ruby
peeja has joined #ruby
bradleyprice has quit [Ping timeout: 255 seconds]
andywojo has joined #ruby
CloCkWeRX has joined #ruby
FooMunki has joined #ruby
domgetter has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
shanemcd has joined #ruby
aef has joined #ruby
atumzin has quit [Ping timeout: 265 seconds]
brusora_ is now known as brusora
peeja has quit [Ping timeout: 265 seconds]
pneuma has quit [Ping timeout: 276 seconds]
iateadonut has joined #ruby
andywojo has quit [Ping timeout: 256 seconds]
atumzin has joined #ruby
atumzin has quit [Changing host]
atumzin has joined #ruby
sdothum has joined #ruby
Axy has joined #ruby
Axy has quit [Changing host]
Axy has joined #ruby
Mia has quit [Ping timeout: 265 seconds]
charliesome has joined #ruby
ruid has joined #ruby
ruid has quit [Changing host]
ruid has joined #ruby
teoric has joined #ruby
teoric has quit [Client Quit]
axsuul has joined #ruby
pawnbox_ has joined #ruby
seitensei has joined #ruby
mdw_ has joined #ruby
<shevy> blub lol
<shevy> bob_f yeah; many people drop parens in def, I always use them
pawnbox has quit [Ping timeout: 255 seconds]
atumzin has quit [Ping timeout: 276 seconds]
teoric has joined #ruby
teoric has quit [Client Quit]
teoric has joined #ruby
teoric has quit [Client Quit]
<jackcom> where i can upload image? imxxxx*odksedksle??? i don’t know
pawnbox_ has quit [Ping timeout: 255 seconds]
mdw has quit [Ping timeout: 240 seconds]
teoric has joined #ruby
teoric has quit [Client Quit]
Ebok has joined #ruby
seitensei has quit [Ping timeout: 272 seconds]
dlitvak has quit [Read error: Connection reset by peer]
banister has joined #ruby
atumzin has joined #ruby
hahuang65 has quit [Ping timeout: 240 seconds]
krz has joined #ruby
thejamespinto_ has joined #ruby
yfeldblu_ has quit [Ping timeout: 260 seconds]
thejamespinto has quit [Ping timeout: 276 seconds]
leksster has joined #ruby
centrx has quit [Remote host closed the connection]
llfwf33 has joined #ruby
kalopsian has joined #ruby
skade has joined #ruby
duckpuppy has joined #ruby
karapetyan has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
hahuang65 has joined #ruby
kalopsian has quit [Ping timeout: 245 seconds]
duckpuppy has quit [Ping timeout: 246 seconds]
blackgoat has quit [Quit: WeeChat 1.3]
skade has quit [Ping timeout: 260 seconds]
dionysus69 has quit [Ping timeout: 260 seconds]
sdoda has joined #ruby
sjums has quit [Quit: Connection reset by beer]
karapetyan has quit [Ping timeout: 245 seconds]
dionysus69 has joined #ruby
bkxd has quit [Ping timeout: 264 seconds]
ramfjord has joined #ruby
skade has joined #ruby
cpup has quit [Ping timeout: 250 seconds]
cpup has joined #ruby
rgtk has quit [Remote host closed the connection]
tubuliferous_ has quit [Ping timeout: 240 seconds]
* adaedra waves
<pontiki> o/
skade has quit [Ping timeout: 245 seconds]
ylbeys has joined #ruby
adgtl has joined #ruby
wrilain has quit [Ping timeout: 260 seconds]
sgambino has joined #ruby
fgo has joined #ruby
dlitvak has joined #ruby
govg has quit [Ping timeout: 276 seconds]
dstarh has joined #ruby
bMalum has quit [Quit: bMalum]
pawnbox has joined #ruby
ramfjord has quit [Ping timeout: 265 seconds]
zotherstupidguy has quit [Quit: WeeChat 1.3]
bkxd has joined #ruby
atomical has joined #ruby
Ebok has quit [Quit: Internet is down or Computer is restarting. I'll be back.]
atomica__ has quit [Ping timeout: 265 seconds]
Averna has quit [Quit: Ex-Chat]
benanne has joined #ruby
scripore has joined #ruby
rgtk has joined #ruby
ramfjord has joined #ruby
shanemcd has quit [Ping timeout: 256 seconds]
rgtk has quit [Remote host closed the connection]
ruid has quit [Ping timeout: 240 seconds]
DoubleMalt has joined #ruby
bMalum has joined #ruby
pontiki has quit [Quit: "Poets have been mysteriously silent on the subject of cheese." -- G.K.Chesterson]
Anderson69s_Deb has quit [Ping timeout: 260 seconds]
ramortegui has joined #ruby
phutchins has joined #ruby
nanoz has joined #ruby
Mon_Ouie has quit [Quit: WeeChat 1.3]
centrx has joined #ruby
aryaching has joined #ruby
houhouli_ has quit [Remote host closed the connection]
duckpuppy has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rooltak has quit [Quit: Ex-Chat]
sdwrage has joined #ruby
dionysus69 has quit [Ping timeout: 260 seconds]
mary5030 has joined #ruby
duckpuppy has quit [Ping timeout: 240 seconds]
skade has joined #ruby
RegulationD has joined #ruby
kalopsian has joined #ruby
sjums has joined #ruby
codecop has quit [Remote host closed the connection]
arup_r has quit [Remote host closed the connection]
RegulationD has quit [Ping timeout: 260 seconds]
celly has joined #ruby
skade has quit [Ping timeout: 250 seconds]
mary5030 has quit [Remote host closed the connection]
gccostabr has joined #ruby
mary5030 has joined #ruby
gccostabr has quit [Max SendQ exceeded]
tagrudev has quit [Remote host closed the connection]
dionysus69 has joined #ruby
gccostabr has joined #ruby
govg has joined #ruby
haxrbyte has quit [Remote host closed the connection]
gccostabr has quit [Max SendQ exceeded]
tubuliferous_ has joined #ruby
haxrbyte has joined #ruby
sdoda has quit [Quit: Leaving]
gccostabr has joined #ruby
celly has quit [Ping timeout: 240 seconds]
roshanav_ has quit [Remote host closed the connection]
pdkl has joined #ruby
treehug88 has joined #ruby
haxrbyte has quit [Read error: Connection reset by peer]
haxrbyte has joined #ruby
nfk|laptop has joined #ruby
ta0 has joined #ruby
Anderson69s_Deb has joined #ruby
mist is now known as lolcat6
tubuliferous_ has quit [Ping timeout: 256 seconds]
akem has joined #ruby
pawnbox_ has joined #ruby
bkxd has quit [Ping timeout: 245 seconds]
bithon has joined #ruby
lolcat6 is now known as mist
TomPeed has joined #ruby
pawnbox has quit [Ping timeout: 250 seconds]
skade has joined #ruby
kies^ has quit [Ping timeout: 276 seconds]
prereflect has joined #ruby
tvw has quit [Ping timeout: 250 seconds]
treehug8_ has joined #ruby
treehug8_ has quit [Client Quit]
thejamespinto has joined #ruby
treehug8_ has joined #ruby
peeja has joined #ruby
andywojo has joined #ruby
gccostabr has quit [Read error: Connection reset by peer]
treehug8_ has quit [Remote host closed the connection]
gccostabr has joined #ruby
gccostabr has quit [Max SendQ exceeded]
gccostabr has joined #ruby
treehug88 has quit [Ping timeout: 276 seconds]
thejamespinto_ has quit [Ping timeout: 276 seconds]
arup_r has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
jschmid has joined #ruby
roshanavand has joined #ruby
psy has joined #ruby
andywojo has quit [Ping timeout: 246 seconds]
FooMunki has quit [Quit: FooMunki]
blaxter has quit [Quit: foo]
FooMunki has joined #ruby
marr has quit [Ping timeout: 272 seconds]
pacMakaveli has quit [Remote host closed the connection]
roshanavand has quit [Ping timeout: 240 seconds]
krz has quit [Read error: Connection reset by peer]
skade has quit [Ping timeout: 240 seconds]
seitensei has joined #ruby
whippythellama has joined #ruby
bMalum has quit [Quit: bMalum]
hakat has joined #ruby
dlitvak has quit [Remote host closed the connection]
c355e3b has joined #ruby
dorei has joined #ruby
dlitvak has joined #ruby
sandstrom has joined #ruby
jschmid has quit [Ping timeout: 260 seconds]
dlitvak has quit [Remote host closed the connection]
lubekpl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
seitensei has quit [Ping timeout: 240 seconds]
polishdub has joined #ruby
kirun has joined #ruby
karapetyan has joined #ruby
dlitvak has joined #ruby
Spami has joined #ruby
karapetyan has quit [Ping timeout: 245 seconds]
treehug88 has joined #ruby
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
sankaber has joined #ruby
dlitvak has quit [Ping timeout: 265 seconds]
fgo has quit [Quit: WeeChat 1.3]
dionysus69 has quit [Client Quit]
aegis3121 has joined #ruby
roshanavand has joined #ruby
whippythellama has quit [Ping timeout: 250 seconds]
nfk|laptop has quit [Ping timeout: 255 seconds]
sumark has quit [Remote host closed the connection]
trwyth has joined #ruby
trwyth has quit [Client Quit]
lxsameer has quit [Quit: Leaving]
sankaber has quit [Remote host closed the connection]
sankaber has joined #ruby
peeja has quit [Ping timeout: 250 seconds]
chipotle has joined #ruby
dagda1 has joined #ruby
sumark has joined #ruby
pdoherty has joined #ruby
solars has quit [Ping timeout: 250 seconds]
thejamespinto has quit [Read error: Connection reset by peer]
thejamespinto has joined #ruby
sdwrage has quit [Quit: Leaving]
stannard has joined #ruby
krz has joined #ruby
sorbo_ has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
prereflect has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
startupality has joined #ruby
houhoulis has joined #ruby
kaleido has joined #ruby
babblebre has joined #ruby
llfwf33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
marr has joined #ruby
marr has quit [Excess Flood]
futilegames has joined #ruby
marr has joined #ruby
benanne has quit [Quit: kbai]
CloCkWeRX has quit [Quit: Leaving.]
roshanavand has quit [Remote host closed the connection]
hakat has quit [Ping timeout: 240 seconds]
treehug88 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
FernandoBasso has quit [Ping timeout: 245 seconds]
GGMethos has quit [Ping timeout: 240 seconds]
RegulationD has joined #ruby
spider-mario has joined #ruby
prereflect has joined #ruby
hostess has quit [Quit: No Ping reply in 180 seconds.]
atumzin has quit [Read error: Connection reset by peer]
roshanavand has joined #ruby
hxegon has joined #ruby
RegulationD has quit [Ping timeout: 265 seconds]
bMalum has joined #ruby
rgtk has joined #ruby
kies^ has joined #ruby
hxegon has quit [Ping timeout: 240 seconds]
adgtl has quit [Remote host closed the connection]
krobzaur has joined #ruby
centrx has quit [Remote host closed the connection]
gregf has quit [Quit: WeeChat 1.3]
roger_rabbit has joined #ruby
nertzy has joined #ruby
adgtl has joined #ruby
startupality has quit [Quit: startupality]
rgtk has quit [Ping timeout: 246 seconds]
cyfr0n has joined #ruby
centrx has joined #ruby
magaudet has joined #ruby
hxegon has joined #ruby
axsuul has quit [Ping timeout: 272 seconds]
llfwf33 has joined #ruby
roshanavand has quit [Remote host closed the connection]
constantinexvi has quit [Ping timeout: 240 seconds]
roshanav_ has joined #ruby
roshanav_ has quit [Remote host closed the connection]
roshanavand has joined #ruby
roshanavand has quit [Remote host closed the connection]
arup_r has quit [Remote host closed the connection]
constantinexvi has joined #ruby
hostess has joined #ruby
treehug88 has joined #ruby
FernandoBasso has joined #ruby
treehug88 has quit [Remote host closed the connection]
hagabaka has joined #ruby
dtordable has joined #ruby
s00pcan has quit [Ping timeout: 265 seconds]
chipotle_ has joined #ruby
Xentil has joined #ruby
aegis3121 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
s00pcan has joined #ruby
pdkl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iateadonut has quit [Quit: Leaving.]
chipotle has quit [Ping timeout: 260 seconds]
pdkl has joined #ruby
rippa has joined #ruby
adgtl has quit [Remote host closed the connection]
duckpuppy has joined #ruby
magaudet has quit [Remote host closed the connection]
magaudet has joined #ruby
rodfersou|afk is now known as rodfersou
mark1 has quit [Quit: Leaving.]
GGMethos has joined #ruby
codecop has joined #ruby
pdkl has quit [Client Quit]
<Lewix> ruby I missed you
<Lewix> I have been away for a while but I'm back
rgtk has joined #ruby
pdkl has joined #ruby
duckpuppy has quit [Ping timeout: 276 seconds]
__chris has joined #ruby
Channel6 has joined #ruby
adgtl has joined #ruby
<dtordable> A question: accessing to a instance variable is done as @variable inside the class logic of the class?
RegulationD has joined #ruby
whippythellama has joined #ruby
<__chris> Can someone help me understand how to use yield to set a var? This isn't working for me http://pastie.org/private/sspxqnwa0hr3ln4hemte8q
krobzaur has quit [Ping timeout: 255 seconds]
<__chris> Never mind, I figured it out. Thanks
<blub> dtordable: you can do it like that, but you should use the public accessors instead
axsuul has joined #ruby
axsuul has quit [Max SendQ exceeded]
axsuul has joined #ruby
aegis3121 has joined #ruby
<dtordable> That "attr_accessor_ way, blub?
<blub> if they're defined like that
jackcom has left #ruby [#ruby]
<blub> the point is that you should get and set the variables by sending messages to self like anyone else would, for the same reasons they should
<dtordable> In that way dont need the "attr_read" thing are also defined as readable?
<blub> instead of using attr_reader, you could define your own reader trivially if that's what you mean. attr_whatever are just convenience functions
DoubleMalt has quit [Remote host closed the connection]
zack6849 has joined #ruby
zack6849 has quit [Changing host]
zack6849 has joined #ruby
nertzy has quit [Quit: This computer has gone to sleep]
<havenwood> dtordable: I'm not sure what you're asking. Yes, you can access instance variable like @so. Do you have a gist of code in particular that you're wondering about?
<dtordable> To create setters readers for a class blub?
<blub> 'attr_reader :x' == def x; @x; end
<dtordable> Ah that's another way...
scepticulous has quit [Ping timeout: 250 seconds]
iateadonut has joined #ruby
iateadonut has left #ruby [#ruby]
nietzschette has joined #ruby
kmckelvin has joined #ruby
Guest38 has joined #ruby
<dtordable> £got a "attr_accessor :var1, :var2" to provide external access to vars of an instance
cdg has joined #ruby
defendguin has joined #ruby
magaudet has quit [Remote host closed the connection]
magaudet has joined #ruby
<dtordable> So vars without an attr declaration are private then?
arup_r has joined #ruby
<blub> dtordable: the methods of your class that don't need to touch instance variables directly, which is virtually all of the methods you will write, should use the accessor functions as well
dingman has quit [Ping timeout: 272 seconds]
<nietzschette> private, but visible
<blub> you aren't making the variable public by defining accessors, you're just providing methods that manipulate them
skcin7_ has joined #ruby
<diegoviola> why does this returns 0
<diegoviola> (296 / 2854) * 100
<dtordable> Aha...
<blub> to the person calling the methods, they don't even know if it is an instance variable or not, or if there's any extra processing going on when they deal with them
<nietzschette> because you're not dealing with floats
<diegoviola> but on google calc it gives me 10 or something
mallu has quit [Quit: Page closed]
<havenwood> diegoviola: 0 * 100 #=> 0
skcin7 has quit [Read error: Connection reset by peer]
<nietzschette> switch to .to_f
<nietzschette> either denominator or numerator
<havenwood> diegoviola: Or compare with: 296.fdiv(2854) * 100
<havenwood> &ri Fixnum#/
<dtordable> So more to say everything on Ruby are methods blub?
The_Phoenix has joined #ruby
<havenwood> dtordable: Everything is not a Method.
<diegoviola> Correspondence.where(status: 'Verde').where("ts_print > ?", 1.month.ago).count / Correspondence.where("ts_print > ?", 1.month.ago).count * 100
<diegoviola> => 0
kenbi has joined #ruby
cdg has quit [Remote host closed the connection]
<havenwood> diegoviola: 1/2 #=> 0
codecop has quit [Remote host closed the connection]
<nietzschette> all methods are objectsm, but not all objects are methods
<diegoviola> yeah
<blub> it's just general encapsulation; ruby makes that specific facet of it easy to do is all
<diegoviola> do I just call #to_f?
FernandoBasso has quit [Ping timeout: 246 seconds]
<havenwood> diegoviola: 1/2r or 1.fdiv(2) or 1.to_f/2 etc
<dtordable> But @variable access to the actual value of an instance of a given clasd, blub?
<havenwood> diegoviola: Floats or Rational or something other than a Fixnum.
<dtordable> *class
<blub> yes, for when you need it, which is almost never
<diegoviola> I'm confused
<blub> dtordable: you should use the accessors whenever possible inside the class too
<havenwood> diegoviola: Divide two Fixnums and you'll get a Fixnum result. Try dividing a variety of Fixnums by Fixnums in Pry.
gccostabr has quit [Ping timeout: 272 seconds]
<diegoviola> is fixnum an integer?
<havenwood> diegoviola: Ask it.
<havenwood> >> Fixnum.is_a? Integer
<ruboto> havenwood # => false (https://eval.in/495467)
chouhoul_ has quit [Remote host closed the connection]
<diegoviola> ok
<nietzschette> all numbers are subclasses of Numeric
<dtordable> Blub you mean the "initialize" method of a given class,that I saw as constructors in other languages?
chouhoulis has joined #ruby
<havenwood> diegoviola: See: Fixnum.ancestors
<dtordable> That uses @variable.
<diegoviola> wow
<diegoviola> cool
terlar has quit [Ping timeout: 245 seconds]
<diegoviola> ty
aibot has quit [Ping timeout: 265 seconds]
<blub> dtordable: you should use self.var = x there too
<blub> you have to prefix writers with self. or ruby will think you're defining a new function-local variable
Begi has joined #ruby
ta0 has quit [Ping timeout: 264 seconds]
andywojo has joined #ruby
<dtordable> Ahhh... Ok blub
prereflect has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
prereflect has joined #ruby
Begi2 has quit [Ping timeout: 264 seconds]
<blub> dtordable: you will see people use bare @variable to talk to instance variables, but that's bad style, it makes it harder to change things later
<dtordable> Blub never read anything about self dot some thing... Will read on my book later
<dtordable> (I suppose)
skcin7_ has quit [Max SendQ exceeded]
<havenwood> blub: I disagree regarding using instance variables to access instance variables. Nothing wrong with it!
skcin7 has joined #ruby
celly has joined #ruby
<havenwood> blub: Barewords are a sometimes food.
<nietzschette> yeah, i use @var all day, why is that any less difficult than self.var
<blub> dtordable: self.x just sends the message x to the object. most of the time you could just write x, but for assignments you need the self to stop ruby getting confused
celly_ has joined #ruby
<dtordable> Yeah blub, thanks
SCHAAP137 has quit [Remote host closed the connection]
andywojo has quit [Ping timeout: 260 seconds]
gccostabr has joined #ruby
<havenwood> blub: There are a variety of reasons why it's fine. It expresses meaning, is idiomatic and saves an unnecessary method call.
leksster has quit [Quit: Leaving]
leksster has joined #ruby
<blub> nietzschette: for the same reason any other code uses accessors to get at instance variables
<havenwood> blub: From *outside* the class.
<dtordable> Aha
<blub> havenwood: why don't the same benefits apply to code inside the class
chipotle_ has quit [Quit: cheerio]
celly has quit [Ping timeout: 260 seconds]
Ox0dea has joined #ruby
<havenwood> blub: Note there's no private_attr_accessor...
<blub> especially in a language where you can add extra methods later
seitensei has joined #ruby
<blub> but conceptually, how is it any different whether the other code is inside the class or not
<blub> it's still needlessly relying on an implementation detail
<havenwood> blub: Just use instance variables as Matz intended. :P Public methods for the public interface to the class and private methods when more than variable setting or reading is needed.
<Ox0dea> !next
<havenwood> blub: If you're just reading or writing an instance variable, do just that!
<dtordable> So "attr_reader" for reading and "attr_accessor" for writing and anyway for setting vars inside of a class use self dot notation no blub?
<blub> attr_accessor defines a reader and a writer
<Ox0dea> dtordable: #attr_writer for writing.
bMalum has quit [Quit: bMalum]
thisirs has joined #ruby
colegatron has quit [Ping timeout: 255 seconds]
<dtordable> Thanks, anyone...
thisirs has quit [Remote host closed the connection]
<havenwood> dtordable: attr_reader to expose reading outside the class, attr_writer for writing, attr_accessor for both - inside use instance variables, since you can, they're fast, and proper
Hounddog has quit [Remote host closed the connection]
<Ox0dea> blub wants Ruby to be something else.
<havenwood> Uby
karapetyan has joined #ruby
<Ox0dea> Rub.
<havenwood> Bluby*
<blub> i want it to be object oriented
<havenwood> blub: Instance variables are Objects. Done!
* havenwood goes in search of coffee
<nietzschette> class Pointer;end
<Ox0dea> Pointer = Class.new
FernandoBasso has joined #ruby
<nietzschette> so, you're allocating heep to reference heep. makes sense
<Ox0dea> Now *this* is pod racing!
<dtordable> Don't initiate a flame war with a newcomer like I am...
<Ox0dea> From whom did you steal that pedestal?
seitensei has quit [Ping timeout: 265 seconds]
Wsewolod has joined #ruby
Jardayn has joined #ruby
centrx has quit [Remote host closed the connection]
* dtordable serves cup of tea to everyone here...
<nietzschette> def Pointer.->(a);a;end
framling has quit [Ping timeout: 246 seconds]
millerti has joined #ruby
<Ox0dea> nietzschette: Can't have adjecent binops. :<
<Ox0dea> You'd have to say something like `ptr-~a`, which looks terrible.
<nietzschette> you're right, i should have irb'd it before suggesting it
<nietzschette> it's needlessly arbitrary anyway
<Ox0dea> >> require 'fiddle'; Fiddle::Pointer.new(0)[] rescue $!
<ruboto> Ox0dea # => #<Fiddle::DLError: NULL pointer dereference> (https://eval.in/495474)
dkelman has joined #ruby
dkelman has quit [Remote host closed the connection]
dkelman has joined #ruby
<havenwood> blub: TIMTOWTDI! :)
pdkl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
amclain has joined #ruby
mdw_ has quit [Quit: Sleeping Zzzzz]
<zacts> hi rubyists
Lucky__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<nietzschette> hi zactiest
aegis3121 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
BLuEGoD has quit [Quit: I was using a Free IRC Bouncer from http://bnc4free.com (Account Removed)]
<havenwood> zacts: hi
<zacts> heh, hello
colegatron has joined #ruby
<nietzschette> how would I go about creating a 'controlled' irb environment?
pdkl has joined #ruby
<nietzschette> keeping File, Directory, Process, and other classes from being declared. or backquotes and things like that.
Pupeno has quit [Remote host closed the connection]
aibot has joined #ruby
PedramT has joined #ruby
roshanavand has joined #ruby
pdoherty has quit [Ping timeout: 264 seconds]
pdoherty has joined #ruby
tmtwd has joined #ruby
yqt has joined #ruby
cdg has joined #ruby
RobertBirnie has joined #ruby
pietr0 has quit [Quit: pietr0]
ramfjord has quit [Ping timeout: 250 seconds]
bb010g has joined #ruby
da3mian has joined #ruby
Lucky__ has joined #ruby
PedramT has quit [Remote host closed the connection]
da3mian has quit [Client Quit]
roshanavand has quit [Remote host closed the connection]
karapetyan has quit [Remote host closed the connection]
SCHAAP137 has joined #ruby
karapetyan has joined #ruby
PedramT has joined #ruby
<Ox0dea> nietzschette: Why irb specifically?
dkelman has quit [Read error: Connection reset by peer]
roshanavand has joined #ruby
kmckelvin has quit [Ping timeout: 250 seconds]
PedramT has quit [Read error: Connection reset by peer]
PedramT has joined #ruby
yes`r has quit [Ping timeout: 272 seconds]
chipotle has joined #ruby
duckpuppy has joined #ruby
roshanavand has quit [Ping timeout: 260 seconds]
<nietzschette> i would like to simulate a programable environment, without allowing any access to the underlying system
dkelman has joined #ruby
adgtl has quit [Remote host closed the connection]
<Ox0dea> It's not clear what you mean.
gizmore has joined #ruby
<gizmore> lat1, lat2 = lat2, lat1 if lat1 > lat2 # is this swap working as i hope?
krz has quit [Quit: WeeChat 1.2]
<Ox0dea> Yep.
<gizmore> thanksalotl :)
PedramT has quit [Ping timeout: 240 seconds]
platzhirsch has joined #ruby
adgtl has joined #ruby
ramfjord has joined #ruby
<gizmore> :D excatly
<Ox0dea> They're really not as cute as that one picture had led me to believe.
<gizmore> the thanksalotl is the cuter version :^
<nietzschette> if I'm providing a server with an irb session, i wouldn't want clients to access actual files, open up shells, etc.
celly has joined #ruby
ruid has joined #ruby
ruid has joined #ruby
<Ox0dea> nietzschette: But you still want them to have the full power of Ruby?
<Ox0dea> https://github.com/tario/shikashi is the only pure-Ruby sandbox that seems like it might be worth using.
<nietzschette> well, not the full power, obviously.
scripore has quit [Quit: This computer has gone to sleep]
kfpratt has joined #ruby
sneakerhax has quit [Ping timeout: 250 seconds]
dtordable2 has joined #ruby
dtordable has quit [Ping timeout: 240 seconds]
<Ox0dea> If it's not a problem to spin up a new process for each request, I'd advise sandboxing those instead.
celly_ has quit [Ping timeout: 265 seconds]
<nietzschette> nah, they're all working with the same environment
<Papierkorb> nietzschette: You could use something like Docker. Running user code in your app server, even if using something like a 'sandbox' gem, cries for security issues
<adaedra> sandbox anyway.
ylbeys has quit [Remote host closed the connection]
pdkl has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Ox0dea> Papierkorb: Why not systemd-nspawn?
aryaching has quit [Remote host closed the connection]
<Papierkorb> Ox0dea: Never used it, Docker is what came to mind first
pdkl has joined #ruby
niceperl has joined #ruby
dtordable2 has quit [Client Quit]
dtordable has joined #ruby
<nietzschette> well, at least I have options
agit0 has quit [Quit: zzzZZZ….]
mdw has joined #ruby
niceperl has quit [Remote host closed the connection]
<Papierkorb> nietzschette: Has the code to be run on your server?
<Ox0dea> nietzschette: I probably shouldn't have linked shikashi; letting Ruby watchdog Ruby is not a great idea.
<Papierkorb> nietzschette: or is it more of a here-try-ruby sandbox type of thing?
rkazak_ has joined #ruby
aryaching has joined #ruby
pdkl has quit [Client Quit]
arooni_______ has joined #ruby
ramfjord has quit [Ping timeout: 264 seconds]
prereflect has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<nietzschette> yeah, sort of like that
prereflect has joined #ruby
rgtk has quit [Remote host closed the connection]
nfk|laptop has joined #ruby
dfdfdf has quit [Quit: Leaving]
<Papierkorb> nietzschette: http://opalrb.org/try/# you could use Opal. Not 100% coverage of Ruby, but as a first look probably enough
ico has joined #ruby
duckpuppy has quit [Ping timeout: 272 seconds]
vikaton has joined #ruby
kmckelvin has joined #ruby
<Papierkorb> nietzschette: Benefit is that it runs completely in the users browser. There are no security issues on your end, as the user could at maximum "hack" their own session.
<Papierkorb> own browser-local session*
<havenwood> nietzschette: Or mruby in the browser (I don't know what we're talking about but anyways): http://joshnuss.github.io/mruby-web-irb/
<nietzschette> unfortunately, i'd like to allow multiple users into the same environment
<havenwood> mruby on a toaster
<nietzschette> and they're using a graphical front end provided by me
B1n4r10 has joined #ruby
celly_ has joined #ruby
govg has quit [Ping timeout: 265 seconds]
ta0 has joined #ruby
<Papierkorb> nietzschette: then spawn a ruby process in its own cgroup with set quotas for ram, cpu, and everything, running as user nobody in its own 'empty' root. Don't use chroot(). Use Docker or, if you have systemd, take a look what it can do for you. This is no small undertaking.
govg has joined #ruby
pdoherty has quit [Remote host closed the connection]
<Papierkorb> Make sure to understand what is actually a security-sandbox feature and what is not. Docker is not one, so that's really risky. chroot() is documented to be NOT one ($ man 2 chroot). Cgroups might be one, or not. It's really a crazy hard issue to get right
axsuul has quit [Ping timeout: 260 seconds]
celly has quit [Ping timeout: 260 seconds]
<Papierkorb> You could migitate it by e.g. spinning up a small EC2 instance (or similar) and share it for some users, so they're not running code on your local app server. Among other things, this is what c9.io does (Practically, a multi-user Web IDE)
platzhirsch has quit [Quit: Leaving.]
celly_ has quit [Remote host closed the connection]
platzhirsch1 has joined #ruby
adgtl has quit [Remote host closed the connection]
bMalum has joined #ruby
aegis3121 has joined #ruby
<Papierkorb> :oh<really>;
rgtk has joined #ruby
kfpratt has quit [Remote host closed the connection]
aegis3121 has quit [Client Quit]
houhoulis has quit [Remote host closed the connection]
<Ox0dea> [+] grep * %% (3|5), ^1000
<Ox0dea> Still haven't gotten over how perfect that is.
<Ox0dea> You know how newbies think they can say `if x == 1 || 2 || 3`? That's `if x == (1|2|3)` in Perl 6.
<Ox0dea> Oh, and the parens are superfluous.
sdwrage has joined #ruby
<Papierkorb> $those are not
hobodave has joined #ruby
<Ox0dea> ?
dkelman has quit [Quit: dkelman]
<Papierkorb> dollar signs
rgtk has quit [Ping timeout: 246 seconds]
<Ox0dea> They let you know you have a $calar.
<Papierkorb> They haven't $removed @this weirdness?
<Ox0dea> No, Perl 6 still has $calars and @rrays.
<blub> it's nice actually
<Ox0dea> It is.
mdw has quit [Ping timeout: 250 seconds]
lacrosse has quit [Quit: Connection closed for inactivity]
aegis3121 has joined #ruby
kies^ has quit [Ping timeout: 245 seconds]
QpQ4 has joined #ruby
startupality has joined #ruby
QpQ4 has left #ruby [#ruby]
platzhirsch1 has quit [Ping timeout: 265 seconds]
[Butch] has quit [Quit: I'm out . . .]
GinoManWorks has quit [Read error: Connection reset by peer]
celly has joined #ruby
Xentil has quit [Ping timeout: 276 seconds]
c0m0 has quit [Ping timeout: 260 seconds]
pdoherty has joined #ruby
tvw has joined #ruby
kenbi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rkazak_ has quit [Quit: Sleep.....ing....]
ta0 has quit [Ping timeout: 245 seconds]
[Butch] has joined #ruby
last_staff has joined #ruby
<diegoviola> I'm getting a NaN when converting a float with an integer
<diegoviola> how do I handle this?
xaxisx has joined #ruby
ramfjord has joined #ruby
<aegis3121> the only way I know of (which isn't necessarily the only way) to get NaN is to divide by zero
tvw has quit [Ping timeout: 255 seconds]
tvw has joined #ruby
<Ox0dea> aegis3121: This is #ruby.
<Ox0dea> >> 1.0 / 0
<ruboto> Ox0dea # => Infinity (https://eval.in/495508)
gregf has joined #ruby
sandstrom has joined #ruby
ht__ has joined #ruby
<aegis3121> >> 0.0 / 0
<ruboto> aegis3121 # => NaN (https://eval.in/495509)
<Ox0dea> Oh, right.
<Ox0dea> >> Float::NAN
<ruboto> Ox0dea # => NaN (https://eval.in/495510)
<Ox0dea> diegoviola: "converting a float with an integer"?
<diegoviola> dividing
<diegoviola> sorry
<diegoviola> where(status: 'Verde').where("ts_print > ?", 1.day.ago).count.to_f / where("ts_print > ?", 1.day.ago).count * 100
<Ox0dea> Well, as aegis3121 has demonstrated, that'll only happen if the numerator and denominator are both 0.
<diegoviola> I have this
<aegis3121> so your count is 0 in both instances
<aegis3121> and 0.to_f # => 0.0
celly has quit [Ping timeout: 240 seconds]
<diegoviola> ok that's not my problem anymore
<diegoviola> ty
<aegis3121> np
Spami has quit [Quit: This computer has gone to sleep]
Spami has joined #ruby
Spami has quit [Client Quit]
poguez_ has joined #ruby
yqt has quit [Ping timeout: 250 seconds]
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
last_staff has quit [Remote host closed the connection]
chipotle has quit [Ping timeout: 256 seconds]
ht__ has quit [Quit: Konversation terminated!]
ico has quit [Remote host closed the connection]
ht__ has joined #ruby
dtordable has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
last_staff has joined #ruby
ico has joined #ruby
kmckelvi1 has joined #ruby
karapetyan has quit [Remote host closed the connection]
karapetyan has joined #ruby
bradleyprice has joined #ruby
kmckelvin has quit [Ping timeout: 240 seconds]
ico has quit [Read error: Connection reset by peer]
ico has joined #ruby
PedramT has joined #ruby
ico has quit [Read error: Connection reset by peer]
akem has quit [Read error: Connection reset by peer]
akem has joined #ruby
ico has joined #ruby
last_staff has quit [Quit: last_staff]
chipotle has joined #ruby
FernandoBasso has quit [Ping timeout: 240 seconds]
last_staff has joined #ruby
yes`r has joined #ruby
ico has quit [Read error: Connection reset by peer]
TheHodge has quit [Quit: Connection closed for inactivity]
andywojo has joined #ruby
ico has joined #ruby
PedramT has quit [Ping timeout: 255 seconds]
last_staff has quit [Client Quit]
last_staff has joined #ruby
juddey has joined #ruby
duckpuppy has joined #ruby
Begi has quit [Ping timeout: 250 seconds]
ico has quit [Read error: Connection reset by peer]
volty has joined #ruby
ico has joined #ruby
andywojo has quit [Ping timeout: 264 seconds]
duckpuppy has quit [Ping timeout: 276 seconds]
ico has quit [Read error: Connection reset by peer]
ico has joined #ruby
jackjackdripper has joined #ruby
ico has quit [Read error: Connection reset by peer]
seitensei has joined #ruby
ico has joined #ruby
The_Phoenix has quit [Read error: Connection reset by peer]
saab900 has joined #ruby
majjoha_ is now known as majjoha
dkelman has joined #ruby
saab900 has quit [Client Quit]
saab900 has joined #ruby
Ebok has joined #ruby
ico has quit [Read error: Connection reset by peer]
tvw has quit [Remote host closed the connection]
atomical_ has joined #ruby
seitensei has quit [Ping timeout: 240 seconds]
saab900 has left #ruby [#ruby]
ico has joined #ruby
ico has quit [Read error: Connection reset by peer]
Spami has joined #ruby
ico has joined #ruby
Rickmasta has joined #ruby
cdg has quit [Remote host closed the connection]
adgtl has joined #ruby
akem has quit [Quit: Bye]
Rickmasta has quit [Client Quit]
dkelman has quit [Quit: dkelman]
jackjackdripper has quit [Read error: Connection reset by peer]
atomical has quit [Ping timeout: 256 seconds]
jackjackdripper has joined #ruby
xaxisx has quit [Quit: xaxisx]
QpQ4_ has joined #ruby
QpQ4_ has left #ruby ["Textual IRC Client: www.textualapp.com"]
llfwf33 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ico has quit [Read error: Connection reset by peer]
ico has joined #ruby
arup_r has quit [Remote host closed the connection]
tildes has joined #ruby
ico has quit [Read error: Connection reset by peer]
ico has joined #ruby
FernandoBasso has joined #ruby
ht__ has quit [Quit: Konversation terminated!]
ht__ has joined #ruby
gizless has joined #ruby
arup_r has joined #ruby
atomical has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
Rickmasta has joined #ruby
davedev24 has joined #ruby
gizmore has quit [Ping timeout: 264 seconds]
dreinull has quit [Remote host closed the connection]
AlphaAtom has joined #ruby
dreinull has joined #ruby
PedramT has joined #ruby
atomical_ has quit [Ping timeout: 272 seconds]
shadoi has joined #ruby
atomical_ has joined #ruby
KnownSyntax has quit [Read error: Connection reset by peer]
ico has quit [Read error: Connection reset by peer]
scripore has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
ico has joined #ruby
PedramT has quit [Remote host closed the connection]
axl_ has joined #ruby
marcdel has joined #ruby
PedramT has joined #ruby
ur5us has joined #ruby
atomical has quit [Ping timeout: 260 seconds]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
ico has quit [Read error: Connection reset by peer]
<diegoviola> is NaN in ruby an object?
<diegoviola> or
ico has joined #ruby
<Ox0dea> diegoviola: How could we find out?
<havenwood> diegoviola: Ask it.
ico has quit [Read error: Connection reset by peer]
ico has joined #ruby
<Ox0dea> havenwood: Tautological.
pawnbox_ has quit [Remote host closed the connection]
marcdel has quit [Ping timeout: 246 seconds]
<havenwood> Ox0dea: Gotta put that philosophy degree to some use. >.>
<Ox0dea> Onoheditint.
<havenwood> >> Float::NAN.is_a? Object # diegoviola
<ruboto> havenwood # => true (https://eval.in/495546)
ico has quit [Read error: Connection reset by peer]
<Ox0dea> >> Float::NAN.respond_to? :respond_to?
<ruboto> Ox0dea # => true (https://eval.in/495547)
<aegis3121> >> (0.0/0).class
<ruboto> aegis3121 # => Float (https://eval.in/495548)
ruid has quit [Ping timeout: 240 seconds]
ico has joined #ruby
chipotle_ has joined #ruby
atomical has joined #ruby
<havenwood> >> Float::NAN.instance_of? Float
<ruboto> havenwood # => true (https://eval.in/495549)
delsol has joined #ruby
<havenwood> >> 1.upto(Float::NAN).take 3
<ruboto> havenwood # => [1, 2, 3] (https://eval.in/495550)
kalopsian has quit [Ping timeout: 246 seconds]
atomical_ has quit [Ping timeout: 255 seconds]
chipotle has quit [Ping timeout: 265 seconds]
ramfjord has quit [Quit: leaving]
robh71 has joined #ruby
ohaibbq has joined #ruby
prereflect has quit [Quit: Textual IRC Client: www.textualapp.com]
robh71 has quit [Client Quit]
sandstrom has joined #ruby
baweaver has joined #ruby
axl__ has joined #ruby
pawnbox has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
axl_ has quit [Ping timeout: 240 seconds]
axl__ is now known as axl_
harai has joined #ruby
thezanke has joined #ruby
sdwrage has quit [Quit: Leaving]
pawnbox has quit [Ping timeout: 240 seconds]
dn` has quit [Quit: dn`]
DarkElement_ has joined #ruby
ico has quit [Read error: Connection reset by peer]
dn` has joined #ruby
ico has joined #ruby
Cohedrin has joined #ruby
<DarkElement_> What is the best way to avoid sql injection in ruby - mysql? I am doing an insert statement and need to do "VALUES ('#{var1}') but when the var1 is a sentence with something like "don't", then the quotation screws it up.
<DarkElement_> I realize ruby-mysql has a prepare statement.
<Ox0dea> DarkElement_: Prepared statements.
<Ox0dea> Tada!
<DarkElement_> XD
<DarkElement_> Thanks for help :D
startupality has quit [Quit: startupality]
DarkElement_ has quit [Quit: Leaving]
last_staff has quit [Quit: last_staff]
PedramT has quit [Read error: Connection reset by peer]
delsol has quit [Quit: delsol]
nanoz has quit [Ping timeout: 240 seconds]
scripore has joined #ruby
dfinninger has joined #ruby
last_staff has joined #ruby
PedramT has joined #ruby
GinoManWorks has joined #ruby
azgil has quit [Quit: Leaving]
PedramT has quit [Remote host closed the connection]
chipotle_ has quit [Ping timeout: 255 seconds]
sgambino has quit [Ping timeout: 245 seconds]
last_staff has quit [Remote host closed the connection]
roshanavand has joined #ruby
n00bdev has joined #ruby
chipotle has joined #ruby
robh71 has joined #ruby
karapetyan has quit [Remote host closed the connection]
ico has quit [Read error: Connection reset by peer]
<n00bdev> hey guys, is there anyway to set a range when the ending number in the range is a instance variable? ruby isnt being nice to me
<Ox0dea> n00bdev: (1..@foo)
ico has joined #ruby
<havenwood> >> @end = 3; 1..@end
<ruboto> havenwood # => 1..3 (https://eval.in/495561)
<n00bdev> do i have to specifically cast @foo to a Integer?
PedramT has joined #ruby
last_staff has joined #ruby
<havenwood> n00bdev: What's it a Range of?
PedramT has quit [Remote host closed the connection]
robh71 has quit [Client Quit]
<n00bdev> i just want it to be a rnage of numbers, but the instance variable is retrieved through a params post request
mdw has joined #ruby
pdoherty has quit [Ping timeout: 260 seconds]
<n00bdev> when retrieved its a string type
kies^ has joined #ruby
renderf__ has joined #ruby
<havenwood> n00bdev: So you could have a Range of Strings or convert it to an Integer or whatever else you want a Range of.
sgambino has joined #ruby
kalopsian has joined #ruby
ico has quit [Read error: Connection reset by peer]
agit0 has joined #ruby
<havenwood> n00bdev: But you can't have a Range from a String to an Integer.
ico has joined #ruby
<havenwood> n00bdev: Or vice versa.
<havenwood> >> 1..'3'
<ruboto> havenwood # => bad value for range (ArgumentError) ...check link for more (https://eval.in/495562)
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
last_staff has quit [Remote host closed the connection]
renderfu_ has quit [Ping timeout: 260 seconds]
aegis3121 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
yqt has joined #ruby
<n00bdev> thank you guys
last_staff has joined #ruby
AccordLTN has joined #ruby
chipotle has quit [Quit: cheerio]
rgtk has joined #ruby
ohaibbq has quit [Quit: Leaving...]
chipotle has joined #ruby
sorbo_ has quit [Read error: Connection reset by peer]
Begi has joined #ruby
sorbo_ has joined #ruby
pawnbox has joined #ruby
AlphaAtom has joined #ruby
darkf has quit [Quit: Leaving]
ico has quit [Remote host closed the connection]
rgtk has quit [Ping timeout: 246 seconds]
unreal_ has quit [Read error: Connection reset by peer]
pawnbox has quit [Ping timeout: 250 seconds]
unreal has joined #ruby
PedramT has joined #ruby
robh71 has joined #ruby
ico has joined #ruby
thejamespinto has quit [Ping timeout: 255 seconds]
davedev24 has quit [Ping timeout: 240 seconds]
thejamespinto has joined #ruby
volty has quit [Quit: Konversation terminated!]
agit0 has quit [Quit: zzzZZZ….]
davedev24 has joined #ruby
davedev24 has quit [Remote host closed the connection]
ico has quit [Ping timeout: 260 seconds]
davedev24 has joined #ruby
ElFerna has joined #ruby
kalopsian has quit [Ping timeout: 276 seconds]
ElFerna has quit [Client Quit]
bradleyprice has quit [Remote host closed the connection]
neanderslob has quit [Ping timeout: 260 seconds]
kalopsian has joined #ruby
ico has joined #ruby
ElFerna has joined #ruby
gccostabr has quit [Quit: ZZZzzz…]
ico has quit [Read error: Connection reset by peer]
ico has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
PedramT has quit [Remote host closed the connection]
robh71 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
I has joined #ruby
PedramT has joined #ruby
robh71 has joined #ruby
I is now known as Guest77460
baweaver has quit [Remote host closed the connection]
Guest77460 has quit [Remote host closed the connection]
despai has joined #ruby
codecop has joined #ruby
yes`r has quit [Ping timeout: 260 seconds]
axl__ has joined #ruby
synthroid has joined #ruby
axl_ has quit [Ping timeout: 260 seconds]
axl__ is now known as axl_
arup_r has quit []
unreal has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
andywojo has joined #ruby
last_staff has quit [Quit: last_staff]
dagda1_ has joined #ruby
dwfait has joined #ruby
dgynn has joined #ruby
Dimik has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
unreal has joined #ruby
kies^ has quit [Remote host closed the connection]
agit0 has joined #ruby
aegis3121 has joined #ruby
agit0 has quit [Client Quit]
webus has quit [Quit: Ухожу я от вас (xchat 2.4.5 или старше)]
DarkElement_ has joined #ruby
<DarkElement_> How can I add in multiple variables to a prepared ruby-mysql statement?
CR has quit [Quit: Connection closed for inactivity]
PedramT has quit [Remote host closed the connection]
pdoherty has joined #ruby
<Ox0dea> Just do it.
codecop has quit [Remote host closed the connection]
<DarkElement_> Ox0dea: I would if I knew how, but I don't so I am asking here.
pawnbox has quit [Remote host closed the connection]
ico has quit [Read error: Connection reset by peer]
hxegon is now known as hxegon_AFK
ico has joined #ruby
ico has quit [Read error: Connection reset by peer]
ico has joined #ruby
gccostabr has joined #ruby
dwfait has quit [Quit: dwfait]
n00bdev has quit []
synthroid has quit []
duckpuppy has joined #ruby
tvw has joined #ruby
dlitvak has joined #ruby
rkazak_ has joined #ruby
karapetyan has joined #ruby
SCHAAP137 has quit [Ping timeout: 240 seconds]
duckpuppy has quit [Ping timeout: 255 seconds]
andywojo has quit [Ping timeout: 256 seconds]
johnny56 has quit [Remote host closed the connection]
johnny56 has joined #ruby
ico has quit [Read error: Connection reset by peer]
ico has joined #ruby
seitensei has joined #ruby
yeticry has quit [Quit: leaving]
yeticry has joined #ruby
veg has joined #ruby
seitensei has quit [Ping timeout: 264 seconds]
ico has quit [Ping timeout: 276 seconds]
last_staff has joined #ruby
tildes has quit [Ping timeout: 276 seconds]
<headius> yorickpeterse: I'm going to look into your specs and see if I can fix a few things up in jruby
<headius> is there a spec for Socket.sockaddr_in? I couldn't find one
blt has joined #ruby
robh71 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aegis3121 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<headius> hmmm, the specs hang pretty quickly for me with MRI on OS X
gusrub has joined #ruby
chipotle has quit [Ping timeout: 240 seconds]
Outlastsheep has quit [Ping timeout: 240 seconds]
ht__ has quit [Quit: Konversation terminated!]
ht__ has joined #ruby
aryaching has quit [Ping timeout: 276 seconds]
dlitvak_ has joined #ruby
agit0 has joined #ruby
<headius> looks like a large number of failures are because our Addrinfo doesn't accept an array, and you usually pass sockaddr_in for the specs
hxegon_AFK has quit [Quit: BRB]
dagda1_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
DavidDudson has joined #ruby
kobain has joined #ruby
dlitvak has quit [Ping timeout: 260 seconds]
aegis3121 has joined #ruby
karapetyan has quit [Remote host closed the connection]
diego2 has joined #ruby
diego2 has quit [Changing host]
diego2 has joined #ruby
bradleyprice has joined #ruby
karapetyan has joined #ruby
diegoviola has quit [Ping timeout: 276 seconds]
diego2 is now known as diegoviola
adgtl has quit [Ping timeout: 276 seconds]
futilegames has quit [Quit: futilegames]
chipotle has joined #ruby
podman has joined #ruby
tildes has joined #ruby
rgtk has joined #ruby
davedev2_ has joined #ruby
bradleyprice has quit [Ping timeout: 240 seconds]
<shevy> yorickpeterse! don't let this stand! 11 months - and it's still not working!!! :D
bradleyprice has joined #ruby
sgambino has quit [Read error: Connection reset by peer]
sgambino_ has joined #ruby
chipotle has quit [Ping timeout: 246 seconds]
gizmore has joined #ruby
davedev24 has quit [Ping timeout: 240 seconds]
blackgoat has joined #ruby
rgtk has quit [Remote host closed the connection]
dfinninger has quit [Remote host closed the connection]
gizmore|2 has joined #ruby
aegis3121 has quit [Quit: Textual IRC Client: www.textualapp.com]
acarpe has joined #ruby
dfinninger has joined #ruby
gizless has quit [Ping timeout: 256 seconds]
gizless has joined #ruby
pneuma has joined #ruby
diego2 has joined #ruby
blt has quit [Quit: WeeChat 1.3]
PedramT has joined #ruby
diegoviola has quit [Ping timeout: 245 seconds]
diego2 has quit [Changing host]
diego2 has joined #ruby
gizmore has quit [Ping timeout: 260 seconds]
graffix has quit [Ping timeout: 260 seconds]
diego2 is now known as diegoviola
robh71 has joined #ruby
PedramT has quit [Remote host closed the connection]
gizmore|2 has quit [Ping timeout: 240 seconds]
scripore has joined #ruby
PedramT has joined #ruby
last_staff has quit [Ping timeout: 256 seconds]
graffix222 has joined #ruby
77CAAFJ7P has joined #ruby
tvw has quit [Remote host closed the connection]
zapata has joined #ruby
kegan_ has joined #ruby
rikkipitt has joined #ruby
tildes has quit [Ping timeout: 264 seconds]
tvw has joined #ruby
robh71 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
SCHAAP137 has joined #ruby
ht__ has quit [Quit: Konversation terminated!]
ht__ has joined #ruby
rgrmatt has joined #ruby
ELLIOTTCABLE is now known as ec^
agit0 has quit [Quit: zzzZZZ….]
blackmesa has joined #ruby
PedramT has quit [Ping timeout: 240 seconds]
prestorium has quit [Quit: Leaving]
77CAAFJ7P has quit [Ping timeout: 255 seconds]
ico has joined #ruby
sherushe has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
duderonomy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
TomPeed has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
domgetter has joined #ruby
bb010g has quit [Quit: Connection closed for inactivity]
neanderslob has joined #ruby
AccordLTN has quit []
wolffles has joined #ruby
diegoviola has quit [Ping timeout: 240 seconds]
dagda1_ has joined #ruby
dagda1_ has quit [Client Quit]
karapetyan has quit [Remote host closed the connection]
neanderslob has quit [Read error: Connection reset by peer]
n_blownapart has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
karapetyan has joined #ruby
rgtk has joined #ruby
gusrub has quit []
camilasan has quit [Remote host closed the connection]
rgtk_ has joined #ruby
kalopsian has quit [Ping timeout: 260 seconds]
rgtk has quit [Read error: Connection reset by peer]
robh71 has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 255 seconds]
karapetyan has quit [Ping timeout: 240 seconds]
camilasan has joined #ruby
yfeldblum has joined #ruby
sherushe has quit [Quit: Page closed]
acarpe has quit [Quit: acarpe]
richard7 has joined #ruby
thomas has quit [Quit: leaving]
tekacs has quit [Ping timeout: 256 seconds]
roshanavand has quit [Remote host closed the connection]
Morrolan has quit [Excess Flood]
diego2 has joined #ruby
diego2 has quit [Changing host]
diego2 has joined #ruby
diego2 is now known as diegoviola
kalopsian has joined #ruby
anaeem1 has joined #ruby
dagda1 has joined #ruby
JStoker has quit [Excess Flood]
Takumo has quit [Ping timeout: 255 seconds]
Morrolan has joined #ruby
anaeem1 has quit [Remote host closed the connection]
GinoManWorks has quit [Read error: Connection reset by peer]
rikkipitt has quit [Remote host closed the connection]
JStoker has joined #ruby
Takumo has joined #ruby
Takumo has quit [Changing host]
Takumo has joined #ruby
tekacs has joined #ruby
richard7 has left #ruby [#ruby]
dagda1 has quit [Client Quit]
bradleyprice has quit [Remote host closed the connection]
bradleyprice has joined #ruby
nullwarp has quit [Ping timeout: 260 seconds]
ico has quit [Read error: Connection reset by peer]
thomas has joined #ruby
ico has joined #ruby
sandstrom has joined #ruby
ico has quit [Read error: Connection reset by peer]
alakra has quit [Ping timeout: 246 seconds]
ico has joined #ruby
TheMoonMaster has quit [Ping timeout: 264 seconds]
bMalum has quit [Quit: bMalum]
Drakevr has quit [Ping timeout: 272 seconds]
Apocalypse has quit [Ping timeout: 256 seconds]
grill has joined #ruby
ico has quit [Read error: Connection reset by peer]
bradleyprice has quit [Ping timeout: 246 seconds]
ico has joined #ruby
defendguin has quit [Quit: Leaving.]
blackmesa has quit [Ping timeout: 250 seconds]
Drakevr has joined #ruby
<yorickpeterse> headius: the specs are in spec/socket/pack_sockaddr_in_spec.rb
<yorickpeterse> also the specs don't hang, they take some time
<yorickpeterse> a bunch of them wait for stuff to complete
rikkipitt has joined #ruby
adgtl has joined #ruby
Begi has quit [Ping timeout: 255 seconds]
azgil has joined #ruby
hagabaka has quit [Remote host closed the connection]
roshanavand has joined #ruby
<headius> how long is long? It seems to be on this particular expectation for nearly a minute now
hagabaka has joined #ruby
<headius> yorickpeterse: ^
<phredus> Hello all, I am new to ruby I have installed ruby19 ruby20 and ruby21 installed on my system, DoI need all of them? or just the latest? or?
grill has quit [Ping timeout: 272 seconds]
akem has joined #ruby
<headius> call me crazy but with zero cpu and going on two minutes now, I think it's hung
spider-mario has quit [Quit: No Ping reply in 180 seconds.]
s2013 has joined #ruby
ht__ has quit [Quit: Konversation terminated!]
rgrmatt has quit [Remote host closed the connection]
alakra has joined #ruby
<yorickpeterse> headius: that is too long, at most they should wait a second or two
<headius> BasicSocket#send using IPv4 using a connected TPC socket using the MSG_OOB flag
<headius> - sends an out-of-band message
<headius> that's the one that hangs on my system
<adaedra> phredus: usually, the latest is fine.
<adaedra> phredus: also, latest is 2.3 now.
<headius> ruby 2.3.0, OS X 10.10.3
<yorickpeterse> headius: I haven't fully fixed all specs for OS X yet
<yorickpeterse> currently working on that, maybe that one hangs on OS X
<headius> ahh ok
Apocalypse has joined #ruby
spider-mario has joined #ruby
<yorickpeterse> which is also why I haven't prepped a Gem yet
<phredus> ok thank you
<headius> yay, quick fix and Addrinfo is down from 258F to 55F
ico has quit [Read error: Connection reset by peer]
<headius> I suspect the lions share of these failures are going to be the same thing
dlitvak_ has quit [Ping timeout: 260 seconds]
ico has joined #ruby
<headius> it's not like we don't have a working socket library...but the more arcane APIs are missing or partial
DavidDudson has quit [Quit: Goodbye all, and thankyou.]
bradleyprice has joined #ruby
steffkes has quit [Ping timeout: 265 seconds]
roshanavand has quit [Ping timeout: 260 seconds]
<headius> I mostly got sockaddr and addrinfo stuff working enough for stdlib's use
TheMoonMaster has joined #ruby
bradleyprice has quit [Remote host closed the connection]
bradleyprice has joined #ruby
<headius> yorickpeterse: have you run these against JRuby much?
ico has quit [Read error: Connection reset by peer]
<yorickpeterse> No
_whitelogger has joined #ruby
plsk has quit [Ping timeout: 276 seconds]
lucas has quit [Ping timeout: 276 seconds]
curses has joined #ruby
ico has joined #ruby
ico has quit [Read error: Connection reset by peer]
icecrxm has left #ruby ["Leaving"]
gizmore|2 has joined #ruby
roshanavand has joined #ruby
Drakevr has quit [Ping timeout: 240 seconds]
diego2 has joined #ruby
[spoiler] has joined #ruby
nullwarp has joined #ruby
canton7 has joined #ruby
Drakevr has joined #ruby
ammar has quit [Ping timeout: 240 seconds]
dorei has quit []
gizless has quit [Ping timeout: 264 seconds]
tekacs has quit [Ping timeout: 255 seconds]
lnx has quit [Ping timeout: 264 seconds]
tekacs has joined #ruby
DarkElement_ has quit [Quit: Lost terminal]
roshanavand has quit [Remote host closed the connection]
_whitelogger has quit [Ping timeout: 240 seconds]
_whitelogger has joined #ruby
_whitelogger has joined #ruby
roshanavand has quit [Remote host closed the connection]
JoL1hAHN has joined #ruby
<headius> yorickpeterse: thanks for working on these...should help us shore up API edges a bit in JRuby
canton7 has joined #ruby
<headius> and perhaps when your work is done it will work on JRuby too
JStoker has joined #ruby
gizless has joined #ruby
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Morrolan has joined #ruby
gizmore|2 has joined #ruby
__chris has quit [Quit: This computer has gone to sleep]
lnx has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
ammar has joined #ruby
`derpy has joined #ruby
robh71 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
EvilJStoker has joined #ruby
gizmore|3 has joined #ruby
gizmore has quit [Ping timeout: 272 seconds]
plsk has joined #ruby
nullwarp has quit [Ping timeout: 260 seconds]
solars has joined #ruby
Jackneill has quit [Ping timeout: 255 seconds]
gizless has quit [Ping timeout: 260 seconds]
andywojo has joined #ruby
gizmore has joined #ruby
baweaver has joined #ruby
gizmore|2 has quit [Ping timeout: 260 seconds]
rgtk_ has quit [Remote host closed the connection]
djbkd_ has quit []
gizmore|3 has quit [Ping timeout: 260 seconds]
spider-mario has joined #ruby
neanderslob has joined #ruby
gizless has joined #ruby
pawnbox has joined #ruby
andywojo has quit [Ping timeout: 255 seconds]
akem has quit [Quit: Bye]
narcan has joined #ruby
Channel6 has quit [Ping timeout: 272 seconds]
varunwachaspati has quit [Quit: Connection closed for inactivity]
gizmore|2 has joined #ruby
troulouliou_dev has quit [Quit: Leaving]
vikas027 has joined #ruby
gizmore has quit [Ping timeout: 245 seconds]
neanderslob has quit [Remote host closed the connection]
troulouliou_dev has joined #ruby
pawnbox has quit [Ping timeout: 260 seconds]
gizless has quit [Ping timeout: 240 seconds]
adgtl has quit [Ping timeout: 272 seconds]
hxegon has joined #ruby
gccostabr has quit [Ping timeout: 245 seconds]
hobodave has quit [Ping timeout: 264 seconds]
duckpuppy has joined #ruby
celly has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
ico has quit [Read error: Connection reset by peer]
kaleido has quit [Quit: Textual IRC Client: www.textualapp.com]
ico has joined #ruby
lucas has joined #ruby
neanderslob has joined #ruby
canton7 has quit [Ping timeout: 240 seconds]
Takumo has quit [Ping timeout: 240 seconds]
lucas has quit [Ping timeout: 264 seconds]
Morrolan has quit [Ping timeout: 265 seconds]
s00pcan has quit [Remote host closed the connection]
oddmunds has quit [Ping timeout: 240 seconds]
celly has quit [Remote host closed the connection]
gccostabr has joined #ruby
zenlot has joined #ruby
leslie has quit [Ping timeout: 276 seconds]
Drakevr has quit [Ping timeout: 246 seconds]
kaspergrubbe has quit [Ping timeout: 240 seconds]
plsk has quit [Ping timeout: 250 seconds]
Drakevr has joined #ruby
futilegames has joined #ruby
Takumo has joined #ruby
Takumo has joined #ruby
ammar has quit [Ping timeout: 276 seconds]
JStoker has quit [Excess Flood]
JStoker has joined #ruby
zenlot4 has quit [Ping timeout: 250 seconds]
duckpuppy has quit [Ping timeout: 250 seconds]
colegatron has quit [Ping timeout: 250 seconds]
futilegames has quit [Client Quit]
_whitelogger has joined #ruby
lucas has joined #ruby
tekacs has joined #ruby
lnx has joined #ruby
[spoiler] has joined #ruby
JoL1hAHN has joined #ruby
rgrmatt has joined #ruby
ico has quit [Read error: Connection reset by peer]
Lucky__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Takumo has joined #ruby
Takumo has quit [Changing host]
Takumo has joined #ruby
ico has joined #ruby
oddmunds has joined #ruby
ammar has joined #ruby
Morrolan has joined #ruby
gizmore has joined #ruby
rikkipitt has quit [Remote host closed the connection]
hakunin has quit [Ping timeout: 245 seconds]
gccostabr has quit [Ping timeout: 250 seconds]
plsk has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
dkelman has joined #ruby
tmtwd has quit [Ping timeout: 272 seconds]
spider-mario has joined #ruby
gizmore|2 has quit [Ping timeout: 246 seconds]
acarpe has joined #ruby
gccostabr has joined #ruby
ico has quit [Read error: Connection reset by peer]
ico has joined #ruby
newbie has joined #ruby
Liothen has joined #ruby
Liothen has joined #ruby
newbie is now known as Guest9702
yqt has quit [Ping timeout: 256 seconds]
ico has quit [Read error: Connection reset by peer]
kaspergrubbe has joined #ruby
thejamespinto_ has joined #ruby
thejamespinto has quit [Read error: No route to host]
[Butch] has quit [Quit: I'm out . . .]
ico has joined #ruby
ico has quit [Read error: Connection reset by peer]
ico has joined #ruby
Drakevr has quit [Changing host]
Drakevr has joined #ruby
bkxd has joined #ruby
colegatron has joined #ruby
ascarter has joined #ruby
FernandoBasso has quit [Quit: Leaving]
bubbys has quit [Ping timeout: 240 seconds]
acarpe has quit [Quit: acarpe]
bubbys has joined #ruby
rikkipitt has joined #ruby
sgambino_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
scripore has joined #ruby
axl_ has quit [Quit: axl_]
ElFerna has quit [Ping timeout: 264 seconds]
ico has quit [Read error: Connection reset by peer]
ico has joined #ruby
ico has quit [Read error: Connection reset by peer]
blackmesa has quit [Ping timeout: 264 seconds]
gizless has joined #ruby
qpls has quit [Ping timeout: 256 seconds]
gizmore|2 has joined #ruby
hagabaka has quit [Remote host closed the connection]
qpls has joined #ruby
hagabaka has joined #ruby
gizmore has quit [Ping timeout: 240 seconds]
gizmore has joined #ruby
baweaver has joined #ruby
FeS has joined #ruby
gccostabr has quit [Ping timeout: 250 seconds]
RobertBirnie has quit [Ping timeout: 250 seconds]
rgrmatt has quit [Remote host closed the connection]
gizless has quit [Ping timeout: 240 seconds]
rgrmatt has joined #ruby
lemur has joined #ruby
thejamespinto_ has quit [Remote host closed the connection]
diego2 has quit [Ping timeout: 250 seconds]
gccostabr has joined #ruby
rgrmatt has quit [Remote host closed the connection]
gizmore|2 has quit [Ping timeout: 265 seconds]
senayar has joined #ruby
senayar has quit [Changing host]
senayar has joined #ruby
framling has joined #ruby
gizless has joined #ruby
Pupeno has joined #ruby
baweaver has quit [Ping timeout: 272 seconds]
coffeecupp has joined #ruby
gizmore|2 has joined #ruby
rgrmatt has joined #ruby
gizmore has quit [Ping timeout: 260 seconds]
narcan has joined #ruby
araujo has quit [Ping timeout: 255 seconds]
araujo has joined #ruby
kadoppe has quit [Ping timeout: 246 seconds]
kadoppe has joined #ruby
gizless has quit [Ping timeout: 265 seconds]
kmckelvi1 has quit [Ping timeout: 240 seconds]
Guest6223 has quit [Remote host closed the connection]
kirun has quit [Remote host closed the connection]
minimalism has joined #ruby
akem has quit [Quit: Bye]
gizmore has joined #ruby
millerti has joined #ruby
gizmore|2 has quit [Ping timeout: 276 seconds]
adgtl has joined #ruby
dkelman has quit [Quit: dkelman]
RobertBirnie has joined #ruby
dfinninger has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
dfinninger has joined #ruby
ur5us has joined #ruby
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
bkxd has quit [Ping timeout: 255 seconds]
kegan_ has quit [Ping timeout: 276 seconds]
graffix222 has quit [Read error: Connection reset by peer]
rikkipitt has quit [Quit: Leaving...]
centrx has quit [Remote host closed the connection]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
duncannz has joined #ruby
nfk|laptop has quit [Quit: yawn]
ur5us has quit [Ping timeout: 265 seconds]
millerti has joined #ruby
dfinninger has quit [Ping timeout: 276 seconds]
FeS has quit [Quit: Konversation terminated!]
CloCkWeRX has joined #ruby
wolffles has quit [Quit: wolffles]
coffeecupp has quit [Quit: Leaving]
rkazak_ has quit [Quit: Sleep.....ing....]
mary5030_ has joined #ruby
ElFerna has joined #ruby
mary5030 has quit [Ping timeout: 245 seconds]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pupeno has quit [Remote host closed the connection]