apeiros changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.10: https://www.ruby-lang.org || Paste >3 lines of text on https://gist.github.com || Rails questions? Ask on #RubyOnRails || logs @ https://irclog.whitequark.org/ruby/
whathappens has quit [Read error: Connection reset by peer]
whathappens has joined #ruby
yfeldblu_ has joined #ruby
ledestin has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
yfeldblu_ has quit [Remote host closed the connection]
nopolitica has quit [Ping timeout: 272 seconds]
yfeldblum has joined #ruby
wldcordeiro has quit [Ping timeout: 272 seconds]
whathappens has quit [Read error: Connection reset by peer]
whathappens has joined #ruby
tcrypt_ has joined #ruby
brendan- has joined #ruby
jsgrant has joined #ruby
duderonomy has quit [Ping timeout: 272 seconds]
tcrypt has quit [Ping timeout: 264 seconds]
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tcrypt has joined #ruby
dminuoso has joined #ruby
fullofcaffeine has quit [Ping timeout: 244 seconds]
tcrypt_ has quit [Ping timeout: 264 seconds]
tcrypt_ has joined #ruby
ur5us has joined #ruby
tyang has joined #ruby
fullofcaffeine has joined #ruby
fullofca_ has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
tcrypt__ has joined #ruby
maloik has quit [Remote host closed the connection]
dminuoso has quit [Ping timeout: 272 seconds]
maloik has joined #ruby
jphase has quit [Remote host closed the connection]
jphase has joined #ruby
nando293921 has joined #ruby
tcrypt_ has quit [Read error: Connection reset by peer]
fullofcaffeine has quit [Ping timeout: 244 seconds]
NTrash has quit [Quit: Konversation terminated!]
jphase has quit [Ping timeout: 272 seconds]
tcrypt__ has quit [Max SendQ exceeded]
geezus has quit [Remote host closed the connection]
fullofcaffeine has joined #ruby
tcrypt has joined #ruby
ruby[bot] has joined #ruby
fullofca_ has quit [Ping timeout: 244 seconds]
Bounga has quit [Quit: ERC (IRC client for Emacs 25.1.1)]
Bounga has joined #ruby
redpants has joined #ruby
alibby has quit [Quit: Leaving.]
johnmccabe has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
beauby has quit [Read error: Connection reset by peer]
prawnzy has quit [Remote host closed the connection]
JakFrist[WVU] has joined #ruby
geezus has joined #ruby
Vile` has joined #ruby
SeepingN has quit [Disconnected by services]
SeepingN_ has joined #ruby
beauby has joined #ruby
replay has quit [Quit: Textual IRC Client: www.textualapp.com]
nankyokusei has joined #ruby
wldcordeiro has joined #ruby
fullofca_ has joined #ruby
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
skyjumper has quit [Quit: useless]
saneax is now known as saneax-_-|AFK
nankyokusei has quit [Ping timeout: 244 seconds]
fullofcaffeine has quit [Ping timeout: 272 seconds]
ode_to_code has quit [Quit: ode_to_code]
tyang_ has joined #ruby
tdy has joined #ruby
snguyen has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SeepingN_ has quit [Quit: The system is going down for reboot NOW!]
ResidentBiscuit has joined #ruby
tyang has quit [Ping timeout: 272 seconds]
prawnzy has joined #ruby
slappy16 has quit [Quit: Leaving.]
aries_liuxueyang has quit [Ping timeout: 264 seconds]
hahuang62 has quit [Ping timeout: 264 seconds]
boogeyman has quit [Quit: bb]
alibby has joined #ruby
jcao219 has quit [Ping timeout: 264 seconds]
Rickmasta has joined #ruby
JeanCarloMachado has joined #ruby
beauby has quit [Read error: Connection reset by peer]
beauby has joined #ruby
jcao219 has joined #ruby
tvw has quit []
csk_ has quit [Remote host closed the connection]
csk has joined #ruby
eljimmy has joined #ruby
jhack has quit [Ping timeout: 244 seconds]
Bellthoven has quit []
aries_liuxueyang has joined #ruby
aibot____ has joined #ruby
not_underground has joined #ruby
aryaching has quit [Remote host closed the connection]
dminuoso has joined #ruby
paradisaeidae has joined #ruby
not_underground has quit [Ping timeout: 272 seconds]
tcrypt__ has joined #ruby
tmtwd has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
dminuoso has quit [Ping timeout: 244 seconds]
duderonomy has joined #ruby
cdg has quit [Remote host closed the connection]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tcrypt__ has quit [Ping timeout: 264 seconds]
boogeyman has joined #ruby
nettoweb has joined #ruby
tcrypt_ has joined #ruby
jaguarmagenta has joined #ruby
fullofca_ has quit [Read error: Connection reset by peer]
aryaching has joined #ruby
whathappens has quit [Remote host closed the connection]
tdy has quit [Ping timeout: 264 seconds]
whathappens has joined #ruby
jaguarmagenta has quit [Ping timeout: 244 seconds]
JakFrist[WVU] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eljimmy has quit [Quit: This computer has gone to sleep]
JakFrist[WVU] has joined #ruby
beauby has quit [Read error: Connection reset by peer]
beauby has joined #ruby
ixti has quit [Quit: WeeChat 1.5]
whathappens has quit [Ping timeout: 272 seconds]
jenrzzz has quit [Ping timeout: 264 seconds]
Eiam has quit [Ping timeout: 240 seconds]
nopolitica has joined #ruby
Channel6 has joined #ruby
codelogix has quit [Ping timeout: 244 seconds]
a7d7p has joined #ruby
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tmtwd has quit [Ping timeout: 272 seconds]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
abernstein has joined #ruby
a7d7p has quit [Client Quit]
xall has joined #ruby
Ropeney has joined #ruby
Devalo has joined #ruby
dtscode has joined #ruby
charliesome has joined #ruby
Devalo has quit [Ping timeout: 244 seconds]
djbkd has quit [Remote host closed the connection]
rodfersou has quit [Quit: leaving]
JeanCarloMachado has quit [Ping timeout: 244 seconds]
SteenJobs has joined #ruby
Coldblackice has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
sepp2k has quit [Quit: Leaving.]
Robtop__ has joined #ruby
csk has quit [Remote host closed the connection]
tdy has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 244 seconds]
dmtd has joined #ruby
optiz0r has quit [Ping timeout: 240 seconds]
beauby has quit [Read error: Connection reset by peer]
Coldblackice has quit [Ping timeout: 272 seconds]
roflmyeggo has joined #ruby
optiz0r has joined #ruby
tcrypt_ has quit [Ping timeout: 272 seconds]
beauby has joined #ruby
xall has quit [Ping timeout: 272 seconds]
Coldblackice has joined #ruby
dviola has quit [Quit: WeeChat 1.5]
shinnya has quit [Ping timeout: 244 seconds]
jsgrant has quit [Quit: Konversation terminated!]
tcrypt has joined #ruby
dminuoso has joined #ruby
nettoweb has joined #ruby
dminuoso has quit [Ping timeout: 272 seconds]
nettoweb has quit [Client Quit]
redpants has quit [Quit: leaving]
aryaching has quit [Remote host closed the connection]
cdg has joined #ruby
ec0 has joined #ruby
j0bk has joined #ruby
j0bk has quit [Client Quit]
hutch34 has joined #ruby
hypercube32 has joined #ruby
arescorpio has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
tcrypt has joined #ruby
whathappens has joined #ruby
beauby has quit [Read error: Connection reset by peer]
beauby has joined #ruby
thatsnotjack has joined #ruby
Trynemjoel has joined #ruby
hutch34 has quit [Ping timeout: 272 seconds]
maloik has quit [Ping timeout: 272 seconds]
codelogix has joined #ruby
whathappens has quit [Ping timeout: 244 seconds]
ResidentBiscuit has quit [Ping timeout: 272 seconds]
Rickmasta has joined #ruby
codelogix has quit [Ping timeout: 272 seconds]
nankyokusei has joined #ruby
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
symm- has quit [Ping timeout: 244 seconds]
charliesome has joined #ruby
nankyokusei has quit [Ping timeout: 272 seconds]
crdpink__ has quit [Quit: Konversation terminated!]
astrobunny has joined #ruby
tmtwd has joined #ruby
astrobun_ has joined #ruby
cdg has quit [Remote host closed the connection]
nopolitica has quit [Ping timeout: 272 seconds]
hahuang62 has joined #ruby
djbkd has joined #ruby
Joufflu has quit [Read error: Connection reset by peer]
alibby has quit [Quit: Leaving.]
xall has joined #ruby
astrobunny has quit [Ping timeout: 264 seconds]
sid05 has joined #ruby
f0rpaxe has quit [Quit: Connection closed for inactivity]
djbkd has quit [Ping timeout: 264 seconds]
<sid05> hey anybody out there? Trying to debug my strack trace... What does it mean if it says "block in <method_name>" e.g. /var/lib/jenkins/jobs/Rails-Develop/workspace/vendor/bundle/ruby/2.1.0/gems/sequel-4.3.0/lib/sequel/database/connecting.rb:182:in `block in each_server'
hahuang62 has quit [Ping timeout: 272 seconds]
Cohedrin_ has joined #ruby
pokalyis has quit [Quit: Textual IRC Client: www.textualapp.com]
Cohedrin has quit [Ping timeout: 272 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ramfjord has quit [Ping timeout: 264 seconds]
hutch34 has joined #ruby
gizmore has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
mozzarel1 is now known as mozzarella
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
GodFather has quit [Ping timeout: 264 seconds]
hutch34 has quit [Ping timeout: 264 seconds]
tcrypt has quit [Ping timeout: 244 seconds]
braincrash has quit [Quit: bye bye]
abernstein has quit [Ping timeout: 272 seconds]
<Emmanuel_Chanel> Hello! I use the ruby script to copy Gmail folder's mails to my IMAP server. And this error occurs: http://pastebin.com/dStsm3KC
<ruby[bot]> Emmanuel_Chanel: we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/07ac7213231ad82859f10d5c146492eb
<ruby[bot]> Emmanuel_Chanel: pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
dtscode has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
crdpink__ has joined #ruby
dminuoso has joined #ruby
nofxx has quit [Ping timeout: 272 seconds]
nofxx has joined #ruby
nofxx has quit [Changing host]
nofxx has joined #ruby
tcrypt has joined #ruby
beauby has quit [Read error: Connection reset by peer]
abernstein has joined #ruby
beauby has joined #ruby
dminuoso has quit [Ping timeout: 264 seconds]
RegulationD has joined #ruby
Azure|dc has joined #ruby
tcrypt has quit [Ping timeout: 272 seconds]
Coldblackice has quit []
Cohedrin has joined #ruby
tcrypt has joined #ruby
Azure has quit [Ping timeout: 240 seconds]
eljimmy has joined #ruby
jaguarmagenta has joined #ruby
RegulationD has quit [Ping timeout: 264 seconds]
Cohedrin_ has quit [Ping timeout: 264 seconds]
braincrash has joined #ruby
paradisaeidae has quit [Remote host closed the connection]
tjbiddle has joined #ruby
xall has quit [Ping timeout: 264 seconds]
Rickmasta has joined #ruby
jenrzzz has joined #ruby
whathappens has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
codelogix has joined #ruby
xall has joined #ruby
hahuang62 has joined #ruby
whathappens has quit [Ping timeout: 244 seconds]
jaguarmagenta has quit [Remote host closed the connection]
codelogix has quit [Ping timeout: 244 seconds]
hahuang62 has quit [Ping timeout: 264 seconds]
pwnd_nsfw` has joined #ruby
LoneHerm_ has joined #ruby
gix has quit [Ping timeout: 264 seconds]
gizmore has joined #ruby
abbi has joined #ruby
Robtop__ has quit [Ping timeout: 272 seconds]
gix has joined #ruby
beatdown has quit [Quit: ZNC 1.6.1 - http://znc.in]
eljimmy has quit [Quit: This computer has gone to sleep]
beatdown has joined #ruby
a7d7p has joined #ruby
hahuang62 has joined #ruby
jwl has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
abernstein has quit [Quit: abernstein]
JakFrist[WVU] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
s2013 has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
Jakey3 has quit [Ping timeout: 264 seconds]
craigp has quit [Ping timeout: 264 seconds]
ARCADIVS has joined #ruby
jwl has quit [Quit: bye.]
tcrypt has joined #ruby
exadeci has quit []
abernstein has joined #ruby
Rickmasta has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
matp has quit [Quit: ZZzzzZz...]
SteenJobs has quit [Quit: SteenJobs]
eljimmy has joined #ruby
not_underground has joined #ruby
roflmyeggo has quit [Ping timeout: 244 seconds]
MyMind has joined #ruby
jwl has joined #ruby
xentity1x has joined #ruby
bluOxigen has joined #ruby
abbi has quit [Quit: Page closed]
tcrypt has quit [Ping timeout: 264 seconds]
dminuoso has joined #ruby
Sembei has quit [Ping timeout: 264 seconds]
jwl has quit [Quit: bye.]
tenderlove has quit [Read error: Connection reset by peer]
jwl has joined #ruby
tenderlove has joined #ruby
dminuoso has quit [Ping timeout: 272 seconds]
tcrypt has joined #ruby
Vile` has quit [Ping timeout: 272 seconds]
dmtd has quit [Quit: Connection closed for inactivity]
Channel6 has quit [Quit: Leaving]
tyang has joined #ruby
gnufied has quit [Ping timeout: 264 seconds]
brendan- has joined #ruby
codelogix has joined #ruby
tyang_ has quit [Ping timeout: 244 seconds]
dtscode has joined #ruby
Devalo has joined #ruby
harai has quit [Ping timeout: 272 seconds]
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
tcrypt has quit [Ping timeout: 264 seconds]
Devalo has quit [Ping timeout: 244 seconds]
nankyokusei has joined #ruby
tcrypt_ has joined #ruby
compro has joined #ruby
JoshS has joined #ruby
capitainIsh has joined #ruby
arescorpio has quit [Quit: Leaving.]
a7d7p has quit [Quit: a7d7p]
nankyokusei has quit [Ping timeout: 264 seconds]
minimalism has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
tyang has quit [Ping timeout: 272 seconds]
tjbiddle has quit [Quit: tjbiddle]
pawnbox has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
roflmyeggo has joined #ruby
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
duncannz has joined #ruby
bob434 has quit [Quit: This computer has gone to sleep]
perniciouscaffei has joined #ruby
tjbiddle has joined #ruby
not_underground has quit [Ping timeout: 272 seconds]
cyphase has quit [Ping timeout: 272 seconds]
craigp has joined #ruby
eljimmy has quit [Quit: This computer has gone to sleep]
cyphase has joined #ruby
tmtwd has quit [Ping timeout: 272 seconds]
ec0 has quit [Ping timeout: 272 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dminuoso has joined #ruby
bob434 has joined #ruby
roflmyeggo has quit [Ping timeout: 272 seconds]
dminuoso has quit [Ping timeout: 264 seconds]
tcrypt_ has quit [Ping timeout: 264 seconds]
djbkd has joined #ruby
hahuang62 has quit [Ping timeout: 244 seconds]
ctp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Bounga has quit [Ping timeout: 272 seconds]
not_underground has joined #ruby
djbkd has quit [Ping timeout: 264 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
tcrypt has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
tcrypt has quit [Read error: Connection reset by peer]
tcrypt has joined #ruby
webus has joined #ruby
codelogix has quit [Ping timeout: 244 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
xrlabs has quit [Quit: Connection closed for inactivity]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
whathappens has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
pawnbox has quit [Remote host closed the connection]
freddymungo has quit [Read error: Connection reset by peer]
jaguarmagenta has joined #ruby
pawnbox has joined #ruby
whathappens has quit [Ping timeout: 272 seconds]
zotherstupidguy has quit [Ping timeout: 244 seconds]
Devalo has joined #ruby
zotherstupidguy has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
Sucks has joined #ruby
jaguarmagenta has quit [Ping timeout: 272 seconds]
charliesome has joined #ruby
bigkevmcd has joined #ruby
Jameser has joined #ruby
Devalo has quit [Remote host closed the connection]
ur5us has quit [Remote host closed the connection]
bocaneri has joined #ruby
ctp has joined #ruby
ur5us has joined #ruby
ctp has quit [Client Quit]
last_staff has joined #ruby
fckyoufreenode has joined #ruby
fckyoufreenode has quit [Client Quit]
cyphase has quit [Ping timeout: 244 seconds]
ofkors has joined #ruby
xall has quit [Ping timeout: 272 seconds]
Dimik has quit [Ping timeout: 272 seconds]
Guest15 has joined #ruby
ur5us has quit [Ping timeout: 264 seconds]
dminuoso has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
Guest15 has left #ruby [#ruby]
aufi has joined #ruby
compro has quit [Ping timeout: 264 seconds]
Jameser has quit [Max SendQ exceeded]
Immune has quit [Quit: ZzzZZZzzzz]
cyphase has joined #ruby
symm- has joined #ruby
tcrypt has joined #ruby
bearche has joined #ruby
tragique has quit [Quit: Connection closed for inactivity]
pawnbox has quit [Remote host closed the connection]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tjbiddle has quit [Quit: tjbiddle]
geezus has quit [Remote host closed the connection]
pawnbox has joined #ruby
Guest15 has joined #ruby
geezus has joined #ruby
thatsnotjack has quit [Ping timeout: 244 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
geezus has quit [Client Quit]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
dionysus69 has joined #ruby
pawnbox_ has joined #ruby
Guest15 is now known as vitd
pawnbox_ has quit [Remote host closed the connection]
pawnbox_ has joined #ruby
pawnbox has quit [Ping timeout: 244 seconds]
gingray has joined #ruby
dagda1 has joined #ruby
ajaiswal has quit [Ping timeout: 250 seconds]
a7d7p has joined #ruby
a7d7p has quit [Client Quit]
andikr has joined #ruby
dminuoso has quit [Ping timeout: 264 seconds]
nando293921 has quit [Ping timeout: 244 seconds]
yfeldblu_ has joined #ruby
codelogix has joined #ruby
yfeldblum has quit [Ping timeout: 244 seconds]
pleiosaur has joined #ruby
yfeldblu_ has quit [Ping timeout: 244 seconds]
johnmccabe has joined #ruby
codelogix has quit [Ping timeout: 272 seconds]
rippa has joined #ruby
vitd has quit [Quit: Textual IRC Client: www.textualapp.com]
capitainIsh has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
whathappens has joined #ruby
capitainIsh has joined #ruby
daves12222 has joined #ruby
<daves12222> anyone here used visual ruby ?, got ouestions
conta has joined #ruby
whathappens has quit [Ping timeout: 264 seconds]
compro has joined #ruby
xall has joined #ruby
Bounga has joined #ruby
pawnbox_ has quit [Ping timeout: 244 seconds]
nankyokusei has joined #ruby
not_underground has quit [Ping timeout: 264 seconds]
jaequery has joined #ruby
pawnbox has joined #ruby
Ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<daves12222> anyone seeing this?
<rippa> yep
<daves12222> chrs rippa, only seeing ppl coming in and leaving...
<daves12222> you any good with glade?
nankyokusei has quit [Ping timeout: 244 seconds]
Bounga has quit [Ping timeout: 244 seconds]
<rippa> nope
<daves12222> know of anyone on that might be?, wanting help with visual ruby (ruby + glade + gtk3
brendan- has joined #ruby
wugy has joined #ruby
boogeyman has quit [Quit: bb]
tomphp has joined #ruby
Dimik has joined #ruby
ofkors has quit [Ping timeout: 244 seconds]
boogeyman has joined #ruby
Rickmasta has quit [Ping timeout: 272 seconds]
mark_66 has joined #ruby
Rickmasta has joined #ruby
johnmccabe has quit [Quit: Textual IRC Client: www.textualapp.com]
watersoul has quit [Ping timeout: 240 seconds]
Hyuk has joined #ruby
beauby has quit [Ping timeout: 264 seconds]
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
tvw has joined #ruby
the_drow has joined #ruby
AlphaAtom has joined #ruby
vitd has joined #ruby
submitnine has joined #ruby
tjbiddle has joined #ruby
Dimik has quit [Ping timeout: 264 seconds]
Robtop__ has joined #ruby
pawnbox has quit [Ping timeout: 272 seconds]
tcrypt__ has joined #ruby
Bounga has joined #ruby
pawnbox has joined #ruby
aganov has joined #ruby
vitd has quit [Quit: leaving]
not_underground has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
pwnd_nsfw` has quit [Ping timeout: 272 seconds]
Snickers has joined #ruby
anisha has joined #ruby
hahuang62 has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
the_drow has joined #ruby
bsrd has joined #ruby
claudiuinberlin has joined #ruby
yfeldblum has joined #ruby
<daves12222> ?help
<daves12222> --command
<apeiros> daves12222: what do you need?
djbkd has joined #ruby
<daves12222> trying to figure out why i'm only getting ppl entering and leaving but _NO_ talk -sigh
<apeiros> because there was no talk?
<daves12222> you & rippa are the only ones i've spoken to thus far
hahuang62 has quit [Ping timeout: 272 seconds]
<rippa> probably no one knows how to help you
<rippa> or just not much people actually online
jshjsh has joined #ruby
<apeiros> I don't use visual ruby, so can't help with that.
RegulationD has joined #ruby
yfeldblum has quit [Remote host closed the connection]
crdpink__ has quit [Remote host closed the connection]
JoshS has quit [Ping timeout: 264 seconds]
djbkd_ has joined #ruby
yfeldblum has joined #ruby
crdpink__ has joined #ruby
<daves12222> rapeiros - know of anyother chat room i could go to?
<daves12222> oppps for this help??
<apeiros> sorry, I don't. would have mentioned otherwise.
despai has joined #ruby
<daves12222> anyone any ideas?? - tried joining gnome glade (whatever but never got a verifing email reply to activate account, so now I dead in the water
RegulationD has quit [Ping timeout: 244 seconds]
<daves12222> each time since i try i get nothing, even if i try to enter my email addy and click forgot password
djbkd has quit [Ping timeout: 264 seconds]
vitd has joined #ruby
codelogix has joined #ruby
AlphaAtom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
the_drow has quit [Read error: Connection reset by peer]
<rippa> not many people do GUI in ruby
<rippa> mainly web stuffs
codelogix has quit [Ping timeout: 244 seconds]
the_drow has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
UserJosh has joined #ruby
vitd has quit [Quit: leaving]
zotherstupidguy has quit [Ping timeout: 244 seconds]
jaequery has joined #ruby
zotherstupidguy has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
whathappens has joined #ruby
crdpink__ has quit [Remote host closed the connection]
_sfiguser has quit [Ping timeout: 264 seconds]
gizmore has quit [Quit: KVIrc 4.9.2 Aria http://www.kvirc.net/]
jshjsh has quit [Ping timeout: 264 seconds]
postmodern has quit [Ping timeout: 272 seconds]
crdpink__ has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
matp has joined #ruby
Silthias has joined #ruby
jaguarmagenta has joined #ruby
edwinvdgraaf has joined #ruby
whathappens has quit [Ping timeout: 244 seconds]
s2013 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
crdpink__ has quit [Remote host closed the connection]
<daves12222> chrs rippa, i'm trying to buck the trend :) - spot ya.....
daves12222 has quit [Quit: Konversation terminated!]
crdpink__ has joined #ruby
the_drow has joined #ruby
<[spoiler]> Is anyone perhaps interested in a Ruby dev job in Hamburg, Germany? :) I am not hiring, but I was a candidate for the role, but we didn't move forward with it in the end. Here's more info about the job: http://www.epages.com/en/career/?jh=3r12t9pp853d18z17601z39yc7tzgqs
<[spoiler]> Side note: I see they've updated the job listing and the role name. It was just "RoR developer" previously
<[spoiler]> They also added PHP. Yikes.
harai has joined #ruby
jaguarmagenta has quit [Ping timeout: 244 seconds]
Hyuk has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
ctp has joined #ruby
Hyuk has joined #ruby
NTrash has joined #ruby
Jameser has joined #ruby
_sfiguser has joined #ruby
tcrypt has joined #ruby
dminuoso has joined #ruby
f0rpaxe has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
tcrypt__ has quit [Ping timeout: 264 seconds]
the_drow has quit [Read error: Connection reset by peer]
postmodern has joined #ruby
the_drow has joined #ruby
<[spoiler]> rippa: I am a Ruby dev who does almost no web stuffs in Ruby :D
<[spoiler]> Well, I do, actually. However, rarely
tcrypt_ has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Jameser has quit [Max SendQ exceeded]
djbkd_ has quit [Remote host closed the connection]
jaequery has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
mib_mib has joined #ruby
<mib_mib> does anyone have experience bundling ruby as a cross-platform binary ?
NTrash has quit [Ping timeout: 255 seconds]
the_drow has joined #ruby
NTrash has joined #ruby
Jameser has joined #ruby
crdpink__ has quit [Read error: Connection reset by peer]
bob434 has quit [Quit: This computer has gone to sleep]
crdpink__ has joined #ruby
tcrypt_ has quit [Ping timeout: 264 seconds]
jaequery has quit [Ping timeout: 272 seconds]
watersoul has joined #ruby
Sucks has quit [Read error: Connection reset by peer]
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
saneax-_-|AFK is now known as saneax
blaxter has joined #ruby
sid05 has quit [Ping timeout: 240 seconds]
the_drow has quit [Read error: Connection reset by peer]
mib_mib has quit [Quit: Page closed]
haxrbyte has joined #ruby
xall has quit [Ping timeout: 264 seconds]
the_drow has joined #ruby
dwfhoc has joined #ruby
Wolland has quit []
dionysus69 has quit [Ping timeout: 264 seconds]
banisterfiend has joined #ruby
NTrash_ has joined #ruby
NTrash has quit [Ping timeout: 244 seconds]
aidalgol has joined #ruby
SteenJobs has joined #ruby
capitainIsh has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
ur5us has joined #ruby
nofxx has quit [Ping timeout: 272 seconds]
anisha has quit [Quit: This computer has gone to sleep]
djbkd has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
tcrypt has joined #ruby
yfeldblum has quit [Ping timeout: 244 seconds]
the_drow has joined #ruby
c355e3b has quit [Quit: Connection closed for inactivity]
Pumukel has joined #ruby
marr has joined #ruby
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
the_drow has quit [Read error: Connection reset by peer]
Jakey3 has joined #ruby
the_drow has joined #ruby
codelogix has joined #ruby
mikecmpbll has joined #ruby
wingwalker has joined #ruby
jackjackdripper has joined #ruby
ocbtec has joined #ruby
haxrbyte has quit [Quit: Leaving...]
<bascht> mib_mib: Cross-Platform as in »multiple OS'es«?
flying has joined #ruby
postmodern has quit [Ping timeout: 272 seconds]
codelogix has quit [Ping timeout: 264 seconds]
haxrbyte has joined #ruby
wingwalker has quit [Quit: Leaving]
jaxxstorm has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
whathappens has joined #ruby
blackgoat has quit [Quit: WeeChat 1.5]
yfeldblum has joined #ruby
_djbkd has joined #ruby
postmodern has joined #ruby
tcrypt has joined #ruby
Rajamaa has joined #ruby
whathappens has quit [Ping timeout: 264 seconds]
nankyokusei has joined #ruby
Cohedrin has joined #ruby
_djbkd has quit [Ping timeout: 264 seconds]
djbkd has quit []
blackgoat has joined #ruby
xall has joined #ruby
Snowy has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
pawnbox has quit [Ping timeout: 272 seconds]
nankyokusei has quit [Ping timeout: 272 seconds]
pawnbox has joined #ruby
hk238 has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
pwnd_nsfw` has joined #ruby
the_drow has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
xall has quit [Ping timeout: 272 seconds]
ur5us has quit [Remote host closed the connection]
pwnd_nsfw` has quit [Read error: Connection reset by peer]
ur5us has joined #ruby
pwnd_nsfw` has joined #ruby
biberu has joined #ruby
Robtop__ has quit [Ping timeout: 272 seconds]
duncannz has quit [Remote host closed the connection]
tcrypt has quit [Ping timeout: 264 seconds]
senayar has joined #ruby
senayar has joined #ruby
senayar has quit [Changing host]
the_drow has quit [Read error: Connection reset by peer]
crdpink__ has quit [Remote host closed the connection]
<Cork> is there a way to do "send arguments to function if it accepts then else ignore them"?
tcrypt has joined #ruby
<Cork> i'm generically calling a function in a class i'm passed and the class might not want to use the arguments i send so it doesn't define any parameters
crdpink__ has joined #ruby
ur5us has quit [Ping timeout: 272 seconds]
the_drow has joined #ruby
bsrd has quit [Quit: WeeChat 1.5]
mim1k|wo1k has joined #ruby
mim1k|work has quit [Disconnected by services]
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.2 Aria]
mim1k|wo1k is now known as mim1k|work
jenrzzz has joined #ruby
<jokke> hi, i was wondering if there was some similar api for ruby like the JSON::Builder in crystal
hahuang62 has joined #ruby
salut has joined #ruby
Madplatypus has joined #ruby
<Cork> jokke: simplest is prob to just create a hash and use JSON.serialize
<Cork> (or array)
<Cork> else you have to use a gem like json_builder
<jokke> yeah sure, but that's not what i'm after
<jokke> json_builder, huh? will look into that
pawnbox has quit [Ping timeout: 272 seconds]
the_drow has quit [Read error: Connection reset by peer]
<jokke> my usecase: iterate over a db cursor lazily and write json to a socket while iterating
<Cork> ah
<Cork> hmm not sure that one can do that
<Cork> the problem is you can't parse json as a stream
<jokke> well there's yajl
<jokke> sure can
<Cork> you have to end the end of it before it can be valid
<jokke> kinda
<Cork> *have to have the end*
<jokke> yes you're right, but you can actually create the json data structure on the fly while parsing
<Cork> sure
<dminuoso> Cork: Yes. there is.
<jokke> this is exactly what crystal's JSON::PullParser does
<dminuoso> &ri Method#arity ocbtec
<dminuoso> err Cork
<Cork> dminuoso: please share, cause my google fue fails :)
craigp has quit [Quit: WeeChat 1.5]
hahuang62 has quit [Ping timeout: 244 seconds]
<Cork> _derpy: not sure that helps me, i need to pass the arguments and execute the method
<dminuoso> Cork: Depending on your scenario, you could also use Method#curry
<jokke> jhass: maybe you have some ideas? :)
pawnbox has joined #ruby
<Cork> ah
<Cork> ya, that fits much better
<Cork> dminuoso: thx
the_drow has joined #ruby
blackgoat has quit [Ping timeout: 264 seconds]
tcrypt has quit [Ping timeout: 264 seconds]
craigp has joined #ruby
pawnbox has quit [Remote host closed the connection]
Burgestrand has joined #ruby
ruby[bot] has quit [Ping timeout: 272 seconds]
ruby[bot] has joined #ruby
Hyuk has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
haxrbyte has quit [Quit: Leaving...]
Rajamaa has quit [Ping timeout: 272 seconds]
Rajamaa has joined #ruby
Ananthu has joined #ruby
mim1k has joined #ruby
Robtop__ has joined #ruby
mim1k has quit [Client Quit]
tcrypt has joined #ruby
mim1k|work has quit [Disconnected by services]
ta_ has quit [Remote host closed the connection]
pwnd_nsfw has joined #ruby
erlingur has quit [Ping timeout: 264 seconds]
xall has joined #ruby
jshjsh has joined #ruby
the_drow_ has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
moei has quit [Quit: Leaving...]
tomphp has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 272 seconds]
mim1k|work has joined #ruby
ur5us has joined #ruby
Robtop__ has quit [Ping timeout: 272 seconds]
UserJosh has quit [Ping timeout: 272 seconds]
mim1k|wo1k has joined #ruby
claudiuinberlin has quit [Remote host closed the connection]
xall has quit [Ping timeout: 264 seconds]
astrobun_ has quit [Remote host closed the connection]
koooge has quit [Quit: Leaving...]
astrobunny has joined #ruby
astrobunny has quit [Remote host closed the connection]
astrobunny has joined #ruby
codelogix has joined #ruby
claudiuinberlin has joined #ruby
mim1k|work has quit [Ping timeout: 264 seconds]
pwnd_nsfw has quit [Read error: Network is unreachable]
pwnd_nsfw has joined #ruby
exchgr has quit [Ping timeout: 272 seconds]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
astrobunny has quit [Ping timeout: 264 seconds]
codelogix has quit [Ping timeout: 272 seconds]
the_drow_ has quit [Read error: Connection reset by peer]
jcao219 has quit [Ping timeout: 264 seconds]
jswe has quit [Quit: ZNC 1.6.3+deb1+trusty0 - http://znc.in]
moei has joined #ruby
exchgr has joined #ruby
whathappens has joined #ruby
jswe has joined #ruby
tvw has quit [Read error: Connection reset by peer]
the_drow has joined #ruby
compro has quit [Ping timeout: 264 seconds]
lxsameer has joined #ruby
jaguarmagenta has joined #ruby
NTrash has joined #ruby
aidalgol has quit [Quit: zZzZZzz]
NTrash_ has quit [Ping timeout: 255 seconds]
ur5us has quit [Remote host closed the connection]
whathappens has quit [Ping timeout: 264 seconds]
ur5us has joined #ruby
jcao219 has joined #ruby
pygospa has quit [Ping timeout: 240 seconds]
jaguarmagenta has quit [Ping timeout: 264 seconds]
Jakey3 has quit [Quit: Leaving]
aries_liuxueyang has quit [Ping timeout: 272 seconds]
ur5us has quit [Ping timeout: 244 seconds]
jackjackdripper has quit [Quit: Leaving.]
[k- has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
aries_liuxueyang has joined #ruby
Jameser has quit [Quit: Textual IRC Client: www.textualapp.com]
pygospa has joined #ruby
xentity1x has quit [Ping timeout: 244 seconds]
nadir has quit [Quit: Connection closed for inactivity]
_sfiguser has quit [Ping timeout: 272 seconds]
JoshS has joined #ruby
atom3_ has joined #ruby
not_underground has quit [Remote host closed the connection]
jshjsh has quit [Ping timeout: 244 seconds]
the_drow has quit [Read error: Connection reset by peer]
atom3 has quit [Ping timeout: 276 seconds]
the_drow has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
erlingur has joined #ruby
tcrypt_ has joined #ruby
ARCADIVS has quit [Quit: ARCADIVS]
Rajamaa has quit [Ping timeout: 272 seconds]
JRajamaa has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
pawnbox has joined #ruby
harai has quit [Ping timeout: 264 seconds]
Ananthu has left #ruby [#ruby]
m1911 has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
erlingur has quit [Ping timeout: 244 seconds]
araujo has quit [Ping timeout: 276 seconds]
_sfiguser has joined #ruby
m1911 has quit [Client Quit]
stamina has joined #ruby
tcrypt_ has quit [Ping timeout: 264 seconds]
araujo has joined #ruby
tcrypt has joined #ruby
the_drow has joined #ruby
araujo has quit [Max SendQ exceeded]
araujo has joined #ruby
pawnbox has quit [Ping timeout: 272 seconds]
erlingur has joined #ruby
yfeldblum has quit [Ping timeout: 272 seconds]
tcrypt has quit [Ping timeout: 264 seconds]
byte512 has joined #ruby
harai has joined #ruby
pawnbox has joined #ruby
xall has joined #ruby
dionysus69 has joined #ruby
ta_ has joined #ruby
dtscode has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
_sfiguser has quit [Ping timeout: 272 seconds]
erlingur has quit [Ping timeout: 264 seconds]
xall has quit [Ping timeout: 244 seconds]
bsrd has joined #ruby
the_drow has quit [Ping timeout: 244 seconds]
bsrd has quit [Client Quit]
jaxxstorm has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jaxxstorm has joined #ruby
jaxxstorm has quit [Client Quit]
tcrypt has joined #ruby
tcrypt_ has joined #ruby
codelogix has joined #ruby
harai has quit [Ping timeout: 272 seconds]
last_staff is now known as last_sta1f
last_sta1f is now known as last_staff
tcrypt__ has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
tcrypt_ has quit [Read error: Connection reset by peer]
JeanCarloMachado has joined #ruby
the_drow has joined #ruby
pawnbox has quit [Read error: Connection reset by peer]
erlingur has joined #ruby
pawnbox has joined #ruby
_sfiguser has joined #ruby
harai has joined #ruby
the_drow has quit [Max SendQ exceeded]
the_drow has joined #ruby
codelogix has quit [Ping timeout: 244 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
erlingur_ has joined #ruby
rippa has joined #ruby
nettoweb has joined #ruby
jshjsh has joined #ruby
erlingur has quit [Ping timeout: 244 seconds]
JoshS has quit [Ping timeout: 272 seconds]
gregf_ has quit [Ping timeout: 240 seconds]
whathappens has joined #ruby
the_drow has quit [Ping timeout: 244 seconds]
m1911 has joined #ruby
the_drow has joined #ruby
vdamewood has joined #ruby
erlingur_ has quit [Ping timeout: 244 seconds]
senayar has quit [Ping timeout: 272 seconds]
nankyokusei has joined #ruby
whathappens has quit [Ping timeout: 264 seconds]
imightbestupid12 has joined #ruby
<imightbestupid12> i don't understand how the to_s override works =(
jaxxstorm has joined #ruby
<imightbestupid12> so i have this code that i wrote: https://repl.it/DlNa
Ishido has joined #ruby
<imightbestupid12> when i don't do the to_s override it shows me the object id, but when i override to_s it shows me whatever is returned from the to_s method i defined in my class
gnufied has joined #ruby
<imightbestupid12> what is the magic behind that?
<apeiros> the magic behind that is that puts calls to_s
nankyokusei has quit [Ping timeout: 244 seconds]
<fbt> So many implicit things in ruby
eGGshke has joined #ruby
<fbt> :D
<fbt> It's like I'm writing shell all over again!
gnufied has quit [Max SendQ exceeded]
habitullence has joined #ruby
elenatanasoiu has joined #ruby
<imightbestupid12> oh and if to_s isn't defined it prints out the Player class's object id because it's the last thing that's returned?
<apeiros> no
gnufied has joined #ruby
<imightbestupid12> #<Player:0x005564968f7848>
<apeiros> because Player inherits from Object, and Object#to_s returns that
Devalo has joined #ruby
<imightbestupid12> oh, thank you so much!
<apeiros> if to_s is *truly* not defined and it isn't already a String, puts will raise.
<apeiros> >> puts BasicObject.new
<ruby[bot]> apeiros: # => undefined method `to_s' for #<BasicObject:0x4147dc54> (NoMethodError) ...check link for more (https://eval.in/653064)
pawnbox has quit [Ping timeout: 244 seconds]
<imightbestupid12> is there anything like https://app.pluralsight.com/library/courses/advanced-javascript/table-of-contents but for ruby? basically kyle simpson goes over how the javascript interpreter works and talks about the nuances of javascript
<apeiros> maybe the book "ruby under the microscope" (or similar)
Bounga has quit [Ping timeout: 272 seconds]
gnufied has quit [Max SendQ exceeded]
aries_liuxueyang has quit [Ping timeout: 244 seconds]
cibs has quit [Ping timeout: 268 seconds]
Devalo has quit [Ping timeout: 244 seconds]
pawnbox has joined #ruby
cibs has joined #ruby
Rutix has quit []
<imightbestupid12> thank you apeiros :)
erlingur_ has joined #ruby
the_drow has quit [Ping timeout: 272 seconds]
Xeago has quit [Ping timeout: 244 seconds]
<apeiros> yw
Xeago has joined #ruby
erlingur_ has quit [Ping timeout: 264 seconds]
m1911 has quit [Remote host closed the connection]
rodfersou has joined #ruby
bearche has quit [Ping timeout: 272 seconds]
gnufied has joined #ruby
erlingur_ has joined #ruby
gnufied has quit [Max SendQ exceeded]
the_drow has joined #ruby
eGGshke has quit [Quit: Leaving...]
gnufied has joined #ruby
hahuang62 has joined #ruby
gnufied has quit [Max SendQ exceeded]
Hyuk has joined #ruby
c355e3b has joined #ruby
gnufied has joined #ruby
Rodya_ has joined #ruby
gnufied has quit [Max SendQ exceeded]
JeanCarl1Machado has joined #ruby
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pwnd_nsfw` has joined #ruby
salut_ has joined #ruby
Contigi777 has quit [Read error: Connection reset by peer]
gnufied has joined #ruby
gnufied has quit [Max SendQ exceeded]
salut has quit [Ping timeout: 264 seconds]
salut_ is now known as salut
tmtwd has joined #ruby
gnufied has joined #ruby
djbkd has joined #ruby
hahuang62 has quit [Ping timeout: 244 seconds]
pwnd_nsfw has quit [Ping timeout: 244 seconds]
gnufied has quit [Max SendQ exceeded]
JeanCarloMachado has quit [Ping timeout: 264 seconds]
gnufied has joined #ruby
johnmilton has quit [Remote host closed the connection]
gnufied has quit [Max SendQ exceeded]
imightbestupid12 has quit [Quit: Page closed]
djbkd has quit [Ping timeout: 264 seconds]
ode_to_code has joined #ruby
tcrypt__ has quit [Ping timeout: 264 seconds]
Jakey3 has joined #ruby
erlingur_ has quit [Ping timeout: 272 seconds]
<Jakey3> is there a way to combine these https://paste.ubuntu.com/23254929/ ?
Hyuk has quit [Quit: Textual IRC Client: www.textualapp.com]
pawnbox has quit [Ping timeout: 264 seconds]
tcrypt has joined #ruby
<apeiros> ?context Jakey3
<ruby[bot]> Jakey3: Please add more context to your question, what are you doing, why are you doing it, which libraries are involved. Post some code to gist if it clarifies your question.
<Jakey3> so they are one statement
<apeiros> why did I even ask…
the_drow has quit [Read error: Connection reset by peer]
<hanmac> Jakey3: we want to know where the "package" method come from ... without we might not help you that much
<Jakey3> some thing like http://pastebin.ubuntu.com/23254936/
the_drow has joined #ruby
pawnbox has joined #ruby
<Jakey3> ah ok chef
<apeiros> congrats
<apeiros> how do you think we could have figured that?
<Jakey3> apologies
<Jakey3> my bad
<apeiros> anyway, probably better suited in chef's own channel.
<Jakey3> ok
Doney has joined #ruby
willywos has joined #ruby
tcrypt has quit [Read error: Connection reset by peer]
tcrypt_ has joined #ruby
jaruga___ has joined #ruby
RegulationD has joined #ruby
<Jakey3> thanks
Robtop__ has joined #ruby
_sfiguser has quit [Remote host closed the connection]
blackgoat has joined #ruby
erlingur_ has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
JeanCarl1Machado has quit [Ping timeout: 244 seconds]
JeanCarloMachado has joined #ruby
RegulationD has quit [Ping timeout: 264 seconds]
KnownSyntax has quit [Ping timeout: 244 seconds]
gnufied has joined #ruby
Rodya_ has quit [Remote host closed the connection]
pwnd_nsfw` has quit [Ping timeout: 272 seconds]
claudiuinberlin has quit [Remote host closed the connection]
codelogix has joined #ruby
Rodya_ has joined #ruby
Hyuk has joined #ruby
pawnbox has quit [Ping timeout: 272 seconds]
codelogix has quit [Ping timeout: 244 seconds]
erlingur_ has quit [Ping timeout: 264 seconds]
erlingur_ has joined #ruby
Silthias has quit [Ping timeout: 264 seconds]
Guest474 has quit [Ping timeout: 264 seconds]
willywos has quit [Quit: Textual IRC Client: www.textualapp.com]
tmtwd has quit [Ping timeout: 272 seconds]
Silthias has joined #ruby
JeanCarloMachado has quit [Ping timeout: 264 seconds]
ldnunes has joined #ruby
JeanCarloMachado has joined #ruby
Antiarc_ has quit [Quit: No Ping reply in 180 seconds.]
whathappens has joined #ruby
dionysus69 has quit [Ping timeout: 244 seconds]
Antiarc has joined #ruby
nuck has joined #ruby
the_drow has quit [Ping timeout: 264 seconds]
nuck is now known as Guest41787
sdothum has joined #ruby
ode_to_code has quit [Quit: ode_to_code]
jaguarmagenta has joined #ruby
alibby has joined #ruby
the_drow has joined #ruby
Madplatypus has quit [Quit: Connection closed for inactivity]
soulisson has joined #ruby
gagrio has joined #ruby
whathappens has quit [Ping timeout: 264 seconds]
jaguarmagenta has quit [Ping timeout: 244 seconds]
tcrypt has joined #ruby
tcrypt_ has quit [Ping timeout: 244 seconds]
hays has joined #ruby
hays_ has quit [Ping timeout: 272 seconds]
<atmosx> I see rubocop enforces 10-lines per method, is that sane? I mean aren't 10 lines per method a little low? Is it a good practice to follow this policy?
johnmilton has joined #ruby
<dminuoso> atmosx: No. Consider this to be a code smell indicator.
<dminuoso> atmosx: It usually means you have bad code design. Splitting your methods becuase Rubycop thinks they are too long is usually a terrible idea.
<apeiros> it is good practice to have small, focused methods. however, 10 lines is IMO not sane.
<dminuoso> apeiros: 10 lines is far too long indeed.
<Papierkorb> atmosx: I think I left it at 10 lines too, I think it's reasonable
<apeiros> I prefer to work with thresholds
<Papierkorb> But rubocop isn't perfect
<apeiros> as in: 60% <10 LoC, 30% <30 LoC, rest <100 LoC (numbers pulled from thin air)
c1_ has joined #ruby
<dminuoso> atmosx: So treat it as a code smell indicator. If you see a 15 line methods that is long because you split a single method call across 5 lines for readability, then its fine. If you realize its clean and only solvable in 15 lines? Then its fine.
tcrypt has quit [Ping timeout: 264 seconds]
<Papierkorb> it flips its shit for some methods which really just build a big hash
Jakey3 has quit [Ping timeout: 272 seconds]
<dminuoso> atmosx: if you have some 30 lines - rethink the design (dont just mindlessly split it into methods)
<apeiros> method classes - something which still makes me feel uneasy
<apeiros> (a class which is basically one method, but that method split into smaller methods to facilitate readability)
<Papierkorb> apeiros: IMO, that's totally bonkers. I don't do OOP because I think in methods, but because I think of stuff as objects.
<dminuoso> apeiros: Functions should not help with readability, but structure your code into components.
<atmosx> dminuoso: yes I got it, I am scraping some data, and then looping through it multiple times to extract some other data, this could/should be done in 1-go. I need to figure out how, this was my first take which worked as expected and I didn't bother optimizing it, until now.
jenrzzz has joined #ruby
jenrzzz has joined #ruby
soulisson has left #ruby ["Leaving"]
nobitanobi has joined #ruby
mtkd has quit [Ping timeout: 272 seconds]
<Papierkorb> atmosx: If you have something like a loop, easiest refactor step is to move the loop body into its own method. /Most/ of the time this works out just fine.
c1_ is now known as Jakey3
<nobitanobi> hello!
<apeiros> dminuoso: I disagree. there's a point to be made to replace `if foo && bar && baz && whatever then …` with `if user_has_change_privileges? then`
mtkd has joined #ruby
<apeiros> methods/functions can make it a lot easier to understand (through naming) what's going on
gagrio has quit [Quit: Leaving...]
<dminuoso> apeiros: Does this serve to maintain an internal interface or facilitate reusability?
tcrypt_ has joined #ruby
Robtop__ has quit [Read error: Network is unreachable]
<apeiros> can happen in both, but I guess your argument is that it's superfluous internally. and IMO it can be valuable internally too.
<dminuoso> If not, I would not extract it out for the sheer code readability. A comment will do just as nicely.
conta has quit [Ping timeout: 244 seconds]
hk238 has joined #ruby
<nobitanobi> I have found a regex defined as: https://gist.github.com/novito/783878b28e414fcb03da7a0ecfebd0e3#file-email_regex-rb-L17 - when I do `email_regex.encoding` I get "#<Encoding:ASCII-8BIT>" - So, if I try to match UTF-8 against it, I get "Encoding::CompatibilityError: incompatible encoding regexp match (ASCII-8BIT regexp with UTF-8 string)" - is there any workaround for the regex to just return not match instead of rai
<nobitanobi> sing an exception?
Robtop__ has joined #ruby
<apeiros> "what does this do" comments are IMO admitting defeat.
<Papierkorb> apeiros: This one-method-one-class thing looked to me always as counter movement against the huge models often found in Rails apps. I interpret is as overreaction over poor method architecture beforehand
Hyuk has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
<apeiros> if I have to document *what* my code does (within code), I think again how I can write it so it becomes clear from the code itself. and the main tools are: assign intermediate results to variables (give the result a name), split out parts into smaller methods
Jakey3 has quit [Quit: Leaving]
<apeiros> Papierkorb: by one-method-one-class you mean one-external-method-one-class, right?
Jakey3 has joined #ruby
<Papierkorb> apeiros: yes
<apeiros> Papierkorb: things like job queue workers are just that
bsrd has joined #ruby
jenrzzz has quit [Ping timeout: 272 seconds]
<apeiros> the most common case for those things are "service" classes (or "workflow" or "operation" whatever you want to call them)
nikivi has joined #ruby
aufi has quit [Quit: Leaving]
tlaxkit has joined #ruby
<apeiros> nobitanobi: email.b
nikivi has quit [Remote host closed the connection]
<Papierkorb> apeiros: I think of those differently. I try to make a sharp distinction between workin with data (=> own class) or working directly on the data. A job takes a user and sends an email to the users email address, so it works with the data. But if the user changes their password, I'd put that #change_password method into the users model, cause now I'm working directly on the data. If that makes any sense ~
pinky has quit [Disconnected by services]
rmn has joined #ruby
tyang has joined #ruby
tyang has quit [Read error: Connection reset by peer]
brendan- has joined #ruby
the_drow has quit [Ping timeout: 272 seconds]
the_drow has joined #ruby
<nobitanobi> apeiros: thank you!
Burgestrand has joined #ruby
conta has joined #ruby
Hyuk has joined #ruby
tyang has joined #ruby
conta has quit [Ping timeout: 264 seconds]
synthroid has joined #ruby
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Vile` has joined #ruby
xall has joined #ruby
the_drow has quit [Ping timeout: 244 seconds]
bruce_lee has quit [Read error: Connection reset by peer]
bruce_lee has joined #ruby
bruce_lee has quit [Changing host]
bruce_lee has joined #ruby
the_drow has joined #ruby
fmcgeough has joined #ruby
xall has quit [Ping timeout: 272 seconds]
pawnbox has joined #ruby
blackmesa has joined #ruby
pawnbox has quit [Remote host closed the connection]
bob434 has joined #ruby
pawnbox has joined #ruby
pawnbox has quit [Remote host closed the connection]
Burgestrand has joined #ruby
csk has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 255 seconds]
erlingur_ has quit [Ping timeout: 272 seconds]
platzhirsch has joined #ruby
csk has quit [Client Quit]
pawnbox has joined #ruby
thorgi has quit [Ping timeout: 276 seconds]
erlingur_ has joined #ruby
pawnbox has quit [Remote host closed the connection]
<nobitanobi> apeiros: I don't see the `.b` in the String docs
pawnbox has joined #ruby
<nobitanobi> trying to understand what it does
claudiuinberlin has joined #ruby
codelogix has joined #ruby
<nobitanobi> I was looking at: https://ruby-doc.org/core-2.1.0/String.html - thanks apeiros
<apeiros> 2.1 vs. 2.3
<apeiros> it doesn't exist in 2.1
the_drow has quit [Ping timeout: 272 seconds]
<nobitanobi> yep :)
<nobitanobi> thanks
<apeiros> yw
the_drow has joined #ruby
chouhoulis has joined #ruby
claudiuinberlin has quit [Ping timeout: 264 seconds]
claudiuinberlin has joined #ruby
<nobitanobi> apeiros: I am wondering one thing with that approach tho. Wouldn't it cause false positives, where we get an input for utf8 and it says it's an email (because of the force encoding to ASCII-8bit), but is not/
codelogix has quit [Ping timeout: 272 seconds]
yqfvwal has joined #ruby
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apeiros> no, you wouldn't
yqfvwal has quit [Max SendQ exceeded]
conta has joined #ruby
urbanmonk has joined #ruby
<apeiros> the older email spec is ascii only. the part in utf-8 which is ascii won't change
<apeiros> the newer email spec only adds utf-8 beyond ascii. and if the regex is binary to test that, it won't give you a false positive either
<apeiros> the machine itself doesn't care about the encoding btw.
<apeiros> the encoding is for us humans
<nobitanobi> I was wrongly assuming that if we had, for example, an email like "ç@example.com".b, it would transform it to "c@example.com"
<nobitanobi> and then it would return true
<apeiros> no. .b does not translate anything.
<nobitanobi> but I just wrote a quick test to prove myself wrong
<apeiros> .b only changes the encoding flag.
gnufied__ has joined #ruby
<apeiros> the binary data in the string remains the same.
<nobitanobi> perfect, thanks apeiros
<Jakey3> how do i install a specific version of ruby with rvm
<Jakey3> ?
<apeiros> i.e. "ç".bytes == "ç".b.bytes
<apeiros> Jakey3: `rvm help install`
<nobitanobi> rvm install 1.9.3
<nobitanobi> or whatever version you want @Jakey3
gnufied has quit [Quit: Leaving]
gnufied__ has quit [Client Quit]
<nobitanobi> apeiros: that's interesting - thank you
gnufied has joined #ruby
<nobitanobi> I find encoding hard to follow sometimes
Vile` has quit [Ping timeout: 244 seconds]
<nobitanobi> like, why would the regex be in ASCII-8bit if it's defined in a utf8 file?
<apeiros> nobitanobi: if that's news to you, then I strongly recommend on spending an hour or two learning about encoding basics.
<nobitanobi> yes, I will do that.
<apeiros> because a utf-8 regex can't test whether the data is valid utf-8
gnufied has quit [Max SendQ exceeded]
<apeiros> additionally it's a lot easier to translate the email bnf into a binary regex
djbkd has joined #ruby
<nobitanobi> what I meant to ask is.. https://gist.github.com/novito/783878b28e414fcb03da7a0ecfebd0e3#file-email_regex-rb - what makes this regex ASCII-8bit and not UTF-8?
gnufied has joined #ruby
<nobitanobi> if I do email_regex.encoding, why do I get ASCII-8
<nobitanobi> instead of UTF-8
<nobitanobi> what part of that strings defines which encoding is the regex using
f0rpaxe has quit [Quit: Connection closed for inactivity]
<apeiros> nothing
<apeiros> the regex defines its encoding
<apeiros> >> /foo/n.encoding
<ruby[bot]> apeiros: # => #<Encoding:US-ASCII> (https://eval.in/653144)
Snowy has quit [Remote host closed the connection]
nankyokusei has joined #ruby
<nobitanobi> ah interesting
<nobitanobi> so whatever you put in the regex will define its encoding
<nobitanobi> apeiros: any readings you suggest to step up my encoding game?
SteenJobs has joined #ruby
<apeiros> no
<apeiros> not what you put in the regex
alexis has joined #ruby
<apeiros> >> /ä/n
<ruby[bot]> apeiros: # => /tmp/execpad-69388150e175/source-69388150e175:2: regexp encoding option 'n' differs from source enco ...check link for more (https://eval.in/653145)
<nobitanobi> the suffix
alexis is now known as Guest49496
<apeiros> nobitanobi: https://gist.github.com/apeiros/39acc5b486f932403638 this might be a good start.
djbkd has quit [Ping timeout: 264 seconds]
<nobitanobi> thank you very much apeiros
<Jakey3> nobitanobi, thanks
<nobitanobi> I am going to try to play around on changing the regex to be utf-8 instead of forcing the string to be ascii-8bit, just for the sake of understanding how it works
thorgi has joined #ruby
gnufied has quit [Max SendQ exceeded]
<apeiros> that will most likely not work.
nankyokusei has quit [Ping timeout: 272 seconds]
<apeiros> >> /\xff/u
<ruby[bot]> apeiros: # => /tmp/execpad-80da19b88b51/source-80da19b88b51:2: invalid multibyte escape: /\xff/ (https://eval.in/653155)
<apeiros> arbitrary binary data is not valid in a utf-8 regex
<Guest49496> Hello, I am curious about something in Ruby, if i iterate over a hash using |key, value| and in that loop I add elements to it (new key-value) pairs, will the initial loop iterate over these new elements as well?
aufi has joined #ruby
<apeiros> Guest49496: try adding a key while iterating over the hash. tell me what happens.
boogeyman has quit [Quit: bb]
jaruga___ has quit [Ping timeout: 264 seconds]
hutch34 has joined #ruby
<apeiros> nobitanobi: I think there's also an article by joel(?) on software - what every programmer must know about encodings (or similar)
<nobitanobi> oh yeah!
<nobitanobi> I read that some time ago
<nobitanobi> will re-read
<nobitanobi> thanks
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
yqfvwal has joined #ruby
yqfvwal has quit [Max SendQ exceeded]
gnufied has joined #ruby
<apeiros> feedback on my article is welcome btw.
gnufied has quit [Max SendQ exceeded]
troulouliou_div2 has joined #ruby
yqfvwal has joined #ruby
nopolitica has joined #ruby
<nobitanobi> I will read this weekend and add comments if needed
<nobitanobi> appreciate!
gregf_ has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
abernstein has quit [Quit: abernstein]
<frankiee_> Hi! Can anybody help me fetching the value of `productGroup` from this JSON using hashie? https://gist.github.com/frankie-loves-jesus/c23ce9183d5db1802c16063eb42ce54e
abernstein has joined #ruby
Caelum has left #ruby ["WeeChat 1.5"]
Emmanuel_Chanel has joined #ruby
tcrypt has joined #ruby
gnufied has joined #ruby
abernstein has quit [Client Quit]
ode_to_code has joined #ruby
rrawlins has joined #ruby
dionysus69 has joined #ruby
tcrypt_ has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 264 seconds]
<Emmanuel_Chanel> Hello! Is there way to use the IMAP function on Google? My ruby IMAP script doesn't work.
dminuoso_ has joined #ruby
alexherbo2 has joined #ruby
alexherbo2 has quit [Client Quit]
SteenJobs has quit [Quit: SteenJobs]
urbanmonk has quit [Quit: urbanmonk]
dminuoso has quit [Ping timeout: 264 seconds]
urbanmonk has joined #ruby
urbanmonk has quit [Client Quit]
Guest54 has joined #ruby
tk__ has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
hahuang62 has joined #ruby
dminuoso_ has quit [Ping timeout: 272 seconds]
the_drow has quit [Ping timeout: 264 seconds]
tcrypt has joined #ruby
catphish has joined #ruby
<chris2> should work with net::imap
<chris2> what's the error?
<chris2> and do enable imap access in gmail?
platzhirsch has quit [Quit: WeeChat 1.4]
hahuang62 has quit [Ping timeout: 264 seconds]
ode_to_code has quit [Quit: ode_to_code]
blackgoat has quit [Quit: WeeChat 1.5]
<Jakey3> whats the difference between a rubygem and rvm
<Jakey3> ?
ponga has joined #ruby
<Jakey3> solved
the_drow has joined #ruby
ode_to_code has joined #ruby
hurikhan|Work has joined #ruby
jaxxstorm has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gregf_ has quit [Ping timeout: 240 seconds]
ramortegui has joined #ruby
f0rpaxe has joined #ruby
rodfersou has quit [Quit: leaving]
<Guest49496> apeiros: can't add a new key into hash during iteration
<Guest49496> and then i know why my active job dies painfully
<apeiros> Guest49496: I guess that answers your question ;-)
Burgestrand has joined #ruby
hutch34 has quit [Ping timeout: 272 seconds]
Pumukel has quit [Ping timeout: 244 seconds]
Vingador has joined #ruby
<Emmanuel_Chanel> chris2: I posted its pastebin and the channel's bot made https://gist.github.com/anonymous/07ac7213231ad82859f10d5c146492eb
boogeyman has joined #ruby
the_drow_ has joined #ruby
<Guest49496> apeiros: yes, i wasn't sure what would happen and i had to do it in pry for it to show
the_drow has quit [Read error: Connection reset by peer]
<chris2> Emmanuel_Chanel: interesting oO
chouhoulis has quit [Remote host closed the connection]
<Emmanuel_Chanel> chris2: It would be. I feel it very weird, too. It worked till few days ago.
dionysus69 has quit [Ping timeout: 264 seconds]
<chris2> figure out how to log the imap commands...
ode_to_code has quit [Quit: ode_to_code]
<Emmanuel_Chanel> ./gmail2router.rb contains my private informations. But shall I edited it to hide the info. and upload it to your pastebin?
<chris2> ok
harfangk has joined #ruby
<chris2> try Net::IMAP.debug = true
<chris2> that should dump the dialog
codelogix has joined #ruby
JRajamaa has quit [Ping timeout: 272 seconds]
jaxxstorm has joined #ruby
Rajamaa has joined #ruby
despai has quit [Quit: This computer has gone to sleep]
blackmesa has quit [Ping timeout: 264 seconds]
<Emmanuel_Chanel> ok. I try this now: Net::IMAP.debug = true.
<chris2> after loading net/imap
Snowy has joined #ruby
chouhoulis has joined #ruby
postmodern has quit [Quit: Leaving]
<Emmanuel_Chanel> ok. Done and I got the log.
<chris2> then figure out whats wrong :D
rodfersou has joined #ruby
<Emmanuel_Chanel> chris2: This is the output: https://gist.github.com/anonymous/07ac7213231ad82859f10d5c146492eb
codelogix has quit [Ping timeout: 244 seconds]
<chris2> ...now change your password :>
shinnya has joined #ruby
Garo_ has joined #ruby
SteenJobs has joined #ruby
<Garo_> Is there some kind of special method for a class which I can define which will be called when an undefined method is being called?
<apeiros> &ri Object#method_missing Garo_
<catphish> method_missing
Snickers has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Garo_> thanks!
<Garo_> had hard time trying to google that out
<apeiros> oh, that's even on BasicObject
nando293921 has joined #ruby
<chris2> Emmanuel_Chanel: i think the " around the date in SEARCH SINCE are wrong
<Emmanuel_Chanel> ok.
the_drow_ has quit [Ping timeout: 244 seconds]
the_drow_ has joined #ruby
<Emmanuel_Chanel> chris2: Looks it works. And I could change the password before someone intruded.
<chris2> :)
<chris2> at least it was long and random ;)
<Emmanuel_Chanel> Yeah.
Jameser has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
erlingur_ has quit [Ping timeout: 272 seconds]
Vingador has quit [Remote host closed the connection]
gregf_ has joined #ruby
andikr has quit [Remote host closed the connection]
chouhoulis has quit [Remote host closed the connection]
jcao219 has quit [Ping timeout: 272 seconds]
chouhoulis has joined #ruby
<LyndsySimon> Is there a rails-specific IRC channel?
vdamewood has quit [Quit: Life beckons.]
<go|dfish> LyndsySimon: #RubyOnRails
<LyndsySimon> tyvm
<chris2> !rails
dminuoso has joined #ruby
<chris2> hm.
dviola has joined #ruby
<[k-> you should use ? instead of !
<chris2> ?rails
blackwind_123 has quit [Ping timeout: 272 seconds]
<ruby[bot]> Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ HELP
<chris2> ah yes
<chris2> thanks
<apeiros> factoids = ?
<apeiros> commands = !
<apeiros> avoids conflicts
<apeiros> pondering a "command missing" to delegate to factoids :D
<[k-> !rails hypothetically transports you to #rubyonrails
<apeiros> we can only do the /part for you, the /join we can't :)
blackwind_123 has joined #ruby
minimalism has quit [Ping timeout: 272 seconds]
erlingur_ has joined #ruby
cdg has joined #ruby
Jakey3 has quit [Ping timeout: 244 seconds]
yqfvwal has quit [Ping timeout: 272 seconds]
despai has joined #ruby
jenrzzz has joined #ruby
<Emmanuel_Chanel> chris2: Thanks for your help.
jphase has joined #ruby
Hyuk has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
SteenJobs has joined #ruby
<chris2> np
<chris2> i wish i knew less about imap :P
JakFrist[WVU] has joined #ruby
malconis has joined #ruby
erlingur_ has quit [Ping timeout: 244 seconds]
blaxter has quit [Quit: foo]
last_staff has quit [Quit: bbl]
ChiefAlexander has joined #ruby
eljimmy has joined #ruby
hutch34 has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
submitnine has quit [Remote host closed the connection]
malconis has quit [Remote host closed the connection]
malconis has joined #ruby
sdothum has joined #ruby
stupidystupid has joined #ruby
nikivi has joined #ruby
saneax is now known as saneax-_-|AFK
Snickers has joined #ruby
bocaneri has quit [Ping timeout: 264 seconds]
dminuoso has quit [Ping timeout: 272 seconds]
the_drow_ has quit [Ping timeout: 272 seconds]
Snickers has quit [Client Quit]
the_drow_ has joined #ruby
patarr has joined #ruby
Hyuk has joined #ruby
Chair has joined #ruby
Chair is now known as Couch
nobitanobi has quit [Remote host closed the connection]
mistermocha has joined #ruby
Burgestrand has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
xall has joined #ruby
hutch34 has quit [Read error: Connection reset by peer]
sergio_101 has joined #ruby
hutch34 has joined #ruby
erlingur_ has joined #ruby
Biciato has joined #ruby
Snickers has joined #ruby
rrawlins has quit []
nikivi has quit [Read error: Connection reset by peer]
LastWhisper____ has joined #ruby
craigp has quit [Ping timeout: 272 seconds]
xall has quit [Ping timeout: 244 seconds]
Snickers has quit [Client Quit]
tcrypt_ has joined #ruby
erlingur_ has quit [Ping timeout: 244 seconds]
nando293921 has quit [Ping timeout: 244 seconds]
thatsnotjack has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
tcrypt has joined #ruby
ferr has joined #ruby
blackmesa has joined #ruby
erlingur has joined #ruby
Biciato has quit [Ping timeout: 240 seconds]
xall has joined #ruby
cdg has quit [Ping timeout: 244 seconds]
tcrypt_ has quit [Ping timeout: 264 seconds]
the_drow_ has quit [Ping timeout: 272 seconds]
ruby_ has joined #ruby
tcrypt__ has joined #ruby
nadir has joined #ruby
codelogix has joined #ruby
armando3 has quit [Ping timeout: 240 seconds]
the_drow_ has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
erlingur has quit [Ping timeout: 272 seconds]
xall has quit [Ping timeout: 244 seconds]
blackmesa has quit [Ping timeout: 272 seconds]
Guest49496 has quit [Ping timeout: 264 seconds]
the_drow_ has quit [Max SendQ exceeded]
mistermocha has quit [Remote host closed the connection]
frozengeek has joined #ruby
chouhoulis has quit [Remote host closed the connection]
ode_to_code has joined #ruby
codelogix has quit [Ping timeout: 272 seconds]
Jakey3 has joined #ruby
tcrypt__ has quit [Ping timeout: 264 seconds]
nikivi has joined #ruby
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
the_drow_ has joined #ruby
tcrypt has joined #ruby
erlingur has joined #ruby
Hyuk has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
nofxx has joined #ruby
nofxx has joined #ruby
nofxx has quit [Changing host]
aufi has quit [Read error: Connection reset by peer]
malconis has joined #ruby
symm- has quit [Quit: Leaving...]
nikivi has quit [Client Quit]
Hyuk has joined #ruby
Asher has quit [Quit: Leaving.]
whathappens has joined #ruby
nobitanobi has joined #ruby
nankyokusei has joined #ruby
minimalism has joined #ruby
csk has joined #ruby
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ode_to_code has quit [Quit: ode_to_code]
Derperperd has quit [Quit: Derperperd]
whathappens has quit [Ping timeout: 264 seconds]
the_drow_ has quit [Ping timeout: 272 seconds]
nando293921 has joined #ruby
nankyokusei has quit [Ping timeout: 264 seconds]
the_drow_ has joined #ruby
dionysus69 has joined #ruby
Devalo has joined #ruby
hashrocket has joined #ruby
symm- has joined #ruby
nettoweb has joined #ruby
nettoweb has quit [Client Quit]
abernstein has joined #ruby
Mrgoose has joined #ruby
tfitts has joined #ruby
<Mrgoose> Any ideas on how i can fix this error.
<Mrgoose> Sequel::AdapterNotFound: LoadError: libmysqlclient.so.18: cannot open shared object file: No such file or directory - /home/kclark/repos/csp/aaa/vendor/ruby/2.2.0/gems/mysql2-0.4.2-x86_64-linux/lib/mysql2/mysql2.so
the_drow_ has quit [Ping timeout: 244 seconds]
Devalo has quit [Ping timeout: 244 seconds]
camilasann is now known as camilasan
s2013 has joined #ruby
UserJosh has joined #ruby
<thatsnotjack> Mrgoose: You need to either install libmysqlclient on your system, or make it visible if it's already there. Are you familiar with managing system libs?
<Mrgoose> not really. I did install "sudo apt-get install libmysqlclient-dev libmysqld-dev
jshjsh has quit [Ping timeout: 272 seconds]
cyphase has quit [Ping timeout: 272 seconds]
<thatsnotjack> Ah I'm glad you're on linux, I have no idea how to do it on OSX :) So, those are the development libraries, which contain headers for compiling against those libraries. In this case, Ruby is looking for a library that's already compiled, so the dev libs won't do us any good. Debian convention is for the regular lib to be named the same as the dev, just minus the -dev suffix, so sudo apt-get install
<thatsnotjack> libmysqlclient should do the trick in this case
the_drow_ has joined #ruby
djbkd has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
jcao219 has joined #ruby
VladGh has quit [Remote host closed the connection]
VladGh has joined #ruby
cyphase has joined #ruby
hahuang62 has joined #ruby
ode_to_code has joined #ruby
cyphase has quit [Max SendQ exceeded]
djbkd has quit [Ping timeout: 264 seconds]
cyphase has joined #ruby
jcao219 has quit [Ping timeout: 244 seconds]
tcrypt has joined #ruby
<Mrgoose> Still no luck there libmysqlclient isn't a package. i did apt-get install mysql-client though
hahuang62 has quit [Ping timeout: 264 seconds]
<Mrgoose> still the same libmysqlclient.so.18 error
exchgr has quit [Ping timeout: 272 seconds]
exchgr has joined #ruby
<Mrgoose> although
<thatsnotjack> mysql-client is likely just the command line client, rather than the system lib. Sometimes system libs have version suffixes in the repos, so I'm guessing that's the case here. Try an `apt-cace search libmysql` to list libs that might match
<Mrgoose> This command shows /sbin/ldconfig -p | grep mysql | cut -d\> -f2
<Mrgoose> these two /usr/lib/x86_64-linux-gnu/libmysqlclient.so.20 and /usr/lib/x86_64-linux-gnu/libmysqlclient.so
<Mrgoose> doesn't show a .so.18
csk has quit [Quit: ZZZzzz…]
the_drow_ has quit [Ping timeout: 272 seconds]
despai has quit [Quit: This computer has gone to sleep]
<thatsnotjack> That command is listing the system libs that you have, isolating any line with mysql on it, and then printing out only the file portion. Basically that's just telling you if the lib is present on your system. So now we've got a pretty good hint that it's not there :)
<thatsnotjack> try an `apt-cache search libmysqlclient` and see if that surfaces something like `libmysqclient18`
VladGh has quit [Remote host closed the connection]
elifoster has joined #ruby
catphish has left #ruby ["Leaving"]
Rodya_ has quit [Remote host closed the connection]
duderonomy has quit [Ping timeout: 264 seconds]
VladGh has joined #ruby
charliesome has joined #ruby
the_drow_ has joined #ruby
Rodya_ has joined #ruby
Rodya_ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
erlingur has quit [Ping timeout: 264 seconds]
cschneid_ has joined #ruby
synthroid has quit [Remote host closed the connection]
duderonomy has joined #ruby
CharlieLo has joined #ruby
RegulationD has joined #ruby
pragmaticus has joined #ruby
polishdub has joined #ruby
Hyuk has quit [Quit: My MacBook Air has gone to sleep. ZZZzzz…]
Rodya_ has quit [Ping timeout: 264 seconds]
erlingur has joined #ruby
Hyuk has joined #ruby
s2013 has quit [Quit: Textual IRC Client: www.textualapp.com]
Jameser has quit [Quit: Textual IRC Client: www.textualapp.com]
charliesome has quit [Read error: Connection reset by peer]
symm- has quit [Quit: Leaving...]
charliesome has joined #ruby
bearche has joined #ruby
RegulationD has quit [Ping timeout: 264 seconds]
tcrypt has quit [Ping timeout: 264 seconds]
nando293921 has quit [Ping timeout: 272 seconds]
blackmesa has joined #ruby
Oclair has joined #ruby
ferr has quit [Quit: WeeChat 1.5]
erlingur has quit [Ping timeout: 244 seconds]
Oclair_ has quit [Ping timeout: 264 seconds]
conta has quit [Ping timeout: 244 seconds]
codelogix has joined #ruby
dunpeal has joined #ruby
<dunpeal> With Ruby (or Rails), is there a method for !obj.nil?
<dunpeal> I.e. the negation of obj.nil?
<baweaver> >> nil
<ruby[bot]> baweaver: # => nil (https://eval.in/653225)
<baweaver> >> !nil
<ruby[bot]> baweaver: # => true (https://eval.in/653227)
<baweaver> >> !!nil
<ruby[bot]> baweaver: # => false (https://eval.in/653228)
the_drow_ has quit [Ping timeout: 264 seconds]
nettoweb has joined #ruby
symm- has joined #ruby
<baweaver> unless you have to worry about false, remember that a nil will be falsy by itself
<dunpeal> I'm asking for something like obj.present? that just checks for non-nil
<baweaver> In Rails, yes. In Ruby itself, no.
<baweaver> obj.present?
<dunpeal> baweaver: technically not exactly the same
<dunpeal> false.present? #=> false
aganov has quit [Quit: Leaving]
blackmesa has quit [Ping timeout: 244 seconds]
<dunpeal> [].present? #=> false
<thatsnotjack> AFAIK !obj.nil? is idiomatic
<baweaver> fair enough
tcrypt has joined #ruby
the_drow has joined #ruby
<baweaver> pretty much thatsnotjack
the_drow has quit [Max SendQ exceeded]
codelogix has quit [Ping timeout: 244 seconds]
<baweaver> though if you can avoid nil in favor of sane return values it'll make your life easier.
ruby[bot] has quit [Remote host closed the connection]
<baweaver> Like if you made a select function, when it finds nothing returning [] is much better than nil
<havenwood> dunpeal: module Kernel; def not_nil?; !nil? end end
ruby[bot] has joined #ruby
<havenwood> dunpeal: in your case why do you care about whether it's false or nil? can you just use it's truthiness?
nando293921 has joined #ruby
<thatsnotjack> Definitely a matter of style but I'd say monkeypatching Kernel is a much greater evil than just dropping the negation in there :/
the_drow has joined #ruby
<havenwood> thatsnotjack: just being silly, not suggesting we all do it ;)
ruby_ has quit [Remote host closed the connection]
<havenwood> its*
<nofxx> #any? is from 2.0 no? maybe we'll get present? in the future... but, other hand, too many chars... !.nil? is succint
wugy has quit []
ruby_ has joined #ruby
yuung has joined #ruby
<havenwood> thatsnotjack: how bout a refinement?: module NotNil; refine Object do; def not_nil?; !nil? end end end; using NotNil; nil.not_nil?
the_drow has quit [Max SendQ exceeded]
<havenwood> i jest
the_drow has joined #ruby
<thatsnotjack> hmm, I think I have a more elegant solution: obj.extend(Module.new { define_method(:not_nil?) { inspect != 'nil' } }); obj.not_nil?
yuung has left #ruby [#ruby]
whathappens has joined #ruby
yuung has joined #ruby
<havenwood> hah
ruby_ has quit [Ping timeout: 272 seconds]
cajone has left #ruby [#ruby]
erlingur has joined #ruby
the_drow has quit [Read error: Connection reset by peer]
byte512 has quit [Quit: I'm out.]
eizua has joined #ruby
grill is now known as g__l
whathappens has quit [Ping timeout: 272 seconds]
merlin2049er has joined #ruby
the_drow has joined #ruby
synthroi_ has joined #ruby
mark_66 has quit [Remote host closed the connection]
merlin2049er has left #ruby [#ruby]
hahuang62 has joined #ruby
pwnd_nsfw` has joined #ruby
Xiti has quit [Quit: Xiti]
cajone has joined #ruby
bearche has quit [Ping timeout: 272 seconds]
Xiti has joined #ruby
Eiam has joined #ruby
amclain has joined #ruby
symm- has quit [Quit: Leaving...]
Robtop__ has quit [Ping timeout: 264 seconds]
capitainIsh has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
<apeiros> that's "elegant" as in "<sarcasm>elegant</sarcasm>"?
erlingur has quit [Ping timeout: 264 seconds]
* apeiros just joined
ramortegui has quit [Quit: Ex-Chat]
tcrypt has quit [Ping timeout: 264 seconds]
dwfhoc has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 244 seconds]
pwnd_nsfw` has quit [Read error: Network is unreachable]
pwnd_nsfw` has joined #ruby
mikecmpbll has quit [Ping timeout: 264 seconds]
tcrypt has joined #ruby
flying has quit []
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sepp2k has joined #ruby
marxarelli has joined #ruby
nando293921 has quit [Ping timeout: 264 seconds]
UserJosh is now known as JoshS
the_drow has quit [Ping timeout: 272 seconds]
edwinvdgraaf has quit [Ping timeout: 264 seconds]
NTrash has quit [Remote host closed the connection]
NTrash has joined #ruby
the_drow has joined #ruby
AlexJakeGreen has joined #ruby
nando293921 has joined #ruby
whathappens has joined #ruby
xall has joined #ruby
tyang has quit [Read error: Connection reset by peer]
CharlieLo has quit [Remote host closed the connection]
Snowy has quit [Remote host closed the connection]
harai has quit [Ping timeout: 272 seconds]
Snowy has joined #ruby
Contigi has joined #ruby
the_drow has quit [Quit: This computer has gone to sleep]
xall has quit [Ping timeout: 264 seconds]
CharlieLo has joined #ruby
bluOxigen has quit [Ping timeout: 244 seconds]
bluOxigen has joined #ruby
Rodya_ has joined #ruby
csk has joined #ruby
Snowy has quit [Ping timeout: 244 seconds]
yuung has left #ruby [#ruby]
chouhoulis has joined #ruby
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
tk__ has quit [Quit: ばいばい]
duderonomy has quit [Ping timeout: 264 seconds]
jphase has quit [Remote host closed the connection]
mtkd has quit [Ping timeout: 272 seconds]
Rodya_ has quit [Ping timeout: 264 seconds]
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banisterfiend has joined #ruby
mtkd has joined #ruby
Guest38 has joined #ruby
<thatsnotjack> apeiros: You're right it needs work. This better? `obj.singleton_class.send(:define_method, :not_nil?, proc { ObjectSpace.each_object.include?(self) }); obj.not_nil?`
tcrypt has quit [Ping timeout: 264 seconds]
<apeiros> >> ObjectSpace.each_object.include?(nil)
<ruby[bot]> apeiros: # => false (https://eval.in/653239)
<apeiros> interesting
<apeiros> thatsnotjack: yeah, that's better.
<Papierkorb> apeiros: Your snippet gives true for me in a pry session
nando293921 has quit [Ping timeout: 264 seconds]
elenatanasoiu has quit [Ping timeout: 264 seconds]
AlexJakeGreen has quit [Remote host closed the connection]
djbkd has joined #ruby
<thatsnotjack> apeiros: cool. Glad we found peak elegance
<thatsnotjack> Papierkorb: Huh, which ruby version?
claudiuinberlin has quit []
pwnd_nsfw` has quit [Read error: Network is unreachable]
pwnd_nsfw` has joined #ruby
babblebre has joined #ruby
Rajamaa has quit [Quit: Konversation terminated!]
nobitanobi has quit [Remote host closed the connection]
elenatanasoiu has joined #ruby
jackjackdripper has joined #ruby
csk has quit [Quit: ZZZzzz…]
<Papierkorb> thatsnotjack: MRI 2.3.1
GodFather has joined #ruby
tcrypt has joined #ruby
GodFather has quit [Remote host closed the connection]
<thatsnotjack> What happens if you try `ruby -e 'puts ObjectSpace.each_object.include?(nil)'`
<Papierkorb> already tried, it gives false
<thatsnotjack> Woah, interesting
<Papierkorb> and no, assigning nil to a variable before does not change that false to a true
<thatsnotjack> My understanding is that `nil` is never instantiated, so I'm not sure how it could wind up in the ObjectSpace
<thatsnotjack> but, pry does some truly magical things so I suppose it's not too suprising that it would alter that behavior
codelogix has joined #ruby
Velizar has joined #ruby
<thatsnotjack> Also I just realized my solution probably breaks on singleton objects like an int or symbol. But it's okay because elegance > correctness
elenatanasoiu has quit [Ping timeout: 264 seconds]
[k- has quit [Ping timeout: 272 seconds]
Gasher has joined #ruby
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apeiros> it'd also break on objects which badly implement == :)
GodFather has joined #ruby
<apeiros> and I'm pretty sure that's what happens in pry. it has an object in ObjectSpace which claims == nil
Couch has quit [Ping timeout: 264 seconds]
ruby_ has joined #ruby
<Papierkorb> What's wrong with class Object; def not_nil?; true; end; end class NilClass; def not_nil?; false; end; end ?
<apeiros> 100 points for me, I win an internet :D
<apeiros> ObjectSpace.each_object.find { |x| x == nil } # => #<Pry::Method::Disowned:0x007fa9df4f40a8 @name="__pry__", @receiver=main>
<apeiros> Papierkorb: not elegant enough.
<apeiros> lacks style.
<thatsnotjack> apeiros: Ah, nice find!
<apeiros> insufficient brilliance.
<apeiros> it's simply not a fashionable implementation
<apeiros> ;-)
<Velizar> bool = thing.method1&.method2? == false <---- RubyMine warns me about this code with "Expression can be simplified". It returns false if method2? returned true or if the expression was nil; it returns true if method2? was false. That's not possible to simplify and RubyMine is wrong - am I correct?
<dunpeal> havenwood: I probably don't, just curious.
<apeiros> Velizar: !expr
<Velizar> !expr
<thatsnotjack> `ObjectSpace.each_object.any? {|o| o.object_id == obj.object_id }` should correct that behavior
<apeiros> though, it's not a universally correct simplification
<Velizar> I thought that was a bot command
<apeiros> thatsnotjack: .equal?
bluOxigen has quit [Read error: Connection reset by peer]
<apeiros> Velizar: ah, no, it's not. it's ruby :)
<apeiros> bool = !expr, instead of bool = expr == false
<Velizar> apeiros: But that would return false if the expression is nil? i.e. if method1 returned nil.
<apeiros> correct. hence my "not universally correct"
JoshS has quit [Quit: Leaving]
<Velizar> but I want to have the value false if the result was nil
<apeiros> not entirely sure what rubymine is thinking of. I don't see a universally correct simplification.
<Velizar> Yeah
<Velizar> three possibilities in my case: method1 returns nil; method2 returns true; method2 returns false. The first two must result in false.
<Velizar> I feel like RubyMine's warnings are frequently off
codelogix has quit [Ping timeout: 264 seconds]
Doney has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
bluOxigen has joined #ruby
skweek has joined #ruby
JakFrist[WVU] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
b________ has joined #ruby
alexis has joined #ruby
nando293921 has joined #ruby
gagrio has joined #ruby
ctp has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
alexis is now known as Guest79364
nankyokusei has joined #ruby
Rodya_ has joined #ruby
frozengeek has quit [Quit: frozengeek]
nitric has joined #ruby
tyang has joined #ruby
be_______ has quit [Ping timeout: 240 seconds]
tcrypt has quit [Ping timeout: 264 seconds]
Johne has joined #ruby
Johne has left #ruby [#ruby]
capitainIsh has quit [Quit: Textual IRC Client: www.textualapp.com]
jaruga___ has joined #ruby
CharlieLo has quit [Remote host closed the connection]
elenatanasoiu has joined #ruby
nankyokusei has quit [Ping timeout: 272 seconds]
JakFrist[WVU] has joined #ruby
Derperperd has joined #ruby
tcrypt has joined #ruby
codelogix has joined #ruby
Robtop__ has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 244 seconds]
codelogix has quit [Ping timeout: 272 seconds]
ramfjord has joined #ruby
jenrzzz has joined #ruby
erlingur has joined #ruby
moei has quit [Quit: Leaving...]
gagrio has quit [Quit: Leaving...]
Rodya_ has quit [Read error: Connection timed out]
ChiefAlexander has quit [Remote host closed the connection]
whathappens has quit [Remote host closed the connection]
whathappens has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
bocaneri has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
jackjackdripper has joined #ruby
xall has joined #ruby
erlingur has quit [Ping timeout: 264 seconds]
Rodya_ has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
xall has quit [Ping timeout: 264 seconds]
csk has joined #ruby
Rodya_ has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
xentity1x has joined #ruby
rakm has joined #ruby
jonyijoe has joined #ruby
olde_ has joined #ruby
eizua has quit [Remote host closed the connection]
tcrypt has joined #ruby
Asher has joined #ruby
Asher has quit [Client Quit]
Asher has joined #ruby
jphase has joined #ruby
jaruga___ has quit [Ping timeout: 264 seconds]
ggerman has joined #ruby
Devalo has joined #ruby
<ggerman> Hello, I'm using minitest and have problem for ser session variable
<ggerman> for can test methods where I validate this value
<ggerman> Some idea?
djbkd has quit [Quit: My people need me...]
conta has joined #ruby
oncall-pokemon has quit [Quit: Connection closed for inactivity]
elenatanasoiu has quit [Ping timeout: 244 seconds]
<thatsnotjack> Can you share the code you're working with?
djbkd has joined #ruby
brendan- has joined #ruby
gingray has quit [Ping timeout: 244 seconds]
last_staff has joined #ruby
eljimador has joined #ruby
ggerman has quit [Ping timeout: 244 seconds]
_sfiguser has joined #ruby
olde_ has quit [Ping timeout: 240 seconds]
stupidystupid has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ggerman has joined #ruby
pwnd_nsfw` has joined #ruby
nando293921 has quit [Ping timeout: 264 seconds]
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
csk has quit [Quit: ZZZzzz…]
rcvalle has joined #ruby
SeepingN has joined #ruby
Robtop__ has quit [Ping timeout: 244 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
whathappens has quit [Quit: Leaving...]
Camusensei has joined #ruby
claudiuinberlin has joined #ruby
ggerman has quit [Ping timeout: 244 seconds]
ggerman has joined #ruby
<Camusensei> Hello guys. How can I select the first/only matching element in a list of list. I'm currently doing list=[[0,1],[4,5]]; needle=4; list.select{|k,v|k==needle}.map{|k,v|v} # returns [5]
tcrypt has quit [Ping timeout: 264 seconds]
<apeiros> Camusensei: find instead of select
djbkd_ has joined #ruby
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
harai has joined #ruby
tcrypt has joined #ruby
<Camusensei> returns #<Enumerator: [[0, 1], [4, 5]]:find(4)>
<Camusensei> oh, I must still do the map I guess
<apeiros> no. you must still pass it a block.
djbkd has quit [Ping timeout: 264 seconds]
ggerman has quit [Ping timeout: 264 seconds]
<Camusensei> list=[[0,1],[4,5]]; needle=4; list.find(needle)
<Camusensei> that's what I did... I tried passing a block to that but never with good results
ggerman has joined #ruby
moneylotion has joined #ruby
<Camusensei> gotit: list=[[0,1],[4,5]]; needle=4; list.find{|k,v|k==needle}
<Camusensei> wait, isn't that exactly the same as my earlier select?
<thatsnotjack> fwiw `list.to_h` will allow you to do `list[needle]`
hahuang62 has quit [Ping timeout: 264 seconds]
<Camusensei> oh, that's cool
<apeiros> that has implications on duplicated values in the first element
<apeiros> but yeah, if that's not an issue
<Camusensei> yeah, I'm sure I have none so I don't have to worry about that
<thatsnotjack> Sure, I interpreted "select the first/only" to mean there's no dupes
<Camusensei> correct
Authenticator has joined #ruby
conta has quit [Ping timeout: 272 seconds]
LoneHerm_ has joined #ruby
<dmarr> im sending an empty array to my rails api via POST request, e.g. roles: []
Guest54 has quit [Quit: Textual IRC Client: www.textualapp.com]
<thatsnotjack> Congratulations!
<dmarr> rails throws error NoMethodError: undefined method `map' for nil:NilClass
ggerman has quit [Ping timeout: 244 seconds]
miqlas-H has joined #ruby
<thatsnotjack> It might be good to access roles with something like `params[:roles] || []` so your app doesn't 500 on incorrect input
<thatsnotjack> As for actually getting the data out of the params, that's hard to debug without seeing both your code and the params sent
djbkd_ has quit [Ping timeout: 264 seconds]
<dmarr> cheers thatsnotjack
postmodern has joined #ruby
nando293921 has joined #ruby
<dmarr> i'll bring this up with my api team
ec_ is now known as ec
<dmarr> it seems the || [] would be the fix.. im guessing if i sent a json payload of empty array, that params[:roles] casts it to nill?
<dmarr> nil*
<thatsnotjack> Nope, it should be an empty array server side, you've probably got the params wrong somehow
Cohedrin has joined #ruby
<thatsnotjack> But your api team should also fix their API so it doesn't 500 with invalid params :)
Rodya_ has joined #ruby
<dmarr> is [] an invalid param?
<dmarr> *param value
<thatsnotjack> depends on the server side code, but no, that should be fine
replay has joined #ruby
djbkd has joined #ruby
<thatsnotjack> You need to share both your json payload and the server side code for me to be able to help you
ggerman has joined #ruby
cyphase has quit [Ping timeout: 244 seconds]
banisterfiend has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
<dmarr> thatsnotjack: this is the relevant server code https://gist.github.com/marr/a5c93299ec1b7939ed1ca93587f03d7c
xall has joined #ruby
<dmarr> updated gist with request payload
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.2 Aria]
LoneHerm_ has quit [Remote host closed the connection]
wldcordeiro has quit [Read error: Connection reset by peer]
ocbtec has quit [Quit: leaving]
codelogix has joined #ruby
ggerman has quit [Ping timeout: 244 seconds]
cyphase has joined #ruby
tcrypt has joined #ruby
<thatsnotjack> Which rails version are you on?
ggerman has joined #ruby
jaxxstorm has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rakm has joined #ruby
dmitry has joined #ruby
_sfiguser has quit [Ping timeout: 272 seconds]
pwnd_nsfw has joined #ruby
<thatsnotjack> It looks like I was mistaken, in that some versions of rails do actually convert [] to nil: https://github.com/rails/rails/issues/8832
jgpawletko has quit [Quit: jgpawletko]
<dmarr> looks like ~> 4.2
banisterfiend has quit [Ping timeout: 264 seconds]
<Camusensei> strange, I've got that array like list i mentionned earlier but it's now saying NoMethodError: undefined method `to_h' for #<Array:0x000000070ad730>
<thatsnotjack> Check that issue out to see if your version of rails is affected. It looks like there's a related PR but I'm not sure what version it got shipped in
<Camusensei> list.map{|k|k.size}.uniq reports [2] though :/
<thatsnotjack> If your version is affected, ask your BE team to throw a `|| []` in there and be careful in the future to ensure that behavior is present on other endpoints, or to upgrade rails to a non-affected version
djbkd has quit [Ping timeout: 244 seconds]
codelogix has quit [Ping timeout: 264 seconds]
pwnd_nsfw` has quit [Ping timeout: 264 seconds]
<dmarr> thatsnotjack: seems like 4.2 would be safe
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
<dmarr> that regression fix looks like it landed in 4.0.4
<dmarr> thanks for helping out with that
<thatsnotjack> hmm, the behavior you're experiencing still has me puzzled then, but the solution should still work
<Camusensei> alright, to_h doesn't work because my list is of this form: [[0,""],[1,""]] :/
workmad3 has quit [Ping timeout: 272 seconds]
dagerik has joined #ruby
ggerman has quit [Remote host closed the connection]
<dagerik> https://bpaste.net/show/3161753d6ed7 help me debug this error?
ggerman has joined #ruby
<thatsnotjack> Camusensei: What ruby version are you using?
<dmarr> thatsnotjack: where in that gist would you expect the || [] to go?
jcao219 has joined #ruby
ChiefAlexander has joined #ruby
<Camusensei> oh, ruby 1.9.3p551
<Camusensei> not strange I get some different behaviour between my tests (2.2) and my actual code (1.9) then :(
<thatsnotjack> Camusensei: Yeah I think that's a ruby 2 feature
NTrash has quit [Quit: Konversation terminated!]
NTrash has joined #ruby
<thatsnotjack> Try Hash[arr]
NTrash has quit [Client Quit]
jenrzzz has quit [Ping timeout: 272 seconds]
<thatsnotjack> >> arr = [[0,1],[2,3]]; Hash[arr]
Devalo has quit [Remote host closed the connection]
<baweaver> You should really upgrade though, 1.9.x has been EOL for a while now and is a very critical security risk
<baweaver> thatsnotjack: you auth yet?
<baweaver> >> 1 + 1
SteenJobs has quit [Quit: SteenJobs]
<ruby[bot]> baweaver: # => 2 (https://eval.in/653267)
wldcordeiro has joined #ruby
salut has quit [Quit: salut]
<thatsnotjack> baweaver: nah I forgot I keep putting it off since I'm not here much
SteenJobs has joined #ruby
<baweaver> Most clients will automatically do it for you
djbkd has joined #ruby
<baweaver> The bot won't reply to people who don't auth. Prevents some measure of abuse.
tcrypt has quit [Ping timeout: 264 seconds]
ggerman has quit [Ping timeout: 244 seconds]
<Camusensei> thank you very much thatsnotjack, I was able to use apeiros's code to bypass the to_h feature missing in ruby 1.9 :)
<thatsnotjack> I'm not on freenode much so I just never bothered
<thatsnotjack> Camusensei: If you want the O(1) lookup still you can use the Hash[arr] form mentioned above, otherwise, apeiros's solution is just fine
<baweaver> Camusensei: but seriously, upgrade if possible
ggerman has joined #ruby
<thatsnotjack> dmarr: Sorry hold on, I'm missing something going on here. The `|| []` I mentioned isn't actually going to help since the `.fetch` should default to a `[]`
<baweaver> 2.0.x and lower are end of life and are a security risk
_sfiguser has joined #ruby
<Camusensei> I'll push for an upgrade then
SteenJobs has quit [Ping timeout: 272 seconds]
g__l has quit [Ping timeout: 264 seconds]
cevett has quit [Quit: Leaving]
tcrypt has joined #ruby
<thatsnotjack> dmarr: Can you verify that the exception raised by the `.map` call occurs on line #2 in `gistfile1.txt`
cevett has joined #ruby
pawnbox has quit [Remote host closed the connection]
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ggerman has quit [Ping timeout: 264 seconds]
imightbestupid12 has joined #ruby
charliesome has joined #ruby
djbkd has quit [Ping timeout: 271 seconds]
ggerman has joined #ruby
<imightbestupid12> my array is returning the number instead of the value, what can i do to insert the value to a new iarray?
<Camusensei> I'm using Time.now in a function called hundreds of times. Is it better for me to have it as a global variable instead?
SteenJobs has joined #ruby
tlaxkit has quit [Remote host closed the connection]
<Camusensei> imightbestupid12: example please?
<imightbestupid12> https://repl.it/DlNa/1
<dmarr> thatsnotjack: checking
<imightbestupid12> last lines starting from total.times.do
<Camusensei> thank you for those 27 lines of code, but I was asking for one example. one line...
<imightbestupid12> i said last lines
<dmarr> thatsnotjack: yes line 2
<imightbestupid12> starting from total.times.do
<thatsnotjack> Camusensei: Time.now is cheap, and assigning it to a global var might introduce a timing error since you'll be comparing things to a time further and further in the past as you loop
<thatsnotjack> dmarr: Thanks, I'm still not sure how a nil is getting in there I'll have another look in one second
<Camusensei> thatsnotjack: I'm not concerned about errors as I only care about days ^^ but if you tell me it's cheap then I will not introduce a global variable, thank you :)
RegulationD has joined #ruby
<thatsnotjack> dmarr: But also you might just want to ask your BE team to fix it. If they're 500ing on bad params the fault is on their end even if you do have your params wrong somehow
nikivi has joined #ruby
<baweaver> Camusensei: don't use globals if you can help it.
<abernstein> baweaver remember that ruby stuff you helped me with yesterday? can you imagine how that would have broken “import readline” in python? because that worked yesterday and now it doesnt…
<baweaver> I'm guessing that you've borked permissions somewhere
<baweaver> recent mac upgrade?
<thatsnotjack> Camusensei: Do something like `require 'bechmark'; Bechmark.measure { N.times { Time.now } }` to reassure yourself that it's fast, where N is the max number of executions you expect in your loop
csk has joined #ruby
<abernstein> no, not recent
nikivi has quit [Client Quit]
<Camusensei> thatsnotjack: it's funny how you forgot the n in benchmark twice :D
ggerman has quit [Remote host closed the connection]
<Camusensei> in any case, thanks, it's really cheap :)
ggerman has joined #ruby
nikivi has joined #ruby
nikivi has quit [Client Quit]
<thatsnotjack> That makes sense, I dislocated my right index finger yesterday and it's still on the fritz :p
djbkd has joined #ruby
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<thatsnotjack> imightbestupid12: I'm not sure what your problem is, which line specifically do you expect a return value different than you're getting?
vdamewood has joined #ruby
RegulationD has quit [Ping timeout: 272 seconds]
yeticry has quit [Ping timeout: 244 seconds]
<thatsnotjack> aberstein: What error do you get when you try to import readline?
<Camusensei> thatsnotjack: imightbestupid12 is expecting to populate sie's array with blink, freakonomics, ... etc
<abernstein> ImportError: dlopen(/usr/local/Cellar/python/2.7.12/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/readline.so, 2): Library not loaded: /usr/local/opt/readline/lib/libreadline.6.dylib
ggerman has quit [Ping timeout: 244 seconds]
<thatsnotjack> Oh I see, on line 23 `title` being passed into your block is the current iteration number, rather than the current item
<Camusensei> imightbestupid12: ^ that message was for you
<abernstein> I probably installed some python stuff yesterday as well - I kinda doubt it’s related to the ruby setup I did, just trying to rule it out
ggerman has joined #ruby
Rodya_ has quit [Remote host closed the connection]
<thatsnotjack> So use `titles.each` on line 23 and you'll be iterating the elements rather than the numbers between 0 and the length of the elements
Rodya_ has joined #ruby
ur5us has joined #ruby
djbkd has quit [Ping timeout: 264 seconds]
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
Pumukel has joined #ruby
bocaneri has quit [Remote host closed the connection]
dmr8 has joined #ruby
<thatsnotjack> aberstein: Okay so the lib is missing from your system. Unfortunately I don't know much about OSX. I'd try using whatever package manager you have available to try to reinstall `libreadline`
troulouliou_div2 has quit [Ping timeout: 276 seconds]
<thatsnotjack> aberstein: Sorry, correction, missing from your system or not where python expects to find it
yeticry has joined #ruby
<havenwood> abernstein: Using brew?
loechel has joined #ruby
<abernstein> yes, using brew
<abernstein> I did “brew install readline”, “pip install readline”, “pip install gnureadline”, and also uninstalled and reinstalled those
ggerman has quit [Ping timeout: 264 seconds]
<havenwood> abernstein: Rebuild Python so it can dynamically link against your readline 7 brew. PS: Why the #ruby channel?
<thatsnotjack> dmarr: I had another look and I can't spot the issue still. I don't have that version of rails handy and I'm not willing to spin up a project to try to debug that code, so if you need to figure it out on your end I'd run a debugger in the action and see at what point that chain of `.fetch` calls breaks
ggerman has joined #ruby
csk has quit [Quit: ZZZzzz…]
<thatsnotjack> dmarr: but it sounds like you're the FE dev, this should be the BE team's problem
ponga has quit [Quit: Connection closed for inactivity]
tomazb has joined #ruby
Rodya_ has quit [Ping timeout: 272 seconds]
<abernstein> yea we can stop with the python stuff here. just because I don’t know what I may have changed when I installed ruby yesterday
djbkd has joined #ruby
Pumukel has quit [Ping timeout: 272 seconds]
dagerik has left #ruby [#ruby]
loechel has quit [Remote host closed the connection]
<havenwood> *keg
Pumukel has joined #ruby
<havenwood> abernstein: ahh - i'd suggest: brew reinstall python
<havenwood> abernstein: or rather: brew update && brew reinstall python
frozengeek has joined #ruby
<thatsnotjack> I'm sitting in this long-ass allhands for a company I'm contracting for and the CTO keeps referring to every piece of software we use as a Gem, even things like Nix package manager
<abernstein> havenwood: thanks, will try that later
ggerman has quit [Ping timeout: 244 seconds]
ggerman has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
g__l has joined #ruby
g__l has joined #ruby
g__l has quit [Changing host]
tomazb has quit [Ping timeout: 264 seconds]
crdpink__ has quit [Quit: Konversation terminated!]
<dmarr> cheers thatsnotjack
* dmarr beers thatsnotjack a gem
zeroDi has joined #ruby
tcrypt has joined #ruby
crdpink__ has joined #ruby
AlphaAtom has joined #ruby
postmodern has quit [Ping timeout: 272 seconds]
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
crdpink__ has quit [Client Quit]
ggerman has quit [Ping timeout: 264 seconds]
Hyuk has quit [Quit: Textual IRC Client: www.textualapp.com]
ggerman has joined #ruby
Snickers has joined #ruby
djbkd has quit [Ping timeout: 264 seconds]
nankyokusei has joined #ruby
postmodern has joined #ruby
jcao219 has quit [Ping timeout: 272 seconds]
pawnbox has joined #ruby
ggerman has quit [Ping timeout: 244 seconds]
csk has joined #ruby
ggerman has joined #ruby
djbkd has joined #ruby
CharlieLo has joined #ruby
nankyokusei has quit [Ping timeout: 264 seconds]
boogeyman has quit [Quit: bb]
lkba has joined #ruby
lkba has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 272 seconds]
LoneHermit has joined #ruby
ggerman has quit [Ping timeout: 272 seconds]
<imightbestupid12> what is an essential ruby book after you know the basics of: numbers, strings, variables, objects, self, methods, classes, attributes, arrays, interacting with objects, using separate source files, unit testing, conditionals and test driven development, modules, blocks, symbols and structs, hashes, custom iterators, input and output, inheritance, mixins, and distribution?
ramfjord has joined #ruby
codelogix has joined #ruby
ggerman has joined #ruby
CharlieLo has quit [Ping timeout: 264 seconds]
<havenwood> imightbestupid12: The Well-Grounded Rubyist (2nd edition for modern Ruby) is one good option.
<thatsnotjack> Practical Object Oriented Design in Ruby is a pretty solid intermediate level book on object oriented design
<imightbestupid12> after reading that one will i be ready for thre "real stuff"
<imightbestupid12> so in this order: the well grounded rubyist, practical object oriented design in ruby?
<imightbestupid12> anything else after that?
<thatsnotjack> imightbestupid12: Sorry to be blunt but going by the code sample you posted you still need to spend some time practicing the basics you mentioned
_djbkd has joined #ruby
<imightbestupid12> thatsnotjack: don't be sorry
<imightbestupid12> thanks for letting me know
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
<imightbestupid12> i want to get better, a lot better
ur5us has quit [Remote host closed the connection]
<imightbestupid12> learning this stuff is the hardest thing i've ever tried to do
ur5us has joined #ruby
<imightbestupid12> i'm glad there is so much support out there
<havenwood> imightbestupid12: There are lots of books. Ruby Under a Microscope might then be interesting if you're interested.
<imightbestupid12> i have ordered that book
<havenwood> I guess all things are interesting if you're interested. >.>
theRoUS has left #ruby ["Off to another part of the maze of twisty little passages"]
<thatsnotjack> Good attitude! I suggest just practicing the basics some more with applications like you shared earlier. Once you've got things like the difference between iteration with `times` and `each` down without too much thought the intermediate level stuff will be more helpful
mattwashere has joined #ruby
codelogix has quit [Ping timeout: 244 seconds]
ggerman has quit [Ping timeout: 264 seconds]
djbkd has quit [Ping timeout: 264 seconds]
<imightbestupid12> i just want to be a great developer that is able to pick things up fast (like create new apps and learn new frameworks and languages with no difficulty) after learning basics
^mtkd has joined #ruby
johnmilton has quit [Remote host closed the connection]
<imightbestupid12> so when should i use times vs each?
mattwashere has quit [Remote host closed the connection]
tcrypt has quit [Ping timeout: 264 seconds]
mtkd has quit [Ping timeout: 264 seconds]
ggerman has joined #ruby
<dmarr> imightbestupid12: can you knock a character off your nick somehow?
<thatsnotjack> Well, they do two very different things. The former enumerates a range of numbers, the latter enumerates the elements in a list
<dmarr> its like one char too long for my irc client
<imightbestupid12> lol
<dmarr> how about maybestupid001
abernstein_ has joined #ruby
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ur5us has quit [Ping timeout: 244 seconds]
Snickers has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
<imightbestupid12> so basically the difference between times and each is the use case where if i know the total number of iterations i use times and if i don't i use each to iterate through the whole list, or am i wrong thatsnotjack
SteenJobs has quit [Quit: SteenJobs]
Snowy has joined #ruby
jackjackdripper has quit [Ping timeout: 272 seconds]
djbkd has joined #ruby
tcrypt has joined #ruby
tcrypt is now known as tcrypt[away]
jackjackdripper has joined #ruby
nettoweb has joined #ruby
<thatsnotjack> That's a pretty good way to sum it up!
abernstein has quit [Ping timeout: 272 seconds]
abernstein_ is now known as abernstein
ggerman has quit [Ping timeout: 272 seconds]
qwebirc649467 has joined #ruby
imightbestupid12 has quit [Disconnected by services]
ggerman has joined #ruby
qwebirc649467 is now known as imightbestupid12
<imightbestupid12> thatsnotjack: sorry my laptop just died =(
<Papierkorb> imightbestupid12: There's Integer#times and Enumerable#each, they serve vastly different use-cases. For example, a = [ 3,4,5 ] is an array whose size you know, but you'd still use .each to iterate over all elements, not a.size.times
dagda1 has joined #ruby
ramfjord has quit [Ping timeout: 264 seconds]
Mrgoose has quit [Ping timeout: 264 seconds]
erlingur has joined #ruby
<imightbestupid12> but a.size.times would work just as well right Papierkorb?
<Papierkorb> imightbestupid12: Use times when you want to do something x-times, and what you want to do doesn't offer a each-esque method instead. So, it's more of a last-resort
<dmarr> thatsnotjack: if i wanted to use irb and test that block of code, would i need rails or could i do it without rails?
<Papierkorb> imightbestupid12: No, it would not. You'd have to get the element yourself out of `a`. More work for absolutely no gain.
<imightbestupid12> i mean the end result
<Papierkorb> imightbestupid12: Still, no. It doesn't give you the element, it gives you the index
Mrgoose has joined #ruby
<imightbestupid12> okay, that's the problem i was having earlier
<Papierkorb> imightbestupid12: You're coming from a language where you'd use a for(...) loop for this, correct?
<imightbestupid12> i read some answers from you guys and i was too tired, i fell asleep for 10 minutes and woke up and now i feel fine
<Papierkorb> imightbestupid12: Forget about for(...) when coding in ruby :)
<imightbestupid12> Papierkorb: how do you know i am coming from a language where you use for loops?
jenrzzz has joined #ruby
sdothum has joined #ruby
LoneHermit has quit [Remote host closed the connection]
ggerman has quit [Ping timeout: 264 seconds]
<thatsnotjack> imightbestupid12: Because ruby tutorials usually teach using `#each` to iterate arrays, whereas folks used to `for()` loops tend to start by iterating over indices
marsjaninzmarsa has quit [Quit: ZNC 1.7.x-git-487-cbf5c38 - http://znc.in]
<tubbo> what language doesn't have for loops?
<imightbestupid12> ruby
<tubbo> no, ruby has for loops...you just don't need to use them :)
ggerman has joined #ruby
<Papierkorb> imightbestupid12: Using the heuristics model inside my brain to estimate the possibility of you coming from one, combined with the knowledge that many many languages have for(...) but no equivalent to #each
<thatsnotjack> tubbo: Haskell
<imightbestupid12> what are the languages that i need to know to become a :"well-grounded" programmer?
<tubbo> imightbestupid12: define 'well-grounded', what do you want to do with code?
<imightbestupid12> well they have forEach
<tubbo> like what do you want to make?
<tubbo> thatsnotjack: good point haha
<imightbestupid12> i want to make anything that i can think of
<imightbestupid12> any app and any web app
marsjaninzmarsa has joined #ruby
<tubbo> ok
<imightbestupid12> it will look and function just as i imagined
<tubbo> but not like...robots, or AI, or embedded devices,
<tubbo> you want to create high-level applications
<imightbestupid12> i would love to learn ai
<imightbestupid12> ai is essential
<tubbo> that's what elon musk said in that long ass video
<thatsnotjack> imightbestupid12: Ruby will be fine for getting you some grounding, while allowing you to build practical things
<imightbestupid12> i stopped paying attention to elon musk after i got rejected by tesla's finance program a while ago
<Mrgoose> hehe
<imightbestupid12> so now i am focusing on myself to be able to be approved to get a nice car for 100k
erlingur has quit [Ping timeout: 264 seconds]
djbkd has quit [Ping timeout: 264 seconds]
<Mrgoose> just get the $30k model!
<imightbestupid12> no
<nofxx> get the zero bike!
<imightbestupid12> even though it will have the same crappy interior
<tubbo> well what i mean is if you want to build applications for the web and for mobile/desktop, you probably want to start with javascript and probably swift/java
<thatsnotjack> imightbestupid12: Python might be what you want to end up with if you're into AI, since it's got a stronger AI community that Ruby, but picking up Python will be really easy once you're proficient with Ruby
<Papierkorb> Not to master them, mind you, but getting up to speed
<Papierkorb> imightbestupid12: Learn coding because it's fun. Learn your tools (and Ruby may be one of them). And then learn their advantages and weaknesses. Check out some other languages if you want to, but settle for one for the start to really get to know it. Once you've done that (~ 1-2 years of really using it), you can check out another language from a different spectrum. After the second language you should be able to pick up new ones somewhat quickly.
jenrzzz has quit [Ping timeout: 264 seconds]
<tubbo> honestly if you're ok with drinking the mac kool-aid i think swift is an excellent choice to start with programming
<imightbestupid12> so i have been programming for nearly 3 years now, but now i am actually "learning" before things just didn't make sense and didn't click... procedural thinking was something my brain was not used to and it's now just rewiring and i want to continue
duderonomy has joined #ruby
ggerman has quit [Ping timeout: 264 seconds]
<tubbo> you get a nice IDE, readable documentation, elements of scripting languages while incorporating some pretty advanced concepts
<imightbestupid12> i have a 27 inch imac in front of me
<thatsnotjack> dmarr: Sorry, forgot about you for a second. yeah, you need access to the running app so you either need it running locally or need access to a dev server where a debugger can be run
<tubbo> there's also no bullshit about "which framework/style/convention/library should i use for <x>" it's all just right there in the SDK. there's one way to do things.
<Papierkorb> imightbestupid12: For now, come up with a project you want to do. Not too small, not insanely large (So, no MMORPG please :P). And then get hands-on experience building the application you want
marsjaninzmarsa has quit [Client Quit]
LoneHermit has joined #ruby
<imightbestupid12> what is a good project that is easy to do and easy to sell?
jackjackdripper has quit [Quit: Leaving.]
<imightbestupid12> i want to start becoming a "professional" hehe :)
<thatsnotjack> imightbestupid12: Don't be looking to profit yet. You'll make money a lot quicker by focusing on getting proficient first, then looking to profit once you've got skills
<thatsnotjack> Or, skip coding and just get yourself a nice sales job. Sales is way less effort for way more money if you don't mind kissing a little ass
<imightbestupid12> what is the most efficient way to learn things?
AltLock has joined #ruby
<imightbestupid12> thatsnotjack: i do real estate and i never kiss ass... i guess it's the wrong sales job
johnmilton has joined #ruby
<thatsnotjack> imightbestupid12: Learning to code is best done by writing code. You're spending your time on IRC asking open ended questions of non-experts instead of practicing right now!
<imightbestupid12> i mean i would like to sell things by having ads on them and not by having people pay out of pocket for
<imightbestupid12> okay you're right thatsnotjack... my fault for assuming everyone here is an expert
djbkd has joined #ruby
ur5us has joined #ruby
boogeyman has joined #ruby
<thatsnotjack> IRC is a great learning resource for short, directed questions that are easy for those with a little more experience than you to answer. But Vague discussion here about which tools to learn won't get you anywhere fast, better just to focus on writing the code :)
<Papierkorb> imightbestupid12: There's this mantra that coding is like a license to print money. It's not. It's fricking hard work. Annoying customers who don't know what they want. Huge time investments to keep up with the insanely fast moving world. Even for simple things you need a huge knowledge base if you want to get them "right", which you want to when selling things. The programming communities has so many ideas and so many voices that you can easily
<Papierkorb> feel overwhelmed, as each is yelling how doing X for Y is the only valid solution in existence. But you know what? Programming is fun. Really a lot. And if you have awesome coworkers in a decent company, you can have tons of fun while getting a nice paycheque for doing what you love anyway. And, solving real issues that real people have is damn satisfying.
LoneHermit has quit [Ping timeout: 264 seconds]
blackmesa has joined #ruby
SeepingN has joined #ruby
<Papierkorb> imightbestupid12: So, as you're not there yet. But that's fine, "Welcome to Programming" I guess; Start by solving an issue that always annoyed you, or by building something you always wondered how it works. Can be anything, really, almost anything nowadays is well documented and available online free of charge
<imightbestupid12> Papierkorb: i'm not learning coding to make easy money, i'm learning it because i want to apply the concepts to make other things easier for me... like creating my own real estate website instead of hiring people to do it for me and creating things that help people if they don't exist yet... i want to take initiative and make cool things for people and work with other people who are interested in my projects to join me and ex
tcrypt[away] has quit [Ping timeout: 264 seconds]
<tubbo> it's certainly not "easy" money :P
<imightbestupid12> programming is the hardest thing i've ever done and my brain isn't very good at procedural thinking, but it's getting better... a few years ago procedural thinking was inexistent
<imightbestupid12> if it was easy everyone would be doing it and it would probably be illegal
<Papierkorb> imightbestupid12: Excellent, "my own real estate website". There you have your first project! Ruby is a solid choice for web development IMO, the most popular Ruby based framework for this is "Ruby on Rails"
nando293921 has quit [Ping timeout: 272 seconds]
<AltLock> I totally agree with thatsnotjack and Papierkorb. You need to learn programming because you like programming, or you need to have an unbelievably stubborn goal in your head (not necessarily a bad thing)
beauby has joined #ruby
<ytti> +1 for imightbestupid12
<ytti> some many of those craigslists guys who have great ideas and will pay 100bucks for dude to code it for them
frozengeek has quit [Quit: frozengeek]
<ytti> coding especially at POC and low scale level is within everyone's reach
<ytti> it's not hard
<ytti> and it's inherently rewarding to humans
<imightbestupid12> poc level is hard for me
<imightbestupid12> after nearly 3 years i still suck
<ytti> sometimes problem may be too large focus on the end result
<imightbestupid12> granted i never paid attention in school nor got into the habit of studying
<ytti> i started with perl, and never learned to write perl
<ytti> as it was just tool for me to help my other work
tcrypt has joined #ruby
<ytti> when i started with ruby, i took some time to actually learn ruby as the sole purpose of using time
<imightbestupid12> i would love to know some workflow "hacks"
<ytti> and i felt after 2 months, my ruby was superior than my perl, which i had written over decade
<imightbestupid12> some tips and tricks that will help me optimize my time learning new things
<ytti> i don't think there are shortcuts, i think experimentation is key
<ytti> and when ever you run into things 'well i don't think i get how this works'
<ytti> make it smaller, more contained problem
marsjaninzmarsa has joined #ruby
<ytti> and find out
<ytti> those will pay dividents
<ytti> and indeed real-estate page is very very good starter project
<Papierkorb> imightbestupid12: Then your approach in that time was just not the right one. But I want to encourage you to learn from those failures and look past it. If nothing, you must have quite some dedication to still push after these 3yrs. So, this moment right now is the best one to get started working on your real estate webpage!
<ytti> there are very many rails for beginner projects only choose one, or couple
<mikecmpbll> i reckon if people spent the time they spend trying to figure out how to learn best, actually learning, they'd probably be where they want to be.
Derperperd has quit [Quit: Derperperd]
<ytti> mikecmpbll, which is where goal orientation hurts
malconis has joined #ruby
<AltLock> I don't know.. For real estate you need databases, good security, knowledge, motivation etc. Go ahead, but I'm not sure you'll make it
SteenJobs has joined #ruby
<ytti> mikecmpbll, becuase you sweep the problem away, and just make it work, almost randomly
<mikecmpbll> learning is so uncomplicated, you just research how to do stuff, comprehend it, and repeat it until you're better at it.
<ytti> without really understanding why it works or how
<ytti> you will save time that time
<mikecmpbll> what?
<mikecmpbll> no.
<ytti> but there are no dividents
frozengeek has joined #ruby
<imightbestupid12> is going to app academy a good investment?
<mikecmpbll> no.
<ytti> i would jsut start building the site from zero
<ytti> and understand how things work
<ytti> (granted rails isn't best to start with, if you want to understand it fully, rails is largely not meant to be understood in-depth, it's very meta)
<Papierkorb> AltLock: I learned C mainly by writing a OS kernel, cause I wondered how they work and I heard C is capable of writing kernels in ;) I still hate the floppy drive, such an awful interface! If you really want to get somewhere, you will.
<imightbestupid12> what's the best to start off with?
pwnd_nsfw` has joined #ruby
<ytti> you could literally write real-estate page without any non-standard libraries
<ytti> it wouldn't be the smarest for end-result point of view
<ytti> but it would teach you most
<imightbestupid12> what do you mean by that?
<ytti> then you could redo it in rails or sinatra or such
hutch34 has quit [Ping timeout: 272 seconds]
<mikecmpbll> imightbestupid12: what do you want to learn how to do?
<Papierkorb> ytti: I think Rails is a good choice. In this stage, the most important thing is NOT understanding everything, but to get results on the screen as motivation. Then, you dig deeper
<imightbestupid12> ai, make games, make apps, make web apps and the like
<mikecmpbll> cool, pick one learn it
djbkd has quit [Ping timeout: 264 seconds]
<mikecmpbll> then pick the next one, and learn that
stamina has quit [Ping timeout: 244 seconds]
* mikecmpbll sighs
codelogix has joined #ruby
NTrash has joined #ruby
pwnd_nsfw has quit [Ping timeout: 272 seconds]
abernstein has quit [Quit: abernstein]
<ytti> (holy shit most real estate pages are crap, looking for a new house/apartment right now)
Uranio has joined #ruby
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nopolitica has quit [Quit: leaving]
beauby has quit [Read error: Connection reset by peer]
pwnd_nsfw` has quit [Read error: Network is unreachable]
tcrypt is now known as tcrypt[away]
<imightbestupid12> ytti: what do you think of this site? miami-best-condo.com
<imightbestupid12> ytti: what do you think of this site? http://miami-best-condo.com
pwnd_nsfw` has joined #ruby
<Papierkorb> Takes ages to load
Uranio has left #ruby [#ruby]
djbkd has joined #ruby
<imightbestupid12> anything else?
bob434 has quit [Quit: This computer has gone to sleep]
bluOxigen has quit [Ping timeout: 264 seconds]
b________ has quit [Remote host closed the connection]
bluOxigen has joined #ruby
be_______ has joined #ruby
<imightbestupid12> it's a friend's site... i just want honest feedback =)
SeepingN has joined #ruby
<AltLock> Papierkorb: Yeah, I prefer doing it that way as well, going all in, but it's different to me when there are a lot of considerations to make about security, when there are a lot of things you need to understand before you get any progress, etc.
Jakey3 has quit [Ping timeout: 272 seconds]
Dimik has joined #ruby
<imightbestupid12> how much would you charge for a site like that?
phredus__ has joined #ruby
_djbkd has quit [Remote host closed the connection]
<Papierkorb> imightbestupid12: The pages design isn't really modern anymore. not digging much deeper though.
kayzon has joined #ruby
<imightbestupid12> she paid $199 for the site + $99 a year hosting
dagda1 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
beauby has joined #ruby
SeepingN has quit [Client Quit]
tcrypt[away] has quit [Ping timeout: 264 seconds]
dagda1 has joined #ruby
nando293921 has joined #ruby
<Papierkorb> AltLock: Absolutely, but you have to start somewhere. I'm happy that I began coding with locally running things, but then I think the world has moved onwards. At least, with Rails, there are battle-tested, stable gems to get around the most stupid mistakes.
<apeiros> 35s to load 40MB…
* apeiros is fascinated
* apeiros remembers the time when 400KB on the front page was considered too much
<Papierkorb> That thing is this large? Wow
<thatsnotjack> There's a SQLi hole on the front page search inputs too :D
<AltLock> Papierkorb: Hmm... maybe you're right.
<apeiros> but I'd say 200$ is a good price for that
<thatsnotjack> yeah $200 is dirt cheap
<thatsnotjack> But uh if that site's hooked up to anything important maybe have a security person go over it
<imightbestupid12> how do you know there is a hole in the front page?
<Papierkorb> apeiros: Those *were* better times. I hate how every webpage has become a full blown application of sorts, loading megabytes of just javascript to not be used in 99,9% of the cases.
<apeiros> but honestly, selling properties in the region of $500k to $2000k it's a rather cheap site
dtscode has joined #ruby
<nofxx> hm... is thre some way to have a method that isn't inherited by children in the father class?
tcrypt has joined #ruby
<AltLock> Papierkorb: +1
tdy has quit [Ping timeout: 264 seconds]
<imightbestupid12> apeiros: how do you think people get rich? they don't spend money lol
<thatsnotjack> imightbestupid12: sqlmap
<nofxx> Papierkorb, there were worst times too... FLASH anyone?
<apeiros> Papierkorb: I have no issue with websites being full blown apps. but even that can be done in <500KB
<Papierkorb> apeiros: If I'd be interested in buying houses in that price range, I'd Ctrl-W before the page finishes to load assuming that it doesn't work at all
phredus__ has quit [Remote host closed the connection]
<apeiros> Papierkorb: yupp, same. and I wouldn't trust it.
<Papierkorb> nofxx: ActionScript3 is nice, I liked it. Flash is terrible though.
<nofxx> or... FLEX... flex is the ultimate app solution...
<Papierkorb> Or Adobe AIR
dtscode has quit [Client Quit]
<nofxx> in 2001... hehu yeah, flex became air? no?
<thatsnotjack> imightbestupid12: $200 is absurdely little to spend on something that a decent chunk of sales are going to come through. Looking at this from a margin stanpoint and the likely loss of business resulting from a poor site, this is probably underinvestment
djbkd has quit [Ping timeout: 264 seconds]
despai has joined #ruby
AlexRussia_ has quit [Ping timeout: 244 seconds]
<Papierkorb> No idea when AIR was published, but I think I used it once (as an user) and hated it.
<imightbestupid12> well she hired a bunch of russians to do the site and everything is cheap in russia
auxbuss has joined #ruby
<AltLock> lol
<Papierkorb> imightbestupid12: "You Get What You Pay For"
<apeiros> the point is - it is cheap. not inexpensive.
<Papierkorb> If you pay shit, you get shit
troulouliou_dev has joined #ruby
<imightbestupid12> well i hear wordpress sites like that cost $1k in the us
<thatsnotjack> And don't take 40s to load
rakm has joined #ruby
AlexRussia_ has joined #ruby
<AltLock> WordPress? For non-blog sites? Why is it even a thing...
<Papierkorb> AltLock: It is D:
<thatsnotjack> When all you've got is a hammer...
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
tyang has quit [Ping timeout: 272 seconds]
<AltLock> thatsnotjack: ..., you better smash the heads of people who use WordPress for non-blog purposes in.
Jakey3 has joined #ruby
wldcordeiro has quit [Quit: WeeChat 1.4]
wldcordeiro has joined #ruby
djbkd has joined #ruby
cschneid_ has quit [Remote host closed the connection]
<AltLock> Woops, that went off-topic quick..
<thatsnotjack> Maxwell's silver hammer by the Beatles is actually a Ballad about Jr. web devs using Wordpress when they shouldn't
csk has quit [Quit: ZZZzzz…]
<AltLock> Taking a listen to it now, I'm probably a lot younger than you :P
<thatsnotjack> Nah, the Beatles are timeless
<AltLock> In that case it's not really my thing
<thatsnotjack> Maybe Skrillex will drop a remix soon
jenrzzz has quit [Ping timeout: 272 seconds]
<AltLock> Not my taste either. Give my The Beatles in that case for sure
arashb has joined #ruby
<imightbestupid12> where do you see 40 seconds?
<imightbestupid12> i see 9.3 seconds as loading time
blackgoat has joined #ruby
<Papierkorb> imightbestupid12: on my clock
<Papierkorb> imightbestupid12: That's ultra slow
rodfersou has quit [Quit: leaving]
<imightbestupid12> i looked at chrome dev tools
<imightbestupid12> load: 9.13s
<AltLock> imightbestupid12 because you are closer to the server, maybe? ;)
<apeiros> that's still like 90x too slow :)
Johne has joined #ruby
<imightbestupid12> vs google.com 1.4s and reddit.com 1.67s
dagda1 has quit [Quit: Textual IRC Client: www.textualapp.com]
<thatsnotjack> imightbestupid12: That site uses lots of heavy assets which your browser likely has cached by now
<imightbestupid12> vs zillow.com 1.41s
_djbkd has joined #ruby
jcao219 has joined #ruby
<Johne> test = Array.new(3)
<imightbestupid12> thatsnotjack: would opening a private window fix that problem?
<Papierkorb> imightbestupid12: One major difference is that while those times are not that bad for me, those pages show content almost right away. that real estate thing there is sipping tea or something, but it's not displaying anything for ages
<Papierkorb> Johne: [ nil, nil, nil ]
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Johne> how do i do that with the bot?
Coldblackice has joined #ruby
_djbkd has quit [Remote host closed the connection]
csk has joined #ruby
<thatsnotjack> imightbestupid12: yeah, we're way off topic though probably best to take your questions to a general webdev channel
<imightbestupid12> how hard of a project would it be to make a recipe app?
<imightbestupid12> sorry i didn't mean to get off topic
<thatsnotjack> Johne: Prefix with >>
<Johne> o
<Johne> >> test = Array.new(3)
<ruby[bot]> Johne: # => [nil, nil, nil] (https://eval.in/653363)
Coldblackice has quit [Client Quit]
<thatsnotjack> imightbestupid12: That's a good starter project. Just start basic with a command line interface
<Papierkorb> ^
<imightbestupid12> you guys were telling me about lots of rails starter projects... where can i find those?
ur5us has quit [Remote host closed the connection]
<thatsnotjack> imightbestupid12: I suggest you learn ruby before rails
nitrix is now known as MeMyselfAndI
<Johne> >> test.join(", ")
<imightbestupid12> is there something similar for ruby?
<Papierkorb> ^²
<ruby[bot]> Johne: # => wrong number of arguments (given 0, expected 2..3) (ArgumentError) ...check link for more (https://eval.in/653364)
tdy has joined #ruby
ur5us has joined #ruby
<imightbestupid12> or should i just do all the exercism exercises?
MeMyselfAndI is now known as nitrix
djbkd has quit [Ping timeout: 264 seconds]
<Johne> >> test = [1 2 3 4]
<ruby[bot]> Johne: # => /tmp/execpad-4dbe65bb8f32/source-4dbe65bb8f32:2: syntax error, unexpected tINTEGER, expecting ']' ...check link for more (https://eval.in/653365)
<thatsnotjack> I suggest you just build a command line recipe application. I feel that you're at the stage in learning where building a working program is probably the most useful thing for you, but that's just my humble opinion
<imightbestupid12> you're right
<thatsnotjack> Johne: irb is a great tool for avoiding spamming IRC channels :)
<Papierkorb> Johne: Could you use your local irb or pry?
<apeiros> ?experiment Johne
<ruby[bot]> Johne: Please use your local irb or pry (see ?pry) to experiment, ruby[bot]'s eval functionality is for demonstration purposes only.
<Johne> lol yes i was trying to show an example but I'm failing
<thatsnotjack> try it in irb first, then paste
AlphaAtom has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
codelogix has quit [Ping timeout: 272 seconds]
<Johne> so i created an array, then joined it into a string, now i'm just trying to puts it, but i dont know how to reference the var
Gasher has quit [Ping timeout: 244 seconds]
<AltLock> ?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
tcrypt has quit [Ping timeout: 264 seconds]
Mrgoose has quit [Read error: Connection reset by peer]
<apeiros> Johne: you use the name of the var. like always with variables.
ur5us has quit [Ping timeout: 244 seconds]
codelogix has joined #ruby
djbkd has joined #ruby
Mrgoose has joined #ruby
<Johne> https://gist.github.com/procdaddy/b2f8aa0047d2ae8a145221051dd86c7a im trying to use the var of tv, its nnot in a class, so not @
despai has quit [Read error: Connection reset by peer]
hahuang62 has joined #ruby
despai has joined #ruby
moneylotion has quit [Ping timeout: 260 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
Hobbyboy has quit [Read error: Connection reset by peer]
tcrypt has joined #ruby
<thatsnotjack> Johne: This code is hard to read. Before getting help with longer snippets maybe try to normalize your indentation, and use longer, more descriptive variable names so that those without prior context can quickly understand what's happening
ur5us has joined #ruby
<thatsnotjack> Johne: What behavior are you expecting that you are not seeing?
<Johne> so tvs is a normal array, i just joined them into tv
jackjackdripper has joined #ruby
jackjackdripper has quit [Read error: Connection reset by peer]
jackjackdripper1 has joined #ruby
stamina has joined #ruby
pwnd_nsfw` has quit [Read error: Network is unreachable]
<Johne> i feel like an idiot because its all there except for calling the variable
AlphaAtom has joined #ruby
pwnd_nsfw` has joined #ruby
<thatsnotjack> Johne: Line 15 is broken, you're comparing a boolean to a string
jackjackdripper1 has quit [Client Quit]
tcrypt is now known as tcrypt[away]
danguita has joined #ruby
<thatsnotjack> .nil? returns true/false, and you're comparing it to "false" so that brench is never being entered
dmr8 has quit [Quit: Leaving]
arashb has quit [Ping timeout: 264 seconds]
<thatsnotjack> A good first step in debugging this would have been to put a `puts` statement on line 16 to ensure the branch is being entered, or even better, enter a debugger there if you're familiar with them
dmr8 has joined #ruby
<thatsnotjack> Basically, any time something that's in a conditional isn't happening, start debugging by ensureing that the conditional branch is being entered
djbkd has quit [Ping timeout: 264 seconds]
ur5us has quit [Ping timeout: 264 seconds]
jackjackdripper1 has joined #ruby
<Johne> ok
<Johne> ill start there ty
<thatsnotjack> No problem. Your code seems to work after that issue is fixed though, nice work on the rest of it!
ramfjord has joined #ruby
kayzon has quit [Remote host closed the connection]
<Johne> trying to leave the eggdrop world and leave my tcl life behind me
tcrypt[away] has quit [Max SendQ exceeded]
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<thatsnotjack> That's what's throwing you off then, in tcl everything can be compared with strings if I remember correctly. In ruby, you need to compare things like true/false with values of the proper type
Snowy has quit [Quit: ragequit]
frozengeek has quit [Remote host closed the connection]
synne has quit [Ping timeout: 244 seconds]
<thatsnotjack> Well, I should have said everything is a string, not can be compared with strings
<Johne> yeah, but this is opening so many more doors
jcao219 has quit [Ping timeout: 244 seconds]
<thatsnotjack> Do you understand the difference between strings booleans and numbers in ruby yet?
<Johne> yup
<Johne> true = true, not true = 1
<thatsnotjack> right, and more importantly in this case `true != "true"`
blackmesa has quit [Ping timeout: 244 seconds]
skweek has quit [Ping timeout: 272 seconds]
Guest79364 has quit [Remote host closed the connection]
marxarelli is now known as marxarelli|afk
beauby has quit [Read error: Connection reset by peer]
despai has quit [Quit: This computer has gone to sleep]
jenrzzz_ has joined #ruby
jenrzzz_ has quit [Client Quit]
moneylotion has joined #ruby
djbkd has joined #ruby
claudiuinberlin has quit []
webus has quit [Ping timeout: 244 seconds]
jenrzzz has quit [Ping timeout: 264 seconds]
miqlas-H has quit [Quit: Vision[0.9.7-H-20140108]: i've been blurred!]
nofxx has quit [Ping timeout: 244 seconds]
<Jakey3> in terms of chef whats wrong with my execution of the bash here http://pastebin.ubuntu.com/23257176/
beauby has joined #ruby
rakm has joined #ruby
bluOxigen has quit [Ping timeout: 264 seconds]
ModusPwnens has joined #ruby
<ModusPwnens> If you are in name space Foo::Bar, how do you include a module that is in namespace Foo? I keep getting undefined method errors.
nettoweb has joined #ruby
jackjackdripper has joined #ruby
<Emmanuel_Chanel> chris2: I forgot to change my password for my local mail server then. So I wasted 6 hours or so by missing it. Looks nobody had intruded, though.
stamina has quit [Quit: WeeChat 1.5]
jackjackdripper1 has quit [Ping timeout: 264 seconds]
nofxx has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
despai has joined #ruby
ramfjord has quit [Ping timeout: 272 seconds]
Hobbyboy has joined #ruby
tcrypt has joined #ruby
GodFather has quit [Ping timeout: 244 seconds]
SeepingN has joined #ruby
babblebre has quit [Quit: Connection closed for inactivity]
djbkd has quit [Ping timeout: 264 seconds]
despai has quit [Quit: This computer has gone to sleep]
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
djbkd has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
synthroi_ has quit []
madgen has joined #ruby
ramfjord has joined #ruby
nankyokusei has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
Gasher has joined #ruby
jcao219 has joined #ruby
tcrypt has joined #ruby
crdpink has joined #ruby
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
babblebre has joined #ruby
Johne has left #ruby [#ruby]
_djbkd has joined #ruby
madgen_ has joined #ruby
_djbkd has quit [Read error: Connection reset by peer]
abernstein has joined #ruby
nankyokusei has quit [Ping timeout: 264 seconds]
<Jakey3> easy way to uninstal rvm?
<havenwood> Jakey3: rvm implode
JakFrist[WVU] has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Jakey3> thanks
<Jakey3> guess that was joke
_djbkd has joined #ruby
madgen has quit [Ping timeout: 244 seconds]
djbkd has quit [Ping timeout: 264 seconds]
crdpink has quit [Remote host closed the connection]
hutch34 has joined #ruby
crdpink has joined #ruby
Guest43 has joined #ruby
<Jakey3> havenwood, that worked thanks
Guest43 has quit [Changing host]
Guest43 has joined #ruby
Guest43 is now known as Rufus
nettoweb has joined #ruby
jackjackdripper1 has joined #ruby
NTrash has quit [Ping timeout: 255 seconds]
jackjackdripper has quit [Ping timeout: 272 seconds]
NTrash has joined #ruby
dmitry has quit [Ping timeout: 264 seconds]
brendan- has joined #ruby
djbkd has joined #ruby
crdpink has quit [Remote host closed the connection]
ModusPwnens has quit [Ping timeout: 240 seconds]
crdpink has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
AltLock has quit [Quit: ChatZilla 0.9.92 [SeaMonkey 2.40/20160807101136]]
erlingur has joined #ruby
pawnbox has quit [Read error: Connection reset by peer]
pawnbox has joined #ruby
jcao219 has quit [Ping timeout: 272 seconds]
beauby has quit [Read error: Connection reset by peer]
tcrypt has joined #ruby
sergio_101 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
despai has joined #ruby
<Jakey3> if i want to install ruby with a specific version 2.3
<Jakey3> how do it do it
<Jakey3> with rvm
<havenwood> Jakey3: rvm install 2.3.1
djbkd has quit [Ping timeout: 264 seconds]
<Jakey3> thanks
<havenwood> Jakey3: before installing update RVM: rvm get head
marxarelli|afk is now known as marxarelli
<Jakey3> is that an update
^mtkd has quit [Ping timeout: 264 seconds]
<Jakey3> or a ****job
<havenwood> Jakey3: yup, updates RVM to latest
<Jakey3> thanks
<mikecmpbll> :D
ramfjord has quit [Ping timeout: 264 seconds]
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
djbkd has joined #ruby
beauby has joined #ruby
<SeepingN> best joke evar
mtkd has joined #ruby
<Jakey3> lol
<SeepingN> to push changes it should be "give head"
<Jakey3> lol
ldnunes has quit [Quit: Leaving]
<Jakey3> how do i un-install rvm wipe Kleenex
JeanCarloMachado has quit [Ping timeout: 272 seconds]
<Jakey3> on a serious note how do i un-install ruby with rvm
<apeiros> seriously?
<Jakey3> ?
<Jakey3> ye
auxbuss has quit [Quit: I'm gone.]
<Jakey3> i mean a specific version
Alayde has joined #ruby
Robtop__ has joined #ruby
<apeiros> on the danger of repeating myself: seriously?
RegulationD has joined #ruby
despai has quit [Read error: Connection reset by peer]
<Jakey3> ye no worries i look at the manual
Derperperd has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
<apeiros> you mean after 3 times of needing help on installing a specific version of ruby, you can manage that?
<Alayde> this may be a dumb, basic/beginner question but: is there like a set of guidelines for when to use class methods over instance methods, or vice versa?
despai has joined #ruby
blackmesa has joined #ruby
<Jakey3> apeiros, well i got an iq over 10
<Jakey3> so i give it go
<apeiros> Alayde: when you need to access data of the instance, you'll want instance methods
hahuang62 has quit [Ping timeout: 244 seconds]
tcrypt has joined #ruby
pwnd_nsfw` has quit [Ping timeout: 272 seconds]
<apeiros> class methods are rather rare. common case for class methods is for alternative constructors. e.g. Date.civil(y,m,d), Date.commercial(y,week,weekday), Date.ordinal(year, dayofyear)
<Jakey3> rvm uninstall 2.3.0 ?
<Jakey3> here goes nothing
<apeiros> maybe you don't have 2.3.0?
<Jakey3> rvm uninstall 2.3.1 ?
<Jakey3> worked
<Jakey3> all good thanks
RegulationD has quit [Ping timeout: 264 seconds]
<apeiros> congratulations
beauby has quit [Read error: Connection reset by peer]
dmr8 has quit [Quit: Leaving]
<Alayde> apeiros: awesome, thanks
<apeiros> yw
blackmesa has quit [Ping timeout: 244 seconds]
spectrum has joined #ruby
djbkd has quit [Ping timeout: 244 seconds]
ytti has quit [Ping timeout: 240 seconds]
ytti has joined #ruby
gingray has joined #ruby
djbkd has joined #ruby
beauby has joined #ruby
Madplatypus has joined #ruby
spectrum has quit [Quit: Oh Shidd]
crdpink has quit [Remote host closed the connection]
theery has joined #ruby
crdpink has joined #ruby
madgen_ has quit [Ping timeout: 244 seconds]
tcrypt has quit [Ping timeout: 264 seconds]
hahuang62 has joined #ruby
beauby has quit [Read error: Connection reset by peer]
djbkd has quit [Ping timeout: 264 seconds]
monoprotic has quit [Read error: Connection reset by peer]
lacour has joined #ruby
elifoster has quit [Ping timeout: 272 seconds]
ichkv has joined #ruby
prawnzy has quit [Remote host closed the connection]
workmad3 has joined #ruby
tcrypt has joined #ruby
djbkd has joined #ruby
beauby has joined #ruby
tdy has quit [Ping timeout: 272 seconds]
SteenJobs has quit [Quit: SteenJobs]
ChiefAlexander has joined #ruby
LastWhisper____ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ChiefAlexander has quit [Remote host closed the connection]
madgen has joined #ruby
ChiefAlexander has joined #ruby
dunpeal has quit [Ping timeout: 272 seconds]
tdy has joined #ruby
ChiefAlexander has quit [Client Quit]
abernstein has quit [Quit: abernstein]
dunpeal has joined #ruby
pwnd_nsfw` has joined #ruby
Robtop__ has quit [Ping timeout: 244 seconds]
CamonZ has joined #ruby
beauby has quit [Read error: Connection reset by peer]
auxbuss has joined #ruby
auxbuss has quit [Client Quit]
djbkd has quit [Ping timeout: 244 seconds]
segmond has quit [Ping timeout: 265 seconds]
madgen has quit [Ping timeout: 264 seconds]
<imightbestupid12> that code that you saw is me going through an online tutorial from the pragmatic compnay
abernstein has joined #ruby
<imightbestupid12> https://pragmaticstudio.com/ the course is called ruby programming and i'm on chapter 10 :)
<imightbestupid12> i don't know how many of you have taken that course
djbkd has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
tvw has joined #ruby
beauby has joined #ruby
tcrypt has joined #ruby
beauby has quit [Read error: Connection reset by peer]
jphase has quit [Ping timeout: 264 seconds]
beauby has joined #ruby
theery has quit []
segmond has joined #ruby
segmond has quit [Max SendQ exceeded]
segmond has joined #ruby
djbkd has quit [Ping timeout: 264 seconds]
bob434 has joined #ruby
segmond has quit [Max SendQ exceeded]
prawnzy has joined #ruby
djbkd has joined #ruby
segmond has joined #ruby
MyMind has quit [Read error: Connection reset by peer]
skweek has joined #ruby
Gasher has quit [Quit: Leaving]
MyMind has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ramfjord has joined #ruby
segmond has quit [Max SendQ exceeded]
hutch34 has quit [Ping timeout: 244 seconds]
abernstein has quit [Read error: Connection reset by peer]
NTrash has quit [Quit: Konversation terminated!]
JeanCarloMachado has joined #ruby
segmond has joined #ruby
segmond has quit [Max SendQ exceeded]
patarr has quit [Ping timeout: 264 seconds]
segmond has joined #ruby
rippa has quit [Ping timeout: 272 seconds]
blackmesa has joined #ruby
segmond has quit [Max SendQ exceeded]
hutch34 has joined #ruby
segmond has joined #ruby
teclator has quit [Ping timeout: 264 seconds]
segmond has quit [Max SendQ exceeded]
rippa has joined #ruby
dunpeal has quit [Ping timeout: 244 seconds]
synthroid has joined #ruby
segmond has joined #ruby
segmond has quit [Max SendQ exceeded]
yfeldblum has joined #ruby
synthroid has quit [Client Quit]
djbkd has quit [Ping timeout: 264 seconds]
blackmesa has quit [Ping timeout: 244 seconds]
djbkd has joined #ruby
AlphaAtom has quit [Read error: Connection reset by peer]
AlphaAtom has joined #ruby
AlphaAtom has quit [Client Quit]
polishdub has quit [Quit: Leaving]
ec0 has joined #ruby
_djbkd has quit [Remote host closed the connection]
hutch34 has quit [Ping timeout: 264 seconds]
_djbkd has joined #ruby
biberu has quit []
ramfjord has quit [Ping timeout: 272 seconds]
_djbkd has quit [Read error: Connection reset by peer]
Pumukel has quit [Read error: Connection reset by peer]
Pumukel has joined #ruby
beauby has quit [Read error: Connection reset by peer]
hahuang62 has quit [Ping timeout: 272 seconds]
_djbkd has joined #ruby
djbkd has quit [Ping timeout: 264 seconds]
crdpink has quit [Remote host closed the connection]
blackmesa has joined #ruby
crdpink has joined #ruby
incog has joined #ruby
weaksauce has quit [Ping timeout: 244 seconds]
beauby has joined #ruby
djbkd has joined #ruby
workmad3 has quit [Ping timeout: 244 seconds]
nankyokusei has joined #ruby
duncannz has joined #ruby
harai has quit [Ping timeout: 264 seconds]
tvw has quit []
Immune has joined #ruby
merlin2049er1 has joined #ruby
dunpeal has joined #ruby
beauby has quit [Read error: Connection reset by peer]
nankyokusei has quit [Ping timeout: 244 seconds]
CharlieLo has joined #ruby
merlin2049er2 has joined #ruby
lxsameer has quit [Quit: WeeChat 1.5]
Pisuke has joined #ruby
pragmaticus has quit [Ping timeout: 244 seconds]
djbkd has quit [Ping timeout: 264 seconds]
banisterfiend has joined #ruby
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
arashb has joined #ruby
merlin2049er1 has quit [Ping timeout: 272 seconds]
MyMind has quit [Ping timeout: 272 seconds]
CharlieLo has quit [Ping timeout: 244 seconds]
beauby has joined #ruby
jackjackdripper1 has quit [Quit: Leaving.]
hurikhan|Work has quit [Ping timeout: 244 seconds]
jaequery has joined #ruby
Pumukel has quit [Remote host closed the connection]
<Jakey3> is it a problem installing rvm as root
<Jakey3> and then ruby 2.3 as root
<Jakey3> ?
djbkd has joined #ruby
arashb has quit [Ping timeout: 264 seconds]
<Jakey3> if you have other users who will want to use it
codelogix has quit [Ping timeout: 272 seconds]
monoprotic has joined #ruby
monoprotic has quit [Changing host]
monoprotic has joined #ruby
mikecmpbll has quit [Quit: inabit.]
_djbkd has quit [Remote host closed the connection]
ramfjord has joined #ruby
ec0 has quit [Ping timeout: 272 seconds]
hutch34 has joined #ruby
tdy has quit [Ping timeout: 244 seconds]
brendan- has joined #ruby
_djbkd has joined #ruby
ramfjord has quit [Ping timeout: 264 seconds]
alibby has quit [Quit: Leaving.]
hutch34 has quit [Ping timeout: 272 seconds]
alibby has joined #ruby
chouhoulis has quit [Ping timeout: 272 seconds]
hashrocket has quit [Quit: Connection closed for inactivity]
Synthead has quit [Quit: Synthead]
ramfjord has joined #ruby
djbkd has quit [Ping timeout: 264 seconds]
djbkd has joined #ruby
wnd has quit [Excess Flood]
Pisuke has quit [Read error: Connection reset by peer]
wnd has joined #ruby
brendan- has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Pisuke has joined #ruby
babblebre has quit [Quit: Connection closed for inactivity]
<nofxx> Jakey3, why use rvm in the first place? Just install ruby and have fun
failshell has joined #ruby
charliesome_ has joined #ruby
<Jakey3> nofxx i have assignment where i must use rvm
dionysus69 has quit [Ping timeout: 244 seconds]
charliesome has quit [Ping timeout: 244 seconds]
bruce_lee has quit [Read error: Connection reset by peer]
hahuang62 has joined #ruby
<Jakey3> nofxx, is there a best practice way of installing rvm and ruby?
djbkd has quit [Ping timeout: 264 seconds]
tcrypt has joined #ruby
marxarelli is now known as marxarelli|afk
csk has quit [Quit: ZZZzzz…]
<lupine> best practice is to avoid rvm
<lupine> ruby-install and chruby ftw
pawnbox has quit [Remote host closed the connection]
djbkd has joined #ruby
marr has quit [Ping timeout: 272 seconds]
tdy has joined #ruby
axisys has quit [Ping timeout: 265 seconds]
jphase has joined #ruby
Pisuke has quit [Read error: Connection reset by peer]
failshell has quit []
tcrypt_ has joined #ruby
tcrypt has quit [Ping timeout: 264 seconds]
codelogix has joined #ruby
beauby has quit [Read error: Connection reset by peer]
Pisuke has joined #ruby
jhack has joined #ruby
jhack has quit [Changing host]
jhack has joined #ruby
marxarelli|afk is now known as marxarelli
marxarelli has quit [Quit: Textual IRC Client: www.textualapp.com]
djbkd has quit [Ping timeout: 264 seconds]
tcrypt_ has quit [Ping timeout: 264 seconds]
beauby has joined #ruby
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tcrypt has joined #ruby
ichkv has quit [Remote host closed the connection]
hahuang62 has quit [Ping timeout: 272 seconds]
elenatanasoiu has joined #ruby
SeepingN has joined #ruby
djbkd has joined #ruby
hutch34 has joined #ruby
Alayde has quit [Ping timeout: 244 seconds]
Guest38 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
alibby has quit [Quit: Leaving.]
alibby has joined #ruby
hutch34 has quit [Ping timeout: 264 seconds]
charliesome has joined #ruby
charliesome_ has quit [Ping timeout: 272 seconds]
codelogix has quit [Ping timeout: 244 seconds]
brianpWins has quit [Ping timeout: 244 seconds]
charliesome has quit [Client Quit]
ledestin has quit [Ping timeout: 264 seconds]
bsrd has quit [Quit: WeeChat 1.5]
LambdaSix has quit [Ping timeout: 276 seconds]
codelogix has joined #ruby
charliesome has joined #ruby
fmcgeough has joined #ruby
SeepingN has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
djbkd has quit [Ping timeout: 264 seconds]
SeepingN has joined #ruby
Pumukel has joined #ruby