jhass changed the topic of #ruby to: Rules & more: http://ruby-community.com || Ruby 2.3.0; 2.2.4; 2.1.8: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org/ruby/
<Ox0dea> anoob: https://eval.in/540757
devbug has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
swistak35 has joined #ruby
<Ox0dea> Module#private is just a method that takes one or more method names and privatizes them, and `def` and #define_method both return the name of the defined method.
<Ox0dea> s/return/evaluate to/, technically.
jottr has joined #ruby
firstdayonthejob has quit [Ping timeout: 264 seconds]
cjbischof_ has joined #ruby
smathy has joined #ruby
uglybandersnatch has quit [Ping timeout: 248 seconds]
astrobun_ has joined #ruby
yqt has quit [Ping timeout: 248 seconds]
speakingcode has joined #ruby
ramfjord_ has joined #ruby
roshanavand_ has quit [Quit: This computer has gone to sleep]
johnmilton has quit [Ping timeout: 260 seconds]
mbff has joined #ruby
ramfjord has quit [Ping timeout: 244 seconds]
uglybandersnatch has joined #ruby
cdg has quit [Remote host closed the connection]
<mbff> Question: How can I have guard run all my tests if any file in a couple of folders change?
Vile` has joined #ruby
cdg has joined #ruby
sadin has quit [Quit: Leaving]
<benzrf> how does the magic work that scopes args-less private to blocks
djbkd has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
sq271 has joined #ruby
joonty has joined #ruby
mikhael_k33hl has quit [Ping timeout: 250 seconds]
jdawgaz has joined #ruby
Disavowed has quit [Ping timeout: 260 seconds]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rmulliga` has joined #ruby
ramfjord_ has quit [Ping timeout: 276 seconds]
marr has quit [Ping timeout: 248 seconds]
cdg has quit [Ping timeout: 276 seconds]
<Ox0dea> benzrf: The VM maintains the current visibility of method definition; Module#private just sets it to METHOD_VISI_PRIVATE.
joonty has quit [Ping timeout: 250 seconds]
<benzrf> Ox0dea: but
rkoller has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
<Ox0dea> Looks fine to me?
<benzrf> yeah, i'm saying
<benzrf> 20:10 <benzrf> how does the magic work that scopes args-less private to blocks
rmulliga` has quit [Ping timeout: 250 seconds]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
marxarelli has quit [Quit: Textual IRC Client: www.textualapp.com]
mikecmpbll has quit [Quit: Textual IRC Client: www.textualapp.com]
Cohedrin has quit [Max SendQ exceeded]
Silox| has joined #ruby
Cohedrin has joined #ruby
Devalo has joined #ruby
<benzrf> oh wait so you're saying that it sets a flag on the vm rather than on the class
<benzrf> so it really doesnt matter what the receiver is?
<anoob> Ox0dea, thanks
Inside has quit [Ping timeout: 250 seconds]
blackmesa has quit [Ping timeout: 268 seconds]
bezhermoso has quit [Quit: Zzzzz...]
Devalo has quit [Ping timeout: 244 seconds]
swills has joined #ruby
idefine has joined #ruby
mistermocha has joined #ruby
jenrzzz has joined #ruby
stannard has joined #ruby
mistermocha has quit [Remote host closed the connection]
mistermocha has joined #ruby
idefine has quit [Ping timeout: 244 seconds]
rkoller has quit [Quit: Textual IRC Client: www.textualapp.com]
sneakerhax has joined #ruby
sandbird has joined #ruby
jam__ has joined #ruby
dcunit3d has quit [Ping timeout: 276 seconds]
stannard has quit [Ping timeout: 240 seconds]
pwnd_nsfw has quit [Ping timeout: 240 seconds]
noname has joined #ruby
lessless has joined #ruby
saneax is now known as saneax_AFK
jam__ has quit [Ping timeout: 260 seconds]
sneakerhax has quit [Ping timeout: 252 seconds]
sulky has quit [Ping timeout: 260 seconds]
pwnd_nsfw has joined #ruby
sulky has joined #ruby
uglybandersnatch has quit [Ping timeout: 260 seconds]
nerium has joined #ruby
chouhoul_ has joined #ruby
janzo has quit []
Disavowed has joined #ruby
davedev24 has quit []
chouhoulis has quit [Ping timeout: 260 seconds]
mleung has quit [Ping timeout: 248 seconds]
mistermocha has quit [Remote host closed the connection]
rcvalle has quit [Quit: rcvalle]
jdawgaz has joined #ruby
solocshaw has quit [Ping timeout: 240 seconds]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jdawgaz has joined #ruby
AustinMatherne has quit [Remote host closed the connection]
AustinMatherne has joined #ruby
Disavowed has quit [Ping timeout: 250 seconds]
freerobby has quit [Quit: Leaving.]
spider-mario has quit [Remote host closed the connection]
rmulliga` has joined #ruby
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
maletor has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
diegoaguilar has quit [Ping timeout: 248 seconds]
cjbischof_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sneakerhax has joined #ruby
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
intrigueD has quit [Remote host closed the connection]
_stu_ has quit [Quit: _stu_]
jdawgaz has joined #ruby
astrobun_ has quit [Remote host closed the connection]
shinnya has quit [Ping timeout: 248 seconds]
anoob has quit [Quit: Page closed]
jackjackdripper has quit [Quit: Leaving.]
FooMunki has quit [Quit: FooMunki]
sarlalian has quit [Ping timeout: 276 seconds]
tubuliferous_ has quit [Ping timeout: 252 seconds]
cjbischof_ has joined #ruby
Disavowed has joined #ruby
halfamind has quit [Read error: Connection reset by peer]
halfamind1 has joined #ruby
amclain has quit [Quit: Leaving]
freerobby has joined #ruby
justinweiss has quit [Quit: Connection closed for inactivity]
sarlalian has joined #ruby
idefine has joined #ruby
bezhermoso has joined #ruby
astrobun_ has joined #ruby
joonty has joined #ruby
`tim` has joined #ruby
Disavowed has quit [Ping timeout: 276 seconds]
houhoulis has quit []
skweek has joined #ruby
diegoaguilar has joined #ruby
axl_ has joined #ruby
x77686d has quit [Quit: x77686d]
idefine has quit [Ping timeout: 264 seconds]
blackgoat has joined #ruby
joonty has quit [Ping timeout: 260 seconds]
bezhermoso has quit [Quit: Zzzzz...]
edwinvdg_ has quit [Remote host closed the connection]
bedouin_ has joined #ruby
tvw has quit [Ping timeout: 246 seconds]
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
edwinvdgraaf has joined #ruby
bronson has joined #ruby
bedouin_ has quit [Quit: ZNC - http://znc.in]
bronson has quit [Ping timeout: 252 seconds]
edwinvdgraaf has quit [Ping timeout: 260 seconds]
chouhoul_ has quit []
bedouin_ has joined #ruby
cpup has quit [Ping timeout: 264 seconds]
swills has quit [Ping timeout: 260 seconds]
cpup has joined #ruby
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
swills has joined #ruby
rmulliga` has quit [Ping timeout: 248 seconds]
johnmilton has joined #ruby
floatingpoint has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
toretore has joined #ruby
Dreamer3 has joined #ruby
Aviio has joined #ruby
Dreamer3_ has joined #ruby
nertzy has quit [Read error: Connection reset by peer]
chouhoulis has joined #ruby
axl_ has quit [Quit: axl_]
mistermocha has joined #ruby
Musashi007 has joined #ruby
babblebre has quit [Quit: Connection closed for inactivity]
jackjackdripper has joined #ruby
jrafanie has joined #ruby
houhoulis has joined #ruby
rmulliga` has joined #ruby
siaw has left #ruby [#ruby]
jrafanie has quit [Ping timeout: 252 seconds]
jdawgaz has joined #ruby
smathy is now known as smathy_afk
cjbischof_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rmulliga` has quit [Remote host closed the connection]
jkahn has quit [Ping timeout: 250 seconds]
rmulliga` has joined #ruby
haraoka has joined #ruby
johnmilton has quit [Ping timeout: 264 seconds]
rbennacer has joined #ruby
joonty has joined #ruby
schemanic has quit [Quit: Leaving]
yuung has joined #ruby
yuung has quit [Client Quit]
djbkd has joined #ruby
axl_ has joined #ruby
rmulliga` has quit [Ping timeout: 252 seconds]
jgorak has quit [Remote host closed the connection]
joonty has quit [Ping timeout: 260 seconds]
Guest38 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sandbird has quit [Quit: Leaving]
mistermo_ has joined #ruby
skweek has quit [Ping timeout: 244 seconds]
uglybandersnatch has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
jackjackdripper has joined #ruby
jkahn has joined #ruby
cdg has joined #ruby
uglybandersnatch has quit [Ping timeout: 260 seconds]
malconis has joined #ruby
mistermo_ has quit [Remote host closed the connection]
mistermo_ has joined #ruby
mistermo_ has quit [Remote host closed the connection]
dtzuzu has joined #ruby
scepticulous has joined #ruby
htmldrum_ has quit [Ping timeout: 244 seconds]
htmldrum has quit [Ping timeout: 244 seconds]
pmodin has joined #ruby
modin has quit [Ping timeout: 264 seconds]
pmodin is now known as modin
edwinvdgraaf has joined #ruby
codernot2 has joined #ruby
<codernot2> hello
<benzrf> hi
<codernot2> can you help me with rails
<codernot2> ?
Spami has quit [Quit: This computer has gone to sleep]
<codernot2> when bin/rake routes is executed where is the output stored?
<codernot2> anybody?
c355e3b has quit [Quit: Connection closed for inactivity]
ramfjord has joined #ruby
dtzuzu has quit [Ping timeout: 244 seconds]
VeryBewitching has quit [Quit: Konversation terminated!]
<codernot2> hello
<codernot2> anybody
<codernot2> anybody
edwinvdgraaf has quit [Ping timeout: 244 seconds]
<codernot2> anybody
cdg has quit [Remote host closed the connection]
<codernot2> there
nettoweb has joined #ruby
whippythellama has quit [Quit: WeeChat 1.4]
speakingcode has quit [Quit: Lost terminal]
mistermocha has quit [Remote host closed the connection]
axl_ has quit [Quit: axl_]
ziyadb has joined #ruby
nettoweb has quit [Client Quit]
codernot2 has quit [Quit: leaving]
jackjackdripper has quit [Quit: Leaving.]
jam__ has joined #ruby
hahuang61 has quit [Ping timeout: 260 seconds]
jehoesefat has joined #ruby
patrick-sartent has joined #ruby
jam__ has quit [Ping timeout: 250 seconds]
jkahn has quit [Ping timeout: 246 seconds]
Salve has joined #ruby
ramfjord has quit [Ping timeout: 250 seconds]
halfamind1 has quit [Quit: Leaving.]
patrick-sartent has quit [Quit: Textual IRC Client: www.textualapp.com]
patrick-sartent has joined #ruby
<Radar> no
<Radar> nobody is here
Eiam_ has joined #ruby
uglybandersnatch has joined #ruby
Salve has quit [Ping timeout: 250 seconds]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rbennacer has quit [Remote host closed the connection]
baweaver has joined #ruby
dtzuzu has joined #ruby
bob434 has quit [Quit: This computer has gone to sleep]
arescorpio has joined #ruby
bob434 has joined #ruby
TheNet has joined #ruby
jrafanie has joined #ruby
Don_John has quit [Ping timeout: 276 seconds]
jcdesimp has joined #ruby
jkahn has joined #ruby
jcdesimp_ has joined #ruby
patrick-sartent has quit [Quit: Textual IRC Client: www.textualapp.com]
jrafanie has quit [Ping timeout: 248 seconds]
jcdesimp has quit [Ping timeout: 240 seconds]
Didac has quit [Ping timeout: 248 seconds]
cdg has joined #ruby
devbug has joined #ruby
Chagel has joined #ruby
perturbation has quit [Quit: Leaving]
mallu has joined #ruby
joonty has joined #ruby
nettoweb has joined #ruby
Didac has joined #ruby
solocshaw has joined #ruby
dcunit3d has joined #ruby
mwlang has quit [Quit: mwlang]
blackgoat has quit [Ping timeout: 240 seconds]
Chagel has quit [Ping timeout: 244 seconds]
Chagel has joined #ruby
baweaver has quit [Remote host closed the connection]
mbff has quit [Quit: Leaving]
joonty has quit [Ping timeout: 248 seconds]
baweaver has joined #ruby
statelesscode has joined #ruby
BtcBen has quit [Ping timeout: 252 seconds]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
htmldrum_ has joined #ruby
htmldrum has joined #ruby
Silox| has quit [Quit: Connection closed for inactivity]
Chagel_ has joined #ruby
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jottr has quit [Ping timeout: 248 seconds]
Chagel has quit [Ping timeout: 244 seconds]
cd-rum has joined #ruby
LoneHermit has joined #ruby
Salve has joined #ruby
yfeldblum has quit [Remote host closed the connection]
yonatankoren has joined #ruby
astrobun_ has quit [Remote host closed the connection]
LoneHermit has quit [Ping timeout: 246 seconds]
aeterne has joined #ruby
mistermocha has joined #ruby
lq has joined #ruby
lq has left #ruby [#ruby]
djbkd_ has joined #ruby
jhass has quit [Ping timeout: 268 seconds]
mistermocha has quit [Ping timeout: 240 seconds]
bronson has joined #ruby
djbkd_ has quit [Remote host closed the connection]
nerium has quit [Quit: nerium]
<baweaver> !spam lq
djbkd_ has joined #ruby
crowell has quit [Ping timeout: 264 seconds]
djbkd_ has quit [Client Quit]
jhass has joined #ruby
GitGud has joined #ruby
blackgoat has joined #ruby
preyalone has joined #ruby
<preyalone> is there a memoize functor in ruby?
<baweaver> ?xy
<ruby[bot]> it seems like you are asking for a specific solution to a problem, instead of asking about your problem. This often leads to bad solutions and increases frustration for you and those trying to help you. More: http://meta.stackexchange.com/a/66378
<Ox0dea> preyalone: No, but you can roll your own. :)
bronson has quit [Ping timeout: 260 seconds]
<baweaver> technically either ||= pr something similar
<Ox0dea> Yes, that'd be a crucial piece.
smathy_afk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<baweaver> really depends on the context though
<baweaver> begin ... end can be used as well
kirillzh has joined #ruby
fevrbd has joined #ruby
kirillzh has quit [Max SendQ exceeded]
kirillzh has joined #ruby
crowell has joined #ruby
kirillzh has quit [Max SendQ exceeded]
kirillzh has joined #ruby
elifoster has joined #ruby
nando293921 has quit [Quit: Lost terminal]
binaryplease1 has joined #ruby
nertzy has joined #ruby
binaryplease has quit [Ping timeout: 260 seconds]
<Ox0dea> There's a first blush at it, but @@memos is icky.
DLSteve has joined #ruby
<baweaver> def foo; @foo ||= value end
<baweaver> that's what I tend to do.
nerium has joined #ruby
<Ox0dea> Well, sure, but they wanted a "functor".
ramfjord has joined #ruby
<Ox0dea> It's really a decorator here, but the distinction is fairly thin.
mary5030 has quit [Read error: Connection reset by peer]
kirillzh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
* baweaver is stuck in Haskell land
IrishGringo has joined #ruby
mdelgadonyc has quit [Quit: Leaving]
Chagel_ has quit [Remote host closed the connection]
duncannz has joined #ruby
moeabdol3 has joined #ruby
moeabdol2 has quit [Ping timeout: 244 seconds]
hahuang61 has joined #ruby
fexilal has quit [Ping timeout: 252 seconds]
zenergi has joined #ruby
Chagel has joined #ruby
zast has quit [Remote host closed the connection]
TheNet has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<benzrf> wait
<benzrf> what else can functor mean?
<benzrf> i think i know that c++ uses the word to mean function values?
Inside has joined #ruby
Inside has joined #ruby
kirillzh has joined #ruby
TheNet has joined #ruby
xlegoman has quit [Quit: xlegoman]
halfamind has joined #ruby
cdg has quit [Remote host closed the connection]
krz has joined #ruby
Regulati_ has joined #ruby
<Ox0dea> Well, hmm, what kind of functor is a decorator?
<Ox0dea> Also, I totally forgot to key on the arguments in my example.
joonty has joined #ruby
halfamind has quit [Client Quit]
RegulationD has quit [Ping timeout: 244 seconds]
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
halfamind has joined #ruby
braincrash has quit [Quit: bye bye]
noService has quit [Ping timeout: 246 seconds]
Chagel has quit [Remote host closed the connection]
Chagel has joined #ruby
joonty has quit [Ping timeout: 244 seconds]
braincrash has joined #ruby
weemsledeux has quit [Ping timeout: 244 seconds]
MrSamuel has joined #ruby
floatingpoint has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Chagel has quit [Quit: Lost terminal]
jackjackdripper has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
yfeldblum has joined #ruby
astrobun_ has joined #ruby
diegoviola has quit [Quit: WeeChat 1.4]
treaki_ has joined #ruby
treaki__ has quit [Ping timeout: 252 seconds]
diegoaguilar has quit [Ping timeout: 240 seconds]
BtcBen has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
jackjackdripper has joined #ruby
mistermocha has joined #ruby
backintheoven has joined #ruby
<backintheoven> holy shit 0_0
stannard has joined #ruby
<GitGud> haha whats ruby gots to do with dat
<preyalone> is there a function for arrays that splits it into two arrays based on a predicate?
<preyalone> of whether predicate?(elem)
sysodaff has joined #ruby
tildes has joined #ruby
backintheoven has quit [K-Lined]
<Ox0dea> &ri Array#partition preyalone
jam__ has joined #ruby
<baweaver> !troll backintheoven
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
norc_ has joined #ruby
stannard has quit [Ping timeout: 248 seconds]
kp666 has quit [Ping timeout: 260 seconds]
merida has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
jackjackdripper has joined #ruby
jam__ has quit [Ping timeout: 264 seconds]
sysodaff has quit [Client Quit]
sysodaff has joined #ruby
bezhermoso has joined #ruby
bezhermoso has quit [Client Quit]
Gasher^ has quit [Quit: Leaving]
blackgoat has quit [Quit: WeeChat 1.4]
gix has quit [Ping timeout: 268 seconds]
krz has quit [Quit: WeeChat 1.2]
sysodaff has quit [Ping timeout: 264 seconds]
krz has joined #ruby
freerobby has quit [Quit: Leaving.]
gix has joined #ruby
mistermocha has quit [Remote host closed the connection]
mary5030 has joined #ruby
kp666 has joined #ruby
kp666 has quit [Max SendQ exceeded]
fedexo has joined #ruby
kp666 has joined #ruby
scepticulous has quit [Ping timeout: 252 seconds]
devbug_ has joined #ruby
mistermocha has joined #ruby
arescorpio has quit [Excess Flood]
kp666 has quit [Max SendQ exceeded]
mistermocha has quit [Remote host closed the connection]
kp666 has joined #ruby
jrafanie has joined #ruby
bob434 has quit [Quit: This computer has gone to sleep]
mistermocha has joined #ruby
bezhermoso has joined #ruby
bezhermoso has quit [Client Quit]
bob434 has joined #ruby
tref has joined #ruby
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
startupality has joined #ruby
jrafanie has quit [Ping timeout: 276 seconds]
wRaben has joined #ruby
LoneHermit has joined #ruby
startupality has quit [Client Quit]
noService has joined #ruby
sauvin has joined #ruby
sauvin has quit [Max SendQ exceeded]
wRaben has left #ruby ["Leaving"]
joonty has joined #ruby
LoneHermit has quit [Ping timeout: 252 seconds]
noService has quit [Ping timeout: 246 seconds]
joonty has quit [Ping timeout: 246 seconds]
fullofca_ has quit [Remote host closed the connection]
sneakerhax has quit [Ping timeout: 248 seconds]
IrishGringo has quit [Ping timeout: 250 seconds]
Aviio has quit [Remote host closed the connection]
halfamind has quit [Quit: Leaving.]
Inside has quit [Ping timeout: 248 seconds]
startupality has joined #ruby
mallu has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jam__ has joined #ruby
startupality has quit [Client Quit]
startupality has joined #ruby
bob434 has quit [Quit: This computer has gone to sleep]
Devalo has joined #ruby
diegoaguilar has joined #ruby
merida has quit [Remote host closed the connection]
merida has joined #ruby
Devalo has quit [Ping timeout: 240 seconds]
rkazak has joined #ruby
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jud has quit [Read error: Connection reset by peer]
jud has joined #ruby
nerium has quit [Quit: nerium]
bob434 has joined #ruby
howdoi has joined #ruby
bob434 has quit [Client Quit]
dc2 has joined #ruby
saneax_AFK is now known as saneax
ruby-lang477 has joined #ruby
noService has joined #ruby
<ruby-lang477> Question for the chat: if you had an interview coming up where you'd be working with an unknown ruby/rails API for 60 minutes to do some kind of exercise, what would you brush up on? File I/O & Serialization probably?
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tjbiddle has joined #ruby
Guest93 has joined #ruby
dcunit3d has quit [Ping timeout: 260 seconds]
<Guest93> ㅇ
pwnd_nsfw` has joined #ruby
pwnd_nsfw has quit [Ping timeout: 248 seconds]
blackgoat has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
<Radar> ruby-lang477: depends entirely on what that API did.
startupality has quit [Quit: startupality]
fullofcaffeine has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
fullofcaffeine has joined #ruby
jcdesimp_ has quit [Remote host closed the connection]
Oog has joined #ruby
startupality has joined #ruby
kfpratt has quit [Remote host closed the connection]
Vlat- has joined #ruby
devbug_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dionysus69 has joined #ruby
fullofcaffeine has quit [Ping timeout: 244 seconds]
<ruby-lang477> @Radar I know what the domain of the API is but have no documentation on it. I think they're planning to spring it on me come interview time.
tildes has quit [Ping timeout: 264 seconds]
edwinvdgraaf has joined #ruby
tildes has joined #ruby
kfpratt has joined #ruby
edwinvdgraaf has quit [Ping timeout: 248 seconds]
kfpratt has quit [Client Quit]
aeterne has quit [Read error: Connection reset by peer]
joonty has joined #ruby
lguardiola has quit [Quit: ZNC - http://znc.in]
tjbiddle has quit [Quit: tjbiddle]
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
Oog has quit []
lurch_ has joined #ruby
devbug_ has joined #ruby
tref has quit [Quit: tref]
marsjaninzmarsa has quit [Ping timeout: 240 seconds]
marsjaninzmarsa has joined #ruby
joonty has quit [Ping timeout: 250 seconds]
ur5us has quit [Remote host closed the connection]
a11 has joined #ruby
mistermocha has quit [Remote host closed the connection]
ur5us has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
Guest93 has quit [Quit: Textual IRC Client: www.textualapp.com]
startupality has quit [Quit: startupality]
startupality has joined #ruby
hk238 has joined #ruby
Musashi007 has quit [Quit: Musashi007]
ur5us has quit [Ping timeout: 248 seconds]
kp666 has quit [Remote host closed the connection]
fullofcaffeine has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
bronson has joined #ruby
Musashi007 has joined #ruby
mhoungbo has quit [Ping timeout: 260 seconds]
Musashi007 has quit [Client Quit]
Salve has quit [Remote host closed the connection]
Aviio has joined #ruby
bronson has quit [Ping timeout: 260 seconds]
kp666 has joined #ruby
startupality has quit [Quit: startupality]
ruby-lang477 has quit [Ping timeout: 250 seconds]
ascarter has joined #ruby
Xiti has quit [Quit: Xiti]
fedexo has quit [Ping timeout: 276 seconds]
ascarter has quit [Max SendQ exceeded]
ascarter has joined #ruby
statelesscode has quit [Quit: statelesscode]
matp has quit [Ping timeout: 246 seconds]
startupality has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
LoneHermit has joined #ruby
symm- has joined #ruby
baweaver has quit [Remote host closed the connection]
kies^ has quit [Ping timeout: 248 seconds]
kies has quit [Ping timeout: 268 seconds]
unshadow has quit [Quit: leaving]
Disavowed has joined #ruby
Macaveli has joined #ruby
Aviio has quit [Remote host closed the connection]
ziyadb has quit [Quit: Connection closed for inactivity]
aufi has joined #ruby
monoprotic has quit [Ping timeout: 244 seconds]
kies has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
djbkd has quit [Remote host closed the connection]
griffindy has joined #ruby
tildes has quit [Ping timeout: 252 seconds]
jrafanie has joined #ruby
djbkd has joined #ruby
Caerus has joined #ruby
mondok has joined #ruby
_djbkd has joined #ruby
merida_ has joined #ruby
merida has quit [Ping timeout: 244 seconds]
jrafanie has quit [Ping timeout: 260 seconds]
djbkd has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
startupality has quit [Quit: startupality]
dc2 has quit [Ping timeout: 276 seconds]
joonty has joined #ruby
ur5us has joined #ruby
cdg has joined #ruby
charlemagne has joined #ruby
Devalo has joined #ruby
griffindy has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
araujo has quit [Ping timeout: 244 seconds]
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mary5030_ has joined #ruby
cdg has quit [Ping timeout: 240 seconds]
devbug has quit [Ping timeout: 268 seconds]
mary5030 has quit [Ping timeout: 240 seconds]
<PaulePanter> benzrf: Thank you! adaedra recommended to use `each()` too.
bezhermoso has joined #ruby
mistermocha has joined #ruby
araujo has joined #ruby
araujo has quit [Max SendQ exceeded]
firstdayonthejob has joined #ruby
araujo has joined #ruby
haxrbyte has joined #ruby
araujo has quit [Max SendQ exceeded]
mistermo_ has joined #ruby
mistermocha has quit [Ping timeout: 240 seconds]
startupality has joined #ruby
araujo has joined #ruby
bezhermoso has quit [Quit: Zzzzz...]
araujo has quit [Max SendQ exceeded]
araujo has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
araujo has quit [Max SendQ exceeded]
mistermo_ has quit [Ping timeout: 248 seconds]
uglybandersnatch has quit [Ping timeout: 248 seconds]
araujo has joined #ruby
matp has joined #ruby
preyalone has quit [Quit: Connection closed for inactivity]
My_Hearing has quit [Ping timeout: 260 seconds]
LoneHermit has quit [Remote host closed the connection]
Guest93 has joined #ruby
Guest93 has quit [Client Quit]
mank has joined #ruby
codecop has joined #ruby
cpup has quit [Ping timeout: 244 seconds]
cpup has joined #ruby
merida_ has quit [Remote host closed the connection]
<Caerus> hi, im here looking for some advice. after a long hiatus from programming i fell in love with ruby (and rails). I am currently reading "Beginning Ruby(2nd edition)" to refresh/relearn but as i had to RVM to 1.8.7 ...
merida has joined #ruby
safjj has joined #ruby
nanoz has joined #ruby
Vlat- has quit [Quit: Vlat-]
<Caerus> i fear i might be too outdated? can someone recommend a good up-to-date ruby book?
<apeiros> Caerus: to get going, you can still use that book and just use ruby 2.3.0
stannard has joined #ruby
<apeiros> there's less than a handful of incompatibilities with the old syntax, and it's relatively unlikely that you'll run into those.
<Caerus> apeiros, that was my first intention but it seem a lot has changed so some code on book wont work
<apeiros> you can gist it along with the error and ask here
baweaver has joined #ruby
<apeiros> else:
<apeiros> ?links Caerus
<Caerus> ok so the book is still relevant, thats good news im halfway through it.
yfeldblum has quit [Ping timeout: 268 seconds]
<Caerus> plan on picking up agile web development with rails 4 next.
<Caerus> or is there a rails 5 version of that book?
<apeiros> the rails channel probably knows better
<Caerus> oh, true. thanks for the help tho!
stannard has quit [Ping timeout: 260 seconds]
mark3 has joined #ruby
baweaver has quit [Ping timeout: 250 seconds]
jackjackdripper has joined #ruby
Musashi007 has joined #ruby
edwinvdgraaf has joined #ruby
Musashi007 has quit [Client Quit]
haxrbyte has quit [Quit: Leaving...]
ramfjord has quit [Ping timeout: 244 seconds]
Devalo has quit [Remote host closed the connection]
Vlat- has joined #ruby
edwinvdgraaf has quit [Ping timeout: 250 seconds]
Disavowed has quit [Ping timeout: 276 seconds]
startupality has quit [Quit: startupality]
elifoster has quit [Ping timeout: 268 seconds]
charlemagne has quit [Ping timeout: 240 seconds]
pandaant has joined #ruby
startupality has joined #ruby
tubuliferous has joined #ruby
norc_ has left #ruby ["Leaving"]
joonty has quit [Ping timeout: 240 seconds]
firstdayonthejob has quit [Ping timeout: 246 seconds]
houhoulis has quit [Remote host closed the connection]
<flughafen> hey shevy
Inside has joined #ruby
Inside has joined #ruby
jam__ has quit [Read error: No route to host]
Devalo has joined #ruby
matp has quit [Quit: Textual IRC Client: www.textualapp.com]
jenrzzz has joined #ruby
Devalo has quit [Remote host closed the connection]
Devalo has joined #ruby
czerasz has quit [Ping timeout: 240 seconds]
tubbo has quit [Ping timeout: 264 seconds]
startupality has quit [Quit: startupality]
tubbo has joined #ruby
scepticulous has joined #ruby
fevrbd has quit [Ping timeout: 250 seconds]
dc2 has joined #ruby
biberu has joined #ruby
liquid-silence has joined #ruby
liquid-silence has joined #ruby
beawesomeinstead has quit [Ping timeout: 250 seconds]
jgpawletko has quit [Read error: Connection reset by peer]
jgpawletko has joined #ruby
beawesomeinstead has joined #ruby
DoubleMalt has joined #ruby
symm- has quit [Ping timeout: 244 seconds]
tubuliferous has quit [Ping timeout: 240 seconds]
charlemagne has joined #ruby
tubuliferous has joined #ruby
qhp_ has quit [Read error: Connection reset by peer]
mank has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Dimik has quit [Ping timeout: 240 seconds]
BtcBen has quit [Ping timeout: 252 seconds]
qhp has joined #ruby
matp has joined #ruby
mank has joined #ruby
nocontrol has joined #ruby
colegatron has joined #ruby
Couch has joined #ruby
bronson has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
fevrbd has joined #ruby
Vlat- has quit [Quit: Vlat-]
safjj has quit [Quit: Leaving]
dc2 has quit [Ping timeout: 252 seconds]
LoneHermit has joined #ruby
bronson has quit [Ping timeout: 244 seconds]
diegoaguilar has quit [Remote host closed the connection]
nocontrol has quit []
SCHAAP137 has joined #ruby
diegoaguilar has joined #ruby
Inside has quit [Ping timeout: 260 seconds]
diegoaguilar has quit [Read error: Connection reset by peer]
diegoaguilar has joined #ruby
startupality has joined #ruby
LoneHermit has quit [Ping timeout: 252 seconds]
ta_ has quit [Remote host closed the connection]
startupality has quit [Client Quit]
mank has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aganov has joined #ruby
<adaedra> Hello
startupality has joined #ruby
araujo_ has joined #ruby
mank has joined #ruby
araujo_ has quit [Max SendQ exceeded]
djellemah has quit [Ping timeout: 248 seconds]
pawnbox has joined #ruby
araujo_ has joined #ruby
araujo has quit [Ping timeout: 264 seconds]
startupality has quit [Client Quit]
startupality has joined #ruby
sqdntf has joined #ruby
Ropeney has joined #ruby
Guest-ru has joined #ruby
startupality has quit [Client Quit]
tvw has joined #ruby
Ropeney has quit [Client Quit]
nofxx has quit [Ping timeout: 268 seconds]
ReK2 has joined #ruby
marr has joined #ruby
_blizzy_ has quit [Quit: Leaving]
Success has joined #ruby
nobitanobi has joined #ruby
nobitanobi has quit [Client Quit]
startupality has joined #ruby
mank has quit [Quit: Textual IRC Client: www.textualapp.com]
jrafanie has joined #ruby
cpup has quit [Ping timeout: 248 seconds]
Devalo has quit [Read error: Connection reset by peer]
Devalo has joined #ruby
cpup has joined #ruby
peterhu_ has quit [Ping timeout: 248 seconds]
roshanavand_ has joined #ruby
<Success> what was the old ruby set :blah, :foo => :bar
startupality has quit [Client Quit]
Spami has joined #ruby
peterhu has joined #ruby
jkahn has quit [Remote host closed the connection]
jrafanie has quit [Ping timeout: 264 seconds]
pikajude has quit []
<Success> ignore that, what i'm trying to do is get tilt to use my RedCarpet with options, any one experienced?
<Success> or have any general ideas?
diegoaguilar has quit [Remote host closed the connection]
the_drow has joined #ruby
Musashi007 has joined #ruby
blackmesa has joined #ruby
gagrio|trngn has quit [Ping timeout: 248 seconds]
pikajude has joined #ruby
hightower2 has joined #ruby
evidex has joined #ruby
_djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
charlemagne has quit [Remote host closed the connection]
blt has quit [Ping timeout: 260 seconds]
gagrio has joined #ruby
blackmesa has quit [Ping timeout: 244 seconds]
mhoungbo has joined #ruby
djbkd has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
mistermocha has joined #ruby
edwinvdgraaf has joined #ruby
ur5us has quit [Remote host closed the connection]
jaruga has joined #ruby
Devalo has quit [Read error: Connection reset by peer]
Gasher has joined #ruby
mistermo_ has joined #ruby
Devalo has joined #ruby
kirillzh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mistermocha has quit [Ping timeout: 250 seconds]
ravi__ has joined #ruby
charlemagne has joined #ruby
a11 has quit [Remote host closed the connection]
sepp2k has joined #ruby
<ravi__> hello
jorum has joined #ruby
mistermo_ has quit [Ping timeout: 248 seconds]
uptime is now known as sleeptime
czerasz has joined #ruby
fevrbd has quit [Ping timeout: 240 seconds]
baweaver has joined #ruby
gagrio is now known as gagrio|trng
ravi__ has quit [Quit: Page closed]
Devalo has quit [Read error: Connection reset by peer]
<flughafen> hey adaedra
uglybandersnatch has joined #ruby
vasilakisfil has joined #ruby
nanoz has quit [Ping timeout: 244 seconds]
<vasilakisfil> what happened to rack 2?
bezhermoso has joined #ruby
Devalo has joined #ruby
<adaedra> hi flughafen
<flughafen> how goes it
baweaver has quit [Ping timeout: 250 seconds]
<adaedra> barely awake
devbug_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mrgrieves has joined #ruby
bluOxigen has joined #ruby
bluOxigen_ has quit [Ping timeout: 276 seconds]
<shevy> yo flughafen - one day there will be planes flying from berlin again!
<Ox0dea> adaedra: ♫ Grab a brush and onomatopoeia. ♫
<adaedra> Uh?
<Ox0dea> The first lyric of System of a Down's "Chop Suey" is "WAKE UP!"
<adaedra> Ok.
ferr has joined #ruby
lkba has quit [Ping timeout: 276 seconds]
LoneHermit has joined #ruby
mikecmpbll has joined #ruby
FooMunki has joined #ruby
phatypus has joined #ruby
<Elysia> isn't the follow up line something about make up? I didn't think they were describing a morning routine.
<Caerus> grab a brush and put a little make up?
Musashi007 has quit [Quit: Musashi007]
dgncn has quit [Excess Flood]
<Ox0dea> Yes, I was being facetious with a view to humor; it didn't go well.
uglybandersnatch has quit [Ping timeout: 246 seconds]
dgncn has joined #ruby
davee_ has joined #ruby
LoneHermit has quit [Ping timeout: 248 seconds]
<Ox0dea> Elysia: I'm pretty sure the setting is the morning after a lover's spat?
chriscoffee has joined #ruby
Snowy has joined #ruby
Snowy has quit [Remote host closed the connection]
Snowy has joined #ruby
FooMunki has quit [Quit: FooMunki]
FooMunki has joined #ruby
Musashi007 has joined #ruby
charlemagne has quit [Remote host closed the connection]
uglybandersnatch has joined #ruby
haraoka has quit [Ping timeout: 244 seconds]
andikr has joined #ruby
astrobun_ has quit [Remote host closed the connection]
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
mdw has joined #ruby
roshanavand_ has quit [Quit: This computer has gone to sleep]
mikhael_k33hl has joined #ruby
bezhermoso has quit [Quit: Zzzzz...]
skade has joined #ruby
bezhermoso has joined #ruby
GitGud has quit [Quit: When you assume, you're just a bitch..]
bezhermoso has quit [Remote host closed the connection]
Success has quit []
poguez_ has quit [Quit: Connection closed for inactivity]
chriscoffee has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
krz has quit [Ping timeout: 248 seconds]
joonty has joined #ruby
neanderslob has quit [Ping timeout: 260 seconds]
pawnbox has quit [Remote host closed the connection]
n008f4g_ has joined #ruby
pawnbox has joined #ruby
gagrio|trng has quit [Ping timeout: 268 seconds]
neanderslob_ has joined #ruby
chriscoffee has joined #ruby
bqscott has quit [Ping timeout: 252 seconds]
bqscott has joined #ruby
dikaio has quit [Quit: Textual IRC Client: www.textualapp.com]
nerium has joined #ruby
MonsterMunch has joined #ruby
c355e3b has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
jenrzzz has joined #ruby
mistermocha has joined #ruby
merida has quit [Ping timeout: 246 seconds]
duncannz has quit [Remote host closed the connection]
jackcom has joined #ruby
jackcom was kicked from #ruby by ruby[bot] [was banned before]
<adaedra> ?botsnack
<ruby[bot]> nomnomnomnom
Musashi007 has quit [Quit: Musashi007]
<flughafen> shevy: nevar!!@!!!!
mistermocha has quit [Ping timeout: 244 seconds]
fevrbd has joined #ruby
MonsterMunch_ has joined #ruby
phatypus has quit [Quit: .>]
nerium has quit [Quit: nerium]
MonsterMunch has quit [Ping timeout: 244 seconds]
MonsterMunch_ is now known as MonsterMunch
uglybandersnatch has quit [Ping timeout: 276 seconds]
fevrbd has quit [Ping timeout: 244 seconds]
guardian has quit [Quit: Coyote finally caught me]
BLuEGoD has joined #ruby
guardian has joined #ruby
<BLuEGoD> hi
bronson has joined #ruby
andywojo has quit [Ping timeout: 260 seconds]
pawnbox has quit [Remote host closed the connection]
sdothum has joined #ruby
<BLuEGoD> how do I get the name of a method passed as a block? as in def foo; yield ; end ; get 'bar' when calling foo { bar } # bar is a method
araujo_ has quit [Quit: Leaving]
pawnbox has joined #ruby
MonsterMunch has quit [Read error: Connection reset by peer]
mank has joined #ruby
bluOxigen has quit [Ping timeout: 248 seconds]
bluOxigen has joined #ruby
TheCubeLord has quit [Quit: Leaving]
<Ox0dea> BLuEGoD: You'll have to get your hands dirty.
<toretore> BLuEGoD: it's very likely that this is not the best solution to the problem you're trying to solve
MonsterMunch has joined #ruby
jorum has quit [Ping timeout: 260 seconds]
MonsterMunch has quit [Client Quit]
<Cork> if i want to make a tool that extends irb, is there any documentation on how one could do that?
<BLuEGoD> thanks - method foo is just a wrapper I call for multiple methods. So I want to log the name of the method I'm calling without repeating myself on every method. What's your suggestion ?
bronson has quit [Ping timeout: 264 seconds]
ely-se has joined #ruby
Queitsch has joined #ruby
<ely-se> Hi, is it possible to get Bundler to generate Gemfile.lock (which doesn't yet exist) without installing any gems?
Queitsch has quit [Remote host closed the connection]
BSaboia has quit [Ping timeout: 268 seconds]
dionysus69 has quit [Ping timeout: 268 seconds]
joonty has quit [Ping timeout: 260 seconds]
callen92 has joined #ruby
CloCkWeRX has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
joonty has joined #ruby
LoneHermit has joined #ruby
<Ox0dea> BLuEGoD: Be careful with this. https://eval.in/541123
<BLuEGoD> thanks Ox0dea! Not sure I will use that in the end.. I may rather just repeat myself in this case!
<Ox0dea> BLuEGoD: Good eye. ;)
Queitsch has joined #ruby
mondok has quit [Ping timeout: 246 seconds]
LoneHermit has quit [Ping timeout: 248 seconds]
merida has joined #ruby
<Ox0dea> BLuEGoD: The problem you've bumped into, for the record, is that blocks are not objects; they're essentially an implementation detail, so you've got to muck about with the VM to "observe" them.
<BLuEGoD> Ox0dea: I see. Perhaps a proc may help there instead of a block?
charlemagne has joined #ruby
<Ox0dea> BLuEGoD: From the perspective of improved introspection, that doesn't really change anything.
jgpawletko has left #ruby [#ruby]
<BLuEGoD> right, okay :/
ely-se has quit [Quit: leaving]
<Ox0dea> After all, Kernel#proc is just a method that takes a block and turns it into a Proc.
skade has quit [Quit: Computer has gone to sleep.]
skade has joined #ruby
<shevy> wow looking at RubyVM::InstructionSequence there is scary
charlemagne has quit [Ping timeout: 260 seconds]
<Ox0dea> BLuEGoD: If your blocks are sufficiently simple, that trick of finding the `opt_send_without_block` instruction and grabbing the method name out of the Hash that immediately follows is actually reasonably robust.
andywojo has joined #ruby
<BLuEGoD> I see, but still, I don't think that code will easily pass a code review haha
<Ox0dea> Hey, you wanted to inspect a block. :P
wethu has joined #ruby
jorum has joined #ruby
<BLuEGoD> I know. If it was some sort of Method object I could do method.original_name - that would be fine lol
jottr has joined #ruby
<wethu> Hello, I have found code where there are bracket'd arguments inside a block argument, e.g.: something.reduce({}) do |memo, (foo, (bar))| ... end; can someone please point me in the right direction to read more about whats going on with those?
rahc has joined #ruby
dostoyevsky has quit [Ping timeout: 276 seconds]
<mozzarella> >> {}.class
<ruby[bot]> mozzarella: # => Hash (https://eval.in/541163)
<rahc> I get an error in my rails application:
Aviio has joined #ruby
<rahc> /usr/lib/ruby/vendor_ruby/active_record/connection_adapters/connection_specification.rb:190:in `rescue in spec': Specified 'mysql2' for database adapter, but the gem is not loaded. Add `gem 'mysql2'` to your Gemfile (and ensure its version is at the minimum required by ActiveRecord). (Gem::LoadError)
<rahc> however, `gem 'mysql2'` is in my Gemfile
DominicBurford has joined #ruby
ziyadb has joined #ruby
<adaedra> ?rails
<ruby[bot]> Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
<Ox0dea> rahc: And your Gemfile.lock?
<Ox0dea> adaedra: It's secretly a Bundler question, no?
mank has quit [Quit: Textual IRC Client: www.textualapp.com]
<rahc> Ox0dea: what do you mean?
mank has joined #ruby
<adaedra> rahc: did you run bundle install?
<rahc> adaedra: why #RubyOnRails rather than #Rails?
MrDoctor has joined #ruby
<adaedra> Ask them :)
<rahc> $ gem list | grep mysql2
<rahc> mysql2 (0.3.16)
<adaedra> Ox0dea: never really sure.
<Ox0dea> True enough.
<rahc> adaedra: I did not run bundle install
<Ox0dea> wethu: It's for "destructuring" Array arguments.
ffgghh has joined #ruby
<adaedra> rahc: the step after modifying your Gemfile is doing bundle install.
<wethu> Ox0dea, ahh, so like splat?
<Ox0dea> wethu: Kind of.
<rahc> adaedra: why do I need to run bundle install if all of the gems are present?
<adaedra> To update your Gemfile.lock
htmldrum_ has quit [Ping timeout: 240 seconds]
htmldrum has quit [Ping timeout: 240 seconds]
dostoyevsky has joined #ruby
<wethu> Ox0dea, I think i found something thats explaining it: http://tony.pitluga.com/2011/08/08/destructuring-with-ruby.html
<rahc> adaedra: what do you mean by "update" my Gemfile.lock?
<Ox0dea> wethu: That looks pretty good, but lemme cook up an example of where it's crucial.
<wethu> Ox0dea, That would be very much appreciated thank you
kentnl has quit [Ping timeout: 250 seconds]
<adaedra> rahc: bundler uses Gemfile.lock to load dependencies at runtime. When doing `bundle install`, it tells it to install the gem in the Gemfile and update the Gemfile.lock with the newly added gems.
<rahc> adaedra: I'm not sure what you mean by "update the Gemfile.lock with the newly added gems"; does Gemfile.lock contain a list of installed gems?
htmldrum has joined #ruby
htmldrum_ has joined #ruby
<adaedra> rahc: open it and look inside?
<rahc> $ cat Gemfile.lock
<rahc> ## Nothing here
CloCkWeRX has quit [Read error: Connection reset by peer]
CloCkWeRX has joined #ruby
<adaedra> run bundle install.
<rahc> adaedra: I would like to understand what that will do to the files in my tree before I run it
<adaedra> nothing.
mank has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<rahc> adaedra: hence I'm asking what you mean when you say "update the Gemfile.lock"
<adaedra> simple
<rahc> if it does nothing, then why do I need to run it? :-)
<adaedra> there is a Gemfile.lock file that bundler uses
<rahc> what does it use it for?
<adaedra> running bundle install with update its contents (or create it, if not here)
<DominicBurford> add new gems to gemfile and run bundle install in terminal in the root of your application - this will update the Gemfile.lock
<rahc> what are its contents?
DominicBurford is now known as dbford
<rahc> adaedra: what are its contents?
nyu has joined #ruby
<adaedra> well you can run bundle install and see what it generates.
<Ox0dea> wethu: Hey, sorry that took a while; I abandoned a more elaborate example for this one: https://eval.in/541211
htmldrum_ has quit [Ping timeout: 252 seconds]
<dbford> Anyone in here at Imperial College London or UCL?
charlemagne has joined #ruby
<rahc> 11:16 < rahc> adaedra: I would like to understand what that will do to the files in my tree before I run it
htmldrum has quit [Ping timeout: 260 seconds]
<rahc> and files elsewhere, for that matter
dionysus69 has joined #ruby
<rahc> there doesn't seem to be much documentation on how bundle works
<adaedra> !
<rahc> there's plenty of documentation on what commands to give it, but not why or what the consequences of those are
<rahc> beyond "it makes it work"
<Ox0dea> wethu: Enumerable#each_with_index gives you an Enumerator that yields pairs; if you don't destructure the pair, the first block parameter will consume the whole Array and throw everything off by one, so to speak.
<adaedra> bundle help install, for starters.
<rahc> adaedra: ah that's helpful, thanks
fevrbd has joined #ruby
<wethu> Ox0dea, I see, i will have to have a play around with the REPL but i think I'm starting to get it :)
MonsterMunch has joined #ruby
<Ox0dea> wethu: It's a bit like "bounded splatting", I guess.
<Ox0dea> >> def foo((a, b)); a + b; end; foo [17, 25]
<ruby[bot]> Ox0dea: # => 42 (https://eval.in/541214)
nettoweb has joined #ruby
<Ox0dea> You can destructure method arguments, but it's pretty unorthodox; it makes more sense in the context of blocks since you don't have as much say in how things get yielded.
mdw has quit [Quit: Sleeping Zzzzz]
johnmilton has joined #ruby
fevrbd has quit [Ping timeout: 248 seconds]
toretore has quit [Ping timeout: 276 seconds]
bricker has quit [Ping timeout: 248 seconds]
<wethu> Sweet! Bingo, i got it i think :) well enough to play with, thanks for that
<Ox0dea> wethu: It's really just a syntactic convenience; anywhere you can destructure, you could just as well have taken one argument and indexed into it or whatnot.
ldnunes has joined #ruby
<Ox0dea> It is pretty nice, though. :)
unshadow has joined #ruby
DaniG2k has joined #ruby
<wethu> :)
dbford has left #ruby [#ruby]
tubuliferous has quit [Ping timeout: 250 seconds]
but3k4 has joined #ruby
darkf has quit [Quit: Leaving]
bob434 has joined #ruby
charlemagne has quit [Ping timeout: 246 seconds]
Regulati_ has quit [Remote host closed the connection]
jottr has quit [Ping timeout: 240 seconds]
n008f4g_ has quit [Ping timeout: 260 seconds]
dostoyevsky has quit [Ping timeout: 246 seconds]
dostoyevsky has joined #ruby
decoponio has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
cd-rum has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
skade has joined #ruby
My_Hearing has joined #ruby
jdawgaz has joined #ruby
jdawgaz has quit [Client Quit]
jackjackdripper has quit [Quit: Leaving.]
jorum has quit [Ping timeout: 240 seconds]
tvw has quit [Remote host closed the connection]
dionysus69 has quit [Ping timeout: 260 seconds]
DaniG2k_ has joined #ruby
charlemagne has joined #ruby
mdw has joined #ruby
<Elysia> Ox0dea: I think I mostly listened to that song because of the tablecloth.
davee_ has quit [Ping timeout: 240 seconds]
rodfersou has joined #ruby
DaniG2k has quit [Ping timeout: 276 seconds]
gagrio|trng has joined #ruby
<Ox0dea> Elysia: I think you've conflated "Chop Suey!" with "B.Y.O.B."?
DaniG2k_ has quit [Quit: leaving]
trinaldi has joined #ruby
<Elysia> Ox0dea: that's entirely possible, most of System of a Down was about incomprehensible lyrics and mostly a fine tune to go with it
jdawgaz has joined #ruby
gbgdev has joined #ruby
mikhael_k33hl has quit [Quit: Leaving]
Aviio has quit [Remote host closed the connection]
n008f4g_ has joined #ruby
tref has joined #ruby
charlemagne has quit [Ping timeout: 248 seconds]
Caerus has left #ruby ["zZz"]
<shevy> you people are in such a happy singing mood
Coldblackice_ has quit [Ping timeout: 250 seconds]
dn5 has joined #ruby
j3r0 has joined #ruby
Coldblackice_ has joined #ruby
charlemagne has joined #ruby
jorum has joined #ruby
<SebastianThorn> so silent in here lately, does that hangman-bot still exist?
dostoyevsky has quit [Ping timeout: 244 seconds]
dostoyevsky has joined #ruby
<SebastianThorn> !hangman gem
<shevy> I think the bots can not coexist
cpup has quit [Ping timeout: 268 seconds]
<adaedra> It's in -offtopic, SebastianThorn.
cpup has joined #ruby
<SebastianThorn> aww, ok
jottr has joined #ruby
fevrbd has joined #ruby
krz has joined #ruby
merida has quit [Remote host closed the connection]
fevrbd has quit [Ping timeout: 276 seconds]
blackmesa has quit [Ping timeout: 244 seconds]
charlemagne has quit [Ping timeout: 276 seconds]
rdark has joined #ruby
bob434 has quit [Quit: This computer has gone to sleep]
bob434 has joined #ruby
bob434 has quit [Client Quit]
Devalo has quit [Read error: Connection reset by peer]
digneety has joined #ruby
Devalo has joined #ruby
digneety has quit [Changing host]
digneety has joined #ruby
charlemagne has joined #ruby
mrgrieves has quit [Ping timeout: 248 seconds]
swills has quit [Ping timeout: 268 seconds]
moeabdol4 has joined #ruby
callen92 has quit [Quit: Leaving]
<atmosx> Hello
<atmosx> any idea why this fails at thread 25? https://gist.github.com/atmosx/85ca78230de492003396
moeabdol3 has quit [Ping timeout: 244 seconds]
_blizzy_ has joined #ruby
kent\n has joined #ruby
kent\n has joined #ruby
rdark has quit [Ping timeout: 244 seconds]
Vile` has quit [Ping timeout: 244 seconds]
<atmosx> hm it's a deadlock
RegulationD has joined #ruby
halfamind has joined #ruby
mank has joined #ruby
mrgrieves has joined #ruby
blackmesa has joined #ruby
vdamewood has joined #ruby
RegulationD has quit [Ping timeout: 244 seconds]
tvw has joined #ruby
<canton7> atmosx, you will never stop creating threads, surely?
<atmosx> argh,it's inside the loop
<atmosx> ty canton7
aegis3121 has joined #ruby
My_Hearing has quit [Ping timeout: 248 seconds]
wethu has quit [Quit: This computer has gone to sleep]
nobitanobi has joined #ruby
blackgoat has quit [Quit: WeeChat 1.4]
<canton7> not entirely sure why it's returning EDEADLK: it must be calling pthread_mutex{try,}lock() internally somewhere...
BSaboia has joined #ruby
<canton7> seems OSX limits the number of threads a process can spawn to ~2000 - are you on OSX?
nobitanobi has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 240 seconds]
n008f4g_ has quit [Ping timeout: 276 seconds]
<hanmac> yeah he is
nobitanobi has joined #ruby
mank has quit [Read error: Connection reset by peer]
dn5 has quit [Ping timeout: 244 seconds]
joonty has quit [Ping timeout: 260 seconds]
openstruct has joined #ruby
cdg has joined #ruby
openstruct has quit [Client Quit]
dn5 has joined #ruby
IrishGringo has joined #ruby
mank has joined #ruby
charlemagne has quit [Read error: No route to host]
swills has joined #ruby
dn5 has quit [Ping timeout: 276 seconds]
kies has quit [Ping timeout: 264 seconds]
citrusfizz has quit [Read error: Connection reset by peer]
citrusfizz_ has joined #ruby
citrusfizz_ is now known as citrusfizz
dn5 has joined #ruby
mprelude_ has joined #ruby
jrafanie has joined #ruby
jorum has quit [Quit: Lost terminal]
jorum has joined #ruby
malconis has joined #ruby
fexilal has joined #ruby
malconis has quit [Remote host closed the connection]
mprelude has quit [Ping timeout: 252 seconds]
malconis has joined #ruby
fevrbd has joined #ruby
rbennacer has joined #ruby
nocontrol has joined #ruby
neilhwatson has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
_blizzy_ has quit [Quit: Leaving]
tvw has quit []
fevrbd has quit [Ping timeout: 244 seconds]
bronson has joined #ruby
joonty has joined #ruby
<hightower2> If anyone is looking for a good Ruby HTTP lib, after being unhappy with curb's memory usage and em-http-request's usage of EventMachine, I finally found typhoeus, which has comparable feature set, but is both memory-correct and lightweight. Very happy with it so far.
_stu_ has joined #ruby
bronson has quit [Ping timeout: 276 seconds]
jottr has quit [Ping timeout: 240 seconds]
NET||abuse has joined #ruby
mary5030_ has quit [Remote host closed the connection]
<workmad3> hightower2: I tend to use faraday, which can support typhoeus as an adapter if you want it :)
mary5030 has joined #ruby
<darix> hightower2: if there is one thing we arent lacking ... http client libraries.
LoneHerm_ has joined #ruby
<hightower2> darix, really? is there any other http lib that you know of which supports specifying source inteface (or bind IP) and that can execute parallel requests? (I only knew of curb, em-http-request and now typhoeus)
noService has quit [Ping timeout: 246 seconds]
floatingpoint has joined #ruby
<darix> hightower2: i never said they will have all the things you need. especially as you didnt specify them upfront ... but in general we have plenty of libraries ... and then you have libX pull client1 libY pull client2 and so on
<darix> lots of fun
the_drow has quit [Quit: This computer has gone to sleep]
howdoi has joined #ruby
mary5030 has quit [Ping timeout: 240 seconds]
`tim` has joined #ruby
User458764 has joined #ruby
noService has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
LoneHerm_ has joined #ruby
dravine has joined #ruby
codecop has quit [Remote host closed the connection]
nobitanobi has quit []
jschoolcraft has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
ChiefAlexander has joined #ruby
pawnbox has quit [Ping timeout: 240 seconds]
fmcgeough has joined #ruby
JakFrist has joined #ruby
B1n4r10 has joined #ruby
aegis3121 has quit [Quit: Textual IRC Client: www.textualapp.com]
monoprotic has joined #ruby
fullofcaffeine has joined #ruby
Acontius has quit [Quit: Connection closed for inactivity]
blackmesa has joined #ruby
<atmosx> canton7: yes
<atmosx> I'm on OSX
idefine has joined #ruby
<NET||abuse> hey guys, i've a vagrantfile which i believe is ruby syntax, i have a docblock line $stuff=<<SCRIPT [ -f /tmp/$file ] || sudo wget -q $fileurl -o /tmp/$file SCRIPT
stannard has joined #ruby
<NET||abuse> will this work? There are more lines in the block but basically i'm no tseeing $file or $fileurl in the vagrant up output
<NET||abuse> unzip: cannot find or open /tmp/, /tmp/.zip or /tmp/.ZIP.
aegis3121 has joined #ruby
workmad3 has quit [Ping timeout: 248 seconds]
dhollinger has joined #ruby
idefine has quit [Ping timeout: 244 seconds]
evidex has quit [Remote host closed the connection]
mistermocha has joined #ruby
mistermocha has quit [Remote host closed the connection]
B1n4r10 has quit [Ping timeout: 260 seconds]
mistermocha has joined #ruby
mistermocha has quit [Remote host closed the connection]
mistermocha has joined #ruby
<shevy> looks like shell script syntax
kappy has quit [Remote host closed the connection]
idefine has joined #ruby
<atmosx> shevy: that's shell, the vagrant file is ruby
skade has quit [Quit: Computer has gone to sleep.]
<atmosx> NET||abuse: there's an error in the shell file, if you're trying to fetch a .zip file
<atmosx> shell script
lessless has joined #ruby
blackmesa has quit [Ping timeout: 260 seconds]
idletask has quit [Ping timeout: 248 seconds]
idletask has joined #ruby
spk has quit [Ping timeout: 250 seconds]
IrishGringo has quit [Ping timeout: 268 seconds]
spk has joined #ruby
washt has joined #ruby
rbennacer has quit [Remote host closed the connection]
RTG` has quit [Read error: Connection reset by peer]
Seich has quit [Ping timeout: 250 seconds]
tekacs has quit [Ping timeout: 250 seconds]
mank has quit [Quit: Textual IRC Client: www.textualapp.com]
mank has joined #ruby
hollywood has quit [Ping timeout: 250 seconds]
borkdude_ has quit [Ping timeout: 250 seconds]
rbennacer has joined #ruby
Zarthus_ has joined #ruby
LoganG_ has joined #ruby
idefine has quit [Ping timeout: 250 seconds]
Riviera- has quit [Ping timeout: 250 seconds]
LoganG has quit [Ping timeout: 250 seconds]
[spoiler] has quit [Ping timeout: 250 seconds]
Liam` has quit [Ping timeout: 250 seconds]
nemesit|znc has quit [Ping timeout: 250 seconds]
Snowy has quit [Remote host closed the connection]
chriscoffee has quit [Read error: Connection reset by peer]
skade has joined #ruby
bluOxigen has quit [Read error: Connection reset by peer]
LoganG_ is now known as LoganG
rbennacer has quit [Remote host closed the connection]
kspencer has quit [Ping timeout: 250 seconds]
aspiers has quit [Ping timeout: 250 seconds]
Zarthus has quit [Ping timeout: 250 seconds]
Diabolik has quit [Ping timeout: 250 seconds]
ndrst has quit [Ping timeout: 250 seconds]
JStoker has quit [Ping timeout: 250 seconds]
EvilJStoker has quit [Ping timeout: 250 seconds]
JoL1hAHN has quit [Ping timeout: 250 seconds]
Luna_Moonfang has quit [Ping timeout: 250 seconds]
bluOxigen has joined #ruby
skweek has joined #ruby
idefine has joined #ruby
ssm has quit [Ping timeout: 250 seconds]
jazzonmymind has quit [Ping timeout: 250 seconds]
saneax is now known as saneax_AFK
Guest59455 has quit [Ping timeout: 250 seconds]
Veejay has quit [Ping timeout: 250 seconds]
RTG` has joined #ruby
kp666 has quit [Ping timeout: 276 seconds]
configged has quit [Ping timeout: 252 seconds]
borkdude has joined #ruby
claw has quit [Remote host closed the connection]
MaienM has quit [Ping timeout: 250 seconds]
Meeh_ has quit [Quit: No Ping reply in 180 seconds.]
glacius has quit [Quit: No Ping reply in 180 seconds.]
glacius has joined #ruby
nanoz has joined #ruby
treaki_ has quit [Ping timeout: 250 seconds]
zmartAway has quit [Ping timeout: 250 seconds]
rbennacer has joined #ruby
rheddry has quit [Ping timeout: 250 seconds]
iNeedHelp has quit [Ping timeout: 250 seconds]
j0n3 has quit [Ping timeout: 250 seconds]
digneety has quit [Ping timeout: 252 seconds]
olspookishmagus has quit [Ping timeout: 250 seconds]
interpelex has quit [Ping timeout: 250 seconds]
Sigma00 has quit [Ping timeout: 250 seconds]
SirCmpwn has quit [Ping timeout: 250 seconds]
claw has joined #ruby
chihhsin has quit [Ping timeout: 250 seconds]
mic_e has joined #ruby
Karix has joined #ruby
olspookishmagus has joined #ruby
chihhsin has joined #ruby
Rickmast_ has joined #ruby
tekacs has joined #ruby
hollywood has joined #ruby
d0nn1e has quit [Ping timeout: 250 seconds]
olspookishmagus is now known as Guest84748
JStoker has joined #ruby
EvilJStoker has joined #ruby
[spoiler] has joined #ruby
nemesit|znc has joined #ruby
zmartAway has joined #ruby
jottr has joined #ruby
Liam` has joined #ruby
nlsun has joined #ruby
Sigma00 has joined #ruby
idefine_ has joined #ruby
SirCmpwn has joined #ruby
Diabolik has joined #ruby
aegis3121 has quit [Quit: Textual IRC Client: www.textualapp.com]
treaki_ has joined #ruby
idefine has quit [Ping timeout: 244 seconds]
aegis3121 has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
Seich has joined #ruby
DenSchub_ has joined #ruby
braincra- has joined #ruby
dgncn_ has joined #ruby
MaienM has joined #ruby
babblebre has joined #ruby
UserInNeed has joined #ruby
mistermo_ has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dgncn has quit [Ping timeout: 240 seconds]
braincrash has quit [Ping timeout: 240 seconds]
jehoesefat has quit [Read error: Connection reset by peer]
DenSchub has quit [Ping timeout: 240 seconds]
nlsun_ has quit [Ping timeout: 240 seconds]
Rickmasta has quit [Ping timeout: 240 seconds]
Meeh has joined #ruby
lipoqil has joined #ruby
mic_e_ has quit [Quit: No Ping reply in 180 seconds.]
interpel1x has joined #ruby
No_One has joined #ruby
Biohazard has joined #ruby
lipoqil has quit [Changing host]
lipoqil has joined #ruby
No_One has quit [Changing host]
No_One has joined #ruby
levifig has joined #ruby
Veejay has joined #ruby
Biohazard is now known as Guest26624
d0nn1e has joined #ruby
halfamind has quit [Read error: Connection reset by peer]
halfamind has joined #ruby
pandaant has quit [Remote host closed the connection]
whippythellama has joined #ruby
No_One is now known as kspencer
nettoweb has joined #ruby
tref has quit [Quit: tref]
andikr has quit [Remote host closed the connection]
ndrst has joined #ruby
IrishGringo has joined #ruby
ndrst is now known as Guest52539
jazzonmymind has joined #ruby
Luna_Moonfang has joined #ruby
aspiers has joined #ruby
JoL1hAHN has joined #ruby
gregf has quit [Quit: WeeChat 1.4]
mistermo_ has quit [Ping timeout: 268 seconds]
kp666 has joined #ruby
Devalo has quit [Read error: Connection reset by peer]
Uber|Dragon has joined #ruby
Devalo has joined #ruby
ssm has joined #ruby
nettoweb has quit [Client Quit]
fevrbd has joined #ruby
jehoesefat has joined #ruby
mallu has joined #ruby
mistermocha has quit [Remote host closed the connection]
idefine has joined #ruby
weemsledeux has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
idefine_ has quit [Ping timeout: 276 seconds]
fevrbd has quit [Ping timeout: 248 seconds]
ChiefAlexander has joined #ruby
gregf has joined #ruby
mary5030 has joined #ruby
pawnbox has joined #ruby
valetudo has joined #ruby
valetudo has quit [Max SendQ exceeded]
idefine has quit [Ping timeout: 260 seconds]
valetudo has joined #ruby
renier has joined #ruby
jorum has quit [Quit: leaving]
marr has quit [Ping timeout: 244 seconds]
mary5030 has quit [Remote host closed the connection]
hs366 has joined #ruby
<shevy> sexy sexy ruby
<shevy> I'd wish more people would do ruby-GUIs
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mary5030 has joined #ruby
jdawgaz has joined #ruby
kies has joined #ruby
idefine has joined #ruby
dc2 has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<apeiros> I wish there was a decent way to do mac GUIs with ruby
skweek has quit [Ping timeout: 244 seconds]
rbennacer has quit [Remote host closed the connection]
<darix> apeiros: Qt bindings?
roshanavand_ has joined #ruby
Snowy has joined #ruby
<apeiros> granted, haven't tried those for a couple of years now. last time was with ruby 1.8 (1.8.2 - 1.8.7), never got it to work properly.
rbennacer has joined #ruby
<apeiros> does Qt still look like an odd-one-out on osx or does it look like a native app?
prestorium has joined #ruby
<havenwood> apeiros: I'd prefer it if the free RubyMotion covered OS X instead of iOS.
SenpaiSilver has quit [Quit: Leaving]
<kspencer> shevy: I'd be doing gui's but i can never figure the whole thing out, and I've looked at tutorials
<apeiros> havenwood: not sure I get you right there - you mean even if rubymotion was free and covered osx, you'd still prefer qt?
rippa has joined #ruby
bricker has joined #ruby
noService has quit [Ping timeout: 246 seconds]
mank has quit [Read error: Connection reset by peer]
<havenwood> apeiros: I said that very poorly. I mean the free version of RubyMotion only covers iOS. But if instead it covered OS X i'd happen to get more use of it.
preyalone has joined #ruby
pwnd_nsfw` is now known as pwnd_nsfw
<shevy> kspencer well the basics are quite simple; you use widgets, these widgets can respond to events such as mouse click. if you know javascript, it'll even be simpler. problem is there are just so few people who want to write oldschool GUI apps in the days of the www era
<havenwood> GUI bindings is a rare area where I envy the Pythonistas.
<shevy> <havenwood> shevy: two snakes is too many snakes
<shevy> :D
<shevy> the python guys must have armies of C and C++ savvy devs
kirillzh has joined #ruby
kirillzh has quit [Max SendQ exceeded]
idefine_ has joined #ruby
mank has joined #ruby
kirillzh has joined #ruby
mank has quit [Max SendQ exceeded]
ascarter has joined #ruby
mank has joined #ruby
ascarter has quit [Client Quit]
workmad3 has joined #ruby
sadin has joined #ruby
idefine has quit [Ping timeout: 276 seconds]
dopie has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
Devalo has quit [Remote host closed the connection]
aegis3121 has quit [Ping timeout: 240 seconds]
idefine_ has quit [Ping timeout: 244 seconds]
mank has quit [Read error: Connection reset by peer]
Devalo has joined #ruby
slawrence00 has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
griffindy has joined #ruby
agentmeerkat has joined #ruby
cjbottaro has joined #ruby
last_staff has joined #ruby
mank has joined #ruby
mistermocha has joined #ruby
mistermocha has quit [Remote host closed the connection]
pawnbox has quit [Ping timeout: 276 seconds]
pawnbox has joined #ruby
skweek has joined #ruby
floatingpoint has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mistermocha has joined #ruby
idefine has joined #ruby
valetudo has quit [Read error: Connection reset by peer]
lodom has joined #ruby
<lodom> hi
cjbottaro has quit [Client Quit]
inukshuk_ has joined #ruby
idefine has quit [Remote host closed the connection]
Devalo has quit [Ping timeout: 248 seconds]
diegoaguilar has joined #ruby
idefine has joined #ruby
cjbottaro has joined #ruby
idefine has joined #ruby
Aviio has joined #ruby
JakFrist has quit [Quit: Textual IRC Client: www.textualapp.com]
inukshuk_ has quit [Quit: leaving]
<havenwood> lodom: hi
User458764 has joined #ruby
idefine has quit [Remote host closed the connection]
Uber|Dragon has quit [Ping timeout: 250 seconds]
djellemah has joined #ruby
idefine has joined #ruby
<lodom> I want to write a C program with embedded ruby on windows and tried cygwins ruby 2.2.0 with -dev and rubyinstaller ruby with devkit installed. I've also read that mixing cygwin and rubyinstaller is a no go so I installed mingws gcc, added it to path and tried to compile the test.c which gave me a bunch of dll errors. I was searching the net for some useful links but couldn't find any. sites related to building
<lodom> native gems didn't help much either. I also read about using c++ and ruby dlls but it has to be C. Im neither a windows dev expert nor a C pro and I know that this might not be a good starting base.. but anyhow, I want to achieve it. please see the following pastebin for the outputs I got and I hope one can give me a helpful tip. (I have no problems compiling this code on linux or using ruby in C on linux, bu
<lodom> t it has to be windows in this case, sadly ;) http://pastebin.com/B7yS5QHc
<ruby[bot]> lodom: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/5031250d13debf2f27c0
<ruby[bot]> lodom: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
<lodom> alright, give me a second dear ruby bot
vdamewood has quit [Quit: Life beckons.]
Aviio has quit [Ping timeout: 250 seconds]
cjbottaro has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<adaedra> for your first one, try putting the -l args after the .c file
millerti has joined #ruby
<lodom> what the f
<lodom> it worked
<lodom> :D
<lodom> oh man, thank you
<adaedra> The order of linking is important
idefine has quit [Ping timeout: 244 seconds]
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
jottr_ has joined #ruby
Flipez has quit [Remote host closed the connection]
smathy has joined #ruby
jottr has quit [Disconnected by services]
dikaio has joined #ruby
jottr_ is now known as jottr
nettoweb has joined #ruby
cjbottaro has joined #ruby
idefine has joined #ruby
fevrbd has joined #ruby
<lodom> very well, thank you adaedra. I'll go and play a bit. thanks!
merida has joined #ruby
lodom has quit [Quit: leaving]
idefine has quit [Remote host closed the connection]
Flipez has joined #ruby
RegulationD has joined #ruby
nocontrol has quit []
idefine has joined #ruby
idefine has quit [Remote host closed the connection]
last_staff has quit [Quit: last_staff]
Aviio has joined #ruby
halfamind has quit [Read error: Connection reset by peer]
skade has joined #ruby
halfamind has joined #ruby
fullofcaffeine has quit [Remote host closed the connection]
dc2 has quit [Ping timeout: 248 seconds]
finisherr has joined #ruby
ascarter has joined #ruby
idefine has joined #ruby
fullofcaffeine has joined #ruby
<washt> cd
washt has left #ruby [#ruby]
fevrbd has quit [Ping timeout: 244 seconds]
cpruitt has joined #ruby
sepp2k has quit [Quit: Leaving.]
idefine has quit [Read error: Connection reset by peer]
agit0 has joined #ruby
evidex has joined #ruby
kies has quit [Quit: baaaaiiiiiiiiiii~]
n008f4g_ has joined #ruby
morissette has joined #ruby
<morissette> Anyone seen this error before? https://bpaste.net/show/58510afb0c61
Couch has quit [Ping timeout: 240 seconds]
skade has quit [Quit: Computer has gone to sleep.]
rodfersou is now known as rodfersou|lunch
<havenwood> morissette: Seems you mean `jruby -S gem install` but are running `jruby -S install`.
axl_ has joined #ruby
<havenwood> morissette: Note: SyntaxError: /usr/bin/install
<morissette> Trying the gem install w/ jruby now
idefine has joined #ruby
fullofcaffeine has quit [Quit: Leaving...]
skade has joined #ruby
andikr has joined #ruby
<morissette> https://bpaste.net/show/c360dde94e43 - new error
B1n4r10 has joined #ruby
IrishGringo has quit [Ping timeout: 248 seconds]
<havenwood> morissette: That's a saner error. :)
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> morissette: /opt/logstash/vendor/jruby/bin/jruby -v
idefine has quit [Remote host closed the connection]
wldcordeiro has quit [Quit: WeeChat 1.3]
<morissette> jruby 1.7.23 (1.9.3p551) 2015-11-24 f496dd5 on OpenJDK 64-Bit Server VM 1.7.0_95-mockbuild_2016_02_02_21_16-b00 +jit [linux-amd64]
<havenwood> morissette: (The `install` command you were initially running isn't Ruby-related.)
<morissette> this i can work with
Aviio has quit []
MonsterMunch has left #ruby [#ruby]
mistermocha has quit [Remote host closed the connection]
<morissette> I do python I do perl, I haven't touched ruby in years
cmckni3 has joined #ruby
idefine has joined #ruby
ascarter has joined #ruby
idefine has quit [Read error: Connection reset by peer]
<havenwood> morissette: I'd suggest upgrading JRuby to 9.0.5.0 so the RUBY_VERSION will be > 2.0.
<morissette> Just via rvm? or is there a newer preferred method?
<havenwood> morissette: Alternatively, run JRuby 1.7 in 2.0 mode.
<havenwood> morissette: jruby --2.0 -S gem install ...
<havenwood> morissette: Via RVM is fine. First: rvm get head
[Butch] has joined #ruby
stunder001 has joined #ruby
ascarter has quit [Client Quit]
moeabdol4 has quit [Ping timeout: 264 seconds]
idefine has joined #ruby
cmckni3 has quit [Quit: Textual IRC Client: www.textualapp.com]
<morissette> Thanks for all the help havenwood
<morissette> Looks like bundle install is going to work now
dfockler has joined #ruby
idefine has quit [Read error: Connection reset by peer]
vikas027 has joined #ruby
renier_ has joined #ruby
workmad3 has joined #ruby
renier has quit [Ping timeout: 244 seconds]
vikas027 has left #ruby [#ruby]
crazydiamond has joined #ruby
baweaver has joined #ruby
agit0 has quit [Ping timeout: 246 seconds]
tjohnson has joined #ruby
noService has joined #ruby
SpikeSpiegel has joined #ruby
SpikeSpiegel is now known as GitGud
idefine has joined #ruby
joast has quit [Quit: Leaving.]
amclain has joined #ruby
fevrbd has joined #ruby
MrDoctor has quit [Quit: Konversation terminated!]
MonsterMunch_ has joined #ruby
joast has joined #ruby
marxarelli has joined #ruby
vdamewood has joined #ruby
MonsterMunch_ is now known as MonsterMunch
dionysus69 has joined #ruby
noService has quit [Ping timeout: 246 seconds]
idefine_ has joined #ruby
idefine_ has quit [Remote host closed the connection]
idefine__ has joined #ruby
idefine has quit [Ping timeout: 240 seconds]
noService has joined #ruby
fevrbd has quit [Ping timeout: 248 seconds]
vdamewood has quit [Max SendQ exceeded]
antgel has joined #ruby
Devalo has joined #ruby
aganov has quit [Quit: Leaving]
freerobby has joined #ruby
ramfjord has joined #ruby
dikaio has quit [Read error: Connection reset by peer]
antgel has quit [Quit: leaving]
Salve has joined #ruby
dikaio has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
TheNet has quit [Ping timeout: 240 seconds]
stephenott has joined #ruby
Devalo has quit [Ping timeout: 276 seconds]
chouhoulis has quit [Remote host closed the connection]
merida has quit [Remote host closed the connection]
chouhoulis has joined #ruby
kirillzh has quit [Quit: Textual IRC Client: www.textualapp.com]
baweaver has quit [Remote host closed the connection]
The_Phoenix has joined #ruby
antgel has joined #ruby
stephenott has quit []
fevrbd has joined #ruby
davedev24 has joined #ruby
mrgrieves has quit [Ping timeout: 240 seconds]
B1n4r10 has quit [Ping timeout: 260 seconds]
aufi has quit [Ping timeout: 248 seconds]
vdamewood has joined #ruby
mrgrieves has joined #ruby
chipotle has quit [Quit: cheerio]
chipotle has joined #ruby
dc2 has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
skweek has quit [Ping timeout: 260 seconds]
araujo has joined #ruby
araujo has joined #ruby
mistermocha has joined #ruby
chocoelho has joined #ruby
lurch_ has quit [Quit: lurch_]
Eiam_ has joined #ruby
antgel has quit [Read error: Connection reset by peer]
mistermocha has quit [Ping timeout: 240 seconds]
agentmeerkat has quit [Ping timeout: 276 seconds]
GitGud has quit [Quit: But first, let me drink some protein...]
mleung has joined #ruby
aryaching has joined #ruby
mank has quit [Quit: Textual IRC Client: www.textualapp.com]
aryaching has quit [Read error: Connection reset by peer]
ascarter has joined #ruby
hightower3 has joined #ruby
aryaching has joined #ruby
mleung has quit [Client Quit]
sepp2k has joined #ruby
skweek has joined #ruby
mark3 has quit [Remote host closed the connection]
bronson has joined #ruby
Guest38 has joined #ruby
symm- has joined #ruby
halfamind has quit [Read error: Connection reset by peer]
mleung has joined #ruby
halfamind has joined #ruby
scepticulous has quit [Ping timeout: 244 seconds]
hightower2 has quit [Ping timeout: 276 seconds]
Salve has quit [Remote host closed the connection]
aryaching has quit []
bronson has quit [Ping timeout: 248 seconds]
dc2 has quit [Ping timeout: 276 seconds]
rodfersou|lunch has quit [Quit: leaving]
floatingpoint has joined #ruby
SpikeSpiegel has joined #ruby
SpikeSpiegel is now known as GitGud
ferr has quit [Quit: WeeChat 1.4]
symm- has quit [Ping timeout: 252 seconds]
idefine__ has quit [Remote host closed the connection]
wilbert has joined #ruby
SCHAAP137 has quit [Remote host closed the connection]
pandaant has joined #ruby
shinnya has joined #ruby
idefine has joined #ruby
robbyoconnor has joined #ruby
tvw has joined #ruby
silentpost has joined #ruby
Blaguvest has joined #ruby
skade has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
n008f4g_ has quit [Ping timeout: 260 seconds]
ChiefAlexander has quit [Remote host closed the connection]
Devalo has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
someoneelsetho is now known as speakingcode
speakingcode has quit [Quit: leaving]
oncall-pokemon has joined #ruby
ChiefAlexander has joined #ruby
Salve has joined #ruby
speakingcode has joined #ruby
MonsterMunch has quit [Quit: MonsterMunch]
GitGud has quit [Quit: But first, let me drink some protein...]
nobitanobi has joined #ruby
symm- has joined #ruby
tubuliferous has joined #ruby
merida has joined #ruby
preyalone has quit [Quit: Connection closed for inactivity]
vdamewood has quit [Quit: Life beckons.]
idefine has quit [Remote host closed the connection]
B1n4r10 has joined #ruby
idefine has joined #ruby
Devalo has quit [Ping timeout: 276 seconds]
rcvalle has joined #ruby
unshadow has quit [Quit: leaving]
Musashi007 has joined #ruby
aegis3121 has joined #ruby
User458764 has joined #ruby
matt_d_ is now known as matt_d
joonty has quit [Ping timeout: 276 seconds]
idefine has quit [Remote host closed the connection]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
idefine has joined #ruby
wilbert has quit [Ping timeout: 252 seconds]
ChiefAlexander has quit [Remote host closed the connection]
ruby-lang870 has joined #ruby
bronson has joined #ruby
ivanskie has joined #ruby
Riviera- has joined #ruby
baweaver has joined #ruby
idefine has quit [Remote host closed the connection]
codecop has joined #ruby
ziyadb has quit [Quit: Connection closed for inactivity]
wilbert has joined #ruby
pandaant has quit [Quit: Lost terminal]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
idefine has joined #ruby
wldcordeiro has joined #ruby
vasilakisfil has quit [Quit: Konversation terminated!]
troulouliou_div2 has joined #ruby
codecop has quit [Remote host closed the connection]
moua has left #ruby ["Leaving..."]
baweaver has quit [Ping timeout: 248 seconds]
poguez_ has joined #ruby
marr has joined #ruby
joonty has joined #ruby
merida has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 240 seconds]
idefine has quit [Remote host closed the connection]
roshanavand_ has quit [Quit: This computer has gone to sleep]
FooMunki has quit [Quit: FooMunki]
araujo has quit [Ping timeout: 248 seconds]
FooMunki has joined #ruby
nofxx has joined #ruby
nofxx has joined #ruby
jehoesefat has quit [Ping timeout: 268 seconds]
idefine has joined #ruby
mhoungbo has quit [Remote host closed the connection]
dopie has quit [Quit: Lost terminal]
dopie has joined #ruby
Zarthus_ is now known as Zarthus
joonty has quit [Ping timeout: 268 seconds]
roshanavand_ has joined #ruby
silentpost has quit [Ping timeout: 244 seconds]
n008f4g_ has joined #ruby
baweaver has joined #ruby
_stu_ has quit [Quit: _stu_]
idefine has quit [Ping timeout: 250 seconds]
<floatingpoint> sanity check: Dir["/some_dir/*.txt"] will match anything ending in .txt in some_dir, correct?
<nobitanobi> How do you sufix methods that return a date like "April 10, 2013 9:00"? For example, if I want to return the time the visit happened (but that time also includes date), would you do def visit_datetime?
mjc_ has joined #ruby
mrgrieves has quit [Ping timeout: 248 seconds]
WhoLettem has joined #ruby
<WhoLettem> Hey
<WhoLettem> How do I make an account on here?
<adaedra> /msg NickServ HELP
armyriad has quit [Ping timeout: 240 seconds]
troulouliou_div2 has quit [Remote host closed the connection]
weemsledeux has joined #ruby
baweaver has quit [Ping timeout: 260 seconds]
<floatingpoint> sanity check: Dir["/some_dir/*.txt"] will match anything ending in .txt in some_dir, correct?
armyriad has joined #ruby
tubuliferous has quit [Ping timeout: 244 seconds]
<aegis3121> nobitanobi: probably. Does it return a DateTime object, or a String?
wilbert has quit [Ping timeout: 252 seconds]
<floatingpoint> hm. this must be a tough question to answer
Musashi007 has quit [Quit: Musashi007]
SCHAAP137 has joined #ruby
SCHAAP137 has joined #ruby
baweaver has joined #ruby
mikecmpbll has quit [Ping timeout: 240 seconds]
morissette has quit [Remote host closed the connection]
<nobitanobi> aegis3121: should the object class change the name of the method?
nettoweb has quit [Ping timeout: 276 seconds]
djbkd has joined #ruby
Disavowed has joined #ruby
czerasz has quit [Quit: Leaving]
drewo has joined #ruby
<aegis3121> ¯\_(ツ)_/¯ Depends on who you ask. I would probably call it visit_datetime regardless and make sure I document what it returns (String, Datetime, w/e)
<aegis3121> Someone who (their fault, really, I suppose) consumes it without reading the docs might expect it to return a DateTime object, though.
roshanavand_ has quit [Quit: This computer has gone to sleep]
<nobitanobi> aegis3121: cool, thanks :)
<nobitanobi> datetime vs date_time :{
<nobitanobi> :)
<aegis3121> that seems....mostly preferential lol
<apeiros> nobitanobi: visited_datetime is bad
<apeiros> you don't annotate the type in other methods either, do you?
<apeiros> shift_object? concat_array? person.first_name_string?
<apeiros> that's just silly.
<aegis3121> but `visit` doesn't really make sense on its own
<nobitanobi> right, I'm trying to sufix it with what is conceptually is returning
mwlang has joined #ruby
<apeiros> visit_at
baweaver has quit [Remote host closed the connection]
<nobitanobi> apeiros: I was thinking on being explicit that I'm returning not just a date, but also a time
<apeiros> or maybe "visit" itself is wrong if it's not clear enough.
<apeiros> no, don't do that. that's documentation stuff.
<apeiros> as illustrated above, it's just silly to annotate the type in the method name.
elifoster has joined #ruby
baweaver has joined #ruby
<nobitanobi> apeiros: thanks
ChiefAlexander has joined #ruby
JoshGlzBrk has joined #ruby
chocoelho has left #ruby ["WeeChat 1.4"]
14WAAJ0BT has joined #ruby
<mwlang> Is there a size limit to Nokogiri::XML ? I have an XML document with a base64 encoded field in it that’s running to the tune of 11mb. It’s failing to parse with premature end of data. I’m not sure if it’s bad data or size limitation, just yet...
ixti has quit [Ping timeout: 244 seconds]
jkahn has joined #ruby
<apeiros> mwlang: I doubt 11MB would trigger any limit. my bet is on bad data.
nando293921 has joined #ruby
ljames has joined #ruby
jdawgaz has joined #ruby
edwinvdgraaf has quit [Ping timeout: 264 seconds]
sadin has quit [Quit: Leaving]
Devalo has joined #ruby
<nobitanobi> apeiros: so even if to me the concept of what the method is returning might be a date or date and time, you would avoid suffixing it yes?
<smathy> mwlang, no limit as far as I know, other than machine RAM. I've heard of people doing hundreds of megs, even gigs.
Devalo has quit [Remote host closed the connection]
Devalo has joined #ruby
Snowy has quit [Remote host closed the connection]
<apeiros> nobitanobi: yes. unless I have explicitly two methods where one does date and the other time of day.
<nobitanobi> I guess my question is more what is the human expression that we will use to represent a moment in time that is defined by a date and a time.
<apeiros> though honestly I doubt I'd ever do that. I'd just chain on the datetime returning method.
ivanskie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<nobitanobi> in order to make my method self documented :)
<mwlang> smathy: thanks for that. will focus my effort on the content, then.
maletor has joined #ruby
davedev24 has quit []
<nobitanobi> regardless of whether I am returning a datetime or a string
<smathy> mwlang, yeah, look for stuff not confirming to the specified encoding.
<nobitanobi> how do I make my method self documenting to say that I am returning a moment in time that is represented with date and a time
<smathy> *orming
<nobitanobi> apeiros: perhaps `_moment`
ryanprior has joined #ruby
idefine has joined #ruby
Synthead has quit [Ping timeout: 252 seconds]
<apeiros> nobitanobi: eh, if you really think "visit" or "visit_at" is unclear, then I'd prefer visit_date or visit_appoinment over visit_moment.
<ryanprior> I have a string that comprises YAML fragments that could be children of a hypothetical parent node. I want to parse them all and get a list of YAML ASTs, but when I YAML.parse them, it just reads the first one. Is there an easy way to get what I want?
<nobitanobi> thanks apeiros
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apeiros> ryanprior: --- is the yaml document separator
nettoweb has joined #ruby
mikecmpbll has joined #ruby
<ryanprior> apeiros: my strings don't have --- between the subdocuments. Do I need to build a regex to insert them?
<apeiros> ryanprior: how does your document separate the yaml fragments then?
duncannz has joined #ruby
<apeiros> and why doesn't it use proper yaml syntax to do so?
jehoesefat has joined #ruby
drewo has quit [Ping timeout: 248 seconds]
duncannz has quit [Max SendQ exceeded]
yfeldblum has joined #ruby
duncannz has joined #ruby
boontdustie has joined #ruby
idefine has quit [Ping timeout: 244 seconds]
baweaver has quit [Remote host closed the connection]
<ryanprior> apeiros: because it's intended as end-user documentation, not as valid YAML.
BtcBen has joined #ruby
tubuliferous has joined #ruby
<apeiros> and you parse end-user documentation because…?
Blaguvest has quit [Ping timeout: 252 seconds]
drewo has joined #ruby
f4cl3y has quit [Ping timeout: 260 seconds]
<ryanprior> I want to write a test that ensures the YAML examples parse.
jaruga_ has quit [Quit: jaruga_]
Don_John has joined #ruby
<apeiros> well then I guess good luck at parsing documentation. there's really not much to say. figure how to separate them and parse them separately.
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
idefine has joined #ruby
jehoesefat has quit [Client Quit]
mdw has quit [Quit: Sleeping Zzzzz]
Don_John has quit [Read error: Connection reset by peer]
idefine has quit [Remote host closed the connection]
axl__ has joined #ruby
yfeldblum has quit [Remote host closed the connection]
<ryanprior> apeiros: thank you!
yfeldblum has joined #ruby
axl_ has quit [Ping timeout: 268 seconds]
axl__ is now known as axl_
nanoz has quit [Read error: Connection reset by peer]
jmignault has joined #ruby
idefine has joined #ruby
ramfjord has joined #ruby
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tubuliferous has quit [Ping timeout: 276 seconds]
nchambers is now known as DeerGod
blackmesa has joined #ruby
The_Phoenix has quit [Read error: Connection reset by peer]
marr has quit [Ping timeout: 260 seconds]
ruby-lang870 has quit [Ping timeout: 250 seconds]
Synthead has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
baweaver has joined #ruby
davee_ has joined #ruby
evidex has quit [Read error: Connection reset by peer]
evidex has joined #ruby
B1n4r10 has quit [Ping timeout: 260 seconds]
nando293921 has quit [Quit: Lost terminal]
araujo has joined #ruby
araujo has quit [Max SendQ exceeded]
gregf has quit [Quit: WeeChat 1.4]
A124 has quit [Ping timeout: 240 seconds]
A124 has joined #ruby
araujo has joined #ruby
jkahn has quit [Ping timeout: 244 seconds]
skade has quit [Quit: Textual IRC Client: www.textualapp.com]
skade has joined #ruby
sneakerhax has joined #ruby
AlexRussia has quit [Ping timeout: 244 seconds]
gregf has joined #ruby
ramfjord has quit [Ping timeout: 244 seconds]
B1n4r10 has joined #ruby
_stu_ has joined #ruby
dionysus69 has quit [Ping timeout: 248 seconds]
valetudo has joined #ruby
valetudo has quit [Max SendQ exceeded]
baweaver has quit [Remote host closed the connection]
valetudo has joined #ruby
14WAAJ0BT has quit [Quit: Textual IRC Client: www.textualapp.com]
aegis3121 has quit [Ping timeout: 244 seconds]
ramfjord has joined #ruby
cdg has quit [Remote host closed the connection]
cdg has joined #ruby
davee_ has quit [Quit: Leaving]
dionysus69 has joined #ruby
User458764 has joined #ruby
Salve has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 250 seconds]
evidex has quit [Read error: Connection reset by peer]
ivanskie has joined #ruby
evidex has joined #ruby
cdg has quit [Ping timeout: 260 seconds]
duderon__ has joined #ruby
blandflakes has joined #ruby
gizmore has joined #ruby
mikecmpbll has joined #ruby
nobitanobi has quit [Remote host closed the connection]
DoubleMalt has quit [Remote host closed the connection]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
tubuliferous has joined #ruby
jkahn has joined #ruby
j3r0 has quit [Quit: Leaving]
jrafanie has quit [Quit: Textual IRC Client: www.textualapp.com]
tvw has quit [Remote host closed the connection]
tubuliferous has quit [Ping timeout: 246 seconds]
ramfjord has joined #ruby
blackmesa has quit [Ping timeout: 246 seconds]
Uber|Dragon has joined #ruby
Diabolik has quit [Max SendQ exceeded]
SenpaiSilver has joined #ruby
Diabolik has joined #ruby
B1n4r10 has quit [Ping timeout: 246 seconds]
tubuliferous has joined #ruby
nando293921 has joined #ruby
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rbennacer has quit [Remote host closed the connection]
tubuliferous_ has joined #ruby
anirban has joined #ruby
codecop has joined #ruby
r00by has joined #ruby
evidex has quit [Quit: leaving]
tubulife| has joined #ruby
mleung_ has joined #ruby
smathy_ has joined #ruby
nertzy2 has joined #ruby
diprotic has joined #ruby
mwlang_ has joined #ruby
[spoiler] has quit [Ping timeout: 250 seconds]
freerobby has quit [Ping timeout: 250 seconds]
monoprotic has quit [Ping timeout: 250 seconds]
mleung has quit [Ping timeout: 250 seconds]
err_ok has quit [Ping timeout: 250 seconds]
jhill has quit [Ping timeout: 250 seconds]
mleung_ is now known as mleung
tubuliferous_ has quit [Read error: Connection reset by peer]
mwlang has quit [Ping timeout: 250 seconds]
cpup has quit [Ping timeout: 250 seconds]
iamvery has quit [Ping timeout: 250 seconds]
mwlang_ is now known as mwlang
jlyndon has quit [Ping timeout: 250 seconds]
halfdan has quit [Ping timeout: 250 seconds]
HashNuke has quit [Ping timeout: 250 seconds]
apipkin_ has quit [Ping timeout: 250 seconds]
jcp has quit [Ping timeout: 250 seconds]
pizzaops has quit [Ping timeout: 250 seconds]
alnewkirk has quit [Ping timeout: 250 seconds]
LBRapid has quit [Ping timeout: 250 seconds]
braderhart has quit [Ping timeout: 250 seconds]
[dmp] has quit [Ping timeout: 250 seconds]
hackeron_ has quit [Ping timeout: 250 seconds]
gmci has quit [Ping timeout: 250 seconds]
_dev has quit [Ping timeout: 250 seconds]
err_ok has joined #ruby
freerobby has joined #ruby
cpup has joined #ruby
idefine has quit [Remote host closed the connection]
LBRapid has joined #ruby
nettoweb has quit [Ping timeout: 250 seconds]
sqdntf has quit [Ping timeout: 250 seconds]
madhatter has quit [Ping timeout: 250 seconds]
yeticry has quit [Ping timeout: 250 seconds]
Platini has quit [Ping timeout: 250 seconds]
_dev has joined #ruby
nofxx has quit [Ping timeout: 250 seconds]
nertzy has quit [Ping timeout: 250 seconds]
aef has quit [Ping timeout: 250 seconds]
hays has quit [Ping timeout: 250 seconds]
iamvery has joined #ruby
smathy has quit [Ping timeout: 250 seconds]
alnewkirk has joined #ruby
hackeron has joined #ruby
nofxx has joined #ruby
madhatter has joined #ruby
ifhodp has joined #ruby
yeticry has joined #ruby
halfdan has joined #ruby
idefine has joined #ruby
jlyndon has joined #ruby
hays has joined #ruby
braderhart has joined #ruby
jhill has joined #ruby
jcp has joined #ruby
HashNuke has joined #ruby
skweek has quit [Remote host closed the connection]
<r00by> hi, I was wanting to deploy a little ruby slack chatbot, I was wondering if anyone could recommend a service for deploying such a small ruby app to?
pizzaops has joined #ruby
apipkin_ has joined #ruby
mostlybadfly has joined #ruby
gmci has joined #ruby
agentmeerkat has joined #ruby
tildes has joined #ruby
skweek has joined #ruby
Devalo has quit [Remote host closed the connection]
duderon__ has quit [Quit: Textual IRC Client: www.textualapp.com]
[spoiler] has joined #ruby
duderonomy has joined #ruby
aef has joined #ruby
fullofcaffeine has joined #ruby
Platini has joined #ruby
idefine has quit [Remote host closed the connection]
idefine has joined #ruby
kirun has joined #ruby
ramfjord has quit [Ping timeout: 244 seconds]
jjturner has joined #ruby
araujo_ has joined #ruby
idefine has quit [Remote host closed the connection]
B1n4r10 has joined #ruby
marr has joined #ruby
jottr has quit [Ping timeout: 244 seconds]
_stu_ has quit [Quit: _stu_]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
devbug has joined #ruby
smathy_ is now known as smathy
<mwlang> r00by: I think heroku offers some sort of free hosting for very small apps. not 100% sure on that, though.
blandflakes is now known as DuskPidgeon
DuskPidgeon is now known as blandflakes
araujo has quit [Ping timeout: 248 seconds]
bob434 has joined #ruby
[dmp] has joined #ruby
devbug has quit [Client Quit]
n008f4g_ has quit [Ping timeout: 276 seconds]
whippythellama has quit [Quit: WeeChat 1.4]
jackjackdripper has joined #ruby
rbennacer has joined #ruby
<r00by> mwlang: they do, but they will get suspended if they don't receive any requests for a while, my app listens for live updates from Pusher, but I think they'll be dropped if my app is suspended
whippythellama has joined #ruby
_blizzy_ has joined #ruby
rbennacer has quit [Remote host closed the connection]
DeerGod is now known as nchambers
drewo has quit [Ping timeout: 260 seconds]
aef has quit [Remote host closed the connection]
Eiam has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
tjohnson_ has joined #ruby
zzak____ has joined #ruby
jabreity_ has joined #ruby
twodayslate_ has joined #ruby
jdawgaz has joined #ruby
deimos_ has joined #ruby
Disavowed has quit [Ping timeout: 276 seconds]
jackjackdripper has quit [Client Quit]
rbennacer has joined #ruby
jcp_ has joined #ruby
Y_Ichiro_ has joined #ruby
jackjackdripper has joined #ruby
User458764 has joined #ruby
andersh_ has joined #ruby
akahn_ has joined #ruby
nwhirschfeld_ has joined #ruby
kireevco_ has joined #ruby
jhill_ has joined #ruby
acerna_ has joined #ruby
fexilal has quit [Ping timeout: 240 seconds]
Guest4184_______ has joined #ruby
pfg__ has joined #ruby
zacts_ has joined #ruby
hostess_ has joined #ruby
ozzloy_ has joined #ruby
danzilio_ has joined #ruby
tvl has joined #ruby
ryanprio` has joined #ruby
baweaver has joined #ruby
bronson has quit []
rbennacer has quit [Remote host closed the connection]
Eiam has joined #ruby
Dr_r00t3r has joined #ruby
ryanprior has quit [Remote host closed the connection]
rbennacer has joined #ruby
bogdanteleaga_ has joined #ruby
<mwlang> r00by: in that case, I’d suggest a small VPS at digital ocean.
kenichi_ has joined #ruby
existensil_ has joined #ruby
spaceghost|work has joined #ruby
dfockler has quit [Read error: Connection reset by peer]
tubbo` has joined #ruby
Dr_r00t3r has quit [Client Quit]
Dr_r00t3r has joined #ruby
Uber|Dragon has quit [Ping timeout: 244 seconds]
<mwlang> I run a full-fledge gitlab server at DO and it costs me just shy of $20/mo with heavy daily use (~15 repos and ~3 developers)
chridal_ has joined #ruby
SenpaiSilver_ has joined #ruby
ereslibre_laptop has joined #ruby
<smathy> r00by, the sleep mode shouldn't result in a dropped connection, just a delay for the first request during a sleep.
pwnd_nsfw` has joined #ruby
mnrmnaugh_ has joined #ruby
<r00by> mwlang: okay, I'll check it out. Sounds like pretty good value. I had looked into prgrmr, aws and docker.
jottr has joined #ruby
cschneid- has joined #ruby
User458764 has quit [Ping timeout: 240 seconds]
pwnd_nsfw has quit [Read error: Connection reset by peer]
jinie has quit [Ping timeout: 240 seconds]
duckpuppy has joined #ruby
armyriad has quit [Read error: Connection reset by peer]
jcp has quit [Ping timeout: 250 seconds]
jhill has quit [Ping timeout: 250 seconds]
tubbo has quit [Ping timeout: 250 seconds]
blackjid has quit [Ping timeout: 250 seconds]
Guest4184______ has quit [Ping timeout: 250 seconds]
pfg has quit [Ping timeout: 250 seconds]
amitchellbullard has quit [Ping timeout: 250 seconds]
zzak___ has quit [Ping timeout: 250 seconds]
tjohnson has quit [Ping timeout: 250 seconds]
jabreity has quit [Ping timeout: 250 seconds]
andersh has quit [Ping timeout: 250 seconds]
deimos has quit [Ping timeout: 250 seconds]
twodayslate has quit [Ping timeout: 250 seconds]
kireevco has quit [Ping timeout: 250 seconds]
danzilio has quit [Ping timeout: 250 seconds]
chridal has quit [Ping timeout: 250 seconds]
acerna has quit [Ping timeout: 250 seconds]
akahn has quit [Ping timeout: 250 seconds]
pipework has quit [Ping timeout: 250 seconds]
zacts has quit [Ping timeout: 250 seconds]
kenichi has quit [Ping timeout: 250 seconds]
existensil has quit [Ping timeout: 250 seconds]
ozzloy has quit [Ping timeout: 250 seconds]
weaksauce has quit [Ping timeout: 250 seconds]
mnrmnaugh has quit [Ping timeout: 250 seconds]
hostess has quit [Ping timeout: 250 seconds]
tobiasvl has quit [Ping timeout: 250 seconds]
bogdanteleaga has quit [Ping timeout: 250 seconds]
nwhirschfeld has quit [Ping timeout: 250 seconds]
cschneid_ has quit [Ping timeout: 250 seconds]
Sthebig has quit [Ping timeout: 250 seconds]
Y_Ichiro has quit [Ping timeout: 250 seconds]
mhoungbo has joined #ruby
amitchellbullard has joined #ruby
kireevco_ is now known as kireevco
ereslibre has quit [Quit: No Ping reply in 180 seconds.]
tvl is now known as tobiasvl
tubbo` is now known as tubbo
bogdanteleaga_ is now known as bogdanteleaga
idefine has joined #ruby
amitchellbullard has joined #ruby
amitchellbullard has quit [Changing host]
armyriad has joined #ruby
SenpaiSilver has quit [Read error: Connection reset by peer]
Guest26624 has quit [Ping timeout: 240 seconds]
<r00by> smathy: really? okay, I'll give it a shot since the delay wouldn't be a problem
jabreity_ is now known as jabreity
jinie has joined #ruby
Sthebig has joined #ruby
Sthebig has quit [Changing host]
Sthebig has joined #ruby
kobain has joined #ruby
danzilio_ is now known as danzilio
<mwlang> so, on the nokogiri problem, still: I’ve narrowed it down. It’s definitely a size of content problem. it’s basically a SOAP message with an embedded, escaped SOAP message in that. When that embedded string reaches 10mb in size, nokogiri comes up completely empty on that element’s content.
acerna_ is now known as acerna
Alina-malina has quit [Ping timeout: 268 seconds]
avelldiroll has quit [Ping timeout: 268 seconds]
awk has quit [Ping timeout: 268 seconds]
Fridtjof has quit [Ping timeout: 268 seconds]
jhill_ is now known as jhill
twodayslate_ is now known as twodayslate
akahn_ is now known as akahn
kenichi_ is now known as kenichi
baweaver has quit [Ping timeout: 252 seconds]
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
duckpuppy has quit [Client Quit]
zzak____ is now known as zzak___
elaptics has quit [Ping timeout: 268 seconds]
SegFaultAX has quit [Ping timeout: 268 seconds]
Apocalypse has quit [Ping timeout: 268 seconds]
beawesomeinstead has quit [Ping timeout: 240 seconds]
awk has joined #ruby
<smathy> Ahh, a single element > 10mb is different. I don't think I've seen/heard of that.
Ikri has quit [Quit: No Ping reply in 180 seconds.]
Y_Ichiro_ has quit [Quit: No Ping reply in 180 seconds.]
<havenwood> smathy: they switched the free plan a while back to have a max 18hr uptime per 24h
jhass has quit [Ping timeout: 240 seconds]
Miron has quit [Excess Flood]
awk is now known as Guest8960
Klumben has quit [Ping timeout: 268 seconds]
Y_Ichiro has joined #ruby
<havenwood> a forced sleep of 6hrs
Es0teric has joined #ruby
ElderFain has quit [Ping timeout: 240 seconds]
crdpink2 has quit [Excess Flood]
tjohnson_ is now known as tjohnson
Dr_r00t3r has quit [Client Quit]
jcp_ is now known as jcp
crdpink2 has joined #ruby
Miron has joined #ruby
Klumben has joined #ruby
fullofca_ has joined #ruby
renier_ has quit [Quit: Textual IRC Client: www.textualapp.com]
sepp2k has quit [Read error: Connection reset by peer]
beawesomeinstead has joined #ruby
Apocalypse has joined #ruby
r4z3r has quit [Ping timeout: 240 seconds]
Ikri has joined #ruby
devbug has joined #ruby
<smathy> havenwood, oh, I didn't know that. Thanks. r00by ^
idefine has quit [Ping timeout: 240 seconds]
SegFaultAX has joined #ruby
jhass has joined #ruby
n008f4g_ has joined #ruby
Biohazard has joined #ruby
Fridtjof has joined #ruby
r4z3r has joined #ruby
<smathy> mwlang, is it CDATA? Could it be a line length issue? I've heard of that in CDATA parsers before, bombing out if too many chars before a \n
Biohazard is now known as Guest67267
elaptics`away has joined #ruby
blackjid has joined #ruby
<r00by> havenwood: thanks for the heads up
infernix has quit [Excess Flood]
<mwlang> smathy: it’s not properly CDATA
fullofcaffeine has quit [Ping timeout: 248 seconds]
lkba has joined #ruby
baweaver has joined #ruby
skweek has quit [Remote host closed the connection]
gbgdev has quit []
<smathy> mwlang, line length might still be a thing.
last_staff has joined #ruby
ElderFain has joined #ruby
dn5 has quit [Quit: Lost terminal]
<mwlang> smathy: any idea what the limits are on line length? It *is* all one line FWIW.
<smathy> mwlang, I dunno, sounds like 10MB is a good place to start ;)
skweek has joined #ruby
<smathy> mwlang, I'd just pick some likely spots, 1024 chars, 65536 etc.
Alina-malina has joined #ruby
<smathy> Start small for a confirmation of problem, then see how big you can get before it trips over again.
Alina-malina has quit [Changing host]
Alina-malina has joined #ruby
baweaver has quit [Ping timeout: 250 seconds]
<mwlang> smathy: good idea.
avelldiroll has joined #ruby
crazydiamond has quit [Ping timeout: 248 seconds]
araujo_ has quit [Quit: Leaving]
ryanprio` has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ifhodp has quit [Remote host closed the connection]
<mwlang> bummer…not the line length. inserted random CR/LF at various points of the embedded doc…still loses the base64 content.
mhoungbo has quit [Ping timeout: 250 seconds]
<smathy> :(
<smathy> Sorry man, that was my best thought.
xue_ has joined #ruby
xue_ has quit [Client Quit]
idefine has joined #ruby
stunder001 has quit [Ping timeout: 268 seconds]
<mwlang> nuts…I can parse it successfully with REXML.
firstdayonthejob has joined #ruby
<mwlang> and if I go ahead and unescape REXML’s result and write back to file…nokogiri reads the new file contents just fine.
<smathy> :)
sphex_ has quit [Ping timeout: 246 seconds]
<smathy> Is that block the same size?
<mwlang> what I also noticed is that nokogiri is unescaping the contents of the embedded XML
baweaver has joined #ruby
Devalo has joined #ruby
<smathy> You're getting closer, more sleuthing!
sphex has joined #ruby
<mwlang> yeah, same size, roughly. both are 11MB
tildes has quit [Ping timeout: 268 seconds]
<mwlang> if I can just tell nokogiri to treat that embedded XML as a string and not try to parse it, I think I’ll have my solution.
<mwlang> because what I do anyway is parse once and the pull out the embedded doc CGI.unescapeHTML on it and parse again.
jschoolcraft has quit [Quit: peace]
User458764 has joined #ruby
idefine has quit [Ping timeout: 240 seconds]
Alayde has joined #ruby
andywojo has quit [Quit: Lost terminal]
mikecmpbll has joined #ruby
jokester has quit [Quit: WeeChat 1.4]
apes has joined #ruby
alexherbo2 has joined #ruby
a11 has joined #ruby
Devalo has quit [Remote host closed the connection]
<apes> Would something like the following snippet be considered idiomatic, or is there a better way? https://gist.github.com/apeschel/1204d996b2ea420ec4f4
xaxisx has joined #ruby
rattatmatt has joined #ruby
aef has joined #ruby
FooMunki has quit [Quit: FooMunki]
<apeiros> apes: can't judge how idiomatic code is when you take it out of context.
idefine has joined #ruby
graffix has left #ruby [#ruby]
FooMunki has joined #ruby
<apes> apeiros: I'm not sure there is more context to provide - it's about constructing an array from variables and other arrays
IrishGringo has joined #ruby
stunder001 has joined #ruby
<apes> Would something like `result = [foo, bar] + baz` be better?
jokester has joined #ruby
elifoster has quit [Ping timeout: 264 seconds]
<mwlang> I’m fine with both, but probably prefer the latter.
BLuEGoD has quit [Ping timeout: 260 seconds]
<mwlang> I tend to think of splatting arrays as digging deeper into the facilities of the language than I need to.
<smathy> Latter is clearer, I tend to use the simplest operators where possible and no significant disadvantage. Not a comment on whether either is idiomatic.
<smathy> Heh, we're "tend"ing :)
<mwlang> LMAO
<mwlang> I guess its true, then. Why get fancy when you don’t need to?
<smathy> Exactly.
<smathy> We're not writing Perl after all.
tenderlove has joined #ruby
* apeiros wouldn't consider [foo, bar, *baz] fancy
<smathy> You came from a Perl background right?
<apeiros> that's quite long ago
B1n4r10 has quit [Ping timeout: 244 seconds]
* smathy nods as he backs away slowly
skweek has quit [Ping timeout: 248 seconds]
<apeiros> time passes… must be >15y now.
MooseTans has joined #ruby
<smathy> Yeah, about 10 for me.
zenergi has quit [Quit: leaving]
jgrevich has joined #ruby
<smathy> I still say the splat is fancier than the concat.
BLuEGoD has joined #ruby
<smathy> ...I go for simplest unless there's a reason.
citrusfizz has quit [Quit: ChatZilla 0.9.92 [Firefox 45.0.1/20160315153207]]
BLuEGoD is now known as Guest61911
trinaldi has quit [Quit: WeeChat 1.5-dev]
mrgrieves has joined #ruby
gizmore has quit [Ping timeout: 276 seconds]
skweek has joined #ruby
Dimik has joined #ruby
pwnd_nsfw` is now known as pwnd_nsfw
maletor has quit [Quit: Computer has gone to sleep.]
<apes> Thank you for your input!
halfamind has quit [Read error: Connection reset by peer]
MooseTans is now known as moosetans
halfamind has joined #ruby
mhoungbo has joined #ruby
B1n4r10 has joined #ruby
<shevy> apeiros did you not also wrote some 50.000 lines of php code or something :D
skade has quit [Quit: Computer has gone to sleep.]
<apeiros> you're referring to my framework. I probably wrote way beyond 50kLoC of PHP in my life
skade has joined #ruby
Eiam_ has joined #ruby
Breaking_Pitt has joined #ruby
jaruga has joined #ruby
jaruga is now known as jaruga_
<mwlang> for me, splatting is akin to passing by value vs. passing by reference in compiled languages, or more specificaly in my case with Delphi/Pascal. When prefixing a parameter passed into a method, we were in-effect, bypassing potential compiler warnings/checks that would otherwise prevent you sending an unknown oject type into the method. You then also as the programmer, be aware of what you were doing inside that method and correctly handle tho
<mwlang> special parameters.
infernix has joined #ruby
Snowy has joined #ruby
<mwlang> granted that’s not quite the same with Ruby’s splat operator, but *something still makes me stand up and pay attention.
<shevy> *cats
<shevy> stand up and pay attention to cats mwlang!
<mwlang> :-o
<mwlang> cats have claws.
jenrzzz has quit [Ping timeout: 252 seconds]
Salve has joined #ruby
Guest61911 has quit [Ping timeout: 276 seconds]
barajasfab has joined #ruby
jaruga_ has quit [Quit: jaruga_]
Guest38 has quit [Ping timeout: 244 seconds]
jenrzzz has joined #ruby
Salve has quit [Ping timeout: 268 seconds]
<djellemah> >> ha = {dog: 1, cat: 2}; {**ha, eek: 3} # what's mwlang's altitude now?
<ruby[bot]> djellemah: # => {:dog=>1, :cat=>2, :eek=>3} (https://eval.in/541508)
weemsledeux has quit [Quit: Textual IRC Client: www.textualapp.com]
nettoweb has joined #ruby
* mwlang floored
skade has quit [Quit: Computer has gone to sleep.]
<djellemah> ^5 noice
drewo has joined #ruby
<eam> splatting is a throwback to perl's list context
anirban has quit [Quit: Konversation terminated!]
<eam> in perl, list types are splatted by default
n008f4g_ has quit [Ping timeout: 244 seconds]
blackgoat has joined #ruby
johnmilton has quit [Quit: Namaste]
weaksauce has joined #ruby
ur5us has joined #ruby
andersh_ has quit []
wldcordeiro has quit [Ping timeout: 240 seconds]
anders__ has joined #ruby
anders__ has quit [Client Quit]
SCHAAP137 has quit [Quit: Leaving]
DonOtreply has joined #ruby
drewo has quit [Quit: WeeChat 1.2]
drewo has joined #ruby
yqt has joined #ruby
Breaking_Pitt has quit [Read error: Connection reset by peer]
anders__ has joined #ruby
ruby-lang400 has joined #ruby
baweaver has quit [Remote host closed the connection]
moosetans has quit [Ping timeout: 246 seconds]
<ruby-lang400> I have two int values from a MySQL recordset that I'm trying to compare using if a > b etc but am getting incositent results can anyone help?
<ruby-lang400> for example sometimes i get 9 > 24 is true!
ascarter has joined #ruby
<blandflakes> ruby-lang400: that sounds like string comparison
halfamind has quit [Read error: Connection reset by peer]
<blandflakes> what's the type of those values?
halfamind has joined #ruby
kfpratt has joined #ruby
<ruurd> > 9.isa
<blandflakes> >> result = "9" > "24"
<ruby[bot]> blandflakes: # => true (https://eval.in/541514)
anders__ has quit [Client Quit]
f3ttX] has joined #ruby
<ruurd> >> 9.isa
<ruby[bot]> ruurd: # => undefined method `isa' for 9:Fixnum ...check link for more (https://eval.in/541515)
<ruurd> >> 9.is_a
<ruby[bot]> ruurd: # => undefined method `is_a' for 9:Fixnum ...check link for more (https://eval.in/541516)
Ikzi has joined #ruby
mistermocha has joined #ruby
<blandflakes> >> 9.class
<ruby[bot]> blandflakes: # => Fixnum (https://eval.in/541517)
<ruurd> >> 9.is_a?
andersh has joined #ruby
<ruby[bot]> ruurd: # => wrong number of arguments (given 0, expected 1) (ArgumentError) ...check link for more (https://eval.in/541518)
<apeiros> ?experiments ruurd
<ruby[bot]> apeiros: I don't know anything about experiments
<apeiros> ?experiment ruurd
<ruby[bot]> ruurd: Please use your local irb or pry (see ?pry) to experiment, ruboto's eval functionality is for demonstration purposes only.
nando293921 has quit [Ping timeout: 248 seconds]
<ruurd> hah. malle bot
biberu has quit []
Scriptonaut has left #ruby [#ruby]
r00by has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
<ruby-lang400> blandflakes - I set'em first with a = 0 and b= 0 then assign the MySQL values using a = valuea and b = valueb then do if a<b then...
Ikri has quit [Ping timeout: 250 seconds]
<apeiros> ruby-lang400: that a=0 and b=0 is pointless
<smathy> ruby-lang400, right, setting them to integers first makes no difference to what you (probably) assign to them later.
skade has joined #ruby
<blandflakes> yup. what is the type of valuea?
<smathy> ruby-lang400, after doing the a = valuea do a a.class
nofxx has quit [Ping timeout: 240 seconds]
Disavowed has joined #ruby
skade has quit [Client Quit]
nofxx has joined #ruby
biberu has joined #ruby
<smathy> (like log, puts, view in debugger, etc)
a11 has quit [Remote host closed the connection]
darkf has joined #ruby
andikr has quit [Remote host closed the connection]
yfeldblum has quit [Read error: Connection reset by peer]
mistermocha has quit [Ping timeout: 240 seconds]
ixti has joined #ruby
yfeldblum has joined #ruby
cd-rum has joined #ruby
a11 has joined #ruby
DonOtreply is now known as moosetans
dionysus69 has quit [Ping timeout: 276 seconds]
crdpink2 has quit [Read error: Connection reset by peer]
crdpink2 has joined #ruby
IrishGringo has quit [Ping timeout: 240 seconds]
wldcordeiro has joined #ruby
<ruby-lang400> blandflakes - aha a.class gives me string! I'll go read how to convert to an int - thankyou!!
chipotle has quit [Ping timeout: 240 seconds]
<blandflakes> ruby-lang400: best of luck. Worth mentioning that if these are actually numbers, it may be worth revisiting the schema of your table
<ruby-lang400> blankflakes - the MySQL values are from Select Count() so I expected them to be ints
baweaver has joined #ruby
nettoweb has quit [Excess Flood]
phatypus has joined #ruby
IrishGringo has joined #ruby
<blandflakes> could be a library thing - i'm not super familiar with most interfaces with mysql
<blandflakes> in any case, now that you have the cause, you should be able to figure it out :)
Es0teric has quit [Quit: Computer has gone to sleep.]
boontdustie has quit [Remote host closed the connection]
fullofca_ has quit [Remote host closed the connection]
moei has quit [Quit: Leaving...]
Breaking_Pitt has joined #ruby
phatypus has quit [Client Quit]
chipotle has joined #ruby
smathy has quit [Ping timeout: 276 seconds]
graffix has joined #ruby
smathy_ has joined #ruby
Xiti has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
a11 has quit [Remote host closed the connection]
dtzuzu has quit [Quit: WeeChat 1.3]
Guest61911 has joined #ruby
smathy_ is now known as smathy
dtzuzu has joined #ruby
chrisja has joined #ruby
skweek has quit [Ping timeout: 244 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
swills has quit [Ping timeout: 244 seconds]
djbkd has quit [Remote host closed the connection]
maletor has joined #ruby
chipotle has quit [Max SendQ exceeded]
graffix has left #ruby [#ruby]
a11 has joined #ruby
chipotle has joined #ruby
mrgrieves has quit [Ping timeout: 260 seconds]
Guest61911 has quit [Ping timeout: 246 seconds]
oncall-pokemon has quit [Quit: Connection closed for inactivity]
whippythellama has quit [Quit: WeeChat 1.4]
codecop has quit [Quit: Išeinu]
Antiarc_ is now known as Antiarc
andywojo has joined #ruby
ta_ has joined #ruby
neilhwatson has quit [Quit: leaving]
ruby-lang400 has quit [Quit: Page closed]
cpruitt has quit [Quit: cpruitt]
B1n4r10 has quit [Ping timeout: 244 seconds]
moosetans has quit [Quit: moosetans]
Musashi007 has joined #ruby
xaxisx has quit [Quit: xaxisx]
stannard has quit [Remote host closed the connection]
smathy_ has joined #ruby
smathy has quit [Ping timeout: 260 seconds]
axl_ has quit [Quit: axl_]
smathy_ is now known as smathy
baweaver has quit [Remote host closed the connection]
rbennacer has quit [Remote host closed the connection]
axl_ has joined #ruby
rbennacer has joined #ruby
<mwlang> well, I think I found the source of my limitation on the XML parsing. appears to be coming straight from libxml2. When I use the libxml-ruby gem (which I understand nokogiri also does) and pass in the document, I immediately hit upon this error: Fatal error: internal error: Huge input lookup at :53.
rbennacer has quit [Remote host closed the connection]
fevrbd has quit [Ping timeout: 248 seconds]
rbennacer has joined #ruby
rbennacer has quit [Remote host closed the connection]
skade has joined #ruby
Eiam has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
benlieb has joined #ruby
smathy has quit [Ping timeout: 244 seconds]
DrCode has quit [Ping timeout: 276 seconds]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mostlybadfly has quit [Quit: Connection closed for inactivity]
ascarter has joined #ruby
skade has quit [Client Quit]
B1n4r10 has joined #ruby
but3k4 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
a11 has quit [Remote host closed the connection]
stannard has joined #ruby
a11 has joined #ruby
ascarter has quit [Client Quit]
n008f4g_ has joined #ruby
moeabdol4 has joined #ruby
Musashi007 has quit [Quit: Musashi007]
smathy has joined #ruby
lkba has quit [Remote host closed the connection]
camilasann has quit [Remote host closed the connection]
stannard has quit [Ping timeout: 244 seconds]
ramfjord has joined #ruby
ldnunes has quit [Quit: Leaving]
ffgghh has quit [Ping timeout: 244 seconds]
tubuliferous has quit [Ping timeout: 248 seconds]
jmignault has quit [Ping timeout: 248 seconds]
krz has quit [Ping timeout: 246 seconds]
djbkd has joined #ruby
djbkd has quit [Read error: Connection reset by peer]
`tim` has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
djbkd has joined #ruby
ascarter has joined #ruby
tubuliferous has joined #ruby
ivanskie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ivanskie has joined #ruby
Musashi007 has joined #ruby
B1n4r10 has quit [Quit: Lost terminal]
Guest61911 has joined #ruby
prestorium has quit [Excess Flood]
AlexRussia has joined #ruby
yfeldblum has quit [Remote host closed the connection]
bob434 has quit [Quit: This computer has gone to sleep]
bob434 has joined #ruby
yfeldblum has joined #ruby
Musashi007 has quit [Quit: Musashi007]
whippythellama has joined #ruby
wldcordeiro has quit [Ping timeout: 246 seconds]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bluOxigen_ has joined #ruby
benlieb has quit [Quit: benlieb]
camilasan has joined #ruby
bluOxigen has quit [Ping timeout: 244 seconds]
noy|b has joined #ruby
dgncn_ is now known as dgncn
ta_ has quit [Remote host closed the connection]
chouhoulis has quit [Remote host closed the connection]
Musashi007 has joined #ruby
ramfjord_ has joined #ruby
chouhoulis has joined #ruby
ziyadb has joined #ruby
IrishGringo has quit [Ping timeout: 260 seconds]
Lomex has joined #ruby
ramfjord has quit [Ping timeout: 244 seconds]
Karix has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
blandflakes has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
jdawgaz has joined #ruby
a11 has quit [Remote host closed the connection]
tvw has joined #ruby
firstdayonthejob has quit [Quit: WeeChat 1.4]
chouhoulis has quit [Ping timeout: 248 seconds]
diegoaguilar has quit [Ping timeout: 276 seconds]
firstdayonthejob has joined #ruby
skade has joined #ruby
fullofcaffeine has joined #ruby
prestorium has joined #ruby
cdg has joined #ruby
stunder001 has quit [Read error: Connection reset by peer]
elifoster has joined #ruby
firstdayonthejob has quit [Read error: Connection reset by peer]
mostlybadfly has joined #ruby
dhollinger has quit [Quit: WeeChat 1.4]
stunder001 has joined #ruby
tubuliferous has quit [Ping timeout: 246 seconds]
wldcordeiro has joined #ruby
stannard_ has joined #ruby
solars has quit [Ping timeout: 246 seconds]
ascarter has joined #ruby
a11 has joined #ruby
stannard_ has quit [Remote host closed the connection]
Breaking_Pitt has quit [Read error: Connection reset by peer]
mhoungbo has quit [Remote host closed the connection]
gizmore has joined #ruby
FooMunki has quit [Quit: FooMunki]
diegoaguilar has joined #ruby
Musashi007 has quit [Quit: Musashi007]
FooMunki has joined #ruby
SCHAAP137 has joined #ruby
mwlang has quit [Quit: mwlang]
firstdayonthejob has joined #ruby
fevrbd has joined #ruby
[Butch] has quit [Quit: I'm out . . .]
Noxilex has joined #ruby
gizmore has quit [Ping timeout: 276 seconds]
Musashi007 has joined #ruby
Breaking_Pitt has joined #ruby
DrCode has joined #ruby
mary5030 has quit [Remote host closed the connection]
baweaver has joined #ruby
choke has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
solars has joined #ruby
jenrzzz_ has joined #ruby
stannard has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
djbkd has quit [Remote host closed the connection]
Breaking_Pitt has quit [Read error: Connection reset by peer]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Breaking_Pitt has joined #ruby
baweaver has quit [Ping timeout: 252 seconds]
finisherr has quit [Quit: finisherr]
idefine_ has joined #ruby
finisherr has joined #ruby
stannard has quit [Ping timeout: 246 seconds]
freerobby has quit [Quit: Leaving.]
Musashi007 has quit [Quit: Musashi007]
choke has joined #ruby
idefine has quit [Ping timeout: 244 seconds]
tvw has quit []
ChiefAlexander has quit [Quit: Leaving...]
djbkd has joined #ruby
tubuliferous has joined #ruby
bricker has quit [Ping timeout: 244 seconds]
Suntzu has quit [Read error: Connection reset by peer]
fullofcaffeine has quit [Remote host closed the connection]
Guest61911 has quit [Ping timeout: 246 seconds]
idefine_ has quit [Ping timeout: 276 seconds]
last_staff has quit [Quit: last_staff]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
benlieb has joined #ruby
idefine has joined #ruby
huddy has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Breaking_Pitt has quit [Read error: Connection reset by peer]
Breaking_Pitt has joined #ruby
polysics has joined #ruby
Musashi007 has joined #ruby
ascarter has joined #ruby
choke has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
noy|b has left #ruby ["Leaving"]
BtcBen has quit [Ping timeout: 252 seconds]
Musashi007 has quit [Client Quit]
drewo has quit [Ping timeout: 246 seconds]
ivanskie has quit [Quit: Textual IRC Client: www.textualapp.com]
fullofca_ has joined #ruby
ascarter has quit [Client Quit]
lannonbr has quit [Quit: WeeChat 1.0.1]
lannonbr has joined #ruby
nando293921 has joined #ruby
drewo has joined #ruby
choke has joined #ruby
jenrzzz_ has quit [Ping timeout: 248 seconds]
tubuliferous has quit [Ping timeout: 240 seconds]
ascarter has joined #ruby
floatingpoint has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
idefine has quit [Ping timeout: 252 seconds]
idefine has joined #ruby
moeabdol4 has quit [Quit: WeeChat 1.4]
ascarter has quit [Client Quit]
baweaver has joined #ruby
ta_ has joined #ruby
jjturner has quit [Ping timeout: 248 seconds]
rbennacer has joined #ruby
ascarter has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
bricker has joined #ruby
mistermocha has joined #ruby
moeabdol has joined #ruby
jottr has quit [Ping timeout: 248 seconds]
jottr_ has joined #ruby
htmldrum has joined #ruby
htmldrum_ has joined #ruby
chouhoulis has joined #ruby
LoneHerm_ has joined #ruby
wethu has joined #ruby
rbennacer has quit [Ping timeout: 276 seconds]
dfockler has joined #ruby
chouhoulis has quit [Ping timeout: 246 seconds]
idefine_ has joined #ruby
idefine has quit [Ping timeout: 244 seconds]
Suntzu has joined #ruby
zenlot has joined #ruby
tubuliferous has joined #ruby
zenlot6 has quit [Ping timeout: 240 seconds]
nocontrol has joined #ruby
htmldrum_ has quit [Ping timeout: 240 seconds]
htmldrum has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
ta_ has quit [Remote host closed the connection]
diegoaguilar has quit [Read error: Connection reset by peer]
idefine_ has quit [Ping timeout: 248 seconds]
idefine has joined #ruby
htmldrum has joined #ruby
htmldrum_ has joined #ruby
diegoaguilar has joined #ruby
A124 has quit [Ping timeout: 276 seconds]
idefine has quit [Remote host closed the connection]
stannard has joined #ruby
rkazak has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
axl_ has quit [Ping timeout: 244 seconds]
aeterne has joined #ruby
faelkle has quit [Quit: leaving]
axl_ has joined #ruby
Es0teric has joined #ruby
jgpawletko has joined #ruby
htmldrum_ has quit [Ping timeout: 252 seconds]
htmldrum has quit [Ping timeout: 252 seconds]
wldcordeiro has quit [Ping timeout: 248 seconds]
Breaking_Pitt has quit [Read error: Connection reset by peer]
rkazak has quit [Ping timeout: 260 seconds]
saneax_AFK is now known as saneax
halfamind has quit [Quit: Leaving.]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
a11 has quit [Remote host closed the connection]
Es0teric has quit [Ping timeout: 264 seconds]
whippythellama has quit [Quit: WeeChat 1.4]
Breaking_Pitt has joined #ruby
fullofcaffeine has joined #ruby
axl_ has quit [Ping timeout: 252 seconds]
moei has joined #ruby
fullofca_ has quit [Ping timeout: 268 seconds]
stunder001 has quit [Quit: WeeChat 1.4]
intrigueD has joined #ruby
uglybandersnatch has joined #ruby
rattatmatt has quit []
halfamind has joined #ruby
jjturner has joined #ruby
halfamind has quit [Client Quit]
mallu has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
Don_John has joined #ruby
floatingpoint has joined #ruby
axl_ has joined #ruby
kies has joined #ruby
epochwolf has quit [Ping timeout: 240 seconds]
znz_jp has quit [Ping timeout: 240 seconds]
edwinvdgraaf has joined #ruby
cschneid- has quit [Ping timeout: 240 seconds]
jokke has quit [Ping timeout: 240 seconds]
avenj has quit [Ping timeout: 240 seconds]
choke has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Noxilex has quit [Ping timeout: 252 seconds]
stannard has quit [Remote host closed the connection]
znz_jp has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
Disavowed has quit [Ping timeout: 248 seconds]
rbennacer has joined #ruby
borkdude has quit [Ping timeout: 268 seconds]
Uber|Dragon has joined #ruby
epochwolf has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cschneid_ has joined #ruby
borkdude has joined #ruby
mary5030 has joined #ruby
<Radar> Code golf time: is there a shorter way of checking if all the values in a hash are nil? than: values.flatten.none?
rbennacer has quit [Remote host closed the connection]
<Radar> oh, maybe values.all(&:nil?)
<Radar> With a question mark on the all, of courser
n008f4g_ has quit [Ping timeout: 244 seconds]
JoshGlzBrk has joined #ruby
nocontrol has quit [Remote host closed the connection]
<darix> Radar: select {|k,v| !v.nil? }.empty?
mary5030 has quit [Ping timeout: 264 seconds]
baweaver has quit [Remote host closed the connection]
<Radar> darix: It's not shorter.
<Radar> Not shorter than values.all?(&:nil?) anyway
jottr_ is now known as jottr
maletor has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baweaver has joined #ruby
devbug has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jokke has joined #ruby
jdawgaz has joined #ruby
jottr has quit [Remote host closed the connection]
<darix> Radar: .all?{|k,v| v.nil? }
<Radar> darix: Please look up "Code Golf" on Google.
<Radar> darix: Your solution is 20 characters, mine is 19.
choke has joined #ruby
<Radar> Even with the spaces removed, it's only 18 characters and I'm not going for most ugly.
<Radar> I want the shortest, most legible example.
<darix> actually if you take out the space also 19
<darix> a.all?{|k,v|v.nil?}
Breaking_Pitt has quit [Read error: Connection reset by peer]
jottr has joined #ruby
<darix> readability-- though
silentpost has joined #ruby
baweaver has quit [Ping timeout: 252 seconds]
<smathy> none?{|k,v|v}
<Radar> gg smathy
<smathy> none? &:last
<Radar> Too golfy :P
<smathy> "Code golf time"
drewo has quit [Ping timeout: 250 seconds]
<ytti> so you ask specifically golf solution
postmodern has joined #ruby
<Radar> Oh hey pedants what's up
<Radar> [10:21:45] <Radar>I want the shortest, most legible example.
<ytti> then say every solution that is nto yours, is not acceptable
<Radar> Pedants gonna pedant.
Breaking_Pitt has joined #ruby
<smathy> Heh :)
wldcordeiro has joined #ruby
<shevy> all of that is still way too long!
<smathy> Prove it.
<smathy> The real pedant in me would reject mine because it would also be true for v == false
edwinvdgraaf has quit [Remote host closed the connection]
choke has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
millerti has joined #ruby
Gasher has quit [Ping timeout: 244 seconds]
millerti has quit [Max SendQ exceeded]
blandflakes has joined #ruby
kirun has quit [Quit: Client exiting]
idefine has joined #ruby
stannard has joined #ruby
babblebre has quit [Quit: Connection closed for inactivity]
chouhoulis has joined #ruby
n008f4g_ has joined #ruby
Breaking_Pitt has quit [Read error: Connection reset by peer]
Musashi007 has joined #ruby
uglybandersnatch has quit [Ping timeout: 260 seconds]
choke has joined #ruby
baweaver has joined #ruby
intrigueD has quit [Read error: Connection reset by peer]
jjturner has quit [Ping timeout: 268 seconds]
pawnbox has quit [Remote host closed the connection]
intrigueD has joined #ruby
wldcordeiro has quit [Ping timeout: 268 seconds]
f3ttX] has quit [Remote host closed the connection]
chouhoulis has quit [Ping timeout: 244 seconds]
prestorium has quit [Quit: Leaving]
Breaking_Pitt has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
idefine has quit [Remote host closed the connection]
idefine has joined #ruby
nando293921 has quit [Quit: Lost terminal]
TheGreatGudsby has joined #ruby
nando293921 has joined #ruby
devbug has joined #ruby
silentpost has quit [Quit: leaving]
DLSteve has joined #ruby
cjbottaro has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Gasher has joined #ruby
hotpancakes has joined #ruby
xlegoman has joined #ruby
biberu has quit []
dfockler has quit [Quit: Leaving]
uglybandersnatch has joined #ruby
Musashi007 has quit [Quit: Musashi007]
toretore has joined #ruby
justinweiss has joined #ruby
SCHAAP137 has quit [Quit: Leaving]
choke has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zacts_ has quit [Quit: leaving]
skade has quit [Quit: Computer has gone to sleep.]
wldcordeiro has joined #ruby
Vile` has joined #ruby
zacts has joined #ruby
jeffreylevesque has joined #ruby
<jeffreylevesque> what's the syntax to install a gem package at a specific package version
<jeffreylevesque> for example, `gem install scss_lint==XX.xx.yy`?
Breaking_Pitt has quit [Read error: Connection reset by peer]
Breaking_Pitt has joined #ruby
<havenwood> jeffreylevesque: -v, --version VERSION Specify version of gem to install
a11 has joined #ruby
<havenwood> jeffreylevesque: Like: gem install hola -v 0.0.1
<jeffreylevesque> thank you :) :)
<havenwood> jeffreylevesque: No prob, for more flags see: gem help install
jottr has quit [Ping timeout: 276 seconds]
a11 has quit [Read error: No route to host]
chipotle has quit [Quit: cheerio]
Ropeney has joined #ruby
mykeura has joined #ruby
uglybandersnatch has quit [Ping timeout: 244 seconds]
workmad3 has quit [Ping timeout: 244 seconds]
chipotle has joined #ruby
mikecmpbll has quit [Quit: Textual IRC Client: www.textualapp.com]
hotpancakes has quit [Remote host closed the connection]
cdg has quit [Remote host closed the connection]
<mykeura> Hola, alguien ha podido instalar "rvm" o "rbenv" en Arch Linux?
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> the toplevel namespace, does any of you have some estimate if people are more likely to have it a module or class? module Foobar versus class Foobar? Which one is more likely?
cdg has joined #ruby
barajasfab has quit [Ping timeout: 246 seconds]