havenwood changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.4.1, 2.3.4 & 2.2.7: https://www.ruby-lang.org || Paste >3 lines of text to: https://gist.github.com || Rails questions? Ask in: #RubyOnRails || Logs: https://irclog.whitequark.org/ruby || Books: https://goo.gl/wpGhoQ
Puffball has joined #ruby
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eelster has quit [Client Quit]
zachk has quit [Quit: Leaving]
railswebdev has joined #ruby
zach_ has quit [Ping timeout: 246 seconds]
jameswatling has joined #ruby
ozcanesen has quit [Quit: Textual IRC Client: www.textualapp.com]
jameswatling has quit [Ping timeout: 240 seconds]
segmond has joined #ruby
ixti has quit [Ping timeout: 240 seconds]
ixti has joined #ruby
moombah567 has joined #ruby
jamesaxl has quit [Read error: Connection reset by peer]
jamesaxl has joined #ruby
Cohedrin has quit [Read error: Connection reset by peer]
moombah567 has left #ruby [#ruby]
moombah567 has joined #ruby
mim1k has joined #ruby
rakm has joined #ruby
moombah567 has left #ruby [#ruby]
yirabbit_ has quit [Ping timeout: 240 seconds]
cschneid_ has joined #ruby
cfec0b8d has quit [Ping timeout: 260 seconds]
Cohedrin has joined #ruby
jaegerca has quit []
moombah567 has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
rdw200169__ has quit [Read error: Connection reset by peer]
rdw200169__ has joined #ruby
postmodern has quit [Remote host closed the connection]
<zzxc> Hey I'm sorry I have some what of newbie question. I'm getting "NameError uninitalized constant ____::Configuration" when I run rspec. Anyone have any idea's why?
yirabbit_ has joined #ruby
postmodern has joined #ruby
jusa has joined #ruby
<zzxc> I have a require for it in my lib/____.rb file as well.
cschneid_ has quit [Ping timeout: 240 seconds]
railswebdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nitric has quit [Ping timeout: 260 seconds]
GodFather has joined #ruby
duderonomy has joined #ruby
jusa has quit [Ping timeout: 240 seconds]
yirabbit_ has quit [Ping timeout: 255 seconds]
bmurt has joined #ruby
lxsameer has quit [Quit: WeeChat 1.7]
eightlimbed has joined #ruby
yirabbit_ has joined #ruby
apparition has joined #ruby
pb122 has quit [Read error: Connection reset by peer]
t-recx has quit [Ping timeout: 240 seconds]
skweek has joined #ruby
nobitanobi has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
nobitanobi has quit [Ping timeout: 240 seconds]
t-recx has joined #ruby
Pumukel has quit [Remote host closed the connection]
MrBusiness has quit [Ping timeout: 260 seconds]
im0nde has quit [Ping timeout: 272 seconds]
Pumukel has joined #ruby
DLSteve has joined #ruby
gizmore|2 has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
Pumukel has quit [Ping timeout: 240 seconds]
gizmore has quit [Ping timeout: 246 seconds]
marr has quit [Ping timeout: 240 seconds]
volty has quit [Ping timeout: 268 seconds]
blackmes1 has quit [Ping timeout: 272 seconds]
BubonicPestilenc has joined #ruby
cschneid_ has joined #ruby
bronson has joined #ruby
jrafanie has joined #ruby
brent__ has joined #ruby
GodFather has quit [Ping timeout: 240 seconds]
hays has joined #ruby
DeeJayh has quit [Ping timeout: 260 seconds]
Scriptonaut has left #ruby [#ruby]
cbyrda has quit [Quit: leaving]
bronson has quit [Ping timeout: 260 seconds]
brent__ has quit [Ping timeout: 260 seconds]
al2o3-cr has quit [Ping timeout: 268 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nobitanobi has joined #ruby
railswebdev has joined #ruby
BubonicPestilenc has quit [Quit: Textual IRC Client: www.textualapp.com]
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
Fernando-Basso has quit [Quit: WeeChat 1.8]
cdg has joined #ruby
nobitanobi has quit [Ping timeout: 260 seconds]
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
d^sh has quit [Ping timeout: 240 seconds]
d^sh has joined #ruby
sp4rrow has joined #ruby
apparition has quit [Quit: Bye]
jackjackdripper has joined #ruby
jameswatling has joined #ruby
jackjackdripper has quit [Client Quit]
<MarkBilk> I just did gem install rdoc-data and it took a very long time. But ri Array still says: Nothing known about Array.
jackjackdripper has joined #ruby
apparition has joined #ruby
<havenwood> MarkBilk: how'd you install Ruby
<havenwood> MarkBilk: Depending on how you did, there are various good ways to get the docs.
DeeJayh has joined #ruby
<havenwood> MarkBilk: Did you run?: rdoc-data --install
sp4rrow has quit [Ping timeout: 255 seconds]
lucz has joined #ruby
jackjackdripper has quit [Ping timeout: 260 seconds]
railswebdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sp4rrow has joined #ruby
sp4rrow has quit [Ping timeout: 246 seconds]
houhoulis has joined #ruby
railswebdev has joined #ruby
jameser has joined #ruby
lucz has quit [Remote host closed the connection]
sp4rrow has joined #ruby
lucz has joined #ruby
segmond has quit [Quit: l8r]
genpaku has quit [Remote host closed the connection]
jameswatling has quit []
hays has quit [Ping timeout: 246 seconds]
genpaku has joined #ruby
lucz has quit [Ping timeout: 240 seconds]
sp4rrow has quit [Quit: Textual]
DeeJayh has quit [Ping timeout: 240 seconds]
rdavila has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bronson has joined #ruby
mim1k has joined #ruby
lucz has joined #ruby
DeeJayh has joined #ruby
bronson has quit [Ping timeout: 240 seconds]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dmtd has quit [Quit: Connection closed for inactivity]
izaac has joined #ruby
ixti has quit [Ping timeout: 246 seconds]
mim1k has quit [Ping timeout: 260 seconds]
t-recx has quit [Quit: t-recx]
moombah567 has left #ruby [#ruby]
jusa has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
houhoulis has quit [Remote host closed the connection]
Cohedrin has quit [Read error: Connection reset by peer]
jusa has quit [Ping timeout: 246 seconds]
lucz has quit [Remote host closed the connection]
Cohedrin has joined #ruby
cdg has quit [Ping timeout: 240 seconds]
railswebdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cschneid_ has quit [Read error: Connection reset by peer]
cschneid_ has joined #ruby
romeoh has joined #ruby
eightlimbed has quit [Ping timeout: 268 seconds]
bheesham has joined #ruby
belmoussaoui has quit [Quit: belmoussaoui]
railswebdev has joined #ruby
belmoussaoui has joined #ruby
blackwind_123 has joined #ruby
connor_g1odwolf is now known as connor_goodwolf
connor_goodwolf has quit [Quit: Reconnecting]
connor_goodwolf has joined #ruby
bheesham has quit [Ping timeout: 240 seconds]
jphase has joined #ruby
DeeJayh has quit [Ping timeout: 260 seconds]
milardovich has joined #ruby
milardovich has quit [Client Quit]
moombah5_ has joined #ruby
jphase has quit [Remote host closed the connection]
johnny56 has joined #ruby
<stormbytes> what's the easiest way to cut off the last ../foo/bar off a directory string?
m1911 has joined #ruby
m1911 has quit [Excess Flood]
Cohedrin has quit [Read error: Connection reset by peer]
cschneid_ has quit [Remote host closed the connection]
Cohedrin has joined #ruby
quobo has quit [Quit: Connection closed for inactivity]
jrafanie has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<havenwood> stormbytes: give an example or two of what you mean? what input would result in what output?
<stormbytes> i was looking for /go/to/here => /go but found it already, using .split...join
<stormbytes> so far its day-1 back to Ruby from Javascript and its like.. wow... someone just walked in and opened up all the windows
moombah5_ has quit [Remote host closed the connection]
<stormbytes> no promises await/sync CRAP
<stormbytes> straight forward, straight up. No needing a million copies of every dependency
eightlimbed has joined #ruby
xall has joined #ruby
jusa has joined #ruby
boringcp1 has joined #ruby
railswebdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
boringcpg has quit [Ping timeout: 260 seconds]
comet23 has joined #ruby
jusa has quit [Ping timeout: 240 seconds]
enterprisey has joined #ruby
<eam> you'd love event machine
railswebdev has joined #ruby
sneakerhax has quit [Ping timeout: 240 seconds]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
patarr has joined #ruby
jrafanie has joined #ruby
jrafanie has quit [Ping timeout: 240 seconds]
patarr has quit [Ping timeout: 268 seconds]
HoierM has quit [Ping timeout: 240 seconds]
DeeJayh has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nobitanobi has joined #ruby
charliesome has joined #ruby
lucz has joined #ruby
redaudit has quit [Quit: Cya]
gix has quit [Ping timeout: 260 seconds]
nobitanobi has quit [Ping timeout: 240 seconds]
segmond has joined #ruby
lucz has quit [Ping timeout: 240 seconds]
gix has joined #ruby
bheesham has joined #ruby
davic has quit [Quit: Connection closed for inactivity]
robnester has quit [Ping timeout: 260 seconds]
bheesham has quit [Ping timeout: 240 seconds]
<MarkBilk> havenwood: Thanks! rdoc-data --install fixed it.
ResidentBiscuit has joined #ruby
railswebdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<MarkBilk> btw, I installed the devkit and installed hpricot.gem from source. But most of the methods don't work. So I'm learning more Ruby so I can deal with Nokogiri.
ResidentBiscuit has quit [Ping timeout: 246 seconds]
yirabbit_ has quit [Ping timeout: 268 seconds]
DeeJayh has quit [Ping timeout: 268 seconds]
DeeJayh has joined #ruby
kassav__ has quit [Read error: Connection reset by peer]
kassav__ has joined #ruby
segmond has quit [Quit: l8r]
nofxxxx has joined #ruby
roamingdog has joined #ruby
nofxxx has quit [Ping timeout: 268 seconds]
auzty has joined #ruby
boringcpg has joined #ruby
dasher00 has quit [Ping timeout: 240 seconds]
dasher00 has joined #ruby
boringcp1 has quit [Ping timeout: 255 seconds]
railswebdev has joined #ruby
kristoff_ has joined #ruby
Brothus has quit [Ping timeout: 240 seconds]
Dry_Lips has quit [Ping timeout: 240 seconds]
kristofferR has quit [Ping timeout: 240 seconds]
stan has quit [Remote host closed the connection]
unsymbol has quit [Ping timeout: 246 seconds]
dasher00 has quit [Ping timeout: 240 seconds]
gizmore|2 has quit [Ping timeout: 240 seconds]
stan has joined #ruby
gizmore|2 has joined #ruby
__Yiota has joined #ruby
Zarthus_ has joined #ruby
Guest37310 has quit [Ping timeout: 272 seconds]
dasher00 has joined #ruby
hays has joined #ruby
unsymbol has joined #ruby
hays has quit [Changing host]
hays has joined #ruby
DeeJayh has quit [Ping timeout: 260 seconds]
hays has quit [Remote host closed the connection]
bronson has joined #ruby
mim1k has joined #ruby
davic has joined #ruby
Dry_Lips has joined #ruby
Dry_Lips has joined #ruby
Dry_Lips has quit [Changing host]
Guest37310 has joined #ruby
latemus has joined #ruby
bronson has quit [Ping timeout: 246 seconds]
yirabbit_ has joined #ruby
renchan has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
bkxd has joined #ruby
comet23 has quit [Remote host closed the connection]
yirabbit_ has quit [Remote host closed the connection]
Cohedrin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lucz has joined #ruby
bkxd has quit [Ping timeout: 255 seconds]
uZiel has joined #ruby
lucz has quit [Ping timeout: 240 seconds]
roamingdog has quit []
cfec0b8d has joined #ruby
eightlimbed has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
BTRE has quit [Quit: Leaving]
BTRE has joined #ruby
Cohedrin has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xall has quit [Read error: Connection reset by peer]
xall has joined #ruby
oleo has quit [Quit: irc client terminated!]
nickjj has quit [Read error: Connection reset by peer]
jusa has joined #ruby
pankaj_ has joined #ruby
ascarter has joined #ruby
jusa has quit [Ping timeout: 260 seconds]
ascarter has quit [Client Quit]
ascarter has joined #ruby
rdavila has joined #ruby
patarr has joined #ruby
railswebdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cschneid_ has joined #ruby
patarr has quit [Ping timeout: 246 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
cschneid_ has quit [Ping timeout: 272 seconds]
rdavila has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rdavila has joined #ruby
nobitanobi has joined #ruby
rdavila has quit [Client Quit]
<kspencer> Unexpected error while processing request: undefined method `bytesize' for [...]:Array
<kspencer> I'm stumped currently on why this is happening
<kspencer> I don't have 'bytesize' on anything connected to it, but I also don't get a line to go to either
DeeJayh has joined #ruby
<baweaver> &ri Array#bytesize
<`derpy> No results
nobitanobi has quit [Ping timeout: 240 seconds]
bheesham has joined #ruby
nickjj has joined #ruby
<baweaver> much past that I'd have to see the associated code where it's happening
jackjackdripper has joined #ruby
pankaj_ has quit [Ping timeout: 240 seconds]
robotmay has quit [Ping timeout: 260 seconds]
anisha has joined #ruby
<baweaver> That may be relevant: https://github.com/puma/puma/issues/536
<baweaver> poking around the gist
<baweaver> Might need to return an OK response at the end
xall has quit [Quit: xall]
normie1 has joined #ruby
dionysus69 has joined #ruby
Mortomes|Work has joined #ruby
DeeJayh has quit [Ping timeout: 260 seconds]
<dminuoso> baweaver! baweaver!
<dminuoso> I dreamt about you last night.
<dminuoso> My entire dream was filled with bad puns and everything.
<dminuoso> You have a bad influence on me.
^mtkd has quit [Read error: Connection reset by peer]
mtkd has joined #ruby
bheesham has quit [Ping timeout: 240 seconds]
<dionysus69> response.to_json.keys tells me theres no method keys for string
<dionysus69> but i expect json not string :)
Bock has quit [Ping timeout: 240 seconds]
Yxhvd has quit [Remote host closed the connection]
Yxhuvud has joined #ruby
bronson has joined #ruby
alazred has joined #ruby
alazred has joined #ruby
alazred has quit [Changing host]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Doow has quit [Read error: Connection reset by peer]
Doow has joined #ruby
bronson has quit [Ping timeout: 260 seconds]
vali has joined #ruby
ineb has quit [Ping timeout: 258 seconds]
<manveru> dionysus69: to_json returns String :)
<manveru> not sure why you'd expect otherwise...
ineb has joined #ruby
anisha has quit [Ping timeout: 240 seconds]
davic has quit [Quit: Connection closed for inactivity]
charliesome has joined #ruby
stoffus has joined #ruby
<dionysus69> i thought it would return a hash or something
<dionysus69> now i have to do this response = JSON.parse(response.to_json)
conta has joined #ruby
blackwind_123 has quit [Ping timeout: 268 seconds]
djbkd has joined #ruby
<manveru> why not just `response`?
<manveru> tbh i don't know what response class you're talking about, and what you want to get from it... so hard to give advise :)
biberu has joined #ruby
blackwind_123 has joined #ruby
lucz has joined #ruby
Bock has joined #ruby
<dionysus69> response is <Google::Apis::SheetsV4::BatchClearValuesResponse:0x0055ad0630a170 @spreadsheet_id="1btbbWrx-i99BxMO0ml1IVM2MNvi5iyavJ-rcoL1RPFA", @cleared_ranges=["Sheet1!A10", "Sheet1!B10"]>
<dionysus69> to json gives {"spreadsheetId"=>"1btbbWrx-i99BxMO0ml1IVM2MNvi5iyavJ-rcoL1RPFA", "clearedRanges"=>["Sheet1!A10", "Sheet1!B10"]}
<dionysus69> then I parse it to convert to hash
<dionysus69> returns : colon notation instead of =>, that is after JSON.parse sorry
anisha has joined #ruby
lucz has quit [Ping timeout: 245 seconds]
<herwin> it looks like that class has a to_h method
<manveru> aye
jackjackdripper has quit [Quit: Leaving.]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
enterprisey has quit [Remote host closed the connection]
gothicsouth has joined #ruby
aurelien has quit [Remote host closed the connection]
ascarter has joined #ruby
djbkd has quit []
olspookishmagus has quit [Remote host closed the connection]
Cohedrin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<dionysus69> herwin: oh thanks, unfortunately i am still lil awkward with ruby :\ not enough experience
Cohedrin has joined #ruby
donske has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Cohedrin has quit [Client Quit]
KeyJoo has joined #ruby
duderonomy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
anisha has quit [Read error: Connection reset by peer]
anisha has joined #ruby
jgnagy has quit [Remote host closed the connection]
Mang0es has joined #ruby
jgnagy has joined #ruby
insanedreamer has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nobitanobi has joined #ruby
AlexRussia has quit [Ping timeout: 258 seconds]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
andikr has joined #ruby
AlexRussia has joined #ruby
jusa has joined #ruby
Puppet___ has joined #ruby
nickjj_ has joined #ruby
ropeney has quit [Remote host closed the connection]
Mang0es has quit [Quit: Leaving]
blackmes1 has joined #ruby
Mang0es has joined #ruby
nickjj has quit [Ping timeout: 260 seconds]
Puppet_ has quit [Ping timeout: 260 seconds]
kassav_ has joined #ruby
jusa has quit [Ping timeout: 260 seconds]
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<dionysus69> I am making methods like this for google api spreadsheets and I will probably do same for youtube api, is it a good idea to make a gem out of it later? would be my first gem and I want some experienced opinion :) https://gist.github.com/anonymous/88f80fd48b37916edd6cd41825e628e6
kassav__ has quit [Ping timeout: 260 seconds]
<dionysus69> let me know if I could improve on something and if anyone would ever use such functionality, I think it would save lots of time for other people in the future
charliesome has joined #ruby
minimalism has quit [Quit: minimalism]
patarr has joined #ruby
mark_66 has joined #ruby
nunchuck has joined #ruby
ecuanaso has joined #ruby
patarr has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
bkxd has joined #ruby
gusrub has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
ur5us has quit [Remote host closed the connection]
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
normie1 has quit [Quit: Textual IRC Client: www.textualapp.com]
ur5us has joined #ruby
fxa has joined #ruby
MarkBilk_ has joined #ruby
bkxd has quit [Ping timeout: 258 seconds]
bkxd has joined #ruby
gusrub has quit [Ping timeout: 272 seconds]
fxa has quit [Client Quit]
fxa90id has joined #ruby
fxa90id has joined #ruby
fxa90id has quit [Changing host]
MarkBilk has quit [Ping timeout: 260 seconds]
morfin has joined #ruby
<morfin> hello
ur5us has quit [Ping timeout: 272 seconds]
<morfin> i do this:
nertzy has quit [Read error: Connection reset by peer]
marr has joined #ruby
nertzy has joined #ruby
bkxd has quit [Ping timeout: 246 seconds]
TreyG has quit [Remote host closed the connection]
<morfin> but it does not build - any suggestions? Some hunks fail
<dionysus69> first of all something is wrong with the text you posted and this isn't related to ruby in any way go to #security or #ubuntu channels
randdomone has joined #ruby
<morfin> it is related
pandaant has joined #ruby
<randdomone> I got error " syntax error, unexpected '.' [text&.decoded, html&.decoded] " with ^ pointing at . after text& while runing some aplication, may it be caused by wrong version of ruby?
<morfin> 1. This is builduing ruby with rbenv after patching. 2. I use Arch already. 3. It's related to Ruby(MRI).
mikecmpbll has joined #ruby
<dionysus69> morfin: anyways something is wrong with paste you posted, post it on pastebin or gist.github.com
<morfin> it's not wrong - that's just very long command
<morfin> cat <patches_list> | rbenv install --patch 2.3.0
Beams has joined #ruby
Bhootrk_ has joined #ruby
seraph787 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
antgel has joined #ruby
postmodern has quit [Quit: Leaving]
vali has quit [Ping timeout: 258 seconds]
ur5us has joined #ruby
Beams has quit [Quit: .]
randdomone has quit [Ping timeout: 260 seconds]
romeoh has quit [Read error: Connection reset by peer]
Burgestrand has joined #ruby
romeoh_ has joined #ruby
<dminuoso> morfin: How do you even write Ruby without templates?
<dminuoso> I mean..
insanedreamer has quit [Quit: insanedreamer]
Dimik has quit [Ping timeout: 260 seconds]
<morfin> what?
<morfin> i found only one place where some guy wrote patches for Ruby to build version 2.3.0 with recent OpenSSL 1.1 but that does not seem to be working :(
tvw has joined #ruby
romank has joined #ruby
nertzy has quit [Read error: Connection reset by peer]
mim1k has joined #ruby
romank_ has joined #ruby
nertzy has joined #ruby
romank has quit [Ping timeout: 246 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
User458764 has joined #ruby
alazred has quit [Ping timeout: 246 seconds]
bronson has joined #ruby
aufi has joined #ruby
romank_ has quit [Ping timeout: 245 seconds]
bronson has quit [Ping timeout: 246 seconds]
romank has joined #ruby
<morfin> dminuoso, you don't need templates when can reopen classes :)(
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<dminuoso> Template all the things.
<dminuoso> Ever since my feature requests to add a<b> to the syntax of Ruby has been rejected, I stopped writing Ruby code.
Beams has joined #ruby
alazred has joined #ruby
alazred has joined #ruby
alazred has quit [Changing host]
aupadhye has joined #ruby
lucz has joined #ruby
Giphy[m] has quit [Remote host closed the connection]
daveyboi[m] has quit [Remote host closed the connection]
Tagami[m] has quit [Remote host closed the connection]
jonjits[m] has quit [Remote host closed the connection]
intermo[m] has quit [Remote host closed the connection]
johnson[m] has quit [Remote host closed the connection]
dman[m] has quit [Read error: Connection reset by peer]
M107262[m] has quit [Remote host closed the connection]
thulsa_legume[m] has quit [Remote host closed the connection]
kp666[m] has quit [Remote host closed the connection]
testnick[m] has quit [Remote host closed the connection]
jakebriggs[m] has quit [Remote host closed the connection]
aviraldg has quit [Remote host closed the connection]
KevinMGranger has quit [Remote host closed the connection]
velu_aon[m] has quit [Read error: Connection reset by peer]
el_ocho[m] has quit [Read error: Connection reset by peer]
heftig has quit [Remote host closed the connection]
turt2live has quit [Remote host closed the connection]
voltai[m] has quit [Remote host closed the connection]
bascht1 has quit [Read error: Connection reset by peer]
lxsameer has joined #ruby
kegster has quit [Ping timeout: 240 seconds]
akkad has quit [Ping timeout: 240 seconds]
nikivi has quit [Ping timeout: 240 seconds]
jasondotstar has quit [Ping timeout: 240 seconds]
apeiros has quit [Ping timeout: 240 seconds]
brucebag has quit [Ping timeout: 240 seconds]
JoshL has quit [Ping timeout: 240 seconds]
Archrover has quit [Ping timeout: 240 seconds]
x0f_ has quit [Ping timeout: 240 seconds]
nicoulaj has quit [Ping timeout: 260 seconds]
gf3 has quit [Ping timeout: 260 seconds]
pragmatism has quit [Ping timeout: 240 seconds]
Scient has quit [Ping timeout: 240 seconds]
Papierkorb has quit [Ping timeout: 240 seconds]
lucz has quit [Ping timeout: 240 seconds]
A124 has quit [Ping timeout: 260 seconds]
modin has quit [Ping timeout: 260 seconds]
Morrolan has quit [Ping timeout: 260 seconds]
vqrs has quit [Ping timeout: 260 seconds]
romank has quit [Ping timeout: 240 seconds]
glcx has quit [Ping timeout: 240 seconds]
nicoulaj has joined #ruby
bascht has joined #ruby
brucebag has joined #ruby
brucebag has joined #ruby
brucebag has quit [Changing host]
apeiros has joined #ruby
nikivi has joined #ruby
kegster has joined #ruby
workmad3 has joined #ruby
Morrolan has joined #ruby
x0f has joined #ruby
A124 has joined #ruby
pragmatism has joined #ruby
Papierkorb has joined #ruby
romank has joined #ruby
Scient has joined #ruby
jasondotstar has joined #ruby
JoshL has joined #ruby
Archrover has joined #ruby
akkad has joined #ruby
rgr has joined #ruby
DoubleMalt has joined #ruby
vqrs has joined #ruby
im0nde has joined #ruby
modin has joined #ruby
sonOfRa has quit [Remote host closed the connection]
sonOfRa has joined #ruby
romank has quit [Ping timeout: 260 seconds]
romank has joined #ruby
nadir has quit [Quit: Connection closed for inactivity]
voltai[m] has joined #ruby
heftig has joined #ruby
Tagami[m] has joined #ruby
KevinMGranger has joined #ruby
johnson[m] has joined #ruby
M107262[m] has joined #ruby
daveyboi[m] has joined #ruby
Giphy[m] has joined #ruby
turt2live has joined #ruby
thulsa_legume[m] has joined #ruby
kp666[m] has joined #ruby
jakebriggs[m] has joined #ruby
intermo[m] has joined #ruby
jonjits[m] has joined #ruby
aviraldg has joined #ruby
dman[m] has joined #ruby
el_ocho[m] has joined #ruby
testnick[m] has joined #ruby
velu_aon[m] has joined #ruby
rgr has quit [Quit: rgr]
blackwind_123 has quit [Ping timeout: 260 seconds]
<dionysus69> can you help with one method I am trying to make use of but I can't already for an hour? its https://developers.google.com/sheets/api/reference/rest/v4/spreadsheets.values/batchUpdate cant understand what goes data = []
<dionysus69> documentation says one or more valueRanges, I added one valuerange and it just dies
<dionysus69> if I insert one value range it says failed to do each with index, that indicates it needs an array
<dionysus69> then i put value range in an array and error becomes "expected valuerange but didn't get"
User458764 has joined #ruby
<dionysus69> badRequest: Invalid data[0]: ValueRange.range is required but not specified
davic has joined #ruby
jusa has joined #ruby
marr has quit [Remote host closed the connection]
blackmes1 has quit [Ping timeout: 240 seconds]
jusa has quit [Ping timeout: 255 seconds]
blackmes1 has joined #ruby
fusta has joined #ruby
patarr has joined #ruby
romank has quit [Ping timeout: 240 seconds]
belmoussaoui_ has joined #ruby
pankaj_ has joined #ruby
<morfin> i guess if you need templates you can do C++ )
fusta has quit [Ping timeout: 258 seconds]
<morfin> but writing web apps with C++ could be such pain
auzty has quit [Remote host closed the connection]
blackmes1 has quit [Ping timeout: 258 seconds]
belmoussaoui has quit [Ping timeout: 240 seconds]
patarr has quit [Ping timeout: 258 seconds]
quobo has joined #ruby
govg has quit [Ping timeout: 246 seconds]
romank has joined #ruby
charliesome has joined #ruby
gusrub has joined #ruby
im0nde has quit [Ping timeout: 260 seconds]
gusrub has quit [Ping timeout: 255 seconds]
blackmes1 has joined #ruby
cfec0b8d has quit [Quit: Leaving]
nhhc has joined #ruby
Mortomes|Work has quit [Ping timeout: 260 seconds]
cfec0b8d has joined #ruby
Mortomes|Work has joined #ruby
jenrzzz has joined #ruby
nowhere_man has quit [Ping timeout: 260 seconds]
blackmes1 has quit [Ping timeout: 240 seconds]
<morfin> not sure how can i replace mail....somedomain....com..ua to mail.somedomain.com.ua with regexes hmm
<morfin> after @ :)
<ljarvis> morfin: can you be more specific?
<ljarvis> actually "mail....somedomain....com..ua" ?
ahrs has quit [Remote host closed the connection]
<ljarvis> or are those placeholders?
<morfin> test@mail....somedomain....com..ua => test@mail.somedomain.com.ua
<morfin> remove all multiple dots by single
<ljarvis> >> "test@mail....somedomain....com..ua".squeeze(".")
<ruby[bot]> ljarvis: # => "test@mail.somedomain.com.ua" (https://eval.in/803372)
<morfin> but assume there could be multiple dots before @
<morfin> can split and join
ahrs has joined #ruby
<ljarvis> yes
<herwin> makes me wonder what the actual problem is
<ljarvis> heh
<ljarvis> it's a weird case
<morfin> user is an idiot
<morfin> sometimes type myname@gmail..com
<ljarvis> you can't catch all user errors
<morfin> i know
<morfin> i try to catch as many as possible )
Lamentin12 has joined #ruby
<ljarvis> that's not a good idea imo but fair enough, you know how to achieve this now
nowhere_man has joined #ruby
Beams has quit [Quit: .]
<herwin> <input type="email"> would catch it as well
DeeJayh has joined #ruby
Beams has joined #ruby
statikowsky has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Bhootrk_ has quit [Quit: Leaving]
Bhootrk_ has joined #ruby
Bhootrk_ has quit [Max SendQ exceeded]
govg has joined #ruby
Bhootrk_ has joined #ruby
Bhootrk_ has quit [Max SendQ exceeded]
jenrzzz has quit [Ping timeout: 260 seconds]
cschneid_ has joined #ruby
cschneid_ has quit [Ping timeout: 246 seconds]
apparition has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jenrzzz has joined #ruby
antgel has quit [Ping timeout: 255 seconds]
Lamentin12 has quit [Ping timeout: 246 seconds]
nertzy has quit [Read error: Connection reset by peer]
ferr has joined #ruby
olspookishmagus has joined #ruby
nertzy has joined #ruby
DeeJayh has quit [Ping timeout: 260 seconds]
patarr has joined #ruby
User458764 has joined #ruby
bronson has joined #ruby
romank has quit [Ping timeout: 255 seconds]
patarr has quit [Ping timeout: 240 seconds]
rgr has joined #ruby
DeeJayh has joined #ruby
nertzy has quit [Read error: Connection reset by peer]
nertzy has joined #ruby
romank has joined #ruby
nickjj_ is now known as nickjj
bronson has quit [Ping timeout: 240 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
lucz has joined #ruby
ta_ has quit [Remote host closed the connection]
Fernando-Basso has joined #ruby
lucz has quit [Ping timeout: 255 seconds]
xall has joined #ruby
User458764 has joined #ruby
xall has quit [Quit: xall]
jenrzzz has quit [Ping timeout: 260 seconds]
jameser has quit [Ping timeout: 260 seconds]
govg has quit [Ping timeout: 246 seconds]
romank has quit [Ping timeout: 240 seconds]
romank has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Cesario_ has quit [Quit: Textual IRC Client: www.textualapp.com]
statikowsky has quit [Remote host closed the connection]
bheesham has joined #ruby
DeeJayh has quit [Ping timeout: 260 seconds]
User458764 has joined #ruby
raspado has quit [Remote host closed the connection]
antgel has joined #ruby
jusa has joined #ruby
bheesham has quit [Ping timeout: 260 seconds]
znz_jp has joined #ruby
cb has quit [Read error: Connection reset by peer]
jusa has quit [Ping timeout: 240 seconds]
govg has joined #ruby
oliv_____ has quit [Remote host closed the connection]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
cfec0b8d has quit [Remote host closed the connection]
cb has joined #ruby
fusta has joined #ruby
ledestin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
HoierM has joined #ruby
ur5us has quit [Remote host closed the connection]
HoierM_ has joined #ruby
ldnunes has joined #ruby
HoierM has quit [Ping timeout: 245 seconds]
ddffg has joined #ruby
mikecmpbll has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
bkxd has joined #ruby
lucz has joined #ruby
brent__ has joined #ruby
pandaant has quit [Remote host closed the connection]
belmoussaoui_ has quit [Quit: belmoussaoui_]
belmoussaoui has joined #ruby
lucz has quit [Ping timeout: 255 seconds]
brent__ has quit [Ping timeout: 246 seconds]
Mortomes|Work has quit [Ping timeout: 260 seconds]
antgel has quit [Ping timeout: 260 seconds]
pusewicz has joined #ruby
mim1k has quit [Read error: Connection reset by peer]
zzxc has quit [Ping timeout: 240 seconds]
jrafanie has joined #ruby
zzxc has joined #ruby
Lamentin12 has joined #ruby
statikowsky has joined #ruby
turt2live has quit [Read error: Connection reset by peer]
Giphy[m] has quit [Remote host closed the connection]
voltai[m] has quit [Remote host closed the connection]
heftig has quit [Remote host closed the connection]
velu_aon[m] has quit [Read error: Connection reset by peer]
johnson[m] has quit [Read error: Connection reset by peer]
Tagami[m] has quit [Remote host closed the connection]
aviraldg has quit [Remote host closed the connection]
jakebriggs[m] has quit [Read error: Connection reset by peer]
daveyboi[m] has quit [Remote host closed the connection]
intermo[m] has quit [Write error: Connection reset by peer]
KevinMGranger has quit [Remote host closed the connection]
dman[m] has quit [Remote host closed the connection]
kp666[m] has quit [Read error: Connection reset by peer]
thulsa_legume[m] has quit [Read error: Connection reset by peer]
bascht has quit [Read error: Connection reset by peer]
testnick[m] has quit [Read error: Connection reset by peer]
jonjits[m] has quit [Remote host closed the connection]
M107262[m] has quit [Read error: Connection reset by peer]
el_ocho[m] has quit [Remote host closed the connection]
Lamentin12 has quit [Max SendQ exceeded]
im0nde has joined #ruby
fxa90id has quit [Ping timeout: 255 seconds]
Lamentin12 has joined #ruby
Lamentin12 has quit [Remote host closed the connection]
ddffg has quit [Ping timeout: 258 seconds]
KeyJoo has quit [Ping timeout: 246 seconds]
cschneid_ has joined #ruby
arvindsaik has quit [Ping timeout: 240 seconds]
tekk has quit [Ping timeout: 240 seconds]
DarkBushido has quit [Ping timeout: 260 seconds]
Dreamer3 has quit [Ping timeout: 260 seconds]
hfp has quit [Ping timeout: 260 seconds]
arthurnn has quit [Ping timeout: 260 seconds]
mgorbach has quit [Ping timeout: 260 seconds]
redondos has quit [Ping timeout: 260 seconds]
belmoussaoui has quit [Ping timeout: 255 seconds]
ta_ has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pragmatism has quit [Ping timeout: 260 seconds]
oz has quit [Ping timeout: 260 seconds]
fxa90id has joined #ruby
fxa90id has joined #ruby
fxa90id has quit [Changing host]
Archrover has quit [Ping timeout: 260 seconds]
sinduck has quit [Ping timeout: 240 seconds]
belmoussaoui has joined #ruby
tekk has joined #ruby
arvindsaik has joined #ruby
oz has joined #ruby
DarkBushido has joined #ruby
DarkBushido has joined #ruby
DarkBushido has quit [Changing host]
arthurnn has joined #ruby
sinduck has joined #ruby
mgorbach has joined #ruby
pragmatism has joined #ruby
hfp has joined #ruby
nanoz has joined #ruby
Dreamer3 has joined #ruby
bascht has joined #ruby
Archrover has joined #ruby
charliesome has joined #ruby
jeffreylevesque has quit [Ping timeout: 268 seconds]
cschneid_ has quit [Ping timeout: 272 seconds]
antgel has joined #ruby
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jrafanie has joined #ruby
<dionysus69> why cant I require module by name?
<tobiasvl> dionysus69: what do you mean?
<dionysus69> I cant even require it by filename
<dionysus69> files are in same dir (home)
<dionysus69> require "helpers.rb"
cschneid_ has joined #ruby
<SpComb> require './helpers' or require_relative 'helpers'
<SpComb> require normally looks in the $LOAD_PATH
statikowsky has quit [Remote host closed the connection]
bkxd has quit [Ping timeout: 246 seconds]
<dionysus69> ok now file is required
<dionysus69> but i still get undefined method
<dionysus69> I just included a method within a module which i imported
<dionysus69> it should be accessible by the main file shouldn't it?
<tobiasvl> how are ypu calling it?
cschneid_ has quit [Ping timeout: 255 seconds]
<dionysus69> just like before
<dionysus69> do I need to give it module name before the call?
<dionysus69> I guess
volty has joined #ruby
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ledestin has joined #ruby
KevinMGranger has joined #ruby
voltai[m] has joined #ruby
Giphy[m] has joined #ruby
heftig has joined #ruby
M107262[m] has joined #ruby
Tagami[m] has joined #ruby
jonjits[m] has joined #ruby
daveyboi[m] has joined #ruby
turt2live has joined #ruby
jakebriggs[m] has joined #ruby
johnson[m] has joined #ruby
aviraldg has joined #ruby
thulsa_legume[m] has joined #ruby
intermo[m] has joined #ruby
kp666[m] has joined #ruby
dman[m] has joined #ruby
el_ocho[m] has joined #ruby
velu_aon[m] has joined #ruby
testnick[m] has joined #ruby
BSAlb has quit [Quit: Leaving]
BSaboia has joined #ruby
<dionysus69> I had to add self to all module methods
<dionysus69> and modulename in front of the call
<dionysus69> if there's a better way let me know please :)
bronson has joined #ruby
aurelien has joined #ruby
benjen has quit [Ping timeout: 260 seconds]
jeffreylevesque has joined #ruby
ledestin has quit [Ping timeout: 255 seconds]
bkxd has joined #ruby
bronson has quit [Ping timeout: 255 seconds]
t-recx has joined #ruby
oliv_____ has joined #ruby
jameser has joined #ruby
cb has quit [Ping timeout: 255 seconds]
mniip has left #ruby ["This page is intentionally left blank"]
cb has joined #ruby
blackmes1 has joined #ruby
cek has joined #ruby
mim1k has joined #ruby
Burgestr_ has joined #ruby
pupsicle has joined #ruby
jrafanie has joined #ruby
Burgestrand has quit [Ping timeout: 240 seconds]
oliv_____ has quit [Remote host closed the connection]
oliv_____ has joined #ruby
<cek> help me with enums, please. I'm being stupid today. Want to implement an enum for a looper that returns bulk objects: each=->{ get_bulk(count){|array| yield(array) } } . so for meh.take(1) it returns array and not array.take(1).
stoffus has quit [Quit: leaving]
User458764 has joined #ruby
User458764 has quit [Max SendQ exceeded]
MarkBilk has joined #ruby
<cek> i'm in control of get_bulk, but not in control of its underlying method. that method is returning array objects, in varying count
User458764 has joined #ruby
lucz has joined #ruby
<cek> Just don't tell me I'll have to implement my owne enumerable class
francuz has joined #ruby
MarkBilk_ has quit [Ping timeout: 258 seconds]
oliv_____ has quit [Ping timeout: 258 seconds]
bheesham has joined #ruby
lucz has quit [Ping timeout: 240 seconds]
oli______ has joined #ruby
vondruch has left #ruby [#ruby]
yeticry_ has joined #ruby
ramortegui has joined #ruby
mim1k has quit [Ping timeout: 272 seconds]
yeticry has quit [Read error: Connection reset by peer]
statikowsky has joined #ruby
vondruch has joined #ruby
<cek> to illustrate, https://repl.it/IMzr
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jameser has joined #ruby
govg has quit [Ping timeout: 272 seconds]
<cek> https://repl.it/IMzr/1 , rather
P4f73k has quit [Quit: Leaving]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jameser has joined #ruby
mim1k has joined #ruby
govg has joined #ruby
fusta has quit [Ping timeout: 240 seconds]
jameser has quit [Client Quit]
belmoussaoui_ has joined #ruby
belmoussaoui has quit [Ping timeout: 246 seconds]
bkxd has quit [Ping timeout: 258 seconds]
jameser has joined #ruby
DeeJayh has joined #ruby
haylon has joined #ruby
omphe has joined #ruby
bkxd has joined #ruby
gizmore|2 is now known as gizmore
omphe has quit [Client Quit]
jusa has joined #ruby
_2easy_ has quit [Remote host closed the connection]
pankaj_ has quit [Ping timeout: 272 seconds]
jusa has quit [Ping timeout: 260 seconds]
cdg has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blackmes1 has quit [Ping timeout: 246 seconds]
DLSteve has joined #ruby
blackmes1 has joined #ruby
mustmodify___ has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<mustmodify___> It's about time for me to get a new machine. Obviously I want an SSD and a ton of RAM. But are there any specific features in terms of hardware architecture that specifically speed up developer work? I can't think of anything else.
govg has quit [Ping timeout: 240 seconds]
<ineb> 3 screens and a gpu which can do that
nadir has joined #ruby
<pwillard> Ditto
KeyJoo has joined #ruby
jameser has joined #ruby
RedNifre has joined #ruby
oleo has joined #ruby
<RedNifre> Hey there. If I have a list of objects that have a name and an ID, what's the most elegant way to get the ID if I only have a name?
ryzokuken has joined #ruby
dviola has joined #ruby
<mustmodify___> I have 3 screens. :)
<mustmodify___> Touch screens are awesome, btw.
<mustmodify___> I didn't do the best job of choosing a graphics card last time. That's one thing that I definitely will focus on next time.
AlexRussia has quit [Ping timeout: 240 seconds]
alibby1 has joined #ruby
robnester has joined #ruby
jrgifford has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
railswebdev has joined #ruby
jphase has joined #ruby
davic has quit [Quit: Connection closed for inactivity]
bkxd has quit [Ping timeout: 240 seconds]
griffindy has joined #ruby
bkxd has joined #ruby
ur5us has joined #ruby
__Yiota has joined #ruby
gf3 has joined #ruby
ur5us has quit [Ping timeout: 240 seconds]
davic has joined #ruby
govg has joined #ruby
Burgestr_ has quit [Ping timeout: 240 seconds]
dionysus69 has quit [Ping timeout: 240 seconds]
blackmes1 has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 240 seconds]
shinnya has joined #ruby
volty has quit [Ping timeout: 245 seconds]
blackmes1 has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
jrafanie has joined #ruby
ResidentBiscuit has joined #ruby
ResidentBiscuit has quit [Max SendQ exceeded]
bronson has joined #ruby
ResidentBiscuit has joined #ruby
ResidentBiscuit has quit [Max SendQ exceeded]
nanoz] has joined #ruby
ResidentBiscuit has joined #ruby
ResidentBiscuit has quit [Max SendQ exceeded]
AlexRussia has joined #ruby
ResidentBiscuit has joined #ruby
ResidentBiscuit has quit [Max SendQ exceeded]
ResidentBiscuit has joined #ruby
ResidentBiscuit has quit [Max SendQ exceeded]
ResidentBiscuit has joined #ruby
robnester has quit [Quit: I wonder what this button does...?]
nanoz has quit [Ping timeout: 246 seconds]
gusrub has joined #ruby
ineb has quit [Ping timeout: 246 seconds]
mdw has joined #ruby
chouhoulis has joined #ruby
chouhoul_ has joined #ruby
robneste- has joined #ruby
mikecmpb_ has joined #ruby
dviola has quit [Quit: WeeChat 1.8]
mim1k has joined #ruby
gusrub has quit [Ping timeout: 255 seconds]
mikecmpbll has quit [Ping timeout: 258 seconds]
gothicsouth has joined #ruby
duderonomy has joined #ruby
gchristensen has joined #ruby
chouhoulis has quit [Ping timeout: 272 seconds]
<gchristensen> hi, I'd like to force writes to stdout go also to stderr from within a script. is this possible, or must I do it from outside?
jphase has quit [Ping timeout: 255 seconds]
tgragnato has joined #ruby
cschneid_ has joined #ruby
konsolebox has joined #ruby
<ljarvis> gchristensen: you want to write to *both*?
mustmodify___ has left #ruby [#ruby]
<ljarvis> RedNifre: are the names unique?
<gchristensen> sorry, rereading my question it is a word salad. I want all writes to stdout to be written to the same file descriptor as stderr instead
jphase has joined #ruby
oborot_ has joined #ruby
kassav__ has joined #ruby
cschneid_ has quit [Ping timeout: 246 seconds]
<ljarvis> gchristensen: you can change $stdout
bheesham has quit [Ping timeout: 268 seconds]
<gchristensen> like `$stdout = $stderr` ? will that also update STDOUT?
<ljarvis> try it
<ljarvis> the idea is that you should be able to reset $stdout to STDOUT (i.e. it does not change)
<ljarvis> it is.. *sunglasses* constant
kassav_ has quit [Ping timeout: 260 seconds]
tlaxkit has joined #ruby
tvw has quit [Remote host closed the connection]
<gchristensen> yeah I was worried about that
<ljarvis> if it doubt, give it a shot
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
bheesham has joined #ruby
patarr has joined #ruby
<gchristensen> we use STDOUT and overrwrite $stdout to STDOUT all over the place
<gchristensen> my issue is some debug logging is not synchronized with a deadlock we're receiving from ruby, which is making it difficult to understand the flow. $stdout.sync isn't helping either, because of other buffering going on
cfec0b8d has joined #ruby
nahra has quit [Remote host closed the connection]
rippa has joined #ruby
chouhoul_ has quit [Remote host closed the connection]
belmoussaoui_ has quit [Read error: Connection reset by peer]
tlaxkit has quit [Ping timeout: 260 seconds]
belmoussaoui_ has joined #ruby
robnester has joined #ruby
patarr_ has joined #ruby
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jrafanie has joined #ruby
patarr has quit [Ping timeout: 240 seconds]
jgnagy has quit [Remote host closed the connection]
AlexRussia_ has joined #ruby
dionysus69 has joined #ruby
jgnagy has joined #ruby
eputnam has joined #ruby
AlexRussia has quit [Ping timeout: 258 seconds]
theunraveler has joined #ruby
romank has quit [Ping timeout: 268 seconds]
fusta has joined #ruby
romank has joined #ruby
mikecmpb_ has quit [Quit: inabit. zz.]
Burgestrand has joined #ruby
mikecmpbll has joined #ruby
conta has quit [Ping timeout: 246 seconds]
yeticry_ has quit [Ping timeout: 240 seconds]
yeticry has joined #ruby
statikowsky has quit [Remote host closed the connection]
robneste- has quit [Quit: I wonder what this button does...?]
romank has quit [Ping timeout: 255 seconds]
jackrandom has joined #ruby
gothicsouth has joined #ruby
Tomthetom has quit [Quit: Leaving]
jusa has joined #ruby
romank has joined #ruby
cschneid_ has joined #ruby
uZiel has quit [Ping timeout: 246 seconds]
cbyrda has joined #ruby
blackmes1 has quit [Ping timeout: 258 seconds]
jusa has quit [Ping timeout: 272 seconds]
mach_kernel has joined #ruby
ascarter has joined #ruby
<mach_kernel> hi! :)
robneste- has joined #ruby
gma has joined #ruby
<mach_kernel> wanted to get some feedback on a library i made
<mach_kernel> it's a wrapper on top of cancan abilities
skweek has quit [Ping timeout: 268 seconds]
<mach_kernel> on new projects most people would likely elect to use pundit, but i've found it helpful to use this kind of pattern when refactoring existing code (e.g. that already uses cancan)
gf3 has quit [Remote host closed the connection]
uZiel has joined #ruby
oborot_ has quit [Quit: Lost terminal]
blackmes1 has joined #ruby
nobitanobi has quit [Remote host closed the connection]
bambanx has joined #ruby
tlaxkit has joined #ruby
gma is now known as gma_
belmoussaoui_ has quit [Read error: Connection reset by peer]
ozzy3 has joined #ruby
<ozzy3> hey peoples
d10n-work has joined #ruby
<ozzy3> can u say some commands for nick
<mach_kernel> ???
<ozzy3> nickname
ldnunes has quit [Remote host closed the connection]
mim1k has quit [Read error: Connection reset by peer]
brent__ has joined #ruby
gma_ is now known as gma
ldnunes has joined #ruby
mikecmpbll has quit [Remote host closed the connection]
mikecmpbll has joined #ruby
uZiel has quit [Ping timeout: 246 seconds]
mikecmpbll has quit [Remote host closed the connection]
AlexRussia_ has quit [Ping timeout: 255 seconds]
mikecmpbll has joined #ruby
ozzy3 has left #ruby [#ruby]
mtkd has quit [Ping timeout: 260 seconds]
mtkd has joined #ruby
<ikopico> some commands for nick
FastJack_ has joined #ruby
FastJack has quit [Read error: Connection reset by peer]
theunraveler has quit [Remote host closed the connection]
theunraveler has joined #ruby
chouhoulis has joined #ruby
lewix has joined #ruby
<lewix> hey people, it's been ages I haven't touched ruby
uZiel has joined #ruby
aep has quit [Remote host closed the connection]
<lewix> surviving?
<dionysus69> def method(param1, **params)
<dionysus69> is this header legit ? in docs I see only one * for "rest" arguments
mim1k has joined #ruby
<lewix> dionysus69: I think one is legit, the splat operator
chouhoulis has quit [Remote host closed the connection]
chouhoulis has joined #ruby
<dionysus69> lewix: ok ye just checked and two stars gives syntax error
gusrub has joined #ruby
<dionysus69> google docs has a bug then https://developers.google.com/youtube/v3/quickstart/ruby
<lewix> what's the difference between class Color; def Color.each; end and class Color; def each; end. From memory, the forme is a instance methods that we can use after including enumerable and the later is a class methods;
<lewix> the question is why would we use the later?
lucz has joined #ruby
gusrub has quit [Client Quit]
raspado has joined #ruby
sepp2k has joined #ruby
<lewix> def Color.each; @hash.each {|k,v| yield(k,v)};end => can you explain this, memory doesn't help much
* lewix is getting old
ltem has joined #ruby
<lewix> never mind I just understood it as I was writing
marxarelli|afk has quit [Quit: Textual IRC Client: www.textualapp.com]
aufi has quit [Quit: Leaving]
<lewix> I'll be back, gotta reboot
lewix has quit [Quit: WeeChat 1.5]
marxarelli has joined #ruby
lewis has joined #ruby
<lewis> back
lucz has quit [Ping timeout: 246 seconds]
cfec0b8d has quit [Remote host closed the connection]
Beams has quit [Quit: .]
mark_66 has left #ruby ["PART #elixir-lang :PART #crystal-lang :QUIT :Leaving."]
ddffg has joined #ruby
hahuang65 has quit [Ping timeout: 240 seconds]
yqt has joined #ruby
ineb has joined #ruby
nowhere_man has quit [Ping timeout: 246 seconds]
uZiel has quit [Ping timeout: 240 seconds]
shinnya has quit [Ping timeout: 258 seconds]
<baweaver> lewis: how much of it do you understand?
kassav__ has quit [Ping timeout: 246 seconds]
gheegh has joined #ruby
nanoz] has quit [Read error: Connection reset by peer]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hobodave has joined #ruby
MrBusiness has joined #ruby
andikr has quit [Remote host closed the connection]
<baweaver> Essentially you're defining each for Color in a way that yields the key and value of @hash to whatever block is passed to it
ineb has quit [Client Quit]
nitric has joined #ruby
<baweaver> So: color.each { |k,v| puts "Got a #{k} and a #{v} from @hash!" }
<baweaver> for a very lose definition of it
<baweaver> lewis: that make sense?
govg has quit [Remote host closed the connection]
govg has joined #ruby
aupadhye has quit [Ping timeout: 268 seconds]
haylon has quit [Remote host closed the connection]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
haylon has joined #ruby
ddffg has quit [Ping timeout: 255 seconds]
[Butch] has joined #ruby
jrafanie has joined #ruby
ascarter has joined #ruby
Burgestrand has quit [Quit: Closing time!]
haylon has quit [Ping timeout: 260 seconds]
negatifze has joined #ruby
lagweezl1_away is now known as lagweezle
anisha has quit [Quit: This computer has gone to sleep]
blackmes1 has quit [Ping timeout: 258 seconds]
ineb has joined #ruby
cam27 has joined #ruby
Derperperd has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
nobitanobi has joined #ruby
kassav_ has joined #ruby
Derperperd has quit [Client Quit]
psychicist__ has joined #ruby
bkxd has joined #ruby
gchristensen has left #ruby ["WeeChat 0.4.2"]
kassav_ has quit [Client Quit]
mim1k has quit [Read error: Connection reset by peer]
psychicist__ has quit [Client Quit]
psychicist__ has joined #ruby
ddffg has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
im0nde has quit [Ping timeout: 246 seconds]
ferr has quit [Quit: WeeChat 1.7]
_joes__ has quit [Quit: Connection closed for inactivity]
rgr_ has joined #ruby
Derperperd has joined #ruby
rgr has quit [Ping timeout: 255 seconds]
bkxd has quit [Ping timeout: 260 seconds]
jackrandom has quit [Remote host closed the connection]
mdw has quit [Quit: Sleeping Zzzzz]
AlexRussia_ has joined #ruby
bronson has quit [Remote host closed the connection]
duderonomy has quit [Ping timeout: 255 seconds]
jackrandom has joined #ruby
muelleme has joined #ruby
nhhc has quit [Quit: Leaving]
bigkevmcd has quit [Quit: Outta here...]
lxsameer has quit [Quit: WeeChat 1.7]
Cohedrin has joined #ruby
nobitano_ has joined #ruby
ta_ has quit [Ping timeout: 240 seconds]
fusta has quit [Ping timeout: 260 seconds]
fusta has joined #ruby
nobitanobi has quit [Ping timeout: 240 seconds]
nowhere_man has joined #ruby
<dionysus69> how do I pass args to trollop
<dionysus69> documentation is so screwed up............
haylon has joined #ruby
W4x has joined #ruby
<W4x> Hi all o/
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
patarr_ has quit [Ping timeout: 240 seconds]
renchan has quit [Quit: Leaving...]
DoubleMalt has quit [Ping timeout: 240 seconds]
hahuang65 has joined #ruby
rkazak has joined #ruby
<havenwood> W4x: hi!
<W4x> hi havenwood :)
<havenwood> dionysus69: try Slop
skweek has joined #ruby
haylon has quit []
<havenwood> dionysus69: https://github.com/leejarvis/slop
<havenwood> Or good ole OptionParser
haylon has joined #ruby
<W4x> apologies to jump straight in with a question , but wondering if someone could help me or tell me if this is possible
<W4x> im a total noob to Ruby , but tried to get as much reading and research under my best as i can , i essentially want to take output from a program called multimon-ng and pipe it into a sinatra / rails application. does anyone know if this is possible or where to start as my google searches have turned up 0 results
ta_ has joined #ruby
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jusa has joined #ruby
ascarter has joined #ruby
patarr has joined #ruby
BSAlb has joined #ruby
BSaboia has quit [Ping timeout: 245 seconds]
nahra has joined #ruby
ineb has quit [Remote host closed the connection]
jusa has quit [Ping timeout: 260 seconds]
ineb has joined #ruby
<baweaver> system calls probably
boringcpg has quit [Ping timeout: 268 seconds]
<baweaver> Is that an aircrack derivative or something?
robneste- has quit [Quit: I wonder what this button does...?]
<baweaver> You'd just have Ruby make calls to it and pretty up the output
<W4x> i believe its a fork of the original multimon program , but it is used for decoding various types of radio data, i.e pagers and things. usually used in conjunction with a software defined radio.
alibby has joined #ruby
<baweaver> ah, ng suffix was familiar
alibby1 has quit [Ping timeout: 246 seconds]
<baweaver> anyways, system call out to it and just grab the output of it
<W4x> many thanks , much appreciated. I was just looking to start a slightly more advanced project than i had been doing so far , but short of the idea i didnt have a start point. :) Thanks again
tlaxkit has quit [Quit: tlaxkit]
ltem has quit [Quit: Leaving]
nobitano_ has quit [Remote host closed the connection]
t-recx has quit [Quit: t-recx]
t-recx has joined #ruby
arvindsaik has quit [Ping timeout: 240 seconds]
nobitanobi has joined #ruby
boringcpg has joined #ruby
mtkd has quit [Ping timeout: 240 seconds]
robouk has quit [Quit: Konversation terminated!]
lupine has quit [Remote host closed the connection]
bodgix has quit [Ping timeout: 255 seconds]
cbarratt has quit [Ping timeout: 272 seconds]
fusta has quit [Ping timeout: 272 seconds]
jinie has quit [Ping timeout: 272 seconds]
bayed has quit [Ping timeout: 240 seconds]
unreal has quit [Ping timeout: 255 seconds]
bodgix has joined #ruby
BSaboia has joined #ruby
scrooloose has quit [Ping timeout: 255 seconds]
lupine has joined #ruby
mtkd has joined #ruby
unreal has joined #ruby
jinie has joined #ruby
bayed has joined #ruby
nobitanobi has quit [Ping timeout: 255 seconds]
BSAlb has quit [Ping timeout: 260 seconds]
scrooloose has joined #ruby
erlend has quit [Remote host closed the connection]
cbarratt has joined #ruby
arvindsaik has joined #ruby
nadir is now known as EvilInvasion
EvilInvasion is now known as nadir
patarr has quit [Ping timeout: 246 seconds]
bambanx has quit [Ping timeout: 240 seconds]
erlend has joined #ruby
patarr has joined #ruby
boringcpg has quit [Quit: leaving]
eightlimbed has joined #ruby
oli______ has quit [Remote host closed the connection]
andrzejk_ has joined #ruby
gothicsouth has joined #ruby
polishdu1 has joined #ruby
jrgifford has quit [Quit: Textual IRC Client: www.textualapp.com]
gf3 has joined #ruby
pusewicz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
pusewicz has joined #ruby
ferr has joined #ruby
Cohedrin has quit [Read error: Connection reset by peer]
Cohedrin has joined #ruby
blackwind_123 has joined #ruby
lucz has joined #ruby
gil_ has quit [Read error: Connection reset by peer]
dnewkerk has joined #ruby
antgel has quit [Ping timeout: 240 seconds]
gil_ has joined #ruby
gil_ has joined #ruby
gil_ has quit [Changing host]
lucz has quit [Ping timeout: 240 seconds]
Bock has quit [Read error: Connection reset by peer]
<eightlimbed> is there a method like .rotate that takes an element in an array as the argument, instead of an integer?
BSAlb has joined #ruby
<eightlimbed> for example ... a = ['a','b','c'].rotate('c') => ['c','a','b']
BSAlb has quit [Max SendQ exceeded]
BSaboia has quit [Ping timeout: 240 seconds]
BSAlb has joined #ruby
<havenwood> >> array = ['a','b','c']; array.rotate(array.index 'c') # eightlimbed
<ruby[bot]> havenwood: # => ["c", "a", "b"] (https://eval.in/803747)
<havenwood> eightlimbed: (Nope.)
<eightlimbed> that'll do. thank you! # havenwood
romank has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gnufied has quit [Ping timeout: 260 seconds]
mikecmpbll has joined #ruby
workmad3 has quit [Ping timeout: 255 seconds]
davidmichaelkarr has quit [Quit: Connection closed for inactivity]
fusta has joined #ruby
jud^ has joined #ruby
muelleme has quit [Ping timeout: 268 seconds]
jud has quit [Ping timeout: 246 seconds]
oliv_____ has joined #ruby
mikecmpbll has quit [Quit: inabit. zz.]
BSAlb has quit [Quit: Leaving]
BSaboia has joined #ruby
mikecmpbll has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cdg has quit [Remote host closed the connection]
gnufied has joined #ruby
al2o3-cr has joined #ruby
raatiniemi has quit [Remote host closed the connection]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bernd27 has joined #ruby
ascarter has joined #ruby
lxsameer has joined #ruby
jackrandom has quit [Ping timeout: 240 seconds]
__Yiota has joined #ruby
preyalone has joined #ruby
muelleme has joined #ruby
<dionysus69> does mp4 fall into this requirement?
<dionysus69> Accepted Media MIME types: video/*, application/octet-stream
duderonomy has joined #ruby
<havenwood> dionysus69: video/mp4
bernd9000 has joined #ruby
Renich has joined #ruby
<dionysus69> meaning?
<dionysus69> i am trying to upload mp4 with youtube api
<dionysus69> i get an error: badContent: Media type 'application/mp4' is not supported. Valid media types: [video/*, application/octet-stream]
<havenwood> dionysus69: That's mp4's mime type: video/mp4
<dionysus69> so how do I specify it?
<dionysus69> this is the guide I am following
<havenwood> dionysus69: However you specify what mime type you're accepting with whatever tool you're using.
bernd27 has quit [Ping timeout: 246 seconds]
marr has joined #ruby
<dionysus69> doesn't have place for specifying mimetype, even though it has a field for it in a built in form
bronson has joined #ruby
<havenwood> dionysus69: are you using the yt gem?
postmodern has joined #ruby
<dionysus69> no I dont know whats that
<dionysus69> I am just using that guide
<dionysus69> it doesnt ask for any kind of gem
<dionysus69> just pushes file like you would upload with paperclip
minimalism has joined #ruby
bronson has quit [Ping timeout: 246 seconds]
andrzejk_ has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
blackmes1 has joined #ruby
<dionysus69> havenwood: i just successfully uploaded flv file
<dionysus69> I dont understand the essence of the error at all, it says application/mp4 is not supported but I dont understand where it comes up with that, i didnt assign such info anywhere
zapata has quit [Quit: WeeChat 1.8]
romeoh_ has quit [Remote host closed the connection]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
romeoh has joined #ruby
romeoh has quit [Remote host closed the connection]
romeoh has joined #ruby
Cohedrin has quit [Read error: Connection reset by peer]
Cohedrin has joined #ruby
skweek has quit [Ping timeout: 240 seconds]
romeoh has quit [Read error: Connection reset by peer]
konsolebox has quit [Quit: Leaving]
romeoh has joined #ruby
romeoh_ has joined #ruby
vuoto has joined #ruby
lewis has quit [Ping timeout: 240 seconds]
volty has joined #ruby
cbyrda has quit [Ping timeout: 260 seconds]
cbyrda has joined #ruby
lucz has joined #ruby
romeoh has quit [Ping timeout: 240 seconds]
vuoto has quit [Quit: Lost terminal]
mim1k has joined #ruby
vuoto has joined #ruby
lucz has quit [Ping timeout: 240 seconds]
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
lagweezle is now known as lagweezle_away
gothicsouth has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
mdw has joined #ruby
Renich_ has joined #ruby
vuoto has quit [Quit: Lost terminal]
vuoto has joined #ruby
Renich has quit [Ping timeout: 240 seconds]
vuoto has quit [Client Quit]
<dionysus69> lol it appeared that i just needed to add a content_type param at the end. docs weren't complete
jusa has joined #ruby
skweek has joined #ruby
<baweaver> dionysus69: then patch the docs
<baweaver> it'll help the next person to find that one
jusa has quit [Ping timeout: 255 seconds]
<dionysus69> baweaver: youtube banned me for uploading my favorite song... why would i
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
bernd9000 has quit [Ping timeout: 240 seconds]
* baweaver sighs
<baweaver> because updating the docs is the right thing to do when you find missing information.
<baweaver> the ToS for Youtube lets you know about upload rules, that's not really their problem, it's the labels problem
<ljarvis> dionysus69: please try to keep your messages together and avoid hitting return for every sentence, it's much easier for people to help you and much less frustrating for people who are helping others
bkxd has joined #ruby
ryzokuken has quit [Quit: Connection closed for inactivity]
spheric has joined #ruby
DroidBurgundy has joined #ruby
dviola has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
jusa has joined #ruby
cfec0b8d has joined #ruby
alazred has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 260 seconds]
ascarter has joined #ruby
Doow has quit [Quit: Leaving]
gothicsouth has joined #ruby
jackrandom has joined #ruby
ur5us has joined #ruby
pusewicz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
raspado has quit [Quit: Leaving...]
jackjackdripper has joined #ruby
bronson has joined #ruby
jenrzzz has joined #ruby
ur5us has quit [Ping timeout: 272 seconds]
brent__ has quit [Remote host closed the connection]
brent__ has joined #ruby
jud^ is now known as jud
jud has quit [Changing host]
jud has joined #ruby
zapata has joined #ruby
vuoto has joined #ruby
andrzejk_ has joined #ruby
bronson has quit [Ping timeout: 272 seconds]
vuoto has quit [Client Quit]
vuoto has joined #ruby
vuoto has quit [Client Quit]
zachk has joined #ruby
jenrzzz has quit [Ping timeout: 255 seconds]
brent__ has quit [Ping timeout: 260 seconds]
vuoto has joined #ruby
NingaLeaf has quit [Quit: Leaving]
vuoto has quit [Client Quit]
MarkBilk_ has joined #ruby
vuoto has joined #ruby
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
spheric has quit [Remote host closed the connection]
HoierM_ has quit [Ping timeout: 246 seconds]
griffindy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dlitvak has quit [Quit: Connection closed for inactivity]
oliv_____ has quit [Remote host closed the connection]
MarkBilk has quit [Ping timeout: 246 seconds]
gothicsouth has joined #ruby
cdg has joined #ruby
dn` has quit [Remote host closed the connection]
dn` has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
jackjackdripper has joined #ruby
MarkBilk has joined #ruby
vuoto has quit [Remote host closed the connection]
t-recx has quit [Quit: t-recx]
<cam27> I’m right at the heart of OOP and I am close to getting it, but not quite. So I started making a class called Enemy and I want to take away health when an enemy instance is hit.
MarkBilk_ has quit [Ping timeout: 258 seconds]
<cam27> Hit enter by mistake. What link are we using to post code snippets?
<cam27> gist ok
andrzejk_ has quit [Quit: Textual IRC Client: www.textualapp.com]
hobodave has quit [Quit: Computer has gone to sleep.]
ecuanaso has joined #ruby
Renich_ has quit [Quit: Renich_]
jusa has quit [Ping timeout: 272 seconds]
skweek has quit [Ping timeout: 240 seconds]
gothicsouth has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
Cohedrin has quit [Read error: Connection reset by peer]
gothicsouth has joined #ruby
<cam27> Went to paste my code and now I’m changing it, so might not paste it for a little while.
gnufied has quit [Ping timeout: 246 seconds]
bernd27 has joined #ruby
DoubleMalt has joined #ruby
marxarelli is now known as marxarelli|afk
Cohedrin has joined #ruby
oliv_____ has joined #ruby
jackrandom has quit [Ping timeout: 268 seconds]
spheric has joined #ruby
oliv_____ has quit [Remote host closed the connection]
BSaboia has quit [Ping timeout: 260 seconds]
fusta has quit [Remote host closed the connection]
hobodave has joined #ruby
brent__ has joined #ruby
jenrzzz has joined #ruby
olivi____ has joined #ruby
olivi____ has quit [Remote host closed the connection]
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ecuanaso has joined #ruby
milardovich has joined #ruby
gnufied has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
Cohedrin has quit [Read error: Connection reset by peer]
unreal has quit [Ping timeout: 245 seconds]
<havenwood> cam27: Pasting a link to a Gist is perfect.
cdg has quit [Ping timeout: 246 seconds]
Cohedrin has joined #ruby
mim1k has joined #ruby
muelleme has quit [Ping timeout: 246 seconds]
dionysus69 has quit [Ping timeout: 240 seconds]
zenguy_pc has quit [Quit: see ya!]
psychicist__ has quit [Quit: Lost terminal]
jeffreylevesque has quit [Ping timeout: 255 seconds]
mim1k has quit [Ping timeout: 246 seconds]
zenguy_pc has joined #ruby
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bheesham has quit [Ping timeout: 260 seconds]
cdg has joined #ruby
dionysus69 has joined #ruby
mikecmpb_ has joined #ruby
zenguy_pc has quit [Ping timeout: 240 seconds]
mikecmpbll has quit [Ping timeout: 260 seconds]
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
milardovich has quit [Remote host closed the connection]
zenguy_pc has joined #ruby
blackmesa has joined #ruby
ascarter has joined #ruby
blackmes1 has quit [Ping timeout: 246 seconds]
hahuang65 has quit [Ping timeout: 260 seconds]
ecuanaso has joined #ruby
eyc has joined #ruby
eyc has quit [Client Quit]
milardovich has joined #ruby
zacts has quit [Ping timeout: 240 seconds]
griffindy has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
ur5us has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
roshanavand has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
Dimik has joined #ruby
preyalone has quit [Quit: Connection closed for inactivity]
quobo has quit []
zachk has quit [Quit: Leaving]
ur5us has quit [Ping timeout: 240 seconds]
Sembei has joined #ruby
zepy_aq has quit [Remote host closed the connection]
Puppet___ has quit [Remote host closed the connection]
zepy_aq_ has joined #ruby
ur5us has joined #ruby
biberu has quit []
Puppet___ has joined #ruby
BSaboia has joined #ruby
ur5us has quit [Client Quit]
DeeJayh_ has joined #ruby
DeeJayh has quit [Ping timeout: 240 seconds]
roshanavand has quit [Ping timeout: 240 seconds]
haylon has quit [Remote host closed the connection]
pusewicz has joined #ruby
ineb has quit [Ping timeout: 240 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
bronson has joined #ruby
DoubleMalt has quit [Ping timeout: 260 seconds]
lucz has joined #ruby
jeffreylevesque has joined #ruby
haylon has joined #ruby
dviola has quit [Quit: WeeChat 1.8]
ineb has joined #ruby
marxarelli|afk is now known as marxarelli
haylon has quit [Client Quit]
lucz has quit [Ping timeout: 260 seconds]
mim1k has joined #ruby
rakm has joined #ruby
ldnunes has quit [Quit: Leaving]
ineb has quit [Ping timeout: 260 seconds]
ur5us has joined #ruby
zacts has joined #ruby
SeepingN has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
dionysus69 has quit [Ping timeout: 246 seconds]
roamingdog has joined #ruby
spheric has quit [Read error: Connection reset by peer]
HoierM_ has joined #ruby
baweaver is now known as Dio_Brando
Dio_Brando is now known as baweaver
acemo has quit [Quit: Connection closed for inactivity]
jenrzzz has joined #ruby
ramortegui has quit [Read error: Connection reset by peer]
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nofxxxx has quit [Ping timeout: 260 seconds]
tomphp has joined #ruby
nofxxxx has joined #ruby
skweek has joined #ruby
BSaboia has quit [Ping timeout: 255 seconds]
KnownSyntax has quit [Ping timeout: 255 seconds]
BSaboia has joined #ruby
Coldblackice has joined #ruby
morfin has quit []
jenrzzz has quit [Ping timeout: 246 seconds]
im0nde has joined #ruby
havenwood has quit [Excess Flood]
SeepingN has quit [Excess Flood]
ecuanaso has joined #ruby
havenwood has joined #ruby
SeepingN has joined #ruby
KnownSyntax has joined #ruby
KnownSyntax has joined #ruby
KnownSyntax has quit [Changing host]
havenwood has quit [Client Quit]
jamesaxl has quit [Quit: WeeChat 1.7.1]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
Cohedrin has quit [Read error: Connection reset by peer]
lxsameer has quit [Ping timeout: 255 seconds]
JBbankss has joined #ruby
Cohedrin has joined #ruby
QLCrisis has joined #ruby
Cohedrin has quit [Read error: Connection reset by peer]
im0nde_ has joined #ruby
ecuanaso has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bambanx has joined #ruby
im0nde has quit [Ping timeout: 240 seconds]
moei has quit [Quit: Leaving...]
im0nde_ is now known as im0nde
Cohedrin has joined #ruby
Rutix has quit []
Yzguy has joined #ruby
pusewicz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
robouk has joined #ruby
havenwood has joined #ruby
havenwood has joined #ruby
lxsameer has joined #ruby
jusa has joined #ruby
mim1k has joined #ruby
cbyrda has quit [Quit: leaving]
mikecmpb_ has quit [Quit: inabit. zz.]
jrafanie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SloggerKhan has quit [Quit: Leaving.]
sepp2k has quit [Ping timeout: 255 seconds]
patarr has quit [Ping timeout: 260 seconds]
jusa has quit [Ping timeout: 240 seconds]
hobodave has quit [Ping timeout: 272 seconds]
[Butch] has quit [Quit: I'm out . . .]
marxarelli is now known as marxarelli|afk
marxarelli|afk is now known as marxarelli
yqt has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
Yzguy has quit [Quit: Zzz...]
Cohedrin has quit [Read error: Connection reset by peer]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
Cohedrin has joined #ruby
roamingdog has joined #ruby
theunraveler has quit []
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
fxa90id has quit [Ping timeout: 246 seconds]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
<cam27> After reading the chapter on class and instance variables I wanted to test my understanding of what is happening. So I am close except for when it comes to hurting an Enemy class’s instance object. Here is my gist. https://gist.github.com/cam271/a44eef440a6072cf41a24c556e9c7cad
roamingdog has quit [Remote host closed the connection]
User458764 has quit [Ping timeout: 240 seconds]
Majost has quit [Ping timeout: 240 seconds]
cstrahan has quit [Ping timeout: 240 seconds]
Trynemjoel has quit [Ping timeout: 245 seconds]
ascarter has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
olivi____ has joined #ruby
Trynemjoel has joined #ruby
roamingdog has joined #ruby
Majost has joined #ruby
cstrahan has joined #ruby
User458764 has joined #ruby
raspado has joined #ruby
acemo has joined #ruby
roamingdog has quit [Remote host closed the connection]
olivi____ has quit [Ping timeout: 272 seconds]
<Radar> cam27: which part?
roamingdog has joined #ruby
<SeepingN> if @health == 0... if something ever subtracts too much, they become.. undead?
roamingdog has quit [Remote host closed the connection]
gse has quit [Ping timeout: 255 seconds]
<Radar> I was just about to point out the same thing
roamingdog has joined #ruby
<Radar> What are these?
<Radar> You're assigning local variables in those methods.
roamingdog has quit [Remote host closed the connection]
swills has quit [Ping timeout: 260 seconds]
<Radar> remove_instance_variable isn't used in Ruby code much
gse has joined #ruby
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
<baweaver> enemy.health = 1; enemy.hit
<baweaver> enemy.health == 2?
roamingdog has joined #ruby
seanh has quit [Ping timeout: 240 seconds]
t-recx has joined #ruby
roamingdog has quit [Remote host closed the connection]
<SeepingN> what in tar nation is goin on hea
roamingdog has joined #ruby
swgillespie has quit [Ping timeout: 240 seconds]
<baweaver> I'd avoid using class vars like that as wel
<baweaver> well*
hahuang65 has joined #ruby
roamingdog has quit [Remote host closed the connection]
seanh has joined #ruby
gmcintire has quit [Read error: Connection reset by peer]
gmcintire has joined #ruby
swgillespie has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
<baweaver> simpler version
<baweaver> don't try and bake in state management there, it clutters the classes too much
<baweaver> Keep classes simple and stupid
<baweaver> Too much meta knowledge in them will make things way more complicated than they need to be
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
<baweaver> For instance, avoid using puts inside a class
cjhowe has joined #ruby
<baweaver> only return strings so you can use puts elsewhere
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<baweaver> (P.S. `puts` returns `nil`)
bruce_lee has joined #ruby
<baweaver> 'mornin Radar
<Radar> good morning
* baweaver tips hat at SeepingN
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
romeoh_ has quit [Remote host closed the connection]
romeoh has joined #ruby
romeoh has quit [Remote host closed the connection]
romeoh has joined #ruby
QLCrisis has quit [Remote host closed the connection]
romeoh has quit [Remote host closed the connection]
QLCrisis has joined #ruby
romeoh has joined #ruby
<cam27> Thanks baweaver, the meta programing ruby book is after this book, but I feel like I just need to understand how to work with class and instance methods as well as private and protected methods on those instances
<baweaver> For the most part you won't need class methods starting out
<baweaver> private, you're just saying what's a concern of the class versus what's the person using it going to be able to get at
d10n-work has quit [Quit: Connection closed for inactivity]
<baweaver> Metaprogramming Ruby may be a bit overkill
<baweaver> 9/10 times you won't need it, but after some read it everything starts looking like a nail and you have this shiny new hammer you're just waiting to use
Yzguy has joined #ruby
Yzguy has quit [Client Quit]
<baweaver> it can make code inextricably hard to test and reason about
<baweaver> not to say it doesn't have a use, mind, but that some are far too eager to reach for it when a much simpler solution would have worked and is likely a lot faster
<cam27> So don’t look at the meta programing book after the Well Gounded Rubyist?
<baweaver> You can read it, sure, but keep that in mind
<baweaver> See also the channel topic for more ideas
<elomatreb> Please, you don't need the hammer, you can just monkeypatch the nail
shinnya has joined #ruby
<baweaver> that'd screw things up
<baweaver> </horrid-pun>
<elomatreb> nice
romeoh has quit [Ping timeout: 240 seconds]
<baweaver> Monkeypatching is where you have a screwdriver and a nail, and instead of getting a hammer you thread the nail and make it act like a screw
<baweaver> ....even though the hammer was 5 ft away the entire time
olivi____ has joined #ruby
<cam27> Ok, so besides removing puts inside of my class and returning strings instead, why does my object not change it’s health after calling hit and fatal hit method?
<baweaver> local variables
<baweaver> health= is shorthand for health.=(value)
chouhoulis has quit [Ping timeout: 246 seconds]
<baweaver> def health=*
t-recx has quit [Quit: t-recx]
<baweaver> na, that should work still, let me read it again
<baweaver> Ah
<baweaver> look at your health= method
<baweaver> and remember that Ruby returns the last value in a method
<baweaver> and what does puts return again?
<baweaver> (hint: it's nil)
<baweaver> so since that's the method it'll return nil whenever you call it
<baweaver> so it may well be working
<baweaver> call health on it and you'll see it did actually work
Yzguy has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
<baweaver> well time to head home for me
<baweaver> Cheers!
jerezana27 has joined #ruby
jerezana27 has left #ruby [#ruby]
mikeiniowa has quit [Remote host closed the connection]
mikeiniowa has joined #ruby
<cam27> Cheers, thanks ( I didn’t get it yet, but if it looks close then that is good enough to go on )
im0nde has quit [Quit: im0nde]
al2o3-cr has quit [Quit: WeeChat 1.8]
cschneid_ has quit [Remote host closed the connection]
dnewkerk has quit [Read error: Connection reset by peer]
dnewkerk has joined #ruby
Dreamer3 has quit [Quit: Computer has gone to sleep.]
ineb has joined #ruby
raspado has quit [Remote host closed the connection]
am55 has quit [Ping timeout: 240 seconds]
spheric has joined #ruby
am55 has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
im0nde has joined #ruby
lucz has joined #ruby
TomyLobo has quit [Ping timeout: 255 seconds]
rkazak has quit [Quit: Sleep.....ing....]
sneakerhax has joined #ruby
bronson has quit [Remote host closed the connection]
TomyLobo has joined #ruby
lucz has quit [Ping timeout: 240 seconds]
Dimik has quit [Ping timeout: 240 seconds]
alibby has quit [Ping timeout: 260 seconds]
al2o3-cr has joined #ruby
alibby has joined #ruby
Fernando-Basso has quit [Quit: WeeChat 1.8]
jenrzzz has joined #ruby
cdg has quit [Remote host closed the connection]
bernd27 has quit [Remote host closed the connection]
ineb has quit [Ping timeout: 268 seconds]
lxsameer has quit [Quit: WeeChat 1.7]
qwasz has quit [Read error: Connection reset by peer]
qwasz has joined #ruby
bronson has joined #ruby
hellfar has joined #ruby
qwasz has quit [Read error: Connection reset by peer]
hobodave has joined #ruby
Bespoormsed has joined #ruby
Saganesque has quit [Ping timeout: 240 seconds]
Saganesque has joined #ruby
Yzguy has quit [Quit: Zzz...]
Cohedrin has quit [Read error: Connection reset by peer]
Cohedrin has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
roamingdog has joined #ruby
Cohedrin has quit [Read error: Connection reset by peer]
Vile` has joined #ruby
<kspencer> for some reason nothing works when trying to verify github signatures, I have no clue whats wrong, and have followed all documentation to the best of my ability
Cohedrin has joined #ruby
roamingdog has quit [Ping timeout: 240 seconds]
ddffg has quit [Ping timeout: 260 seconds]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
QLCrisis has quit [Remote host closed the connection]
QLCrisis has joined #ruby
Fysicus has joined #ruby
ur5us has quit [Ping timeout: 268 seconds]
QLCrisis has quit [Ping timeout: 255 seconds]
brent__ has quit [Remote host closed the connection]
cschneid_ has joined #ruby
brent__ has joined #ruby
ascarter has joined #ruby
railswebdev has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hobodave has quit [Quit: Computer has gone to sleep.]
cschneid_ has quit [Ping timeout: 258 seconds]
marxarelli is now known as marxarelli|afk
brent__ has quit [Ping timeout: 260 seconds]
oleo has quit [Ping timeout: 240 seconds]