havenwood changed the topic of #ruby to: Rules & more: http://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.9: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || logs @ http://irclog.whitequark.org/ruby/
jancel has quit [Ping timeout: 240 seconds]
mikecmpbll has quit [Quit: Textual IRC Client: www.textualapp.com]
_panpainter has quit []
xlegoman has joined #ruby
Cohedrin has quit [Quit: Textual IRC Client: www.textualapp.com]
Cohedrin has joined #ruby
sid_fules has quit [Read error: Connection reset by peer]
lightt has joined #ruby
justapersona has quit [Quit: Leaving.]
babblebre has quit [Quit: Connection closed for inactivity]
smathy_ has quit [Read error: Connection reset by peer]
CoderPuppy has joined #ruby
ixti has quit [Quit: WeeChat 1.5]
ico has quit []
ZeroeSparticus has quit [Quit: ZeroeSparticus]
cpup has quit [Ping timeout: 260 seconds]
hightower3 has joined #ruby
postmodern has quit [Ping timeout: 260 seconds]
aries_liuxueyang has quit [Ping timeout: 260 seconds]
diegoviola has quit [Ping timeout: 244 seconds]
rcvalle has quit [Quit: rcvalle]
ReK2GnULinuX has joined #ruby
blackmesa has joined #ruby
smathy has joined #ruby
ReK2 has quit [Ping timeout: 244 seconds]
tristanp has quit [Read error: Connection reset by peer]
tristanp has joined #ruby
triangles has joined #ruby
Rodya_ has joined #ruby
nankyokusei has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
triangles2 has quit [Ping timeout: 252 seconds]
frem_ has quit [Quit: Connection closed for inactivity]
aries_liuxueyang has joined #ruby
idefine has joined #ruby
postmodern has joined #ruby
cpup has joined #ruby
arlek has quit [Ping timeout: 252 seconds]
tvw has quit [Ping timeout: 260 seconds]
infinitone has joined #ruby
aupadhye has joined #ruby
moei has quit [Quit: Leaving...]
nankyokusei has quit [Ping timeout: 260 seconds]
idefine has quit [Ping timeout: 252 seconds]
CoderPuppy has quit [Ping timeout: 246 seconds]
senayar has quit []
blaxter has quit [Quit: KTHXBYE]
sid_fules has joined #ruby
cosmicfires has joined #ruby
symm- has joined #ruby
<cosmicfires> does ruby have a traceroute gem? (/usr/sbin/traceroute, not rails routes)
arlek has joined #ruby
<Arcaire> erm
<Arcaire> what
<Arcaire> I guess if you install ruby-nmap you'd have access to Nmap::Traceroute
sid_fules has quit [Ping timeout: 264 seconds]
<Arcaire> but that's only if you run the nmap trace with ``
<cosmicfires> thanks Arcaire
<cosmicfires> thanks havenwood
mattwashere has joined #ruby
<cosmicfires> I want to find the router dropping packets when my net connection goes down
<cosmicfires> so I can pester comcast to fix their stuff instead of tell me how great they are
elifoster has joined #ruby
Vlat- has quit [Quit: Vlat-]
<cosmicfires> I wrote a program to ping ever 4 seconds and keep a record
tristanp has quit [Remote host closed the connection]
<baweaver> then why not just use traceroute?
<baweaver> shell scripts work just as well, and you can call out to the shell.
<baweaver> then just put it all in a cron job
<cosmicfires> good idea baweaver, I'll try that
ledestin has joined #ruby
Alazoral has joined #ruby
infinitone has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
idefine has joined #ruby
<pipework> Mmm unix
<pipework> dat philosophy, amirite
ReK2GnULinuX has quit [Remote host closed the connection]
lightt has quit [Read error: Connection reset by peer]
davedev24 has quit []
djbkd has quit [Remote host closed the connection]
CoderPuppy has joined #ruby
<Arcaire> no
wrkrcoop has quit [Quit: wrkrcoop]
helpa has quit [Remote host closed the connection]
ReK2 has joined #ruby
ReK2 has quit [Changing host]
ReK2 has joined #ruby
<Arcaire> people need to let that go a bit
helpa has joined #ruby
sdothum has quit [Ping timeout: 246 seconds]
<baweaver> Arcaire: let it go?
<Arcaire> DON'T
* baweaver grumbles about Arcaire being no fun
<Arcaire> I learned it from our chief of opers.
<Arcaire> :^)
* baweaver closes singalong tab
<Arcaire> hahaha
<pipework> butyesdoe
cpup has quit [Ping timeout: 264 seconds]
sorah has joined #ruby
sdothum has joined #ruby
Fr0Master is now known as FroMaster
idefine has quit [Remote host closed the connection]
aspiers has quit [Ping timeout: 260 seconds]
idefine has joined #ruby
aspiers has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
yqt has quit [Ping timeout: 240 seconds]
aegis3121 has joined #ruby
marr has quit [Ping timeout: 272 seconds]
jenrzzz has quit [Ping timeout: 250 seconds]
ahuman has quit [Ping timeout: 240 seconds]
smathy is now known as smathy_afk
rkazak has joined #ruby
amclain has quit [Quit: Leaving]
infinitone has joined #ruby
ahuman has joined #ruby
mattp_ has joined #ruby
nfk has quit [Quit: Try memory.free_dirty_pages=true in about:config]
lightt has joined #ruby
moei has joined #ruby
cpup has joined #ruby
tristanp has joined #ruby
sneakerhax has quit [Ping timeout: 240 seconds]
mtkd has quit [Ping timeout: 240 seconds]
CoderPuppy has quit [Ping timeout: 258 seconds]
Es0teric has joined #ruby
lightt has quit [Remote host closed the connection]
Spami_ has quit [Quit: This computer has gone to sleep]
jancel has joined #ruby
mtkd has joined #ruby
blackmesa has joined #ruby
mleung has joined #ruby
Rodya_ has quit [Remote host closed the connection]
machinewar has joined #ruby
<machinewar> if i include a module in a class how can I have those methods be defined after the methods in the class its included in?
<machinewar> it seems to define them above the other methods
CoderPuppy has joined #ruby
jancel_ has joined #ruby
douglasc_ has joined #ruby
cpup has quit [Ping timeout: 264 seconds]
jancel has quit [Ping timeout: 272 seconds]
jancel_ has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 276 seconds]
douglascorrea has quit [Ping timeout: 250 seconds]
freerobby has joined #ruby
maletor3 has quit [Ping timeout: 276 seconds]
moeabdol has joined #ruby
Rickmast_ has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
Rickmasta has quit [Ping timeout: 244 seconds]
tildes_ has quit [Ping timeout: 264 seconds]
Rodya_ has joined #ruby
moeabdol has quit [Ping timeout: 276 seconds]
kent\n has quit [Quit: time for a kernel upgrade]
Rodya_ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
Coral has joined #ruby
Coral is now known as tjad
mleung has quit [Quit: mleung]
postmodern has quit [Quit: Leaving]
jrafanie has joined #ruby
cpup has joined #ruby
triangles2 has joined #ruby
CoderPuppy has quit [Ping timeout: 246 seconds]
nanoz has quit [Read error: Connection reset by peer]
triangles has quit [Ping timeout: 244 seconds]
ReK2 has quit [Remote host closed the connection]
arlek has quit [Ping timeout: 260 seconds]
gtsai has joined #ruby
CoderPuppy has joined #ruby
ReK2 has joined #ruby
ReK2 has quit [Changing host]
ReK2 has joined #ruby
ensyde__ has joined #ruby
cpup has quit [Ping timeout: 264 seconds]
flashpoint9 has joined #ruby
symm- has quit [Ping timeout: 276 seconds]
gtsai has quit [Remote host closed the connection]
jancel has joined #ruby
gtsai has joined #ruby
c355e3b has quit [Quit: Connection closed for inactivity]
rkazak has quit [Quit: Sleep.....ing....]
flashpoint9 has quit [Ping timeout: 258 seconds]
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
triangles has joined #ruby
arlek has joined #ruby
triangles2 has quit [Ping timeout: 260 seconds]
mleung has joined #ruby
<nofxx> machinewar, include in the end
<nofxx> or bellow the methods
RegulationD has quit [Remote host closed the connection]
symm- has joined #ruby
douglasc_ has quit [Remote host closed the connection]
tmtwd has joined #ruby
tmtwd has quit [Max SendQ exceeded]
tmtwd has joined #ruby
blackmesa has joined #ruby
grill has joined #ruby
jancel has quit [Remote host closed the connection]
nankyokusei has joined #ruby
JoshGlzBrk has joined #ruby
idefine has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 260 seconds]
yfeldblum has joined #ruby
douglascorrea has joined #ruby
nankyokusei has quit [Ping timeout: 240 seconds]
tristanp has quit [Remote host closed the connection]
sneakerhax has joined #ruby
Rodya_ has quit [Quit: Leaving...]
jancel has joined #ruby
aegis3121 has quit [Quit: Sleeping...]
yfeldblum has quit [Remote host closed the connection]
dar123 has joined #ruby
yfeldblum has joined #ruby
jancel has quit [Remote host closed the connection]
kt2 has joined #ruby
chooky has joined #ruby
flashpoint9 has joined #ruby
kt2 has quit [Client Quit]
craigp has quit [Ping timeout: 244 seconds]
lacrosse has quit [Quit: Connection closed for inactivity]
flashpoint9 has quit [Ping timeout: 272 seconds]
JoshGlzBrk has quit [Quit: Textual IRC Client: www.textualapp.com]
<machinewar> nofxx: thanks
<machinewar> anyone used Rake::TestTask to include tests with pattern _test.rb and the test_helper.rb
symm- has quit [Ping timeout: 250 seconds]
<machinewar> hard since have different patterns and expect to give pattern of file to load with patterns
Dimik has quit [Ping timeout: 272 seconds]
braincra- has joined #ruby
Vlat- has joined #ruby
coffeecupp has joined #ruby
braincrash has quit [Ping timeout: 260 seconds]
chooky has quit [Quit: Leaving]
mattwashere has quit []
machinewar has quit []
xxneolithicxx has joined #ruby
xxneolithicxx has quit [Max SendQ exceeded]
xxneolithicxx has joined #ruby
tristanp has joined #ruby
jancel has joined #ruby
mattwashere has joined #ruby
coffeecupp has quit [Ping timeout: 260 seconds]
douglasc_ has joined #ruby
douglascorrea has quit [Read error: Connection reset by peer]
Spami_ has joined #ruby
Spami_ has quit [Client Quit]
cg has joined #ruby
xlegoman has quit [Quit: Textual IRC Client: www.textualapp.com]
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
|meta has quit [Quit: Connection closed for inactivity]
douglasc_ has quit [Read error: Connection reset by peer]
paradisaeidae_ has joined #ruby
douglascorrea has joined #ruby
Ropeney has joined #ruby
mattwashere has quit [Remote host closed the connection]
Ropeney has quit [Client Quit]
mattwashere has joined #ruby
infinitone has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
douglascorrea has quit [Read error: Connection reset by peer]
douglascorrea has joined #ruby
braincra- has quit [Quit: bye bye]
ramfjord_ has quit [Ping timeout: 272 seconds]
Vlat- has quit [Quit: Vlat-]
coffeecupp has joined #ruby
arescorpio has joined #ruby
braincrash has joined #ruby
coffeecupp has quit [Quit: Lost terminal]
diegoaguilar has joined #ruby
Coldblackice has quit [Ping timeout: 260 seconds]
lxsameer has joined #ruby
tmtwd has quit [Ping timeout: 264 seconds]
blackmesa has joined #ruby
karmatr0n has joined #ruby
k3rn31 has joined #ruby
davedev24 has joined #ruby
Ropeney has joined #ruby
Yiota has joined #ruby
Devalo has joined #ruby
davedev24 has quit [Client Quit]
blackgoat has quit [Quit: WeeChat 1.5]
etehtsea has joined #ruby
maletor3 has joined #ruby
lxsameer has quit [Ping timeout: 276 seconds]
blackmesa has quit [Ping timeout: 260 seconds]
Devalo has quit [Ping timeout: 250 seconds]
mtkd has quit [Ping timeout: 272 seconds]
maletor3 has quit [Ping timeout: 260 seconds]
cg has quit [Ping timeout: 250 seconds]
mleung has quit [Quit: mleung]
chouhoulis has joined #ruby
blackgoat has joined #ruby
jwang has quit [Ping timeout: 258 seconds]
freerobby has quit [Quit: Leaving.]
jancel has quit [Remote host closed the connection]
jrafanie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
coffeecupp has joined #ruby
diegoaguilar has quit [Ping timeout: 244 seconds]
tjad has quit [Ping timeout: 250 seconds]
hahuang61 has joined #ruby
LoneHermit has joined #ruby
hahuang65 has quit [Ping timeout: 258 seconds]
diegoviola has joined #ruby
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Yiota has joined #ruby
bnjf has joined #ruby
diegoviola has quit [Client Quit]
Yiota has quit [Client Quit]
grill has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Yiota has joined #ruby
kyrose has joined #ruby
<kyrose> Hi jhass, are you there?
skweek has joined #ruby
coffeecupp has quit [Quit: Lost terminal]
shadowshell has joined #ruby
diegoaguilar has joined #ruby
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
RegulationD has joined #ruby
idefine has joined #ruby
gix has quit [Ping timeout: 260 seconds]
Yiota has joined #ruby
kyrose has quit [Quit: Leaving]
Xentil has quit [Ping timeout: 260 seconds]
bnjf has quit [Ping timeout: 250 seconds]
armyriad has quit [Read error: Connection reset by peer]
bnjf has joined #ruby
solocshaw has quit [Ping timeout: 258 seconds]
gix has joined #ruby
cg has joined #ruby
armyriad has joined #ruby
mleung has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
xxneolithicxx has quit [Quit: Leaving.]
kareeoleez has joined #ruby
mleung has quit [Client Quit]
arlek has quit [Ping timeout: 260 seconds]
lxsameer has joined #ruby
znz_jp has quit [Remote host closed the connection]
hk238 has joined #ruby
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rkazak has joined #ruby
znz_jp has joined #ruby
karmatr0n has quit [Ping timeout: 276 seconds]
Yiota has joined #ruby
tmtwd has joined #ruby
justapersona has joined #ruby
justapersona has quit [Client Quit]
Coldblackice has joined #ruby
mleung has joined #ruby
armyriad has quit [Ping timeout: 240 seconds]
armyriad has joined #ruby
kgrz has joined #ruby
mattwashere has quit [Remote host closed the connection]
mleung has quit [Client Quit]
SilverKey has joined #ruby
ramfjord has joined #ruby
armyriad has quit [Max SendQ exceeded]
mleung has joined #ruby
arooni has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
blackmesa has joined #ruby
SilverKey has quit [Quit: Cheerio!]
nankyokusei has joined #ruby
maletor3 has joined #ruby
blackmesa has quit [Ping timeout: 244 seconds]
mattwashere has joined #ruby
howdoi has joined #ruby
vikaton has quit [Quit: Connection closed for inactivity]
LoneHermit has quit [Remote host closed the connection]
smathy_afk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nankyokusei has quit [Ping timeout: 272 seconds]
diegoaguilar has quit [Remote host closed the connection]
rkazak has quit [Quit: Sleep.....ing....]
idefine has quit [Ping timeout: 250 seconds]
maletor3 has quit [Ping timeout: 252 seconds]
CorOne has joined #ruby
dar123 has quit [Read error: Connection reset by peer]
tildes_ has joined #ruby
cg has left #ruby [#ruby]
Corrosive_ has quit [Ping timeout: 244 seconds]
marxarelli has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zapata has quit [Quit: WeeChat 1.5]
davedev24 has joined #ruby
malconis has joined #ruby
malconis has quit [Client Quit]
idefine has joined #ruby
skweek has quit [Ping timeout: 240 seconds]
LoneHerm_ has joined #ruby
Vile` has quit [Ping timeout: 260 seconds]
devbug has joined #ruby
infinitone has joined #ruby
devbug has quit [Client Quit]
electrostat has quit [Remote host closed the connection]
devbug has joined #ruby
zapata has joined #ruby
zzak has quit [Remote host closed the connection]
zzak has joined #ruby
jaguarmagenta has joined #ruby
jancel has joined #ruby
xMopxShell has quit [Ping timeout: 244 seconds]
elifoster has quit [Ping timeout: 244 seconds]
Yiota has quit [Ping timeout: 244 seconds]
electrostat has joined #ruby
Yiota has joined #ruby
jancel has quit [Ping timeout: 240 seconds]
duoi has joined #ruby
davedev24 has quit []
Yiota has quit [Read error: Connection reset by peer]
moei has quit [Read error: Connection reset by peer]
Yiota has joined #ruby
moei has joined #ruby
xMopxShell has joined #ruby
mattwashere has quit [Ping timeout: 276 seconds]
Caerus|Away is now known as Caerus
Madplatypus has quit [Quit: Connection closed for inactivity]
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Caerus> hi #ruby :)
dionysus69 has joined #ruby
gtsai has quit [Ping timeout: 252 seconds]
karmatr0n has joined #ruby
yfeldblu_ has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblu_ has quit [Remote host closed the connection]
guardianJ has joined #ruby
yfeldblum has joined #ruby
<zzak> [travis-ci, irc.freenode.net] The build is still failing. by @nobu: See https://travis-ci.org/ruby/ruby/builds/134357866
Es0teric has quit [Quit: Computer has gone to sleep.]
karmatr0n has quit [Ping timeout: 260 seconds]
ishe_ua has joined #ruby
uncertainty has joined #ruby
idefine has quit [Read error: Connection reset by peer]
emilkarl has joined #ruby
Oclair has joined #ruby
arescorpio has quit [Quit: Leaving.]
dionysus69 has quit [Remote host closed the connection]
idefine has joined #ruby
anisha has joined #ruby
dionysus69 has joined #ruby
vdamewood has joined #ruby
uncertainty has quit [Ping timeout: 250 seconds]
<zzak> [travis-ci, irc.freenode.net] The build is still failing. by @nobu: See https://travis-ci.org/ruby/ruby/builds/134358415
infinitone has quit [Quit: Textual IRC Client: www.textualapp.com]
saneax_AFK is now known as saneax
Devalo has joined #ruby
sid_fules has joined #ruby
tmtwd has quit [Ping timeout: 244 seconds]
blackmesa has joined #ruby
c0mrad3 has joined #ruby
<Radar> zzak: why?
postmodern has joined #ruby
eljimmy has quit [Quit: This computer has gone to sleep]
maletor3 has joined #ruby
sid_fules has quit [Ping timeout: 264 seconds]
blackmesa has quit [Ping timeout: 260 seconds]
<hanmac> Radar: zzak does look like a bot, so i don't think he will answer you
guardianJ has left #ruby [#ruby]
bobbycvi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Cohedrin has joined #ruby
chipotle_ has quit [Quit: cheerio]
kareeoleez has quit [Remote host closed the connection]
maletor3 has quit [Ping timeout: 260 seconds]
moeabdol has joined #ruby
moeabdol has quit [Client Quit]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jyaworski has quit [Quit: ZNC - http://znc.in]
jyaworski has joined #ruby
moeabdol has joined #ruby
mleung has quit [Quit: mleung]
jphase has joined #ruby
kent\n has joined #ruby
<Radar> hanmac: if zzak is a bot then it was the best animatronic bot that I have ever met.
kent\n has quit [Changing host]
kent\n has joined #ruby
mleung has joined #ruby
pawnbox has joined #ruby
<jphase> hi, I'm new to ruby and am going through this tutorial: http://12devs.co.uk/articles/writing-a-web-application-with-ruby-on-rails/ at the part that says "The Bookmark model". After I ran "rails generate scaffold bookmark title:string url:string" and did a db migrate I get "Bookmark (call 'Bookmark.connection' to establish a connection)" in my rails console. Anyone see what I'm missing?
ensyde__ has quit [Ping timeout: 258 seconds]
<Radar> jphase: What happens if you do Bookmark.all?
<jphase> Radar: it looks more promising: Bookmark Load (1.2ms) SELECT "bookmarks".* FROM "bookmarks"
<jphase> I also see: => #<ActiveRecord::Relation []>
<Radar> jphase: Ok, so that might just be because nothing in the console has needed to establish a database connection yet. You can ignore that advice to call Bookmark.connection.
<jphase> ahh right, so ruby likes to just let you know about stuff
<jphase> hehe, thx :)
<jphase> </noob>
<Radar> jphase: If you're looking for a longer tutorial, I wrote a book called Rails 4 in Action which I'd like to recommend: https://www.manning.com/books/rails-4-in-action
last_staff has joined #ruby
jancel has joined #ruby
slacker_d has joined #ruby
slacker_d has left #ruby ["Leaving"]
sauvin has joined #ruby
uncertainty has joined #ruby
guardianJ has joined #ruby
jancel has quit [Ping timeout: 276 seconds]
guardianJ has quit [Remote host closed the connection]
moeabdol1 has joined #ruby
<jphase> Radar: ah, more comprehensive docs. much obliged :)
mgorbach has quit [Ping timeout: 260 seconds]
Macaveli has joined #ruby
mtkd has joined #ruby
moeabdol has quit [Ping timeout: 264 seconds]
kareeoleez has joined #ruby
kareeoleez has quit [Remote host closed the connection]
Madplatypus has joined #ruby
kareeoleez has joined #ruby
mgorbach has joined #ruby
karmatr0n has joined #ruby
Cohedrin has joined #ruby
ensyde__ has joined #ruby
djbkd has joined #ruby
emilkarl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
joonty has joined #ruby
ensyde has joined #ruby
tmtwd has joined #ruby
djbkd has quit [Read error: Connection reset by peer]
djbkd has joined #ruby
karmatr0n has quit [Ping timeout: 260 seconds]
infra-red has joined #ruby
ensyde__ has quit [Ping timeout: 240 seconds]
<zzak> [travis-ci, irc.freenode.net] The build is still failing. by @nobu: See https://travis-ci.org/ruby/ruby/builds/134365377
AlexRussia has quit [Ping timeout: 276 seconds]
Devalo has quit [Remote host closed the connection]
tildes_ has quit [Ping timeout: 276 seconds]
idefine has quit [Ping timeout: 252 seconds]
uncertainty has quit [Ping timeout: 244 seconds]
fenre_ has joined #ruby
jaguarma_ has joined #ruby
domgetter has quit [Ping timeout: 276 seconds]
vdamewood has quit [Quit: Life beckons.]
douglascorrea has quit [Remote host closed the connection]
jaguarmagenta has quit [Ping timeout: 240 seconds]
eGGshke has joined #ruby
kgrz has quit [Quit: leaving]
blackmesa has joined #ruby
kgrz has joined #ruby
raeoks has joined #ruby
nankyokusei has joined #ruby
aganov has joined #ruby
astrobunny has joined #ruby
skade has joined #ruby
firstdayonthejob has joined #ruby
yfeldblu_ has joined #ruby
maletor3 has joined #ruby
n1x-nz has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
yfeldblum has quit [Ping timeout: 250 seconds]
yfeldblu_ has quit [Remote host closed the connection]
ec is now known as ELLIOTTCABLE
yfeldblum has joined #ruby
nankyokusei has quit [Ping timeout: 252 seconds]
maletor3 has quit [Ping timeout: 258 seconds]
infra-red has quit [Remote host closed the connection]
linc01n_ has joined #ruby
linc01n has quit [Ping timeout: 260 seconds]
Seich has quit [Ping timeout: 272 seconds]
ur5us has quit [Remote host closed the connection]
Vlat- has joined #ruby
Seich has joined #ruby
solars has quit [Ping timeout: 260 seconds]
fenre_ has quit [Remote host closed the connection]
fenre has joined #ruby
uncertainty has joined #ruby
djbkd has quit []
firstdayonthejob has quit [Ping timeout: 240 seconds]
<uncertainty> good morning
uncertainty is now known as certainty
Vlat- has quit [Quit: Vlat-]
DoubleMalt has joined #ruby
paradisaeidae_ has quit [Quit: ChatZilla 0.9.92 [Firefox 46.0.1/20160511223818]]
d0nn1e has quit [Ping timeout: 276 seconds]
last_staff has quit [Quit: last_staff]
d0nn1e has joined #ruby
solars has joined #ruby
andikr has joined #ruby
last_staff has joined #ruby
lightt has joined #ruby
codecop has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
mleung has quit [Quit: mleung]
<Radar> good morning
postmodern has quit [Quit: Leaving]
skade has joined #ruby
tristanp has quit [Read error: Connection reset by peer]
tristanp has joined #ruby
jaguarma_ has quit [Remote host closed the connection]
<baweaver> Radar can't hear you, what was that?
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
<Radar> G͢oo͞d ͏m̢or͝ning
<Radar> GO̢O͢D̴ ͟M̨O̧R͏NI͡NG ͝BA̕WÈAV̧ER̨
ta_ has quit [Remote host closed the connection]
koooge has left #ruby ["Leaving..."]
koooge has joined #ruby
aufi has joined #ruby
rbr has joined #ruby
ur5us has joined #ruby
<zzak> [travis-ci, irc.freenode.net] The build is still failing. by @nobu: See https://travis-ci.org/ruby/ruby/builds/134371979
chouhoulis has quit [Remote host closed the connection]
joonty has quit [Quit: This computer has gone to sleep]
k3rn31 has quit [Quit: Computer has gone to sleep.]
karmatr0n has joined #ruby
CausaMortis has joined #ruby
hk238 has joined #ruby
ur5us has quit [Remote host closed the connection]
Couch has joined #ruby
norc has joined #ruby
jphase has quit [Remote host closed the connection]
marxarelli has joined #ruby
karmatr0n has quit [Ping timeout: 244 seconds]
bluOxigen has quit [Ping timeout: 260 seconds]
amincd has joined #ruby
bluOxigen has joined #ruby
<amincd> hi, what's the difference between Dir.glob("*/*") and Dir.glob("**/*")?
<bnjf> depth
Devalo has joined #ruby
<amincd> bnjf: can you be more specific?
ensyde has quit [Ping timeout: 264 seconds]
<amincd> because Dir.glob("*") returns the same thing as Dir.glob("**")
infra-red has joined #ruby
Corrosive_ has joined #ruby
<bnjf> go deeper
Spami_ has joined #ruby
Devalo has quit [Ping timeout: 250 seconds]
CorOne has quit [Ping timeout: 276 seconds]
devbug has quit [Read error: Connection reset by peer]
hightower2 has quit [Read error: Connection reset by peer]
hightower2 has joined #ruby
douglascorrea has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<amincd> so I guess it means look at all subdirectories recursively
sid_fules has joined #ruby
blackmesa has joined #ruby
craigp has joined #ruby
mark_66 has joined #ruby
douglascorrea has quit [Ping timeout: 276 seconds]
sid_fules has quit [Ping timeout: 264 seconds]
maletor3 has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
<amincd> bnjf: got it, thanks
emilkarl has joined #ruby
TvL2386 has quit [Ping timeout: 244 seconds]
chipotle has joined #ruby
lightt has quit [Read error: Connection reset by peer]
astrobun_ has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
astrobunny has quit [Read error: Connection reset by peer]
maletor3 has quit [Ping timeout: 244 seconds]
ur5us has joined #ruby
ur5us has quit [Read error: No route to host]
mozzarella has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
mozzarel1 has joined #ruby
blackgoat has quit [Ping timeout: 246 seconds]
minimalism has quit [Quit: minimalism]
edwinvdgraaf has joined #ruby
Bugboy1028 has quit [Remote host closed the connection]
LoneHermit has joined #ruby
Bugboy1028 has joined #ruby
Coldblackice has quit [Ping timeout: 246 seconds]
troulouliou_div2 has joined #ruby
auzty has joined #ruby
ur5us has quit [Remote host closed the connection]
lightt has joined #ruby
skweek has joined #ruby
strigonLeader has joined #ruby
marxarelli has quit [Quit: Textual IRC Client: www.textualapp.com]
TomyWork has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
astrobun_ has quit [Remote host closed the connection]
Dimik has joined #ruby
chipotle has quit [Quit: cheerio]
strigonLeader has quit [Ping timeout: 240 seconds]
ta_ has joined #ruby
y2mq37 has joined #ruby
mattwashere has joined #ruby
chipotle has joined #ruby
infra-red has quit [Remote host closed the connection]
guardianJ has joined #ruby
jenrzzz has joined #ruby
infra-red has joined #ruby
darkxploit has quit [Ping timeout: 260 seconds]
RegulationD has joined #ruby
yfeldblum has quit [Ping timeout: 272 seconds]
skade has joined #ruby
mattwashere has quit [Ping timeout: 244 seconds]
evidex has joined #ruby
marr has joined #ruby
RegulationD has quit [Ping timeout: 260 seconds]
emilkarl has quit [Quit: Textual IRC Client: www.textualapp.com]
solocshaw has joined #ruby
HeikkiG has joined #ruby
MrBusiness3 has joined #ruby
rapha has quit [Quit: WeeChat 1.4]
<HeikkiG> good day. Does anyone know how to use regex to match an ASCII text so that //.match(IO.read('/etc/services')) will not throw an exception? Force encoding does not help.
guardianJ has left #ruby [#ruby]
<apeiros> HeikkiG: please paste the exception you get
<HeikkiG> invalid byte sequence in UTF-8
nofxx has quit [Ping timeout: 244 seconds]
<apeiros> the full exception
MrBusiness2 has quit [Ping timeout: 250 seconds]
<HeikkiG> do you have a linux computer around?
<apeiros> I don't think I need a linux computer to read your paste
darkxploit has joined #ruby
<HeikkiG> in `match': invalid byte sequence in UTF-8 (ArgumentError)
<HeikkiG> that's the full exception
<hanmac> HeikkiG: //.match(IO.read('/etc/services').b)
<apeiros> it's not. but luckily the rest is not that important.
karmatr0n has joined #ruby
<apeiros> I'd suggest IO.read(path, encoding: ENCODING::BINARY))
<HeikkiG> thanks hanmac
<apeiros> .b copies the string additionally to setting the encoding to binary
<hanmac> hm yeah apeiros way would be better
codecop has quit [Ping timeout: 250 seconds]
nofxx has joined #ruby
Gasher has joined #ruby
<apeiros> depending on what you do you'll also have to adapt your regex (depending on its content, its encoding will default to utf-8 too)
<HeikkiG> ok, ty
<apeiros> >> /ä/ =~ "ä".b
<ruby[bot]> apeiros: # => incompatible encoding regexp match (UTF-8 regexp with ASCII-8BIT string) (Encoding::CompatibilityErr ...check link for more (https://eval.in/580967)
infra-red has quit [Remote host closed the connection]
karmatr0n has quit [Ping timeout: 244 seconds]
czerasz has joined #ruby
infra-red has joined #ruby
codecop has joined #ruby
HeikkiG has left #ruby [#ruby]
aupadhye has quit [Quit: Leaving]
aupadhye has joined #ruby
skade has quit [Ping timeout: 240 seconds]
joonty has joined #ruby
skade has joined #ruby
aupadhye has quit [Client Quit]
LoneHermit has quit [Remote host closed the connection]
aupadhye has joined #ruby
aries_liuxueyang has quit [Ping timeout: 272 seconds]
brendan- has quit [Read error: Connection reset by peer]
brendan- has joined #ruby
AlexRussia has joined #ruby
poguez_ has joined #ruby
ocbtec has joined #ruby
blackmesa has joined #ruby
aries_liuxueyang has joined #ruby
einarj has joined #ruby
nankyokusei has joined #ruby
idefine has joined #ruby
Vlat- has joined #ruby
maletor3 has joined #ruby
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
LoneHerm_ has joined #ruby
the_drow has joined #ruby
the_drow has quit [Max SendQ exceeded]
the_drow has joined #ruby
senayar has joined #ruby
helpa has quit [Remote host closed the connection]
nankyokusei has quit [Ping timeout: 244 seconds]
helpa has joined #ruby
idefine has quit [Ping timeout: 250 seconds]
scepticulous has joined #ruby
chipotle has quit [Quit: cheerio]
Vlat- has quit [Quit: Vlat-]
iooner has quit [Excess Flood]
maletor3 has quit [Ping timeout: 240 seconds]
iooner has joined #ruby
kgrz has quit [Ping timeout: 250 seconds]
sluukkonen has quit [Quit: WeeChat 1.0.1]
etehtsea has quit [Quit: Computer has gone to sleep.]
sluukkonen has joined #ruby
moeabdol2 has joined #ruby
lxsameer has quit [Ping timeout: 260 seconds]
moeabdol1 has quit [Ping timeout: 260 seconds]
<adaedra> Bonjour
lxsameer has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
weckl has joined #ruby
ur5us has joined #ruby
duoi has quit [Ping timeout: 272 seconds]
LoneHerm_ has quit [Remote host closed the connection]
duoi has joined #ruby
saneax is now known as saneax_AFK
skade has joined #ruby
madgen has joined #ruby
rafadc has joined #ruby
skade has quit [Client Quit]
skade has joined #ruby
jaruga___ has joined #ruby
jaruga___ is now known as jaruga____
toretore has joined #ruby
n1x-nz has quit [Quit: Computer says no]
scepticulous has quit [Ping timeout: 272 seconds]
<flughafen> bonjour adaedra
Dimik has quit [Ping timeout: 264 seconds]
madgen has quit [Ping timeout: 260 seconds]
kgrz has joined #ruby
platzhirsch has joined #ruby
scepticulous has joined #ruby
jaguarmagenta has joined #ruby
bluOxigen has quit [Read error: Connection reset by peer]
bluOxigen has joined #ruby
dkam has joined #ruby
kgrz has quit [Ping timeout: 240 seconds]
xpt has quit [Ping timeout: 258 seconds]
jaguarmagenta has quit [Ping timeout: 260 seconds]
workmad3 has joined #ruby
depesz has left #ruby ["WeeChat 1.5-dev"]
Elysia is now known as bathtub_shark
karmatr0n has joined #ruby
Alazoral has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
DoubleMalt has quit [Remote host closed the connection]
skade has quit [Quit: Computer has gone to sleep.]
karmatr0n has quit [Ping timeout: 244 seconds]
slackbotgz has joined #ruby
kvguay has joined #ruby
skade has joined #ruby
scepticulous has quit [Ping timeout: 244 seconds]
judofyr has joined #ruby
kvguay has quit [Remote host closed the connection]
lightt has quit [Remote host closed the connection]
qasaur has joined #ruby
sid_fules has joined #ruby
tgeeky has quit [Ping timeout: 260 seconds]
douglascorrea has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
judofyr has quit []
ferr has joined #ruby
jancel has joined #ruby
scepticulous has joined #ruby
iktbbj has joined #ruby
sid_fules has quit [Ping timeout: 264 seconds]
douglascorrea has quit [Ping timeout: 250 seconds]
xpt has joined #ruby
maletor3 has joined #ruby
aupadhye has quit [Ping timeout: 244 seconds]
jancel has quit [Ping timeout: 260 seconds]
blackmesa has quit [Ping timeout: 260 seconds]
nhhc has quit [Ping timeout: 240 seconds]
maletor3 has quit [Ping timeout: 246 seconds]
bloxbloxbloxblox has joined #ruby
electrostat has quit [Remote host closed the connection]
blackmesa has joined #ruby
saneax_AFK is now known as saneax
kgrz has joined #ruby
terlar has joined #ruby
electrostat has joined #ruby
DoubleMalt has joined #ruby
der-landgraf has quit [Quit: WeeChat 1.5]
amincd has quit [Ping timeout: 250 seconds]
pavan__ has joined #ruby
sdothum has joined #ruby
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
bruce_lee has joined #ruby
nhhc has joined #ruby
terlar has quit [Quit: WeeChat 1.5]
GodFather has quit [Ping timeout: 258 seconds]
slackbotgz has quit [Remote host closed the connection]
joonty has quit [Quit: This computer has gone to sleep]
lightt has joined #ruby
domgetter has joined #ruby
joonty has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
qasaur has quit [Excess Flood]
qasaur has joined #ruby
blackgoat has joined #ruby
<pavan__> hi guys
<pavan__> i am facing the following error
ocbtec has quit [Quit: leaving]
<pavan__> "ERROR: LoadError: cannot load such file -- roo"
<pavan__> what might be the issue
Gasher has quit [Ping timeout: 260 seconds]
<pavan__> i installed all the related gems
<pavan__> dont know still y i amf acing
skade has joined #ruby
<norc> pavan__: It means it cannot find the gem in its gempath
Macaveli has joined #ruby
<pavan__> ohh
<pavan__> do i need to set gems path
<pavan__> @norc
<adaedra> you shouldn't have to
<pavan__> ohh
<pavan__> so any other way to resolve this issue
<adaedra> how did you install 1/ ruby 2/ the gem
<pavan__> gem install roo
<pavan__> in this way @adaedra
<adaedra> and ruby?
<pavan__> using rvm
ocbtec has joined #ruby
<pavan__> rvm use 2.3.1 --default
skade has quit [Quit: Computer has gone to sleep.]
<adaedra> do `gem list --local roo` shows your gem?
vdamewood has joined #ruby
<pavan__> ya displaying
<pavan__> ro 4.0.0
<pavan__> sry roo 4.0.0
joonty has quit [Quit: This computer has gone to sleep]
simplyigor has joined #ruby
simplyigor has quit [Client Quit]
karmatr0n has joined #ruby
johnmilton has quit [Remote host closed the connection]
bluOxigen has quit [Ping timeout: 260 seconds]
joonty has joined #ruby
bluOxigen has joined #ruby
karmatr0n has quit [Ping timeout: 258 seconds]
auzty has quit [Quit: Leaving]
terlar has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
giz|work has joined #ruby
wazzat has joined #ruby
lightt has quit [Remote host closed the connection]
wazzat has left #ruby ["Textual IRC Client: www.textualapp.com"]
nankyokusei has joined #ruby
MrBusiness3 has quit [Ping timeout: 272 seconds]
maletor3 has joined #ruby
joonty has quit [Quit: This computer has gone to sleep]
nankyokusei has quit [Ping timeout: 240 seconds]
maletor3 has quit [Ping timeout: 244 seconds]
Noxilex has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
scepticulous has quit [Ping timeout: 240 seconds]
GodFather has joined #ruby
Seeq has quit [Ping timeout: 250 seconds]
joonty has joined #ruby
kareeoleez has quit [Read error: Connection reset by peer]
maucar has joined #ruby
madgen has joined #ruby
<domgetter> Does YARV have a certain amount of RAM it will use by default? Like the JVM at 4gb? If so, can I tell it to use more?
kareeoleez has joined #ruby
kareeoleez has quit [Read error: Connection reset by peer]
GodFather has quit [Ping timeout: 258 seconds]
phatypus has joined #ruby
kareeoleez has joined #ruby
mattwashere has joined #ruby
rodfersou has joined #ruby
jaguarmagenta has joined #ruby
mattwashere has quit [Ping timeout: 244 seconds]
GodFather has joined #ruby
GodFather has quit [Read error: Connection reset by peer]
GodFather has joined #ruby
vev has joined #ruby
vev has left #ruby ["Leaving - http://www.libreidea.org"]
GodFather has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 252 seconds]
jaguarmagenta has quit [Ping timeout: 250 seconds]
GodFather has joined #ruby
chouhoulis has joined #ruby
jmignault has joined #ruby
ur5us has quit [Remote host closed the connection]
tlaxkit has joined #ruby
chouhoulis has quit [Ping timeout: 260 seconds]
joonty has quit [Quit: This computer has gone to sleep]
GodFather has quit [Ping timeout: 244 seconds]
karmatr0n has joined #ruby
bloxbloxbloxblox has quit [Remote host closed the connection]
madgen has quit [Ping timeout: 244 seconds]
qasaur has quit [Max SendQ exceeded]
qasaur has joined #ruby
mdw has joined #ruby
GodFather has joined #ruby
pavan__ has quit [Ping timeout: 250 seconds]
tvw has joined #ruby
karmatr0n has quit [Ping timeout: 260 seconds]
k3rn31 has joined #ruby
senayar has quit [Remote host closed the connection]
Devalo has joined #ruby
senayar has joined #ruby
Vingador has joined #ruby
GodFather has quit [Remote host closed the connection]
qasaur has quit [Ping timeout: 240 seconds]
GodFather has joined #ruby
qasaur has joined #ruby
qasaur has quit [Client Quit]
lxsameer has quit [Quit: WeeChat 1.5]
Devalo has quit [Ping timeout: 258 seconds]
skade has joined #ruby
craigp has quit [Ping timeout: 260 seconds]
sid_fules has joined #ruby
koooge has quit [Quit: Leaving...]
Seeq has joined #ruby
douglascorrea has joined #ruby
Vile` has joined #ruby
phatypus has quit [Quit: .>]
k3rn31 has quit [Quit: Computer has gone to sleep.]
madgen has joined #ruby
sid_fules has quit [Ping timeout: 264 seconds]
isxek has joined #ruby
qasaur has joined #ruby
gnufied has joined #ruby
blaxter has joined #ruby
douglascorrea has quit [Ping timeout: 258 seconds]
maletor3 has joined #ruby
rafadc has quit [Remote host closed the connection]
ldnunes has joined #ruby
rafadc has joined #ruby
sorah has quit [Ping timeout: 258 seconds]
hutch34__ has joined #ruby
sorah has joined #ruby
k3rn31 has joined #ruby
maletor3 has quit [Ping timeout: 244 seconds]
robbyoconnor has quit [Read error: Connection reset by peer]
c0mrad3 has quit [Quit: Connection closed for inactivity]
robbyoconnor has joined #ruby
pawnbox_ has joined #ruby
nettoweb has quit [Ping timeout: 260 seconds]
skade has quit [Quit: Computer has gone to sleep.]
pawnbox has quit [Ping timeout: 240 seconds]
ta_ has quit [Remote host closed the connection]
hanmac has quit [Ping timeout: 258 seconds]
GodFather has quit [Quit: Ex-Chat]
GodFather has joined #ruby
GodFather has quit [Remote host closed the connection]
ishe_ua has quit [Remote host closed the connection]
hutch34 has joined #ruby
ishe_ua has joined #ruby
elementaru has joined #ruby
GodFather has joined #ruby
johnmilton has joined #ruby
<elementaru> what is the best method in ruby?
hutch34__ has quit [Ping timeout: 260 seconds]
mrmortondk has joined #ruby
poguez_ has quit [Quit: Connection closed for inactivity]
skade has joined #ruby
tulak has joined #ruby
GodFather has quit [Ping timeout: 244 seconds]
cgfbee has quit [Quit: cgfbee]
mdw has quit [Quit: Sleeping Zzzzz]
rodferso1 has joined #ruby
RegulationD has joined #ruby
senayar has quit [Remote host closed the connection]
senayar has joined #ruby
bluOxigen has quit [Ping timeout: 272 seconds]
mattwashere has joined #ruby
hanmac has joined #ruby
joonty has joined #ruby
bluOxigen has joined #ruby
tulak has quit [Remote host closed the connection]
rodfersou has quit [Ping timeout: 244 seconds]
c355e3b has joined #ruby
tulak has joined #ruby
blackmesa has joined #ruby
RegulationD has quit [Ping timeout: 250 seconds]
Noxilex has quit [Ping timeout: 272 seconds]
<norc> elementaru: .send
<norc> :o)
<elementaru> thank you
Akagi201 has quit [Remote host closed the connection]
<adaedra> ?troll
<ruby[bot]> adaedra: I don't know anything about troll
<adaedra> neither do we
mattwashere has quit [Ping timeout: 240 seconds]
<norc> adaedra: Now don't be hating/
<adaedra> Sorry, I saw you rolling
GinoManWorks has quit [Read error: Connection reset by peer]
mdw has joined #ruby
nettoweb has joined #ruby
nobitanobi has joined #ruby
nobitanobi has quit [Read error: Connection reset by peer]
nobitanobi has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
Xentil has joined #ruby
qasaur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
douglascorrea has joined #ruby
schickung has joined #ruby
TheHodge has joined #ruby
synthroid has joined #ruby
schickung has quit [Client Quit]
cgfbee has joined #ruby
karmatr0n has joined #ruby
kus has joined #ruby
kus has quit [Max SendQ exceeded]
synthroi_ has joined #ruby
qasaur has joined #ruby
Parko has quit [Quit: In a while, crocodile]
qasaur has quit [Client Quit]
synthroid has quit [Ping timeout: 272 seconds]
ocbtec has quit [Quit: leaving]
karmatr0n has quit [Ping timeout: 244 seconds]
rodferso1 is now known as rodfersou
k3rn31 has quit [Quit: Computer has gone to sleep.]
douglascorrea has quit [Ping timeout: 244 seconds]
qasaur has joined #ruby
douglascorrea has joined #ruby
sid_fules has joined #ruby
diegoaguilar has joined #ruby
craigp has joined #ruby
sid_fules has quit [Ping timeout: 264 seconds]
GinoManWorks has joined #ruby
dionysus69 has quit [Ping timeout: 252 seconds]
nankyokusei has joined #ruby
ocbtec has joined #ruby
dionysus69 has joined #ruby
y2mq37 has quit [Ping timeout: 272 seconds]
Caerus is now known as Caerus|Away
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
maletor3 has joined #ruby
flashpoint9 has joined #ruby
nankyokusei has quit [Ping timeout: 244 seconds]
marr has quit [Ping timeout: 244 seconds]
fmcgeough has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
maletor3 has quit [Ping timeout: 246 seconds]
prestorium has joined #ruby
m_antis has quit [Ping timeout: 264 seconds]
freerobby has joined #ruby
marens_ is now known as marens
scepticulous has joined #ruby
Vile` has quit [Ping timeout: 252 seconds]
Oclair has quit [Quit: Bye Bye]
tk__ has joined #ruby
mattwashere has joined #ruby
arlek has joined #ruby
ta_ has joined #ruby
zzak has left #ruby [#ruby]
<zzak___> hey
<zzak___> somehow, a while back i tried this sameroom.io thing, and it seems to have been posting a bunch of stuff on my behalf... sorry about that!
ramfjord has quit [Ping timeout: 240 seconds]
<zzak___> i turned it off, i think
scepticulous has quit [Ping timeout: 244 seconds]
<zzak___> ?irc
<ruby[bot]> zzak___: I don't know anything about irc
<zzak___> me too
nettoweb has quit [Ping timeout: 260 seconds]
Yiota has joined #ruby
Akagi201 has joined #ruby
<maloik> zzak___ it might not REALLY solve the problem of too many apps, but I'm using a project called "shout" to connect to irc now
<maloik> it's sort of like a bouncer, written in node
<maloik> i.e. a web app
ramortegui has joined #ruby
nobitanobi has quit [Remote host closed the connection]
vdamewood has quit [Ping timeout: 260 seconds]
nobitanobi has joined #ruby
gtsai has joined #ruby
haylon has joined #ruby
jaguarmagenta has joined #ruby
MrBusiness3 has joined #ruby
chouhoulis has joined #ruby
scepticulous has joined #ruby
pawnbox has joined #ruby
jancel has joined #ruby
pawnbox_ has quit [Ping timeout: 250 seconds]
raeoks has quit [Ping timeout: 264 seconds]
jaguarmagenta has quit [Ping timeout: 264 seconds]
gtsai has quit [Ping timeout: 272 seconds]
anisha has quit [Quit: This computer has gone to sleep]
jancel has quit [Ping timeout: 246 seconds]
kgrz has quit [Ping timeout: 276 seconds]
skade has quit [Quit: Computer has gone to sleep.]
Xentil has quit [Ping timeout: 240 seconds]
pawnbox has quit [Read error: Connection reset by peer]
karmatr0n has joined #ruby
duckpuppy has joined #ruby
Ropeney has joined #ruby
pawnbox has joined #ruby
nettoweb has joined #ruby
kareeoleez has quit [Remote host closed the connection]
aegis3121 has joined #ruby
DanyC has joined #ruby
blackgoat has quit [Quit: WeeChat 1.5]
karmatr0n has quit [Ping timeout: 240 seconds]
pawnbox has quit [Read error: Connection reset by peer]
Devalo has joined #ruby
andikr has quit [Remote host closed the connection]
arlek has quit [Ping timeout: 258 seconds]
|meta has joined #ruby
freerobby has quit [Quit: Leaving.]
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pawnbox has joined #ruby
malconis has joined #ruby
qasaur has quit [Read error: Connection reset by peer]
kareeoleez has joined #ruby
Devalo has quit [Ping timeout: 240 seconds]
qasaur has joined #ruby
millerti has joined #ruby
malconis has quit [Remote host closed the connection]
malconis has joined #ruby
duckpuppy has quit [Quit: WeeChat 1.5]
codecop has quit [Remote host closed the connection]
mdw has quit [Quit: Sleeping Zzzzz]
deadnull_ has joined #ruby
yqt has joined #ruby
pawnbox has quit [Remote host closed the connection]
felixjet has joined #ruby
nobitanobi has quit [Remote host closed the connection]
pawnbox has joined #ruby
jrafanie has joined #ruby
maletor3 has joined #ruby
jaguarmagenta has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
chouhoulis has quit [Remote host closed the connection]
ramortegui has quit [Quit: Ex-Chat]
maletor3 has quit [Ping timeout: 276 seconds]
JJM has joined #ruby
jaguarmagenta has quit [Ping timeout: 244 seconds]
skade has joined #ruby
skade has quit [Client Quit]
Gasher has joined #ruby
kies has quit [Ping timeout: 276 seconds]
ChiefAlexander has joined #ruby
jaiks has joined #ruby
ponga has joined #ruby
davedev24 has joined #ruby
Alazoral has joined #ruby
karmatr0n has joined #ruby
fenre has quit [Ping timeout: 276 seconds]
eljimmy has joined #ruby
duckpuppy has joined #ruby
imperator has joined #ruby
Alazoral has quit [Ping timeout: 244 seconds]
pawnbox has quit [Remote host closed the connection]
pontiki has joined #ruby
freerobby has joined #ruby
yokel has quit [Ping timeout: 260 seconds]
JesseH has quit [Quit: Leaving]
felixjet has left #ruby ["Leaving"]
yokel has joined #ruby
moeabdol2 has quit [Ping timeout: 264 seconds]
JJM has quit [Quit: Textual IRC Client: www.textualapp.com]
synthroid has joined #ruby
deadnull_ has quit [Ping timeout: 276 seconds]
agent_white has joined #ruby
SilverKey has joined #ruby
rafadc_ has joined #ruby
rafadc_ has quit [Remote host closed the connection]
rafadc has quit [Read error: No route to host]
pandaant has joined #ruby
rafadc has joined #ruby
<imperator> good morning
<haylon> morning it is
synthroi_ has quit [Ping timeout: 260 seconds]
mdw has joined #ruby
pawnbox has joined #ruby
<imperator> suggestions for round Time.now.utc.iso8601 to the nearest hour?
synthroi_ has joined #ruby
synthroid has quit [Ping timeout: 244 seconds]
deadnull_ has joined #ruby
ta_ has quit [Remote host closed the connection]
skade has joined #ruby
<shevy> Time.next_beer_time
bkxd has joined #ruby
lxsameer has joined #ruby
k3rn31 has joined #ruby
<agent_white> Mornin'
<pontiki> hello agent_white
floatingpoint has joined #ruby
<agent_white> TIL of pry's get-naked()
<pontiki> wat?
<agent_white> IRB rather. Built-in fancy command!
jhack has joined #ruby
senayar has quit [Ping timeout: 260 seconds]
terlar has quit [Ping timeout: 260 seconds]
vdamewood has joined #ruby
Guest47004 is now known as adam12
<apeiros> imperator: Time.mktime(t.year, t.month, t.day, t.hour+(t.min >= 30 ? 1 : 0))
<apeiros> imperator: or Time.at(t.to_i.quo(3600).round*3600)
Fernando-Basso has joined #ruby
madgen has quit [Ping timeout: 244 seconds]
<apeiros> oh, the former has an edge-case with >=23h30
<apeiros> latter is probably easier, but wonder whether it's got its own edge-cases
cdg has joined #ruby
<imperator> apeiros, thanks
fedexo has joined #ruby
<apeiros> and if you've indeed an iso string, Time.iso8601 is the way to get it back into a Time object
moeabdol2 has joined #ruby
JesseH has joined #ruby
madgen has joined #ruby
<shevy> now that is one epic API usage there
<apeiros> but… it's an epoch API usage!
kareeoleez has quit [Remote host closed the connection]
<agent_white> >> get-naked
<ruby[bot]> agent_white: # => undefined local variable or method `get' for main:Object ...check link for more (https://eval.in/581411)
<agent_white> booo
<agent_white> Whoa new bot.
chip_ has quit [Ping timeout: 264 seconds]
tax has quit [Ping timeout: 252 seconds]
haylon has quit [Quit: Leaving]
ftj has joined #ruby
kareeoleez has joined #ruby
tk__ has quit [Quit: ばいばい]
moeabdol2 has quit [Ping timeout: 264 seconds]
kgrz has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
jrafanie_ has joined #ruby
mdw has joined #ruby
CausaMortis has quit [Ping timeout: 260 seconds]
nankyokusei has joined #ruby
pec has joined #ruby
dionysus70 has joined #ruby
CausaMortis has joined #ruby
tvw has quit [Read error: Connection reset by peer]
kgrz has quit [Ping timeout: 272 seconds]
jrafanie has quit [Ping timeout: 252 seconds]
dionysus69 has quit [Ping timeout: 276 seconds]
dionysus70 is now known as dionysus69
bkxd has quit [Ping timeout: 260 seconds]
jerematic has joined #ruby
norc has quit [Ping timeout: 250 seconds]
pandaant has quit [Remote host closed the connection]
nankyokusei has quit [Ping timeout: 240 seconds]
maletor3 has joined #ruby
kareeoleez has quit [Remote host closed the connection]
k3rn31 has quit [Quit: Computer has gone to sleep.]
Gasher has quit [Quit: Leaving]
aganov has quit [Remote host closed the connection]
Fernando-Basso has quit [Ping timeout: 264 seconds]
Gasher has joined #ruby
pandaant has joined #ruby
maletor3 has quit [Ping timeout: 240 seconds]
eGGshke has quit [Quit: Leaving...]
Macaveli has joined #ruby
Macaveli has quit [Client Quit]
blackmesa has joined #ruby
giz|work has quit [Ping timeout: 260 seconds]
deadnull_ has quit [Quit: Bye]
pandaant has quit [Remote host closed the connection]
DaniG2k has joined #ruby
lxsameer has quit [Ping timeout: 246 seconds]
SilverKey has quit [Quit: Halted.]
lxsameer has joined #ruby
JJM has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mikecmpbll has joined #ruby
gtsai has joined #ruby
Fernando-Basso has joined #ruby
nobitanobi has joined #ruby
DanyC has quit []
RegulationD has joined #ruby
nobitanobi has quit [Remote host closed the connection]
gtsai has quit [Remote host closed the connection]
gtsai has joined #ruby
nobitanobi has joined #ruby
lxsameer has quit [Ping timeout: 244 seconds]
Fernando-Basso has quit [Quit: Leaving]
SilverKey has joined #ruby
marr has joined #ruby
dopamean_ has joined #ruby
ta_ has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
tina has joined #ruby
rafadc_ has joined #ruby
RegulationD has quit [Remote host closed the connection]
smathy has joined #ruby
jrafanie_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jrafanie has joined #ruby
duckpuppy has quit [Quit: WeeChat 1.5]
joonty has quit [Quit: This computer has gone to sleep]
rafadc has quit [Ping timeout: 260 seconds]
last_staff has quit [Ping timeout: 244 seconds]
idefine has joined #ruby
idefine has quit [Remote host closed the connection]
startupality has joined #ruby
ta_ has quit [Remote host closed the connection]
idefine has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
rippa has joined #ruby
ChiefAlexander has joined #ruby
certainty has quit [Ping timeout: 276 seconds]
mark_66 has quit [Quit: Leaving.]
kies has joined #ruby
yfeldblum has joined #ruby
snebel has joined #ruby
dionysus69 has quit [Remote host closed the connection]
<snebel> Hi all
<snebel> Is it possible to "objectify" a hash with nested hash within?
DaniG2k has quit [Quit: leaving]
<snebel> to then being able to access attributes something like this obj.attribute.nested_attribute
dionysus69 has joined #ruby
<snebel> os this is no rubyist?
rodfersou is now known as rodfersou|lunch
<pontiki> you might want to look at OpenStruct, snebel
<snebel> I was looking at but wasn't clear for me... after this suggestion I'll definitively look fiurther to it
<pontiki> you'd have to do the deep conversion, though
<snebel> thanks!
startupality has quit [Quit: startupality]
<pontiki> there's likely a gem to do a deep-objectify
<snebel> mmm
<snebel> very interesting
jhack has quit [Quit: jhack]
cpup has joined #ruby
jhack has joined #ruby
noahgibbs_ has joined #ruby
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
CoderPuppy has quit [Ping timeout: 244 seconds]
noahgibbs has joined #ruby
synthroi_ has quit [Remote host closed the connection]
Couch has quit [Quit: Ex-Chat]
Couch has joined #ruby
<shevy> this sounds exciting
<shevy> deep-objects
<adaedra> snebel: just so you know, OpenStruct does not really bring a lot (transforming ['xxx'] to .xxx), requires you to do the tranformation deeply, and is a performance it. It surely is not worth it.
[Butch] has joined #ruby
<adaedra> hit*
roamingdog has joined #ruby
sneakerhax has quit [Ping timeout: 240 seconds]
[Butch]_ has joined #ruby
flughafen_ has joined #ruby
<snebel> any suggestion?
p0p0pr37_ has joined #ruby
<snebel> I'm googling for some gem
<snebel> may be i should just stick with hash structures
<adaedra> I suggest keeping it as a hash
<snebel> yeah
p0p0pr37 has quit [Ping timeout: 240 seconds]
infra-red has quit [Remote host closed the connection]
p0p0pr37_ is now known as p0p0pr37
freerobby has quit [Ping timeout: 276 seconds]
CoderPuppy has joined #ruby
[Butch] has quit [Ping timeout: 250 seconds]
[Butch]_ is now known as [Butch]
kareeoleez has joined #ruby
<shevy> but you can use those nifty method names!
noahgibbs_ has quit [Quit: Page closed]
jaruga____ has quit [Quit: jaruga____]
yqt has quit [Ping timeout: 246 seconds]
blackmesa has quit [Ping timeout: 252 seconds]
cpup has quit [Ping timeout: 260 seconds]
Akagi201 has quit [Remote host closed the connection]
maletor3 has joined #ruby
minot has joined #ruby
minot has quit [Max SendQ exceeded]
jaguarmagenta has joined #ruby
noahgibbs has quit [Quit: noahgibbs]
startupality has joined #ruby
malconis_ has joined #ruby
jaguarmagenta has quit [Ping timeout: 244 seconds]
ssiris has joined #ruby
deviation has joined #ruby
maletor3 has quit [Ping timeout: 260 seconds]
malconis has quit [Ping timeout: 260 seconds]
Es0teric has joined #ruby
Es0teric has quit [Max SendQ exceeded]
tulak has quit [Ping timeout: 260 seconds]
Es0teric has joined #ruby
ducklobster has joined #ruby
jhack has quit [Quit: jhack]
jhack has joined #ruby
pawnbox has quit [Remote host closed the connection]
freerobby has joined #ruby
senayar has joined #ruby
ips|malc has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
pawnbox has joined #ruby
aufi has quit [Ping timeout: 272 seconds]
A124 has quit [Ping timeout: 272 seconds]
yfeldblu_ has joined #ruby
jhack has quit [Client Quit]
jhack has joined #ruby
RobertBirnie has joined #ruby
edwinvdgraaf has quit [Ping timeout: 264 seconds]
A124 has joined #ruby
yfeldblum has quit [Ping timeout: 272 seconds]
norc has joined #ruby
idefine has quit [Read error: Connection reset by peer]
amclain has joined #ruby
tlaxkit has quit [Quit: ¡Adiós!]
synthroid has joined #ruby
ips|malc has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
freerobby has quit [Ping timeout: 246 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
TomyWork has quit [Ping timeout: 244 seconds]
tristanp has quit [Read error: Connection reset by peer]
mployee8 has joined #ruby
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
flughafen_ has quit [Ping timeout: 240 seconds]
tristanp has joined #ruby
Couch has quit [Ping timeout: 244 seconds]
symm- has joined #ruby
mployee8 has quit [Client Quit]
RegulationD has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
skolman_ has joined #ruby
kareeoleez has quit [Remote host closed the connection]
skolman_ has quit [Remote host closed the connection]
Cohedrin has joined #ruby
idefine has joined #ruby
aegis3121 has quit [Ping timeout: 240 seconds]
tulak has joined #ruby
skolman_ has joined #ruby
yfeldblu_ has quit [Ping timeout: 272 seconds]
RegulationD has quit [Ping timeout: 240 seconds]
hahuang61 has quit [Ping timeout: 250 seconds]
joonty has joined #ruby
c0mrad3 has joined #ruby
tulak has quit [Client Quit]
kareeoleez has joined #ruby
joonty has quit [Client Quit]
MrBusiness2 has joined #ruby
nettoweb has joined #ruby
jackjackdripper has joined #ruby
Yiota has joined #ruby
pec has quit [Read error: Connection reset by peer]
whathappens has joined #ruby
MrBusiness3 has quit [Ping timeout: 272 seconds]
malconis_ is now known as malconis
SCHAAP137 has joined #ruby
fedexo has quit [Ping timeout: 260 seconds]
giz|work has joined #ruby
minimalism has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
skolman_ has quit [Read error: Connection reset by peer]
skolman has joined #ruby
CJKinni has quit [Read error: Connection reset by peer]
Guest63 has joined #ruby
Guest63 is now known as dar123
cpup has joined #ruby
<dar123> i am trying to write a scraper, unable to submit the password to login
senayar has quit []
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tgeeky has joined #ruby
moeabdol2 has joined #ruby
CoderPuppy has quit [Ping timeout: 240 seconds]
flughafen_ has joined #ruby
scepticulous has quit [Ping timeout: 240 seconds]
Coldblackice has joined #ruby
martee has joined #ruby
<martee> im creating 2 threads, that makes get requests, then i join the threads before moving on.
symm- has quit [Ping timeout: 252 seconds]
<martee> it seems like one of the threads is blocking the join from finishing because when i run the code it just never logs some code that comes after the join statement
pawnbox has quit [Remote host closed the connection]
<martee> some of the output says ‘Connection: keep-alive Connection can be kept alive indefinitely’
douglascorrea has quit [Remote host closed the connection]
ChiefAlexander has quit [Remote host closed the connection]
RegulationD has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
moeabdol2 has quit [Client Quit]
MrBusiness3 has joined #ruby
shinnya has joined #ruby
cdg has quit [Remote host closed the connection]
TomyLobo has joined #ruby
jancel has joined #ruby
RegulationD has quit [Remote host closed the connection]
MrBusiness2 has quit [Ping timeout: 260 seconds]
blackmesa has joined #ruby
[Butch] has quit [Quit: I'm out . . .]
martee has quit [Quit: martee]
[Butch] has joined #ruby
Fernando-Basso has joined #ruby
polishdub has joined #ruby
nankyokusei has joined #ruby
snebel has quit [Quit: Leaving]
jancel has quit [Ping timeout: 276 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
qasaur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rcvalle has joined #ruby
nankyokusei has quit [Ping timeout: 258 seconds]
dfockler has joined #ruby
maletor3 has joined #ruby
ramfjord has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
mikecmpbll has quit [Ping timeout: 252 seconds]
danostrowski has joined #ruby
sid_fules has joined #ruby
rodfersou|lunch is now known as rodfersou
m_antis has joined #ruby
platzhirsch has quit [Quit: WeeChat 1.4]
solocshaw1 has joined #ruby
dar123 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
maletor3 has quit [Ping timeout: 260 seconds]
sneakerhax has joined #ruby
ferr has quit [Quit: WeeChat 1.5]
solocshaw has quit [Ping timeout: 272 seconds]
solocshaw1 is now known as solocshaw
dfockler has quit [Read error: Connection reset by peer]
ramfjord has quit [Ping timeout: 260 seconds]
Devalo has joined #ruby
startupality has quit [Quit: startupality]
martee has joined #ruby
moeabdol has joined #ruby
giz|work has quit [Ping timeout: 252 seconds]
Devalo has quit [Ping timeout: 264 seconds]
jhack has quit [Quit: jhack]
jhack has joined #ruby
nettoweb has joined #ruby
domgetter has quit [Ping timeout: 252 seconds]
madgen has quit [Ping timeout: 252 seconds]
douglascorrea has joined #ruby
Seeq has quit [Ping timeout: 264 seconds]
solocshaw1 has joined #ruby
solocshaw has quit [Ping timeout: 246 seconds]
solocshaw1 is now known as solocshaw
ramfjord has joined #ruby
CJKinni has joined #ruby
flashpoint9 has joined #ruby
hahuang61 has joined #ruby
GodFather has joined #ruby
startupality has joined #ruby
kspencer has quit [Remote host closed the connection]
Ropeney has quit [Quit: Leaving]
kspencer has joined #ruby
evidex has quit [Ping timeout: 244 seconds]
jmignault has quit [Ping timeout: 276 seconds]
idefine has quit [Read error: Connection reset by peer]
einarj has quit [Remote host closed the connection]
Guest63 has joined #ruby
aegis3121 has joined #ruby
kspencer has quit [Remote host closed the connection]
ljames has joined #ruby
weckl has quit [Remote host closed the connection]
qasaur has joined #ruby
mleung has joined #ruby
gnufied has quit [Quit: Leaving]
jwarren_ has joined #ruby
rafadc_ has quit [Remote host closed the connection]
Seeq has joined #ruby
rafadc has joined #ruby
idefine has joined #ruby
mikecmpbll has joined #ruby
aries_liuxueyang has quit [Quit: No Ping reply in 180 seconds.]
deadnull_ has joined #ruby
ItSANgo__ has joined #ruby
roamingdog has quit [Remote host closed the connection]
aries_liuxueyang has joined #ruby
idefine has quit [Read error: Connection reset by peer]
roamingdog has joined #ruby
gnufied has joined #ruby
ItSANgo has quit [Ping timeout: 260 seconds]
darkxploit has quit [Remote host closed the connection]
floatingpoint has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<martee> i need to make a soap request
<martee> im looking @ a ‘sample request’ and it includes a request field …
startupality has quit [Quit: startupality]
<martee> is that equivalent to headers?
Noxilex has joined #ruby
idefine has joined #ruby
beawesomeinstead has quit [Read error: Connection reset by peer]
blackmesa has joined #ruby
djbkd has joined #ruby
beawesomeinstead has joined #ruby
tinnvec has quit [Remote host closed the connection]
<toretore> martee: where do you see this?
<martee> toretore internal documentation
<toretore> so no link?
<martee> it looks like i have to write some raw … stuff
<martee> i was hoping i could just do something like {headers: {}}
firstdayonthejob has joined #ruby
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
tenderlove has joined #ruby
<toretore> martee: i don't see any "request field"
<martee> toretore: oh yeah not in that case
<martee> but is that how you format a SOAP request? it looks gross
<toretore> what you're talking about makes little sense without the proper context
dgncn has quit [Ping timeout: 250 seconds]
<martee> toretore: if i want to make soap requests do i do that by writing ugly stuff that you see in the link i sent you?
<toretore> i don't know what that means
<martee> ok
ruby-nooby has joined #ruby
<norc> martee, you have to write things if you want to do things. Yes.
<toretore> soap requests are http requests with xml in their body
czerasz has quit [Ping timeout: 260 seconds]
<toretore> the xml format is according to some soap standard
<martee> and are all soap requests posts?
<ruby-nooby> soap is still being used?
tinnvec has joined #ruby
<martee> ruby-nooby: unfortunately :\
<ruby-nooby> Subscription has_many subscribers? or Subscription.subscribers = [Serialized array of subscribers]?
<norc> martee, what is a request post?
<ruby-nooby> using postgres on heroku
<martee> the method
<norc> ?rubyonrails
<ruby[bot]> norc: I don't know anything about rubyonrails
<norc> ?rails
<ruby[bot]> Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
<norc> ruby-nooby,
<ruby-nooby> thanks norc
<martee> ruby-nooby: whats the dif?
<ruby-nooby> the dif is one is activerecord relations
braincrash has quit [Ping timeout: 272 seconds]
<ruby-nooby> the other is storing serialized data
<martee> oh obviously activerecord i think, otherwise that would be like nosql stuff
<ruby-nooby> nah its not nosql
<apeiros> soap shares the same problem xml has: it's horribly abused by people without a clue.
<ruby-nooby> soap should probably die
<martee> i want soap to die
roamingdog has quit [Read error: Connection reset by peer]
ramfjord has quit [Ping timeout: 240 seconds]
<apeiros> ruby-nooby: and be replaced by unspecced json apis? hurray.
<ruby-nooby> fair
<ruby-nooby> i just dont like xml
<martee> from reading about soap it seems like its better than json
<ruby-nooby> maybe im just brainwashed
<toretore> you are just inexperienced
<martee> ‘waiting for someone to comment on ‘better’’
<apeiros> ?best
<ruby[bot]> "better" and "best" depend entirely on your context. Try to describe what quality would make one thing better than the other.
startupality has joined #ruby
<martee> haha
<apeiros> there you go
flughafen_ has quit [Ping timeout: 244 seconds]
dgncn has joined #ruby
SilverKey has quit [Quit: Halted.]
<martee> does anyone know if i can make soap requests with manticore? dont see anything explict on their github page
braincrash has joined #ruby
<apeiros> I prefer json apis over soap mostly because people tend to build smaller calls. but I don't think the underlying technology is any better.
SilverKey has joined #ruby
<norc> apeiros, someone in management said "we need a database to store all our heterogenous data". After the business man with the tie was thrown out for trying to sell them SAP (if you are insolvent already, SAP will do it for you), another business man stands up and gives them a big speech about "Policies, schemas, conformity", shortly after which everybody was rejoicing.
<norc> apeiros, and suddenly they had XML.
saneax is now known as saneax_AFK
<toretore> most people who don't like xml can't articulate exactly what it is they don't like other than "i had to write this horribly complex xml doc one time"
<ruby-nooby> toretore that sounds right
<hxegon> xml is a lot harder to read IMO than json
<norc> hxegon, neither is meant to be read by you.
<hxegon> less human-readable I mean
<apeiros> hxegon: only if it's badly specced
<toretore> because large, nested json docs are easy to read
<apeiros> it's a lot easer to read a complex xml than a complex json
<norc> apeiros, XML can do things that JSON cant do though.
<apeiros> since with the large json, all you have is dicts
<norc> And things like XSD can make XML pretty well suited for some tasks in fact.
<apeiros> so the json alone doesn't tell you what you're looking at
millerti has joined #ruby
<apeiros> norc: yupp. things like that being what I meant by "but I don't think the underlying tech is better"
<apeiros> anyway, IME both, json and xml fail when people suck
<toretore> the thing with soap, xml, static typing and the like is that they are good ideas and they work well for their intended purpose, but most people are too lazy to use it properly
codecop has joined #ruby
<norc> apeiros, that applies to any programming related topic.
<apeiros> norc: indeed :)
giz|work has joined #ruby
<norc> toretore, Ive seen people get started with C++, being so happy that you now have const_cast, making calling functions so much easier..
skade has joined #ruby
<apeiros> toretore: precisely
<norc> That was some real sad stories.
<apeiros> toretore: or even use them outside their intended purpose
<apeiros> toretore: we have a partner company which provides us their database export as xml - ~1GB per delivery. in csv, it'd be ~1/10th the size and *tons* faster to import.
skade has quit [Client Quit]
<toretore> apeiros: and then you get "simple" solutions that are simple and easy on the surface but have no allowance for complexity
sid_fules has quit [Read error: Connection reset by peer]
finisherr has joined #ruby
<toretore> apeiros: though csv has its problems too, but if it were properly formatted i would agree
skade has joined #ruby
jenrzzz has joined #ruby
Guest63 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
skade has quit [Client Quit]
sid_fules has joined #ruby
joonty has joined #ruby
joonty has quit [Client Quit]
hahuang61 has quit [Ping timeout: 272 seconds]
<ducklobster> what is the proper way to test utility methods in my ruby app
floatingpoint has joined #ruby
<norc> ducklobster, minitest, rspec or any other testing framework you like
<ducklobster> norc: well specifically within rspec i am running into a problem where
<ducklobster> i don't include the utility file for the main tests
<ducklobster> but then the main tests fail (all raise nomethod exceptions)
<ducklobster> for things like the logger
<norc> ducklobster, stub them
biberu has joined #ruby
<ducklobster> do i just redefine the methods in the before block?
ramfjord has joined #ruby
<norc> No you stub them.
<toretore> ducklobster: gist your code?
nobitanobi has quit []
<ducklobster> toretore: sure, gimme a min
<ducklobster> norc: i don't follow :(
binaryplease1 has joined #ruby
madgen has joined #ruby
<norc> ducklobster, in essence allow(obj).to receive(:message).and_return(:foo)
<norc> ducklobster, that will make the object to respond to message
<toretore> ducklobster: the actual code i mean, not the tests
<norc> ducklobster, ops outdated my bad
<norc> ducklobster, that suite is basically what you are looking for.
sid_fules has quit [Read error: Connection reset by peer]
<norc> ducklobster, give it a read - if you have questions feel free to ask :)
binaryplease has quit [Ping timeout: 244 seconds]
jhack has quit [Quit: jhack]
|meta is now known as |2701
maletor3 has joined #ruby
hahuang61 has joined #ruby
kirun has joined #ruby
<martee> hey
<martee> i need to create a session_id
<ruby-nooby> for?
<martee> do you think Random.new_seed should suffice?
<ducklobster> norc: i will take a look, thanks!
<norc> martee, depends. Is this for anything where security is even remotely important?
<martee> norc: mmmm no i dont think so
ramfjord has quit [Ping timeout: 260 seconds]
danostrowski has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<norc> martee, then why are you looking at Random?
Todd has quit [Ping timeout: 260 seconds]
<martee> norc: so there aren’t duplicates
<norc> Random does not guarantee that.
skade has joined #ruby
danostrowski has joined #ruby
<martee> norc: true … but isn’t it highly unlikley?
<martee> right?
<norc> martee, that depends on your entropy source.
<martee> huh?
jhack has joined #ruby
troulouliou_div2 has quit [Quit: Leaving]
<martee> the amoutn of time something has to be a duplicate?? idk a day
<norc> martee, any pseudonumber generation is only as "random" as the quality of its entropy source.
skade has quit [Client Quit]
<norc> martee, just use a counter counting upwards if you want it to be unique.
imperator has left #ruby ["Leaving"]
<martee> fine
elifoster has joined #ruby
<martee> what about
<martee> Time.now.to_i + Rand.new_seed
maletor3 has quit [Ping timeout: 272 seconds]
<martee> good enough?
SilverKey has quit [Quit: Halted.]
<norc> That is just setting a seed value.
<toretore> ducklobster: probably what nord said, stub the logger to make it a noop
skade has joined #ruby
<martee> but the time.now.to_i would guarantee the front would always be different
<norc> martee, honestly. If you don't understand random things well enough, just stick to counters. Far easier to use, and less likely to make a huge mistake when you suddenly rely on it for security,
nadir has quit [Quit: Connection closed for inactivity]
<norc> martee, nope it would not.
<norc> martee, that statement alone is proof enough you should avoid Random. :)
hahuang61 has quit [Ping timeout: 244 seconds]
SilverKey has joined #ruby
<toretore> ducklobster: maybe refactor further so that you're not calling methods directly on whatever `logger` returns, but calling methods like `log` or `info` which can then be either 1) implemented in such a way that they don't require a logger to be present or 2) stub them to do nothing
<ducklobster> toretore: seems like the right move
<martee> norc: what do u think the probability is of u getting a duplicate using Time.now.to_i + Random.new_seed
binaryplease1 is now known as binaryplease
GodFather has quit [Ping timeout: 244 seconds]
<toretore> ducklobster: otherwise you will have to provide a stub Logger that implements Logger's interface
<ducklobster> toretore: that is also an interesting idea, then i can be agnostic to the log format
<norc> martee, do what you want I dont care.
m_antis has quit [Ping timeout: 272 seconds]
RegulationD has joined #ruby
<toretore> ducklobster: i personally always abstract away any specific logging implementation in my code
<norc> a counter is the most trivial solution to get unique values.
<norc> Generating UUIDs is the next best thing if you don't mind it being a bit expensive.
<martee> norc: what if u have multiple servers
<toretore> martee, norc just use uuid
<martee> toretore: isnt there a chance a uuid could not be unique
<toretore> it's a universally unique identifier
<toretore> so no
<martee> yeah but isn’t it random?
skweek has quit [Ping timeout: 246 seconds]
<martee> there’s no central authority handing out the ids
<toretore> (yes, but you would probably need more than one universe to get a collition)
<toretore> s/t/s/
kies has quit [Ping timeout: 276 seconds]
<norc> martee, if applied correctly you could generate millions of billions of UUIDs before you get a probability of a duplicate that is worth finding a notation for.
<martee> to reiteratie norc, it depends on your entropy source.
<norc> Precisely.
<norc> And ultimately the best entropy source is a quantum number generator, as that is not pseudo random but truly random.
<martee> im going to use Time.now.to_i.to_s + Random.new_seed.to_s
<martee> is that too long for a session id?
<norc> As I said, do what you want.
<norc> martee, rails uses the full cookie size for a session ID I think.
<martee> how big is that?
<norc> Big.
<norc> 4kb
<ducklobster> toretore: is it generally ok to just include custom exception classes?
mtkd has quit [Ping timeout: 240 seconds]
<toretore> ducklobster: what do you mean?
<ducklobster> toretore: or should i strictly speaking be stubbing that functionality out too
<norc> martee, and that is just to make guessing a session ID for session fixation as hard as humanly possible.
RegulationD has quit [Ping timeout: 244 seconds]
Yiota has joined #ruby
<ducklobster> toretore: oh wait, nevermind i just need to require my custom exceptions in the lib files themselves
iktbbj has quit [Remote host closed the connection]
Yiota has quit [Max SendQ exceeded]
<toretore> ducklobster: if you're talking about raising exceptions in your code, then that is part of the contract and should be tested
arooni has joined #ruby
Yiota has joined #ruby
Yiota has quit [Max SendQ exceeded]
<ducklobster> toretore: i guess my real question is, should every file be self sufficient and have the necessary require statements in it?
mtkd has joined #ruby
<norc> ducklobster, any public behaviour that code can observe that someone might rely upon should be tested.
joonty has joined #ruby
<norc> ducklobster, makes testing a single spec much easier if you do :)
<ducklobster> i mean, i do test that the exceptions are raised but
Yiota has joined #ruby
<toretore> ducklobster: yes
<norc> since you can just do rspec spec/foo/bar_spec.rb
<norc> ducklobster, if you have defined behaviour - test for it.
sid_fules has joined #ruby
Fernando-Basso has quit [Ping timeout: 264 seconds]
polishdub has quit [Ping timeout: 246 seconds]
<ducklobster> related to requiring all necessary files
<ducklobster> i can see how it makes testing single specs much easier but
<toretore> ducklobster: there are very few cases where i think expecting something to be required inside of a file is ok
ChiefAlexander has joined #ruby
<ducklobster> if you require inside doesn't that mess up your coverage?
<toretore> coverage?
<ducklobster> since everything required after you do SimpleCov.start will be included in the test coverage
<toretore> i don't know what that is, but if you require the same file twice, the second require doesn't do anything
<ducklobster> i.e. if i have SimpleCov.start in my spec_helper, and i require core.rb which requires exceptions.rb, then the coverage will contain both
idefine has quit [Read error: Connection reset by peer]
sid_fules has quit [Read error: Connection reset by peer]
<toretore> well, shouldn't those things be kept separate then?
<norc> ducklobster, the less you require in your spec_helper the faster your tests will run.
sid_fules has joined #ruby
<norc> If your library is small and you have only few tests, then its easier to just require it all once in your spec_helper though.
<ducklobster> norc: i don't actually require anything in spec_helper, i require the lib files individually in each spec
<ducklobster> the spec_helper just starts the SimpleCov thing
djbkd has quit [Remote host closed the connection]
<ducklobster> toretore: yes thats what i thought but that goes against the whole each file should be self sufficient (require all it needs)
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
deadnull_ has quit [Quit: AFK]
<ducklobster> would it help if i put up all the code?
chouhoulis has joined #ruby
chouhoulis has quit [Remote host closed the connection]
<norc> ducklobster, cant hurt :)
<norc> ducklobster, each approach is fine. Yours is faster but more cumbersome to manage.
chouhoulis has joined #ruby
chouhoulis has quit [Remote host closed the connection]
sid_fules has quit [Read error: Connection reset by peer]
<norc> But unless you have more than 500 tests, I do not think it is relevant unless you have absurdly high load times when requiring.
chouhoulis has joined #ruby
jphase has joined #ruby
<toretore> ducklobster: what i mean is shouldn't the simplecov stuff be done separately?
qasaur has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sid_fules has joined #ruby
maloik has quit [Remote host closed the connection]
maloik has joined #ruby
<ducklobster> norc: i still don't have anything up anywhere so i might stop by later when the code is up and get you guys' opinions! thanks for the help tho
blackmesa has quit [Ping timeout: 240 seconds]
<ducklobster> toretore: i'm not sure what you mean? my understanding was simplecov should be done with the tests so you can see if your tests are sufficient
zz_barkerd427 has joined #ruby
madgen has quit [Ping timeout: 250 seconds]
skade has quit [Quit: Computer has gone to sleep.]
confounds has joined #ruby
workmad3 has quit [Ping timeout: 276 seconds]
<toretore> ducklobster: yeah, maybe you're right, i don't know anything about it - it probably hooks into the tests when they're being run to measure
<toretore> tbh i find stuff like that pretty useless
elifoster has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
chrisja has joined #ruby
idefine has joined #ruby
Guest63 has joined #ruby
polishdub has joined #ruby
ta_ has joined #ruby
spider-mario has joined #ruby
mikecmpbll has joined #ruby
Fernando-Basso has joined #ruby
Guest63 has quit [Ping timeout: 258 seconds]
m8 has joined #ruby
mrgrieves has joined #ruby
Guest63_ has joined #ruby
Guest63_ is now known as dar123
jenrzzz has quit [Ping timeout: 260 seconds]
ta_ has quit [Ping timeout: 244 seconds]
<dar123> I am writing a scraper, can't login to the page.
jackjackdripper has joined #ruby
confound_ has joined #ruby
djbkd has joined #ruby
kspencer has joined #ruby
spider-mario has quit [Remote host closed the connection]
<norc> dar123, check line 16 of your class.
<norc> You have a Heisenbug there.
spider-mario has joined #ruby
m_antis has joined #ruby
blackmesa has joined #ruby
<hxegon> norc: wow, you're on point today.
infinitone has joined #ruby
m_antis has quit [Remote host closed the connection]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
confounds has quit [Ping timeout: 260 seconds]
sdothum has joined #ruby
ramfjord has joined #ruby
polishdub has quit [Quit: Leaving]
_aeris_ has quit [Ping timeout: 276 seconds]
ishe_ua has quit [Remote host closed the connection]
pawnbox has joined #ruby
CJKinni has quit [Ping timeout: 244 seconds]
ishe_ua has joined #ruby
RegulationD has joined #ruby
blackmesa has quit [Ping timeout: 272 seconds]
symm- has joined #ruby
TheHodge has quit [Quit: Connection closed for inactivity]
Yiota_ has joined #ruby
nando293921 has joined #ruby
Akagi201 has joined #ruby
joonty has quit [Quit: This computer has gone to sleep]
confound_ has quit []
confounds has joined #ruby
joenuts_ has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
clifford_ has joined #ruby
<norc> hxegon, with that kind of a question (and he repeated it even!) he deserved it.
dar123 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Yiota has quit [Ping timeout: 258 seconds]
sauvin has quit [Remote host closed the connection]
_aeris_ has joined #ruby
ChiefAlexander has joined #ruby
cloaked1 has joined #ruby
jhack has quit [Quit: jhack]
blackmesa has joined #ruby
isxek has quit [Quit: Leaving]
Dimik has joined #ruby
last_staff has joined #ruby
Akagi201 has quit [Ping timeout: 260 seconds]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
CausaMortis has quit [Ping timeout: 272 seconds]
cloaked1 has quit [Client Quit]
sdothum has joined #ruby
thorgi has quit [Ping timeout: 240 seconds]
<hxegon> norc: wasn't being sarcastic :D
anisha has joined #ruby
diegoaguilar has quit [Remote host closed the connection]
skolman has quit [Remote host closed the connection]
thorgi has joined #ruby
nankyokusei has joined #ruby
qasaur has joined #ruby
kies has joined #ruby
diegoaguilar has joined #ruby
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
multi_io has quit [Ping timeout: 264 seconds]
allcentury has joined #ruby
multi_io has joined #ruby
djcp has quit [Quit: WeeChat 1.0.1]
nadir has joined #ruby
Guest63 has joined #ruby
danostrowski has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nankyokusei has quit [Ping timeout: 260 seconds]
aegis3121 has quit [Ping timeout: 258 seconds]
maletor3 has joined #ruby
dopie has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
Axy has joined #ruby
Axy has quit [Changing host]
Axy has joined #ruby
mikecmpbll has joined #ruby
k3rn31 has joined #ruby
ishe_ua has quit [Remote host closed the connection]
Mia has quit [Ping timeout: 260 seconds]
Guest63 has quit [Ping timeout: 276 seconds]
anisha has quit [Quit: This computer has gone to sleep]
maletor3 has quit [Ping timeout: 252 seconds]
futilegames has joined #ruby
sid_fules has quit [Read error: Connection reset by peer]
dhollinger has joined #ruby
Madplatypus has joined #ruby
karmatr0n has quit [Ping timeout: 260 seconds]
duckpuppy has joined #ruby
gheegh has joined #ruby
qasaur has quit [Max SendQ exceeded]
sid_fules has joined #ruby
clifford_ has quit [Ping timeout: 240 seconds]
sid_fules has quit [Read error: Connection reset by peer]
dionysus69 has quit [Ping timeout: 244 seconds]
qasaur has joined #ruby
dionysus69 has joined #ruby
blackmesa has quit [Ping timeout: 244 seconds]
pawnbox has quit [Remote host closed the connection]
k3rn31 has quit [Quit: Computer has gone to sleep.]
aegis3121 has joined #ruby
davedev24 has quit [Read error: Connection reset by peer]
davedev24 has joined #ruby
startupality has quit [Quit: startupality]
nhhc has quit [Ping timeout: 246 seconds]
skolman has joined #ruby
renderful has joined #ruby
blackmesa has joined #ruby
davedev2_ has joined #ruby
whathappens has quit [Remote host closed the connection]
Devalo has joined #ruby
jenrzzz has joined #ruby
joonty has joined #ruby
sid_fules has joined #ruby
whathappens has joined #ruby
davedev24 has quit [Ping timeout: 272 seconds]
dopie has quit [Quit: Leaving]
I has joined #ruby
I has quit [Remote host closed the connection]
dopie has joined #ruby
iCHAIT has joined #ruby
duckpuppy has quit [Ping timeout: 244 seconds]
amargherio has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iCHAIT has left #ruby [#ruby]
whathappens has quit [Client Quit]
pawnbox has joined #ruby
bluOxigen has quit [Ping timeout: 240 seconds]
saneax_AFK is now known as saneax
whathappens has joined #ruby
bluOxigen has joined #ruby
elementaru has quit [Remote host closed the connection]
ChiefAlexander has quit [Remote host closed the connection]
jancel has joined #ruby
freerobby has joined #ruby
GBrawl has joined #ruby
ChiefAlexander has joined #ruby
Vingador_ has joined #ruby
firstdayonthejob has quit [Quit: WeeChat 1.5]
futilegames has quit [Quit: futilegames]
jancel has quit [Ping timeout: 250 seconds]
firstdayonthejob has joined #ruby
Vingador has quit [Ping timeout: 240 seconds]
idefine has joined #ruby
confound_ has joined #ruby
infra-red has joined #ruby
hahuang61 has joined #ruby
Devalo has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
renderfu_ has joined #ruby
renderful has quit [Read error: Connection reset by peer]
RegulationD has quit [Remote host closed the connection]
confounds has quit [Ping timeout: 260 seconds]
RegulationD has joined #ruby
confound_ has quit [Ping timeout: 244 seconds]
gtsai has quit [Ping timeout: 244 seconds]
Pupeno has joined #ruby
lightt has joined #ruby
lightt has quit [Max SendQ exceeded]
grvgr has joined #ruby
pepee has joined #ruby
djbkd has quit [Remote host closed the connection]
chrisja has quit [Quit: leaving]
czerasz has joined #ruby
nettoweb has joined #ruby
flashpoint9 has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
nofxx has quit [Ping timeout: 252 seconds]
synthroid has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
nofxx has joined #ruby
lightt has joined #ruby
confounds has joined #ruby
jaguarmagenta has joined #ruby
vdamewood has quit [Ping timeout: 250 seconds]
lightt has quit [Remote host closed the connection]
maletor3 has joined #ruby
djbkd has joined #ruby
GBrawl has quit [Quit: (null)]
alfiemax has joined #ruby
Macaveli has joined #ruby
jaguarmagenta has quit [Ping timeout: 276 seconds]
Dimik has quit [Ping timeout: 264 seconds]
dfockler has joined #ruby
mattwashere has quit [Remote host closed the connection]
maletor3 has quit [Ping timeout: 246 seconds]
nat2610 has joined #ruby
confound_ has joined #ruby
<nat2610> how would you guys go about debugging an error {"exception"=>#<NoMethodError: undefined method `empty?' for #<URI::HTTP:0x31134a24 URL:http://172.18.87.74:3000/deobfuscate>>, "backtrace"=>["/opt/logstash/vendor/jruby/lib/ruby/1.9/net/http.rb:1869:in `initialize'", "/opt/logstash/vendor/jruby/lib/ruby/1.9/net/http.rb:2102:in `initialize'", …
freerobby has quit [Quit: Leaving.]
<norc> nat2610, byebug it.
karmatr0n has joined #ruby
jackjackdripper has joined #ruby
jackjackdripper has quit [Read error: Connection reset by peer]
jackjackdripper1 has joined #ruby
jackjackdripper1 has quit [Read error: Connection reset by peer]
jackjackdripper has joined #ruby
<norc> nat2610, can you gist a full stack trace?
jackjackdripper has quit [Read error: Connection reset by peer]
jackjackdripper1 has joined #ruby
jackjackdripper1 has quit [Read error: Connection reset by peer]
jackjackdripper has joined #ruby
jackjackdripper1 has joined #ruby
jackjackdripper has quit [Read error: Connection reset by peer]
JJM has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jackjackdripper1 has quit [Read error: Connection reset by peer]
jackjackdripper has joined #ruby
Synthead has joined #ruby
jackjackdripper has quit [Read error: Connection reset by peer]
jackjackdripper1 has joined #ruby
jackjackdripper1 has quit [Read error: Connection reset by peer]
jackjackdripper has joined #ruby
mattwashere has joined #ruby
jackjackdripper has quit [Read error: Connection reset by peer]
jackjackdripper has joined #ruby
alfiemax has quit [Ping timeout: 240 seconds]
jackjackdripper has quit [Read error: Connection reset by peer]
jackjackdripper1 has joined #ruby
jackjackdripper1 has quit [Read error: Connection reset by peer]
jackjackdripper has joined #ruby
jackjackdripper has quit [Read error: Connection reset by peer]
confounds has quit [Ping timeout: 250 seconds]
jackjackdripper has joined #ruby
<nat2610> norc
<nat2610> sure
sid_fules has quit [Read error: Connection reset by peer]
sid_fule_ has joined #ruby
madgen has joined #ruby
jwarren_ has quit [Ping timeout: 250 seconds]
<nat2610> I can't reproduce the issue with irb
duckpuppy has joined #ruby
<nat2610> but somehow it doesn't like how I create my http
diegoaguilar has quit [Remote host closed the connection]
sid_fule_ has quit [Read error: Connection reset by peer]
<norc> nat2610, while source code is always good to have, I asked for a tsack trace
roamingdog has joined #ruby
synthroid has joined #ruby
Macaveli has quit [Ping timeout: 244 seconds]
GodFather has joined #ruby
cdg has joined #ruby
eljimbo has joined #ruby
cdg has quit [Remote host closed the connection]
eljimmy has quit [Read error: Connection reset by peer]
cdg has joined #ruby
amargherio has quit [Ping timeout: 260 seconds]
GodFather has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
frem_ has joined #ruby
whathappens has quit [Remote host closed the connection]
GodFather has joined #ruby
shinnya has quit [Ping timeout: 250 seconds]
hutch34_ has joined #ruby
giz|work has quit [Ping timeout: 272 seconds]
sid_fules has joined #ruby
scepticulous has joined #ruby
diegoaguilar has joined #ruby
jhack has joined #ruby
hutch34 has quit [Ping timeout: 258 seconds]
diegoaguilar has quit [Max SendQ exceeded]
<nat2610> strack trace sorry sure norc
diegoaguilar has joined #ruby
<ruby[bot]> nat2610: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/597485bbe2aad027220045d518460de3
<ruby[bot]> nat2610: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
hutch34 has joined #ruby
sid_fules has quit [Read error: Connection reset by peer]
blackmesa has quit [Ping timeout: 252 seconds]
sid_fules has joined #ruby
codecop has quit [Remote host closed the connection]
maucar has quit [Quit: Leaving]
hutch34_ has quit [Ping timeout: 276 seconds]
joonty has quit [Quit: This computer has gone to sleep]
joonty has joined #ruby
z0id has joined #ruby
z0id has left #ruby ["Leaving"]
Vingador_ has quit [Ping timeout: 252 seconds]
DynamicMetaFlow has joined #ruby
blackmesa has joined #ruby
freerobby has joined #ruby
ta_ has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
<norc> nat2610, not related to your issue... but are you executing this as root?
scepticulous has quit [Ping timeout: 246 seconds]
<nat2610> yeah it's a container with jruby
<nat2610> and not much else
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
<nat2610> because I didn't want to use jruby on my laptop
Fernando-Basso has quit [Quit: Leaving]
jackjackdripper has quit [Quit: Leaving.]
<norc> nat2610, the source does not match up with ethe stacktrace.
jackjackdripper has joined #ruby
GodFather has quit [Read error: Connection reset by peer]
<norc> nat2610, line 44 in your previously linked file is not constructing Net::HTTP
blackgoat has joined #ruby
johnmilton has quit [Remote host closed the connection]
mtkd has quit [Ping timeout: 244 seconds]
GodFather has joined #ruby
czerasz has quit [Ping timeout: 240 seconds]
mtkd has joined #ruby
JJM has joined #ruby
tristanp has quit [Read error: Connection reset by peer]
tristanp has joined #ruby
dionysus69 has quit [Ping timeout: 260 seconds]
GodFather has quit [Read error: Connection reset by peer]
GodFather has joined #ruby
nando293921 has quit [Quit: Lost terminal]
danostrowski has joined #ruby
<nat2610> let run it again and save everything I might have been testing things in the middle
lightt has joined #ruby
<nat2610> basically ruby doesn't like Net::HTTP::Post.new(uri)
<nat2610> and I don't get why
howdoi has quit [Quit: Connection closed for inactivity]
scepticulous has joined #ruby
haxrbyte has joined #ruby
<norc> nat2610, what makes you say that?
<norc> nat2610, look again. :)
Devalo has joined #ruby
DoubleMalt has quit [Ping timeout: 250 seconds]
yqt has joined #ruby
nando293921 has joined #ruby
mattwashere has quit [Remote host closed the connection]
mattwashere has joined #ruby
<norc> nat2610, ruby is calling a method (empty?) on path - so obviously a HTTPGenericRequest in that particular ruby version does not accept an URI there.
<norc> nat2610, Would have to find out when - but that support wasn't added until later.
Devalo has quit [Ping timeout: 272 seconds]
blackgoat has quit [Quit: WeeChat 1.5]
kies has quit [Ping timeout: 260 seconds]
postmodern has joined #ruby
smathy is now known as smathy_afk
blackgoat has joined #ruby
lxsameer has joined #ruby
tildes_ has joined #ruby
agent_white has quit [Quit: brb]
lxsameer has quit [Client Quit]
<nat2610> norc: how can you tell ?
confound_ has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 272 seconds]
<norc> nat2610, some experience, quickly comparing current trunk against an implementation equivalent to the ruby version you are using
theunraveler has joined #ruby
ta_ has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
<norc> That was the commit that introduced the change.
<norc> (Git blame to the rescue)
<nat2610> I see so I need to provide the request_uri based on that commit ?
jenrzzz has joined #ruby
<nat2610> given that I can't change the version of ruby
nankyokusei has joined #ruby
<norc> nat2610, just pass a string for the path :)
nullfxn_ has joined #ruby
cdg has quit [Remote host closed the connection]
CalimeroTeknik has quit [Ping timeout: 246 seconds]
RegulationD has quit [Remote host closed the connection]
weaksauce has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
weaksauce has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
nullfxn has quit [Ping timeout: 250 seconds]
dgynn has joined #ruby
dopamean_ has quit [Ping timeout: 250 seconds]
Todd has joined #ruby
DoubleMalt has joined #ruby
nankyokusei has quit [Ping timeout: 250 seconds]
CalimeroTeknik has joined #ruby
RegulationD has joined #ruby
ips|malc has joined #ruby
<nat2610> norc: when yu said string for the path did you mean 'http://172.18.87.74:3000/deobfuscate' ?
<nat2610> I tried to change that to be a string and so far I'm getting a null object in res
kies has joined #ruby
<norc> nat2610, a relative path
martee has quit [Quit: martee]
maletor3 has joined #ruby
<norc> e.g. '/deobfuscate'
haxrbyte has quit [Remote host closed the connection]
<nat2610> ok so uri.request_uri
<nat2610> gotcha
haxrbyte_ has joined #ruby
skweek has joined #ruby
danostrowski has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lightt has quit [Ping timeout: 260 seconds]
ruby-lang486 has joined #ruby
<ruby-lang486> Hey guys, just a quick regex question. I'm parsing through a file line by line and I want to grab the content from the quotes in a line like this: value="content"
dar123 has joined #ruby
sid_fules has quit [Read error: Connection reset by peer]
maletor3 has quit [Ping timeout: 260 seconds]
<ruby-lang486> I keep on getting value="content" when I just want content
<shevy> ruby-lang486 a simple way would be via a regex
<shevy> ruby-lang486 http://rubular.com/r/sU2ZRWup1s - it would be available in $1; or in the matchdata object if you use one
sid_fules has joined #ruby
danostrowski has joined #ruby
jancel has joined #ruby
rafadc_ has joined #ruby
<ruby-lang486> @shevy thanks!
fmcgeough has quit [Quit: fmcgeough]
Pupeno has quit [Remote host closed the connection]
roamingdog has quit [Remote host closed the connection]
<havenwood> ruby-lang486: or scan with a positive lookahead and lookbehind
lightt has joined #ruby
<ruby-lang486> @shevy actually for somereasion it doesn't work, I still get value="content" instead of just conent
<ruby-lang486> @shevy would it be just like /regex/.match(line)?
<havenwood> >> 'value="content" never-parse-html-with-regex="1" value="another"'.scan /(?<=value=")[^"]+(?=")/
<ruby[bot]> havenwood: # => ["content", "another"] (https://eval.in/581617)
<shevy> ruby-lang486 the special variables $1 $2 etc... are filled up after you do a =~ match for instance
rafadc has quit [Ping timeout: 264 seconds]
<shevy> it's a bit magic, .scan is probably easier to do since you can do it in one step
joonty has quit [Quit: This computer has gone to sleep]
<shevy> ruby-lang486 here is a good but long answer http://stackoverflow.com/a/6673878/722915 - the answer below has a nice example though
gtsai_ has joined #ruby
* norc is willing to bet that ruby-lang486 is trying to parse HTML and does not know about Nokogiri
ponga has quit [Quit: Connection closed for inactivity]
tildes_ has quit [Ping timeout: 260 seconds]
<shevy> otherwise, $1 $2 and so are like other global variables. they are a bit volatile though so don't trust them too much
sid_fules has quit [Read error: Connection reset by peer]
<shevy> ugha! yorickpeterse wrote ugha!
<ruby-lang486> @norc you're right, but I'm just trying to do a oneshot script that I'll never use again
jwarren_ has joined #ruby
<norc> ruby-lang486, nokogiri is easy to use. :)
ftj has quit [Quit: Textual IRC Client: www.textualapp.com]
jancel has quit [Read error: Connection reset by peer]
deviation has quit [Ping timeout: 260 seconds]
<jwarren_> Hey everyone. Anyone have a second to answer some questions about Ruby/Rack config.ru stuff? I'm new to Ruby and quite perplexed.
<havenwood> jwarren_: What trouble are you running into?
<norc> jwarren_, the answer is yes!
<norc> Hope I could help you.
<norc> (:
jancel has joined #ruby
synthroid has quit []
scepticulous has quit [Ping timeout: 260 seconds]
jaiks has quit [Ping timeout: 240 seconds]
<jwarren_> I'm trying to figure out how to set up custom HTTP headers. Specifically, I'm trying to set X-Frame-Options to allow a certain domain. My config.ru file has `require "jekyll-auth"` and then `run JekyllAuth.site`, and I think between those I can do something like `Rack::Headers...`, right?
arlek has joined #ruby
idefine has quit [Read error: Connection reset by peer]
gnufied has quit [Ping timeout: 250 seconds]
[Butch] has quit [Quit: I'm out . . .]
<norc> jwarren_, do you have some middleware that sets a default X_Frame-Options (like SAMEORIGIN) ?
giz|work has joined #ruby
ur5us has joined #ruby
gheegh has quit [Ping timeout: 264 seconds]
<norc> jwarren_, because unless you have a middleware that already emits a DENY or SAMEORIGIN, the browser will not be limited in this regard from what I remember.
<jwarren_> norc, I think Jekyll is setting it by default, but I'm not sure. I do know that when it's deployed, SAMEORIGIN is set as the value.
<norc> Fair enough, that's what I wanted to know. :)
lightt has quit [Remote host closed the connection]
johnmilton has joined #ruby
Pupeno has joined #ruby
jhack has quit [Quit: jhack]
nadir has quit [Quit: Connection closed for inactivity]
<norc> jwarren_, doesn't look like Jeckyll uses Rack out of the box. Are you using rack-jeckyll?
hutch34_ has joined #ruby
smathy_afk is now known as smathy
chip__ has joined #ruby
<jwarren_> Well, it's a Jekyll/JekyllAuth site that's deployed on Heroku. The Jekyll-Auth docs walk through setting it up using Heroku defaults, which uses Rack.
<ruby-lang486> @norc I can't use nokogiri, the place im working at uses an older version of ruby
<jwarren_> Jekyll-auth essentially wraps Jekyll, I think.
<jwarren_> As I'm looking at the docs more, it looks like I can do something like `use Rack::Response::Helpers.add_header('X-Frame-Options', 'ALLOW-FROM https://example.com/')`. But I'm probably reading the docs wrong... Does that seem reasonable?
<norc> jwarren_, you could simply use an after filter
DynamicM` has joined #ruby
<norc> jwarren_, after { headers('X-Frame-Options' => 'ALLOW-FROM example.com')}
hutch34 has quit [Ping timeout: 276 seconds]
bruce_lee has quit [Ping timeout: 250 seconds]
jenrzzz_ has joined #ruby
gtsai_ has quit [Ping timeout: 252 seconds]
<norc> jwarren_, it probably is introdoced by Rack::Protection through Sinatra.
<norc> (Which is a good thing, so no need to turn it off)
moeabdol has quit [Quit: WeeChat 1.4]
jenrzzz has quit [Ping timeout: 260 seconds]
sid_fules has joined #ruby
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
bruce_lee has joined #ruby
DynamicMetaFlow has quit [Ping timeout: 276 seconds]
JJM has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jwarren_> norc, My Ruby is pretty crude. What's an after filter? Right now the line in my config.ru is `use Rack::Response::Helpers.add_header 'X-Frame-Options', 'ALLOWALL'`, where would the after piece go instead?
gtsai has joined #ruby
<jwarren_> (Except ALLOWALL is just a placeholder at the moment)
<bougyman> jwarren_: an after filter is a rails thing, not ruby
ruby-nooby has quit [Ping timeout: 250 seconds]
rafadc_ has quit [Remote host closed the connection]
<norc> bougyman, jwarren_: It is a Sinatra thing in this context.
ta_ has quit [Remote host closed the connection]
<bougyman> ok
edwinvdgraaf has joined #ruby
eljimbo has quit [Quit: This computer has gone to sleep]
roamingdog has joined #ruby
martee has joined #ruby
giz|work has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
eljimmy has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
dar123 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
edwinvdgraaf has joined #ruby
jenrzzz_ has quit [Ping timeout: 276 seconds]
Pupeno has quit [Remote host closed the connection]
Pupeno has joined #ruby
eljimmy has quit [Client Quit]
idefine has joined #ruby
edwinvdg_ has joined #ruby
ldnunes has quit [Quit: Leaving]
jancel has quit [Remote host closed the connection]
edwinvdg_ has quit [Read error: Connection reset by peer]
edwinvdg_ has joined #ruby
edwinvdgraaf has quit [Ping timeout: 240 seconds]
bobbycvi_ has joined #ruby
whathappens has joined #ruby
DynamicM` has quit [Remote host closed the connection]
DynamicM` has joined #ruby
<ironcamel> no one get mad at what i'm about to ask ...
whathapp_ has joined #ruby
<ironcamel> This method is similar to #system but it doesn’t wait for the command to finish.
jphase has quit [Ping timeout: 260 seconds]
<ironcamel> I need the equivalent of Kernel.system on ruby 1.8.7
<ironcamel> err, Kernel.spawn
whathapp_ has quit [Read error: Connection reset by peer]
whathapp_ has joined #ruby
<ironcamel> i need to do system foo.sh; let it run for a few seconds, and then kill the foo.sh process
<ironcamel> from ruby
<ironcamel> what's the easiest way to do that?
<adaedra> well Kernel.spawn should do it then, what's the problem?
<norc> ironcamel, fork?
<norc> adaedra, Kernel.spawn was not available in 1.8.7
<ironcamel> adaedra: i only have ruby 1.8.7
CausaMortis has joined #ruby
<adaedra> ah, you are on 1.8.7
<adaedra> I misunderstood
dh64 has quit [Quit: Konversation terminated!]
nando293921 has quit [Remote host closed the connection]
<adaedra> you can't update Ruby? 1.8.7 is a dinosaur.
<ironcamel> i know i know
<ironcamel> it's not up to me. this is for $work
<norc> ironcamel, Id simply fork
<ironcamel> i use v2.3 for all my personal stuff
<ironcamel> norc: i tried forking and killing the pid
<ironcamel> but the underlying system process keeps going
<norc> ironcamel, that will leave zombies.
roamingdog has quit [Remote host closed the connection]
whathappens has quit [Ping timeout: 252 seconds]
<ironcamel> i have a foo.sh that is:
<ironcamel> for i in `seq 10`; do echo $i >> /tmp/xx; done
duckpuppy has quit [Ping timeout: 246 seconds]
roamingdog has joined #ruby
<smathy> ironcamel, you'd need to handle the signal in your own code in the fork/subprocess and kill the system process there when you receive that signal.
<norc> ironcamel, well if you execute a shell command with & you place it into the background, you could then return $! with your system command, then you have the pid of your child
<ironcamel> on the ruby side i have:
<ironcamel> pid = fork { system './xx.sh'; exit }
<ironcamel> sleep 3
<ironcamel> Process.kill('TERM', pid)
<ironcamel> smathy: how do i get the pid of the foo.sh process?
<smathy> ironcamel, no, in the fork you need to handle that signal so your parent process can signal your forked subprocess, and then IT will kill the system process.
<ironcamel> smathy: how does IT get the pid of the system process?
<adaedra> wat
<norc> ironcamel, Oh. Dont use system. use exec.
snockerton has joined #ruby
<norc> ironcamel, that should do the job for you.
* ironcamel is looking up exec ...
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<smathy> Oh true, that's better. I was missing a timeout step.
<smathy> ...forgetting myself there.
<ironcamel> so i should do pid = fork { exec "foo.sh" } ?
<ironcamel> then i kill that pid?
jenrzzz has joined #ruby
rafadc has joined #ruby
<ironcamel> that seemed to work
<ironcamel> should i put an exit in that fork block?
ips|malc has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<adaedra> Nothing after an exec is executed; exec replaces current process.
Pupeno has quit [Remote host closed the connection]
<ironcamel> pid = fork { exec "foo.sh"; exit }
<smathy> Shouldn't need it.
<norc> It is effectively dead code, it cannot be reached.
<ironcamel> cool beans, thanks guys
<adaedra> don't forget to wait your process after you TERM/KILL it, otherwise it will be a zombie.
<ironcamel> i still need to Process.wait it?
<norc> Yes.
<ironcamel> even though i'm killing it
<adaedra> Yes.
<adaedra> Your process will be a zombie and stay as such until the parent waits it (to get the return value)
<adaedra> That's how processes work.
<norc> Somehow "wait" is a bad name for it.
<norc> Something like "reap" would have been a bit clearer.
<adaedra> well, it waits for it, in a sense.
workmad3 has joined #ruby
<norc> mmm
<adaedra> (if the process is not terminated yet, I agree)
hahuang61 has quit [Ping timeout: 272 seconds]
Pumukel has joined #ruby
rafadc has quit [Ping timeout: 246 seconds]
roamingdog has quit [Remote host closed the connection]
<ironcamel> pid = fork { exec './xx.sh' }
<ironcamel> sleep 3
<ironcamel> Process.kill('TERM', pid); Process.wait
<ironcamel> is that good ^^^ ?
<norc> ironcamel, no.
nadir has joined #ruby
<ironcamel> what am i missing?
<norc> ironcamel, you need to wait on the process you forked off.
Rutix has quit []
<adaedra> that's what the wait does
<norc> Or..
<adaedra> iirc, if you give wait nothing, it waits for any child.
<norc> Oh. Wasn't aware of wait accepting no arguments. my bad.
<norc> adaedra, why can't this be the default behaviour of processes when they end?
<adaedra> that's actually the basic usage of wait(2): no argument
<adaedra> norc: what behaviour?
jaguarmagenta has joined #ruby
<norc> adaedra, well there seems to be no point in not waiting if you have any child processes.
TomyLobo has quit [Ping timeout: 252 seconds]
<adaedra> I don't understand, explain from the beginning?
DynamicM` has left #ruby ["ERC (IRC client for Emacs 24.5.1)"]
ruby-lang486 has quit [Ping timeout: 250 seconds]
cdg has joined #ruby
<norc> Ah well, Ill try to sort my thoughts first. Surely I don't know better than the people who implemented it in Ruby. :)
maletor3 has joined #ruby
ramfjord_ has joined #ruby
<adaedra> If you mean "why can't processes just die and not leave zombies", you need to wait(2) a process to get its return value. A zombie is just that, a child waiting to tell its parent how it died. Once it did so, it's gone.
ramfjord has quit [Ping timeout: 244 seconds]
sid_fules has quit [Read error: Connection reset by peer]
<norc> adaedra, but if a parent dies, Id expect all childs to get waited on.
<norc> (Id rather be forced to kill off any left over childs)
Rutix has joined #ruby
Rutix has quit [Changing host]
Rutix has joined #ruby
<adaedra> If a parent dies, its children are reattached to the parent's parent
<adaedra> so they can continue to run
<norc> mmm
<adaedra> they can move up to be parented to init (PID 1) which will automatically wait for them.
SCHAAP137 has quit [Quit: Leaving]
<norc> adaedra, ah. Well perhaps it sounds a bit naive, but I might actually prefer a child not to automatically reattach to a new parent, but to die unless explicitely reattached.
tina has quit [Quit: Page closed]
<norc> But then again this whole discussion proves I dont know much about Process, so Im probably the worst judge.
<adaedra> /sbin/init is normally something like `fork { exec '/bin/rc' }; loop { Process.wait }`
jaguarmagenta has quit [Ping timeout: 272 seconds]
<smathy> norc, wait is really about waiting for the exit code of the subprocess, hence the name, and why you need to call it after your subprocess is given a PID by the system.
<adaedra> norc: that's how processes work in your system, it's not really Ruby related here.
<norc> adaedra, absolutely.
nullfxn_ has quit [Quit: leaving]
roamingdog has joined #ruby
nullfxn has joined #ruby
<adaedra> You can however kill a whole process group if you want to kill parents and children.
<adaedra> You montster.
<norc> adaedra, today was the day when I learned how the operating system can actually schedule processes (and it really is not that easy) ...
maletor3 has quit [Ping timeout: 260 seconds]
ryann has joined #ruby
ryann is now known as ry4nn_
<adaedra> Processes are actually a very complex machinery
<norc> So are processors (which is the topic Im diving into at the moment) :)
Yxhuvud has joined #ruby
bruce_lee has quit [Remote host closed the connection]
ry4nn_ is now known as ry4nn
lightt has joined #ruby
lightt has quit [Remote host closed the connection]
Pupeno has joined #ruby
infra-red has quit [Remote host closed the connection]
machinewar has joined #ruby
<machinewar> so I have a class that is expected to respond to a method and I want to run the code in that method when its called (which sets instance variables) and then run method by same name in an included module with logic that depends on those instance variables being set
<machinewar> is this possible?
sid_fules has joined #ruby
MrBusiness2 has joined #ruby
<machinewar> here's an example of what I'd like
sid_fules has quit [Read error: Connection reset by peer]
Yiota_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<norc> machinewar, technically yes.
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<norc> machinewar, a method belongs to either a module or a class, an include does not change that.
Pupeno has quit [Ping timeout: 250 seconds]
<jwarren_> @norc, to kick a dead horse a few more times, I looked at the after filters, but I don't think I can apply it. I only have a config.ru file and the gems I installed. Is there a way I can put it in the config.ru before/when `run app` is called? I'm sorry for the stupid questions, I'm still trying to figure out how this stuff works.
hk238 has quit [Ping timeout: 260 seconds]
<adaedra> norc: but when including the module, the method in the module replaces the one in the class
eljimmy has joined #ruby
<norc> adaedra, I do not think that is true.
<jhass> it's not, in fact that's what prepend is for
tinnvec has quit [Remote host closed the connection]
MrBusiness3 has quit [Ping timeout: 272 seconds]
<machinewar> I can still call super and it will call the included modules method
tinnvec has joined #ruby
<machinewar> but I'm wondering if there's a *smarter* way to do this somehow from within the module
<norc> jhass, can you come up with a way to show this with include?
<machinewar> having it call something on the class (i.e. some way to open up a classes method and add to it)
<jhass> norc: not sure what "this" is now :/
<jhass> machinewar: I'd say super is the intended way to solve this
Pumukel has quit [Ping timeout: 260 seconds]
tinnvec has quit [Read error: Connection reset by peer]
tinnvec has joined #ruby
last_staff has quit [Quit: last_staff]
<jhass> machinewar: if it should be transparent to the class though, use prepend instead of include and call super in the module as first thing
<jhass> though that'll require the class to implement it
<machinewar> jhass: thanks! am currently using prepend actually and was curious if another way
jrafanie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<machinewar> jhass: that's fine I actually want the class to implement the setup and then have it run the module method which assumes some instance vars were initialized
hxegon is now known as hxegon_afk
floatingpoint has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<machinewar> and prepend works since it hides the super from the class which is something I liked, just looks cleaner
CoderPuppy has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
cpup has quit [Ping timeout: 272 seconds]
kareeoleez has quit [Remote host closed the connection]
sid_fules has joined #ruby
cd83x has joined #ruby
toretore has quit [Ping timeout: 244 seconds]
hutch34 has joined #ruby
sid_fules has quit [Read error: Connection reset by peer]
arlek has quit [Ping timeout: 258 seconds]
kareeoleez has joined #ruby
aegis3121 has quit [Ping timeout: 272 seconds]
malcolmva has quit [Ping timeout: 240 seconds]
mattwashere has quit [Remote host closed the connection]
cfloare has quit [Ping timeout: 260 seconds]
machinewar has quit []
hutch34_ has quit [Ping timeout: 260 seconds]
theunraveler has quit []
dhollinger has quit [Quit: WeeChat 1.4]
bluOxigen has quit [Ping timeout: 260 seconds]
cgfbee has quit [Ping timeout: 276 seconds]
edwinvdg_ has quit [Remote host closed the connection]
y2mq37 has joined #ruby
terminalrecluse has joined #ruby
kies has quit [Ping timeout: 276 seconds]
tinnvec has quit [Remote host closed the connection]
tinnvec has joined #ruby
postmodern has quit [Ping timeout: 272 seconds]
kareeoleez has quit [Remote host closed the connection]
ChiefAlexander has quit [Quit: Leaving...]
idefine has quit [Remote host closed the connection]
<shevy> hanmac how usable are your wx-bindings? I am getting slightly tired of ruby-gnome and want to have a look for alternatives that aren't as ugly as ruby-tk
spider-mario has quit [Remote host closed the connection]
johnmilton has quit [Ping timeout: 260 seconds]
cpup has joined #ruby
roamingdog has quit [Remote host closed the connection]
y2mq37 has quit [Quit: Leaving]
idefine has joined #ruby
|2701 has quit [Quit: Connection closed for inactivity]
malcolmva has joined #ruby
Devalo has joined #ruby
chipotle has joined #ruby
CoderPuppy has quit [Ping timeout: 244 seconds]
sid_fules has joined #ruby
roamingdog has joined #ruby
m8 has quit [Quit: Sto andando via]
Devalo has quit [Ping timeout: 250 seconds]
madgen has quit [Ping timeout: 252 seconds]
postmodern has joined #ruby
ramfjord_ has quit [Ping timeout: 260 seconds]
SilverKey has quit [Quit: Halted.]
gtsai has quit [Ping timeout: 276 seconds]
sid_fules has quit [Remote host closed the connection]
jackjackdripper1 has joined #ruby
<jhass> shevy: looked into gir-gtk yet?
nankyokusei has joined #ruby
<jhass> gir_ffi-gtk I mean
startupality has joined #ruby
johnmilton has joined #ruby
kirun has quit [Quit: Client exiting]
jhack has joined #ruby
jackjackdripper has quit [Ping timeout: 246 seconds]
roamingdog has quit [Remote host closed the connection]
terminalrecluse has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nankyokusei has quit [Ping timeout: 240 seconds]
CoderPuppy has joined #ruby
biberu has quit [Read error: Connection reset by peer]
maletor3 has joined #ruby
allcentury has quit [Ping timeout: 276 seconds]
finisherr has quit [Quit: finisherr]
cpup has quit [Ping timeout: 264 seconds]
maletor3 has quit [Ping timeout: 240 seconds]
roamingdog has joined #ruby
TheMoonMaster has quit [Ping timeout: 260 seconds]
sid_fules has joined #ruby
TheMoonMaster has joined #ruby
aegis3121 has joined #ruby
CausaMortis has quit [Ping timeout: 276 seconds]
gigetoo has quit [Ping timeout: 260 seconds]
chipotle has quit [Quit: cheerio]
gigetoo has joined #ruby
roamingdog has quit [Remote host closed the connection]
gnufied has joined #ruby
<shevy> jhass I think I only know it by name, I don't remember why I have not tried it, most likely inertia and laziness
roamingdog has joined #ruby
ramfjord has joined #ruby
Trieste has left #ruby ["Odcházím"]
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
firstdayonthejob has quit [Ping timeout: 240 seconds]
danostrowski has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
workmad3 has quit [Ping timeout: 244 seconds]
chouhoulis has quit [Ping timeout: 252 seconds]
startupality has quit [Quit: startupality]
cpup has joined #ruby
<Synthead> I can access RbVmomi::VIM::VirtualApp, but "virtualapp" doesn't return anything in the repo: https://github.com/vmware/rbvmomi/search?utf8=%E2%9C%93&q=virtualapp what's going on here?
cgfbee has joined #ruby
Yiota has joined #ruby
tildes_ has joined #ruby
mattwashere has joined #ruby
d0nn1e has quit [Ping timeout: 240 seconds]
d0nn1e has joined #ruby
<shevy> it probably is not in any .rb file
danostrowski has joined #ruby
CoderPuppy has quit [Ping timeout: 252 seconds]
JesseH has quit [Remote host closed the connection]
<shevy> I see a similar namespace class RbVmomi::VIM::VirtualMachine
hutch34_ has joined #ruby
sid_fules has quit [Remote host closed the connection]
Yiota has quit [Ping timeout: 276 seconds]
roamingdog has quit [Remote host closed the connection]
hutch34 has quit [Ping timeout: 240 seconds]
<Synthead> how can the name never be referenced but is still accessible from within ruby
<Synthead> ?
roamingdog has joined #ruby
clifford_ has joined #ruby
clifford_ has quit [Remote host closed the connection]
banister has joined #ruby
banister is now known as banisterfiend
banisterfiend has quit [Changing host]
banisterfiend has joined #ruby
<shevy> it could be compiled somewhere possibly, like in a C extension or something. I got a match in some database file
malcolmva has quit [Quit: Leaving]
<Synthead> whoa, vmodl.db has it for sure
<Synthead> that's bizarre
<Synthead> is this common?
Yiota has joined #ruby
Yiota has quit [Max SendQ exceeded]
dfockler has quit [Quit: Leaving]
CoderPuppy has joined #ruby
Yiota has joined #ruby
marr has quit [Ping timeout: 276 seconds]
|2701 has joined #ruby
tw1sted has quit [Quit: No Ping reply in 180 seconds.]
<shevy> I myself only saw this in a pickaxe example, the jukebox in C :) it may happen in some extensions that are natively compiled, but I also don't deal with these a lot... from perhaps the last 200 gems I installed, perhaps... 10 or 20 had to be compiled natively
<shevy> probably github could try to search for namespaces within smallish binary files too
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
tw1sted has joined #ruby
aegis3121 has quit [Quit: Textual IRC Client: www.textualapp.com]
cpup has quit [Ping timeout: 264 seconds]
diegoaguilar has quit [Remote host closed the connection]
roamingd_ has joined #ruby
roamingdog has quit [Ping timeout: 260 seconds]
SilverKey has joined #ruby
norc has quit [Ping timeout: 258 seconds]
roamingd_ has quit [Ping timeout: 250 seconds]
daytime has quit [Quit: I guess that's how it's post to be.]
hutch34 has joined #ruby
Axy has quit [Read error: Connection reset by peer]
<al2o3-cr> dino-saur-us is a boggie
karmatr0n has quit [Ping timeout: 252 seconds]
safe has joined #ruby
mattwashere has quit [Remote host closed the connection]
<al2o3-cr> shevy: are you a dino?
<al2o3-cr> get with the times kidda
nug has quit [Ping timeout: 260 seconds]
nighttime has joined #ruby
hutch34_ has quit [Ping timeout: 276 seconds]
roamingdog has joined #ruby
<shevy> al2o3-cr I still play dos games!!!
ksmutthu has joined #ruby
hutch34 has quit [Ping timeout: 244 seconds]
gnarld_ has joined #ruby
<al2o3-cr> shevy: i wish i was as young as you!
am55 has joined #ruby
<al2o3-cr> shevy: commy?
rafadc has joined #ruby
Gasher has quit [Quit: Leaving]
mikecmpbll has quit [Quit: Textual IRC Client: www.textualapp.com]
<al2o3-cr> shevy: strange you don't interact in #ruby-offtopic
rafadc has quit [Ping timeout: 244 seconds]
danostrowski has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jphase has joined #ruby
<al2o3-cr> shevy: shit happens
tax has joined #ruby
roamingdog has quit [Remote host closed the connection]
JesseH has joined #ruby
Vile` has joined #ruby
<al2o3-cr> shevy: very shrewd person
<jphase> forgive the noob question (this is day 2 for me), but is it the standard convention to use 2 spaces in lieu of tabs with rails? From some light googling I've seen discussion on SO about 2 spaces being the "agreed-upon" norm, but wanted to check.
<shevy> al2o3-cr these monsters play unicode hangman there! :(
x0f has quit [Ping timeout: 264 seconds]
<al2o3-cr> shevy: why does that matter?
hutch34 has joined #ruby
maletor3 has joined #ruby
<al2o3-cr> shevy: upgrade your shell :#
smathy is now known as smathy_afk
mattwashere has joined #ruby
idefine has quit [Remote host closed the connection]
czerasz has joined #ruby
allcentury has joined #ruby
nat2610 has quit [Quit: Leaving.]
RegulationD has quit [Remote host closed the connection]
gigetoo has quit [Ping timeout: 276 seconds]
gigetoo has joined #ruby
<al2o3-cr> shevy: what ruby you using?
x0f has joined #ruby
jwarren_ has left #ruby [#ruby]
maletor3 has quit [Ping timeout: 252 seconds]
hutch34 has quit [Ping timeout: 276 seconds]
jancel has joined #ruby
idefine has joined #ruby
Phaenix has joined #ruby
<al2o3-cr> shevy: don't ignore me
skolman has quit [Remote host closed the connection]
finisherr has joined #ruby
roamingdog has joined #ruby
<al2o3-cr> and don't come back an hour later with some smart arse comment
<al2o3-cr> |2701: how the fuck you got in
idefine has quit [Remote host closed the connection]
<|2701> dont associate my ELITE shitposting with your autism
<|2701> go shitpost on your own
koooge has joined #ruby
idefine has joined #ruby
<al2o3-cr> and i thought you had some meta about you
mattwashere has quit [Remote host closed the connection]
|2701 is now known as |meta
<|meta> ya boi
cdg has quit [Remote host closed the connection]
<al2o3-cr> lurker
mattwashere has joined #ruby
whathappens has joined #ruby
Vingador has joined #ruby
<|meta> why are you harassing these poor rubyists anyways
<|meta> what do you need
fclausen has joined #ruby
<elomatreb> what is going on here? ._.
<havenwood> jphase: yes, two-space soft tabs is the strong convention in Ruby
<Radar> !ban |meta
cd83x has quit [Remote host closed the connection]
|meta was kicked from #ruby by ruby[bot] [bannable offense, see http://ruby-community.com/pages/user_rules]
<Radar> elomatreb: Whatever it was, it has stopped now.
<elomatreb> lol
<jphase> havenwood: much obliged, thx
rcvalle has quit [Quit: rcvalle]
whathapp_ has quit [Ping timeout: 244 seconds]
SilverKey has quit [Quit: Halted.]
<benzrf> these assholes give shitposting a bad name
symm- has quit [Ping timeout: 276 seconds]
<havenwood> ?tabs jphase
<ruby[bot]> jphase: Ruby community standards recommend using 2 spaces as indentation (see https://github.com/bbatsov/ruby-style-guide#spaces-indentation and https://ukupat.github.io/tabs-or-spaces/).
<banisterfiend> anyone here have any react_on_rails experience?