apeiros_ changed the topic of #ruby to: Ruby 2.1.2; 2.0.0-p481; 1.9.3-p545: 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
rubytor has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tuxninja has joined #ruby
icarus has quit [Remote host closed the connection]
amedeiros has quit [Quit: leaving]
jimms has quit []
abuzze has quit [Ping timeout: 250 seconds]
vadeRcUser has joined #ruby
vadeRcUser is now known as REPPARD
REPPARD has quit [Client Quit]
ghostmoth has quit [Quit: ghostmoth]
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
sepp2k1 has joined #ruby
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
aantix has quit [Quit: aantix]
rlazoti has quit [Quit: Lingo - http://www.lingoirc.com]
kevind has quit [Remote host closed the connection]
sepp2k has quit [Ping timeout: 256 seconds]
freerobby has joined #ruby
phutchins has joined #ruby
coldkey21 has quit [Remote host closed the connection]
lw has joined #ruby
lw has quit [Max SendQ exceeded]
lw has joined #ruby
lw has quit [Max SendQ exceeded]
ddv has quit [Ping timeout: 260 seconds]
lw has joined #ruby
ascarter has joined #ruby
m8 has quit [Quit: Sto andando via]
<benzrf> w09x: you could sort it and then take part
<benzrf> sounds inefficient tho
sailias has joined #ruby
choke has quit [Ping timeout: 244 seconds]
postmodern has quit [Quit: Leaving]
Wolland has joined #ruby
SilkFox has joined #ruby
freerobby has quit [Quit: Leaving.]
ddv has joined #ruby
AlexBlom has joined #ruby
centrx has joined #ruby
theharshest has quit [Quit: This computer has gone to sleep]
fold has quit [Ping timeout: 255 seconds]
centrx has quit [Client Quit]
mary5030 has joined #ruby
SilkFox has quit [Ping timeout: 255 seconds]
crudson has joined #ruby
jimg has joined #ruby
<w09x> benzrf: thanks, i went with finding the percentile then just taking anything above that
<w09x> seemed to work
theharshest has joined #ruby
Wolland has quit [Ping timeout: 250 seconds]
<benzrf> w09x: sounds good
jimg has quit [Read error: Connection reset by peer]
jimg has joined #ruby
kith has quit [Quit: kith]
kith has joined #ruby
mikecmpbll has quit [Quit: i've nodded off.]
badhatter has quit [Ping timeout: 250 seconds]
o0oo0o has quit [Quit: WeeChat 0.4.3]
Tophats has joined #ruby
havenwood has quit []
mikesplain has joined #ruby
mikesplain has quit [Max SendQ exceeded]
marr has quit [Ping timeout: 250 seconds]
jimg has quit [Ping timeout: 240 seconds]
kevkev____ has joined #ruby
duper has quit [Remote host closed the connection]
geggam has quit [Ping timeout: 260 seconds]
banjara has joined #ruby
bricker`work has quit [Ping timeout: 264 seconds]
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
mois3x has joined #ruby
philcrissman has joined #ruby
fgo has joined #ruby
kevkev____ has quit [Ping timeout: 255 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wjimene__ has quit [Remote host closed the connection]
duper has joined #ruby
beneggett has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
philcrissman has quit [Ping timeout: 250 seconds]
rubytor has quit [Ping timeout: 256 seconds]
top4o has quit [Quit: ChatZilla 0.9.90.1 [Firefox 30.0/20140605174243]]
fgo has quit [Ping timeout: 244 seconds]
fly2web has joined #ruby
aspires has quit []
SCHAAP137 has quit [Remote host closed the connection]
nanoyak has quit [Quit: Computer has gone to sleep.]
axsuul has quit [Read error: Connection reset by peer]
mallu has quit [Ping timeout: 246 seconds]
bricker`LA has joined #ruby
nateberkopec has joined #ruby
ctp has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
axsuul has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
hackeron_ has joined #ruby
fly2web has quit [Quit: fly2web]
bricker`LA has quit [Ping timeout: 240 seconds]
arya_ has quit [Ping timeout: 250 seconds]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banjara has quit [Quit: Leaving.]
fly2web has joined #ruby
hackeron has quit [Ping timeout: 250 seconds]
yetanotherdave has quit [Ping timeout: 255 seconds]
pasties has quit [Quit: ZNC - http://znc.in]
axsuul has quit [Ping timeout: 255 seconds]
pasties has joined #ruby
jimg has joined #ruby
yfeldblum has quit [Remote host closed the connection]
jimg has quit [Client Quit]
arya_ has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
Noob101 has quit [Ping timeout: 246 seconds]
i_s has quit []
wrist has joined #ruby
kireevco has joined #ruby
Takle has quit [Remote host closed the connection]
ghostmoth has joined #ruby
nfk has quit [Ping timeout: 245 seconds]
cobakobodob has quit [Ping timeout: 250 seconds]
ghostmoth has quit [Client Quit]
dorei has quit []
Photism has joined #ruby
benzrf is now known as benzrf|offline
soulcake has quit [Read error: Connection reset by peer]
crudson has quit [Ping timeout: 264 seconds]
Wolland has joined #ruby
soulcake has joined #ruby
sailias has quit [Ping timeout: 256 seconds]
kireevco has quit [Quit: Leaving.]
dbasch has quit [Quit: dbasch]
lele has quit [Ping timeout: 256 seconds]
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
lele has joined #ruby
Channel6 has joined #ruby
maletor has joined #ruby
kumarat9pm has joined #ruby
vsoftoiletpaper has joined #ruby
matrixdevuk has joined #ruby
jshultz has quit [Quit: Connection closed for inactivity]
heftig has quit [Ping timeout: 250 seconds]
eka has joined #ruby
heftig has joined #ruby
mary5030 has quit [Ping timeout: 245 seconds]
SilkFox has joined #ruby
iamjarvo has joined #ruby
patrick99e99 has joined #ruby
reset has quit [Quit: Leaving...]
reset has joined #ruby
eka has quit [Client Quit]
lele has quit [Ping timeout: 256 seconds]
teddyp1cker has joined #ruby
SilkFox has quit [Ping timeout: 260 seconds]
jayunit100 has quit [Quit: jayunit100]
deric_skibotn has quit [Ping timeout: 245 seconds]
patrick99e99 has quit [Ping timeout: 256 seconds]
fly2web has quit [Quit: fly2web]
reset has quit [Ping timeout: 255 seconds]
maletor has quit [Read error: Connection reset by peer]
maletor has joined #ruby
teddyp1cker has quit [Ping timeout: 255 seconds]
wallerdev has quit [Quit: wallerdev]
robustus has quit [Ping timeout: 250 seconds]
phutchins has quit [Ping timeout: 264 seconds]
eka has joined #ruby
mikesplain has joined #ruby
tylerkern has joined #ruby
joast has joined #ruby
eka has quit [Client Quit]
tylerkern has quit [Client Quit]
whomp has joined #ruby
<whomp> what's the function to split a 2d array into boxes?
mikesplain has quit [Read error: Connection reset by peer]
mikespla_ has joined #ruby
<whomp> i need to win a code golf thing with my co workers
eka has joined #ruby
<whomp> and the challenge is to validate a 2d array as a valid sudoku board
robustus has joined #ruby
kevkev____ has joined #ruby
cobakobodob has joined #ruby
arya_ has quit [Quit: sayonara^_^]
eka has quit [Client Quit]
mikespla_ has quit [Ping timeout: 245 seconds]
fgo has joined #ruby
kevkev____ has quit [Ping timeout: 255 seconds]
maletor has quit [Read error: Connection reset by peer]
arya_ has joined #ruby
peret has quit [Remote host closed the connection]
fly2web has joined #ruby
fold has joined #ruby
fgo has quit [Ping timeout: 245 seconds]
eka has joined #ruby
eka has quit [Client Quit]
rebelshrug has quit [Remote host closed the connection]
o0oo0o has joined #ruby
Shidash has quit [Quit: Leaving.]
ylluminate_ has quit [Ping timeout: 264 seconds]
fmendez has joined #ruby
ylluminate_ has joined #ruby
ericmathison has joined #ruby
MatthewsFace has quit [Quit: This computer has gone to sleep]
yetanotherdave has joined #ruby
justinv has joined #ruby
phutchins has joined #ruby
nateberkopec has joined #ruby
mspah_ has quit [Ping timeout: 245 seconds]
Vivekananda_y510 has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
kireevco has joined #ruby
bmurt has joined #ruby
bmurt has quit [Client Quit]
theharshest has quit [Quit: This computer has gone to sleep]
tjr9898 has joined #ruby
alexju has joined #ruby
justinv has quit [Remote host closed the connection]
bmurt has joined #ruby
bruno- has joined #ruby
Noob101 has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
alexju has quit [Ping timeout: 255 seconds]
SilkFox has joined #ruby
alvaro_o has quit [Quit: Ex-Chat]
bruno- has quit [Ping timeout: 250 seconds]
SilkFox has quit [Ping timeout: 250 seconds]
yano has joined #ruby
anaeem1 has joined #ruby
wallerdev has joined #ruby
kireevco has quit [Quit: Leaving.]
w09x has quit []
wrist has quit [Remote host closed the connection]
wrist has joined #ruby
anaeem1 has quit [Remote host closed the connection]
tectonic has joined #ruby
\q has quit [Ping timeout: 250 seconds]
yfeldblum has joined #ruby
wrist has quit [Ping timeout: 255 seconds]
Karpuragauram has joined #ruby
Vivekananda_y510 has quit [Ping timeout: 264 seconds]
\q has joined #ruby
InfraRuby has left #ruby [#ruby]
InfraRuby has joined #ruby
wallerdev has quit [Quit: wallerdev]
wallerdev has joined #ruby
heftig has quit [Quit: Quitting]
seamon has joined #ruby
benzrf|offline is now known as benzrf
arup_r has joined #ruby
mikesplain has joined #ruby
kevkev____ has joined #ruby
InfraRuby has left #ruby [#ruby]
fgo has joined #ruby
mikesplain has quit [Ping timeout: 255 seconds]
kevkev____ has quit [Ping timeout: 260 seconds]
szuletett has joined #ruby
nateberkopec has joined #ruby
heftig has joined #ruby
sinkensabe has joined #ruby
fgo has quit [Ping timeout: 264 seconds]
iamjarvo_ has joined #ruby
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tylerkern has joined #ruby
amystephen has joined #ruby
vsoftoiletpaper has quit []
fold has quit [Ping timeout: 245 seconds]
sinkensabe has quit [Ping timeout: 256 seconds]
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Kricir has joined #ruby
redondo has quit [Ping timeout: 255 seconds]
amystephen has quit [Quit: amystephen]
arup_r has quit [Quit: Leaving.]
szuletett has quit [Quit: Leaving]
amacou has quit [Ping timeout: 255 seconds]
ericmathison has quit [Quit: Leaving]
Karpuragauram has quit [Quit: Leaving]
ericmathison has joined #ruby
beneggett has joined #ruby
dbasch has joined #ruby
dbasch has quit [Client Quit]
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
nateberkopec has quit [Quit: Leaving...]
eka has joined #ruby
tkuchiki has quit [Remote host closed the connection]
Starless has quit [Quit: Leaving]
fgo has joined #ruby
Kricir has quit [Ping timeout: 240 seconds]
arup_r has joined #ruby
bmurt has quit []
SilkFox has joined #ruby
tjr9898 has quit [Remote host closed the connection]
arya_ has quit [Ping timeout: 250 seconds]
tjr9898 has joined #ruby
braincrash has quit [Quit: bye bye]
beef-wellington has joined #ruby
fly2web has quit [Quit: fly2web]
saarinen has joined #ruby
SilkFox has quit [Ping timeout: 240 seconds]
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
thams has joined #ruby
braincrash has joined #ruby
lmickh has quit [Remote host closed the connection]
Noob101 has quit [Ping timeout: 246 seconds]
Akagi201 has joined #ruby
szuletett has joined #ruby
xenomorph is now known as {xenomorph}
{xenomorph} is now known as xenomorph
Arkaniad has joined #ruby
brianherman_ has quit [Read error: Connection reset by peer]
Arkaniad has quit [Read error: Connection reset by peer]
goshdarnyou has quit [Quit: Connection closed for inactivity]
arup_r has quit [Quit: Leaving.]
szuletett has quit [Remote host closed the connection]
saarinen has quit [Quit: saarinen]
Arkaniad has joined #ruby
Arkaniad has quit [Read error: Connection reset by peer]
nateberkopec has joined #ruby
teddyp1cker has joined #ruby
seamon has quit [Quit: Zzzzzzz]
krz has joined #ruby
Zenigor has joined #ruby
yfeldblu_ has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
teddyp1cker has quit [Ping timeout: 240 seconds]
yfeldblu_ has quit [Remote host closed the connection]
yfeldblu_ has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
theharshest has joined #ruby
Zenigor has quit [Remote host closed the connection]
Zenigor has joined #ruby
mikesplain has joined #ruby
JoshGlzBrk has joined #ruby
kevkev____ has joined #ruby
jamto11 has joined #ruby
abuzze has joined #ruby
Zenigor has quit [Ping timeout: 260 seconds]
saarinen has joined #ruby
mikesplain has quit [Ping timeout: 260 seconds]
krz has quit [Quit: WeeChat 0.4.3]
kevkev____ has quit [Ping timeout: 250 seconds]
thams has quit [Quit: thams]
mois3x has quit [Quit: mois3x]
abuzze has quit [Ping timeout: 250 seconds]
bradleyprice has quit [Remote host closed the connection]
bradleyprice has joined #ruby
ixti has quit [Ping timeout: 256 seconds]
echevemaster has joined #ruby
lanox has joined #ruby
kumarat9pm1 has joined #ruby
bradleyprice has quit [Ping timeout: 240 seconds]
kumarat9pm has quit [Ping timeout: 250 seconds]
kevkev____ has joined #ruby
amacou has joined #ruby
kumarat9pm1 has quit [Read error: Connection reset by peer]
kumarat9pm has joined #ruby
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kevkev____ has quit [Ping timeout: 256 seconds]
sptx00 has joined #ruby
<Hanmac> xDDDD apeiros & shevy https://github.com/ruby/ruby/commit/0a0160d6b659f6131a525fe1579e7c463d4c197e <<< Object#itself xD
arup_r has joined #ruby
mikesplain has joined #ruby
hparker` has quit [Ping timeout: 244 seconds]
Kricir has joined #ruby
saarinen has quit [Quit: saarinen]
mostlybadfly has quit [Quit: Connection closed for inactivity]
ARCADIVS has joined #ruby
mikesplain has quit [Ping timeout: 250 seconds]
goshdarnyou has joined #ruby
Kricir has quit [Ping timeout: 240 seconds]
SilkFox has joined #ruby
beef-wellington has quit [Ping timeout: 250 seconds]
razum2um has joined #ruby
wrist has joined #ruby
<eam> in what cases is #itself useful?
SilkFox has quit [Ping timeout: 240 seconds]
nateberkopec has quit [Quit: Leaving...]
Xercin has joined #ruby
wrist has quit [Ping timeout: 256 seconds]
<Xercin> hello
Xercin has left #ruby [#ruby]
fgo has quit []
wrist has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JoshGlzBrk has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
thams has joined #ruby
wrist has quit [Ping timeout: 260 seconds]
tuxninja_ has joined #ruby
<gizmore> i need help in compiling a C extension wrapper for libpurple
<gizmore> i managed to succed in "make clean && make install" it builds an .so
JoshGlzBrk has quit [Ping timeout: 256 seconds]
iliketurtles has joined #ruby
tuxninja has quit [Ping timeout: 260 seconds]
<gizmore> but there is ERROR: rubycode require "" file_not_found: rubypurple_ext
<iliketurtles> if I mix in a module with N number of private methods into another class, is it possible to programatically invoke all of these mixed-in private methods in that class in some sort of enumerator?
<gizmore> i have built rubypurple_ext.so but require does not find it?
beneggett has joined #ruby
<gizmore> iliketurtles: no
lxsameer has joined #ruby
<iliketurtles> gizmore: any idea how to accomplish something similar
<gizmore> iliketurtles: maybe you would like to use some subscribe/publish method
Solnse has joined #ruby
dbasch has joined #ruby
larissa has quit [Quit: Leaving]
<gizmore> can i load gizmore.so binarylib with require "gizmore" ? Oo
<Hanmac> eam for group_by for sample
benzrf is now known as benzrf|offline
AlexBlom has quit [Ping timeout: 264 seconds]
<gizmore> Class.relation.each do |item|
tjr9898_ has joined #ruby
<eam> Hanmac: I'm dense, how is it used there?
<gizmore> item.publish('myproject/ohnoigotouched')
<gizmore> end
<gizmore> hmm
<Hanmac> gizmore: so did you make the libpurple wrapper yourself? require does not search in current path
beneggett has quit [Client Quit]
<gizmore> Hanmac: i have forked code from 2009, patched a .c file and try to compile it (i have 400kb .so \o/)
<Hanmac> eam enum.group_by(&:itself) might be better than group_by {|n| n}
kireevco has joined #ruby
<Hanmac> gizmore: hm for testing did you try require "./rubypurple_ext"
<gizmore> Hanmac: he also wants to execute a method / event on all then, i think
<eam> Hanmac: ooooh
fly2web has joined #ruby
beneggett has joined #ruby
<gizmore> eam: you can call parent methods with "super" in your methods
<fly2web> numbers.inject(0) { |sum, number | sum + number } <—— what is ‘0’?
<gizmore> if you really need to chain something, you probably need something like publish/subscribe or a simple array or something
tjr9898 has quit [Ping timeout: 240 seconds]
<gizmore> * this should have went to iliketurtles -.-
<iliketurtles> gizmore: not really chain, just i want to ensure all methods in a module can be invoked in a single call :\
<gizmore> btw i made the best irc bot ever in ruby since january :)
<eam> fly2web: the starting sum
<fly2web> oh thanks eam
thams has quit [Quit: thams]
mallu has joined #ruby
<fly2web> :D
<gizmore> iliketurtles: yeah, i think you need to push the methods on an array, and call them all for an object
<gizmore> iliketurtles: if you like i can tutor you a bit in query
<gizmore> or in #ruby101
lanox has quit []
cibs has quit [Ping timeout: 252 seconds]
<mallu> hi, I have two days.. 2014-08-01T04:05:12.000Z and 2014-08-02T04:21:52.000Z How do I check to see if one is older than the other?
<fly2web> i m reading rubymonk twice times.
<mallu> I want to check to see if the first days is older than 2 days
<mallu> is it possible without splitting?
<gizmore> Hanmac: i did this: make install and it copied the .so :P
<gizmore> as root.... i hope it´s not malware!
<mallu> the dates were created via Time.now.utc.strftime("%Y-%m-%dT%I:%M:%S.000Z")
<mallu> can someone please help
<gizmore> mallu: first+2.days <= second
<mallu> ok let me try that
<gizmore> mallu: imagine it as two "timelines" / "lineals"
fly2web has quit [Quit: fly2web]
<gizmore> you surely wanna check if something happens with A when patched with 2.days :)
<gizmore> and you wanna check if its something with B (can be a point) ,,, then in your head move the lineal + 2 over point B
ltd has quit [Ping timeout: 260 seconds]
ltd has joined #ruby
<Hanmac> gizmore: beware, #days is a rails method and does not work everywhere
<gizmore> class Number; def days(d); d*14440; end
<gizmore> no need to change good code for the kernel slim
<mallu> [143] pry(main)> start_time = "2014-08-01T04:05:12.000Z" => "2014-08-01T04:05:12.000Z" [144] pry(main)> date_now = Time.now.utc.strftime("%Y-%m-%dT%I:%M:%S.000Z") => "2014-08-02T04:36:57.000Z" [145] pry(main)> start_time+2.days <= date_now NoMethodError: undefined method `days' for 2:Fixnum from (pry):173:in `__pry__
<mallu> sorry...
<gizmore> >> 2*60*60*24
<eval-in> gizmore => 172800 (https://eval.in/174731)
cibs has joined #ruby
sinkensabe has joined #ruby
jxf has joined #ruby
<gizmore> mallu: instead of 2.days use 172800
<mallu> gizmore: please take a look at http://pastie.org/9438377
mostlybadfly has joined #ruby
<jeaye> Anyone know if http://tryruby.org/levels/1/challenges/0 is written entirely in ruby?
<gizmore> or write class Number; def days(d); d*60*60*24; end; end somewhere above to monkeypath
Avahey_ has joined #ruby
<Hanmac> mallu: you do it wrong, you need to convert both your time into Time objects not both into strings
<mallu> gizmore: my start_date is a string correct
<gizmore> your dates should be Time or DateTime objects
<mallu> ok.. so start_date.time?
<gizmore> hmm, i am on rails, but i think it uses normal Time and Datetime too
<gizmore> >> (Time.now + 20 ) > (Time.now + 10)
<eval-in> gizmore => true (https://eval.in/174732)
sinkensabe has quit [Ping timeout: 240 seconds]
Wolland has quit [Remote host closed the connection]
<Hanmac> >> require "date"; start_time = DateTime.parse "2014-08-01T04:05:12.000Z"; start_time + 2 <= DateTime.now
<eval-in> Hanmac => false (https://eval.in/174734)
<gizmore> Hanmac: yep, except replace time.now with B
kumarat9pm has quit [Ping timeout: 256 seconds]
dbasch has quit [Quit: dbasch]
<Hanmac> mallu look how i would do that
<mallu> geat.. exactly what I needed
<gizmore> Hanmac: please take a look at my ruby monkeypatches (some rubycore, some activerecord) .... https://github.com/gizmore/ricer2/tree/master/config/initializers/ricer - i would love some general coding style feedback
<mallu> one quick question.. how to you convert DateTime to UTC?
kevkev____ has joined #ruby
<gizmore> UTC is the timezone at 0 all the time, no?
<gizmore> >> TimeZone.set('UTC')
<eval-in> gizmore => uninitialized constant TimeZone (NameError) ... (https://eval.in/174735)
<gizmore> mallu: probably setting the timezone to utc before using methods that have localization
<mallu> got it.. DateTime.now.new_offset(0)
<gizmore> what does that do? Oo
<gizmore> does it shift time?
<mallu> convert current time to utc
<gizmore> err
fly2web has joined #ruby
<iliketurtles> gizmore: went ahead and just added a constant to the module containing the method names I want to call, since there are only a few for now
<iliketurtles> then I can call them programatically via METHODS.each { |m| self.send(m, token) }
<gizmore> mallu: i would expect if i do Time.now("sometz") == Time.now("othertz") it is the same value ... just the "display" is different
<iliketurtles> wish there was a way to generate a list of method names programatically in a method :P
<mallu> ok
<gizmore> mallu: maybe you can also make it remember which timezone entered it? (no idea)
kevkev____ has quit [Ping timeout: 250 seconds]
<mallu> i think DateTime.now.new_offset(0) will work for me
<gizmore> mallu: but the "values" should be the same... like 4:00GMT+1 is the same as 3:00GMT+2
<mallu> true
<gizmore> maybe it now show 3:00UTC
everett has quit [Ping timeout: 255 seconds]
yfeldblu_ has quit [Remote host closed the connection]
<gizmore> because the time/date knows "aha we want utc representation" (just guessing)
tjr9898 has joined #ruby
philcrissman has joined #ruby
<gizmore> btw, rfc giz003: PlanckSeconds since last_big_bang (the new unix timestamp)
everett has joined #ruby
<gizmore> iliketurtles: self.class.instance_methods.sort
<iliketurtles> gizmore: that doesn't seem to work for a module...
tjr9898_ has quit [Ping timeout: 245 seconds]
<iliketurtles> i dont see any of my mixed in methods if i look at the class that mixes in the module that defines the methods im interested in either
nemesit|znc has quit [Ping timeout: 272 seconds]
axsuul has joined #ruby
mikesplain has joined #ruby
<gizmore> iliketurtles: try self.instance_methods inside a module
JBreit has left #ruby ["Leaving"]
yeticry has quit [Ping timeout: 255 seconds]
<iliketurtles> i get an empty array gizmore
charliesome has joined #ruby
<iliketurtles> oh, i should mention they're private methods
<gizmore> should not matter
yeticry has joined #ruby
<gizmore> the maybe your module does not define any methods
ValicekB has quit [Ping timeout: 255 seconds]
<iliketurtles> it does. two.
EvanR_ has quit [Read error: Connection reset by peer]
GlenK has quit []
<iliketurtles> even if i invoke self.private_instance_methods i get an empty array
Kricir has joined #ruby
nemesit|znc has joined #ruby
EvanR has joined #ruby
chrishough has quit [Quit: chrishough]
axsuul has quit [Read error: Connection reset by peer]
EvanR is now known as Guest2685
axsuul has joined #ruby
mikesplain has quit [Ping timeout: 256 seconds]
Takle has joined #ruby
Kricir has quit [Ping timeout: 264 seconds]
SilkFox has joined #ruby
bradleyprice has joined #ruby
<fly2web> modudle can’t initiated? but class can intiated?
<iliketurtles> i think you mean instantiated
Takle has quit [Ping timeout: 250 seconds]
<iliketurtles> but in fact, if you require a module in a class, you can call module.private_instance_methods and you get an array. you can't call it in the self context of the module though. weird
<iliketurtles> or maybe pry is being janky
<fly2web> oh yes instantiated.
<fly2web> thanks :)
<fly2web> iliketurtles:
<iliketurtles> :P
<fly2web> iliketurtles: are you skilled for programming?
SilkFox has quit [Ping timeout: 256 seconds]
<iliketurtles> lol, i suppose? fly2web
<fly2web> oh great
<iliketurtles> i'm not the best w/ ruby
<fly2web> then i want see content of my aiside man’s internet. then i can see it by wireless?
<iliketurtles> O_o
<fly2web> possible?
ValicekB has joined #ruby
<fly2web> :(
<fly2web> what is it?
IceDragon has quit [Quit: Space~~~]
mehlah has quit [Quit: Leaving...]
cobakobodob has quit [Ping timeout: 255 seconds]
_5kg has quit [Ping timeout: 245 seconds]
<fly2web> now i feel ruby as normal level instead of difficulty
jamto11 has quit [Remote host closed the connection]
jamto11 has joined #ruby
axl_ has joined #ruby
Morkel has joined #ruby
nobodyzzz has joined #ruby
Sauvin has joined #ruby
spastorino has quit [Quit: Connection closed for inactivity]
axl_ has quit [Client Quit]
patrick99e99 has joined #ruby
crazydev has joined #ruby
dideler has joined #ruby
tuxninja_ has quit []
dbasch has joined #ruby
sepp2k1 has quit [Read error: Connection reset by peer]
jamto11 has quit [Remote host closed the connection]
x1337807x has joined #ruby
lw has quit [Quit: s]
n_blownapart has joined #ruby
tjr9898 has quit [Remote host closed the connection]
teddyp1cker has joined #ruby
tjr9898 has joined #ruby
InfraRuby has joined #ruby
<crazydev> Hi, I'm ruby developer, one of my friend invited me into his startup as dev, but they are using php with laravel, But i didnt like to work on php project, is it bad for a programmer to reject a project because of their language choise ?
philcrissman has quit [Remote host closed the connection]
abuzze has joined #ruby
philcrissman has joined #ruby
patrick99e99 has quit [Ping timeout: 245 seconds]
<Hanmac> depends ... do you have or gain enough money already that you can say no?
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
theharshest has quit [Quit: This computer has gone to sleep]
teddyp1cker has quit [Ping timeout: 260 seconds]
lidaaa has joined #ruby
<crazydev> money ? of course, but as a friend, i have to help him, but working with those php code doesnt make comfortable
theharshest has joined #ruby
abuzze has quit [Ping timeout: 250 seconds]
philcrissman has quit [Ping timeout: 255 seconds]
Arkaniad has joined #ruby
crazydev has quit [Quit: Page closed]
tjr9898_ has joined #ruby
bricker`LA has joined #ruby
mr_snowf1ake has joined #ruby
iteratorP has joined #ruby
fmendez has quit [Remote host closed the connection]
Photism has quit [Quit: Leaving]
dseitz has joined #ruby
tjr9898 has quit [Ping timeout: 240 seconds]
fredlinhares has joined #ruby
aantix has joined #ruby
tjr9898_ has quit [Remote host closed the connection]
tjr9898 has joined #ruby
kumarat9pm has joined #ruby
cobakobodob has joined #ruby
landodger has joined #ruby
tvw has joined #ruby
<mallu> is it possible to put an if statement with this? creation_time = DateTime.parse "#{creation_date}"; creation_time + 1 >= DateTime.now.new_offset(0)
axsuul has quit [Ping timeout: 260 seconds]
<mallu> if creation_time = DateTime.parse "#{creation_date}"; creation_time + 1 >= DateTime.now.new_offset(0) SyntaxError: unexpected tSTRING_BEG, expecting keyword_then or ';' or '\n' ...reation_time = DateTime.parse "#{creation_date}"; creation_t.
<mallu> i want this to be conditional
kevkev____ has joined #ruby
Wolland has joined #ruby
<mallu> so that if true do something else do something else
Kricir has joined #ruby
<mallu> gizmore: any idea?
axsuul has joined #ruby
<fredlinhares> mallu, do know about ternary operators?
<mallu> no sir
<mallu> ?
<fredlinhares> a = b > 10 ? result_if_true : result_if_false
kevkev____ has quit [Ping timeout: 250 seconds]
<mallu> something like the this creation_time = DateTime.parse "#{creation_date}"; creation_time + 1 >= DateTime.now.new_offset(0)?
AndChat| has quit [Ping timeout: 264 seconds]
<mallu> fredlinhares: can you tell me how I can modify mine?
Morkel has quit [Quit: Morkel]
<gizmore> mallu: try:
<gizmore> creation_time = DateTime.parse "#{creation_date}";
<gizmore> (creation_time + 1) >= DateTime.now.new_offset(0)?
<gizmore> not the () in the left
<gizmore> note the () in the left*
zeropx has quit [Quit: has left the room … Or did he?]
theharshest has quit [Quit: This computer has gone to sleep]
mikesplain has joined #ruby
<gizmore> i MaDE IT \O/
<gizmore> fixed ruby libpurple wrappers "ruburple" to compile with newer stuff, made a local gem with it and my rails uses it and hopefully i can start playing now
<mallu> gizmore: forgive my ignorance.. so how do I do something is it is true?
nairys has quit [Quit: nairys]
iliketurtles has quit [Quit: zzzzz…..]
<gizmore> mallu: def a_older_than_b_for_time_n(a, b, n)
<gizmore> (a+n) < b
mikesplain has quit [Ping timeout: 255 seconds]
<gizmore> end
banjara has joined #ruby
<gizmore> mallu: make sure you call that function with time/datetime objects
<gizmore> 'n' can be a number
banjara has quit [Client Quit]
SilkFox has joined #ruby
fredlinhares has quit [Quit: WeeChat 0.3.8]
Shidash has joined #ruby
jjasonclark has joined #ruby
<mallu> gizmore: can you please take a look at this and tell me how I can execute delete-snapshot if the above condition is true? http://pastie.org/9438436
iliketurtles has joined #ruby
Kricir has quit [Remote host closed the connection]
Doppp has quit [Quit: leaving]
SilkFox has quit [Ping timeout: 255 seconds]
Doppp has joined #ruby
<gizmore> mallu: http://cxg.de/_7b350f.htm
inSky has joined #ruby
Wolland has quit [Remote host closed the connection]
wrist has joined #ruby
inSky has quit []
<mallu> gizmore: I'm getting Age in seconds: 0
tectonic has quit []
wrist has quit [Ping timeout: 250 seconds]
<mallu> gizmore: creation_date: 2014-08-02T06:16:37.000Z creation_time: 2014-08-02T06:16:37+00:00 Age in seconds: 0
Bumptious has quit [Remote host closed the connection]
GriffinHeart has joined #ruby
kireevco has quit [Quit: Leaving.]
JoshGlzBrk has joined #ruby
asmodlol has joined #ruby
Channel6 has quit [Quit: Leaving]
sixxy has joined #ruby
crazydev has joined #ruby
kireevco has joined #ruby
<mallu> its not calculating the age correctly creation_date: 2014-08-02T06:16:37.000Z creation_time: 2014-08-02T06:16:37+00:00 DateTime: 2014-08-02T06:25:35+00:00 Age in seconds: 0
<gizmore> you seem to compare the same date maybe?
<mallu> comparing this creation_time: 2014-08-02T06:16:37+00:00 DateTime: 2014-08-02T06:25:35+00:00
<gizmore> >> a = Time.now.utc.strftime("1970-01-01T01:01:01.000Z"); a.to_i
<eval-in> gizmore => 1970 (https://eval.in/174762)
Kricir has joined #ruby
<gizmore> >> a = Time(1970, 1, 1, 1, 1, 10); a.to_i
<eval-in> gizmore => undefined method `Time' for main:Object (NoMethodError) ... (https://eval.in/174763)
toastynerd has joined #ruby
<gizmore> >> a = Time.new(1970, 1, 1, 1, 1, 10); a.to_i
<eval-in> gizmore => 3670 (https://eval.in/174764)
yfeldblum has joined #ruby
arup_r has quit [Quit: Leaving.]
<gizmore> >> a = Time.now.utc.strftime("1970-01-01T01:01:10.000Z"); a.to_i
<eval-in> gizmore => 1970 (https://eval.in/174765)
<gizmore> it seems that the strftime does not like the format?
<gizmore> >> a = Time.now.utc.strftime("1971-01-01T01:01:10.000Z"); a.to_i
<eval-in> gizmore => 1971 (https://eval.in/174766)
<gizmore> >> a = Time.new(1971, 1, 1, 1, 1, 10); a.to_i
<eval-in> gizmore => 31539670 (https://eval.in/174767)
luckyruby has quit [Quit: Leaving...]
<gizmore> >> a = Time.new(1971, 1, 1, 1, 1, 20); a.to_i
<eval-in> gizmore => 31539680 (https://eval.in/174768)
<gizmore> mallu: maybe your strftime is just wrong
<mallu> hmm
iteratorP has quit [Remote host closed the connection]
iteratorP has joined #ruby
felgenh3 has joined #ruby
toastynerd has quit [Remote host closed the connection]
Rollabunna has quit [Read error: Connection reset by peer]
Rollabunna has joined #ruby
<mallu> what does this number mean? age = (DateTime.now - creation_time) => (23867126930369/21600000000000)
sinkensabe has joined #ruby
amacou has quit [Remote host closed the connection]
amacou has joined #ruby
<mallu> gizmore: do you know what this number means? age = (DateTime.now - creation_time) => (23867126930369/21600000000000)
<mozzarella> time elapsed
<mallu> in seconds?
<mozzarella> elapsed time in seconds, yes
dideler has quit [Ping timeout: 256 seconds]
jjasonclark has quit [Quit: jjasonclark]
<mallu> why there is a /?
txdv has quit [Read error: Connection reset by peer]
Wolland has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
txdv has joined #ruby
danijoo has joined #ruby
<mallu> [237] pry(main)> DateTime.now => #<DateTime: 2014-08-01T23:41:55-07:00 ((2456872j,24115s,678489932n),-25200s,2299161j)> [238] pry(main)> creation_time => #<DateTime: 2014-08-01T04:05:12+00:00 ((2456871j,14712s,0n),+0s,2299161j)> [239] pry(main)> (DateTime.now - creation_time).to_i => 1
iteratorP has quit [Remote host closed the connection]
<mallu> why only 1 second?
iteratorP has joined #ruby
amacou has quit [Ping timeout: 264 seconds]
<mallu> take a look at this http://pastie.org/9438497
<mallu> shouldn't DateTime.now - creation_time more than 7 hours?
Kricir has quit [Remote host closed the connection]
<mozzarella> I think it's substracting the two underlying dates
relix has joined #ruby
<mallu> two underlying dates?
<mozzarella> yes
<mallu> can you please explain that if you don't mind
<mozzarella> I date only cares about the current day, not the current time
<mozzarella> so it gives you the number of days
<mozzarella> >> (DateTime.now - DateTime.now.prev_month).to_i
<mozzarella> s/I/a/
<mozzarella> the bot is dead
<mallu> oh I see.. that makes sense
<mozzarella> (  ;____;)
kevkev____ has joined #ruby
<mallu> mozzarella: thanks
danijoo has quit [Read error: Connection reset by peer]
<mozzarella> why are you working with datetimes?
rtlong has quit [Ping timeout: 260 seconds]
danijoo has joined #ruby
arup_r has joined #ruby
<mallu> trying to compare two dates and if creationg_time is older than certain days I want to do something
Mars` has quit [Ping timeout: 260 seconds]
<mallu> if creation_date > 7 then delete some old backups
<mozzarella> 7 days?
<mallu> an arbitrary #
<mallu> actually... we only want to keep backup for 7 days in aws
<mozzarella> I see, then you can use that, it gives you the number of days instead of seconds
amacou has joined #ruby
<mozzarella> if you want seconds you can call .to_time on the datetimes
<mallu> ok.. cool thanks
<mallu> days is fine
abuzze has joined #ruby
rtlong has joined #ruby
kevkev____ has quit [Ping timeout: 245 seconds]
tjr9898_ has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
Ilyas has joined #ruby
yfeldblum has joined #ruby
Mars` has joined #ruby
iteratorP has quit [Remote host closed the connection]
<eval-in> mozzarella => uninitialized constant DateTime (NameError) ... (https://eval.in/174778)
iliketurtles has quit [Quit: zzzzz…..]
<mozzarella> ( ≖‿≖)
<mozzarella> it's too late eval-in… just go home
tjr9898 has quit [Ping timeout: 255 seconds]
danijoo has quit [Read error: Connection reset by peer]
Rollabunna has quit [Read error: Connection reset by peer]
Rollabunna has joined #ruby
felgenh3 has left #ruby [#ruby]
danijoo has joined #ruby
felgenh3 has joined #ruby
aantix has quit [Quit: aantix]
mikesplain has joined #ruby
davedev24_ has quit [Remote host closed the connection]
agrinb has joined #ruby
davedev24_ has joined #ruby
Gonzih has joined #ruby
starkhalo has quit [Ping timeout: 256 seconds]
mikesplain has quit [Ping timeout: 250 seconds]
davedev2_ has joined #ruby
davedev24_ has quit [Ping timeout: 244 seconds]
matrixdevuk is now known as IRCMyBot
IRCMyBot has quit [Quit: Lingo - http://www.lingoirc.com]
mallu has quit [Ping timeout: 246 seconds]
matrixdevuk has joined #ruby
teddyp1cker has joined #ruby
crazydev has quit [Ping timeout: 246 seconds]
razum2um has quit [Quit: Leaving.]
jottr has joined #ruby
SilkFox has joined #ruby
iteratorP has joined #ruby
<Mon_Ouie> You need require 'date'
<Mon_Ouie> >> require 'date'; DateTime
<eval-in> Mon_Ouie => DateTime (https://eval.in/174782)
SilkFox has quit [Ping timeout: 245 seconds]
iamjarvo_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
n_blownapart has quit [Remote host closed the connection]
lele has joined #ruby
oo_ has joined #ruby
wrist has joined #ruby
wrist has quit [Ping timeout: 244 seconds]
<mozzarella> Mon_Ouie: it took 8 goddamn minutes to answer…
patrick99e99 has joined #ruby
<Mon_Ouie> Oh, he's probably just tired
razum2um has joined #ruby
yacks has quit [Ping timeout: 264 seconds]
klaut has joined #ruby
goshdarnyou has quit [Quit: Connection closed for inactivity]
patrick99e99 has quit [Ping timeout: 250 seconds]
GriffinHeart has quit [Remote host closed the connection]
JoshGlzBrk has quit [Read error: No route to host]
JoshGlzBrk has joined #ruby
agrinb has quit [Remote host closed the connection]
jdj_dk has joined #ruby
tjr9898_ has quit [Remote host closed the connection]
ericmathison has quit [Ping timeout: 240 seconds]
tjr9898 has joined #ruby
godd2 has quit [Ping timeout: 245 seconds]
GriffinHeart has joined #ruby
axsuul_ has joined #ruby
axsuul has quit [Read error: Connection reset by peer]
Solnse has quit [Ping timeout: 256 seconds]
decoponio has joined #ruby
diegoviola has joined #ruby
lkba has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
razum2um has quit [Quit: Leaving.]
tjr9898_ has joined #ruby
JoshGlzBrk has quit [Read error: Connection reset by peer]
JoshGlzB_ has joined #ruby
kenneth has joined #ruby
dbasch has quit [Quit: dbasch]
lidaaa has quit [Ping timeout: 264 seconds]
tjr9898 has quit [Ping timeout: 256 seconds]
abuzze has quit [Remote host closed the connection]
abuzze has joined #ruby
terrell_t has joined #ruby
LACP has quit [Ping timeout: 240 seconds]
alem0lars has joined #ruby
terrellt has quit [Read error: Connection reset by peer]
yacks has joined #ruby
sivoais has quit [Ping timeout: 272 seconds]
LACP has joined #ruby
sivoais has joined #ruby
kevkev____ has joined #ruby
crazydiamond has joined #ruby
Bumptious has joined #ruby
iteratorP has quit [Remote host closed the connection]
abuzze has quit [Remote host closed the connection]
abuzze has joined #ruby
JoshGlzB_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iliketurtles has joined #ruby
abuzze has quit [Remote host closed the connection]
kireevco has quit [Quit: Leaving.]
abuzze has joined #ruby
iteratorP has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
abuzze_ has joined #ruby
amacou has quit []
kevkev____ has quit [Ping timeout: 240 seconds]
arquebus has joined #ruby
abuzze has quit [Ping timeout: 260 seconds]
sinkensabe has quit [Remote host closed the connection]
sinkensabe has joined #ruby
ddv has joined #ruby
ddv has quit [Changing host]
olivier_bK has joined #ruby
felgenh3 has quit [Quit: felgenh3]
cleopatra has joined #ruby
mikesplain has joined #ruby
cleopatra has quit [Client Quit]
mostlybadfly has quit [Quit: Connection closed for inactivity]
cleopatra has joined #ruby
Platini has joined #ruby
sinkensabe has quit [Ping timeout: 240 seconds]
sirene has joined #ruby
abuzze_ has quit [Remote host closed the connection]
mikesplain has quit [Ping timeout: 264 seconds]
bradleyprice has quit [Remote host closed the connection]
bradleyprice has joined #ruby
jottr has quit [Ping timeout: 255 seconds]
Photism has joined #ruby
jdj_dk has quit [Remote host closed the connection]
SilkFox has joined #ruby
jdj_dk has joined #ruby
sinkensabe has joined #ruby
marr has joined #ruby
felgenh3 has joined #ruby
arquebus has quit [Ping timeout: 255 seconds]
mijicd has joined #ruby
iteratorP has quit [Remote host closed the connection]
teddyp1cker has joined #ruby
bradleyprice has quit [Ping timeout: 264 seconds]
felgenh3 has left #ruby [#ruby]
felgenh3 has joined #ruby
SilkFox has quit [Ping timeout: 250 seconds]
jdj_dk has quit [Ping timeout: 256 seconds]
oo_ has quit [Remote host closed the connection]
hellangel7 has joined #ruby
oo_ has joined #ruby
diegovio1 has joined #ruby
sinkensabe has quit [Remote host closed the connection]
diegoviola has quit [Ping timeout: 244 seconds]
diegovio1 is now known as diegoviola
sinkensabe has joined #ruby
ndrei has joined #ruby
wrist has joined #ruby
Kricir has joined #ruby
ltd has quit [Ping timeout: 250 seconds]
arya_ has joined #ruby
bruno- has joined #ruby
carraroj has joined #ruby
felgenh3- has joined #ruby
bruno- is now known as Guest27444
bradleyprice has joined #ruby
sinkensabe has quit [Ping timeout: 250 seconds]
felgenh3- has left #ruby [#ruby]
wrist has quit [Ping timeout: 255 seconds]
fly2web has left #ruby [#ruby]
andrewlio has joined #ruby
Rahul_Roy has joined #ruby
boom has joined #ruby
Guest27444 has quit [Ping timeout: 245 seconds]
Arkaniad has quit [Ping timeout: 240 seconds]
iliketurtles has quit [Quit: zzzzz…..]
GriffinHeart has quit [Remote host closed the connection]
GriffinHeart has joined #ruby
Deele has quit [Ping timeout: 245 seconds]
tvw has quit []
Gabri has joined #ruby
hellangel7 has quit [Quit: Leaving]
Kricir has quit [Remote host closed the connection]
hellangel7 has joined #ruby
timonv_ has joined #ruby
oo_ has quit [Remote host closed the connection]
Wolland has quit [Remote host closed the connection]
felgenh3- has joined #ruby
nasj has joined #ruby
InfraRuby has left #ruby [#ruby]
felgenh3- has quit [Client Quit]
felgenh3 has quit [Quit: felgenh3]
oo_ has joined #ruby
oo_ has quit [Remote host closed the connection]
koderok has joined #ruby
echevemaster has quit [Quit: Leaving]
Gabri has quit []
lkba has quit [Ping timeout: 240 seconds]
ltd has joined #ruby
LACP has quit [Ping timeout: 240 seconds]
mikecmpbll has joined #ruby
LACP has joined #ruby
ctp has joined #ruby
kevkev____ has joined #ruby
anaeem1 has joined #ruby
redditorbacon has joined #ruby
kaspertidemann has joined #ruby
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
Rollabunna has quit [Remote host closed the connection]
cibs has quit [Ping timeout: 252 seconds]
kevkev____ has quit [Ping timeout: 240 seconds]
ctp has quit [Ping timeout: 255 seconds]
ctp has joined #ruby
jackneill has joined #ruby
redditorbacon has quit []
dawkirst has joined #ruby
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
iteratorP has joined #ruby
relix has joined #ruby
alem0lars has quit [Ping timeout: 244 seconds]
Atttwww has quit [Ping timeout: 256 seconds]
mikesplain has joined #ruby
sinkensabe has joined #ruby
Takle has joined #ruby
arya_ has quit [Read error: Connection reset by peer]
dawkirst has quit [Remote host closed the connection]
Panicky has joined #ruby
zarubin has quit [Read error: Connection reset by peer]
Aryasam has joined #ruby
mikesplain has quit [Ping timeout: 255 seconds]
zarubin has joined #ruby
Aryasam has joined #ruby
arya_ has joined #ruby
Takle has quit [Read error: Connection reset by peer]
Takle has joined #ruby
St_Marx has joined #ruby
St_Marx has quit [Remote host closed the connection]
St_Marx has joined #ruby
St_Marx has quit [Remote host closed the connection]
St_Marx has joined #ruby
SilkFox has joined #ruby
kaspertidemann has quit []
Nahra has joined #ruby
p0sixpscl has joined #ruby
spider-mario has joined #ruby
koderok has quit [Quit: koderok]
SilkFox has quit [Ping timeout: 256 seconds]
cibs has joined #ruby
aantix has joined #ruby
b00stfr3ak has quit [Ping timeout: 240 seconds]
jdj_dk has joined #ruby
Aryasam has quit [Ping timeout: 240 seconds]
bruno- has joined #ruby
aantix has quit [Client Quit]
wrist has joined #ruby
jdj_dk has quit [Remote host closed the connection]
mgberlin has joined #ruby
devdazed has quit [Remote host closed the connection]
jdj_dk has joined #ruby
Wolland has joined #ruby
nasj has quit [Remote host closed the connection]
wrist has quit [Ping timeout: 240 seconds]
nasj has joined #ruby
sinkensabe has quit [Remote host closed the connection]
sinkensabe has joined #ruby
jdj_dk has quit [Ping timeout: 240 seconds]
sinkensabe has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
obs has joined #ruby
<crazydiamond> Hi. In RSpec, is should syntax deprecated?
<Nilium> Should syntax?
obs has quit [Client Quit]
<Nilium> http://rubydoc.info/gems/rspec-core/RSpec/Core/MemoizedHelpers#should-instance_method ← The documentation for the should method (not syntax) suggests it may be a poor choice, but doesn't appear to be deprecated.
tommylommykins has quit [Remote host closed the connection]
mgberlin has quit [Remote host closed the connection]
klaut has quit [Remote host closed the connection]
klaut has joined #ruby
xenomorph is now known as {xenomorph}
<crazydiamond> Nilium, I've got this: http://dpaste.com/2TKMHNX
<crazydiamond> ok, seems that I should enable it
<crazydiamond> or, in other words: it expects me to enable it
{xenomorph} is now known as xenomorph
tommylommykins has joined #ruby
axsuul_ has quit [Ping timeout: 244 seconds]
klaut has quit [Ping timeout: 244 seconds]
<atmosx_> hello
supermat has quit [Remote host closed the connection]
atmosx_ is now known as atmosx
LadyRainicorn has quit [Read error: Connection reset by peer]
LadyRainicorn has joined #ruby
LACP has quit [Ping timeout: 240 seconds]
abuzze has joined #ruby
supermat has joined #ruby
Rainicorn has joined #ruby
<Nilium> crazydiamond: In that case, rspec's docs probably need updating.
LACP has joined #ruby
<crazydiamond> Nilium, mine ones?
memph1s has joined #ruby
<Nilium> No, I mean rspec's documentation's obviously insufficient if you're getting an error the docs don't reflect
matrixdevuk has quit [Quit: Lingo - http://www.lingoirc.com]
matrixdevuk has joined #ruby
matrixdevuk has quit [Changing host]
matrixdevuk has joined #ruby
<Nilium> Which I guess is kind of the norm for Ruby stuff anyway
LadyRainicorn has quit [Ping timeout: 250 seconds]
mr-foobar has quit [Read error: Connection reset by peer]
mr-foobar has joined #ruby
krisquigley has joined #ruby
abuzze has quit [Ping timeout: 250 seconds]
yottanami has joined #ruby
<yottanami> Is anyway to write this condition smaller http://dpaste.com/1ZWP2XJ ?
arya_ has quit [Quit: sayonara^_^]
kevkev____ has joined #ruby
nfk has joined #ruby
Macaveli has joined #ruby
axsuul has joined #ruby
xenomorph is now known as {xenomorph}
krisquigley has quit [Remote host closed the connection]
{xenomorph} is now known as xenomorph
mikecmpbll has quit [Quit: i've nodded off.]
sixxy has quit [Remote host closed the connection]
<atmosx> yottanami: flight.airline ? "#{flight.airline}-#{flight_number}" : "-#{flight_number}"
kevkev____ has quit [Ping timeout: 245 seconds]
<mozzarella> you know that nil.to_s == '', right?
Macaveli has quit [Ping timeout: 244 seconds]
<toretore> >> false.to_s
<eval-in> toretore => "false" (https://eval.in/174827)
<ari-_-e> "#{flight.airline or ''}-#{flight_number}"
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
<ari-_-e> or yes, omit the or '' if flight.airline will be nil when falsy
<mozzarella> airline looks like it could be either nil or an object
<mozzarella> and in that case he could make use of the fact that nil.to_s == ''
<ari-_-e> could also be false
landodger has quit [Remote host closed the connection]
landodger has joined #ruby
<toretore> `flight.airline || ''` is the best answer
kyb3r_ has quit [Read error: Connection reset by peer]
kyb3r_ has joined #ruby
mikesplain has joined #ruby
sinkensabe has quit [Remote host closed the connection]
sinkensabe has joined #ruby
iteratorP has quit [Remote host closed the connection]
davedev2_ has quit [Remote host closed the connection]
mikesplain has quit [Ping timeout: 240 seconds]
SCHAAP137 has joined #ruby
sinkensabe has quit [Ping timeout: 250 seconds]
jdj_dk has joined #ruby
asmodchan has joined #ruby
asmodchan has quit [Remote host closed the connection]
SilkFox has joined #ruby
matrixdevuk has quit [Quit: Lingo - http://www.lingoirc.com]
matrixdevuk has joined #ruby
asmodlol has quit [Ping timeout: 264 seconds]
<shevy> what is module_function really doing?
<shevy> is it the same as doing extend self (if we have only one method in that module)?
jdj_dk has quit [Ping timeout: 245 seconds]
Zebroid has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
SilkFox has quit [Ping timeout: 255 seconds]
matrixdevuk has quit [Client Quit]
LACP has quit [Ping timeout: 240 seconds]
matrixdevuk has joined #ruby
Rainicorn has quit [Read error: Connection reset by peer]
LadyRainicorn has joined #ruby
<Nilium> Probably?
<Nilium> Looks like it's just adding the method to the singleton class's list of instance methods.
yfeldblu_ has joined #ruby
<Nilium> I mean, it's literally a loop where it searches for each named method and then sets that method as an entry in the singleton class.
yfeldblum has quit [Read error: Connection reset by peer]
robscormack has joined #ruby
jayunit100 has joined #ruby
<robscormack> g'morning
LACP has joined #ruby
Zebroid has quit [Ping timeout: 250 seconds]
<Nilium> I need to find a bunch of git and hg users so I can pester them with a conceptual question
<robscormack> git user here
<Nilium> Most people are, I'm a little more curious about the hg users though
<Nilium> At any rate, how do you feel about git's index?
<robscormack> good enough
Hobogrammer has quit [Ping timeout: 264 seconds]
<Nilium> Would you miss having it?
<robscormack> yep
wrist has joined #ruby
<Nilium> hg users don't have one.
<robscormack> that's why I stopped using hg
<Nilium> Hence why I need to find a bunch of hg users to pester about it and see if they find the index confusing or don't like it or if they want one or what
<Nilium> 'Cause obviously it's got users, there are people who prefer it to git, but git's index alone would keep me from using hg
davedev24_ has joined #ruby
<arup_r> Can anyone guide me by saying, how can I install only this http://api.rubyonrails.org/classes/ActiveModel/Dirty.html#method-i-changed_attributes to use with plain Ruby ? I am learning some Rails concept.. I don't want to test this in a Rails end
<Nilium> Though hg has mq, which is kind of like a sort-of index
carraroj has quit [Ping timeout: 250 seconds]
<robscormack> Nilium: for me personally it all depends on how many times you care about what's on git.
<robscormack> for people with OCD like me, it's much easier to see what's on staging and what needs to be on staging before committing
wrist has quit [Ping timeout: 250 seconds]
<Nilium> Well, for me, it's partly that and partly that I do a lot of hunk adds
<Nilium> And hg record sort of kind of does that but it's an all-or-nothing thing
<Nilium> You don't get to, say, indicate you want one thing then go back and read off the diff
<Nilium> You get to say you want X and that's your commit right now, even though that might not be the full commit
<robscormack> and that's exactly a feature I love when I'm drunk.
iteratorP has joined #ruby
<Nilium> Never had to try using git when I'm drunk, but I make heavy use of it because I tend to make tons of changes then go back and add --patch them in.
InfraRuby has joined #ruby
<Nilium> E.g., add --patch, stash, test build, stash pop, continue committing
<Nilium> If the commit didn't build, amend it
<Nilium> I could probably automate that
hellangel7 has quit [Remote host closed the connection]
<robscormack> that's what I did at one of my startups.
hellangel7 has joined #ruby
InfraRuby has left #ruby [#ruby]
<robscormack> I used to work from the university, from home or from my friends' offices.
SCHAPiE_ has joined #ruby
SCHAPiE_ has quit [Excess Flood]
SCHAPiE_ has joined #ruby
SCHAPiE_ has quit [Remote host closed the connection]
<Nilium> Should just require a post-commit hook and maybe something to quickly clone it to ensure it has a clean working tree (since there might be extra files in there) and then build, but overall the idea seems like it should be simple
<Nilium> Since, ideally, a local clone would just be hardlinks anyway, so fairly inexpensive
<robscormack> then I created a workflow to let me know what the heck was I doing and retrieve the greatest and latest thing, see if I finished it and then finally commit to dev.
InfraRuby has joined #ruby
Gonzih has quit [Ping timeout: 240 seconds]
<Nilium> At any rate, I need to sleep.
<robscormack> me too
<robscormack> but my OCD is killing me today :c
<Nilium> Going to have to start waking up before 8am for a job, so being up at 3am is.. not a good thing.
matrixdevuk is now known as alphabet
<shevy> yeah
<shevy> you are getting old
mgberlin has joined #ruby
SCHAAP137 has quit [Ping timeout: 244 seconds]
<robscormack> it's saturday today!
<robscormack> (or sunday, idk)
mikecmpbll has joined #ruby
ahuman has quit [Remote host closed the connection]
ahuman has joined #ruby
alphabet has quit [Quit: Lingo - http://www.lingoirc.com]
matrixdevuk has joined #ruby
beef-wellington has joined #ruby
<Nilium> Saturday here, but I start a job on Monday, so I'm going to basically be shifting sleep schedules cold turkey
<Nilium> Going to be interesting to see how close I get to dying
<robscormack> all right
<robscormack> well, luck is for cowards so be successful!
mgberlin has quit [Ping timeout: 240 seconds]
asmodlol has joined #ruby
<shevy> I am a lucky hero
klaut has joined #ruby
xenomorph is now known as {xenomorph}
phoo1234567 has joined #ruby
{xenomorph} is now known as xenomorph
LACP has quit [Ping timeout: 240 seconds]
brianherman has joined #ruby
beef-wellington has quit [Ping timeout: 255 seconds]
jdj_dk has joined #ruby
LACP has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
pandaant has joined #ruby
davispuh has quit [Ping timeout: 245 seconds]
LACP has quit [Ping timeout: 240 seconds]
Guest65447 has quit [Ping timeout: 245 seconds]
mijicd has quit [Remote host closed the connection]
<arup_r> shevy: I am glad to hear.. I want to work with you.. that's why!
<arup_r> :)
kevkev____ has joined #ruby
LACP has joined #ruby
kirun has joined #ruby
marr has quit [Ping timeout: 240 seconds]
Rollabunna has joined #ruby
gypsydave5 has quit [Ping timeout: 264 seconds]
kevkev____ has quit [Ping timeout: 256 seconds]
Rollabunna has quit [Ping timeout: 255 seconds]
Takle has quit [Remote host closed the connection]
mikesplain has joined #ruby
yottanami has left #ruby [#ruby]
DaniG2k has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.3]
<shevy> no
<shevy> go away
Rahul_Roy has quit [Quit: Connection closed for inactivity]
mrnugget has joined #ruby
klaut has quit [Remote host closed the connection]
<atmosx> hey shevy
<atmosx> anyone experience with oauth2 gem?
klaut has joined #ruby
LACP has quit [Ping timeout: 240 seconds]
mikesplain has quit [Ping timeout: 240 seconds]
LACP has joined #ruby
wallerdev has quit [Quit: wallerdev]
klaut has quit [Ping timeout: 240 seconds]
SilkFox has joined #ruby
klaut has joined #ruby
<robscormack> painful one, yes
timonv_ has quit [Remote host closed the connection]
SilkFox has quit [Ping timeout: 240 seconds]
Pharaoh2 has quit [Quit: Leaving...]
jdj_dk has quit [Remote host closed the connection]
arup_r1 has joined #ruby
axsuul has quit [Ping timeout: 240 seconds]
vsoftoiletpaper has joined #ruby
<arup_r1> What is quickest way to collect all cdata in an XML using Nokogiri ?
jdj_dk has joined #ruby
LadyRainicorn has quit [Read error: Connection reset by peer]
LadyRainicorn has joined #ruby
eka has joined #ruby
arup_r has quit [Ping timeout: 255 seconds]
Takle has joined #ruby
wrist has joined #ruby
InfraRuby has left #ruby [#ruby]
ringarin has joined #ruby
jdj_dk has quit [Ping timeout: 250 seconds]
Beoran__ has joined #ruby
patrick99e99 has joined #ruby
<shevy> only painful ways
wrist has quit [Ping timeout: 256 seconds]
<crazydiamond> how to calculate difference between two DateTime's in (hours minutes, seconds)? reference says that - method for Date (which's parent of DateTime) returns date or rational http://ruby-doc.org/stdlib-1.9.3/libdoc/date/rdoc/Date.html#method-i-2D
<shevy> can't you use - there ?
Beoran_ has quit [Ping timeout: 250 seconds]
kachi8 has quit [Ping timeout: 260 seconds]
<crazydiamond> shevy, ok, it will return me days. so, how I convert these to hours, minutes and seconds?
<shevy> does it really return a class called days?
<atmosx> robscormack: is there any test the endpoint? I mean, curl should work.. but although I get the token, I can't fetch any info. I get 404's even when copying requests from the documentation
<atmosx> any *way*
<crazydiamond> shevy, it returns Rational, that expresses days
patrick99e99 has quit [Ping timeout: 260 seconds]
<shevy> (DateTime.new - DateTime.new).class # => Fixnum
<shevy> >> require 'time'; require 'date'; (DateTime.new - DateTime.new).class
<eval-in> shevy => Rational (https://eval.in/174832)
lkba has joined #ruby
<shevy> cool
<shevy> irb tells me Fixnum haha
<crazydiamond> irb(main):031:0> (DateTime.new(2014, 8, 2, 12, 30, 0) - DateTime.new(2014, 8, 1, 0, 0, 0)).class
<crazydiamond> => Rational
<robscormack> atmosx I had a small sinatra app to test it
<shevy> wat
<robscormack> it was provided with doorkeper
<robscormack> doorkeeper
<shevy> crazydiamond, what if you do this in irb: (DateTime.new - DateTime.new).class
<shevy> probably is 0
<crazydiamond> shevy, Rational
<shevy> what?!
<shevy> that can not be
<shevy> what is your ruby version?
<crazydiamond> shevy, ruby 1.9.3p484 (2013-11-22 revision 43786) [x86_64-linux]
<shevy> ruby 2.1.2p95 (2014-05-08 revision 45877) [x86_64-linux]
<shevy> aaaah ok
<atmosx> robscormack: you used oauth to get authentication credentials? I just need access to products... I don't really need a callback and all that.
<robscormack> atmosx I used it both ways
<arup_r1> The one I am using is very slow :p
<crazydiamond> so, If I'm just learning ruby, must I start with 2?
brianherman has quit [Read error: Connection reset by peer]
<shevy> not sure what to do with a Rational
abuzze has joined #ruby
<shevy> dunno
<robscormack> crazydiamond yes sir
<robscormack> 2.1, to be precise.
<shevy> I have ruby 2.1.2
<crazydiamond> shevy, I can multiply it * 60 * 60 * 24 and this will give me seconds
phoo1234567 has quit [Quit: Leaving]
o0oo0o has quit [Remote host closed the connection]
<shevy> hmm
<crazydiamond> to be more precise
o0oo0o has joined #ruby
<crazydiamond> (diff * 60 * 60 * 24).to_i
<arup_r1> doc = Nokogiri::XML(open("/path/to/file") ; doc.css("*") { |node| puts node node.cdata? }
<arup_r1> This is SLOW
mrnugget has quit [Quit: mrnugget]
<arup_r1> No one is helping me :-(
Johnny1 has joined #ruby
<shevy> nobody uses XML either
pskosinski has joined #ruby
<arup_r1> :p
<arup_r1> Is XML dead ?
<atmosx> arup_r1: you either start reading some documentation or hire a ruby developer.
<atmosx> err wtf. you *should*
<arup_r1> atmosx: Why ? What's wrong ?
abuzze has quit [Ping timeout: 256 seconds]
<atmosx> Because you ask questions like a shoot-gun :-)
<atmosx> browse the web, read some doc, find a way to make it faster.
<atmosx> pay sheve to do it.
<arup_r1> LOL
<arup_r1> shevy: is my friend like you
<shevy> I have no time
<arup_r1> I don't want you to code.. want you give some tips
<shevy> atmosx arup_r1 has like 50.000 karma on stackoverflow
<shevy> arup_r1 ok. stop using XML
<shevy> I did so like 10 years ago and never regretted it
craigbowen3 has quit [Remote host closed the connection]
<arup_r1> Ohay
Johnny1 has left #ruby ["Textual IRC Client: www.textualapp.com"]
<atmosx> shevy: that doesn't compute.
<shevy> it is a perfect compute
andrewlio has quit [Quit: Leaving.]
andrewlio has joined #ruby
andrewlio has quit [Client Quit]
mostlybadfly has joined #ruby
<arup_r1> shevy: Thanks .. I'm Insulted by someone.. I will try to solve it by myself..
<arup_r1> I have some XML right now on my plate.. I need to eat those any how.. :-(
<shevy> believe me, once XML is no longer part of your life, you'll be a happier person
memph1s has quit [Quit: I couldn't come up with quit message :(]
<crazydiamond> does ruby have more powerful shell than irb, which has all the autocomplete features etc?
<arup_r1> atmosx: Thanks for your awesome help! It makes my code more faster than earlier..
<arup_r1> shevy: You are true.
bricker`LA has quit [Read error: Connection reset by peer]
<shevy> you can have some autocomplete in irb or?
<shevy> require 'irb/completion'
pskosinski has quit [Quit: Til rivido Idisti! | http://www.ido.li]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<atmosx> arup_r1: Sorry if you felt insulted.
jackneill has quit [Read error: Connection reset by peer]
mijicd has joined #ruby
<arup_r1> atmosx: Before you, I had been by others too.. I am now habituated with it. :-)
<crazydiamond> shevy, thanks!
benzrf|offline is now known as benzrf
Panicky has quit [Remote host closed the connection]
iteratorP has quit [Remote host closed the connection]
kevkev____ has joined #ruby
matrixdevuk has quit [Quit: Lingo - http://www.lingoirc.com]
jackneill has joined #ruby
Panicky has joined #ruby
matrixdevuk has joined #ruby
<zeroXten> is there a way to make global options across subcommands using Thor?
<robscormack> crazydiamond I use pry. Try it.
anaeem1 has quit [Remote host closed the connection]
anaeem1 has joined #ruby
<atmosx> crazydiamond: there's 'pry'
<crazydiamond> robscormack, atmosx thanks. hacking it now
jottr has joined #ruby
relix has joined #ruby
kevkev____ has quit [Ping timeout: 255 seconds]
relix has quit [Client Quit]
sixxy has joined #ruby
fly2web has joined #ruby
anaeem1 has quit [Ping timeout: 264 seconds]
<fly2web> i can scrape some program like wireshark with ruby?
vsoftoiletpaper has quit []
carraroj has joined #ruby
kyb3r_ has quit [Quit: Leaving]
vsoftoiletpaper has joined #ruby
mikesplain has joined #ruby
AlSquire has joined #ruby
<fly2web> Hello
mikesplain has quit [Ping timeout: 255 seconds]
jamto11 has joined #ruby
<shevy> you are an evil hacker
tjr9898_ has quit [Remote host closed the connection]
tjr9898 has joined #ruby
nickwtf has joined #ruby
SilkFox has joined #ruby
mityaz has joined #ruby
pothibo has joined #ruby
<arup_r1> fly2web: Welcome!
pothibo has quit [Client Quit]
<fly2web> thanks arup_r1 :)
<fly2web> i can scrape some program like wireshark with ruby? is possible arup_r1
<arup_r1> I don't know Ruby... I do know BASIC
<fly2web> this is ruby channel.
pothibo has joined #ruby
<fly2web> perhaps you are ciucripi ’s friend?
<fly2web> arup_r1:
SilkFox has quit [Ping timeout: 255 seconds]
axsuul has joined #ruby
<arup_r1> Who is She ;) ?
Shidash has quit [Ping timeout: 240 seconds]
<shevy> fly2web get out of Korea and learn english man
<fly2web> shevy: i live in US.
<fly2web> shevy: you know about wireshark?
<shevy> you sure enough don't live in the USA with that level of english
bruno- has quit [Quit: leaving]
wrist has joined #ruby
vsoftoiletpaper has quit []
Shidash has joined #ruby
axsuul has quit [Ping timeout: 250 seconds]
<fly2web> shevy: you are actor of that movie?
benzrf is now known as benzrf|offline
<shevy> man, I don't live in canada
<fly2web> oh you live beggar cave. haha
robscormack has quit [Quit: Leaving]
wrist has quit [Ping timeout: 240 seconds]
<shevy> and you live in taekwondo cave
tier has joined #ruby
Shidash has quit [Ping timeout: 240 seconds]
jonr22 has joined #ruby
<fly2web> i have no time to joking to you. i must study ha*k.
carraroj has quit [Ping timeout: 250 seconds]
lukeholder has joined #ruby
descala has quit [Read error: Connection reset by peer]
<fly2web> shevy: what is your IQ? i think that your iq is 2 letter.
descala has joined #ruby
jottr has quit [Ping timeout: 245 seconds]
<shevy> fly2web my IQ beats your IQ
<fly2web> my IQ is 154, i m mensa member.
<fly2web> and you?
<shevy> fly2web you lie
<shevy> your IQ is 56
<fly2web> yes
<shevy> you should study hard
<fly2web> why?
<shevy> to raise your IQ
<fly2web> my iq is 156
<fly2web> 154
<shevy> lol
<fly2web> i m too sleepy.
<fly2web> so i have mistake.
yfeldblum has joined #ruby
<shevy> you said 154 before now you say 156
<fly2web> because of sleepy
<shevy> you should read books
DaniG2k has quit [Quit: leaving]
<shevy> the big books
<shevy> not the small ones
fly2web was banned on #ruby by Mon_Ouie [*!~lee@*]
fly2web was kicked from #ruby by Mon_Ouie [This has gone way too far…]
<wasamasa> shevy: judging by your replies, you're talking with fly2web again
<wasamasa> shevy: let me turn off my filter
<shevy> wasamasa awww he just got kicked :(
<shevy> wasamasa guess you won't need that filter anymore
gogohome has joined #ruby
<wasamasa> well, he isn't the only one here
yfeldblu_ has quit [Ping timeout: 245 seconds]
<wasamasa> I've decided to add people who clearly aren't (maliciously) trolling and rather just exhausting to deal with
<wasamasa> <fly2web> my IQ is 154, i m mensa member.
<wasamasa> I have no words
<shevy> ohhh
<wasamasa> first he couldn't use github or a search engine, now he knows what mensa is
<shevy> so he isn't on your black list completely
<wasamasa> I have a "Fool list"
yfeldblum has quit [Ping timeout: 255 seconds]
<shevy> hehehehe
<wasamasa> it hides people so I can toggle
<shevy> your definition above sounds like a description for a 'help vampire'
<wasamasa> well, yes
<wasamasa> help vampires
jamto11 has quit [Remote host closed the connection]
srnty has joined #ruby
srnty has quit [Remote host closed the connection]
Wolland has quit [Remote host closed the connection]
centrx has joined #ruby
Wolland has joined #ruby
nfk has quit [Ping timeout: 244 seconds]
<pontiki> o/
phutchin1 has joined #ruby
phutchins has quit [Ping timeout: 255 seconds]
Wolland has quit [Ping timeout: 244 seconds]
fgo has joined #ruby
<shevy> \o
<arup_r1> bad pics
<pontiki> 'sup shevy
klaut has quit [Remote host closed the connection]
arup_r has joined #ruby
<shevy> it's too hot to cheer
gogohome has left #ruby [#ruby]
arup_r1 has quit [Ping timeout: 256 seconds]
kevkev____ has joined #ruby
badhatter has joined #ruby
Rollabunna has joined #ruby
kevkev____ has quit [Ping timeout: 240 seconds]
InfraRuby has joined #ruby
Guest23013 has quit []
parduse has joined #ruby
Rollabunna has quit [Ping timeout: 244 seconds]
oo_ has joined #ruby
InfraRuby has left #ruby [#ruby]
oo_ has quit [Remote host closed the connection]
<mechanicalduck_> hi
jamto11 has joined #ruby
<mechanicalduck_> So I tried JRuby to walkaround an issue with Ruby (Installer) on Windows.
<mechanicalduck_> Guess what - JRuby does not support building gem native extensions.
<mechanicalduck_> NOOOO
<mechanicalduck_> mkmf.rb can't find header files for ruby at C:/jruby-1.7.13/lib/native/include/ruby/ruby.h
oo_ has joined #ruby
<mechanicalduck_> So where can I get those header files?
<mechanicalduck_> I need them for JRuby on Windows.
mikesplain has joined #ruby
yfeldblum has joined #ruby
lukeholder has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblu_ has joined #ruby
aantix has joined #ruby
aantix has quit [Client Quit]
mikesplain has quit [Ping timeout: 264 seconds]
diegoviola has joined #ruby
yfeldblum has quit [Ping timeout: 255 seconds]
diegoviola has quit [Client Quit]
lw has joined #ruby
yfeldblu_ has quit [Ping timeout: 245 seconds]
diegoviola has joined #ruby
diegoviola has quit [Client Quit]
tkuchiki has joined #ruby
SilkFox has joined #ruby
<wasamasa> I doubt this is possible with jruby
<wasamasa> since the idea is not needing C at all
gogohome has joined #ruby
<wasamasa> let's verify this hypothesis by looking up how well nokogiri plays with it
descala has quit [Read error: Connection reset by peer]
Ayey_ has joined #ruby
diegoviola has joined #ruby
Mihail_D has joined #ruby
descala has joined #ruby
<gogohome> wasamasa: hello
<wasamasa> apparently it is possible, but since you're on windows, they recommend you to go for the pure java version for minimum pain involved
carraroj has joined #ruby
<arup_r> wasamasa: You are Ruby Pro
<wasamasa> nope
<wasamasa> I'm a google pro
<arup_r> LOL
<wasamasa> started learning ruby like two months ago
SilkFox has quit [Ping timeout: 256 seconds]
<arup_r> shame on me!
<wasamasa> wrote one actually useful script so far
SilkFox has joined #ruby
<arup_r> Is this your first Programming language ?
<arup_r> I don't think so
lukeholder has joined #ruby
<gogohome> unban fly2web plz wasamasa
<gogohome> fly2web is my friend.
<wasamasa> it's not, no
<wasamasa> I've learned python before for years
<jeaye> heh
<wasamasa> so it's a lot simpler
lukeholder has quit [Max SendQ exceeded]
<wasamasa> however I've got to get used to the magic in rails
<arup_r> Humm.. You beat me then! I am the only cheap programmer out there..
abuzze has joined #ruby
<wasamasa> gogohome: why do you think I have the choice over that
davedev24_ has quit [Remote host closed the connection]
anarang has joined #ruby
<gogohome> i don’t know that, but fly2web will regret of it.
<wasamasa> well, I don't
lukeholder has joined #ruby
<wasamasa> I'm no op in here
<gogohome> unban fly2web.
<wasamasa> if flyzweb is that stupid, then he deserved it
<wasamasa> also, why do I feel like gogohome is him under a different ip address...
diegoviola has quit [Quit: WeeChat 0.4.3]
wrist has joined #ruby
<arup_r> wasamasa: They are same
diegoviola has joined #ruby
<arup_r> ban gogohome too :-)
<gogohome> oh, fly2web is my frined
<gogohome> no
<gogohome> wait
<gogohome> :(
<gogohome> i m not fly2web.
<gogohome> just friend.
<wasamasa> of course not, you just share the same user name
<arup_r> gogohome he is evil.. why are you begging for him
<gogohome> for frined.
<gogohome> fly2web i s best friend
<arup_r> If you request once more ... we will ban you
<gogohome> :(
abuzze has quit [Ping timeout: 250 seconds]
szuletett has joined #ruby
<arup_r> gogohome you fly to home with fly2web
<gogohome> oh
<arup_r> don't kill us here
<gogohome> i m kind just
<arup_r> shevy don't like these
patrick99e99 has joined #ruby
davedev24_ has joined #ruby
claymore has joined #ruby
Petru has joined #ruby
DaniG2k has joined #ruby
wrist has quit [Ping timeout: 255 seconds]
gogohome has left #ruby [#ruby]
lxsameer has quit [Quit: Leaving]
bmurt has joined #ruby
patrick99e99 has quit [Ping timeout: 256 seconds]
lw has quit [Quit: s]
St_Marx has quit [Quit: Ex-Chat]
thams has joined #ruby
centrx has quit [Quit: Mead error: Connection reset by beer]
<mechanicalduck_> wasamasa: Is there a pure java version for the gem wdm?
bmurt has quit [Client Quit]
<wasamasa> mechanicalduck_: no idea
MartinCleaver has joined #ruby
SilkFox has quit [Ping timeout: 245 seconds]
Cereal` has joined #ruby
szuletett has quit [Ping timeout: 250 seconds]
matrixdevuk is now known as alphabet
St_Marx has joined #ruby
alphabet has quit [Quit: Lingo - http://www.lingoirc.com]
<mechanicalduck_> wasamasa: It is cursed, this linux-windows fs monitoring thing. I tried so many combinations, none of them work, some little piece is always missing.
matrixdevuk has joined #ruby
<wasamasa> >windows
matrixdevuk is now known as alphabet
tokik has joined #ruby
DaniG2k has quit [Quit: leaving]
<lukeholder> looking for a gem that lays sql over csv files
<lukeholder> with the ability to do joins
Cereal` has quit [Ping timeout: 255 seconds]
<lukeholder> like sequel gem's in memory sqlite but populated by the csv files
pskosinski has joined #ruby
Bounga has joined #ruby
Bounga has quit [Client Quit]
<wasamasa> funny, I've joked about that at work
<wasamasa> "We must write CSV-ORM.rb some day!"
anarang has quit [Quit: Leaving]
dseitz has joined #ruby
<mechanicalduck_> lol
arya_ has joined #ruby
MartinCleaver has quit [Quit: MartinCleaver]
alexju has joined #ruby
pskosinski has quit [Quit: Til rivido Idisti! | http://www.ido.li]
benzrf|offline is now known as benzrf
p0sixpscl has quit [Quit: p0sixpscl]
nickwtf has quit [Quit: Page closed]
alexju_ has joined #ruby
<mechanicalduck_> So I got the damn header files in place.
<mechanicalduck_> make: Nothing to be done for `install'.
arya_ has quit [Client Quit]
pskosinski has joined #ruby
<mechanicalduck_> lol
<mechanicalduck_> wdm gem is listed as installed but is still not detected by gem listen.
<mechanicalduck_> ahhhh
alexju has quit [Ping timeout: 250 seconds]
ndrei has quit [Ping timeout: 250 seconds]
arya_ has joined #ruby
InfraRuby has joined #ruby
Photism has quit [Quit: Leaving]
mclee has quit [Quit: WeeChat 0.4.2]
elaptics`away is now known as elaptics
mclee has joined #ruby
Pharaoh2 has joined #ruby
Zenigor has joined #ruby
Mihail_D has left #ruby [#ruby]
mechanicalduck_ has quit [Quit: Reconnecting…]
kevkev____ has joined #ruby
mechanicalduck has joined #ruby
agrinb has joined #ruby
oo_ has quit [Remote host closed the connection]
lanox has joined #ruby
kevkev____ has quit [Ping timeout: 240 seconds]
<shevy> what is gem listen
<shevy> oh he is gone
Photism has joined #ruby
nateberkopec has joined #ruby
yfeldblum has joined #ruby
justinv has joined #ruby
sixxy has quit [Read error: Connection reset by peer]
mikesplain has joined #ruby
xxmicloxx has joined #ruby
agrinb has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 260 seconds]
<xxmicloxx> Hello, does anyone know something like DataInputStream in java for ruby?
mu5k17u has joined #ruby
agrinb has joined #ruby
aantix has joined #ruby
<shevy> what is that
<shevy> perhaps class IO
<shevy> pipework, I find the ruby docu so ugly :(
<xxmicloxx> DataInputStream is a helper class where you can call readByte or readShort etc...
mikesplain has quit [Ping timeout: 255 seconds]
jayunit100 has quit [Quit: jayunit100]
InfraRuby has left #ruby [#ruby]
rippa has joined #ruby
p0sixpscl has joined #ruby
agrinb has quit [Remote host closed the connection]
<Mon_Ouie> Read data to a string and use String#unpack to convert them
nateberkopec has quit [Quit: Leaving...]
narendraj9 has joined #ruby
<eam> sysread() is what you want for that, right?
mehlah has joined #ruby
nateberkopec has joined #ruby
<Mon_Ouie> I'm not sure why you'd want sysread over read
nateberkopec has quit [Client Quit]
<eam> if it's like perl (and I'm not sure it is) read() would go through an i/o layer that might not 1:1 map to the underlying syscall
joast has quit [Quit: Leaving.]
wrist has joined #ruby
<eam> ah yup
<Mon_Ouie> Well that is the case, but why would you want the behavior of read(2) for that?
<eam> well now that you mention it, perhaps you don't
aantix has quit [Quit: aantix]
mehlah has quit [Quit: Linkinus - http://linkinus.com]
klaut has joined #ruby
wrist has quit [Ping timeout: 256 seconds]
davedev2_ has joined #ruby
fold has joined #ruby
oo_ has joined #ruby
Pharaoh2 has quit [Remote host closed the connection]
jamto11 has quit [Remote host closed the connection]
pskosinski has quit [Quit: Til rivido Idisti! | http://www.ido.li]
rlazoti has joined #ruby
rlazoti has quit [Client Quit]
davedev24_ has quit [Ping timeout: 244 seconds]
GinoMan has quit [Remote host closed the connection]
joast has joined #ruby
justinv has quit [Remote host closed the connection]
tjr9898_ has joined #ruby
Cyrax_ has joined #ruby
tvw has joined #ruby
oo_ has quit [Ping timeout: 240 seconds]
tjr9898 has quit [Ping timeout: 255 seconds]
sepp2k has joined #ruby
justinv has joined #ruby
Cyrax_ is now known as [Cyrax]
agrinb has joined #ruby
pzula has joined #ruby
timonv_ has joined #ruby
lukeholder has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
existensil has quit [Ping timeout: 255 seconds]
AlexBlom has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
[Cyrax] has quit [Quit: Lost terminal]
Channel6 has joined #ruby
carraroj has quit [Ping timeout: 260 seconds]
justinv has quit [Remote host closed the connection]
timonv_ has quit [Remote host closed the connection]
justinv has joined #ruby
klaut_ has joined #ruby
klaut has quit [Ping timeout: 240 seconds]
asmodlol has quit [Ping timeout: 264 seconds]
charliesome has joined #ruby
klaut_ has quit [Read error: Connection reset by peer]
klaut has joined #ruby
ringaring has joined #ruby
diegoviola has quit [Quit: WeeChat 0.4.3]
tokik has quit [Ping timeout: 255 seconds]
LadyRainicorn has quit [Ping timeout: 240 seconds]
pzula has quit [Ping timeout: 256 seconds]
crazydiamond has quit [Remote host closed the connection]
anildigital has joined #ruby
ringarin has quit [Ping timeout: 240 seconds]
<anildigital> For Ruby people http://ruby-operators.herokuapp.com/
abdulsattar has joined #ruby
kevkev____ has joined #ruby
LadyRainicorn has joined #ruby
davedev24_ has joined #ruby
xxmicloxx has quit [Ping timeout: 256 seconds]
Rollabunna has joined #ruby
mu5k17u has quit [Remote host closed the connection]
<benzrf> >twiddlewalka
<benzrf> lol
davedev2_ has quit [Ping timeout: 245 seconds]
kevkev____ has quit [Ping timeout: 256 seconds]
mehlah has joined #ruby
Rollabunna has quit [Ping timeout: 256 seconds]
Ilyas has quit [Ping timeout: 255 seconds]
nateberkopec has joined #ruby
carraroj has joined #ruby
carraroj has quit [Changing host]
carraroj has joined #ruby
mikesplain has joined #ruby
justinv has quit [Remote host closed the connection]
lq has joined #ruby
abuzze has joined #ruby
Rollabunna has joined #ruby
tjr9898_ has quit [Remote host closed the connection]
tjr9898 has joined #ruby
jonr22 has quit [Ping timeout: 256 seconds]
<pontiki> <3 anildigital
<anildigital> pontiki: :)
mikesplain has quit [Ping timeout: 264 seconds]
abuzze has quit [Ping timeout: 250 seconds]
nateberkopec has quit [Ping timeout: 240 seconds]
diegoviola has joined #ruby
obs has joined #ruby
mupkoo has joined #ruby
gruz0[russia] has joined #ruby
<shevy> pontiki likes everyone
<anildigital> shevy: pontiki <3
obs has quit [Client Quit]
cobakobodob has quit [Ping timeout: 245 seconds]
diegoviola has quit [Client Quit]
asmodlol has joined #ruby
hhjaog has joined #ruby
<anildigital> Do tell, if you know some new names for Ruby operators
axsuul has joined #ruby
rubytor has joined #ruby
<anildigital> and do tweet about it :D thanks
<shevy> I remember
<shevy> havenwood said one
<shevy> shark operator or something
<shevy> hmmm
<shevy> walrus operator?
<shevy> where is he :(
wrist has joined #ruby
axsuul has quit [Ping timeout: 255 seconds]
AlexBlom has quit [Ping timeout: 245 seconds]
Zebroid has joined #ruby
hhjaog has quit [Ping timeout: 250 seconds]
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
wrist has quit [Ping timeout: 255 seconds]
alexju_ has quit [Remote host closed the connection]
lkoqwu has joined #ruby
tylerkern has joined #ruby
mijicd has quit [Remote host closed the connection]
<Mon_Ouie> I've heard people call ||= a hammer
charliesome has quit [Client Quit]
<pontiki> mjolnir!!
<shevy> where would you guys put a todo file of your gem project?
<pontiki> TODO.md
tylerkern has quit [Read error: Connection reset by peer]
<pontiki> in the gem root
<shevy> ok but I mean... at the base... aha ok
tylerkern has joined #ruby
LadyRainicorn has quit [Ping timeout: 244 seconds]
thams has quit [Quit: thams]
mupkoo has quit []
LadyRainicorn has joined #ruby
abdulsattar has quit [Ping timeout: 260 seconds]
thams has joined #ruby
codecop has joined #ruby
Zebroid has quit [Remote host closed the connection]
charliesome has joined #ruby
nairys has joined #ruby
cobakobodob has joined #ruby
anaeem1 has joined #ruby
rubytor has quit [Quit: No Ping reply in 180 seconds.]
obs has joined #ruby
obs has quit [Client Quit]
rubytor has joined #ruby
thams has quit [Quit: thams]
vsoftoiletpaper has joined #ruby
agrinb has quit [Remote host closed the connection]
yfeldblum has joined #ruby
centrx has joined #ruby
agrinb has joined #ruby
charliesome has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lanox has quit []
Spami has joined #ruby
<shevy> I wanna dance
<shevy> \o~
<shevy> ~o/
Atttwww has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
agrinb has quit [Ping timeout: 240 seconds]
goshdarnyou has joined #ruby
<heyimwill> TODO.md is an actual website
jhass|off is now known as jhass
godd2 has joined #ruby
mr_snowf1ake has quit [Ping timeout: 240 seconds]
kevkev____ has joined #ruby
<Petru> probably belongs to a guy named Todo
ferr has joined #ruby
Zebroid has joined #ruby
<pipework> shevy: I find that it often has the information I need, even if it's not all pretty and shiny.
maoko has joined #ruby
<shevy> I like pretty and shiny
<pontiki> or a guy with nothing to do...
<pontiki> i like useful and substantial
agrinb has joined #ruby
kevkev____ has quit [Ping timeout: 240 seconds]
oo_ has joined #ruby
p0sixpscl has quit [Quit: p0sixpscl]
justinv has joined #ruby
tkuchiki has quit [Remote host closed the connection]
szuletett has joined #ruby
Zebroid has quit [Ping timeout: 244 seconds]
tvw has quit []
<eam> I keep meaning to put a todo in my projects
Ilyas has joined #ruby
banjara has joined #ruby
thams has joined #ruby
szuletett has quit [Read error: Connection reset by peer]
oo_ has quit [Ping timeout: 250 seconds]
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
mikesplain has joined #ruby
nateberkopec has joined #ruby
gdd229 has joined #ruby
tonyhb has joined #ruby
ringaring has quit [Ping timeout: 255 seconds]
mikesplain has quit [Ping timeout: 260 seconds]
tonyhb_ has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
anaeem1 has quit [Remote host closed the connection]
oo_ has joined #ruby
anaeem1 has joined #ruby
thams has quit [Quit: thams]
aantix has joined #ruby
tonyhb has quit [Ping timeout: 250 seconds]
AlexBlom has joined #ruby
kireevco has joined #ruby
<shevy> why have I tried rewriting this project...
HammyJammy has quit [Read error: Connection reset by peer]
oo_ has quit [Ping timeout: 263 seconds]
anaeem1 has quit [Ping timeout: 250 seconds]
thams has joined #ruby
mikeg has joined #ruby
MartinCleaver has joined #ruby
timonv_ has joined #ruby
maletor has joined #ruby
ARCADIVS has quit [Quit: WeeChat 0.4.3]
peret has joined #ruby
wrist has joined #ruby
microdex has joined #ruby
tonyhb has joined #ruby
agrinb has quit [Remote host closed the connection]
wrist has quit [Ping timeout: 255 seconds]
tonyhb_ has quit [Ping timeout: 250 seconds]
agrinb has joined #ruby
mijicd has joined #ruby
adebabs has joined #ruby
bluehavana has joined #ruby
aantix has quit [Quit: aantix]
felixjet has joined #ruby
dbasch has joined #ruby
oo_ has joined #ruby
beiter has joined #ruby
beiter has quit [Client Quit]
adebabs has quit [Remote host closed the connection]
dbasch has quit [Read error: Connection reset by peer]
agrinb has quit [Ping timeout: 240 seconds]
dbasch has joined #ruby
fgo has quit [Remote host closed the connection]
fgo has joined #ruby
ixti has joined #ruby
oo_ has quit [Ping timeout: 255 seconds]
szuletett has joined #ruby
tonyhb_ has joined #ruby
szuletett has quit [Read error: Connection reset by peer]
tonyhb has quit [Ping timeout: 255 seconds]
szuletett has joined #ruby
microdex has quit [Remote host closed the connection]
fgo has quit [Ping timeout: 260 seconds]
Ayey_ has quit [Ping timeout: 255 seconds]
centipedefarmer has joined #ruby
phoo1234567 has joined #ruby
peret has quit [Remote host closed the connection]
szuletett has left #ruby [#ruby]
gdd229 has left #ruby [#ruby]
maoko has quit [Quit: Textual IRC Client: www.textualapp.com]
phoo1234567 has quit [Max SendQ exceeded]
phoo1234567 has joined #ruby
klaut has quit [Remote host closed the connection]
InfraRuby has joined #ruby
klaut has joined #ruby
teddyp1cker has joined #ruby
yfeldblum has joined #ruby
spastorino has joined #ruby
szuletett has joined #ruby
szuletett has quit [Client Quit]
MartinCleaver has quit [Quit: MartinCleaver]
szuletett has joined #ruby
szuletett has quit [Read error: Connection reset by peer]
lq has quit [Ping timeout: 264 seconds]
pandaant has quit [Remote host closed the connection]
klaut has quit [Ping timeout: 250 seconds]
Avahey_ has quit [Quit: Connection closed for inactivity]
sirene has quit [Quit: Saliendo]
teddyp1cker has quit [Ping timeout: 255 seconds]
yfeldblum has quit [Ping timeout: 260 seconds]
szuletett has joined #ruby
diegoviola has joined #ruby
rubytor has quit [Quit: No Ping reply in 180 seconds.]
Zenigor has quit [Remote host closed the connection]
rubytor has joined #ruby
Zenigor has joined #ruby
<anildigital> Mon_Ouie: is it that popular?
<anildigital> Btw.. here is updated site http://ruby-operators.herokuapp.com/
szuletett has quit [Read error: Connection reset by peer]
narendraj9 has quit [Quit: Connection closed for inactivity]
Rahul_Roy has joined #ruby
abuzze has joined #ruby
Zenigor has quit [Ping timeout: 244 seconds]
haroldwu has quit [Changing host]
haroldwu has joined #ruby
<Mon_Ouie> anildigital: Well… can't be much less than octothrope
kevkev____ has joined #ruby
Zenigor has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tonyhb_ has quit [Quit: peace]
kenneth has joined #ruby
abuzze has quit [Ping timeout: 245 seconds]
SilkFox has joined #ruby
nasj has quit [Remote host closed the connection]
soulcake has quit [Quit: Quack.]
kevkev____ has quit [Ping timeout: 240 seconds]
IceDragon has joined #ruby
nasj has joined #ruby
beef-wellington has joined #ruby
nateberkopec has joined #ruby
soulcake has joined #ruby
MartinCleaver has joined #ruby
banjara has quit [Quit: Leaving.]
njection has joined #ruby
rubytor has quit [Ping timeout: 255 seconds]
Ayey_ has joined #ruby
ferr has quit [Ping timeout: 264 seconds]
blackjid has quit [Ping timeout: 240 seconds]
nasj has quit [Ping timeout: 250 seconds]
headius has quit [Ping timeout: 260 seconds]
danijoo has quit [Read error: Connection reset by peer]
danijoo has joined #ruby
mikesplain has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
zipace has joined #ruby
SilkFox has quit [Quit: WeeChat 0.4.3]
SilkFox has joined #ruby
dacamp has quit [Ping timeout: 260 seconds]
hydrajump has quit [Ping timeout: 256 seconds]
dacamp has joined #ruby
gomikemi1e has quit [Ping timeout: 272 seconds]
gomikemike has joined #ruby
headius has joined #ruby
Ayey_ has quit [Ping timeout: 256 seconds]
rubytor has joined #ruby
mikesplain has quit [Ping timeout: 240 seconds]
donkey777 has joined #ruby
AlexBlom has quit [Ping timeout: 244 seconds]
axl_ has joined #ruby
blackjid has joined #ruby
jonr22 has joined #ruby
soulcake has quit [Quit: Quack.]
MartinCleaver has quit [Quit: MartinCleaver]
AlSquirrel has joined #ruby
AlSquire has quit [Read error: Connection reset by peer]
axl_ has quit [Client Quit]
rubytor has quit [Quit: No Ping reply in 180 seconds.]
ftj has joined #ruby
rubytor has joined #ruby
St_Marx has quit [Ping timeout: 264 seconds]
axl_ has joined #ruby
catepillar has quit [Ping timeout: 255 seconds]
pdtpatr11k has quit [Ping timeout: 272 seconds]
dhruvasagar has quit [Ping timeout: 255 seconds]
blackjid has quit [Ping timeout: 240 seconds]
gomikemike has quit [Ping timeout: 260 seconds]
catepillar has joined #ruby
InfraRuby has left #ruby [#ruby]
samuelkadolph has quit [Ping timeout: 272 seconds]
dacamp has quit [Ping timeout: 264 seconds]
headius has quit [Ping timeout: 264 seconds]
isomorphismes has quit [Ping timeout: 260 seconds]
samuelkadolph has joined #ruby
gomikemike has joined #ruby
dacamp has joined #ruby
pdtpatr1ck has joined #ruby
InfraRuby has joined #ruby
axsuul has joined #ruby
dhruvasagar has joined #ruby
blackjid has joined #ruby
isomorphismes has joined #ruby
headius has joined #ruby
ftj has quit [Client Quit]
tonyhb has joined #ruby
hydrajump has joined #ruby
ftj has joined #ruby
rubytor has quit [Ping timeout: 245 seconds]
agrinb has joined #ruby
Pharaoh2 has joined #ruby
wrist has joined #ruby
axsuul has quit [Ping timeout: 240 seconds]
wallerdev has joined #ruby
patrick99e99 has joined #ruby
jayunit100 has joined #ruby
centipedefarmer has quit [Remote host closed the connection]
dbasch has quit [Quit: dbasch]
soulcake has joined #ruby
redondo has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
centipedefarmer has joined #ruby
mleone has joined #ruby
soulcake has quit [Client Quit]
wrist has quit [Ping timeout: 260 seconds]
soulcake has joined #ruby
sputnik13 has joined #ruby
patrick99e99 has quit [Ping timeout: 264 seconds]
oo_ has joined #ruby
jottr has joined #ruby
agrinb has quit [Remote host closed the connection]
centipedefarmer has quit [Ping timeout: 255 seconds]
krisquigley has joined #ruby
agrinb has joined #ruby
Channel6 has quit [Remote host closed the connection]
oo_ has quit [Ping timeout: 240 seconds]
aantix has joined #ruby
mehlah has quit [Quit: Leaving...]
kireevco has quit [Quit: Leaving.]
yfeldblum has joined #ruby
advorak has joined #ruby
agrinb has quit [Ping timeout: 250 seconds]
relix has joined #ruby
bMalum has joined #ruby
<shevy> when I subclass from a class
<shevy> but all is packed into modules
<shevy> for instance:
<shevy> module Foo; class Bar
<shevy> and then another project
<shevy> module Ble; class Yo
<shevy> hmm no, that is a bad example...
<shevy> I wanted to give an example like:
<shevy> class Yo < Foo::bar
<shevy> vs
kireevco has joined #ruby
kireevco has quit [Client Quit]
<shevy> damn it
<shevy> class Yo < Foo::Bar
<shevy> vs
<shevy> class Yo < Bar
brianherman has joined #ruby
mijicd has quit [Remote host closed the connection]
alphabet is now known as matrixdevuk
<eam> down with module
<jhass> I don't think your question is clear
mleone has quit [Ping timeout: 245 seconds]
<shevy> come on
fold has quit [Ping timeout: 240 seconds]
<shevy> give an answer man
yfeldblum has quit [Ping timeout: 255 seconds]
<jhass> I have no idea what the question is, actually
<shevy> :(
seamon has joined #ruby
Vile` has quit [Quit: .]
<eam> shevy: try it on a newer ruby
kquig has joined #ruby
<shevy> I only work with the latest and greatest
<shevy> but I am going with the ::
<eam> I don't know what the question is either, but that's a pretty decent generic answer huh
kquig has quit [Client Quit]
<shevy> other projects seem to do so too
reset has joined #ruby
<pipework> shevy: I don't think anyone follows.
<shevy> class MyApp < Sinatra::Base
neersighted has quit []
mikeg has quit [Remote host closed the connection]
neersighted has joined #ruby
<Mon_Ouie> I don't think you even stated a question yet
dseitz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
krisquigley has quit [Ping timeout: 255 seconds]
tonyhb has quit [Ping timeout: 240 seconds]
nasj has joined #ruby
tonyhb has joined #ruby
philcrissman has joined #ruby
boom has quit [Ping timeout: 260 seconds]
reset has quit [Quit: Leaving...]
<eam> awesome_print knows where methods come from and the names of args, like: irb_require(*opts, &b) Object (IRB::ExtendCommandBundle)
maletor has joined #ruby
<eam> how does it get that information?
Vile` has joined #ruby
<jhass> should be the Method object obtained by the method method
neersighted has quit [Remote host closed the connection]
<eam> aha
<Hanmac> eam dark magic
agrinb has joined #ruby
<shevy> hey Hanmac
<shevy> you have become very quiet ever since you got your new job
<Hanmac> >> def meth(a,b=1,*c,d:, e: 4, **f,&g);end; method(:meth).parameters
<eval-in> Hanmac => [[:req, :a], [:opt, :b], [:rest, :c], [:keyreq, :d], [:key, :e], [:keyrest, :f], [:block, :g]] (https://eval.in/174880)
<eam> wow awesome
<Hanmac> shevy hm that has other reasons ... i and my sister doing driving lessons ...
jottr has quit [Ping timeout: 240 seconds]
neersighted has joined #ruby
<shevy> wow
<shevy> I just found the coolest comment I ever wrote
<shevy> reset # This method will also invoke reset().
<pontiki> that's not cool
Photism has quit [Quit: Leaving]
<pontiki> no rhyming couplets
thams has quit [Quit: thams]
kevkev____ has joined #ruby
agrinb has quit [Remote host closed the connection]
Vile` has quit [Ping timeout: 256 seconds]
craigbowen3 has joined #ruby
skysploit has joined #ruby
frankle has joined #ruby
boom has joined #ruby
kevkev____ has quit [Ping timeout: 240 seconds]
mattalexx has joined #ruby
nateberkopec has joined #ruby
yourmother__ has joined #ruby
W0rmDr1nk has quit [Remote host closed the connection]
philcrissman has quit [Remote host closed the connection]
Ayey_ has joined #ruby
starkhalo has joined #ruby
<mattalexx> When I run "asdf = true and false" asdf is false (though I expect it to be true. I have to put brackets around it to get what I want: "asdf = (true and false)". Why?
philcrissman has joined #ruby
<jhass> >> asdf = (true and false); asdf
<eval-in> jhass => false (https://eval.in/174881)
<jhass> >> asdf = true and false; asdf
<eval-in> jhass => true (https://eval.in/174882)
<jhass> >> asdf = true && false; asdf
vsoftoiletpaper has quit []
<eval-in> jhass => false (https://eval.in/174883)
<eam> mattalexx: precedence of = is higher than "and"
<mattalexx> eam: Wonder why..
<jhass> so the other way around you described it, but precedence, as said
<eam> because it was copied from perl, where the rules are the same
<jhass> one of the reasons most people prefer && over and, the precedence rules are more what you're used to from other languages
* mattalexx does a search for " and " across entire codebase
<eam> and/or/not are also pretty screwed up for other reasons
vsoftoiletpaper has joined #ruby
<eam> >> [true and false]
<eval-in> eam => /tmp/execpad-17d6e11bded0/source-17d6e11bded0:2: syntax error, unexpected keyword_and, expecting ']' ... (https://eval.in/174885)
<eam> >> [ true && false]
<eval-in> eam => [false] (https://eval.in/174886)
agrinb has joined #ruby
<eam> though that problem is unique to ruby
nateberkopec has quit [Ping timeout: 240 seconds]
georgelappies has joined #ruby
mikesplain has joined #ruby
<pontiki> i don't think and/or/not are methods. i thought they were syntactic elements
<eam> they're keywords
<pontiki> exactly
<pontiki> &&/||/! are methods
<shevy> cool
<jhass> uhm no, only !
philcrissman has quit [Ping timeout: 256 seconds]
<shevy> can I do
Ayey_ has quit [Ping timeout: 264 seconds]
<shevy> def !
<jhass> yes
<eam> and some things in ruby are only methods sometimes and other times aren't
<eam> like -
Hobogrammer has joined #ruby
<jhass> >> class Foo; def self.!; :not_foo; end; end; !Foo
<eval-in> jhass => :not_foo (https://eval.in/174887)
centipedefarmer has joined #ruby
<shevy> wat
<shevy> why is it on the left hand side
<jhass> pontiki: how do I override && if it's a method?
dbasch has joined #ruby
<eam> >> class Fixnum; def -@; 7 end; end; [ -1, --1, -(1), - 1 ]
<eval-in> eam => [-1, 7, 7, 7] (https://eval.in/174888)
<eam> both!
<pontiki> idk, i'm wrong, i thought you already said that...
donkey777 has left #ruby [#ruby]
toastynerd has joined #ruby
Vile` has joined #ruby
<eam> seems like ruby's parser for numeric literals shouldn't include "-" for this reason
toastynerd has quit [Remote host closed the connection]
mikesplain has quit [Ping timeout: 245 seconds]
banjara has joined #ruby
<eam> I guess it gets more complex with minus embedded in complex expressions like
<eam> >> [1e1, 1e-1]
<eval-in> eam => [10.0, 0.1] (https://eval.in/174891)
<eam> maybe 1e-1 should actually call -@() and **()
bMalum has quit [Quit: Computer has gone to sleep.]
<godd2> >> 1e0
<eval-in> godd2 => 1.0 (https://eval.in/174892)
Hobogrammer_ has joined #ruby
bMalum has joined #ruby
<eam> >> class Fixnum; def **(x); 88; end; end; [1e1, 1**10]
<eval-in> eam => [10.0, 88] (https://eval.in/174893)
<jhass> that's academic anyway, overriding Fixnum#-@ is pretty insane IMO
<eam> then it shouldn't be a method at all :)
LadyRainicorn has quit [Read error: Connection reset by peer]
<eam> anyway there are legit reasons to override it, such as causing it to throw an error
<jhass> I said Fixnum#-@, not MyClass#-@
LadyRainicorn has joined #ruby
<eam> yeah I know
<godd2> I dunno jhass I can imagine creating a child class of Fixnum in which negation takes on a slightly different meaning, but I dunno.
<jhass> godd2: thing is, I can't
<eam> you can't really create children classes of Fixnum, I tried yesterday
<Hanmac> godd2: you cant make a childclass of Fixnum ... okay you can but it does not work
<jhass> and if it comes to a subclass, you won't have a literal for it anyway
poguez_ has quit [Quit: Connection closed for inactivity]
<eam> I wanted to create a byte class for that dude with the brainfuck interpreter
<jhass> so the behavior in literal parsing is irrelevant for the subclass case
donkey777 has joined #ruby
Anarch has quit [Ping timeout: 240 seconds]
Hobogrammer has quit [Ping timeout: 250 seconds]
carraroj has quit [Ping timeout: 255 seconds]
Zenigor has quit [Remote host closed the connection]
Zenigor has joined #ruby
<eam> well what if you want to change floating point behavior, that's a legit use case
<yourmother__> >> 1 + 1
<eval-in> yourmother__ => 2 (https://eval.in/174894)
<Hanmac> list of classes you cant make instances from:
<Hanmac> >> ObjectSpace.each_object(Class).reject {|o| o.respond_to?(:new) }
<eval-in> Hanmac => [Bignum, Float, Fixnum, Integer, Symbol, Encoding, FalseClass, TrueClass, NilClass, Complex, Rational, Thread::Backtrace::Location, Thread::Backtrace, RubyVM::Env, RubyVM, Binding, UnboundMethod, Metho ... (https://eval.in/174895)
<eam> say you want java float semantics instead of ieee
bMalum has quit [Ping timeout: 240 seconds]
Anarch has joined #ruby
<Hanmac> eam ... ups you did say the j-word inside this channel ... now we all will hate you ...
<eam> well let's say its for jruby compat reasons
Zespre has quit [Quit: leaving]
* eam ducks
soulcake has quit [Quit: Quack.]
<godd2> Well I'll at least say this, even if theres some method that has never been changed or touched or overridden yet, that doesn't mean there's not a use case for it at some point. Maybe Matz figured that he didn't have all the answers, and is letting us figure this out.
<eam> Hanmac: if it makes you feel better I think java is hella stupid for not implementing ieee floats
<Hanmac> hey! i am not even sure if php does full implment them ;P
larissa has joined #ruby
<eam> now I'm wondering how to add .new to a class
<eam> has to be possible
<godd2> eam what do they do different? use 7 bits for the exponent instead of 8 ?
<eam> pretty esoteric stuff
soulcake has joined #ruby
tonyhb has quit [Quit: peace]
toastynerd has joined #ruby
relix has quit [Read error: Connection reset by peer]
relix has joined #ruby
wrist has joined #ruby
soulcake has quit [Client Quit]
bMalum has joined #ruby
soulcake has joined #ruby
dseitz has joined #ruby
Zespre has joined #ruby
bMalum_ has joined #ruby
hellangel7 has quit [Read error: Connection reset by peer]
mupkoo has joined #ruby
tylerkern has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
agrinb has quit [Remote host closed the connection]
starkhalo has quit [Ping timeout: 256 seconds]
agrinb has joined #ruby
Lexun has joined #ruby
chihhsin_cloud has joined #ruby
hellangel7 has joined #ruby
fold has joined #ruby
wrist has quit [Ping timeout: 245 seconds]
bMalum has quit [Ping timeout: 260 seconds]
yfeldblum has joined #ruby
hellangel7 has quit [Max SendQ exceeded]
tectonic has joined #ruby
oo_ has joined #ruby
hellangel7 has joined #ruby
anaeem1_ has joined #ruby
soulcake has quit [Quit: Quack.]
georgelappies has quit [Remote host closed the connection]
agrinb has quit [Ping timeout: 255 seconds]
soulcake has joined #ruby
tolo123 has joined #ruby
tectonic has quit [Client Quit]
nowthatsamatt has quit [Quit: nowthatsamatt]
hellangel7 has quit [Max SendQ exceeded]
hellangel7 has joined #ruby
oo_ has quit [Ping timeout: 255 seconds]
Lexun has quit [Quit: Manjaro-KDE user leaving!]
Lexun has joined #ruby
yourmother__ has quit [Read error: Connection reset by peer]
soulcake has quit [Client Quit]
yourmother__ has joined #ruby
bluehavana has quit [Quit: Connection closed for inactivity]
hellangel7 has quit [Max SendQ exceeded]
<arup_r> Guys any idea? How can I do this outside of Rails ? http://api.rubyonrails.org/classes/ActiveModel/Dirty.html#method-i-changed_attributes
toastynerd has quit [Remote host closed the connection]
hellangel7 has joined #ruby
Telmo has quit [Quit: That's it for today]
<pontiki> you can use active model outside of rails...
jayunit100 has quit [Quit: jayunit100]
gypsydave5 has joined #ruby
error404_ is now known as error404
<godd2> or you can implement ActiveSupport::HasWithIndifferentAccess
hellangel7 has quit [Max SendQ exceeded]
<godd2> Hash*
yourmother__ has quit [Read error: Connection reset by peer]
hellangel7 has joined #ruby
gruz0[russia] has quit [Quit: This computer has gone to sleep]
arup_r1 has joined #ruby
<pontiki> HWIA doesn't return previous values
georgelappies has joined #ruby
banjara has quit [Quit: Leaving.]
SCHAAP137 has joined #ruby
arup_r has quit [Ping timeout: 264 seconds]
hellangel7 has quit [Max SendQ exceeded]
<arup_r1> pontiki: Are you telling me ?
cleopatra has quit [Ping timeout: 250 seconds]
hellangel7 has joined #ruby
<pontiki> that you can use active mode outised of rails? yes
<pontiki> model*
<arup_r1> Please tell me how
<pontiki> what do you mean?
soulcake has joined #ruby
soulcake has quit [Client Quit]
<arup_r1> I mean which Gem I need to install it
<pontiki> active_model
<arup_r1> for doing this?
<arup_r1> Ok
teddyp1cker has joined #ruby
nfk has joined #ruby
soulcake has joined #ruby
<centrx> That's pretty ancient
bMalum_ has quit [Quit: Computer has gone to sleep.]
tokik has joined #ruby
badhatter has quit [Remote host closed the connection]
toastynerd has joined #ruby
bMalum_ has joined #ruby
<godd2> gem install activemodel
dbasch has quit [Quit: dbasch]
<arup_r1> godd2: That I know hehehehe.. Only not able to find out the correct one
georgelappies has quit [Remote host closed the connection]
<arup_r1> centrx: Thank you very much
St_Marx has joined #ruby
georgelappies has joined #ruby
jackneill has quit [Ping timeout: 245 seconds]
teddyp1cker has quit [Ping timeout: 240 seconds]
tolo123 has quit [Quit: tolo123]
donkey777 has quit []
InfraRuby has left #ruby [#ruby]
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
bMalum_ has quit [Ping timeout: 256 seconds]
agrinb has joined #ruby
LadyRainicorn has quit [Ping timeout: 256 seconds]
gogohome has joined #ruby
<gogohome> very hot. so i can’t sleep
LadyRainicorn has joined #ruby
lele has quit [Ping timeout: 256 seconds]
axl_ has quit [Quit: axl_]
codecop_ has joined #ruby
jayunit100 has joined #ruby
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
jonr22 has quit [Ping timeout: 250 seconds]
agrinb has quit [Ping timeout: 255 seconds]
lkoqwu has quit [Read error: Connection reset by peer]
gogohome has left #ruby [#ruby]
tectonic has joined #ruby
mupkoo has quit [Remote host closed the connection]
tokik has quit [Ping timeout: 264 seconds]
maletor_ has joined #ruby
kevkev____ has joined #ruby
agrinb has joined #ruby
codecop has quit [Ping timeout: 255 seconds]
dbasch has joined #ruby
Ayey_ has joined #ruby
maletor has quit [Ping timeout: 250 seconds]
Fire-Dragon-DoL has joined #ruby
<anildigital> Those who missed http://ruby-operators.herokuapp.com/ Do contribute if I missed any awesome Ruby operator name. Thanks. Good night folks!
bradleyprice has quit [Remote host closed the connection]
bradleyprice has joined #ruby
niklasb has joined #ruby
bklane has joined #ruby
tectonic has quit [Ping timeout: 264 seconds]
agrinb has quit [Ping timeout: 255 seconds]
kevkev____ has quit [Ping timeout: 256 seconds]
nateberkopec has joined #ruby
graft_ has joined #ruby
graft is now known as Guest61096
graft_ is now known as graft
ftj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
maletor_ has quit [Ping timeout: 240 seconds]
<graft> hey folks, i've got this class Dummy that I'm extending with Enumerable - the problem is whenever I do select on it, i end up with an Array - how can i make it so that select returns a new Dummy instead?
<graft> while still using all of the Enumerable goodness...
bradleyprice has quit [Ping timeout: 264 seconds]
pdtpatrick_ has joined #ruby
maletor has joined #ruby
aantix has quit [Quit: aantix]
<graft> seems like I should be able to overwrite enum_for and return some Enumerator subclass or some such
sjouke has joined #ruby
centipedefarmer has quit [Remote host closed the connection]
banjara has joined #ruby
tectonic has joined #ruby
<centrx> graft, Yeah I think the Enumerable select is always designed to return Array, as it does with Hash too
<centrx> graft, returning an Enumerator is different from returning a new Dummy
mikesplain has joined #ruby
pdtpatrick_ has quit [Client Quit]
tylerkern has joined #ruby
pdtpatrick_ has joined #ruby
<centrx> graft, You can override #select to do: super.to_dummy :or: Dummy.new(super)
Shidash has joined #ruby
toastynerd has quit []
<graft> centrx: yeah, but i don't want to rewrite Enumerable
Takle has quit [Read error: Connection reset by peer]
<centrx> graft, You can do some metaprogramming for it
aspires has joined #ruby
agrinb has joined #ruby
tylerkern has quit [Client Quit]
banjara has quit [Ping timeout: 264 seconds]
cantonic has joined #ruby
<centrx> graft, and/or instead of including Enumerable in Dummy, have Dummy contain some object that acts like an array, and Dummy mediates between the array and the Dummy type
soulcake has quit [Quit: Quack.]
pdtpatrick_ has quit [Client Quit]
Cache_Money has joined #ruby
beef-wellington has quit [Ping timeout: 240 seconds]
tylerkern has joined #ruby
soulcake has joined #ruby
claymore has quit [Quit: Leaving]
mikesplain has quit [Ping timeout: 264 seconds]
<godd2> graft perhaps you want to use #find instead?
centipedefarmer has joined #ruby
<graft> i basically want to have all of the Enumerable methods, select, reject, sort, etc., but instead of them returning an Array they return my collection class instead... i guess i just have to write my own select/reject/sort/etc.
JoshGlzBrk has joined #ruby
tonyhb has joined #ruby
agrinb has quit [Ping timeout: 264 seconds]
<graft> centrx: yeah, the Dummy class already uses an array internally
<centrx> graft, So just use define_method or method_missing to define these methods, which send the corresponding method in the internal array, and then transforms the output into a Dummy
<godd2> method_missing won't work if he includes Enumerable
<centrx> define_method is cleaner anyway
<centrx> graft, So you only need to write one method definition, which calls the corresponding method in the internal array. You don't need to write your own select and sort methods
<graft> yeah.... just trying to avoid duplication dammit
<centrx> graft, You only need one loop with one define_method in it
<graft> centrx: not sure i follow...
InfraRuby has joined #ruby
<graft> centrx: aha, cool, very nice
ftj has joined #ruby
<jhass> you can replace the array with Enumerable.instance_methods
<graft> i don't want all of Enumerable's instance_methods, however, just the ones that would return an Array
<graft> like i don't want find
<jhass> I'd rather check inside if an array was returned
<graft> hmm, that's a good idea
Asher has quit [Quit: Leaving.]
<graft> unless find returns an array, but i guess i know what i'm collecting
<graft> probably safer to list them out though
aantix has joined #ruby
aspires has quit []
aantix has quit [Client Quit]
wrist has joined #ruby
Nilium has quit [Ping timeout: 260 seconds]
patrick99e99 has joined #ruby
dbasch has quit [Read error: Connection reset by peer]
dbasch has joined #ruby
<godd2> That way you get all the functionality of enumerable, but overridden methods will return a new custom collection
brianherman_ has joined #ruby
anildigital is now known as zz_anildigital
<jhass> godd2: why not pass the block to @elements.each ?
nobodyzzz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<jhass> and why yield if there's no block?
Vile` has quit [Changing host]
Vile` has joined #ruby
<godd2> I'm sure there are better ways to write what I wrote.
<jhass> simply delegate, @elements.each(&block)
wrist has quit [Ping timeout: 260 seconds]
oo_ has joined #ruby
arup_r1 has quit [Quit: Leaving.]
nobodyzzz has joined #ruby
brianherman has quit [Ping timeout: 264 seconds]
patrick99e99 has quit [Ping timeout: 250 seconds]
m8 has joined #ruby
tylerker1 has joined #ruby
Xiti` is now known as Xiti
rippa has quit [Read error: Connection reset by peer]
Nilium has joined #ruby
rippa has joined #ruby
tylerkern has quit [Quit: Textual IRC Client: www.textualapp.com]
oo_ has quit [Ping timeout: 240 seconds]
aantix has joined #ruby
dbasch has quit [Quit: dbasch]
InfraRuby has left #ruby [#ruby]
Pharaoh2 has quit [Remote host closed the connection]
aantix has quit [Client Quit]
Pharaoh2 has joined #ruby
bMalum_ has joined #ruby
nateberkopec has quit [Quit: Leaving...]
banjara has joined #ruby
theharshest has joined #ruby
chipotle has quit [Read error: Connection reset by peer]
Starless has joined #ruby
Pharaoh2 has quit [Ping timeout: 264 seconds]
teddyp1cker has joined #ruby
banjara has quit [Ping timeout: 250 seconds]
chipotle has joined #ruby
jxf has quit [Ping timeout: 250 seconds]
bluOxigen has joined #ruby
iliketurtles has joined #ruby
aantix has joined #ruby
aantix has quit [Client Quit]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tylerker1 has quit [Ping timeout: 250 seconds]
jimmyhoughjr has quit [Quit: Textual IRC Client: www.textualapp.com]
jimmyhoughjr has joined #ruby
szuletett has joined #ruby
szuletett has left #ruby [#ruby]
bmurt has joined #ruby
mupkoo has joined #ruby
aantix has joined #ruby
aantix has quit [Client Quit]
relix has joined #ruby
danijoo has quit [Read error: Connection reset by peer]
chrishough has joined #ruby
decoponio has quit [Quit: Leaving...]
tectonic has quit []
danijoo has joined #ruby
tjr9898 has quit [Remote host closed the connection]
bluOxigen has quit []
TieSoul has joined #ruby
tectonic has joined #ruby
iliketurtles has quit [Quit: zzzzz…..]
Zenigor_ has joined #ruby
aantix has joined #ruby
robscormack has joined #ruby
Trynemjoel has quit [Ping timeout: 245 seconds]
anaeem1__ has joined #ruby
Trynemjoel has joined #ruby
jxf has joined #ruby
kevkev____ has joined #ruby
anaeem1_ has quit [Read error: Connection reset by peer]
tuxninja has joined #ruby
<godd2> This just shows I need to learn how delegation works
Zenigor has quit [Ping timeout: 255 seconds]
InfraRuby has joined #ruby
Zenigor_ has quit [Remote host closed the connection]
tonyhb_ has joined #ruby
Zenigor has joined #ruby
aantix has quit [Ping timeout: 256 seconds]
Maitiu has quit [Ping timeout: 260 seconds]
Zenigor_ has joined #ruby
kevkev____ has quit [Ping timeout: 255 seconds]
tonyhb has quit [Ping timeout: 255 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
vifino has joined #ruby
bMalum_ has quit [Quit: Computer has gone to sleep.]
bMalum_ has joined #ruby
Zenigor has quit [Ping timeout: 240 seconds]
ftj has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
diegoviola has quit [Quit: WeeChat 0.4.3]
Zenigor_ has quit [Remote host closed the connection]
Zenigor has joined #ruby
tylerkern has joined #ruby
mikesplain has joined #ruby
bMalum_ has quit [Ping timeout: 256 seconds]
<shevy> why don't we have accessors for "foo?" methods?
<shevy> def foo?; @foo
<centrx> You mean !!@foo ?
<centrx> As you see, it is the same as attr_reader
<shevy> well they don't have the trailing ?
tectonic has quit []
<centrx> Actual foo? methods usually have special logic, not accessors
<jhass> I've seen quite a few that map to a (boolean) instance variable
<godd2> shev i think cent means it should have been def foo?; !!@foo
tylerkern has quit [Quit: Lost terminal]
mikesplain has quit [Ping timeout: 245 seconds]
sjouke has quit [Quit: leaving]
<Mon_Ouie> I usually do attr_accessor and alias the reader it creates
ylluminate_ has quit [Quit: Lingo - http://www.lingoirc.com]
kireevco has joined #ruby
bmurt has quit []
<godd2> I still think we should have an anternary operator.
axsuul has joined #ruby
<godd2> some_condition !? when_false : when_true
<centrx> just move the ! to the front
<godd2> yea but its way funner to write !?
<jhass> or swap the bodies
<centrx> ||=
<eam> >> def ‽(cond, a, b); cond ? b : a end; ‽ true, 1, 2
<eval-in> eam => 2 (https://eval.in/174908)
tectonic has joined #ruby
arya_ has quit [Ping timeout: 250 seconds]
<godd2> ah, the interrobangary
lele has joined #ruby
nopolitica has joined #ruby
<godd2> we could call it the wtf operator
bmurt has joined #ruby
ftj has joined #ruby
landodger has quit [Quit: Leaving]
<Mon_Ouie> We still need to get alias λ lambda in core
sheperson has joined #ruby
<Mon_Ouie> Also the new ⇒ syntax for hashes
TorpedoSkyline has joined #ruby
<godd2> and ≡ for case equality?
brianherman_ has quit [Read error: Connection reset by peer]
bklane has quit [Quit: Leaving...]
maestrojed has joined #ruby
starkhalo has joined #ruby
wrist has joined #ruby
xxmicloxx has joined #ruby
<Mon_Ouie> Sure, why not? I mean, if Haskellers can get a UnicodeSyntax language extension in their compilers, why couldn't we?
shoeballoon has joined #ruby
Ilyas has quit [Read error: Connection reset by peer]
jjasonclark has joined #ruby
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oo_ has joined #ruby
InfraRuby has left #ruby [#ruby]
wrist has quit [Ping timeout: 264 seconds]
<TieSoul> is there a faster/better way to do "for i in 0..arr.length; arr[i] += arr2[i]; end"?
hackeron_ has quit [Remote host closed the connection]
jxf has quit [Ping timeout: 264 seconds]
Asher has joined #ruby
Asher has quit [Client Quit]
Asher has joined #ruby
<jhass> arr.each_with_index do |e, i| arr2[i] += e; end
<godd2> that wouldn't be the same. his changes arr, while yours changes arr2
<jhass> meh, just exchange the names
hackeron has joined #ruby
<jhass> there may be a way to avoid it altogether, but we know nothing about the real problem
oo_ has quit [Ping timeout: 244 seconds]
nasj has quit [Remote host closed the connection]
<TieSoul> I'm making a simulation of an object moving through two-dimensional space with the coordinates and delta represented as arrays as a part of an interpreter for an esoteric language.
bmurt has quit []
InfraRuby has joined #ruby
nateberkopec has joined #ruby
<TieSoul> not so much a simulation
<TieSoul> actually
<TieSoul> I just wanted to sound fance
<TieSoul> fancy
<TieSoul> it's more of a "thing that moves with constant speed"
<TieSoul> not very complicated.
<jhass> so there are only ever two items in the array?
<TieSoul> yes.
AlSquirrel has quit [Quit: This computer has gone to sleep]
banjara has joined #ruby
threesixes has joined #ruby
nasj has joined #ruby
<jhass> I'd consider just coords[0] += delta[0] ; coords[1] += delta[1] (as two lines) then
Ayey_ has quit [Ping timeout: 260 seconds]
shoeballoon has quit [Quit: AtomicIRC: The nuclear option.]
<shevy> Mon_Ouie, how would that look when you wrote: "<Mon_Ouie> I usually do attr_accessor and alias the reader it creates" ? class Foo; attr_accessor :bar; alias bar? bar; end <--- like so?
<TieSoul> Alright
<threesixes> im already 25% at codecademy's ruby progress after 3 days of strolling through, pretty neat language
ndrei has joined #ruby
hellangel7 has quit [Remote host closed the connection]
tjr9898 has joined #ruby
<jhass> TieSoul: or using matrix stdlib
<Mon_Ouie> shevy: yeah
nateberkopec has quit [Ping timeout: 240 seconds]
banjara has quit [Ping timeout: 240 seconds]
<TieSoul> Matrix stdlib? I'll look at that, thanks.
nasj has quit [Remote host closed the connection]
maestrojed has quit [Quit: Computer has gone to sleep.]
<Mon_Ouie> TieSoul: Befunge?
aspires has joined #ruby
centipedefarmer has quit [Remote host closed the connection]
<TieSoul> Yup, Befunge.
<TieSoul> -98, to be exact.
sirecote has quit [Ping timeout: 245 seconds]
philcrissman has joined #ruby
Pharaoh2 has joined #ruby
<Mon_Ouie> I never couldn't commit to the task of implementing an esoteric language enough to respect the 98 spec :p
jjasonclark has quit [Quit: jjasonclark]
kireevco has quit [Quit: Leaving.]
<TieSoul> I've already done it in Python (not fully compliant though, there's an infinite loop when Mycology does some part, and I can't reproduce it, which is frustrating).
jayunit100 has quit [Quit: jayunit100]
<Mon_Ouie> I'm not sure I even understand how wrapping around works in Befunge98
<TieSoul> Now I'm redoing it in Ruby, and concurrent.
sheperson_ has joined #ruby
sheperson has quit [Ping timeout: 264 seconds]
sheperson_ is now known as sheperson
xxmicloxx has quit [Quit: Verlassend]
<TieSoul> Wrapping in b-98 works like this: If it reaches an edge, it reverses the delta and moves until it hits another edge, then it reverses the delta and continues.
nasj has joined #ruby
<shevy> threesixes 3 days of trolling???
<Mon_Ouie> Ah, I think the explanation on http://quadium.net/funge/spec98.html must have scared me
Pharaoh2 has quit [Ping timeout: 255 seconds]
<shevy> hmm
<shevy> when I have a string like "Fooooo bar.", is there a simple and elegant way to turn this into "Fooooo Bar."?
InfraRuby has left #ruby [#ruby]
<shevy> ah well
<shevy> .split(' ').map(&:capitalize).join(' ') shall do
skysploit has quit [Remote host closed the connection]
<TieSoul> erm, so how do I get the matrix library? I'm kind of a Ruby noob.
<jhass> require 'matrix'
<TieSoul> oh you need to use 'quotation marks'
aspires has quit []
InfraRuby has joined #ruby
philcrissman has quit [Remote host closed the connection]
sheperson has quit [Ping timeout: 250 seconds]
<Mon_Ouie> It works fine with "quotation marks" too, but it does need to be a string
kevkev____ has joined #ruby
justinv has quit [Remote host closed the connection]
mr_snowf1ake has joined #ruby
<TieSoul> so how do I import another file in the same directory? I have a file named "ip.rb", but when I use "require 'ip'" it throws an error.
tonyhb_ has quit [Quit: peace]
<TieSoul> Do I need to do something inside the other file to make it work?
<robscormack> require_relative './ip' doesn't work?
<TieSoul> lemme try that
<Mon_Ouie> If you're going to use require_relative it should be require_relative 'ip'
<TieSoul> yeah, that works
<TieSoul> thanks
<godd2> >> "Fooooo bar.".gsub!(/ (\b\w)/) {|m| " " + $1.upcase}
<eval-in> godd2 => "Fooooo Bar." (https://eval.in/174914)
<robscormack> Mon_Ouie yup, my bad.
aspires has joined #ruby
yoshie902a has joined #ruby
<godd2> there you go shevy, but be wary, it will capitalize any word following a space
<threesixes> sorry shevy i didn't write that down thats like leson 2 + 3 on codecademy its like .capitalize or something like that
<yoshie902a> anyone know any good tutorials for XACML in ruby
kevkev____ has quit [Ping timeout: 264 seconds]
e4xit has quit [Quit: e4xit]
Tricon has joined #ruby
timonv_ has quit [Remote host closed the connection]
SCHAAP137 has quit [Remote host closed the connection]
InfraRuby has left #ruby [#ruby]
<threesixes> shevy, .capitalize!
<wasamasa> yoshie902a: what's that even
bluOxigen has joined #ruby
<Mon_Ouie> threesixes: his problem was that he wanted to capitalize every word individually
mikesplain has joined #ruby
kireevco has joined #ruby
<robscormack> wasamasa: it's like OAuth2, only harder to handle and not scalable.
<wasamasa> robscormack: hmm, why would there only be no decent tutorials on it...
<robscormack> I don't have any good tutorials on it and for one, wouldn't recommend anything to connect with that.
<wasamasa> ah, I know why, it reeks of java and is xml
<wasamasa> therefore, throw the appropriate tools at it
uxp has quit [Remote host closed the connection]
<yoshie902a> wasamasa: o qoute from stackoverflow: “ With XACML, you can implement context-aware authorization that is policy-based. For instance you can write rules such as: managers can edit documents they own; doctors can view the medical record of patients they are assigned to”
Zenigor has quit [Remote host closed the connection]
<wasamasa> sounds yucky
mistergibson has joined #ruby
<yoshie902a> wasamasa: this is a good slide that explains it http://www.slideshare.net/DavidBrossard/authorization-its-not-just-about-who-you-are
<robscormack> it's like cancan on steroids.
<jhass> sounds like too much authorization in your authentication protocol
<wasamasa> wouldn't one solve that with relational databases
<wasamasa> or whatever else in the appropriate parts
<wasamasa> just giving the user the information he's supposed to see
<yoshie902a> wasamasa: I’m looking for best practices and good coding patterns
robbyoconnor has quit [Ping timeout: 260 seconds]
<wasamasa> yoshie902a: this is not #java
<yoshie902a> it can get yucky
Spami has quit [Quit: This computer has gone to sleep]
mikesplain has quit [Ping timeout: 240 seconds]
<yoshie902a> wasamasa: don’t get the java comment, explain
uxp has joined #ruby
<wasamasa> the more lower-level a programming language is, the more there's a need for programming patterns
jottr has joined #ruby
<wasamasa> java is pretty bad at this while ruby is quite good
georgelappies has quit [Remote host closed the connection]
<yoshie902a> wasamasa: or if you are dealing with many variables and need a clean organized way to manage them.
<wasamasa> nope
<wasamasa> use whatever abstractions your language provides, not what some hyped book thinks is good
Starless has quit [Ping timeout: 240 seconds]
<jhass> yoshie902a: like a hash?
<wasamasa> and since java intentionally limits you, you're fucked anyways
<wasamasa> heck, people prefer configuring java with xml
<wasamasa> instead of using something a bit more dynamic
<wasamasa> while the ruby world uses yaml for serialization
Starless has joined #ruby
<jhass> hm, there's much json these days
b00stfr3ak has joined #ruby
<robscormack> yaml 1.2 includes json as part of its standard.
<jhass> while Marshal uses a binary format
Xiti has quit [Changing host]
Xiti has joined #ruby
<yoshie902a> It’s a bit more complex
<robscormack> the problem with XML is that it is new era's Cobol: it's implemented everywhere and it takes a world to get rid of it.
<yoshie902a> check out the slide share I posted, might give you a better idea of what I’m looking for
bluOxigen has quit [Ping timeout: 255 seconds]
seamon has quit [Quit: Zzzzzzz]
Zenigor has joined #ruby
ndrei has quit [Remote host closed the connection]
ndrei has joined #ruby
wrist has joined #ruby
<robscormack> I MUST write a rant about JavaScript.
<robscormack> please? please? please?
elaptics is now known as elaptics`away
<pontiki> reddit awaits, robscormack
chrishough has quit [Quit: chrishough]
maletor has quit [Quit: Computer has gone to sleep.]
felgenh3 has joined #ruby
chihhsin_cloud has quit [Quit: Connection closed for inactivity]
<shevy> godd2 ewwwwww now that is ugly
<robscormack> I must make a confession, pontiki: I don't get reddit.
<eam> if you don't like javascript just disable it in your browser
<shevy> on reddit there are too many uneducated people
<shevy> educating them takes really a long, long time
<eam> shevy: it's the only way they'll improve though
<shevy> hehe
<eam> you used to be like that too, we all did
<eam> (and all still are)
<shevy> I was always great
wrist has quit [Ping timeout: 240 seconds]
<shevy> except when I used php
<shevy> I wrote functions that way:
<shevy> function FOO_BAR()
anaeem1__ has quit [Remote host closed the connection]
<threesixes> i dont like javascript because its not server side, and requires you to have it enabled
asmodlol has quit [Quit: Leaving]
vsoftoiletpaper has quit []
<robscormack> why on earth people don't have a standard way to write JavaScript or even a standard way to organise their code?
<shevy> it's more fun when people write free style
<threesixes> idk i like hierarchy, not schizophrenic messes
<eam> I don't know if you noticed but you're in #ruby
<robscormack> then, can we create rubyscript? :X
danijoo has quit [Read error: Connection reset by peer]
Starless has quit [Quit: Leaving]
danijoo_ has joined #ruby
<shevy> YES
<shevy> RUbY for the browser
<shevy> alert 'hello world!'
iliketurtles has joined #ruby
iliketurtles has quit [Remote host closed the connection]
<threesixes> chomp chomp chomp, i dont get it lol
<robscormack> jquery(document).get_element_by_id :carousel
banister has joined #ruby
nateberkopec has joined #ruby
kirun has quit [Quit: Client exiting]
axsuul has quit [Ping timeout: 256 seconds]
spider-mario has quit [Remote host closed the connection]
lisa__ has joined #ruby
<lisa__> hi
<lisa__> is there someone who is good in rails
<lisa__> i have a small question
<jhass> I'm pretty sure in #rubyonrails are some ;)
mostlybadfly has quit [Quit: Connection closed for inactivity]
<lisa__> ohh thanks :)
yoshie902a has quit [Quit: yoshie902a]
iliketurtles has joined #ruby
iliketurtles has quit [Remote host closed the connection]
bmurt has joined #ruby
<lisa__> can't join :/
mehlah has joined #ruby
<jhass> check /msg NickServ help
nateberkopec has quit [Ping timeout: 240 seconds]
Guest65447 has joined #ruby
TorpedoSkyline has joined #ruby
pierre1_ has joined #ruby
teddyp1cker has quit [Remote host closed the connection]
ftj has quit [Quit: Textual IRC Client: www.textualapp.com]
nasj has quit [Remote host closed the connection]
teddyp1cker has joined #ruby
mehlah has quit [Client Quit]
nasj has joined #ruby
centipedefarmer has joined #ruby
<lisa__> not very helpful
<jhass> you need to register with that and then identify
Zenigor has quit [Remote host closed the connection]
Zenigor has joined #ruby
<pontiki> robscormack: if not reddit, tumblr; if not tumblr, facebook; if not fb, g+; if not g+, twitter; if not twitter, livejournal :)
axsuul has joined #ruby
teddyp1cker has quit [Ping timeout: 240 seconds]
nasj has quit [Ping timeout: 245 seconds]
<pontiki> just use the ruby transpiler to get your ruby in the browser
centipedefarmer has quit [Ping timeout: 255 seconds]
<shevy> hmm
<shevy> we need opalrb
<shevy> to become part of firefox
mostlybadfly has joined #ruby
axl_ has joined #ruby
ndrei has quit [Ping timeout: 240 seconds]
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
axl_ has quit [Client Quit]
philcrissman has joined #ruby
TorpedoSkyline has joined #ruby
Tricon has quit [Quit: Leaving...]
lw has joined #ruby
lw has quit [Max SendQ exceeded]
jonr22 has joined #ruby
sputnik13 has joined #ruby
lw has joined #ruby
InfraRuby has joined #ruby
lw has quit [Max SendQ exceeded]
tectonic has quit []
fold has quit [Ping timeout: 260 seconds]
lw has joined #ruby
jonahR has joined #ruby
Xiti has quit [Quit: Leaving]
Xiti has joined #ruby
kevkev____ has joined #ruby
InfraRuby has left #ruby [#ruby]
jjasonclark has joined #ruby
yoshie902a has joined #ruby
kij__ has joined #ruby
jottr has quit [Ping timeout: 250 seconds]
loofer has joined #ruby
mijicd has joined #ruby
rlazoti has joined #ruby
lq has joined #ruby
kevkev____ has quit [Ping timeout: 260 seconds]
skysploit has joined #ruby
skysploit has joined #ruby
philcrissman has quit [Remote host closed the connection]
jhass is now known as jhass|off
philcrissman has joined #ruby
chrishough has joined #ruby
w09x has joined #ruby
<mistergibson> I wish ruby would take code examples from OpenJDK, a fine working example, and implement true threads. It would kick ass then.
Cache_Money has quit [Quit: Cache_Money]
andrewlio has joined #ruby
andrewlio has quit [Client Quit]
gruz0[russia] has joined #ruby
mikesplain has joined #ruby
nobodyzzz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
philcrissman has quit [Ping timeout: 250 seconds]
skysploit has quit [Remote host closed the connection]
mupkoo has quit [Remote host closed the connection]
sputnik13 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
Petru has quit [Quit: Leaving]
queequeg1 has quit [Ping timeout: 256 seconds]
codecop_ has quit [Remote host closed the connection]
axl_ has joined #ruby
goshdarnyou has quit [Quit: Connection closed for inactivity]
mikesplain has quit [Ping timeout: 256 seconds]
axl_ has quit [Client Quit]
jjasonclark has quit [Quit: jjasonclark]
vsoftoiletpaper has joined #ruby
Zenigor has quit [Remote host closed the connection]
Blue_Ice has quit [Ping timeout: 250 seconds]
Zenigor has joined #ruby
bmurt has quit []
Lexun has quit [Quit: Manjaro-KDE user leaving!]
kyb3r_ has joined #ruby
robbyoconnor has joined #ruby
Lexun has joined #ruby
reset has joined #ruby
queequeg1 has joined #ruby
existensil has joined #ruby
vifino has quit [Quit: Ze Cat now leaves...]
mehlah has joined #ruby
centipedefarmer has joined #ruby
centipedefarmer has quit [Remote host closed the connection]
marr has joined #ruby
centipedefarmer has joined #ruby
Zenigor has quit [Ping timeout: 250 seconds]
robbyoconnor has quit [Ping timeout: 240 seconds]
skysploit has joined #ruby
skysploit has quit [Remote host closed the connection]
gypsydave5 has quit [Quit: Lost terminal]
boom has quit [Read error: Connection reset by peer]
mehlah has quit [Quit: Leaving...]
centipedefarmer has quit [Ping timeout: 250 seconds]
towbes has joined #ruby
jjasonclark has joined #ruby
wrist has joined #ruby
ziprar has joined #ruby
ziprar has joined #ruby
lq has quit [Quit: leaving]
jayunit100 has joined #ruby
pr0t has joined #ruby
<pontiki> have at it, mistergibson
jonahR has quit [Remote host closed the connection]
reset has quit [Quit: Leaving...]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lw has quit [Quit: s]
oo_ has joined #ruby
TorpedoSkyline has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zipace has quit [Ping timeout: 256 seconds]
wrist has quit [Ping timeout: 245 seconds]
<mistergibson> :)
Shidash has quit [Ping timeout: 260 seconds]
saarinen has joined #ruby
robscormack has quit [Quit: gotta run!]
robbyoconnor has joined #ruby
oo_ has quit [Ping timeout: 255 seconds]
Fezzler has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
jottr has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
bradleyprice has joined #ruby
mehlah has joined #ruby
nateberkopec has joined #ruby
yoshie902a has quit [Quit: yoshie902a]
jonr22 has quit [Ping timeout: 255 seconds]
benzrf is now known as test
test is now known as benzrf
yoshie902a has joined #ruby
phoo1234567 has quit [Quit: Leaving]
Cache_Money has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
jjasonclark has quit [Quit: jjasonclark]
Fezzler has quit [Quit: Leaving]
b00stfr3ak has quit [Ping timeout: 256 seconds]
pr0t has quit [Remote host closed the connection]
Solnse has joined #ruby
pr0t has joined #ruby
qpls_ is now known as qpls
blackmesa has joined #ruby
agrinb has joined #ruby
jjasonclark has joined #ruby
TieSoul has quit [Ping timeout: 255 seconds]
nopolitica has quit [Ping timeout: 255 seconds]
Channel6 has joined #ruby
tylerkern has joined #ruby
agrinb has quit [Ping timeout: 240 seconds]
kumarat9pm has left #ruby [#ruby]
kevkev____ has joined #ruby
agrinb has joined #ruby
mupkoo has joined #ruby
m8 has quit [Read error: Connection reset by peer]
Ankhers has joined #ruby
centipedefarmer has joined #ruby
maletor has joined #ruby
kevkev____ has quit [Ping timeout: 250 seconds]
lidaaa has joined #ruby
<shevy> I am going to quiz you people
<shevy> what does Array#pop do
<centrx> It poops out an element
mechanicalduck_ has joined #ruby
jonahR has joined #ruby
centipedefarmer has quit [Ping timeout: 255 seconds]
mechanicalduck has quit [Ping timeout: 272 seconds]
<pontiki> same as Array#scat ?
saarinen has quit [Quit: saarinen]
frankle has quit [Quit: Connection closed for inactivity]
mikesplain has joined #ruby
amclain has joined #ruby
duncannz has joined #ruby
<shevy> NoMethodError: undefined method `scat' for ["a", "b", "c", "d", "e", "f", "g", "b", "h", "i"]:Array
<shevy> pontiki!
nasj has joined #ruby
mikesplain has quit [Ping timeout: 256 seconds]
<pontiki> i see the joke eludes you
yoshie902a has quit [Quit: yoshie902a]
<eam> method_pissing
JoshGlzBrk has joined #ruby
larissa has quit [Quit: Leaving]
Solnse has quit [Ping timeout: 256 seconds]
qrohlf has joined #ruby
nasj has quit [Ping timeout: 260 seconds]
andrewjanssen has joined #ruby
jmc75 has joined #ruby
jmc75 has left #ruby [#ruby]
<mistergibson> [0, 1, 2, 3].pop => 0
mupkoo has quit []
<Nowaker> mistergibson: somebody overwrote .pop method on Array?
centrx has quit [Quit: Mead error: Connection reset by beer]
klaut has joined #ruby
patrick99e99 has joined #ruby
wrist has joined #ruby
klaut has quit [Remote host closed the connection]
zenojis has quit [Ping timeout: 240 seconds]
klaut has joined #ruby
<shevy> lol
<shevy> method_pissing
silentpost has joined #ruby
<shevy> it's used when it is toilet time
jayunit100 has quit [Quit: jayunit100]
wrist has quit [Ping timeout: 255 seconds]
patrick99e99 has quit [Ping timeout: 255 seconds]
<mistergibson> err.. => 3 - I'm smoking dope
p0sixpscl has joined #ruby
<shevy> that is good mistergibson
zenojis has joined #ruby
jamto11 has joined #ruby
zenojis has quit [Ping timeout: 240 seconds]
nateberkopec has joined #ruby
rlazoti has quit [Quit: Lingo - http://www.lingoirc.com]
p0sixpscl has quit [Ping timeout: 250 seconds]
InfraRuby has joined #ruby
philcrissman has joined #ruby
nateberkopec has quit [Ping timeout: 240 seconds]
<shevy> is .slice() giving me any advantage over [] ?
<shevy> oops
<shevy> docu says synonym
gr33n7007h has joined #ruby
zenojis has joined #ruby
<drizz> you probably save µ1s on the name lookup though!
teddyp1cker has joined #ruby
<drizz> 1µs even
axl_ has joined #ruby
axl_ has quit [Client Quit]
philcrissman has quit [Ping timeout: 255 seconds]
seamon has joined #ruby
zenojis has quit [Ping timeout: 240 seconds]
spastorino has quit [Quit: Connection closed for inactivity]
teddyp1cker has quit [Ping timeout: 244 seconds]
<shevy> a what?
<shevy> a sus?
<shevy> oh
<shevy> a micro second
justinv has joined #ruby
tenseiten is now known as seitensei
seitensei has quit [Changing host]
seitensei has joined #ruby
chrishough has quit [Quit: chrishough]
IceDragon has quit [Remote host closed the connection]
chrishough has joined #ruby
zenojis has joined #ruby
pierre1_ has quit [Ping timeout: 255 seconds]
neersighted has quit []
neersighted has joined #ruby
zenojis has quit [Ping timeout: 240 seconds]