baweaver changed the topic of #ruby to: Rules & more: https://ruby-community.com || Ruby 2.4.0, 2.3.3 & 2.2.6: 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
lxsameer has quit [Quit: WeeChat 1.6]
teclator has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
paradisaeidae has joined #ruby
paradisaeidae_ has joined #ruby
s0l__ has quit [Read error: Connection reset by peer]
markholmes has quit [Remote host closed the connection]
s0l__ has joined #ruby
s0l__ has quit [Read error: Connection reset by peer]
vcavallo has joined #ruby
Burgestrand has quit [Quit: Closing time!]
s0l__ has joined #ruby
KCmetro has quit [Quit: Leaving...]
case__ has joined #ruby
ur5us has quit [Remote host closed the connection]
s0l__ has quit [Read error: Connection reset by peer]
case_ has quit [Ping timeout: 240 seconds]
Rodya_ has quit [Remote host closed the connection]
herbmillerjr has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
agent_white has quit [Quit: bbl]
ishigoya has quit [Ping timeout: 240 seconds]
<anotherpi> i have another question :s
<anotherpi> you can found the code here: https://eval.in/741403
ishigoya has joined #ruby
<anotherpi> with comments
Rodya_ has joined #ruby
<anotherpi> i expect to get the caller (the instance) not the class
<anotherpi> class_eval problem :p
ramortegui has joined #ruby
CloCkWeRX has quit [Ping timeout: 260 seconds]
Rodya_ has quit [Remote host closed the connection]
millerti has joined #ruby
djbkd has quit [Quit: My people need me...]
<matthewd> anotherpi: Yeah, class_eval changes self
shinnya has joined #ruby
<anotherpi> matthewd: :(
matcouto has quit [Remote host closed the connection]
skweek has quit [Ping timeout: 240 seconds]
<matthewd> You can just set a local variable first
bkxd has joined #ruby
<matthewd> foo = self; class_eval do .. foo .. end
matcouto has joined #ruby
charliesome has joined #ruby
<anotherpi> ok… but the test is: `it 'has self as the visitor in blocks' do`
ResidentBiscuit has joined #ruby
<anotherpi> so it's kinda untestable :o
<matthewd> Oh!
<matthewd> Then that sounds like a legitimate test failure
s0l__ has joined #ruby
<anotherpi> yep, but it works, because my implementation does not use a class_eval
<anotherpi> here i am in the test
matcouto has quit [Ping timeout: 260 seconds]
<matthewd> It sounds like the test expects def_visit to use instance_exec
<anotherpi> may i can solved this with a less-metaprogramming way
ResidentBiscuit has quit [Ping timeout: 240 seconds]
hahuang61 has quit [Remote host closed the connection]
<anotherpi> matthewd: you are right
<anotherpi> but still not working
<anotherpi> have to sleep
<anotherpi> thank you for your help
<anotherpi> see you
anotherpi has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
blackmesa has joined #ruby
ResidentBiscuit has joined #ruby
saneax is now known as saneax-_-|AFK
ResidentBiscuit has quit [Remote host closed the connection]
matcouto has joined #ruby
howdoi has quit [Quit: Connection closed for inactivity]
CloCkWeRX has joined #ruby
s0l__ has quit [Read error: Connection reset by peer]
hahuang65 has quit [Quit: WeeChat 1.5]
s0l__ has joined #ruby
Rodya_ has joined #ruby
teclator has quit [Ping timeout: 240 seconds]
marr has quit [Ping timeout: 240 seconds]
elifoster has joined #ruby
jhack has joined #ruby
al2o3-cr has quit [Quit: WeeChat 1.7]
Guest55967 has quit [Remote host closed the connection]
esObe has quit [Remote host closed the connection]
esObe has joined #ruby
esObe has quit [Remote host closed the connection]
esObe has joined #ruby
tau has joined #ruby
esObe has quit [Client Quit]
hutch34 has quit [Ping timeout: 240 seconds]
siwica has quit [Ping timeout: 240 seconds]
jgnagy has joined #ruby
choke has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cdg has quit [Ping timeout: 268 seconds]
mtkd has quit [Ping timeout: 240 seconds]
jgnagy has quit [Ping timeout: 260 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
nowhereman has joined #ruby
username_ has quit [Ping timeout: 240 seconds]
chouhoulis has quit [Ping timeout: 240 seconds]
pwnd_nsfw` has joined #ruby
benlieb has quit [Quit: benlieb]
ramortegui has quit [Quit: Ex-Chat]
shinnya has quit [Ping timeout: 260 seconds]
pwnd_nsfw has quit [Ping timeout: 240 seconds]
tvw has quit [Remote host closed the connection]
bkxd has quit [Ping timeout: 260 seconds]
shwouchk has quit [Quit: Connection closed for inactivity]
tau has quit [Remote host closed the connection]
Derperperd has joined #ruby
gloscombe_ has quit [Quit: gloscombe_]
Channel6 has joined #ruby
certainty has quit [Ping timeout: 260 seconds]
s0l__ has quit [Read error: Connection reset by peer]
paradisaeidae has quit [Ping timeout: 240 seconds]
paradisaeidae_ has quit [Ping timeout: 260 seconds]
gsilva has quit [Ping timeout: 240 seconds]
droids___ has joined #ruby
s0l__ has joined #ruby
s0l__ has quit [Read error: Connection reset by peer]
jackjackdripper has quit [Quit: Leaving.]
<droids___> I've started using SimpleCov for coverage. But I just realized it only works with classes. Is there any way to get coverage for "non-classed" code? Either with SimpleCov or some other tool.
cpruitt has quit [Quit: cpruitt]
brent__ has quit [Ping timeout: 240 seconds]
s0l__ has joined #ruby
benlieb has joined #ruby
benlieb has quit [Client Quit]
s0l__ has quit [Read error: Connection reset by peer]
moei has quit [Read error: Connection reset by peer]
moei has joined #ruby
jhack has quit [Quit: jhack]
hutch34 has joined #ruby
matcouto has quit []
jhack has joined #ruby
paradisaeidae has joined #ruby
paradisaeidae_ has joined #ruby
s0l__ has joined #ruby
droids___ has quit [Quit: bye...]
opt9 has quit [Ping timeout: 240 seconds]
benlieb has joined #ruby
hutch34 has quit [Ping timeout: 268 seconds]
KC_ has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
whathappens has quit [Remote host closed the connection]
<KC_> im sure you are all wondering why i have assembled you here
tau has joined #ruby
whathappens has joined #ruby
pilne has quit [Quit: Quitting!]
<Radar> yes
<Radar> it's about time you came along. I've been here for years.
<KC_> well wait no further my friend.. i am here
Derperperd has quit [Quit: WeeChat 1.5]
jenrzzz has quit [Ping timeout: 260 seconds]
whathappens has quit [Ping timeout: 240 seconds]
skweek has joined #ruby
TPug has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Radar> KC_: You say "wait no further" but that's all I find myself doing.
<Radar> I wait with bated breath on your every word
<KC_> Radar: patience my friend.. i am strategizing a plan
johnny56_ has quit [Ping timeout: 264 seconds]
<KC_> what is everyone's favorite thing about ruby? just curious
<Radar> Its expressiveness and ease-of-use.
<KC_> just off the top of your head
<Radar> It's just beautiful to work for.
<Radar> work with*
bkxd has joined #ruby
<KC_> agreed. Do you feel that python is too rigid as i do?
johnny56_ has joined #ruby
SeepingN has quit [Quit: The system is going down for reboot NOW!]
<Radar> I haven't used it much to have an opinion.
<dgs> Radar: are you the radar guy from the australian rails camps?
<Radar> dgs: yes, amongst other things
<dgs> ahh
<dgs> thought so
<dgs> =p
<dgs> you going to the one this weekend?
d0nn1e has quit [Ping timeout: 255 seconds]
<Radar> dgs: Nope, I'm staying home this time
<Radar> dgs: Things have changed since the baby came along
<Radar> For the better, I should add
<dgs> fair enough. long way to go to get to chch
<dgs> ahh. didn't know you'd had one! congrats =)
<dgs> i remember having to miss one about 3 years cause my partners due date was on the saturday of the camp
<Radar> "Hey love, I'm just going to go Christchurch for RailsCamp for 4 days leaving you at home with the bub. Oh and btw I may be uncontactable for that whole time. GLHF"
<dgs> typically there was baby that weked
<Radar> dgs: thanks :)
KC_ has quit [Quit: Going offline, see ya! (www.adiirc.com)]
d0nn1e has joined #ruby
cdg has joined #ruby
jhack has quit [Quit: jhack]
jhack_ has joined #ruby
jhack_ has quit [Remote host closed the connection]
<dgs> whoops, i meant, typically there was *no* baby arriving that weekend =p
jhack has joined #ruby
jhack has quit [Changing host]
jhack has joined #ruby
<Radar> hah :) Same as mine. She was due Aug 24th so I took my 4 weeks paternity leave off from that week... and she came two weeks later.
<dgs> haha
<dgs> oh well, two weeks off with no baby at least =p
<dgs> does australia give 4 weeks paternity leave?
rigel_ has joined #ruby
<Radar> Key sentence in that is "Employees are eligible to take parental leave if they have worked for their employer for at least 12 months"
<Radar> Fortunately I negotiated this leave with CultureAmp
jhack has quit [Client Quit]
jhack has joined #ruby
antoniobeyah has quit [Quit: Connection closed for inactivity]
<dgs> ah yup. unpaid though?
<dgs> i remember when I had my first kid... (being not much more than a kid), and my boss said... "kids are important - take all the time off you need"
<dgs> just no pay for it =(
<dgs> had just started work a few months before earning 2/10ths of sfa, so no leave for me =/
mogaj has joined #ruby
enterprisey has joined #ruby
djbkd has joined #ruby
<Radar> yes it was unpaid
tyang__ has joined #ruby
tyang_ has joined #ruby
jenrzzz has joined #ruby
blackwind_123 has quit [Ping timeout: 255 seconds]
duderonomy has quit [Ping timeout: 240 seconds]
tyang__ has quit [Ping timeout: 240 seconds]
pepsimax has joined #ruby
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ResidentBiscuit has joined #ruby
CloCkWeRX has quit [Ping timeout: 260 seconds]
cdg has quit [Remote host closed the connection]
opt9 has joined #ruby
tyang_ has quit [Read error: Connection reset by peer]
d^sh has quit [Ping timeout: 240 seconds]
marxarelli is now known as marxarelli|afk
d^sh has joined #ruby
ResidentBiscuit has quit [Ping timeout: 240 seconds]
mogaj has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 260 seconds]
jhack has quit [Quit: Leaving]
jtdoncas has quit [Ping timeout: 268 seconds]
Rodya_ has quit [Remote host closed the connection]
case__ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
mogaj has joined #ruby
ur5us has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
CloCkWeRX has joined #ruby
rkazak has quit [Ping timeout: 260 seconds]
jameser has joined #ruby
paradisaeidae__ has joined #ruby
sspreitz has quit [Ping timeout: 240 seconds]
paradisaeidae___ has joined #ruby
sspreitz has joined #ruby
Rodya_ has quit [Remote host closed the connection]
paradisaeidae_ has quit [Ping timeout: 260 seconds]
mikecmpbll has quit [Quit: inabit. zz.]
paradisaeidae has quit [Ping timeout: 240 seconds]
paradisaeidae__ is now known as paradisaeidae
bkxd has quit [Ping timeout: 240 seconds]
benlieb has quit [Quit: benlieb]
amclain has quit [Quit: Leaving]
Rodya_ has joined #ruby
cdg has joined #ruby
xsdg has quit [Ping timeout: 240 seconds]
xsdg has joined #ruby
Kireji has joined #ruby
<Kireji> I'm installign a Ruby gem, and it's flagging a conflict, trying to install an executable into /usr/local/bin/scss - but there's a python script there now. how can I figure out if there's a package that put it there?
<Kireji> and if I want to keep the python package, how do I resolve the conflict that both a python package and a rugy gem both want to put a file into /usr/local/bin/scss ?
<Kireji> apt shows nothing, so I'm guessing a python package put something there
nobitanobi has joined #ruby
jtdoncas has joined #ruby
cdg has quit [Ping timeout: 268 seconds]
cdg has joined #ruby
<nofxxx> Kireji, apt have a who owns thing... if it's not apt it's python yeah
<nofxxx> safe to rm
<nofxxx> Kireji, you'll have to manually rename one
nobitanobi has quit [Ping timeout: 260 seconds]
jenrzzz has quit [Ping timeout: 268 seconds]
Rodya_ has quit [Remote host closed the connection]
jameser has quit [Ping timeout: 260 seconds]
CloCkWeRX has quit [Ping timeout: 255 seconds]
jackjackdripper has joined #ruby
xall has joined #ruby
hutch34 has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
duderonomy has joined #ruby
cdg has quit [Read error: Connection reset by peer]
jameser has joined #ruby
cdg has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
ruby-lang481 has joined #ruby
Channel6 has quit [Quit: Leaving]
charliesome has joined #ruby
bmurt has joined #ruby
mim1k has joined #ruby
JoshS has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
CloCkWeRX has joined #ruby
xall_ has joined #ruby
malconis has quit [Read error: Connection reset by peer]
ruby-lang481 has quit [Quit: Page closed]
xall has quit [Ping timeout: 260 seconds]
nalgritz has joined #ruby
govg has quit [Ping timeout: 240 seconds]
brent__ has joined #ruby
nalgritz has left #ruby [#ruby]
malconis has joined #ruby
nalgritz has joined #ruby
Rodya_ has joined #ruby
nalgritz has left #ruby [#ruby]
jackjackdripper has quit [Ping timeout: 240 seconds]
nalgritz has joined #ruby
Definity2 has joined #ruby
nalgritz has left #ruby ["Good Bye"]
xall has joined #ruby
charliesome has quit [Read error: Connection reset by peer]
xall_ has quit [Read error: Connection reset by peer]
nalgritz has joined #ruby
charliesome has joined #ruby
bkxd has joined #ruby
case_ has joined #ruby
braincrash has quit [Quit: bye bye]
hahuang65 has joined #ruby
znz_jp has quit [Remote host closed the connection]
Silthias has joined #ruby
cibs has quit [Ping timeout: 260 seconds]
Silthias2 has quit [Ping timeout: 255 seconds]
cibs has joined #ruby
matcouto has joined #ruby
Azure has quit [Ping timeout: 255 seconds]
znz_jp has joined #ruby
brent__ has quit [Remote host closed the connection]
brent__ has joined #ruby
brent__ has quit [Remote host closed the connection]
Joufflu has joined #ruby
<synstack> This book claims "You're not going to be taken seriously as a Ruby developer unless you use Test::Unit or Rspec to write tests as you write code"
<synstack> Am I a weenie for using minitest
<baweaver> yes
<baweaver> how dare you
<baweaver> get out
<baweaver> Joking aside, it doesn't matter.
<baweaver> unless you don't test period, then that's an issue.
<hellowarz> ok i'll get out D:
tau has quit [Quit: shutdown -h now]
rigel_ has quit [Quit: ChatZilla 0.9.93 [Firefox 51.0.1/20170125094131]]
sneakerhax has joined #ruby
kies has quit [Ping timeout: 268 seconds]
haraoka has joined #ruby
tau has joined #ruby
tau has quit [Client Quit]
govg has joined #ruby
kies has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
<Radar> synstack: which book?
<synstack> Radar: just started Refactoring: Ruby Edition
<synstack> my question was a little tongue-in-cheek, knowing its from 2009
ResidentBiscuit has joined #ruby
patarr has joined #ruby
gix has quit [Ping timeout: 260 seconds]
bkxd has quit [Ping timeout: 240 seconds]
ResidentBiscuit has quit [Ping timeout: 240 seconds]
<synstack> I am wondering though, how I would best approach writing tests for a program that uses a third party gem (RMagick) to generate its output (an image)
gix has joined #ruby
patarr has quit [Ping timeout: 268 seconds]
rafadc has joined #ruby
hutch34 has joined #ruby
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
matcouto_ has joined #ruby
matcouto has quit [Ping timeout: 240 seconds]
hutch34 has quit [Ping timeout: 260 seconds]
jgnagy has joined #ruby
matcouto_ has quit [Ping timeout: 260 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jgnagy has quit [Ping timeout: 260 seconds]
<Radar> Do you want to test the output and verify what the image is?
_aeris_ has quit [Remote host closed the connection]
_aeris_ has joined #ruby
cdg_ has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
braincrash has joined #ruby
charliesome has joined #ruby
xall has quit [Ping timeout: 240 seconds]
<synstack> Hm. Radar ideally I'd like to have unit tests for the entire thing, an integration test would be simple enough. I feel like unit testing would end up being a lot of comparison against a lot of image files...
cdg has quit [Ping timeout: 240 seconds]
<Radar> getting a computer to read + understand an image is a really hard problem
squ has joined #ruby
<Radar> Comparing images I think is much easier... but no tool for that comes to mind
paradisaeidae has quit [Quit: ChatZilla 0.9.93 [Firefox 51.0.1/20170125094131]]
paradisaeidae___ has quit [Quit: ChatZilla 0.9.93 [Firefox 51.0.1/20170125094131]]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
postmodern has quit [Read error: Connection reset by peer]
postmodern has joined #ruby
anisha has joined #ruby
ur5us has quit [Ping timeout: 260 seconds]
Rodya_ has quit [Remote host closed the connection]
Rodya_ has joined #ruby
bocaneri has joined #ruby
Rodya_ has quit [Ping timeout: 240 seconds]
mim1k has joined #ruby
Cohedrin has joined #ruby
postmodern has quit [Read error: Connection reset by peer]
renchan has joined #ruby
postmodern_ has joined #ruby
l4v2 has quit [Quit: l4v2]
mim1k has quit [Ping timeout: 268 seconds]
mtkd has joined #ruby
bkxd has joined #ruby
jackjackdripper has joined #ruby
xall has joined #ruby
DaniG2k has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ur5us has joined #ruby
hutch34 has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
DaveTaboola has joined #ruby
tercenya_ has joined #ruby
hutch34 has quit [Ping timeout: 260 seconds]
ur5us has quit [Ping timeout: 260 seconds]
tercenya has quit [Ping timeout: 268 seconds]
enterprisey has quit [Remote host closed the connection]
dminuoso has quit [Changing host]
dminuoso has joined #ruby
matthewd has quit [Ping timeout: 260 seconds]
cyphase has quit [Ping timeout: 240 seconds]
matthewd has joined #ruby
jtdoncas has quit [Ping timeout: 240 seconds]
cyphase has joined #ruby
mogaj has quit [Remote host closed the connection]
mogaj has joined #ruby
xall has quit [Ping timeout: 240 seconds]
MasterNayru has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
mogaj has quit [Remote host closed the connection]
DaniG2k has quit [Quit: leaving]
mogaj has joined #ruby
msg has joined #ruby
msg is now known as Guest24425
mogaj has quit [Remote host closed the connection]
harfangk has joined #ruby
DaveTaboola has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DTZUZU has quit [Read error: Connection reset by peer]
xall has joined #ruby
hellowarz has quit []
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mogaj has joined #ruby
nullsign has quit [Quit: ZNC - http://znc.in]
jenrzzz has quit [Ping timeout: 240 seconds]
nullsign has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
bkxd has quit [Ping timeout: 260 seconds]
mogaj has quit [Remote host closed the connection]
mogaj has joined #ruby
milardovich has joined #ruby
cibs has quit [Ping timeout: 260 seconds]
cibs has joined #ruby
mogaj has quit [Remote host closed the connection]
mogaj has joined #ruby
ResidentBiscuit has joined #ruby
patarr has joined #ruby
ResidentBiscuit has quit [Ping timeout: 240 seconds]
saneax-_-|AFK is now known as saneax
patarr has quit [Ping timeout: 255 seconds]
ifctj has joined #ruby
jetWhidbey has joined #ruby
hutch34 has joined #ruby
reverberations has joined #ruby
arup_r has joined #ruby
Anonymoose2 has quit [Ping timeout: 240 seconds]
hutch34 has quit [Ping timeout: 240 seconds]
Ishido has joined #ruby
Dimik has joined #ruby
DTZUZU has joined #ruby
cibs has quit [Ping timeout: 260 seconds]
ifctj has quit [Ping timeout: 260 seconds]
CloCkWeRX has quit [Quit: Leaving.]
cibs has joined #ruby
cgfbee has quit [Ping timeout: 240 seconds]
arup_r has quit [Remote host closed the connection]
jetWhidbey has quit [Ping timeout: 260 seconds]
Burgestrand has joined #ruby
rakm has joined #ruby
jcao219 has quit [Ping timeout: 240 seconds]
nobitanobi has joined #ruby
Joufflu has quit [Read error: Connection reset by peer]
cgfbee has joined #ruby
Joufflu has joined #ruby
rippa has joined #ruby
jdm_ has joined #ruby
nobitanobi has quit [Ping timeout: 268 seconds]
tdy has quit [Read error: Connection reset by peer]
milardovich has quit [Remote host closed the connection]
Jovial has quit [Read error: Connection reset by peer]
jdm has quit [Ping timeout: 240 seconds]
cibs has quit [Ping timeout: 268 seconds]
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
* dminuoso wants static typing in Ruby
<dminuoso> :(
* dminuoso rages
redhedded1 has joined #ruby
cibs has joined #ruby
tdy has joined #ruby
jshjsh has joined #ruby
JoshS has quit [Ping timeout: 240 seconds]
bkxd has joined #ruby
bigkevmcd has joined #ruby
fewspider has joined #ruby
<allisio> dminuoso: I know it's hardly the same thing, but how have you found Contracts.ruby to be deficient?
<allisio> More to the point, it sounds like you want Crystal.
mim1k has joined #ruby
conta has joined #ruby
Burgestrand has quit [Quit: Closing time!]
davezd has joined #ruby
<dminuoso> allisio: I do want Crystal, but the library support is small and its still alpha.
mim1k has quit [Ping timeout: 268 seconds]
nullsign has quit [Quit: ZNC - http://znc.in]
nullsign has joined #ruby
nullsign has quit [Client Quit]
troulouliou_div2 has joined #ruby
Kireji has left #ruby [#ruby]
nullsign has joined #ruby
elifoster has quit [Quit: sleep]
milardovich has joined #ruby
milardovich has quit [Remote host closed the connection]
milardovich has joined #ruby
Silthias1 has joined #ruby
Silthias2 has joined #ruby
Silthias has quit [Ping timeout: 260 seconds]
Silthias1 has quit [Ping timeout: 260 seconds]
nOwz has joined #ruby
hutch34 has joined #ruby
yuppie has joined #ruby
<yuppie> hello
Qchmqs has joined #ruby
<yuppie> does this if statement on line 6 look correct? https://hastebin.com/hogelojuse.rb
<nOwz> yes why?
last_staff has joined #ruby
<elomatreb> yuppie: It does what you want, but generally it's not idiomatic Ruby
hutch34 has quit [Ping timeout: 240 seconds]
<yuppie> elomatreb is there a "better" way?
<elomatreb> `contact = ec2.instances[instance].tags['primary_contact'] || "your_fallback"` is a common idiom
<nOwz> ow, wouldn't have thing that in this way, it's better yeah
<yuppie> thanks guys
jetWhidbey has joined #ruby
ledestin has joined #ruby
aufi has joined #ruby
bigkevmcd has quit [Quit: Outta here...]
jetWhidbey has quit [Ping timeout: 240 seconds]
aganov has joined #ruby
tristanp has quit [Remote host closed the connection]
TomyWork has joined #ruby
Burgestrand has joined #ruby
djbkd_ has joined #ruby
minimalism has quit [Quit: minimalism]
pwnd_nsfw has joined #ruby
nOwz has quit [Quit: WeeChat 1.7]
pwnd_nsfw` has quit [Ping timeout: 255 seconds]
mogaj has quit [Remote host closed the connection]
User458764 has joined #ruby
Burgestrand has quit [Client Quit]
vuoto has joined #ruby
<dminuoso> yuppie: :instance_status and :instance_state
* dminuoso pokes you with a stick
pwnd_nsfw` has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
UserJosh has joined #ruby
<yuppie> dminuoso what?
pwnd_nsfw has quit [Ping timeout: 260 seconds]
nobitanobi has joined #ruby
blaxter has joined #ruby
mark_66 has joined #ruby
<dminuoso> yuppie: look at lines 10 and 11
<dminuoso> yuppie: Is that intentional that you have both set[:instance_state] and set[:instance_status] ?
<yuppie> hm, let me look
<yuppie> the whole script is much larger
jshjsh has quit [Ping timeout: 240 seconds]
s0l__ has quit [Ping timeout: 252 seconds]
<dminuoso> yuppie: I mean I have never worked with EC2 stuff before, maybe that code is legit. But to me it's a smell.
jdm_ has quit [Remote host closed the connection]
aupadhye has joined #ruby
djbkd_ has quit []
govg has quit [Ping timeout: 268 seconds]
last_staff has quit [Quit: last_staff]
Xentil has joined #ruby
jdm has joined #ruby
teclator has joined #ruby
jshjsh has joined #ruby
certainty has joined #ruby
andikr has joined #ruby
UserJosh has quit [Ping timeout: 255 seconds]
Definity2 has quit [Quit: Nettalk6 - www.ntalk.de]
mikecmpbll has joined #ruby
cschneid_ has joined #ruby
patarr has joined #ruby
toretore has joined #ruby
last_staff has joined #ruby
tvw has joined #ruby
cschneid_ has quit [Ping timeout: 240 seconds]
patarr has quit [Ping timeout: 268 seconds]
nijimac056 has joined #ruby
<nijimac056> test
matcouto has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
nijimac056 has left #ruby [#ruby]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
s0l__ has joined #ruby
antgel has joined #ruby
mogaj has joined #ruby
nijimac056 has joined #ruby
nijimac056 has left #ruby [#ruby]
Cohedrin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hutch34 has joined #ruby
mogaj has quit [Remote host closed the connection]
Dimik has quit [Ping timeout: 260 seconds]
jenrzzz has quit [Ping timeout: 240 seconds]
mogaj has joined #ruby
ResidentBiscuit has joined #ruby
minimalism has joined #ruby
govg has joined #ruby
hutch34 has quit [Ping timeout: 268 seconds]
sagax has quit [Ping timeout: 240 seconds]
jcao219 has joined #ruby
ResidentBiscuit has quit [Ping timeout: 240 seconds]
jetWhidbey has joined #ruby
nOwz has joined #ruby
blaxter has quit [Quit: foo]
Burgestrand has joined #ruby
milardovich has quit []
mim1k has joined #ruby
jetWhidbey has quit [Ping timeout: 260 seconds]
Morrolan has quit [Quit: Goodbye]
anisha has quit [Quit: This computer has gone to sleep]
brent__ has joined #ruby
pandaant has joined #ruby
cibs has quit [Ping timeout: 260 seconds]
Morrolan has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
mogaj has quit [Remote host closed the connection]
flying has joined #ruby
cibs has joined #ruby
MrBleu has joined #ruby
<MrBleu> Hey guys, there is a ruby syntax i do not really understand, can someone points me to a document please ? the guilty code is here : https://gist.github.com/jakemcgraw/305778 on line 7 for instance
<elomatreb> The `... => ...` part?
brent__ has quit [Ping timeout: 260 seconds]
<MrBleu> The whole line i would say . Puppet::Type.type(:package).provide this for instance, i gesse it means : call this function , but the :package , is unknown to me.
mogaj has joined #ruby
chee is now known as need
<MrBleu> the :pacakge notation
need is now known as chee
nOwz has quit [Quit: WeeChat 1.7]
<elomatreb> :package is a symbol, http://ruby-doc.org/core-2.4.0/Symbol.html
<elomatreb> Basically very lightweight strings, often used for identifiers
mogaj has quit [Remote host closed the connection]
<MrBleu> okay , it is some kind of constant , but in the whole program.
<MrBleu> got it .
MasterNayru has joined #ruby
<MrBleu> so far : call the Puppet::Type.type(:package) and call the provide function from the returned value.
tomphp has joined #ruby
<elomatreb> Yep
bkxd has joined #ruby
CloCkWeRX has joined #ruby
<MrBleu> A, if i understand well, the provide is then called using the :pear and :parent variables ?
mogaj has joined #ruby
<elomatreb> You could write that call as `.provide(:pear, { :parent => Puppet::Provider::Package })
Silthias has joined #ruby
mim1k has joined #ruby
<MrBleu> so :parent is redefined here.
<elomatreb> Parentheses on method calls are often optional in Ruby, and if the last argument to a method call is a Hash, you may leave off the curly braces too
nOwz has joined #ruby
<elomatreb> The thing in {} is a Hash, basically a key-value structure
lxsameer has joined #ruby
anisha has joined #ruby
Silthias2 has quit [Ping timeout: 255 seconds]
mogaj has quit [Remote host closed the connection]
gsilva has joined #ruby
davezd has quit [Ping timeout: 260 seconds]
mogaj has joined #ruby
Silthias1 has joined #ruby
Silthias has quit [Ping timeout: 240 seconds]
Silthias has joined #ruby
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
quiqua has joined #ruby
lxsameer has quit [Ping timeout: 240 seconds]
cdg_ has quit [Remote host closed the connection]
marr has joined #ruby
Silthias1 has quit [Ping timeout: 260 seconds]
xall has quit [Read error: Connection reset by peer]
xall_ has joined #ruby
jcao219 has quit [Remote host closed the connection]
Beams has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
xall_ has quit [Quit: WeeChat 1.7]
mim1k has joined #ruby
nowhereman has quit [Ping timeout: 240 seconds]
Alina-malina has quit [Ping timeout: 260 seconds]
cibs has quit [Ping timeout: 260 seconds]
cibs has joined #ruby
gsilva has quit [Ping timeout: 260 seconds]
agent_white has joined #ruby
hutch34 has joined #ruby
mitt3ns has quit [Ping timeout: 255 seconds]
bigkevmcd has joined #ruby
hutch34 has quit [Ping timeout: 260 seconds]
Guest55219 is now known as valkyr2e
valkyr2e has quit [Changing host]
valkyr2e has joined #ruby
mogaj has quit [Remote host closed the connection]
jinie has quit [Quit: ZNC 1.6.1 - http://znc.in]
<xpt> Need more coffee. I've tried to solve kata from codewars.com , I choose one and started to write ruby code. Tried to solve it. Then I got this odd errors. It took me a while before I relised that "public static string Encrypt(string text)" doesn't look like ruby code :D
conta has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 260 seconds]
pulkit4tech has joined #ruby
* xpt forgot to login before trying to solve it so it choose C# or something
mogaj has joined #ruby
braincrash has quit [Ping timeout: 240 seconds]
jsrn has joined #ruby
JoshS has joined #ruby
ferr1 has joined #ruby
jinie has joined #ruby
jshjsh has quit [Ping timeout: 268 seconds]
gsilva has joined #ruby
biberu has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
workmad3 has joined #ruby
mogaj has quit [Remote host closed the connection]
<MrBleu> okay elomatreb , this is already a lot of explanation :) thanks
mogaj has joined #ruby
blackmesa has joined #ruby
nettoweb has joined #ruby
dionysus69 has joined #ruby
jetWhidbey has joined #ruby
* xpt was supposed to write that on #ruby-offtopic :/
User458764 has joined #ruby
nobitanobi has quit [Remote host closed the connection]
ChrisWarrick has left #ruby ["ruby is pretty nice, but your idioms are crazy"]
jetWhidbey has quit [Ping timeout: 268 seconds]
conta has joined #ruby
fewspider has quit [Remote host closed the connection]
pulkit4tech has quit [Quit: pulkit4tech]
nalgritz has quit [Quit: nalgritz]
pulkit4tech has joined #ruby
haraoka has quit [Ping timeout: 240 seconds]
postmodern_ has quit [Quit: Leaving]
roamingdog has joined #ruby
vuoto has quit [Remote host closed the connection]
mitt3ns has joined #ruby
marxarelli|afk has quit [Read error: Connection reset by peer]
nofxxx has quit [Ping timeout: 240 seconds]
mogaj has quit [Remote host closed the connection]
agent_white has quit [Ping timeout: 240 seconds]
nettoweb1 has joined #ruby
mogaj has joined #ruby
znz_jp has quit [Ping timeout: 240 seconds]
nettoweb has quit [Ping timeout: 240 seconds]
ElFerna has joined #ruby
pulkit4tech has left #ruby [#ruby]
znz_jp has joined #ruby
jameser has quit [Ping timeout: 260 seconds]
patarr has joined #ruby
mogaj has quit [Remote host closed the connection]
nobitanobi has joined #ruby
patarr has quit [Ping timeout: 255 seconds]
ElFerna has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Joufflu has quit [Quit: Leaving]
mogaj has joined #ruby
ikopico has joined #ruby
squ has quit [Ping timeout: 245 seconds]
kernelPaniq has quit [Ping timeout: 240 seconds]
hutch34 has joined #ruby
pulkit4tech has joined #ruby
ElFerna has joined #ruby
<nOwz> it looks like i made a mistake, my code works without "chatroom: roomid" but if i'm adding this line I caught a strange "error"
braincrash has joined #ruby
redhedded1 has quit [Quit: Textual IRC Client: www.textualapp.com]
cdg has joined #ruby
<canton7> nOwz, that's coffeescript, not ruby?
<nOwz> yes sorry wrong channel
hutch34 has quit [Ping timeout: 260 seconds]
nadir has quit [Quit: Connection closed for inactivity]
ElFerna has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cdg has quit [Ping timeout: 240 seconds]
bkxd has joined #ruby
pulkit4tech has left #ruby [#ruby]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
lenwood has joined #ruby
pulkit4tech has joined #ruby
Silthias1 has joined #ruby
gsilva has quit [Ping timeout: 268 seconds]
tomphp_ has joined #ruby
Silthias has quit [Ping timeout: 240 seconds]
tomphp has quit [Ping timeout: 240 seconds]
tristanp has joined #ruby
ledestin has quit [Quit: Textual IRC Client: www.textualapp.com]
braincrash has quit [Ping timeout: 260 seconds]
Silthias has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
pulkit4tech has left #ruby [#ruby]
Silthias1 has quit [Ping timeout: 240 seconds]
ResidentBiscuit has joined #ruby
nobitanobi has quit []
nobitanobi has joined #ruby
tristanp has quit [Ping timeout: 240 seconds]
lenwood has quit [Ping timeout: 255 seconds]
catphish has joined #ruby
nobitanobi has quit [Client Quit]
ResidentBiscuit has quit [Ping timeout: 255 seconds]
cibs has quit [Ping timeout: 260 seconds]
Bish has joined #ruby
<Bish> can i have the proc of super?
ikopico has quit [Quit: Imma make like traffic and jam]
ikopico has joined #ruby
cibs has joined #ruby
okjdpi has joined #ruby
certainty has quit [Ping timeout: 260 seconds]
CloCkWeRX has quit [Quit: Leaving.]
opt9 has quit [Quit: Bye bye]
jetWhidbey has joined #ruby
certainty has joined #ruby
Robtop__ has joined #ruby
User458764 has joined #ruby
jetWhidbey has quit [Ping timeout: 240 seconds]
catphish has left #ruby ["Leaving"]
pwnd_nsfw` has quit [Ping timeout: 255 seconds]
ldnunes has joined #ruby
rafadc_ has joined #ruby
<Bish> can i have the proc of super?
<Bish> oh sorry,
<Bish> pressed uparrow+enter in the wrong window
ikopico has quit [Quit: Imma make like traffic and jam]
rafadc has quit [Ping timeout: 268 seconds]
ikopico has joined #ruby
flyingX has joined #ruby
jshjsh has joined #ruby
bkxd has quit [Ping timeout: 260 seconds]
nettoweb has joined #ruby
bkxd has joined #ruby
nettoweb1 has quit [Ping timeout: 240 seconds]
flying has quit [Ping timeout: 240 seconds]
JoshS has quit [Ping timeout: 240 seconds]
cdg has joined #ruby
pandaant has quit [Remote host closed the connection]
Skarlso- is now known as Skarlso
nettoweb1 has joined #ruby
newrubycoder has joined #ruby
patarr has joined #ruby
nettoweb has quit [Ping timeout: 240 seconds]
xen0fon has quit [Quit: xen0fon]
ar1a has left #ruby ["WeeChat 1.7"]
patarr has quit [Ping timeout: 240 seconds]
Snickers has joined #ruby
sami_ has joined #ruby
sami_ is now known as Guest47489
Guest47489 is now known as sami
hutch34 has joined #ruby
blackmesa has joined #ruby
pedropt has joined #ruby
<pedropt> hi everyone
lynxer has quit [Quit: Konversation terminated!]
<pedropt> can anyone here that understands ruby could give me an help on a script ?
<dminuoso> pedropt: That depends.
<dminuoso> But share your problem with us and I shall see.
<Bish> pedropt: is it an algo to factorize prime numbers? then no.
<dminuoso> Bish: it's very easy to factorize prime numbers.
<Bish> fast*
<dminuoso> f:x -> x
<dminuoso> done.
<Bish> what about
<Bish> ::Integer -> ::Integer
<Bish> would be much faster this way
<pedropt> i want to read a specific line from a file under a level down directory and set that as a variable
<matthewd> pedropt: What do you have so far?
agi78 has joined #ruby
hutch34 has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
<dminuoso> Not bad, matthewd. They started out with their intention.
<dminuoso> pedropt you already exceeded all my expectations. I like you.
<pedropt> i tried this msfvenom = IO.readlines("./config.path")[n-6]
<pedropt> but i have an error
<dminuoso> What error do you have?
<pedropt> apkembed.rb:14:in `readlines': No such file or directory @ rb_sysopen - ./config.path (Errno::ENOENT)
<Bish> he is a 1337 haxor
millerti has joined #ruby
<dminuoso> pedropt: ./ refers to the current directory
dionysus69 has quit [Ping timeout: 255 seconds]
<dminuoso> pedropt: use ../ to refer to the parent directory
<Bish> dminuoso: you're helping a script kiddie to use metasploit, are you aware?
<dminuoso> Bish: No.
<Bish> now you are
<dminuoso> Also
<dminuoso> 12:42 < Bish> can i have the proc of super?
<dminuoso> What the fuck?
<Bish> lol. .i need to call super 2 times
<pedropt> nice one
<pedropt> it worked
<dminuoso> Bish: you mean like supersuper() ?
<dminuoso> That should be a thing
<Bish> no, like
<Bish> super;super;
<dminuoso> Let me make a feature request
<pedropt> now i have other issue here
<dminuoso> cuz thats not the same thing you know
<Bish> and the first super call changes the state of the object
<dminuoso> Bish: or super();super() ?
<dminuoso> mmm
<dminuoso> (I hate ruby for this)
dionysus69 has joined #ruby
<Bish> dminuoso: i got desired behaviour by using
<Bish> self.class.superclass.instance_method(:teh_method).bind(self).to_proc[]
<pedropt> how do i run another ruby session using that variable ?
<Bish> i am not kidding.
<pedropt> i tried this
<dminuoso> Bish: sounds fine
<Bish> and someone has already made a feature request & a c patch in some mailgroup
<matthewd> I'm not sure why you'd use .to_proc[] instead of .call, but okay
<dminuoso> Bish: I think this could have been a great Ruby feature, if methods behaved like first class citizens like in JavaScript
<Bish> matthewd: because i can
<pedropt> just to say that specific variable before is a path from a tool that runs on ruby
<Bish> metasploit is a bitch even if you know ruby, so learn ruby, and still be confused
<pedropt> res=run_ruby`$msfvenom -f raw #{opts} -o output/test
braincrash has joined #ruby
marsjaninzmarsa has quit [Ping timeout: 258 seconds]
yitsushi_ has joined #ruby
<newrubycoder> guys im getting a stack level too deep issue can someone help?
<Bish> newrubycoder: without code, no
<Bish> your method calls itself, over and over
<Bish> uhm, recursion yes
yitsushi_ has quit [Client Quit]
<Bish> to understand recursion, you should first understand recursion
<Bish> best explaination there is.
<Bish> newrubycoder: whenever your method gets called, it calls itself 2 more times.. these 2 calls call it 2 times each , 4 in total
<Bish> those 4 will call.. etc..
<Bish> there is no end to your algorithm
<Bish> do something like
agi78 has left #ruby [#ruby]
<Bish> if number == 0; return 0; end;
<Bish> whereas ; is a newline
<elomatreb> If you're trying to fibonacci, shouldn't it be `return 1 if number <2`?
blackmesa has quit [Ping timeout: 260 seconds]
<Bish> elomatreb: he didn't say anything about that :o
<elomatreb> A recursive method calling itself with n-1 and n-2 and adding those, sounds very fibonacci to me
<Bish> neither does his code.
<Bish> yeah well, because it's the standard approach to teach recursion
<Bish> but it's not the only thing that looks like that
<newrubycoder> yes its the fibberanchi i think it would work if it didnt overflow
<elomatreb> You got the recursion part right, you're just never terminating
<Bish> wow, that misspelling is hilarious
<newrubycoder> not good on european names :p
<Bish> it sounds like the guy from flubber has a ranch
<Bish> sorry don't want to be rude
marr has quit [Ping timeout: 255 seconds]
Xentil has quit [Ping timeout: 240 seconds]
agent_white has joined #ruby
<newrubycoder> nah its not rude lol im aware lol
marsjaninzmarsa has joined #ruby
mitt3ns has quit [Ping timeout: 240 seconds]
nettoweb has joined #ruby
nettoweb1 has quit [Ping timeout: 240 seconds]
mogaj has quit [Remote host closed the connection]
mim1k has quit [Ping timeout: 240 seconds]
yuppie has left #ruby ["Textual IRC Client: www.textualapp.com"]
kristofferR has quit [Quit: Textual IRC Client: www.textualapp.com]
mim1k has joined #ruby
ElFerna has joined #ruby
spooq has quit [Ping timeout: 260 seconds]
mogaj has joined #ruby
MrBusiness has quit [Ping timeout: 260 seconds]
mim1k has quit [Ping timeout: 240 seconds]
jaiks has quit [Ping timeout: 240 seconds]
houhoulis has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
rafadc_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
roamingdog has joined #ruby
mogaj has quit [Remote host closed the connection]
roamingdog has quit [Remote host closed the connection]
CloCkWeRX has joined #ruby
rafadc has joined #ruby
tyang has joined #ruby
jamesaxl has joined #ruby
jaiks has joined #ruby
CloCkWeRX has quit [Ping timeout: 260 seconds]
hutch34 has joined #ruby
synthroid has joined #ruby
Robtop__ has quit [Ping timeout: 260 seconds]
hutch34 has quit [Ping timeout: 255 seconds]
rwb has quit [Ping timeout: 260 seconds]
pwnd_nsfw has joined #ruby
SteenJobs has joined #ruby
tomphp_ has quit [Read error: Connection reset by peer]
tomphp has joined #ruby
jameser has joined #ruby
nadir has joined #ruby
CloCkWeRX has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
jtdoncas has joined #ruby
roamingdog has joined #ruby
john82 has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jlebrech has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
jetWhidbey has joined #ruby
malconis has joined #ruby
jameser_ has joined #ruby
ResidentBiscuit has joined #ruby
jetWhidbey has quit [Ping timeout: 260 seconds]
last_staff has quit [Quit: last_staff]
jameser has quit [Ping timeout: 240 seconds]
t-recx has joined #ruby
jameser has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
malconis has quit [Ping timeout: 268 seconds]
malconis has joined #ruby
jameser_ has quit [Ping timeout: 240 seconds]
ResidentBiscuit has quit [Ping timeout: 240 seconds]
jameser_ has joined #ruby
<dminuoso> &ri instance_exec
<dminuoso> My best new friend.
NL3limin4t0r_afk has joined #ruby
mim1k has joined #ruby
NL3limin4t0r_afk is now known as NL3limin4t0r
jameser has quit [Ping timeout: 255 seconds]
jameser_ has quit [Client Quit]
soud has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
certainty has quit [Ping timeout: 260 seconds]
rwb has joined #ruby
pedropt has quit [Quit: Leaving]
marr has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
jameser has joined #ruby
aspiers has quit [Ping timeout: 260 seconds]
pulkit4tech has joined #ruby
skweek has quit [Ping timeout: 268 seconds]
pulkit4tech has left #ruby [#ruby]
__Yiota has joined #ruby
vondruch has quit [Ping timeout: 255 seconds]
jetWhidbey has joined #ruby
aspiers has joined #ruby
hutch34 has joined #ruby
mogaj has joined #ruby
pulkit4tech has joined #ruby
xen0fon has joined #ruby
pulkit4tech has left #ruby [#ruby]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
houhoulis has quit [Remote host closed the connection]
houhoulis has joined #ruby
jameser has joined #ruby
hutch34 has quit [Ping timeout: 260 seconds]
mogaj has quit [Ping timeout: 260 seconds]
Rodya_ has joined #ruby
jaruga______ has joined #ruby
jaruga______ is now known as jaruga
rafadc_ has joined #ruby
ElFerna has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
houhoulis has quit [Ping timeout: 240 seconds]
CloCkWeRX has quit [Ping timeout: 260 seconds]
rafadc has quit [Ping timeout: 255 seconds]
rafadc_ has quit [Client Quit]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rafadc has joined #ruby
rafadc has quit [Client Quit]
rafadc has joined #ruby
rafadc has quit [Client Quit]
fuzzyhorns has joined #ruby
rafadc has joined #ruby
jameser has joined #ruby
rafadc has quit [Client Quit]
rafadc has joined #ruby
rafadc has quit [Client Quit]
prestorium has joined #ruby
john82 has quit [Quit: Page closed]
sami has quit [Quit: leaving]
Xeago has quit [Ping timeout: 260 seconds]
jose_leeto has joined #ruby
bmurt has joined #ruby
jsho has joined #ruby
itarato has joined #ruby
Xeago has joined #ruby
minimalism has quit [Quit: minimalism]
DLSteve has joined #ruby
jdm has quit [Remote host closed the connection]
millerti has joined #ruby
hllywluis has joined #ruby
hutch34 has joined #ruby
hellowarz has joined #ruby
saneax is now known as saneax-_-|AFK
ElFerna has joined #ruby
cpruitt has joined #ruby
flujan has joined #ruby
ElFerna has quit [Client Quit]
<flujan> Hello guys. Which websocket client gem do you recommend? I am seeing a lot of projects, but they are all outdated.
<flujan> Like no commit in the last two years.
mwlang has joined #ruby
<ikopico> flujan: didn't actually use it, but https://github.com/imanel/websocket-ruby seems to be pretty much updated
<Burgestrand> That's a protocol handler, not a client, AFAIK.
<Burgestrand> flujan What's your purpose to needing a client?
<ikopico> Right
<flujan> Burgestrand: Send and receive messages throught websocket.
<Burgestrand> flujan yes, but in what context?
Snickers has quit [Ping timeout: 268 seconds]
<flujan> Burgestrand: to work with asterisk and handle multiple calls.
mtkd has quit [Ping timeout: 240 seconds]
<Burgestrand> flujan anyway there's e.g. https://github.com/imanel/websocket-eventmachine-client (personally I'm no fan of eventmachine though)
dionysus69 has joined #ruby
ResidentBiscuit has joined #ruby
<Burgestrand> It's possible there's a celluloid-based client somewhere as well, I know I worked with one a few years back but I can't remember if I built it myself or not
<fuzzyhorns> how do yall feel about keyword arguments?
<flujan> Burgestrand: yeah. I hit those will check celluloid… Thanks for the tip.
<Burgestrand> flujan https://github.com/celluloid/reel-io can be used as a client as well
<fuzzyhorns> i haven't used them a ton, but i'm looking at a codebase where basically every single method uses them
<Burgestrand> flujan what's asterix?
<flujan> Burgestrand: sorry… asterisk
<Burgestrand> flujan yeah, not familiar with that either, other than *
PaulCapestany has joined #ruby
<flujan> Burgestrand: telephony system. www.asterisk.org
<Burgestrand> fuzzyhorns they're nice as long as they're not superfluous
Qchmqs has quit [Ping timeout: 268 seconds]
<fuzzyhorns> Burgestrand: i tend to think if you're using more than 3 in a signature, you should prob extract to an object to pass in (even an extremely lightweight one like a struct)
mtkd has joined #ruby
<Burgestrand> flujan ah, that makes sense. Reason I asked was that if you're already using EventMachine you could just as well use the EM-based WS library, but if you're building something new you might want more choices.
gsilva has joined #ruby
<Burgestrand> fuzzyhorns that's a given, but I thought you asked on keywords vs positional arguments
<Burgestrand> fuzzyhorns my bad :)
ResidentBiscuit has quit [Ping timeout: 255 seconds]
<fuzzyhorns> Burgestrand: oh sure, just thinking through
<fuzzyhorns> Burgestrand: this coder has used them *everywhere* for *every* call because they make signatures "more explicit"
<fuzzyhorns> which i dont really buy :/
<Burgestrand> fuzzyhorns e.g. objc/swift uses keyword arguments heavily, and most of the time(*) the first argument is never a keyword, similarly most of the time argument 2+ is a keyword
<fuzzyhorns> interesting
Trynemjoel has joined #ruby
<elomatreb> They rarely make sense for methods with one (mandatory) argument, but as soon as there are two it can become difficult to arrange them in an order that makes sense
<fuzzyhorns> mm, though this'd mean the sweet spot is 2 arguments basically
centrx has joined #ruby
centrx has joined #ruby
centrx has quit [Changing host]
Rutix has joined #ruby
Rutix has joined #ruby
Rutix has quit [Changing host]
tristanp has joined #ruby
ponga has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
ponga has quit [Client Quit]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
roamingdog has joined #ruby
roamingdog has quit [Remote host closed the connection]
<dionysus69> I am about to be gifted this book on birthday https://www.amazon.com/exec/obidos/ASIN/0321721330/zenruby-20/ref=nosim/
<dionysus69> is it a good choice or should I tell them to get me a different one
<dionysus69> my goal is to learn ruby well, in general
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Silthias1 has joined #ruby
FastJack_ has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
Silthias2 has joined #ruby
Silthias has quit [Ping timeout: 240 seconds]
FastJack has quit [Read error: Connection reset by peer]
FastJack_ is now known as FastJack
jameser has joined #ruby
<matthewd> flujan: I switched the Action Cable tests to use https://github.com/shokai/websocket-client-simple -- it's pretty straight-forward, doesn't involve eventmachine, and works.. mostly (https://github.com/shokai/websocket-client-simple/pull/25)
millerti has joined #ruby
ferr1 has quit [Quit: WeeChat 1.6]
chouhoulis has joined #ruby
shinnya has joined #ruby
hllywluis has quit [Quit: Textual IRC Client: www.textualapp.com]
<flujan> matthewd: thanks for the tip.
Silthias1 has quit [Ping timeout: 255 seconds]
braincrash has quit [Ping timeout: 240 seconds]
ByronJohnson has quit [Ping timeout: 260 seconds]
gregf_ has quit [Ping timeout: 260 seconds]
jsrn__ has joined #ruby
ByronJohnson has joined #ruby
blackwind_123 has joined #ruby
jsrn has quit [Ping timeout: 240 seconds]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dionysus69 has quit [Remote host closed the connection]
millerti has joined #ruby
dionysus69 has joined #ruby
mim1k has joined #ruby
scootaloo has joined #ruby
scootaloo has quit [Client Quit]
scootaloo has joined #ruby
<scootaloo> o/
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gregf_ has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 240 seconds]
SteenJobs has joined #ruby
bkxd has joined #ruby
antgel has quit [Ping timeout: 260 seconds]
jameser has joined #ruby
matled has quit [Remote host closed the connection]
braincrash has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
millerti has joined #ruby
stoffus has joined #ruby
Lord_of_Life has quit [Excess Flood]
Lord_of_Life has joined #ruby
sepp2k has joined #ruby
Dimik has joined #ruby
antgel has joined #ruby
matled has joined #ruby
blackmesa has joined #ruby
jdm has joined #ruby
saslam has joined #ruby
anisha has quit [Quit: This computer has gone to sleep]
antgel has quit [Ping timeout: 255 seconds]
certainty has joined #ruby
patarr has joined #ruby
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
flujan has quit [Quit: flujan]
antoniobeyah has joined #ruby
synthroid has quit [Remote host closed the connection]
harfangk has joined #ruby
hutch34 has quit [Ping timeout: 268 seconds]
tatey has quit [Quit: ZNC - http://znc.in]
Emmanuel_Chanel has joined #ruby
choke has joined #ruby
NL3limin4t0r has left #ruby [#ruby]
aufi has quit [Quit: Leaving]
tatey has joined #ruby
tlaxkit has joined #ruby
patarr has quit [Ping timeout: 240 seconds]
benlieb has joined #ruby
hutch34 has joined #ruby
patarr has joined #ruby
Crunkmagnet has joined #ruby
mim1k has quit [Ping timeout: 260 seconds]
Fraeon has quit [Ping timeout: 240 seconds]
skweek has joined #ruby
conta has quit [Ping timeout: 255 seconds]
hahuang65 has quit [Remote host closed the connection]
|RicharD| has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
quiqua has quit [Quit: Textual IRC Client: www.textualapp.com]
Fraeon has joined #ruby
hellowarz has quit []
MittelDank has joined #ruby
certainty has quit [Ping timeout: 260 seconds]
bkxd has quit [Ping timeout: 240 seconds]
Fraeon has quit [Ping timeout: 260 seconds]
Fraeon has joined #ruby
l4v2 has joined #ruby
mwlang has quit [Quit: mwlang]
dcluna has quit [Ping timeout: 240 seconds]
aganov has quit [Remote host closed the connection]
mogaj has joined #ruby
banisterfiend has joined #ruby
nowhereman has joined #ruby
mark_66 has quit [Remote host closed the connection]
gusrub has joined #ruby
dcluna has joined #ruby
l4v2 has quit [Quit: l4v2]
cschneid_ has joined #ruby
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
SteenJobs has joined #ruby
Emmanuel_Chanel has quit [Ping timeout: 255 seconds]
Emmanuel_Chanel has joined #ruby
CAPRA-MAU has joined #ruby
djbkd has quit [Remote host closed the connection]
djbkd has joined #ruby
CheckRecipient has joined #ruby
blackmesa has quit [Ping timeout: 268 seconds]
SteenJobs has quit [Client Quit]
SteenJobs has joined #ruby
djbkd has quit [Ping timeout: 240 seconds]
brent__ has joined #ruby
<CheckRecipient> Hi all, I'm Sabrina, Chief of Staff at CheckRecipient, a machine learning company in London. We're tying to get involved in the London Ruby community so figured I'd see if people are around :)
gusrub has quit [Remote host closed the connection]
gusrub has joined #ruby
psychicist__ has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
bmurt has quit [Ping timeout: 260 seconds]
marcdel has joined #ruby
miguelfernandes has joined #ruby
brendan- has quit [Ping timeout: 260 seconds]
nettoweb has joined #ruby
aglorei has quit [Remote host closed the connection]
aglorei has joined #ruby
Snickers has joined #ruby
bmurt has joined #ruby
brendan- has joined #ruby
marcdel has quit [Ping timeout: 260 seconds]
mim1k has joined #ruby
synthroid has joined #ruby
d0nn1e has quit [Ping timeout: 240 seconds]
mitt3ns has joined #ruby
binaryplease has joined #ruby
d0nn1e has joined #ruby
redhedded1 has joined #ruby
agent_white has quit [Ping timeout: 240 seconds]
patarr has quit [Ping timeout: 240 seconds]
username1 has joined #ruby
marr has quit [Read error: Connection reset by peer]
scootaloo has quit [Quit: Textual IRC Client: www.textualapp.com]
amclain has joined #ruby
millerti has joined #ruby
mogaj has quit [Remote host closed the connection]
jsrn__ has quit [Quit: Leaving]
CheckRecipient has quit [Ping timeout: 260 seconds]
mogaj has joined #ruby
Pumukel has quit [Ping timeout: 240 seconds]
itarato has quit [Quit: WeeChat 1.4]
User458764 has joined #ruby
braincrash has quit [Ping timeout: 260 seconds]
SteenJobs_ has joined #ruby
jgnagy has joined #ruby
braincrash has joined #ruby
SteenJobs has quit [Ping timeout: 240 seconds]
SteenJobs_ is now known as SteenJobs
mogaj has quit [Ping timeout: 255 seconds]
flyingX has quit []
yehowyada has joined #ruby
jgnagy has quit [Ping timeout: 240 seconds]
markholmes has joined #ruby
skweek has quit [Ping timeout: 260 seconds]
shinnya has quit [Ping timeout: 260 seconds]
patarr has joined #ruby
troulouliou_div2 has quit [Quit: Leaving]
certainty has joined #ruby
bkxd has joined #ruby
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
blackmesa has joined #ruby
MittelDank has quit [Ping timeout: 260 seconds]
AckZ has joined #ruby
gsilva has quit [Ping timeout: 260 seconds]
Crunkmagnet has quit [Read error: Connection reset by peer]
jaruga has quit [Quit: jaruga]
sneakerhax has quit [Ping timeout: 260 seconds]
aspiers has quit [Ping timeout: 260 seconds]
<AckZ> hey all... wondering if anyone could help me understand what I'm seeing from some GC.dump_all output
<AckZ> looking at something like this: {"address":"0x7f0061829fe8", "type":"STRING", "class":"0x7f00607000c8", "frozen":true, "embedded":true, "fstring":true, "bytesize":11, "value":"@generation", "encoding":"US-ASCII", "memsize":40, "flags":{"wb_protected":true, "old":true, "uncollectible":true, "marked":true}}
<AckZ> in this entire heap dump, no objects have a "generation" key... is there any reason why that would happen?
<AckZ> also, everything is marked as uncollectible
milardovich has joined #ruby
jlebrech has quit [Remote host closed the connection]
|RicharD| has quit [Ping timeout: 268 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
|RicharD| has joined #ruby
jgnagy has joined #ruby
marxarelli has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
yosafbridge has quit [Quit: Leaving]
binaryplease has quit [Quit: binaryplease]
miguelfernandes has quit []
mikecmpbll has quit [Ping timeout: 240 seconds]
aupadhye has quit [Ping timeout: 240 seconds]
yosafbridge has joined #ruby
<matthewd> AckZ: Is there a reference to that string somewhere?
blackmesa has quit [Ping timeout: 240 seconds]
SteenJobs has quit [Quit: SteenJobs]
dionysus69 has quit [Ping timeout: 260 seconds]
okjdpi has quit [Remote host closed the connection]
TomyWork has quit [Ping timeout: 240 seconds]
SteenJobs has joined #ruby
milardovich has quit []
Rodya_ has quit [Remote host closed the connection]
<AckZ> none that I can find
certainty has quit [Ping timeout: 260 seconds]
andikr has quit [Remote host closed the connection]
mtkd has quit [Ping timeout: 240 seconds]
mtkd has joined #ruby
Guest24425 has quit [Remote host closed the connection]
Rodya_ has joined #ruby
agent_white has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
__Yiota has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
nofxx has joined #ruby
bmurt has joined #ruby
jetWhidbey has quit [Ping timeout: 255 seconds]
Beams has quit [Quit: .]
psychicist__ has quit [Ping timeout: 255 seconds]
<agent_white> Mornin' folks
dionysus69 has joined #ruby
roamingdog has joined #ruby
cagomez has joined #ruby
teclator has quit [Remote host closed the connection]
SeepingN has joined #ruby
SeepingN has quit [Client Quit]
tomphp has quit [Ping timeout: 240 seconds]
SeepingN has joined #ruby
roamingdog has quit [Ping timeout: 255 seconds]
Xentil has joined #ruby
tildes has joined #ruby
ych has joined #ruby
hahuang65 has joined #ruby
|RicharD| has quit [Ping timeout: 260 seconds]
bkxd has quit [Ping timeout: 255 seconds]
samdvr has joined #ruby
duderonomy has quit [Ping timeout: 240 seconds]
Cohedrin has joined #ruby
|RicharD| has joined #ruby
hahuang65 has quit [Client Quit]
User458764 has joined #ruby
tomaw has quit [Quit: Quitting]
tomaw has joined #ruby
djbkd has joined #ruby
Mia has quit [Read error: Connection reset by peer]
jgnagy has quit [Remote host closed the connection]
<ikopico> scroll buffers * +100%
<ikopico> scroll buffers * +100%
<ikopico> scroll buffers * -100%
<ikopico> scroll buffers * -100%
mogaj has joined #ruby
CAPRA-MAU has quit []
<ikopico> Oops sorry :/
<baweaver> it happens
<baweaver> at least you didn't type in your password XD
<ikopico> :D
<ikopico> God damn buffers
d0nn1e has quit [Ping timeout: 240 seconds]
Mia has joined #ruby
Mia has joined #ruby
DaveTaboola has joined #ruby
mogaj has quit [Ping timeout: 260 seconds]
Mia has quit [Read error: Connection reset by peer]
hahuang65 has joined #ruby
ur5us has joined #ruby
renchan has quit [Quit: Leaving...]
milardovich has joined #ruby
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
DaveTaboola has quit [Quit: Textual IRC Client: www.textualapp.com]
centrx has quit []
centrx has joined #ruby
quiqua has joined #ruby
Mia has quit [Read error: Connection reset by peer]
rakm has joined #ruby
samdvr has quit [Quit: samdvr]
tlaxkit has quit [Quit: ¡Adiós!]
psychicist__ has joined #ruby
Burgestrand has quit [Quit: Closing time!]
ElFerna has joined #ruby
d0nn1e has joined #ruby
ur5us has quit [Remote host closed the connection]
wingwalker has joined #ruby
wingwalker has quit [Max SendQ exceeded]
wingwalker has joined #ruby
DTZUZU has quit [Quit: WeeChat 1.5]
mogaj has joined #ruby
ElFerna has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
quiqua has quit [Quit: Textual IRC Client: www.textualapp.com]
milardovich has quit [Remote host closed the connection]
ElFerna has joined #ruby
spastorino has quit []
certainty has joined #ruby
mogaj has quit [Ping timeout: 268 seconds]
tildes_ has joined #ruby
renchan has joined #ruby
msg has joined #ruby
msg is now known as Guest5443
jtdoncas has quit [Ping timeout: 260 seconds]
tildes has quit [Ping timeout: 268 seconds]
jetWhidbey has joined #ruby
skweek has joined #ruby
mogaj has joined #ruby
aspiers has joined #ruby
mikecmpbll has joined #ruby
safetypin has joined #ruby
patarr_ has joined #ruby
mogaj has quit [Ping timeout: 260 seconds]
mogaj has joined #ruby
duderonomy has joined #ruby
ElFerna has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
patarr has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
marr has joined #ruby
nanoz has joined #ruby
TomyLobo has joined #ruby
Anonymoose2 has joined #ruby
mogaj has quit [Ping timeout: 255 seconds]
jdm has quit [Remote host closed the connection]
ElFerna has joined #ruby
jdm has joined #ruby
reverberations has quit [Ping timeout: 240 seconds]
ElFerna has quit [Client Quit]
centrx has quit [Read error: Connection reset by peer]
centrx has joined #ruby
centrx has joined #ruby
centrx has quit [Changing host]
ElFerna has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
SteenJobs has quit [Ping timeout: 260 seconds]
singalaut has quit [Ping timeout: 240 seconds]
cdg has quit [Ping timeout: 255 seconds]
cagomez has quit [Read error: Connection reset by peer]
bkxd has joined #ruby
cagomez has joined #ruby
singalaut has joined #ruby
jdm has quit [Remote host closed the connection]
jaruga has joined #ruby
hahuang65 has quit [Quit: WeeChat 1.7]
workmad3 has quit [Ping timeout: 268 seconds]
ElFerna has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DTZUZU has joined #ruby
milardovich has joined #ruby
blackmesa has joined #ruby
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ElFerna has joined #ruby
jdm has joined #ruby
harfangk has quit [Quit: Textual IRC Client: www.textualapp.com]
certainty has quit [Ping timeout: 260 seconds]
bocaneri has quit [Read error: Connection reset by peer]
synthroid has quit [Remote host closed the connection]
hahuang65 has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
synthroid has joined #ruby
kirun has joined #ruby
synthroid has quit [Ping timeout: 268 seconds]
cdg has joined #ruby
akaiiro has joined #ruby
hahuang65 has quit [Quit: WeeChat 1.7]
jaruga has quit [Quit: jaruga]
akaiiro has quit [Read error: Connection reset by peer]
ElFerna has quit [Ping timeout: 240 seconds]
banisterfiend has joined #ruby
samdvr has joined #ruby
jetWhidbey has quit [Remote host closed the connection]
cdg has quit [Ping timeout: 260 seconds]
jtdoncas has joined #ruby
Dimik has quit [Ping timeout: 260 seconds]
matcouto has quit [Remote host closed the connection]
samdvr has left #ruby [#ruby]
Guest5443 has quit [Remote host closed the connection]
hahuang65 has joined #ruby
synthroid has joined #ruby
jaruga has joined #ruby
bmurt has joined #ruby
wingwalker has quit [Ping timeout: 240 seconds]
jaruga has quit [Client Quit]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
mitt3ns has quit [Read error: Connection reset by peer]
mitt3ns has joined #ruby
gusrub has quit [Remote host closed the connection]
gusrub has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
chouhoul_ has joined #ruby
tomphp has joined #ruby
gusrub has quit [Remote host closed the connection]
gusrub has joined #ruby
chouhou__ has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
jackjackdripper has joined #ruby
iceden has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
disconnekted has joined #ruby
chouhoulis has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 268 seconds]
chouhoul_ has quit [Ping timeout: 260 seconds]
blackmesa has quit [Ping timeout: 260 seconds]
gusrub has quit [Remote host closed the connection]
Pumukel has joined #ruby
jsgrant- has joined #ruby
benlieb has quit [Quit: benlieb]
ur5us has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cagomez has quit [Read error: Connection reset by peer]
cagomez has joined #ruby
tomphp has joined #ruby
certainty has joined #ruby
jgnagy has joined #ruby
cagomez has quit [Client Quit]
al2o3-cr has joined #ruby
skweek has quit [Ping timeout: 240 seconds]
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
gusrub has joined #ruby
AndBobsYourUncle has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jgnagy has quit [Ping timeout: 255 seconds]
username1 has quit [Ping timeout: 255 seconds]
nanoz has quit [Ping timeout: 240 seconds]
markholmes has quit [Remote host closed the connection]
Rodya_ has quit [Remote host closed the connection]
tomphp has joined #ruby
Rodya_ has joined #ruby
roychri has quit [Quit: And that's the way the cookie crumbles!]
benlieb has joined #ruby
dionysus69 has quit [Ping timeout: 260 seconds]
Tilo has joined #ruby
synthroid has quit [Remote host closed the connection]
tomphp has quit [Client Quit]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
msg has joined #ruby
msg is now known as Guest14186
Rodya_ has quit [Ping timeout: 255 seconds]
maloik has quit [Remote host closed the connection]
maloik has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
Tilo has quit [Quit: Page closed]
benlieb has quit [Quit: benlieb]
coatezy has quit [Ping timeout: 240 seconds]
al2o3-cr has quit [Read error: Connection reset by peer]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
chouhoulis has joined #ruby
pilne has joined #ruby
al2o3-cr has joined #ruby
enterprisey has joined #ruby
chouhou__ has quit [Ping timeout: 240 seconds]
chouhoulis has quit [Remote host closed the connection]
coatezy has joined #ruby
yehowyada has quit [Ping timeout: 260 seconds]
chouhoulis has joined #ruby
griffindy has joined #ruby
dagelf has joined #ruby
tomphp has joined #ruby
benlieb has joined #ruby
milardovich has quit [Remote host closed the connection]
<ddffg> ff
milardovich has joined #ruby
boombox_ has joined #ruby
matcouto has joined #ruby
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
synthroid has joined #ruby
certainty has quit [Ping timeout: 268 seconds]
milardovich has quit [Ping timeout: 260 seconds]
mogaj has joined #ruby
marxarelli is now known as marxarelli|afk
Gasher has joined #ruby
case_ has quit [Quit: Leaving]
boombox_ has quit [Remote host closed the connection]
TheDukh has joined #ruby
mogaj has quit [Ping timeout: 260 seconds]
boombox_ has joined #ruby
tau has joined #ruby
bkxd has joined #ruby
jdm has quit [Remote host closed the connection]
centrx has quit []
chouhoul_ has joined #ruby
jdm has joined #ruby
mitt3ns has quit [Ping timeout: 240 seconds]
username1 has joined #ruby
mitt3ns has joined #ruby
boombox_ has quit [Ping timeout: 268 seconds]
jenrzzz has quit [Ping timeout: 268 seconds]
chouhoulis has quit [Ping timeout: 260 seconds]
_whitelogger_ has joined #ruby
saneax-_-|AFK has quit [Ping timeout: 240 seconds]
nettoweb has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rt has quit [Excess Flood]
saneax-_-|AFK has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
syndikate has joined #ruby
Pumukel has quit [Quit: ChatZilla 0.9.93 [Firefox 51.0.1/20170125094131]]
rt has joined #ruby
_whitelogger has quit [Remote host closed the connection]
jose_leeto has quit [Quit: Leaving.]
Dimik has joined #ruby
ldnunes has quit [Quit: Leaving]
cagomez has joined #ruby
cdg has joined #ruby
gloscombe_ has joined #ruby
hotpancakes has joined #ruby
neoncortex has joined #ruby
skweek has joined #ruby
benlieb has quit [Quit: benlieb]
szulak has joined #ruby
bmurt has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
centrx has joined #ruby
jtdoncas has quit [Ping timeout: 240 seconds]
benlieb has joined #ruby
DLSteve has quit [Quit: All rise, the honorable DLSteve has left the channel.]
synthroid has quit []
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cgdub has joined #ruby
cgdub has quit [Remote host closed the connection]
tomphp has joined #ruby
bkxd has quit [Ping timeout: 255 seconds]
SeepingN has quit [Remote host closed the connection]
SeepingN has joined #ruby
renchan has quit [Remote host closed the connection]
rwb has quit [Ping timeout: 268 seconds]
workmad3 has joined #ruby
gregf_ has quit [Ping timeout: 260 seconds]
tyang has quit [Ping timeout: 268 seconds]
maloik77 has joined #ruby
maloik has quit [Remote host closed the connection]
marsjaninzmarsa has joined #ruby
hotpanca_ has joined #ruby
Gasher has quit [Quit: Leaving]
futilegames has joined #ruby
hotpancakes has quit [Ping timeout: 255 seconds]
blackmesa has joined #ruby
gsilva has joined #ruby
certainty has joined #ruby
ur5us has quit [Remote host closed the connection]
ych has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
futilegames has quit [Quit: futilegames]
ur5us has joined #ruby
ur5us has quit [Remote host closed the connection]
ur5us has joined #ruby
ur5us has quit [Remote host closed the connection]
futilegames has joined #ruby
marxarelli|afk is now known as marxarelli
cagomez has quit [Read error: Connection reset by peer]
cagomez has joined #ruby
futilegames has quit [Client Quit]
futilegames has joined #ruby
tomphp has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
futilegames has left #ruby [#ruby]
t-recx has quit [Quit: t-recx]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
szulak has quit [Quit: Textual IRC Client: www.textualapp.com]
SteenJobs has joined #ruby
prestorium has quit [Quit: Leaving]
jamesaxl has quit [Quit: Leaving]
workmad3 has quit [Ping timeout: 240 seconds]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
roamingdog has joined #ruby
Dimik has quit [Ping timeout: 260 seconds]
psychicist__ has quit [Ping timeout: 240 seconds]
kirun has quit [Quit: Konversation terminated!]
roamingdog has quit [Ping timeout: 260 seconds]
swgillespie has joined #ruby
swgillespie has quit []
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
ych has joined #ruby
swgillespie has joined #ruby
gsilva has quit [Quit: Leaving]
certainty has quit [Ping timeout: 240 seconds]
cpruitt has quit [Quit: cpruitt]
Azure has joined #ruby
enterprisey has quit [Read error: Connection reset by peer]
fuzzyhorns has quit [Quit: Leaving.]
tildes_ has quit [Ping timeout: 240 seconds]
<newrubycoder> when using case instead of if, how do i use greater than or less than? the < > signs dont seem to work
benlieb has quit [Quit: benlieb]
<Papierkorb> newrubycoder: If you need that, don't use `case`.
Xentil has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<Papierkorb> newrubycoder: You could use a proc like this: `case 3; when ->(x){ x > 1 } then puts "ok"; end` But that's much harder to read than a simple if
mim1k has joined #ruby
bkxd has joined #ruby
<newrubycoder> Papierkorb: doing an exercise where if is illegal to use. 0..50 works fine, but it would be ridicolous to write like 100..(max integer)
<Papierkorb> newrubycoder: actually, I'd go with the `100..max_int` solution over the (still possible) proc solution
griffindy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<baweaver> newrubycoder: link to question?
<Papierkorb> newrubycoder: Cause that reads like "when that thing is between 100 and that max_int, do this", while for the proc, the reader has to decipher that intent first
<newrubycoder> Papierkorb: do you know the max integer? or is max_int correct?
<Papierkorb> No I abbreviated that, it's pseudo-ish code, not the real solution
centrx has quit []
<newrubycoder> honestly i guess the way the exercise is framed, i can just put it in the else, but then the code wont work for negative integers which is sort of a bug
Azure has quit [Quit: Oops.]
mim1k has quit [Ping timeout: 240 seconds]
TheDukh has quit []
disconnekted has quit []
<Papierkorb> newrubycoder: Looking at 4), your idea with the case solution using ranges sounds good to me
mim1k has joined #ruby
<baweaver> It says explicitly that it's for 0 to 100
<baweaver> don't worry about edge cases not in the problem spec
Azure has joined #ruby
<baweaver> because it'd be silly to use a case statement for this in real code anyways
<newrubycoder> okay thanks
Azure has quit [Client Quit]
TheBrayn has quit [Ping timeout: 240 seconds]
wingwalker has joined #ruby
Snickers has quit [Quit: Snickers]
ych has quit [Quit: Textual IRC Client: www.textualapp.com]
benlieb has joined #ruby
mim1k has quit [Ping timeout: 240 seconds]
cibs has quit [Ping timeout: 260 seconds]
d^sh has quit [Ping timeout: 260 seconds]
cibs has joined #ruby
d^sh has joined #ruby
cdg has quit [Remote host closed the connection]
CloCkWeRX has joined #ruby
SteenJobs has quit [Quit: SteenJobs]
xen0fon has quit [Remote host closed the connection]
rwb has joined #ruby
mtkd has quit [Ping timeout: 255 seconds]
mtkd has joined #ruby
TheBrayn has joined #ruby
biberu has quit []
el_ocho[m] has joined #ruby
__Yiota has joined #ruby
benlieb has quit [Quit: benlieb]
nettoweb has joined #ruby
<newrubycoder> Papierkorb: btw what does the -> symbol do?
tomphp has joined #ruby
<Papierkorb> newrubycoder: `->(x){ y }` is the stabby-lambda (because -> looks like a dagger or so), which takes `x` as arguments and will execute `y` when #call'd. It is almost identical to `lambda{|x| y}`
jsgrant- has quit [Quit: Peace Peeps. o/ If you need me asap, message me at msg@jsgrant.io & I'll try to get back to you within 36 hours.]
<Papierkorb> newrubycoder: Actually, the parantheses are optional. You could also write `-> x { y }`, but I think most do write the parantheses for readability
tomphp has quit [Client Quit]
chouhoul_ has quit [Ping timeout: 240 seconds]
<newrubycoder> seems useful tbh
<Papierkorb> it absolutely it
<Papierkorb> it absolutely is *
hahuang65 has quit [Read error: Connection reset by peer]
agent_white has quit [Quit: bbl]
jenrzzz has quit [Ping timeout: 260 seconds]
toretore has quit [Ping timeout: 260 seconds]
ruby[bot] has quit [Remote host closed the connection]
skweek has quit [Ping timeout: 240 seconds]
ruby[bot] has joined #ruby
al2o3-cr has quit [Ping timeout: 255 seconds]
hutch34 has quit [Ping timeout: 240 seconds]
jtdoncas has joined #ruby
safetypin has quit [Quit: ZZZzzz…]
banisterfiend has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
al2o3-cr has joined #ruby
banisterfiend has joined #ruby
mogaj has joined #ruby
nettoweb has quit [Read error: Connection reset by peer]
nettoweb has joined #ruby
mogaj has quit [Ping timeout: 240 seconds]
ljarvis has quit [Ping timeout: 240 seconds]
bkxd has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
ljarvis has joined #ruby
Lord_of_Life has quit [Excess Flood]
__Yiota has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Lord_of_Life has joined #ruby
cagomez has quit [Remote host closed the connection]
skweek has joined #ruby
cagomez has joined #ruby
sepp2k has quit [Read error: Connection reset by peer]
__Yiota has joined #ruby
cagomez has quit [Remote host closed the connection]
cagomez has joined #ruby
jtdoncas has quit [Ping timeout: 255 seconds]
Batholith has quit [Quit: ZNC - http://znc.in]
Guest14186 has quit [Remote host closed the connection]
surrounder has quit [Ping timeout: 240 seconds]
sentriz has quit [Ping timeout: 245 seconds]
jackjackdripper1 has joined #ruby
tjvc_ has quit [Ping timeout: 276 seconds]
surrounder has joined #ruby
tjvc has joined #ruby
tjvc has joined #ruby
tjvc has quit [Changing host]
jackjackdripper has quit [Ping timeout: 260 seconds]
matcouto has quit []
sentriz has joined #ruby
icbm has joined #ruby
saslam has quit [Ping timeout: 240 seconds]
msg has joined #ruby
msg is now known as Guest41479
Rutix has quit []
tekniq has joined #ruby
Guest41479 has quit [Ping timeout: 255 seconds]
jtdoncas has joined #ruby
cdg has joined #ruby
cibs has quit [Ping timeout: 260 seconds]
skweek has quit [Ping timeout: 240 seconds]
cibs has joined #ruby
hutch34 has joined #ruby
rizonz has quit [Quit: Lost terminal]
agent_white has joined #ruby
marr has quit [Ping timeout: 240 seconds]