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
coderhs has joined #ruby
devoldmx33 has quit [Quit: AFK]
msmith_ has joined #ruby
bashusr has joined #ruby
bigmac has quit [Ping timeout: 250 seconds]
Techguy305 has quit [Ping timeout: 272 seconds]
jack_rabbit has joined #ruby
<jaequery> hm cool i think it worked!
<jaequery> thx
studiotate has joined #ruby
hmsimha has quit [Ping timeout: 252 seconds]
claptor has quit [Quit: this channel is bakas]
msmith_ has quit [Ping timeout: 240 seconds]
bashusr has quit [Read error: Connection reset by peer]
wookiehangover has quit [Ping timeout: 258 seconds]
olivier_bK has joined #ruby
studiotate has quit [Ping timeout: 240 seconds]
oleo has quit [Quit: Verlassend]
bashusr has joined #ruby
Beoran_ has joined #ruby
Mikke has joined #ruby
dc_ has quit [Remote host closed the connection]
asmodlol has quit [Read error: Connection timed out]
wookiehangover has joined #ruby
Beoran has quit [Ping timeout: 245 seconds]
<Mikke> > [1.0 .. ]
asmodlol has joined #ruby
ptrrr has quit [Quit: ptrrr]
marr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
zacts has joined #ruby
<Mikke> There are a few oddball error messages that *sometimes* come up; "CPU Arch invalid for this device", "com.google,process.gapps has stopped"... that sort of thing.
Timgauthier has joined #ruby
DadoCe has joined #ruby
Timgauthier has quit [Client Quit]
oleo has joined #ruby
oleo has quit [Read error: Connection reset by peer]
coderhs has quit [Quit: This computer has gone to sleep]
lemur has joined #ruby
coderhs has joined #ruby
Menorah has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
AlexRussia has joined #ruby
mary5030 has joined #ruby
VBlizzard is now known as blizzy
coderhs has quit [Client Quit]
bashusr has joined #ruby
<shevy> cool
<bradland> Mikke: got a link?
oleo has joined #ruby
lemur has quit [Ping timeout: 264 seconds]
mary5030 has quit [Ping timeout: 258 seconds]
dc_ has joined #ruby
barderer has joined #ruby
bigmac has joined #ruby
nicolastarzia has joined #ruby
jack_rabbit has quit [Ping timeout: 244 seconds]
dx7iso has joined #ruby
DLSteve has quit [Quit: Leaving]
ponga has joined #ruby
coderhs has joined #ruby
<Mikke> vonnegut, it works in there
marens_ has quit [Remote host closed the connection]
dx7iso has quit [Remote host closed the connection]
nicolastarzia has quit [Ping timeout: 240 seconds]
pandaant has quit [Remote host closed the connection]
coderhs has quit [Client Quit]
olivier_bK has quit [Ping timeout: 258 seconds]
pu22l3r has joined #ruby
coderhs has joined #ruby
ponga has quit [Ping timeout: 265 seconds]
bigmac has quit [Ping timeout: 244 seconds]
bashusr has quit [Read error: Connection reset by peer]
dotix has quit [Ping timeout: 244 seconds]
TgMts has quit [Quit: No Ping reply in 180 seconds.]
Mikke has quit []
thumpba has joined #ruby
bigmac has joined #ruby
pu22l3r has quit [Ping timeout: 240 seconds]
TgMts has joined #ruby
<shevy> class AlphaPornoIE(InfoExtractor):
<shevy> _TEST = {
Pupeno_ has quit [Remote host closed the connection]
<shevy> those leading _ trip me up
<shevy> def _real_extract(self, url):
<shevy> explicit self everywhere
<shevy> :(
jack_rabbit has joined #ruby
dx7iso has joined #ruby
Pupeno has joined #ruby
rkday has quit [Ping timeout: 244 seconds]
bashusr has joined #ruby
jamto11 has joined #ruby
Neomex has quit [Quit: Leaving]
thumpba has quit [Ping timeout: 245 seconds]
bashusr has quit [Read error: Connection reset by peer]
bigmac has quit [Ping timeout: 250 seconds]
Xeago has quit [Remote host closed the connection]
Stoge88 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
TgMts has quit [Quit: No Ping reply in 180 seconds.]
jamto11 has quit [Ping timeout: 258 seconds]
bigmac has joined #ruby
TgMts has joined #ruby
bashusr has joined #ruby
despai has quit [Quit: This computer has gone to sleep]
TgMts has quit [Client Quit]
Joufflu has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
TgMts has joined #ruby
<godd2> shevy the leading _ doesn't actually do anything. it's just a convention to other programmers that you should treat that thing privately
<shevy> weird
<godd2> but all instance variables are public in python.
<godd2> no matter what
Menorah has quit [Quit: This computer has gone to sleep]
bashusr has quit [Read error: Connection reset by peer]
<shevy> godd2 j416 showed me this trick some hours ago
<godd2> of course, the opposite is true in ruby. all ivars are private
<shevy> next step is to try and redirect puts statement only inside the w {} invocation
<shevy> hmm
<shevy> am I right in thinking that a constant defined in some module
zacts has quit [Read error: Connection reset by peer]
<shevy> that keeps a reference to an object, like
<shevy> module Foo; class Bar; end; BAR = Bar.new; end
<shevy> is a bit like a $global variable?
nfk has quit [Quit: yawn]
<shevy> e. g. you can access to it at any time through Foo::BAR
<godd2> You can access it at any time through ::Foo::BAR more technically, but yes for the most part
<shevy> ah
<shevy> wait
<shevy> ::Foo::BAR also works?
<godd2> but the other difference to $globals is that it will warn you if you try to point Foo::BAR at something else
<godd2> but you can mutate what Foo::BAR points to with reckless abandon
bigmac has quit [Ping timeout: 250 seconds]
<shevy> yeah it is ok, I only need one instance of it
<godd2> putting a leading double colon means "go to the root namespace"
<shevy> I am learning new stuff still in 2014!
siaw has joined #ruby
<godd2> so if you have module Foo; class File; end; ::File; end
<godd2> that ::File would refer to Ruby's File class, not Foo::File
bashusr has joined #ruby
zacts has joined #ruby
zacts has quit [Changing host]
zacts has joined #ruby
Azure has quit [Quit: My MBP went to sleep.]
Menorah has joined #ruby
Sembei has joined #ruby
basex_ has quit [Remote host closed the connection]
bashusr has quit [Read error: Connection reset by peer]
Youka has quit [Quit: Nettalk6 - www.ntalk.de]
tus has quit [Ping timeout: 250 seconds]
dx7iso has quit [Remote host closed the connection]
behrz has joined #ruby
tus has joined #ruby
bashusr has joined #ruby
tuxdna has joined #ruby
hiyosi has joined #ruby
fantazo has joined #ruby
lkba has quit [Ping timeout: 240 seconds]
Azure has joined #ruby
poetazus has joined #ruby
havenwood has quit [Remote host closed the connection]
bashusr has quit [Read error: Connection reset by peer]
sambao21 has quit [Quit: Computer has gone to sleep.]
robustus has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
Deele has quit [Ping timeout: 244 seconds]
jack_rabbit has quit [Ping timeout: 245 seconds]
AlexRussia has quit [Ping timeout: 272 seconds]
bashusr has joined #ruby
cmarques has quit [Remote host closed the connection]
coderhs has quit [Quit: This computer has gone to sleep]
robustus has joined #ruby
pharpend has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bashusr has quit [Read error: Connection reset by peer]
pharpend has quit [Client Quit]
poetazus has quit [Remote host closed the connection]
rpag has joined #ruby
poetazus has joined #ruby
bashusr has joined #ruby
boadie has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
commmmodo has joined #ruby
ponga has joined #ruby
hamakn has joined #ruby
coderhs has joined #ruby
chrishough has joined #ruby
poetazus has quit [Quit: Leaving...]
Mongey has quit [Ping timeout: 240 seconds]
zen_ has quit [Ping timeout: 250 seconds]
bashusr has joined #ruby
comm64 has joined #ruby
Channel6 has joined #ruby
zacts has quit [Quit: leaving]
ponga has quit [Ping timeout: 240 seconds]
<comm64> I've read online that you should put require statements at the top of your ruby files but what if the file you need to require depends on conditions
<apeiros_> it's a "should", not a "must"
spastorino has quit [Quit: Connection closed for inactivity]
bashusr has quit [Read error: Connection reset by peer]
<shevy> comm64 it makes it easier to know what is required in said file at one glance
Aswebb_ has joined #ruby
siaw has left #ruby [#ruby]
Mongey has joined #ruby
<shevy> comm64 if you need conditional requires then they can often happen on the top of the file too right?
<shevy> begin
<shevy> require 'readline'
<shevy> rescue LoadError; end
<shevy> well, and setting some constant like READLINE_IS_AVAILABLE in a module
<shevy> module MyGame; end
<comm64> yeah I suppose
coderhs has quit [Quit: This computer has gone to sleep]
<shevy> and above: rescue LoadError; MyGame::READLINE_IS_AVAILABLE = false; end
<shevy> if MyGame.has_readline_support?; user_input = Readline.readline(' >', true)
DadoCe has quit [Remote host closed the connection]
jamto11 has joined #ruby
jack_rabbit has joined #ruby
<comm64> is there a rule of thumb to breaking a program up into multiple files
DadoCe has joined #ruby
<zenspider> I generally do one file per class, broken down by namespace.
<apeiros_> ^ +1
bashusr has joined #ruby
<zenspider> but sometimes it gets absurd and you just lump everything together at the top of the namespace (lots of tiny classes, for example)
Aswebb_ has quit [Ping timeout: 256 seconds]
<zenspider> lib/a.rb instead of lib/a/b.rb lib/a/c.rb lib/a/d.rb etc.
coderhs has joined #ruby
AlexRussia has joined #ruby
<zenspider> just depends on maintainability
<shevy> yeah one file <-> one class is a nice convention
dorei has quit []
<apeiros_> makes finding code easy without even using advanced tools. A::B::C -> a/b/c.rb -> a/b.rb -> a.rb (first which exists contains it)
Areessell has quit [Ping timeout: 240 seconds]
<apeiros_> comm64: also check the guide on how to name rubygems
coderhs has quit [Client Quit]
<zenspider> tldr is <underscore_name> or <parent_gem>-<extension_name>
jamto11 has quit [Ping timeout: 258 seconds]
DadoCe has quit [Ping timeout: 258 seconds]
bashusr has quit [Read error: Connection reset by peer]
<shevy> comm64 I have found that it greatly depends on the size of the code/project in question
AUS3RIS has joined #ruby
<comm64> arrgggh the freedom!!! lol
coderhs has joined #ruby
marr has quit [Ping timeout: 244 seconds]
<apeiros_> freedom also allows you to relinquish freedom.
msmith_ has joined #ruby
<shevy> comm64 yeah but freedom is also based on decisions and there are always pros and cons to some decisions. I found that my brain works much better when code is short - code files that are like +2000 lines long really burden my brain immensely when I did not look at it for some weeks
sambao21 has joined #ruby
<apeiros_> hey zenspider, when targeting exclusively ruby 2.2, would you represent decimals with BigDecimal or with Rational?
bashusr has joined #ruby
Cache_Money has joined #ruby
coderhs has quit [Quit: This computer has gone to sleep]
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zacts has joined #ruby
zacts has quit [Changing host]
zacts has joined #ruby
msmith_ has quit [Ping timeout: 256 seconds]
hamakn has quit [Remote host closed the connection]
coderhs has joined #ruby
sambao21 has quit [Ping timeout: 244 seconds]
bashusr has quit [Read error: Connection reset by peer]
ebbflowgo has joined #ruby
AUS3RIS has quit [Quit: ZZZzzz…]
fantazo has quit [Quit: Verlassend]
sambao21 has joined #ruby
Areessell has joined #ruby
zen has joined #ruby
chrishough has joined #ruby
zen is now known as Guest76987
eka has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
paulfm has joined #ruby
bashusr has joined #ruby
jack_rabbit has quit [Ping timeout: 265 seconds]
coderhs has quit [Quit: This computer has gone to sleep]
<apeiros_> I guess I'll stick to bigdecimal for the moment
rshetty has joined #ruby
zorak8 has quit [Ping timeout: 258 seconds]
basex has joined #ruby
Guest76987 has quit [Ping timeout: 245 seconds]
tuxdna has quit [Ping timeout: 250 seconds]
eka has joined #ruby
sambao21 has quit [Ping timeout: 245 seconds]
barderer has quit [Ping timeout: 244 seconds]
coderhs has joined #ruby
basex has quit [Ping timeout: 244 seconds]
paulfm has quit [Quit: Goodbye]
<shevy> big is good
Musashi007 has quit [Quit: Musashi007]
coderhs has quit [Client Quit]
sambao21 has joined #ruby
charliesome has joined #ruby
coderhs has joined #ruby
sambao21_ has joined #ruby
Takle_ has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 245 seconds]
sambao21 has quit [Ping timeout: 250 seconds]
bashusr has quit [Read error: Connection reset by peer]
sambao21_ is now known as sambao21
dx7iso has joined #ruby
coderhs has quit [Client Quit]
nicolastarzia has joined #ruby
dcarmich has quit [Quit: Textual IRC Client: www.textualapp.com]
wjimenez5271 has joined #ruby
Musashi007 has joined #ruby
wjimenez5271 has quit [Client Quit]
dx7iso has quit [Ping timeout: 252 seconds]
bashusr has joined #ruby
nicolastarzia has quit [Ping timeout: 272 seconds]
Musashi007 has quit [Client Quit]
tkuchiki has joined #ruby
adam_ is now known as adam
sambao21 has quit [Ping timeout: 252 seconds]
adam is now known as Guest68461
Musashi007 has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
renderful has joined #ruby
sambao21 has joined #ruby
shevy has quit [Ping timeout: 258 seconds]
bashusr has joined #ruby
braincra- has joined #ruby
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
renderful has quit [Ping timeout: 264 seconds]
windowlicker has joined #ruby
braincrash has quit [Ping timeout: 245 seconds]
bashusr has quit [Read error: Connection reset by peer]
DadoCe has joined #ruby
ponga has quit [Ping timeout: 244 seconds]
TgMts has quit [Quit: No Ping reply in 180 seconds.]
gja has joined #ruby
gja has quit [Changing host]
gja has joined #ruby
TgMts has joined #ruby
Brando753 has quit [Read error: Connection reset by peer]
DadoCe has quit [Ping timeout: 240 seconds]
drjfreez1 has joined #ruby
bashusr has joined #ruby
Brando753 has joined #ruby
chipotle has quit [Quit: cheerio]
drjfreeze has quit [Ping timeout: 256 seconds]
amundj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jamto11 has joined #ruby
gja has quit [Client Quit]
TgMts has quit [Client Quit]
icebourg has joined #ruby
icebourg has quit [Max SendQ exceeded]
icebourg has joined #ruby
TgMts has joined #ruby
ponga has joined #ruby
frem has joined #ruby
jayne has joined #ruby
jamto11 has quit [Ping timeout: 258 seconds]
apeiros_ has joined #ruby
jayne_ has quit [Read error: Connection reset by peer]
Menorah has quit [Quit: This computer has gone to sleep]
porkys has quit [K-Lined]
DadoCe has joined #ruby
Menorah has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
djbkd has joined #ruby
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby
ponga has quit [Remote host closed the connection]
hfp has quit [Ping timeout: 265 seconds]
ponga has joined #ruby
hrs has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
ereslibre has joined #ruby
bashusr has joined #ruby
zen has joined #ruby
hfp_work has quit [Ping timeout: 256 seconds]
zen is now known as Guest40114
<ereslibre> hi guys. any idea why isn't this working? http://pastebin.com/9249nNMU
kapil__ has joined #ruby
<ereslibre> 192.5.6.30 is a.gtld-servers.net
hrs has quit [Client Quit]
ARCADIVS has joined #ruby
<ereslibre> it is returning an empty array, but should return four results (same as 'dig ns google.com @a.gtld-servers.net')
tkuchiki has quit [Ping timeout: 258 seconds]
bashusr has quit [Read error: Connection reset by peer]
ponga has quit [Ping timeout: 256 seconds]
tus has quit []
TgMts has quit [Ping timeout: 252 seconds]
jenrzzz has joined #ruby
Guest40114 has quit [Ping timeout: 244 seconds]
hamakn has joined #ruby
it0a has joined #ruby
Areessell has quit [Ping timeout: 240 seconds]
maestrojed has joined #ruby
hrs has joined #ruby
bashusr has joined #ruby
Menorah has quit [Quit: This computer has gone to sleep]
bashusr has quit [Read error: Connection reset by peer]
ebbflowgo has quit [Quit: ebbflowgo]
charliesome has quit [Quit: zzz]
phutchins has quit [Ping timeout: 244 seconds]
chater has quit [Quit: Saliendo]
karmatr0n has quit [Read error: Connection reset by peer]
hamakn has quit [Ping timeout: 264 seconds]
karmatr0n has joined #ruby
shevy has joined #ruby
zorak8 has joined #ruby
jaequery has joined #ruby
Takle has joined #ruby
charliesome has joined #ruby
bashusr has joined #ruby
<shevy> I am back!
jenrzzz has quit [Ping timeout: 244 seconds]
bashusr has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
comm64 has quit [Remote host closed the connection]
<godd2> ereslibre perhaps a hint is the fact that getresource raises an exception and says "DNS result has no information for google.com"
<godd2> getresources doesn't raise the same exception, but that doesn't mean it has any more information for google.com
<ereslibre> godd2: thing is, why can't it fetch it?
<godd2> I have no idea. I don't even know what any of that code does.
<ereslibre> godd2: hehehe, thanks anyway :)
Musashi007 has quit [Quit: Musashi007]
Takle has quit [Ping timeout: 264 seconds]
Zaza has quit [Read error: Connection reset by peer]
Zaza has joined #ruby
davedev24_ has quit [Remote host closed the connection]
bogeyd6 has quit [Ping timeout: 258 seconds]
bashusr has joined #ruby
sankaber has joined #ruby
krz has joined #ruby
pyx has joined #ruby
pyx has quit [Client Quit]
havenwood has joined #ruby
pu22l3r has joined #ruby
Musashi007 has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
Aswebb_ has joined #ruby
davedev24_ has joined #ruby
_5kg has quit [Ping timeout: 265 seconds]
sankaber_ has joined #ruby
sankaber has quit [Read error: Connection reset by peer]
Aswebb_ has quit [Ping timeout: 244 seconds]
_5kg has joined #ruby
bashusr has joined #ruby
ebbflowgo has joined #ruby
soixante has joined #ruby
soixante has quit [Quit: leaving]
hamakn has joined #ruby
hamakn has quit [Remote host closed the connection]
sankaber_ has quit [Ping timeout: 240 seconds]
hsps_ has joined #ruby
hamakn has joined #ruby
rshetty has quit [Remote host closed the connection]
msmith_ has joined #ruby
sambao21 has quit [Ping timeout: 245 seconds]
studiotate has joined #ruby
ChoiKyuSang has quit [Quit: Going offline, see ya! (www.adiirc.com]
sambao21 has joined #ruby
hfp has joined #ruby
jamto11 has joined #ruby
msmith_ has quit [Ping timeout: 245 seconds]
hfp_work has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
gfawcettpq has joined #ruby
Akagi201_ has joined #ruby
Akagi201 has quit [Ping timeout: 240 seconds]
jamto11 has quit [Ping timeout: 258 seconds]
it0a has quit [Quit: WeeChat 1.0.1]
it0a has joined #ruby
hfp has quit [Ping timeout: 255 seconds]
hfp_work has quit [Ping timeout: 265 seconds]
bashusr has joined #ruby
studiotate has quit [Quit: Computer has gone to sleep.]
ChoiKyuSang has joined #ruby
gfawcettpq has quit [Read error: Connection reset by peer]
blizzy has quit [Ping timeout: 245 seconds]
gfawcettpq has joined #ruby
ereslibre has quit [Quit: Page closed]
hfp has joined #ruby
hfp_work has joined #ruby
basex has joined #ruby
studiotate has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
basex has quit [Ping timeout: 240 seconds]
bashusr has joined #ruby
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
zen has joined #ruby
icebourg has quit []
zen is now known as Guest97374
Jameser has joined #ruby
gfawcettpq has quit [Ping timeout: 272 seconds]
bashusr has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 244 seconds]
ponga has quit [Ping timeout: 244 seconds]
nicolastarzia has joined #ruby
braincra- has quit [Quit: bye bye]
sambao21 has quit [Quit: Computer has gone to sleep.]
Guest97374 has quit [Ping timeout: 272 seconds]
giuseppesolinas has joined #ruby
bashusr has joined #ruby
ebbflowgo has quit [Quit: ebbflowgo]
charliesome has quit [Quit: zzz]
nicolastarzia has quit [Ping timeout: 264 seconds]
it0a has quit [Ping timeout: 258 seconds]
amystephen has quit [Quit: amystephen]
braincrash has joined #ruby
razieliyo has joined #ruby
krz has quit [Ping timeout: 245 seconds]
bashusr has quit [Read error: Connection reset by peer]
icebourg has joined #ruby
bashusr has joined #ruby
zorak8 has quit [Ping timeout: 240 seconds]
gfawcettpq has joined #ruby
decoponio has joined #ruby
<shevy> hmm is this construct a problem?
<shevy> oh wait...
<shevy> def foo; FOO ||= Foo.new
<shevy> won't work I assume as it would be dynamic constant assignment
<rpag> shevy, go to bed!
charliesome has joined #ruby
<shevy> I fell asleep about 6 hours ago
bashusr has quit [Read error: Connection reset by peer]
<shevy> slept for 2 hours or so
<shevy> now I could not go to bed :(
<rpag> you have to use const_set there because as you said constant assignment in a method doesn't work
<shevy> yeah
rshetty has joined #ruby
spastorino has joined #ruby
bigmac has joined #ruby
bigmac is now known as i8igmac
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
ebbflowgo has joined #ruby
jimmyhoughjr has quit [Ping timeout: 240 seconds]
pika_pika has quit [Ping timeout: 258 seconds]
mary5030 has joined #ruby
<shevy> this is kinda weird
<shevy> why can we use .const_set
<shevy> but can not dynamically assign constants inside of a method
bashusr has joined #ruby
knikolov_ has quit [Ping timeout: 245 seconds]
bashusr has quit [Read error: Connection reset by peer]
Lorn has quit [Ping timeout: 245 seconds]
gf3 has quit [Ping timeout: 250 seconds]
sptq has quit [Ping timeout: 250 seconds]
rshetty has quit [Remote host closed the connection]
<godd2> but you *can* dynamically assign constants inside a lambda
rshetty has joined #ruby
knikolov has joined #ruby
rshetty has quit [Remote host closed the connection]
<rpag> that depends on whatever it closes over
maestrojed has quit [Quit: Computer has gone to sleep.]
arescorpio has quit [Excess Flood]
tagrudev has joined #ruby
Lorn has joined #ruby
gf3 has joined #ruby
sptq has joined #ruby
<godd2> ooh, you could do def foo; eval "FOO ||= Foo.new"; end
ziyadb has quit [Quit: Connection closed for inactivity]
bashusr has joined #ruby
maestrojed has joined #ruby
Musashi007 has quit [Quit: Musashi007]
<shevy> I hate eval like that
hamakn has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
wildharvest has joined #ruby
wildharvest has left #ruby [#ruby]
<shevy> it just strikes me as inconsistent to disallow it in one case, yet to allow it through const_set
mary5030 has quit [Remote host closed the connection]
Parker0 has joined #ruby
mary5030 has joined #ruby
<godd2> well there is instance_variable_get and instance_variable_set so it's not super out of the ordinary
tagrudev has quit [Remote host closed the connection]
<shevy> we can change @ivars freely
<shevy> >> puts 'are you back bot?'
<eval-in__> shevy => are you back bot? ... (https://eval.in/237315)
hiyosi has joined #ruby
<godd2> you can't change ivars outside of a class freely
jamto11 has joined #ruby
ebbflowgo has quit [Quit: ebbflowgo]
<shevy> >> ABC = 1; def foo; ABC = 2; end; foo
<eval-in__> shevy => /tmp/execpad-5bf1b88b2d4d/source-5bf1b88b2d4d:2: dynamic constant assignment ... (https://eval.in/237316)
<shevy> >> @ABC = 1; def foo; @ABC = 2; end; foo
<eval-in__> shevy => 2 (https://eval.in/237317)
<godd2> you have to do one of several things. a) instance_eval, b) getters/setters, c) instance_variable_get/set
<shevy> >> ABC = 1; def foo; Object.const_set 'ABC', 2; end; foo
<eval-in__> shevy => /tmp/execpad-7255df061bfa/source-7255df061bfa:2: warning: already initialized constant ABC ... (https://eval.in/237318)
<godd2> >> ABC = 4; def something; eval "ABC ||= 3"; end; something # I don't think I can eval in the bot
<eval-in__> godd2 => 4 (https://eval.in/237319)
hamakn has quit [Remote host closed the connection]
ndrei has joined #ruby
<godd2> oh that's right
<godd2> >> $SAFE
<eval-in__> godd2 => 0 (https://eval.in/237320)
<godd2> you can eval on $SAFE == 0
<shevy> hehe
<shevy> ok so there are at least two ways to change a constant dynamically
mary5030 has quit [Ping timeout: 258 seconds]
<godd2> and you can combine some of them
<godd2> so like, you can eval inside a lambda in any scope
hrs has quit [Quit: Computer has gone to sleep.]
jamto11 has quit [Ping timeout: 258 seconds]
jenrzzz has joined #ruby
josephndenton has quit [Ping timeout: 252 seconds]
Musashi007 has joined #ruby
jenrzzz has quit [Ping timeout: 265 seconds]
govg has joined #ruby
govg is now known as Guest71641
josephndenton has joined #ruby
Zamyatin has joined #ruby
s00pcan_ has quit [Remote host closed the connection]
DadoCe has quit [Remote host closed the connection]
bashusr has quit [Read error: Connection reset by peer]
Zamyatin has quit [Max SendQ exceeded]
Zamyatin has joined #ruby
barderer has joined #ruby
s00pcan has joined #ruby
mary5030 has joined #ruby
karmatr0n has quit [Remote host closed the connection]
ponga has joined #ruby
zen has joined #ruby
zen is now known as Guest23901
hgl has quit [Max SendQ exceeded]
hgl has joined #ruby
bashusr has joined #ruby
Takle has joined #ruby
hgl has quit [Max SendQ exceeded]
kalz has quit [Ping timeout: 258 seconds]
hgl has joined #ruby
Guest23901 has quit [Ping timeout: 252 seconds]
mary5030 has quit [Remote host closed the connection]
ponga has quit [Ping timeout: 255 seconds]
mary5030 has joined #ruby
s00pcan_ has joined #ruby
Takle has quit [Ping timeout: 245 seconds]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
hsps_ has quit [Ping timeout: 240 seconds]
vinleod has joined #ruby
mary5030 has quit [Ping timeout: 258 seconds]
<shevy> right
<shevy> but not the direct assignment
DadoCe has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
josephndenton has quit [Ping timeout: 252 seconds]
Aswebb_ has joined #ruby
dopiee has quit [Remote host closed the connection]
jamto11 has joined #ruby
porkys has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
bashusr has joined #ruby
bashusr has quit [Changing host]
bashusr has joined #ruby
AlSquire has quit [Quit: This computer has gone to sleep]
Aswebb_ has quit [Ping timeout: 240 seconds]
shuber_ has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
coderhs has joined #ruby
<shevy> godd2 do you think we can use the power and expressiveness of ruby to kick other projects in the butt?
<godd2> shevy yes
<godd2> I think projects like rspec prove that ruby is the most expressive language (for my internal definition of expressive :P)
msmith_ has joined #ruby
<shevy> hmm
<shevy> rspec does not deliver a lot of "outside value" does it?
DadoCe has quit [Remote host closed the connection]
<shevy> unlike like rails where you would code up some behaviour for ... I dunno. a webshop for people
<godd2> I'm not talking about rspec itself. Im talking about the fact that rspec could get made
<shevy> aha
DadoCe has joined #ruby
sambao21 has joined #ruby
<shevy> your dogs are always healthy four leggers
<shevy> but I know dogs that have only three legs
<godd2> I feel like Ruby is implicit in all the right places
bashusr has joined #ruby
razieliyo has quit [Quit: Saliendo]
<shevy> godd2 what does that behaviour test? it tests whether an instance of class Dog will have a method called .legs that would return an @instance variable that will be equal to 4?
<godd2> technically no instance variables are needed for that test to pass
<godd2> it only requires some method named #legs which always returns 4
msmith_ has quit [Ping timeout: 240 seconds]
arup_r has joined #ruby
<shevy> right
<godd2> but you can always add context to a spec and, say, pass params to Dog.new without breaking existing tests
kalz has joined #ruby
kfwqt43535 has joined #ruby
DadoCe has quit [Ping timeout: 255 seconds]
<godd2> But I'm more enamoured with the fact that rspec could have gotten written
kfwqt43535 is now known as memxi
agjacome has quit [Quit: leaving]
<godd2> you do something like that in, say, javascript (which is also considered an expressive language), and it's going to look a lot more verbose
<godd2> at least, relative to Ruby
Photism has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
memxi has quit [Client Quit]
Parker0 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sambao21 has quit [Quit: Computer has gone to sleep.]
hmsimha has joined #ruby
jeff-ooh has joined #ruby
dopie has joined #ruby
XCVB has joined #ruby
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
basex has joined #ruby
jenrzzz has joined #ruby
josephndenton has joined #ruby
<shevy> yeah I can imagine
basex has quit [Ping timeout: 258 seconds]
maestrojed has quit [Quit: Computer has gone to sleep.]
bashusr has joined #ruby
pu22l3r has quit [Read error: Connection reset by peer]
<shevy> if only we could use non javascript languages directly!
jamto11 has quit [Remote host closed the connection]
pu22l3r has joined #ruby
anskeit has joined #ruby
icebourg has quit []
studiotate has quit [Quit: Computer has gone to sleep.]
jenrzzz has quit [Ping timeout: 265 seconds]
josephndenton has quit [Ping timeout: 252 seconds]
studiotate has joined #ruby
jeff-ooh has quit [Remote host closed the connection]
bashusr has quit [Read error: Connection reset by peer]
cajone1 has quit [Read error: Connection reset by peer]
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tejas-manohar has joined #ruby
nicolastarzia has joined #ruby
<tejas-manohar> ruby SOAP clients?
<tejas-manohar> i've used net:http and rest-client and faraday but what about SOAP APIs
dseitz has joined #ruby
<tejas-manohar> havenwood: you there?
<havenwood> tejas-manohar: Soap is for tubs!
<shevy> do you guys happen to know if for webpages the last content will be "</html>"?
bashusr has joined #ruby
<shevy> the last outputted string, rather
<tejas-manohar> havenwood: ikr SOAP APIs are awwwwful to deal with
bashusr has quit [Read error: Connection reset by peer]
<tejas-manohar> havenwood: any good gem?
<havenwood> tejas-manohar: RestClient seems like a reasonable NetHTTP wrapper.
hamakn has joined #ruby
<tejas-manohar> havenwood: wait so netHTTP can deal w/ SOAP APIs?
chinmay_dd has joined #ruby
<havenwood> tejas-manohar: For HTTP clients I do like HTTPClient a lot and it's pure Ruby. I do like the design of the HTTP gem. Faraday is nice if you might need to vary your adapter or add middleware.
<tejas-manohar> havenwood: i use faraday and rest-client when dealing w/ REST APIs but never tried SOAP APIs in ruby wanted to know good gems for those
Menorah has joined #ruby
<tejas-manohar> havenwood: but SOAP?
<havenwood> tejas-manohar: I've never used a soap gem. I think I've heard of savon.
<tejas-manohar> havenwood: ok yeah thats what i found still sucks cuz soap
<tejas-manohar> lol
<havenwood> yeah, looks like savon
nicolastarzia has quit [Ping timeout: 245 seconds]
<tejas-manohar> havenwood: know any APIs to run code? ideone.com is really good but their API is SOAP (i,.e. shit) and i hate it
<godd2> shevy I don't think you can count on the last string in an html file being </html>
<shevy> :(
<tejas-manohar> havenwood: like im back to working on that app that you take a gist and it executes the code from it
<godd2> I mean, it's true *most* of the time, but...
<godd2> also, there are other file formats which may end in </html>
hamakn has quit [Ping timeout: 245 seconds]
slawrence00 has quit [Ping timeout: 264 seconds]
<tejas-manohar> yo, anyone know sites w/ APIs similar to ideone.com
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
<tejas-manohar> tried cracking eval.in w/ no luck :(
TgMts has joined #ruby
zen has joined #ruby
zen is now known as Guest47323
<tejas-manohar> havenwood: how do you go about cracking/reverse engineering an API w/o documentation/keys/not really public :P
josephndenton has joined #ruby
<tejas-manohar> havenwood: i tried browsing requests by eval.in as i went through it but couldnt find anything useful
Guest71641 has quit [Quit: leaving]
shuber_ has quit [Remote host closed the connection]
Guest47323 has quit [Ping timeout: 258 seconds]
<tejas-manohar> or shevvy: ^ have an idea?
studiotate has quit [Quit: Computer has gone to sleep.]
ponga has quit [Ping timeout: 258 seconds]
phutchins has joined #ruby
josephndenton has quit [Ping timeout: 256 seconds]
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
<tejas-manohar> >> puts 'test'
<eval-in__> tejas-manohar => test ... (https://eval.in/237331)
<tejas-manohar> is the source code for eval-in__ bot somewhere i can see?
<tejas-manohar> i wanna see the API for eval.in
<tejas-manohar> havenwood: shevvy: godd2: active users here? any idea?
shuber_ has joined #ruby
<godd2> have you tried googling "irc ruby bot"
<sparr> I've got two versions of ruby installed. The version I want is first on my path, but bundle still calls the other one. How can I convince it to use the one I want?
<tejas-manohar> godd2: yes
<tejas-manohar> godd2: not trying to write an IRC bot in ruby
<sparr> porkys is spamming people as they join this channel
<tejas-manohar> ikr
<tejas-manohar> godd2: I want to see how `eval-in__` bot works so i can investigate the API of eval.in for my personal use
shuber_ has quit [Remote host closed the connection]
jimmyhoughjr has joined #ruby
phutchins has quit [Ping timeout: 258 seconds]
kevr has quit [Ping timeout: 240 seconds]
armyriad has quit [Quit: Leaving]
agrinb has quit [Remote host closed the connection]
agrinb has joined #ruby
studiotate has joined #ruby
shuber_ has joined #ruby
<tejas-manohar> godd2: do you know about that
mary5030 has joined #ruby
kevr has joined #ruby
bashusr has joined #ruby
bashusr has quit [Changing host]
bashusr has joined #ruby
<tejas-manohar> ohh found the API
<tejas-manohar> FUN!
agrinb has quit [Ping timeout: 258 seconds]
shuber_ has quit [Remote host closed the connection]
zen_ has joined #ruby
shuber_ has joined #ruby
<shevy> hmm can someone explain this:
<shevy> $stdout.close; $stdout = STDOUT
<shevy> in particular, why the .close is applied - I understand the $stdout = STDOUT part
mityaz has joined #ruby
barderer has quit []
<godd2> shevy my explanation would be that $stdout was set to some other io stream and that strem was closed, and THEN they responsibly set $stdout back to STDOUT
shuber_ has quit [Remote host closed the connection]
<tejas-manohar> >> stuff that errors
<eval-in__> tejas-manohar => undefined local variable or method `errors' for main:Object (NameError) ... (https://eval.in/237334)
<tejas-manohar> that's sick
vinleod has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<shevy> ah that makes sense godd2
<shevy> tejas-manohar it errors!
lkba has joined #ruby
<shevy> tejas-manohar but you can use method_missing to make it work
<tejas-manohar> shevy: no i want it to error!
pu22l3r has quit [Read error: No route to host]
porkys has quit [K-Lined]
<tejas-manohar> shevy: im just testing some stuff, gonna use this jacked up API for my app https://github.com/Mon-Ouie/cinch-eval-in/blob/master/lib/cinch/plugins/eval_in.rb
bashusr has quit [Read error: Connection reset by peer]
<havenwood> sparr: The Ruby gem bin/ dir needs to be in the PATH as well, unless you're using a switcher (and of course the Bundler gem needs to be installed).
<havenwood> sparr: How'd you install the Ruby you're trying to setup? A package or built yourself or otherwise?
pu22l3r has joined #ruby
shuber_ has joined #ruby
fella6s has joined #ruby
<havenwood> sparr: E.g.: export PATH="/usr/local/opt/ruby/bin:$PATH"
<sparr> aha
<havenwood> sparr: Or if you were hooking up Homebrew Ruby: export PATH="$(brew --prefix ruby)/bin:$PATH"
<sparr> problem was the `bundle` on my path didn't match the `ruby` and `gem` on my path
fella7s has joined #ruby
<havenwood> sparr: aha
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
<sparr> thanks for the tip
<havenwood> tejas-manohar: Gist the contents of app.rb and config.ru?
<havenwood> sparr: any time
psyprus has quit [Read error: Connection reset by peer]
<tejas-manohar> havenwood: second link in my question is the github repo?
<havenwood> tejas-manohar: ah
<tejas-manohar> havenwood: no config.ru but https://github.com/tejasmanohar/pasterunner/blob/master/app.rb
vinleod has joined #ruby
shuber_ has quit [Remote host closed the connection]
<tejas-manohar> havenwood: idk about you but that looks like a sinatra bug?
fella6s has quit [Ping timeout: 244 seconds]
rtbt has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
bashusr has joined #ruby
maestrojed has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
<havenwood> tejas-manohar: Yeah, seems Sinatra is stomping on the HTTP constant in modular mode.
mary5030 has quit [Remote host closed the connection]
<tejas-manohar> havenwood: i dont remember this happening last time i ran the app weeks ago, ugh
<tejas-manohar> havenwood: suggestions?
<havenwood> tejas-manohar: It's hoping to use HTTP as the Rack handler. You can specify a Rack handler.
arup_r has quit [Ping timeout: 250 seconds]
mary5030 has joined #ruby
rtbt has joined #ruby
_Andres has joined #ruby
<tejas-manohar> havenwood: wait so why cant it use HTTP as rack handler?
<havenwood> tejas-manohar: The HTTP gem is an HTTP client, not a Rack handler.
<tejas-manohar> havenwood: true
<havenwood> tejas-manohar: Appears to maybe be a Rack bug not a Sinatra one, though you can get around it: https://github.com/sinatra/sinatra/issues/881
<tejas-manohar> havenwood: ah so basically two constants?
<tejas-manohar> havenwood: yeah i understand
josephndenton has joined #ruby
<havenwood> tejas-manohar: Rack should be preferring Rack::Handler::HTTP not ::HTTP.
psyprus has joined #ruby
<tejas-manohar> havenwood: well in reality ive developed a preference for faraday now! so im just gonna switch :) -- worked on this project weeks ago coming back now
x1337807x has joined #ruby
<havenwood> tejas-manohar: or if you really wanna use WEBrick: set :server, 'webrick'
<havenwood> tejas-manohar: or just go ahead and setup Puma or Thin
<havenwood> or Unicorn
<havenwood> or Passenger
<tejas-manohar> havenwood: lol
<tejas-manohar> havenwood: got it covered!
<havenwood> tejas-manohar: k ;)
mary5030 has quit [Ping timeout: 258 seconds]
CrazyM4n has joined #ruby
pu22l3r has quit [Remote host closed the connection]
bashusr has joined #ruby
x1337807x has quit [Client Quit]
bashusr has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
i8igmac has quit [Ping timeout: 240 seconds]
atmosx has joined #ruby
<tejas-manohar> havenwood: why this line erroring undefined method `join' for #<String -- https://gist.github.com/tejasmanohar/7f150b7e321bab18d3fe#file-gistfile1-rb-L3 -- when id is f9fa5b9cc52c08e9b29b -- because that results in f9fa5b9cc52c08e9b29b
D9 has joined #ruby
<tejas-manohar> havenwood: ^ results in https://api.github.com/gists/f9fa5b9cc52c08e9b29b which has correct data but that line highlighted in gist is erroring i commented rest and tried until reaching this which was trigger of errror
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
claptor has joined #ruby
ylluminarious_ has joined #ruby
lemur has joined #ruby
<havenwood> tejas-manohar: what is `id` when it fails?
<tejas-manohar> havenwood: f9fa5b9cc52c08e9b29b
bashusr has joined #ruby
shuber_ has joined #ruby
coderhs has quit [Ping timeout: 252 seconds]
<havenwood> tejas-manohar: Can you Gist the full error?
<havenwood> I don't see the issue right off.
ishikawa91 has joined #ruby
ylluminarious has quit [Ping timeout: 240 seconds]
ylluminarious_ has quit [Ping timeout: 240 seconds]
Takle has joined #ruby
jaequery has joined #ruby
<tejas-manohar> havenwood: i dont use slim -- also TypeError - no implicit conversion of Faraday::Response into String: -- trying to figure out how to do this res = JSON.parse(Faraday.get('https://api.github.com/gists/' + id)) code = res.body['files'].values.map { |h| h['content'] } tried res.body still no luck
<tejas-manohar> havenwood: im 99% sure i used res.body when i used faraday last
bashusr has quit [Read error: Connection reset by peer]
<tejas-manohar> havenwood: yeah .body wtf? https://github.com/lostisland/faraday#usage
Stoge88 has joined #ruby
Takle has quit [Ping timeout: 244 seconds]
shuber_ has quit [Remote host closed the connection]
josephndenton has quit [Ping timeout: 250 seconds]
bashusr has joined #ruby
bashusr has quit [Changing host]
bashusr has joined #ruby
AndyBotwin has joined #ruby
dotix has joined #ruby
dotix has quit [Changing host]
dotix has joined #ruby
sevenseacat has joined #ruby
<tejas-manohar> havenwood: does that make any sense to you?
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
bg__ has joined #ruby
coderhs has joined #ruby
dotix has quit [Ping timeout: 264 seconds]
elaptics`away is now known as elaptics
shuber_ has joined #ruby
Aswebb_ has joined #ruby
bigmac has joined #ruby
Mia has quit [Ping timeout: 258 seconds]
bashusr has quit [Read error: Connection reset by peer]
<havenwood> tejas-manohar: multitasking, and haven't had a chance to test it but i didn't spot the issue in the code you showed
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
Morkel has joined #ruby
<tejas-manohar> havenwood: np still trying to debug
Aswebb_ has quit [Ping timeout: 250 seconds]
Kellin has joined #ruby
bashusr has joined #ruby
Morkel has quit [Client Quit]
Mia has quit [Read error: Connection reset by peer]
msmith_ has joined #ruby
atmosx has quit [Quit: Textual IRC Client: www.textualapp.com]
D9 has quit [Quit: Leaving]
atmosx has joined #ruby
studiotate has quit [Quit: Computer has gone to sleep.]
_5kg has quit [Ping timeout: 252 seconds]
mostlybadfly has quit [Quit: Connection closed for inactivity]
bg__ has quit [Remote host closed the connection]
msmith_ has quit [Ping timeout: 252 seconds]
rshetty has joined #ruby
arup_r has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
lxsameer has quit [Ping timeout: 250 seconds]
jusmyth has joined #ruby
lxsameer has joined #ruby
rshetty has quit [Ping timeout: 240 seconds]
jusmyth has quit [Client Quit]
maestrojed has quit [Quit: Computer has gone to sleep.]
basex has joined #ruby
coderhs has quit [Ping timeout: 250 seconds]
randiman has joined #ruby
dcarmich has joined #ruby
bashusr has joined #ruby
basex has quit [Ping timeout: 265 seconds]
windowlicker has quit [Quit: Lost terminal]
slawrence00 has joined #ruby
dts|pokeball has quit [Ping timeout: 244 seconds]
chipotle has joined #ruby
dx7iso has joined #ruby
AlexRussia has quit [Ping timeout: 245 seconds]
nicolastarzia has joined #ruby
XCVB_ has joined #ruby
oo_ has joined #ruby
XCVB has quit [Read error: Connection reset by peer]
coderhs has joined #ruby
shuber_ has quit [Remote host closed the connection]
AlexRussia has joined #ruby
dts|pokeball has joined #ruby
amclain has quit [Quit: Leaving]
XCVB_ has quit [Client Quit]
nicolastarzia has quit [Ping timeout: 252 seconds]
vinleod has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
govg has joined #ruby
commmmodo has quit [Quit: commmmodo]
shuber_ has joined #ruby
<shevy> hey this is confusing me
<shevy> oh wait
<shevy> now I understand
<shevy> the most important module that is included in a class
<shevy> is the last one that was included
<shevy> I did not know that
<godd2> and it's usually Kernel
bashusr has quit [Read error: Connection reset by peer]
<shevy> oh?
<shevy> but I mean Kernel comes right before my own code right?
<shevy> in my example I was curious which instance variable wins out hehe
<godd2> >> class Dog; end; Dog.ancestors
<eval-in__> godd2 => [Dog, Object, Kernel, BasicObject] (https://eval.in/237349)
<shevy> you and your dogs
<shevy> do you have a puppy in reallife?
<godd2> every class inherits from Object by default, and Object includes Kernel
<godd2> (that's why #puts works inside your classes)
<shevy> hmm
<godd2> I don't have a dog, no. In fact I'm a cat person
<shevy> haha
<godd2> It's just that the letters of the word dog take alternating fingers per hand to type
<shevy> but you always bring class Dog as example
<godd2> well everyone knows what a dog is
<shevy> the reason why I wondered about the inclusion was
<godd2> when you teach logic, you learn how to tap into knowledge for analogies
Kellin has quit [Ping timeout: 258 seconds]
<shevy> I was working on a module called Hitpoints, which obviously should give support for hitpoints - as in how much structural damage some object can take
AndyBotwin has quit [Quit: Leaving]
<shevy> so here I'd go and happily add that module to some objects
<shevy> [to be continued at a later point as shevy is presently a bit confused]
duncannz has joined #ruby
bashusr has joined #ruby
rshetty has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
pengin has joined #ruby
oo_ has quit [Remote host closed the connection]
fenzyl has joined #ruby
studiotate has joined #ruby
goddamnit2 has joined #ruby
goddamnit2 is now known as godd2
_5kg has joined #ruby
fenzil has quit [Read error: Connection reset by peer]
Channel6 has quit [Quit: Leaving]
bashusr has joined #ruby
gf3_ has joined #ruby
fenzyl has quit [Quit: Leaving]
bashusr has quit [Read error: Connection reset by peer]
gf3 has quit [Ping timeout: 264 seconds]
claptor has quit [Ping timeout: 264 seconds]
dx7iso has quit [Ping timeout: 264 seconds]
Zamyatin has quit [Ping timeout: 264 seconds]
claptor has joined #ruby
dionysus69 has joined #ruby
pengin has quit [Remote host closed the connection]
charliesome has quit [Quit: zzz]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
Stoge88 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
atmosx has quit [Quit: Textual IRC Client: www.textualapp.com]
coderhs_ has joined #ruby
Jackneill has joined #ruby
dotix has joined #ruby
Takle has joined #ruby
mattmcclure has quit [Quit: Connection closed for inactivity]
Morkel has joined #ruby
cantonic has quit [Quit: cantonic]
pu22l3r has joined #ruby
charliesome has quit [Quit: zzz]
havenwood has quit [Remote host closed the connection]
Takle has quit [Ping timeout: 245 seconds]
renderful has joined #ruby
coderhs_ has quit [Read error: Connection reset by peer]
bashusr has joined #ruby
basex has joined #ruby
yfeldblum has quit [Ping timeout: 258 seconds]
pu22l3r has quit [Ping timeout: 258 seconds]
coderhs_ has joined #ruby
Takle has joined #ruby
vinleod has joined #ruby
renderful has quit [Ping timeout: 240 seconds]
shuber_ has quit [Remote host closed the connection]
rkday has joined #ruby
Ulrike_Rayne is now known as Ulrike_Tristy
shuber_ has joined #ruby
msmith_ has joined #ruby
lemur has quit [Remote host closed the connection]
Menorah has quit [Quit: This computer has gone to sleep]
CrazyM4n has quit [Remote host closed the connection]
basex has quit [Ping timeout: 272 seconds]
* arup_r thinking why shevy: don't like sleeping.... :)
lemur has joined #ruby
Blackhol_ has quit [Remote host closed the connection]
cantonic has joined #ruby
Takle has quit [Ping timeout: 244 seconds]
Menorah has joined #ruby
Sawbones has joined #ruby
msmith_ has quit [Ping timeout: 250 seconds]
unclouded has quit [Ping timeout: 265 seconds]
lemur has quit [Ping timeout: 264 seconds]
dionysus69 has quit [Quit: ChatZilla 0.9.91.1 [Firefox 34.0/20141127111021]]
dotix has quit [Quit: Leaving]
dotix has joined #ruby
dotix has quit [Changing host]
dotix has joined #ruby
oo_ has joined #ruby
ohaibbq has quit [Quit: Leaving...]
dts|pokeball has quit [Ping timeout: 240 seconds]
rkday has quit [Ping timeout: 272 seconds]
Flcn_ has joined #ruby
rshetty has quit [Remote host closed the connection]
rshetty has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
kevr has quit [Ping timeout: 252 seconds]
Flcn_ has quit [Client Quit]
Flcn_ has joined #ruby
oo_ has quit [Ping timeout: 244 seconds]
ponga has quit [Read error: No route to host]
ponga has joined #ruby
shuber_ has quit [Remote host closed the connection]
dts|pokeball has joined #ruby
Spami has joined #ruby
shuber_ has joined #ruby
kevr has joined #ruby
bashusr has joined #ruby
coderhs_ has quit [Quit: Leaving]
Rene has left #ruby [#ruby]
dx7iso has joined #ruby
ponga has quit [Read error: No route to host]
ponga has joined #ruby
lkba has quit [Ping timeout: 252 seconds]
fandi has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
Aswebb_ has joined #ruby
charliesome has joined #ruby
amystephen has joined #ruby
charliesome has quit [Client Quit]
ghostlines has joined #ruby
rshetty has quit [Remote host closed the connection]
rshetty has joined #ruby
bashusr has joined #ruby
Aswebb_ has quit [Ping timeout: 245 seconds]
leafybasil has joined #ruby
charliesome has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
ponga has quit [Remote host closed the connection]
aswen has joined #ruby
wallerdev has quit [Quit: wallerdev]
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tuxdna has joined #ruby
yfeldblum has joined #ruby
AUS3RIS has joined #ruby
leafybasil has quit [Ping timeout: 265 seconds]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
banister has joined #ruby
cantonic has quit [Ping timeout: 258 seconds]
yfeldblum has quit [Ping timeout: 244 seconds]
amystephen has quit [Quit: amystephen]
Spami has quit [Quit: This computer has gone to sleep]
mxrguspxrt has joined #ruby
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
Sawbones has quit [Remote host closed the connection]
Spami has joined #ruby
Stoge88 has joined #ruby
Sawbones has joined #ruby
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
Takle has joined #ruby
davedev24_ has quit [Remote host closed the connection]
aswen has quit [Ping timeout: 245 seconds]
bashusr has quit [Read error: Connection reset by peer]
dx7iso has quit [Remote host closed the connection]
Rydekull_ is now known as Rydekull
Rydekull has quit [Changing host]
Rydekull has joined #ruby
bashusr has joined #ruby
TgMts has quit [Ping timeout: 252 seconds]
bashusr has quit [Read error: Connection reset by peer]
AUS3RIS is now known as aus3ris
aus3ris is now known as AUS3RIS
ptrrr has joined #ruby
Takle_ has joined #ruby
bashusr has joined #ruby
AUS3RIS is now known as aus3ris
shuber_ has quit [Remote host closed the connection]
bashusr has quit [Read error: Connection reset by peer]
Takle has quit [Ping timeout: 272 seconds]
Sawbones has quit [Remote host closed the connection]
nicolastarzia has joined #ruby
yeticry has quit [Ping timeout: 240 seconds]
Spami has quit [Quit: This computer has gone to sleep]
yeticry has joined #ruby
cantonic has joined #ruby
browndawg has joined #ruby
vinleod has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Spami has joined #ruby
bashusr has joined #ruby
nicolastarzia has quit [Ping timeout: 240 seconds]
MasterPiece has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
mrap has joined #ruby
Stoge88 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mrap has quit [Client Quit]
asmodlol has quit [Ping timeout: 258 seconds]
Aswebb_ has joined #ruby
asmodlol has joined #ruby
Takle_ has quit [Remote host closed the connection]
bashusr has joined #ruby
cantonic has quit [Ping timeout: 255 seconds]
parduse is now known as Guest85000
pardusf has joined #ruby
Guest85000 has quit [Ping timeout: 250 seconds]
rkalfane has joined #ruby
tuxdna has quit [Quit: Leaving]
Morkel has quit [Quit: Morkel]
Spami has quit [Quit: This computer has gone to sleep]
mxrguspxrt has quit [Remote host closed the connection]
bashusr has quit [Read error: Connection reset by peer]
josephndenton has joined #ruby
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby
ishikawa91 has quit [Quit: Connection closed for inactivity]
ghostlin_ has joined #ruby
Menorah has quit [Quit: This computer has gone to sleep]
yfeldblum has joined #ruby
ghostlines has quit [Ping timeout: 264 seconds]
bashusr has joined #ruby
josephndenton has quit [Ping timeout: 255 seconds]
FooMunki has quit [Read error: Connection reset by peer]
FooMunki has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
mxrguspxrt has joined #ruby
yfeldblum has quit [Ping timeout: 252 seconds]
dionysus69 has joined #ruby
ghostlines has joined #ruby
ghostlin_ has quit [Ping timeout: 256 seconds]
bashusr has joined #ruby
AlexRussia has quit [Ping timeout: 252 seconds]
oleo is now known as Guest94202
oleo__ has joined #ruby
cmarques has joined #ruby
sameerynho has joined #ruby
Guest94202 has quit [Ping timeout: 245 seconds]
bashusr has quit [Read error: Connection reset by peer]
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lxsameer has quit [Ping timeout: 258 seconds]
lkba has joined #ruby
lkba has quit [Read error: Connection reset by peer]
lkba has joined #ruby
claudiuinberlin has joined #ruby
bashusr has joined #ruby
rbrs has joined #ruby
jaequery has quit [Ping timeout: 250 seconds]
basex has joined #ruby
aus3ris is now known as AUS3RIS
Musashi007 has quit [Quit: Musashi007]
bashusr has quit [Read error: Connection reset by peer]
Joufflu has quit [Read error: Connection reset by peer]
AUS3RIS is now known as aus3ris
ghostlines has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
spider-mario has joined #ruby
toadi has joined #ruby
msmith_ has joined #ruby
toadi has quit [Client Quit]
basex has quit [Ping timeout: 255 seconds]
randiman has quit [Quit: (null)]
Musashi007 has joined #ruby
elfuego has quit [Quit: elfuego]
MasterPiece has quit [Ping timeout: 245 seconds]
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
msmith_ has quit [Ping timeout: 250 seconds]
Spami has joined #ruby
Spami has quit [Changing host]
Spami has joined #ruby
rbrs has quit [Quit: Leaving]
druznek has joined #ruby
gja has joined #ruby
gja has quit [Changing host]
gja has joined #ruby
braincra- has joined #ruby
braincrash has quit [Ping timeout: 240 seconds]
bashusr has joined #ruby
olivier_bK has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
browndawg has quit [Quit: Leaving.]
dx7iso has joined #ruby
dotix has quit [Read error: Connection reset by peer]
marr has joined #ruby
dotix has joined #ruby
unclouded has joined #ruby
dx7iso has quit [Ping timeout: 250 seconds]
bashusr has joined #ruby
frem has quit [Quit: Connection closed for inactivity]
AlexRussia has joined #ruby
elfuego has joined #ruby
Deele has joined #ruby
MasterPiece has joined #ruby
dotix has quit [Ping timeout: 252 seconds]
bashusr has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
TgMts has joined #ruby
AlexRussia has quit [Ping timeout: 245 seconds]
despai has joined #ruby
bashusr has joined #ruby
oo_ has quit [Ping timeout: 252 seconds]
bashusr has quit [Read error: Connection reset by peer]
TgMts has quit [Quit: No Ping reply in 180 seconds.]
bashusr has joined #ruby
TgMts has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
olivier_bK has quit [Ping timeout: 258 seconds]
Spami has joined #ruby
commmmodo has joined #ruby
AlexRussia has joined #ruby
despai has quit [Quit: This computer has gone to sleep]
claudiuinberlin has quit [Quit: Leaving.]
spastorino has quit [Quit: Connection closed for inactivity]
Xeago has joined #ruby
davedev24_ has joined #ruby
Blackhol_ has joined #ruby
commmmodo has quit [Quit: commmmodo]
bashusr has quit [Read error: Connection reset by peer]
AlexRussia has quit [Ping timeout: 265 seconds]
studiotate has quit [Quit: Computer has gone to sleep.]
bashusr has joined #ruby
AlexRussia has joined #ruby
aswen has joined #ruby
wolf4ood has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
claudiuinberlin1 has joined #ruby
claudiuinberlin1 has quit [Client Quit]
despai has joined #ruby
bashusr has joined #ruby
porkys has joined #ruby
AlexRussia has quit [Ping timeout: 258 seconds]
nicolastarzia has joined #ruby
rkalfane has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
DLSteve has joined #ruby
AlexRussia has joined #ruby
nicolastarzia has quit [Ping timeout: 245 seconds]
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
fandi has quit [Read error: Connection reset by peer]
kapil__ has quit [Quit: Connection closed for inactivity]
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
tvw has joined #ruby
despai has quit [Quit: This computer has gone to sleep]
bdamos has quit [Remote host closed the connection]
psy has quit [Ping timeout: 245 seconds]
bdamos has joined #ruby
studiotate has joined #ruby
bashusr has joined #ruby
jeff-ooh has joined #ruby
studiotate has quit [Ping timeout: 258 seconds]
bashusr has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
AlexRussia has quit [Ping timeout: 252 seconds]
yfeldblum has joined #ruby
despai has joined #ruby
despai has quit [Client Quit]
oo_ has quit [Ping timeout: 258 seconds]
bashusr has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
mostlybadfly has joined #ruby
DLSteve has quit [Ping timeout: 250 seconds]
bashusr has quit [Read error: Connection reset by peer]
wolf4ood has quit [Quit: (null)]
ghostlines has joined #ruby
<tejas-manohar> yo
<tejas-manohar> havenwood: you there?
<arup_r> yo
bashusr has joined #ruby
panga has joined #ruby
ponga has quit [Ping timeout: 245 seconds]
Spami has quit [Quit: This computer has gone to sleep]
dx7iso has joined #ruby
kirun has joined #ruby
pu22l3r has joined #ruby
ziyadb has joined #ruby
chinmay_dd has quit [Quit: Leaving]
porkys has quit [Ping timeout: 250 seconds]
TgMts has quit [Quit: No Ping reply in 180 seconds.]
basex has joined #ruby
pu22l3r has quit [Ping timeout: 244 seconds]
TgMts has joined #ruby
krz has joined #ruby
Alina-malina has quit [Read error: Connection reset by peer]
DLSteve has joined #ruby
Alina-malina has joined #ruby
msmith_ has joined #ruby
basex has quit [Ping timeout: 250 seconds]
bashusr has quit [Read error: Connection reset by peer]
charliesome has quit [Read error: Connection reset by peer]
FooMunki has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
FooMunki has joined #ruby
amundj has joined #ruby
TgMts has quit [Quit: No Ping reply in 180 seconds.]
rippa has joined #ruby
dotix has joined #ruby
dotix has quit [Changing host]
dotix has joined #ruby
TgMts has joined #ruby
blizzy has joined #ruby
bkulbida has joined #ruby
bkulbida has quit [Client Quit]
msmith_ has quit [Ping timeout: 265 seconds]
bashusr has joined #ruby
raducroitoru has joined #ruby
bkulbida has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
bkulbida has quit [Client Quit]
spider-mario has quit [Ping timeout: 244 seconds]
dotix has quit [Ping timeout: 264 seconds]
rshetty has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 265 seconds]
rshetty has joined #ruby
dotix has joined #ruby
kapil__ has joined #ruby
spider-mario has joined #ruby
raducroitoru has quit [Ping timeout: 250 seconds]
raducroitoru__ has joined #ruby
bashusr has joined #ruby
govg has quit [Ping timeout: 265 seconds]
cajone has joined #ruby
Aswebb__ has joined #ruby
AlexRussia has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
Aswebb_ has quit [Ping timeout: 240 seconds]
dotix has quit [Ping timeout: 252 seconds]
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
Mon_Ouie has joined #ruby
iamninja has joined #ruby
raducroitoru__ has quit [Ping timeout: 245 seconds]
MasterPiece has quit [Ping timeout: 252 seconds]
Areessell has joined #ruby
AndyBotwin has joined #ruby
AndyBotwin has quit [Changing host]
AndyBotwin has joined #ruby
Sawbones has joined #ruby
comma8 has quit [Quit: YourBNC - (https://yourbnc.co.uk)]
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
druznek has quit [Ping timeout: 252 seconds]
Sawbones has quit [Ping timeout: 244 seconds]
rshetty has quit [Remote host closed the connection]
jeff-ooh has quit [Remote host closed the connection]
bashusr has joined #ruby
druznek has joined #ruby
dionysus69 has quit [Ping timeout: 240 seconds]
bashusr has quit [Read error: Connection reset by peer]
rshetty has joined #ruby
MasterPiece has joined #ruby
ghostlines has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
MasterPiece has quit [Max SendQ exceeded]
aus3ris has quit [Quit: i'm out]
Takle has joined #ruby
dx7iso has quit [Remote host closed the connection]
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
ukd1 has joined #ruby
pandaant has joined #ruby
druznek has quit [Ping timeout: 265 seconds]
dx7iso_ has joined #ruby
Spami has joined #ruby
bashusr has joined #ruby
gja has quit [Quit: This computer has gone to sleep]
Musashi007 has quit [Quit: Musashi007]
whitehat-hacker has joined #ruby
<whitehat-hacker> yo guys
<whitehat-hacker> i take over
<whitehat-hacker> ruby
<whitehat-hacker> wanna join me
<whitehat-hacker> ?
<whitehat-hacker> i hack the compiler
<whitehat-hacker> but not from ruby-lang
<whitehat-hacker> but from AstaraOS
bashusr has quit [Read error: Connection reset by peer]
aaas has quit [Read error: Connection reset by peer]
<godd2> whitehat-hacker just don't be an asshat like those guys over at rubinius and we're cool
<whitehat-hacker> godd2
<whitehat-hacker> i don't get it
<whitehat-hacker> are u one of developer
<whitehat-hacker> if ure developer
<whitehat-hacker> come #hackerzone
<godd2> nah there was just some drama over at the rubinius project recently
<whitehat-hacker> no
<whitehat-hacker> i am not using ure ruby
<whitehat-hacker> is my own compiler
<whitehat-hacker> just read topic at #hackerzone
<whitehat-hacker> u will understand what i mean
DLSteve has quit [Ping timeout: 256 seconds]
<whitehat-hacker> what drama going on in ruby
<whitehat-hacker> ?
<whitehat-hacker> http://cryptohex.wordpress.com/2014/12/23/we-0x71-xc-our-is-please-to-announce-our-public-skype-channl-and-core-team-skype-channel/ : Welcome l33t Hacker , For AstaraOS http://http://209.132.181.24/pub/fedora/lnux/releases/21/Live/x86_64/ , for xWindow 10 which is Microsoft Windows 10 : http://getintopc.com/softwares/operatng-systems/windows-10-download-iso-32-bit-64-bit-free/
zorak8 has joined #ruby
<whitehat-hacker> is this ruby development dev
<whitehat-hacker> dev team i mean
Aswebb__ has quit [Remote host closed the connection]
<whitehat-hacker> what is ruby dev team development team
<wasamasa> whitehat-hacker: are you an idiot?
<wasamasa> !ops
bashusr has joined #ruby
<whitehat-hacker> no i am super
<wasamasa> that's a yes then
<wasamasa> that blog is ridiculous
coderhs has quit [Ping timeout: 256 seconds]
dx7iso_ has quit [Remote host closed the connection]
<godd2> Im not sure I'd even click on it
iamninja has quit [Quit: ZZZzzz…]
odraencode has joined #ruby
<apeiros_> use lynx?
giuseppesolinas has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
nicolastarzia has joined #ruby
adriancb has joined #ruby
govg has joined #ruby
Takle has quit [Ping timeout: 272 seconds]
whitehat-hacker has left #ruby ["Leaving"]
bashusr has quit [Read error: Connection reset by peer]
j416 has quit [Quit: o/]
Takle has joined #ruby
nicolastarzia has quit [Ping timeout: 264 seconds]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
startupality has joined #ruby
j416 has joined #ruby
adriancb has quit [Ping timeout: 256 seconds]
despai has joined #ruby
jeff-ooh has joined #ruby
Xeago has quit [Remote host closed the connection]
<wasamasa> well, I can paste highlights from it
bashusr has joined #ruby
Takle has quit [Remote host closed the connection]
<wasamasa> "i Immanuel yohanes patra , witness this world of vanity that The Most High design with me. Indeed human heart is full of shit and evil."
<wasamasa> "SO SCRIPT KIDDIES NSA OR WHAT EVER YOU CALL YOU’R SELF , LET ME SMECIN-0x71 EXPLAIN TO YOU WHY POINTER IS BAD … ."
rkalfane has joined #ruby
<apeiros_> I have some idea what 'high' refers to
Parker0 has joined #ruby
<wasamasa> "-. i smecin-0x71 ALREADY ASK THE MOST HIGH AND THIS TUTORIAL OR RESEARCH IS TRUELY TRUELY TRUE … ."
<wasamasa> lots of drivel
FooMunki has quit [Ping timeout: 244 seconds]
<wasamasa> I don't know why, but this reminds me of borat
Parker0 has quit [Read error: Connection reset by peer]
FooMunki has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
nfk has joined #ruby
<apeiros_> surely true
* apeiros_ goes back to add proper exotic column support to his nano-orm
dx7iso has joined #ruby
Zaza has quit [Quit: Lingo: www.lingoirc.com]
jeff-ooh has quit [Remote host closed the connection]
studiotate has joined #ruby
bashusr has joined #ruby
chinmay_dd has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
rshetty has quit [Remote host closed the connection]
hrs has joined #ruby
testcore has joined #ruby
chinmay_dd_ has joined #ruby
studiotate has quit [Ping timeout: 258 seconds]
fandi has joined #ruby
yfeldblum has joined #ruby
kasperti_ has joined #ruby
bashusr has joined #ruby
chinmay_dd has quit [Ping timeout: 255 seconds]
yfeldblu_ has joined #ruby
jeff-ooh has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
chinmay_dd_ is now known as chinmay_dd
yfeldblum has quit [Ping timeout: 255 seconds]
ixti has joined #ruby
yfeldblu_ has quit [Ping timeout: 244 seconds]
jeff-ooh has quit [Ping timeout: 264 seconds]
Pupeno has quit [Remote host closed the connection]
_ixti_ has quit [Ping timeout: 252 seconds]
MasterPiece has joined #ruby
Pupeno has joined #ruby
bashusr has joined #ruby
TgMts has quit [Read error: Connection reset by peer]
oo_ has joined #ruby
leafybasil has joined #ruby
TgMts has joined #ruby
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
j416 has quit [Ping timeout: 245 seconds]
bashusr has quit [Read error: Connection reset by peer]
oo_ has quit [Ping timeout: 252 seconds]
comma8 has joined #ruby
Takle has joined #ruby
IrishGringo_ has joined #ruby
IrishGringo has quit [Ping timeout: 240 seconds]
sevenseacat has quit [Remote host closed the connection]
hrs has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
IrishGringo_ is now known as IrishGringo
bashusr has joined #ruby
tvw has quit []
Kondro has joined #ruby
odraencode has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
bashusr has quit [Read error: Connection reset by peer]
basex has joined #ruby
Takle_ has joined #ruby
davedev24_ has quit [Remote host closed the connection]
msmith_ has joined #ruby
basex has quit [Ping timeout: 245 seconds]
Hobogrammer has quit [Ping timeout: 245 seconds]
panga has quit [Remote host closed the connection]
bashusr has joined #ruby
ponga has joined #ruby
j416 has joined #ruby
Takle has quit [Ping timeout: 258 seconds]
rkalfane has joined #ruby
msmith_ has quit [Ping timeout: 244 seconds]
bashusr has quit [Read error: Connection reset by peer]
panga has joined #ruby
ponga has quit [Read error: No route to host]
dorei has joined #ruby
twistedpixels is now known as zz_twistedpixels
bashusr has joined #ruby
Flcn_ has quit [Quit: Be back later ...]
bashusr has quit [Read error: Connection reset by peer]
leafybasil has quit [Remote host closed the connection]
lkba has quit [Ping timeout: 244 seconds]
fantazo has joined #ruby
bashusr has joined #ruby
Spami has joined #ruby
startupality has quit [Quit: startupality]
startupality has joined #ruby
startupality has quit [Client Quit]
pu22l3r has joined #ruby
pika_pika has joined #ruby
machete has quit [Quit: don't panic]
testcore_ has joined #ruby
koderok has joined #ruby
koderok has quit [Remote host closed the connection]
Pupeno has quit [Remote host closed the connection]
bashusr has quit [Read error: Connection reset by peer]
testcore_ has quit [Client Quit]
rshetty has joined #ruby
pu22l3r has quit [Ping timeout: 252 seconds]
bashusr has joined #ruby
bashusr has quit [Changing host]
bashusr has joined #ruby
oleo__ has quit [Quit: Verlassend]
mxrguspxrt has quit [Remote host closed the connection]
oleo has joined #ruby
yfeldblum has joined #ruby
dx7iso has quit [Remote host closed the connection]
renderful has joined #ruby
AlexRussia has quit [Ping timeout: 244 seconds]
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ARCADIVS has quit [Quit: ARCADIVS]
kasperti_ has quit []
dionysus69 has joined #ruby
elfuego has quit [Quit: elfuego]
yfeldblum has quit [Ping timeout: 240 seconds]
tus has joined #ruby
lkba has joined #ruby
dx7iso has joined #ruby
_testcore has joined #ruby
renderful has quit [Ping timeout: 258 seconds]
druznek has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
psy has joined #ruby
<shevy> people coming to #ruby
<shevy> and not using ruby
<shevy> is making me a sad panda :(
rkalfane has joined #ruby
lolmaus has quit [Quit: Konversation terminated!]
zorak8 has quit [Ping timeout: 255 seconds]
Pupeno has joined #ruby
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
fandi has quit [Ping timeout: 252 seconds]
vlad_sta- has quit [Ping timeout: 256 seconds]
tkuchiki has joined #ruby
dx7iso has quit [Remote host closed the connection]
mxrguspxrt has joined #ruby
Aswebb_ has joined #ruby
Narzew has joined #ruby
bogeyd6 has joined #ruby
bashusr has joined #ruby
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<deepy> shevy: don't be sad, you're the counter-weight
pu22l3r has joined #ruby
oleo has quit [Quit: Verlassend]
Blackhol_ has quit [Remote host closed the connection]
apeiros_ has quit [Read error: Connection reset by peer]
asmodlol has quit [Ping timeout: 272 seconds]
apeiros_ has joined #ruby
oleo has joined #ruby
vlad_starkov has joined #ruby
asmodlol has joined #ruby
nicolastarzia has joined #ruby
Aswebb_ has quit []
govg has quit [Ping timeout: 240 seconds]
dionysus69 has quit [Ping timeout: 245 seconds]
govg has joined #ruby
AlexRussia has joined #ruby
kasperti_ has joined #ruby
studiotate has joined #ruby
nicolastarzia has quit [Ping timeout: 255 seconds]
byprdct has joined #ruby
studiotate has quit [Client Quit]
jdj_dk has joined #ruby
Youka has joined #ruby
leafybasil has joined #ruby
pu22l3r has quit [Remote host closed the connection]
Narzew has quit [Quit: Wychodzi]
m8 has joined #ruby
TgMts has quit [Quit: No Ping reply in 180 seconds.]
jdj_dk_ has joined #ruby
jdj_dk has quit [Read error: Connection reset by peer]
TgMts has joined #ruby
felltir has joined #ruby
Flcn_ has joined #ruby
commmmodo has joined #ruby
JohnBat26 has joined #ruby
rshetty has quit [Remote host closed the connection]
mjuszczak has joined #ruby
jack_rabbit has joined #ruby
tkuchiki has quit [Remote host closed the connection]
elfuego has joined #ruby
gr33n7007h has joined #ruby
tkuchiki has joined #ruby
panga has quit [Remote host closed the connection]
tkuchiki has quit [Read error: Connection reset by peer]
jdj_dk_ has quit [Remote host closed the connection]
tkuchiki has joined #ruby
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby
yfeldblum has joined #ruby
ponga has quit [Ping timeout: 240 seconds]
j416 has quit [Ping timeout: 245 seconds]
rkalfane has joined #ruby
Flcn_ has quit [Ping timeout: 264 seconds]
Flcn__ has joined #ruby
tkuchiki has quit [Ping timeout: 258 seconds]
basex has joined #ruby
yfeldblum has quit [Ping timeout: 244 seconds]
koderok has joined #ruby
koderok has quit [Remote host closed the connection]
<shevy> yeah
AlexRussia has quit [Quit: WeeChat 1.1-dev]
AlexRussia has joined #ruby
<shevy> >> module Foo; class Bar; end; end; bar = Foo::Bar.new; i.is_a? Bar
<eval-in__> shevy => undefined local variable or method `i' for main:Object (NameError) ... (https://eval.in/237541)
<shevy> >> module Foo; class Bar; end; end; bar = Foo::Bar.new; foo.is_a? Bar
<eval-in__> shevy => undefined local variable or method `foo' for main:Object (NameError) ... (https://eval.in/237542)
<shevy> oh man it is not my day
AlexRussia has quit [Changing host]
AlexRussia has joined #ruby
<shevy> where does a notation such as ::Foo come from actually?
<shevy> the two leading ::
basex has quit [Ping timeout: 244 seconds]
Flcn__ has quit [Ping timeout: 264 seconds]
claudiuinberlin has joined #ruby
Flcn__ has joined #ruby
TgMts has quit [Quit: No Ping reply in 180 seconds.]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
<Mon_Ouie> C++ uses the same syntax, Matz was programming in C++ before he developed Ruby
TripTastic has joined #ruby
TgMts has joined #ruby
j416 has joined #ruby
JBreit has quit [Ping timeout: 258 seconds]
rshetty has joined #ruby
hamakn has joined #ruby
ebbflowgo has joined #ruby
n80 has joined #ruby
commmmodo has quit [Quit: commmmodo]
jdj_dk has joined #ruby
j416 has quit [Ping timeout: 245 seconds]
commmmodo has joined #ruby
dx7iso has joined #ruby
oo_ has joined #ruby
mjuszczak has quit []
<shevy> makes sense
fandi has joined #ruby
Zamyatin has joined #ruby
despai has quit [Quit: This computer has gone to sleep]
j416 has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
dx7iso has quit [Ping timeout: 244 seconds]
commmmodo has quit [Quit: commmmodo]
fandi has quit [Excess Flood]
fandi has joined #ruby
msmith_ has joined #ruby
Jackneill has quit [Ping timeout: 255 seconds]
Spami has joined #ruby
oo_ has quit [Ping timeout: 255 seconds]
kapil__ has quit [Quit: Connection closed for inactivity]
govg has quit [Ping timeout: 258 seconds]
TgMts has quit [Read error: Connection reset by peer]
Azure has quit [Quit: My MBP went to sleep.]
msmith_ has quit [Ping timeout: 272 seconds]
Seich has quit [Ping timeout: 258 seconds]
<arup_r> shevy: Do you write S.O.L.ID code?
<shevy> I don't know these abbreviations
razieliyo has joined #ruby
razieliyo has joined #ruby
<shevy> mostly I just write as little code as quickly as possible to solve a given small problem
Seich has joined #ruby
pu22l3r has joined #ruby
MasterPiece has quit [Quit: Leaving]
jasonmit has quit [Ping timeout: 240 seconds]
TgMts has joined #ruby
SirFunk has quit [Ping timeout: 240 seconds]
s_e has quit [Ping timeout: 240 seconds]
pu22l3r has quit [Ping timeout: 244 seconds]
chinmay_dd_ has joined #ruby
SirFunk has joined #ruby
LRgraham has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
chinmay_dd has quit [Ping timeout: 255 seconds]
pu22l3r has joined #ruby
s_e has joined #ruby
elek has joined #ruby
TgMts has quit [Client Quit]
it0a has joined #ruby
<shevy> ohhh now I know how people get so much reputation on stackoverflow
<shevy> they also answer non-ruby questions! :-)
jdj_dk has quit [Remote host closed the connection]
jdj_dk has joined #ruby
C0deMaver1ck has quit [Ping timeout: 258 seconds]
slawrence00 has joined #ruby
bradland_ has joined #ruby
C0deMaver1ck has joined #ruby
C0deMaver1ck is now known as Guest16071
<bradland_> shevy: think of the :: like a path separator and the whole leading ::Foo makes more sense.
kiki_lamb has joined #ruby
atmosx has joined #ruby
<bradland_> Absolute path: /foo/bar. Relative path: foo/bar.
<shevy> cool
jdj_dk has quit [Ping timeout: 240 seconds]
<shevy> that is indeed a nice concept to memorize
fearoffish has quit [Ping timeout: 240 seconds]
androidbruce has quit [Ping timeout: 240 seconds]
nitrix has joined #ruby
nitrix is now known as Guest52757
jdj_dk has joined #ruby
JDHankle has quit [Ping timeout: 265 seconds]
<atmosx> hello
<atmosx> hey shevy
fearoffish has joined #ruby
bradland_ has quit [Quit: Colloquy for iPad - http://colloquy.mobi]
Zai00 has joined #ruby
gfawcettpq has quit [Ping timeout: 256 seconds]
TgMts has joined #ruby
androidbruce has joined #ruby
androidbruce has quit [Changing host]
androidbruce has joined #ruby
jamto11 has joined #ruby
JDHankle has joined #ruby
yfeldblum has joined #ruby
dtordable has quit [Ping timeout: 258 seconds]
jack_rabbit has quit [Ping timeout: 255 seconds]
TgMts has quit [Client Quit]
n80 has quit [Quit: n80]
ponga has joined #ruby
<atmosx> EventMachine handles multiple clients automatically right? I was able to open 2 'nc' clients without issues.
pushpak has joined #ruby
davedev24_ has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
<atmosx> I mean I don't need to implement threads or fibers or anything
<weeb1e> atmosx: A EM server will handle as many client connections as the OS and hardware will allow
zz_twistedpixels is now known as twistedpixels
<weeb1e> You may want to read up about the basics of asynchronous reactors
TgMts has joined #ruby
<weeb1e> To get a better idea of how it works on a low level
jdj_dk has quit [Remote host closed the connection]
TDJACR has quit [Ping timeout: 258 seconds]
jdj_dk has joined #ruby
<atmosx> hm doesn't load here
<weeb1e> I mean't general reactors, any decent snippets/tutorial will teach you how EM specifically works
<weeb1e> *meant
Blackhol_ has joined #ruby
Seich has quit [Ping timeout: 258 seconds]
<weeb1e> That doesn't explain well
<atmosx> thanks I'm on it
ponga has quit [Ping timeout: 258 seconds]
TgMts has quit [Client Quit]
<weeb1e> Basically, the ractor pattern works as follows: It is a infinite while loop which calls a system function calls select() which checks every socket and returns those which are readable, writable and in an error state
Seich has joined #ruby
<weeb1e> So each iteration of the loop, the reactor knows which sockets are ready to perform which operations, and it can simply handle them accordingly
<shevy> hey atmosx
govg has joined #ruby
TgMts has joined #ruby
commmmodo has joined #ruby
<weeb1e> There are further kernel-specific optimizations supported by certain platforms, but that is the core concept you should understand when working with eventmachine
jdj_dk has quit [Ping timeout: 264 seconds]
<atmosx> that's single threaded, smart.
<atmosx> shevy: how's life? :D
<atmosx> awesome EM is perfect for what I need to do.
<weeb1e> Using threads for IO is simply unnecessary overhead and complication
St_Marx has quit [Quit: WeeChat 1.0.1]
gfawcettpq has joined #ruby
<weeb1e> Single threaded reactor based platforms are far better suited for IO-heavy applications
TDJACR has joined #ruby
St_Marx has joined #ruby
<weeb1e> I have easily built 40 such applications over the past few years, so feel free to ask questions if you get stuck on anything
mattwildig has joined #ruby
fandi has quit [Ping timeout: 255 seconds]
krz has quit [Quit: WeeChat 1.0.1]
gfawcettpq has quit [Client Quit]
_2_chop1234 has joined #ruby
<_2_chop1234> hi
TgMts has quit [Quit: No Ping reply in 180 seconds.]
<felltir> hi
<_2_chop1234> :D
St_Marx has quit [Client Quit]
<felltir> :DD
St_Marx has joined #ruby
<atmosx> weeb1e: okay, will do if need further help, thanks
Zamyatin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jaequery has joined #ruby
<_2_chop1234> I'm 10
St_Marx has quit [Client Quit]
St_Marx has joined #ruby
byaruhaf has quit [Remote host closed the connection]
pu22l3r has quit [Read error: No route to host]
<_2_chop1234> hi
despai has joined #ruby
<_2_chop1234> :D
<shevy> _2_chop1234 is a bot
<shevy> same old _number_ pattern
<_2_chop1234> yes
despai has quit [Client Quit]
<shevy> atmosx dunno, lots todo and read
<_2_chop1234> ok
<atmosx> shevy: I see
byaruhaf has joined #ruby
<_2_chop1234> $$$
pu22l3r has joined #ruby
fabrice31 has joined #ruby
giuseppesolinas has joined #ruby
<shevy> atmosx do you still have to wait for your degree?
nomadic_ has quit [Ping timeout: 240 seconds]
<atmosx> shevy: sure, till summer 2016 :-(
<_2_chop1234> :'(
<arup_r> why are you crying ?
jalcine has quit [Remote host closed the connection]
JDHankle has quit [Quit: awe shucks]
jalcine has joined #ruby
weaksauce has quit [Ping timeout: 245 seconds]
<shevy> arup_r it's a bot, don't mind it
<arup_r> Ohh!
JDHankle has joined #ruby
jaequery has quit [Ping timeout: 264 seconds]
charliesome has quit [Quit: zzz]
<apeiros_> it cries because it doesn't have a heart
TgMts has joined #ruby
<arup_r> atmosx: What degree you are planning ?
<arup_r> apeiros_: What is the link between heart and cry ? :)
<atmosx> arup_r: pharmacy degree
Guest16071 has quit [Ping timeout: 258 seconds]
_2_chop1234 has quit [Remote host closed the connection]
<arup_r> Ok.. You are Rubying.. as You love programming ?
nomadic has joined #ruby
<arup_r> atmosx: ^^
<atmosx> arup_r: yes, I was in love with Linux actually so I dug as far as I could, but kept myself away from programming... from 1999 to 2007/8 ... then I started slowly with ruby and I'm still going slow :-P
phutchins has joined #ruby
nicolastarzia has joined #ruby
dx7iso has joined #ruby
<arup_r> me slow too
TgMts has quit [Quit: No Ping reply in 180 seconds.]
C0deMaver1ck_ has joined #ruby
<shevy> hmm
btcctf_ has quit [Ping timeout: 245 seconds]
<shevy> when I switched to linux, I used perl
<arup_r> shevy: +1
<shevy> one mistake I often made was that I would forget a trailing ;
giuseppesolinas has quit [Quit: This computer has gone to sleep]
<arup_r> that's why you switched to Ruby?
<shevy> nah
<arup_r> no traling `;`.............
<shevy> I switched to php from perl
<arup_r> :)
<atmosx> shevy: hahaha that's torture
<shevy> which had the same problem
<shevy> however had I was more productive in php than I was in perl
<arup_r> since when you are playing with computer brain ?
gilmour has quit [Remote host closed the connection]
<shevy> computer brain?
gilmour has joined #ruby
giuseppesolinas has joined #ruby
<arup_r> When I write (1..5).each do p "Say Hi!" end.. It is after all computer understand and do print
TgMts has joined #ruby
dx7iso has quit [Ping timeout: 252 seconds]
<arup_r> Ruby is just a middle-ware
<arup_r> :p
<atmosx> I need to save from info into the FS. It's for a queue system I'm designing, would you use an SQL database or a some YML file? I need to know which numbers are 'reserved', say I have a queue from 1 to 100 and numbers 69, 59 and 89 are preserved, so when the queue reaches that number will skip it.
<shevy> arup_r ah ok; well I would not use the word brain or understand, it just seems to analyse a stream of tokens and turns it into something else or?
<shevy> as it is often said, Ruby is just syntactic sugar over C
<shevy> atmosx yaml files! because I can read them!
jaequery has joined #ruby
<atmosx> shevy: but I already have a DB and I won't have to read anything.
<shevy> yaml files!
<shevy> hehehe
<atmosx> okay :-P
<shevy> you have to ask apeiros_
<shevy> he is designing a new ORM in ruby
jdj_dk has joined #ruby
<atmosx> cool
druznek has quit [Ping timeout: 272 seconds]
TgMts has quit [Quit: No Ping reply in 180 seconds.]
<shevy> hmm we can make a directory sticky
<shevy> File.chmod 01666, 'test'
<shevy> but I am surprised that we have to use the file permission there
<shevy> is there some way to use some character to chmod perhaps? "+t" or something like that?
dcarmich has quit [Quit: Textual IRC Client: www.textualapp.com]
<arup_r> No I think
AlexRussia has quit [Ping timeout: 245 seconds]
chinmay_dd_ has quit [Quit: Leaving]
AlexRussia has joined #ruby
_2_chop1234 has joined #ruby
<shevy> hmmm
gfawcettpq has joined #ruby
elfuego has quit [Quit: elfuego]
TgMts has joined #ruby
it0a has quit [Quit: WeeChat 1.0.1]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jaequery has joined #ruby
chipotle has quit [Quit: cheerio]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
fabrice31 has quit [Remote host closed the connection]
fabrice31 has joined #ruby
gfawcettpq has quit [Quit: Leaving.]
pushpak has quit [Quit: Leaving...]
TgMts has quit [Quit: No Ping reply in 180 seconds.]
gfawcettpq has joined #ruby
byprdct has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fabrice31 has quit [Ping timeout: 252 seconds]
TgMts has joined #ruby
maestrojed has joined #ruby
pika_pika has quit [Quit: Leaving]
yfeldblum has joined #ruby
mrsolo has joined #ruby
Zai00 has quit [Quit: Zai00]
_2_chop1234 has quit [Remote host closed the connection]
<shevy> yeah
giuseppesolinas has joined #ruby
<shevy> we must pass Fixnums
<shevy> :(
Flcn__ has quit [Quit: Be back later ...]
Channel6 has joined #ruby
<shevy> if I have a string like "01666", how can I convert it into 01666?
basex has joined #ruby
<apeiros_> to_i(8)
<apeiros_> shevy: ^
monsieurp has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 252 seconds]
<shevy> ah
<shevy> thanks
basex has quit [Ping timeout: 250 seconds]
noop has joined #ruby
oleo has quit [Quit: Verlassend]
monsieurp has joined #ruby
jimmyhoughjr has quit [Read error: Connection reset by peer]
jalcine has quit [Ping timeout: 258 seconds]
frog0909 has joined #ruby
s00pcan__ has joined #ruby
s00pcan has quit [Read error: Connection reset by peer]
mr_george has joined #ruby
ponga has joined #ruby
tkuchiki has joined #ruby
pu22l3r has quit [Remote host closed the connection]
<bradland> won’t to_i(8) use base8, which would be 950 in base10?
shadeslayer has quit [Ping timeout: 256 seconds]
Zai00 has joined #ruby
jalcine has joined #ruby
n80 has joined #ruby
<shevy> >> 01666 == "01666".to_i 8
<eval-in__> shevy => /tmp/execpad-29fc1ad08a01/source-29fc1ad08a01:2: syntax error, unexpected tINTEGER, expecting keyword_end (https://eval.in/237544)
<shevy> ohhhh
<shevy> the ruby parser is strange
<shevy> >> 01666 == "01666".to_i(8)
<eval-in__> shevy => true (https://eval.in/237545)
Seich has quit [Ping timeout: 258 seconds]
oleo has joined #ruby
shadeslayer has joined #ruby
<bradland> operator precedence
frog0909_ has quit [Ping timeout: 265 seconds]
DrCode has quit [Ping timeout: 250 seconds]
<bradland> i’m too lazy to remember what’s what, so I nearly always wrap method calls with paren
<shevy> yeah
Hanmac has quit [Ping timeout: 250 seconds]
<shevy> I noticed that I am doing that a lot when I do stuff like this:
<shevy> if File.exist?('bla') and ! File.directory?('bla') and File.awesome?('bla')
Seich has joined #ruby
ericwood has quit [Ping timeout: 240 seconds]
<mr_george> I would like to invert every color reference in a file. How do I keep track of what has been replaced and what needs to be? I can't even just create an Array of colors to replace, because #000000 => #FFFFFF, and then I don't want to run turn it back into #000000. Any ideas?
<mr_george> I guess I could make a table of every index in the file that needs to be replaced, since these replacements won't change file positions, but that seems hard.
tkuchiki has quit [Ping timeout: 252 seconds]
ponga has quit [Ping timeout: 255 seconds]
ericwood has joined #ruby
atmosx_ has joined #ruby
wallerdev has joined #ruby
<shevy> sounds as if you need to use one or two Hashes
<apeiros_> bradland: correct, to_i(8) uses base8, which is the base 01666 uses
<Mon_Ouie> Just use gsub?
atmosx has quit [Ping timeout: 240 seconds]
mattwildig has quit [Remote host closed the connection]
fandi has joined #ruby
Kondro has quit [Read error: Connection reset by peer]
davedev2_ has joined #ruby
<bradland> apeiros_: oh yeah, chmod. derp.
Sawbones has joined #ruby
davedev24_ has quit [Ping timeout: 264 seconds]
Takle_ has quit [Ping timeout: 244 seconds]
mattwildig has joined #ruby
felltir has quit []
n80 has quit [Quit: n80]
DrCode has joined #ruby
C0deMaver1ck_ has quit [Ping timeout: 258 seconds]
jeff-ooh has joined #ruby
Zai00 has quit [Quit: Zai00]
fandi has quit [Ping timeout: 250 seconds]
Asher has quit [Quit: Leaving.]
C0deMaver1ck has joined #ruby
C0deMaver1ck is now known as Guest84062
jrhe_ has joined #ruby
Takle has joined #ruby
Hanmac has joined #ruby
matled- has joined #ruby
<shevy> wasn't that difficult as I thought to make something sticky while preserving the old permissions
paramourne has quit [Remote host closed the connection]
<shevy> some_directory_here = '/tmp'; old_permissions = File.stat(some_directory_here).mode.to_s(8)[-3,3]; old_permissions[0,0] = '01'; old_permissions = old_permissions.to_i(8); File.chmod(old_permissions, some_directory_here)
Luyt__ has joined #ruby
matled has quit [Read error: Connection reset by peer]
jrhe has quit [Ping timeout: 240 seconds]
crdpink has quit [Excess Flood]
Luyt_ has quit [Ping timeout: 240 seconds]
LiquidInsect has quit [Ping timeout: 240 seconds]
jrhe_ is now known as jrhe
matled- is now known as matled
crdpink has joined #ruby
LiquidInsect has joined #ruby
<mr_george> Mon_Ouie: that won't handle #000000 being converted to #FFFFFF, and then back into #000000
<shevy> mr_george well just keep track of it in your hash?
wolf4ood has joined #ruby
susmus has quit [Ping timeout: 240 seconds]
Jameser` has joined #ruby
<Blackhol_> I'm working on a pretty simple sinatra + datamapper app, and it was launching and working just fine yesterday. I attempted to introduce some seed data into the db, and started getting this strange error on launch. I reverted back to pre-seed code, and the error persists. I've noticed that commenting out the include DataMapper::Resource in my model makes the app run again. here's the error: /.rbenv/versions/2.1.5/lib/rub
<Blackhol_> y/gems/2.1.0/gems/dm-serializer-1.2.2/lib/dm-serializer/to_yaml.rb:15:in `included': undefined method `add_domain_type' for Psych:Module (NoMethodError) ... Any ideas?
msmith_ has joined #ruby
<mr_george> I guess I can gsub(#000000, prefix000000) on all colors first, then gsub(prefix00000, #FFFFFF)
susmus has joined #ruby
Jameser has quit [Ping timeout: 240 seconds]
AlexRussia has quit [Ping timeout: 244 seconds]
rippa has quit [Ping timeout: 244 seconds]
shuber_ has joined #ruby
<apeiros_> mr_george: gsub can gsub all values in one go
byprdct has joined #ruby
<apeiros_> mr_george: either by using a hash as second argument, or by using a block
msmith_ has quit [Read error: Connection reset by peer]
gfawcettpq has quit [Quit: Leaving.]
<apeiros_> no need for prefix or dozens of gsub calls.
msmith_ has joined #ruby
Blackhol_ was kicked from #ruby by apeiros_ [if you cross-post, inform all places where you ask, that you're asking in multiple places.]
gfawcettpq has joined #ruby
rshetty has quit [Remote host closed the connection]
jack_rabbit has joined #ruby
Pupeno has quit [Remote host closed the connection]
Pupeno has joined #ruby
<mr_george> apeiros_, wow, that was too easy. Sorry for the noob question. Thanks
Blackhol_ has joined #ruby
<shevy> oh
shuber_ has quit [Ping timeout: 258 seconds]
<shevy> .gsub accepts a Hash?
msmith_ has quit [Ping timeout: 244 seconds]
Zai00 has joined #ruby
oleo has quit [Remote host closed the connection]
Sawbones has quit [Remote host closed the connection]
oo_ has joined #ruby
hamakn has quit [Remote host closed the connection]
Pupeno has quit [Ping timeout: 244 seconds]
oleo has joined #ruby
oleo has quit [Read error: Connection reset by peer]
<mr_george> shevy, no, but I ultimately want to call a function invert(color="#000000")#=>"#FFFFFF", I don't need to create the hash at all. That was just a workaround because I was imagining many gsub calls. (I originally started writing this with bash and sed)
testcore has quit [Ping timeout: 250 seconds]
oleo has joined #ruby
<mr_george> shevy, with only a single gsub call and a proc, I don't need to worry about my problem of #000000 => #FFFFFF and getting converted back again
testcore has joined #ruby
oleo has quit [Read error: Connection reset by peer]
fandi has joined #ruby
Pupeno has joined #ruby
<bradland> shevy: it can, yes. it performs a looup in the hash that looks like this: myhash[match]
<bradland> roughly speaking
Pupeno has quit [Changing host]
Pupeno has joined #ruby
oleo has joined #ruby
oleo has quit [Read error: Connection reset by peer]
chinmay_dd has joined #ruby
chinmay_dd has quit [Remote host closed the connection]
Pupeno has quit [Remote host closed the connection]
Hanmac has quit [Ping timeout: 265 seconds]
codecop has joined #ruby
oleo has joined #ruby
oo_ has quit [Ping timeout: 258 seconds]
_ixti_ has joined #ruby
shinnya has joined #ruby
oleo has quit [Read error: Connection reset by peer]
jeff-ooh_ has joined #ruby
cmarques has quit [Remote host closed the connection]
ixti has quit [Ping timeout: 264 seconds]
oleo has joined #ruby
oleo has quit [Read error: Connection reset by peer]
cmarques has joined #ruby
jeff-ooh has quit [Ping timeout: 256 seconds]
oleo has joined #ruby
cmarques has quit [Remote host closed the connection]
oleo has quit [Read error: Connection reset by peer]
mattwildig has quit []
oleo has joined #ruby
rippa has joined #ruby
oleo has quit [Read error: Connection reset by peer]
dx7iso has joined #ruby
<shevy> aha
AlexRussia has joined #ruby
oleo has joined #ruby
Asher has joined #ruby
AlSquire has joined #ruby
studiotate has joined #ruby
oleo has quit [Read error: Connection reset by peer]
jeff-ooh_ has quit [Remote host closed the connection]
anskeit has quit [Ping timeout: 272 seconds]
anskeit has joined #ruby
Soda has joined #ruby
rkornmeyer has joined #ruby
claymore has joined #ruby
jeff-ooh_ has joined #ruby
yfeldblum has joined #ruby
diegoviola has joined #ruby
hamakn has joined #ruby
arietis_ has joined #ruby
oleo has joined #ruby
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
amclain has joined #ruby
<shevy> hmm
despai has joined #ruby
<shevy> if I define the same method in 3 modules
arietis_ is now known as arietis
<shevy> and include these 3 modules in my class
<shevy> only the last defined method will prevail
jeff-ooh_ has quit [Client Quit]
yfeldblum has quit [Ping timeout: 255 seconds]
<shevy> is there a way to obtain and keep all three methods? let me show the example
oleo has quit [Remote host closed the connection]
jdj_dk has quit [Read error: Connection reset by peer]
CustosL1men has joined #ruby
santacat is now known as cats
jdj_dk has joined #ruby
behrz has quit [Read error: Connection reset by peer]
Jet4Fire has joined #ruby
Jackneill has joined #ruby
icebourg has joined #ruby
rbrs has joined #ruby
dcarmich has joined #ruby
<mr_george> shevy, If your reset method calls, super, it will follow up the ancestry tree, but otherwise I don't think so
basex has joined #ruby
hmsimha has quit [Quit: Leaving]
jamto11 has quit [Remote host closed the connection]
jdj_dk has quit [Read error: Connection reset by peer]
jdj_dk has joined #ruby
elfuego has joined #ruby
kasperti_ has quit []
basex has quit [Ping timeout: 244 seconds]
despai has quit [Quit: This computer has gone to sleep]
it0a has joined #ruby
Asher has quit [Quit: Leaving.]
oleo has joined #ruby
giuseppesolinas has left #ruby ["Leaving"]
kasperti_ has joined #ruby
Pupeno has joined #ruby
n80 has joined #ruby
AlexRussia has quit [Changing host]
AlexRussia has joined #ruby
ponga has joined #ruby
<atmosx_> shevy: module Bar; def self.reset; @a = 5; @hp = 1; end; end ... and you have Bar.reset Bla.reset and Baz.reset..
Mia has quit [Read error: Connection reset by peer]
<atmosx_> or use module_function :reset if you like, it's more cryptic though
<apeiros_> atmosx_: so using puts, require etc. is cryptic?
thumpba has joined #ruby
<atmosx_> apeiros_: Using? No, using it instead of self. IMHO yes.
shadowdancer has joined #ruby
<shevy> mr_george ah you mean, the reset methods in the modules? they can also call super?
<mr_george> shevy, yep
<shevy> cool, that works
arietis has quit [Quit: Textual IRC Client: www.textualapp.com]
josephndenton has joined #ruby
ponga has quit [Ping timeout: 245 seconds]
n80 has quit [Quit: n80]
behrz has joined #ruby
thumpba has quit [Remote host closed the connection]
rbrs has quit [Quit: Leaving]
<shevy> hmm
<shevy> I see that it leads in an error if no super class is known
<shevy> is there a way to check for this condition?
<shevy> "super unless no_super_class_is_known?"
<shevy> super: no superclass method `reset' for #<Foo:0xb7e33df4> (NoMethodError)
rbrs has joined #ruby
pu22l3r has joined #ruby
<shevy> something like: yield if block_given?
arrubin has quit []
gregf has quit [Quit: WeeChat 1.0.1]
<apeiros_> super if defined? super
rbrs has quit [Client Quit]
rkalfane has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> ah
<shevy> cool, thanks
Pupeno has quit [Remote host closed the connection]
Zamyatin has joined #ruby
Ulrike_Tristy is now known as Ulrike_Rayne
fandi has quit [Ping timeout: 240 seconds]
DLSteve_ has joined #ruby
DLSteve_ has quit [Remote host closed the connection]
rkalfane has joined #ruby
rbrs has joined #ruby
shuber_ has joined #ruby
DLSteve_ has joined #ruby
msmith_ has joined #ruby
Pupeno has joined #ruby
fandi has joined #ruby
danguita has joined #ruby
despai has joined #ruby
shuber_ has quit [Ping timeout: 250 seconds]
rbrs has quit [Quit: Leaving]
noop has quit [Ping timeout: 256 seconds]
msmith_ has quit [Ping timeout: 258 seconds]
rbrs has joined #ruby
oleo has quit [Quit: Verlassend]
despai has quit [Client Quit]
oleo has joined #ruby
Pupeno has quit [Remote host closed the connection]
Pupeno has joined #ruby
jack_rabbit has quit [Ping timeout: 240 seconds]
hamakn has quit [Remote host closed the connection]
pwnz0r has joined #ruby
oo_ has joined #ruby
asmodlol has quit [Ping timeout: 258 seconds]
ebbflowgo has quit [Quit: ebbflowgo]
chinmay_dd has joined #ruby
atmosx_ has quit [Quit: Let him that would move the world first move himself. - Socrates]
shadowdancer has quit [Remote host closed the connection]
Pupeno has quit [Ping timeout: 244 seconds]
zen_ has quit [Quit: Lost terminal]
asmodlol has joined #ruby
Photism has quit [Quit: Leaving]
oo_ has quit [Ping timeout: 244 seconds]
icebourg has quit []
hamakn has joined #ruby
pwnz0r has quit [Remote host closed the connection]
hemanth has joined #ruby
bhaak_ is now known as bhaak
spastorino has joined #ruby
fandi has quit [Ping timeout: 240 seconds]
despai has joined #ruby
despai has quit [Remote host closed the connection]
behrz has quit [Ping timeout: 256 seconds]
Takle has quit [Ping timeout: 245 seconds]
behrz has joined #ruby
Seich has quit [Ping timeout: 258 seconds]
sj has joined #ruby
behrz has quit [Client Quit]
IrishGringo has quit [Remote host closed the connection]
Seich has joined #ruby
gr33n7007h has quit [Remote host closed the connection]
Zai00 has quit [Quit: Zai00]
pu22l3r has quit [Remote host closed the connection]
Meeh_ is now known as Meeh
oleo has joined #ruby
oleo has quit [Changing host]
fandi has joined #ruby
j416 has quit [Quit: o/]
rlvm has joined #ruby
naftilos76 has joined #ruby
Takle has joined #ruby
j416 has joined #ruby
fandi has quit [Ping timeout: 245 seconds]
tkuchiki has joined #ruby
ponga has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
CustosL1men has quit [Ping timeout: 240 seconds]
zacts has quit [Ping timeout: 258 seconds]
mr_george has quit [Quit: Ex-Chat]
commmmodo has quit [Quit: commmmodo]
fandi has joined #ruby
dtordable has joined #ruby
josephndenton has quit [Ping timeout: 240 seconds]
zacts has joined #ruby
tkuchiki has quit [Ping timeout: 244 seconds]
studiotate has quit [Quit: Computer has gone to sleep.]
ponga has quit [Ping timeout: 256 seconds]
<rlvm> To top
<rlvm> to top
fenzil has joined #ruby
Menorah has joined #ruby
commmmodo has joined #ruby
rkalfane has quit [Quit: Textual IRC Client: www.textualapp.com]
tus has quit []
Takle_ has joined #ruby
naftilos76 has quit [Read error: Connection reset by peer]
Pattt has joined #ruby
MartynKeigher has quit [Read error: Connection reset by peer]
<shevy> lol
Takle has quit [Ping timeout: 265 seconds]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
maestrojed has quit [Quit: Textual IRC Client: www.textualapp.com]
psy has quit [Quit: Leaving]
pushpak has joined #ruby
byprdct has quit [Read error: Connection reset by peer]
insaneinside has joined #ruby
aswen has quit [Ping timeout: 245 seconds]
Zamyatin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<insaneinside> is there a way to disable pry's abbreviation of EVERYTHING? It seems to insinuate itself into even e.g. the standard library's "pp"!
pushpak has quit [Client Quit]
<shevy> hehe
<shevy> can't abbreviate that much with 2 characters can you :)
* insaneinside rolls his eyes.
<insaneinside> I mean that even the output of `pp myobject` gets abbreviated, even when I've manually set Pry.config.print to use `pp` directly.
<insaneinside> so it's some other mechanism within pry that really isn't my debug target right now.
DaniG2k has joined #ruby
* arup_r feeling sleepy
<insaneinside> `pp myobject` prints `#<MyObject:0xXXXXXXX ...>`, which is useless.
byprdct has joined #ruby
mxrguspxrt has quit [Remote host closed the connection]
jphenow has quit [Quit: Be back later ...]
<shevy> but that is what pp does no? it invokes #inspect and reformats it e. g. makes a new line if the line is too long
gja has joined #ruby
jphenow has joined #ruby
behrz has joined #ruby
<shevy> oh wait you are right
<shevy> it does not yield the object id in that format
behrz has quit [Client Quit]
<insaneinside> ...?
Hobogrammer has joined #ruby
<shevy> pp output by default http://pastie.org/9801052
<shevy> wait
<shevy> it would actually do
<shevy> so I guess Array must have redefined #inspect
nicolastarzia has quit [Remote host closed the connection]
<shevy> so what you show above seems perfectly valid insaneinside for pp output
<insaneinside> no, i mean
<insaneinside> literally an ellipsis
<shevy> an ellipsis?
<insaneinside> "#<MyObject:0xXXXXXXX ...>"
<insaneinside> "..."
<shevy> ah
yfeldblum has joined #ruby
<shevy> weird
hiyosi has quit [Read error: Connection reset by peer]
<insaneinside> but that thing about redefining #inspect -- helped.
hiyosi has joined #ruby
jphenow has quit [Ping timeout: 252 seconds]
yfeldblum has quit [Ping timeout: 245 seconds]
it0a has quit [Ping timeout: 265 seconds]
AndyBotwin has quit [Quit: Leaving]
<insaneinside> so Pry thinks that the default #inspect is useless? Bah! Humbug.
randiman has joined #ruby
jack_rabbit has joined #ruby
Takle has joined #ruby
<shevy> no idea, I don't use it. If you think it is a bug or a faulty behaviour then you could consider filing an issue at https://github.com/pry/pry/issues
Takle_ has quit [Ping timeout: 258 seconds]
basex has joined #ruby
<insaneinside> will consider, thanks. Are you a developer?
<insaneinside> (i.e., of pry)
DaniG2k has quit [Ping timeout: 272 seconds]
weaksauce has joined #ruby
<shevy> nah, I used it only initially
jimmyhoughjr has joined #ruby
<shevy> but I recall that back then too there were other issues about redefining (or using abbreviations) for common commands
towski_ has joined #ruby
gregf has joined #ruby
basex has quit [Ping timeout: 250 seconds]
arup_r has quit [Quit: Leaving.]
pdlug has joined #ruby
Sgeo has quit [Read error: Connection reset by peer]
Takle_ has joined #ruby
Takle has quit [Ping timeout: 265 seconds]
elaptics is now known as elaptics`away
DaniG2k has joined #ruby
rkalfane has joined #ruby
rbrs has quit [Quit: Leaving]
gja has quit [Quit: This computer has gone to sleep]
chrishough has joined #ruby
chrishough has quit [Client Quit]
havenwood has joined #ruby
elaptics`away is now known as elaptics
delsol has quit [Ping timeout: 246 seconds]
hamakn has quit [Remote host closed the connection]
Cache_Money has joined #ruby
ponga has joined #ruby
<bradland> tools like pretty print and awesome print actually maintain “formatting” styles for certain types of known objects.
josephndenton has joined #ruby
<bradland> so not everything can be formatted nicely without additional information
heeton has joined #ruby
<bradland> although the choice of truncating an object id seems like an odd default
<insaneinside> bradland: but this is a problem with Pry directly -- and no, the obj. ID wasn't being truncated
<insaneinside> that was for my example
<bradland> oh, sry. i thought you meant it was.
<insaneinside> but the object data WAS being truncated.
<insaneinside> yeah, i'm doing poorly at explaining things today.
ptrrr has quit [Quit: ptrrr]
ptrrr has joined #ruby
ptrrr has quit [Remote host closed the connection]
ptrrr has joined #ruby
<Mon_Ouie> Pry doesn't redefine anything in PP, all it does is subclass it to add colors
Cache_Money has quit [Client Quit]
<insaneinside> yeah, so it's something outside of that.
<insaneinside> The problem was fixed when I manually defined #inspect on the object I was having trouble with.
josephndenton has quit [Ping timeout: 240 seconds]
Sgeo has joined #ruby
<havenwood> insaneinside: What was the problem?
msmith_ has joined #ruby
<bradland> insaneinside: do you have a code snippet that will reproduce the problem?
ponga has quit [Ping timeout: 272 seconds]
<insaneinside> havenwood: it appears to be that Pry treats the output of #inspect differently depending on where #inspect is defined -- Kernel or your own class...
<havenwood> insaneinside: Different result in irb?
<insaneinside> bradland: not at the moment, unless you want an entire WIP LR(1) parser implementation.
<insaneinside> havenwood: yes.
<bradland> thx, but i’m good lol
pdlug has quit [Quit: Textual IRC Client: www.textualapp.com]
ebbflowgo has joined #ruby
DaniG2k has quit [Ping timeout: 265 seconds]
<tejas-manohar> >> nil
<eval-in__> tejas-manohar => nil (https://eval.in/237565)
renderful has joined #ruby
<bradland> when I pp an object with long inspect output from within pry, I get a pager.
dc_ has quit [Remote host closed the connection]
amundj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<insaneinside> my .pryrc doesn't have anything Pry-related in it, so shouldn't I as well?
msmith_ has quit [Ping timeout: 272 seconds]
<bradland> i would think
<bradland> what’s your system’s default pager?
bashusr has quit [Read error: Connection reset by peer]
<havenwood> You can disable paging in your .pryrc with: Pry.pager = false
<insaneinside> Not sure one is set -- would be in PAGER env var, no?
<insaneinside> havenwood: paging is enabled, so that's not the problem...
DaniG2k has joined #ruby
<bradland> yes, that’s where you’d usually find it
Jackneill has quit [Ping timeout: 245 seconds]
dx7iso has quit [Remote host closed the connection]
bashusr has joined #ruby
<bradland> insaneinside: try running this code snippet https://gist.github.com/bradland/7fc20accdf3ddd8e8a60
renderful has quit [Ping timeout: 258 seconds]
<bradland> even with the pager turned off, i get the full output, but then again, i may not be using a valid test case for the issue you described.
<tejas-manohar> i found the source for eval-in__ bot in irc
<insaneinside> that prints per normal
<tejas-manohar> what's going on on that line?
<Mon_Ouie> (1..100).to_a
<Mon_Ouie> That's not the source code of this bot btw, it's a clone I made when the bot wasn't there anymore
<bradland> thx Mon_Ouie
<tejas-manohar> oh
<tejas-manohar> Mon_Ouie: it works tho, right?
<insaneinside> bradland: starting to think it might be something to do with having greater than a certain number of member variables.
<Mon_Ouie> Yes. And that backslash at the end is used to escape the newline, so that the two strings are concatenated
wolf4ood has quit [Excess Flood]
<tejas-manohar> Mon_Ouie: im trying to write an app to make gists executable and im making use of eval.in (has many language support) https://github.com/tejasmanohar/pasterunner/blob/master/app.rb#L22 why is my code erroring dynamic constant assignment at the line highlighted here
<tejas-manohar> Mon_Ouie: the actual bot isn't open source?
<Mon_Ouie> I don't think it is
<bradland> insaneinside: that’s likely. these pretty printers (pry included) don’t treat all objects equally.
wolf4ood has joined #ruby
<Mon_Ouie> tejas-manohar: You can't assign a constant inside a method like that
<tejas-manohar> Mon_Ouie: ohhh constants ill put at top
Musashi007 has joined #ruby
<tejas-manohar> Mon_Ouie: im confused where you're getting the actual std output as a string, that's what i'd like to get a hold of in my application since it's what i'll eventually display to the user - https://github.com/Mon-Ouie/cinch-eval-in/blob/master/lib/cinch/plugins/eval_in.rb#L70
leandroalemao has joined #ruby
raphaelrk has joined #ruby
<tejas-manohar> sorry (newer one of the devs here)
Sawbones has joined #ruby
<Mon_Ouie> I get an HTML page back from the server, which I parse to find the part that contains the program output (I just looked at what the HTML code looked like to write the xpath expression)
<tejas-manohar> ah
bashusr has quit [Read error: Connection reset by peer]
<tejas-manohar> Mon_Ouie: so in a way, web scraping
<tejas-manohar> ?
<Mon_Ouie> Yup
<tejas-manohar> Mon_Ouie: do you know of any ruby gems similar to npmjs.com/package/cheerio that package is OP
fandi has quit [Ping timeout: 240 seconds]
<Mon_Ouie> I don't know what that is, but libraries like Mechanize can help doing web scraping
bashusr has joined #ruby
Zai00 has joined #ruby
<tejas-manohar> Mon_Ouie: https://www.npmjs.com/package/cheerio basically implements jQuery in the server side so i can GET a page and then load its html into $ and then perform any jQ operations on it!
yfeldblum has joined #ruby
Pupeno has joined #ruby
Pupeno has quit [Changing host]
Pupeno has joined #ruby
<tejas-manohar> Mon_Ouie: can you explain the purpose behind needs_ellipsis ?
oo_ has joined #ruby
<Mon_Ouie> That's just because you can't send (or don't want to, anyway) very long messages on IRC, so I only keep the first N characters of the first line and add '...' at the end to indicate there's more on the web page
<tejas-manohar> Mon_Ouie: ah
timonv_ has joined #ruby
jphenow has joined #ruby
mxrguspxrt has joined #ruby
<tejas-manohar> Mon_Ouie: so i guess in my case since im a website that'll provide the output of code in a gist, pastebin, etc. given the language i can just do `output_title.next_element.text` under the `if output_title = body.at_xpath("*//h2[text()='Program Output']")` to return all the output?
<Mon_Ouie> Yes, that should be it
yfeldblum has quit [Ping timeout: 240 seconds]
<tejas-manohar> Mon_Ouie: im having trouble understanding what you're doing w/ old_template https://github.com/Mon-Ouie/cinch-eval-in/blob/master/lib/cinch/plugins/eval_in.rb#L80 -- what is all the $stdout.puts like whats the general goal of that function
<tejas-manohar> Mon_Ouie: i can omit?
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
mxrguspxrt has quit [Client Quit]
oo_ has quit [Ping timeout: 258 seconds]
Sawbones has quit [Remote host closed the connection]
bashusr has quit [Read error: Connection reset by peer]
byprdct has quit [Ping timeout: 244 seconds]
<Mon_Ouie> That's just so I can run code with Ruby 1.0 and other very old versions, Ruby has changed since then so I wrote two versions of the template
<tejas-manohar> Mon_Ouie: will rising an error stop my server?
<tejas-manohar> oh ok im just gonna screw those versions :P
<tejas-manohar> lol
bashusr has joined #ruby
hamakn has joined #ruby
raphaelrk has quit [Quit: Lost terminal]
heeton has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<tejas-manohar> Mon_Ouie: it worked!
ndrei has quit [Ping timeout: 240 seconds]
agjacome has joined #ruby
commmmodo has quit [Quit: commmmodo]
zorak8 has joined #ruby
Sawbones has joined #ruby
chinmay_dd has quit [Quit: Leaving]
rtbt has quit [Remote host closed the connection]
vinleod has joined #ruby
rtbt has joined #ruby
Spami has joined #ruby
<tejas-manohar> >> def test 'lol' end test()
<eval-in__> tejas-manohar => /tmp/execpad-3a58bdc598ea/source-3a58bdc598ea:2: syntax error, unexpected tSTRING_BEG, expecting ';' or '\n' ... (https://eval.in/237571)
pu22l3r has joined #ruby
djbkd has quit [Ping timeout: 256 seconds]
<tejas-manohar> Mon_Ouie: ruby has implicit returning so if i had the right line breaks and just wrote 'lol' there it would return 'lol' ?
DaniG2k has quit [Ping timeout: 256 seconds]
heeton has joined #ruby
nicolastarzia has joined #ruby
Sawbones has quit [Remote host closed the connection]
bashusr has quit [Read error: Connection reset by peer]
basex has joined #ruby
bashusr has joined #ruby
pu22l3r has quit [Ping timeout: 258 seconds]
maestrojed has joined #ruby
mjuszczak has joined #ruby
mjuszczak has quit [Max SendQ exceeded]
mjuszczak has joined #ruby
<Mon_Ouie> tejas-manohar: Yes
<Mon_Ouie> >> def test; 'lol'; end; test
<eval-in__> Mon_Ouie => "lol" (https://eval.in/237574)
<tejas-manohar> Mon_Ouie: https://github.com/tejasmanohar/pasterunner/blob/master/app.rb is sometimes having responses like https://gist.github.com/tejasmanohar/92294185ed39f9aa491f for errored code, how do i just strip it to the error undefined local variable or method `qweonewe' for main:Object (NameError) or at least close to it because the rest doesn't really concern the user
TgMts has quit [Ping timeout: 258 seconds]
djbkd has joined #ruby
basex has quit [Ping timeout: 255 seconds]
<Mon_Ouie> Write a regular expression to select the part you're interested in or change the template so that the output only contains that part in the first place
<tejas-manohar> >> qwoineiqwenqe
<eval-in__> tejas-manohar => undefined local variable or method `qwoineiqwenqe' for main:Object (NameError) ... (https://eval.in/237575)
<tejas-manohar> Mon_Ouie: oh ok hmm doesn't your IRC Bot do this?
<tejas-manohar> Mon_Ouie: i only saw regex for the the >> part when i looked at irc bot
ebbflowgo has quit [Ping timeout: 240 seconds]
insaneinside has left #ruby ["byebye"]
<Mon_Ouie> As far as I can tell it should catch all exceptions and not print the backtrace at all
Sawbones has joined #ruby
<tejas-manohar> Mon_Ouie: Hmmm where are you stripping backtrace? i see first line thing
Takle_ has quit [Remote host closed the connection]
MartynKeigher has joined #ruby
heeton has left #ruby ["Textual IRC Client: www.textualapp.com"]
bashusr has quit [Read error: Connection reset by peer]
<Mon_Ouie> I just don't print it and don't reraise the exception so Ruby itself doesn't print it either
bashusr has joined #ruby
<tejas-manohar> Mon_Quie: didn;'t quite understand... where did you omit that backtrace?
Sawbones has quit [Remote host closed the connection]
Sawbones has joined #ruby
<tejas-manohar> Mon_Quie: or you do not print any errors?
yfeldblum has joined #ruby
nicolastarzia has quit [Remote host closed the connection]
<Mon_Ouie> In the 'rescue Exception' block
dextaa has joined #ruby
<tejas-manohar> Mon_Ouie: isn't that only for old ruby versions?
TgMts has joined #ruby
Timgauthier has joined #ruby
rkalfane has quit [Quit: Textual IRC Client: www.textualapp.com]
dc_ has joined #ruby
<Timgauthier> heya all
<tejas-manohar> Mon_Ouie: it appears to be under the old_template function?
<Timgauthier> shevy wanna help me with some nonphp ?
<Timgauthier> :P
<shevy> Timgauthier ruby code!
_djbkd has joined #ruby
Sawbones has quit [Remote host closed the connection]
Timgauthier has quit [Max SendQ exceeded]
chipotle has joined #ruby
Dopagod has joined #ruby
Timgauthier has joined #ruby
coderhs has joined #ruby
Sawbones has joined #ruby
leafybasil has quit [Remote host closed the connection]
coderhs has quit [Client Quit]
bashusr has quit [Read error: Connection reset by peer]
<Mon_Ouie> tejas-manohar: It's also in the new template
dx7iso has joined #ruby
tkuchiki has joined #ruby
leafybasil has joined #ruby
danguita has left #ruby ["WeeChat 0.4.2"]
ponga has joined #ruby
bashusr has joined #ruby
bashusr has quit [Changing host]
bashusr has joined #ruby
Timgauthier has quit [Client Quit]
Sawbones has quit [Remote host closed the connection]
Timgauthier has joined #ruby
tkuchiki has quit [Ping timeout: 245 seconds]
Sawbones has joined #ruby
govg has quit [Ping timeout: 240 seconds]
leafybasil has quit [Ping timeout: 244 seconds]
ponga has quit [Ping timeout: 256 seconds]
zacts has quit [Ping timeout: 240 seconds]
duncannz has quit [Remote host closed the connection]
duncannz has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
rpag has quit [Ping timeout: 250 seconds]
ianfleeton has joined #ruby
claudiuinberlin1 has joined #ruby
claudiuinberlin1 has quit [Client Quit]
behrz has joined #ruby
behrz has quit [Client Quit]
Sawbones has quit [Remote host closed the connection]
claudiuinberlin has quit [Ping timeout: 255 seconds]
KnownSyntax has quit [Quit: Connection closed for inactivity]
toothe has joined #ruby
<toothe> I have a bone to pick with ruby...Whenever I DL a ruby script, I *NEVER* get it working.
bashusr has joined #ruby
<toothe> so, I want to get this tool 'wpscan' to run...and no matter what gems I install, I always get errors.
Sawbones has joined #ruby
claymore has quit [Quit: Leaving]
<Mon_Ouie> You don't have a complete ruby installation
AndyBotwin has joined #ruby
<toothe> explain...
<Mon_Ouie> I imagine you're using a Debian-based distro, which puts part of the standard ruby library in the ruby-dev package
<toothe> Ubuntu, yes.
leafybasil has joined #ruby
<havenwood> toothe: sudo apt-get install -y ruby1.9.1-dev
<toothe> I don't know what I'm doing wrong that this isn't working.
<toothe> done.
Sawbones has quit [Remote host closed the connection]
<toothe> when I try to run this program now, it says 'run bundle install' to install missing gems.
<toothe> let me try this...one sec
n80 has joined #ruby
Sawbones has joined #ruby
<toothe> wow...it worked
zacts has joined #ruby
zacts has quit [Changing host]
zacts has joined #ruby
FooMunki has quit [Quit: FooMunki]
Takle has joined #ruby
knikolov has quit [Ping timeout: 244 seconds]
Sawbones has quit [Remote host closed the connection]
knikolov has joined #ruby
reset has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
amundj has joined #ruby
bigmac has quit [Remote host closed the connection]
decoponio has quit [Quit: Leaving...]
DaniG2k has joined #ruby
Pupeno has quit [Remote host closed the connection]
Pattt has quit [Ping timeout: 240 seconds]
Pupeno has joined #ruby
Pupeno has quit [Changing host]
Pupeno has joined #ruby
rpag has joined #ruby
Sawbones has joined #ruby
bashusr has joined #ruby
josephndenton has joined #ruby
Sawbones has quit [Remote host closed the connection]
<Karunamon> is anyone familiar enough with testing frameworks to answer some newbie questions? I'm trying to do a unit test for a few functions in a pure console app, and I'm not sure how to instantiate a class that my function depends on
jenrzzz has joined #ruby
bigmac has joined #ruby
n80 has quit [Quit: n80]
<Karunamon> since instantiating it does a great deal of setup nonsense (connecting to a server and whatnot)
_djbkd has quit [Remote host closed the connection]
Sawbones has joined #ruby
Soda has quit [Remote host closed the connection]
havenwood has quit []
<Karunamon> I can't just define a 'fake' version of the class, since there are a handful of functions mixed into the class I'm actually writing the tests for
havenwood has joined #ruby
reset has quit [Quit: Leaving...]
bigmac is now known as i8igmac
yaroslav has joined #ruby
Sawbones has quit [Remote host closed the connection]
zorak8 has quit [Read error: Connection reset by peer]
<apeiros_> Karunamon: YourClass.allocate
keen__________15 has joined #ruby
<apeiros_> does not trigger initialize
mjuszczak has quit []
mjuszczak has joined #ruby
josephndenton has quit [Ping timeout: 252 seconds]
bashusr has quit [Read error: Connection reset by peer]
reset has joined #ruby
zorak8 has joined #ruby
mjuszczak has quit [Client Quit]
keen__________14 has quit [Ping timeout: 245 seconds]
reset has quit [Client Quit]
basex has joined #ruby
Sawbones has joined #ruby
havenwood has quit [Remote host closed the connection]
jenrzzz has quit [Ping timeout: 265 seconds]
Timgauthier is now known as timgauthier_away
Takle has quit [Read error: Connection reset by peer]
Takle has joined #ruby
reset has joined #ruby
havenwood has joined #ruby
bashusr has joined #ruby
basex has quit [Ping timeout: 245 seconds]
chrishough has joined #ruby
gr33n7007h has joined #ruby
Sawbones has quit [Remote host closed the connection]
fandi has joined #ruby
phutchins has quit [Ping timeout: 252 seconds]
Sawbones has joined #ruby
Takle_ has joined #ruby
Takle has quit [Read error: Connection reset by peer]
vinleod has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
kyb3r_ has joined #ruby
DaniG2k has quit [Quit: Lost terminal]
<dtordable> shevy: I'm not learning Ruby!!!!!
Sawbones has quit [Remote host closed the connection]
reset has quit [Quit: Leaving...]
bashusr has quit [Read error: Connection reset by peer]
<shevy> god I just filed a bug on sourceforge
<shevy> how god AWFUL sourceforge is compared to github :(
<havenwood> dtordable: This is a better place for learning Ruby than not learning Ruby.
fandi has quit [Ping timeout: 264 seconds]
Soda has joined #ruby
<timgauthier_away> i don't even bother to download shit if it is on sourceforge
<timgauthier_away> i've gotten too many virus from there
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
timonv_ has quit [Remote host closed the connection]
DadoCe has joined #ruby
timonv_ has joined #ruby
timonv_ has quit [Remote host closed the connection]
yaroslav has quit [Quit: Linkinus - http://linkinus.com]
djbkd has quit [Remote host closed the connection]
bashusr has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
ianfleeton has quit []
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
claw__ has quit [Ping timeout: 240 seconds]
ponga has joined #ruby
djbkd has joined #ruby
dc_ has quit [Remote host closed the connection]
jdj_dk has quit [Remote host closed the connection]
pawanspace has joined #ruby
reset has joined #ruby
hamakn has quit [Remote host closed the connection]
Takle_ has quit [Read error: Connection reset by peer]
bashusr has joined #ruby
pawanspace has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
Takle has joined #ruby
pawanspace has joined #ruby
ponga has quit [Ping timeout: 240 seconds]
randiman has quit [Quit: (null)]
jphenow has quit [Quit: Lingo: www.lingoirc.com]
CrazyM4n has joined #ruby
Pattt has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
djbkd has quit [Ping timeout: 244 seconds]
jphenow has joined #ruby
ptrrr has quit [Quit: ptrrr]
jphenow has quit [Quit: leaving]
gr33n7007h has quit [Ping timeout: 265 seconds]
bashusr has joined #ruby
josephndenton has joined #ruby
Kellin has joined #ruby
Kellin has quit [Changing host]
Kellin has joined #ruby
<shevy> I luckily did not get a virus
AlexRussia has quit [Ping timeout: 240 seconds]
<shevy> but it is really kinda sad how they try to generate revenue
<shevy> you don't get that kind of stuff from github but most importantly, the usability of those two sites is soooo different
jonphenow has joined #ruby
<shevy> procedure for github: since I am logged in already, I can just jump to something like https://github.com/mruby/mruby/issues and make a new issue
<dtordable> well
<shevy> that's literally one or two clicks
<dtordable> is sane to code Ruby on Windows better than FreeBSD?
<shevy> compare that to sourceforge... lots of links to redirect, finally you find the project https://sourceforge.net/projects/nazghul/, where to go from there?
<pontiki> hallo
<shevy> so you go to Tickets (after having to log in and of course I forgot several passwords or user combinations; on gmail I can just login with my email...)
<pontiki> into Mordor, obviously
Takle_ has joined #ruby
<shevy> then you get into ANOTHER submenu, with four possibilites: "Bugs Support Requests Patches Feature Requests"
AlexRussia has joined #ruby
<shevy> finally you click on bugs, so you get the listing of the bugs
<shevy> now you have to read through some useless information until you spot the "Create ticket" line
Takle has quit [Ping timeout: 272 seconds]
<dtordable> a hello world program has a bad bug
<shevy> then the textarea there is chaotic as hell, but you still manage to write stuff, then you click on "save"
<shevy> phew
<timgauthier_away> man, swift is nice :D
josephndenton has quit [Ping timeout: 256 seconds]
<shevy> such an experience makes me want to never report any bugs to sourceforge based projects again
jonphenow has quit [Client Quit]
<pontiki> shevy: i never even started to share code until i started using github
jphenow has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jphenow has quit [Client Quit]
jphenow has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
ohaibbq has joined #ruby
oo_ has joined #ruby
gr33n7007h has joined #ruby
gr33n7007h has quit [Changing host]
gr33n7007h has joined #ruby
<shevy> no wonder if you look at the ways of how things used to be!
<shevy> freshmeat ... sourceforge... belios ...
<shevy> I think git was the one to actually change the whole development model massively
bashusr has joined #ruby
oo_ has quit [Ping timeout: 244 seconds]
chipotle has quit [Max SendQ exceeded]
claudiuinberlin has joined #ruby
jenrzzz has joined #ruby
wallerdev has quit [Quit: wallerdev]
jdj_dk has joined #ruby
zorak_ has joined #ruby
jphenow has quit [Quit: leaving]
jphenow has joined #ruby
Asher has joined #ruby
zorak8 has quit [Ping timeout: 250 seconds]
ta has quit [Remote host closed the connection]
zacts has quit [Quit: Lost terminal]
TgMts has quit [Read error: Connection reset by peer]
jdj_dk has quit [Ping timeout: 264 seconds]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
TgMts has joined #ruby
Guest52757 has quit [Changing host]
Guest52757 has joined #ruby
DadoCe has quit [Remote host closed the connection]
nicolastarzia has joined #ruby
<bradland> dtordable: are you asking if the experience of writing Ruby is better on Windows than on FreeBSD?
reset has quit [Quit: Leaving...]
oleo is now known as Guest66245
oleo__ has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
fandi has joined #ruby
jphenow has quit [Quit: leaving]
Guest66245 has quit [Ping timeout: 240 seconds]
nicolastarzia has quit [Ping timeout: 240 seconds]
jphenow has joined #ruby
toothe has quit [Quit: leaving]
rockdon has quit [Ping timeout: 258 seconds]
BTRE has quit [Remote host closed the connection]
BTRE has joined #ruby
kotk_ has joined #ruby
bashusr has joined #ruby
fandi has quit [Ping timeout: 252 seconds]
DadoCe has joined #ruby
kotk has quit [Ping timeout: 255 seconds]
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kotk has joined #ruby
rockdon has joined #ruby
jack_rabbit has quit [Ping timeout: 272 seconds]
ishikawa91 has joined #ruby
KnownSyntax has joined #ruby
elaptics is now known as elaptics`away
kotk_ has quit [Ping timeout: 245 seconds]
jack_rabbit has joined #ruby
basex has joined #ruby
wallerdev has joined #ruby
timonv_ has joined #ruby
Menorah has quit [Quit: This computer has gone to sleep]
basex has quit [Ping timeout: 245 seconds]
tkuchiki has joined #ruby
commmmodo has joined #ruby
rkazak has joined #ruby
ponga has joined #ruby
huddy has quit [Quit: Connection closed for inactivity]
<apeiros_> wow, working reeeeally slow today
<apeiros_> but finally reworked how my orm invokes insert & update.
<shevy> dtordable ruby is good on any plattform; on windows you have to setup the machine more e. g. get cygwin + mingw + msys and the unix main tools like coreutils and such
jdj_dk has joined #ruby
<dtordable> bradland: yeah
reset has joined #ruby
<bradland> i’ll be less subtle than shevy and say no, the experience on Windows is not as good for a couple of reasons.
<dtordable> aha
<bradland> many ruby libraries include extensions developed in C. compiling these on Windows is possible, but in my experience, it’s a little less fun.
tkuchiki has quit [Ping timeout: 252 seconds]
<dtordable> but I'll install Windows now
<bradland> why?
<dtordable> but with a OVM inside
<bradland> i’m saying it’s *not* as good
pawanspace has quit [Remote host closed the connection]
<dtordable> then have FreeBSD inside
<shevy> bradland why do you want to dive into insanity
<bradland> shevy: i’m asking myself that very question right now
<bradland> dtordable: are you on freebsd?
<dtordable> yeah
<shevy> don't worry, I have 3 days of dtordable behind me now :-)
<bradland> and you’re experiencing an error with a simple “hello world" script?
timgauthier_away has quit [Read error: Connection reset by peer]
rkazak has left #ruby [#ruby]
<dtordable> no no
ponga has quit [Ping timeout: 245 seconds]
<dtordable> I just say the typical hello world scrit
<dtordable> has a bug
<bradland> @_@
jenrzzz has quit [Ping timeout: 272 seconds]
Timgauthier has joined #ruby
<shevy> he is luring you into insanity bradland
<shevy> resist!
<bradland> i feel like i’m in the middle of a turing test
<shevy> refuse the urge to ask what bug it is
<tobiasvl> what's the bug dtordable
<tobiasvl> I'll bite
<tobiasvl> no comma?
<tobiasvl> capital W?
<dtordable> the bug is about unusability or whatever
<dtordable> doesn't serve for anything
<tobiasvl> ok
codecop has quit [Remote host closed the connection]
Akuma has joined #ruby
<bradland> i feel like i’m staring in to the void
<bradland> and it’s sucking my brain out through my eyeballs
<dtordable> if I was seeing a window showing "hello world" then it will be amazing
<bradland> dtordable: post your script and a stacktrace to pastie or gist
Techguy305 has joined #ruby
<bradland> or go shave some yaks (install windows and ovm, er whatever)
reset has quit [Quit: Leaving...]
fandi has joined #ruby
hamakn has joined #ruby
diegoviola has quit [Remote host closed the connection]
DadoCe has quit [Remote host closed the connection]
tus has joined #ruby
Timgauthier is now known as timgauthier_away
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
oleo__ has quit [Quit: Verlassend]
lkba_ has joined #ruby
adriancb has joined #ruby
hamakn has quit [Ping timeout: 244 seconds]
adriancb has quit [Remote host closed the connection]
lkba has quit [Ping timeout: 244 seconds]
mrshu has joined #ruby
<mrshu> I have a very strange problem with setting up travis-ci
<mrshu> and the travis channel was not very helpful
<mrshu> the problem is with the nokogiri library
<mrshu> although it's installed via bundle install
DrCode has quit [Remote host closed the connection]
<mrshu> later on my script fails with `require': cannot load such file -- nokogiri (LoadError)
<mrshu> am I doing something wrong?
jdj_dk has quit [Ping timeout: 258 seconds]
<mrshu> thanks for any help with thi
DrCode has joined #ruby
dc_ has joined #ruby
s00pcan__ has quit [Quit: leaving]
s00pcan has joined #ruby
oleo__ has joined #ruby
oleo__ is now known as oleo
<rpag> mrshu, require 'bundler/setup' in your test.rb script
oo_ has joined #ruby
<mrshu> rpag: thanks, will try that!
chrishough has joined #ruby
fandi has quit [Ping timeout: 272 seconds]
<rpag> yw
<mrshu> rpag: a noobish quesion I believe but how come it worked in my environment?
<rpag> you must have nokogiri available in your system gems, so the require works fine
<rpag> for you
<mrshu> I see
<mrshu> thanks
Vile` has quit [Ping timeout: 244 seconds]
Vile` has joined #ruby
oo_ has quit [Ping timeout: 265 seconds]
tekk has joined #ruby
zacts has joined #ruby