apeiros changed the topic of #ruby to: http://ruby-community.com || Ruby 2.2.2; 2.1.6; 2.0.0-p645: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || log @ http://irclog.whitequark.org, other public logging is prohibited
<mwlang> better to go to a bootcamp if that’s your only goal. Otherwise, you’re likely wasting a lotta $$.
Kricir has quit [Remote host closed the connection]
moeabdol has quit [Ping timeout: 264 seconds]
<GaryOak_> That's true, the only jobs I see around are for Front-end devs
iamvery has quit [Client Quit]
<mwlang> Are you in the hunt?
<GaryOak_> Not really, always looking
Bira has quit [Ping timeout: 244 seconds]
<mwlang> GaryOak_: https://toprubyjobs.com/ lists a lot of Ruby jobs that are everything from full-stack, to mobile, to back-end development.
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jackjackdripper has quit [Quit: Leaving.]
pietr0 has quit [Ping timeout: 246 seconds]
ismaelga has joined #ruby
Zekka has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
Sawbones_ has quit [Remote host closed the connection]
scripore has joined #ruby
robustus has quit [Ping timeout: 255 seconds]
<GaryOak_> cool thanks
ismael has joined #ruby
ismael is now known as Guest78
Kricir has joined #ruby
<GaryOak_> I really would love a remote job, but I feel like companies have higher expectations
ismaelga has quit [Read error: Connection reset by peer]
DEA7TH has quit [Ping timeout: 246 seconds]
<GaryOak_> Which I'm probably not qualified for :P
robustus|Off has joined #ruby
robustus|Off is now known as robustus
quimrstorres has quit [Remote host closed the connection]
<mwlang> GaryOak_: put yourself on odesk.com, then. :-)
<GaryOak_> Is the Return on that site worth the time?
sevenseacat has joined #ruby
<mwlang> GaryOak_: If you need to build qualifications, yes.
<GaryOak_> hmmm ok
<mwlang> you gotta start somewhere.
n008f4g_ has quit [Ping timeout: 256 seconds]
baweaver has quit [Remote host closed the connection]
CloCkWeRX has joined #ruby
<mwlang> guru.com is another you can hunt for one-off jobs, but it’s definitely easy to get under-bid there.
<GaryOak_> Yeah I have a CS degree already, I just live in a technology pit of a city
<mwlang> GaryOak_: where?
<GaryOak_> Spokane, WA
nfk has quit [Quit: yawn]
ismaelga has joined #ruby
<mwlang> hah…I thought you were going to say Cleveland, OH.
<GaryOak_> Is that where you are from?
<mwlang> Nope. Atlanta/Athens, GA
<GaryOak_> Ahh
<mwlang> Now in San Diego, CA as of Feb
<GaryOak_> That's cool, I've tried starting a Ruby group here, but everyone is just doing Rails development
vdamewood has joined #ruby
<GaryOak_> and there's only like 5 Ruby devs in the city
workmad3 has joined #ruby
<mwlang> Start a polyglot dev group. Play one language off the other each month.
MatthewsFace[SEA has joined #ruby
<GaryOak_> Yeah, I should go to some of the other dev groups in town
Guest39059 has quit [Ping timeout: 240 seconds]
rbennacer has joined #ruby
Guest78 has quit [Ping timeout: 246 seconds]
Akagi201_ has quit [Remote host closed the connection]
GaryOak_ has quit [Remote host closed the connection]
Zekka has quit [Ping timeout: 265 seconds]
jack_rabbit_ has quit [Ping timeout: 272 seconds]
<mwlang> Athens only had about 5 or 6 Ruby developers…and about the same Python, PHP, Perl, and others…made up for a group of about 30 altogether.
jenrzzz_ has quit [Ping timeout: 245 seconds]
Mohan__ has quit [Ping timeout: 240 seconds]
Guest76750 has quit [Quit: This computer has gone to sleep]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
Mohan has joined #ruby
workmad3 has quit [Ping timeout: 240 seconds]
poguez_ has quit [Quit: Connection closed for inactivity]
Mohan is now known as Guest56741
rbennacer has quit [Ping timeout: 244 seconds]
Pisuke has quit [Read error: Connection reset by peer]
baweaver has joined #ruby
Pisuke has joined #ruby
dorei has quit []
Channel6 has quit [Quit: Leaving]
ozialien has joined #ruby
bebijlya has quit [Quit: kthxbai]
nobitanobi has joined #ruby
Igorshp has quit [Remote host closed the connection]
bebijlya has joined #ruby
Igorshp has joined #ruby
juanpablo___ has quit [Quit: (null)]
juanpablo___ has joined #ruby
Matachines has joined #ruby
<ght> Is the syntax for requiring a specific gem version in a ruby script the same as a rails Gemfile?
kblake has quit [Remote host closed the connection]
<ght> I've researched this and it's not clear, it seems that a ruby script requires a gem 'nameofgem', '=version' syntax, followed by the require, though that may be depreciated synta.
<ght> syntax*
<mwlang> So I’m experimenting with graphviz, ruby-prof and generating call trees visually. One problem I have is that as I trace through the tree, otherwise sane branching on some of the methods point back to an #each method call, bringing several unrelated call chains together — and from that one #each node, 50+ out-nodes are branched.
<havenwood> ght: The Gemfile is just Ruby. In just Ruby you can do like: gem 'minitest', '~> 5'
mjuszczak has quit []
<mwlang> Makes it look like the #each iterator is the bottleneck when it’s really just the stuff within the each loops that’s really the interesting part.
juanpablo____ has joined #ruby
juanpablo___ has quit [Read error: Connection reset by peer]
Altonymous has quit [Quit: Altonymous]
<mwlang> any idea how to break apart the #each calls so the call tree flows more like it should (like perhaps just ignore #each)?
Igorshp has quit [Ping timeout: 264 seconds]
ahmetkapikiran has quit [Quit: ahmetkapikiran]
zz_Outlastsheep has joined #ruby
<mwlang> nevermind, just discovered #eliminate_methods! as in: result.eliminate_methods!([/Integer#times/])
rodfersou has quit [Read error: Connection reset by peer]
RegulationD has quit [Remote host closed the connection]
RegulationD has joined #ruby
juanpablo____ has quit [Ping timeout: 240 seconds]
kblake has joined #ruby
Igorshp has joined #ruby
cryptarium_ has quit [Ping timeout: 265 seconds]
cryptarium has joined #ruby
iotouch has joined #ruby
Zekka has joined #ruby
lfox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alvaro_o has quit [Quit: Ex-Chat]
Aww is now known as UnderagedAww
zzing has quit [Ping timeout: 240 seconds]
asmodlol has quit [Ping timeout: 240 seconds]
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
asmodlol has joined #ruby
zzing has joined #ruby
doodlehaus has quit [Remote host closed the connection]
Igorshp has quit [Remote host closed the connection]
Guest56741 has quit [Ping timeout: 240 seconds]
baweaver has quit [Remote host closed the connection]
asmodlol has quit [Ping timeout: 245 seconds]
zzing has quit [Ping timeout: 246 seconds]
RegulationD has quit [Read error: Connection reset by peer]
Bira has joined #ruby
Mohan__ has joined #ruby
jeramy_s has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<quazimod1> is ruby ever getting docstrings?
RegulationD has joined #ruby
<quazimod1> has there been much thought regards tothis
yaw has joined #ruby
<sevenseacat> docstrings?
asmodlol has joined #ruby
oo_ has joined #ruby
<bricker> sevenseacat: strings that are parsed as documentation
moretti has joined #ruby
cryptarium has quit [Quit: Leaving]
chipotle has quit [Read error: Connection reset by peer]
chinmay_dd has joined #ruby
bricker has quit [Quit: leaving]
asmodlol has quit [Ping timeout: 250 seconds]
asmodlol has joined #ruby
kblake has quit [Remote host closed the connection]
Cust0sL1men has quit [Ping timeout: 256 seconds]
Thrillberg has joined #ruby
chimche has quit [Quit: Leaving.]
<Papierkorb> quazimod1: What's wrong with having those in comments?
<Thrillberg> hi everyone
unreal_ has joined #ruby
TheHodge has quit [Quit: Connection closed for inactivity]
mary5030 has joined #ruby
unreal has quit [Ping timeout: 265 seconds]
charliesome has joined #ruby
apurcell has quit [Quit: Be back later ...]
<havenwood> Thrillberg: hi
charliesome has quit [Client Quit]
michaeldeol has quit [Ping timeout: 264 seconds]
<Thrillberg> I'm very new to ruby and i've got a question regarding the gmaps4rails gem. It's not displaying the map on my show page and I think it's a problem with my @hash variable. Can anyone help me?
slyv has joined #ruby
bruno- has joined #ruby
zenguy_pc has quit [Ping timeout: 264 seconds]
Guest1421 has joined #ruby
doodlehaus has joined #ruby
doodlehaus has quit [Remote host closed the connection]
byprdct has joined #ruby
cryptarium has joined #ruby
jenrzzz has joined #ruby
charliesome has joined #ruby
lidenskap has quit [Remote host closed the connection]
bruno- has quit [Ping timeout: 256 seconds]
zzing has joined #ruby
Thrillberg has quit [Quit: Thrillberg]
moretti has quit [Quit: Leaving...]
Thrillberg has joined #ruby
duderonomy has quit [Ping timeout: 276 seconds]
<havenwood> Thrillberg: Usually #RubyOnRails is the place for Rails questions. But I don't know in your case. Show us a gist of the code?
insidious has quit [Quit: Textual IRC Client: www.textualapp.com]
zenguy_pc has joined #ruby
<Thrillberg> thanks for the reference to #RubyOnRails... I'll check that out too
slyv has quit [Remote host closed the connection]
The_Phoenix has joined #ruby
maletor has joined #ruby
bean has joined #ruby
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
A205B064 has quit [Ping timeout: 245 seconds]
RegulationD has quit [Read error: Connection reset by peer]
RegulationD has joined #ruby
zzing has quit [Read error: Connection reset by peer]
wolflee________ has joined #ruby
laurentide has joined #ruby
laurentide__ has joined #ruby
julian-delphiki has quit [Ping timeout: 264 seconds]
laurentide has quit [Remote host closed the connection]
julian-delphiki has joined #ruby
<havenwood> Thrillberg: What do you want #show to return?
Vile` has quit [Remote host closed the connection]
bean has quit [Ping timeout: 265 seconds]
jimms has quit [Remote host closed the connection]
wolflee________ has quit [Remote host closed the connection]
wolflee________ has joined #ruby
wolflee_______ has quit [Ping timeout: 246 seconds]
<Thrillberg> havenwood: I'm not sure I understand. I've added the show.html.erb relevant code to the gist. It should display a map.
jimms has joined #ruby
Vile` has joined #ruby
Kricir has quit [Remote host closed the connection]
<havenwood> Thrillberg: I don't know. #RubyOnRails is probably best. This seems tied up in Railsy stuff. :)
Kricir has joined #ruby
UnderagedAww is now known as Aww
<Thrillberg> havenwood: yes, I imagine so. Well, thanks for your time!
juanpablo____ has joined #ruby
Papierkorb has quit [Ping timeout: 245 seconds]
Papierkorb has joined #ruby
greenbagels has joined #ruby
Channel6 has joined #ruby
juanpablo____ has quit [Ping timeout: 264 seconds]
tus has quit []
ebbflowgo has joined #ruby
Thrillberg has left #ruby [#ruby]
The_Phoenix has quit [Read error: Connection reset by peer]
nb_bez___ has joined #ruby
Akagi201 has joined #ruby
Oka has quit [Quit: さようなら]
wolflee_________ has joined #ruby
zzing has joined #ruby
nobitanobi has quit [Remote host closed the connection]
wolflee________ has quit [Read error: Connection reset by peer]
ebbflowgo has left #ruby [#ruby]
werelivinginthef has quit [Remote host closed the connection]
kapil___ has quit [Quit: Connection closed for inactivity]
AndyBotwin has joined #ruby
AndyBotwin has joined #ruby
revoohc has joined #ruby
[Franklin] has quit [Quit: Lost terminal]
revoohc has quit [Client Quit]
zzing has quit [Read error: Connection reset by peer]
_djbkd has quit [Quit: My people need me...]
cryptarium has quit [Ping timeout: 256 seconds]
diegoaguilar has joined #ruby
Rollabunna has quit [Read error: Connection reset by peer]
gambl0re has quit [Ping timeout: 246 seconds]
yaw has quit [Quit: Textual IRC Client: www.textualapp.com]
allen has joined #ruby
allen is now known as Guest92230
Bira has quit []
gkra_ is now known as gkra
Rollabunna has joined #ruby
thatslifeson has joined #ruby
ismael has joined #ruby
ismael is now known as Guest45546
yaw has joined #ruby
gazay has joined #ruby
bintelli has joined #ruby
ismaelga has quit [Ping timeout: 272 seconds]
bintelli has quit [Client Quit]
thatslifeson has quit [Ping timeout: 240 seconds]
zzing has joined #ruby
bintelli has joined #ruby
Matachines has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shellfu_afk has quit [Read error: Connection reset by peer]
Rollabunna has quit [Read error: Connection reset by peer]
snath has joined #ruby
psy_ has quit [Quit: Leaving]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Hirzu has joined #ruby
kblake has joined #ruby
anskeit has joined #ruby
robustus has quit [Ping timeout: 264 seconds]
workmad3 has joined #ruby
rbennacer has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
Spami has quit [Quit: This computer has gone to sleep]
zzing has quit [Ping timeout: 250 seconds]
davedev2_ has quit []
_blizzy_ has quit [Ping timeout: 265 seconds]
Papierkorb has quit [Ping timeout: 250 seconds]
jeramy_s has joined #ruby
kblake has quit [Ping timeout: 264 seconds]
workmad3 has quit [Ping timeout: 252 seconds]
rbennacer has quit [Ping timeout: 240 seconds]
jeremati_ has quit [Remote host closed the connection]
Guest92230 has quit [Ping timeout: 240 seconds]
Hirzu has quit [Ping timeout: 256 seconds]
Deele has joined #ruby
fedexo has joined #ruby
bigmac has joined #ruby
longfeet has quit [Ping timeout: 256 seconds]
zzing has joined #ruby
ponga has joined #ruby
mrmargolis has quit [Remote host closed the connection]
scripore has joined #ruby
rgb-one has quit [Remote host closed the connection]
mary5030 has quit [Remote host closed the connection]
lessless has joined #ruby
jimms has quit [Remote host closed the connection]
Xiti has quit [Quit: Xiti]
jimms has joined #ruby
JDiPierro has joined #ruby
Xiti has joined #ruby
rgb-one has joined #ruby
gazay has quit [Quit: gazay]
scripore has quit [Client Quit]
Rollabunna has joined #ruby
gazay has joined #ruby
JDiPierro has quit [Remote host closed the connection]
Spami has joined #ruby
Matachines has joined #ruby
hmsimha has joined #ruby
gazay has quit [Client Quit]
jeramy_s has quit [Quit: Peace out!]
Mohan__ has quit [Ping timeout: 265 seconds]
lkba has quit [Ping timeout: 255 seconds]
rgb-one has quit [Client Quit]
rkazak has joined #ruby
Mohan has joined #ruby
Mohan is now known as Guest14902
oo_ has quit [Remote host closed the connection]
JDiPierro has joined #ruby
chipotle has joined #ruby
lfox has joined #ruby
towski___ has quit [Remote host closed the connection]
jack_rabbit_ has joined #ruby
juanpablo____ has joined #ruby
neonrooster has joined #ruby
krz has joined #ruby
<neonrooster> how do I iterate over the length of a string?
<neonrooster> because see, for a string named password I need to make each character an asterisk
oo_ has joined #ruby
juanpablo____ has quit [Ping timeout: 272 seconds]
lidenskap has joined #ruby
<anskeit> did you try each_byte?
<neonrooster> ./ex13.rb:4:in `gets': No such file or directory @ rb_sysopen - Travis (Errno::ENOENT)
<neonrooster> anskeit: I used each_char
ismaelga has joined #ruby
<crowell> >> "secret_p4ssw0rd".gsub(/./, "*")
<ruboto> crowell # => "***************" (https://eval.in/328918)
Aww is now known as [2813308004]
<crowell> neonrooster: ^^
<neonrooster> crowell: WOW
Brozo has joined #ruby
<neonrooster> that script fails on Windows
Guest45546 has quit [Ping timeout: 256 seconds]
iteratorP has joined #ruby
<crowell> neonrooster: i don't get it, what is failing?
Guest1421 has quit [Ping timeout: 264 seconds]
[2813308004] is now known as cyberme
<neonrooster> PS C:\Users\Travis\Desktop\code> ruby .\ex13.rb Linux
<neonrooster> What password do you want? Enter: ./ex13.rb:4:in `gets': No such file or directory @ rb_sysopen - Linux (Errno::ENOENT)
<crowell> neonrooster: try STDIN.gets
cyberme is now known as Aww
<crowell> instead of just gets
PhantomS_ has joined #ruby
<neonrooster> username = ARGV[0];
<neonrooster> password = STDIN.gets.chomp
<neonrooster> perfect!
<havenwood> >> '*' * 'sekret'.size
<ruboto> havenwood # => "******" (https://eval.in/328919)
baweaver has joined #ruby
<havenwood> requisite non-regexp solution
<crowell> havenwood: do we also need a .map version? ;)
<neonrooster> how do I throw an exception and quit the program if ARGV.length < 1?
<havenwood> >> 'sekret'.chars.map { '*' }.join
<ruboto> havenwood # => "******" (https://eval.in/328920)
<neonrooster> and oh, Linux sucks for me
<havenwood> neonrooster: abort 'flee at once!' if ARGV.empty?
revoohc has joined #ruby
PhantomSpank has quit [Ping timeout: 264 seconds]
<neonrooster> havenwood: Impressive.
<neonrooster> got a viral sledgehammer that will kill the Linux kernel dead?
a346 has quit [Remote host closed the connection]
a346 has joined #ruby
* neonrooster is angry at Linux cause the graphics stack in Linux sucks
psy has joined #ruby
penzur has joined #ruby
penzur has quit [Read error: Connection reset by peer]
<havenwood> >> 'sekret'.chars.fill('*').join
<ruboto> havenwood # => "******" (https://eval.in/328951)
<havenwood> crowell: if you're going that route though ^ ;)
Perdomo_ has quit [Ping timeout: 245 seconds]
cryptarium has joined #ruby
jimms has quit [Remote host closed the connection]
vivekananda has quit [Quit: Leaving]
arescorpio has joined #ruby
penzur has joined #ruby
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lfox has quit [Read error: Connection reset by peer]
JDiPierro has quit [Remote host closed the connection]
riskish has joined #ruby
yaw has quit [Quit: Textual IRC Client: www.textualapp.com]
Igorshp has joined #ruby
zzing has quit [Read error: Connection reset by peer]
zzing has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
Motoservo has quit [Quit: Motoservo]
bruno- has joined #ruby
Igorshp has quit [Ping timeout: 252 seconds]
<baweaver> >> 'sekret'.length * '*'
<ruboto> baweaver # => String can't be coerced into Fixnum (TypeError) ...check link for more (https://eval.in/328982)
<baweaver> >> '*' * 'sekret'.length
lidenskap has quit [Remote host closed the connection]
<ruboto> baweaver # => "******" (https://eval.in/328983)
<baweaver> havenwood: ^
<havenwood> baweaver: that's what i wrote above, but i saved a few chars with #size instead of #length :P
jerematic has joined #ruby
* baweaver keeps forgetting operators are defined on classes and reverses their orders
raphagodoi has joined #ruby
<baweaver> I just saw the map and fill solutions.
<baweaver> most have logged in later.
<havenwood> baweaver: hehe, well we're thinking alike: 02:43 <havenwood> >> '*' * 'sekret'.size
<baweaver> must*
<baweaver> yep, right before I got on.
braincrash has quit [Quit: bye bye]
bruno- has quit [Ping timeout: 244 seconds]
bintelli has quit [Quit: Page closed]
Motoservo has joined #ruby
<baweaver> Tempted to suggest Object#absent? to core
<baweaver> class Object; def absent?() self.nil? || self.empty? end end; nil.absent?
neonrooster has quit [Quit: neonrooster]
<baweaver> >> class Object; def absent?() self.nil? || self.empty? end end; nil.absent?
<ruboto> baweaver # => true (https://eval.in/328984)
<baweaver> >> class Object; def absent?() self.nil? || self.empty? end end; ''.absent?
<ruboto> baweaver # => true (https://eval.in/328985)
revoohc has quit [Quit: revoohc]
lidenskap has joined #ruby
<baweaver> getting a bit tired of nil and empty checking on some things.
<havenwood> >> class Object; def absent?; nil? || empty? end end; 1.absent?
<ruboto> havenwood # => undefined method `empty?' for 1:Fixnum (NoMethodError) ...check link for more (https://eval.in/328986)
raphagodoi has quit [Client Quit]
lidenskap has quit [Remote host closed the connection]
<baweaver> true.
<baweaver> havenwood: I do love though that we can use REPLs to effectively speak to other programmers.
<havenwood> :)
Brozo has quit [Quit: Leaving...]
<baweaver> A snippet is worth a thousand words
Guest76750 has joined #ruby
braincrash has joined #ruby
byprdct has quit [Read error: Connection reset by peer]
will_lam has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
ramfjord has quit [Ping timeout: 256 seconds]
zzing has quit [Quit: Textual IRC Client: www.textualapp.com]
will_lam is now known as revvy
multi_io has quit [Ping timeout: 255 seconds]
<havenwood> >> class NilClass; def absent?; true end end; module Enumerable; def absent?; count.zero? end end; [nil.absent?, [].absent?, [nil].absent?]
<ruboto> havenwood # => [true, true, false] (https://eval.in/329017)
<havenwood> baweaver: If you really wanted just nil and all the Enumerables. ^
<baweaver> granted as well.
multi_io has joined #ruby
<havenwood> baweaver: Would `false` be absent?
<baweaver> Also a good point. I'd say no, but could see why
jerematic has quit [Ping timeout: 256 seconds]
<havenwood> err, `none?` instead of `count.zero?`
<baweaver> Heh, Haskell
<baweaver> Some, None, Any, Maybe
ismaelga has quit [Remote host closed the connection]
<havenwood> >> [].none?
<ruboto> havenwood # => true (https://eval.in/329019)
vikaton has joined #ruby
<baweaver> >> nil.none?
<ruboto> baweaver # => undefined method `none?' for nil:NilClass (NoMethodError) ...check link for more (https://eval.in/329020)
<baweaver> Mostly it's annoying having to nil check
<vikaton> >> nil.not_nil!
<ruboto> vikaton # => undefined method `not_nil!' for nil:NilClass (NoMethodError) ...check link for more (https://eval.in/329021)
<vikaton> oh
<havenwood> vikaton: Ruby not Crystal :P
Sawbones_ has joined #ruby
<vikaton> just checking :P
vikaton has quit [Client Quit]
mary5030 has joined #ruby
<havenwood> baweaver: NoMethodError: undefined method `omgwtfbbq' for nil:NilClass # Murrrlllgrrrwwwrrr
<baweaver> Pry has wtf
Sawbones_ has quit [Remote host closed the connection]
mary5030 has quit [Ping timeout: 265 seconds]
<havenwood> baweaver: Or the aptly named: wtf?!
<havenwood> baweaver: Thanks for reminding me. I should use that more.
<baweaver> It has a regex on it that adds an extra level of stacktrace for each ! or ? applied.
shadoi has quit [Quit: Leaving.]
<baweaver> havenwood: I have some extensions for pry as well that might come in handy
AndyBotwin has quit [Quit: Leaving]
iamninja has quit [Read error: Connection reset by peer]
a346 has quit [Quit: a346]
<baweaver> I used macro to make something to open the last exception as a google search
DerisiveLogic has joined #ruby
<baweaver> Have to find that again....
iamninja has joined #ruby
<havenwood> baweaver: neat!
revvy has quit [Remote host closed the connection]
fedexo has quit [Ping timeout: 265 seconds]
<baweaver> Though you can totally: edit --ex
<baweaver> to edit the last exception
barkerd427 is now known as zz_barkerd427
revvy has joined #ruby
surs has joined #ruby
<havenwood> baweaver: i have a little pry extension but don't actually use it: https://github.com/havenwood/pry-drb
Guest76750 has quit [Quit: This computer has gone to sleep]
towski_ has joined #ruby
<havenwood> baweaver: <3 pry
Hirzu has joined #ruby
ramfjord has joined #ruby
<baweaver> banister: ^
mostlybadfly has joined #ruby
chiel has quit [Remote host closed the connection]
<baweaver> havenwood: that's actually pretty dang handy.
revvy has quit [Remote host closed the connection]
<baweaver> could always combine that with a few commands, such as save-variable foobar
ngr has quit [Ping timeout: 245 seconds]
Zenon has quit [Quit: bb]
goggy has joined #ruby
Hirzu has quit [Remote host closed the connection]
nb_bez___ has quit [Quit: Connection closed for inactivity]
Guest76750 has joined #ruby
fedexo has joined #ruby
tjohnson has quit [Quit: Connection closed for inactivity]
workmad3 has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
goggy has quit [Ping timeout: 256 seconds]
goggy has joined #ruby
<SirFunk> Anyone here know if it is possible to mock class constants with RR ?
frem has quit [Quit: Connection closed for inactivity]
<baweaver> RR?
tonyhb has joined #ruby
<SirFunk> mocking framework: https://github.com/rr/rr
workmad3 has quit [Ping timeout: 250 seconds]
Apocalypse has quit [Quit: Input/Output Error]
psy has quit [Disconnected by services]
<baweaver> If it's not clear in the docs, I'd just open an issue asking.
barhum2013 has joined #ruby
psy_ has joined #ruby
<SirFunk> yeah, I suppose I'll do that. I was hoping someone would have done it before and could tell me :)
<sevenseacat> RR is still being developed?
<sevenseacat> we stopped using it years ago
Igorshp has joined #ruby
<SirFunk> yeah.. I wish we had too
<SirFunk> we have some 50,000 mocks/stubs written with rr in our test suite
Guest76750 has quit [Quit: This computer has gone to sleep]
<sevenseacat> oh fun
<SirFunk> and we use rspec 2.12
<SirFunk> #bleedingedge :)
sent1nel has quit [Remote host closed the connection]
Apocalypse has joined #ruby
Apocalypse has joined #ruby
lidenskap has joined #ruby
Apocalypse has quit [Client Quit]
<baweaver> https://gist.github.com/baweaver/b74a1f6c485a8e8666b1 - Working up a new article, don't suppose someone could give it a one over?
infinitone has joined #ruby
Igorshp has quit [Ping timeout: 272 seconds]
<baweaver> Rails scoping in conditional contexts.
<sevenseacat> i'll have a squiz
<baweaver> danke :)
sent1nel has joined #ruby
duderonomy has joined #ruby
<sevenseacat> i think you missed some code here @posts = @posts. if params[:show_tags] under "More advanced filtering"
<baweaver> I'll give it a look
Akagi201 has quit [Ping timeout: 245 seconds]
<sevenseacat> I think `all` is preferred over `where(nil)` in rails 4
Akagi201 has joined #ruby
<baweaver> I'll have to test with it.
<sevenseacat> i like the approach - I'd typically bust out a standalone Query model if i had a whole bunch of ifs all over the place like that
<sevenseacat> but yours is good too
<baweaver> I just hate mutating things unless I have to.
<baweaver> This allows for more chainability, and definitely a lot clearer intent with scopes
Apocalypse has joined #ruby
Apocalypse has joined #ruby
<baweaver> Shaping it up before I push it out tonight.
tonyhb has quit [Quit: peace]
<baweaver> Yeah, all produces the same SQL, nice. Thanks for the one-over sevenseacat
icebourg has joined #ruby
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
Kruppe has quit [Ping timeout: 248 seconds]
oo_ has quit [Remote host closed the connection]
Matachin_ has joined #ruby
bluOxigen has joined #ruby
Kruppe has joined #ruby
Matachines has quit [Ping timeout: 272 seconds]
Sawbones_ has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
juanpablo____ has joined #ruby
gazay has joined #ruby
Matachin_ has quit [Quit: Textual IRC Client: www.textualapp.com]
ismaelga has joined #ruby
juanpablo____ has quit [Ping timeout: 240 seconds]
konsolebox has joined #ruby
michaeldeol has joined #ruby
Sawbones_ has quit [Remote host closed the connection]
oo_ has joined #ruby
d0lph1n98 has joined #ruby
iamninja has quit [Read error: Connection reset by peer]
iamninja has joined #ruby
arescorpio has quit [Quit: Leaving.]
ismaelga has quit [Ping timeout: 272 seconds]
<havenwood> baweaver: why the one private method in the final example?
d0lph1n98 has quit [Client Quit]
<baweaver> strong params methods are normally private.
<havenwood> baweaver: seems to me it'd be nicer to just have another params-based arg, but maybe i'm missing the point
barhum2013 has quit [Quit: barhum2013]
<havenwood> baweaver: where(params.permit(:name))
d0lph1n has joined #ruby
<baweaver> Sometimes it can get long, so it's a bit of a habit
<baweaver> probably not one that makes a lot of sense.
Channel6 has quit [Quit: Leaving]
iotouch has quit [Quit: This computer has gone to sleep]
j75 has joined #ruby
<j75> how can i get this ruby command `man blah` to not output anything in the console?
d0lph1n has quit [Quit: leaving]
KeroroGunsou has joined #ruby
<al2o3-cr> j75: put a semi-colon after it ;p
lkba has joined #ruby
psy_ has quit [Ping timeout: 246 seconds]
krz has quit [Ping timeout: 250 seconds]
<j75> al2o3-cr: heh ;p
<j75> baweaver: thanks this is helpful
Hijiri has quit [Ping timeout: 265 seconds]
iotouch has joined #ruby
Sawbones_ has joined #ruby
zoras has joined #ruby
sent1nel has quit [Remote host closed the connection]
psy_ has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
IrishGringo has joined #ruby
Hijiri has joined #ruby
<havenwood> j75: Do you care if the command writes to stdout?
Sawbones_ has quit [Ping timeout: 250 seconds]
<j75> i'd like it not to write to stdout
<havenwood> j75: First thing that comes to mind would be using Open3, like: require 'open3'; _, stdout, _ = Open3.popen2e 'man blah'; stdout.read
Hirzu has joined #ruby
v0n has quit [Ping timeout: 244 seconds]
<havenwood> stdout_and_stderr rather
<havenwood> but same that'd ^ not actually print anything
<j75> i'd like it to print output only if man page is valid
<j75> i.e. man ls should print out put but man lll should print nothing
KeroroGunsou has quit [Quit: leaving]
rbennacer has joined #ruby
ramfjord has quit [Ping timeout: 255 seconds]
<al2o3-cr> j75: something like this: Open3.popen3('man lll') {|i,o,e,t| t.value.exitstatus.zero? ? o.read : nil }
cgrieger^away is now known as cgrieger
riskish has quit [Quit: Textual IRC Client: www.textualapp.com]
v0n has joined #ruby
Hirzu has quit [Ping timeout: 256 seconds]
<j75> a12o3-cr: do i need to require anything for that first?
<al2o3-cr> require 'open3'
rbennacer has quit [Ping timeout: 250 seconds]
<j75> a12o3-cr: o.read is stdout?
<havenwood> j75: yup
<crowell> j75: like this? https://paste.kde.org/pniyg5eq9
<al2o3-cr> yes, change the variables just an example
<havenwood> j75: in, out, error, wait_thread
<j75> thanks!
<j75> this is the ticket!
narcan has joined #ruby
sevenseacat has quit [Remote host closed the connection]
sevenseacat has joined #ruby
Igorshp has joined #ruby
<j75> popen3 seems to automatically supress the output this is very nice thanks again!
turtil has quit [Ping timeout: 244 seconds]
umby24 is now known as umby24|offline
Guest76750 has joined #ruby
<baweaver> new hobby: corrupting Java devs at $WORK into using Scala.
_blizzy_ has joined #ruby
d0lph1n98 has joined #ruby
DerisiveLogic has quit [Remote host closed the connection]
DerisiveLogic has joined #ruby
Hijiri has quit [Quit: WeeChat 1.0.1]
pwnz0r has joined #ruby
d0lph1n98 has quit [Client Quit]
jerematic has joined #ruby
Kricir has quit [Remote host closed the connection]
swgillespie has joined #ruby
badlands has joined #ruby
braincra- has joined #ruby
crowell has quit [Remote host closed the connection]
Hirzu has joined #ruby
crowell has joined #ruby
<agent_white> Evenin'
Igorshp has quit [Ping timeout: 245 seconds]
<j75> evening
_blizzy_ has quit [Ping timeout: 272 seconds]
sampo has joined #ruby
<badlands> I'm creating a command line tool, which gets installed as a rubygem and runs through an executable. How should I distribute it so that it can write it's own log files once installed? Is there a common pattern for this?
RegulationD has quit [Read error: Connection reset by peer]
<sampo> I'm writing my first ruby program...how to do I create a 2d object array? This is what I have...
jerematic has quit [Ping timeout: 264 seconds]
<sampo> foundation = Array.new(4, Array.new(1) { card.new(index,0) }
<sampo> card is the class of the objects
RegulationD has joined #ruby
braincrash has quit [Ping timeout: 272 seconds]
<j75> badlands: maybe check out Logger from the standard ruby library
crowell has quit [Remote host closed the connection]
<baweaver> So get the 56 cards eh?
crowell has joined #ruby
crowell has quit [Changing host]
crowell has joined #ruby
<sampo> huh?
Hirzu has quit [Ping timeout: 256 seconds]
<baweaver> >> [*(1..10), *%w(J Q K A)]
<ruboto> baweaver # => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10, "J", "Q", "K", "A"] (https://eval.in/329254)
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<al2o3-cr> baweaver: 1 in a deck of cards ;p
<sampo> well I'm not even trying to do that, I'm trying to establish the foundation piles first where the 'finished' stacks will go
<badlands> thanks j75, I'm using logger, the problem is, each person's installation of the gem will have it's own log files, which means I don't add the log folder to the repositiory. But when logger tries to write to the log, the log folder doesn't exist
Hirzu has joined #ruby
diegoaguilar has quit [Quit: Leaving]
jack_rabbit_ has quit [Ping timeout: 252 seconds]
<baweaver> >> ns = [*(1..10), *%w(J Q K A)]; ss = %w(♠ ♥ ♦ ♣); ss.flat_map { |s| ns.map { |n| "#{n}#{s}" }}
<ruboto> baweaver # => ["1♠", "2♠", "3♠", "4♠", "5♠", "6♠", "7♠", "8♠", "9♠", "10♠", "J♠", "Q♠", "K♠", "A♠", "1♥", "2♥", "3 ...check link for more (https://eval.in/329258)
<baweaver> >> ns = [*(2..10), *%w(J Q K A)]; ss = %w(♠ ♥ ♦ ♣); ss.flat_map { |s| ns.map { |n| "#{n}#{s}" }}
<ruboto> baweaver # => ["2♠", "3♠", "4♠", "5♠", "6♠", "7♠", "8♠", "9♠", "10♠", "J♠", "Q♠", "K♠", "A♠", "2♥", "3♥", "4♥", "5 ...check link for more (https://eval.in/329260)
<baweaver> al2o3-cr: point taken
<al2o3-cr> ;p
<baweaver> derp is strong tonight
RegulationD has quit [Read error: Connection reset by peer]
RegulationD has joined #ruby
<al2o3-cr> i have that every night ;)
<baweaver> >> Array.new(5) { Array.new(5) { 1 } }
<ruboto> baweaver # => [[1, 1, 1, 1, 1], [1, 1, 1, 1, 1], [1, 1, 1, 1, 1], [1, 1, 1, 1, 1], [1, 1, 1, 1, 1]] (https://eval.in/329263)
iamninja has quit [Ping timeout: 240 seconds]
<sampo> can it do math on the number in the string on the left?
<baweaver> expand on that
Authenticator has joined #ruby
<sampo> like
Authenticator is now known as DrDoctor
<sampo> I'm doing calculation solitaire, there are four final stacks
<sampo> one increments by 1
<sampo> so ace,2,3,4....
<sampo> one increments by 2
DrDoctor has left #ruby [#ruby]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
<sampo> 2,4,6,8,10,Q,A....
v0n has quit [Read error: Connection reset by peer]
<sampo> one increments by 3
<sampo> 3,6,9,Q,2,5,8,J,A...
<sampo> one increments by 4
<sampo> 4,8,Q,3,7,J,2,6,10...
<sampo> so I need it to check the value
narcan has joined #ruby
narcan has quit [Max SendQ exceeded]
<sampo> I was basically storing it as an integer, and just changing it to ace/facecard during a printmethod
<ruboto> sampo, we in #ruby do not like pastebin.com, I reposted your paste to gist for you: https://gist.github.com/2a5ad5479b95d83257d2
<ruboto> pastebin.com loads slowly for most, has ads which are distracting and has terrible formatting.
Hirzu has quit [Ping timeout: 256 seconds]
<baweaver> >> (1..10).select { |n| n % 2 }
<ruboto> baweaver # => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] (https://eval.in/329298)
<baweaver> >> (1..10).select { |n| n % 2 == 0 }
<ruboto> baweaver # => [2, 4, 6, 8, 10] (https://eval.in/329299)
Guest76750 has quit [Quit: Leaving]
<havenwood> >> [*1..10, *%w[J Q K A]].product %w[♠ ♥ ♦ ♣]
<ruboto> havenwood # => [[1, "♠"], [1, "♥"], [1, "♦"], [1, "♣"], [2, "♠"], [2, "♥"], [2, "♦"], [2, "♣"], [3, "♠"], [3, "♥"], ...check link for more (https://eval.in/329301)
juanpablo____ has joined #ruby
lidenskap has quit [Remote host closed the connection]
<havenwood> >> 2.step(by: 2, to: 10).to_a
<ruboto> havenwood # => [2, 4, 6, 8, 10] (https://eval.in/329302)
<baweaver> >> div_by = -> n { -> x { x % n == 0 } }.call; (1..10).select(&div_by(3))
<ruboto> baweaver # => wrong number of arguments (0 for 1) (ArgumentError) ...check link for more (https://eval.in/329304)
<baweaver> >> div_by = -> n { -> x { x % n == 0 } }; (1..10).select(&div_by.call(3))
<ruboto> baweaver # => [3, 6, 9] (https://eval.in/329305)
susmus has joined #ruby
<baweaver> havenwood: that's what it was
<baweaver> couldn't find the dang thing
<sampo> I see
edwinvdg_ has quit [Remote host closed the connection]
<sampo> so under the hood, how are the pairs rendered in ruby?
lidenskap has joined #ruby
<baweaver> It was on fixnum wasn't it...
narcan has joined #ruby
<sampo> arrays? structs?
<havenwood> >> (2..10).step(2).to_a
<ruboto> havenwood # => [2, 4, 6, 8, 10] (https://eval.in/329306)
<baweaver> arrays
<sampo> ah
narcan has quit [Max SendQ exceeded]
<baweaver> there it is...
<sampo> thanks
<baweaver> I was looking in Enumerable the entire time.
Hirzu has joined #ruby
<sampo> Geez this is just...quite a leap
<sampo> I'm an undergrad and I've been writing in C++ and assembler for the last 4 months...things are so...unhinged
<sampo> with ruby
<baweaver> sampo: You want REALLY unhinged?
<baweaver> check out Haskell
robustus has joined #ruby
<baweaver> if that doesn't give you strange nightmares for a few months
<sampo> I might have to use it next year
juanpablo____ has quit [Ping timeout: 265 seconds]
<baweaver> (*mostly) Pure functional language, no mutation
<sampo> I'm taking an AI class where we pick a language that is functional to do assignments, I dunno I might just stick to Lisp or Python though
havenn has joined #ruby
<sampo> that *can be functional
<havenn> >> 2.step(by: 2).first 5
<ruboto> havenn # => [2, 4, 6, 8, 10] (https://eval.in/329309)
<baweaver> AI? Lisp.
<baweaver> King of the Macro languages, which you're going to need to implement DSLs
<sevenseacat> we used prolog at uni for our AI class
<baweaver> mainly rewriting parts of Prolog, ala Paradigms of Artificial Intelligence by Peter Norvig
<baweaver> ahaha
<baweaver> sevenseacat: ninja'd on that one I see.
Hirzu has quit [Ping timeout: 256 seconds]
<sampo> baweaver: I like using assembler right now, although I think it would be a bitch to program anything longer than 1000 lines in it
<sevenseacat> and the textbook we had was artificial intelligence: a modern approach by stuart russel and peter norvig.
* sevenseacat went to find it
<baweaver> Norvig and Kurzwiel are beasts in AI
ICantCook has joined #ruby
havenwood has quit [Ping timeout: 256 seconds]
<ICantCook> Quick question. Why to gem installs take so long at first, then boom! they come to life?
<ICantCook> eg.
<ICantCook> gem install compass
<ICantCook> (nothing for 10 minutes)
<ICantCook> then suddenly downloading and installing?
<sevenseacat> ICantCook: thats when gem is doing all of its dependency checking
<sevenseacat> which involves building up a dependency graph of like every gem ever
<sevenseacat> to make sure its compatible
<baweaver> Have to make sure A plays nicely with B and doesn't choke C
<baweaver> do that for whatever insane number of gems there may be and their versions
Hirzu has joined #ruby
casadei_ has quit [Remote host closed the connection]
<baweaver> Rails dep-trees are nightmares
<baweaver> Check your Gemfile.lock some time
<ICantCook> wow okay
<ICantCook> sounds like bitcoin
RegulationD has quit [Read error: Connection reset by peer]
kp666 has joined #ruby
<ICantCook> so it will get slower with time
RegulationD has joined #ruby
<choke> I like when I'm mentioned on accident
* baweaver is tempted to look into bundler for speed optimizations
<al2o3-cr> lol
* baweaver feels no pity
<baweaver> :P
<sevenseacat> i like when textual randomly highlights people when their name is spoken
<choke> you'd be surprised how many times developers use the word choke lol
badlands has quit [Quit: ChatZilla 0.9.91.1 [Firefox 37.0.2/20150415140819]]
iotouch has quit [Quit: This computer has gone to sleep]
speakingcode has joined #ruby
<baweaver> I have to turn off autocorrect on any phone I use, or it'll drive me mad.
<baweaver> especially when I try typing in a code snippet at all
<sampo> how often do ruby coders write very common functions externally in a lower level language? Is it possible to use assembler?
<baweaver> C
<baweaver> Normally not though
speaking1ode has quit [Ping timeout: 256 seconds]
<baweaver> and if you're really breaking out C extensions a lot you should probably just drop to a lower level language.
<choke> sevenseacat i should install textual on my mac ( though i rarely use the mac )... wish xchat on linux highlighted
Hirzu has quit [Ping timeout: 256 seconds]
<baweaver> Limechat here.
<sampo> C is a nightmare when the scope gets big though
<al2o3-cr> choke use weechat-curses man
<sevenseacat> i really, really like textual. its not perfect, but its the best irc client ive ever used.
<baweaver> That's when you drop down to Scala or Elixir
<havenn> LimeChat here as well. But I keep hearing good things about Textual so..
<sevenseacat> arr whats with the elixir love this week
<baweaver> avoid xchat.com by the way, the chat is actually at xchat.org....
<baweaver> that was fun explaining to IT
krz has joined #ruby
<baweaver> sevenseacat: Not a fan?
<sevenseacat> i havent tried it, but it makes me want to try it
IrishGringo has quit [Ping timeout: 256 seconds]
diegoviola has quit [Ping timeout: 256 seconds]
<baweaver> (for of those not keen on it) Elixir is based on Erlang, which was used by Erickson to run their mobile phone network for zero downtime and massive concurrency
Hirzu has joined #ruby
diegoviola has joined #ruby
<baweaver> Hot swap code in production type of magic
<sevenseacat> yeah i know it uses the erlang vm, but thats about all i know lol
<baweaver> Wasn't sure, thought I'd mention a bit for those not aware at all.
<baweaver> BEAM ftw
<baweaver> Erlang is actually older than Java
<baweaver> heh
<sevenseacat> huh, ive only heard of it the last few years
<baweaver> Erlang is older
<baweaver> Elixir is fairly new from Jose Valim
<baweaver> and isn't really even a new language as much as a macro layer on top of erlang
workmad3 has joined #ruby
<al2o3-cr> what is the oldest programming language lisp?
<baweaver> Whatsapp, Facebook chat, and Chef core run Erlang
<baweaver> There were some before it
<baweaver> binary though you can hardly call it a language.
<sevenseacat> assembler, i presume.
<choke> erlang was what 1986-ish where-as the java project was initiated in 1991?
<al2o3-cr> ah ok :)
<baweaver> yeah
krz has quit [Ping timeout: 264 seconds]
<baweaver> Lisp was 1950s late
Sawbones_ has joined #ruby
<al2o3-cr> 1950s!
<baweaver> Assembly and Autocode were the first at 51 and 52
<baweaver> LISP was 1958
<al2o3-cr> wow!
<baweaver> along with ALGOL, which you'd probably recognize more as the parent of C
<baweaver> It's older than even RPG and COBOL
* baweaver knows both, and hates both....
<al2o3-cr> was B before ALGOL?
ramfjord has joined #ruby
<baweaver> 1970 or so, no
<baweaver> 69, close.
<al2o3-cr> oki doki
hanmac1 has joined #ruby
<baweaver> Think of Algol as A
<choke> how about Plankalkül? The only language known to man to be created 60 years before it was first used lol
DeBot has quit [Read error: Connection reset by peer]
<al2o3-cr> baweaver: yeah makes sense
diegoviola has quit [Ping timeout: 240 seconds]
<baweaver> The two master parents are Algol and Lisp, everything else in general falls somewhere under them
<baweaver> or very very close.
<baweaver> of course you have your off branches like Prolog and friends which are entirely different paradigms altogether.
workmad3 has quit [Ping timeout: 272 seconds]
<baweaver> Heck, Erlang is older than Perl even
<flughafen> morgen! sevenseacat certainty shevy
<sevenseacat> howdy
<flughafen> ay cap'n!
<baweaver> oh hey, names I know.
<sampo> we had to write a cobol program that sent SQL requests to a DB2 database...the whole thing was so clunky and stupid
<choke> erlang is just slighly older than perl ( less than a year )
<flughafen> how are you sevenseacat
mengu has joined #ruby
mengu has joined #ruby
<baweaver> choke: still older ;)
<baweaver> Though a bit of AWKward timing on it
* baweaver can't help himself sometimes
<sevenseacat> flughafen: not bad, trucking along
<flughafen> sevenseacat: you at work?
<sevenseacat> aye
ascarter has joined #ruby
<baweaver> Ah, it is work hours out that way. Almost 11 PM here.
<sevenseacat> yep, 1.48PM here
jakolehm has joined #ruby
<choke> that is is, it's older... i'd like to see project origin dates on both of them... release dates can be one thing -- whats the origin of the project itself
<baweaver> Wikipedia tends to be pretty good about it
<flughafen> i just got to work not too long ago
<baweaver> Erlang: The first version was developed by Joe Armstrong, Robert Virding and Mike Williams in 1986.[8] It was originally a proprietary language within Ericsson, but was released as open source in 1998.
yosafbridge has quit [Ping timeout: 256 seconds]
<flughafen> erlang? ericsson lang?
icebourg has quit []
Hirzu has quit [Ping timeout: 264 seconds]
<shevy> hmm
<choke> erlang is actually in reference to the danish mathematician Agner Krarup Erlang
<flughafen> choke: that's cool!
G has joined #ruby
<baweaver> Both actually
<flughafen> my nick is after sir duke supersmarty fughafen
Hirzu has joined #ruby
<flughafen> flughafen*
<penzur> sup guys?
<baweaver> baweaver -> b.a. weaver -> Brandon A Weaver
ascarter has quit [Client Quit]
<flughafen> flughafen -> airport
<sevenseacat> sevenseacat -> meow
<flughafen> but you guys can call me mr port
<choke> baweaver, i'd still rather work in erlang than java... 70 years later and it still reads well ( for the most part )
<baweaver> choke: I quit my last job from having to use Java for Hadoop
goggy has quit [Ping timeout: 272 seconds]
<baweaver> If any of you ever think that's a fun career path, make sure they're using Scala or Clojure or you'll want to jump out a window
<choke> Only reason to learn java at all anymore is if you're building an app for android... anything else, there's always a better option ( enter ruby? )
* sevenseacat sticks to rails
shock_one has joined #ruby
<flughafen> baweaver: i have to work with java too. but mosty i work with python and ruby
<baweaver> JRuby, Scala, Clojure, Frege
mengu__ has joined #ruby
<baweaver> All compile to JVM
jenrzzz has joined #ruby
<baweaver> meaning you can do Android in any of them just as well.
<baweaver> Scala has a lot of tooling to it already for that purpose.
iotouch has joined #ruby
<baweaver> On a day to day, I use any of: Ruby, Scala, Javascript, Bash, Python, Clojure
ascarter has joined #ruby
Sawbones_ has quit [Remote host closed the connection]
pwnz0r has quit [Remote host closed the connection]
sampo has quit [Quit: Leaving]
andikr has joined #ruby
diego1 has joined #ruby
<baweaver> Ruby (Rails), Scala (Spark), Javascript (AngularJS), Bash (shell scripts), Python (SaltStack), Clojure (AWS DSL tool)
diego1 has quit [Changing host]
diego1 has joined #ruby
pwnz0r has joined #ruby
<shevy> baweaver you are a beaver, not a brandon weaver
<choke> On any given day in the past I have used: PHP, PHP, and PHP ( JavaScript is for my front end slave )... i'm transitioning into more of a ruby world currently ( attempting to build an api for a mobile app we're doing at work )
ohaibbq has joined #ruby
<shevy> choke YES
lechuk has joined #ruby
<baweaver> I'd joked once on changing to using Scotty and Haskell for our APIs, or Phoenix and Elixir.
<baweaver> Speaking of which, speed wise and websocket wise, Phoenix kills
* baweaver shudders remembering ActionController::Live
mengu has quit [Ping timeout: 272 seconds]
<choke> Don't get me started on websockets... tried getting faye websockets working for our api and it failed in a horrible fire...
<choke> got it working in a web interface, but couldn't connect via swift or obj c so i nixed the real-time aspect for initial launch
<havenn> choke: What are you thinking to use for APIs?
<baweaver> SailsJS is a nifty node solution to that issue.
<baweaver> Depending on how you connect, it can give you an autogen socket
<baweaver> choke: I gave up on getting Ruby to play nice with sockets
<choke> the API that it's using now is a custom framework written in PHP, on top of PHP, written in shitty PHP, utilizing shitty PHP and a mongo backend... Now i'm running rails for this new version of the api, still with a mongo backend ( mongoid ) with a little redis mixed in for good measure.... and devise for authentication, and modified slightly for token authentication
<baweaver> Switched to using a NodeJS system for it and just ferrying stuff on Redis for a SubPub system
pwnz0r has quit [Ping timeout: 256 seconds]
ponga has quit [Remote host closed the connection]
<choke> Yeah we may end up doing our sockets in node as well -- seems like the easy thing to do -- 'cause websockets in node are simple
Hirzu has quit [Ping timeout: 256 seconds]
<baweaver> Depending on whether or not you want to try Elixir, Phoenix does a good job of it as well
<choke> I'll look into them for sure
edwinvdgraaf has joined #ruby
<baweaver> Loopback is good for cranking out a fast API
Hirzu has joined #ruby
<baweaver> SailsJS is as well
<havenn> choke: I'd vote to give Roda a look if you haven't already: http://roda.jeremyevans.net/
shock_one has quit [Remote host closed the connection]
diego1 is now known as diegoviola
edwinvdgraaf has quit [Read error: No route to host]
<baweaver> One of the nifty things (and horrifying to some degree) about $WORK is that there's no language lockdown if you can justify it
fedexo has quit [Ping timeout: 265 seconds]
<baweaver> I'm avoiding Google for the sole reason that they insist on Java, which is to me tantamount to supreme masochism.
<choke> haven't ever heard of roda actually... though the api itself is nearly "complete" for what we need at the moment...
<havenn> choke: It's lovely.
<choke> just happy to get rid of the horrible php version....
j75 has quit [Ping timeout: 264 seconds]
Hijiri has joined #ruby
<baweaver> That, and you can't walk 5 feet around here without hearing about the new hot thing
ping-pong has quit [Ping timeout: 244 seconds]
<baweaver> ...or getting a job offer at a coffee shop
<baweaver> that happens a lot
<shevy> how to turn "../../lib/libreadline.so.6" into absolute path?
emilkarl has joined #ruby
<shevy> I got it via File.readlink()
<havenn> shevy: absolute_path
gazay has quit [Read error: Connection reset by peer]
<shevy> ah yes thanks
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<choke> i get job offers all the time at the coffee shop... don't know when they'll get the hint that i'm not interested in serving coffee :(
<baweaver> Heh
gazay has joined #ruby
<baweaver> Come to the Bay Area some time
yosafbridge has joined #ruby
<baweaver> SoMA is insane for that type of thing
<choke> Sometime I want too -- I'm down in San Diego atm
<baweaver> Depends on what you want to do
<baweaver> I know enough people around if you have the skills to match.
<choke> Ultimately, i'll quit my job and form a development house again ( had one a few years ago, then I sold it )
<baweaver> $WORK == Sony for me right now.
<baweaver> and I know they tend to hire a ton of people around here.
<choke> yeah... Best 'places' i refused to work ( i turned down their offers ) were Walt Disney and TMZ -- but that's because I didn't want to move to L.A
<baweaver> Disney sounded like a nightmare when I talked to them
jack_rabbit_ has joined #ruby
<baweaver> Then again I have an extreme anti-java bias, so that might have an effect.
yfeldblum has quit [Ping timeout: 265 seconds]
Hirzu has quit [Ping timeout: 256 seconds]
<baweaver> Apple uses Ruby
<baweaver> shame, I signed my offer right before they got back to me.
<choke> Sony vs Apple -- i'd rather work at sony ( but like java, i actually can't stand apple or their products )
<baweaver> It's a good shop
<baweaver> and I've made a game of poaching Java devs to Scala with a high success rate here.
charliesome has quit [Quit: zzz]
<baweaver> My manager is ex-apple and was all types of turned off by them
<baweaver> ironic that I'm on the PS4 DevOps team and I don't even play games.
<choke> haha nice... I need to get into Scala a little bit -- maybe after a few years of being intimate with Ruby i'll do more languages... ( I've known basics of ruby for years -- but only started getting into it again for the last month )
Akagi201 has quit []
diegoviola has quit [Quit: WeeChat 1.1.1]
<baweaver> If you know Ruby Enumerable and got through the basics of Learn You a Haskell you'll be fine
Mon_Ouie has quit [Ping timeout: 272 seconds]
thatslifeson has joined #ruby
jack_rabbit_ has quit [Ping timeout: 265 seconds]
<choke> I know a little about the ruby enum... i'd still consider myself pre-entry level when it comes to ruby though
<choke> or, as an employer ( lead dev ), if I were to apply for a job at my company right now -- I wouldn't hire myself as a ruby dev
<baweaver> Higher order functions like map, reduce (foldL), and select are the big ones.
ping-pong has joined #ruby
thatslifeson has quit [Read error: Connection reset by peer]
thatslif_ has joined #ruby
<baweaver> Interviews are both fun and sobering at the same time
<baweaver> especially when you get one that can't FizzBuzz
<baweaver> *giving interviews
edwinvdgraaf has joined #ruby
charliesome has joined #ruby
eshy has quit [Remote host closed the connection]
<choke> I have had decent success with developers without the need for fizzbuzz...
<baweaver> I only use it if I have doubts
Joufflu has quit [Read error: Connection reset by peer]
<baweaver> or it's an intern
<choke> my technique? if the name sounds foreign, usually of russian origin, i look at them closer ( i dont know why, but I seem to find more qualified candidates who are russian than anything else )
tectonic has joined #ruby
musty has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
<choke> Yeah, my job currently before I got hired -- an entry level guy actually beat me out for it initially
<al2o3-cr> >> (1..100).map { |i| (fb = [["Fizz"][i % 3], ["Buzz"][i % 5]].compact.join).empty? ? i : fb }
<ruboto> al2o3-cr # => [1, 2, "Fizz", 4, "Buzz", "Fizz", 7, 8, "Fizz", "Buzz", 11, "Fizz", 13, 14, "FizzBuzz", 16, 17, "Fiz ...check link for more (https://eval.in/329450)
Guest56726 has joined #ruby
<choke> got called in a week later, and i turned that entry level guy into a mid level with the quickness
<sevenseacat> al2o3-cr: smartass :P
sohrab has quit [Quit: leaving]
rkazak has quit [Quit: Sleep.....ing....]
<al2o3-cr> lol ;p
<choke> yes, but can you do it in fortran?
<al2o3-cr> pass
<choke> .net then?
havenwood has joined #ruby
nemish_ has joined #ruby
<baweaver> I once switched my C# assignments in College with F#
<choke> lol
ismaelga has joined #ruby
<baweaver> because fun, and my professor had a time of it
SOLDIERz has joined #ruby
mengu__ has quit [Ping timeout: 245 seconds]
pokui has joined #ruby
<choke> haha
<choke> sounds like all my math professors in college ( I suck at math )... only way I could understand it is to break down the problems into code...
bluOxigen has quit [Ping timeout: 250 seconds]
pokui has quit [Client Quit]
<choke> so, I wrote all my homework in code... had to teach the professors how to read it so they could grade it
<choke> and on that note: ITT Tech is crazy expensive, don't go there...
mostlybadfly has quit [Quit: Connection closed for inactivity]
go|dfish has quit [Ping timeout: 255 seconds]
nemish__ has quit [Ping timeout: 245 seconds]
postmodern has quit [Quit: Leaving]
mwlang has quit [Ping timeout: 245 seconds]
pokui has joined #ruby
al2o3-cr|bot has joined #ruby
ismaelga has quit [Ping timeout: 272 seconds]
<al2o3-cr> lua>> for i=1,100 do; if i%3==0 and i%5==0 then;print("fizzbuzz"); elseif i%3==0 then; print("fizz");elseif i%5==0 then;print("buzz");else print(i);end;end
<al2o3-cr|bot> 1
<al2o3-cr|bot> 2
<al2o3-cr|bot> fizz
<al2o3-cr|bot> buzz
<al2o3-cr|bot> 4
<al2o3-cr|bot> fizz
<al2o3-cr|bot> 7
ponga has joined #ruby
ozzloy has quit [Ping timeout: 245 seconds]
mengu has quit []
<choke> lol, you're having too much fun with the fizzbuzz
bebijlya has quit [Ping timeout: 276 seconds]
<al2o3-cr> i know lol
bebijlya has joined #ruby
eshy has joined #ruby
ponga has quit [Read error: Connection reset by peer]
ponga has joined #ruby
ponga has quit [Read error: No route to host]
<al2o3-cr> pl>> for $i (1..100) { $s = ""; if (($i % 3) == 0) {$s=$s."Fizz";}; if (($i % 5) == 0) {$s=$s."Buzz";}if (length($s) == 0){$s=$s."$i";}print "$s\n";}
<al2o3-cr|bot> 1
<al2o3-cr|bot> 2
<al2o3-cr|bot> Fizz
<al2o3-cr|bot> 4
<al2o3-cr|bot> Buzz
<al2o3-cr|bot> Fizz
<al2o3-cr|bot> 7
havenn has quit []
edwinvdgraaf has quit [Remote host closed the connection]
ponga has joined #ruby
<choke> but since we're in ruby: 1.upto(100) do |i| out = nil out = out.to_s + 'Fizz' if i % 3 == 0 out = out.to_s + 'Buzz' if i % 5 == 0 puts out || i end
stoffus has joined #ruby
<al2o3-cr> rb>> 1.upto(100) do |i| out = nil out = out.to_s + 'Fizz' if i % 3 == 0 out = out.to_s + 'Buzz' if i % 5== 0 puts out || i end
<al2o3-cr|bot> syntax error
<baweaver> >> 1.upto(100){|i|i%3<1&&s=:Fizz;p i%5<1?"#{s}Buzz":s||i}
<ruboto> baweaver # => 1 ...check link for more (https://eval.in/329487)
al2o3-cr|bot has quit [Remote host closed the connection]
ponga has quit [Read error: No route to host]
panga has joined #ruby
lessless has joined #ruby
<al2o3-cr> baweaver: ;p
<baweaver> woo code golf
bruno- has joined #ruby
vire has joined #ruby
tubuliferous_ has quit [Ping timeout: 245 seconds]
sinkensabe has joined #ruby
panga has quit [Read error: No route to host]
ponga has joined #ruby
ponga has quit [Read error: Connection reset by peer]
panga has joined #ruby
tubuliferous_ has joined #ruby
<choke> how bout some recursive python? def fizizbuzz(n): if n: if n % 15 == 0: return fizzbuzz(n-1) + 'fizzbuzz '; elif n % 5 == 0: return fizzbuzz(n-1) + 'buzz ';elif n % 3 == 0: return fizzbuzz(n-1) + 'fizz ';else : return fizzbuzz(n-1) + ('%d ' % n) return ''
<choke> and called with: fizzbuzz(100)
<choke> botched the method name :(
rbennacer has joined #ruby
ponga has joined #ruby
panga has quit [Read error: No route to host]
<choke> lol nice
bruno- has quit [Ping timeout: 240 seconds]
arup_r has joined #ruby
<baweaver> flughafen: You've just given me my new favorite example of why I don't like Java
stoffus has quit [Quit: Lost terminal]
<baweaver> that stuff is terrifyingly common
ponga has quit [Read error: No route to host]
<choke> i've seen worse examples in my lifetime
<baweaver> I have too, but still a good example of how ridiculous it can be
ponga has joined #ruby
<baweaver> when under 100 characters of code works just fine
psy_ has quit [Ping timeout: 256 seconds]
colorados has joined #ruby
ponga has quit [Read error: Connection reset by peer]
panga has joined #ruby
krz has joined #ruby
rbennacer has quit [Ping timeout: 244 seconds]
<choke> i'll agree with that
shock_one has joined #ruby
arup_r has quit [Remote host closed the connection]
ponga has joined #ruby
panga has quit [Read error: No route to host]
gizmore has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
gizmore has quit [Changing host]
gizmore has joined #ruby
<flughafen> dont' get me started!
<choke> and, because this fizzbuzz session just wouldn't be complete without it... here we go in lisp:
<choke> (defun fizzbuzz (n)(when ( n 0) (fizzbuzz (- n 1)) (format t "~a~%" (if (= (mod n 3) 0) (if (= (mod n 5) 0) "FizzBuzz" "Fizz")(if (= (mod n 5) 0) "Buzz" n)))))
jph98 has joined #ruby
Igorshp has joined #ruby
ponga has quit [Read error: No route to host]
ta has quit [Remote host closed the connection]
kith has quit [Read error: Connection timed out]
shock_one has quit [Remote host closed the connection]
ponga has joined #ruby
ta has joined #ruby
<choke> I think with that we've covered all the languages that matter ( note that none of us posted php code )
arup_r has joined #ruby
kith has joined #ruby
<flughafen> here is it manually: 1: 2: 3: Buzz 4: 5: Fizz 6: Buzz.... i can go on. But I don't want to make it seem like I'm showing off how smart I am.
<sevenseacat> i sense a new website like 99bottlesofbeer.net
ponga has quit [Read error: No route to host]
<sevenseacat> wait thats not the right url :(
<sevenseacat> http://www.99-bottles-of-beer.net/ there we go
ponga has joined #ruby
<flughafen> sevenseacat: do you read smbc?
<sevenseacat> no
<flughafen> sevenseacat: http://www.smbc-comics.com/?id=2107
<sevenseacat> lol
jerematic has joined #ruby
CloCkWeRX has quit [Quit: Leaving.]
panga has joined #ruby
ponga has quit [Read error: No route to host]
<arup_r> that's ok..
<arup_r> Oops! wrong channel
<choke> lol that's funny.. and true... i played football once.. got my first homerun
<certainty> shevy: no it doesn't though i like the idea of typed lisps
Igorshp has quit [Ping timeout: 276 seconds]
<baweaver> Was a runner in College
<baweaver> that was it.
jph98 has quit [Quit: jph98]
kaspernj has joined #ruby
ta has quit [Ping timeout: 276 seconds]
<baweaver> Guy on my team ran a 4:00 mile though, man he was hard to keep up with.
panga has quit [Read error: No route to host]
ponga has joined #ruby
<sevenseacat> i follow lots of sports, but i dont play any. except bowling.
<Sebastia1Thorn> is there a cool way of creating a hash like this: h = {"001" => 0, "002" => 0 ..... "999" => 0} ?
<choke> bowling! now that's a sport i can play lol
go|dfish has joined #ruby
<baweaver> >> h = Hash.new { 0 }; h['999']
<ruboto> baweaver # => 0 (https://eval.in/329520)
<baweaver> because lazy
towski_ has quit [Remote host closed the connection]
<choke> spent like 300 bucks in a day on games a few years ago ( was bowling to find a cure for muscular dystrophy )
<sevenseacat> nice
ponga has quit [Read error: No route to host]
tubulife- has joined #ruby
pwnz0r has joined #ruby
<baweaver> >> '000'..'999'
ponga has joined #ruby
<ruboto> baweaver # => "000".."999" (https://eval.in/329521)
<baweaver> >> ('000'..'999').last 5
<ruboto> baweaver # => ["995", "996", "997", "998", "999"] (https://eval.in/329522)
jerematic has quit [Ping timeout: 246 seconds]
<choke> yeah, it was fun.. got to help some of the kids with M.D bowl
<baweaver> >> ('000'..'999').map { |i| [i, 0] }.to_h
<ruboto> baweaver # => {"000"=>0, "001"=>0, "002"=>0, "003"=>0, "004"=>0, "005"=>0, "006"=>0, "007"=>0, "008"=>0, "009"=>0, ...check link for more (https://eval.in/329523)
gagrio_ has joined #ruby
jph98 has joined #ruby
edwinvdgraaf has joined #ruby
<baweaver> Sebastia1Thorn:
<Sebastia1Thorn> cool
<Sebastia1Thorn> baweaver: tyvm :)
ponga has quit [Read error: No route to host]
chipotle has quit [Quit: cheerio]
ponga has joined #ruby
<baweaver> >> ('0.0.0'..'1.0.0')
<ruboto> baweaver # => "0.0.0".."1.0.0" (https://eval.in/329524)
<baweaver> hehehe
<baweaver> >> ('0.0.0'..'1.0.0').last 10
<ruboto> baweaver # => ["0.9.1", "0.9.2", "0.9.3", "0.9.4", "0.9.5", "0.9.6", "0.9.7", "0.9.8", "0.9.9", "1.0.0"] (https://eval.in/329525)
<baweaver> shazam, ruby
<choke> ugh -- i think i need to find a new meetup around town... the one i'm currently involved with is full of a bunch of php/laravel fan-boys
ohaibbq has quit [Ping timeout: 245 seconds]
swgillespie has joined #ruby
frem has joined #ruby
ponga has quit [Read error: No route to host]
panga has joined #ruby
fabrice31 has joined #ruby
iotouch has quit [Quit: This computer has gone to sleep]
ohaibbq has joined #ruby
<choke> well, it's late -- i'm going to go watch some netflix so i can wake up in 3 hours and look at code for another 16 hours...
panga has quit [Read error: No route to host]
ponga has joined #ruby
speakingcode has quit [Ping timeout: 252 seconds]
jph98 has quit [Quit: jph98]
pwnz0r has quit [Ping timeout: 240 seconds]
baweaver has quit [Remote host closed the connection]
kraljev11 has joined #ruby
Macaveli has joined #ruby
juanpablo____ has joined #ruby
jamesaxl has quit [Remote host closed the connection]
Juanchito has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iotouch has joined #ruby
juanpablo____ has quit [Ping timeout: 250 seconds]
matchaw has quit [Ping timeout: 256 seconds]
ohaibbq has quit [Quit: Leaving...]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Hirzu has joined #ruby
charliesome has quit [Ping timeout: 256 seconds]
jakolehm has quit [Remote host closed the connection]
kp666 has quit [Ping timeout: 264 seconds]
kraljev11 has quit [Ping timeout: 272 seconds]
SOLDIERz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
bluOxigen has joined #ruby
jph98 has joined #ruby
Hirzu has quit [Ping timeout: 252 seconds]
ramfjord has quit [Ping timeout: 256 seconds]
hanmac has quit [Ping timeout: 256 seconds]
skinny_much has quit [Quit: Ruh Roh...]
SOLDIERz has joined #ruby
ahmetkapikiran has joined #ruby
skinny_much has joined #ruby
ismaelga has joined #ruby
jph98 has quit [Quit: jph98]
TheHodge has joined #ruby
ahmetkapikiran has quit [Client Quit]
workmad3 has joined #ruby
ngr has joined #ruby
kp666 has joined #ruby
wolflee_________ has quit [Remote host closed the connection]
wolflee_________ has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
rdark has joined #ruby
dumdedum_ has joined #ruby
ismaelga has quit [Ping timeout: 264 seconds]
ponga has quit [Read error: No route to host]
ponga has joined #ruby
workmad3 has quit [Ping timeout: 256 seconds]
ponga has quit [Read error: No route to host]
ponga has joined #ruby
ta has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
doertedev has joined #ruby
ponga has quit [Read error: Connection reset by peer]
ahmetkapikiran has joined #ruby
panga has joined #ruby
kyrylo has joined #ruby
andikr has quit [Remote host closed the connection]
hanmac has joined #ruby
panga has quit [Read error: No route to host]
machty has quit [Ping timeout: 256 seconds]
akitada has quit [Ping timeout: 256 seconds]
speakingcode has joined #ruby
ponga has joined #ruby
exadeci has quit [Ping timeout: 256 seconds]
jottr has joined #ruby
yh has joined #ruby
akitada has joined #ruby
exadeci has joined #ruby
ponga has quit [Read error: No route to host]
ponga has joined #ruby
anisha has joined #ruby
ta has quit [Ping timeout: 272 seconds]
ponga has quit [Read error: No route to host]
arup_r has quit [Remote host closed the connection]
ponga has joined #ruby
iotouch has quit [Quit: This computer has gone to sleep]
machty has joined #ruby
livathinos has joined #ruby
ponga has quit [Read error: Connection reset by peer]
panga has joined #ruby
wolflee_________ has quit [Read error: Connection reset by peer]
wolflee_________ has joined #ruby
hmnhf has joined #ruby
ta has joined #ruby
<adaedra> apeiros: yes, I was looking for something, like everybody
iotouch has joined #ruby
<adaedra> hello everyone
ponga has joined #ruby
panga has quit [Read error: No route to host]
dumdedum_ is now known as blaxter
ponga has quit [Read error: No route to host]
yfeldblum has joined #ruby
ponga has joined #ruby
dumdedum has quit [Disconnected by services]
arup_r has joined #ruby
SOLDIERz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dumdedum has joined #ruby
SOLDIERz has joined #ruby
edwinvdgraaf has joined #ruby
ponga has quit [Read error: Connection reset by peer]
panga has joined #ruby
tectonic has quit []
lxsameer has joined #ruby
panga has quit [Read error: No route to host]
c0m0 has joined #ruby
krz has quit [Ping timeout: 244 seconds]
ponga has joined #ruby
jottr has quit [Ping timeout: 256 seconds]
zoras has quit []
dumdedum has quit [Disconnected by services]
blaxter is now known as dumdedum
blaxter has joined #ruby
jackjackdripper has joined #ruby
ponga has quit [Read error: Connection reset by peer]
ponga has joined #ruby
terlar has joined #ruby
ponga has quit [Read error: No route to host]
<certainty> so you guys write a space before the open brace for blocks? foo { ... } instead of foo{ ... } ?
ponga has joined #ruby
<tobiasvl> yes
michael_mbp has quit [Excess Flood]
<flughafen> certainty: yes
_xCept has joined #ruby
ponga has quit [Read error: No route to host]
panga has joined #ruby
Hounddog has joined #ruby
jottr has joined #ruby
panga has quit [Read error: No route to host]
jakolehm has joined #ruby
ponga has joined #ruby
yh has quit [Ping timeout: 276 seconds]
michael_mbp has joined #ruby
hmsimha has quit [Ping timeout: 256 seconds]
<colorados> no matters
DeBot has joined #ruby
mikecmpbll has joined #ruby
ponga has quit [Read error: No route to host]
ponga has joined #ruby
thatslif_ has quit [Remote host closed the connection]
ponga has quit [Read error: No route to host]
edwinvdgraaf has quit [Read error: Connection reset by peer]
<choke> certainty: if you don't do that, you're just not taking things seriously... odd how a simple space makes things much easier to read
ponga has joined #ruby
senayar has joined #ruby
RegulationD has quit [Ping timeout: 255 seconds]
DerisiveLogic has quit [Remote host closed the connection]
senayar has quit [Changing host]
senayar has joined #ruby
edwinvdgraaf has joined #ruby
lidenskap has quit [Remote host closed the connection]
panga has joined #ruby
ponga has quit [Read error: No route to host]
havenwood has quit [Ping timeout: 276 seconds]
granthatcher has joined #ruby
msgodf has joined #ruby
gluten_hell_ has joined #ruby
panga has quit [Read error: No route to host]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
joonty has joined #ruby
ponga has joined #ruby
thekodols_ has quit [Read error: Connection reset by peer]
ponga has quit [Read error: No route to host]
ponga has joined #ruby
ponga has quit [Read error: Connection reset by peer]
panga has joined #ruby
SOLDIERz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
chthon has joined #ruby
panga has quit [Read error: No route to host]
lsmola has joined #ruby
ponga has joined #ruby
loechel has joined #ruby
hmnhf_ has joined #ruby
serrador has joined #ruby
ponga has quit [Read error: No route to host]
ponga has joined #ruby
jottr has quit [Ping timeout: 250 seconds]
pontiki has joined #ruby
<pontiki> hallo/
loechel has quit [Remote host closed the connection]
ponga has quit [Read error: No route to host]
ponga has joined #ruby
arup_r has quit [Remote host closed the connection]
hmnhf has quit [Ping timeout: 256 seconds]
ponga has quit [Read error: No route to host]
<colorados> crystal has so poor documantation
marr has joined #ruby
ponga has joined #ruby
ponga has quit [Read error: Connection reset by peer]
Zai00 has joined #ruby
ponga has joined #ruby
Xiti` has joined #ruby
<avril14th> I don't add space. The thing looks closer to a Hash then.
ponga has quit [Read error: No route to host]
SOLDIERz has joined #ruby
ponga has joined #ruby
Zen-Zen has quit [Ping timeout: 264 seconds]
CloCkWeRX has joined #ruby
einarj has joined #ruby
ponga has quit [Read error: No route to host]
Xiti has quit [Ping timeout: 250 seconds]
ponga has joined #ruby
emilkarl has quit [Quit: emilkarl]
ghr has joined #ruby
xcesariox has quit [Quit: Textual IRC Client: www.textualapp.com]
ponga has quit [Read error: No route to host]
ponga has joined #ruby
Igorshp has joined #ruby
selu has joined #ruby
bruno- has joined #ruby
lkba has quit [Ping timeout: 264 seconds]
ponga has quit [Read error: No route to host]
ponga has joined #ruby
ahmetkapikiran has quit [Quit: ahmetkapikiran]
ismaelga has joined #ruby
ponga has quit [Read error: No route to host]
ponga has joined #ruby
sameerynho has joined #ruby
carlmo has left #ruby [#ruby]
jackjackdripper has quit [Quit: Leaving.]
MatthewsFace[SEA has quit [Remote host closed the connection]
rbennacer has joined #ruby
charliesome has quit [Quit: zzz]
ponga has quit [Read error: No route to host]
ponga has joined #ruby
bruno- has quit [Ping timeout: 265 seconds]
ponga has quit [Read error: No route to host]
lxsameer has quit [Ping timeout: 246 seconds]
ismaelga has quit [Ping timeout: 255 seconds]
ponga has joined #ruby
ponga has quit [Read error: Connection reset by peer]
rbennacer has quit [Ping timeout: 272 seconds]
panga has joined #ruby
panga has quit [Read error: Connection reset by peer]
ponga has joined #ruby
PhantomS_ has quit []
edwinvdgraaf has quit [Remote host closed the connection]
ponga has quit [Read error: No route to host]
ponga has joined #ruby
tubulife- has quit [Ping timeout: 272 seconds]
ponga has quit [Read error: Connection reset by peer]
arup_r has joined #ruby
ponga has joined #ruby
Hounddog has quit [Ping timeout: 256 seconds]
emilkarl has joined #ruby
jerematic has joined #ruby
ponga has quit [Read error: No route to host]
ponga has joined #ruby
AlphaAtom has joined #ruby
ponga has quit [Read error: No route to host]
panga has joined #ruby
panga has quit [Read error: Connection reset by peer]
Hounddog has joined #ruby
ponga has joined #ruby
<jhass> foo { block }, foo {|bar| block }, {key: value}, {"key" => "value"}
jerematic has quit [Ping timeout: 272 seconds]
Perdomo has joined #ruby
edwinvdgraaf has joined #ruby
ponga has quit [Read error: No route to host]
krz has joined #ruby
livathinos has quit [Ping timeout: 240 seconds]
ponga has joined #ruby
alex88 has joined #ruby
tkuchiki has joined #ruby
Perdomo has quit [Ping timeout: 240 seconds]
Ropeney has quit [Remote host closed the connection]
panga has joined #ruby
ponga has quit [Read error: Connection reset by peer]
panga has quit [Read error: Connection reset by peer]
ponga has joined #ruby
krz has quit [Ping timeout: 272 seconds]
shock_one has joined #ruby
ponga has quit [Read error: Connection reset by peer]
railsForDaiz has joined #ruby
ponga has joined #ruby
ponga has quit [Read error: Connection reset by peer]
panga has joined #ruby
pontiki has quit [*.net *.split]
lsmola has quit [*.net *.split]
anisha has quit [*.net *.split]
kaspernj has quit [*.net *.split]
jenrzzz has quit [*.net *.split]
al2o3-cr has quit [*.net *.split]
jefus has quit [*.net *.split]
nux443 has quit [*.net *.split]
Raverix has quit [*.net *.split]
WildBamboo-Josh has quit [*.net *.split]
riceandbeans has quit [*.net *.split]
rikai has quit [*.net *.split]
scottstamp has quit [*.net *.split]
SuperTaz has quit [*.net *.split]
polyrob has quit [*.net *.split]
tenseiten has quit [*.net *.split]
Kharma has quit [*.net *.split]
mrsolow has quit [*.net *.split]
gmas has quit [*.net *.split]
jhass has quit [*.net *.split]
marcellu1 has quit [*.net *.split]
drizz has quit [*.net *.split]
fivetwentysix has quit [*.net *.split]
bennyklo1z has quit [*.net *.split]
scottymeuk has quit [*.net *.split]
parus has quit [*.net *.split]
oddmunds has quit [*.net *.split]
QKO has quit [*.net *.split]
Kovensky has quit [*.net *.split]
scruple has quit [*.net *.split]
_5moufl has quit [*.net *.split]
TheBrayn has quit [*.net *.split]
matu has quit [*.net *.split]
Morrolan has quit [*.net *.split]
cgrieger has quit [*.net *.split]
nickjj has quit [*.net *.split]
roger_rabbit has quit [*.net *.split]
juanpablo____ has joined #ruby
panga has quit [Read error: Connection reset by peer]
ponga has joined #ruby
leafybasil has quit [Remote host closed the connection]
Hounddog has quit [Read error: Connection reset by peer]
shock_one has quit []
pontiki has joined #ruby
anisha has joined #ruby
jenrzzz has joined #ruby
kaspernj has joined #ruby
al2o3-cr has joined #ruby
lsmola has joined #ruby
jefus has joined #ruby
jhass has joined #ruby
nux443 has joined #ruby
Raverix has joined #ruby
cgrieger has joined #ruby
WildBamboo-Josh has joined #ruby
riceandbeans has joined #ruby
rikai has joined #ruby
scottstamp has joined #ruby
SuperTaz has joined #ruby
polyrob has joined #ruby
tenseiten has joined #ruby
Kharma has joined #ruby
mrsolow has joined #ruby
gmas has joined #ruby
fivetwentysix has joined #ruby
drizz has joined #ruby
bennyklo1z has joined #ruby
scottymeuk has joined #ruby
marcellu1 has joined #ruby
oddmunds has joined #ruby
parus has joined #ruby
QKO has joined #ruby
TheBrayn has joined #ruby
Kovensky has joined #ruby
scruple has joined #ruby
_5moufl has joined #ruby
matu has joined #ruby
Morrolan has joined #ruby
nickjj has joined #ruby
roger_rabbit has joined #ruby
penzur has quit [Quit: quit]
ponga has quit [Read error: No route to host]
Hounddog has joined #ruby
hmnhf_ has quit [Read error: No route to host]
ponga has joined #ruby
Leef_ has joined #ruby
TehBrayn has joined #ruby
panga has joined #ruby
ponga has quit [Read error: Connection reset by peer]
panga has quit [Read error: Connection reset by peer]
ponga has joined #ruby
vtunka has joined #ruby
<certainty> jhass: thanks, so according to the ruby styleguide
lidenskap has joined #ruby
<certainty> choke and all others thanks for the response
goggy has joined #ruby
ponga has quit [Read error: No route to host]
antgel has joined #ruby
panga has joined #ruby
TheBrayn has quit [Quit: ZNC - http://znc.in]
juanpablo____ has quit [Ping timeout: 240 seconds]
panga has quit [Read error: Connection reset by peer]
ponga has joined #ruby
ponga has quit [Read error: No route to host]
fella5s has quit [Read error: Connection reset by peer]
lidenskap has quit [Ping timeout: 276 seconds]
ponga has joined #ruby
Hirzu has joined #ruby
tvw has joined #ruby
yh has joined #ruby
charliesome has joined #ruby
CamonZ has joined #ruby
ponga has quit [Read error: No route to host]
ponga has joined #ruby
workmad3 has joined #ruby
ndrei has quit [Ping timeout: 252 seconds]
ponga has quit [Read error: No route to host]
ponga has joined #ruby
Cust0sL1men has joined #ruby
<flughafen> certainty: my response helped you the best
ponga has quit [Read error: No route to host]
ponga has joined #ruby
Akagi201 has joined #ruby
<certainty> flughafen: of course xD
<flughafen> i want co-author in git commits ;)
ponga has quit [Read error: Connection reset by peer]
ponga has joined #ruby
workmad3 has quit [Quit: Lost terminal]
mdw has joined #ruby
ponga has quit [Read error: No route to host]
leafybasil has joined #ruby
ponga has joined #ruby
Pupeno has joined #ruby
Pupeno has joined #ruby
ponga has quit [Read error: No route to host]
ponga has joined #ruby
wolf4ood_ has joined #ruby
platzhirsch has joined #ruby
goggy has quit [Ping timeout: 276 seconds]
wolf4ood_ has left #ruby [#ruby]
n008f4g_ has joined #ruby
leafybasil has quit [Read error: Connection reset by peer]
leafybasil has joined #ruby
ponga has quit [Read error: Connection reset by peer]
al2o3-cr has quit [Ping timeout: 256 seconds]
ponga has joined #ruby
huddy has joined #ruby
quimrstorres has joined #ruby
workmad3 has joined #ruby
mdw has quit [Ping timeout: 246 seconds]
quimrstorres has quit [Remote host closed the connection]
Muz_ is now known as Muz
ponga has quit [Read error: Connection reset by peer]
ponga has joined #ruby
ndrei has joined #ruby
nfk has joined #ruby
moeabdol has joined #ruby
ponga has quit [Read error: Connection reset by peer]
panga has joined #ruby
moeabdol has quit [Client Quit]
panga has quit [Read error: Connection reset by peer]
ponga has joined #ruby
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
ponga has quit [Read error: Connection reset by peer]
panga has joined #ruby
ismaelga has joined #ruby
senayar has quit [Remote host closed the connection]
panga has quit [Read error: Connection reset by peer]
sgambino has joined #ruby
ponga has joined #ruby
quimrstorres has joined #ruby
ponga has quit [Read error: No route to host]
ponga has joined #ruby
frem has quit [Quit: Connection closed for inactivity]
ahmetkapikiran has joined #ruby
ponga has quit [Read error: No route to host]
ismaelga has quit [Ping timeout: 255 seconds]
ponga has joined #ruby
scripore has joined #ruby
_ixti_ has quit [Ping timeout: 240 seconds]
ponga has quit [Read error: No route to host]
ahmetkapikiran has quit [Client Quit]
ponga has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
edwinvdgraaf has joined #ruby
ponga has quit [Read error: No route to host]
ponga has joined #ruby
ponga has quit [Read error: No route to host]
ponga has joined #ruby
chinmay_dd has quit [Ping timeout: 272 seconds]
argoneus is now known as Leon75
senayar has joined #ruby
ponga has quit [Read error: No route to host]
Leon75 is now known as argoneus
ponga has joined #ruby
bruno- has joined #ruby
aegle has joined #ruby
emilkarl has quit [Quit: emilkarl]
<colorados> installed rust, was so easy
<certainty> uninstalling it is even easier
ponga has quit [Read error: No route to host]
<pontiki> that's unusual
ponga has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
<colorados> i think, rust2cry would be amazing app
<colorados> translate code from rust to crystal
TehBrayn is now known as TheBrayn
<pontiki> better to burn out
ponga has quit [Read error: No route to host]
ponga has joined #ruby
<certainty> than fade away
pokui has quit [Read error: Connection reset by peer]
<pontiki> ((cue guitar riff)
<certainty> xD
<wasamasa> )
bruno- has quit [Ping timeout: 246 seconds]
ponga has quit [Read error: No route to host]
<pontiki> thanks for playing, wasamasa
ponga has joined #ruby
FrankenDaemon has quit [Quit: ZNC - http://znc.in]
<colorados> u a sranie schoolboys
ponga has quit [Read error: No route to host]
<colorados> u should change your profession
ponga has joined #ruby
* wasamasa eyes colorados suspiciously
<pontiki> what does that mean?
platzhirsch has quit [Ping timeout: 256 seconds]
lkba has joined #ruby
<pontiki> colorados: i can't parse this: "< colorados> u a sranie schoolboys"
<wasamasa> ^
ponga has quit [Read error: No route to host]
ponga has joined #ruby
<colorados> sraniy = beginners from belarusian
charliesome has quit [Quit: zzz]
ponga has quit [Read error: Connection reset by peer]
ponga has joined #ruby
platzhirsch has joined #ruby
<wasamasa> english only please
<adaedra> oui
<pontiki> non!
<certainty> ja
<adaedra> Vielleicht
<toertore> hånstaura
<colorados> wasamasa, ok ipedik
* wasamasa rolls eyes
ponga has quit [Read error: No route to host]
<certainty> xD
<certainty> ruby only please
<pontiki> you insult my gravitas
ponga has joined #ruby
<adaedra> toertore: Vad?
ponga has quit [Read error: No route to host]
dorei has joined #ruby
ponga has joined #ruby
<colorados> we a russians and we are very clear
<colorados> and cute
<pontiki> no, your vodka is clear. you are as unclear as a wall with no windows.
<adaedra> Дa
ponga has quit [Read error: No route to host]
<colorados> in near future we develop new ptoton computer
ponga has joined #ruby
* workmad3 is turning on his troll detector
<adaedra> took you time
<pontiki> don't workmad3 -- it'll overload
iotouch has quit [Ping timeout: 250 seconds]
timonv1 has joined #ruby
<workmad3> AAAAAAAAHHH!!!!
<sevenseacat> lol
<workmad3> so... much... troll!!!
moeabdol has joined #ruby
<certainty> xD
<pontiki> quick! reverse the polarity!!
* workmad3 breaths
<adaedra> polarity.reverse
ponga has quit [Read error: Connection reset by peer]
panga has joined #ruby
yeticry has quit [Ping timeout: 276 seconds]
<adaedra> panga: fix your connection
<colorados> haha, u a so funny , sranie pediki
iotouch has joined #ruby
charliesome has joined #ruby
SOLDIERz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
panga has quit [Read error: Connection reset by peer]
ponga has joined #ruby
yeticry has joined #ruby
<colorados> u should learn and investigate crystal instead flooding here
iteratorP has quit [Remote host closed the connection]
<pontiki> you should stop telling people what they should do
<colorados> i give good tips
<adaedra> just the tip.
<pontiki> i give 20%
aegle has quit [Quit: Leaving]
fabrice31 has quit [Remote host closed the connection]
panga has joined #ruby
ponga has quit [Read error: Connection reset by peer]
<wasamasa> I give 0%
<pontiki> cheap
yaw has joined #ruby
<colorados> we will cooperate with china and will create cool things
yaw has quit [Max SendQ exceeded]
panga has quit [Read error: No route to host]
yaw has joined #ruby
ponga has joined #ruby
yaw has quit [Max SendQ exceeded]
<pontiki> and the band played on
yaw has joined #ruby
yaw has quit [Max SendQ exceeded]
yaw has joined #ruby
kyrylo_ has joined #ruby
yaw has quit [Max SendQ exceeded]
yeticry has quit [Ping timeout: 256 seconds]
yaw has joined #ruby
yeticry has joined #ruby
kyrylo has quit [Ping timeout: 255 seconds]
leafybasil has quit []
hs366 has joined #ruby
sameerynho has quit [Ping timeout: 272 seconds]
fella5s has joined #ruby
gkra has quit [Ping timeout: 250 seconds]
<colorados> eu union should be divorced from each other
<colorados> after that you become stronger
gkra has joined #ruby
<agent_white> colorados: Are you in my state?
* dorei votes colorados for president
Tomasso has joined #ruby
<colorados> what state?
<agent_white> Colorado
<colorados> nop
<agent_white> We didn't give you that name. Give it back.
<colorados> colorados = new generation of rusian grren people
<agent_white> And you can't come to my birthday.
ndrei has quit [Ping timeout: 255 seconds]
oo_ has quit [Remote host closed the connection]
<agent_white> Coloradoans = new generation of people who smoke the gren
<agent_white> green*
<pontiki> can i come your birthday?
edwinvdgraaf has quit [Remote host closed the connection]
<agent_white> pontiki: You are on the VIP list. :D
<pontiki> come to your birthday*
<pontiki> lol
<pontiki> that would be kinda fun
sameerynho has joined #ruby
<Tomasso> I have the following code !!((str.size>=12) and (str.size < 14) and (str.match /[a-z]{1,}/) and (str.match /\d{1,}/)) --> How do I turn this into a regex ? I don't find the way using lookarounds
<pontiki> tour the country going to #rubyist's birthdays
<agent_white> !!!
<Tomasso> agent_white: !! forces the expression to either return true or false
<agent_white> I got dibs on late February in Colorado.
yeticry has quit [Ping timeout: 245 seconds]
<pontiki> Tomasso: while i'm sure you could turn that into a single regexp, i think what you've got is actually more understandable
<agent_white> Tomasso: I thought you were a bot. !!! forces the expression to contain excitement.
tvw has quit []
<colorados> green russians colorados
fabrice31 has joined #ruby
<adaedra> I thought russians were red
yeticry has joined #ruby
<Tomasso> yeah, but my issue is that i need to convert to regex since it should be pased as parameter to my other method
<colorados> we a red when we end sex
rbennacer has joined #ruby
<colorados> (
doodlehaus has joined #ruby
<colorados> now we a green
<agent_white> colorados: No, now you're trying too hard.
<adaedra> Tomasso: You just want to check that it has at least one letter and one number and be between 12 or 13 chars long ?
Rickmasta has joined #ruby
<Tomasso> adaedra: yes, sample strings could be 22e80f14c730c e0cf0e818e638 , and the following 0000000000000 matches when it shouldnt , so needs to be from 12 to 13 chars in length and contain letters and numbers ]
Affix has quit [Excess Flood]
bartj3 has quit [Ping timeout: 272 seconds]
Affix has joined #ruby
<adaedra> not sure it could be regexized easily
Affix is now known as Guest64256
railsFor_ has joined #ruby
<pontiki> Tomasso: have you considered making it a proc ?
rbennacer has quit [Ping timeout: 272 seconds]
<Tomasso> if i used the ruby code version, i would need to search for that pattern in a huge text.. separate all into words and run the Proc in each of them
railsForDaiz has quit [Ping timeout: 265 seconds]
bartj3 has joined #ruby
al2o3-cr has joined #ruby
Zai00 has quit [Quit: Zai00]
Peetooshock has joined #ruby
Peetooshock has quit [Changing host]
Peetooshock has joined #ruby
<Tomasso> pontiki: yes , i think i will need to do that scan full text for those strings.. or should be nice if something like gsub support receiving a boolean Proc and replace the match by something else, such as <b>string</b>
narcan has joined #ruby
<adaedra> you can try to match on /[a-z0-9]{13,14}/ and check on these matches to reduce
Ropeney has joined #ruby
<adaedra> gsub accepts a proc
charliesome has quit [Quit: zzz]
<adaedra> >> "Hello World".gsub(/[A-Z]/) { |e| "<b>#{e}</b>" }
krz has joined #ruby
<ruboto> adaedra # => "<b>H</b>ello <b>W</b>orld" (https://eval.in/330030)
<pontiki> what about for the match predicate? can that be a proc?
yeticry has quit [Ping timeout: 256 seconds]
_blizzy_ has joined #ruby
<adaedra> no, not the predicate
<adaedra> but you can use a wider pattern and do precise and awkward to do matches in the gsub proc
yeticry has joined #ruby
bigmac has quit [Ping timeout: 246 seconds]
<Tomasso> aaaaaaaaaaaaa -> matches /[a-z0-9]{13,14}/ but it doesnt have a number
turtil has joined #ruby
<adaedra> yes, that's what I said
jerematic has joined #ruby
<adaedra> It filters down enough and let you match the letter + number requirement in code
<Tomasso> if gsub could do smth like "Hello World".gsub( Proc.new {|str| true } ) { |e| "<b>#{e}</b>" } im saved
ismaelga has joined #ruby
<adaedra> You want to do what, replace the strings above by a bolded version ?
<Tomasso> adaedra: yes , that a big text and highlight the matchings
Ropeney has quit [Client Quit]
quazimod1 has quit [Ping timeout: 264 seconds]
moeabdol has quit [Ping timeout: 272 seconds]
marens has quit [Remote host closed the connection]
<adaedra> .gsub(/[a-z0-9]{13,14}/) { |e| e.match(/[a-z]/) and e.match(/\d/) ? "<b>#{e}</b>" : e }
<adaedra> or something like that
DEA7TH has joined #ruby
serivich has joined #ruby
<Tomasso> mm interesting /.. let me check
jerematic has quit [Ping timeout: 246 seconds]
ismaelga has quit [Ping timeout: 240 seconds]
ponga has quit [Read error: Connection reset by peer]
panga has joined #ruby
<apeiros> /\A(?=.*\d)(?=.*[a-z]).{12,13}\z/
<apeiros> Tomasso: ^ that'd be your expression as a single regex
atom3_ has joined #ruby
vtunka has quit [Quit: Leaving]
<apeiros> I concur with pontiki that using other code is btter
<apeiros> *better
<adaedra> *blinks*
panga has quit [Read error: No route to host]
<apeiros> e.g. str.length.between?(12,13) && str =~ /\d/ && str =~ /[a-z]/
edwinvdgraaf has joined #ruby
ponga has joined #ruby
crazydiamond has joined #ruby
atom3 has quit [Ping timeout: 276 seconds]
ponga has quit [Read error: No route to host]
senayar has quit [Remote host closed the connection]
ponga has joined #ruby
jenrzzz has joined #ruby
ponga has quit [Read error: No route to host]
jottr has joined #ruby
<Tomasso> apeiros: hey that seems to work very good (?=.*\d)(?=.*[a-z]).{12,13} # you put the dot before {12,13} because positive lookbefores do not represent characters
ponga has joined #ruby
<Tomasso> thats great
<Tomasso> Thanks xD
NinjaOps has joined #ruby
ponga has quit [Read error: Connection reset by peer]
<apeiros> it works by having /\A.{12,13}\z/ test the length. and (?=.*\d) tests for presence of a digit, and (?=.*[a-z]) tests for presence of [a-z]
panga has joined #ruby
atom3_ has quit [Ping timeout: 276 seconds]
sevenseacat has quit [Quit: Me dun like you no more.]
panga has quit [Read error: Connection reset by peer]
vtunka has joined #ruby
jenrzzz has quit [Ping timeout: 240 seconds]
martinbmadsen has quit [Ping timeout: 272 seconds]
ponga has joined #ruby
juanpablo____ has joined #ruby
arup_r has quit [Ping timeout: 255 seconds]
iotouch has quit [Quit: This computer has gone to sleep]
ponga has quit [Read error: No route to host]
ponga has joined #ruby
arup_r has joined #ruby
ndrei has joined #ruby
ponga has quit [Read error: No route to host]
lessless has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ponga has joined #ruby
duncannz has quit [Ping timeout: 256 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
arup_r_ has joined #ruby
juanpablo____ has quit [Ping timeout: 246 seconds]
ponga has quit [Read error: No route to host]
ponga has joined #ruby
moeabdol has joined #ruby
ponga has quit [Read error: Connection reset by peer]
serrador has left #ruby [#ruby]
ponga has joined #ruby
lidenskap has joined #ruby
arup_r has quit [Ping timeout: 272 seconds]
banister has joined #ruby
ponga has quit [Read error: No route to host]
iotouch has joined #ruby
chthon has quit [Remote host closed the connection]
ponga has joined #ruby
Hirzu_ has joined #ruby
ponga has quit [Read error: No route to host]
ponga has joined #ruby
SOLDIERz has joined #ruby
Papierkorb_ has joined #ruby
ponga has quit [Read error: Connection reset by peer]
lidenskap has quit [Ping timeout: 264 seconds]
Hirzu has quit [Ping timeout: 264 seconds]
ponga has joined #ruby
roolo has joined #ruby
ponga has quit [Read error: No route to host]
arup_r_ has quit [Read error: Connection reset by peer]
ponga has joined #ruby
sgambino has quit [Ping timeout: 246 seconds]
ponga has quit [Read error: No route to host]
lolmaus has joined #ruby
ponga has joined #ruby
quimrstorres has quit [Remote host closed the connection]
ponga has quit [Read error: Connection reset by peer]
ponga has joined #ruby
_ixti_ has joined #ruby
emilkarl has joined #ruby
sigurding has joined #ruby
Hounddog has quit [Ping timeout: 246 seconds]
ponga has quit [Read error: No route to host]
ponga has joined #ruby
ponga has quit [Read error: Connection reset by peer]
panga has joined #ruby
panga has quit [Read error: Connection reset by peer]
ponga has joined #ruby
yh has quit [Ping timeout: 256 seconds]
kyrylo_ is now known as kyrylo
ponga has quit [Read error: Connection reset by peer]
panga has joined #ruby
greenbagels has quit [Quit: Leaving]
gazay has quit [Quit: gazay]
ArchRogem has joined #ruby
panga has quit [Read error: No route to host]
Zai00 has joined #ruby
atom3 has joined #ruby
yh has joined #ruby
ponga has joined #ruby
Mon_Ouie has joined #ruby
ponga has quit [Read error: No route to host]
panga has joined #ruby
wolflee_________ has quit [Remote host closed the connection]
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
wolflee_________ has joined #ruby
millerti has joined #ruby
marens has joined #ruby
panga has quit [Read error: No route to host]
ponga has joined #ruby
ponga has quit [Read error: No route to host]
ponga has joined #ruby
Akagi201 has quit [Read error: Connection reset by peer]
ponga has quit [Read error: No route to host]
ponga has joined #ruby
krz has quit [Ping timeout: 272 seconds]
scripore has quit [Quit: This computer has gone to sleep]
ponga has quit [Read error: No route to host]
qwertme has joined #ruby
ponga has joined #ruby
vire has quit [Remote host closed the connection]
railsFor_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
al2o3-cr has quit [Quit: WeeChat 1.1.1]
ponga has quit [Read error: No route to host]
Akagi201 has joined #ruby
ponga has joined #ruby
ponga has quit [Read error: No route to host]
ponga has joined #ruby
ponga has quit [Read error: Connection reset by peer]
panga has joined #ruby
panga has quit [Read error: No route to host]
sdothum has joined #ruby
ponga has joined #ruby
ponga has quit [Read error: No route to host]
fella5s has quit [Read error: Connection reset by peer]
jerematic has joined #ruby
ponga has joined #ruby
jottr has quit [Ping timeout: 250 seconds]
ponga has quit [Read error: No route to host]
ponga has joined #ruby
al2o3-cr has joined #ruby
segfalt has joined #ruby
ponga has quit [Read error: Connection reset by peer]
ponga has joined #ruby
jerematic has quit [Ping timeout: 240 seconds]
jottr has joined #ruby
Leef_ has quit [Ping timeout: 252 seconds]
ponga has quit [Read error: No route to host]
hmnhf_ has joined #ruby
ponga has joined #ruby
hmnhf_ has quit [Client Quit]
jerius has joined #ruby
ponga has quit [Read error: No route to host]
ponga has joined #ruby
ponga has quit [Read error: Connection reset by peer]
panga has joined #ruby
lxsameer_ has joined #ruby
panga has quit [Read error: No route to host]
bruno- has joined #ruby
bruno- is now known as Guest68446
vtunka has quit [Quit: Leaving]
doodlehaus has quit [Remote host closed the connection]
sameerynho has quit [Ping timeout: 264 seconds]
quimrstorres has joined #ruby
mengu has joined #ruby
livathinos has joined #ruby
Shidash has quit [Remote host closed the connection]
kp666 has quit [Remote host closed the connection]
<shevy> waaaa
<shevy> you killed ponga!
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<flughafen> you bastard!
<adaedra> clam down
Hounddog has joined #ruby
DynamicMetaFlow has quit [Remote host closed the connection]
Guest14902 has quit [Ping timeout: 255 seconds]
ntln has quit [Ping timeout: 265 seconds]
fella5s has joined #ruby
Leef_ has joined #ruby
Hounddog has quit [Ping timeout: 264 seconds]
Hounddog has joined #ruby
Mohan has joined #ruby
senayar has joined #ruby
Mohan is now known as Guest83595
_blizzy_ has quit [Ping timeout: 265 seconds]
jimms has joined #ruby
gazay has joined #ruby
ldnunes has joined #ruby
joonty has quit [Quit: joonty]
sevenseacat has joined #ruby
chinmay_dd has joined #ruby
chimche has joined #ruby
doodlehaus has joined #ruby
cryptarium has quit [Ping timeout: 264 seconds]
cryptarium has joined #ruby
<shevy> >> module Foo; end; Foo.include?
<ruboto> shevy # => wrong number of arguments (0 for 1) (ArgumentError) ...check link for more (https://eval.in/330286)
<shevy> damn
<shevy> there is a class method called include?
doodlehaus has quit [Remote host closed the connection]
Papierkorb_ is now known as Papierkorb
<shevy> huh
<shevy> now I am confused
<shevy> but in a larger codebase that I am using ... it does not seem to work
iotouch has quit [Quit: This computer has gone to sleep]
mdw has joined #ruby
ndrei has quit [Ping timeout: 272 seconds]
mjuszczak has joined #ruby
quimrstorres has quit [Remote host closed the connection]
zz_barkerd427 is now known as barkerd427
AlphaAtom has joined #ruby
mtakkman has joined #ruby
turtil has quit [Ping timeout: 256 seconds]
fella5s has quit [Read error: Connection reset by peer]
Mon_Ouie has quit [Ping timeout: 276 seconds]
revvy has joined #ruby
chipotle has joined #ruby
fella5s has joined #ruby
vtunka has joined #ruby
mtakkman has quit [Read error: Connection reset by peer]
yh has quit [Ping timeout: 265 seconds]
iotouch has joined #ruby
lessless has joined #ruby
<avril14th> man, I never thought I would need to promote a gem
psy_ has joined #ruby
revvy has quit [Remote host closed the connection]
<shevy> wat gem
joonty has joined #ruby
<avril14th> the only one I wrote :) (superseeder)
tonyhb has joined #ruby
allcentury has joined #ruby
vtunka has quit [Quit: Leaving]
naftilos76 has joined #ruby
emilkarl has quit [Quit: emilkarl]
emilkarl has joined #ruby
Akagi201 has quit [Remote host closed the connection]
allcentury has quit [Ping timeout: 246 seconds]
codecop has joined #ruby
pontiki has quit [Ping timeout: 256 seconds]
allcentury has joined #ruby
lloyd is now known as Lloyd
astrobunny has joined #ruby
colli5ion has joined #ruby
a346 has joined #ruby
senayar has quit [Remote host closed the connection]
jerematic has joined #ruby
moeabdol has quit [Ping timeout: 276 seconds]
juanpablo____ has joined #ruby
iotouch has quit [Quit: This computer has gone to sleep]
sgambino has joined #ruby
ismaelga has joined #ruby
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
edwinvdgraaf has quit [Remote host closed the connection]
Hirzu_ has quit [Read error: Connection reset by peer]
quimrstorres has joined #ruby
jerematic has quit [Ping timeout: 252 seconds]
Hirzu has joined #ruby
pontiki has joined #ruby
revoohc has joined #ruby
senayar has joined #ruby
senayar has joined #ruby
but3k4 has joined #ruby
quazimodo has joined #ruby
<pontiki> rehi
AlphaAtom has joined #ruby
edwinvdgraaf has joined #ruby
AlphaAtom has quit [Client Quit]
juanpablo____ has quit [Ping timeout: 250 seconds]
segfalt has quit [Quit: segfalt]
scripore has joined #ruby
<flughafen> shevy: have you ever heard of this gem called superseeder? it's so awesome! it allows you to super seed everything !
quimrstorres has quit [Ping timeout: 246 seconds]
electriv has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 256 seconds]
<shevy> have not heard about it
<shevy> I am not sure what to do with it
<shevy> can I see torrents with it?
<flughafen> use it to seeder super!
jerius has quit [Quit: /quit]
Guest83595 has quit [Ping timeout: 246 seconds]
<shevy> what shall I seed super() for
lidenskap has joined #ruby
colorados has quit [Quit: Leaving]
Mohan has joined #ruby
Mohan is now known as Guest26139
<flughafen> shevy: maybe avril14th can say what is so good to seed super
<shevy> he won't know either
lordkryss has joined #ruby
ismaelga has quit [Remote host closed the connection]
electriv has quit [Client Quit]
electriv has joined #ruby
haxrbyte_ has quit [Read error: Connection reset by peer]
<avril14th> well, you can dump this channel noise in a csv and load it in one line your rails app
haxrbyte has joined #ruby
<shevy> channel noise!!!
<shevy> flughafen you make too much noise in Berlin
jottr has quit [Quit: WeeChat 1.1.1]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Papierkorb> shevy: that's not going to happen till after mankind disappeared from earth
haxrbyte_ has joined #ruby
BTRE has quit [Ping timeout: 245 seconds]
<flughafen> Papierkorb: did you see that heute show's parody of star trek and ber?
lidenskap has quit [Ping timeout: 264 seconds]
davedev24_ has joined #ruby
arturhoo has joined #ruby
<Papierkorb> flughafen: yet to see it
haxrbyte has quit [Ping timeout: 250 seconds]
jottr has joined #ruby
iotouch has joined #ruby
yfeldblum has quit [Ping timeout: 265 seconds]
<flughafen> shevy: ^^ if you haven't watched it
joonty has quit [Quit: joonty]
Axy has joined #ruby
Axy has joined #ruby
jerematic has joined #ruby
joonty has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
jimms has quit [Ping timeout: 256 seconds]
sankaber has joined #ruby
sankaber has quit [Read error: Connection reset by peer]
nateberkopec has quit [Quit: Linkinus - http://linkinus.com]
astrobunny has quit [Remote host closed the connection]
sankaber has joined #ruby
* pontiki supercedes your superseeder with a superduperseeder
Mia has quit [Read error: Connection reset by peer]
yeticry has quit [Ping timeout: 240 seconds]
IrishGringo has joined #ruby
* adaedra brings out his hyperseeder
diegoaguilar has joined #ruby
jimms has joined #ruby
* flughafen brings out quantumseeder
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
yeticry has joined #ruby
scripore has joined #ruby
AlphaAtom has joined #ruby
ismaelga has joined #ruby
chriscarpenter12 has joined #ruby
jimms has quit [Remote host closed the connection]
JDiPierro has joined #ruby
mostlybadfly has joined #ruby
iotouch has quit [Quit: This computer has gone to sleep]
ismaelga has quit [Remote host closed the connection]
yeticry has quit [Remote host closed the connection]
Zenon has joined #ruby
ismaelga has joined #ruby
yeticry has joined #ruby
joonty has quit [Quit: joonty]
paulcsmith has joined #ruby
vtunka has joined #ruby
joonty has joined #ruby
electriv has quit [Quit: Textual IRC Client: www.textualapp.com]
mtakkman has joined #ruby
jottr has quit [Ping timeout: 255 seconds]
Leef_ has quit [Quit: Leaving]
dblessing has joined #ruby
CloCkWeRX has left #ruby [#ruby]
iotouch has joined #ruby
doodlehaus has joined #ruby
bmurt has joined #ruby
<bmurt> anyone able to recommend a gem for parsing log files, particularly Asterisk, or just in general
<bmurt> i could grep the shit out of the log, but wasnt sure if there was a better solution
paulcsmith has quit [Quit: Be back later ...]
yh has joined #ruby
kaspernj has quit [Ping timeout: 256 seconds]
jottr has joined #ruby
mtakkman has quit [Ping timeout: 244 seconds]
jordanm has quit [Ping timeout: 265 seconds]
quimrstorres has joined #ruby
werelivinginthef has joined #ruby
jordanm has joined #ruby
<wasamasa> using binary logs
jottr has quit [Ping timeout: 272 seconds]
<wasamasa> these come with dedicated utilities for working on them
Channel6 has joined #ruby
havenwood has joined #ruby
enebo has joined #ruby
ta has quit [Remote host closed the connection]
scripore has quit [Quit: This computer has gone to sleep]
scripore has joined #ruby
nettoweb has joined #ruby
kaspernj has joined #ruby
robbyoconnor has quit [Ping timeout: 240 seconds]
iotouch has quit [Quit: 离开]
crazydiamond has quit [Ping timeout: 252 seconds]
bigmac has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
Zamerick_ has quit [Ping timeout: 272 seconds]
pwattste has joined #ruby
rbennacer has joined #ruby
insidious has joined #ruby
juanpablo____ has joined #ruby
scripore has joined #ruby
delianides has joined #ruby
ismaelga has quit [Remote host closed the connection]
arup_r has joined #ruby
ismaelga has joined #ruby
moeabdol has joined #ruby
mrmargolis has joined #ruby
paulcsmith has joined #ruby
xxneolithicxx has quit [Ping timeout: 255 seconds]
ismaelga has quit [Remote host closed the connection]
yaw has quit [Ping timeout: 250 seconds]
duggiefresh has joined #ruby
casadei_ has joined #ruby
juanpablo____ has quit [Ping timeout: 265 seconds]
rbennacer has quit [Ping timeout: 272 seconds]
senayar has quit [Remote host closed the connection]
workmad3 has joined #ruby
jordanm has quit [Ping timeout: 276 seconds]
tonyhb has quit [Quit: peace]
mengu has quit [Remote host closed the connection]
Channel6 has quit [Quit: Leaving]
iasoon has joined #ruby
rbennacer has joined #ruby
Soda has joined #ruby
pwattste has quit [Remote host closed the connection]
tonyhb has joined #ruby
SOLDIERz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jordanm has joined #ruby
jenrzzz has joined #ruby
SouL_|_ has joined #ruby
Shidash has joined #ruby
Cust0sL1men has quit [Quit: Leaving]
jenrzzz has quit [Ping timeout: 245 seconds]
emilkarl has quit [Quit: emilkarl]
senayar has joined #ruby
rdar has joined #ruby
arup_r has quit [Ping timeout: 265 seconds]
surs has quit [Quit: WeeChat 0.3.7]
SOLDIERz has joined #ruby
surs has joined #ruby
<dorei> bmurt: maybe lgostash could be useful
<dorei> logstash even
astrobunny has joined #ruby
Akagi201 has joined #ruby
surs has quit [Changing host]
surs has joined #ruby
fabrice31 has quit [Remote host closed the connection]
fabrice31 has joined #ruby
Guest1421 has joined #ruby
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
RegulationD has joined #ruby
quimrstorres has quit [Remote host closed the connection]
quazimodo has quit [Ping timeout: 256 seconds]
juanpablo____ has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
scripore has joined #ruby
yh has quit [Ping timeout: 256 seconds]
emilkarl has joined #ruby
antgel has quit [Ping timeout: 264 seconds]
EagleDelta has joined #ruby
astrobunny has quit [Remote host closed the connection]
nemesit|znc has joined #ruby
antgel has joined #ruby
AlphaAtom has joined #ruby
SOLDIERz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
AlphaAtom has quit [Max SendQ exceeded]
sepp2k has joined #ruby
Kricir has joined #ruby
lxsameer_ has quit [Quit: Leaving]
nateberkopec has joined #ruby
Rickmasta has joined #ruby
n008f4g_ has quit [Ping timeout: 256 seconds]
mary5030 has joined #ruby
dfinninger has joined #ruby
quimrstorres has joined #ruby
mary5030 has quit [Remote host closed the connection]
qwertme has joined #ruby
mary5030 has joined #ruby
shellfu_afk has joined #ruby
quimrstorres has quit [Read error: Connection reset by peer]
AlphaAtom has joined #ruby
quimrstorres has joined #ruby
shellfu_afk is now known as shellfu
gambl0re has joined #ruby
Mia has joined #ruby
Mia has joined #ruby
dfinninger has quit [Remote host closed the connection]
Axy has quit [Ping timeout: 256 seconds]
agent_white has quit [Read error: Connection reset by peer]
mitchellhenke has joined #ruby
Mia has quit [Read error: Connection reset by peer]
jobewan has joined #ruby
agent_white has joined #ruby
ekaleido has joined #ruby
jottr has joined #ruby
arcanez has left #ruby [#ruby]
lavros has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
thatslifeson has joined #ruby
agent_white has joined #ruby
<shevy> flughafen lol
jottr has quit [Ping timeout: 256 seconds]
mjuszczak has quit []
astrobunny has joined #ruby
emilkarl has quit [Quit: emilkarl]
eichenwald has joined #ruby
axl_ has joined #ruby
Dopagod has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
Dopagod has quit [Client Quit]
RegulationD has quit []
Soda has quit [Remote host closed the connection]
agent_white has joined #ruby
rdar has quit [Ping timeout: 264 seconds]
RegulationD has joined #ruby
CloCkWeRX has joined #ruby
Dopagod has joined #ruby
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ismaelga has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
justAnon has joined #ruby
agent_white has joined #ruby
agarie has joined #ruby
justAnon has quit [Remote host closed the connection]
platzhirsch has left #ruby [#ruby]
MatthewsFace[SEA has joined #ruby
Cust0sL1men has joined #ruby
sevenseacat has quit [Quit: Me dun like you no more.]
ChoiKyuSang has quit [Quit: AdiIRC is updating to v1.9.7 Beta Build (2015/05/06)32 Bit]
narcan has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
yh has joined #ruby
quimrstorres has quit [Remote host closed the connection]
lessless has quit [Ping timeout: 272 seconds]
hanmac1 has quit [Quit: Leaving.]
ChoiKyuSang has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
mdw has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
AlphaAtom has joined #ruby
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
tjohnson has joined #ruby
AlphaAtom has quit [Max SendQ exceeded]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
scripore has quit [Quit: This computer has gone to sleep]
agent_white has joined #ruby
MatthewsFace[SEA has quit [Remote host closed the connection]
scripore has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
AlphaAtom has joined #ruby
quimrstorres has joined #ruby
agent_white has joined #ruby
woodruffw has quit [Quit: And then he took off.]
quazimod1 has joined #ruby
quimrstorres has quit [Remote host closed the connection]
yh has quit [Ping timeout: 256 seconds]
quimrstorres has joined #ruby
riotjone_ has quit [Remote host closed the connection]
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
speakingcode has quit [Ping timeout: 255 seconds]
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
robbyoconnor has joined #ruby
ndrei has joined #ruby
snath has quit [Ping timeout: 265 seconds]
segfalt has joined #ruby
vtunka has quit [Quit: Leaving]
agent_white has quit [Read error: Connection reset by peer]
tkuchiki has quit [Remote host closed the connection]
agent_white has joined #ruby
tkuchiki has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
tkuchiki has quit [Remote host closed the connection]
_blizzy_ has joined #ruby
<dudedudeman> can any one recommend resources on setting up VIM for ruby?
Hirzu has quit [Read error: Connection reset by peer]
keltim has joined #ruby
<adaedra> what do you mean, setting it up
thatslifeson has quit [Remote host closed the connection]
<adaedra> vim has built-in support for ruby
<keltim> I am forced to use ruby 1.8 for something, I'm trying to find out what version of gem is ok to use with it, can I use the latest? (not a dev, a sysadmin)
<adaedra> depends on the gem
agent_white has quit [Read error: Connection reset by peer]
<pontiki> you shouldn't use any editor but the one i like!!
<adaedra> have you looked in your package manager if it has what you want? Some distributions have gems installable like that, which are guaranteed to be compatible in your case, keltim
agent_white has joined #ruby
kraljev11 has joined #ruby
<keltim> right now it is at 1.4.2. There are a lot of gems involved. Is it ok to stick with that? I am thinking there may be security issues
<shevy> keltim do you mean "rubygems" version?
_blizzy_ has quit [Ping timeout: 265 seconds]
<keltim> shevy, yes, excuse me
<adaedra> keltim: it's gem-by-gem then
kaspernj has quit [Remote host closed the connection]
<adaedra> ah, rubygems
<shevy> in most cases, the rubygems team tries to remain compatible
umgrosscol has joined #ruby
<shevy> problem is that the different ruby versions use different syntax :\
b4tm4n has joined #ruby
<b4tm4n> i'm gettting an error in my sidekiq log "undefined method `channel'". I think this may be related to using a systemd script to start sidekiq and not starting from the right location. Am I on the right track?
speakingcode has joined #ruby
<dudedudeman> ah, sorry. I should clarify. I know VIM has built in support for ruby, but I guess i'm looking for some things that could help stream line it a little bit, and have some solid syntax highlighting for ruby
<pontiki> is anyone still trying to remain compatible with 1.8, though?
<shevy> but I think you could make an upgrade, check if things work out, and if not downgrade again. I am not sure how this is done precisely, the guys on #rubygems should know though. drbrain is one of the 4 original creators of rubygems there
<dudedudeman> currently, i'm just staring at black and white text and i hate it
<adaedra> wut
<adaedra> :syntax on
<adaedra> ^ dudedudeman
<keltim> pontiki, it's an orphaned application
<pontiki> keltim: so is ruby 1.8
<keltim> yet it still has to run while someone decides what to do with it (one of those)
<keltim> pontiki, yes, ruby 1.8, rubygems 1.4.2
<pontiki> orphaned
<pontiki> or outright dead
<adaedra> dudedudeman: also, I suggest you look at https://github.com/tpope/vim-sensible
AlphaAtom has quit [Remote host closed the connection]
<dudedudeman> adaedra: this is great, thank you
browncow has joined #ruby
<keltim> adaedra, why gem by gem? how does one determine that?
agent_white has quit [Read error: Connection reset by peer]
<dudedudeman> i have my old vimrc from when i was diving in to python... but i want to streamline it a bit
<browncow> join #sabremetrics
agent_white has joined #ruby
<adaedra> dudedudeman: personally, I like vim-endwise. Also, if you want it, syntastic makes automatic syntax error reporting in vim
<keltim> individual gems have a dependency on the rubygems version? that sounds insane to me ...
<dudedudeman> i understood some of those words...
<adaedra> no
najmi has joined #ruby
<adaedra> dudedudeman: those are vim plugins, look them up in Google
<adaedra> :)
<dudedudeman> :P i'm already on my way
<adaedra> keltim: I mean, security updates, 1.8 maintenance, etc., are gem-by-gem. Each developper decides what he does
yh has joined #ruby
<dudedudeman> Thanks for those. It's just nice to know what ruby dudes are using for VIM
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<dudedudeman> i've done some youtubing and there's some great videos, but some of them aren't very well done and are hard to follow along with
<adaedra> And, but not ruby-related, vim-airline is great
chipotle has quit [Quit: cheerio]
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
agent_white has quit [Read error: Connection reset by peer]
suppp has joined #ruby
<suppp> hi guys, does anybody here use capistrano with 2 different ssh keys, one for sshing to the server, and one for git ? or does anyone know where I could find a clear api docs for ssh_options ?
agent_white has joined #ruby
<keltim> adaedra, oh I knew that
The_Phoenix has joined #ruby
<keltim> adaedra, but is it ok to use latest rubygems with 1.8? I don't see any restriction noted anywhere ...
The_Phoenix has quit [Max SendQ exceeded]
<adaedra> Never tried
rocknrollmarc has joined #ruby
<adaedra> I would have used the one provided by your system
<adaedra> But I don't know if security fixes are backported
robbyoconnor has quit [Read error: Connection reset by peer]
yh has quit [Ping timeout: 256 seconds]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
The_Phoenix has joined #ruby
banister has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
fabrice31 has quit [Remote host closed the connection]
Xiti` has quit [Quit: Xiti`]
The_Phoenix has joined #ruby
Xiti has joined #ruby
rippa has joined #ruby
v0n has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
The_Phoenix has quit [Max SendQ exceeded]
agent_white has joined #ruby
rhllor has joined #ruby
The_Phoenix has joined #ruby
roolo has quit [Read error: Connection reset by peer]
Sawbones_ has joined #ruby
roolo has joined #ruby
gagrio_ has quit [Ping timeout: 264 seconds]
Pumukel has quit [Ping timeout: 265 seconds]
momomomomo has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
lidenskap has joined #ruby
maletor has joined #ruby
dfinninger has joined #ruby
Zen-Zen has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
jakolehm has quit [Ping timeout: 256 seconds]
p8952 has quit [Quit: ZNC - http://znc.in]
agent_white has joined #ruby
Xiti has quit [Quit: Xiti]
Xiti has joined #ruby
agent_white has left #ruby [#ruby]
Xiti has quit [Read error: Connection reset by peer]
Xiti has joined #ruby
thatslifeson has joined #ruby
kraljev11 has quit [Ping timeout: 256 seconds]
lidenskap has quit [Ping timeout: 246 seconds]
snath has joined #ruby
scripore has joined #ruby
neonalpine has joined #ruby
that1guy has joined #ruby
Sawbones_ has quit [Remote host closed the connection]
<shevy> keltim the dependency on a rubygem version is optional; some gems have, some gems don't. normally, the dependency is on a specific ruby version itself
jottr has joined #ruby
<shevy> I really think there is a safe way to test an upgrade, then downgrade alone though. Others must have been in a similar situation before. Ask drbrain on #rubygems if there is someone who knows it, it'll be him
<shevy> or, you could perhaps make a "cp -rv" from all the old ruby stuff
<shevy> and then just try the upgrade
<shevy> or just backup the current gem :D
<shevy> I mean rubygem
<gambl0re> http://railsforzombies.org/levels/1/challenges/1 ........ can somebody try doing the first exercise and tell me if its working.
neonalpine has quit [Client Quit]
<thatslifeson> does not work
neonalpine has joined #ruby
AlphaAtom has joined #ruby
<gambl0re> what happens when you try to type in an answer?
MasterPiece has joined #ruby
<thatslifeson> We're sorry, but something went wrong.
<thatslifeson> is what I get when loading the page
<shevy> "We're sorry, but something went wrong."
<shevy> BUG!
<thatslifeson> bugrekt
<gambl0re> where are you seeing that error message.
anisha has quit [Quit: Leaving]
<gambl0re> when i type in my answer, the prompt just goes to a new prompt line
<gambl0re> with no error message.
Pumukel has joined #ruby
ekaleido has quit [Quit: Textual IRC Client: www.textualapp.com]
msgodf has quit [Remote host closed the connection]
uri_ has joined #ruby
<pontiki> you can't go directly to that url, you have to follow from the path in the application to it
gluten_hell_ has quit [Ping timeout: 245 seconds]
livathinos has quit []
jottr has quit [Ping timeout: 246 seconds]
yh has joined #ruby
Hirzu has joined #ruby
hmsimha has joined #ruby
astrobunny has quit [Remote host closed the connection]
laurentide__ has quit [Quit: Leaving]
jimms has joined #ruby
<atmosx> Hello, I want to make a service that indexes a shitty Java application and produces a PDF. I'm thinking of rails (although I'm flirting with the idea of a sinatra single-page app) + sidekiq + nokogiri. Any other ideas?
rdar has joined #ruby
<pontiki> gambl0re: i've never used railsforzombies, so i don't know what to expect. but i'd expect more than what's happening there
kblake has joined #ruby
fella5s has quit [Ping timeout: 256 seconds]
Hirzu_ has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
scripore has quit [Quit: This computer has gone to sleep]
sinkensabe has quit [Remote host closed the connection]
speakingcode has quit [Ping timeout: 276 seconds]
Hirzu has quit [Ping timeout: 246 seconds]
<dudedudeman> gambl0re: definitely hit up the #rubyonrails channel for more help with that
haxrbyte has joined #ruby
robertodecurnex has joined #ruby
gsd has joined #ruby
gsd has quit [Max SendQ exceeded]
<gambl0re> seems like you guys cant even load the page....i can load the page but when i type my answer it doesnt seem to register.
scripore has joined #ruby
haxrbyte_ has quit [Remote host closed the connection]
scripore has quit [Client Quit]
<gambl0re> doesnt matter..
senayar has quit []
<gambl0re> dudeman, i forgot to ask you. when did you first start the odinproject.
gsd has joined #ruby
mtakkman has joined #ruby
geekbri has joined #ruby
antgel has quit [Ping timeout: 272 seconds]
antgel has joined #ruby
unreal_ is now known as unreal
pwattste has joined #ruby
thatslifeson has quit [Remote host closed the connection]
snockerton has joined #ruby
msgodf has joined #ruby
pdoherty has joined #ruby
<shevy> atmosx sounds painful!
Akagi201 has quit [Remote host closed the connection]
<shevy> either way ;-)
Porfa has joined #ruby
<Porfa> ehye
hmsimha has quit [Ping timeout: 256 seconds]
Rollabunna has quit [Read error: Connection reset by peer]
<Porfa> i seem to be failing at some really simple thing
<atmosx> shevy: the nokogiri part is painful, scrapping is painful :-)
<Porfa> and i need the masters expertise
<shevy> gambl0re it's not just a dudeman... it is the dudedudeman, a double dude. a dudette
Xiti is now known as Pixi
Pixi is now known as Pixi`
Pixi` is now known as Xiti
<shevy> it's like the father of all Lebowskis
Tomasso has quit [Quit: Page closed]
<pontiki> a dude for all seasons
speakingcode has joined #ruby
<havenwood> atmosx: Roda! ;)
<atmosx> havenwood: was ist das
<atmosx> ?
Cust0sL1men has quit [Quit: Leaving]
ahmetkapikiran has joined #ruby
<shevy> Roda? that's the thing that the capoeira dudes do
<havenwood> atmosx: It's like a Sinatra but instead of Regexping routes it does a routing tree. It's also really good about not polluting the environment and has a fantastic plugin system.
<havenwood> atmosx: By the author of the Sequel gem. Really some great code.
Spami has joined #ruby
<havenwood> atmosx: http://roda.jeremyevans.net/
<shevy> cool word... "Regexping"
<atmosx> havenwood: I know J. Evans... I'm on it :-)
ahmetkapikiran has quit [Client Quit]
<havenwood> atmosx: \o/
<Porfa> https://gist.github.com/anonymous/4364f3919dceb13a4fb1 (the first script works, and it fetches what i want and puts it in DB, the second one fails… can anyone roll theirs eyes on this please? thanks )
<shevy> there is Regexping and Regexpong
riotjones has joined #ruby
<pontiki> my goodness, that's pretty
scripore has joined #ruby
mary5030_ has joined #ruby
<atmosx> havenwood: have you used his framework?
<atmosx> havenwood: the thread-safety is neat.
xxneolithicxx has joined #ruby
<shevy> pontiki really?
<havenwood> atmosx: I enjoyed using it for a simple API. Looking forward to using it again.
<shevy> dat_forretas.
mary5030_ has quit [Remote host closed the connection]
<shevy> Porfa it may help if you include the error message in that gist
<Porfa> shevy: thanks and sorry!
Narzew has joined #ruby
mary5030_ has joined #ruby
mary5030 has quit [Ping timeout: 255 seconds]
tonyhb has quit [Quit: peace]
<shevy> NoMethodError: undefined method `[]' for nil:NilClass
<Porfa> i can't debug that.. i know it's plain english.. but
scripore has quit [Client Quit]
<shevy> not sure where you have a nil object
<shevy> but you have one
<shevy> and you try to invoke a method called [] on this object
<gregf_> >> nil[0]
<ruboto> gregf_ # => undefined method `[]' for nil:NilClass (NoMethodError) ...check link for more (https://eval.in/330865)
thatslifeson has joined #ruby
<shevy> so first, try to find out where you have that nil object exactly Porfa
<shevy> it must be somewhere in your code
<shevy> dat_forretas= Nokogiri::HTML(open(url_forretas)) <--- are you sure this works, and does not return nil ?
<shevy> you can add debug lines
<shevy> p object.class
<shevy> or
<shevy> p object.nil?
<shevy> the latter will give back true, if it is nil
haxrbyte has quit [Remote host closed the connection]
<shevy> >> nil.nil?
<ruboto> shevy # => true (https://eval.in/330883)
riotjones has quit [Ping timeout: 240 seconds]
haxrbyte has joined #ruby
mrmargolis has quit [Remote host closed the connection]
AlphaAtom has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Porfa> shevy: if i run each line of my script on rib, (except the insert to dabase) every line outputs what's expected to be outputted
failshell has joined #ruby
<Porfa> when i do "dat_forretas= Nokogiri::HTML(open(url_forretas))" and press enter, irb outputs the elements and all the nokogiri stuff. so it can't be nil
<shevy> Porfa I recommend to put this into a .rb file
<shevy> irb can be strange sometimes
mrmargol_ has joined #ruby
<shevy> ok good
<shevy> then you know that this line is ok
<shevy> so it must happen elsewhere
<shevy> put it into a .rb file, you get the line number there
<shevy> where the error happens
GaryOak_ has joined #ruby
<Porfa> ok
<shevy> you can use begin/rescue to rescue errors by the way
slash_nick has joined #ruby
<shevy> For example:
DeBot has quit [Ping timeout: 272 seconds]
robbyoconnor has joined #ruby
<shevy> begin; code_here; rescue NoMethodError; end
<shevy> that way you can rescue those errors. But the error must happen somewhere else, you must make one wrong assumption in your current code. You have to find that part, and change that line
<shevy> your portuguese variable names confuse me ;-)
mtakkman has quit [Ping timeout: 276 seconds]
<Porfa> ahaha srry! https://gist.github.com/anonymous/3827334cf775d9f58426 here, it's the .rb as it being executed and the error in the end
mwlang has joined #ruby
<mwlang> I’m trying to use ruby-prof to narrow down reporting of where my app’s spending the bulk of it’s time.
thatslifeson has quit [Remote host closed the connection]
Rollabunna has joined #ruby
<mwlang> at first, I started/stopped the reporting at the main entry point of the app…then as I drilled down I discovered where 85% of my time’s spent and I tried moving the start/stop from the main entry point to the method in the library that’s consuming the 85% of processing time. Using RubyProf.resume rescue RubyProf.start …. RubyProf.pause within that method.
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> Porfa ok that is better now
<shevy> sql_forretas.rb:26:in `block in <main>': undefined method `[]' for nil:NilClass (NoMethodError)
<mwlang> But oddly, the profiler is still capturing pretty much all of the app and not just what’s happening within that method and it’s sub-routine calls.
<shevy> id_ext = dat_forretas.at_css('.deal a')['href'].to_s.delete('^0-9')
<shevy> ^^^ that means that you do not have a ['href'] element there
<shevy> my suggestion is: break that line, into two lines
<shevy> ensure that the part before the [] works
<shevy> remember, you can use: p object to get more information, or: pp object (if you do require 'pp' at the top of the file)
<shevy> so you could do:
<shevy> pp dat_forretas
<Porfa> shevy: thank you so much
<shevy> id_ext = dat_forretas.at_css('.deal a') <--- I think the error must be there
apurcell has joined #ruby
<shevy> and then, lateron, when you find out where the error is
nobitanobi has joined #ruby
<pontiki> porfa, i think also the problem maybe that you're looking for a .deal class within a set of elements that already have a .deal class
<adaedra> ?pry prasselpikachu
<ruboto> prasselpikachu, Pry, the better IRB. Includes easy object inspection via `ls`, `history`, docs view with `?`, source view with `$` and syntax highlighting, among other features (see `help` for more). It can also be used for easy debugging by putting ’binding.pry’ directy in your source code. Visit https://pryrepl.org/ or get it now with gem install pry pry-doc
<shevy> id_ext = id_ext['href'].to_s.delete('^0-9')
<adaedra> erm, sorry prasselpikachu
<adaedra> ?pry Porfa
<ruboto> Porfa, Pry, the better IRB. Includes easy object inspection via `ls`, `history`, docs view with `?`, source view with `$` and syntax highlighting, among other features (see `help` for more). It can also be used for easy debugging by putting ’binding.pry’ directy in your source code. Visit https://pryrepl.org/ or get it now with gem install pry pry-doc
<shevy> that bot is spammy as hell
<havenwood> ?spam shevy
<ruboto> shevy, I don't know anything about spam
<shevy> lol
<adaedra> no, you're spammy.
<shevy> ?I like chicken havenwood
<ruboto> like, I don't know anything about I
<shevy> HAHAHA
<shevy> hanmac, there is a new bot for you to break
p8952 has joined #ruby
<shevy> ?I adaedra chicken havenwood
<ruboto> adaedra, I don't know anything about I
<havenwood> shevy: Don't initiate the bot's self defense sequence.
<adaedra> apeiros, there is a shevy for you to kick
<shevy> lol
<shevy> oh... the bot disregards the rest of the sentence :(
thatslifeson has joined #ruby
Soda has joined #ruby
<shevy> if we add in more bots, we could watch their spam warfare
<adaedra> or we could stay with the status quo which is right
<shevy> ?havenwood adaedra
<ruboto> adaedra, I don't know anything about havenwood
<shevy> haha
<shevy> ok I stop
<adaedra> /ignore shevy
<shevy> noooo :(
mistermocha has joined #ruby
Cust0sL1men has joined #ruby
Igorshp has quit [Remote host closed the connection]
mistermo_ has joined #ruby
icebourg has joined #ruby
<shevy> yeah he is right
<shevy> "Blogs can confuse you"
<prasselpikachu> adaedra: lol
<adaedra> gambl0re: rude!?
<prasselpikachu> pry is awesome :D
<shevy> gambl0re for me, when I started with ruby, rails did not exist
Igorshp has joined #ruby
<shevy> so I never had to ask myself whether I would have to learn rails first
<gambl0re> read the entire section..
pwattste has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<gambl0re> you will read something interesting..
<shevy> nope
<shevy> "But people on the ruby/rails channel were very impatient and rude."
<shevy> there is not even such a channel
<shevy> there are two separate ones: #rubyonrails and #ruby
mistermocha has quit [Ping timeout: 246 seconds]
<adaedra> and impatient!?
<shevy> here are 968; I am sure that there are less on #rubyonrails. And many who are there, are not here, and vice versa.
<shevy> The communities thus are not the same. They are partially overlapping at best.
mtakkman has joined #ruby
<havenwood> shevy: Where are the missing 32 people?
<shevy> wat!
<havenwood> To break 1,000.
<shevy> 648 there
<shevy> ah you mean here
<shevy> dunno
<shevy> python has...
<shevy> 1820
<shevy> :\
<shevy> damn it
<adaedra> gambl0re: funny thing. I started learning Rails with a book I found, but was talking about rails 1.2, when rails was in version 2, so learning was not really easy :)
RegulationD has quit [Remote host closed the connection]
<havenwood> Half of them think it is a snake fan club though.
<shevy> #perl has 704
<shevy> haha
<shevy> I can not change my nick to python :(
<xxneolithicxx> ROR without first learning Ruby: https://www.youtube.com/watch?v=8sLGrXGFW0s
rbennacer has quit [Remote host closed the connection]
scripore has joined #ruby
<mwlang> I call B.S. on “IRC is only usefull when you face some really obscur bug.” :-o
<adaedra> +1
<eam> maybe a week or two ago I was chatting in here about in-memory dbs and how sqlite was super slow
<shevy> sqlite is damn slow for large datasets!
<eam> found out sqlite 3.6 didn't support the mmap pragma, upgrading to 3.8 brought a 400% performance improvement
<havenwood> eam: nice
<agarie> eam: wow
<agarie> that's really nice to know
failshell has quit [Remote host closed the connection]
baweaver has joined #ruby
rbennacer has joined #ruby
failshell has joined #ruby
joonty has quit [Quit: joonty]
dvxam has joined #ruby
michaeldeol has joined #ruby
<dvxam> Hi everyone
<havenwood> dvxam: hi
<dvxam> I'm having a weird issue. I have a rack app, which was running on previously on thin. I've switch to use puma, and now i'm facing a loooot of timeout.
ahmetkapikiran has joined #ruby
lidenskap has joined #ruby
<dvxam> Actually, those timeout are not raised by my app by heroku which raise H12 and H13 error.
bricker has joined #ruby
<dvxam> I can't get to understand why : anything seems to work well, but after a little time, puma seems to not hadle it
ahmetkapikiran has quit [Client Quit]
p8952 has quit [Quit: ZNC - http://znc.in]
<dvxam> Any idea what i could look at to solve this issue?
rbennacer has quit [Ping timeout: 256 seconds]
swgillespie has joined #ruby
lordkryss has quit [Quit: Connection closed for inactivity]
<adaedra> style-wise, when you have a method which returns nothing, do you stuff an extra `nil` at the end or do you just let the last value "leak"?
MatthewsFace[SEA has joined #ruby
failshell has quit [Ping timeout: 272 seconds]
sinkensabe has joined #ruby
<Narzew> if you don't have nil it will return the last command value
<adaedra> yes, I know
<xxneolithicxx> if its returning a possibly large dataset id return nil
<adaedra> but the question is, shoud I force nil when I write a function not returning anything?
lidenskap has quit [Ping timeout: 240 seconds]
<dvxam> I would not add an unnecessary nil. I would only add it for clarity if it does not seem obvious that the method could return nil.
allcentury has quit [Ping timeout: 256 seconds]
swgillespie has quit [Ping timeout: 244 seconds]
jimms has quit [Remote host closed the connection]
<bricker> adaedra: I always just document as "returns nothing" and leave it as-is (no extra nil)
<adaedra> k
Rickmasta has joined #ruby
<mwlang> adaedra: no.
<toertore> "returns nothing" means side effect, which is usualy a code smell
nobitanobi has quit [Remote host closed the connection]
<adaedra> how so?
<adaedra> I can't modify variables?
Matthews_ has joined #ruby
<agarie> you can, but try to not do it all the time... code usually gets simpler this way
bigmac has quit [Ping timeout: 272 seconds]
freerobby has joined #ruby
dseitz has joined #ruby
DerisiveLogic has joined #ruby
<eam> i/o is a code smell :)
djbkd has quit [Remote host closed the connection]
<adaedra> gr8
mtakkman has quit [Ping timeout: 265 seconds]
mjuszczak has joined #ruby
Hijiri has quit [Quit: WeeChat 1.0.1]
<adaedra> I'll stop coding then, so no more code smells
beneggett has joined #ruby
failshell has joined #ruby
rbennacer has joined #ruby
dvxam has quit [Quit: leaving]
giuseppesolinas has joined #ruby
<toertore> your program should only know about the ram and that's it
MatthewsFace[SEA has quit [Ping timeout: 256 seconds]
<eam> accessing heap is a code smell :)
timonv1 has quit [Ping timeout: 256 seconds]
Porfa has quit [Quit: Porfa]
<toertore> oh right
DerisiveLogic has quit [Remote host closed the connection]
<mwlang> these frivilous code smells smell fishy to me…
shazaum has joined #ruby
banister has joined #ruby
Cust0sL1men has quit [Ping timeout: 256 seconds]
ascarter has joined #ruby
_djbkd has joined #ruby
<toertore> fn1(t){ fn2(t) }; fn2(t){ fn1(t) }; fn1("so pure");
einarj has quit [Remote host closed the connection]
<eam> the most pure and non smelly language is brainfuck
<mwlang> just code with purpose. There’s nothing to be gained by guaranteeing nil is returned. If you know nil is always returned, you’re not going to conditionally branch to do something. If you don’t know and think it might change in the future, wiring it up with nil forced as a return anyway and coding a conditional in the caller leads to next dev wondering why and that’s definitely a code smell or at least a YAGNI scenario.
mikecmpbll has quit [Ping timeout: 255 seconds]
drocsid has quit [Ping timeout: 252 seconds]
Spami has quit [Quit: This computer has gone to sleep]
<toertore> there is clarity to be gained
suppp has quit [Ping timeout: 246 seconds]
shazaum has joined #ruby
shazaum has quit [Changing host]
jottr has joined #ruby
yh has quit [Ping timeout: 240 seconds]
shadoi has joined #ruby
edwinvdgraaf has joined #ruby
cphrmky has joined #ruby
mjuszczak has quit []
ghr has quit [Ping timeout: 250 seconds]
keltim has left #ruby ["Leaving"]
granthatcher has quit []
Eiam_ is now known as Eiam
serivich has quit [Ping timeout: 272 seconds]
Hounddog has quit [Remote host closed the connection]
ndrei has quit [Ping timeout: 256 seconds]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ndrei has joined #ruby
mistermo_ has quit [Read error: Connection reset by peer]
Mon_Ouie has joined #ruby
mistermocha has joined #ruby
Jackneill has joined #ruby
sinkensabe has quit [Remote host closed the connection]
Spami has joined #ruby
Sawbones_ has joined #ruby
SouL_|_ has quit [Ping timeout: 252 seconds]
mikecmpbll has joined #ruby
shadoi has quit [Quit: Leaving.]
<Eiam> hmm. Any recommended gems for Cassandra? Looks like Sequel doesn't do it, but Cequel does =0 unfortunate name there
AlphaAtom has joined #ruby
lkba has quit [Ping timeout: 240 seconds]
AlphaAtom has quit [Max SendQ exceeded]
that1guy has quit [Quit: This computer has gone to sleep]
sinkensabe has joined #ruby
robbyoconnor has quit [Ping timeout: 265 seconds]
nobitanobi has joined #ruby
someguy has joined #ruby
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tus has joined #ruby
poguez_ has joined #ruby
c0m0 has quit [Ping timeout: 256 seconds]
Matthews_ has quit [Ping timeout: 256 seconds]
AlphaAtom has joined #ruby
sinkensabe has quit [Ping timeout: 264 seconds]
sohrab has joined #ruby
ta has joined #ruby
MatthewsFace[SEA has joined #ruby
bootstrappm has joined #ruby
Zai00 has quit [Quit: Zai00]
chinmay_dd has quit [Ping timeout: 240 seconds]
DeBot has joined #ruby
woodruffw has joined #ruby
p8952 has joined #ruby
woodruffw has quit [Remote host closed the connection]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
shadoi has joined #ruby
someguy has quit [Quit: This computer has gone to sleep]
thiagovsk has joined #ruby
jakolehm has joined #ruby
Sawbones_ has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
terlar has quit [Ping timeout: 245 seconds]
scripore has quit [Quit: This computer has gone to sleep]
jakolehm_ has joined #ruby
nobitanobi has quit [Remote host closed the connection]
MatthewsFace[SEA has quit [Ping timeout: 256 seconds]
scripore has joined #ruby
MatthewsFace[SEA has joined #ruby
diegoviola has joined #ruby
diegoviola has quit [Changing host]
diegoviola has joined #ruby
RegulationD has joined #ruby
gazay has quit [Quit: gazay]
jakolehm has quit [Ping timeout: 265 seconds]
baweaver has joined #ruby
djellemah has quit [Ping timeout: 272 seconds]
konsolebox has quit [Remote host closed the connection]
baweaver has quit [Remote host closed the connection]
baweaver has joined #ruby
mistermocha has quit [Read error: Connection reset by peer]
towski_ has joined #ruby
DeBot has quit [Ping timeout: 272 seconds]
jakolehm_ has quit [Remote host closed the connection]
mistermocha has joined #ruby
jhass has quit [Quit: Bye]
edwinvdgraaf has quit [Remote host closed the connection]
crazydiamond has joined #ruby
djellemah has joined #ruby
Lloyd is now known as lloyd
alex88 has quit []
Guest1421 has quit [Ping timeout: 264 seconds]
stef204 has joined #ruby
nobitanobi has joined #ruby
jhass has joined #ruby
yqt has joined #ruby
<pontiki> afaik, cequel is the one to use
<pontiki> we started calling it "cheek-well"
<bricker> yuck
yh has joined #ruby
<bricker> When gem names get too cute
<bricker> See: Cocaine
<bricker> "Haha get it? Because LINES!!!"
<bricker> "Like LINES of cocaine!! Haha!!!"
<pontiki> i never even made that connection before
jakolehm has joined #ruby
<bricker> Yeah because it's dumb
<pontiki> Cequel implements CQL, tho, so it makes as much sense as Sequel does
<bricker> Some 15 year old intern at Thoughtbot probably came up with that name
stef204 has quit [Client Quit]
<bricker> baweaver: hah... I must see the source for hat
<bricker> that
jhass has quit [Ping timeout: 252 seconds]
<bricker> Aww it doesn't actually do anything
allcentury has joined #ruby
<pontiki> not installing that!! there aren't even any specs!!
<baweaver> bricker: The issues make me laugh though
vickleton has joined #ruby
yh has quit [Ping timeout: 255 seconds]
jhass has joined #ruby
<pontiki> best issues ever
ta has quit [Remote host closed the connection]
<baweaver> http://stackoverflow.com/a/245073/2872906 - This still amuses me
<baweaver> no matter how long it's been since I first saw it.
ta has joined #ruby
ta has quit [Remote host closed the connection]
ta has joined #ruby
jakolehm has quit []
<pontiki> except if Java is a toy, it's the most unfun toy ever.
lidenskap has joined #ruby
<eam> basically lawn darts
<pontiki> wait, wut?? lawn darts were awesome fun
<dudedudeman> boccie ball maybe?
lessless has joined #ruby
<dudedudeman> bocce*
<pontiki> that's just an excuse for drinking
<eam> so's java
<pontiki> and being outside with your cronies
longfeet has joined #ruby
<bricker> I think I'm the only person in the world who really enjoys writing Java.
<bricker> Javascript too
<pontiki> amazingly, bocce ball had become quite popular in suburban santa clara valley. bocce ball courts were springing up all over
<eam> bocce ball is fun to play in the office as well
<eam> the balls make a satisfying clunk on carpeted concrete floors
jackjackdripper has joined #ruby
<baweaver> I get my jollies corrupting Java devs into Scala
lidenskap has quit [Ping timeout: 244 seconds]
ndrei has quit [Ping timeout: 245 seconds]
ghr has joined #ruby
jottr has quit [Ping timeout: 256 seconds]
kirun has joined #ruby
ponga has joined #ruby
Igorshp has quit [Remote host closed the connection]
ta has quit [Remote host closed the connection]
<baweaver> Already managed to get most of our Spark teams leaning towards it over here.
lidenskap has joined #ruby
fefo has joined #ruby
cjim_ has joined #ruby
<Eiam> I agree about Cequel & Sequel's names being generally "correct"
Igorshp has joined #ruby
<Eiam> but when you don't write it and I'm talking to my team about the <>equel gem
segfalt has quit [Quit: segfalt]
<Eiam> and we have bot Postgres & Cassandra DBs..
<Eiam> =0
ta has joined #ruby
fefo has left #ruby [#ruby]
ph8 has quit [Changing host]
ph8 has joined #ruby
CloCkWeRX has quit [Ping timeout: 264 seconds]
scripore has quit [Quit: This computer has gone to sleep]
sigurding has quit [Quit: sigurding]
scripore has joined #ruby
ramfjord has joined #ruby
scripore has quit [Client Quit]
cphrmky has quit [Quit: Textual IRC Client: www.textualapp.com]
scripore has joined #ruby
freerobby has quit [Read error: Connection reset by peer]
freerobby has joined #ruby
michaeldeol has quit [Ping timeout: 252 seconds]
segfalt has joined #ruby
Soda has quit [Remote host closed the connection]
ghr has quit [Ping timeout: 240 seconds]
ascarter has joined #ruby
ariedler has joined #ruby
Igorshp has quit [Remote host closed the connection]
ramfjord has quit [Ping timeout: 256 seconds]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ariedler> not sure if bug or not. URI! ... u = URI.parse("http://www.foo.com/test"); u.host = nil; u.to_s (expect "http://test", got "http:/test")
ponga has quit [Quit: Leaving...]
The_Phoenix has quit [Read error: Connection reset by peer]
insidious has quit [Ping timeout: 256 seconds]
gsd has joined #ruby
michael_mbp has quit [Excess Flood]
gusrub has joined #ruby
nettoweb has joined #ruby
<ariedler> thoughts?
quimrstorres has quit [Remote host closed the connection]
Zamerick has joined #ruby
<bricker> ariedler: I don't think you could consider it a bug. You're purposefully generating an invalid URI, so results are going to be unexpected of course
<ariedler> yeah... using it for applinks... which makes things a ... little ugly.
nettoweb has quit [Max SendQ exceeded]
<bricker> ariedler: You want to generate a URI with a path but no host?
yh has joined #ruby
<ariedler> stupid applinks not using standards...
thatslifeson has quit [Remote host closed the connection]
nettoweb has joined #ruby
<bricker> ariedler: you actually want your end result to be "http://test"?
<ariedler> yeah
michael_mbp has joined #ruby
<bricker> ariedler: u.scheme + ":/" + u.request_uri
lkba has joined #ruby
<bricker> (only one slash because request_uri already has a / in front of it)
redondos has joined #ruby
<ariedler> yeah; hmmm just debating whether I should write something around URI class to handle this logic
aspiers has quit [Quit: WeeChat 1.1.1]
jimms has joined #ruby
arup_r has joined #ruby
ghr has joined #ruby
rocknrollmarc has quit [Ping timeout: 264 seconds]
<bricker> ariedler: you might be able to use URI::Generic too
cgrieger is now known as cgrieger^away
<bricker> So it's not relying on the HTTP standard, basically it's just a group of strings that you're assigning yourself
martinbmadsen has joined #ruby
ArchRogem has quit [Remote host closed the connection]
<bricker> You could also subclass URI::Generic yourself
freerobby has quit [Quit: Leaving.]
<ariedler> yeah thats probably the best; thanks a lot bricker!
Guest1421 has joined #ruby
wolflee_________ has quit [Ping timeout: 272 seconds]
tcrypt has joined #ruby
jenrzzz has joined #ruby
djellemah has quit [Ping timeout: 276 seconds]
scripore has quit [Quit: This computer has gone to sleep]
yqt has quit [Ping timeout: 272 seconds]
moretti has joined #ruby
beneggett has quit [Ping timeout: 244 seconds]
slash_nick has quit [Ping timeout: 240 seconds]
CloCkWeRX has joined #ruby
workmad3 has quit [Ping timeout: 255 seconds]
CloCkWeRX has quit [Client Quit]
lavros has quit [Ping timeout: 245 seconds]
lessless has quit [Quit: Textual IRC Client: www.textualapp.com]
cmckee has joined #ruby
lavros has joined #ruby
treehug88 has joined #ruby
scripore has joined #ruby
TheHodge has quit [Quit: Connection closed for inactivity]
joelataylor has joined #ruby
Hijiri has joined #ruby
yfeldblum has joined #ruby
<mwlang> with ruby-prof is there a way I can generate new sections for who’s calling Array#each? This section in my report is basically becoming a dumping grounds with a ton of stuff funnelling into this section.
<mwlang> which is making it harder to figure out who’s truly the culprit.
moretti has quit [Remote host closed the connection]
thatslifeson has joined #ruby
<mwlang> Ah, nevermind, I’ll just stick to the non-graphical HTML reports…having just found a good write up on how to read ‘em on S/O, these actually may be easier to follow.
graydot has joined #ruby
michaeldeol has joined #ruby
thatslifeson has quit [Read error: Connection reset by peer]
graydot has quit [Client Quit]
thatslifeson has joined #ruby
hexus0 has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
<shevy> bugs bugs bugs
yfeldblum has joined #ruby
<arup_r> shevy: bugs to my code?
<eam> bunny
<shevy> arup_r in general
<shevy> everywhere
<hexus0> I have a chef role that runs fine on one VM running ruby v1.9.3p448 but is failing on another vm running v1.9.3p551, is there anything else I should consider besides the ruby versions?
<hexus0> the error is "invalid multibyte character"
robertodecurnex has quit [Remote host closed the connection]
<hexus0> chef versions are the same btw
cmckee has quit [Quit: cmckee]
OtterCoder has joined #ruby
OtterCoder has quit [Client Quit]
jhass has quit [Quit: Bye]
msgodf has quit [Remote host closed the connection]
JoshGlzBrk has joined #ruby
<xxneolithicxx> sounds like a character encoding issue possibly
<hexus0> the thing is, the same thing works fine on one VM but not on another
<hexus0> same exact role/files/etc
<treehug88> are the VMs in different locales?
<hexus0> nope
ndrei has joined #ruby
<xxneolithicxx> is the data you are working with coming from an external source? the input data to the recipes
<treehug88> I'd try to figure out the string that it's complaining about. EMOREDATANEEDED :)
SouL_|_ has joined #ruby
<xxneolithicxx> ^ dump the inspect of it somewhere and figure out where the encoding issue is
treehug88 has quit [Quit: Textual IRC Client: www.textualapp.com]
mengu has joined #ruby
mengu has joined #ruby
last_staff has joined #ruby
<hexus0> yea I'll check that out, what I may do just to easily rule out ruby versions is use RVM to install the same version of ruby/chef as the other VM
<hexus0> and run it
that1guy has joined #ruby
moretti has joined #ruby
browncow has quit [Quit: leaving]
<xxneolithicxx> there was a change in how ruby did encoding but i forget between which versions
jhass has joined #ruby
MatthewsFace[SEA has quit [Remote host closed the connection]
ramfjord has joined #ruby
that1guy has quit [Client Quit]
robbyoconnor has joined #ruby
Dopagod has quit [Ping timeout: 264 seconds]
davedev24_ has quit [Ping timeout: 272 seconds]
that1guy has joined #ruby
pontiki has quit [Ping timeout: 240 seconds]
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_blizzy_ has joined #ruby
selu has quit [Quit: Textual IRC Client: www.textualapp.com]
lolmaus has quit [Quit: Konversation terminated!]
that1guy has quit [Client Quit]
davedev24_ has joined #ruby
that1guy has joined #ruby
MatthewsFace[SEA has joined #ruby
Matachines has joined #ruby
ShortCode has joined #ruby
MatthewsFace[SEA has quit [Read error: Connection reset by peer]
shellfu has quit [Ping timeout: 245 seconds]
Galm has joined #ruby
geekbri has quit [Remote host closed the connection]
MatthewsFace[SEA has joined #ruby
Narzew has quit [Read error: No route to host]
jenrzzz has quit [Ping timeout: 245 seconds]
nricciar_ has joined #ruby
jamo_ has quit [Ping timeout: 255 seconds]
yh has quit [Ping timeout: 265 seconds]
drocsid has joined #ruby
jenrzzz has joined #ruby
jamo_ has joined #ruby
Narzew has joined #ruby
delianid_ has joined #ruby
BlaDe^ has joined #ruby
<BlaDe^> hi all... could someone clarify some code for me? I'm bug hunting
dumdedum has quit [Quit: foo]
<dudedudeman> gist it, yo
* xxneolithicxx anxiously waits for code
<BlaDe^> i apologize it's 3rd party code, but the maintainers are never on IRC and I'm no rubyist heh
<BlaDe^> the first function doesn't return anything, so i'm not sure how null && func() will ever execute func()
<BlaDe^> maybe i'm misreading it, but I can't get my custom hook to fire :)
Matachines has quit [Quit: Textual IRC Client: www.textualapp.com]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 272 seconds]
tomaw has quit [*.net *.split]
jhass has quit [*.net *.split]
arup_r has quit [*.net *.split]
shadoi has quit [*.net *.split]
AlphaAtom has quit [*.net *.split]
mikecmpbll has quit [*.net *.split]
b4tm4n has quit [*.net *.split]
nfk has quit [*.net *.split]
lsmola has quit [*.net *.split]
jefus has quit [*.net *.split]
nux443 has quit [*.net *.split]
Raverix has quit [*.net *.split]
WildBamboo-Josh has quit [*.net *.split]
rikai has quit [*.net *.split]
riceandbeans has quit [*.net *.split]
scottstamp has quit [*.net *.split]
polyrob has quit [*.net *.split]
SuperTaz has quit [*.net *.split]
tenseiten has quit [*.net *.split]
Kharma has quit [*.net *.split]
mrsolow has quit [*.net *.split]
gmas has quit [*.net *.split]
marcellu1 has quit [*.net *.split]
drizz has quit [*.net *.split]
fivetwentysix has quit [*.net *.split]
bennyklo1z has quit [*.net *.split]
scottymeuk has quit [*.net *.split]
parus has quit [*.net *.split]
oddmunds has quit [*.net *.split]
QKO has quit [*.net *.split]
Kovensky has quit [*.net *.split]
scruple has quit [*.net *.split]
_5moufl has quit [*.net *.split]
matu has quit [*.net *.split]
Morrolan has quit [*.net *.split]
cgrieger^away has quit [*.net *.split]
nickjj has quit [*.net *.split]
roger_rabbit has quit [*.net *.split]
SouL_|_ has quit [*.net *.split]
thatslifeson has quit [*.net *.split]
Guest1421 has quit [*.net *.split]
kirun has quit [*.net *.split]
allcentury has quit [*.net *.split]
nobitanobi has quit [*.net *.split]
roolo has quit [*.net *.split]
Xiti has quit [*.net *.split]
delianides has quit [*.net *.split]
dblessing has quit [*.net *.split]
ngr has quit [*.net *.split]
skinny_much has quit [*.net *.split]
go|dfish has quit [*.net *.split]
Apocalypse has quit [*.net *.split]
Zekka has quit [*.net *.split]
phutchins1 has quit [*.net *.split]
Lucky__ has quit [*.net *.split]
ProteusX has quit [*.net *.split]
Luyt_ has quit [*.net *.split]
mistergibson has quit [*.net *.split]
noname has quit [*.net *.split]
rvchangue has quit [*.net *.split]
jerryberry_ has quit [*.net *.split]
pygospa has quit [*.net *.split]
ByronJohnson has quit [*.net *.split]
jonathanwallace has quit [*.net *.split]
tskogber1 has quit [*.net *.split]
z3uS has quit [*.net *.split]
tchebb has quit [*.net *.split]
Skelz0r has quit [*.net *.split]
Nirgali42 has quit [*.net *.split]
stonecolddevin has quit [*.net *.split]
maloik has quit [*.net *.split]
yosafbridge has quit [*.net *.split]
ag4ve_ has quit [*.net *.split]
aewffwea has quit [*.net *.split]
psyprus has quit [*.net *.split]
irk has quit [*.net *.split]
barkerd427 has quit [*.net *.split]
eshy has quit [*.net *.split]
cibs has quit [*.net *.split]
jimms has quit [Remote host closed the connection]
Xiti has joined #ruby
MatthewsFace[SEA has quit [Read error: Connection reset by peer]
yosafbridge has joined #ruby
jackjackdripper has quit [Quit: Leaving.]
MatthewsFace[SEA has joined #ruby
SouL_|_ has joined #ruby
thatslifeson has joined #ruby
Guest1421 has joined #ruby
kirun has joined #ruby
allcentury has joined #ruby
roolo has joined #ruby
nobitanobi has joined #ruby
dblessing has joined #ruby
ngr has joined #ruby
skinny_much has joined #ruby
go|dfish has joined #ruby
eshy has joined #ruby
Apocalypse has joined #ruby
Zekka has joined #ruby
phutchins1 has joined #ruby
Lucky__ has joined #ruby
ag4ve_ has joined #ruby
ProteusX has joined #ruby
aewffwea has joined #ruby
psyprus has joined #ruby
cibs has joined #ruby
Luyt_ has joined #ruby
irk has joined #ruby
mistergibson has joined #ruby
noname has joined #ruby
rvchangue has joined #ruby
jerryberry_ has joined #ruby
maloik has joined #ruby
stonecolddevin has joined #ruby
Nirgali42 has joined #ruby
Skelz0r has joined #ruby
tchebb has joined #ruby
z3uS has joined #ruby
tskogber1 has joined #ruby
jonathanwallace has joined #ruby
ByronJohnson has joined #ruby
pygospa has joined #ruby
tomaw has joined #ruby
barkerd427 has joined #ruby
psyprus has quit [Max SendQ exceeded]
ag4ve_ has quit [Max SendQ exceeded]
arup_r has joined #ruby
jhass has joined #ruby
shadoi has joined #ruby
jefus has joined #ruby
mikecmpbll has joined #ruby
b4tm4n has joined #ruby
lsmola has joined #ruby
Raverix has joined #ruby
nfk has joined #ruby
WildBamboo-Josh has joined #ruby
riceandbeans has joined #ruby
AlphaAtom has joined #ruby
nux443 has joined #ruby
cgrieger has joined #ruby
rikai has joined #ruby
scottstamp has joined #ruby
SuperTaz has joined #ruby
polyrob has joined #ruby
tenseiten has joined #ruby
Kharma has joined #ruby
mrsolow has joined #ruby
marcellu1 has joined #ruby
gmas has joined #ruby
drizz has joined #ruby
fivetwentysix has joined #ruby
bennyklo1z has joined #ruby
scottymeuk has joined #ruby
parus has joined #ruby
oddmunds has joined #ruby
QKO has joined #ruby
Kovensky has joined #ruby
scruple has joined #ruby
_5moufl has joined #ruby
matu has joined #ruby
Morrolan has joined #ruby
nickjj has joined #ruby
roger_rabbit has joined #ruby
psyprus has joined #ruby
ag4ve_ has joined #ruby
robbyoconnor has quit [Ping timeout: 256 seconds]
AlphaAtom has quit [Max SendQ exceeded]
hexus0 has quit [Remote host closed the connection]
AlphaAtom has joined #ruby
AlphaAtom has quit [Max SendQ exceeded]
jenrzzz has joined #ruby
robbyoconnor has joined #ruby
<xxneolithicxx> if you are talking about the boolean in the second link it does return something, it will return true/false from result of update_redis so that determines whether or not the second call to the custom hook happens or not
gigetoo has quit [Ping timeout: 272 seconds]
<xxneolithicxx> in ruby, the last thing computed in the function is returned
Mon_Ouie has quit [Ping timeout: 264 seconds]
AlphaAtom has joined #ruby
<xxneolithicxx> even if there is no explicit return
DynamicMetaFlow has joined #ruby
AlphaAtom has quit [Max SendQ exceeded]
jackjackdripper has joined #ruby
seitensei has joined #ruby
colli5ion has quit []
<xxneolithicxx> so as a debug i would change /dev/null for stderr/stdout to a file under /tmp/ and review whats actually coming out if theres errors
AlphaAtom has joined #ruby
alexherbo2 has joined #ruby
AlphaAtom has quit [Max SendQ exceeded]
<BlaDe^> xxneolithicxx: ah!
tenseiten has quit [Ping timeout: 256 seconds]
gigetoo has joined #ruby
AlphaAtom has joined #ruby
<BlaDe^> xxneolithicxx: i wonder why they would pipe that to /dev/null :x
eichenwald has quit [Quit: Leaving]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<xxneolithicxx> because they dont care about the output and only the return code if its consistent
AlphaAtom has quit [Max SendQ exceeded]
joelataylor has quit [Quit: Be back later ...]
AlphaAtom has joined #ruby
mikeric has joined #ruby
joelataylor has joined #ruby
AlphaAtom has quit [Max SendQ exceeded]
moeabdol1 has joined #ruby
thatslifeson has quit [Remote host closed the connection]
AlphaAtom has joined #ruby
moeabdol has quit [Ping timeout: 276 seconds]
jimms has joined #ruby
AlphaAtom has quit [Max SendQ exceeded]
AlphaAtom has joined #ruby
mrmargol_ has quit [Remote host closed the connection]
drocsid has quit [Remote host closed the connection]
ismaelga has quit [Remote host closed the connection]
woodruffw has joined #ruby
ismaelga has joined #ruby
pwattste has joined #ruby
joelataylor has quit [Ping timeout: 250 seconds]
MasterPiece has quit [Quit: Leaving]
ismaelga has quit [Remote host closed the connection]
geekbri has joined #ruby
MatthewsFace[SEA has quit [Remote host closed the connection]
tomaw has quit [Ping timeout: 600 seconds]
DerisiveLogic has joined #ruby
sepp2k has quit [Quit: Leaving.]
Guest26139 has quit [Ping timeout: 240 seconds]
NinjaOps has quit [Quit: Konversation terminated!]
<mistermocha> I'm amending a script that uses the colored gem (http://www.rubydoc.info/gems/colored/1.2) ... how would I parameterize this?
<mistermocha> I'm trying to change the action so that it won't color if a flag is set in the script
<mistermocha> would be cool if I could do something like this
Mohan has joined #ruby
Mohan is now known as Guest49691
gluten_hell_ has joined #ruby
yh has joined #ruby
yqt has joined #ruby
<mistermocha> def myputs(line, color): if @logging then somelogfile.write(line) else puts line.color end...
DexterLB has quit [Ping timeout: 240 seconds]
<BlaDe^> xxneolithicxx: i'm a bad human and just switched the order of the boolean x && y
<that1guy> https://github.com/Willardgmoore/practice/blob/master/17.rb I can't figure out why only even numbers are missing the word one on numbers above 100. I'm a student. Any help?
<shevy> mistermocha and why should this not work? although in this case, try: line.send color.to_sym
Soda has joined #ruby
tomaw has joined #ruby
failshell has quit []
<shevy> ah you have to combine two
DexterLB has joined #ruby
<shevy> mistermocha, here is one workaround: http://pastie.org/10174420
<shevy> the above works at least; you can probably make it shorter too
sinkensabe has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
failshell has joined #ruby
<mistermocha> shevy: I just didn't know what to
<mistermocha> shevy: vewry new to puppet
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<mistermocha> was wondering if there was a way to render strings as methods
<shevy> well ruby code
sinkensabe has quit [Remote host closed the connection]
<shevy> yeah via .send
<mistermocha> s/puppet/ruby/
<mistermocha> whoops
<shevy> >> class Foo; def foo; puts 'oK'; end; end; foo = Foo.new; foo.send :foo
<ruboto> shevy # => oK ...check link for more (https://eval.in/331388)
<mistermocha> rad, thanks
Synthead has quit [Ping timeout: 244 seconds]
spider-mario has joined #ruby
speakingcode has quit [Ping timeout: 252 seconds]
gluten_hell_ has quit [Read error: Connection reset by peer]
rbennacer has quit [Remote host closed the connection]
thatslifeson has joined #ruby
gluten_hell_ has joined #ruby
gluten_hell_ has quit [Read error: Connection reset by peer]
gluten_hell_ has joined #ruby
slash_nick has joined #ruby
Rickmasta has joined #ruby
joelataylor has joined #ruby
Rickmasta has quit [Max SendQ exceeded]
JDiPierro has quit [Remote host closed the connection]
joelataylor has quit [*.net *.split]
slash_nick has quit [*.net *.split]
SouL_|_ has quit [*.net *.split]
Guest1421 has quit [*.net *.split]
kirun has quit [*.net *.split]
allcentury has quit [*.net *.split]
nobitanobi has quit [*.net *.split]
roolo has quit [*.net *.split]
dblessing has quit [*.net *.split]
ngr has quit [*.net *.split]
skinny_much has quit [*.net *.split]
go|dfish has quit [*.net *.split]
Apocalypse has quit [*.net *.split]
Zekka has quit [*.net *.split]
phutchins1 has quit [*.net *.split]
Lucky__ has quit [*.net *.split]
ProteusX has quit [*.net *.split]
Luyt_ has quit [*.net *.split]
mistergibson has quit [*.net *.split]
noname has quit [*.net *.split]
rvchangue has quit [*.net *.split]
jerryberry_ has quit [*.net *.split]
pygospa has quit [*.net *.split]
ByronJohnson has quit [*.net *.split]
jonathanwallace has quit [*.net *.split]
tskogber1 has quit [*.net *.split]
z3uS has quit [*.net *.split]
tchebb has quit [*.net *.split]
Skelz0r has quit [*.net *.split]
Nirgali42 has quit [*.net *.split]
stonecolddevin has quit [*.net *.split]
maloik has quit [*.net *.split]
eshy has quit [*.net *.split]
cibs has quit [*.net *.split]
Rickmasta has joined #ruby
joelataylor has joined #ruby
slash_nick has joined #ruby
SouL_|_ has joined #ruby
Guest1421 has joined #ruby
kirun has joined #ruby
allcentury has joined #ruby
nobitanobi has joined #ruby
roolo has joined #ruby
dblessing has joined #ruby
ngr has joined #ruby
skinny_much has joined #ruby
go|dfish has joined #ruby
eshy has joined #ruby
Apocalypse has joined #ruby
Zekka has joined #ruby
phutchins1 has joined #ruby
Lucky__ has joined #ruby
ProteusX has joined #ruby
cibs has joined #ruby
Luyt_ has joined #ruby
mistergibson has joined #ruby
noname has joined #ruby
rvchangue has joined #ruby
jerryberry_ has joined #ruby
maloik has joined #ruby
stonecolddevin has joined #ruby
Nirgali42 has joined #ruby
Skelz0r has joined #ruby
pygospa has joined #ruby
z3uS has joined #ruby
ByronJohnson has joined #ruby
tchebb has joined #ruby
jonathanwallace has joined #ruby
tskogber1 has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
davedev24_ has quit [Ping timeout: 255 seconds]
rbennacer has joined #ruby
lavros has quit [Quit: leaving]
shellfu has joined #ruby
davedev24_ has joined #ruby
baweaver has quit [Read error: Connection reset by peer]
baweaver has joined #ruby
arturhoo has quit [Ping timeout: 246 seconds]
postmodern has joined #ruby
JDiPierro has joined #ruby
speakingcode has joined #ruby
mengu__ has joined #ruby
Mia has joined #ruby
mistermocha has quit [Read error: Connection reset by peer]
baweaver has quit [Ping timeout: 265 seconds]
arturhoo has joined #ruby
mistermocha has joined #ruby
Peetooshock is now known as utochka
Synthead has joined #ruby
moretti has quit [Remote host closed the connection]
mengu has quit [Ping timeout: 276 seconds]
insidious has joined #ruby
swgillespie has joined #ruby
sevvie has joined #ruby
emptyflask has joined #ruby
kadoppe has quit [Ping timeout: 255 seconds]
m8 has joined #ruby
diegoaguilar has quit [Read error: Connection reset by peer]
giuseppesolinas has quit [Quit: Leaving]
sinkensabe has joined #ruby
IrishGringo has quit [Ping timeout: 265 seconds]
Kricir has quit [Remote host closed the connection]
kadoppe has joined #ruby
allcentury has quit [Ping timeout: 240 seconds]
<arup_r> how to seek to the end of a line.. when suppose file pointer is anywhere in the middle of the line
<arup_r> ?
<adaedra> gets
Jackneill has quit [Ping timeout: 276 seconds]
<adaedra> will read to the end of the line (including line separator), so it will move to the end of the line the file pointer
swgillespie has quit [Ping timeout: 272 seconds]
<arup_r> ok
that1guy has quit [Ping timeout: 246 seconds]
<eam> strictly speaking, gets then seek()
<arup_r> I have some problem
<eam> depends if you mean "actually seek" or "feels like seek inside rubyio layer"
RegulationD has quit [Ping timeout: 265 seconds]
<adaedra> arup_r: which is?
Jackneill has joined #ruby
nym has joined #ruby
Soda has quit [Remote host closed the connection]
<arup_r> this should give `biz` but is giving "\n" --> https://gist.github.com/aruprakshit/c386321135c62af27eb4#file-repl-rb-L10
blackmesa has joined #ruby
sevvie has quit [Ping timeout: 245 seconds]
<arup_r> what wrong am I doing ?
rhllor has quit [Quit: rhllor]
<eam> arup_r: your puts is at the end of the file
JoshGlzBrk has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
<eam> and leaves you at the end of the file
<eam> there's only one file pointer, it's shared between reading and writing
<arup_r> so how to fix it ?
sohrab has quit [Ping timeout: 264 seconds]
<eam> depends, what behavior do you want?
<arup_r> I want inplace file modification...
Jackneill has quit [Client Quit]
<eam> well, you have that
<mwlang> for performance improvements, if before processing time was 78.97 seconds and after optimization was 45.99 seconds, how much was performanced improved? 78.97 / 45.99 => 1.72 (is that 72% improved?) whereas 45.99 / 78.97 => 0.58 (is that 42% improved?) Yeah, it’s a math/interpretation question more-so than ruby….
RegulationD has joined #ruby
<arup_r> eam: I am trying to do it since last 1 hour or so.. not getting the expected output
rodfersou has joined #ruby
mikeric has quit []
frem has joined #ruby
JoshGlzBrk has quit [Client Quit]
<eam> mwlang: depends on your phrasing, you could say execution time is reduced by 58%
huddy has quit [Quit: Connection closed for inactivity]
<eam> because 78.97 * 0.58 => 45
jph98 has joined #ruby
<eam> or sorry, reduced by 42%
<mwlang> eam: so that means that if I know the real thing in production takes ~6 hours I can multiply 6 hrs by 0.58 and say approximate time will likely be about 3.5 hours?
<eam> assuming the performance ratios hold, sure
Guest1421 has quit [Ping timeout: 240 seconds]
mikeric has joined #ruby
delianid_ has quit [Remote host closed the connection]
Hijiri has quit [Quit: WeeChat 1.0.1]
<arup_r> any idea how to proceed ?
<eam> arup_r: you'll have to describe what exactly you're doing and seeing for me to help
<mwlang> eam…just to be clear…overall times reduced by roughly 42%, but actual approximate estimates for next runs, I multiple past run times by 58%?
<eam> arup_r: in general, if you're doing anything complicated you'll need to avoid all the non-sys family of io functions
mikeric has quit [Read error: Connection reset by peer]
delianides has joined #ruby
<mwlang> eam: I’m just basically not sure what the best way of phrasing an improvement is.
<eam> mwlang: sure, 42 + 58 = 100, so you can * 0.58 to find how much time is left (and * 0.42 is how much time you optimized away)
moeabdol2 has joined #ruby
pwattste has quit [Quit: Textual IRC Client: www.textualapp.com]
jackjackdripper has quit [Quit: Leaving.]
<eam> * 1.0 is the original runtime
Guest1421 has joined #ruby
EagleDelta has quit [Read error: Connection reset by peer]
JoshGlzBrk has joined #ruby
<arup_r> without taking any second file help
<eam> arup_r: I already answered this question
<eam> 12:40 < eam> arup_r: your puts is at the end of the file
moeabdol1 has quit [Ping timeout: 276 seconds]
<mwlang> eam: that’s a good way of looking at it (from the perspective of adding to 1.0)
DeBot has joined #ruby
rdar has quit [Ping timeout: 276 seconds]
lidenskap has quit [Remote host closed the connection]
<arup_r> I understood.. Then how to solve it...? what is the other way ?
<eam> arup_r: have you looked in the file?
geekbri has quit []
<eam> do you really just want to re-read the data you just wrote? why?
uri_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dfinninger has quit [Remote host closed the connection]
<eam> I can't solve your problem without knowing what you're really trying to do
mdw has joined #ruby
<arup_r> I want to read each line and strip the string and replace the line with the stripped out string.. clear ?
workmad3 has joined #ruby
<adaedra> in-place?
<eam> arup_r: well you can't do that
<eam> the line lengths will change
<adaedra> yeah, write into another file then replace it
DeBot has quit [Ping timeout: 272 seconds]
<adaedra> you can't "replace" something in a file by something smaller, you'd have to move the entire "tail" of the file
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<arup_r> eam: https://www.ruby-forum.com/topic/111481#257926 i WAS trying to use this trick... but failing..
enebo has quit [Quit: enebo]
arturhoo_ has joined #ruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
arturhoo has quit [Ping timeout: 255 seconds]
arturhoo_ is now known as arturhoo
Matachines has joined #ruby
workmad3 has quit [Ping timeout: 264 seconds]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<eam> you know, you totally could do this in place if you really wanted to
<adaedra> it's possible
<adaedra> the easiest is still to dump into another file and replace, but will take more space
<eam> only because it's a strict reduction operation
<eam> either store the offsets between reading/writing, or open the file twice
baweaver has joined #ruby
<eam> arup_r: here's a hint: use the #pos method to see where you are in the file
dfinninger has joined #ruby
Soda has joined #ruby
MatthewsFace[SEA has joined #ruby
<eam> you'll need to start thinking in terms of byte offsets
baweaver has quit [Remote host closed the connection]
dfinninger has quit [Remote host closed the connection]
baweaver has joined #ruby
baweaver has quit [Read error: Connection reset by peer]
baweaver has joined #ruby
<Eiam> hmm. If I want a class whose instance variables come from json, but I don't want to actually hand define them all in advance..
<yxhuvud> then I would advise not doing that, or ask an actual question.
jimms has quit [Remote host closed the connection]
MatthewsFace[SEA has quit [Ping timeout: 240 seconds]
Rickmasta has joined #ruby
jimms has joined #ruby
<eam> Eiam: instance_variable_set
<Eiam> https://gist.github.com/anonymous/5d5448b660799c4df1dd I don't want to define every attribute that might come in (like I'd be doing there)
<Eiam> but I want the class to have all the attributes as one of the json hashes
<Eiam> eam: looking, thanks
Guest1421 has quit [Ping timeout: 264 seconds]
<eam> JSON.parse('{"@foo": "bar"}').each_pair { |k,v| instance_variable_set k, v }
moretti has joined #ruby
<eam> you're setting yourself up for a serious security vulnerability btw
jenrzzz has joined #ruby
jph98 has quit [Quit: jph98]
<Eiam> eam: data comes from myself
<eam> sure, just warning :)
<Eiam> undertsood, appreciate it
<Eiam> so only shortcoming looks like I'll have to force the @ in front of it
chimche has quit [Quit: Leaving.]
<baweaver> a security concern will still be valid in that case, best to avoid them altogether.
<Eiam> (which is simple enough)
chimche has joined #ruby
<baweaver> Look into Virtus, takes care of making it static enough to be inert
jackjackdripper has joined #ruby
<Eiam> if I'm going to define the attributes
<Eiam> I might as well just define them anyway and pull them in from the json
<Eiam> and it ends up being a giant @name = name
<Eiam> x 100
<bricker> baweaver: looks like it does most of what ActiveModel does too
<baweaver> Indeed
<bricker> `include Virtus.model` that's something I've never seen before, it's weird-looking
<xxneolithicxx> guys, remember... if you are in a hostage situation *always* ask to order pizza online and call in the cavalry
<xxneolithicxx> LPT
Oka has joined #ruby
<baweaver> But I'm lazy, so: https://github.com/baweaver/valor
<baweaver> Take a hash and make it define its own dang Virtus models
<baweaver> Though man, some of the code I wrote a year ago...
bluOxigen has quit [Ping timeout: 265 seconds]
<arup_r> now I am getting strange thing https://gist.github.com/aruprakshit/c386321135c62af27eb4
cgrieger is now known as cgrieger^away
diegoaguilar has joined #ruby
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
duggiefresh has quit []
<Eiam> well, that was easy enough. eam thank you
<Eiam> others; appreciated
hs367 has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
doertedev has quit [Ping timeout: 272 seconds]
mdw has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
segfalt has quit [Quit: segfalt]
sinkensabe has quit [Remote host closed the connection]
MatthewsFace[SEA has joined #ruby
codecop has quit [Remote host closed the connection]
segfalt has joined #ruby
momomomomo has quit [Quit: momomomomo]
CodyReichert has joined #ruby
DerisiveLogic has quit [Remote host closed the connection]
hs366 has quit [Ping timeout: 252 seconds]
dfinninger has joined #ruby
sinkensabe has joined #ruby
DynamicMetaFlow has quit [Quit: Leaving]
DynamicMetaFlow has joined #ruby
Zai00 has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
x1337807x has joined #ruby
jordanm has quit [Remote host closed the connection]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dfinninger has quit [Ping timeout: 264 seconds]
emptyflask has quit [Remote host closed the connection]
jordanm has joined #ruby
sumark has quit [Remote host closed the connection]
JoshGlzBrk has joined #ruby
Criten has joined #ruby
<gambl0re> how long does it take to normally run the "new rails project" command?
sumark has joined #ruby
<Criten> If i inclue a model in a class is there any way i can read a class variable from the model?
<Criten> errr... from the module
<Criten> gambl0re: like... a minute?
<Criten> and there is output pretty consistantly through it
<gambl0re> mine is not moving...
<gambl0re> last line is run bundle install
<adaedra> can take some time
<adaedra> thanks bundler :x
<gambl0re> still not moving...
<gambl0re> can i abort and do it again?
<adaedra> if you want, but don't rerun rails new command
<adaedra> cd into the newly created directory and run `bundle install`
<havenwood> gambl0re: On my machine seems the whole time is bundler: rails new throw_away 4.63s user 1.53s system 55% cpu 11.096 total
<gambl0re> whats this...
<gambl0re> Could not read gem at /home/ricky/.rvm/gems/ruby-2.2.2/cache/byebug-4.0.5.gem. It may be corrupted.
<gambl0re> An error occurred while installing byebug (4.0.5), and Bundler cannot continue.
<gambl0re> Make sure that `gem install byebug -v '4.0.5'` succeeds before bundling.
<gambl0re> run bundle exec spring binstub --all
<gambl0re> bundler: command not found: spring
<gambl0re> Install missing gem executables with `bundle install`
<adaedra> ah
<adaedra> try running bundle install from the project directory then
Hijiri has joined #ruby
revoohc has quit [Quit: revoohc]
<gambl0re> once im done building my app i'll sell it to you guys for $99.99
slash_nick has quit [Ping timeout: 240 seconds]
<adaedra> too bad, I already bought "I am rich"
<gambl0re> what is this??
<gambl0re> Bundler::GemspecError: Could not read gem at /home/ricky/.rvm/gems/ruby-2.2.2/cache/byebug-4.0.5.gem. It may be corrupted.
<gambl0re> An error occurred while installing byebug (4.0.5), and Bundler cannot continue.
<gambl0re> Make sure that `gem install byebug -v '4.0.5'` succeeds before bundling.
<havenwood> gambl0re: gem install byebug -v '4.0.5'
<gambl0re> i ran it from my project folder
<adaedra> you can also try to remove the file given in the trace
nux443 has quit [Quit: leaving]
<gambl0re> the tutorial that im doing doesnt say anything about installing byebug
<adaedra> it's a dependency
dfinninger has joined #ruby
<adaedra> it was dowloaded by bundle install, but apparently, something went wrong during the download
jenrzzz has joined #ruby
<gambl0re> Error installing byebug:
<gambl0re> invalid gem: package is corrupt, exception while verifying: undefined method `size' for nil:NilClass (NoMethodError) in /home/ricky/.rvm/gems/ruby-2.2.2/cache/byebug-4.0.5.gem
arup_r has quit [Quit: ChatZilla 0.9.91.1 [Firefox 37.0.1/2015040300]]
<shevy> this reminds me why I don't use rvm nor bundler
<gambl0re> thats why i never use linux...
<shevy> linux is fine
<shevy> just don't use crappy software
<gambl0re> installing something simple can be a pain..
<shevy> yes because the distributions are total idiots
<gambl0re> use windows..
<shevy> because windows is better how exactly?
anskeit has quit [Quit: Page closed]
segfalt has quit [Quit: segfalt]
<eam> shevy: well for example there's no packaging system to cause trouble
<shevy> appdirs
jenrzzz has quit [Ping timeout: 256 seconds]
<eam> this is why I don't use an operating system at all
<eam> no features, no problems
lidenskap has joined #ruby
emptyflask has joined #ruby
<shevy> gambl0re I compile from the sources, through ruby scripts. "ecompile ruby.yml" would compile the latest ruby in my case, into prefix /usr in this example. "appconf ruby.yml" would install in an appdir approach; the main thing I have to change for this to work is an URL, which is pointing to the latest such as ftp://ftp.ruby-lang.org/pub/ruby/2.2/ruby-2.2.2.tar.xz
<mwlang> how hard is it to control thread counts in Ruby? For example, if I want to turn a currently single-threaded process into a multi-threaded one, can I keep the thread count down to say, 10 threads and wait for one to finish before firing off the next?
greenbagels has joined #ruby
<mwlang> basically, I’m correlating threads to database connections…so I don’t want more than, say 10 threads concurrently at once.
<GaryOak_> so basically a thread pool
<mwlang> GaryOak_: yup.
workmad3 has joined #ruby
<GaryOak_> mwlang: what ruby gem are you using for db access?
<mwlang> GaryOak_: Sequel
_blizzy_ has quit [Ping timeout: 265 seconds]
ghr has quit [Ping timeout: 264 seconds]
<mwlang> GaryOak_: hmmm…maybe I just set up 10 DB connections and then launch my threads willy-nilly and let Sequel’s thread pool govern?
<GaryOak_> yeah that's what I'm thinking
<infinitone> Sup
edwinvdgraaf has joined #ruby
<mwlang> GaryOak_: might as well try the simple approach first….I’ve got plenty of specs backing the processes, so it should surface any real problems.
<GaryOak_> yeah
last_staff has quit [Read error: Connection reset by peer]
babykosh has joined #ruby
slash_nick has joined #ruby
Rickmasta has joined #ruby
<mwlang> well, that didn’t take long… #<Sequel::PoolTimeout: Sequel::PoolTimeout>
<GaryOak_> hahaha
<mwlang> and it looks like that got caught by: Sequel::SerializationFailure: TinyTds::Error: Transaction (Process ID 55) was deadlocked on lock resources with another process and has been chosen as the deadlock victim. Rerun the transaction.
<mwlang> back to the drawing board…
dfinninger has quit [Remote host closed the connection]
Matachines has quit [Quit: Textual IRC Client: www.textualapp.com]
Rickmasta has quit [Client Quit]
<GaryOak_> were you handing out connections through ThreadedConnectionPool.available_connections?
DynamicMetaFlow has quit [Remote host closed the connection]
MasterPiece has joined #ruby
Galm has quit [Read error: Connection reset by peer]
chriscarpenter12 has quit []
<mwlang> GaryOak_: ThreadedConnectionPool is the default, so I’m guessing “yes”
dfinninger has joined #ruby
JDiPierro has quit [Remote host closed the connection]
bmurt has quit []
sohrab has joined #ruby
gluten_hell_ has quit [Quit: Computer has gone to sleep.]
turtil has joined #ruby
Ellis has joined #ruby
baweaver has quit [Read error: Connection reset by peer]
<Ellis> i can’t seem to understand business logic. can someone explain it to me?
baweaver has joined #ruby
infinitone has quit []
infinitone has joined #ruby
<gambl0re> problem fixed...
<shevy> \o/
<shevy> I had faith in you
jordanm has quit [Quit: Konversation terminated!]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<mwlang> GaryOak_: confirmed I’m already using threaded connection pool. I’m digging into how Sequel does it’s own hold and syncronizing to control access to the connections.
jordanm has joined #ruby
<mwlang> I hope I don’t have to get into mutexes and the likes. :-o
shazaum has quit [Quit: Leaving]
MasterPiece has quit [Quit: Leaving]
yqt has quit [Ping timeout: 240 seconds]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sinkensabe has quit [Remote host closed the connection]
utochka is now known as Peetooshock
<al2o3-cr> in a regexp A-f includes ABCDEFabcdef?
barkerd427 is now known as zz_barkerd427
sinkensabe has joined #ruby
CamonZ has quit [Quit: Textual IRC Client: www.textualapp.com]
baweaver has quit [Remote host closed the connection]
<apeiros> al2o3-cr: A-f will probably expand according to their codepoint
<apeiros> >> "Z" =~ /[A-f]/
<ruboto> apeiros # => 0 (https://eval.in/331685)
<apeiros> yupp, seems like
jordanm has quit [Remote host closed the connection]
delianides has quit [Remote host closed the connection]
ldnunes has quit [Quit: Leaving]
<mwlang> yeah….I gotta implement my own thread pool. This oughta be fun. :-/
<apeiros> so A-f is like \x41-\x66 - all characters between that will be included
<apeiros> mwlang: why not use an existing thread pool? chances that you fuck up are incredibly high - even if you're an excellent programmer
<al2o3-cr> apeiros: ah ok i see thanks
<al2o3-cr> >> "AB09af".scan /([A-f]{2})/
<ruboto> al2o3-cr # => [["AB"], ["af"]] (https://eval.in/331687)
<mwlang> apeiros: show me the docs.
naftilos76 has quit [Remote host closed the connection]
<apeiros> if you want ABCDEFabcdef, you need [A-Fa-f] or [A-F] with //i flag
<apeiros> mwlang: "the docs"?
<al2o3-cr> the latter seems better?
ismaelga has joined #ruby
<mwlang> apeiros: if there’s an existing thread pool, I don’t know about it. I’m trying to keep my thread count to same number of database connections I have.
<al2o3-cr> apeiros: one more question
<mwlang> apeiros: I’m using the Sequel gem, which does provide threaded connection pool…but when my thread count exceeds the number of connection of that pool, I get deadlocked
<mwlang> so, the fix is to have my own thread pool to match max size of the connection pool provided by sequel.
yqt has joined #ruby
<al2o3-cr> "thisIsCamelCase".split /(?=[A-Z])/ # can you explain this please apeiros?
_havenn has joined #ruby
agarie has quit []
<apeiros> mwlang: though I'm reasonably certain that jeremy evans would document how to deal with having more threads than connections in a pool…
<apeiros> al2o3-cr: with what part specifically do you have troubles?
edwinvdgraaf has quit [Remote host closed the connection]
robbyoconnor has quit [Ping timeout: 265 seconds]
<al2o3-cr> apeiros: ?=
edwinvdgraaf has joined #ruby
<apeiros> al2o3-cr: ok, (?= … ) is called a look-ahead
<al2o3-cr> ok
<apeiros> it must match, but it won't consume the matched data
<mwlang> apeiros: My initial tests are using the sequel threaded connection exactly as he designed them to be used. It’s actually the database that’s not playing nice.
<mwlang> apeiros: oh! Let me turn off the big “transaction do” block I have around the main processing…it’s gotta be deadlocking because one thread attempts to use a connection that another thread started the transaction block on.
<apeiros> mwlang: did you ask in #sequel?
slash_nick has quit [Ping timeout: 276 seconds]
havenwood has quit [Ping timeout: 244 seconds]
but3k4 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<al2o3-cr> apeiros: is that why the capitals are still there?
<mwlang> apeiros: not yet. It’s not a sequel problem, yet.
<apeiros> al2o3-cr: yes
<al2o3-cr> I gotcha
<apeiros> >> "foo"[/f(?=oo)/]
<ruboto> apeiros # => "f" (https://eval.in/331723)
<apeiros> >> "faa"[/f(?=oo)/]
<ruboto> apeiros # => nil (https://eval.in/331724)
<al2o3-cr> i got it i freaking got it ;p
<al2o3-cr> woohoo regex is not my strong point
<al2o3-cr> apeiros: [^a] mean match anything but a?
Rollabunna has quit [Remote host closed the connection]
<apeiros> al2o3-cr: yes
<al2o3-cr> ok thanks apeiros
<apeiros> yw
Rollabunna has joined #ruby
<apeiros> mwlang: but they'll have the knowledge how sequel was designed to deal with such problems.
Soda has quit [Remote host closed the connection]
jottr has joined #ruby
<shevy> is there a ruby changelog that gets updated continually?
<shevy> I'd love to follow tracks from nobu
<shevy> *track
ascarter has joined #ruby
ascarter_ has joined #ruby
<apeiros> shevy: yes. in the source. CHANGELOG and NEWS.
<shevy> aha
<al2o3-cr> apeiros: does regex count from 0?
<shevy> aaaaha :)
<mwlang> hmmm…at the end of the program, how do I ensure all threads finish? I tried this: Thread.list.reject{|r| r = Thread.current}.each {|thr| thr.join }
<shevy> == Changes since the 2.2.0 release
<mwlang> but wasn’t sure that’s the right way.
<shevy> "Array#select!, Array#keep_if, Array#reject!, and Array#delete_if no longer changes the receiver array instantly every time the block is called."
Junaos has quit [Quit: ZNC - http://znc.in]
<apeiros> al2o3-cr: regex doesn't count. what are you referring to?
arturhoo has quit [Quit: arturhoo]
<al2o3-cr> apeiros: one sec i'll show an example
<apeiros> mwlang: Array#delete is probably faster for that.
CloCkWeRX has joined #ruby
Junaos has joined #ruby
<apeiros> mwlang: alternatively keep track of your threads yourself and each(&:join) them
<Narzew> is quick way to kill thread created with Thread.new { } clause ?
<apeiros> Narzew: what?
<Narzew> For example I have limit max number of threads to 30, but I want to create new threads when old threads complete the task
<al2o3-cr> apeiros: /((?:[0-9a-f]{2}[:]){5}[0-9a-f]{2})/i # to match a mac address xx:xx:xx:xx:xx:xx has 6 but in the regex it's 5
<apeiros> al2o3-cr: should replace that [0-9a-f] with \h :-p
<apeiros> it has 6 segments. take a closer look.
<al2o3-cr> oh let me check
<apeiros> (?:[0-9a-f]{2}[:]){5} # <-- 5 segments
<al2o3-cr> yes
<apeiros> [0-9a-f]{2} # <-- 6th segment
IrishGringo has joined #ruby
<apeiros> and it's done this way because there's only 5 ":"
jackjackdripper has quit [Quit: Leaving.]
<apeiros> and it's obviously written by somebody who has little regex experience
<apeiros> could write it as just: /(?:\h\h:){5}\h\h/
Zai00 has quit [Quit: Zai00]
<shevy> awww
<shevy> matz
<shevy> he isn't quite on the changelog much
<shevy> Mon Dec 29 19:38:01 2014 Yukihiro Matsumoto <matz@ruby-lang.org>
<shevy> * version.h (RUBY_VERSION): 2.3.0 development has started.
<shevy> :(
<al2o3-cr> oh I see a good explaination is all it takes thanks apeiros much apprecaited ;)
doodlehaus has quit [Remote host closed the connection]
<al2o3-cr> *appreciated
<apeiros> yw
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
SHyx0rmZ has quit [Remote host closed the connection]
SHyx0rmZ has joined #ruby
rbennacer has quit [Remote host closed the connection]
<al2o3-cr> so \h #=> [a-fA-F\d]
<al2o3-cr> or
<al2o3-cr> so \h #=> [a-fA-F\d{2}]
<apeiros> the first one is correct
<al2o3-cr> ok
<apeiros> [] are character classes, {2} doesn't work like that inside
<GaryOak_> shevy: his baby has gone off to college, and he just has to check in once in a while
<al2o3-cr> only outside
<apeiros> [a-fA-F\d{2}] is just [a-fA-F\d{}]
<shevy> GaryOak_ but... it's no longer the same now :(
<apeiros> (because 2 is already included in \d)
<al2o3-cr> got it
<apeiros> and the {} there are literally curly braces
<al2o3-cr> right gonna go look at the regex docs and become a regex ninja ;p
axl_ has left #ruby [#ruby]
jenrzzz has joined #ruby
<GaryOak_> shevy: and DHH is like Ruby's angry friend
<apeiros> al2o3-cr: ri Regexp has a lot of info. and there's a ton on the web.
ismaelga has quit [Remote host closed the connection]
<al2o3-cr> ok thanks i got a lot of reading to do ;)
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
<al2o3-cr> again thanks apeiros you've been very informative
aspiers has joined #ruby
<shevy> GaryOak_ DHH is a php dude for me :D
duderonomy has quit [Ping timeout: 272 seconds]
werelivinginthef has quit [Remote host closed the connection]
<shevy> GaryOak_ it just doesn't feel like ruby in 2005 now :(
sinkensabe has quit [Remote host closed the connection]
decoponio has quit [Quit: Leaving...]
<GaryOak_> It matured and Rails happened
ismaelga has joined #ruby
<shevy> GaryOak_ - without googling, from which movie is this epic quote: "Let me tell you of the days of high adventure!"
<Eiam> Rubular
<Eiam> is awesome. =P
<Eiam> I use it for all my regex development needs
ascarter has joined #ruby
<shevy> yeah rubular is great
<al2o3-cr> Eiam: been using that a bit too ;)
<al2o3-cr> it is great
pdoherty has quit [Quit: Leaving]
<GaryOak_> and if you are doing python pythex is it's equivalent
<apeiros> debuggex.com is nice too
Igorshp has joined #ruby
<apeiros> visualizes how the match happens
<al2o3-cr> ah not tried that one
Papierkorb_ has joined #ruby
* al2o3-cr heads over to debuggex.com
<Eiam> rubular is prettier =(
Papierkorb has quit [Disconnected by services]
<apeiros> sadly still not having the ruby engine. but pcre is close.
Papierkorb_ is now known as Papierkorb
* Eiam is superficial
<al2o3-cr> is regex more or less the same in all languages?
<apeiros> al2o3-cr: far from it
<apeiros> pcre has established a quasi-standard which many regex engines resemble
<al2o3-cr> so there a wide a difference then
<apeiros> but that's about it
<al2o3-cr> okay dokay ;p
insidious has quit [Quit: Textual IRC Client: www.textualapp.com]
_djbkd has quit [Remote host closed the connection]
baweaver has joined #ruby
Igorshp has quit [Ping timeout: 250 seconds]
x1337807x has joined #ruby
baweaver has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 244 seconds]
baweaver has joined #ruby
hs367 has quit [Quit: Leaving]
<rdark> anyone any good with crypto?
<GaryOak_> nope
<rdark> specifically symmetric block ciphers (AES-256-CBC)
FernandoBasso has joined #ruby
lotyrin has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
<rdark> ..and would be prepared to give a statement on whether padding the first block of data, in combination with a random IV, which is then stripped after decryption (without access to the IV) is a stronger or weaker than a static IV?
mary5030_ has quit [Remote host closed the connection]
that1guy has joined #ruby
<apeiros> rdark: maybe there's a dedicated crypto channel here? or openssl?
ascarter_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
freerobby has joined #ruby
<lotyrin> rdark: static IV? like, reuse of the IV for multiple streams?
<rdark> openssl is dead :)
<rdark> yeah - just a static string
<rdark> (the channel that is)
<lotyrin> IV is a nonce, should always be different, sent along with cryptotext (usually as the first block) and used on decrypt side
davedev2_ has joined #ruby
<rdark> lotyrin: yep, in an ideal world it should be - this is just for encryption/decryption of some files
babykosh_ has joined #ruby
davedev24_ has quit [Ping timeout: 265 seconds]
<lotyrin> rdark: why are you assembling crypto primitives yourself, does e.g. GPG not cover your use case?
cjim_ has quit [Quit: (null)]
nobitanobi has quit [Remote host closed the connection]
babykosh has quit [Ping timeout: 264 seconds]
greenbagels has quit [Read error: Connection reset by peer]
<rdark> lotyrin: I'm not :) just using standard OpenSSL bindings for simple symmetric-key crypto
DerisiveLogic has joined #ruby
babykosh has joined #ruby
<rdark> avoided GPG (I know it can do symmetric) for this as I want minimum amount of dependencies as it needs to be cross-platform (windows yuck)
nobitanobi has joined #ruby
babykosh_ has quit [Ping timeout: 256 seconds]
<_havenn> rdark: Well, if you want a crypto amateur's take on AES256 CBC, here's mine :P https://github.com/havenwood/encrypt/blob/master/lib/encrypt.rb
qwertme has joined #ruby
crazydiamond has quit [Read error: Connection reset by peer]
<lotyrin> rdark: if you're setting up an IV, and picking your block cipher mode etc, you are making decisions about how to assembling those primitives yourself, and almost certainly not in a way that is safe
_blizzy_ has joined #ruby
a346 has quit [Read error: Connection reset by peer]
* Papierkorb hands out some www.cryptofails.com
greenbagels has joined #ruby
tubulife- has joined #ruby
<dudedudeman> ha. this is a great site
edwinvdgraaf has quit [Remote host closed the connection]
<rdark> _havenn: thanks, that's pretty similar to what I'm using, with the exception of doing HMAC
m8 has quit [Quit: Sto andando via]
edwinvdgraaf has joined #ruby
mengu__ has quit [Remote host closed the connection]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
`backtick` is now known as maoi
Pupeno_ has joined #ruby
_havenn is now known as havenwood
platzhirsch has joined #ruby
devyn has quit [Ping timeout: 250 seconds]
devyn has joined #ruby
Drakevr has quit [Ping timeout: 250 seconds]
Pupeno has quit [Read error: Connection reset by peer]
tessi_zz has quit [Ping timeout: 256 seconds]
tessi_zz has joined #ruby
epochwolf has quit [Excess Flood]
yfeldblu_ has joined #ruby
epochwolf has joined #ruby
epochwolf has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
Drakevr has joined #ruby
yfeldblum has quit [Ping timeout: 256 seconds]
swgillespie has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
spider-mario has joined #ruby
pontiki has joined #ruby
malcolmva has quit [Ping timeout: 252 seconds]
lidenskap has quit [Remote host closed the connection]
zzing has joined #ruby
djbkd has joined #ruby
lotyrin has left #ruby [#ruby]
gluten_hell_ has joined #ruby
lotyrin has joined #ruby
davedev24_ has joined #ruby
davedev2_ has quit [Read error: Connection reset by peer]
<lotyrin> What would be the best way to share test code between gems, say I have a gem A and a gem B which extends A, and which has a great deal of utility in reusing spec helpers defined in A (but which are unavailable to it)
pontiki has quit [Ping timeout: 264 seconds]
<lotyrin> I can't employ the hacky-workaround of asking for the path to gem A and then requiring spec paths relative to there, because A has done the correct thing and does not have its test code laying around in a released copy
gluten_hell_ has quit [Ping timeout: 240 seconds]
SouL_|_ has quit [Ping timeout: 240 seconds]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> why wouldn't you include the test code in the gem?
Sawbones_ has joined #ruby
<apeiros> not in the lib dir of course
DEA7TH has quit [Ping timeout: 272 seconds]
lidenskap has joined #ruby
<apeiros> but have the tests otherwise available doesn't seem to be a bad idea… in some languages it's even common to run tests after the installation and automatically report results, so testbase is wide.
DEA7TH_ has joined #ruby
Sawbones_ has quit [Client Quit]
gigetoo has quit [Ping timeout: 255 seconds]
diegoviola has quit [Remote host closed the connection]
railsForDaiz has joined #ruby
but3k4 has joined #ruby
that1guy has quit [Ping timeout: 255 seconds]
<lotyrin> Not exactly sure on that, but it seems like a common pattern to exclude tests/coverage output/etc etc
<mwlang> regarding threads and ruby…is there any point to having more threads than cpu cores to handle them? On a 4 core machine, I’m already pegging one core to 100% in single threaded mode. I would guess that starting 4 threads would peg the 4 cores at 100% and 5th+ thread may actually start to be detrimental.
gigetoo has joined #ruby
edwinvdgraaf has quit [Remote host closed the connection]
malcolmva has joined #ruby
casadei_ has quit [Remote host closed the connection]
scripore has joined #ruby
TheNet has joined #ruby
ascarter_ has joined #ruby
<aewffwea> mwlang: it depends on whether your threads become blocked or not, and the patterns
<al2o3-cr> apeiros: regarding (?:\h\h:) this means match this but don't keep the capture right?
<lotyrin> mwlang: I'd need some more specifics, are these threads in a batch process, or are they handling concurrent net connections, are they entirely CPU-bound or do they ever wait (e.g. for I/O)
diegoaguilar has quit [Ping timeout: 272 seconds]
<mwlang> lotyrin: They are processing data, inserting and updating against a DBMS.
but3k4 has quit [Ping timeout: 244 seconds]
ndrei has quit [Ping timeout: 240 seconds]
Ellis has quit [Quit: Ellis]
Peetooshock has quit [Remote host closed the connection]
Ellis has joined #ruby
casadei_ has joined #ruby
Ellis has quit [Client Quit]
<al2o3-cr> man, regex is like a mini langauge by itself ;p
<lotyrin> Depending on if they're waiting on the DBMS, and if they're waiting for the same resource in the DBMS or not, then you might see higher throughput with > CPU threads number of threads. I'd experiment
<aewffwea> al2o3-cr: yes
Narzew has quit [Remote host closed the connection]
<mwlang> I’m running stress tests on 4 threads vs 8 and 12 just to see if there’s any real difference…there’s a noticible difference from 1 to 2 then to 3…haven’t tried 4 then 5, etc. yet.
<aewffwea> al2o3-cr: regexp are really easy, assuming you have the proper training
TheNet has quit [Client Quit]
moretti has quit [Quit: Leaving...]
<aewffwea> mwlang: is your ruby using OS threads?
jph98 has joined #ruby
that1guy has joined #ruby
<al2o3-cr> aewffwea: ok thanks :)
neonalpine has quit []
<mwlang> aewffwea: I’m actually not sure…its Ruby 2.2 on mac right now…will be Ruby 2.2 on Linux
scripore has quit [Client Quit]
<mwlang> I know the whole threading game changed from 1.8.6 to 1.9 and on to 2.x, but this is my first time playing with threads in Ruby for a production deployment since the 1.8 days.
scripore has joined #ruby
scripore has quit [Client Quit]
MatthewsFace[SEA has quit [Remote host closed the connection]
railsForDaiz has quit [Ping timeout: 250 seconds]
alvaro_o has joined #ruby
kirun has quit [Quit: Client exiting]
CloCkWeRX has quit [Quit: Leaving.]
<mwlang> heh…12 threads deliver in 41 seconds each while 4 threads deliver in 31 seconds each.
diegoaguilar has joined #ruby
Cork has quit [Ping timeout: 250 seconds]
Cork has joined #ruby
Cork has quit [Changing host]
Cork has joined #ruby
<baweaver> greenthreading MRI won't yield incredible differences.
<mwlang> baweaver: what would?
<baweaver> JRuby / Crystal would be your best bet for parallel ruby. If you're willing to switch languages, Elixir and Scala
<mwlang> ah, jruby.
<baweaver> green threads are implemented in the process, so they get blocked all the same as the ruby program.
<mwlang> maybe it’s time to revisit that option.
<baweaver> Though if you really really need parallel code, look into Elixir and Scala
MatthewsFace[SEA has joined #ruby
<rdark> or erlang
<baweaver> The more mutation present in your code the more of a nightmare
<mwlang> baweaver: so four threads in a single ruby app is still all running within the confines of a single core?
<baweaver> Elixir is Erlang
<baweaver> bingo
<rdark> baweaver: yes it is :)
shellfu is now known as shellfu_afk
<rdark> it is late
<baweaver> Just looks more like Ruby
<mwlang> sounds like a job for ….. delayed jobs
<baweaver> If you want subsequent nightmares, sure
<mwlang> hmmm…hadn’t looked at Elixir yet.
thatslifeson has quit [Remote host closed the connection]
<rdark> elixir is a lot prettier than erlang, thats for sure
<mwlang> baweaver: heh. actually, I use sidekiq and redis these days.
<baweaver> Deploying it is the fun part ;)
that1guy has quit [Ping timeout: 250 seconds]
IrishGringo has quit [Ping timeout: 265 seconds]
zotherstupidguy has joined #ruby
<gambl0re> Rails.application.routes.draw do
<gambl0re> resources :articles
<gambl0re> end
babykosh has quit [Quit: babykosh]
<gambl0re> am i supposed to use my project name instead of 'Rails'?
jimms has quit [Remote host closed the connection]
jobewan has quit [Quit: Leaving]
jackjackdripper has joined #ruby
gigetoo has quit [Ping timeout: 256 seconds]
quazimod1 has quit [Ping timeout: 264 seconds]
thatslifeson has joined #ruby
cjim_ has joined #ruby
railsForDaiz has joined #ruby
<mwlang> baweaver: ain’t dat the truth
cjim_ has quit [Client Quit]
<baweaver> gambl0re: rails -v ?
lotyrin has quit [Ping timeout: 246 seconds]
<gambl0re> 4.x
<gambl0re> under the section "setting up the router" he says to delete everything except the first line.
<gambl0re> the only thing is, my first line is different then his.
qwertme has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<gambl0re> mine shows Rails.application.routes.draw do instead of his Blogger::Application.routes.draw do
scripore has joined #ruby
bootstrappm has quit [Remote host closed the connection]
RegulationD has quit [Remote host closed the connection]
pontiki has joined #ruby
paulcsmith has quit [Quit: Be back later ...]
bootstrappm has joined #ruby
RegulationD has joined #ruby
iasoon has quit [Ping timeout: 246 seconds]
casadei_ has quit [Remote host closed the connection]
railsForDaiz has quit [Ping timeout: 272 seconds]
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<apeiros> !kick gambl0re when you cross-post, at least tell so in every channel where you cross post.
gambl0re was kicked from #ruby by ruboto [when you cross-post, at least tell so in every channel where you cross post.]
Pupeno_ has quit [Quit: Leaving...]
scripore has quit [Client Quit]
DerisiveLogic has quit [Ping timeout: 245 seconds]
gigetoo has joined #ruby
<pontiki> hello again
<apeiros> o/ pontiki
gambl0re has joined #ruby
scripore has joined #ruby
Ellis has joined #ruby
RegulationD has quit [Ping timeout: 276 seconds]
blaines has joined #ruby
wallerdev has joined #ruby
scripore has quit [Client Quit]
scripore has joined #ruby
dfinninger has quit [Remote host closed the connection]
emptyflask has quit [Remote host closed the connection]
dvlwrk has joined #ruby
snath has quit [Ping timeout: 250 seconds]
luksaur has quit [Read error: Connection timed out]
ariedler has quit []
DerisiveLogic has joined #ruby
DerisiveLogic has quit [Remote host closed the connection]
DerisiveLogic has joined #ruby
gregf has quit [Quit: WeeChat 1.1.1]
luksaur has joined #ruby
[narcan] has joined #ruby
scripore has quit [Client Quit]
scripore has joined #ruby
maletor has joined #ruby
gregf has joined #ruby
DeBot has joined #ruby
paulcsmith has joined #ruby
roolo has quit [Remote host closed the connection]
mary5030 has joined #ruby
scripore has quit [Client Quit]
ismaelga has quit [Remote host closed the connection]
thatslifeson has quit [Remote host closed the connection]
wallerdev has quit [Ping timeout: 240 seconds]
wallerdev_ has joined #ruby
ndrei has joined #ruby
icebourg has quit []
jottr has quit [Ping timeout: 272 seconds]
snath has joined #ruby
jgrevich has joined #ruby
mary5030 has quit [Ping timeout: 256 seconds]
<mwlang> I am working on a small XML parsing tutorial. Does anyone know of some reasonably interesting public domain data sources in XML format. Albums, Artists, Songs, for example. State, County, Cities, etc.
scripore has joined #ruby
iasoon has joined #ruby
poguez_ has quit [Quit: Connection closed for inactivity]
DeBot has quit [Ping timeout: 276 seconds]
<rdark> mwlang: archive.org should have some interesting datasets available
gambl0re has quit [Ping timeout: 264 seconds]
<rdark> aws hosts some as well, but afaiaa they're all going to be csv or json
<havenwood> mwlang: wolfram alpha api
<havenwood> mwlang: does require a free key
scripore has quit [Client Quit]
spider-mario has quit [Read error: Connection reset by peer]
<mwlang> havenwood: as long as barrier to entry is easy for whoever wants to do the tutorial
<baweaver> Hamlet :D
<baweaver> Nokogiri for parsing.
paulcsmith has quit [Quit: Be back later ...]
endash has quit [Quit: endash]
freerobby has quit [Quit: Leaving.]
spider-mario has joined #ruby
Papierkorb_ has joined #ruby
Papierkorb has quit [Disconnected by services]
Papierkorb_ is now known as Papierkorb
<mwlang> havenwood: that’s a wicked cool website.
scripore has joined #ruby
arescorpio has joined #ruby
<mwlang> rdark: thanks for the link. It looks cool. still poking around to see what’s what.
<rdark> archive.org: The entire history of the web, plus a bunch of grateful dead recordings
thiagovsk has quit [Quit: Connection closed for inactivity]
guest1241234 has joined #ruby
Rickmasta has joined #ruby
bricker has quit [Quit: Lost terminal]
mjuszczak has joined #ruby
CloCkWeRX has joined #ruby
bricker has joined #ruby
zachrab has joined #ruby
zachrab has quit [Client Quit]
badhatter has joined #ruby
badhatter has joined #ruby
marr has quit [Ping timeout: 250 seconds]
scripore has quit [Quit: This computer has gone to sleep]
that1guy has joined #ruby
lidenskap has quit [Remote host closed the connection]
x1337807x has joined #ruby
lidenskap has joined #ruby
kyrylo has quit [Ping timeout: 272 seconds]
<pontiki> every rss / atom feed ever
blackmesa has quit [Quit: WeeChat 1.1.1]
roolo has joined #ruby
yqt has quit [Quit: KVIrc 4.0.4 Insomnia http://www.kvirc.net/]
<zenspider> rdark: and old games now too!
<pontiki> the pathe film archive, too, don't they?
thatslifeson has joined #ruby
workmad3 has joined #ruby
pontiki has quit [Quit: leaving]
baweaver has quit [Read error: Connection reset by peer]
<xxneolithicxx> and games
toertore has quit [Quit: This computer has gone to sleep]
<xxneolithicxx> oh zenspider said that, dont mind me lol
<xxneolithicxx> they make interesting use of in browser emulators
nfk has quit [Remote host closed the connection]
spider-mario has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 256 seconds]
Deele has quit [Ping timeout: 256 seconds]
Guest68446 has quit [Ping timeout: 272 seconds]
charliesome has joined #ruby
rdark has quit [Quit: leaving]
bootstrappm has left #ruby [#ruby]
fgo has joined #ruby
bootstrappm has joined #ruby
babykosh has joined #ruby
paulcsmith has joined #ruby
yfeldblu_ has quit [Ping timeout: 256 seconds]
wallerdev_ has quit [Quit: wallerdev_]
rahsd has joined #ruby
<rahsd> hello
attlasbot has joined #ruby
<rahsd> i am trying to compile from the source and it is successful
<attlasbot> Can someone please explain rspec testing to me, I'm not understanding it I'd very much appreciate it
[narcan] has quit [Quit: -[AppDelegate installMalware]: unrecognized selector sent to instance 0x156109c0]
<rahsd> after issuing make "I get skip installing bundle gems because of lacking zlib" what is the problem?
RegulationD has joined #ruby
poguez_ has joined #ruby
bruno- has joined #ruby
umgrosscol has quit [Quit: Quit]
RegulationD has quit [Ping timeout: 244 seconds]
<xxneolithicxx> are you on linux
TheNet has joined #ruby
quazimodo has joined #ruby
<rahsd> xxneolithicxx: slitaz 32bit. yes
charliesome has quit [Quit: zzz]
thatslifeson has quit [Remote host closed the connection]
michaeldeol has quit [Ping timeout: 255 seconds]