havenwood changed the topic of #ruby to: Rules & more: http://ruby-community.com || Ruby 2.3.0; 2.2.4; 2.1.8; 2.0.0-p648: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org/ruby/
firstdayonthejob has quit [Ping timeout: 264 seconds]
blackgoat has quit [Quit: WeeChat 1.3]
ElFerna_ has quit [Ping timeout: 260 seconds]
juanfra has joined #ruby
ElFerna_ has joined #ruby
veleno has quit [Quit: veleno]
bronson has joined #ruby
bruce_lee has quit [Remote host closed the connection]
ljames has joined #ruby
wwwbukolaycom has joined #ruby
theery has joined #ruby
davedev24 has quit [Remote host closed the connection]
barajasfab has joined #ruby
Ox0dea has quit [Ping timeout: 252 seconds]
ur5us has quit [Remote host closed the connection]
roshanavand has joined #ruby
Gnut has quit [Ping timeout: 264 seconds]
trinaldi has joined #ruby
DEA7TH has quit [Quit: DEA7TH]
theery has quit []
roshanavand has quit [Ping timeout: 260 seconds]
trinaldi has quit [Client Quit]
symm- has quit [Quit: Leaving...]
TomPeed has joined #ruby
rubywarrior has quit [Quit: rubywarrior]
cdg has quit [Remote host closed the connection]
eljimmy has joined #ruby
rubywarrior has joined #ruby
dlitvak has joined #ruby
Ox0dea has joined #ruby
pdoherty has quit [Ping timeout: 272 seconds]
ysz has quit [Quit: This computer has gone to sleep]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dlitvak has quit [Remote host closed the connection]
duckpuppy has joined #ruby
nofxx has quit [Ping timeout: 240 seconds]
nofxx has joined #ruby
nofxx has joined #ruby
nofxx has quit [Changing host]
bkxd has joined #ruby
chouhoulis has quit [Ping timeout: 248 seconds]
LuckyABA has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hahuang61 has quit [Ping timeout: 240 seconds]
duckpuppy has quit [Ping timeout: 256 seconds]
asccigcc has quit [Quit: asccigcc]
dopie has joined #ruby
idefine has joined #ruby
andrew_ has joined #ruby
bkxd has quit [Ping timeout: 240 seconds]
cjbottaro has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jottr has joined #ruby
idefine has quit [Ping timeout: 240 seconds]
bkxd has joined #ruby
jackjackdripper1 has quit [Quit: Leaving.]
rubywarrior has quit [Quit: rubywarrior]
NeckBeardPrince has quit [Quit: Textual IRC Client: www.textualapp.com]
edwinvdgraaf has quit [Read error: Connection reset by peer]
edwinvdgraaf has joined #ruby
ryanwinchester is now known as ryanw|away
x86-__ has joined #ruby
aupadhye has joined #ruby
KensoDev has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nanoz has joined #ruby
hayden_ has quit [Quit: Connection closed for inactivity]
kies^ has joined #ruby
jottr has quit [Ping timeout: 252 seconds]
kirun has quit [Quit: Client exiting]
kirillzh has joined #ruby
jottr has joined #ruby
aupadhye has quit [Ping timeout: 240 seconds]
Oog_ has joined #ruby
aupadhye has joined #ruby
aupadhye has quit [Client Quit]
kmckelvin has quit [Ping timeout: 264 seconds]
aupadhye has joined #ruby
lapide_viridi has quit [Quit: Leaving]
kmckelvin has joined #ruby
Azure has joined #ruby
ur5us has joined #ruby
Limix has quit [Quit: Limix]
karapetyan has joined #ruby
rubywarrior has joined #ruby
kmckelvin has quit [Ping timeout: 260 seconds]
bkxd has quit [Ping timeout: 250 seconds]
andrew_ has quit [Remote host closed the connection]
andrew has joined #ruby
jottr has quit [Ping timeout: 260 seconds]
PlasmaStar has quit [Ping timeout: 260 seconds]
Limix has joined #ruby
Sucks has joined #ruby
ur5us has quit [Ping timeout: 272 seconds]
Jardayn has quit [Quit: Leaving]
Limix has quit [Client Quit]
beast has joined #ruby
stannard has joined #ruby
mistermocha has joined #ruby
ico has quit [Remote host closed the connection]
PlasmaStar has joined #ruby
kirillzh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Ebok has joined #ruby
stannard has quit [Ping timeout: 276 seconds]
TomPeed has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
TomyLobo has quit [Ping timeout: 240 seconds]
al2o3-cr has quit [Ping timeout: 248 seconds]
Limix has joined #ruby
avahey has joined #ruby
FooMunki has quit [Quit: FooMunki]
marr has quit [Remote host closed the connection]
johnmilton has quit [Ping timeout: 240 seconds]
johnmilton has joined #ruby
ElFerna_ has quit [Ping timeout: 260 seconds]
weemsledeux has joined #ruby
becker_11 has joined #ruby
<becker_11> Hi, I'm very new to ruby and am trying to install a gem on macosx 10.11 but I'm encountering a write permisisions error which seems to be caused by changes to osx between this version and the last.
<becker_11> I'd very much appreciate some insight into how ppl are resolving this issue?
Youngmathimus0 has quit [Ping timeout: 276 seconds]
sneakerhax has quit [Quit: back later]
<eam> becker_11: you'll probably want to share the details of the error
marxarelli has quit [Quit: Textual IRC Client: www.textualapp.com]
<becker_11> gem install tmuxinator
<becker_11> Fetching: thor-0.19.1.gem (100%)
<becker_11> ERROR: While executing gem ... (Gem::FilePermissionError)
<becker_11> You don't have write permissions for the /Library/Ruby/Gems/2.0.0 directory.
kmckelvin has joined #ruby
Oog_ has quit []
podman has quit [Quit: Connection closed for inactivity]
<becker_11> From searching online it appears to be related to System Integrity Protection which is a new thing in 10.11
<Ebok> I've been able to write gems just fine in 10.11
duckpuppy has joined #ruby
<Ebok> I realize that's not overly helpful to you
idefine has joined #ruby
<Ebok> Just that it suggests it might be an edge case.
<becker_11> Ebok: I get the same issues with Homebrew and have to run sudo chown every damn time I do anything
<Ebok> Well yeah, I suspect they're all the exact same issue
<Ebok> You or your current account isnt listed as the admin for those files.
<eam> becker_11: you can set GEM_HOME to tell ruby to install gems somewhere else
<eam> the path /Library is a system path, which will require root
<becker_11> Ebok: stackover flow just mentioned giving up on the system ruby and installing a seperate instance with rbenv
<Ebok> hm.
<eam> yeah, going the way of a ruby manager is probably ideal
<eam> or you can bundle
<eam> bundler is a nice way to have different gemsets per application
rubywarrior has quit [Quit: rubywarrior]
floror has quit [Quit: floror]
<becker_11> Normally I'd jump at the chance to install something from scratch but today is literaly the first time I've ever looked at Ruby so I have no idea what I'm doing
idefine has quit [Remote host closed the connection]
<eam> becker_11: try this: GEM_HOME=$HOME/.gems gem install tmuxinator
<eam> (and then make sure to set GEM_HOME=$HOME/.gems always afterwards)
ryanw|away is now known as ryanwinchester
pandaant has quit [Remote host closed the connection]
<becker_11> okay, trying it
Limix has quit [Quit: Limix]
<becker_11> yep worked a treat
n00bdev has joined #ruby
<Ebok> Actually I might as well ask. I've been playing around with my home setup, which up to now has been basically vanilla. And I've been installing gems as needed per instance of console that I ned it on. I haven't actually every change any default setting for my console, its display, or preloaded (or always loaded gems). The question: Does anyone here recommend certain changes that might be cool to look over? Things that you find make your life
<Ebok> easier? Or simple know where I can get some solid instructions about how to setup these defaults myself.
<eam> becker_11: put export GEM_HOME=$HOME/.gems in your .bashrc now
duckpuppy has quit [Ping timeout: 248 seconds]
rubywarrior has joined #ruby
<eam> so it'll always be set
<eam> becker_11: this is a hack - later, swap it out for rbenv
<eam> that'll basically do what this does, but a whole lot more too
<becker_11> eam: will do
mistermocha has quit []
<becker_11> I found a install guide online but it's for installing ruby on rails with rbenv is that a different kind of ruby?
agent_white has quit [Ping timeout: 240 seconds]
<eam> rbenv is a framework for managing multiple versions of ruby installed into your home directory
<eam> it lets you have full control over what's going on, as well as not depending on system thing (which need sudo to modify)
<Ebok> It'll work. You can always choose to stop when you get to rails. I'd just make sure you're getting the latest versions of them.
jottr has joined #ruby
<becker_11> eam would you recommend I follow https://gorails.com/setup/osx/10.11-el-capitan ? then?
<eam> becker_11: looks about right
mistermocha has joined #ruby
stevemackinnon has joined #ruby
zeroDivisible has quit [Quit: WeeChat 1.3]
mistermocha has quit [Client Quit]
s00pcan has joined #ruby
dlitvak has joined #ruby
JammyHammy has joined #ruby
Xiti has quit [Quit: Xiti]
UtkarshRay has joined #ruby
kmckelvin has quit [Ping timeout: 240 seconds]
ryanwinchester is now known as ryanw|away
ryanw|away is now known as ryanwinchester
Xiti has joined #ruby
baweaver has quit [Remote host closed the connection]
benlieb has quit [Quit: benlieb]
AnonRecluse13 has quit [Remote host closed the connection]
andrew has quit [Remote host closed the connection]
scripore has quit [Quit: This computer has gone to sleep]
ferr has quit [Ping timeout: 240 seconds]
maletor has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
platzhirsch has left #ruby [#ruby]
andrew_ has joined #ruby
chipotle has quit [Quit: cheerio]
stevemackinnon has quit [Remote host closed the connection]
chipotle has joined #ruby
scripore has joined #ruby
scripore has quit [Max SendQ exceeded]
s00pcan has quit [Quit: Lost terminal]
scripore has joined #ruby
s00pcan has joined #ruby
ItSANgo_ has quit [Quit: Leaving...]
Youngmathimus0 has joined #ruby
s00pcan has quit [Remote host closed the connection]
s00pcan has joined #ruby
s00pcan has quit [Read error: Connection reset by peer]
s00pcan has joined #ruby
chouhoulis has joined #ruby
SenpaiSilver has joined #ruby
andrew_ has quit [Remote host closed the connection]
s00pcan has quit [Read error: Connection reset by peer]
s00pcan has joined #ruby
rkazak has joined #ruby
s00pcan has quit [Read error: Connection reset by peer]
s00pcan has joined #ruby
Cohedrin has joined #ruby
s00pcan has quit [Remote host closed the connection]
x77686d has quit [Quit: x77686d]
s00pcan has joined #ruby
flaccid has joined #ruby
<flaccid> hey guys, i was just wondering if anyone knows how to exclude files in gemspec bindir? i have a hidden file that shouldn’t be included...
Sucks has quit [Ping timeout: 240 seconds]
Sucks has joined #ruby
segy has quit [Ping timeout: 256 seconds]
atomical has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
symm- has joined #ruby
segy has joined #ruby
ItSANgo has joined #ruby
duckpuppy has joined #ruby
s00pcan has quit [Read error: Connection reset by peer]
s00pcan has joined #ruby
andrew_ has joined #ruby
ph has joined #ruby
ph has left #ruby [#ruby]
ph has joined #ruby
ph is now known as Guest30879
<shevy> flaccid it is just ruby code
<shevy> e. g. array.reject! {|entry| entry.start_with? '.' }
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
Guest30879 is now known as ph0
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
<shevy> hmm perhaps they did not consider this option
bkxd has joined #ruby
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
duckpuppy has quit [Ping timeout: 252 seconds]
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
<shevy> speficication.rb has this: def bin_dir; @bin_dir ||= File.join gem_dir, bindir
jottr_ has joined #ruby
<flaccid> actually this is the right way
<flaccid> s.bindir = 'bin'
<flaccid> s.executables = Dir.entries(s.bindir) - ['.', '..', '.gitignore', '.rubocop.yml']
<shevy> yay! \o/
s00pcan has quit [Remote host closed the connection]
<flaccid> :)
s00pcan has joined #ruby
davedev24 has joined #ruby
dlitvak_ has joined #ruby
jottr has quit [Ping timeout: 276 seconds]
ph0 has quit [Ping timeout: 252 seconds]
n00bdev has quit [Remote host closed the connection]
dlitvak has quit [Ping timeout: 260 seconds]
ryanwinchester is now known as ryanw|away
SenpaiSilver has quit [Read error: Connection reset by peer]
frem has quit [Quit: Connection closed for inactivity]
dseitz has joined #ruby
godzillaenlacasa has quit [Quit: ZZZZZ....]
Ebok has quit [Quit: Textual IRC Client: www.textualapp.com]
Domaldel has joined #ruby
bkxd has quit [Ping timeout: 276 seconds]
Domaldel has quit [Client Quit]
Dimik has quit [Ping timeout: 260 seconds]
TomPeed has joined #ruby
cjbottaro has joined #ruby
cjbottaro has quit [Max SendQ exceeded]
<havenwood> flaccid: Just another way to do it (if you like ignoring any additional dotfiles): Dir.chdir(s.bindir) { Dir['*'] }
Guest38 has joined #ruby
<flaccid> havenwood: ah i see! thanks
jottr_ has quit [Ping timeout: 240 seconds]
roshanavand has joined #ruby
<havenwood> flaccid: np, or if you prefer: Dir[File.join s.bindir, '*'].map { |path| File.basename path }
becker_12 has joined #ruby
<flaccid> oh dangs
Guest38 has quit [Max SendQ exceeded]
becker_11 has quit [Ping timeout: 264 seconds]
<havenwood> flaccid: or just to use a feature introduced in Ruby 2.3 for fun: Dir.entries(s.bindir).grep_v /^\./
roshanavand has quit [Ping timeout: 248 seconds]
<flaccid> interesting. as always ruby 1322424 ways to do the same thing :)
<havenwood> TIMTOWTDI :)
ryanw|away is now known as ryanwinchester
TomPeed has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ryanwinchester has left #ruby ["Laters"]
UtkarshRay has quit [Remote host closed the connection]
baweaver has joined #ruby
agent_white has joined #ruby
Timberwo|f has quit [Quit: Sleep.]
becker_12 has quit [Ping timeout: 264 seconds]
Limix has joined #ruby
benlieb has joined #ruby
edwinvdgraaf has quit [Ping timeout: 240 seconds]
baweaver has quit [Ping timeout: 250 seconds]
nettoweb has joined #ruby
LoneHerm_ has joined #ruby
becker_12 has joined #ruby
dlitvak_ has quit [Ping timeout: 240 seconds]
y2mq37 has joined #ruby
<Ox0dea> flaccid: That looks a little low.
sankaber has joined #ruby
<flaccid> gotta get down to get up
ferr has joined #ruby
RegulationD has joined #ruby
Bloomer has joined #ruby
saneax is now known as saneax_AFK
Kallis has quit [Read error: Connection reset by peer]
<slash_nick> havenwood: what's that?
<slash_nick> timtowtdi?
<Ox0dea> slash_nick: For shame.
* slash_nick googles.
<slash_nick> ah.
<Ox0dea> >> String.send :private, :+@; +'foo' rescue $! # Heh.
tatsuo has joined #ruby
<ruby[bot]> Ox0dea: # => #<NoMethodError: private method `+@' called for "foo":String ...check link for more (https://eval.in/518094)
<slash_nick> That was easy. nevermind havenwood :) Ox0dea shamed me into checking for myself
ixti has quit [Quit: WeeChat 1.4]
dlitvak has joined #ruby
RegulationD has quit [Ping timeout: 250 seconds]
<Ox0dea> apeiros: Maybe disable did_you_mean for?
<Ox0dea> *for ruby[bot].
<Ox0dea> Also, what even is `+>`?
graffix222 has quit [Ping timeout: 250 seconds]
<Ox0dea> Looks like an eval.in bug.
LoneHerm_ has quit [Remote host closed the connection]
graffix222 has joined #ruby
<shevy> a new operator!
<shevy> the brother to ->
<Ox0dea> That's not an operator. :P
<slash_nick> ah... that's not spikey lambda... that's flower lambda and deflowered lambda
<slash_nick> +> flowered... -> deflowered
<Ox0dea> >> class Proc; alias +@ dup; end; +->{} # Close enough?
<ruby[bot]> Ox0dea: # => #<Proc:0x4080da50@/tmp/execpad-5dc43305c8fb/source-5dc43305c8fb:2 (lambda)> (https://eval.in/518095)
<shevy> slash_nick lol
<shevy> intermediate flower operator ~>
nodejunkie has joined #ruby
<Ox0dea> >> def <=>; end <=>->{} # idontevenknow
<ruby[bot]> Ox0dea: # => nil (https://eval.in/518096)
duckpuppy has joined #ruby
bb010g has quit [Quit: Connection closed for inactivity]
x77686d has joined #ruby
<shevy> lol
x77686d has quit [Client Quit]
Bloomer has quit [Remote host closed the connection]
LoneHerm_ has joined #ruby
rubywarrior has quit [Quit: rubywarrior]
duckpuppy has quit [Ping timeout: 264 seconds]
andrew_ has quit [Remote host closed the connection]
Steve_Jo1 has quit [Read error: Connection reset by peer]
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Steve_Jo1 has joined #ruby
rubywarrior has joined #ruby
<akkad> is there a faster way to do this? https://gist.github.com/9bb6e9a7063ae0b909fa
kmckelvin has joined #ruby
<Ox0dea> Holy!
<akkad> exactly
<Ox0dea> &ri Array#permutation @akkad
Limix has quit [Quit: Limix]
<Ox0dea> Er, you probably want #repeated_combination, but that's in there as well.
elifoster has quit [Ping timeout: 256 seconds]
<Ox0dea> Also, God killed a kitten because you used `split("")` instead of `chars`.
andrew_ has joined #ruby
DmitryBochkarev has joined #ruby
<akkad> in the old days...
<Ox0dea> Pardon?
<Ox0dea> That kitten is definitely dead.
andrew_ has quit [Remote host closed the connection]
<Ox0dea> akkad: You know that's >145 million combinations, right?
darwingr has joined #ruby
duncannz has joined #ruby
<akkad> mychars.chars.permutation(2).each {|x| puts x.to_a.join}
raldu has joined #ruby
<akkad> I hope so.
kmckelvin has quit [Ping timeout: 276 seconds]
<Ox0dea> Nah, you do want #repeated_combination.
scripore has quit [Quit: This computer has gone to sleep]
andrew_ has joined #ruby
Tempesta has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
rsc___ has joined #ruby
darwingr has quit [Ping timeout: 272 seconds]
tatsuo has quit [Remote host closed the connection]
dlitvak_ has joined #ruby
floror has joined #ruby
dlitvak has quit [Ping timeout: 264 seconds]
andrew_ has quit []
blackmesa has quit [Ping timeout: 240 seconds]
baweaver has joined #ruby
tatsuo has joined #ruby
johnmilton has quit [Quit: Namaste]
symm- has quit [Ping timeout: 272 seconds]
dexter-tzu has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rakm has joined #ruby
braincrash has quit [Quit: bye bye]
baweaver has quit [Ping timeout: 264 seconds]
tatsuo has quit [Ping timeout: 250 seconds]
nfk has quit [Quit: Try memory.free_dirty_pages=true in about:config]
scripore has joined #ruby
dexter-tzu has quit [Ping timeout: 264 seconds]
treaki has quit [Ping timeout: 240 seconds]
treaki has joined #ruby
rakm has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sdothum has quit [Read error: Connection reset by peer]
braincrash has joined #ruby
dexter-tzu has joined #ruby
sdothum has joined #ruby
beast has quit [Quit: Leaving]
<slash_nick> lol
cdg has joined #ruby
<slash_nick> akkad: can you divide and conquer?
x77686d has joined #ruby
<slash_nick> hahaha
nanoz has quit [Ping timeout: 264 seconds]
nodejunkie has quit [Ping timeout: 252 seconds]
UtkarshRay has joined #ruby
rubywarrior has quit [Quit: rubywarrior]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
lessless has joined #ruby
rubywarrior has joined #ruby
duckpuppy has joined #ruby
avahey has quit [Quit: Connection closed for inactivity]
gix has quit [Ping timeout: 260 seconds]
Trieste has quit [Ping timeout: 264 seconds]
konsolebox has joined #ruby
duckpuppy has quit [Ping timeout: 252 seconds]
rhg135 has quit [Quit: ZNC - http://znc.in - making IRC 20% cooler]
rhg135 has joined #ruby
gix has joined #ruby
flaccid has left #ruby [#ruby]
cdg has quit [Remote host closed the connection]
rubywarrior has quit [Quit: rubywarrior]
rubywarrior has joined #ruby
rubywarrior has quit [Client Quit]
Sucks has quit [Read error: Connection reset by peer]
idefine has joined #ruby
david____ has joined #ruby
<david____> Why does this output nil? https://gist.github.com/dcki/06e392b3f53fc8b05ccd
idefine has quit [Ping timeout: 240 seconds]
<david____> And/or is there a good tutorial for this?
<Ox0dea> david____: Line 7 is invoking the getter defined by #attr_accessor, returning the value of the @b instance variable in this case.
B1n4r10 has joined #ruby
<Ox0dea> Instance variables default to `nil`, and you haven't actually set the value of @b here.
<david____> Why is @b not set in initialize?
blackmesa has joined #ruby
<Ox0dea> `foo = bar` is always local variable assignment.
<Ox0dea> You'll have to say either `@b = 1` or `self.b = 1`.
dlitvak_ has quit [Ping timeout: 276 seconds]
kirillzh has joined #ruby
<david____> What if I `def b=(b); @b = b; end`? Then what I have in initialize would work, right?
<Ox0dea> `attr_accessor` gave you that method for free.
<Ox0dea> `foo = bar` is always local variable assignment.
<david____> Okay, makes sense. Thank you so much!
<Ox0dea> Happy to help. :)
<Ox0dea> Please don't be afraid to use instance variables.
perrier_ has quit [Read error: Connection reset by peer]
perrier_ has joined #ruby
LoneHerm_ has joined #ruby
dlitvak has joined #ruby
<david____> That seems like good advice.
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
LoneHerm_ has quit [Ping timeout: 240 seconds]
dlitvak has quit [Remote host closed the connection]
ItSANgo has quit [Quit: Leaving...]
rubywarrior has joined #ruby
UtkarshRay has quit [Remote host closed the connection]
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
quakephil has quit [Ping timeout: 276 seconds]
quakephil has joined #ruby
ferr has quit [Ping timeout: 264 seconds]
babblebre has quit [Quit: Connection closed for inactivity]
zast has joined #ruby
quakephil has quit [Ping timeout: 256 seconds]
david____ has quit [Remote host closed the connection]
ItSANgo has joined #ruby
terminalrecluse has joined #ruby
duckpuppy has joined #ruby
blackmesa has quit [Ping timeout: 272 seconds]
ferr has joined #ruby
UtkarshRay has joined #ruby
duckpuppy has quit [Ping timeout: 248 seconds]
roshanavand has joined #ruby
Trieste has joined #ruby
chipotle has quit [Ping timeout: 240 seconds]
chipotle has joined #ruby
tatsuo has joined #ruby
zenergi has quit [Ping timeout: 264 seconds]
zenergi has joined #ruby
roshanavand has quit [Ping timeout: 252 seconds]
kmckelvin has joined #ruby
moeabdol1 has joined #ruby
solocshaw has quit [Ping timeout: 250 seconds]
davedev24 has quit []
kmckelvin has quit [Ping timeout: 276 seconds]
LuckyABA has joined #ruby
minimalism has joined #ruby
arthropododo has quit [Quit: Leaving]
rubywarrior has quit [Quit: rubywarrior]
chipotle has quit [Ping timeout: 240 seconds]
kmckelvin has joined #ruby
elifoster has joined #ruby
moeabdol1 has quit [Ping timeout: 252 seconds]
moeabdol1 has joined #ruby
kmckelvin has quit [Ping timeout: 276 seconds]
chipotle has joined #ruby
adgtl_ has joined #ruby
baweaver has joined #ruby
Guest79083 has quit [Remote host closed the connection]
baweaver has quit [Ping timeout: 250 seconds]
speakingcode has quit [Ping timeout: 250 seconds]
Youngmathimus0 has quit [Ping timeout: 276 seconds]
Youngmathimus0 has joined #ruby
Dimik has joined #ruby
speakingcode has joined #ruby
bronson has quit [Remote host closed the connection]
Meow-J has quit [Quit: Connection closed for inactivity]
eljimmy has quit [Quit: This computer has gone to sleep]
cxmu has joined #ruby
graffix222 has quit [Ping timeout: 250 seconds]
<cxmu> is ruby a dead language
dionysus69 has joined #ruby
becker_12 has quit [Ping timeout: 240 seconds]
blackmesa has joined #ruby
Bloomer has joined #ruby
<cxmu> anyone here
<cxmu> helloooo
LoneHermit has joined #ruby
arlek has joined #ruby
graffix222 has joined #ruby
becker_12 has joined #ruby
duckpuppy has joined #ruby
yfeldblum has quit [Remote host closed the connection]
LoneHermit has quit [Ping timeout: 264 seconds]
<cxmu> anyone here?
duckpuppy has quit [Ping timeout: 240 seconds]
tatsuo has quit [Remote host closed the connection]
hahuang61 has joined #ruby
<havenwood> cxmu: What? No. But 2014 is a year in the past.
<havenwood> cxmu: Live in the now. (Where Ruby is one of the most popular programming language.)
<cxmu> recently a new VP joined my company and decided we would go from .NET to Ruby
<cxmu> this has been a .NET company for 5 years
<cxmu> i don't know ruby, i've taken a look at it, and it looks absolutely terrible (not trolling)
jackjackdripper has joined #ruby
<cxmu> i dont want to write unit tests to catch runtime errors that should be caught by a compiler :\
<havenwood> cxmu: Well, it's not C#. So if you're wanting it to be C# it's not going to make you happy.
<cxmu> i dont feel that ruby is appropriate for an enterprise product.
<cxmu> and that it is expensive to scale.
<havenwood> cxmu: C# on the other hand is very similar to C#.
benlieb has quit [Quit: benlieb]
hahuang61 has quit [Ping timeout: 252 seconds]
<cxmu> i think ruby, in fact, is only suited for videogame scripting.
<cxmu> and that RoR is just as bad as Node.js when it comes to choosing trendy over functional
zast has quit [Remote host closed the connection]
<havenwood> cxmu: Folk who deploy Ruby at scale would disagree. You can think C# is only suited for toasters and that doesn't make it so.
<cxmu> i can do in C# in 2 hours what takes apparently 2 weeks with ruby.
yfeldblum has joined #ruby
<havenwood> cxmu: Sounds like you're a C# programmer.
<cxmu> yeah. sounds like it.
<cxmu> i guess my only recourse is to find another job.
<havenwood> cxmu: Or stop being so rigid and learn some nice modern langs.
<cxmu> C# is more modern than ruby?
<havenwood> cxmu: You might find your productivity increases once you've learned a language.
<cxmu> ruby is 21 years old, is 16
<cxmu> C#
<Youngmathimus0> Ruby isn't hard to pick up
<cxmu> yeah i know it's not hard
<cxmu> but i feel like it isn't useful to learn.
<cxmu> i am looking to be proven wrong
<Youngmathimus0> well...
elifoster has quit [Ping timeout: 276 seconds]
<havenwood> cxmu: I don't believe you.
<cxmu> it just reminds me of a verbose VB.NET imho
<cxmu> or coldfusionMX
<cxmu> mixed with perl
<Youngmathimus0> you don't sound like you've ever seen ruby
<havenwood> ^
<cxmu> I looked at the rails source code dude
<Youngmathimus0> ruby != rails
<cxmu> i was not impressed at all
<cxmu> ok, let me ask this question then
<cxmu> is rails dead?
creat has quit [Remote host closed the connection]
<Youngmathimus0> lol
<havenwood> cxmu: No. Stop trolling.
<cxmu> im not
adgtl_ has quit [Remote host closed the connection]
<cxmu> rails literally looks like ASP.Net and VB
<Youngmathimus0> If you live where i live and know rails, you're set.
<havenwood> cxmu: That's absurd. Stop it.
<cxmu> i cant imagine using ruby for any serious reason
<drbrain> remembering back to ASP.Net and VB of the time of Rails, Rails was much, much easier to create web apps in
<cxmu> im sure Rails is better than ASP/VB
<cxmu> <% but this shit %>
<cxmu> <% is unacceptable to me %>
benlieb has joined #ruby
<cxmu> C# invented razor for a reason
scripore has quit [Quit: This computer has gone to sleep]
<drbrain> so don't use it?
creat has joined #ruby
devbug has joined #ruby
becker_12 has quit [Ping timeout: 260 seconds]
Eiam_ has joined #ruby
lxsameer has joined #ruby
Meow-J has joined #ruby
blackmesa has quit [Ping timeout: 276 seconds]
x77686d has quit [Quit: x77686d]
Bloomer has quit [Remote host closed the connection]
agent_white has quit [Ping timeout: 240 seconds]
Bloomer has joined #ruby
p0p0pr37 has joined #ruby
terminalrecluse has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
azure32 has joined #ruby
tvw has joined #ruby
bronson has joined #ruby
sandstrom has joined #ruby
RegulationD has joined #ruby
ramortegui has joined #ruby
pawnbox has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
bronson has quit [Ping timeout: 256 seconds]
joonty has joined #ruby
adgtl has joined #ruby
adgtl_ has joined #ruby
adgtl has quit [Read error: No route to host]
floror has quit [Quit: floror]
dionysus69 has quit [Ping timeout: 272 seconds]
azure32 has quit [Ping timeout: 240 seconds]
sandstrom has quit [Quit: My computer has gone to sleep.]
baweaver has joined #ruby
kmckelvin has joined #ruby
kam270 has joined #ruby
duckpuppy has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lxsameer has quit [Ping timeout: 250 seconds]
rsc___ has quit [Quit: rsc___]
cxmu has quit [Quit: Page closed]
duckpuppy has quit [Ping timeout: 264 seconds]
tatsuo has joined #ruby
dionysus69 has joined #ruby
sandstrom has joined #ruby
pawnbox has quit [Remote host closed the connection]
azure32 has joined #ruby
pawnbox has joined #ruby
ziyadb has joined #ruby
lxsameer has joined #ruby
devbug has quit [Ping timeout: 260 seconds]
becker_12 has joined #ruby
einarj has joined #ruby
blackmesa has joined #ruby
Oog_ has joined #ruby
whippythellama has quit [Quit: WeeChat 1.4]
sandstrom has quit [Quit: My computer has gone to sleep.]
n00bdev has joined #ruby
becker_12 has quit [Ping timeout: 240 seconds]
einarj has quit [Ping timeout: 252 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
saneax_AFK is now known as saneax
ramortegui has quit [Quit: Leaving]
kirillzh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Oog_ has quit []
amclain has quit [Quit: Leaving]
carella_ has joined #ruby
pawnbox_ has joined #ruby
Cohedrin_ has joined #ruby
Bloomer has quit [Remote host closed the connection]
lessless has quit [Ping timeout: 260 seconds]
h99h9h88 has joined #ruby
sorah_ has joined #ruby
n00bdev has quit [Remote host closed the connection]
ta_ has joined #ruby
joonty1 has joined #ruby
pawnbox has quit [Ping timeout: 240 seconds]
sorah has quit [Ping timeout: 240 seconds]
carella has quit [Ping timeout: 240 seconds]
Cohedrin has quit [Ping timeout: 240 seconds]
vcoinminer__ has quit [Ping timeout: 240 seconds]
shevy has quit [Ping timeout: 240 seconds]
c355e3b has quit [Ping timeout: 240 seconds]
alexherbo2 has quit [Ping timeout: 240 seconds]
joonty has quit [Ping timeout: 240 seconds]
tvw has quit [Ping timeout: 240 seconds]
mostlybadfly has quit [Ping timeout: 240 seconds]
webopsx has quit [Ping timeout: 240 seconds]
crayfishx has quit [Ping timeout: 240 seconds]
larsk has quit [Read error: Connection reset by peer]
ta has quit [Read error: Connection reset by peer]
johnnyt has quit [Ping timeout: 240 seconds]
shevy has joined #ruby
vcoinminer___ has joined #ruby
c355e3b_ has joined #ruby
c355e3b_ is now known as c355e3b
mostlybadfly has joined #ruby
johnnyt has joined #ruby
crayfishx has joined #ruby
Napear has joined #ruby
alexherbo2 has joined #ruby
larsk has joined #ruby
azure32 has quit [Ping timeout: 264 seconds]
spider-mario has joined #ruby
flughafen_ has joined #ruby
Spami has joined #ruby
adgtl_ has quit [Remote host closed the connection]
joonty1 has quit [Ping timeout: 264 seconds]
askhat has joined #ruby
blackmesa has quit [Ping timeout: 250 seconds]
zeroDivisible has joined #ruby
okdas has quit [Read error: Connection reset by peer]
p1k has joined #ruby
okdas has joined #ruby
okdas has joined #ruby
PlasmaStar has quit [Ping timeout: 250 seconds]
devbug has joined #ruby
yfeldblum has quit [Remote host closed the connection]
duckpuppy has joined #ruby
Bloomer has joined #ruby
okdas_ has joined #ruby
okdas has quit [Read error: Connection reset by peer]
saneax is now known as saneax_AFK
duckpuppy has quit [Ping timeout: 240 seconds]
floror has joined #ruby
Macaveli has joined #ruby
firstdayonthejob has joined #ruby
tatsuo has quit [Remote host closed the connection]
code2Learn has joined #ruby
joonty1 has joined #ruby
e4xit has quit [Ping timeout: 240 seconds]
e4xit_ has joined #ruby
tenderlove has quit [Ping timeout: 240 seconds]
tatsuo has joined #ruby
wwwbukolaycom has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
platzhirsch has joined #ruby
n00bdev has joined #ruby
glowcoil is now known as incomprehensibly
h99h9h88 has quit [Remote host closed the connection]
william3 has joined #ruby
h99h9h88 has joined #ruby
devbug has quit [Read error: Connection reset by peer]
code2Learn has quit [Remote host closed the connection]
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
william3 has quit [Remote host closed the connection]
dexter-tzu has quit [Ping timeout: 256 seconds]
ferr has quit [Ping timeout: 240 seconds]
n00bdev has quit [Ping timeout: 250 seconds]
devbug has joined #ruby
mdw has joined #ruby
william3 has joined #ruby
rkazak has quit [Quit: Sleep.....ing....]
duncannz has quit [Remote host closed the connection]
grn has joined #ruby
platzhirsch has left #ruby [#ruby]
becker_12 has joined #ruby
william3 has quit [Ping timeout: 240 seconds]
infra-red has joined #ruby
becker_12 has quit [Ping timeout: 240 seconds]
moeabdol1 has quit [Quit: WeeChat 1.4]
veleno has joined #ruby
nofxx has quit [Read error: Connection timed out]
moeabdol has joined #ruby
h99h9h88 has quit [Remote host closed the connection]
arlek has quit [Ping timeout: 256 seconds]
infra-red has quit [Remote host closed the connection]
ferr has joined #ruby
h99h9h88_ has joined #ruby
Xeago has joined #ruby
iooner has quit [Ping timeout: 240 seconds]
duffman728 has joined #ruby
ocbtec has joined #ruby
greister has joined #ruby
iooner has joined #ruby
h99h9h88_ has quit [Ping timeout: 240 seconds]
<rikai> Hm... is it at all possible to recover a deleted .rb if it's still running? <.<
_ht has joined #ruby
Eiam_ has quit [Quit: ╯°□°)╯︵ǝpouǝǝɹɟ]
marr has joined #ruby
gizmore has joined #ruby
floror has quit [Quit: floror]
hays has quit [Ping timeout: 245 seconds]
devbug has quit [Ping timeout: 240 seconds]
Youngmathimus0 has quit [Ping timeout: 276 seconds]
askhat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ferr has quit [Ping timeout: 240 seconds]
floror has joined #ruby
<Ox0dea> rikai: Doesn't look good: https://ptpb.pw/I9-a
<Ox0dea> You can actually recover deleted executables, but not scripts. :/
<rikai> Yeah, seems so.
blackmesa has joined #ruby
<rikai> I wasn't paying attention and copied something the wrong way as i was prepping to commit it to git. Poof, days work gone.
jackjackdripper has quit [Quit: Leaving.]
symm- has joined #ruby
joonty1 has quit [Ping timeout: 252 seconds]
Dimik has quit [Ping timeout: 240 seconds]
y2mq37 has quit [Read error: Connection reset by peer]
y2mq37 has joined #ruby
aupadhye has quit [Quit: Leaving]
becker_12 has joined #ruby
hays has joined #ruby
infra-red has joined #ruby
gizless has joined #ruby
infra-re_ has joined #ruby
gizmore has quit [Ping timeout: 272 seconds]
infra-red has quit [Ping timeout: 264 seconds]
<slash_nick> good morning!
Spami has quit [Quit: This computer has gone to sleep]
<Ox0dea> I played around with making that do #grep instead of #gsub, and it sort of worked.
duffman728 has left #ruby ["WeeChat 1.0.1"]
<Ox0dea> You'll really have to finagle it to get it to recover the entire file, though. :<
<Ox0dea> And you'll have to run it as root, of course, since it needs to poke about in another process's memory maps.
dextertzu has quit [Quit: WeeChat 1.3]
Spami has joined #ruby
<rikai> That honestly sound a bit beyond me, i'm still pretty newbish. <.<
<rikai> I'll just work on redoing everything from scratch again, i suppose.
framling has joined #ruby
dextertzu has joined #ruby
<Ox0dea> rikai: On the bright side, it'll almost certainly be better the second time round. :)
<rikai> Heh, probably. :)
gizless has quit [Quit: KVIrc 4.9.1 Aria http://www.kvirc.net/]
<rikai> It's only somewhat tedious because i did a lot of output formatting that took quite a while to get it the way i liked it.
wwwbukolaycom has joined #ruby
aibot has quit [Remote host closed the connection]
dexter-tzu has joined #ruby
aibot has joined #ruby
sandstrom has joined #ruby
yfeldblu_ has joined #ruby
n00bdev has joined #ruby
benlieb has quit [Quit: benlieb]
becker_12 has quit [Ping timeout: 250 seconds]
dexter-tzu has quit [Ping timeout: 264 seconds]
beast has joined #ruby
becker_12 has joined #ruby
n00bdev has quit [Ping timeout: 240 seconds]
ysz has joined #ruby
infra-re_ has quit [Remote host closed the connection]
infra-red has joined #ruby
einarj has joined #ruby
edwinvdgraaf has joined #ruby
infra-re_ has joined #ruby
flughafen_ has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 240 seconds]
jmdade has joined #ruby
infra-red has quit [Ping timeout: 240 seconds]
einarj has quit [Ping timeout: 240 seconds]
PlasmaStar has joined #ruby
dionysus69 has quit [Ping timeout: 248 seconds]
saneax_AFK is now known as saneax
infra-re_ has quit [Remote host closed the connection]
joonty1 has joined #ruby
kriskropd has quit [Ping timeout: 250 seconds]
LoneHerm_ has joined #ruby
Xeago has quit [Remote host closed the connection]
Xeago has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
bronson has joined #ruby
blackmesa has joined #ruby
darkf has quit [Quit: Leaving]
al2o3-cr has joined #ruby
infra-red has joined #ruby
Xeago has quit [Ping timeout: 264 seconds]
bronson has quit [Ping timeout: 256 seconds]
infra-red has quit [Client Quit]
OnePunchMan has joined #ruby
LoneHerm_ has quit [Remote host closed the connection]
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
DmitryBochkarev has joined #ruby
askhat has joined #ruby
Cohedrin_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
duckpuppy has joined #ruby
joonty1 has quit [Ping timeout: 272 seconds]
duckpuppy has quit [Ping timeout: 264 seconds]
nfk has joined #ruby
mdw has joined #ruby
chouhoulis has quit [Remote host closed the connection]
trinaldi has joined #ruby
ysz has quit [Quit: This computer has gone to sleep]
SCHAAP137 has joined #ruby
baweaver has quit [Remote host closed the connection]
saneax is now known as saneax_AFK
dexter-tzu has joined #ruby
pihpah has joined #ruby
nunchuck has quit [Ping timeout: 260 seconds]
n00bdev has joined #ruby
armyriad has quit [Ping timeout: 276 seconds]
armyriad has joined #ruby
n00bdev has quit [Ping timeout: 240 seconds]
grn has quit []
dexter-tzu has quit [Ping timeout: 240 seconds]
veleno has quit [Quit: veleno]
pandaant has joined #ruby
root1 has joined #ruby
root1 has left #ruby [#ruby]
h99h9h88 has joined #ruby
jottr has joined #ruby
nfk has quit [Ping timeout: 240 seconds]
veleno has joined #ruby
tatsuo has quit [Remote host closed the connection]
h99h9h88 has quit [Ping timeout: 276 seconds]
RegulationD has joined #ruby
dionysus69 has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
RegulationD has quit [Ping timeout: 240 seconds]
tatsuo has joined #ruby
BTRE has quit [Ping timeout: 240 seconds]
bluOxigen_ has joined #ruby
bluOxigen has quit [Ping timeout: 248 seconds]
askhat has quit [Read error: Connection reset by peer]
askhat has joined #ruby
jottr has quit [Ping timeout: 248 seconds]
arup_r has joined #ruby
fantazo has joined #ruby
duckpuppy has joined #ruby
sauvin has joined #ruby
TomPeed has joined #ruby
veleno has quit [Quit: veleno]
duckpuppy has quit [Ping timeout: 272 seconds]
Xeago has joined #ruby
BTRE has joined #ruby
beast has quit [Quit: Leaving]
TomPeed has quit [Ping timeout: 272 seconds]
edwinvdgraaf has quit [Remote host closed the connection]
LoneHermit has joined #ruby
nodejunkie has joined #ruby
chouhoulis has joined #ruby
astrofog has joined #ruby
m8 has joined #ruby
LoneHermit has quit [Ping timeout: 264 seconds]
codecop has joined #ruby
chouhoulis has quit [Ping timeout: 260 seconds]
n00bdev has joined #ruby
sandstrom has joined #ruby
rik_ has joined #ruby
sdothum has joined #ruby
n00bdev has quit [Ping timeout: 240 seconds]
yfeldblu_ has quit [Ping timeout: 252 seconds]
mickey_mouse has quit [Ping timeout: 240 seconds]
nodejunkie has quit [Ping timeout: 252 seconds]
mickey_mouse has joined #ruby
sepp2k has joined #ruby
Ebok has joined #ruby
dagda1_ has joined #ruby
theRealAlexz has quit [Ping timeout: 260 seconds]
theRealAlexz has joined #ruby
kriskropd has joined #ruby
TomyLobo has joined #ruby
ferr has joined #ruby
floror has quit [Quit: floror]
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
framling has quit [Ping timeout: 264 seconds]
Majornikku has joined #ruby
<Majornikku> Evening!
mdw has quit [Quit: Sleeping Zzzzz]
dlitvak has joined #ruby
x86-__ has quit [Read error: Connection reset by peer]
BaroMeter has joined #ruby
sshuriu has joined #ruby
<Majornikku> sorry to trouble you fine folks, I am new to ruby (learning by fire lol) I am for my first project tackling a auto script its basically gonna grab info from a site (requires HTTPS and auth.) parses it for redundant info and then pastes it on the screen and then throws it in a chat. I am having issue figuring out the authentication part, after 3 hours of kncoking my head into my monitor i've decided to ask for an assist.
BaroMeter has quit [Client Quit]
shuriu has quit [Ping timeout: 252 seconds]
<Majornikku> Here is the Gist link. i had it to a point where i would get an "response_authenticate" message but sadly affter googling and doing research i have sadly likely done more harm than good. :( https://gist.github.com/anonymous/fc2bf9448e3cceb99aca
dlitvak_ has joined #ruby
sandstrom has quit [Quit: My computer has gone to sleep.]
askhat has quit [Read error: Connection reset by peer]
askhat_ has joined #ruby
dlitvak has quit [Ping timeout: 250 seconds]
ohaibbq has joined #ruby
ponga has joined #ruby
rikkipitt has joined #ruby
<shevy> dataset.rb:1737: warning: instance variable @invalid_keys not initialized
<shevy> I am using a check such as: if instance_variable_get '@invalid_keys'
<shevy> is there a way to not trigger the warning?
sandstrom has joined #ruby
duckpuppy has joined #ruby
duckpuppy has quit [Ping timeout: 260 seconds]
symm- has quit [Ping timeout: 250 seconds]
<yorickpeterse> shevy: set the ivar to nil in #initialize
<shevy> ah
<yorickpeterse> the warning is quite silly really
<shevy> interesting that fixed it, thanks yorickpeterse
zeroDivisible has quit [Quit: WeeChat 1.3]
symm- has joined #ruby
graffix222 has quit [Read error: Connection reset by peer]
patchedmonkey has joined #ruby
graffix222 has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
sandstrom has quit [Quit: My computer has gone to sleep.]
dexter-tzu has joined #ruby
chouhoulis has joined #ruby
<Majornikku> apologies, https://gist.github.com/anonymous/19a06fc6999d2f7c0e6d if you have a moment to assist it would be appreciated.
baweaver has joined #ruby
sandstrom has joined #ruby
<shevy> Majornikku you can save gists via a trailing .rb by the way, then you get colour highlighting for free on your code-specific gists. On the topic itself I know nothing about authentication; I am also not sure if anyone else can infer from the gist alone what the problem is unless they also already went through authentication, which I would assume that the people on #rubyonrails may know more about than the #r
<shevy> uby folks
chouhoulis has quit [Ping timeout: 252 seconds]
<rikai> There we go, rewrote it all from scrach. :)
patchedmonkey has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
astrofog has quit [Quit: Quite]
patchedmonkey has joined #ruby
n00bdev has joined #ruby
<aep> how do i parse this date correctly? Date.strptime("09-FEB-16", '%d-%^b-%y')
baweaver has quit [Ping timeout: 256 seconds]
<Majornikku> I see. Thanks for the tip! Ill wait on it unless anyone else has any ideas or tips? Ill just hang here and learn something and then sleep on it and give it another shot :).
<shevy> aep hmm I get invalid date
<aep> yeah me too
<aep> but i dont understand why
<shevy> I guess the date must be valid, so either it must be FEB or 16 ...
<shevy> I mean *day, not date
DmitryBochkarev has joined #ruby
<shevy> hmm or '%d-%^b-%y' is wrong
<aep> yeah apparantly uppercase doesnt work
<aep> works with lowercase and just %b
<aep> Date.strptime('6-feb-16', '%d-%b-%y')
<aep> => #<Date: 2016-02-06 ((2457425j,0s,0n),+0s,2299161j)>
<aep> Date.strptime('6-FEB--16', '%d-%^b-%y')
<aep> ArgumentError: invalid date
<aep> err typo
n00bdev has quit [Ping timeout: 250 seconds]
<shevy> Date.strptime('6-FEB-16', '%d-%b-%y') # => #<Date: 2016-02-06 ((2457425j,0s,0n),+0s,2299161j)>
<shevy> what is the ^ there doing?
<aep> docs say thats for uppercase
<shevy> oh yeah you are right "^ upcase the result string"
<aep> probably just unnessesary because the parser ignores case
<shevy> only weird that the above works even without the ^
<shevy> well I learned something today too there, never saw a %^b :D \o/
<aep> :)
akem has joined #ruby
patchedmonkey has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<rikai> you can do the same with %a as well.
patchedmonkey has joined #ruby
tk__ has joined #ruby
ziyadb has quit [Quit: Connection closed for inactivity]
karapetyan has quit [Remote host closed the connection]
Jhond__ has joined #ruby
nofxx has joined #ruby
Jhond__ has quit [Read error: Connection reset by peer]
Jhond__ has joined #ruby
Jhond__ has quit [Read error: Connection reset by peer]
ziyadb has joined #ruby
nfk has joined #ruby
intrigueD has joined #ruby
moeabdol1 has joined #ruby
blackmesa has joined #ruby
moeabdol has quit [Read error: Connection reset by peer]
sandstrom has quit [Quit: My computer has gone to sleep.]
mdw has joined #ruby
patchedmonkey has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
h99h9h88 has joined #ruby
firstdayonthejob has quit [Read error: Connection reset by peer]
bluOxigen has joined #ruby
bluOxigen_ has quit [Ping timeout: 250 seconds]
mondok has joined #ruby
h99h9h88 has quit [Ping timeout: 264 seconds]
SCHAAP137 has quit [Ping timeout: 264 seconds]
y2mq37 has quit [Ping timeout: 240 seconds]
sandstrom has joined #ruby
Coldblackice has quit [Ping timeout: 240 seconds]
sandstrom has quit [Client Quit]
adgtl has joined #ruby
firstdayonthejob has joined #ruby
arlek has joined #ruby
askhat_ has quit [Read error: Connection reset by peer]
flughafen_ has joined #ruby
askhat has joined #ruby
adgtl has quit [Ping timeout: 264 seconds]
veleno has joined #ruby
ilhami has joined #ruby
bluOxigen has quit [Ping timeout: 276 seconds]
<ilhami> time to learn rubyt
<ilhami> Ruby
<ilhami> give me resources now !!!
<ilhami> :D
<shevy> you still did not start to learn?
Xeago has quit [Remote host closed the connection]
<shevy> http://logs.ryanbigg.com/p/ilhami? since 2014 :D
LoneHermit has joined #ruby
platzhirsch has joined #ruby
johnmilton has joined #ruby
<ilhami> lol
duckpuppy has joined #ruby
scripore has joined #ruby
Napear has quit [Quit: leaving]
<ilhami> I just need to find a nice project to work on man. :/
saneax_AFK is now known as saneax
cajone has quit [Ping timeout: 248 seconds]
LoneHermit has quit [Ping timeout: 260 seconds]
mondok has quit [Read error: Connection reset by peer]
<platzhirsch> Let's say I have a class Transaction with an attribute amount and child (another transaction). How can I neatly sum up all amounts without using a while loop
mondok has joined #ruby
HammyJammy has joined #ruby
duckpuppy has quit [Ping timeout: 276 seconds]
<jhass> platzhirsch: component pattern?
<jhass> (child ? child.amount : 0) + amount
dagda1_ has quit [Quit: Textual IRC Client: www.textualapp.com]
<jhass> or to elaborate class Transaction; def amount; (@child ? @child.amount : 0) + @amount; end
DEA7TH has joined #ruby
JammyHammy has quit [Ping timeout: 272 seconds]
<platzhirsch> jhass: ah I meant more of something a long the lines of: t1.inject(0) { |sum, t| sum + t.amount; t.child }
<platzhirsch> which doesn't work here because Transaction is not an Enumerable
<jhass> there's only one or no child, no?
<platzhirsch> maybe I should implement the Enumerable interface for Transaction
<platzhirsch> yes
<jhass> so it's not an enumerable
<jhass> a collection of only ever one element is fairly pointless
<platzhirsch> no, true. That would be misleading
<platzhirsch> well they are connected transitively right
ohaibbq has quit [Quit: Leaving...]
<jhass> sure
cajone has joined #ruby
<jhass> building up the entire collection would be ugly or use the component pattern again
<jhass> so what's wrong with my suggestion?
<platzhirsch> Nothing's wrong with it. I am just trying to be clever
<platzhirsch> Basically I am looking for a one liner for the loop at the end https://gist.github.com/platzhirsch/1cc2fb7119bbbfe794f6
ysz has joined #ruby
johnmilton has quit [Remote host closed the connection]
<jhass> a bit odd to start at the leaf of the tree instead of its root
themsay has quit [Quit: AtomicIRC: The nuclear option.]
<platzhirsch> yeah, it doesn't really make any sense,
themsay has joined #ruby
pawnbox_ has quit [Remote host closed the connection]
n00bdev has joined #ruby
pawnbox has joined #ruby
johnmilton has joined #ruby
<jhass> easy enough nonetheless https://p.jhass.eu/1d.rb
<platzhirsch> Yeah I see your point in delegating it to a class method making it recursive there
atomical has joined #ruby
jxs_ has quit [Remote host closed the connection]
<jhass> the obvious limitation is the stacksize
<platzhirsch> that's what reduces the complexity the most I guess I was just interested in doing that loop with a functional-like method, but maybe that's pointless :)
n00bdev has quit [Ping timeout: 252 seconds]
nullguru has joined #ruby
dlitvak_ has quit [Ping timeout: 260 seconds]
nullguru has quit [Read error: Connection reset by peer]
davedev24 has joined #ruby
ysz has quit [Quit: This computer has gone to sleep]
ferr has quit [Ping timeout: 252 seconds]
pandaant has quit [Remote host closed the connection]
Xeago has joined #ruby
<platzhirsch> something like transaction.unfold(&:parent) is what I am looking for I guess
<jhass> which would just hide your loop but be implemented the same way
<platzhirsch> exactly.. yeah
<platzhirsch> booo
<platzhirsch> no silver bullet
ysz has joined #ruby
karapetyan has joined #ruby
dlitvak has joined #ruby
Jackneill has joined #ruby
domgetter has joined #ruby
<platzhirsch> man, how do I start my blog post now. I have to reference Haskell I guess
ljames has quit []
<shevy> reference something to monads, such as the detection and experimental confirmation of the existance of gravitation waves
<platzhirsch> Well, your parents implementation basically showed how pointless it is and that the whole thing should be delegated this way
pickandmix has joined #ruby
mrfooo has joined #ruby
karapetyan has quit [Ping timeout: 250 seconds]
troulouliou_dev has joined #ruby
dlitvak has quit [Ping timeout: 252 seconds]
ysz has quit [Quit: This computer has gone to sleep]
<ilhami> shevy, give me some resources man.. what book should I read?
ferr has joined #ruby
<shevy> ilhami you wanted to learn ruby in 2014 and you did not start back then so it will be futile now, the train has rolled away already, it is too late
scripore has quit [Quit: This computer has gone to sleep]
<ilhami> why is it too late?
<pushcx> platzhirsch: can a child transaction have a child transaction?
<platzhirsch> pushcx: yeah
bronson has joined #ruby
<platzhirsch> it's transitive
<shevy> ilhami it is now 2016
scripore has joined #ruby
pickandmix has quit [Quit: WeeChat 1.4]
pickandmix has joined #ruby
<adaedra> ?links ilhami
pickandmix has quit [Client Quit]
<domgetter> platzhirsch: something like this? https://gist.github.com/domgetter/3ac0563071d44898cd92
<ilhami> thanks adaedra
pickandmix has joined #ruby
<domgetter> You only need to define #each to "implement" Enumerable
<platzhirsch> domgetter: kind of yeah, so it continues
adgtl has joined #ruby
adgtl has quit [Read error: Connection reset by peer]
dlitvak has joined #ruby
TomyLobo has quit [Ping timeout: 250 seconds]
bronson has quit [Ping timeout: 256 seconds]
<ilhami> I am trying codeacademy.
askhat has quit [Read error: Connection reset by peer]
askhat_ has joined #ruby
godzillaenlacasa has joined #ruby
<platzhirsch> So, that's the best I could think of sum = lambda { |t| t ? t.amount + sum.call(t.parent) : 0 }
<platzhirsch> Lambda to the rescue
<platzhirsch> but that's more of a party trick
<platzhirsch> and my colleagues would kill me if I would use something like that over let's say what jhass proposed
sgambino has joined #ruby
<pushcx> platzhirsch: transactionss.flat_map { |t| transactions << t.parent if t; t }.uniq.compact.inject(0) { |total, t| total + t.amount }
davedev24 has quit [Remote host closed the connection]
<pushcx> (assuming transactions is an array with child transactions... and you don't care about anyone ever understanding it)
<platzhirsch> yeah…
sandstrom has joined #ruby
fantazo has quit [Ping timeout: 240 seconds]
<platzhirsch> How should we name this? Travering your objects in the most obfuscated way?
<platzhirsch> Traversing the functional way?
<pushcx> traversing your objects when you have to half-ass it because you can't express them monoidally?
ferr has quit [Ping timeout: 256 seconds]
duckpuppy has joined #ruby
<ilhami> Ruby is easy :D I already learned it
sandstrom has quit [Quit: My computer has gone to sleep.]
aryaching has joined #ruby
troulouliou_dev has quit [Remote host closed the connection]
duckpuppy has quit [Ping timeout: 250 seconds]
<ilhami> first lesson done
<platzhirsch> Also what's annoying about my lambda, stack size will bite me here too
<pushcx> platzhirsch: how deeply do you expect to nest transactions?
adgtl has joined #ruby
<platzhirsch> very deeply, liek 23m nested transactions
troulouliou_dev has joined #ruby
<platzhirsch> No, you're right. It's usually not a problem
<platzhirsch> but I am just looking at concepts really
<domgetter> platzhirsch: May I ask why you're deciding this abstraction over another? Perhaps a transaction not knowing anything about parents or children would be more suitable?
<platzhirsch> yeah
Xeago has quit [Remote host closed the connection]
<domgetter> Cause I mean, traditionally, a list of transactions forms a ledger, and those transactions are in (hopefully) chronological order, but that order isn't imposed by transaction-linking
<ilhami> =begin What's up Shevy? =end
<domgetter> but far be it from me to speculate your use case or needs in general
quakephil has joined #ruby
chouhoulis has joined #ruby
Ebok has quit [Quit: This computer has gone to sleep]
andrewvos has joined #ruby
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
<pushcx> platzhirsch: Here's how I'd do it without blowing the stack or building up an extra data structure of all transactions: https://gist.github.com/pushcx/685dc83de087e137bf85
baweaver has joined #ruby
konsolebox has quit [Quit: Leaving]
<pushcx> It says 'ary', but really, it'll work on any collection that exposes `.each`
<pushcx> platzhirsch: Fun little puzzle, thanks for sharing it. :)
platzhirsch has quit [Ping timeout: 250 seconds]
chouhoulis has quit [Ping timeout: 260 seconds]
akem has quit [Remote host closed the connection]
domgetter has quit []
flughafen_ has quit [Ping timeout: 240 seconds]
tatsuo has quit [Remote host closed the connection]
baweaver has quit [Ping timeout: 250 seconds]
<pushcx> There's one of my favorite recursion tricks in there, btw. By making the test amounts powers of two, I get more info out of failures because every response is unique. First run I got 12 and it obviously meant I hadn't recursed up the parent chain...
n00bdev has joined #ruby
adgtl_ has joined #ruby
gregf has quit [Quit: WeeChat 1.4]
adgtl has quit [Read error: No route to host]
edwinvdgraaf has joined #ruby
johnmilton has quit [Ping timeout: 272 seconds]
<shevy> ilhami great, you discovered how to add comments
n00bdev has quit [Ping timeout: 240 seconds]
<ilhami> hahahaha
<ilhami> hey that's a step in the right direction. :P don't be so negative
DmitryBochkarev has joined #ruby
patchedmonkey has joined #ruby
<ilhami> it reminds me of Python :D
<ilhami> but I like it.
scripore has quit [Quit: This computer has gone to sleep]
<jhass> well, that comment style is actually discouraged by most people
edwinvdgraaf has quit [Read error: Connection reset by peer]
edwinvdgraaf has joined #ruby
<ilhami> what should I use instead?
<ilhami> I meant the language in general reminds me of python
<ilhami> not the comments lol
<ilhami> I hate $this
<ilhami> :D
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<pushcx> I bet CodeAcademy will teach you more comments in a later lesson.
ferr has joined #ruby
karapetyan has joined #ruby
<ilhami> and also no semicolons is nice :D
Ebok has joined #ruby
<shevy> perhaps you can even embed a whole program in the comments subsection :D
blackmesa has quit [Ping timeout: 240 seconds]
<shevy> you can put arbitrary stuff after __END__
tatsuo has joined #ruby
<jhass> do you also know how to read that stuff then?
<ilhami> jhass, I am still at unit 1 lol
<ilhami> I am learning about prompting the user now
<ilhami> you use gets
johnmilton has joined #ruby
<shevy> now you know how to obtain user input
<ilhami> yeah.
<jhass> I'm rather asking shevy since they mentioned __END__
karapetyan has quit [Remote host closed the connection]
<shevy> yeah
<ilhami> oh sorry :D
mdw has quit [Quit: Sleeping Zzzzz]
dmolina has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
RegulationD has joined #ruby
sgambino has joined #ruby
postmodern has quit [Quit: Leaving]
dmolina has quit [Client Quit]
flughafen_ has joined #ruby
askhat_ has quit [Read error: Connection reset by peer]
askhat has joined #ruby
iooner has quit [Ping timeout: 252 seconds]
mondok has quit [Ping timeout: 250 seconds]
<ilhami> I will go rest a bit and start again later.
Sucks has joined #ruby
RegulationD has quit [Ping timeout: 272 seconds]
iooner has joined #ruby
rikkipitt has quit [Remote host closed the connection]
dexter-tzu has quit [Ping timeout: 240 seconds]
txd has quit [Quit: leaving]
karapetyan has joined #ruby
patchedmonkey has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
konsolebox has joined #ruby
andrewvos has quit [Ping timeout: 272 seconds]
DChapman has joined #ruby
sepp2k has quit [Ping timeout: 248 seconds]
davedev24 has joined #ruby
tk__ has quit [Quit: ばいばい]
mary5030 has quit [Remote host closed the connection]
nettoweb has joined #ruby
karapetyan has quit [Remote host closed the connection]
silicio has joined #ruby
intrigueD has quit [Remote host closed the connection]
davedev24 has quit [Ping timeout: 260 seconds]
duckpuppy has joined #ruby
rikkipitt has joined #ruby
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zacstewart has joined #ruby
duckpuppy has quit [Ping timeout: 252 seconds]
Majornikku has quit [Ping timeout: 252 seconds]
_ht has quit [Ping timeout: 264 seconds]
_ht has joined #ruby
p1k has quit [Ping timeout: 248 seconds]
edwinvdgraaf has joined #ruby
Xeago has joined #ruby
sepp2k has joined #ruby
Kalem has joined #ruby
johnmilton has quit [Remote host closed the connection]
chouhoulis has joined #ruby
_ht has quit [Read error: Connection reset by peer]
johnmilton has joined #ruby
dionysus69 has quit [Remote host closed the connection]
dionysus69 has joined #ruby
_ht has joined #ruby
Xeago has quit [Ping timeout: 248 seconds]
william3 has joined #ruby
andrewvos has joined #ruby
chouhoulis has quit [Ping timeout: 272 seconds]
edwinvdgraaf has quit [Read error: Connection reset by peer]
edwinvdgraaf has joined #ruby
<Ox0dea> rikai: Is it better than before? :)
n00bdev has joined #ruby
gregf has joined #ruby
adgtl_ has quit [Remote host closed the connection]
zacstewart has quit [Ping timeout: 272 seconds]
zacstewart has joined #ruby
william3 has quit [Ping timeout: 240 seconds]
silicio has quit [Remote host closed the connection]
_ht has quit [Ping timeout: 252 seconds]
_ht has joined #ruby
n00bdev has quit [Ping timeout: 240 seconds]
PlasmaStar has quit [Ping timeout: 260 seconds]
idefine has joined #ruby
pickandmix has quit [Quit: WeeChat 1.4]
pickandmix has joined #ruby
PlasmaStar has joined #ruby
dlitvak has quit [Ping timeout: 240 seconds]
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
Terens has joined #ruby
<Terens> hello
DmitryBochkarev has joined #ruby
<Terens> Is there a tool that converts html to pdf but with page / orientation for each page / size etc ?
<Terens> I dont know how convertapi.com for example manages to convert even ms word files perfectly and in open source world there is nothing at all
_ht has quit [Ping timeout: 256 seconds]
godzillaenlacasa has quit [Quit: ZZZZZ....]
dlitvak has joined #ruby
arlek has quit [Ping timeout: 256 seconds]
karapetyan has joined #ruby
h99h9h88 has joined #ruby
_ht has joined #ruby
B1n4r10 has quit [Ping timeout: 240 seconds]
pawnbox has quit [Remote host closed the connection]
h99h9h88 has quit [Ping timeout: 240 seconds]
x77686d has joined #ruby
pawnbox has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
askhat has quit [Read error: Connection reset by peer]
askhat has joined #ruby
Kallis has joined #ruby
andrewvos has quit [Ping timeout: 276 seconds]
tenderlove has joined #ruby
glcx has joined #ruby
arthropododo has joined #ruby
rik_ has quit [Quit: rik_]
scripore has joined #ruby
scripore has quit [Max SendQ exceeded]
scripore has joined #ruby
dionysus69 has quit [Ping timeout: 276 seconds]
alexherbo2 has quit [Quit: WeeChat 1.4]
glcx has quit [Quit: Quitte]
glcx has joined #ruby
bronson has joined #ruby
kirun has joined #ruby
tatsuo has quit [Remote host closed the connection]
_ht has quit [Ping timeout: 240 seconds]
duckpuppy has joined #ruby
_ht has joined #ruby
bronson has quit [Ping timeout: 256 seconds]
rikkipitt has quit [Remote host closed the connection]
mdw has joined #ruby
duckpuppy has quit [Ping timeout: 256 seconds]
rikkipitt has joined #ruby
thomasfedb has quit [Ping timeout: 250 seconds]
blackmesa has joined #ruby
sondr3 has joined #ruby
glcx has quit [Quit: Quitte]
intrigueD has joined #ruby
OnePunchMan has quit [Quit: Connection closed for inactivity]
thomasfedb has joined #ruby
thomasfedb has quit [Changing host]
thomasfedb has joined #ruby
flughafen_ has quit [Ping timeout: 264 seconds]
chouhoulis has joined #ruby
flughafen_ has joined #ruby
Sembei has joined #ruby
davedev24 has joined #ruby
chouhoulis has quit [Ping timeout: 252 seconds]
n00bdev has joined #ruby
<shevy> Terens I have not found a good solution myself. I usually end up using wkhtmltopdf - the net result is not overly beautiful but it sorta works
karapetyan has quit [Remote host closed the connection]
kirillzh has joined #ruby
rsc___ has joined #ruby
n00bdev has quit [Ping timeout: 250 seconds]
Timberwo|f has joined #ruby
lxsameer has quit [Quit: Leaving]
johnmilton has quit [Remote host closed the connection]
ferr has quit [Ping timeout: 240 seconds]
mickey_mouse_2 has joined #ruby
LoneHermit has joined #ruby
mickey_mouse has quit [Ping timeout: 252 seconds]
LoneHermit has quit [Ping timeout: 260 seconds]
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
lucasb has joined #ruby
askhat has quit [Read error: Connection reset by peer]
floror has joined #ruby
rbennacer has joined #ruby
askhat has joined #ruby
yatish27 has joined #ruby
rikkipitt has quit [Quit: Leaving...]
johnmilton has joined #ruby
JohnBat26 has joined #ruby
skweek has joined #ruby
skweek has quit [Remote host closed the connection]
karapetyan has joined #ruby
shredding has joined #ruby
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
rbennace_ has joined #ruby
rbennacer has quit [Read error: Connection reset by peer]
eljimmy has joined #ruby
yqfvwal has joined #ruby
rubywarrior has joined #ruby
karapetyan has quit [Remote host closed the connection]
adgtl has joined #ruby
johnmilton has quit [Quit: Namaste]
adgtl_ has joined #ruby
adgtl has quit [Read error: No route to host]
graffix222 has quit [Ping timeout: 250 seconds]
dlitvak has quit [Ping timeout: 252 seconds]
pawnbox has quit [Ping timeout: 250 seconds]
johnmilton has joined #ruby
akem has joined #ruby
binaryplease has joined #ruby
dlitvak has joined #ruby
ysz has joined #ruby
theastrowolfe has joined #ruby
h_ has joined #ruby
Guest30540 has quit [Ping timeout: 252 seconds]
SenpaiSilver has joined #ruby
andrewvos has joined #ruby
duckpuppy has joined #ruby
johnmilton has quit [Quit: Namaste]
flaguy481 has quit [Remote host closed the connection]
h_ has quit [Quit: Mutter: www.mutterirc.com]
C0deMaver1ck has joined #ruby
bluOxigen has joined #ruby
C0deMaver1ck is now known as Guest61600
El3ktra has quit [Ping timeout: 276 seconds]
Kalem has quit [Ping timeout: 248 seconds]
Kalem has joined #ruby
Kalem has quit [Client Quit]
duckpuppy has quit [Ping timeout: 240 seconds]
graffix222 has joined #ruby
johnmilton has joined #ruby
segy_ has joined #ruby
segy has quit [Ping timeout: 240 seconds]
segy_ is now known as segy
benlieb has joined #ruby
dlitvak has quit [Ping timeout: 272 seconds]
El3ktra has joined #ruby
dlitvak has joined #ruby
Xeago has joined #ruby
andrewvos has quit [Ping timeout: 256 seconds]
platzhirsch has joined #ruby
Contigi has quit [Quit: Leaving]
spider-mario has quit [Remote host closed the connection]
andrewvos has joined #ruby
benlieb has quit [Quit: benlieb]
chouhoulis has joined #ruby
betafive has quit [Ping timeout: 276 seconds]
baweaver has joined #ruby
Xeago has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 256 seconds]
Oog_ has joined #ruby
william3 has joined #ruby
n00bdev has joined #ruby
chouhoulis has quit [Ping timeout: 276 seconds]
floror has quit [Quit: floror]
whiteline has quit [Ping timeout: 245 seconds]
rsc___ has quit [Quit: rsc___]
dongiedong has joined #ruby
baweaver has quit [Ping timeout: 240 seconds]
B1n4r10 has joined #ruby
william3 has quit [Remote host closed the connection]
pawnbox has joined #ruby
<shevy> if I have a module Foo; class Bar, and I want to make Bar become available on the toplevel namespace, I can do: Object.const_set 'Bar', Foo::Bar
antgel has quit [Ping timeout: 250 seconds]
<shevy> which works. but is there another way to achieve the same?
rubywarrior has quit [Quit: rubywarrior]
<adaedra> include Foo
william3 has joined #ruby
<adaedra> Bar = Foo::Bar
<shevy> ah yes that is simpler
<adaedra> (if you don't want to bring all Foo)
yatish27 has quit [Remote host closed the connection]
yatish27 has joined #ruby
n00bdev has quit [Ping timeout: 260 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
B1n4r10 has quit [Ping timeout: 248 seconds]
bronson has joined #ruby
rubywarrior has joined #ruby
weemsledeux has joined #ruby
antgel has joined #ruby
speakingcode has quit [Ping timeout: 240 seconds]
yatish27 has quit [Ping timeout: 250 seconds]
DEA7TH has quit [Quit: DEA7TH]
volty has joined #ruby
ysz has quit [Quit: This computer has gone to sleep]
kam270 has quit [Ping timeout: 264 seconds]
yatish27 has joined #ruby
speakingcode has joined #ruby
Timberwo|f has quit [Quit: Sleep.]
h99h9h88 has joined #ruby
adgtl_ has quit [Remote host closed the connection]
beawesomeinstead has quit [Ping timeout: 252 seconds]
amclain has joined #ruby
blackmesa has joined #ruby
rubywarrior has quit [Quit: rubywarrior]
rkazak has joined #ruby
beawesomeinstead has joined #ruby
chouhoulis has joined #ruby
rubywarrior has joined #ruby
askhat has quit [Read error: Connection reset by peer]
askhat has joined #ruby
tectonic has joined #ruby
h99h9h88 has quit [Ping timeout: 256 seconds]
becker_12 has quit [Ping timeout: 252 seconds]
rbennace_ has quit [Remote host closed the connection]
camillo has joined #ruby
atomical has quit [Ping timeout: 252 seconds]
rbennacer has joined #ruby
andrewvos has quit [Ping timeout: 250 seconds]
theastrowolfe has quit [Ping timeout: 250 seconds]
johnmilton has quit [Quit: Namaste]
antgel has quit [Ping timeout: 248 seconds]
sol_ has quit [Ping timeout: 240 seconds]
camillo is now known as sol_
askhat has quit [Client Quit]
atomical has joined #ruby
askhat has joined #ruby
atmosx has joined #ruby
gizmore has joined #ruby
antgel has joined #ruby
rbennacer has quit [Ping timeout: 248 seconds]
sts__ is now known as sts
zeroDivisible has joined #ruby
becker_12 has joined #ruby
ysz has joined #ruby
shredding has quit [Ping timeout: 248 seconds]
ysz has quit [Client Quit]
arlek has joined #ruby
karapetyan has joined #ruby
johnmilton has joined #ruby
johnmilton has quit [Read error: Connection reset by peer]
malconis has joined #ruby
volty has quit [Quit: Konversation terminated!]
fantazo has joined #ruby
karapetyan has quit [Ping timeout: 272 seconds]
m8 has quit [Quit: Sto andando via]
darkf has joined #ruby
arlek has quit [Ping timeout: 276 seconds]
<tectonic> Does anyone know why Foreman always sets it's own $PORT variable and ignores anything set in the .env file?
RegulationD has joined #ruby
karapetyan has joined #ruby
<jhass> because it's "opinionated"
RegulationD has quit [Ping timeout: 256 seconds]
rubywarrior has quit [Quit: rubywarrior]
karapetyan has quit [Client Quit]
duckpuppy has joined #ruby
rubywarrior has joined #ruby
<tectonic> so i'm learning
johnmilton has joined #ruby
<atmosx> tectonic: are you using foreman with heroku/puma or standalone?
Oog_ has quit []
<Ox0dea> Docker, looks like.
zast has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
<kaleido> docker is awesome
rubywarrior has quit [Client Quit]
duckpuppy has quit [Ping timeout: 240 seconds]
<Ox0dea> But fragmentation fosters evolution!
johnmilton has quit [Client Quit]
<shevy> evolution fosters extinction!
karapetyan has joined #ruby
rubywarrior has joined #ruby
<Ox0dea> Extinction fosters a regression to the mean!
<kaleido> if i develop a mutant ability i hope its being able to do whatever i want
dlitvak has quit [Ping timeout: 240 seconds]
yatish27 has quit [Ping timeout: 250 seconds]
rubywarrior has quit [Client Quit]
johnmilton has joined #ruby
<Ox0dea> The universe just wants to implode. Hydrogen be like, "Well, shit, here we go again."
mdw has joined #ruby
wanderer has quit [Changing host]
wanderer has joined #ruby
rubywarrior has joined #ruby
Xeago has joined #ruby
n00bdev has joined #ruby
<tectonic> atmosx: both. docker, heroku, and command line, it's an OSS application
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
elifoster has joined #ruby
fantazo has quit [Quit: Verlassend]
<tectonic> yea, seems like it's a "feature"
<tectonic> thanks atmosx
sdothum has joined #ruby
<Ox0dea> jhass was right all along.
yatish27 has joined #ruby
<jhass> foreman is trash for anything serious tbh
LoneHerm_ has joined #ruby
crime has joined #ruby
rubywarrior has quit [Quit: rubywarrior]
dlitvak has joined #ruby
blackmesa has quit [Ping timeout: 240 seconds]
LoneHerm_ has quit [Ping timeout: 256 seconds]
Hackbinary has joined #ruby
Xeago has quit [Ping timeout: 264 seconds]
rubywarrior has joined #ruby
dlitvak has quit [Ping timeout: 240 seconds]
agentmeerkat has joined #ruby
boshhead has quit [Read error: Connection reset by peer]
dlitvak has joined #ruby
Lildirt has quit [Ping timeout: 272 seconds]
kingsler has joined #ruby
rubywarrior has quit [Client Quit]
HammyJammy has quit [Read error: Connection reset by peer]
TDJACR has quit [Ping timeout: 240 seconds]
danielpk has joined #ruby
binaryplease has quit [Ping timeout: 240 seconds]
roshanavand has joined #ruby
Lildirt has joined #ruby
nunchuck has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
rubywarrior has joined #ruby
Channel6 has joined #ruby
DmitryBochkarev has quit [Quit: This computer has gone to sleep]
ruby-lang435 has joined #ruby
rubywarrior has quit [Client Quit]
karapetyan has quit [Remote host closed the connection]
TDJACR has joined #ruby
amclain has quit [Quit: Leaving]
askhat has quit [Read error: Connection reset by peer]
Ebok has quit [Quit: This computer has gone to sleep]
askhat has joined #ruby
rubywarrior has joined #ruby
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kith has quit [Quit: kith]
rubywarrior has quit [Client Quit]
aphprentice has quit [Quit: Connection closed for inactivity]
sankaber has joined #ruby
pickandmix has quit [Quit: WeeChat 1.4]
rubywarrior has joined #ruby
intrigueD has quit [Remote host closed the connection]
dopamean1 has joined #ruby
pickandmix has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
danielpk has quit [Quit: danielpk]
rubywarrior has quit [Client Quit]
fedexo has joined #ruby
B1n4r10 has joined #ruby
dopamean_ has quit [Ping timeout: 264 seconds]
mondok has joined #ruby
rubywarrior has joined #ruby
weemsledeux has joined #ruby
Jackneill has quit [Quit: Leaving]
tectonic has quit [Ping timeout: 260 seconds]
Spleeze has quit [Ping timeout: 250 seconds]
agentmeerkat has quit [Ping timeout: 240 seconds]
dseitz has joined #ruby
DEA7TH has joined #ruby
tectonic has joined #ruby
gregf has quit [Quit: WeeChat 1.4]
gregf has joined #ruby
<hays> what is the most appropriate way to have class definitions/implementations in separate files?
<hays> put them in lib/ and then require them in some main file?
duckpuppy has joined #ruby
<tectonic> sure
Spleeze has joined #ruby
aryaching has quit []
amoeba has quit [Quit: Leaving]
ferr has joined #ruby
h99h9h88 has joined #ruby
B1n4r10 has quit [Ping timeout: 248 seconds]
B1n4r10 has joined #ruby
duckpuppy has quit [Ping timeout: 240 seconds]
Channel6 has quit [Quit: Leaving]
Youngmathimus0 has joined #ruby
h99h9h88 has quit [Remote host closed the connection]
djellemah_ has joined #ruby
dlitvak has quit [Ping timeout: 264 seconds]
centrx has joined #ruby
blackmesa has joined #ruby
dlitvak has joined #ruby
ruby-lang435 has quit [Ping timeout: 252 seconds]
dlitvak has quit [Ping timeout: 252 seconds]
pickandmix has quit [Quit: WeeChat 1.4]
yatish27 has quit [Remote host closed the connection]
yatish27 has joined #ruby
crime has quit [Ping timeout: 252 seconds]
dongiedong is now known as dongie`aw
zacstewart has quit [Ping timeout: 260 seconds]
einarj has joined #ruby
x77686d has quit [Quit: x77686d]
becker_12 has quit [Ping timeout: 248 seconds]
yatish27 has quit [Remote host closed the connection]
einarj has quit [Ping timeout: 240 seconds]
yqt has joined #ruby
Aviio has joined #ruby
platzhirsch has left #ruby [#ruby]
floror has joined #ruby
doublemalt_ has joined #ruby
x77686d has joined #ruby
x77686d has quit [Client Quit]
askhat has quit [Read error: Connection reset by peer]
askhat has joined #ruby
doublemalt__ has quit [Ping timeout: 264 seconds]
ellistaa has joined #ruby
<ellistaa> if someone says ‘namespace it’ does that mean just put it in a modele or class?
binaryplease has joined #ruby
<ellistaa> module
bluOxigen has quit [Ping timeout: 256 seconds]
dlitvak has joined #ruby
<centrx> ellistaa, module
<ellistaa> centrx: why not class also
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ellistaa> wikipedia says ‘A namespace in computer science (sometimes also called a name scope), is an abstract container or environment created to hold a logical grouping of unique identifiers or symbols (i.e. names). An identifier defined in a namespace is associated only with that namespace.'
jsaak has joined #ruby
djellemah_ has quit [Quit: Leaving]
<centrx> A class is a module with additional functionality that is not needed for a namespace
<jhass> ellistaa: don't use a class if you don't need to instantiate it
<ellistaa> centrx: got it. thanks you
<ellistaa> jhass: got it. we never instantiate a module do we? we just use it ..?
Ebok has joined #ruby
<centrx> or it uses us
<ellistaa> oh!!!
<jhass> >> module Foo; end; Foo.new
<ruby[bot]> jhass: # => undefined method `new' for Foo:Module (NoMethodError) ...check link for more (https://eval.in/518337)
<jhass> you can't instantiate a module
<ellistaa> jhass: cool thanks
william3 has quit [Remote host closed the connection]
rubywarrior has quit [Quit: rubywarrior]
ocbtec has quit [Quit: leaving]
sneakerhax has joined #ruby
moeabdol2 has joined #ruby
veleno has quit [Ping timeout: 276 seconds]
moeabdol1 has quit [Ping timeout: 240 seconds]
dlitvak has quit [Remote host closed the connection]
Kallis has quit [Read error: Connection reset by peer]
malconis has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
idefine has quit [Remote host closed the connection]
infernix has quit [Ping timeout: 256 seconds]
<Ox0dea> ellistaa: You might have "initialize" and "instantiate" conflated.
malconis has quit [Remote host closed the connection]
<Ox0dea> Initialization is the main ingredient of instantiation, to be sure, but they are slightly different things.
<ellistaa> Ox0dea: thanks
idefine has joined #ruby
<ellistaa> Ox0dea: i started reading that book about computation that you recommended. dense shit
<Ox0dea> Er, SICP or Tom Stuart's one?
<ellistaa> tom stuarts
<Ox0dea> Hm... I guess "dense" fits. :P
s2013 has joined #ruby
<ellistaa> lol
<Ox0dea> It's pretty good. Please don't inherit from Struct, though.
karapetyan has joined #ruby
zenlot1 is now known as zenlot
baweaver has joined #ruby
nettoweb has joined #ruby
william3 has joined #ruby
nettoweb has quit [Client Quit]
nunchuck has quit [Ping timeout: 260 seconds]
malconis has joined #ruby
azure32 has joined #ruby
infernix has joined #ruby
kingsler has quit [Quit: This computer has gone to sleep]
karapetyan has quit [Ping timeout: 240 seconds]
Spami has joined #ruby
Bloomer has quit []
william3 has quit [Ping timeout: 240 seconds]
kingsler has joined #ruby
<apeiros> Ox0dea: hm? why? because passing a block to Struct.new is better?
duckpuppy has joined #ruby
<jhass> because it doesn't create a unused intermediate class
<apeiros> so ^ then?
<jhass> oh, sounded a bit sarcastic :)
konsolebox has quit [Remote host closed the connection]
idefine has quit [Ping timeout: 240 seconds]
<apeiros> I should -c so we can use colors to indicate sarcasm :)
<baweaver> safer to assume it for Ox0dea, and puns from me
azure32 has quit [Ping timeout: 256 seconds]
LoneHerm_ has joined #ruby
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> ok, I have no idea why https://www.ics.uci.edu/~fielding/pubs/dissertation/fielding_dissertation.pdf was still open in my browser - but who in his right mine uses a line-height of >=2 for block text?!?
<Ox0dea> apeiros: The only upside to subclassing seems to be that it's slightly more "obvious" that you're creating a class.
duckpuppy has quit [Ping timeout: 252 seconds]
<apeiros> Ox0dea: but I do understand you correctly that "don't inherit from struct" carries an implied "use the block of Struct.new instead"?
<Ox0dea> Of course.
<apeiros> ok
<apeiros> thanks :)
johnmilton has quit [Quit: Namaste]
LoneHerm_ has quit [Ping timeout: 252 seconds]
pickandmix has joined #ruby
KensoDev has joined #ruby
moeabdol2 has quit [Ping timeout: 260 seconds]
idefine has joined #ruby
weemsledeux has joined #ruby
intrigueD has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
kith has joined #ruby
kingsler has quit [Quit: This computer has gone to sleep]
nettoweb has joined #ruby
kingsler has joined #ruby
kingsler has quit [Client Quit]
lucasb has quit [Quit: leaving]
<adaedra> <apeiros> I should -c so we can use colors to indicate sarcasm :)
<adaedra> If only we had a common way of signaling sarcasm /s
becker_12 has joined #ruby
oniMaker has joined #ruby
gizless has joined #ruby
<Ox0dea> If only we had a common way of spelling "signalling".
KINGSABRI has joined #ruby
<adaedra> This one comes from the spellcheck :x
<Ox0dea> It's regional, like "travell?ing".
Spami has joined #ruby
<adaedra> I see.
<adaedra> English, not even once.
becker_12 has quit [Ping timeout: 250 seconds]
Spami has quit [Remote host closed the connection]
chouhoulis has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 276 seconds]
jackjackdripper has joined #ruby
gizmore has quit [Ping timeout: 260 seconds]
yatish27 has joined #ruby
kmckelvin has quit [Ping timeout: 240 seconds]
otherj has joined #ruby
yatish27 has quit [Ping timeout: 240 seconds]
sondr3 has quit [Quit: Sleep]
troulouliou_dev has quit [Quit: Leaving]
godzillaenlacasa has joined #ruby
pandaant has joined #ruby
Cohedrin has joined #ruby
askhat has quit [Read error: Connection reset by peer]
SCHAAP137 has joined #ruby
atmosx has quit [Quit: this is a part & quit message]
askhat has joined #ruby
roshanavand has quit [Remote host closed the connection]
Spami has joined #ruby
Spami has quit [Client Quit]
otherj has quit [Quit: .]
wprice has quit [Quit: wprice]
tomaw has quit [Quit: Quitting]
tomaw has joined #ruby
ellistaa has quit [Quit: ellistaa]
ellistaa has joined #ruby
Averna has quit [Ping timeout: 256 seconds]
Averna has joined #ruby
axisys has quit [Read error: Connection reset by peer]
<shevy> le french
rubywarrior has joined #ruby
godzillaenlacasa has quit [Quit: ZZZZZ....]
<adaedra> das german
<dtordable> shevy: 'er andalú'
<dtordable> hahaha
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
blackmesa has joined #ruby
<dtordable> adaedra: ich keine sprachen das german
bronson has quit [Remote host closed the connection]
askhat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
axisys has joined #ruby
<adaedra> Plaît-il ?
<dtordable> (I'll waaaaant that!)
sdothum has joined #ruby
<dtordable> for example
<dtordable> ich bin daniel
<dtordable> unt ich ist aus Madrid
<dtordable> aber ich komment aus Galicia
<dtordable> something like that?.
<dtordable> ...
bronson has joined #ruby
<dtordable> rocks lol
<shevy> oh my god
askhat has joined #ruby
ss_much has joined #ruby
<ellistaa> if someone says ‘its a built-in’ does that mean it just comes with the languages core library?
<Ox0dea> Yeah.
n00bdev has quit [Ping timeout: 240 seconds]
nunchuck has joined #ruby
duckpuppy has joined #ruby
<ellistaa> thanks
Averna has quit [Ping timeout: 256 seconds]
bronson has quit [Ping timeout: 256 seconds]
gizmore has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
Averna has joined #ruby
rubywarrior has quit [Quit: rubywarrior]
duckpuppy has quit [Ping timeout: 264 seconds]
<kireevco> https://www.dropbox.com/s/dbtmiwodrkcnbq4/gems.wav?dl=0 "Gems install other gems" song
Averna has quit [Max SendQ exceeded]
tectonic has quit []
codecop has quit [Remote host closed the connection]
gizless has quit [Ping timeout: 252 seconds]
rubywarrior has joined #ruby
scripore has quit [Quit: Leaving]
<Ox0dea> kireevco: Bundler is the only gem that installs gems.
<jhass> you looked through all the gems to confirm that?
Coldblackice has joined #ruby
<Ox0dea> It would be a really mean thing to do?
gizless has joined #ruby
rubywarrior has quit [Quit: rubywarrior]
<apeiros> isn't rubygems itself a gem too?
<jhass> I don't think so
<jhass> there's rubygems-update which is a gem that installs rubygems
gizmore has quit [Ping timeout: 248 seconds]
<kireevco> If you look at it, gem dependency is an indirect way of installing gems via rubygem
<kireevco> Incapacitation of some sort
<Ox0dea> Jeweler is dead and RubyGems isn't a gem (anymore).
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
pawnbox has quit [Remote host closed the connection]
<Ox0dea> Anyway, I mistook kireevco's intent; I thought they were trying to bash the ecosystem.
<Ox0dea> I got a "look at all these gems I didn't ask for" kind of vibe.
pawnbox has joined #ruby
sneakers has joined #ruby
sneakerhax has quit [Ping timeout: 252 seconds]
nunchuck has quit []
nunchuck has joined #ruby
wolffles has joined #ruby
pawnbox has quit [Ping timeout: 250 seconds]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
symm- is now known as robholymm
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nunchuck has left #ruby [#ruby]
nettoweb has joined #ruby
user083 has quit [Ping timeout: 240 seconds]
gizmore has joined #ruby
dexter-tzu has joined #ruby
binaryplease has quit [Ping timeout: 260 seconds]
robholymm is now known as symm-
gizless has quit [Ping timeout: 240 seconds]
binaryplease has joined #ruby
al2o3-cr has quit [Ping timeout: 272 seconds]
gizmore has quit [Ping timeout: 276 seconds]
rubywarrior has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oivoodoo has joined #ruby
<shevy> one gem to bind them
<Ox0dea> ActiveSupport.
hinbody has quit [Ping timeout: 250 seconds]
dongie`aw has quit []
mfb2 has joined #ruby
ellistaa has quit [Quit: ellistaa]
LoneHerm_ has joined #ruby
ellistaa has joined #ruby
yatish27 has joined #ruby
nunchuck has joined #ruby
Xeago has joined #ruby
mfb2 has quit [Remote host closed the connection]
jottr has joined #ruby
pawnbox has joined #ruby
DChapman has quit [Remote host closed the connection]
Averna has joined #ruby
<apeiros> Ox0dea: you're longing for ActiveGem, I know it
<shevy> ActiveSleep
rakm has joined #ruby
zacstewart has joined #ruby
ilhami has quit [Quit: Leaving]
rubywarrior has quit [Quit: rubywarrior]
dlitvak has joined #ruby
yatish27 has quit [Ping timeout: 260 seconds]
<Ox0dea> apeiros: What would ActiveGem do?
<apeiros> provide you with talking material, for whichever reason :D
<shevy> lol
Xeago has quit [Ping timeout: 272 seconds]
<Ox0dea> shevy: Could you explain the joke?
dlitvak_ has joined #ruby
pawnbox has quit [Ping timeout: 260 seconds]
Averna has quit [Ping timeout: 276 seconds]
[gmi] has joined #ruby
mdw has quit [Quit: Sleeping Zzzzz]
askhat has quit [Read error: Connection reset by peer]
askhat has joined #ruby
dlitvak has quit [Ping timeout: 248 seconds]
nodejunkie has joined #ruby
sergey_makagon has joined #ruby
<shevy> Ox0dea jokes must never be explained!
<wolffles> im having trouble finding a method that i can use to compare 2 consecuitive values and return it only if all the pairs match
<shevy> waffles! you are back
Averna has joined #ruby
<Ox0dea> wolffles: #each_cons!
<jhass> each_cons.all? specifically
zenlot1 has joined #ruby
duckpuppy has joined #ruby
<Ox0dea> It'd be nice if #each_cons used 2 as the default.
sandstrom has joined #ruby
<jhass> indeed
zenlot has quit [Ping timeout: 240 seconds]
mkosaki_ has quit [Quit: Leaving...]
postmodern has joined #ruby
[gmi] has quit [Quit: Leaving]
<Ox0dea> wolffles: On second thought, you probably want #each_slice.
kaleido has quit [Changing host]
kaleido has joined #ruby
arlek has joined #ruby
duckpuppy has quit [Ping timeout: 264 seconds]
eugenn has joined #ruby
mdw has joined #ruby
<wolffles> nah each_cons is what i need
<wolffles> {|x| x< ?}
sneakerhax has joined #ruby
sergey_makagon has quit [Remote host closed the connection]
<wolffles> how do i compare the two
Lildirt has quit [Ping timeout: 240 seconds]
Ebok has quit [Quit: This computer has gone to sleep]
<Ox0dea> wolffles: But you said you want to return whether all the pairs match?
sergey_makagon has joined #ruby
oivoodoo has quit [Remote host closed the connection]
al2o3-cr has joined #ruby
sneakers has quit [Ping timeout: 248 seconds]
oivoodoo has joined #ruby
<Ox0dea> `foo.each_cons(2).all? { |a, b| a == b }` is just `foo.uniq.size == 1`.
Ebok has joined #ruby
veleno has joined #ruby
<wolffles> so ary.each_cons(2) { #check if x < y}.all? true
nunchuck has quit []
hinbody has joined #ruby
<wolffles> thats what im trying to do :D
<jhass> could be interesting to benchmark against ary.sort == ary
solocshaw has joined #ruby
<wolffles> oh no i got it
<wolffles> ary.each_cons(2).all?{|a.b| a < b }
sergey_makagon has quit [Ping timeout: 252 seconds]
nofxx has quit [Ping timeout: 250 seconds]
<Ox0dea> Are you writing Bubble sort? :P
rizenine has joined #ruby
camilasan has joined #ruby
whiteline has joined #ruby
<wolffles> its called ordered vowels
Jardayn has joined #ruby
Sucks has quit [Ping timeout: 240 seconds]
Sucks has joined #ruby
hinbody has quit [Ping timeout: 272 seconds]
pawnbox has joined #ruby
floror has quit [Quit: floror]
pickandmix has quit [Ping timeout: 252 seconds]
<Ox0dea> Like "facetious" and "fragmentitious"?
nunchuck has joined #ruby
zacstewart has quit [Ping timeout: 252 seconds]
camilasan has quit [Ping timeout: 272 seconds]
mdw has quit [Quit: Sleeping Zzzzz]
<wolffles> yes those pass :P
kaynw80 has joined #ruby
zacstewart has joined #ruby
pawnbox has quit [Ping timeout: 264 seconds]
graphettion has joined #ruby
<shevy> factecious is a difficult word
dlitvak_ has quit [Ping timeout: 272 seconds]
antgel has quit [Ping timeout: 272 seconds]
<Ox0dea> wolffles: What about "cats"?
arlek has quit [Ping timeout: 256 seconds]
Rutix has joined #ruby
Rutix has quit [Changing host]
Rutix has joined #ruby
x77686d has joined #ruby
<wolffles> end
<wolffles> oops
Spami has joined #ruby
zacstewart has quit [Ping timeout: 272 seconds]
hinbody has joined #ruby
ElFerna_ has joined #ruby
kaynw80 has left #ruby [#ruby]
arescorpio has joined #ruby
camilasan has joined #ruby
oivoodoo has quit [Remote host closed the connection]
pandaant has quit [Quit: Lost terminal]
centrx has quit [Quit: If you meet the Buddha on the road, kill him.]
pandaant has joined #ruby
ellistaa has quit [Quit: ellistaa]
ellistaa has joined #ruby
nunchuck has quit []
ellistaa has quit [Client Quit]
al2o3-cr has quit [Quit: WeeChat 1.4]
al2o3-cr has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
Lildirt has joined #ruby
yatish27 has joined #ruby
zast has quit [Remote host closed the connection]
rubywarrior has joined #ruby
<al2o3-cr> ruby is not diamond thee cheeky bitch
hinbody has quit [Ping timeout: 240 seconds]
akem has quit [Ping timeout: 272 seconds]
vikaton has joined #ruby
sneakerhax has quit [Ping timeout: 256 seconds]
<al2o3-cr> you get what you're given, you slag bag
PedramT has joined #ruby
<al2o3-cr> open your twat, let's a smell you dirty fucking whore
<Ox0dea> Too much.
ellistaa has joined #ruby
<wolffles> what
oivoodoo has joined #ruby
<Ox0dea> He gets like this sometimes.
<Ox0dea> Pretty swell chap when he's stable.
<wolffles> lol
hinbody has joined #ruby
<shevy> drugs on the weekend
pawnbox has joined #ruby
user083 has joined #ruby
runciter has joined #ruby
<al2o3-cr> what bitch she is fuccckkkkkk
yqfvwal has left #ruby ["Leaving"]
<Aviio> well the channel is certainly lively tonight
<akkad> yes
<akkad> I divorced my wife, named ruby too
<akkad> nice to see a support channel for it
PedramT has quit [Ping timeout: 248 seconds]
<runciter> on unix systems, ruby spawns a 'ruby-timer-thr' to handle signals, but inspecting the main thread's (and any non-timer-thread's) blocked signals shows that they don't block any signals. how does ruby ensure that signals are delivered only to the timer thread, or am i misunderstanding the design?
jmdade has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ellistaa has quit [Ping timeout: 240 seconds]
<akkad> unix signals are not very thread aware.
pawnbox has quit [Ping timeout: 256 seconds]
<runciter> akkad: the kernel will deliver signals to an arbitrary thread, yes. so some environments use a dedicated signal handling thread. the technique involves setting the process' signal mask to block all signals, then unsetting that mask in the signal handling thread with pthread_sigmask
nettoweb has joined #ruby
<akkad> by kernel, you mean linux right?
askhat has quit [Read error: Connection reset by peer]
x77686d has quit [Quit: x77686d]
<apeiros> !mute al2o3-cr language
<runciter> akkad: it's defined in POSIX or SUSv3
x77686d has joined #ruby
<runciter> akkad: so this also happens in say, freebsd
askhat has joined #ruby
oivoodoo has quit []
<runciter> akkad: ruby appears to use a dedicated signal handling thread, but the other threads don't block any signals. that means the kernel could deliver the signal to any thread, including the main thread
<akkad> ahh true
<akkad> well not if green threads
<akkad> strike that
JEG2 has joined #ruby
<akkad> just diving back into ruby after a couple of years off. trying to find a good refresher like the old koans
JEG2 has left #ruby [#ruby]
reactor16 has joined #ruby
<reactor16> anyone play with railgun/metasploit ?
duckpuppy has joined #ruby
<shevy> ack metasploit again
<reactor16> no one there
zacstewart has joined #ruby
zeroDivisible has quit [Quit: WeeChat 1.3]
elifoster has quit [Ping timeout: 240 seconds]
blackmesa has quit [Ping timeout: 260 seconds]
gregf has quit [Quit: WeeChat 1.4]
nunchuck has joined #ruby
duckpuppy has quit [Ping timeout: 264 seconds]
firstdayonthejob has quit [Ping timeout: 276 seconds]
yqfvwal has joined #ruby
<Ox0dea> reactor16: Why be evil?
<reactor16> no i'm not evil ?
<reactor16> lol
akem has joined #ruby
veleno has quit [Quit: veleno]
<reactor16> why you don't ?
<reactor16> want me to swear u?
kirun has quit [Quit: Client exiting]
ss_much has quit [Quit: Connection closed for inactivity]
<Ox0dea> Yeah, bro, swear me.
ellistaa has joined #ruby
cajone has quit [Remote host closed the connection]
<adaedra> metasploit support is done in their own channel. Be patient.
<reactor16> what is your prefere book ?
mondok has quit [Ping timeout: 272 seconds]
<Ox0dea> We shall swear with our pinkies like men.
sepp2k has quit [Quit: Leaving.]
blackmesa has joined #ruby
<reactor16> odea you name is populare
<Ox0dea> It's a number.
runciter has left #ruby [#ruby]
<Ox0dea> Numbers are everywhere.
<reactor16> in gsm side
sergey_makagon has joined #ruby
cajone has joined #ruby
askhat has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<reactor16> there are a prety cool man named odea who make nice stuff with gsm phone
<reactor16> it look like he repaire network
<reactor16> he's not evil like me
askhat has joined #ruby
<Ox0dea> Repairs can be evil. :P
<reactor16> lol that it :D
<reactor16> is it you ?
firstdayonthejob has joined #ruby
rubywarrior has quit [Quit: rubywarrior]
<Ox0dea> Am I an evil repairman?
<shevy> Ox0dea the bearded man again!
<Ox0dea> Where?!
<reactor16> you talk about me ?
nunchuck has quit []
duncannz has joined #ruby
sergey_makagon has quit [Ping timeout: 248 seconds]
duncannz has quit [Max SendQ exceeded]
hinbody has quit [Ping timeout: 240 seconds]
fedexo has quit [Quit: No Ping reply in 180 seconds.]
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
duncannz has joined #ruby
fedexo has joined #ruby
duncannz has quit [Max SendQ exceeded]
duncannz has joined #ruby
duncannz has quit [Max SendQ exceeded]
edwinvdgraaf has quit [Remote host closed the connection]