havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.4.1, 2.3.4 & 2.2.7: https://www.ruby-lang.org || Paste >3 lines of text to: https://gist.github.com || Rails questions? Ask in: #RubyOnRails || Logs: https://irclog.whitequark.org/ruby || Books: https://goo.gl/wpGhoQ
blackmes1 has quit [Ping timeout: 246 seconds]
skweek has quit [Ping timeout: 264 seconds]
JoshS has quit [Read error: Connection reset by peer]
ColeHub has quit [Quit: Bye.]
polishdub has quit [Quit: leaving]
blackmes1 has joined #ruby
skade_ has quit [Ping timeout: 240 seconds]
Vile` has joined #ruby
nanoz has joined #ruby
jhack has joined #ruby
nanoz has quit [Changing host]
jhack has joined #ruby
jhack has quit [Changing host]
nanoz has joined #ruby
jhack has quit [Client Quit]
Cohedrin has quit [Read error: Connection reset by peer]
jhack has joined #ruby
outreachdan has joined #ruby
blackmesa has joined #ruby
blackmes1 has quit [Ping timeout: 240 seconds]
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
esObe_ has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
Cohedrin has joined #ruby
blackmes1 has joined #ruby
cpruitt has quit [Quit: cpruitt]
dcunit3d has joined #ruby
hotpancakes has joined #ruby
oleo has quit [Quit: irc client terminated!]
blackmesa has quit [Ping timeout: 264 seconds]
gnufied has quit [Ping timeout: 264 seconds]
esObe_ has quit [Ping timeout: 240 seconds]
cagomez has quit [Ping timeout: 255 seconds]
blackmesa has joined #ruby
blackmes1 has quit [Read error: Connection reset by peer]
nitric has quit [Ping timeout: 260 seconds]
Channel6 has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
millerti has joined #ruby
dar123 has joined #ruby
jordanm has quit [Remote host closed the connection]
jordanm has joined #ruby
hotpancakes has quit [Ping timeout: 255 seconds]
bash has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
duderono_ has quit [Ping timeout: 260 seconds]
Cohedrin has quit [Read error: Connection reset by peer]
Cohedrin has joined #ruby
Cohedrin has quit [Read error: Connection reset by peer]
Cohedrin has joined #ruby
Cohedrin has quit [Read error: Connection reset by peer]
patarr has quit [Ping timeout: 255 seconds]
brent__ has quit [Remote host closed the connection]
brent__ has joined #ruby
Cohedrin has joined #ruby
Cohedrin has quit [Read error: Connection reset by peer]
Cohedrin has joined #ruby
nanoz has quit [Quit: <3]
cfec0b8d has quit [Remote host closed the connection]
dar123 has quit [Read error: Network is unreachable]
JoshS has joined #ruby
brent__ has quit [Ping timeout: 246 seconds]
t-recx has quit [Quit: t-recx]
romank has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
milardovich has quit [Ping timeout: 276 seconds]
raspado has quit [Remote host closed the connection]
perniciouscaffei has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
patarr has joined #ruby
Emmanuel_Chanel has quit [Remote host closed the connection]
d^sh has quit [Ping timeout: 276 seconds]
d^sh has joined #ruby
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
Emmanuel_Chanel has joined #ruby
vikaton has quit [Quit: Connection closed for inactivity]
PresidentBiscuit has joined #ruby
boombox_ has joined #ruby
esObe_ has joined #ruby
esObe_ has quit [Ping timeout: 264 seconds]
PresidentBiscuit has quit [Quit: was only here for a minute]
enterprisey has joined #ruby
boombox_ has quit [Remote host closed the connection]
mim1k has joined #ruby
charliesome has joined #ruby
GodFather__ has quit [Read error: Connection reset by peer]
GodFather__ has joined #ruby
skade_ has joined #ruby
levelone has joined #ruby
jenrzzz has quit [Ping timeout: 276 seconds]
PatriqueEtoile has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
bash has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
lxsameer has quit [Quit: WeeChat 1.7]
charliesome has quit [Ping timeout: 255 seconds]
skweek has joined #ruby
Cohedrin has quit [Read error: Connection reset by peer]
GodFather__ has quit [Ping timeout: 240 seconds]
skade_ has quit [Ping timeout: 276 seconds]
Cohedrin has joined #ruby
Channel6 has quit [Quit: Leaving]
hotpancakes has joined #ruby
cagomez has joined #ruby
duderonomy has joined #ruby
charliesome has joined #ruby
Guest21090 is now known as silverdust
silverdust has quit [Changing host]
silverdust has joined #ruby
cagomez has quit [Ping timeout: 240 seconds]
iliketurtles has joined #ruby
brent__ has joined #ruby
dar123 has joined #ruby
skweek has quit [Ping timeout: 276 seconds]
skweek has joined #ruby
gizmore|2 has joined #ruby
jrafanie has joined #ruby
brent__ has quit [Ping timeout: 255 seconds]
nofxx has quit [Remote host closed the connection]
gizmore has quit [Ping timeout: 276 seconds]
nobitanobi has joined #ruby
guardianx has joined #ruby
hotpancakes has quit [Ping timeout: 255 seconds]
jameser has joined #ruby
nobitanobi has quit [Ping timeout: 264 seconds]
dcunit3d has quit [Ping timeout: 255 seconds]
Cohedrin has quit [Read error: Connection reset by peer]
Cohedrin has joined #ruby
patarr has quit [Ping timeout: 255 seconds]
hotpancakes has joined #ruby
User458764 has joined #ruby
hotpancakes has quit [Ping timeout: 246 seconds]
cagomez has joined #ruby
allisio has quit [Quit: WeeChat 1.7.1]
haylon has quit [Ping timeout: 246 seconds]
cagomez has quit [Ping timeout: 268 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
dar123 has quit [Read error: Network is unreachable]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cagomez has joined #ruby
iliketurtles has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
skade_ has joined #ruby
millerti has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cagomez has quit [Ping timeout: 276 seconds]
apparition has joined #ruby
skade_ has quit [Ping timeout: 255 seconds]
roamingdog has joined #ruby
LastWhisper__ has quit [Quit: Leaving]
roamingdog has quit [Ping timeout: 276 seconds]
nicesignal has quit [Remote host closed the connection]
nicesignal has joined #ruby
apparition has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cschneid_ has joined #ruby
esObe_ has joined #ruby
gix has quit [Ping timeout: 260 seconds]
wopi has quit [Remote host closed the connection]
Raboo has quit [Ping timeout: 240 seconds]
dcunit3d has joined #ruby
wopi has joined #ruby
Raboo has joined #ruby
PatriqueEtoile is now known as Ksawerek
ddffg has quit [Ping timeout: 240 seconds]
esObe_ has quit [Ping timeout: 246 seconds]
gix has joined #ruby
axyjo has quit [Quit: Textual IRC Client: www.textualapp.com]
rvaiya_ has quit [Quit: leaving]
rkazak has quit [Quit: Sleep.....ing....]
jenrzzz has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hotpancakes has joined #ruby
duderonomy has quit [Ping timeout: 255 seconds]
iliketurtles has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
mim1k has joined #ruby
Guest96 has quit [Remote host closed the connection]
Guest96 has joined #ruby
jenrzzz has joined #ruby
zacts has joined #ruby
bash has joined #ruby
charliesome has joined #ruby
GinoMan has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
bash has quit [Client Quit]
Vile` has quit [Ping timeout: 276 seconds]
hotpancakes has quit [Ping timeout: 276 seconds]
Cohedrin has quit [Read error: Connection reset by peer]
JeanCarloMachado has joined #ruby
enterprisey_ has joined #ruby
enterprisey has quit [Read error: Connection reset by peer]
Cohedrin has joined #ruby
brent__ has joined #ruby
roamingdog has joined #ruby
Coldblackice has quit [Ping timeout: 260 seconds]
apparition has joined #ruby
roamingdog has quit [Ping timeout: 240 seconds]
amclain has quit [Quit: Leaving]
hotpancakes has joined #ruby
hndk has joined #ruby
brent__ has quit [Remote host closed the connection]
Jayson_Virissimo has joined #ruby
ski7777 has quit [Ping timeout: 260 seconds]
petruff1 has quit [Ping timeout: 240 seconds]
Guest96 has quit [Remote host closed the connection]
Guest96 has joined #ruby
hotpancakes has quit [Ping timeout: 246 seconds]
latemus has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
latemus has quit [Client Quit]
truenito has joined #ruby
JeanCarloMachado has quit [Ping timeout: 276 seconds]
iliketurtles has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mim1k has joined #ruby
davic has quit [Quit: Connection closed for inactivity]
truenito has quit [Remote host closed the connection]
mim1k has quit [Ping timeout: 264 seconds]
renchan has joined #ruby
guardianx has quit [Ping timeout: 260 seconds]
GinoMan has quit [Ping timeout: 240 seconds]
jusa has joined #ruby
xx00__ has joined #ruby
pifon has joined #ruby
xx00__ has quit [Quit: xx00__]
perniciouscaffei has joined #ruby
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
esObe_ has joined #ruby
astrobunny has joined #ruby
hotpancakes has joined #ruby
Bock has joined #ruby
esObe_ has quit [Ping timeout: 276 seconds]
levelone has quit [Ping timeout: 260 seconds]
esObe_ has joined #ruby
esObe_ has quit [Ping timeout: 240 seconds]
davic has joined #ruby
enterprisey_ has quit [Quit: Leaving]
Coldblackice has joined #ruby
esObe_ has joined #ruby
hotpancakes has quit [Ping timeout: 246 seconds]
esObe_ has quit [Ping timeout: 268 seconds]
Jamo has joined #ruby
Sembei has quit [Read error: No route to host]
Sembei has joined #ruby
jameser has quit [Ping timeout: 240 seconds]
cschneid_ has quit [Remote host closed the connection]
nobodyzxc has joined #ruby
jameser has joined #ruby
Cohedrin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
anisha has joined #ruby
astrobunny has quit [Read error: Connection reset by peer]
raspado has joined #ruby
skade_ has joined #ruby
Cohedrin has joined #ruby
raspado has quit [Remote host closed the connection]
bernd9000 has quit [Remote host closed the connection]
raspado has joined #ruby
djbkd_ has joined #ruby
iliketurtles has joined #ruby
raspado has quit [Ping timeout: 276 seconds]
djbkd_ has quit [Ping timeout: 260 seconds]
hndk has quit [Quit: Leaving]
nobitanobi has joined #ruby
apparition has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jusa has quit [Ping timeout: 255 seconds]
nobitanobi has quit [Ping timeout: 276 seconds]
Jayson_Virissimo has quit []
unshadow has joined #ruby
apparition has joined #ruby
iliketurtles has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nobodyzxc has quit [Quit: leaving]
u0_a170 has quit [Remote host closed the connection]
bsartek has joined #ruby
last_staff has joined #ruby
roamingdog has joined #ruby
guardianx has joined #ruby
P1ro has joined #ruby
<foxmask> bonjello
roamingdog has quit [Ping timeout: 276 seconds]
antgel has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 268 seconds]
Mortomes|Work has joined #ruby
bash has joined #ruby
bash has quit [Client Quit]
iliketurtles has joined #ruby
conta has joined #ruby
apparition has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bsartek has quit [Quit: This computer has gone to sleep]
AnoHito has quit [Quit: Leaving]
mtkd has quit [Read error: Connection reset by peer]
mtkd has joined #ruby
gusrub has quit [Remote host closed the connection]
jenrzzz has joined #ruby
gusrub has joined #ruby
User458764 has joined #ruby
gusrub has quit [Client Quit]
iliketurtles has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
apparition has joined #ruby
skade_ has quit [Ping timeout: 240 seconds]
aufi has joined #ruby
esObe_ has joined #ruby
esObe_ has quit [Ping timeout: 240 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
patarr has joined #ruby
hays_ has joined #ruby
hays_ has joined #ruby
guardianx has quit [Read error: Connection reset by peer]
nowhereman has quit [Ping timeout: 260 seconds]
perniciouscaffei has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
patarr has quit [Ping timeout: 276 seconds]
antgel has joined #ruby
guardianx has joined #ruby
guardianx has quit [Read error: Connection reset by peer]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
guardianx has joined #ruby
hotpancakes has joined #ruby
guardianxx has joined #ruby
guardianx has quit [Read error: Connection reset by peer]
dionysus69 has joined #ruby
Frites has joined #ruby
guardianxx has quit [Read error: Connection reset by peer]
duderonomy has joined #ruby
skade_ has joined #ruby
mark_66 has joined #ruby
SenpaiSilver has joined #ruby
hotpancakes has quit [Ping timeout: 255 seconds]
blackmesa has joined #ruby
User458764 has joined #ruby
andikr has joined #ruby
dionysus70 has joined #ruby
dcunit3d has quit [Ping timeout: 240 seconds]
guardianxx has joined #ruby
dionysus69 has quit [Ping timeout: 260 seconds]
dionysus70 is now known as dionysus69
charliesome has joined #ruby
nadir has joined #ruby
guardianxx has quit [Read error: Connection reset by peer]
guardianxx has joined #ruby
nhhc has joined #ruby
mim1k has joined #ruby
cschneid_ has joined #ruby
esObe_ has joined #ruby
cschneid_ has quit [Ping timeout: 258 seconds]
z3uS has quit [Ping timeout: 240 seconds]
guardianxx has quit [Ping timeout: 268 seconds]
guardianxx has joined #ruby
z3uS has joined #ruby
Psycho_Valker has joined #ruby
<Psycho_Valker> i am newbie, what approach should i follow to learn ruby
guardianxx has quit [Read error: Connection reset by peer]
bigkevmcd has joined #ruby
<ljarvis> Psycho_Valker: try here: https://ruby-community.com/pages/links
<Psycho_Valker> ok
tomphp has joined #ruby
<ljarvis> everyone learns differently, so it's up to you to choose your preferred path
<Psycho_Valker> ok i need a book then, cause i am quite well with C++ static language
hotpancakes has joined #ruby
<ljarvis> ok, the books on that page are all good
<ljarvis> I've only not read 1 of them
roamingdog has joined #ruby
<Psycho_Valker> i got the list thank you @ljarvis
postmodern has quit [Quit: Leaving]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
roamingdog has quit [Ping timeout: 246 seconds]
jusa has joined #ruby
tomphp has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
tomphp has quit [Client Quit]
Psycho_Valker has quit [Remote host closed the connection]
hurricanehrndz has quit [Quit: Goodbye]
Psycho_Valker has joined #ruby
nobitanobi has joined #ruby
User458764 has joined #ruby
jaruga has joined #ruby
jusa has quit [Ping timeout: 240 seconds]
hurricanehrndz has joined #ruby
nobitanobi has quit [Read error: Connection reset by peer]
nobitanobi has joined #ruby
mim1k has quit [Ping timeout: 268 seconds]
elsevero has joined #ruby
Silthias has quit [Ping timeout: 276 seconds]
hotpancakes has quit [Ping timeout: 255 seconds]
jsrn_ has joined #ruby
blackmesa has quit [Ping timeout: 268 seconds]
tomphp has joined #ruby
tomphp has quit [Client Quit]
hays_ has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
tomphp has joined #ruby
tomphp has quit [Client Quit]
Silthias has joined #ruby
Burgestrand has joined #ruby
Cohedrin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mim1k has joined #ruby
bsartek has joined #ruby
Cohedrin has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
apparition has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tomphp has joined #ruby
Cohedrin has quit [Client Quit]
blackmesa has joined #ruby
uranellus has quit [Quit: ZNC 1.6.1 - http://znc.in]
apparition has joined #ruby
tomphp has quit [Client Quit]
tomphp has joined #ruby
tomphp has quit [Client Quit]
Cohedrin has joined #ruby
tomphp has joined #ruby
uranellus has joined #ruby
uranellus has joined #ruby
uranellus has quit [Changing host]
xenops has joined #ruby
tomphp has quit [Client Quit]
Pumukel has joined #ruby
tomphp has joined #ruby
Cohedrin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tomphp has quit [Client Quit]
flying has joined #ruby
Beams has joined #ruby
tomphp has joined #ruby
tomphp has quit [Client Quit]
normie1 has joined #ruby
nishiki has quit [Quit: leaving]
<normie1> ruby's rand() is terrible, i have rand(0...8) and it constantly picks 4 (the middle one), how can i improve this?
nishiki has joined #ruby
Beams has quit [Quit: .]
tomphp has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tomphp has quit [Client Quit]
jamesaxl has joined #ruby
Frites has quit [Ping timeout: 240 seconds]
<ljarvis> normie1: every single time?
<ljarvis> >> rand(0...8)
<ruby[bot]> ljarvis: # => 4 (https://eval.in/786045)
<ljarvis> >> rand(0...8)
<ruby[bot]> ljarvis: # => 0 (https://eval.in/786046)
<universa1> res = Hash.new(0); (1..10000).each { res[rand(0..8)] += 1 }; res
<universa1> => {0=>1134, 1=>1135, 6=>1141, 4=>1132, 8=>1105, 7=>1108, 3=>1085, 2=>1079, 5=>1081}
<universa1> looks ok'ish
<ljarvis> seems too even.. :D
roamingdog has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
tomphp has joined #ruby
tomphp has quit [Client Quit]
<universa1> with 2 million draws, the shares are even up to 0.11x
catphish has joined #ruby
hotpancakes has joined #ruby
tvw has joined #ruby
roamingdog has quit [Ping timeout: 276 seconds]
<normie1> ljarvis no but 30%, think im going to go with .shuffle.first on my array, seems more reliable
<canton7> normie1, bear in mind, a human's perception of what "random" is can be quite wrong. real randomness "feels" less random than we expect
<ljarvis> normie1: .sample
<ljarvis> yeah, true randomness from human perspective is incredibly tough
<canton7> people who make media players have to come up with their own "random" algorithms for shuffle play, which is far from random. Otherwise people complain that it's not random enough
patarr has joined #ruby
normie1 has quit [Quit: Textual IRC Client: www.textualapp.com]
blackmesa has quit [Ping timeout: 260 seconds]
ddffg has joined #ruby
patarr has quit [Ping timeout: 240 seconds]
hotpancakes has quit [Ping timeout: 246 seconds]
tomphp has joined #ruby
User458764 has joined #ruby
apparition has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
apparition has joined #ruby
apparition has quit [Client Quit]
apparition has joined #ruby
apparition has quit [Client Quit]
apparition has joined #ruby
apparition has quit [Client Quit]
apparition has joined #ruby
lxsameer has joined #ruby
tomphp has quit [Client Quit]
apparition has quit [Client Quit]
apparition has joined #ruby
apparition has quit [Client Quit]
apparition has joined #ruby
lel has quit [Ping timeout: 255 seconds]
apparition has quit [Client Quit]
lel has joined #ruby
auzty has joined #ruby
tvw has quit [Ping timeout: 276 seconds]
tvw has joined #ruby
haxrbyte has joined #ruby
haxrbyte has quit [Client Quit]
arooni has quit [Excess Flood]
djuber`` has joined #ruby
arooni_team_b has joined #ruby
djuber` has quit [Write error: Broken pipe]
dcunit3d has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
skade_ has quit [Ping timeout: 276 seconds]
toretore has joined #ruby
dcunit3d has quit [Ping timeout: 268 seconds]
tomphp has joined #ruby
romank has joined #ruby
tomphp has quit [Client Quit]
MrBusiness has quit [Ping timeout: 264 seconds]
auzty has quit [Quit: Leaving]
Robtop__ has joined #ruby
ferr has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 260 seconds]
Guest96 has quit [Remote host closed the connection]
Guest96 has joined #ruby
pwnd_nsfw` has joined #ruby
Psycho_Valker has quit [Ping timeout: 240 seconds]
BTRE has quit [Ping timeout: 260 seconds]
yogg-saron has joined #ruby
Robtop__ has quit [Ping timeout: 268 seconds]
charliesome has joined #ruby
jusa has joined #ruby
cfec0b8d has joined #ruby
jusa has quit [Ping timeout: 240 seconds]
tomphp has joined #ruby
skade_ has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tomphp has joined #ruby
pandaant has joined #ruby
tomphp has quit [Client Quit]
t-recx has joined #ruby
tomphp has joined #ruby
Psycho_Valker has joined #ruby
tomphp has quit [Client Quit]
bsartek has quit [Quit: This computer has gone to sleep]
jameser has quit [Ping timeout: 255 seconds]
Silox| has joined #ruby
Seenox has quit [Ping timeout: 260 seconds]
tvw has quit [Ping timeout: 276 seconds]
tomphp has joined #ruby
tomphp has quit [Client Quit]
bsartek has joined #ruby
tvw has joined #ruby
hotpancakes has joined #ruby
bash has joined #ruby
tomphp has joined #ruby
bash has quit [Client Quit]
tomphp has quit [Client Quit]
BSAlb has joined #ruby
BSaboia has quit [Ping timeout: 264 seconds]
blackmesa has joined #ruby
aupadhye has joined #ruby
andikr has quit [Remote host closed the connection]
hotpancakes has quit [Ping timeout: 258 seconds]
mim1k has quit [Read error: Connection reset by peer]
jackrandom has joined #ruby
tomphp has joined #ruby
Mia has quit [Read error: Connection reset by peer]
patarr has joined #ruby
pmyjavec has joined #ruby
flying has quit [Read error: Connection reset by peer]
flying has joined #ruby
brent__ has joined #ruby
patarr has quit [Ping timeout: 255 seconds]
brent__ has quit [Ping timeout: 260 seconds]
<pmyjavec> Hey all, if I make my own collection using Enumerable, I end up with a problem, that is methods such as #select, return an object of a different class! So if my colleciton has a custom to_h method set, for example, it's no longer available.
<pmyjavec> How do others work around this?
DuivesteijnM has joined #ruby
bataii has joined #ruby
nowhereman has joined #ruby
jhass has quit [Ping timeout: 264 seconds]
jhass has joined #ruby
Rutix has quit [Ping timeout: 240 seconds]
petruff1 has joined #ruby
millerti has joined #ruby
dcunit3d has joined #ruby
andikr has joined #ruby
mim1k has joined #ruby
dcunit3d has quit [Ping timeout: 260 seconds]
rgr has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #ruby
mim1k has quit [Read error: Connection reset by peer]
bernd27 has joined #ruby
jackrandom has quit [Ping timeout: 240 seconds]
bsartek has quit [Quit: This computer has gone to sleep]
truenito has joined #ruby
ldnunes has joined #ruby
guardianx has joined #ruby
hotpancakes has joined #ruby
oleo has joined #ruby
gizmore|2 is now known as gizmore
JeanCarloMachado has joined #ruby
truenito has quit [Remote host closed the connection]
my123 has joined #ruby
my123 has joined #ruby
guardianx has quit [Remote host closed the connection]
guardianx has joined #ruby
my123_ has quit [Ping timeout: 240 seconds]
blackwind_123 has quit [Ping timeout: 276 seconds]
guardianx has quit [Remote host closed the connection]
guardianx has joined #ruby
blackwind_123 has joined #ruby
GinoMan has joined #ruby
User458764 has joined #ruby
endemic has joined #ruby
skweek has quit [Ping timeout: 240 seconds]
neminis has joined #ruby
guardianx has quit [Read error: Connection reset by peer]
jusa has joined #ruby
hotpancakes has quit [Ping timeout: 260 seconds]
ferr has quit [Ping timeout: 260 seconds]
guardianx has joined #ruby
jusa has quit [Ping timeout: 276 seconds]
mim1k has joined #ruby
watersoul_ has quit [Remote host closed the connection]
watersoul has joined #ruby
DuivesteijnM has quit [Ping timeout: 240 seconds]
hotpancakes has joined #ruby
Mortomes|Work has quit [Ping timeout: 260 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Beams has joined #ruby
pmyjavec has quit [Quit: leaving]
jrm has quit [Read error: Connection reset by peer]
jrm has joined #ruby
sepp2k has joined #ruby
hotpancakes has quit [Ping timeout: 260 seconds]
Guest96 has quit [Remote host closed the connection]
conta has quit [Read error: Connection reset by peer]
cfec0b8d has quit [Remote host closed the connection]
conta has joined #ruby
Guest96_ has joined #ruby
ski7777 has joined #ruby
cagomez has joined #ruby
bsartek has joined #ruby
rwb has quit [Ping timeout: 240 seconds]
gnufied has joined #ruby
BTRE has joined #ruby
cagomez has quit [Ping timeout: 260 seconds]
ferr has joined #ruby
cfec0b8d has joined #ruby
<neminis> hello, is there a good way to open an interpreter (pry or irb) every time ruby catches an exception, to assist in debugging?
mim1k has quit [Ping timeout: 255 seconds]
<ljarvis> neminis: binding.pry if you're using pry
GodFather__ has joined #ruby
hotpancakes has joined #ruby
dcunit3d has joined #ruby
flying has quit []
<ljarvis> you can also use IRB.start, but if you want it to be contextual you'll need to do some configuring
<ljarvis> so if you have pry, go for that
gnufied has quit [Quit: Leaving]
<al2o3-cr> binding.irb too
roamingdog has joined #ruby
<ljarvis> wat
<al2o3-cr> it's true
DuivesteijnM has joined #ruby
<ljarvis> that's Ruby 2.4 only?
<al2o3-cr> ljarvis: ah, yes, it might be
<ljarvis> still, til
hotpancakes has quit [Ping timeout: 246 seconds]
dcunit3d has quit [Ping timeout: 260 seconds]
<ljarvis> still haven't moved from 2.3 on anything myself
<ljarvis> >> RUBY_VERSION
<ruby[bot]> ljarvis: # => "2.3.0" (https://eval.in/786272)
<ljarvis> i guess i'm not the only one
cschneid_ has joined #ruby
<al2o3-cr> 2.4.1 for me
<neminis> ljarvis: yes that's what i use already, i need it to be contextual so i am going to look for some documentation about that, thanks
milardovich has joined #ruby
flying has joined #ruby
millerti has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<ljarvis> neminis: this might help: http://stackoverflow.com/a/4987732/310892
* al2o3-cr wonders why eval.in has still not upgraded ruby version
<ljarvis> but yeah, if you're using pry, binding.pry is enough
<ljarvis> dunno, charliesome is prob busy
<al2o3-cr> yeah, most likely
<charliesome> heya
<ljarvis> o/
<charliesome> oh yea i should get on that
<al2o3-cr> sweet :)
cschneid_ has quit [Ping timeout: 240 seconds]
pupsicle has quit [Quit: pupsicle]
pupsicle has joined #ruby
hotpancakes has joined #ruby
gnufied has joined #ruby
guardianx has quit [Remote host closed the connection]
guardianx has joined #ruby
hotpancakes has quit [Ping timeout: 240 seconds]
guardianx has quit [Remote host closed the connection]
rwb has joined #ruby
GinoMan has quit [Quit: Leaving]
GinoMan has joined #ruby
Daneel has joined #ruby
mim1k has joined #ruby
<charliesome> >> RUBY_DESCRIPTION
<ruby[bot]> charliesome: # => "ruby 2.3.0p0 (2015-12-25 revision 53290) [i686-linux]" (https://eval.in/786284)
<charliesome> hrmph
<charliesome> i think maybe the bot needs to be updated too
ben______ has quit [Remote host closed the connection]
GinoMan has quit [Quit: Leaving]
insanedreamer has joined #ruby
hotpancakes has joined #ruby
GinoMan has joined #ruby
andikr has quit [Remote host closed the connection]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
last_staff has quit [Quit: *poof* (until later)]
duckpupp1 has joined #ruby
insanedreamer has left #ruby [#ruby]
Seenox has joined #ruby
patarr has joined #ruby
tomphp has joined #ruby
tomphp has quit [Client Quit]
tomphp has joined #ruby
tomphp has quit [Client Quit]
patarr has quit [Ping timeout: 240 seconds]
uZiel has joined #ruby
<uZiel> hello
<gizmore> hi
tomphp has joined #ruby
<uZiel> I was running a rails server in a VM, then I suspended the vm. Now after unpausing it, the console is gone
<uZiel> how do I connect back to it?
tomphp has quit [Client Quit]
u0_a170 has joined #ruby
guardianx has joined #ruby
tomphp has joined #ruby
__Yiota has joined #ruby
tomphp has quit [Client Quit]
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DuivesteijnM_ has joined #ruby
tomphp has joined #ruby
tomphp has quit [Client Quit]
tomphp has joined #ruby
cdg has joined #ruby
GodFather__ has quit [Ping timeout: 240 seconds]
DuivesteijnM has quit [Ping timeout: 260 seconds]
<Zarthus> ?rails
<ruby[bot]> Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
bash has joined #ruby
milardovich has quit [Remote host closed the connection]
ben_____ has joined #ruby
bash has quit [Client Quit]
p0p0pr37 has quit [Remote host closed the connection]
anisha has quit [Read error: Connection reset by peer]
brent__ has joined #ruby
<uZiel> sure, thanks :)
anisha has joined #ruby
p0p0pr37 has joined #ruby
p0p0pr37 has joined #ruby
p0p0pr37 has quit [Changing host]
uZiel has left #ruby [#ruby]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ben_____ has quit [Ping timeout: 276 seconds]
tomphp has joined #ruby
Ellimist has quit [Ping timeout: 260 seconds]
pandaant has quit [Remote host closed the connection]
<u0_a170> hey anyone knows a community with ruby modules for hacking
pandaant has joined #ruby
brent__ has quit [Ping timeout: 276 seconds]
<gizmore> u0_a170: metasploit?
<u0_a170> yea or just tools
ben_____ has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ramortegui has joined #ruby
roamingdog has quit [Remote host closed the connection]
DLSteve has joined #ruby
roamingdog has joined #ruby
DLSteve has quit [Client Quit]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
DLSteve has joined #ruby
<dminuoso> u0_a170: If you ask for "tools for hacking", you have absolutely nothing in common with the culture behind it, nor do you have any necessary creativity necessary for hacking, and nor do you have even barely the skillset available to do anything of the sorts.
<dminuoso> What you may be looking for is a "bundle for script kiddies that executes prepared attacks on the click of a button"
<dminuoso> Try putting that into google.
guardianx has quit [Ping timeout: 240 seconds]
dionysus70 has joined #ruby
dionysus69 has quit [Ping timeout: 260 seconds]
dionysus70 is now known as dionysus69
guardianx has joined #ruby
millerti has joined #ruby
dlitvak has joined #ruby
milardovich has joined #ruby
outreachdan has quit [Ping timeout: 255 seconds]
milardovich has quit [Client Quit]
Psycho_Valker has quit [Ping timeout: 240 seconds]
Psycho_Valker has joined #ruby
dionysus69 has quit [Ping timeout: 258 seconds]
jaruga has quit [Quit: jaruga]
jaruga has joined #ruby
<kke_> a custom terminal protocol over websockets. a ruby cli to open a terminal over that protocol. how would you handle the later part? somehow reading keypresses and printing whatever comes through the websockets seems wrong. i suppsoe there must be some way, for example by creating some fancy socket thing that handles the connection + protocol and then redirect local stdin/stdout to that instead of reading keypresses in ruby
Ellimist has joined #ruby
__Yiota has joined #ruby
tomphp has joined #ruby
tomphp has quit [Client Quit]
Lavan has quit [Ping timeout: 260 seconds]
<kke_> i have a hunch that the regular telnet/ssh programs are not doing some "until STDIN.eof? { tcp.send(STDIN.getch) }" kind of loop
hotpanca_ has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hotpancakes has quit [Ping timeout: 245 seconds]
__Yiota has joined #ruby
hotpancakes has joined #ruby
patarr has joined #ruby
hotpanca_ has quit [Read error: Connection reset by peer]
apparition has joined #ruby
ben_____ has quit [Remote host closed the connection]
Guest96_ has quit [Ping timeout: 268 seconds]
<kke_> yes i think IO.copy_stream is the answer
patarr has quit [Ping timeout: 260 seconds]
guardianx has quit [Remote host closed the connection]
<kke_> IO.copy_stream stdin, socket in one thread and IO.copy_stream socket, stdout in the other (or some IO.readpartial loop)
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mim1k has quit [Ping timeout: 240 seconds]
lacuna has joined #ruby
ResidentBiscuit has quit [Ping timeout: 268 seconds]
jrafanie has joined #ruby
guardianx has joined #ruby
Silox| has quit [Quit: Connection closed for inactivity]
guardianx has left #ruby [#ruby]
skweek has joined #ruby
pupsicle has quit [Remote host closed the connection]
pupsicle has joined #ruby
thesubr00t has joined #ruby
guardianx has joined #ruby
petruff1 has quit [Quit: WeeChat 1.7.1]
Guest96 has joined #ruby
tomphp has joined #ruby
<thesubr00t> Hi everybody, can someone please help me solve this quiz https://pastebin.com/buZZiUc0
<ruby[bot]> thesubr00t: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/41dcc5863b50e01d4ba3fa14f89ff321
<ruby[bot]> thesubr00t: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
<thesubr00t> Hi everybody, can someone please help me solve this quiz https://gist.github.com/anonymous/41dcc5863b50e01d4ba3fa14f89ff321
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
petruff has joined #ruby
dionysus69 has joined #ruby
blackmes1 has joined #ruby
pandaant has quit [Remote host closed the connection]
oleo has quit [Quit: irc client terminated!]
cpruitt has joined #ruby
guardianx has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 268 seconds]
rkazak has joined #ruby
d10n-work has joined #ruby
ResidentBiscuit has joined #ruby
ResidentBiscuit has quit [Max SendQ exceeded]
dionysus69 has quit [Ping timeout: 276 seconds]
jusa has joined #ruby
ResidentBiscuit has joined #ruby
mim1k has joined #ruby
<ljarvis> thesubr00t: what are you having trouble with?
<thesubr00t> ljarvis, this is my actual code https://github.com/thesubr00t/delivery_router
sysvalve has joined #ruby
__Yiota has joined #ruby
<thesubr00t> I think there is some case missing, example for example when rider is delivering multiple orders, how to calculate the route time correctly
dcunit3d has joined #ruby
Silthias has quit [Ping timeout: 240 seconds]
u0_a170 has quit [Read error: Connection reset by peer]
Silthias has joined #ruby
roonsauce has joined #ruby
yeticry_ has joined #ruby
u0_a170 has joined #ruby
sunya7a has joined #ruby
polysics has quit [Remote host closed the connection]
dcunit3d has quit [Ping timeout: 276 seconds]
yeticry has quit [Ping timeout: 246 seconds]
polysics has joined #ruby
ben_____ has joined #ruby
polishdub has joined #ruby
yeticry_ has quit [Remote host closed the connection]
cfec0b8d has quit [Remote host closed the connection]
yeticry has joined #ruby
polysics has quit [Ping timeout: 240 seconds]
Ellimist has quit [Remote host closed the connection]
ResidentBiscuit has quit [Ping timeout: 240 seconds]
ResidentBiscuit has joined #ruby
ResidentBiscuit has quit [Max SendQ exceeded]
ResidentBiscuit has joined #ruby
ResidentBiscuit has quit [Max SendQ exceeded]
ResidentBiscuit has joined #ruby
jdawgaz has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yogg-saron has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rgr_ has joined #ruby
apparition has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
oleo has joined #ruby
guardianx has joined #ruby
__Yiota has joined #ruby
jusa has quit [Ping timeout: 260 seconds]
guardianx has quit [Remote host closed the connection]
<ljarvis> thesubr00t: That's a lot of code to expect someone to go through and fix for you. I would recommend trying to reproduce a small example that people could help with
rgr has quit [Ping timeout: 260 seconds]
<hxegon> ^
<thesubr00t> ljarvis, Ok
ResidentBiscuit has quit [Ping timeout: 255 seconds]
neminis has quit [Quit: Lost terminal]
apparition has joined #ruby
mark_66 has quit [Remote host closed the connection]
antgel has quit [Ping timeout: 276 seconds]
rkazak has quit [Quit: Sleep.....ing....]
tercenya has quit [Remote host closed the connection]
tercenya has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
mark_66 has joined #ruby
<paulgafton> Hi. I am developing a small job which communicates to a rest-ish backend and makes quite a lot of requests. The backend has kerberos/spnengo authentication, which is supported by httpi. But, at that amount of requests, httpi seems to slowly fill up all the memory available until the process gets killed. rest_client for example, works fine but I didn't figure out how to do the authentication. Any advice?
antgel has joined #ruby
haylon has joined #ruby
<dminuoso> paulgafton: Are you implying there is a memory leak, or do the requests accumulate faster than they can be served?
Ellimist has joined #ruby
rippa has joined #ruby
blackmes1 has quit [Ping timeout: 260 seconds]
sp4rrow has joined #ruby
ledestin has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
__Yiota has joined #ruby
tvw has quit [Read error: Connection reset by peer]
<paulgafton> dminuoso: I don't know why, but it seems that replacing my endpoint with something rate-limited as google.com doesn't have the same problem
<dminuoso> paulgafton: That is not an answer to my question.
polysics has joined #ruby
<paulgafton> dminuoso: I know. but based on that observation i'd say it's not a memory leak (at most a lazy GC). Also, I wouldn't say it's too many requests accumulated since I'm doing the same thing with the rate-limited endpoint and it works.
<dminuoso> paulgafton: I'd say run it through ruby-prof
<dminuoso> paulgafton: Without knowing the cause of this issue it's really tough to give any advice.
__Yiota has quit [Ping timeout: 246 seconds]
cschneid_ has joined #ruby
<dminuoso> paulgafton: If the communication works without TLS, try also sniffing the communication. Perhaps there may be a clue.
millerti has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<paulgafton> dminuoso: i'm gonna try a ruby-prof to see what i can find out
pupsicle has quit [Remote host closed the connection]
ltem has joined #ruby
<dminuoso> paulgafton: More manual methods such as ObjectSpace.trace_object_allocations_start exist too.
antgel has quit [Ping timeout: 240 seconds]
ozcanesen has joined #ruby
<paulgafton> dminuoso: do you know by any chance other libraries that provide spnengo authentication that I can try?
<dminuoso> No. I am not familiar with that service at all.
<dminuoso> Other than it having to do with Kerberos.
conta has quit [Ping timeout: 240 seconds]
skweek has quit [Ping timeout: 240 seconds]
patarr has joined #ruby
apparition has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Burgestrand has quit [Quit: Closing time!]
pupsicle has joined #ruby
hotpanca_ has joined #ruby
t-recx has quit [Quit: t-recx]
blackwind_123 has quit [Ping timeout: 264 seconds]
Psycho_Valker has quit [Ping timeout: 258 seconds]
SeanPan has joined #ruby
hotpancakes has quit [Read error: Connection reset by peer]
Silox| has joined #ruby
iliketurtles has joined #ruby
cagomez has joined #ruby
cagomez has quit [Remote host closed the connection]
antgel has joined #ruby
nobitano_ has joined #ruby
nicesignal has quit [Remote host closed the connection]
elsevero has quit [Quit: elsevero]
ResidentBiscuit has joined #ruby
nicesignal has joined #ruby
u0_a170 has quit [Ping timeout: 260 seconds]
javierbuilder has joined #ruby
<javierbuilder> hi friends i need understand this error .. sprockets:filenotfound couldn't find file 'components' with type 'application/javascript'
HoierM has quit [Ping timeout: 240 seconds]
<starmix> what's wrong with that error? It sounds pretty explicit to me?
nobitanobi has quit [Ping timeout: 260 seconds]
polysics has quit [Remote host closed the connection]
ih8d0g has joined #ruby
SeanPan has left #ruby ["Leaving"]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
polysics has joined #ruby
rails4444 has joined #ruby
perniciouscaffei has joined #ruby
User458764 has joined #ruby
skweek has joined #ruby
HoierM has joined #ruby
roonsauc_ has joined #ruby
guardianx has joined #ruby
polysics has quit [Ping timeout: 255 seconds]
iliketurtles has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
guardianx has quit [Remote host closed the connection]
brent__ has joined #ruby
hotpanca_ has quit [Remote host closed the connection]
ih8d0g has quit [Remote host closed the connection]
ih8d0g has joined #ruby
hotpancakes has joined #ruby
marr has joined #ruby
hotpancakes has quit [Read error: Connection reset by peer]
hotpanca_ has joined #ruby
ih8d0g has quit [Remote host closed the connection]
roonsauce has quit [Ping timeout: 255 seconds]
ih8d0g has joined #ruby
guardianx has joined #ruby
guardianx has quit [Remote host closed the connection]
hotpanca_ has quit [Remote host closed the connection]
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
hotpancakes has joined #ruby
hotpancakes has quit [Read error: Connection reset by peer]
hotpanca_ has joined #ruby
tercenya has quit [Remote host closed the connection]
tercenya has joined #ruby
mim1k has quit [Read error: Connection reset by peer]
hotpanca_ has quit [Remote host closed the connection]
lacuna has quit [Ping timeout: 245 seconds]
hotpancakes has joined #ruby
ferr has quit [Quit: WeeChat 1.7]
guardianx has joined #ruby
matti has quit [Quit: Reconnecting]
matti has joined #ruby
matti has joined #ruby
matti has quit [Changing host]
tlaxkit has joined #ruby
guardianx has quit [Remote host closed the connection]
hotpancakes has quit [Ping timeout: 258 seconds]
guardianx has joined #ruby
ResidentBiscuit has quit [Read error: Connection reset by peer]
[Butch] has joined #ruby
jrafanie has joined #ruby
<brent__> Workin on some refactoring, I have a couple model classes w/ some duplicate code that I was extracting into a module
hotpancakes has joined #ruby
<brent__> part of that is other included modules, as they both include like 9 of the same modules
<brent__> how do I go about inlcuding those modules inside this shared module I'm about to make?
<brent__> that will then be included in the 2 classes
aufi has quit [Quit: Leaving]
u0_a170 has joined #ruby
ResidentBiscuit has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
ih8d0g has left #ruby ["Leaving"]
<havenwood> >> module X; def ok; :ok end end; module Y; include X end; class Z; include Y end; Z.new.ok # brent__
<ruby[bot]> havenwood: # => :ok (https://eval.in/786504)
SeanPan has joined #ruby
<havenwood> brent__: Rails models or a models you've made yourself?
<brent__> rails
amclain has joined #ruby
<havenwood> brent__: Are you familiar with concerns?
guardianx has quit [Ping timeout: 240 seconds]
raspado has joined #ruby
jsrn_ has quit [Read error: Connection reset by peer]
jamesaxl has quit [Read error: Connection reset by peer]
unshadow has quit [Ping timeout: 276 seconds]
Tralin_ has quit [Quit: ZNC 1.6.2 - http://znc.in]
sysvalve has quit [Quit: Leaving]
blackwind_123 has joined #ruby
unshadow has joined #ruby
jamesaxl has joined #ruby
GodFather__ has joined #ruby
t-recx has joined #ruby
guardianx has joined #ruby
DuivesteijnM_ has quit [Quit: Leaving]
guardianx has quit [Read error: Connection reset by peer]
tercenya has quit [Remote host closed the connection]
tercenya has joined #ruby
SeanPan has quit [Ping timeout: 240 seconds]
<u0_a170> hey who works in the industry of IT here i got a question
User458764 has joined #ruby
<ljarvis> u0_a170: is your question about Ruby?
<ljarvis> because this is #ruby, where we talk about Ruby
<javierbuilder> starmix: i dont know how can debug and fix
guardianx has joined #ruby
catphish has quit [Quit: Leaving]
<javierbuilder> th e sprocket file not found
__Yiota has joined #ruby
<brent__> havenwood: sorry had was afk
<brent__> i'm not quite
<Ellimist> javierbuilder: Is the file at the location you're looking?
__Yiota has quit [Client Quit]
<brent__> havenwood: https://gist.github.com/brentluna/af6fe2f34fd985ab022516fd82b3b4a9 this is the module i'm trying to make. been playing around trying to get those commented out modules to worke
guardianx has quit [Remote host closed the connection]
guardianx has joined #ruby
marxarelli|afk is now known as marxarelli
nitric has joined #ruby
erlend has quit [Ping timeout: 240 seconds]
Beams has quit [Quit: .]
yogg-saron has joined #ruby
skade_ has quit [Ping timeout: 260 seconds]
nobitano_ has quit [Remote host closed the connection]
guardianx has quit [Remote host closed the connection]
guardianx has joined #ruby
jdawgaz has quit [Quit: Textual IRC Client: www.textualapp.com]
dcunit3d has joined #ruby
jinie has quit [Quit: ZNC 1.6.1 - http://znc.in]
nobodyzxc has joined #ruby
erlend has joined #ruby
jinie has joined #ruby
flying has quit []
yogg-saron has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kobain has joined #ruby
mikecmpbll has quit [Ping timeout: 260 seconds]
outreachdan has joined #ruby
guardianx has quit [Remote host closed the connection]
__Yiota has joined #ruby
guardianx has joined #ruby
outreachdan has quit [Client Quit]
guardianx has quit [Remote host closed the connection]
polysics has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mark_66 has quit [Remote host closed the connection]
howdoi has quit [Quit: Connection closed for inactivity]
bernd9000 has joined #ruby
__Yiota has joined #ruby
bernd27 has quit [Ping timeout: 276 seconds]
guardianx has joined #ruby
roamingdog has joined #ruby
djbkd has quit [Remote host closed the connection]
guardianx has quit [Remote host closed the connection]
nobitanobi has joined #ruby
<javierbuilder> Ellimist: thanks i dont understand the error, but i fixed i create the folder components adn files.. and fixed but have other messages.. Sass::SyntaxError at /users/sign_in File to import not found or unreadable: bootstrap-sprockets.
tercenya has quit [Remote host closed the connection]
tercenya has joined #ruby
jaruga has quit [Quit: jaruga]
lxsameer has quit [Quit: WeeChat 1.7]
roamingdog has quit [Ping timeout: 240 seconds]
ben_____ has quit [Remote host closed the connection]
aryaching has joined #ruby
thesubr00t has quit [Quit: Ex-Chat]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cdg has quit [Remote host closed the connection]
javierbuilder has quit [Ping timeout: 255 seconds]
jamesaxl has quit [Read error: Connection reset by peer]
tercenya has quit [Remote host closed the connection]
tercenya has joined #ruby
jamesaxl has joined #ruby
ozcanesen has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rwb has quit [Ping timeout: 240 seconds]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
kies has quit [Ping timeout: 240 seconds]
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rwb has joined #ruby
u0_a170 has quit [Ping timeout: 264 seconds]
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hotpanca_ has joined #ruby
jgnagy has joined #ruby
guardianx has joined #ruby
nhhc has quit [Remote host closed the connection]
hotpancakes has quit [Ping timeout: 246 seconds]
roamingdog has joined #ruby
hotpanca_ has quit [Remote host closed the connection]
dmtd has joined #ruby
hotpancakes has joined #ruby
Silthias has left #ruby [#ruby]
chouhoulis has quit [Remote host closed the connection]
jrafanie has joined #ruby
__Yiota has joined #ruby
tercenya has quit [Remote host closed the connection]
bernd9000 has quit [Quit: Leaving]
tercenya has joined #ruby
hotpancakes has quit [Ping timeout: 255 seconds]
jackrandom has joined #ruby
guardianx has quit [Remote host closed the connection]
javierbuilder has joined #ruby
kies has joined #ruby
guardianx has joined #ruby
cdg has joined #ruby
bernd27 has joined #ruby
guardianx has quit [Remote host closed the connection]
Psycho_Valker has joined #ruby
petruff has quit [Ping timeout: 276 seconds]
millerti has joined #ruby
javierbuilder has quit [Quit: Leaving.]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jcao219 has joined #ruby
duderonomy has quit [Ping timeout: 258 seconds]
petruff has joined #ruby
username1 has joined #ruby
__Yiota has joined #ruby
<username1> is there a way to tell which level of an iteration a stacktrace was raised on?
romank has quit [Ping timeout: 260 seconds]
<username1> the stacktrace just says "block (2 levels)"
renchan has quit [Quit: Leaving...]
marxarelli is now known as marxarelli|afk
<username1> but is there a way to tell which level the error was raised on (e.g. which item of the iteration the error was raised?)
skweek has quit [Ping timeout: 276 seconds]
romank has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
roamingdog has quit [Remote host closed the connection]
User458764 has joined #ruby
hobodave has joined #ruby
cdg has quit [Ping timeout: 240 seconds]
hotpancakes has joined #ruby
hobodave has quit [Client Quit]
marxarelli|afk is now known as marxarelli
Silox| has quit [Quit: Connection closed for inactivity]
GinoMan has quit [Ping timeout: 260 seconds]
u0_a170 has joined #ruby
<toretore> username1: `p theObject` in each iteration; the last output before the raise is the one
<baweaver> ?pry
<ruby[bot]> Pry, the better IRB, provides easy object inspection `ls`, `history`, viewing docs `?`, viewing source `$`, syntax highlighting and other features (see `help` for more). Put `binding.pry` in your source code for easy debugging. Install Pry (https://pryrepl.org/): gem install pry pry-doc
esObe_ has quit [Remote host closed the connection]
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
skade_ has joined #ruby
skweek has joined #ruby
GinoMan has joined #ruby
esObe_ has joined #ruby
SeepingN has joined #ruby
hotpancakes has quit []
esObe_ has quit [Ping timeout: 264 seconds]
bsartek has quit [Quit: This computer has gone to sleep]
Ellimist has quit [Ping timeout: 246 seconds]
enterprisey has joined #ruby
skweek has quit [Ping timeout: 240 seconds]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blackmes1 has joined #ruby
cdg_ has joined #ruby
Psycho_Valker has quit [Ping timeout: 240 seconds]
Cohedrin has joined #ruby
aupadhye has quit [Ping timeout: 240 seconds]
araujo has quit [Quit: Leaving]
MrBusiness has joined #ruby
blackmes1 has quit [Ping timeout: 276 seconds]
JoshS has quit [Ping timeout: 240 seconds]
vuoto has joined #ruby
ozzloy_ is now known as ozzloy
u0_a170 has quit [Ping timeout: 260 seconds]
ozzloy has quit [Changing host]
ozzloy has joined #ruby
antgel has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
PatriqueEtoile2 has joined #ruby
cfec0b8d has joined #ruby
Ksawerek has quit [Ping timeout: 260 seconds]
postmodern has joined #ruby
romank has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ellimist has joined #ruby
blackmes1 has joined #ruby
__Yiota has joined #ruby
ben_____ has joined #ruby
Garo_ has left #ruby [#ruby]
Ellimist has quit [Ping timeout: 258 seconds]
Ellimist has joined #ruby
gaucheph has joined #ruby
u0_a170 has joined #ruby
elsevero has joined #ruby
tercenya has quit [Remote host closed the connection]
tercenya has joined #ruby
jcao219 has quit [Ping timeout: 255 seconds]
ozcanesen has joined #ruby
chouhoulis has quit [Remote host closed the connection]
vuoto has quit [Remote host closed the connection]
eblip has quit [Quit: WeeChat 1.4]
Bock has quit [Remote host closed the connection]
lxsameer has joined #ruby
duderonomy has joined #ruby
rkellermeyer has joined #ruby
petruff has quit [Ping timeout: 255 seconds]
cdg_ has quit [Remote host closed the connection]
rakm has joined #ruby
chouhoulis has joined #ruby
patarr has quit [Ping timeout: 260 seconds]
mikecmpbll has joined #ruby
esObe_ has joined #ruby
Xiti` has joined #ruby
jhack_ has joined #ruby
lektrik has quit [Remote host closed the connection]
jrafanie_ has joined #ruby
lektrik has joined #ruby
patarr has joined #ruby
jrafanie has quit [Ping timeout: 240 seconds]
jusa has joined #ruby
Xiti has quit [Ping timeout: 240 seconds]
jhack has quit [Ping timeout: 240 seconds]
__Yiota has quit [Ping timeout: 240 seconds]
u0_a170 has quit [Quit: leaving]
esObe_ has quit [Ping timeout: 276 seconds]
Tralin has joined #ruby
patarr has quit [Ping timeout: 267 seconds]
dionysus69 has joined #ruby
patarr has joined #ruby
Ellimist has quit [Read error: Connection reset by peer]
Ellimist has joined #ruby
blackmesa has joined #ruby
vuoto has joined #ruby
blackmes1 has quit [Read error: Connection reset by peer]
vuoto has quit [Remote host closed the connection]
vuoto has joined #ruby
vuoto has quit [Remote host closed the connection]
bsartek has joined #ruby
jackrandom has quit [Remote host closed the connection]
bernd27 has quit [Remote host closed the connection]
jackrandom has joined #ruby
Burgestrand has joined #ruby
guacamol1 has joined #ruby
guacamol1 has quit [Client Quit]
nobodyzxc has quit [Quit: leaving]
guacamole has quit [Quit: Lost terminal]
roonsauc_ has quit [Remote host closed the connection]
guacamole has joined #ruby
roonsauce has joined #ruby
maattdd has joined #ruby
_pfharlock has joined #ruby
patarr has quit [Ping timeout: 240 seconds]
patarr has joined #ruby
roonsauce has quit [Ping timeout: 246 seconds]
dcunit3d has quit [Ping timeout: 258 seconds]
sp4rrow has joined #ruby
mim1k has joined #ruby
patarr has quit [Ping timeout: 240 seconds]
ResidentBiscuit has quit [Read error: Connection reset by peer]
patarr has joined #ruby
ResidentBiscuit has joined #ruby
roonsauce has joined #ruby
y2mq37 has joined #ruby
patarr has quit [Ping timeout: 240 seconds]
blipz is now known as blipz3
blipz3 is now known as blipz
yolobob has joined #ruby
<jolamb> so I have some instance methods that are tightly coupled to one another but which aren't used by the other methods in a class. I could extract them into a module and then include that module in my class, but that seems like bad programming
<jolamb> That is, it seems bad because these methods *do* call other instance methods in the class.
sp4rrow has quit [Quit: The Internet needs a break and I need a cookie]
<jolamb> It seems like bad locality of reference if the module calls a bunch of methods that are defined in some other class, maybe even in some other file. Is there a better way to encapsulate these, or at least a way to make it clear where these mystery instance methods might be coming from?
yolobob has quit [Client Quit]
skade_ has quit [Ping timeout: 240 seconds]
electrostat has quit [Quit: uwotm8]
electrostat has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
bernd27 has joined #ruby
jackrandom has quit [Remote host closed the connection]
bernd27 has quit [Remote host closed the connection]
skade_ has joined #ruby
jackrandom has joined #ruby
<al2o3-cr> lets start including classes :{
<al2o3-cr> >> require 'fiddle'; include Fiddle; module X end; class Y def y() 42 end end; Pointer[dlwrap Y][0,12] = Pointer[dlwrap X][0,12]; include Y; y
<ruby[bot]> al2o3-cr: # => 42 (https://eval.in/786642)
<hxegon> jolamb: interesting question, but hard for me to judge without seeing the code. can you link?
chouhoulis has quit [Remote host closed the connection]
bernd27 has joined #ruby
<jolamb> hxegon: this is inherited code btw
<al2o3-cr> that method name is wayyyyyyyyyyyyyyyyyyyyyy to long :p
omghx has joined #ruby
<al2o3-cr> why the loooonnngggg face
omghx has left #ruby [#ruby]
Rutix has joined #ruby
Rutix has joined #ruby
Rutix has quit [Changing host]
jackrandom has quit [Ping timeout: 240 seconds]
<jolamb> al2o3-cr: yeah I know. That's not the problem I'm trying to solve right now. :)
<al2o3-cr> jolamb: i know, i kidding, you know that right?
<jolamb> al2o3-cr: well I do now, heh
Ellimist has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
<al2o3-cr> jolamb: its intuitive
Ellimist has joined #ruby
<hxegon> sweet christmas
<jolamb> hxegon: happy new year
<al2o3-cr> hxegon: black mondays
<hxegon> jolamb: is there not a work_card object?
<hxegon> nvm
<jolamb> hxegon: comes from Trello::Card :)
<hxegon> jolamb: Is this strictly a refactor, or can you make API changes?
<jolamb> I am the customer, so I can make API changes
tlaxkit has quit [Quit: tlaxkit]
<hxegon> fucking... helper classes
<jolamb> hxegon: I know
chouhoulis has joined #ruby
jusa has quit [Ping timeout: 240 seconds]
<hxegon> Have you thought about adding those as class methods on Trello::Card?
<jolamb> hxegon: you mean monkeypatching it? I'd rather not
<hxegon> you could refine it, which is an order of magnitude less awful IMO
dcunit3d has joined #ruby
<jolamb> If I were to go down that rode, I'd extend Trello::Card instead
<jolamb> s/rode/road/
bunniez has joined #ruby
<jolamb> hxegon: googling "ruby refine"
<hxegon> jolamb: it's basically a scoped monkey patch
<jolamb> hxegon: I see. That's pretty cool
skade_ has quit [Ping timeout: 240 seconds]
<hxegon> jolamb: I'd say refining is probably the way to go here, but there are layers here that are going to take a minute to pick through
cdg has joined #ruby
<bunniez> hello, i am a ruby noob, can someone help me? i just installed RVM on linux, i installed ruby 2.4.1 and also set it to default, but after restarting my terminal window, when i run "ruby -v" it gives me "ruby 2.1.5", but then when i run "rvm list", it lists only 2.4.0 and 2.4.1, and has 2.4.1 indicated as both current and default. but then i run "ruby -v" again and it still says "2.1.5"..... what gives? i want to use 2.4.1.
<jolamb> I'd still rather subclass it so that it's evident to the next poor soul that we're not using the "pure" ruby-trello API
<hxegon> jolamb: when you use refinements you have to make a statement in any class/module that uses them, so it's pretty clear in practice
<jolamb> hxegon: gotcha
<cseder> bunniez sounds like a $path issue
<hxegon> ^
duckpupp1 has quit [Ping timeout: 240 seconds]
<al2o3-cr> >> eval [13,17,13,17,9]*?+
<ruby[bot]> al2o3-cr: # => 69 (https://eval.in/786661)
gusrub has joined #ruby
<al2o3-cr> what a good number that is :)
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rkellermeyer has quit [Ping timeout: 276 seconds]
<ytti> *? was new to me
<ytti> i don't really understand the fsck is going on
roamingdog has joined #ruby
<ytti> seems nasty
<hxegon> jolamb: that code needs some generous use of reduce to get rid of all that "tmp = []; foo.each do |f|; tmp << f" and "tmp[f] = bar" nastiness
<bunniez> cseder: oh, thank you very much for that input. does this mean i need to add something to my $PATH variable? how do i do this?
<hxegon> and filter
<hxegon> them ifs tho
<bunniez> sorry, i am very noob.
<cseder> bunniez did you get it to run?
<jolamb> hxegon: yup
<jolamb> hxegon: I never knew the term "cyclomatic complexity" until I started working on this code. :)
<cseder> bunniez if you do `which ruby`
<al2o3-cr> bunniez: "bash -l; ruby -v"
<hxegon> jolamb: how much refactoring in ruby experience do you have? If you want to psych yourself up I have a fantastic Sandi Metz talk I could dig up
brent__ has quit [Remote host closed the connection]
Psycho_Valker has joined #ruby
<jolamb> hxegon: I've got a decent amount, but I wouldn't characterize all the experience as "good"
<cseder> bunniez it should show ~/.rvm/rubies/ruby_version_here/bin/ruby
<jolamb> at least not in terms of the eventual output :)
Psycho_Valker has quit [Client Quit]
<bunniez> cseder: if i do `which ruby`, it says: /usr/bin/ruby
<cseder> bunniez try: rvm use ruby-2.4.1
<al2o3-cr> bunniez: $SHELL -l
<bunniez> cseder, when i did that, it said: RVM is not a function, selecting rubies with 'rvm use ...' will not work.
<bunniez> Please visit https://rvm.io/integration/gnome-terminal/ for an example.
<bunniez> Sometimes it is required to use `/bin/bash --login` as the command.
<bunniez> You need to change your terminal emulator preferences to allow login shell.
<bunniez> oh wow
mim1k has quit [Ping timeout: 255 seconds]
<bunniez> i guess i will read these instructions for "gnome terminal"?
<cseder> oh... I use zsh on a mac, so here stuff just works. ;)
patarr has joined #ruby
nhhc has joined #ruby
rkellermeyer has joined #ruby
<al2o3-cr> rvm sucks
<hxegon> jolamb: good luck, let me know if you have any more questions. I love refactoring code like that, wierdly.
skweek has joined #ruby
<al2o3-cr> big donkey dick
<jolamb> hxegon: will do, thanks
<hxegon> I'd have to agree. Use rbenv or chruby if at all possible bunniez
<hxegon> np jolamb
<cseder> bunniez didn't think it was so hard getting ruby installed and running with RVM, so sorry, I just do rvm install ruby-2.4.1 in zsh shell, and it takes a while to compile and then use the 'rvm use' command
<cseder> bunniez get a mac! (kidding)
<bunniez> all: it's ok, after reading those instructions it turns out all i had to do was check a box in the preferences of my terminal. now everything works perfectly :)
<bunniez> all: thank you very much for your help!
mim1k has joined #ruby
<bunniez> cseder: i am usually a mac fangirl too, but this is for work and our dev team has agreed on a certain env/stack. ;)
<cseder> bunniez yay! good work. Now start using zsh for the ultimate shell environment! :)
<cseder> bunniez I hear you
<bunniez> cseder: oyah? i've always used bash but i will look into that
<cseder> bunniez check out http://ohmyz.sh
roamingdog has quit []
<daed> so i'm running "bundle install", and it successfully pulls a gemfile from a remote git repo
<daed> it does this with 3 diff gems
<daed> i can 'require' 2 of them after "bundle exec irb"
<daed> but the third one can't be found, even though bundler has it right there as installed
<hxegon> daed: the require name could be different from the gem name. What's the error?
<cseder> bunniez very nice with the zsh git plugins and stuff
<daed> hxegon: i think it might be because this gem is named "new_tickets", but the internal files are tickets.rb instead
JeanCarloMachado has quit [Ping timeout: 255 seconds]
<daed> i'll sync up all the filenames to the gem name and see if it helps
<hxegon> daed: try require 'tickets' or something
mostlybadfly has joined #ruby
<daed> hxegon: yeah problem is there's another gem named 'tickets' already.. so i'm gonna change the new one to just be "new_tickets" everywhere
<daed> s.name = 'new_tickets'
brent__ has joined #ruby
<daed> i assumed this part of the gemspec would be all that was necessary
mim1k has quit [Ping timeout: 240 seconds]
brent__ has quit [Remote host closed the connection]
<hxegon> hmm, so would I.
brent__ has joined #ruby
<hxegon> is there any way to specify a different name for a gem in a Gemfile? For example: gem 'dotenv', as: 'de' or something?
<daed> hxegon: yeah it's the 'require' statement i believe
<daed> gem 'test', git: 'asdf', require: 'gemname'
bsartek has quit [Quit: This computer has gone to sleep]
<bunniez> cseder: skimming the docs, sure does look pretty cool. would i have to learn a bunch of new shell commands or is it pretty much like bash?
<daed> hxegon: fixed it, made lib/tickets renamed to lib/new_tickets.rb to match gemspec name
gusrub has quit [Remote host closed the connection]
<daed> guess they need to match, and the gemspec 'files' dont get loaded by default
<cseder> bunniez it's a smooth ride from bash to zsh. Most commands are identical, but the completion and plugins and stuff is much nicer in zsh imho
Immune has joined #ruby
<cseder> hxegon isn't this what bundler is good at?
boombox_ has joined #ruby
jcao219 has joined #ruby
skweek has quit [Ping timeout: 276 seconds]
rgr_ has quit [Quit: rgr_]
rwb has quit [Ping timeout: 268 seconds]
droptone has joined #ruby
<droptone> Question: if I want to print all the values in a string through interpolation, what's the best way to do this?
<droptone> Sorry, not a string, in a hash
<droptone> For example, myhash = { "bob" => "jim" }, puts "Hello, this is my hash: #{my_hash}"
<droptone> When I do that, it just prints the hex value of the hash in ram I believe, such as 0x0000000dbd1ac0
<droptone> And not the values within the hash
<bunniez> cseder: very cool. thanks for that
<baweaver> droptone: do you want just the values?
<hxegon> >> p "foo: #{{foo: 'bar'}}" # droptone
<ruby[bot]> hxegon: # => "foo: {:foo=>\"bar\"}" ...check link for more (https://eval.in/786682)
<cseder> bunniez no problem! Have a blast learning zsh, it's sweet
<droptone> Yes, and it appears I'm wrong, if I just try puts "#{my_hash}" in irb it works, it appears it's because I'm using ActiveRecord in this non-rails project
<droptone> It's printing the active record hex value instead of the values within the hash
<droptone> Or the AR record, so scratch that, apologies.
<droptone> Different issue.
hndk has joined #ruby
patarr has quit [Ping timeout: 240 seconds]
lubekpl has joined #ruby
rkellermeyer has quit [Ping timeout: 260 seconds]
mim1k has joined #ruby
boombox_ has quit [Remote host closed the connection]
unshadow has quit [Quit: leaving]
dionysus69 has joined #ruby
Komic has joined #ruby
<Komic> hi there
<Komic> i'm having what is probably a really dumb problem
<droptone> Looks like with an AR record you can just .inspect it in a string interpolation and it'll print the values
<Komic> bundler is trying to install cld2 but fails https://ghostbin.com/paste/ptwh4 apparently my version of gcc is too recent or something
<apeiros> droptone: string interpolation uses to_s
<Komic> not sure how to deal with this
<droptone> anyone happen to know if that's the case without me having to build out a temp environment that includes AR and sets values and all that?
millerti has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apeiros> so if you want a meaningful representation, either implement to_s, or call a method which returns a meaningful string
<droptone> apeiros: ok, thanks. So even if it's an AR record and I'm trying to print all values, I simplly .to_s it and it'll list the values.
marxarelli is now known as marxarelli|afk
<droptone> Ok, will do, ty sir.
mim1k has quit [Ping timeout: 240 seconds]
jcao219 has quit [Quit: ByrdIRC]
jcao219 has joined #ruby
patarr has joined #ruby
mim1k has joined #ruby
<Komic> i've been trying "bundle config build.cld2 --with-cflags="-Wno-narrowing""
<Komic> then start bundle again
<Komic> but no luck
jrafanie_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jrafanie has joined #ruby
FysiWRK has joined #ruby
FysiWRK has quit [Client Quit]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
TreyG has joined #ruby
patarr has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
patarr has joined #ruby
_haylon has joined #ruby
tomphp has joined #ruby
esObe_ has joined #ruby
GinoMan has quit [Ping timeout: 240 seconds]
mim1k has quit [Ping timeout: 240 seconds]
marxarelli|afk is now known as marxarelli
haylon has quit [Ping timeout: 268 seconds]
patarr has quit [Ping timeout: 260 seconds]
[Butch] has quit [Quit: I'm out . . .]
elsevero has quit [Quit: elsevero]
ltem has quit [Quit: Leaving]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
AlexRussia has quit [Ping timeout: 240 seconds]
_haylon has quit [Remote host closed the connection]
lubekpl has quit [Quit: Textual IRC Client: www.textualapp.com]
ozcanesen has quit [Quit: Textual IRC Client: www.textualapp.com]
mim1k has joined #ruby
ldnunes has quit [Quit: Leaving]
patarr has joined #ruby
droptone has quit [Read error: Connection reset by peer]
droptone_ has joined #ruby
_pfharlock has quit [Quit: Page closed]
mim1k has quit [Ping timeout: 255 seconds]
bernd27 has quit [Remote host closed the connection]
facest has joined #ruby
exchgr has quit [Ping timeout: 258 seconds]
bernd27 has joined #ruby
skade_ has joined #ruby
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
ramortegui has quit [Quit: Ex-Chat]
faces has quit [Ping timeout: 240 seconds]
AlexRussia has joined #ruby
chouhoulis has quit [Remote host closed the connection]
<Komic> <Komic> bundler is trying to install cld2 but fails https://ghostbin.com/paste/ptwh4 apparently my version of gcc is too recent or something
<Komic> <Komic> but no luck
<Komic> <Komic> then start bundle again
<Komic> <Komic> i've been trying "bundle config build.cld2 --with-cflags="-Wno-narrowing""
<Komic> <Komic> not sure how to deal with this
<Komic> bump~
linetrace has quit [Ping timeout: 240 seconds]
exchgr has joined #ruby
linetrace has joined #ruby
arooni_team_b is now known as arooni
BSab has joined #ruby
BSAlb has quit [Ping timeout: 240 seconds]
Eiam has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
slash_nick has joined #ruby
<cseder> If you are new to Ruby and want to understand one of the most important part of the language (blocks) spend $25 on this Pragmatic Programmers video course: https://pragmaticstudio.com/ruby-blocks
Eiam has joined #ruby
xco has joined #ruby
<xco> just to be sure are these two the same? this “r = $1.to_sym” and “Regexp.last_match(1).to_sym”
enterprisey has quit [Ping timeout: 246 seconds]
BSaboia has joined #ruby
GinoMan2440 has joined #ruby
BSab has quit [Ping timeout: 268 seconds]
y2mq37 has quit [Read error: Connection reset by peer]
Pumukel has quit [Remote host closed the connection]
y2mq37 has joined #ruby
Pumukel has joined #ruby
patarr has quit [Ping timeout: 255 seconds]
rwb has joined #ruby
GinoMan2440 has quit [Client Quit]
Burgestrand has quit [Quit: Closing time!]
Pumukel has quit [Ping timeout: 255 seconds]
sepp2k has quit [Ping timeout: 255 seconds]
fusta has joined #ruby
lagweezle_away is now known as lagweezle
droptone_ has quit [Ping timeout: 268 seconds]
jusa has joined #ruby
jcao219 has quit [Ping timeout: 260 seconds]
mjora7 has joined #ruby
BSaboia has quit [Read error: Connection reset by peer]
BSaboia has joined #ruby
romank has joined #ruby
jusa has quit [Ping timeout: 240 seconds]
droptone has joined #ruby
preyalone has joined #ruby
roonsauce has quit [Remote host closed the connection]
rizonz has joined #ruby
<rizonz> hi guys, is this valid code ? if ! ($k =~ /^MOD::/ ) {
<baweaver> Does it work?
<rizonz> so if $k does not start with MOD::
<baweaver> (It's not by the way)
<rizonz> baweaver: I get some weird error which does not comes from this line
<baweaver> Ruby doesn't use braces like that
hays_ has joined #ruby
gaucheph has quit [Quit: Zzzz...]
<rizonz> baweaver: yeah I'm doing it in puppet, but the manifest not the template
<rizonz> baweaver: nut what would be valid ruby ?
<baweaver> Read through that
<baweaver> but you really need to learn Ruby first for some of this
<baweaver> parens aren't necessary either there, and the ! could be $k !~ /^MOD::/
<rizonz> baweaver: yeah tried that as well
<rizonz> but was not sure if I used the braces
<baweaver> ?gist
<ruby[bot]> https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
<baweaver> Use that to show the script and the error
slash_nick has quit [Quit: blorp]
ledestin has joined #ruby
<rizonz> baweaver: yeah checking out first
<rizonz> will do
mtkd has quit [Ping timeout: 260 seconds]
mtkd has joined #ruby
nhhc has quit [Remote host closed the connection]
ben_____ has quit [Remote host closed the connection]
ben_____ has joined #ruby
bweston92 has quit [Quit: Connection closed for inactivity]
skade_ has quit [Ping timeout: 260 seconds]
dionysus69 has quit [Quit: dionysus69]
ben_____ has quit [Ping timeout: 240 seconds]
perniciouscaffei has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
roonsauce has joined #ruby
roonsauce has quit [Remote host closed the connection]
tercenya has quit [Remote host closed the connection]
roonsauce has joined #ruby
tercenya has joined #ruby
TomyLobo2 has joined #ruby
Azure|dc has joined #ruby
canton7 has quit [Ping timeout: 246 seconds]
[spoiler] has quit [Ping timeout: 240 seconds]
tekacs has quit [Ping timeout: 255 seconds]
rwb1 has joined #ruby
Lyfe_ has joined #ruby
roonsauce has quit [Ping timeout: 246 seconds]
rprimus has quit [Ping timeout: 240 seconds]
preyalone_ has joined #ruby
Takumo has quit [Ping timeout: 246 seconds]
skade_ has joined #ruby
kaspergr1bbe has quit [Ping timeout: 268 seconds]
Drakevr has quit [Ping timeout: 240 seconds]
mahlon_ has joined #ruby
pifon_ has joined #ruby
camilasann has joined #ruby
ammar has quit [Ping timeout: 240 seconds]
majoh has quit [Ping timeout: 264 seconds]
Subfusc has quit [Ping timeout: 264 seconds]
Rush_ has joined #ruby
lucas has quit [Ping timeout: 260 seconds]
<SegFaultAX> rizonz: You should never expect that valid Puppet will be valid Ruby
<SegFaultAX> The puppet syntax is only vaguely similar to Ruby, but in most circumstances it is syntactically and semantically different.
soahccc_ has joined #ruby
zenspider_ has joined #ruby
claw_ has joined #ruby
tekacs has joined #ruby
lagweezle is now known as lagweezle_away
russt_ has joined #ruby
spk_ has joined #ruby
Marc- has joined #ruby
z4phod_ has joined #ruby
Evesy_ has joined #ruby
gigetoo_ has joined #ruby
TvL2386_ has joined #ruby
unixabg_ has joined #ruby
[spoiler] has joined #ruby
tekacs is now known as Guest1916
ablackack_ has joined #ruby
milardovich has joined #ruby
Hobbyboy|BNC has joined #ruby
DenSchub_ has joined #ruby
unsymbol_ has joined #ruby
fnux_ has joined #ruby
patarr has joined #ruby
canton7 has joined #ruby
lele` has joined #ruby
furkanusta has joined #ruby
kies^ has joined #ruby
j416_ has joined #ruby
Drakevr has joined #ruby
Takumo has joined #ruby
Takumo has quit [Changing host]
Takumo has joined #ruby
crayfishx_ has joined #ruby
heftig1 has joined #ruby
rwb has quit [Ping timeout: 240 seconds]
unsymbol has quit [Ping timeout: 240 seconds]
rrichardsr3 has quit [Ping timeout: 240 seconds]
Evesy has quit [Ping timeout: 240 seconds]
gmcintire has quit [Ping timeout: 240 seconds]
podman has quit [Ping timeout: 240 seconds]
HashNuke has quit [Ping timeout: 240 seconds]
russt has quit [Ping timeout: 240 seconds]
preyalone has quit [Read error: Connection reset by peer]
spk has quit [Ping timeout: 240 seconds]
crayfishx has quit [Ping timeout: 240 seconds]
pifon has quit [Write error: Connection reset by peer]
lele has quit [Ping timeout: 240 seconds]
Hobbyboy has quit [Ping timeout: 240 seconds]
j416 has quit [Ping timeout: 240 seconds]
ablackack has quit [Ping timeout: 240 seconds]
DenSchub has quit [Ping timeout: 240 seconds]
fusta has quit [Ping timeout: 240 seconds]
blackwind_123 has quit [Ping timeout: 240 seconds]
mahlon has quit [Ping timeout: 240 seconds]
xenops has quit [Ping timeout: 240 seconds]
soahccc has quit [Ping timeout: 240 seconds]
mattwc has quit [Ping timeout: 240 seconds]
RealMarc has quit [Ping timeout: 240 seconds]
gigetoo has quit [Ping timeout: 240 seconds]
zenspider has quit [Ping timeout: 240 seconds]
TvL2386 has quit [Ping timeout: 240 seconds]
z4phod has quit [Ping timeout: 240 seconds]
kies has quit [Ping timeout: 240 seconds]
Sammichmaker has quit [Ping timeout: 240 seconds]
claw has quit [Ping timeout: 240 seconds]
lightstalker has quit [Ping timeout: 240 seconds]
Azure has quit [Ping timeout: 240 seconds]
Rush has quit [Ping timeout: 240 seconds]
Lyfe has quit [Ping timeout: 240 seconds]
infernix has quit [Ping timeout: 240 seconds]
heftig has quit [Ping timeout: 240 seconds]
fnux has quit [Ping timeout: 240 seconds]
unixabg has quit [Ping timeout: 240 seconds]
Iacobus has quit [Ping timeout: 240 seconds]
camilasan has quit [Ping timeout: 240 seconds]
TomyLobo has quit [Ping timeout: 240 seconds]
heyimwill has quit [Ping timeout: 240 seconds]
krasnus has quit [Ping timeout: 240 seconds]
cs_0x6373 has quit [Ping timeout: 240 seconds]
rwb1 is now known as rwb
fnux_ is now known as fnux
Hobbyboy|BNC is now known as Hobbyboy
spk_ is now known as spk
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
j416_ is now known as j416
gigetoo_ is now known as gigetoo
lightstalker has joined #ruby
pifon_ is now known as pifon
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
majoh has joined #ruby
JeanCarloMachado has joined #ruby
xenops has joined #ruby
milardovich has quit [Remote host closed the connection]
dionysus69 has joined #ruby
Subfusc has joined #ruby
preyalone_ is now known as preyalone
blackwind_123 has joined #ruby
krasnus has joined #ruby
lucas has joined #ruby
kaspergrubbe has joined #ruby
rprimus has joined #ruby
rprimus is now known as Guest88277
ammar has joined #ruby
infernix has joined #ruby
JeanCarloMachado has quit [Ping timeout: 260 seconds]
JeanCarloMachado has joined #ruby
polishdub has quit [Quit: kill -9]
patarr has quit [Ping timeout: 276 seconds]
patarr has joined #ruby
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hndk has quit [Quit: Leaving]
patarr has quit [Ping timeout: 264 seconds]
skade_ has quit [Ping timeout: 240 seconds]
patarr has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
heyimwill has joined #ruby
marxarelli is now known as marxarelli|afk
<patarr> Is there something like delete_if that returns the values deleted?
GodFather__ has quit [Ping timeout: 240 seconds]
cs_0x6373 has joined #ruby
_main_ has joined #ruby
milardovich has joined #ruby
_main_ has quit [Read error: Connection reset by peer]
__main__ has quit [Read error: Connection reset by peer]
herbmillerjr has joined #ruby
latemus has joined #ruby
__main__ has joined #ruby
__main__ has quit [Read error: Connection reset by peer]
cdg has quit [Remote host closed the connection]
__main__ has joined #ruby
ddffg has quit [Ping timeout: 240 seconds]
vondruch has quit [Quit: vondruch]
vondruch has joined #ruby
<rizonz> SegFaultAX: I wasn't expecting, tho their erbs are quite ruby
vondruch has quit [Client Quit]
vondruch has joined #ruby
romank has quit [Read error: Connection reset by peer]
haylon has joined #ruby
haylon_ has quit [Quit: haylon_]
Mia has quit [Read error: Connection reset by peer]
Ellimist has quit [Remote host closed the connection]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
romank has joined #ruby
maattdd has quit [Read error: Connection reset by peer]
maattdd has joined #ruby
latemus has quit [Quit: Lost terminal]
stee_3 has joined #ruby
JeanCarloMachado has quit [Ping timeout: 240 seconds]
nertzy has quit [Quit: This computer has gone to sleep]
dcunit3d has quit [Ping timeout: 276 seconds]
nertzy has joined #ruby
alveric2 has joined #ruby
stee_3__ has joined #ruby
latemus has joined #ruby
stee_3_ has quit [Ping timeout: 240 seconds]
patarr has quit [Ping timeout: 240 seconds]
cschneid_ has quit [Remote host closed the connection]
cschneid_ has joined #ruby
alveric1 has quit [Ping timeout: 240 seconds]
dcunit3d has joined #ruby
JeanCarloMachado has joined #ruby
stee_3 has quit [Ping timeout: 240 seconds]
cschneid_ has quit [Ping timeout: 240 seconds]
herbmillerjr has quit [Quit: Konversation terminated!]
Cohedrin has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
Cohedrin has joined #ruby
esObe_ has quit [Remote host closed the connection]
JeanCarloMachado has quit [Ping timeout: 255 seconds]
JeanCarloMachado has joined #ruby
millerti has joined #ruby
__Yiota has joined #ruby
romank has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
marxarelli|afk is now known as marxarelli
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bitcycle has joined #ruby
<bitcycle> Hey all. Can someone tell me how one distributes data files with a gem? e.g. I've got a standard XML template file that I would like to distribute with my gem. Where do I put it?
<xco> will i be right in thinking this “%Q{one\ntwo\n#{ 1 + 2 }}” is the same as “%{one\ntwo\n#{ 1 + 2 }}” ?
gaucheph has joined #ruby
hays_ has quit [Remote host closed the connection]
lektrik has quit [Quit: Leaving]
skade_ has joined #ruby
brent__ has quit [Remote host closed the connection]
dionysus69 has quit [Ping timeout: 276 seconds]
rgr_ has joined #ruby
rgr_ has quit [Client Quit]
skade_ has quit [Ping timeout: 240 seconds]
<baweaver> >> %Q{one\ntwo\n#{ 1 + 2 }} == %{one\ntwo\n#{ 1 + 2 }}
<ruby[bot]> baweaver: # => true (https://eval.in/786693)
rgr_ has joined #ruby
<baweaver> xco: irb is great for trying these things out
cschneid_ has joined #ruby
<baweaver> bitcycle: look into gemspec configurations
<baweaver> there was something in there about included files / directories
<baweaver> Something like that
patarr has joined #ruby
bitcycle has quit [Ping timeout: 240 seconds]
cschneid_ has quit [Ping timeout: 240 seconds]
apparition has joined #ruby
rails4444 has quit [Quit: Leaving.]
hndk has joined #ruby
patarr has quit [Ping timeout: 276 seconds]
rkazak has joined #ruby
patarr has joined #ruby
Vile` has joined #ruby
apparition has quit [Changing host]
apparition has joined #ruby
apparition has quit [Client Quit]
rkazak has quit [Client Quit]
bsartek has joined #ruby