apeiros_ changed the topic of #ruby to: Ruby 2.2.0; 2.1.5; 2.0.0-p598; 1.9.3-p551: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
oleo has quit [Quit: Verlassend]
timonv_ has quit [Ping timeout: 245 seconds]
AlSquire has quit [Quit: Quitte]
Musashi007 has quit [Read error: Connection reset by peer]
dorei has quit []
Musashi007 has joined #ruby
jack_rabbit has quit [Ping timeout: 250 seconds]
mrshu has left #ruby ["WeeChat 0.4.2"]
Vile` has quit [Quit: ,]
dextaa has quit [Ping timeout: 252 seconds]
lkba has joined #ruby
lkba_ has quit [Read error: Connection reset by peer]
<shevy> oh cool
<shevy> optionparser defines a handler for --help by default?
<shevy> I just noticed because my .rb file responded to --help but I did not set this in my script
Pattt has quit [Ping timeout: 245 seconds]
Pattt has joined #ruby
adriancb has joined #ruby
i8igmac has quit [Ping timeout: 272 seconds]
oleo has joined #ruby
it0a has joined #ruby
jdj_dk has joined #ruby
koderok has joined #ruby
koderok has quit [Client Quit]
neoxquick has quit [Ping timeout: 272 seconds]
cmarques has joined #ruby
jidar has joined #ruby
msmith_ has joined #ruby
Vile` has joined #ruby
yfeldblum has quit [Remote host closed the connection]
pdlug has joined #ruby
AlSquire has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
i8igmac has joined #ruby
msmith_ has quit [Ping timeout: 250 seconds]
claudiuinberlin has quit [Quit: Leaving.]
jdj_dk has quit [Read error: Connection reset by peer]
ponga has joined #ruby
josephndenton has joined #ruby
ta has joined #ruby
Pattt has quit [Ping timeout: 244 seconds]
jphenow has quit [Ping timeout: 244 seconds]
bogeyd6 has quit [Ping timeout: 245 seconds]
Zai00 has quit [Quit: Zai00]
ponga has quit [Ping timeout: 245 seconds]
josephndenton has quit [Ping timeout: 250 seconds]
charliesome has joined #ruby
Pattt has joined #ruby
CrazyM4n has quit [Remote host closed the connection]
dcarmich has quit [Quit: Textual IRC Client: www.textualapp.com]
kirun has quit [Quit: Client exiting]
Pattt has quit [Client Quit]
basex has joined #ruby
m8 has quit [Quit: Sto andando via]
pu22l3r has joined #ruby
reinaldob has joined #ruby
amundj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
spider-mario has quit [Read error: Connection reset by peer]
kiyote23 has joined #ruby
dx7iso has quit [Remote host closed the connection]
basex has quit [Ping timeout: 264 seconds]
pu22l3r has quit [Ping timeout: 258 seconds]
it0a has quit [Ping timeout: 265 seconds]
LouisRoR has joined #ruby
reinaldob has quit [Remote host closed the connection]
arescorpio has joined #ruby
Azure has joined #ruby
pandaant has quit [Remote host closed the connection]
banister has joined #ruby
kiyote23 has quit [Remote host closed the connection]
pu22l3r has joined #ruby
jdj_dk has joined #ruby
nisscrooge has joined #ruby
nisscrooge has quit [Changing host]
nisscrooge is now known as nisstyre
chipotle has joined #ruby
hpoydar has joined #ruby
iamjarvo has joined #ruby
DLSteve_ has quit [Quit: Leaving]
davedev24_ has joined #ruby
CpuID has joined #ruby
CpuID has quit [Changing host]
CpuID has joined #ruby
davedev2_ has quit [Ping timeout: 244 seconds]
hpoydar has quit []
ziyadb has quit [Quit: Connection closed for inactivity]
yfeldblum has joined #ruby
marr has quit [Ping timeout: 255 seconds]
Menorah has joined #ruby
kasperti_ has quit []
bogeyd6 has joined #ruby
Sawbones has joined #ruby
robustus has quit [Ping timeout: 255 seconds]
<shevy> anyone remembers offhand in which .gemspec field to add a link towards e. g. the project's github site?
yfeldblum has quit [Ping timeout: 255 seconds]
jdj_dk has quit [Ping timeout: 240 seconds]
robustus has joined #ruby
boadie has quit [Read error: Connection reset by peer]
boadie has joined #ruby
Sawbones has quit [Ping timeout: 258 seconds]
DadoCe has joined #ruby
dtordable has quit [Quit: Lost terminal]
djbkd has joined #ruby
cmarques has quit [Remote host closed the connection]
fantazo has quit [Quit: Verlassend]
zacts has quit [Quit: leaving]
<pontiki> which .gemspec file? how many does your gem have?
<pontiki> oh sorry, *field*
<pontiki> .homepage
zacts has joined #ruby
zacts has quit [Client Quit]
aswen has joined #ruby
Youka has left #ruby [#ruby]
CpuID has quit [Quit: This computer has gone to sleep]
Akuma has quit [Quit: So long sukkas!]
jphenow has joined #ruby
DadoCe has quit [Ping timeout: 244 seconds]
zacts has joined #ruby
zacts has quit [Changing host]
zacts has joined #ruby
djbkd has quit [Ping timeout: 244 seconds]
havenwood has quit [Remote host closed the connection]
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
charliesome has quit [Quit: zzz]
lorenzo3 has joined #ruby
<shevy> oh yeah I was dumb
<shevy> I put up rubygems.org/NAME_OF_PROJECT there :\
adriancb has quit [Remote host closed the connection]
<shevy> which kinda is pointless, as most people will already be at rubygems.org to read a gem description
asmodlol has quit [Ping timeout: 250 seconds]
asmodlol has joined #ruby
ponga has quit [Ping timeout: 240 seconds]
nfk has quit [Quit: yawn]
dx7iso has joined #ruby
fandi has joined #ruby
Takle_ has quit [Remote host closed the connection]
Menorah has quit [Quit: This computer has gone to sleep]
oo_ has joined #ruby
jdj_dk has joined #ruby
timonv_ has joined #ruby
oo_ has quit [Ping timeout: 252 seconds]
Jameser` has quit [Ping timeout: 252 seconds]
Menorah has joined #ruby
asmodlol has quit [Ping timeout: 256 seconds]
charliesome has joined #ruby
timonv_ has quit [Ping timeout: 250 seconds]
TgMts has quit [Ping timeout: 252 seconds]
asmodlol has joined #ruby
pu22l3r has quit [Remote host closed the connection]
hiyosi has joined #ruby
Joufflu has joined #ruby
TgMts has joined #ruby
aswen has quit [Ping timeout: 245 seconds]
<tejas-manohar> shevy: have a moment to answer a question on string formatting?
pu22l3r has joined #ruby
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
agrinb has joined #ruby
jdj_dk has quit [Ping timeout: 245 seconds]
<shevy> these are meta questions
<shevy> just ask the question
<shevy> if it can be answered it will be answered ;)
<tejas-manohar> shevy: im working on making a site that takes in a gist url and a language and executes it via eval.in, i found https://github.com/Mon-Ouie/cinch-eval-in/blob/master/lib/cinch/plugins/eval_in.rb which is a replacement for the current eval-in__ bot that is triggered via ">>" in this IRC room. trying to include this string formatting to remove the stack trace and just show error https://github.com/Mon-Ouie/cinch-eval-in/blob/master
<tejas-manohar> shevy: into my app when there's an error https://github.com/tejasmanohar/pasterunner/blob/master/app.rb
<tejas-manohar> shevy: mine works till that point tho it shows the output but it doesn't parse to remove the stack trace, i'm not really sure how to attack this, i see the author of that IRC bot is using string formatting but I'm not sure how rescue Exception etc works since the code is being run on eval.in and not locally
<tejas-manohar> shevy: any idea on how to implement the string formatting to remove stacktrace in my app? im not using any different templates like new or old maybe i needa make a template or someting?
<shevy> well I don't know the code of that bot
LouisRoR has quit [Ping timeout: 252 seconds]
<shevy> and I am not sure which string formatting you need or have
<shevy> let's first start with Exceptions
<shevy> you understand how they work?
<shevy> or rather how you use them in your code
<shevy> it's always a problem when you use code written by someone else by the way
<shevy> sometimes it is just hard to understand
<tejas-manohar> shevy: yeah i understand exceptions
<tejas-manohar> shevy: this is p much like try/catch stuff in java
<shevy> I don't know java either :-)
<shevy> that is just a forced put isn't it?
<shevy> rescue Exception => e
<shevy> $stderr.puts "\#{e.class}: \#{e}"
chrishough has joined #ruby
msmith_ has joined #ruby
<tejas-manohar> shevy: god that looks like perl-- so e is the event or what?
<shevy> the page link you gave for the error: https://github.com/Mon-Ouie/cinch-eval-in/blob/master
<shevy> it does not work
<shevy> well e is just the name of the variable
<shevy> I myself prefer to use this:
<shevy> rescue Exception => error
<shevy> $stderr is the stream that is used if errors are used
<tejas-manohar> shevy: ah so its saying when Exception happens catch it there and do the code below
<shevy> you could also use STDERR instead, it is almost the same
<shevy> yes
<shevy> Exception is the general name
<shevy> you have lots of exception types, it is like handlers
ARCADIVS has joined #ruby
<tejas-manohar> shevy: but what im asking is that exception isn't happening on the bot's code
<tejas-manohar> shevy: it's happening on eval.in
<shevy> rescue LoadError is the one you can rescue if a file is not existing
<tejas-manohar> >> qweneioqwneqwe
<eval-in__> tejas-manohar => undefined local variable or method `qweneioqwneqwe' for main:Object (NameError) ... (https://eval.in/237696)
<tejas-manohar> shevy: like that ^
<shevy> and the code of it is where?
<shevy> that actually sounds like default ruby error report
<shevy> the bot only prefaces it with your name
<tejas-manohar> shevy: it runs it on eval.in
<shevy> I don't believe this
<shevy> I mean he uses your name there too
<tejas-manohar> shevy: why? well, shevy thats not hte exact code
<shevy> and I don't see where the name is used in the code that you linked
<tejas-manohar> shevy: he wrote a copy bot
<tejas-manohar> shevy: when eval-in__ was away
<shevy> require 'cinch'
<shevy> actually this is using the cinch bot
<tejas-manohar> shevy: yes, its not the same bot
<shevy> but anyway what was the problem again hehehe
<tejas-manohar> shevy: you understand what im asking or no? im writing a separate app https://github.com/tejasmanohar/pasterunner/blob/master/app.rb#L24
<shevy> well, how do you intercept errors
<tejas-manohar> shevy: basically i wanna know how i can use string formatting to remove stack trace from this line's output https://github.com/tejasmanohar/pasterunner/blob/master/app.rb#L41
<tejas-manohar> shevy: thats what im not sure
<tejas-manohar> shevy: the same way the bot i linked earlier does, i just wanna know how thats working lol
<shevy> I don't like the style you use there
<shevy> I prefer begin/rescue/end
<shevy> def foo; if bla; else; raise; end; end
msmith_ has quit [Ping timeout: 245 seconds]
<shevy> I don't like that style
<tejas-manohar> shevy: hmmm idk how to do it elseway
<tejas-manohar> shevy: that part works tho, you can link me a gist of what you mean if you want
<shevy> I am not sure, in the code you showed there is no error handling
<tejas-manohar> shevy: yeah there isn't idk how the bot is doing it
<shevy> so I assume some other code part will intercept these raised errors
<shevy> for instance:
<tejas-manohar> shevy: which code part of https://github.com/Mon-Ouie/cinch-eval-in/blob/master/lib/cinch/plugins/eval_in.rb is intercepting error?
<shevy> rescue Exception <------- here you pass the name to rescue an exception
<shevy> in your code:
<shevy> raise FormatError
<shevy> you would rescue it like so:
<shevy> rescue FormatError
<shevy> yes, he is doing it there below
<shevy> he is even using begin
<tejas-manohar> shevy: yes, yes, but how is the bot intercepting errors from eval.in ?
<tejas-manohar> shevy: Hmmm
<shevy> I like his code more than I like your code :)
<shevy> begin
<shevy> $stdout.puts((#{code}).inspect) <---- here an error can happen
<shevy> so he does this next:
<shevy> rescue Exception
<shevy> $stderr.puts "\#{$!.type}: \#{$!}" <---- here he rescues it, and sends out another formatted string to the user
<tejas-manohar> shevy: what is code.inspect going to do like in what case would that error
<shevy> you know the method #inspect?
<shevy> >> class Foo; end; foo = Foo.new; foo.inspect
<eval-in__> shevy => "#<Foo:0x418c0ed8>" (https://eval.in/237697)
<shevy> so this is how #inspect looks like ok
<tejas-manohar> shevy: yeah so in what case would that error
<shevy> and to your question what code.inspect would be doing
<shevy> that depends on what was passed:
Cache_Money has joined #ruby
<shevy> def old_template(code)
<shevy> you see the input to it. it could be anything
<shevy> well for instance
<shevy> if you don't have an object able to respond to #inspect
<shevy> perhaps more, I don't know
<shevy> I don't like template-generating code either ;-)
<tejas-manohar> shevy: hehe
josephndenton has joined #ruby
<shevy> unless it is for something stupid
<shevy> for instance I have autogenerated methods that looked like this:
<shevy> def cyan; 'cyan'; end
<shevy> hmm or rather
<shevy> def cyan(i); 'cyan'+i; end
<shevy> or something liket hat
<shevy> nah, it was a bit more complicated, I just want to output html colours
<shevy> cyan 'hello world!'
tombroomfield has joined #ruby
<tejas-manohar> shevy: o
jaequery has joined #ruby
<tejas-manohar> shevy: if i have a string is there any way to find out if the first 13 characters are "/tmp/execpad-"
jaequery has quit [Read error: Connection reset by peer]
bashusr has quit [Ping timeout: 252 seconds]
<shevy> well
jaequery has joined #ruby
<shevy> you know the [] operator
jaequery has quit [Read error: Connection reset by peer]
<tejas-manohar> shevy: for like ranges and such?
lorenzo3 has left #ruby [#ruby]
<shevy> yes
<shevy> but for Arrays too
<shevy> and for Strings as well
<shevy> you see a common pattern here!
<shevy> have you never used [] on a String object?
<tejas-manohar> shevy: split to chars?
jaequery has joined #ruby
<shevy> wat
jaequery has quit [Read error: Connection reset by peer]
<tejas-manohar> shevy: that makes it like a char array i suppose?
<shevy> the [] method on a string object
<tejas-manohar> >> "test"[0]
<eval-in__> tejas-manohar => "t" (https://eval.in/237699)
<tejas-manohar> ok
<tejas-manohar> yeah so its like a char array
<shevy> so now you answered your own question
<tejas-manohar> lol yeah i think
<shevy> because you know you want to find 13 characters
<shevy> so now you know the start position; and the end position
jaequery has joined #ruby
<shevy> >> "foobar"[0,13]
josephndenton has quit [Ping timeout: 256 seconds]
<eval-in__> shevy => "foobar" (https://eval.in/237700)
jaequery has quit [Read error: Connection reset by peer]
<tejas-manohar> >> '/tmp/execpad-oqiwnemioqwemnpqweiwmpqe'[0..13] === '/tmp/execpad-'
<eval-in__> tejas-manohar => false (https://eval.in/237701)
<tejas-manohar> >> '/tmp/execpad-oqiwnemioqwemnpqweiwmpqe'[0...13] === '/tmp/execpad-'
<eval-in__> tejas-manohar => true (https://eval.in/237702)
<tejas-manohar> shevy: thats the way you'd do it?
<pontiki> the return of eval-in__ !!
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
<shevy> well we use == tejas-manohar
bashusr has joined #ruby
<shevy> === is rare
<tejas-manohar> shevy: why not compare type too?
<shevy> compare what here
<shevy> you have a string
<tejas-manohar> shevy: sry im from javascript land where == is frowned upon
<shevy> you only wanted to compare the first 13 characters
<tejas-manohar> shevy: but why not always use === to be safe
<pontiki> this is ruby, tejas-manohar
<shevy> I don't know javascript
<tejas-manohar> so the standard is == ?
<tejas-manohar> not === ?
<shevy> tejas-manohar the semantics are not the same; case menu in ruby uses ===
<pontiki> == and === are different operations in ruby than javascript
<tejas-manohar> oh
<tejas-manohar> i was assuming php, js, rubvy all on same lines apparently not
<shevy> Ruby?s === operator is often called the ?case equality? operator
<tejas-manohar> lemme read
<gr33n7007h> >> '/tmp/execpad-oqiwnemioqwemnpqweiwmpqe'.start_with?('/tmp/execpad')
<eval-in__> gr33n7007h => true (https://eval.in/237703)
<shevy> tejas-manohar do you know the wat video about javascript?
<shevy> oh yeah tejas-manohar
jaequery has joined #ruby
<shevy> gr33n7007h's way is the literal english way
jaequery has quit [Read error: Connection reset by peer]
<shevy> "object, do you start with foo?"
<tejas-manohar> ohhhhh
<tejas-manohar> i like that
<shevy> but I like [] because it is the same across strings and arrays
<tejas-manohar> yeah true true but i like my code to talk to me
<shevy> and I can start counting from anywhere, like [5,8]
<shevy> yeah I can understand it
basex has joined #ruby
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
<shevy> lately I started changing me: foo = foo[0] towards foo = foo.first for Arrays
<tejas-manohar> >> str = "Hello\nWorld\n"; str.lines.count
<eval-in__> tejas-manohar => 2 (https://eval.in/237704)
<shevy> because everyone knows what .first will refer to
<tejas-manohar> thats OP
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
<shevy> "It's only Array === [] that's equivalent to [].is_a?(Array)."
jaequery has joined #ruby
<shevy> cool, I did not know or think about that
jaequery has quit [Read error: Connection reset by peer]
Kellin has quit [Quit: leaving]
<tejas-manohar> shevy: do you guys usually do && or and
<tejas-manohar> >> 2 && 3 and 4
<eval-in__> tejas-manohar => 4 (https://eval.in/237705)
<tejas-manohar> lol wat
jdj_dk has joined #ruby
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
<shevy> I try to use and when possible
<shevy> the problem is, && is stronger
<pontiki> most folks follow some form of the github ruby style guide, which says "use && instead of and"
<pontiki> it's generally an issue of precedence
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
<pontiki> or rather, forgetting that there's precedence differences between them
jaequery has joined #ruby
oo_ has joined #ruby
basex has quit [Ping timeout: 272 seconds]
jaequery_ has joined #ruby
jaequery_ has quit [Read error: Connection reset by peer]
<shevy> tejas-manohar here is the original wat talk, it is great https://www.destroyallsoftware.com/talks/wat
jaequery_ has joined #ruby
jaequery_ has quit [Read error: Connection reset by peer]
jaequery_ has joined #ruby
jaequery_ has quit [Read error: Connection reset by peer]
jaequery_ has joined #ruby
asmodlol has quit [Ping timeout: 255 seconds]
jaequery has quit [Ping timeout: 245 seconds]
jaequer__ has joined #ruby
<tejas-manohar> shevy: lol ok
asmodlol has joined #ruby
<shevy> the pictures are great
<shevy> the giant duckling
<shevy> darth vader filtering salt water
jaequery_ has quit [Ping timeout: 245 seconds]
davedev24_ has quit [Ping timeout: 258 seconds]
DadoCe has joined #ruby
dx7iso has quit [Remote host closed the connection]
startupality has joined #ruby
Sawbones has joined #ruby
DadoCe has quit [Ping timeout: 252 seconds]
nicolastarzia has joined #ruby
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
jaequer__ has quit [Ping timeout: 240 seconds]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jaequery has joined #ruby
jaequery has quit [Write error: Connection reset by peer]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
jdj_dk has quit [Ping timeout: 256 seconds]
jaequery has joined #ruby
nicolastarzia has quit [Ping timeout: 264 seconds]
jaequery has quit [Read error: Connection reset by peer]
eka has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
pdlug has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
pdlug has joined #ruby
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
davedev24_ has joined #ruby
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
jaequery has joined #ruby
TgMts_ has joined #ruby
anskeit has quit []
rlvm has quit [Ping timeout: 244 seconds]
josephndenton has joined #ruby
jaequery has quit [Max SendQ exceeded]
spastorino has quit [Quit: Connection closed for inactivity]
eka has joined #ruby
TgMts has quit [Ping timeout: 244 seconds]
yfeldblum has joined #ruby
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
asmodlol has quit [Ping timeout: 258 seconds]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
hephaestus_rg has joined #ruby
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
asmodlol has joined #ruby
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
<tejas-manohar> shevy: LOL that was great btw
<tejas-manohar> shevy: how can i remove first line from string?
Joufflu has quit [Ping timeout: 258 seconds]
jaequery has joined #ruby
<shevy> depends
Sawbones has quit [Remote host closed the connection]
jaequery has quit [Read error: Connection reset by peer]
sevenseacat has joined #ruby
Soda has quit [Remote host closed the connection]
<shevy> >> string = "abc\ndef"; string[0, string.index("\n")+1] = ''; string
<eval-in__> shevy => "def" (https://eval.in/237707)
yfeldblum has quit [Ping timeout: 240 seconds]
jaequery has joined #ruby
apeiros_ has joined #ruby
<shevy> if you have an Array then it is even simpler
jaequery has quit [Read error: Connection reset by peer]
Cache_Money has quit [Quit: Cache_Money]
<shevy> hmm I have to learn C in 2015
apeiros_ has quit [Remote host closed the connection]
jaequery has joined #ruby
apeiros_ has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
iamjarvo has joined #ruby
Sawbones has joined #ruby
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
rkazak___ has joined #ruby
rkazak___ is now known as rkazak
jaequery has joined #ruby
Takle has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
<pontiki> that should be interesting
dts|pokeball has quit [Ping timeout: 272 seconds]
jaequery has joined #ruby
jamto11 has joined #ruby
conniemj__ has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
apeiros_ has quit [Remote host closed the connection]
jaequery has joined #ruby
Takle has quit [Ping timeout: 240 seconds]
jaequery has quit [Read error: Connection reset by peer]
Sawbones has quit [Remote host closed the connection]
apeiros_ has joined #ruby
Sawbones has joined #ruby
jaequery has joined #ruby
radic has quit [Ping timeout: 245 seconds]
jaequery has quit [Read error: Connection reset by peer]
asmodlol has quit [Ping timeout: 272 seconds]
rkazak has quit [Quit: Sleep.....ing....]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
radic has joined #ruby
jdj_dk has joined #ruby
dts|pokeball has joined #ruby
startupality has quit [Quit: startupality]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
Jet4Fire has quit []
asmodlol has joined #ruby
TgMts_ has quit [Quit: No Ping reply in 180 seconds.]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
jaequery has joined #ruby
lzx has joined #ruby
TgMts has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yfeldblum has joined #ruby
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
jaequery has joined #ruby
maletor has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
rkazak has joined #ruby
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
jaequery has joined #ruby
<pontiki> i need to refactor some tools
jaequery has quit [Read error: Connection reset by peer]
<pontiki> too much coupling!!
pu22l3r has quit [Read error: No route to host]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
pu22l3r has joined #ruby
yfeldblum has quit [Ping timeout: 258 seconds]
oo_ has quit [Remote host closed the connection]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
kiyote23 has joined #ruby
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
frem has joined #ruby
rkazak has left #ruby [#ruby]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
jaequery has joined #ruby
<bradland> is rje actually a thing?
jaequery has quit [Read error: Connection reset by peer]
<bradland> jaequery: yer client is blowing up.
TgMts has quit [Quit: No Ping reply in 180 seconds.]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
TgMts has joined #ruby
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
Menorah has quit [Quit: This computer has gone to sleep]
jdj_dk has quit [Ping timeout: 244 seconds]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
timonv_ has joined #ruby
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
Menorah has joined #ruby
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
jaequery has joined #ruby
KnownSyntax has quit [Quit: Connection closed for inactivity]
jaequery has quit [Read error: Connection reset by peer]
timonv_ has quit [Ping timeout: 256 seconds]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
Sawbones has quit [Remote host closed the connection]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
TgMts has quit [Ping timeout: 255 seconds]
sargas has joined #ruby
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
pu22l3r has quit [Remote host closed the connection]
Musashi007 has quit [Quit: Musashi007]
conniemj__ has quit [Quit: (null)]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
tus has quit []
jaequery has joined #ruby
asmodlol has quit [Ping timeout: 240 seconds]
jaequery has quit [Read error: Connection reset by peer]
asmodlol has joined #ruby
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
jaequery has joined #ruby
msmith_ has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
josephndenton has quit [Ping timeout: 265 seconds]
jenrzzz has quit [Client Quit]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
weaksauce has quit [Quit: Textual IRC Client: www.textualapp.com]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
weaksauce has joined #ruby
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
Deele has quit [Ping timeout: 244 seconds]
msmith_ has quit [Ping timeout: 264 seconds]
Sawbones has joined #ruby
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
Fusl has quit [Remote host closed the connection]
oo_ has joined #ruby
sargas has quit [Quit: This computer has gone to sleep]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
jaequery has joined #ruby
hamakn has joined #ruby
sargas has joined #ruby
tombroomfield has quit [Read error: No route to host]
jaequery has quit [Read error: Connection reset by peer]
tombroomfield has joined #ruby
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
sargas has quit [Client Quit]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
oo_ has quit [Ping timeout: 244 seconds]
lzx has quit [Remote host closed the connection]
jdj_dk has joined #ruby
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
Musashi007 has joined #ruby
gja has joined #ruby
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
AlSquire has quit [Quit: This computer has gone to sleep]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
jaequery has joined #ruby
kiyote23 has quit [Remote host closed the connection]
dts|pokeball has quit [Read error: Connection reset by peer]
dts_ has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
Sawbones has quit [Remote host closed the connection]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
Sawbones has joined #ruby
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
braincra- has quit [Quit: bye bye]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
<tejas-manohar> shevy: why C?
basex has joined #ruby
jaequery has joined #ruby
Sawbones has quit [Remote host closed the connection]
jaequery has quit [Read error: Connection reset by peer]
Cache_Money has joined #ruby
dts_ is now known as dts|pokeball
JoshGlzBrk has joined #ruby
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
hephaestus_rg has quit [Ping timeout: 245 seconds]
jaequery has joined #ruby
yfeldblum has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
Fusl has joined #ruby
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
jaequery has joined #ruby
KnownSyntax has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
braincrash has joined #ruby
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
charliesome has quit [Quit: zzz]
jaequery has joined #ruby
yfeldblum has quit [Ping timeout: 255 seconds]
jaequery has quit [Read error: Connection reset by peer]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
Sawbones has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
zorak_ has quit [Ping timeout: 264 seconds]
jdj_dk has quit [Ping timeout: 245 seconds]
<tejas-manohar> pontiki: is there any way to simplify the function block starting at this line? https://github.com/tejasmanohar/pasterunner/blob/master/app.rb#L35 -- it feels like an overly complex implementation
<tejas-manohar> pontiki: it works just seems complex
<tejas-manohar> or shevy: may have an opinion on this ^ ?
msmith_ has joined #ruby
anskeit has joined #ruby
dts|pokeball has quit [Ping timeout: 265 seconds]
gja has quit [Quit: This computer has gone to sleep]
asmodlol has quit [Ping timeout: 252 seconds]
asmodlol has joined #ruby
msmith_ has quit [Ping timeout: 252 seconds]
josephndenton has joined #ruby
gja has joined #ruby
jerusalemdax has joined #ruby
Cache_Money has quit [Ping timeout: 256 seconds]
<tejas-manohar> yo anyone here who can review what i wrote?
<tejas-manohar> im new to ruby just wanna make sure im doing things sweet and simple
Sawbones has quit [Remote host closed the connection]
Musashi007 has quit [Quit: Musashi007]
Sawbones has joined #ruby
adriancb has joined #ruby
nicolastarzia has joined #ruby
FooMunki has joined #ruby
FooMunki has quit [Client Quit]
arescorpio has quit [Excess Flood]
Sawbones has quit [Remote host closed the connection]
asmodlol has quit [Ping timeout: 250 seconds]
adriancb has quit [Ping timeout: 240 seconds]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
asmodlol has joined #ruby
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
razieliyo has quit [Ping timeout: 256 seconds]
<anskeit> is someone here who could give me some advice on how i can build a chat based mmorpg?
nicolastarzia has quit [Ping timeout: 265 seconds]
djbkd has joined #ruby
Sawbones has joined #ruby
Sawbones has quit [Remote host closed the connection]
<shevy> tejas-manohar C is the most important programming language
jaequery has joined #ruby
djbkd has quit [Ping timeout: 244 seconds]
<tejas-manohar> shevy: true
<tejas-manohar> shevy: would you comment on the code style here? https://github.com/tejasmanohar/pasterunner/blob/master/app.rb#L35 any suggestions?
<tejas-manohar> anskeit: so vague, more details?
jdj_dk has joined #ruby
jack_rabbit has joined #ruby
tombroomfield has quit [Read error: Connection reset by peer]
tombroomfield has joined #ruby
Sawbones has joined #ruby
AndyBotwin has quit [Read error: Connection reset by peer]
AndyBotwin has joined #ruby
<shevy> dunno
leafybasil has quit [Remote host closed the connection]
<shevy> it packs a lot of information in a few lines
tina has joined #ruby
<shevy> I don't like any of the API
<shevy> body = Nokogiri(Net::HTTP.get(location))
<anskeit> im trying to make a chat based game just like Zork, but with a multiplayer. i thougt i could make it like a chat. but i dont know how i could realize that, im not very comfortable with ruby
<shevy> anskeit probably by using some socket connection
asmodlol has quit [Ping timeout: 272 seconds]
asmodlol has joined #ruby
Sawbones has quit [Remote host closed the connection]
maletor has quit [Quit: Computer has gone to sleep.]
Sawbones has joined #ruby
maletor has joined #ruby
tombroomfield has quit [Read error: Connection reset by peer]
maletor has quit [Client Quit]
tombroomfield has joined #ruby
haxr has joined #ruby
EasyCo has joined #ruby
jaequery has quit [Ping timeout: 256 seconds]
tina has quit [Killed (idoru (Spam is off topic on freenode.))]
oo_ has joined #ruby
Takle has joined #ruby
josephndenton has quit [Ping timeout: 250 seconds]
dts|pokeball has joined #ruby
pdlug has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jack_rabbit has quit [Ping timeout: 252 seconds]
djbkd has joined #ruby
oo_ has quit [Ping timeout: 240 seconds]
Takle has quit [Ping timeout: 245 seconds]
asmodlol has quit [Ping timeout: 252 seconds]
lemur has joined #ruby
Sawbones has quit [Remote host closed the connection]
Musashi007 has joined #ruby
jdj_dk has quit [Ping timeout: 265 seconds]
asmodlol has joined #ruby
yfeldblum has joined #ruby
jack_rabbit has joined #ruby
Sawbones has joined #ruby
Musashi007 has quit [Ping timeout: 265 seconds]
sargas has joined #ruby
yfeldblum has quit [Ping timeout: 244 seconds]
duncannz has quit [Ping timeout: 240 seconds]
Areessell has quit [Quit: leaving]
pu22l3r has joined #ruby
crueber has joined #ruby
yfeldblum has joined #ruby
ishikawa91 has quit [Quit: Connection closed for inactivity]
jaequery has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
Sawbones has quit [Remote host closed the connection]
jaequery has joined #ruby
vinleod has joined #ruby
jaequery has quit [Client Quit]
mjuszczak has joined #ruby
duncannz has joined #ruby
timonv_ has joined #ruby
jaequery has joined #ruby
Sawbones has joined #ruby
jaequery has quit [Read error: Connection reset by peer]
i8igmac has quit [Read error: Connection reset by peer]
claw__ has joined #ruby
mjuszczak has quit [Client Quit]
psy has joined #ruby
jaequery has joined #ruby
Musashi007 has joined #ruby
i8igmac has joined #ruby
Sawbones has quit [Remote host closed the connection]
Guest52757 is now known as nitrix
anskeit has quit []
jaequery_ has joined #ruby
duncannz has quit [Max SendQ exceeded]
duncannz has joined #ruby
charliesome has joined #ruby
<Hijiri> Does ruby respond to the TZ environment variable when getting local time?
timonv_ has quit [Ping timeout: 244 seconds]
elfuego has quit [Quit: elfuego]
jaequery has quit [Ping timeout: 264 seconds]
mjuszczak has joined #ruby
jack_rabbit has quit [Ping timeout: 245 seconds]
jdj_dk has joined #ruby
AndyBotwin has quit [Quit: Leaving]
AndyBotwin has joined #ruby
oo_ has joined #ruby
<shevy> good question
<shevy> I would say no but I have no data to back up my statement
<shevy> but I think - if you assign to TZ some silly value, then the ruby time-related code should still work fine
tejas-manohar has quit [Quit: Page closed]
rbrs has joined #ruby
oo_ has quit [Ping timeout: 244 seconds]
<shevy> if [ -e file.txt ]; then echo "hi"; fi
<shevy> is bash not a pretty thing
jack_rabbit has joined #ruby
Menorah has quit [Quit: This computer has gone to sleep]
dseitz has joined #ruby
AndroUser466 has joined #ruby
AndroUser466 has quit [Client Quit]
klmlfl has joined #ruby
klmlfl has quit [Remote host closed the connection]
Hijiri has quit [Ping timeout: 272 seconds]
arup_r has joined #ruby
Joufflu has joined #ruby
govg has joined #ruby
Hijiri has joined #ruby
duncan_ has joined #ruby
Hijiri has quit [Client Quit]
Hijiri has joined #ruby
duncannz has quit [Ping timeout: 250 seconds]
pu22l3r has quit [Remote host closed the connection]
phutchins has joined #ruby
hamakn has quit [Remote host closed the connection]
jaequery_ has quit [Ping timeout: 240 seconds]
<Karunamon> Google's oauth implementation is a huge pain in the ass.
<Karunamon> that is all.
jdj_dk has quit [Ping timeout: 255 seconds]
oo_ has joined #ruby
<Karunamon> we've gone from basic encrypted username/password to expiring token BS
AndroUser466 has joined #ruby
psyprus has quit [Read error: Connection reset by peer]
Takle has joined #ruby
Sgeo has quit [Read error: Connection reset by peer]
Sgeo has joined #ruby
asmodlol has quit [Ping timeout: 244 seconds]
oo_ has quit [Ping timeout: 258 seconds]
asmodlol has joined #ruby
sargas has quit [Quit: This computer has gone to sleep]
PanzerModern has quit [Quit: Leaving]
charliesome has quit [Quit: zzz]
psyprus has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Takle has quit [Ping timeout: 265 seconds]
conniemj__ has joined #ruby
asmodlol has quit [Ping timeout: 244 seconds]
asmodlol has joined #ruby
sargas has joined #ruby
sargas has quit [Client Quit]
psyprus has quit [Ping timeout: 258 seconds]
psyprus has joined #ruby
asmodlol has quit [Ping timeout: 240 seconds]
fenzil has quit [Read error: Connection reset by peer]
sargas has joined #ruby
phutchins has quit [Read error: Connection reset by peer]
MasterPiece has joined #ruby
_Andres has joined #ruby
asmodlol has joined #ruby
ishikawa91 has joined #ruby
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
klmlfl has joined #ruby
<shevy> hehe
JoshGlzBrk has joined #ruby
TripTastic has quit [Ping timeout: 240 seconds]
klmlfl has quit [Remote host closed the connection]
mary5030 has joined #ruby
jdj_dk has joined #ruby
<Karunamon> anyone familiar enough with the google drive gem that knows what exception gets raised when you try to do something with an expired token? otherwise I'm going to have to wait an hour for this one to expire so I can find out :P
psy has quit [Quit: Leaving]
Sawbones has joined #ruby
vinleod has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
djbkd has quit [Remote host closed the connection]
crueber has quit [Quit: Leaving.]
phutchins has joined #ruby
chinmay_dd has joined #ruby
duncan_ has quit [Ping timeout: 240 seconds]
Sawbones has quit [Ping timeout: 245 seconds]
centrx has joined #ruby
AndroUser466 has quit [Quit: good bye]
mary5030 has quit [Remote host closed the connection]
duncan_ has joined #ruby
mary5030 has joined #ruby
studiotate has joined #ruby
phutchins has quit [Ping timeout: 252 seconds]
jamto11 has quit [Remote host closed the connection]
studiotate has quit [Client Quit]
rshetty has joined #ruby
ndrei has joined #ruby
jdj_dk has quit [Read error: Connection reset by peer]
mary5030 has quit [Ping timeout: 258 seconds]
MasterPiece has quit [Ping timeout: 240 seconds]
conniemj__ has quit [Quit: (null)]
duncan_ has quit [Ping timeout: 244 seconds]
duncan_ has joined #ruby
JBreit has joined #ruby
rshetty has quit [Remote host closed the connection]
Channel6 has quit [Quit: Leaving]
boadie has quit []
jerusalemdax has quit [Ping timeout: 240 seconds]
boadie has joined #ruby
centrx has quit [Quit: Science is organized knowledge, wisdom is organized life.]
crueber has joined #ruby
rshetty has joined #ruby
hamakn has joined #ruby
wallerdev has quit [Read error: Connection reset by peer]
zorak_ has joined #ruby
wallerdev has joined #ruby
Sawbones has joined #ruby
Crazy_Atheist has quit [Ping timeout: 245 seconds]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
asmodlol has quit [Ping timeout: 256 seconds]
pwnz0r has joined #ruby
jerusalemdax has joined #ruby
asmodlol has joined #ruby
josephndenton has joined #ruby
kiyote23 has joined #ruby
jack_rabbit has quit [Ping timeout: 258 seconds]
psyprus has quit [Ping timeout: 258 seconds]
Sawbones has quit [Ping timeout: 265 seconds]
olivier_bK has joined #ruby
cajone has quit [Ping timeout: 258 seconds]
kiyote23 has quit [Ping timeout: 264 seconds]
lemur has quit [Remote host closed the connection]
jdj_dk has joined #ruby
lemur has joined #ruby
conniemj__ has joined #ruby
mjuszczak has quit []
timonv_ has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
MasterPiece has joined #ruby
zhando has joined #ruby
Takle has joined #ruby
<zhando> hi can someone link to a cool graphic or illustration of ruby's builtin classes
asmodlol has quit [Ping timeout: 240 seconds]
lemur has quit [Ping timeout: 252 seconds]
conniemj__ has quit [Client Quit]
asmodlol has joined #ruby
timonv_ has quit [Ping timeout: 265 seconds]
hamakn has quit [Remote host closed the connection]
Takle has quit [Ping timeout: 258 seconds]
Menorah has joined #ruby
elaptics`away is now known as elaptics
pengin has joined #ruby
rshetty has quit [Remote host closed the connection]
sargas has quit [Quit: This computer has gone to sleep]
gja has joined #ruby
sargas has joined #ruby
agrinb has quit [Remote host closed the connection]
Sawbones has joined #ruby
commmmodo has quit [Quit: commmmodo]
asmodlol has quit [Ping timeout: 245 seconds]
djbkd has joined #ruby
asmodlol has joined #ruby
pengin has quit [Remote host closed the connection]
MasterPiece has quit [Ping timeout: 258 seconds]
<godd2> zhando all of them or the most useful ones?
gja has quit [Quit: Leaving]
djbkd has quit [Ping timeout: 250 seconds]
jdj_dk has quit [Ping timeout: 240 seconds]
hamakn has joined #ruby
hephaestus_rg has joined #ruby
duncan_ has quit [Ping timeout: 250 seconds]
<godd2> Indentation implies inheritance
jamto11 has joined #ruby
dionysus69 has joined #ruby
<godd2> You can ignore coloring, it was just for my personal notes on how familiar I was with that class
Musashi007 has quit [Quit: Musashi007]
duncan_ has joined #ruby
<zhando> godd2: fantastic.. that helps. thanks!
jamto11 has quit [Ping timeout: 258 seconds]
<godd2> The ones that are underlined link to other docs which describe instance methods. you have to ctrl+click them. (cmd_click on mac I think) lemme make those public too
hamakn has quit [Remote host closed the connection]
Xiti has quit [Quit: Xiti]
<godd2> there you go. and I think each method links to the ruby-docs page for that method
<zhando> godd2: btw, i'm interested in a comprehensive list of those classes you don't need to require. it'd be great if builtin modules were illustrated as well but that's secondary..
chinmay_dd has quit [Quit: Leaving]
<zhando> godd2: thanks again..
<godd2> Everything in that list doesn't need to be required
lzx has joined #ruby
<godd2> I was pretty thorough. I may have missed a couple maybe?
<godd2> also, it helped me a lot to quiz myself on what the methods did
<zhando> godd2: looks great to me. Wow that ctrl-click is neato..
crueber has quit [Quit: Leaving.]
Sawbones has quit [Remote host closed the connection]
<godd2> You can File -> Make a Copy... for your own google drive
<zhando> godd2: awesome document. That link goes in my bookmarks. Gracias..
agjacome has quit [Quit: leaving]
AmirolAhmad has joined #ruby
oo_ has joined #ruby
St_Marx has quit [Ping timeout: 250 seconds]
Musashi007 has joined #ruby
D9 has joined #ruby
MasterPiece has joined #ruby
jdj_dk has joined #ruby
jdj_dk has quit [Remote host closed the connection]
jdj_dk has joined #ruby
MasterPiece has quit [Max SendQ exceeded]
CrazyM4n has joined #ruby
oo_ has quit [Ping timeout: 250 seconds]
MasterPiece has joined #ruby
Zamyatin has joined #ruby
MasterPiece has quit [Max SendQ exceeded]
josephndenton has quit [Ping timeout: 240 seconds]
agrinb has joined #ruby
MasterPiece has joined #ruby
Zamyatin has quit [Max SendQ exceeded]
Zamyatin has joined #ruby
MasterPiece has quit [Max SendQ exceeded]
basex has quit [Remote host closed the connection]
MasterPiece has joined #ruby
druznek has joined #ruby
agrinb has quit [Ping timeout: 258 seconds]
it0a has joined #ruby
it0a has quit [Client Quit]
asmodlol has quit [Ping timeout: 245 seconds]
pwnz0r has quit [Remote host closed the connection]
tkuchiki has joined #ruby
MasterPiece has quit [Ping timeout: 245 seconds]
asmodlol has joined #ruby
AndyBotwin has quit [Quit: Leaving]
nicolastarzia has joined #ruby
zorak_ has quit [Ping timeout: 272 seconds]
taylor_ has joined #ruby
chipotle has quit [Quit: cheerio]
taylor_ has quit [Killed (idoru (Spam is off topic on freenode.))]
Takle has joined #ruby
hgl- has joined #ruby
nicolastarzia has quit [Ping timeout: 255 seconds]
onlyme has joined #ruby
Abhijit has joined #ruby
hgl has quit [Ping timeout: 255 seconds]
hgl- is now known as hgl
hamakn has joined #ruby
Takle has quit [Ping timeout: 244 seconds]
asmodlol has quit [Ping timeout: 255 seconds]
asmodlol has joined #ruby
mjuszczak has joined #ruby
dts|pokeball has quit [Read error: Connection reset by peer]
Abhijit has quit [Ping timeout: 250 seconds]
agrinb has joined #ruby
Spami has joined #ruby
agrinb_ has joined #ruby
onlyme has quit [Quit: Be back later ...]
agrinb has quit [Ping timeout: 258 seconds]
agrinb_ has quit [Ping timeout: 245 seconds]
dts|pokeball has joined #ruby
druznek has quit [Ping timeout: 244 seconds]
rippa has joined #ruby
mjuszczak has quit []
lzx has quit []
lzx has joined #ruby
makapa has joined #ruby
timonv_ has joined #ruby
psy has joined #ruby
timonv_ has quit [Remote host closed the connection]
xenomorph is now known as {xenomorph}
{xenomorph} is now known as xenomorph
yfeldblum has quit [Remote host closed the connection]
leafybasil has joined #ruby
atmosx has joined #ruby
ta has quit [Remote host closed the connection]
claptor has quit [Quit: this channel is bakas]
pu22l3r has joined #ruby
lzx has quit [Remote host closed the connection]
i8igmac has quit [Ping timeout: 265 seconds]
makapa has left #ruby [#ruby]
leafybasil has quit [Ping timeout: 272 seconds]
oo_ has joined #ruby
pu22l3r has quit [Ping timeout: 252 seconds]
kapil__ has joined #ruby
oo_ has quit [Ping timeout: 264 seconds]
amclain has quit [Quit: Leaving]
tkuchiki has quit [Remote host closed the connection]
antgel has joined #ruby
govg has quit [Ping timeout: 256 seconds]
basex has joined #ruby
atmosx has quit [Quit: computer went to sleep...]
jaequery has joined #ruby
p0wn3d_mhs has quit [Ping timeout: 250 seconds]
Dopagod has quit [Ping timeout: 245 seconds]
basex has quit [Ping timeout: 255 seconds]
Menorah has quit [Quit: This computer has gone to sleep]
lzx has joined #ruby
decoponio has joined #ruby
i8igmac has joined #ruby
jdj_dk has quit [Remote host closed the connection]
jamto11 has joined #ruby
onlyme has joined #ruby
hephaestus_rg has quit [Ping timeout: 258 seconds]
jamto11 has quit [Ping timeout: 258 seconds]
ohaibbq has quit [Quit: Leaving...]
<pontiki> man, why is someone explicitly for my opinion on their style
Menorah has joined #ruby
CrazyM4n has quit [Quit: sleep]
lzx has quit [Remote host closed the connection]
yfeldblum has joined #ruby
asmodlol has quit [Ping timeout: 258 seconds]
lzx has joined #ruby
asmodlol has joined #ruby
Abhijit has joined #ruby
agrinb has joined #ruby
i8igmac has quit [Ping timeout: 264 seconds]
fantazo has joined #ruby
<j416> pontiki: sounds like a good thing!
atmosx has joined #ruby
djbkd has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
blizzy has quit [Ping timeout: 264 seconds]
agrinb has quit [Ping timeout: 244 seconds]
djbkd has quit [Ping timeout: 255 seconds]
lzx_ has joined #ruby
Mia has quit [Read error: Connection reset by peer]
blizzy has joined #ruby
lzx has quit [Ping timeout: 244 seconds]
dts|pokeball has quit [Ping timeout: 245 seconds]
lkba_ has joined #ruby
lkba has quit [Read error: Connection reset by peer]
thomasfedb has joined #ruby
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
<pontiki> j416: enh, idk, i wasn't watching the channel, didn't seem like something i specifically needed to answer
<j416> mm what?
lzx_ has quit []
<pontiki> oh, this was *hours* ago
lzx has joined #ruby
<pontiki> 20141227|2218.19] < tejas-manohar> pontiki: is there any way to simplify the function block starting at this line? https://github.com/tejasmanohar/pasterunner/blob/master/app.rb#L35 -- it feels like an overly complex implementation
<j416> 20 minutes
<j416> 10:15:25 pontiki | man, why is someone explicitly for my opinion on their style
frem has quit [Quit: Connection closed for inactivity]
lkba_ has quit [Ping timeout: 252 seconds]
Spami has quit [Quit: This computer has gone to sleep]
psy has quit [Ping timeout: 265 seconds]
Spami has joined #ruby
josephndenton has joined #ruby
tombroomfield has quit [Read error: Connection reset by peer]
davedev24_ has quit [Remote host closed the connection]
tombroomfield has joined #ruby
asmodlol has quit [Ping timeout: 258 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
* j416 doesn't get it
<pontiki> never mind
* j416 ignores pontiki
asmodlol has joined #ruby
<pontiki> good
gr33n7007h has quit [Ping timeout: 245 seconds]
josephndenton has quit [Ping timeout: 255 seconds]
<godd2> How I imagine pontiki: http://i.imgur.com/B2xexyR.jpg
jaequery has quit [Quit: Textual IRC Client: www.textualapp.com]
druznek has joined #ruby
Techguy305 has quit [Ping timeout: 240 seconds]
lkba has joined #ruby
nicolastarzia has joined #ruby
fredsir has joined #ruby
<fredsir> Hi guys
<fredsir> whats the preferred way of creating CLI tools? Any specific library to use or a conformance of style?
<pontiki> there's a few gems
Takle has joined #ruby
<pontiki> thor is nice, there's always rake, and then things like methadone and GLI
hgl has quit [Max SendQ exceeded]
hgl has joined #ruby
nicolastarzia has quit [Ping timeout: 245 seconds]
<pontiki> you should also look at the highline gem if you want a more interactive cli tool
sargas has quit [Quit: Leaving]
<pontiki> i use thor when what i need is something that generate stuff, like new jekyll posts, frex
<pontiki> rake is great when you have project specific tasks
<pontiki> methadone is pretty great for general scripting
ta has joined #ruby
startupality has joined #ruby
<pontiki> nice replacement for bash/perl for me
Takle has quit [Ping timeout: 265 seconds]
Flcn__ has joined #ruby
jamto11 has joined #ruby
ta_ has joined #ruby
basex has joined #ruby
D9 has quit [Quit: Leaving]
ta has quit [Ping timeout: 272 seconds]
jamto11 has quit [Ping timeout: 258 seconds]
dextaa has joined #ruby
yfeldblum has joined #ruby
basex has quit [Ping timeout: 245 seconds]
ta_ has quit [Ping timeout: 264 seconds]
agrinb has joined #ruby
atmosx has quit [Ping timeout: 245 seconds]
startupality has quit [Quit: startupality]
LouisRoR has joined #ruby
yfeldblum has quit [Ping timeout: 272 seconds]
p0wn3d_mhs has joined #ruby
az7ar_away has quit [Ping timeout: 250 seconds]
agrinb has quit [Ping timeout: 258 seconds]
Takle has joined #ruby
Flcn__ has quit [Ping timeout: 264 seconds]
Spami has quit [Quit: This computer has gone to sleep]
rshetty has joined #ruby
rshetty has quit [Ping timeout: 256 seconds]
TgMts has joined #ruby
Pupeno_ has joined #ruby
Flcn__ has joined #ruby
Pupeno has quit [Ping timeout: 265 seconds]
asmodlol has quit [Ping timeout: 255 seconds]
<fredsir> pontiki: thanks you very much
asmodlol has joined #ruby
lzx has quit [Remote host closed the connection]
ahmgeek has joined #ruby
<ahmgeek> Shiny new ruby beginner : Haai
Spami has joined #ruby
rshetty has joined #ruby
suffice has quit [Remote host closed the connection]
renderful has joined #ruby
Takle has quit [Read error: Connection reset by peer]
Takle has joined #ruby
spider-mario has joined #ruby
lzx has joined #ruby
hiyosi has quit [Quit: Textual IRC Client: www.textualapp.com]
hiyosi has joined #ruby
hiyosi has quit [Client Quit]
Spami has quit [Quit: This computer has gone to sleep]
renderful has quit [Ping timeout: 258 seconds]
Jackneill has joined #ruby
startupality has joined #ruby
dx7iso has joined #ruby
dx7iso has quit [Client Quit]
rshetty has quit [Remote host closed the connection]
startupality has quit [Quit: startupality]
oo_ has joined #ruby
startupality has joined #ruby
duncan_ has quit [Ping timeout: 252 seconds]
MasterPiece has joined #ruby
dotix has joined #ruby
Liendre has joined #ruby
MasterPiece has quit [Max SendQ exceeded]
MasterPiece has joined #ruby
MasterPiece has quit [Max SendQ exceeded]
govg has joined #ruby
Takle_ has joined #ruby
oo_ has quit [Ping timeout: 265 seconds]
MasterPiece has joined #ruby
Takle has quit [Ping timeout: 265 seconds]
MasterPiece has quit [Max SendQ exceeded]
MasterPiece has joined #ruby
MasterPiece has quit [Max SendQ exceeded]
davedev24_ has joined #ruby
MasterPiece has joined #ruby
MasterPiece has quit [Max SendQ exceeded]
decoponio has quit [Ping timeout: 258 seconds]
MasterPiece has joined #ruby
MasterPiece has quit [Max SendQ exceeded]
MasterPiece has joined #ruby
decoponio has joined #ruby
MasterPiece has quit [Max SendQ exceeded]
asmodlol has quit [Ping timeout: 258 seconds]
yfeldblum has joined #ruby
asmodlol has joined #ruby
MasterPiece has joined #ruby
luriv has joined #ruby
MasterPiece has quit [Max SendQ exceeded]
agrinb has joined #ruby
jamto11 has joined #ruby
DadoCe has joined #ruby
MasterPiece has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
autochthon has joined #ruby
agrinb has quit [Ping timeout: 258 seconds]
hgl has quit [Max SendQ exceeded]
jamto11 has quit [Ping timeout: 258 seconds]
DadoCe has quit [Ping timeout: 272 seconds]
hgl has joined #ruby
ihme-TTilus is now known as TTilus
cmarques has joined #ruby
luriv has quit [Quit: Leaving]
oleo is now known as Guest96167
oleo__ has joined #ruby
Guest96167 has quit [Ping timeout: 265 seconds]
rkalfane has joined #ruby
oleo__ has quit [Read error: Connection reset by peer]
autochthon has quit [Quit: autochthon]
oleo__ has joined #ruby
oleo__ is now known as oleo
Abhijit has quit [Ping timeout: 272 seconds]
teotwaki has quit [Ping timeout: 265 seconds]
maestrojed has quit [Quit: Computer has gone to sleep.]
teotwaki has joined #ruby
Soda has joined #ruby
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby
dextaa has quit [Quit: Leaving]
teotwaki has quit [Ping timeout: 272 seconds]
oo_ has joined #ruby
dotix has quit [Ping timeout: 245 seconds]
asmodlol has quit [Ping timeout: 244 seconds]
Takle_ has quit [Read error: No route to host]
asmodlol has joined #ruby
Takle has joined #ruby
hendricius has quit [Ping timeout: 245 seconds]
AxonetBE has joined #ruby
devdazed_ has joined #ruby
oo_ has quit [Remote host closed the connection]
hendricius has joined #ruby
nicolastarzia has joined #ruby
devdazed has quit [Ping timeout: 240 seconds]
dotix has joined #ruby
dotix has quit [Changing host]
dotix has joined #ruby
AxonetBE has quit [Client Quit]
tombroomfield has quit [Read error: Connection reset by peer]
tombroom_ has joined #ruby
gfawcettpq has quit [Quit: Leaving.]
nicolastarzia has quit [Ping timeout: 264 seconds]
AmirolAhmad has quit []
charliesome has joined #ruby
devdazed_ has quit [Ping timeout: 258 seconds]
ishikawa91 has quit [Quit: Connection closed for inactivity]
druznek has quit [Ping timeout: 272 seconds]
raducroitoru has joined #ruby
cmarques has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
EasyCo has quit [Quit: Connection closed for inactivity]
dotix has quit [Ping timeout: 252 seconds]
basex has joined #ruby
pandaant has joined #ruby
yfeldblum has joined #ruby
basex has quit [Ping timeout: 245 seconds]
devdazed has joined #ruby
asmodlol has quit [Ping timeout: 255 seconds]
Takle has quit [Read error: Connection reset by peer]
asmodlol has joined #ruby
Takle has joined #ruby
elfuego has joined #ruby
yfeldblum has quit [Ping timeout: 244 seconds]
Liendre has quit [Read error: Connection reset by peer]
codecop has joined #ruby
kasperti_ has joined #ruby
tombroom_ has quit [Remote host closed the connection]
jamto11 has joined #ruby
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Beoran__ has joined #ruby
rkalfane has joined #ruby
cmarques has joined #ruby
Xeago has joined #ruby
rkalfane has quit [Client Quit]
jamto11 has quit [Ping timeout: 258 seconds]
devdazed has quit [Ping timeout: 245 seconds]
TgMts has quit [Read error: Connection reset by peer]
Beoran_ has quit [Ping timeout: 265 seconds]
TgMts has joined #ruby
tombroomfield has joined #ruby
devdazed has joined #ruby
sergicles has joined #ruby
rkalfane has joined #ruby
Takle has quit [Read error: No route to host]
Takle_ has joined #ruby
<sergicles> hi all, been battling with trying to install bundler (gem install bundler) on Yosemite… with —debug it looks like an SSL issue but this is the error I am getting, also tried with —source http (not https, same deal) : “ERROR: Could not find a valid gem 'bundler' (>= 0), here is why: Unable to download data from https://rubygems.org/ - Errno::ETIMEDOUT: Operation timed out - connect(2)
<sergicles> (https://rubygems.org/quick/Marshal.4.8/bundler-1.7.9.gemspec.rz)” - any help would be awesome
<godd2> sergicles what time is your computer set to?
<godd2> and date
<sergicles> godd2: au…
<godd2> its possible that your clock is set in the past so the certs arent working
devdazed has quit [Ping timeout: 258 seconds]
psy has joined #ruby
MasterPiece has quit [Ping timeout: 245 seconds]
<godd2> the other thing you can do is, instead of https: you can try http: by setting a gem source in your gemfile
<sergicles> godd2: no, if anything I am in the future (I am in AU, clock set correctly). I have tried setting a diffrent source, same error
<godd2> can you go to https://rubygems.org/gems/bundler in your browser?
<sergicles> godd2: done
<godd2> on the bottom right click Download
<godd2> then in terminal, naviagate to the .gem file and then do the following command
<godd2> gem install --local bundler-1.7.9.gem
<sergicles> godd2: the isue is not with bundler… anything gem related returns this error
<godd2> ah
<godd2> so bundler is installed, and in a gemfile you have source 'http://rubygems.org' at the top?
<sergicles> bundler is not installed
josephndenton has joined #ruby
<godd2> okay well then install bundler manually just how I showed you and then set the source in your gemfile to the http: version
Takle_ has quit [Remote host closed the connection]
<sergicles> oh hello, looks like there is something sneay happening with me being redirected to AU mirror which looks down
<sergicles> hold on…
<sergicles> yep
<godd2> ah okay
<sergicles> wget …. eventually —> Connecting to au-m.rubygems.org|125.7.13.47|:443...
startupality has quit [Quit: startupality]
<sergicles> is there a way to prevent redirect in gem config somehow?
shevy has quit [Ping timeout: 265 seconds]
razieliyo has joined #ruby
devdazed has joined #ruby
josephndenton has quit [Ping timeout: 240 seconds]
tus has joined #ruby
xenomorph is now known as {xenomorph}
Pupeno_ is now known as Pupeno
Pupeno has quit [Changing host]
Pupeno has joined #ruby
tombroomfield has quit [Remote host closed the connection]
sergicles has quit [Ping timeout: 252 seconds]
ptrrr has joined #ruby
MasterPiece has joined #ruby
jottr has joined #ruby
TgMts has quit [Quit: No Ping reply in 180 seconds.]
elfuego has quit [Quit: elfuego]
TgMts has joined #ruby
devdazed has quit [Ping timeout: 252 seconds]
TgMts has quit [Client Quit]
Lingo__ has joined #ruby
Flcn__ has quit [Quit: Be back later ...]
jottr is now known as elementz
dorei has joined #ruby
TgMts has joined #ruby
govg has quit [Ping timeout: 265 seconds]
DadoCe has joined #ruby
TgMts has quit [Client Quit]
devdazed has joined #ruby
TgMts has joined #ruby
agrinb has joined #ruby
sameerynho has quit [Ping timeout: 255 seconds]
DadoCe has quit [Ping timeout: 240 seconds]
govg has joined #ruby
Spami has joined #ruby
govg is now known as Guest5957
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
agrinb has quit [Ping timeout: 258 seconds]
sevenseacat has quit [Remote host closed the connection]
DaniG2k has joined #ruby
teotwaki has joined #ruby
devdazed has quit [Ping timeout: 240 seconds]
Soda has quit [Remote host closed the connection]
Guest5957 has quit [Ping timeout: 265 seconds]
rkalfane has joined #ruby
Musashi007 has quit [Quit: Musashi007]
rkalfane has quit [Client Quit]
jamto11 has joined #ruby
neektza has quit [Quit: Connection closed for inactivity]
devdazed has joined #ruby
jamto11 has quit [Ping timeout: 258 seconds]
cmarques has quit [Remote host closed the connection]
sameerynho has joined #ruby
arup_r has quit [Quit: Leaving.]
agrinb has joined #ruby
Akuma has joined #ruby
Deele has joined #ruby
TgMts has quit [Quit: No Ping reply in 180 seconds.]
Pupeno_ has joined #ruby
asmodlol has quit [Ping timeout: 244 seconds]
TgMts has joined #ruby
agrinb has quit [Ping timeout: 258 seconds]
blizzy is now known as blizzy
{xenomorph} is now known as xenomorph
asmodlol has joined #ruby
elfuego has joined #ruby
kirun has joined #ruby
Pupeno has quit [Ping timeout: 265 seconds]
djbkd has joined #ruby
mityaz has quit [Ping timeout: 240 seconds]
kasperti_ has quit []
basex has joined #ruby
devdazed has quit [Ping timeout: 255 seconds]
djbkd has quit [Ping timeout: 272 seconds]
DaniG2k has quit [Ping timeout: 252 seconds]
startupality has joined #ruby
drawingthesun has joined #ruby
basex has quit [Ping timeout: 258 seconds]
razieliyo has quit [Ping timeout: 258 seconds]
drawingthesun has quit [Read error: Connection reset by peer]
neoxquick has joined #ruby
Takle has joined #ruby
MasterPiece has quit [Ping timeout: 258 seconds]
dc_ has quit [Remote host closed the connection]
yfeldblum has joined #ruby
infoget has joined #ruby
elaptics is now known as elaptics`away
nicolastarzia has joined #ruby
DadoCe has joined #ruby
MasterPiece has joined #ruby
<infoget> Hi guys, I want print either p.number or p.iban, but this doesn't work -> p.number || p.iban, how can I print p.iban when p.number is false?
Zamyatin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
asmodlol has quit [Ping timeout: 245 seconds]
Lingo__ has quit [Quit: Be back later ...]
devdazed has joined #ruby
asmodlol has joined #ruby
<crome> define "doesn't work"
<waxjar> it must work unless p.number is something other than false or nil
yfeldblum has quit [Ping timeout: 240 seconds]
Takle has quit [Ping timeout: 272 seconds]
go|dfish has joined #ruby
Heskie has joined #ruby
Heskie has quit [Client Quit]
nicolastarzia has quit [Ping timeout: 244 seconds]
<apeiros_> yay, only 8 column types left to implement :D
<apeiros_> sadly those are the hardest =(
AxonetBE has joined #ruby
mlue has quit [Quit: Lost terminal]
MasterPiece has quit [Ping timeout: 245 seconds]
<infoget> crome waxjar, sry, it's working, I have p.number and p.iban attributes, but I want print p.iban when p.number is empty
<apeiros_> infoget: an empty string is still logically true in ruby
<apeiros_> >> if "" then "logically true" else "logically false" end
<eval-in__> apeiros_ => /tmp/execpad-5883e8923395/source-5883e8923395:2: warning: string literal in condition ... (https://eval.in/237794)
DaniG2k has joined #ruby
<apeiros_> >> x = ""; if x then "logically true" else "logically false" end
<eval-in__> apeiros_ => "logically true" (https://eval.in/237795)
<apeiros_> plerp
<apeiros_> warnings. so useless :(
<godd2> apeiros_ you can always user Perl :P
<apeiros_> I can always use paper & pencil too
AndyBotwin has joined #ruby
MasterPiece has joined #ruby
mattwildig has joined #ruby
hamakn has quit [Remote host closed the connection]
asmodlol has quit [Ping timeout: 240 seconds]
hamakn has joined #ruby
infoget has quit [Quit: Leaving.]
asmodlol has joined #ruby
Flcn__ has joined #ruby
Hobogrammer has quit [Ping timeout: 245 seconds]
Spami has quit [Quit: This computer has gone to sleep]
rshetty has joined #ruby
mjuszczak has joined #ruby
asmodlol has quit [Ping timeout: 245 seconds]
Xeago_ has joined #ruby
Flcn__ has quit [Ping timeout: 244 seconds]
MasterPiece has quit [Quit: Leaving]
asmodlol has joined #ruby
rshetty has quit [Ping timeout: 240 seconds]
skiabox has joined #ruby
Xeago has quit [Ping timeout: 250 seconds]
lzx has quit [Remote host closed the connection]
RikkiMongoose has joined #ruby
davedev24_ has quit [Remote host closed the connection]
oo_ has joined #ruby
spastorino has joined #ruby
asmodlol has quit [Ping timeout: 244 seconds]
AxonetBE has quit [Quit: AxonetBE]
asmodlol has joined #ruby
sameerynho has quit [Quit: Leaving]
Lingo__ has joined #ruby
DaniG2k has quit [Quit: leaving]
gfawcettpq has joined #ruby
devdazed has quit [Ping timeout: 264 seconds]
elfuego has quit [Quit: elfuego]
vmw has joined #ruby
vmw is now known as nofokl
<nofokl> is the well grounded rubyisy a good beginner book
<nofokl> i dony know how to code very well
jamto11 has joined #ruby
<nofokl> plis
mattwildig has quit []
agrinb has joined #ruby
devdazed has joined #ruby
<nofokl> anyone
<nofokl> ?
jamto11 has quit [Ping timeout: 258 seconds]
<nofokl> i want to buy it
<nofokl> and its a new ruby book
oo_ has quit [Remote host closed the connection]
<nofokl> is it good for beginners?
<nofokl> like me?
AxonetBE has joined #ruby
agrinb has quit [Ping timeout: 258 seconds]
hamakn has quit [Read error: Connection reset by peer]
<apeiros_> it's a good book, no idea how well it's suited for beginners
hamakn_ has joined #ruby
rippa has joined #ruby
<apeiros_> try it? in the worst case, put it back and read it once you overcame beginner phase?
<nofokl> :<
<nofokl> ok
nofokl has quit [Quit: Lost terminal]
mjuszczak has quit []
oo_ has joined #ruby
<majeure> Or, you might at least learn something that helps you overcome that phase.
kernelpanik has joined #ruby
<kernelpanik> Hi!! can someone test my last stupid rails webapp ? www.just2callyou.com
lzx has joined #ruby
eythoriu1 has quit [Ping timeout: 240 seconds]
basex has joined #ruby
AxonetBE has quit [Client Quit]
asmodlol has quit [Ping timeout: 244 seconds]
eythorium has joined #ruby
druznek has joined #ruby
Flcn__ has joined #ruby
hamakn_ has quit [Remote host closed the connection]
asmodlol has joined #ruby
kernelpanik has left #ruby [#ruby]
devdazed_ has joined #ruby
basex has quit [Ping timeout: 265 seconds]
Pupeno_ has quit [Remote host closed the connection]
devdazed has quit [Ping timeout: 256 seconds]
mjuszczak has joined #ruby
yfeldblum has joined #ruby
Pupeno has joined #ruby
zorak_ has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
mjuszczak has quit []
Flcn__ has quit [Ping timeout: 245 seconds]
skiabox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oo_ has quit [Remote host closed the connection]
tombroomfield has joined #ruby
onlyme has quit [Quit: Be back later ...]
renderful has joined #ruby
krz has joined #ruby
asmodlol has quit [Ping timeout: 265 seconds]
asmodlol has joined #ruby
tombroomfield has quit [Ping timeout: 240 seconds]
vjt has joined #ruby
skiabox has joined #ruby
renderful has quit [Ping timeout: 258 seconds]
_4-20ma has joined #ruby
kiyote23 has joined #ruby
gr33n7007h has joined #ruby
startupality has quit [Quit: startupality]
kiyote23 has quit [Remote host closed the connection]
testcore has quit [Ping timeout: 250 seconds]
mjuszczak has joined #ruby
charliesome has quit [Quit: zzz]
cmarques has joined #ruby
mattmcclure has joined #ruby
skiabox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pdlug has joined #ruby
jerusalemdax has quit [Ping timeout: 240 seconds]
AlSquire has joined #ruby
pu22l3r has joined #ruby
nfk has joined #ruby
xcesariox has joined #ruby
pdlug has quit [Quit: Textual IRC Client: www.textualapp.com]
testcore has joined #ruby
agrinb has joined #ruby
Xiti has joined #ruby
Takle has joined #ruby
asmodlol has quit [Ping timeout: 264 seconds]
_4-20ma has left #ruby ["Leaving"]
kasperti_ has joined #ruby
DadoCe has quit [Remote host closed the connection]
agrinb has quit [Ping timeout: 258 seconds]
DadoCe has joined #ruby
jamto11 has joined #ruby
devdazed_ has quit [Ping timeout: 244 seconds]
claptor has joined #ruby
skiabox has joined #ruby
asmodlol has joined #ruby
DadoCe_ has joined #ruby
pu22l3r has quit [Remote host closed the connection]
druznek has quit [Ping timeout: 240 seconds]
jamto11 has quit [Ping timeout: 258 seconds]
fantazo has quit [Quit: Verlassend]
DadoCe has quit [Ping timeout: 244 seconds]
cajone has joined #ruby
pu22l3r has joined #ruby
skiabox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Takle_ has joined #ruby
devdazed has joined #ruby
Lingo__ has quit [Read error: Connection reset by peer]
skiabox has joined #ruby
asmodlol has quit [Ping timeout: 255 seconds]
Takle has quit [Ping timeout: 265 seconds]
Lingo___ has joined #ruby
cmarques has quit [Remote host closed the connection]
<apeiros_> hm, not overwhelming, but I think acceptable for now - ~5s to create 10k jobs, ~8s to process them (overhead only)
<apeiros_> (postgres based job queue)
pu22l3r has quit [Ping timeout: 256 seconds]
asmodlol has joined #ruby
yfeldblum has joined #ruby
tus has quit []
onlyme has joined #ruby
agrinb has joined #ruby
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
xcesariox has quit [Quit: Textual IRC Client: www.textualapp.com]
nicolastarzia has joined #ruby
lzx has quit [Remote host closed the connection]
<apeiros_> time to implement the remaining 8 column types, I guess (enum, set, file, currency, money, country, language and locale)
lzx has joined #ruby
TgMts_ has joined #ruby
asmodlol has quit [Ping timeout: 256 seconds]
yfeldblum has quit [Ping timeout: 250 seconds]
TgMts has quit [Ping timeout: 240 seconds]
marcel has left #ruby ["Textual IRC Client: www.textualapp.com"]
nicolastarzia has quit [Ping timeout: 245 seconds]
spider-mario has quit [Ping timeout: 255 seconds]
asmodlol has joined #ruby
spider-mario has joined #ruby
Flcn__ has joined #ruby
hamakn has joined #ruby
TgMts_ has quit [Quit: No Ping reply in 180 seconds.]
lzx_ has joined #ruby
Flcn__ has quit [Ping timeout: 240 seconds]
TgMts has joined #ruby
hamakn has quit [Ping timeout: 244 seconds]
Photism has joined #ruby
devdazed has quit [Ping timeout: 272 seconds]
lzx has quit [Ping timeout: 272 seconds]
hamakn has joined #ruby
DadoCe_ has quit [Remote host closed the connection]
lzx_ has quit [Remote host closed the connection]
onlyme has quit [Quit: Be back later ...]
lzx has joined #ruby
<pontiki> halloo
commmmodo has joined #ruby
Akuma has quit [Read error: Connection reset by peer]
lzx_ has joined #ruby
<apeiros_> hi pontiki
<pontiki> hi apeiros_
Akuma has joined #ruby
davedev24_ has joined #ruby
Spami has joined #ruby
<pontiki> in case nofokl comes back (or in general) this is from WGR2.0: https://gist.github.com/tamouse/b2eb0ba81455d323a48e
lzx has quit [Ping timeout: 272 seconds]
skiabox has quit [Quit: Textual IRC Client: www.textualapp.com]
TgMts has quit [Quit: No Ping reply in 180 seconds.]
lzx_ has quit [Ping timeout: 272 seconds]
TgMts has joined #ruby
shadeslayer has quit [Quit: No Ping reply in 180 seconds.]
PhGeek has joined #ruby
shadeslayer has joined #ruby
TgMts has quit [Client Quit]
<apeiros_> what are you up to, pontiki?
phutchins has joined #ruby
Hanmac has joined #ruby
Crazy_Atheist has joined #ruby
mjuszczak has quit []
josephndenton has joined #ruby
pandaant has quit [Quit: Lost terminal]
TgMts has joined #ruby
<pontiki> right now?
<pontiki> or in general?
<apeiros_> whichever is more interesting to talk about ;-)
<pontiki> more broadly, doing some hacking on some personal stuff
jamto11 has joined #ruby
shadeslayer has quit [Ping timeout: 256 seconds]
shadeslayer has joined #ruby
josephndenton has quit [Ping timeout: 272 seconds]
hamakn has quit [Remote host closed the connection]
<pontiki> like, i was an idiot when i wrote that, i know better now, so i should clean it up
TgMts has quit [Ping timeout: 244 seconds]
AxonetBE has joined #ruby
Hanmac has quit [Read error: Connection reset by peer]
AxonetBE has quit [Client Quit]
Guest50216 has quit [Ping timeout: 252 seconds]
Hanmac has joined #ruby
DadoCe has joined #ruby
<apeiros_> I find it interesting that so many people seem to experience that
<pontiki> you don't?
<pontiki> i think it's a natural aspect of continuous learning
<apeiros_> I have some code like that too, but I don't think the majority of my code elicits it
<apeiros_> well, I guess my nick is apt then :D
<apeiros_> (one meaning of "apeiros" is "unteachable")
<pontiki> i never confuse teaching with learning
diegoviola has joined #ruby
<apeiros_> learning is the consequence of teaching, no? even if you teach yourself (actively or passively)
<pontiki> perhaps i consider teaching to be deliberate
<apeiros_> but yeah, that's just trying to save it :D
<apeiros_> I don't consider the two to be equivalent either
<pontiki> at any rate, it's fun
TgMts has joined #ruby
moritzs has joined #ruby
Spami_ has joined #ruby
ARCADIVS has quit [Quit: ARCADIVS]
Spami has quit [Ping timeout: 272 seconds]
RikkiMongoose has quit [Quit: Leaving]
hamakn has joined #ruby
komanda3 has joined #ruby
davedev24_ has quit [Ping timeout: 258 seconds]
moritzs has quit [Remote host closed the connection]
klmlfl has joined #ruby
davedev24_ has joined #ruby
wolf4ood has quit [Quit: (null)]
moritzs has joined #ruby
asmodlol has quit [Ping timeout: 264 seconds]
Sawbones has joined #ruby
browndawg has joined #ruby
browndawg has left #ruby [#ruby]
asmodlol has joined #ruby
Flcn__ has joined #ruby
Techguy305 has joined #ruby
Xeago_ has quit [Remote host closed the connection]
commmmodo has quit [Quit: commmmodo]
rshetty has joined #ruby
rahult has joined #ruby
Hanmac has quit [Ping timeout: 250 seconds]
AxonetBE has joined #ruby
Lingo___ has quit [Read error: Connection reset by peer]
luriv has joined #ruby
Lingo___ has joined #ruby
Flcn__ has quit [Ping timeout: 255 seconds]
giuseppesolinas has joined #ruby
giuseppesolinas_ has joined #ruby
Sawbones has quit [Remote host closed the connection]
ptrrr has quit [Quit: ptrrr]
Hanmac has joined #ruby
giuseppesolinas has quit [Client Quit]
Lingo_____ has joined #ruby
Xeago has joined #ruby
Xeago_ has joined #ruby
Lingo___ has quit [Read error: Connection reset by peer]
Lingo_____ has quit [Read error: Connection reset by peer]
Lingo_____ has joined #ruby
Lingo_____ has quit [Read error: Connection reset by peer]
Spami_ has quit [Quit: This computer has gone to sleep]
Lingo_____ has joined #ruby
JBreit has quit [Read error: Connection reset by peer]
St_Marx has joined #ruby
Lingo_________ has joined #ruby
Xeago has quit [Ping timeout: 244 seconds]
krz has quit [Quit: WeeChat 1.0.1]
shuber_ has joined #ruby
Lingo_____ has quit [Ping timeout: 256 seconds]
St_Marx has quit [Client Quit]
St_Marx has joined #ruby
shuber_ has quit [Remote host closed the connection]
slick has joined #ruby
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JBreit has joined #ruby
josephndenton has joined #ruby
JBreit has left #ruby [#ruby]
shuber_ has joined #ruby
raducroitoru has quit [Ping timeout: 255 seconds]
Hanmac has quit [Ping timeout: 272 seconds]
moritzs has quit [Remote host closed the connection]
slawrenc_ has joined #ruby
julieeharshaw has quit [Ping timeout: 245 seconds]
arya_ching has joined #ruby
Channel6 has joined #ruby
AxonetBE has quit [Quit: AxonetBE]
klmlfl has quit [Remote host closed the connection]
julieeharshaw has joined #ruby
<Karunamon> hm, so if you define an exception handler outside a bunch of functions (say they can all throw the same kind of failure you want to deal with), will a 'retry' inside that handler cause the original function to be called again?
<apeiros_> Karunamon: note that "throw" exists in ruby and has nothing to do with exceptions. the term is "raise"
<Karunamon> d'oh, getting my terminology mixed up again
<Karunamon> but yes, raise
<apeiros_> I suggest you paste up a simple example.
<Karunamon> say, some kind of API authorization error that requires a reauth, at which point the code that raised the exception needs to try again
<apeiros_> (and then, since you have the example, you can just try…)
<Karunamon> eh, mostly I just want to know if I'm going to have to write one rescue block or 5
<gr33n7007h> Will SystemCallError rescue a multitude of Errno:: errors?
Hanmac has joined #ruby
yfeldblum has joined #ruby
arya_ching has quit [Read error: No route to host]
<godd2> gr33n7007h yes, just rescue on SystemCallError
<Karunamon> apeiros_: example here - https://gist.github.com/anonymous/d67cb717321cf3a0eca7
<godd2> gr33n7007h if you want to know which one specifically raised an exception, check the first answer here: http://stackoverflow.com/questions/11457795/how-to-rescue-all-exceptions-under-a-certain-namespace
<gr33n7007h> ah, ok thanks godd2
nicolastarzia has joined #ruby
shuber_ has quit [Remote host closed the connection]
Zai00 has joined #ruby
<gr33n7007h> nice link too
yfeldblum has quit [Ping timeout: 244 seconds]
<godd2> the googlefu is strong in this one
spastorino has quit [Quit: Connection closed for inactivity]
<apeiros_> Karunamon: you have an empty begin/rescue part. I guess you want to move the api_authorize in there
_5kg has quit [Ping timeout: 250 seconds]
<apeiros_> Karunamon: and to answer your question - set up a small example with demo methods and test
nicolastarzia has quit [Ping timeout: 272 seconds]
<gr33n7007h> :)
agjacome has joined #ruby
<pontiki> Karunamon: when would a begin-rescue defined in the Class context fire?
<Karunamon> pontiki: if I understand this correctly, the exception would happen in the "do_stuff_with_api" function. It's not handled there, so it bubbles up one level, at which point it's rescued by the block defined above
kapil__ has quit [Quit: Connection closed for inactivity]
<pontiki> the method defined within the rescue block itself?
<pontiki> i don't even know how that's supposed to work...
<Karunamon> any number of API calls could fail with an auth error (FYVM Google...), and that should be handled by re-authing and re-running the function that raised the exception in the first place
leafybasil has joined #ruby
julieeharshaw has quit [Ping timeout: 250 seconds]
mattmcclure has quit [Quit: Connection closed for inactivity]
leafybasil has quit [Remote host closed the connection]
Spami has joined #ruby
<pontiki> i don't understand how that works in a Class context
pdlug has joined #ruby
<Karunamon> me either :P
<pontiki> shouldn't it be done during the instance context?
julieeharshaw has joined #ruby
rshetty has quit [Remote host closed the connection]
<Karunamon> Well, my class is just a plugin container, basically. (Not sure if you're familiar with Cinch, it looks something like this: https://github.com/cinchrb/cinch#plugins)
<pontiki> yeah, a bigt
<pontiki> bit*
<Karunamon> I never actually instantiate the class myself, it's done by this library,
<pontiki> nevertheless, wouldn't the exception occur while running the code in an instance?
<Karunamon> yes, absolutely
<pontiki> then i don't see how it could be defined in the class context, and the methods only defined during the rescue phase
<pontiki> i obviously do not understand something...
<apeiros_> class level code is just code. it works the same way as method level code works.
<apeiros_> or as top level code works
<Karunamon> so where are exceptions handled, at the class level, at the method level, or both?
<pontiki> so it runs at every instance?
<apeiros_> the only differences are in the way lookups work (self/ivar, constants, lvars, def's)
<apeiros_> Karunamon: at the level of your code
<apeiros_> instance/class/etc is unrelated to that
<pontiki> well, okay, when will it run?
haxr has quit [Read error: Connection timed out]
<Karunamon> the function?
<pontiki> i thought it would only run when the class is evaluated
haxr has joined #ruby
<Karunamon> which will happen when the library instantiates my class
<Karunamon> via initilization
haxr has quit [Max SendQ exceeded]
<Karunamon> so that instance of the class now has an API session bound to it
<pontiki> it seems unlikely an API::Authorization error would be happening while the class is being loaded
<apeiros_> class level code is run when the class is evaluated
<Karunamon> unless my API token got revoked or something
<Karunamon> which shouldn't happen, but I need to deal with it if it does
haxr has joined #ruby
<apeiros_> place some `puts` statements and see
<pontiki> right, not when an object of that class is instantiated
haxr has quit [Max SendQ exceeded]
<apeiros_> def, proc and blocks are the only deferred pieces of code
haxr has joined #ruby
<apeiros_> the other code runs all immediately
haxr has quit [Max SendQ exceeded]
Takle_ has quit [Remote host closed the connection]
<Karunamon> the moment you create a new instance of the class
<Karunamon> right/
haxr has joined #ruby
<pontiki> ok, i have to try this
* Karunamon is doing the same
Flcn__ has joined #ruby
havenwood has joined #ruby
<apeiros_> blocks also only defer if the method you pass it to doesn't immediately yield
<pontiki> right
conniemj__ has joined #ruby
<pontiki> so, again, the likelihood of there being an API::Authorization failure during the class definition phase seems highly unlikely, in which case the other methods never get defined
bennyklotz has quit [Quit: leaving]
magnus has joined #ruby
bennyklotz has joined #ruby
pdlug has quit [Quit: Textual IRC Client: www.textualapp.com]
<apeiros_> class body being ordinary code is what allows things like attr_reader to be code
<Karunamon> I don't understand this explanation.. class Foo; bar = 1; end. bar=1 gets evaluated and "exists" even though Foo hasn't been instantiated yte?
<Mon_Ouie> Yes, that code is *only* run once when you create the class, and not when you instantiate it
<godd2> >> class Foo; puts "hello"; end
<eval-in__> godd2 => hello ... (https://eval.in/237806)
Flcn__ has quit [Ping timeout: 250 seconds]
<apeiros_> well, that code is run as often as you evaluate it
<apeiros_> but since you usually load it using `require`, that "as often as" will be precisely once.
<Karunamon> so a = Foo.new, then it doesn't happen
crueber has joined #ruby
<Karunamon> since we've already evaluated defining the class
<Karunamon> instantiating it only cares about what happens in initialize
SHyx0rmZ has joined #ruby
<apeiros_> it doesn't happen because class body code is not the same as the code of the method `new`
antgel has quit [Ping timeout: 245 seconds]
<apeiros_> >> class Foo; end; Foo.method(:new).owner
<eval-in__> apeiros_ => Class (https://eval.in/237807)
<apeiros_> the code of Foo.new is defined in the instance method `new` in class Class. it has nothing to do with your class body.
<Karunamon> ok, that makes sense
<godd2> Karunamon the .new method fires off that .initialize method as a convenience for you
tus has joined #ruby
Xeago_ has quit [Remote host closed the connection]
<apeiros_> Class#new is basically: def new(*args, &block); instance = allocate; instance.__send__(:initialize, *args, &block); instance; end
Zai00 has quit [Quit: Zai00]
tekk has quit [Quit: ZNC - http://znc.in]
Flcn__ has joined #ruby
<magnus> hi
magnus has quit [Quit: leaving]
LouisRoR has quit [Ping timeout: 240 seconds]
kiyote23 has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
commmmodo has joined #ruby
luriv has quit [Remote host closed the connection]
_Andres has quit [Read error: Connection reset by peer]
_Andres has joined #ruby
kiyote23 has quit [Ping timeout: 264 seconds]
LouisRoR has joined #ruby
jds has joined #ruby
JimmyNeutron101 has joined #ruby
conniemj__ has quit [Quit: (null)]
govg has joined #ruby
JimmyNeutron101 has quit [Client Quit]
<havenwood> hi
kasperti_ has quit []
<Karunamon> anyways, thanks, I think I got it. We'll see what happens when the token expires in an hour..
_5kg has joined #ruby
commmmodo has quit [Quit: commmmodo]
<apeiros_> you can accelerate it by using an invalid token?
Hanmac has quit [Read error: Connection reset by peer]
Spami has joined #ruby
Hanmac has joined #ruby
Xeago has joined #ruby
Spami_ has joined #ruby
Xeago has quit [Remote host closed the connection]
yfeldblum has joined #ruby
Xeago has joined #ruby
Spami has quit [Ping timeout: 245 seconds]
yfeldblum has quit [Ping timeout: 240 seconds]
Xeago has quit [Ping timeout: 250 seconds]
jrd0 has quit [Ping timeout: 272 seconds]
Spami_ has quit [Ping timeout: 258 seconds]
elementz has quit [Quit: WeeChat 1.0.1]
Spami has joined #ruby
commmmodo has joined #ruby
Spami_ has joined #ruby
asmodlol has quit [Ping timeout: 240 seconds]
felltir has joined #ruby
Spami has quit [Ping timeout: 245 seconds]
asmodlol has joined #ruby
Spami_ has quit [Ping timeout: 244 seconds]
AxonetBE has joined #ruby
Hanmac has quit [Ping timeout: 250 seconds]
chrishough has joined #ruby
iamninja has joined #ruby
Menorah has quit [Quit: This computer has gone to sleep]
djbkd has joined #ruby
m8 has joined #ruby
luriv has joined #ruby
Zamyatin has joined #ruby
Takle has joined #ruby
djbkd has quit [Ping timeout: 258 seconds]
leafybasil has joined #ruby
davedev2_ has joined #ruby
jriese has quit [Quit: welp]
davedev24_ has quit [Ping timeout: 240 seconds]
jriese has joined #ruby
jrd0 has joined #ruby
Hanmac has joined #ruby
elfuego has joined #ruby
Takle has quit [Ping timeout: 264 seconds]
timonv_ has joined #ruby
leafybasil has quit [Ping timeout: 264 seconds]
leafybasil has joined #ruby
Hanmac has quit [Read error: Connection reset by peer]
hanmac1 has joined #ruby
Jet4Fire has joined #ruby
arya_ching has joined #ruby
renderful has joined #ruby
MrSparkle has joined #ruby
maestrojed has joined #ruby
lkba has quit [Read error: Connection reset by peer]
lkba has joined #ruby
bogeyd6 has quit [Ping timeout: 250 seconds]
renderful has quit [Ping timeout: 258 seconds]
arya_ching has quit []
LouisRoR has quit [Ping timeout: 265 seconds]
giuseppesolinas_ has quit [Quit: This computer has gone to sleep]
amclain has joined #ruby
AxonetBE has quit [Quit: AxonetBE]
mary5030 has joined #ruby
DLSteve has joined #ruby
arya_ching has joined #ruby
shevy has joined #ruby
Menorah has joined #ruby
shevy has quit [Client Quit]
hanmac1 has quit [Read error: Connection reset by peer]
Hanmac has joined #ruby
shevy has joined #ruby
arya_ching has quit [Client Quit]
<shevy> I am back! \o/
<pontiki> as am i
<havenwood> me too
bogeyd6 has joined #ruby
* apeiros_ held the line
JBreit has joined #ruby
studiotate has joined #ruby
yfeldblum has joined #ruby
hamakn has quit [Remote host closed the connection]
lkba has quit [Read error: Connection reset by peer]
lkba has joined #ruby
BTRE has quit [Remote host closed the connection]
nicolastarzia has joined #ruby
atmosx has joined #ruby
psy has quit [Ping timeout: 256 seconds]
yfeldblum has quit [Ping timeout: 240 seconds]
BTRE has joined #ruby
ishikawa91 has joined #ruby
Flcn__ has quit [Quit: Be back later ...]
giuseppesolinas has joined #ruby
tekk has joined #ruby
JBreit has left #ruby ["Leaving"]
nicolastarzia has quit [Ping timeout: 240 seconds]
<atmosx> Good evening
hamakn has joined #ruby
Techguy305 has quit [Ping timeout: 244 seconds]
Lingo_________ has quit [Ping timeout: 244 seconds]
asmodlol has quit [Ping timeout: 258 seconds]
Hanmac has quit [Ping timeout: 264 seconds]
asmodlol has joined #ruby
govg has quit [Quit: leaving]
dc_ has joined #ruby
synire has joined #ruby
Akuma has quit [Ping timeout: 272 seconds]
basex has joined #ruby
Pupeno has quit [Remote host closed the connection]
conniemj__ has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
Flcn__ has joined #ruby
conniemj__ has quit [Client Quit]
studiotate has quit [Quit: Computer has gone to sleep.]
Zamyatin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
studiotate has joined #ruby
behrz has joined #ruby
Flcn__ has quit [Client Quit]
wallerdev has joined #ruby
Pupeno has joined #ruby
studiotate has quit [Client Quit]
elfuego has quit [Quit: elfuego]
jamto11 has quit [Remote host closed the connection]
Zamyatin has joined #ruby
stunder has joined #ruby
cpt_yossarian has joined #ruby
Takle has joined #ruby
knikolov has quit [Ping timeout: 240 seconds]
kasperti_ has joined #ruby
Azure has quit [Quit: My MBP went to sleep.]
jamto11 has joined #ruby
knikolov has joined #ruby
Soda has joined #ruby
PhGeek has quit [Read error: Connection reset by peer]
Zamyatin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Takle has quit [Ping timeout: 244 seconds]
yfeldblum has joined #ruby
Azure has joined #ruby
shuber_ has joined #ruby
iml has quit [Quit: Connection closed for inactivity]
kasperti_ has quit []
ozialien_ has quit [Remote host closed the connection]
pwnz0r has joined #ruby
Channel6 has quit [Quit: Leaving]
Timgauthier has joined #ruby
<gr33n7007h> Why am I so addicted to ruby?
<gr33n7007h> It's like a drug to me :)
Timgauthier has quit [Client Quit]
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
ahmgeek has quit [Remote host closed the connection]
towski_ has quit [Ping timeout: 245 seconds]
<gr33n7007h> >> ->(){}[] #bit of ascii art
<eval-in__> gr33n7007h => nil (https://eval.in/237823)
diegoviola has quit [Remote host closed the connection]
<shevy> yo atmosx
<shevy> gr33n7007h, dunno, I never liked the ->
<shevy> >> nil == ->(){}[]
<eval-in__> shevy => true (https://eval.in/237827)
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
<shevy> man
<shevy> that is like brainfuck
<shevy> my main gripe with -> is that it stands out immensely compared to the rest of the ruby code
knikolov has quit [Ping timeout: 250 seconds]
mary5030 has quit [Ping timeout: 258 seconds]
knikolov has joined #ruby
<atmosx> shevy: how r u?
<apeiros_> shevy: I like it for argument passing
<atmosx> shevy: what does -> mean in ruby?
<shevy> atmosx somewhat ok; last 6 hours the internet and tv was down here, it was boring - I am addicted to the web :(
<apeiros_> on click: -> { do something }, double_click: -> { do_something else }
behrz has quit [Remote host closed the connection]
<atmosx> shevy: isn't everyone hehe
<shevy> apeiros_ but that surely must stand out compared to the rest of the code doesn't it?
<gr33n7007h> >> $><<?-+?-+?|+?-*10+?> # let the fight begin
<eval-in__> gr33n7007h => --|---------->#<IO:<STDOUT>> (https://eval.in/237828)
<apeiros_> atmosx: `->(*args) { …code… }` is alternative syntax for `lambda { |*args| …code… }`
<atmosx> oh
<apeiros_> shevy: not if all your code looks like that!
<shevy> hehehe
<atmosx> I need to get a better grip of yield, lambda and more advanced ruby techniques. I have the PickAxe 1.9, maybe it's time for me to read the entire thing... I used as reference up until now.
<shevy> yield is simple
<felltir> >> ?????:%%%
<eval-in__> felltir => /tmp/execpad-412944de1d70/source-412944de1d70:2: warning: string literal in condition ... (https://eval.in/237829)
<atmosx> shevy: I never use it
<felltir> aww, it breaks on the warning
<crome> yield is just like calling a function you pass around in as a parameter in javascript
<shevy> atmosx well, if you write a class, and you wish to make use of a block to some method there, it would be a good use case
<crome> -in
<shevy> yeah, an extra argument
<shevy> and I always quote apeiros_ here for he wants to have multiple yieldable blocks to a method
<atmosx> shevy: I need to play a little bit with it and understand when/how to use it. Same for lambda etc.
<shevy> people are never happy with what they got!
<shevy> atmosx aha. I will be trying to make a break with new ruby stuff and settle on C 2015!
<atmosx> shevy: cool
kasperti_ has joined #ruby
chipotle has joined #ruby
cmarques has joined #ruby
cats is now known as grumpycat
Musashi007 has joined #ruby
Soda has quit [Remote host closed the connection]
atmosx has quit [Quit: Let him that would move the world first move himself. - Socrates]
sivoais has quit [Ping timeout: 250 seconds]
rbrs has quit [Quit: Leaving]
gusto has joined #ruby
iamninja has quit [Quit: ZZZzzz…]
phutchins has quit [Ping timeout: 258 seconds]
reset has joined #ruby
mary5030 has joined #ruby
Menorah has quit [Quit: This computer has gone to sleep]
<crome> we have a grumpycat!
Menorah has joined #ruby
reset has quit [Client Quit]
<pwnz0r> can someone help me understand how this module works.
<pwnz0r> im caught up on how the functions can have the same name
<crome> grumpycat: no way
<apeiros_> pwnz0r: they don't
gccostabr has joined #ruby
bottomlessrefuse has joined #ruby
<apeiros_> "state=" is not the same name as "state"
<apeiros_> the trailing = is part of the method name
<pwnz0r> ooo
<apeiros_> also, they're methods, not functions
tvw has joined #ruby
mary5030 has quit [Remote host closed the connection]
<pwnz0r> its like using ? as well
<pwnz0r> i get it
<pwnz0r> thanks
mary5030 has joined #ruby
bottomlessrefuse has quit [Client Quit]
mary5030 has quit [Ping timeout: 265 seconds]
atmosx has joined #ruby
<shevy> pwnz0r yeah. and ! also, like: def delete!(input)
rshetty has joined #ruby
<pwnz0r> cool thanks
CrazyM4n has joined #ruby
phutchins has joined #ruby
djbkd has joined #ruby
rshetty has quit [Ping timeout: 265 seconds]
basex has quit [Remote host closed the connection]
gccostabr has quit [Ping timeout: 264 seconds]
Takle has joined #ruby
gccostabr has joined #ruby
djbkd has quit [Ping timeout: 240 seconds]
gccostabr has quit [Max SendQ exceeded]
Jackneill has quit [Read error: Connection reset by peer]
gccostabr has joined #ruby
studiotate has joined #ruby
gccostabr has quit [Max SendQ exceeded]
jds has quit [Quit: Connection closed for inactivity]
giuseppesolinas has joined #ruby
studiotate has quit [Client Quit]
sivoais has joined #ruby
felltir has quit [Remote host closed the connection]
gccostabr has joined #ruby
gccostabr has quit [Max SendQ exceeded]
havenwood has quit [Remote host closed the connection]
Dopagod has joined #ruby
Takle has quit [Ping timeout: 272 seconds]
<atmosx> weeb1e: you alive?
gccostabr has joined #ruby
allen has joined #ruby
basex has joined #ruby
ebbflowgo has joined #ruby
<allen> If I have a .rb file and I want to access the defined variables in my interactive ruby session, how can I do so?
<allen> require './file.rb', seems to evaluate to "true", but it doesn't give me acess to those variables
pwnz0r has quit [Remote host closed the connection]
zhando has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
<atmosx> allen: require_relative
speaking1ode has joined #ruby
<atmosx> require_relative "file"
<allen> atmosx, so require_relative './file.rb'?
<allen> ok
<allen> it does the same thing :/
phutchins has quit [Ping timeout: 245 seconds]
<atmosx> allen: are you on irb?
<allen> NameError: undefined local variable or method `client' for main:Object
<allen> pry
<atmosx> pry -r './file'
<allen> ah
pu22l3r has joined #ruby
<allen> I'm really sorry, its doing the same thing:
<allen> NameError: undefined local variable or method `client' for main:Object
<allen> from (pry):1:in `__pry__'
yfeldblum has quit [Remote host closed the connection]
<atmosx> can you show me the file you're trying to load?
<atmosx> just to make a quick test, since my coding session has finished for today.
<allen> atmosx, yeah give me a second, it has oAuth secrets
<allen> let me make a quick gist
<atmosx> sure
<atmosx> allen: to you have the twitter gem intalled?
<atmosx> Gem list|grep twitter
<atmosx> err: gem list|grep twitter ... should give you a result
gccostab_ has joined #ruby
pu22l3r has quit [Ping timeout: 256 seconds]
gccostab_ has quit [Max SendQ exceeded]
gccostabr has quit [Ping timeout: 256 seconds]
gccostab_ has joined #ruby
ebbflowgo has quit [Quit: ebbflowgo]
gccostab_ has quit [Max SendQ exceeded]
gccostabr has joined #ruby
ixti has joined #ruby
mantas322 has joined #ruby
<mantas322> Hi guys
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<mantas322> I have a quick question
<atmosx> allen: works fine for me, after installing the 'twitter' gem and typing: irb -r './gistfile'
<mantas322> I would like to remove part of my string based on a regular expressions
<atmosx> mantas322: sounds easy
<mantas322> "akjyg3w-khfg23hj"
<mantas322> the dash and everythign after it
<mantas322> im not really fluent in ruby
Photism has quit [Quit: Leaving]
<allen> atmostx, you're right about that, i just installed the twitter gem
oo_ has joined #ruby
shuber_ has quit [Remote host closed the connection]
<allen> thanks, its stupid oblivious mistake, but thanks for your patience
_ixti_ has quit [Ping timeout: 252 seconds]
<atmosx> >> 'akjyg3w-khfg23hj'.split('-')[0]
<eval-in__> atmosx => "akjyg3w" (https://eval.in/237830)
<mantas322> thanks man.
<atmosx> mantas322: np
<apeiros_> grmbl
<atmosx> allen: no worries :-) good luck with your project
dc_ has quit [Remote host closed the connection]
<apeiros_> stupid composite types
<apeiros_> break my modelling
<allen> atmosx, thanks!
<apeiros_> >> 'akjyg3w-khfg23hj'[/[^-]*/]
<eval-in__> apeiros_ => "akjyg3w" (https://eval.in/237831)
<apeiros_> if you want it shorter
<apeiros_> atmosx, allen: btw., if you split and only care for the first N results, pass a second arg to split. that allows it to stop processing. -> str.split(sep, 2)[0]
jcdesimp has joined #ruby
shuber_ has joined #ruby
oo_ has quit [Ping timeout: 244 seconds]
phutchins has joined #ruby
<atmosx> apeiros_: thanks for the hin
<atmosx> t
mantas322 has quit [Quit: Page closed]
Jet4Fire has quit []
<atmosx> apeiros_: I'm trying to create a client-server application. I'd like the server to act as a standard linux service. God is the safest bet when it comes to ruby?
<apeiros_> hm? god is there to control daemons. that's unrelated to your app being a server.
Takle has joined #ruby
<shevy> lol
<shevy> is this philosophical
<shevy> I'm gonna send my angels to counter your daemons!
<majeure> Installing gentoo on this macbook is going to be a pain.
Takle has quit [Remote host closed the connection]
<shevy> Installing gentoo is going to be a pain.
<apeiros_> shevy: god controls your unicorn which is a daemon
hamakn has quit [Remote host closed the connection]
<apeiros_> only in ruby
<shevy> yeah
<shevy> ponicorns
<majeure> I suppose I would've been mildly satisfied with archlinux.
* majeure ponders the situation.
Ancient has left #ruby ["Leaving"]
shock_one has joined #ruby
aswen has joined #ruby
<atmosx> apeiros_: so I must fork / exec and Process.detach?
<apeiros_> if you target newer rubies, there's Process.daemon
atmosx_ has joined #ruby
it0a has joined #ruby
LouisRoR has joined #ruby
<ght> Anyone recommend any good gems to add reporting functionality to your app?
<ght> Something a little more robust than the standard logger?
<apeiros_> in what regard is stdlib's logger not robust?
<atmosx_> ght: what's wrong witht he standard logger?
atmosx has quit [Ping timeout: 256 seconds]
yfeldblum has joined #ruby
wpp has joined #ruby
Channel6 has joined #ruby
aswen has quit [Ping timeout: 245 seconds]
gr33n7007h has quit [Ping timeout: 264 seconds]
Zamyatin has joined #ruby
<ght> Which logger do you use? Right now I'm using the "logger" gem.
<ght> Looks like "logging" is an opion as well
Asher has quit [Quit: Leaving.]
<waxjar> i believe it's good practice to just log to STDOUT and have a specialised tool handle storing, rotating, etc.
jdj_dk has joined #ruby
jdj_dk has quit [Remote host closed the connection]
<ght> Really? Ok.
<apeiros_> no answer to the question, I see…
<ght> I hadn't heard that, right now I"m using logger for writing app logs and it's working great.
dangerousdave has joined #ruby
<ght> apeirois_ Well, to begin with, I"m trying to determine how the hell to delete the header from the log file that is auto-generated.
<apeiros_> oh wow dude, impressive how you misspell my nick
<apeiros_> you know that about all irc clients can tab complete nicks, right?
<ght> Also, for reporting in our app, I'll pobably be writing to CSV, but it would be interesting if a logger could suport CSV / XLS, what have you.
<waxjar> sounds french now :p
<wasamasa> aperiross: don't worry, someone else will do even worse
<ght> apeiros_ : apologies for the high offense.
<apeiros_> wasabima: I've stopped thinking I had seen it all
<ght> Sounds like this isn't the first time.
basex has quit [Remote host closed the connection]
<apeiros_> not sure how headers are about robustness, but well.
<wasamasa> thg: It's never the first time
basex has joined #ruby
<ght> Regardless, forget reporting; what gem do you guys prefer for general logging functionality? Or do you not use a specific gem?
<waxjar> the standard logger library allows you to log in a custom format, no?
<atmosx_> ght: the default logger is great, but I'm positive that logger doesn't output to CSV. You might want to use logger library for debugging and CSV library to generate logs that match your requirements though.
<ght> So the Logger.new() method is built-in these days, and doesn't require a gem? I must have been reading an old stackoverflow article when I set that up.
sinkensabe has joined #ruby
<apeiros_> Logger is stdlib. that's not built-in. it still needs a require. but it doesn't need an additional gem.
<ght> atmosx_: I read that last stackoverflow article, I was going to paste that earlier, if you'll notice it the question is four years old, didn't know if the information was still relevant.
<apeiros_> (unless you use a package manager which manages to split ruby up in a new fancy way)
<atmosx_> ght: you can still monkey-patch though
<ght> So it's still valid, ok.
<ght> Thank you.
<atmosx_> no worries, good night (everyone)
atmosx_ has quit [Quit: Let him that would move the world first move himself. - Socrates]
dangerousdave has quit [Read error: No route to host]
<shock_one> atomi: you can pass a file handler to the standard logger, and modify its output format to be CSV.
<shock_one> atmosx_, I mean ↑
basex has quit [Remote host closed the connection]
elaptics`away is now known as elaptics
Hobogrammer has joined #ruby
dangerou_ has joined #ruby
wallerdev has quit [Quit: wallerdev]
mary5030 has joined #ruby
shuber_ has quit [Remote host closed the connection]
dc_ has joined #ruby
komanda3 has quit [Ping timeout: 245 seconds]
dangerou_ has quit [Read error: Connection reset by peer]
<ght> While we're on the topic, any clue if it's possible to use variables in the filename path of a logger?
<ght> The standard string #{varname} isn't working.
<bradland> Using double quotes?
djbkd has joined #ruby
wallerdev has joined #ruby
haxr has quit [Read error: Connection timed out]
<shock_one> ght: come on, it's a regular string. You can do any string operations with it.
<bradland> ght: strings are strings. they’re interpolated regardless of what class you pass them to. provided you use double-quotes, and provided no library you’re using has badly mangled String, you can use standard variable expansion.
sinkensabe has quit [Ping timeout: 250 seconds]
haxr has joined #ruby
mary5030 has quit [Ping timeout: 258 seconds]
<ght> bradland: That did it, thank you. Had a bit of a brain fart there.
decoponio has quit [Quit: Leaving...]
haxr has quit [Max SendQ exceeded]
sinkensabe has joined #ruby
shuber_ has joined #ruby
Techguy305 has joined #ruby
Azure has quit [Quit: My MBP went to sleep.]
haxr has joined #ruby
hephaestus_rg has joined #ruby
wpp has quit []
haxr has quit [Max SendQ exceeded]
MartynKeigher has quit [Ping timeout: 244 seconds]
haxr has joined #ruby
MartynKeigher has joined #ruby
stunder has quit [Ping timeout: 258 seconds]
haxr has quit [Max SendQ exceeded]
lkba has quit [Ping timeout: 255 seconds]
elaptics is now known as elaptics`away
havenwood has joined #ruby
haxr has joined #ruby
AndyBotwin has quit [Read error: Connection reset by peer]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
lkba has joined #ruby
Flcn__ has joined #ruby
pygospa has quit [Ping timeout: 272 seconds]
shuber_ has quit [Remote host closed the connection]
crack_user has joined #ruby
pygospa has joined #ruby
oo_ has joined #ruby
DadoCe has quit [Remote host closed the connection]
DadoCe has joined #ruby
hvid has joined #ruby
psy has joined #ruby
oo_ has quit [Ping timeout: 264 seconds]
Zamyatin has quit [Quit: Knocking out. Peace y'all...]
basex has joined #ruby
sinkensabe has quit [Ping timeout: 255 seconds]
shuber_ has joined #ruby
comm64 has joined #ruby
jamto11 has quit []
Flcn__ has quit [Quit: Be back later ...]
DadoCe has quit [Ping timeout: 252 seconds]
Azure has joined #ruby
MartynKeigher has quit [Quit: Leaving]
MartynKeigher has joined #ruby
sinkensabe has joined #ruby
shuber_ has quit [Remote host closed the connection]
ptrrr has joined #ruby
psy has quit [Ping timeout: 245 seconds]
keen__________16 has joined #ruby
keen__________15 has quit [Ping timeout: 244 seconds]
Asher has joined #ruby
Soda has joined #ruby
<apeiros_> anybody want to give a shot at optimizing performance of something which is used in tight loops?
asmodlol has quit [Ping timeout: 240 seconds]
<apeiros_> v1 is what I currently have, but it can't deal with composite inputs, i.e. casters which consume more than just 1 value
<apeiros_> so for the input [1,2,3,4,5,"USD",7,8,"USD"], I want the output [1,2,3,4,[5,"USD"],7,[8,"USD"]] (technically, I want the blocks be called with that as arguments)
asmodlol has joined #ruby
Sawbones has joined #ruby
CrazyM4n has quit [Quit: going to eat food]
giuseppesolinas has joined #ruby
Sawbones has quit [Ping timeout: 250 seconds]
<comm64> say a variable can be set to true or false by something other than me, and I want to be able to check the value of the variable, how would I do that? I looked into how ruby does exist? and is_a? but not much help.
<apeiros_> comm64: you use the name of variable
<apeiros_> if @your_var == true …; if @your_var == false; …
<comm64> I want to be able to call it as a method like variable.value? so I tried def value?; unless variable == false; return true; end; end; but it doesnt work
<apeiros_> variables are not objects
<apeiros_> .value? would have to be defined on the object which you assign to the variable.
<comm64> I thught everything is an object
<apeiros_> you thought wrong
sinkensabe has quit [Read error: Connection reset by peer]
<comm64> then why does everybody say in ruby everything is an object?
<bradland> comm64: before going down this path, you should look in to how values eval true/false in ruby
<apeiros_> because it's approximately true
<comm64> they should say everlthing has the potential to be an object
<bradland> if you find yourself using the literal comparison `variable == true` or `variable == false`, you have probably arrived at a place you don’t want to be
<apeiros_> that'd not be more correct
<apeiros_> almost everything is an object
<apeiros_> and almost everything which is not an object to begin with, can be turned into an object
fantazo has joined #ruby
<comm64> bradland: pls explain
<bradland> you can normally use the variable directly in the conditional, because of how ruby evals in a true/false context
<bradland> do you know how to use irb?
<comm64> lol potentially object oriented programming
<comm64> yes
<apeiros_> oh dear
<bradland> >> str = "some txt"; puts "Hello" if str
<eval-in__> bradland => Hello ... (https://eval.in/237862)
sinkensabe has joined #ruby
sinkensabe has quit [Remote host closed the connection]
<bradland> in that statement, str evals to true
mjuszczak has joined #ruby
<waxjar> ruby's variables are references, they refer to objects but aren't objects themselves
<bradland> if you have a variable, and you want to call a method on that variable, you need to know the class of the data stored in teh variable
pu22l3r has joined #ruby
timonv_ has quit [Remote host closed the connection]
timonv_ has joined #ruby
FooMunki has joined #ruby
timonv_ has quit [Remote host closed the connection]
<comm64> apeiros_: you know its funny
<bradland> if you literally assigne true to a variable `myvar = true`, the value in myvar is of the type TrueClass, which is documented here: http://www.ruby-doc.org/core-2.1.3/TrueClass.html
fantazo has quit [Client Quit]
Deele has quit [Ping timeout: 244 seconds]
Takle has joined #ruby
haxr has quit [Read error: Connection timed out]
sinkensabe has joined #ruby
Dopagod has quit [Read error: Connection reset by peer]
haxr has joined #ruby
basex has quit [Remote host closed the connection]
haxr has quit [Max SendQ exceeded]
basex has joined #ruby
<havenwood> A}|||||A\
Spami has joined #ruby
<bradland> writing some brainfuck havenwood?
haxr has joined #ruby
<havenwood> cleaning the keyboard, sorry about that!
<bradland> indistinguishable from bf :)
Deele has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
startupality has joined #ruby
ta has joined #ruby
<bradland> comm64: if it’s possible, pastie some context and someone can provide suggestions on a good way to test/structure the conditional for the case you’re examining
<comm64> back from irb with this...maybe someone can tell me if it is rubyish enough or not
Timgauthier has joined #ruby
byprdct has joined #ruby
<bradland> with… ?
<comm64> a = true; if a.inspect == "true"; puts "value of a is true" end
dc_ has quit [Remote host closed the connection]
<apeiros_> comm64: can a only be true or false?
<comm64> yes
<apeiros_> if a; puts "true"; else; puts "false"; end
byprdct has quit [Read error: Connection reset by peer]
<apeiros_> inspect is for developers to inspect an object during development (hence the name)
<bradland> you don’t need the literal comparison there
<bradland> as apeiros_ pointed out, you can place a directly in the conditional
<bradland> you don’t care if it is literally “true”, you only care if it evaluates true
<comm64> yes
<comm64> enlightening
dionysus69 has quit [Ping timeout: 240 seconds]
<comm64> I thank you much
<apeiros_> and if you care whether it is not just logically true, but really the value true, compare it directly. don't go via its string representation.
<apeiros_> if a == true …
basex has quit [Remote host closed the connection]
<bradland> comm64: have a read through this
ishikawa91 has quit [Quit: Connection closed for inactivity]
<bradland> truthy and falsey are important concepts in ruby
basex has joined #ruby
Takle has quit [Read error: Connection reset by peer]
startupality has quit [Quit: startupality]
Takle has joined #ruby
ohaibbq has joined #ruby
hvid has quit [Quit: Leaving]
marr has joined #ruby
ta_ has joined #ruby
MartynKeigher has quit [Read error: Connection reset by peer]
MartynKeigher has joined #ruby
oo_ has joined #ruby
Hanmac has joined #ruby
<apeiros_> they're important concepts in most languages
<apeiros_> but not all languages have the same idea about what's truthy/falsey
oo_ has quit [Ping timeout: 252 seconds]
<Timgauthier> thats why we're programmery type people, we learn what truey and falsy are in our languages and then we can utilize them!
mjuszczak has quit []
mjuszczak has joined #ruby
dc_ has joined #ruby
eirik1 has joined #ruby
maestrojed has quit [Quit: Textual IRC Client: www.textualapp.com]
eirik1 has quit []
MartynKeigher has quit [Ping timeout: 255 seconds]
eirik1 has joined #ruby
<shevy> $(document).ready(function(){ $("p").click(function(){ $(this).hide(); });});
<shevy> why could they not have used ruby ...
<Timgauthier> goodnight north america
<Timgauthier> because shevy its JS
<Timgauthier> and JS runs on every browser
Timgauthier has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
haxr has quit [Read error: Connection reset by peer]
amundj has joined #ruby
yfeldblum has quit [Ping timeout: 272 seconds]
bronson has joined #ruby
maestrojed has joined #ruby
bronson has quit [Client Quit]
sinkensabe has quit [Remote host closed the connection]
bronson has joined #ruby
kirun has quit [Quit: Client exiting]
randiman has joined #ruby
Sawbones has joined #ruby
codecop has quit [Remote host closed the connection]
mjuszczak has quit []
basex has quit [Remote host closed the connection]
Vile` has quit [Remote host closed the connection]
Sawbones has quit [Ping timeout: 244 seconds]
tvw has quit []
Vile` has joined #ruby
ta_ has quit [Remote host closed the connection]
SparkMasterTape has joined #ruby
elfuego has joined #ruby
startupality has joined #ruby
Menorah has quit [Quit: This computer has gone to sleep]
djbkd has quit [Quit: My people need me...]
AndyBotwin has joined #ruby
AndyBotwin has quit [Changing host]
AndyBotwin has joined #ruby
gsd has joined #ruby
basex has joined #ruby
gsd has quit [Client Quit]
djbkd has joined #ruby
gsd has joined #ruby
mjuszczak has joined #ruby
basex has quit [Remote host closed the connection]
ta_ has joined #ruby
basex has joined #ruby
claw__ has quit [Ping timeout: 265 seconds]
<Karunamon> Ok, I need to run this idea by somebody
<Karunamon> i'm hitting a metacritic API that doesn't give me access to the aggregate user score
<Karunamon> but it does say how many of each positive/mixed/negative reviews there are
Azure has quit [Quit: My MBP went to sleep.]
timonv_ has joined #ruby
<Karunamon> Each review is 1-100, so if I were to say mutliply the number of + reviews by 100, middling reviews by 50, and negative reviews by zero, sum that number up, and divide by the number of reviews
frem has joined #ruby
djbkd has quit [Ping timeout: 252 seconds]
<Karunamon> would I have something resembling a reasonably accurate 0-10 rating of whatever title? I tried it a couple of times and it only ended up being off by .1-.2 from what the site actually says, just wondering if there are any edge cases i'm missing
Menorah has joined #ruby
Pupeno has quit [Ping timeout: 265 seconds]
shock_one has quit [Remote host closed the connection]
yfeldblum has joined #ruby
yfeldblu_ has joined #ruby
asmodlol has quit [Ping timeout: 245 seconds]
basex has quit [Remote host closed the connection]
iamjarvo has joined #ruby
Musashi007 has quit [Quit: Musashi007]
mjuszczak has quit []
yfeldblum has quit [Ping timeout: 240 seconds]
asmodlol has joined #ruby
Pupeno has joined #ruby
mjuszczak has joined #ruby
mjuszczak has quit [Client Quit]
Musashi007 has joined #ruby
mjuszczak has joined #ruby
mjuszczak has quit [Client Quit]
mjuszczak has joined #ruby
mjuszczak has quit [Max SendQ exceeded]
shuber_ has joined #ruby
mjuszczak has joined #ruby
startupality has quit [Quit: startupality]
AndyBotwin has quit [Read error: Connection reset by peer]
AndyBotwin has joined #ruby
shuber_ has quit [Ping timeout: 272 seconds]
hanmac1 has joined #ruby
gusto has quit [Quit: Leaving]
randiman has quit [Quit: (null)]
Spami has quit [Quit: This computer has gone to sleep]
mjuszczak has quit []
Hanmac has quit [Ping timeout: 265 seconds]
Musashi007 has quit [Quit: Musashi007]
az7ar_away has joined #ruby
Menorah has quit [Quit: This computer has gone to sleep]
mjuszczak has joined #ruby
tus has quit [Ping timeout: 250 seconds]
Spami has joined #ruby
lemur has joined #ruby
Menorah has joined #ruby
timonv_ has quit [Ping timeout: 240 seconds]