apeiros changed the topic of #ruby to: Ruby 2.1.1; 2.0.0-p451; 1.9.3-p545: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
<shevy> Net::Dns::Rbl::Netcheck.new('127.0.0.1') returns something to me though
montyboy has joined #ruby
<shevy> #<Net::Dns::Rbl::Netcheck:0xb92c81c0 @reverseip="1.0.0.127", @lists=["bl.spamcop.net", etc...
DallasG has joined #ruby
<DouweM> a - in a gem name usually means :: for the class, _ in the gem name means a new CamelCased word
<DouweM> there's a logic to it
bradhe has quit [Remote host closed the connection]
<shevy> you can make up any logic too :D
<DouweM> it's not made up, I've concluded this from seeing a lot of gems :P
bradhe has joined #ruby
<DouweM> your gem would be called human_being-shevy for HumanBeing::Shevy :P
<crome> are you a jeweller?!
<centrx> Louse Humans
<DouweM> Assuming you are one, of course
<shevy> DouweM but when you see it from a lot of gems, it still does not mean there is any logic to it, I mean look at flies and what they eat, would you also eat what flies eat :P
<DouweM> haha
<shevy> now if I ever find someone
<DouweM> you don't have to like it, but there is a consensus/common practice to it
<shevy> who names the gem
<shevy> foo_bar-ble
<DouweM> yeah that's hella ugly
<DouweM> I wouldn't go with that either
<DouweM> I've seen it though
<shevy> in a lot of gems?
<DouweM> It kind of helps with bundler's "main file" resolution
<crome> but why would a gem name imply what modules are there in it?
<DouweM> it does actually use the gem name to resolve the file name to require, and it works like I said with - and _ for :: and CamelCase
<DouweM> crome: as I said, bundler automatically requiring. At least with Rails
<DouweM> Which is a fairly large part of the Ruby universe
bradhe has quit [Read error: Connection reset by peer]
bradhe has joined #ruby
klaut has quit [Remote host closed the connection]
<crome> so if I write a gem that can fetch kitten pictures and name it ballsack
platzhirsch has left #ruby [#ruby]
rahult_ is now known as rahult
<crome> and I have some weird modules in it
<DouweM> bundler will try to require lib/ballsack.rb, yeah
gogiel has joined #ruby
<DouweM> which would include a Ballsack class, supposedly
<crome> although the convention for having a module with the same name kind of stands
<crome> I get that bit
<crome> but sub-namespaces?
andy__ has joined #ruby
<shevy> now why would you name that ballsack
<DouweM> yup. quick example: carrierwave-backgrounder with lib/carrierwave/backgrounder.rb
<shevy> kittensack would be more appropriate
gogiel has quit [Client Quit]
Vovko has joined #ruby
jaywastaken has quit [Quit: This computer has gone to sleep]
<DouweM> that's a bad example though
sailias has quit [Ping timeout: 265 seconds]
<DouweM> because it's actually called carrierwave_backgrounder :P
<shevy> hehehe
<shevy> DouweM, I like you
<DouweM> they explicitly have a carrierwave_backgrounder.rb to require carrierwave/backgrounder.rb: https://github.com/lardawge/carrierwave_backgrounder/tree/master/lib
<crome> DouweM: okay, I see your point
<DouweM> but if they had used a -, I'm pretty sure it would have worked
<DouweM> I may have made that up though, who knows
<DouweM> shevy: :)
jaywastaken has joined #ruby
jaywastaken has joined #ruby
jaywastaken has quit [Changing host]
<shevy> now that is weird
<shevy> to have foo_bar.rb require the foo/bar.rb file
<shevy> why do they do that?
<shevy> what madness has driven them
<shevy> what drugs did they take as teenagers
<DouweM> Hmmmm
<riceandbeans> shevy: what did you do differently to get it to work?
<shevy> so many questions...
<DouweM> Looks like I made all of this up, and whatever/stuff.rb isn't actually required for a gem named whatever-stuff
ezrios has joined #ruby
<DouweM> whatever-stuff.rb probably is though, but I cannot be sure about anything I say anymore
<DouweM> Ignore anything I've said tonight
chris_thomson has quit [Quit: Zzz...]
<DouweM> I'm getting some sleep
<crome> even the things you asked?
<shevy> riceandbeans I am not sure it works? but the syntax you showed on the pastie definitely does not work. I did (a) require 'net-dns-rbl' and (b) Net::Dns::Rbl::Netcheck.new('127.0.0.1')
<shevy> hmmm
<shevy> there was this statistical stuff for ruby
<shevy> that gathered a lot of data
<crome> rand?
<shevy> like "do people use () or not", and show in %
gogiel has joined #ruby
<shevy> nono
<shevy> a page about ruby habits
<shevy> I need to find it again :(
<crome> oh
<crome> interesting
<crome> show me
speakingcode has joined #ruby
<shevy> hehe next time I will store the URL in a local file so I wont forget again
chris_thomson has joined #ruby
pel_daniel has left #ruby [#ruby]
<crome> at some point I started thinking about parentheses as well
<freeone3000> "Bookmarks". We call them "bookmarks".
blackmesa has quit [Read error: Operation timed out]
tylersmith has quit [Remote host closed the connection]
<shevy> I hate bookmarks
<crome> like, I wouldnt ever use them for puts, but I would for rand, just to stick with a few very standard calls
juarlex_ has quit [Remote host closed the connection]
<shevy> ok crome but
<shevy> more generally
<shevy> do you always do this:
Vovko has quit [Ping timeout: 246 seconds]
<shevy> def foo arg1,arg2,arg3,*args
<crome> yeah, I get it
<crome> no, I dont
<shevy> do you do:
<shevy> cat.meow()
<riceandbeans> shevy: I got it
<crome> no, I dont
<riceandbeans> shevy: you can't have camelcase variables like he used in the readme
<riceandbeans> if you do all lowercase it works fine
<crome> I only do super() where I have to and it botheres me even there
<shevy> riceandbeans ah
<shevy> riceandbeans I did not even read the example carefully :D
<riceandbeans> shevy: so yeah
<shevy> yeah crome that one stumps me up too
<shevy> super vs super()
rudisimo has quit []
<riceandbeans> I revert back to statement, if your readme is broken, so is your gem
<shevy> the ruby parser can be a cnofusing beast, especially if you don't know how it behaves yet
<riceandbeans> bad docs == bad code
<shevy> *confusing
<crome> its one of those weird quirks of the language
<shevy> riceandbeans kinda
<shevy> at least a README or EXAMPLE file should work
shinobi_one has quit [Quit: shinobi_one]
<riceandbeans> shevy: if you intend on anyone else using your code it is
<shevy> hehe
<shevy> you come from perl land?
rainmanjam has quit [Remote host closed the connection]
<crome> riceandbeans: but ruby code is so beautiful its self documenting!
<shevy> I never got into releasing anything I wrote in perl
<shevy> I sucked in perl
<shevy> I actually found perl rather hard :\
<shevy> php I was more productive in
<shevy> crome it can be beautiful
<shevy> but it can also be rather ugly
toastynerd has quit [Remote host closed the connection]
Stalkr_ has quit [Quit: Leaving...]
<crome> the funny thing about perl is that it can make perfect sense if you use it without all those weird shorthands syntactic sugar
<crome> +and
njection has joined #ruby
codeFiend has joined #ruby
rainmanjam has joined #ruby
philcris_ has joined #ruby
Vivekananda has joined #ruby
wallerdev has joined #ruby
gogiel has quit [Quit: leaving]
jaywastaken has quit [Quit: This computer has gone to sleep]
whomp has quit [Ping timeout: 268 seconds]
nanoyak has quit [Quit: Computer has gone to sleep.]
<hfp> am I doomed as a developer if I hate algorithms? I just took a codility "easy" practice test and, well, https://codility.com/demo/results/demo32H7FD-825/
<wallerdev> hello friends
<centrx> hfp, Why do you "hate" algorithms?
<wallerdev> literally every program is an algorithm
<wallerdev> what do you like to do in programming that isnt an algorithm
philcrissman has quit [Ping timeout: 252 seconds]
<shevy> really?
<shevy> I never really managed to find the real beauty of perl :(
timonv has joined #ruby
<hfp> I don't know, I meant this kind of questions like the one on that codility practice test. i.e. write a solution to an abstract hypothetical mathematics problem
<wallerdev> if you dont like math thats fine
<wallerdev> i hate math
patrick99e99 has joined #ruby
<wallerdev> but you will probably have to do some simple math if you ever interview haha
Ziarkaen has quit [Remote host closed the connection]
postmodern has joined #ruby
<hfp> simple math is ok but I don't enjoy trying to solve problems like that codility one. Do you know what I mean?
<DallasG> isn't that question incorrect anyhow
<DallasG> it says 0 < P < N
Es0teric has quit [Quit: Computer has gone to sleep.]
<DallasG> therefore, P can't be N
<DallasG> ah, nvm, N is the count, not the end index
<shevy> hfp I hate algorithms as well but it's kinda the thing one has to go through eventually
<wallerdev> :p
<shevy> hfp because I hate math, I try to write things down in a logical way, and colourize it, and keep it as short as possible (so I dont have to burden my poor brain with this math crap too much)
<wallerdev> this is pretty much like what youll be asked in an interview, so youll need to learn it at some point haha
alexju has joined #ruby
<shevy> I hate interviewers
shlant has quit [Quit: Leaving.]
<wallerdev> everyone does
<shevy> wallerdev
<shevy> you sound like an interviewer
<centrx> Do you think it is safe to install bundler 1.6.0.rc2
<wallerdev> ill be an interviewer soon
<wallerdev> never had to interview people at my last job, but this job i will have to
<wallerdev> ill ask them this question :p
rezzack has quit [Quit: Leaving.]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jollyy has quit [Quit: jollyy]
timonv has quit [Ping timeout: 240 seconds]
Speed has quit [Ping timeout: 246 seconds]
lolmaus has quit [Ping timeout: 246 seconds]
<wallerdev> i actually need to think of some good interview questions
<wallerdev> anyone got some
<shevy> not me
<shevy> but ask us one example question please
<crome> if you interview someone for a bank to implement algorithms for statistical analysis, ask about maths
<crome> if you need a web developer, dont
<wallerdev> i can ask you stuff ive heard in interviews if you want haha
<hfp> so what, virtually any software dev job interview will have this kind of questions?
<wallerdev> yeah most will have a question like that
<wallerdev> maybe not as mathy, but could be worse
patrick99e99 has quit [Ping timeout: 268 seconds]
mansi has joined #ruby
sambao21 has joined #ruby
tkuchiki has quit [Ping timeout: 246 seconds]
<hfp> If I take my time, I can solve easier abstract math problems but the codility ones they do my head in
philcrissman_ has quit [Remote host closed the connection]
<shevy> hehe
<wallerdev> ive been asked stuff like reverse all the words in a string, remove all duplicates from an array, to more abstract stuff like design how a facebook timeline could be represented, or what is a good data structure for representing an excel spreadsheet
cndiv has quit [Ping timeout: 264 seconds]
<wallerdev> and some mathy stuff like generate a list of suitably random numbers that contains at least n of x number
nari has joined #ruby
<shevy> well all these seem fairly ok
heftig has quit [Quit: Quitting]
<crome> hfp: its an interesting problem, btw
<shevy> go ask us a math question
<crome> (on your link)
heftig has joined #ruby
<wallerdev> asked about BFS, DFS, build a connect 4 game
<wallerdev> idk, interviews are all over the place lol
nanoyak has joined #ruby
chipotle has quit [Quit: cya]
smathieu has quit [Remote host closed the connection]
chipotle has joined #ruby
smathieu has joined #ruby
chipotle has quit [Client Quit]
chris_thomson has quit [Quit: Zzz...]
SHyx0rmZ has quit [Quit: ネウロイを負かさなきゃならないね]
sambao21 has quit [Client Quit]
<wallerdev> anyway if you want a job in tech you should come to SF, so you can hang out with me
<hfp> crome: I'd be curious to see how you solve it?
b00stfr3ak has quit [Ping timeout: 268 seconds]
<crome> hfp: so would I
<shevy> hehehe
<shevy> that's how it is done
<shevy> push the problem away to someone else, who has to solve it
<crome> I used to do similar challenges long ago
<crome> osix.net and stuff
jollyy has joined #ruby
<crome> very good brain exercise
<riceandbeans> what's the preferred way of sending email in ruby?
<wallerdev> smtp
Vivekananda has quit [Ping timeout: 265 seconds]
<Nowaker> hfp: if employers ask such questions, or ask you to do the c,odilitty, they are not worth anything
<riceandbeans> is it in core? is there a specific gem?
<wallerdev> thish question isnt that bad for an interview question
mikemar10 has joined #ruby
subbyyy_ has quit [Ping timeout: 252 seconds]
<wallerdev> like you can go through it, take the first number, then sum all the rest, then move one over, add that number to the first variable, subtract it from the other and check if that difference is bigger than your last one
<wallerdev> right?
mehlah has quit [Quit: Leaving...]
mercwithamouth has joined #ruby
smathieu has quit [Ping timeout: 252 seconds]
<shevy> riceandbeans but I think there are a few gems for email
<wallerdev> the problem is ruby is awful for solving most programming problems
rainmanjam has quit [Remote host closed the connection]
<freeone3000> wallerdev: Your description makes me think that there *has* to be a better solution involving the integral of what you just did.
<riceandbeans> shevy: std for 2.0
<riceandbeans> I'm looking at old redhat systems
<wallerdev> always know a language that has regular for loops for interviews
<riceandbeans> probably running 1.8.5
<shevy> hehe
oneawayman has quit [Ping timeout: 264 seconds]
<shevy> I think there are some older docs too
baroquebobcat has quit [Ping timeout: 246 seconds]
<freeone3000> wallerdev: Actually, optimizaiton problem. You want to find where the curves intersect.
<riceandbeans> wallerdev: I'll give you questions if you ask me them when I interview
<riceandbeans> I hate driving to SF though
<riceandbeans> traffic+parking is stupid in SF
<wallerdev> well youll have to interview where i work
<riceandbeans> 1.8.7
<wallerdev> i dont own a car so parking is a nonissue here
jkamenik has quit [Quit: Leaving.]
* RaptorJesus exposes himself to Radar and slaps him in the face like the little bitch he is.
<shevy> what's so bad about parking
<riceandbeans> shevy: with any luck that well work for 1.8.5 too
<shevy> you just need to have the bigger car
<shevy> then you gently push the other car away
ghr has joined #ruby
<wallerdev> not a lot of spaces here, and everything is parallel parking on 45 degree hills lol
<shevy> ahhh ok
<shevy> hills sounds bad
arubin has joined #ruby
freeone3000 has quit [Quit: Konversation terminated!]
<crome> hfp: damn you, you got me into it
<shevy> *sound
jollyy has quit [Ping timeout: 268 seconds]
lw has joined #ruby
<riceandbeans> shevy: are you near SF?
SonicX has quit [Ping timeout: 240 seconds]
<shevy> riceandbeans nope, far far far away
codabrink has quit [Quit: Textual IRC Client: www.textualapp.com]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mikepack has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
oso96_2000 has quit [Ping timeout: 240 seconds]
jottr has quit [Read error: Operation timed out]
rainmanjam has joined #ruby
papercode has quit [Quit: WeeChat 0.4.4-dev]
Es0teric has joined #ruby
oso96_2000 has joined #ruby
mikepack_ has quit [Read error: Operation timed out]
senayar_ has joined #ruby
yasushi has quit [Remote host closed the connection]
<hfp> wallerdev: I'll hang out with you in SF, sure, but don't ask me those absurdly abstract math questions :)
<wallerdev> :D
<wallerdev> where you at hfp
geggam has quit [Remote host closed the connection]
<hfp> Montreal. I could use SF's year-round summer
benzrf|offline is now known as benzrf
<benzrf> hej da
<wallerdev> oh cool
<wallerdev> yeah i moved from michigan
<wallerdev> weather is much nicer here
rahult is now known as rahult_
rahult_ is now known as rahult
mikepack has quit [Ping timeout: 265 seconds]
<wallerdev> southern california has more summery weather though
<wallerdev> like san diego area
<f0ster> hfp except it never actually gets hot
f0ster has quit [Remote host closed the connection]
<wallerdev> SF is kinda not too hot not too cold
dkamioka_ has quit [Remote host closed the connection]
predator217 has joined #ruby
senayar has quit [Ping timeout: 268 seconds]
The_NetZ has joined #ruby
<The_NetZ> hallo o/
<benzrf> hello The_NetZ
<The_NetZ> benzrf: how do you do?
<benzrf> quite well thank u
<The_NetZ> lets see.. how to phrase this question. ok, current ruby excludes '.' from the loadpath(?); how to add this back in in an executable with embedded ruby?
<benzrf> $: << '.'
smathieu has joined #ruby
skammer_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<wallerdev> or $LOAD_PATH R)
<The_NetZ> benzrf: yes, this is the way one would do it in say irb or a script, but I'm writing in c/c++
<The_NetZ> R) ?
<wallerdev> sorry
<wallerdev> its a pirate face on twitch
<wallerdev> lol
<The_NetZ> ah
predator117 has quit [Ping timeout: 252 seconds]
<benzrf> shouldnt that be P)
<The_NetZ> I was thinking it was some strange ruby thing I never ran into :P
<wallerdev> no idea
zz_jrhorn424 is now known as jrhorn424
lolmaus has joined #ruby
incade_ has joined #ruby
ephemerian has left #ruby [#ruby]
markisonfire has quit [Quit: markisonfire]
<The_NetZ> blarg.
speakingcode has quit [Ping timeout: 268 seconds]
saarinen has quit [Quit: saarinen]
speakingcode has joined #ruby
Photism2 has joined #ruby
x77686d has quit [Quit: x77686d]
badhatter_ has joined #ruby
Photism_ has quit [Read error: Connection reset by peer]
DallasG has quit [Read error: Operation timed out]
jzig has quit [Remote host closed the connection]
maletor has quit [Quit: Computer has gone to sleep.]
whomp has joined #ruby
senayar_ has quit [Remote host closed the connection]
<benzrf> yo who wants to try out my 5% done half-baked experimental project thingy
afex has quit [Ping timeout: 252 seconds]
agrinb has joined #ruby
george2 has quit [Remote host closed the connection]
<wallerdev> ill try it
<wallerdev> as long as its legal
<wallerdev> and runs on a mac
redlines has quit [Ping timeout: 265 seconds]
badhatter has quit [Ping timeout: 265 seconds]
jrhorn424 is now known as zz_jrhorn424
<benzrf> =o
redlines has joined #ruby
<benzrf> wallerdev: you will need to acquire FUSE first
<benzrf> libfuse-dev tbp
<wallerdev> hm
<wallerdev> not sure i trust something that needs access to a filesystem
<wallerdev> lol
andy___ has joined #ruby
DallasG has joined #ruby
andy___ is now known as Guest72450
QuintinAdam has quit [Ping timeout: 268 seconds]
zz_jrhorn424 is now known as jrhorn424
andy__ has quit [Read error: Connection reset by peer]
whomp has quit [Ping timeout: 252 seconds]
<The_NetZ> ditto XD
jorts has joined #ruby
lukec has quit [Quit: lukec]
agrinb has quit [Ping timeout: 265 seconds]
jrhorn424 is now known as zz_jrhorn424
x77686d has joined #ruby
<benzrf> wallerdev: trust meeee
_Andres has quit [Ping timeout: 240 seconds]
<The_NetZ> yes, trust some randome dude online :P
<wallerdev> maybe if i had a vm on hand :p
jorts has left #ruby [#ruby]
fgo has joined #ruby
jorts has joined #ruby
<wallerdev> i just foundout git checkout - works just like cd -
<wallerdev> how cool is that
<wallerdev> lol
tkuchiki has joined #ruby
evenix has quit [Remote host closed the connection]
nari has quit [Ping timeout: 240 seconds]
<benzrf> sweet.
freerobby has quit [Quit: Leaving.]
<The_NetZ> wallerdev: so git checkout something will do git clone something && cd something ?
lethjakman has quit [Ping timeout: 268 seconds]
razrunelord has quit []
<wallerdev> no i meant git checkout - will take you to the last branch you checked out
<benzrf> wallerdev: last commit, rather
<wallerdev> so if youre on master and do git checkout cool_branch
Voodoofish430 has quit [Quit: Leaving.]
<benzrf> you check out commits, not branches
<The_NetZ> ah, interesting.
mansi has quit [Remote host closed the connection]
<benzrf> and you can checkout refs that point to commits
weems has joined #ruby
weems has joined #ruby
<wallerdev> you can do git checkout - to switch back to master, then git checkout - to switch back to the branch
Spami has quit [Quit: This computer has gone to sleep]
sambao21 has joined #ruby
<wallerdev> you know what i mean benzrf haha
pu22l3r has joined #ruby
mansi has joined #ruby
<wallerdev> git checkout branchname switches you to a branch
shlant has joined #ruby
shlant has left #ruby [#ruby]
robustus has quit [Ping timeout: 255 seconds]
jorts has left #ruby [#ruby]
snath has quit [Ping timeout: 246 seconds]
freerobby has joined #ruby
montyboy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
robustus has joined #ruby
gilest has quit [Remote host closed the connection]
afex has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
Spami has joined #ruby
george2 has joined #ruby
cover_ has joined #ruby
mary5030 has joined #ruby
juarlex has joined #ruby
mansi has quit [Ping timeout: 265 seconds]
cover has quit [Ping timeout: 268 seconds]
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
jeregrine has quit [Quit: Connection closed for inactivity]
vpretzel has joined #ruby
jason___ has joined #ruby
mansi has joined #ruby
mansi has quit [Client Quit]
jason___ has quit [Remote host closed the connection]
teddyp1cker has joined #ruby
jason___ has joined #ruby
<The_NetZ> what was the last version of ruby to include '.' in the loadpath by default?
patrick99e99 has joined #ruby
SidWu_ has joined #ruby
SidWu_ has quit [Max SendQ exceeded]
<benzrf> 1.8 i thinkws
<The_NetZ> benzrf: hrm, can't find a 1.8 tarball...
amclain has joined #ruby
kbarry_ has joined #ruby
Jetchisel has left #ruby ["Unfortunately time is always against us -- *Morpheus*"]
<The_NetZ> there we go, just edited some links :P
jason___ has quit [Ping timeout: 264 seconds]
teddyp1cker has quit [Ping timeout: 264 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
Kruppe has quit [Quit: ZNC - http://znc.in]
jason___ has joined #ruby
kbarry has quit [Ping timeout: 252 seconds]
codeFiend has quit [Quit: codeFiend]
patrick99e99 has quit [Ping timeout: 264 seconds]
evenix has joined #ruby
Kruppe has joined #ruby
sambao21 has joined #ruby
jason___ has quit [Remote host closed the connection]
lyanchih__ has joined #ruby
jason___ has joined #ruby
kbarry_ has quit [Ping timeout: 246 seconds]
_Andres has joined #ruby
dx7 has joined #ruby
nari has joined #ruby
jason___ has quit [Ping timeout: 264 seconds]
<benzrf> DouweM: still up to try my thingy
<benzrf> :y
aspires has joined #ruby
<benzrf> 08:43 < crome> [20:14:13] +and
<benzrf> oops
<The_NetZ> benzrf: what's your thingie do?
<benzrf> its a SecretAgent
<benzrf> *secret
<benzrf> currently have one of several sections of its functionality about 3/4 done
<The_NetZ> as in, like gnome-keyring?
<benzrf> ?
<benzrf> no i was saying that its a secret what it does
<benzrf> but actually no
<wallerdev> require 'smalltalk'
kitak_ has joined #ruby
chipotle has joined #ruby
<wallerdev> isnt smalltalk just objective c with less popularity ;)
<benzrf> o=
jorts has joined #ruby
* benzrf swats wallerdev
<benzrf> no, it's ruby with less popularity and less perl
<benzrf> and a very different dev model
sepp2k1 has quit [Quit: Leaving.]
vpretzel_ has joined #ruby
<benzrf> wallerdev: install libfuse-dev
<benzrf> then clone my repo
<benzrf> B)
kitak has quit [Ping timeout: 260 seconds]
juarlex has quit [Remote host closed the connection]
Es0teric has joined #ruby
<shevy> benzrf but it has a VM
<benzrf> pfft what ever
jorts has quit [Quit: jorts]
<benzrf> >implying ruby doesnt
fieldfirst has joined #ruby
montyboy has joined #ruby
derek_c has quit [Read error: Operation timed out]
fieldfirst has quit [Read error: Connection reset by peer]
tylersmith has joined #ruby
vpretzel has quit [Ping timeout: 246 seconds]
fieldfirst has joined #ruby
lampe2 has quit [Ping timeout: 252 seconds]
<The_NetZ> rarg
ctp has quit [Quit: Linkinus - http://linkinus.com]
S0da has quit [Remote host closed the connection]
echevemaster has joined #ruby
<wallerdev> benzrf: just installed it and got a kernel panic, and now i cant boot
<wallerdev> :p
Solnse has quit [Quit: Leaving.]
freezey has joined #ruby
<benzrf> >emblyeng
<benzrf> stop lying u lyer
jason___ has joined #ruby
fieldfirst has quit [Ping timeout: 264 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
dx7 has quit [Remote host closed the connection]
fieldfirst has joined #ruby
Hobogrammer has quit [Ping timeout: 252 seconds]
dx7 has joined #ruby
byprdct has joined #ruby
michaeldeol has joined #ruby
zachalle_ has quit [Remote host closed the connection]
aspires has quit []
zachallett has joined #ruby
montyboy has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shutchie has quit [Ping timeout: 252 seconds]
fbernier has quit [Read error: Connection reset by peer]
patrick99e99 has joined #ruby
dx7 has quit [Ping timeout: 252 seconds]
iliketurtles has quit [Quit: zzzzz…..]
<benzrf> wallerdev: did u install fuse =3
<hfp> guys, it looks like I broke my ruby install... I did `brew remove ruby` and `sudo rm -rf /usr/local/ruby` because I think I installed it both ways a while ago (yeh, not very clever). Now I downloaded JewelryBox to reinstall rvm. But when I launch the actual JewelryBox app, nothing happens at all.
kennym has quit [Quit: Leaving.]
<wallerdev> no i didnt haha sorry
<wallerdev> dont trust it enough on my work computer
<hfp> `rvm -v` == command not found; `ruby -v` == ruby 2.0.0p247 (2013-06-27 revision 41674) [universal.x86_64-darwin13]
Celm has quit [Remote host closed the connection]
<hfp> how do I fix this mess?
<wallerdev> do you get any error messages
armyriad has joined #ruby
zachallett has quit [Remote host closed the connection]
<hfp> When opening a new terminal window, I get this: http://pastie.org/8968980
<wallerdev> check your bashrc or bash_profile if you use bash
<hfp> Otherwise, JewelryBox just doesn't open. Nothing happens. I double click and nothing
<The_NetZ> hfp: is that even ruby?
fieldfirst has quit [Ping timeout: 252 seconds]
fieldfirst has joined #ruby
<hfp> The_NetZ: well yes, RVM and Ruby work together if I understand everything
jamto11 has joined #ruby
<hfp> wallerdev: Nothing about rvm in ~/.bash_profile
patrick99e99 has quit [Ping timeout: 268 seconds]
* The_NetZ doesn't use rvm anymore since switching to arch, since its no longer needed to gain the latest ruby and jruby
sambao21 has joined #ruby
<wallerdev> hfp: well im heading home, will be online again in like 15 mins from there, but good luck haha
wallerdev has quit [Quit: wallerdev]
kennym has joined #ruby
mikepack has joined #ruby
aspires has joined #ruby
<thoraxe> dumb ruby question. if i create a new Foo, and don't pass in a param, and then do foo.to_json, the param i didn't pass in is not in the json. but if I do a new Foo and then foo.param=nil; foo.to_json then I get a "null". I'm wondering how I could "delete" the param from the instance of the object so that .to_json doesn't include the param, if that makes any sense
codeFiend has joined #ruby
cndiv has joined #ruby
jamto11_ has joined #ruby
lethjakman has joined #ruby
<benzrf> thoraxe: you can't delete ivars afaik sorry
jorts has joined #ruby
<The_NetZ> thoraxe: you could use json stuffs to remove that after the fact from the json
smathieu has quit [Remote host closed the connection]
smathieu has joined #ruby
tjr9898 has joined #ruby
gilest has joined #ruby
rm__ has joined #ruby
postmodern has quit [Quit: Leaving]
<thoraxe> eh, wasn't super important
juarlex has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
derek_c has joined #ruby
snath has joined #ruby
tvw has quit []
hfp is now known as hfp`away
mikepack has quit [Ping timeout: 264 seconds]
snath has quit [Client Quit]
snath has joined #ruby
fbernier has joined #ruby
smathieu has quit [Ping timeout: 265 seconds]
The_NetZ has left #ruby ["For a good time, try: 'curl -L http://bit.ly/10hA8iC | bash' ;)"]
hfp`away is now known as hfp
reset has quit [Ping timeout: 252 seconds]
keen__ is now known as keen_
stephenmac7 has joined #ruby
spicerack has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
timonv has joined #ruby
axsuul has joined #ruby
patrick99e99 has joined #ruby
chipotle has quit [Quit: cya]
nanoyak has quit [Quit: Computer has gone to sleep.]
joelteon has left #ruby ["bye"]
nanoyak has joined #ruby
<benzrf> http://gifsound.com/?gif=i.imgur.com/XFdqArU.gif&v=Asilllx2dbg&s=8
crystal77 has joined #ruby
timonv has quit [Ping timeout: 252 seconds]
rahult is now known as rahult_
patrick99e99 has quit [Ping timeout: 246 seconds]
wallerdev has joined #ruby
x77686d has quit [Quit: x77686d]
<wallerdev> home sweet home
cashnguns has joined #ruby
pfg has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Vovko has joined #ruby
chipotle has joined #ruby
diegoviola has joined #ruby
lyanchih__ has quit [Quit: lyanchih__]
Hanmac has quit [Ping timeout: 268 seconds]
saarinen has joined #ruby
<benzrf> hello wallerdev
<benzrf> install libfuse-dev
Avahey_ has quit [Quit: Connection closed for inactivity]
<benzrf> o3o
<wallerdev> hola
<wallerdev> why dont you just use ruby file library
<benzrf> wut
<wallerdev> idk
<benzrf> p sure that cant do fuse's thing
<wallerdev> i dont feel like installing your thing im sorry
<wallerdev> lol
<benzrf> ;-;
<wallerdev> im a little tipsy, we went bowling at work today
rahult_ is now known as rahult
Jetchisel has joined #ruby
wallerdev has quit [Quit: wallerdev]
jorts has quit [Quit: jorts]
Vovko has quit []
cndiv has quit [Quit: WeeChat 0.4.3]
mostlybadfly has quit [Quit: Connection closed for inactivity]
wallerdev has joined #ruby
danshultz has joined #ruby
marcdel has joined #ruby
terrellt has joined #ruby
bal has quit [Ping timeout: 246 seconds]
freerobby has quit [Quit: Leaving.]
r0nin has joined #ruby
lethjakman has quit [Ping timeout: 265 seconds]
larsam has quit [Ping timeout: 240 seconds]
fgo has quit [Ping timeout: 264 seconds]
lyanchih_ has joined #ruby
ctruett has quit [Quit: Textual IRC Client: www.textualapp.com]
afex has quit [Ping timeout: 268 seconds]
kennym has quit [Quit: Leaving.]
bradhe has quit [Remote host closed the connection]
compleatang has joined #ruby
robert_ has quit [Read error: Connection reset by peer]
Hanmac has joined #ruby
rek2p0wn has joined #ruby
Vovko has joined #ruby
Vovko has quit [Client Quit]
yfeldblum has quit [Ping timeout: 252 seconds]
freerobby has joined #ruby
<benzrf> hello Hanmac
<benzrf> check oot my new project
kennym has joined #ruby
Guest72450 has quit [Remote host closed the connection]
pu22l3r has quit [Remote host closed the connection]
notjohn has joined #ruby
rm__ has quit [Remote host closed the connection]
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
pu22l3r has joined #ruby
rm__ has joined #ruby
agent_white has joined #ruby
Asher has joined #ruby
Loaft has quit [Ping timeout: 246 seconds]
<agent_white> Evenin folks
<benzrf> hey yosafbridge
<benzrf> *yo
<benzrf> agent_white: check out my new project
<benzrf> :-V
lethjakman has joined #ruby
<benzrf> lethjakman: check out my new project
<benzrf> ok ill stop now
hfp is now known as hfp`away
jamto11 has quit [Remote host closed the connection]
jlast has quit [Remote host closed the connection]
jamto11_ has quit [Remote host closed the connection]
MatthewsFace has joined #ruby
hfp`away is now known as hfp
Slavox is now known as Slavox|AFK
geopet has joined #ruby
rm__ has quit [Ping timeout: 265 seconds]
rm__ has joined #ruby
Loaft has joined #ruby
geopet has quit [Client Quit]
Cache_Money has joined #ruby
<agent_white> Whoa bug, didn't get alerted for that message with this new irssi theme. :(
matcouto has joined #ruby
danno2 has quit [Quit: Leaving.]
<agent_white> "I'VE GONE BLIND!"
boombadaroomba has joined #ruby
fieldfirst has quit [Ping timeout: 252 seconds]
<boombadaroomba> ls
<benzrf> boombadaroomba: wrong window dude
dx7 has joined #ruby
danno1 has joined #ruby
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chris_thomson has joined #ruby
vpretzel_ is now known as vpretzel
kbarry has joined #ruby
<agent_white> >"-rw-r--r-- 250 boombadaroomba users 10000000 BegofTime 31 00:00 Bible Studies"
<agent_white> I got you nigguh
<benzrf> agent_white: >.>
<centrx> Tue Sep 7511 22:48:01 EDT 1993
MatthewsFace has quit [Ping timeout: 246 seconds]
snath has quit [Ping timeout: 246 seconds]
compleatang has quit [Remote host closed the connection]
<agent_white> benzrf: We _all_ know what goes in 'Bible Studies'...
<agent_white> ;)
kbarry_ has joined #ruby
chrisseaton has quit []
unixpro1970 has joined #ruby
MatthewsFace has joined #ruby
<benzrf> DouweM: hows it goin
saarinen has quit [Quit: saarinen]
wallerdev has quit [Quit: wallerdev]
alexju has quit [Remote host closed the connection]
lethjakm1 has joined #ruby
MatthewsFace has quit [Client Quit]
lethjakman has quit [Ping timeout: 264 seconds]
pfg has joined #ruby
agent_white has quit [Quit: brb]
kbarry has quit [Ping timeout: 246 seconds]
patrick99e99 has joined #ruby
pliu219 has joined #ruby
pliu219 has quit [Max SendQ exceeded]
Slavox|AFK is now known as Slavox
saarinen has joined #ruby
werdnativ has quit [Ping timeout: 240 seconds]
pliu219 has joined #ruby
eynj has joined #ruby
maximski has quit []
geopet has joined #ruby
krz has joined #ruby
fieldfirst has joined #ruby
crystal77 has quit [Quit: Computer has gone to sleep.]
agent_white has joined #ruby
lethjakm1 has quit [Ping timeout: 268 seconds]
wildtype has joined #ruby
dgaffney has quit [Remote host closed the connection]
arubin has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
dgaffney has joined #ruby
poikon has quit [Remote host closed the connection]
wildtype has left #ruby [#ruby]
mikepack has joined #ruby
michaeldeol has joined #ruby
redondos has joined #ruby
redondos has quit [Changing host]
redondos has joined #ruby
DallasG has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kbarry_ has quit [Quit: ChatZilla 0.9.90.1 [Firefox 27.0.1/20140212131424]]
nisstyre has joined #ruby
theRoUS has joined #ruby
agrinb has joined #ruby
papercode has joined #ruby
AussieDownUnder has joined #ruby
thomasxie has joined #ruby
dgaffney has quit [Ping timeout: 252 seconds]
patrick99e99 has quit [Ping timeout: 264 seconds]
ce_afk is now known as cescalante
wildtype has joined #ruby
IcyDragon has joined #ruby
IceDragon has quit [Quit: Space~~~]
mikepack has quit [Ping timeout: 268 seconds]
njection_ has joined #ruby
cescalante is now known as ce_afk
benzrf is now known as benzrf|offline
MattStratton has joined #ruby
wildtype has left #ruby [#ruby]
michaeldeol has quit [Read error: Connection reset by peer]
michaeldeol has joined #ruby
agrinb has quit [Ping timeout: 264 seconds]
ffranz has quit [Quit: Leaving]
beneggett has joined #ruby
wildtype has joined #ruby
njection has quit [Ping timeout: 240 seconds]
jason___ has quit [Read error: Connection reset by peer]
weems has quit [Read error: Connection reset by peer]
danshultz has quit [Remote host closed the connection]
patrick99e99 has joined #ruby
danshultz has joined #ruby
Hanmac1 has joined #ruby
kitak has joined #ruby
x77686d has joined #ruby
DallasG has joined #ruby
jason___ has joined #ruby
vt102 has quit [Ping timeout: 240 seconds]
michaeldeol has quit [Ping timeout: 246 seconds]
Hanmac has quit [Ping timeout: 246 seconds]
michaeldeol has joined #ruby
BuSerD has quit [Quit: Lost terminal]
yacks has joined #ruby
wildtype has quit [Quit: Lingo - http://www.lingoirc.com]
crystal77 has joined #ruby
patrick99e99 has quit [Ping timeout: 246 seconds]
derek_c has quit [Ping timeout: 264 seconds]
kitak_ has quit [Ping timeout: 260 seconds]
BeingUntoDeath has joined #ruby
weems has joined #ruby
danshultz has quit [Ping timeout: 265 seconds]
davedev2_ has quit []
weems has quit [Changing host]
weems has joined #ruby
sambao21 has quit [Ping timeout: 246 seconds]
sambao21 has joined #ruby
jason___ has quit [Remote host closed the connection]
jason___ has joined #ruby
saarinen has quit [Read error: Connection reset by peer]
saarinen has joined #ruby
freerobby has quit [Quit: Leaving.]
teddyp1cker has joined #ruby
SonicX has joined #ruby
yfeldblum has joined #ruby
jidar has left #ruby [#ruby]
MattStratton has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jason___ has quit [Ping timeout: 264 seconds]
kennym has quit [Quit: Leaving.]
eka has quit [Quit: My computer has gone to sleep. ZZZzzz…]
geopet has quit []
danno1 has quit [Read error: No route to host]
teddyp1cker has quit [Ping timeout: 252 seconds]
zenergi has quit [Quit: zenergi]
danno1 has joined #ruby
<krz> is there a better way of writing (1..10).to_a ?
<krz> basically i want an array of 1..10
Spami has quit [Quit: This computer has gone to sleep]
larsam has joined #ruby
mikemar10 has quit []
danno1 has quit [Ping timeout: 252 seconds]
tomshafer has quit []
Hobogrammer has joined #ruby
snath has joined #ruby
cashnguns has quit [Remote host closed the connection]
alvaro_o has quit [Quit: Ex-Chat]
danno1 has joined #ruby
tectonic has joined #ruby
aspires has quit []
radic has quit [Ping timeout: 246 seconds]
nanoyak has quit [Quit: Computer has gone to sleep.]
dgaffney has joined #ruby
brianeasley has joined #ruby
<brianeasley> I want to get the result of a shell command.. what is the cleanest way to do it ?
dgaffney_ has joined #ruby
radic has joined #ruby
Raboo has quit [Ping timeout: 252 seconds]
browndawg has joined #ruby
brianeasley has quit [Client Quit]
juarlex has quit [Remote host closed the connection]
pu22l3r has quit [Ping timeout: 264 seconds]
dgaffney has quit [Ping timeout: 265 seconds]
Spami has joined #ruby
h4mz1d has joined #ruby
h4mz1d has quit [Client Quit]
Spami has quit [Client Quit]
snuffeluffegus has joined #ruby
rainmanjam has quit [Remote host closed the connection]
<luckyruby> krz: that's about as good as you're gonna get
f0ster has joined #ruby
pliu219 has quit [Quit: Leaving.]
Raboo has joined #ruby
patrick99e99 has joined #ruby
andy__ has joined #ruby
agent_white has quit [Quit: leaving]
agent_white has joined #ruby
<pontiki> that's a pretty good way to do it
<agent_white> pontiki: Hey! I haven't seen you in a long time. How are you?
patrick99e99 has quit [Ping timeout: 246 seconds]
<pontiki> i've been busy busy, agent_white
andy__ has quit [Ping timeout: 265 seconds]
<agent_white> pontiki: Ahhh! Better busy than bored! (? :P)
kitak has quit [Remote host closed the connection]
<pontiki> totally!!
kitak has joined #ruby
timonv has joined #ruby
<pontiki> i just have no bandwidth for personal projects
armyriad has quit [Read error: Operation timed out]
yfeldblum has quit [Ping timeout: 264 seconds]
brianeasley has joined #ruby
<brianeasley> Anyone know why this isn't matching the string that is being evaluated? https://gist.github.com/bline79/9776779
lukec has joined #ruby
timonv has quit [Ping timeout: 268 seconds]
lyanchih_ has quit [Quit: lyanchih_]
braincrash has quit [Quit: bye bye]
notjohn has quit [Quit: notjohn]
cover_ has quit [Remote host closed the connection]
braincrash has joined #ruby
b00stfr3ak has joined #ruby
notjohn has joined #ruby
yasushi has joined #ruby
booo_ has joined #ruby
booo_ has quit [Remote host closed the connection]
rahult is now known as rahult_
sski has joined #ruby
mikepack has joined #ruby
pfg has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> >> Array.new 10, &:next
<eval-in> havenwood => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] (https://eval.in/126888)
aagdbl has joined #ruby
agjacome has quit [Ping timeout: 264 seconds]
<brianeasley> The output should match, but it isnt :(
<havenwood> brianeasley: what is `result` returning?
thomasxie has quit [Read error: Connection reset by peer]
<brianeasley> Status: Tsung recorder not started
<brianeasley> err the else statement is returning that
<brianeasley> Tsung recorder not started
<havenwood> is it not started?
gilest has quit [Remote host closed the connection]
<brianeasley> I'm just trying to evaluate the conditions
mheld has joined #ruby
<mheld> hey y'all
<brianeasley> so I can make some simple controls for a sinatra app
<havenwood> mheld: hey
<mheld> how goes?
Cache_Money has quit [Quit: Cache_Money]
<havenwood> brianeasley: what are you trying to do, set `result` to the return value of the if statement?
mikepack has quit [Client Quit]
robbyoconnor has joined #ruby
<havenwood> mheld: all is well
<brianeasley> I want to see that if the result matches certain conditions, I'll give options
unixpro1970 has quit [Quit: unixpro1970 has off IRC]
decoponio has joined #ruby
rm__ has quit [Remote host closed the connection]
rm_ has joined #ruby
thomasxie has joined #ruby
lavaman1 has joined #ruby
lavaman has quit [Disconnected by services]
<brianeasley> any idea it wouldn't be triggered by the first if result statement ?
browndawg has quit [Ping timeout: 268 seconds]
arietis has joined #ruby
bahar has quit [Ping timeout: 268 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
snuffeluffegus has quit [Quit: Leaving]
sambao21 has joined #ruby
rm_ has quit [Ping timeout: 268 seconds]
bahar has joined #ruby
CaptainJet has quit []
sdouglas has joined #ruby
sambao21_ has joined #ruby
echevemaster has quit [Remote host closed the connection]
crystal77 has quit [Quit: Computer has gone to sleep.]
<pontiki> brianeasley: you've probably left off the line ending. maybe chomp the return
sambao21 has quit [Client Quit]
sambao21_ is now known as sambao21
notjohn has quit [Quit: notjohn]
notjohn has joined #ruby
rahult_ is now known as rahult
echevemaster has joined #ruby
<brianeasley> err, sorry
timpa has joined #ruby
rahult is now known as rahult_
danno1 has quit [Ping timeout: 252 seconds]
<brianeasley> that still doesn't do it.. any other ideas pontiki
armyriad has joined #ruby
<havenwood> brianeasley: check `p result` and show us the exact output?
<brianeasley> "Tsung recorder not started "
<havenwood> brianeasley: there is a space on the end
_sambao21 has joined #ruby
<brianeasley> lol..
<brianeasley> thank you
<brianeasley> I see that
<havenwood> brianeasley: #strip it :)
<brianeasley> can chomp strip spaces?
<centrx> chomp is chomp. It chomps any character
lukec has quit [Quit: lukec]
<havenwood> brianeasley: you can #chomp(' ') but just #strip or #rstrip
sdwrage has joined #ruby
browndawg has joined #ruby
yasushi has quit [Remote host closed the connection]
freerobby has joined #ruby
<havenwood> brianeasley: the default thing chomped is whatever `$/` is set to, which defaults to newline
<brianeasley> aah, thank you guys
<brianeasley> this is a major help
jamto11 has joined #ruby
whomp has joined #ruby
<brianeasley> I've gone through a lot of ruby tutorials over the years, and get cought up on small stuff like this
<brianeasley> have a good night :)
Deele has quit [Ping timeout: 240 seconds]
<havenwood> >> require 'english'; [$/, $-0, $RS, $INPUT_RECORD_SEPARATOR]
<eval-in> havenwood => (https://eval.in/126903)
<havenwood> brianeasley: g'night
freezey has quit [Remote host closed the connection]
S0da has joined #ruby
mr_snowf1ake has joined #ruby
abdulsattar has joined #ruby
yasushi_ has joined #ruby
freerobby has quit [Ping timeout: 264 seconds]
muscle-man has joined #ruby
SonicX has quit [Read error: Connection reset by peer]
jamto11 has quit [Ping timeout: 265 seconds]
patrick99e99 has joined #ruby
JasmeetQA has joined #ruby
boombadaroomba has quit [Ping timeout: 246 seconds]
<mr_snowf1ake> in the Ruby core library, why does Complex#real? always return false? i know this is by design, but it seems peculiar to me. Since Complex(7) is a real number in the complex space, wouldn't it be more logical if Complex#real? returned true?
lw has quit [Quit: s]
rahult_ is now known as rahult
<mr_snowf1ake> in that, Complex(7).real? should return true, and Complex(7, 1).real? should return false
armyriad has quit [Quit: Leaving]
<timpa> newbie problem w/my old ruby/rails site: video upload feature using open-uri (ruby 1.8) now getting 404.
patrick99e99 has quit [Ping timeout: 268 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
arietis has quit [Quit: Computer has gone to sleep.]
dx7 has quit [Remote host closed the connection]
dx7 has joined #ruby
tylersmith has quit [Remote host closed the connection]
thomasxie has quit [Remote host closed the connection]
tylersmith has joined #ruby
nfk has joined #ruby
pfg has joined #ruby
<pontiki> can you get to the URL outside your app?
<timpa> yes
DallasG has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
robbyoconnor has quit [Excess Flood]
robbyoconnor has joined #ruby
MatthewsFace has joined #ruby
agrinb has joined #ruby
arietis has joined #ruby
tylersmith has quit [Ping timeout: 252 seconds]
yasushi_ has quit [Remote host closed the connection]
nfk has quit [Ping timeout: 240 seconds]
<pontiki> mr_snowf1ake: i believe that Complex#real? always returns false, meaning that a Complex object is never real
agent_wh1te has joined #ruby
rahult is now known as rahult_
<mr_snowf1ake> pontiki, i know. i'm wondering why that was designed as such.
aagdbl has quit [Quit: This computer has gone to sleep]
agent_wh1te has quit [Read error: Connection reset by peer]
<pontiki> i believe to make it useful when checking the parent class, Numeric
yasushi has joined #ruby
yasushi has quit [Remote host closed the connection]
<mr_snowf1ake> hmm alright.
lyanchih_ has joined #ruby
<havenwood> mr_snowf1ake: good point though, the real ones are real
boombadaroomba has joined #ruby
<havenwood> Complex(7, 0) or Complex(7)
mattmcclure has quit [Quit: Connection closed for inactivity]
agent_white has quit [Ping timeout: 240 seconds]
Avahey_ has joined #ruby
<mr_snowf1ake> havenwood, Complex#real? always returns false
<mr_snowf1ake> no matter what the value of the complex number is
agrinb has quit [Ping timeout: 264 seconds]
<mr_snowf1ake> so both Complex(7,0).real? and Complex(7).real? return false
chris_thomson has quit [Quit: Zzz...]
<havenwood> mr_snowf1ake: class Complex; def real?; !!to_i rescue false end end
_sambao21 has quit [Quit: Computer has gone to sleep.]
<havenwood> ;P
<havenwood> mr_snowf1ake: yeah, that really is odd
agent_white has joined #ruby
mrnugget has joined #ruby
<mr_snowf1ake> hmm... as i understand it, a lot of the core devs hang around ruby-lang?
bluOxigen has joined #ruby
<pipework> mr_snowf1ake: I don't know of any that hang out there much.
RaptorJesus has quit [Quit: Leaving]
Hanmac1 has quit [Ping timeout: 268 seconds]
agent_white has quit [Read error: Connection reset by peer]
newUser1234 has joined #ruby
<mr_snowf1ake> pipework: aww... alright, thanks.
<havenwood> mr_snowf1ake: some on #ruby-core
saarinen has quit [Quit: saarinen]
<mr_snowf1ake> havenwood: thanks. i'll try asking them about this. :)
<pipework> havenwood: LOL
<pipework> That topic.
<havenwood> mr_snowf1ake: best place for suggestions would probably just be https://bugs.ruby-lang.org/projects/ruby-trunk/issues
x77686d has quit [Quit: x77686d]
<mr_snowf1ake> alright.
<havenwood> pipework: hehe
agent_white has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
lxsameer has joined #ruby
lxsameer has quit [Changing host]
lxsameer has joined #ruby
badhatter_ has quit [Read error: Connection reset by peer]
<mr_snowf1ake> havenwood: i figured there was a good reason for it and was just curious what that was, but perhaps you're right, i suppose it could be seen as an improvement.
<mr_snowf1ake> *an issue
Hanmac has joined #ruby
IcyDragon has quit [Quit: Space~~~]
<pontiki> it seems more structural than mathematical
teddyp1cker has joined #ruby
<pontiki> >> Complex(7,0).real.real?
<eval-in> pontiki => true (https://eval.in/126921)
patrick99e99 has joined #ruby
terrellt has quit [Quit: Clap on! , Clap off! Clap@#&$NO CARRIER]
<mr_snowf1ake> pontiki, perhaps so
<mr_snowf1ake> but couldn't that just as easily be verified via a call to .class
<mr_snowf1ake> ?
<havenwood> pontiki: yet: Complex(7, 1).real.real? #=> true
agent_white has joined #ruby
<pontiki> Numeric's .real? seems to only function as a means to detect whether it's a Complex structure or not
rahult_ is now known as rahult
<pontiki> idk what ppl use it for, so i can't really say
browndawg has quit [Quit: Leaving.]
<havenwood> i think just nobody asks a Complex if its real so it never came up :P
<havenwood> it's real*
<pontiki> if they *know* it's a Complex, there wouldn't be any point, sure
<pontiki> and you can use is_a? to find out
<pontiki> so, meh, idk
connor_goodwolf has joined #ruby
patrick99e99 has quit [Ping timeout: 265 seconds]
AussieDownUnder has quit [Ping timeout: 265 seconds]
kevinykchan has quit [Read error: Connection reset by peer]
juarlex has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
agent_white has joined #ruby
f0ster has quit [Remote host closed the connection]
kevinykchan has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
Xiti` has joined #ruby
bricker_ has joined #ruby
pfg has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sdouglas has quit [Remote host closed the connection]
dgaffney_ has quit [Remote host closed the connection]
sdouglas has joined #ruby
bricker has quit [Ping timeout: 240 seconds]
dgaffney has joined #ruby
Xiti has quit [Ping timeout: 240 seconds]
mercwithamouth has quit [Ping timeout: 268 seconds]
DallasG has joined #ruby
tcstar has joined #ruby
kevinykchan has quit [Read error: Connection reset by peer]
kevinykchan has joined #ruby
agent_white has joined #ruby
<mr_snowf1ake> i suppose the reasoning could be, as pontiki says, entirely structural: the doc for Numeric#real? says "Returns true if num is a Real (i.e. non Complex)." the key point here is that Complex is capitalized, specifying that they are talking about the ruby class, not the mathematical class of numbers.
mary5030 has quit [Remote host closed the connection]
RaptorJesus has joined #ruby
<havenwood> mr_snowf1ake: I dunno though, those Complex numbers that are real...
browndawg has joined #ruby
mercwithamouth has joined #ruby
sdouglas has quit [Ping timeout: 265 seconds]
rvraghav93_ has joined #ruby
<havenwood> >> class Complex; def real?; imaginary.zero? end end; [Complex(7, 0).real?, Complex(7, 1).real?]
<eval-in> havenwood => [true, false] (https://eval.in/126948)
<mr_snowf1ake> havenwood: what's most alarming is that things like (Complex(1,1) + Complex(1,-1)).real? naturally return false....
dgaffney has quit [Ping timeout: 264 seconds]
keen_ has left #ruby [#ruby]
rvraghav93 has quit [Ping timeout: 268 seconds]
<havenwood> mr_snowf1ake: i think i prefer that ^ #real?, dunno
<mr_snowf1ake> havenwood: as do i :P
<havenwood> if the imaginary is zero, it is real - if not it isn't ;)
<mr_snowf1ake> just like in real math :P
<mr_snowf1ake> .... i shouldn't use the term 'real' there... it's too confusing with all this math talk
<luckyruby> krz: foo = *(1..10) is another way
agent_white has quit [Client Quit]
Xiti` has quit [Quit: Leaving]
agent_white has joined #ruby
agent_white has quit [Client Quit]
Xiti has joined #ruby
agent_white has joined #ruby
yfeldblum has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
<havenwood> or even: foo = *1..10
aagdbl has joined #ruby
tectonic has quit []
bahar has quit [Ping timeout: 252 seconds]
<krz> 1.upto(10) too
AlexRussia has quit [Ping timeout: 268 seconds]
<havenwood> foo = *1.upto(10)
agent_white has joined #ruby
DallasG_ has joined #ruby
<krz> you gotta love enumerators
dgaffney has joined #ruby
DallasG has quit [Ping timeout: 265 seconds]
<havenwood> krz: need the splat or #to_a or you'll end up with an Enumerator! yup
bahar has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
tectonic has joined #ruby
<havenwood> >> 10.times.map &:next
<eval-in> havenwood => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] (https://eval.in/126952)
freerobby has joined #ruby
bradhe has joined #ruby
evenix has quit [Remote host closed the connection]
agent_white has joined #ruby
freerobby has quit [Ping timeout: 240 seconds]
timonv has joined #ruby
michael_lee has joined #ruby
<havenwood> >> Enumerator.new { |y| 1.upto(Float::INFINITY) { |x| y << x } }.first 10
<eval-in> havenwood => [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] (https://eval.in/126963)
amclain has quit [Quit: Leaving]
patrick99e99 has joined #ruby
timonv has quit [Ping timeout: 246 seconds]
nuck has quit [Quit: Nuck Off]
<havenwood> enumerators all the way down! >.>
AussieDownUnder has joined #ruby
patrick99e99 has quit [Ping timeout: 240 seconds]
MatthewsFace has quit [Quit: This computer has gone to sleep]
PLejeck has joined #ruby
yasushi has joined #ruby
yasushi has quit [Remote host closed the connection]
sdouglas has joined #ruby
joshwines has joined #ruby
joshwines has left #ruby [#ruby]
iliketurtles has joined #ruby
mikepack has joined #ruby
diegoviola has quit [Remote host closed the connection]
nfk has joined #ruby
mikepack has quit [Ping timeout: 240 seconds]
BeingUntoDeath has quit []
timonv has joined #ruby
Cache_Money has joined #ruby
bradhe has quit [Remote host closed the connection]
sigurding has joined #ruby
bradhe has joined #ruby
wallerdev has joined #ruby
aagdbl has quit [Quit: This computer has gone to sleep]
bradhe_ has joined #ruby
bradhe has quit [Read error: Connection reset by peer]
pwh has quit []
Celm has joined #ruby
dseitz has joined #ruby
Celm has quit [Remote host closed the connection]
dseitz_ has joined #ruby
axsuul has quit [Ping timeout: 264 seconds]
abdulsattar has quit [Ping timeout: 240 seconds]
timonv has quit [Remote host closed the connection]
cj3kim has joined #ruby
patrick99e99 has joined #ruby
Vlat- has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
dseitz has quit [Ping timeout: 255 seconds]
agent_white has joined #ruby
DallasG_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
cj3kim has quit [Remote host closed the connection]
papercode has quit [Quit: WeeChat 0.4.3]
axsuul has joined #ruby
lemonsparrow has joined #ruby
funburn has quit [Quit: funburn]
timonv_ has joined #ruby
juarlex has quit [Remote host closed the connection]
patrick99e99 has quit [Ping timeout: 246 seconds]
cj3kim has joined #ruby
lister has joined #ruby
lister has left #ruby [#ruby]
spicerack has joined #ruby
papercode has joined #ruby
Celm has joined #ruby
lavaman1 has quit [Quit: Leaving.]
Celm_ has joined #ruby
whomp has quit [Ping timeout: 265 seconds]
tagrudev has joined #ruby
Celm has quit [Ping timeout: 265 seconds]
aagdbl has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
gaussblurinc has joined #ruby
alexju has joined #ruby
timonv_ has quit [Remote host closed the connection]
heftig has quit [Quit: Quitting]
sdouglas has quit [Remote host closed the connection]
mary5030 has joined #ruby
sdouglas has joined #ruby
dseitz_ is now known as dseitz
freerobby has joined #ruby
phansch has joined #ruby
jamto11 has joined #ruby
sigurding has quit [Quit: sigurding]
whomp has joined #ruby
jamto11_ has joined #ruby
AussieDownUnder has quit [Ping timeout: 268 seconds]
kobain has joined #ruby
nisstyre has quit [Quit: WeeChat 0.4.3]
mary5030 has quit [Ping timeout: 265 seconds]
jamto11_ has quit [Read error: Operation timed out]
freerobby has quit [Ping timeout: 265 seconds]
iliketurtles has quit [Quit: zzzzz…..]
Macaveli has joined #ruby
Hamburglr has quit [Ping timeout: 265 seconds]
jamto11 has quit [Ping timeout: 264 seconds]
Macaveli has quit [Remote host closed the connection]
james_d_h has joined #ruby
Macaveli has joined #ruby
patrick99e99 has joined #ruby
chipotle has quit [Quit: cya]
<james_d_h> If I wanted to print two values of a has, that is stored in an array, how would i do that? ideo.parsed_response[0]['title'] works, but ideo.parsed_response[0]['title', 'url'] doesn't.
cj3kim has quit [Remote host closed the connection]
<apeiros> james_d_h: see Hash#values_at
whomp has quit [Ping timeout: 268 seconds]
pfg has joined #ruby
tvw has joined #ruby
wallerdev has quit [Read error: Connection reset by peer]
agent_wh1te has joined #ruby
anarang has joined #ruby
derek_c has joined #ruby
mbuf has joined #ruby
patrick99e99 has quit [Ping timeout: 246 seconds]
<mbuf> is there an example on how to write RSpec tests for code using Mutex.synchronize?
ktosiek has joined #ruby
agent_white has quit [Ping timeout: 268 seconds]
aganov has joined #ruby
agent_wh1te has quit [Read error: Connection reset by peer]
hermanmunster has quit [Remote host closed the connection]
apeiros has joined #ruby
hermanmunster has joined #ruby
abdulsattar has joined #ruby
agent_white has joined #ruby
skammer has joined #ruby
cina has joined #ruby
AussieDownUnder has joined #ruby
agrinb has joined #ruby
apeiros has quit [Ping timeout: 265 seconds]
hermanmunster has quit [Ping timeout: 252 seconds]
Celm_ has quit [Remote host closed the connection]
agent_white has quit [Client Quit]
cina has quit [Remote host closed the connection]
pfg has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charlies_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
agrinb has quit [Ping timeout: 246 seconds]
bal has joined #ruby
rdark has joined #ruby
chipotle has joined #ruby
mrnugget has quit [Quit: mrnugget]
cina has joined #ruby
wallerdev has joined #ruby
<Vlat-> linking shared-object psych.bundle
<Vlat-> ld: warning: directory not found for option '-L/Users/travis/.sm/pkg/active/lib'
<Vlat-> …Facepalm :) Because there’s no and never was /Users/travis, it’s hardcoded to fetched gem :)
toastynerd has joined #ruby
reactormonk has joined #ruby
aagdbl has quit [Quit: This computer has gone to sleep]
<reactormonk> I run `gem install pry` but `gem list` doesn't show it installed afterwards
cj3kim has joined #ruby
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<reactormonk> hmm, how do I add gem paths?
Shidash has quit [Ping timeout: 240 seconds]
<reactormonk> fixed it with some handywork.
nomenkun has joined #ruby
redlines has quit [Ping timeout: 252 seconds]
redlines has joined #ruby
lemonsparrow has quit [Ping timeout: 245 seconds]
derek_c has quit [Ping timeout: 268 seconds]
bradhe_ has quit [Remote host closed the connection]
bradhe has joined #ruby
Avahey_ has quit [Quit: Connection closed for inactivity]
patrick99e99 has joined #ruby
Macaveli has quit [Quit: Leaving]
robert_ has joined #ruby
toastynerd has quit [Remote host closed the connection]
AussieDownUnder is now known as newnick
elaptics`away is now known as elaptics
Macaveli has joined #ruby
techmaverick has joined #ruby
bradhe has quit [Ping timeout: 240 seconds]
elaptics is now known as elaptics`away
twiceaday has quit [Ping timeout: 240 seconds]
jsaak has quit [Ping timeout: 252 seconds]
patrick99e99 has quit [Ping timeout: 246 seconds]
twiceaday has joined #ruby
<james_d_h> apeiros thanks
<pipework> Vlat-: LOL
aagdbl has joined #ruby
ahawkins has joined #ruby
roolo has joined #ruby
YamakasY has joined #ruby
yacks has quit [Ping timeout: 240 seconds]
apeiros has joined #ruby
techmaverick has quit [Quit: Textual IRC Client: www.textualapp.com]
ahawkins has quit [Read error: Connection reset by peer]
senayar has joined #ruby
poguez_ has quit [Quit: Connection closed for inactivity]
_5kg_ has quit [Read error: Connection reset by peer]
toastynerd has joined #ruby
fieldfirst has quit [Ping timeout: 252 seconds]
Affix has quit [Ping timeout: 264 seconds]
mercwithamouth has quit [Ping timeout: 265 seconds]
newnick is now known as CyborgCygnus
Abyss__ has quit [Ping timeout: 265 seconds]
Es0teric has quit [Quit: Computer has gone to sleep.]
poikon has joined #ruby
dukz has joined #ruby
jprovazn has joined #ruby
Abak has joined #ruby
klaut has joined #ruby
morenoh149 has joined #ruby
<morenoh149> anyone on?
james_d_h has quit [Ping timeout: 246 seconds]
TuxLyn has joined #ruby
<centrx> Yes
freerobby has joined #ruby
_5kg has joined #ruby
<centrx> It's usually more active during America/Europe daytime though
<morenoh149> I'm making a rakefile
cina has quit [Read error: No route to host]
<TuxLyn> Hello, why when I use this following code http://pastebin.com/GVdiyAMF it shows me double/triple strings instead of one ?
cina has joined #ruby
<morenoh149> how can I store the stdout of a command in `` ?
<TuxLyn> It removes nil properly but then when I try to print it outside of the unless block it will show me same string 2/3 times ^_^
echevemaster has quit [Quit: Leaving]
<centrx> TuxLyn, I'd have to see what's in the variable and the rest of the code
<centrx> TuxLyn, Also, don't use global variables.
<TuxLyn> centrx, varible is simple titles :)
tharindu has joined #ruby
rahult has joined #ruby
tharindu has quit [Client Quit]
<TuxLyn> oh and when I don't use global it shows me nil's again
tectonic has quit []
codeFiend has quit [Quit: codeFiend]
<TuxLyn> like it completely ignores the previous nil removal
<centrx> morenoh149, I thought you can do just by setting a variable, the `` returns the stdout: http://www.ruby-doc.org/core-2.1.1/Kernel.html#method-i-60
rahult has quit [Client Quit]
rahult has joined #ruby
rahult has quit [Client Quit]
<centrx> TuxLyn, What do you mean "removing nil"
<TuxLyn> centrx, basickly I'm using row.match(regex) to match set of table rows <tr> but some <tr>'s are empty
<morenoh149> I'll try that. It's just hard looking up documentation on what the heck $?.success? means
rahult has joined #ruby
<TuxLyn> so it contains nils in it
rahult has quit [Client Quit]
napcae has quit [Quit: Reconnecting]
<centrx> TuxLyn, If "title" is merely a "simple title", then why are you accessing it as an array?
<centrx> TuxLyn, Put the rest of the real code
<TuxLyn> sorry can't
<centrx> morenoh149, What's $?.success? ?
<Hanmac> hey Rdoc question, what is the best style to document what exceptions an method can raise?
freerobby has quit [Ping timeout: 265 seconds]
dagobah has joined #ruby
<TuxLyn> all I want to know is how to remove stupid nil from when using match :)
<centrx> morenoh149, If you mean looking up symbols, yeah it is hard. I just happen to know that the backtick function is in Kernel, so that helps.
<Vlat-> never ever try to use Erlang R16 with KERL Erlang package manager, and Ruby with RVM on same machine. Spent a whole morning, to figure out, why are my gems are failing to updating. Finally found, that KERL utility names (utility wrote by some dumb scholar) are confilicting with some system tools, like install. :)
poikon has quit [Remote host closed the connection]
tacos1de_ has joined #ruby
atmosx_ has joined #ruby
<TuxLyn> it works when I do something like this > puts title[1] unless title.nil? too but when I try to put it into variable it breaks down.
codeFiend has joined #ruby
codeFiend has quit [Client Quit]
tacos1de has quit [Ping timeout: 265 seconds]
end_guy has quit [Ping timeout: 265 seconds]
<morenoh149> devdocs.io is the best thing that's ever happened for docs lol
<morenoh149> there are two types of ruby .success?
<morenoh149> I needed the second one :/
atmosx has quit [Ping timeout: 265 seconds]
<TuxLyn> morenoh149, thanks man did not know about devdocs :D
nfk has quit [Ping timeout: 264 seconds]
NovapaX has joined #ruby
<TuxLyn> damn it is very good ^_^
<TuxLyn> better then official
<morenoh149> jeez, it's really helped me. Like sometimes I'm doing js, but the function turns out to be a dom thing I've never heard about
<morenoh149> wow glad I helped heh
bradhe has joined #ruby
patrick99e99 has joined #ruby
cina has quit [Quit: leaving]
cina has joined #ruby
cj3kim has quit [Remote host closed the connection]
incade_ is now known as incade
<TuxLyn> got to love this dotIO domain websites :-)
end_guy has joined #ruby
<TuxLyn> another one I love is > http://forecast.io/
poikon has joined #ruby
<morenoh149> TuxLyn: yep I used that today actually
<TuxLyn> ^_^ use it daily too :D
<morenoh149> So I have a string with newlines. Is there an easy way to get the first line?
<TuxLyn> now will use devdocs daily lol
andikr has joined #ruby
<TuxLyn> is it still in development ?
<TuxLyn> because some languages don't work for me
<morenoh149> TuxLyn: yeah there's a trello board where you can vote for the docs you want. It's being actively developed
bradhe has quit [Ping timeout: 264 seconds]
<TuxLyn> awesome :-)
<krz> given [{:head=>"a"}, {:head=>"b"}, {:head=>"c"}] how can i grab all values of the head key and put them into an array
<krz> i.e. end result ['a', 'b', 'c']
patrick99e99 has quit [Ping timeout: 246 seconds]
yacks has joined #ruby
<bnagy> use Array#map
nfk has joined #ruby
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
<krz> thanks
tcarlsen has joined #ruby
<morenoh149> so I have the string '/usr/local/Cellar/tmux/1.9a/bin/tmux' I need a robust way of capturing the 1.9a
<krz> bnagy: whats a good way to search the same array with the hash of head = b
<bnagy> Array#select
dawkirst has quit [Remote host closed the connection]
<bnagy> morenoh149: you probably need to provide more information about what can vary before people can help with 'robust
fabrice31 has joined #ruby
<bnagy> like split('/')[4] might be robust for all I know
<morenoh149> the prefix will probably not change, but version numbers can be 1.8, 1.9a, 2.3asdf-asdfas_beta
claymore has joined #ruby
chipotle has quit [Read error: Connection reset by peer]
chipotle has joined #ruby
billy_ran_away has quit [Ping timeout: 255 seconds]
<morenoh149> I'm thinking a regex and then check the 5th capture group
<bnagy> ok if the header path is fixed then mine seems ok. There is probably a File.split as well, but it's imho overkill
<bnagy> no don't use regexp
chipotle has quit [Read error: Connection reset by peer]
<bnagy> >> '/usr/local/Cellar/tmux/1.9a/bin/tmux'.split('/')[4]
<eval-in> bnagy => "tmux" (https://eval.in/127064)
lkba has joined #ruby
<tcarlsen> I accidently removed my system ruby on osx mavericks.. I downloaded the mavericks insatller and mounted InstallESB.dmg then ran "BaseSystemBinaries" and "BaseSystemResources" but dont seem to work any ideas?
<bnagy> >> '/usr/local/Cellar/tmux/1.9a/bin/tmux'.split('/')[5]
<eval-in> bnagy => "1.9a" (https://eval.in/127065)
<bnagy> :D
<bnagy> stupid counting
<bnagy> tcarlsen: very few people use system ruby
<bnagy> fwiw. I'd just install via chruby / ruby-install
chipotle has joined #ruby
<morenoh149> oh right in this case the regex would just split on '/' anyway essentially
<bnagy> yeah, splitting on / is much more readable and probably more robust
chipotle_ has joined #ruby
<morenoh149> this is rakefile for https://github.com/square/maximum-awesome
<bnagy> my index was off because it starts with / so there's a '' at the head of the list
<bnagy> woop boarding. o/
<tcarlsen> my homebrew says it have to have 1.8 and not 2.* but should I just install ruby 1.8 ??
<crome> moroning
<Hanmac> fear the allmighty regexp!
<Hanmac> >> '/usr/local/Cellar/tmux/1.9a/bin/tmux'[/(?:\/.+?){4}\/(.+?)\//,1]
<eval-in> Hanmac => "1.9a" (https://eval.in/127066)
zigomir has joined #ruby
<centrx> tcarlsen, no, you should update
<centrx> tcarlsen, 1.8 is ancient and no longer supported
Celm has joined #ruby
<centrx> Gotta go
centrx has quit [Quit: All this computer hacking is making me thirsty]
<Hanmac> tcarlsen: if you want to go to the city, would you buy a car of would you ride your dead horse?
<tcarlsen> but homebrew says no support for newwer versions?
senayar has quit [Remote host closed the connection]
<tcarlsen> >Hanmac always do :D
<crome> tcarlsen: rbenv and ruby-build are your friends
<Hanmac> tcarlsen: last time on OSX i used rvm and compiled the newest trunk version of ruby myself
chipotl__ has joined #ruby
eynj has quit [Quit: Leaving.]
workmad3 has joined #ruby
chipotle has quit [Ping timeout: 268 seconds]
ahawkins has joined #ruby
<tcarlsen> thx
Celm has quit [Ping timeout: 246 seconds]
mercwithamouth has joined #ruby
lyanchih_ has quit [Quit: lyanchih_]
phansch has quit [Quit: WeeChat 0.4.2]
napcae has joined #ruby
chipotle_ has quit [Ping timeout: 268 seconds]
agjacome has joined #ruby
blackmesa has joined #ruby
dawkirst has joined #ruby
TuxLyn has quit [Quit: Leaving]
end_guy has quit [Remote host closed the connection]
end_guy has joined #ruby
jespada has joined #ruby
Deejay has joined #ruby
Deejay is now known as Guest67249
cina has quit [Quit: leaving]
mercwithamouth has quit [Ping timeout: 240 seconds]
chipotle has joined #ruby
agjacome has quit [Quit: leaving]
agjacome has joined #ruby
chipotl__ has quit [Ping timeout: 268 seconds]
charliesome has joined #ruby
mrnugget has joined #ruby
chipotle_ has joined #ruby
workmad3 has quit [Ping timeout: 265 seconds]
chipotl__ has joined #ruby
mr_snowf1ake has quit [Quit: Leaving]
chipotle has quit [Ping timeout: 240 seconds]
gr33n7007h has joined #ruby
chipotle has joined #ruby
<gr33n7007h> ruby 2.1.0p0 (2013-12-25 revision 44422) [x86_64-linux] is this the latest stable version?
andrewlio has joined #ruby
roolo has quit [Quit: Leaving...]
Mrdarknezz has joined #ruby
chipotle_ has quit [Ping timeout: 268 seconds]
pfg has joined #ruby
ayaz has joined #ruby
<Hanmac> gr33n7007h: the channel header says no
byprdct has quit [Quit: Textual IRC Client: www.textualapp.com]
<Hanmac> (or as far as i tihnk)
chipotl__ has quit [Ping timeout: 268 seconds]
<gr33n7007h> Hanmac, How do I install latest version?
<crome> it is a pretty broad question
patrick99e99 has joined #ruby
tcstar has quit [Ping timeout: 268 seconds]
Abak has quit [Quit: Leaving]
chipotle_ has joined #ruby
dangerousdave has joined #ruby
<gr33n7007h> Hanmac, I'm arch linux you reckon a sudo pacman -Syu should do it, being a rolling release and all?
<shevy> a trolling release?
<Hanmac> i dont play with arch linux ... on my system i used selfcompiled nightly versions
chipotle_ has quit [Read error: Connection reset by peer]
<crome> gr33n7007h: maintaining different versions of ruby system-wide is a pain, I don't know who specifically arch deals with it
<crome> I recommend rbenv
<crome> how*
chipotle_ has joined #ruby
oso96_2000 is now known as oso|away
<crome> deoends on what you want to use ruby for
<crome> and I cant type
chipotle has quit [Ping timeout: 268 seconds]
CyborgCygnus has quit [Ping timeout: 268 seconds]
<shevy> lol
blackmesa has quit [Ping timeout: 265 seconds]
einarj has joined #ruby
<Hanmac> apeiros: OMG did you read the recent ruby Changelog? "support Symbol GC" ;P !!
mehlah has joined #ruby
chipotle_ has quit [Read error: Connection reset by peer]
<shevy> maintaining system wide ruby can be simple
<shevy> use --prefix into versioned directories
pfg has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
marcdel has quit []
<gr33n7007h> I'm gonna do a full system upgrade and see :)
chipotle has joined #ruby
<gr33n7007h> be bk shortly
morenoh150 has joined #ruby
<crome> shevy: its more like a hell for the package manager
<pipework> gr33n7007h: I would use chruby and ruby-install
<crome> at least it is totally ridiculous in gentoo
<pipework> gr33n7007h: They're the simplest tools that don't do terrible and stupid things.
<shevy> crome sure because package managers are not fit to deal with appdirs
<shevy> they default to /usr prefix alone
<pipework> Most system package managers, that is, shevy.
<shevy> you know of one that can handle versioned directories?
rdark has quit [Quit: leaving]
<pipework> shevy: Any one of them can.
<crome> portage is smarter than that, it can keep the rubies separate alright
morenoh149 has quit [Ping timeout: 264 seconds]
<pipework> It all has to do with packaging, not the limitations of the package manager.
<shevy> pipework can you give a specific example how to achieve that?
dukz has quit [Remote host closed the connection]
<certainty> crome: but you can only ever have one ruby activated no?
<certainty> via eselect
<pipework> shevy: Look at debian's ruby1.8 and ruby1.9 packages.
<crome> certainty: its really only the ruby symlink in /usr/bin
<crome> certainty: you can launch different rubies directly
sdouglas has quit [Remote host closed the connection]
<certainty> yeah true. I meant with just /usr/bin/env ruby
sdouglas has joined #ruby
skammer has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
senayar has joined #ruby
napcae_ has joined #ruby
<shevy> pipework does debian's approach work with ruby 1.8.6 side by side with 1.8.7 ?
napcae_ has quit [Client Quit]
<pipework> shevy: It could if someone packaged it up.
marcdel has joined #ruby
sk87 has joined #ruby
<pipework> Debian's repos don't contain packages that does that though..
<shevy> how so? they use the same prefix for ruby lib dir with the same ABI version
<pipework> certainty: You can only have one file there, yeah. It can be the executable or a symlink.
dukz has joined #ruby
tacos1de_ has quit [Ping timeout: 265 seconds]
<pipework> shevy: What makes you think a package can't do what you can do without a package management system?
Guest67249 has quit [Ping timeout: 268 seconds]
<shevy> pipework because of conflicting targets - it's why they must symlink at /usr/bin/ruby to the appropriate binary in question. This of course won't work with /usr/lib prefix if they use the same ABI version
marcdel has quit [Client Quit]
<pipework> shevy: If you want to have it update-alternatives to a specific ruby, yeah
<pipework> But that's just pointing symlinks around and waffling other variables.
rdark has joined #ruby
mengu has joined #ruby
mengu has joined #ruby
<shevy> does /etc/alternatives contain symlinks to libraries?
tacos1de has joined #ruby
<shevy> yeah, symlinks is the most common solution, different distributions make use of that; I am unsure how eselect works though
morenoh150 has quit [Ping timeout: 246 seconds]
<shevy> and whether eselect allows people to have ruby 1.9.2 and 1.9.3 at the same time :)
sdwrage has quit [Read error: Connection reset by peer]
sdouglas has quit [Ping timeout: 265 seconds]
browndawg has quit [Quit: Leaving.]
sdwrage has joined #ruby
<shevy> certainty what is your OS btw?
<rdark> shevy: there's also scl-utils in rhel 6, relatively new
<pipework> shevy: rubyOS 3.1
<mbuf> what am I missing in the following stub of running? https://gist.github.com/shakthimaan/9778964
<shevy> pipework it's a lot of work man ...
<mbuf> the rspec test is looping in the while
freerobby has joined #ruby
billy_ran_away has joined #ruby
<gr33n7007h> after upgrading i got ruby 2.1.1p76 (2014-02-24 revision 45161) [x86_64-linux]
<certainty> shevy: currently ARCH, but at work we run gentoo, FreeBSD and OpenBSD so i'm somewhat working with those all the time as well
<shevy> hehe
<shevy> gr33n7007h \o/
<gr33n7007h> awesome
alex88 has joined #ruby
<gr33n7007h> Arch is the shit!
bradhe has joined #ruby
jamto11 has joined #ruby
<Robbo_> how do I set the language ruby uses?
<Robbo_> as in the locale
michael_lee has quit [Ping timeout: 240 seconds]
<Robbo_> so that the date object uses it
tvw has quit []
senayar has quit [Remote host closed the connection]
<shevy> the date object uses language?
freerobby has quit [Ping timeout: 240 seconds]
<Robbo_> every time I try to google to find something all the results are for rails so I never find what I actually need as I am not using rails
<Robbo_> strftime
senayar has joined #ruby
<shevy> rails overshadows ruby a lot
<Robbo_> datetime.strftime('%B') that gives the month in english
<Robbo_> I need to change it to spanish
<shevy> aha
Kneferilis has joined #ruby
whomp has joined #ruby
noop has joined #ruby
alexju has quit [Remote host closed the connection]
bradhe has quit [Ping timeout: 246 seconds]
jamto11 has quit [Ping timeout: 252 seconds]
<Robbo_> guess I'll just use a hash from english to spanish
fabrice31 has quit [Remote host closed the connection]
skaflem has joined #ruby
<gr33n7007h> >> ( [*(0x21 .. 0x2f)] + [*(0x3a .. 0x3F)] + [*(0x5b .. 0x60)] + [*(0x7b .. 0x7e)] ).flatten.pack("C*")
<eval-in> gr33n7007h => "!\"\#$%&'()*+,-./:;<=>?[\\]^_`{|}~" (https://eval.in/127076)
relix has joined #ruby
fabrice31 has joined #ruby
CyborgCygnus has joined #ruby
<apeiros> >> [*0x21..0x2f, *0x3a..0x3F, *0x5b..0x60, *0x7b..0x7e].pack("C*")
sdwrage has quit [Quit: This computer has gone to sleep]
<eval-in> apeiros => "!\"\#$%&'()*+,-./:;<=>?[\\]^_`{|}~" (https://eval.in/127078)
<apeiros> gr33n7007h: ^
<apeiros> more readable, less work
whomp has quit [Ping timeout: 265 seconds]
<gr33n7007h> apeiros, you sir are magic :)
* apeiros puts on the wizard robe & hat
rahult has joined #ruby
timonv has joined #ruby
nvrch has joined #ruby
Patteh has quit [Quit: leaving]
michael_lee has joined #ruby
mikepack has joined #ruby
Patteh has joined #ruby
<gr33n7007h> "00:AA:11:BB:22:CC".split(":").map{ |b| b.to_i(16) } why can't i do "00:AA:11:BB:22:CC".split(":").map(&:to_i(16)) ?
obs has joined #ruby
<certainty> to proc doesn't accept args
<gr33n7007h> certainty, That solves that, thanks
<certainty> there are a gazillion attempts to solve this. We've had this the other day. Almost everybody inhere has an implementation which does allow args
rahult has quit [Ping timeout: 240 seconds]
<shevy> apeiros wizard robe... are you the guy that goes to show what's underneath that robe???
<certainty> the nicest one was through callables. Something like #map(&:to_i.(16))
ben3 has joined #ruby
<gr33n7007h> no biggy, just something that was on my mind :)
dukz has quit [Remote host closed the connection]
<certainty> yeah i need that often too
popl has joined #ruby
popl has joined #ruby
<gr33n7007h> would be nice though
agrinb has joined #ruby
ghr has joined #ruby
mikepack has quit [Ping timeout: 265 seconds]
Merks has joined #ruby
notjohn has quit [Read error: Connection reset by peer]
notjohn has joined #ruby
dangerousdave has quit [Quit: Leaving...]
rvraghav93_ has quit [Read error: Connection reset by peer]
Stalkr_ has joined #ruby
sdouglas has joined #ruby
<Hanmac> i wrote a patch that allows Symbol -> proc to hold args like this, i think i still have them somewhere
maasha has joined #ruby
_root has joined #ruby
agrinb has quit [Ping timeout: 246 seconds]
<maasha> morn
okdas_ has quit [Remote host closed the connection]
sski has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
sski has joined #ruby
<apeiros> hi maasha
lele has quit [Ping timeout: 246 seconds]
<apeiros> maasha: can you relink me your forkpool?
sdouglas has quit [Ping timeout: 240 seconds]
<maasha> apeiros: sure
fabrice31 has quit [Remote host closed the connection]
andrewlio has quit [Quit: Leaving.]
<apeiros> thx
<maasha> apeiros: what annoys me most is that I don't really know where to start finding out why it is hanging. I suspect that it is IO blocking and may have nothing to do with fork.
rahult has joined #ruby
<maasha> apeiros: debugging and forking is a mess
<krz> how can i turn ['a', 'b', 'c'] to "'a', 'b', 'c'"
<apeiros> krz: map + join
<krz> what would the map be doing?
<apeiros> add the quotes
ikaros has joined #ruby
sski has quit [Ping timeout: 265 seconds]
<dumdedum> "'"+foo.join("', '") + "'"
rahult has quit [Client Quit]
lele has joined #ruby
<krz> actually array.join("', '") looks like it
fabrice31 has joined #ruby
timonv has quit [Remote host closed the connection]
<apeiros> that only gets you "a', 'b', 'c" (unless you omitted the wrapping, as suggested by dumdedum)
lemonsparrow has joined #ruby
sski has joined #ruby
dangerousdave has joined #ruby
Xeago has joined #ruby
Advocation has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
canton7-mac has joined #ruby
b00stfr3ak has quit [Ping timeout: 264 seconds]
SonicX has joined #ruby
elaptics`away is now known as elaptics
lighthair has joined #ruby
francisfish has joined #ruby
agjacome has quit [Quit: leaving]
<lighthair> what does "undefined method `ssl_version=' for #<Net::HTTP www.evernote.com:443 open=false>" means
nvrch has quit [Quit: nvrch]
camilasan has joined #ruby
nfk has quit [Ping timeout: 252 seconds]
* apeiros puts on captain obvious hat
relix has joined #ruby
<apeiros> it means that your instance of Net::HTTP does not have a method ssl_version=, which you try to call (directly or indirectly)
shaileshg has joined #ruby
luckyruby has quit [Remote host closed the connection]
deadlock has quit [Ping timeout: 268 seconds]
Abyss__ has joined #ruby
_root has quit [Quit: Leaving]
mbuf has quit [Ping timeout: 252 seconds]
Stalkr_ has quit [Quit: Leaving...]
<lighthair> I know very little about ruby. When I see this tip, I want to install libopenssl-ruby on my Ubuntu 12.04, but the terminal always let me choose libruby1.8 to install. I don't konw why. What should I do?
flowerpot has joined #ruby
kitak_ has joined #ruby
yasushi has joined #ruby
yasushi has quit [Remote host closed the connection]
flowerpot has quit [Client Quit]
flowerpot has joined #ruby
kitak has quit [Ping timeout: 260 seconds]
klaut has quit [Remote host closed the connection]
bradhe has joined #ruby
LexicalScope` has quit [Ping timeout: 265 seconds]
nopc0de has joined #ruby
keen_ has joined #ruby
nari has quit [Ping timeout: 264 seconds]
AlSquire has joined #ruby
lolmaus_ has joined #ruby
andrewlio has joined #ruby
freerobby has joined #ruby
lolmaus has quit [Ping timeout: 268 seconds]
lighthair has quit [Remote host closed the connection]
bradhe has quit [Ping timeout: 264 seconds]
abdulsattar has quit [Ping timeout: 265 seconds]
oneawayman has joined #ruby
mbuf has joined #ruby
chipotle has quit [Quit: cya]
<Macaveli> I currently have the following select and result https://gist.github.com/YOUConsulting/1790950b5871e5ec77c4 is it possible to add only application_groups with "X" to that select?
Jetchisel has quit [Ping timeout: 240 seconds]
lighthair has joined #ruby
tsunamie has joined #ruby
senayar_ has joined #ruby
freerobby has quit [Ping timeout: 268 seconds]
<Macaveli> I have it like this for the moment
<Macaveli> current_applications.select {|a| a.in_process?}.select{|b| b.application_group == ""}
<Macaveli> Possible to write it shorter?
senayar has quit [Ping timeout: 268 seconds]
hiall has joined #ruby
UserNameInvalid has joined #ruby
<apeiros> Macaveli: combine the condition in one select
<apeiros> a.in_process? && a.application_group == ""
<Macaveli> ash the && i was missing :)
<Macaveli> thanks! apeiros
pfg has joined #ruby
flowerpot has quit [Quit: leaving]
tachyonizer has joined #ruby
flowerpot has joined #ruby
endash_ has quit [Quit: endash_]
dukz has joined #ruby
banisterfiend has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<tsunamie> Hi There, I am looking to start learning more a bout ruby for debugging purouses. I have done bash and java before so I am familare with programing. Was hoping you guys could advise me on the follow. I primarily want to learn ruby so I can help with the development/debugging of logstash. (jruby) I have a set of .rb files which I want to run thougth and see the values of each of the varables and loop throught the logic as
<tsunamie> the system is running. Does anyone know how I would do that? Normally I would use eclipse and have the java project jecked out and built with Maven. Any guides you can provide would be great
pfg has quit [Client Quit]
Jetchisel has joined #ruby
<tsunamie> any takers?
flowerpot has quit [Quit: leaving]
claymore has quit [Quit: Leaving]
mengu has quit [Remote host closed the connection]
shevy has quit [Ping timeout: 240 seconds]
kennym has joined #ruby
fannye has joined #ruby
banister has joined #ruby
ephemerian has joined #ruby
<canton7-mac> it's really not clear on what you're after. downloading a ruby project? running it? using a debugger? maybe see https://github.com/jruby/jruby/wiki/UsingTheJRubyDebugger ?
mercwithamouth has joined #ruby
danshultz has joined #ruby
Celm has joined #ruby
flowerpot has joined #ruby
flowerpot has quit [Client Quit]
flowerpot has joined #ruby
yfeldblum has quit [Remote host closed the connection]
hiall has quit [Quit: hiall]
Advocation has quit [Quit: Advocation]
hiall has joined #ruby
hiall has quit [Client Quit]
DaniG2k has joined #ruby
okdas has joined #ruby
keen_ has left #ruby [#ruby]
Celm has quit [Ping timeout: 268 seconds]
Advocation has joined #ruby
phansch has joined #ruby
Merks has quit [Remote host closed the connection]
notjohn has quit [Quit: notjohn]
sbob99 has joined #ruby
Merks has joined #ruby
<tsunamie> canton7-mac, I wish to get involved with this project. https://github.com/elasticsearch/logstash/ They using some variant of jruby. the latests buiuld have the code that gets used for specific inputs/output controls are now made avaiable in the deployed project via files like this https://github.com/elasticsearch/logstash/blob/master/lib/logstash/inputs/s3.rb. I want to run throught the code line for line and look at the
<tsunamie> values/variable as they change when each line is run
nvrch has joined #ruby
skammer has joined #ruby
<tsunamie> an example is that I want to look at what happens every single time the s3.rb file is called and iterate throught each line as the code is run and look at all the values of the code as it's being run
fjfish has joined #ruby
dukz has quit [Remote host closed the connection]
<Hanmac> apeiros: Oculus VR died yesterday :'( ... facebook did bought the aquire Oculus
<apeiros> I know
lyanchih__ has joined #ruby
<apeiros> doesn't mean it's dead, though
<sbob99> Join #irc
sbob99 has quit [Quit: Bye]
blackmesa has joined #ruby
<Hanmac> lets say it died for me ...
pedda has joined #ruby
Merks has quit [Ping timeout: 240 seconds]
teddyp1cker has quit [Remote host closed the connection]
arietis has quit [Quit: Computer has gone to sleep.]
francisfish has quit [Ping timeout: 240 seconds]
heftig has joined #ruby
poikon has quit [Remote host closed the connection]
poikon has joined #ruby
xcv has joined #ruby
yasushi has joined #ruby
shevy has joined #ruby
UserNameInvalid has quit [Quit: Leaving]
noop has quit [Ping timeout: 264 seconds]
Speed has joined #ruby
francisfish has joined #ruby
arietis has joined #ruby
danshultz has quit [Remote host closed the connection]
danshultz has joined #ruby
fjfish has quit [Ping timeout: 246 seconds]
rahult has joined #ruby
_Andres has joined #ruby
Rix has quit [Ping timeout: 252 seconds]
mengu__ has joined #ruby
Rix has joined #ruby
pfg has joined #ruby
newbie1r has joined #ruby
newbie1r has quit [Client Quit]
kitak has joined #ruby
bradhe has joined #ruby
himsin has joined #ruby
poikon has quit [Remote host closed the connection]
timonv has joined #ruby
kitak_ has quit [Ping timeout: 260 seconds]
hiall has joined #ruby
bahar has quit [Ping timeout: 265 seconds]
bahar has joined #ruby
rvraghav93 has joined #ruby
bradhe has quit [Ping timeout: 252 seconds]
noop has joined #ruby
yfeldblum has joined #ruby
cjk101010 has quit [Ping timeout: 268 seconds]
yfeldblum has quit [Read error: Connection reset by peer]
danshultz has quit [Remote host closed the connection]
danshultz has joined #ruby
freerobby has joined #ruby
pfg has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> javascript javascript javascript
<shevy> Tiobe says ruby is ranked only 14 now
poikon has joined #ruby
cjk101010 has joined #ruby
<maasha> Hanmac: of only Onlive and OR had joined forces instead :o(
lkba has quit [Ping timeout: 246 seconds]
danshultz has quit [Ping timeout: 268 seconds]
<Hanmac> i hope someday FB will be such big that it implodes into itself ;P
jamto11 has joined #ruby
claymore has joined #ruby
freerobby has quit [Ping timeout: 245 seconds]
_5kg has quit [Read error: Connection reset by peer]
pmuens has joined #ruby
Speed has quit [Ping timeout: 240 seconds]
pmuens has left #ruby [#ruby]
jottr has joined #ruby
jamto11 has quit [Ping timeout: 264 seconds]
schaary is now known as schaary|afk
Rix has quit [Ping timeout: 240 seconds]
lazyguru has quit [Ping timeout: 253 seconds]
abdulsattar has joined #ruby
lighthair has quit [Ping timeout: 264 seconds]
Rix has joined #ruby
Xeago has quit [Remote host closed the connection]
Xeago has joined #ruby
lazyguru has joined #ruby
gaussblurinc has quit [Quit: Leaving.]
sailias has joined #ruby
patrick99e99 has quit [Ping timeout: 246 seconds]
gaussblurinc has joined #ruby
poikon has quit []
tachyonizer has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
patrick99e99 has joined #ruby
lyanchih__ has quit [Ping timeout: 264 seconds]
poikon has joined #ruby
evenix has joined #ruby
Xeago_ has joined #ruby
blackmesa has quit [Quit: WeeChat 0.4.3]
Xeago_ has quit [Read error: Connection reset by peer]
SonicX has quit [Ping timeout: 252 seconds]
Xeago_ has joined #ruby
tvw has joined #ruby
sailias has quit [Ping timeout: 264 seconds]
<DouweM> benzrf|offline: so, what'd you want me to try?
Xeago_ has quit [Remote host closed the connection]
Bounga has joined #ruby
Xeago has quit [Ping timeout: 245 seconds]
agrinb has joined #ruby
CyborgCygnus has quit [Remote host closed the connection]
evenix has quit [Ping timeout: 265 seconds]
_5kg has joined #ruby
abra_ has joined #ruby
francisfish has quit [Remote host closed the connection]
abra has quit [Ping timeout: 268 seconds]
poikon has quit [Remote host closed the connection]
Vlat- has quit [Read error: Connection reset by peer]
poikon has joined #ruby
pfg has joined #ruby
senayar_ has quit [Ping timeout: 240 seconds]
Deele has joined #ruby
newUser1234 has quit [Remote host closed the connection]
strg has joined #ruby
mbuf has quit [Quit: Leaving]
agrinb has quit [Ping timeout: 240 seconds]
lemonsparrow has quit [Ping timeout: 245 seconds]
francisfish has joined #ruby
phansch has quit [Quit: WeeChat 0.4.2]
oneawayman has quit [Ping timeout: 246 seconds]
senayar has joined #ruby
_5kg has quit [Ping timeout: 268 seconds]
koderok has joined #ruby
pfg has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Hanmac> shevy: i dont like the tiobe ranking ... like "language of the Year" 2013 Transact-SQL => "Transact-SQL (T-SQL) is Microsoft's and Sybase's >>proprietary<< extension to SQL." that means that language is dead for me before i looked at it
shevy has quit [Ping timeout: 264 seconds]
mengu__ has quit [Ping timeout: 240 seconds]
fabrice31 has quit [Remote host closed the connection]
cjk101010 has quit [Read error: Operation timed out]
mengu has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
notjohn has joined #ruby
mrnugget has quit [Quit: mrnugget]
pfg has joined #ruby
phansch has joined #ruby
tcstar has joined #ruby
jollyy has joined #ruby
endash_ has joined #ruby
Speed has joined #ruby
bradhe has joined #ruby
camilasan has quit [Remote host closed the connection]
maximski has joined #ruby
camilasan has joined #ruby
_5kg has joined #ruby
patrick99e99 has quit [Ping timeout: 264 seconds]
camilasa_ has joined #ruby
senayar has quit [Remote host closed the connection]
shevy has joined #ruby
patrick99e99 has joined #ruby
camilas__ has joined #ruby
greenarrow has joined #ruby
cjk101010 has joined #ruby
camila___ has joined #ruby
greenarrow has quit [Client Quit]
camil____ has joined #ruby
bradhe has quit [Ping timeout: 245 seconds]
senayar has joined #ruby
camilasan has quit [Ping timeout: 240 seconds]
camilasan has joined #ruby
mrnugget has joined #ruby
camilasa_ has quit [Ping timeout: 240 seconds]
camilasa_ has joined #ruby
camilas__ has quit [Ping timeout: 240 seconds]
mercwithamouth has quit [Ping timeout: 240 seconds]
camilasa_ has quit [Read error: Connection reset by peer]
cami_____ has joined #ruby
fabrice31 has joined #ruby
<gaussblurinc> how to pass array-argument-option to OptionParser?
bambuka has joined #ruby
cami_____ has quit [Read error: Connection reset by peer]
cjk101010 has quit [Read error: Operation timed out]
camilasa_ has joined #ruby
camila___ has quit [Ping timeout: 240 seconds]
<gaussblurinc> uh, see, Array
camil____ has quit [Ping timeout: 240 seconds]
camilas__ has joined #ruby
mehlah has quit [Quit: Leaving...]
camilas__ has quit [Read error: Connection reset by peer]
camilasan has quit [Ping timeout: 240 seconds]
camilasan has joined #ruby
cjk101010 has joined #ruby
vlad_starkov has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
pyreal has joined #ruby
nari has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
pyreal has quit [Client Quit]
camilasan has quit [Read error: Connection reset by peer]
yfeldblum has joined #ruby
camilasa_ has quit [Ping timeout: 240 seconds]
pyreal has joined #ruby
camilasan has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
Mrdarknezz has quit [Ping timeout: 264 seconds]
nvrch has quit [Quit: nvrch]
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
lighthair has joined #ruby
banister has joined #ruby
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
patrick99e99 has quit [Ping timeout: 268 seconds]
camilasa_ has quit [Read error: Connection reset by peer]
BaconOverflow has quit [Quit: Connection closed for inactivity]
freerobby has joined #ruby
pfg has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
himsin has quit [Quit: himsin]
camilasan has joined #ruby
patrick99e99 has joined #ruby
mehlah has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
lighthair has quit [Remote host closed the connection]
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
cjk101010 has quit [Read error: Operation timed out]
camilasan has joined #ruby
camilasa_ has quit [Read error: Connection reset by peer]
lampe2_ has joined #ruby
ZoanthusR has joined #ruby
camilasa_ has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
yasushi has quit [Remote host closed the connection]
senayar has quit [Remote host closed the connection]
camilasa_ has quit [Read error: Connection reset by peer]
freerobby has quit [Ping timeout: 265 seconds]
camilasan has joined #ruby
gaussblurinc has quit [Quit: Leaving.]
nfk has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
JasmeetQA has quit [Read error: Connection reset by peer]
nemesit|znc has joined #ruby
camilasan has quit [Read error: Connection reset by peer]
camilasan has joined #ruby
jollyy has quit [Quit: jollyy]
camilasan has quit [Remote host closed the connection]
camilasan has joined #ruby
popl has quit [Ping timeout: 268 seconds]
cjk101010 has joined #ruby
senayar has joined #ruby
klaut has joined #ruby
patrick99e99 has quit [Ping timeout: 264 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AlexRussia has joined #ruby
dblessing has joined #ruby
cjk101010 has quit [Ping timeout: 265 seconds]
mary5030 has joined #ruby
jollyy has joined #ruby
Ziarkaen has joined #ruby
djancak has quit [Ping timeout: 268 seconds]
notjohn has quit [Quit: notjohn]
cjk101010 has joined #ruby
Mrdarknezz has joined #ruby
sambao21 has joined #ruby
vt102 has joined #ruby
chaos___________ has joined #ruby
lkba has joined #ruby
sdouglas has joined #ruby
djancak has joined #ruby
djancak is now known as djancak
djancak has quit [Changing host]
djancak has joined #ruby
jollyy has quit [Read error: Connection reset by peer]
jollyy has joined #ruby
deadlock has joined #ruby
senayar has quit [Remote host closed the connection]
Xeago has joined #ruby
sdouglas has quit [Ping timeout: 265 seconds]
DaniG2k has quit [Quit: leaving]
djancak has quit [Ping timeout: 240 seconds]
fieldfirst has joined #ruby
Xeago_ has joined #ruby
Xeago has quit [Ping timeout: 268 seconds]
shaunbaker has joined #ruby
cjk101010 has quit [Read error: Operation timed out]
Xeago has joined #ruby
jlast has joined #ruby
teddyp1cker has joined #ruby
cjk101010 has joined #ruby
bradhe has joined #ruby
Xeago_ has quit [Ping timeout: 240 seconds]
benzrf|offline is now known as benzrf
notjohn has joined #ruby
Advocation has quit [Quit: Advocation]
tcarlsen has left #ruby [#ruby]
djancak has joined #ruby
djancak is now known as djancak
djancak has joined #ruby
djancak has quit [Changing host]
teddyp1cker has quit [Ping timeout: 264 seconds]
bradhe has quit [Ping timeout: 252 seconds]
lw has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
browndawg has joined #ruby
djancak has quit [Ping timeout: 240 seconds]
_justin has joined #ruby
fella6s has quit [Read error: Connection reset by peer]
abdulsattar has quit [Ping timeout: 265 seconds]
cjk101010 has quit [Ping timeout: 240 seconds]
klaut has quit [Remote host closed the connection]
eka has joined #ruby
cjk101010 has joined #ruby
yacks has quit [Ping timeout: 268 seconds]
proximo has joined #ruby
Advocation has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
djancak has joined #ruby
djancak has joined #ruby
djancak has quit [Changing host]
yfeldblum has joined #ruby
endash_ has quit [Quit: endash_]
toretore has joined #ruby
pmuens has joined #ruby
pmuens has left #ruby [#ruby]
tjr9898 has quit [Remote host closed the connection]
freerobby has joined #ruby
mbrgm has joined #ruby
mark_locklear has joined #ruby
<mbrgm> hi everyone! can I use a method or class from a gem which has not been defined as a module_method?
sdwrage has joined #ruby
<mbrgm> i mean module_function
ZoanthusR has quit [Quit: Linkinus - http://linkinus.com]
yfeldblum has quit [Ping timeout: 265 seconds]
napcae is now known as habanera
<benzrf> mbrgm: I do not understand your question o-o
freerobby has quit [Ping timeout: 245 seconds]
<benzrf> DouweM: how do
simono has joined #ruby
<DouweM> yo
<mbrgm> benzrf: https://github.com/steveklabnik/metadown/blob/master/lib/metadown/metadata_parser.rb here you can see the definition of the MetadataParser class. I want to use this class in my program. i included the gem using require 'metadown'. my question is: how do i access the MetadataParser class?
Vlat- has joined #ruby
djancak has quit [Ping timeout: 264 seconds]
<DouweM> Metadown::MetadataParser
<DouweM> but why would you want to use the class directly? Just go through Metadown.parse
djancak has joined #ruby
djancak is now known as djancak
djancak has quit [Changing host]
djancak has joined #ruby
<DouweM> as the readme prescribes
rmorello has joined #ruby
<mbrgm> DouweM: the readme offers the metadata hash and a rendered version of the text (without metadata) included in the markdown file. however, i want to get the plain markdown text
<DouweM> all right
jollyy_ has joined #ruby
jollyy has quit [Ping timeout: 265 seconds]
jollyy_ is now known as jollyy
nari has quit [Ping timeout: 240 seconds]
freerobby has joined #ruby
<mbrgm> DouweM: ok, so I'm calling parser = Metadown::MetadataParser.new(filecontent) now, but it fails with uninitialized constant Metadown::MetadataParser (NameError)
charliesome has quit [Quit: Textual IRC Client: www.textualapp.com]
workmad3 has joined #ruby
<Hanmac> mbrgm: metadown was not required
<Hanmac> and if it is, maybe you need to require metadataparser extra
<mbrgm> Hanmac: require 'metadown' is where it should be
<mbrgm> Hanmac: require 'metadown/metadata_parser'
<mbrgm> fails
koderok has quit [Ping timeout: 240 seconds]
<mbrgm> obviously because i installed metadown as a gem.
<Hanmac> hm nope it should work
freerobby has quit [Ping timeout: 240 seconds]
larissa has joined #ruby
poikon has quit [Remote host closed the connection]
<Hanmac> mbrgm: do you use rvm or bundler or something similar?
jaywastaken has joined #ruby
<mbrgm> Hanmac: bundler
freerobby has joined #ruby
roolo has joined #ruby
<Hanmac> i dont know but that might be the problem ... does metadown shows inside of "gem list" ?
brianeasley has quit [Quit: Lost terminal]
linojon has joined #ruby
<mbrgm> Hanmac: yup
pu22l3r has joined #ruby
strg has quit [Ping timeout: 252 seconds]
abdulsattar has joined #ruby
Papipo has joined #ruby
<Papipo> Hi there
habanera is now known as napcae
mostlybadfly has joined #ruby
dx7 has quit [Remote host closed the connection]
freezey has joined #ruby
<Papipo> Hi there
<Papipo> again
<Papipo> :D
dx7 has joined #ruby
<Papipo> anybody knows if there is a way to "precompile" a script in therubyracer?
<Papipo> to save cycles for further executions
ezelohar has joined #ruby
<Papipo> any other scripting implementation that allows that and is fest enough would do the trick
<Hanmac> mbrgm: you installed wrong version of it
freezey has quit [Read error: Connection reset by peer]
arturaz has joined #ruby
freezey has joined #ruby
<mbrgm> Hanmac: damnit, you're right
strg has joined #ruby
<mbrgm> Hanmac: ty!
agrinb has joined #ruby
tkuchiki has quit [Ping timeout: 265 seconds]
predator217 has quit [Ping timeout: 246 seconds]
benzrf is now known as benzrf|offline
predator117 has joined #ruby
dx7 has quit [Ping timeout: 268 seconds]
poikon has joined #ruby
davedev24 has joined #ruby
Frank13760 has joined #ruby
Celm has joined #ruby
mary5030 has quit [Remote host closed the connection]
mbrgm has quit [Quit: Page closed]
phansch has quit [Ping timeout: 264 seconds]
fella5s has joined #ruby
mary5030 has joined #ruby
agrinb has quit [Ping timeout: 264 seconds]
strg has quit [Ping timeout: 240 seconds]
jollyy has quit [Quit: jollyy]
nvrch has joined #ruby
soulcake has quit [Read error: Connection reset by peer]
chris_thomson has joined #ruby
Celm has quit [Ping timeout: 265 seconds]
soulcake has joined #ruby
benzrf|offline is now known as benzrf
<benzrf> hej da
bradhe has joined #ruby
predator117 has quit [Ping timeout: 240 seconds]
CreativeEmbassy has joined #ruby
danshultz has joined #ruby
dukz has joined #ruby
chris_thomson has quit [Quit: Zzz...]
yacks has joined #ruby
ephemerian has quit [Quit: Leaving.]
sailias has joined #ruby
bradhe has quit [Ping timeout: 252 seconds]
jkamenik has joined #ruby
jobewan has joined #ruby
mark_locklear has quit [Remote host closed the connection]
dukz has quit [Ping timeout: 252 seconds]
MohamedAlaa has joined #ruby
mark_locklear has joined #ruby
mikemar10 has joined #ruby
Xeago has quit [Remote host closed the connection]
dayepa has joined #ruby
kobain has quit [Ping timeout: 240 seconds]
Xeago has joined #ruby
larissa has quit [Quit: Leaving]
poikon has quit [Remote host closed the connection]
larissa has joined #ruby
okdas has quit [Read error: Connection reset by peer]
okdas_ has joined #ruby
okdas_ has quit [Client Quit]
okdas has joined #ruby
bubblehead has joined #ruby
simono_ has joined #ruby
Xeago has quit [Ping timeout: 252 seconds]
dik_dak has joined #ruby
Advocation has quit [Quit: Advocation]
kobain has joined #ruby
alekst has joined #ruby
doodlehaus has joined #ruby
sk87 has joined #ruby
phansch has joined #ruby
papercode has quit [Quit: WeeChat 0.4.3]
patrick99e99 has joined #ruby
ziyadb_ has joined #ruby
simono has quit [Ping timeout: 240 seconds]
juarlex has joined #ruby
senayar has joined #ruby
senayar has quit [Remote host closed the connection]
kitak has quit [Remote host closed the connection]
lukec has joined #ruby
senayar has joined #ruby
klaut has joined #ruby
sambao21 has joined #ruby
simono_ has quit [Ping timeout: 268 seconds]
havenwood has quit [Remote host closed the connection]
nffff has joined #ruby
ezrios has quit [Ping timeout: 265 seconds]
momomomomo has joined #ruby
kitak has joined #ruby
havenwood has joined #ruby
cover has joined #ruby
coderxin has joined #ruby
gaussblurinc has joined #ruby
patrick99e99 has quit [Ping timeout: 268 seconds]
havenn has joined #ruby
predator117 has joined #ruby
S0da has quit [Remote host closed the connection]
havenwood has quit [Read error: Connection reset by peer]
freezey has quit [Remote host closed the connection]
Kneferilis has quit [Ping timeout: 268 seconds]
CreativeEmbassy has quit [Quit: FO SHO]
tkuchiki has joined #ruby
kitak has quit [Ping timeout: 260 seconds]
sdwrage has quit [Quit: This computer has gone to sleep]
yfeldblum has joined #ruby
CreativeEmbassy has joined #ruby
troyreadyy has joined #ruby
simono has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
dayepa has quit [Remote host closed the connection]
browndawg1 has joined #ruby
rudisimo has joined #ruby
browndawg has quit [Ping timeout: 265 seconds]
gigetoo has quit [Remote host closed the connection]
gigetoo has joined #ruby
troyready has quit [Ping timeout: 246 seconds]
alexju has joined #ruby
yfeldblum has quit [Ping timeout: 265 seconds]
mercwithamouth has joined #ruby
afreidah has joined #ruby
m1lt0n_ has joined #ruby
alexju has quit [Remote host closed the connection]
pu22l3r has quit [Remote host closed the connection]
simono has quit [Ping timeout: 240 seconds]
juarlex has quit [Remote host closed the connection]
meatherly has joined #ruby
pu22l3r has joined #ruby
kpshek has joined #ruby
enebo has joined #ruby
phansch has quit [Quit: WeeChat 0.4.2]
nari has joined #ruby
troyreadyyy has joined #ruby
lw has quit [Quit: s]
bambuka has quit [Quit: Saliendo]
poikon has joined #ruby
troyreadyy has quit [Ping timeout: 268 seconds]
matcouto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
simono has joined #ruby
aagdbl has quit [Quit: This computer has gone to sleep]
codabrink has joined #ruby
juarlex has joined #ruby
predator117 has quit [Ping timeout: 264 seconds]
Advocation has joined #ruby
zachallett has joined #ruby
Advocation has quit [Client Quit]
krz has quit [Quit: WeeChat 0.4.3]
Advocation has joined #ruby
juarlex has quit [Remote host closed the connection]
arya_ has joined #ruby
larissa has quit [Quit: Leaving]
_tpavel has joined #ruby
banister has joined #ruby
rvraghav93 has quit [Quit: No Ping reply in 180 seconds.]
rvraghav93 has joined #ruby
coderxin has quit [Remote host closed the connection]
abdulsattar has quit [Ping timeout: 252 seconds]
jollyy has joined #ruby
bradhe has joined #ruby
depesz has joined #ruby
terrellt has joined #ruby
<depesz> Hi, I have two hashes, both with multiple levels of values. Is there a way I can "combine" them? each value is either a scalar or a hash, there are no arrays.
DallasG has joined #ruby
MattStratton has joined #ruby
simono has quit [Ping timeout: 265 seconds]
ce_afk is now known as cescalante
<benzrf> depesz: something tells me you come from perl
<DouweM> depesz: example?
<depesz> I do
evenix has joined #ruby
<benzrf> 1 sec let me write something
<depesz> DouweM: hmmm ... let's say (i'm typing it in here, so there could be typos:
<benzrf> you want to do a recursive merge, right?
arya_ has quit [Quit: bye]
<depesz> a = { "b" => 1, "c" => { "d" => 2 } }
<benzrf> depesz: hold on i got this
Frank13760 has left #ruby [#ruby]
<DouweM> hehe
<depesz> ok
<depesz> yes. recursive merge.
<depesz> i can write it myself, but I was hoping there is some kind of "builtin"
_Andres has quit [Read error: Connection reset by peer]
<benzrf> i doubt it
<depesz> :(
strg has joined #ruby
mansi has joined #ruby
alekst has quit [Quit: Leaving...]
bradhe has quit [Ping timeout: 252 seconds]
<depesz> hash.merge() is almost ideal, but it overwrites subhashes
notjohn has quit [Quit: notjohn]
<benzrf> does it take a block
<havenn> depesz: You could use ActiveSupport's Hash#deep_merge I suppose: require 'active_support/core_ext/hash/deep_merge'
<benzrf> depesz: how about this http://bpaste.net/show/193929
<depesz> benzrf: merge(other_hash){|key, oldval, newval| block} →
<benzrf> sweet.
<depesz> havenn: "active_support"?
teddyp1cker has joined #ruby
<benzrf> you can simplify my example then :-)
dx7 has joined #ruby
<depesz> oooh. i like the idea of extending base class. nice.
senayar_ has joined #ruby
freezey has joined #ruby
andy__ has joined #ruby
<benzrf> depesz: it is ruby's solution of the problem of having all functions as methods on appropriate objects while letting users create new functions
simono has joined #ruby
jackneill has joined #ruby
senayar has quit [Ping timeout: 240 seconds]
<depesz> does it look like sane approach?
jackneill has quit [Client Quit]
<benzrf> mostlybadfly:
<benzrf> *mostly
<benzrf> how does merge handle when you have a key in one but not the other?
lw has joined #ruby
mengu has quit [Remote host closed the connection]
Kruppe has quit [Quit: ZNC - http://znc.in]
Xiti has quit [Ping timeout: 265 seconds]
<depesz> properly :) i tested on: a = { "b" => 1, "c" => { "d" => 2 } } ; b = { "x" => 9, "c" => { "e" => 2 } }
brain_shim has joined #ruby
<depesz> result is as expected: {"b"=>1, "c"=>{"d"=>2, "e"=>2}, "x"=>9}
<havenn> depesz: Just a gem. You can cherry pick the part you like with the long require like ^. Often nice to just implement what you're looking to do. But here's ActiveSupport's stab at it: https://github.com/rails/rails/blob/master/activesupport/lib/active_support/core_ext/hash/deep_merge.rb
jackneill has joined #ruby
coderxin has joined #ruby
<depesz> thanks, havenn
aagdbl has joined #ruby
Kruppe has joined #ruby
ffranz has joined #ruby
DrShoggoth has joined #ruby
poikon has quit [Remote host closed the connection]
krz has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
rvraghav93 has quit [Ping timeout: 264 seconds]
sk87 has joined #ruby
alexju has joined #ruby
nateberkopec has joined #ruby
cescalante is now known as ce_afk
no6 has joined #ruby
rvraghav93 has joined #ruby
aagdbl has quit [Quit: This computer has gone to sleep]
mary5030 has quit [Remote host closed the connection]
toastynerd has quit [Remote host closed the connection]
ayaz has quit [Quit: Textual IRC Client: www.textualapp.com]
mercwithamouth has quit [Ping timeout: 245 seconds]
Kneferilis has joined #ruby
Xeago has joined #ruby
theRoUS has quit [Changing host]
theRoUS has joined #ruby
DallasG has quit [Ping timeout: 265 seconds]
makara has quit [Quit: Leaving]
Xeago has quit [Ping timeout: 252 seconds]
rvraghav93 has quit [Ping timeout: 265 seconds]
juarlex has joined #ruby
Bumptious has joined #ruby
yfeldblum has joined #ruby
SCommette has joined #ruby
SCommette has joined #ruby
toastynerd has joined #ruby
tjr9898 has joined #ruby
rvraghav93 has joined #ruby
sdouglas has joined #ruby
zz_jrhorn424 is now known as jrhorn424
marcdel has joined #ruby
FiXion has joined #ruby
<FiXion> trying to make ruby templates bend to my will. <% 1.upto(@instances.to_i) do | instanceno | %>127.0.0.1:<%= 2200+ instanceno %>:<%= instanceno %>, <% end -%>
<FiXion> problem is that this ends with ,
Celm has joined #ruby
yfeldblum has quit [Ping timeout: 265 seconds]
_justin has quit [Quit: _justin]
Solnse has joined #ruby
<FiXion> I figured I'd try to simply build an array of strings, containing "127.0.0.1:2201:1", "127.0.0.1:2202:2" etc.
andy__ has quit [Read error: Connection reset by peer]
<DouweM> only insert the , if instanceno < ( @instances.to_i - 1) ?
<FiXion> but I can't make it do that :(
jds has joined #ruby
tjr9898 has quit [Ping timeout: 264 seconds]
<DouweM> you can also go the array way
andy__ has joined #ruby
<FiXion> DouweM: I can't make either work :(
<DouweM> why doesn't the if-way work?
<FiXion> I'll try.. it should
ce_afk is now known as cescalante
lavaman has joined #ruby
anarang has quit [Quit: Leaving]
andy__ has quit [Read error: Connection reset by peer]
marcdel has quit [Ping timeout: 240 seconds]
fieldfirst has quit [Ping timeout: 252 seconds]
rvraghav93_ has joined #ruby
andy__ has joined #ruby
sski has quit [Remote host closed the connection]
<FiXion> DouweM: any hints as to how I could build an array.. something like 1.upto(@instances.to_i) do |instanceno| mydests.push("string" ) ?
rvraghav93 has quit [Ping timeout: 252 seconds]
<apeiros> FiXion: <%= 1.upto(@instances.to_i).map { |i| "127.0.0.1:#{i+2200}" }.join(', ') %>
sski has joined #ruby
marcdel has joined #ruby
<DouweM> add in another `:#{i}` there as well and you're golden
gregf has joined #ruby
<DouweM> and gotta love enumerators :)
<benzrf> DouweM: try my project now =3
<FiXion> ahh. map.. I'll make a note of that.
<DouweM> benzrf: link meeeh
<FiXion> DouweM: thank you very much.
_5kg has quit [Remote host closed the connection]
<benzrf> DouweM: gh/benzrf/quick
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mforrester has joined #ruby
yfeldblum has joined #ruby
<benzrf> DouweM: gon be a thing where you have a running ruby process and u can edit files in a FUSE system to define methods and stuff
S0da has joined #ruby
<benzrf> smalltalk-style B)
snath has quit [Ping timeout: 246 seconds]
<benzrf> will include support for freezing and thawing with dmtcp
geggam has joined #ruby
<DouweM> dafuq. walk me through it :P
<benzrf> ok 1 minute
<DouweM> although wait, rfuse doesn't want ot be installed
jorts has joined #ruby
DaniG2k has joined #ruby
<benzrf> do u have libfuse-dev
sski has quit [Ping timeout: 252 seconds]
<DouweM> probably not
<benzrf> install pls
predator117 has joined #ruby
Xeago has joined #ruby
<FiXion> DouweM: this fails <% 1.upto(@instances.to_i).map { |i| “127.0.0.1:#{i+2200}:#{i}” }.join(’, ‘) %> - says invalid char in expression
<benzrf> FiXion: that looks horrifying.
<FiXion> I'm guessing the "127.. is not seen as string?
<crome> :D
<benzrf> FiXion: could it be an issue with your smart quotes
<benzrf> try using regular ones =p
* FiXion is not very good at ruby..
andy__ has quit [Remote host closed the connection]
meatherly has quit [Remote host closed the connection]
<FiXion> dooh. darn copy'paste.. :)
andy__ has joined #ruby
phansch has joined #ruby
<benzrf> DouweM: fuse fusion
<FiXion> benzrf: thank you for noticing
meatherly has joined #ruby
<DouweM> benzrf: fwiw, this is the error I'm seeing: "error: no member named 'nonseekable' in 'struct fuse_file_info'"
<DouweM> in compiling file_info.c
lmickh has joined #ruby
rayners has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
notjohn has joined #ruby
lw has quit [Quit: s]
Zai00 has joined #ruby
<benzrf> o-O
kpshek has quit []
yfeldblum has quit [Ping timeout: 265 seconds]
<benzrf> maybe conflicting versions :i
andy___ has joined #ruby
mikepack has joined #ruby
rvraghav93_ has quit [Read error: Connection reset by peer]
<apeiros> FiXion: a) wrong quotes, b) you used <% instead of <%=
andy___ is now known as Guest89483
<benzrf> aha, oops :o
<apeiros> FiXion: you could have just copy pasted what I wrote…
sambao21 has quit [Quit: Computer has gone to sleep.]
sdouglas has quit [Remote host closed the connection]
<apeiros> FiXion: or does your irc client change quotes to "smart quotes"?
<DouweM> benzrf: how do I get an updated libfuse for OS X?
* benzrf shrugs
<FiXion> apeiros: I accidently copy'pasted from my own "notes" wiki.. and it altered the quotes..
<benzrf> DouweM: use a better OS
<benzrf> :-D
<DouweM> :')
<benzrf> another guy on osx got it to work
<DouweM> let's see if I can find something
<benzrf> dont ask me :U
<apeiros> FiXion: don't forget the <%= vs. <% part
andy__ has quit [Ping timeout: 240 seconds]
<FiXion> yup. got it working now :)
<FiXion> much nicer with the map method
rvraghav93 has joined #ruby
_5kg has joined #ruby
meatherly has quit [Ping timeout: 252 seconds]
kpshek has joined #ruby
bradhe has joined #ruby
jlast has quit [Remote host closed the connection]
Macaveli has quit [Ping timeout: 252 seconds]
mikepack has quit [Ping timeout: 240 seconds]
sambao21 has joined #ruby
jlast has joined #ruby
<benzrf> DouweM: trust me this is gonna be TOTALLY worth it
<benzrf> :-y
<DouweM> *grumble*
agrinb has joined #ruby
ffranz has quit [Quit: Leaving]
Xeago_ has joined #ruby
klaas has quit [Read error: Connection reset by peer]
<maasha> apeiros: I narrowed the location of the forkpool hang (and borrowed your marshall code, which didn't help) https://gist.github.com/maasha/af4df2d4f0fe9c6211b7
james_d_h has joined #ruby
Xeago_ has quit [Read error: Connection reset by peer]
phansch has quit [Quit: WeeChat 0.4.2]
lw has joined #ruby
bradhe has quit [Ping timeout: 245 seconds]
Xeago_ has joined #ruby
<DouweM> benzrf: dammit, still the same error
claymore has quit [Quit: Leaving]
<benzrf> dude.
<benzrf> thats dumb
crystal77 has joined #ruby
<benzrf> i have fusermount version: 2.9.2
<benzrf> u?
<DouweM> Dude I have osxfuse 2.9.2
<DouweM> Lemme checkthis out: https://github.com/lwoggardner/rfuse/pull/2
sambao21 has quit [Client Quit]
bilbo_swaggins has joined #ruby
vlad_starkov has joined #ruby
ffranz has joined #ruby
<shevy> osxfuse?
<shevy> what can be done with that?
<shevy> is it like unionfs mounting several dirs into a new hierarchy?
<benzrf> im using rfusefs tho
<DouweM> that site doesn't have the clearest description...
<shevy> nono
mikepack has joined #ruby
nffff has quit [Ping timeout: 245 seconds]
<shevy> I can read up stuff
<benzrf> o wait that depends on rfusefs
agrinb has quit [Ping timeout: 240 seconds]
lolmaus_ has quit [Ping timeout: 240 seconds]
<shevy> but I mean, people who understand it
mikepack has quit [Remote host closed the connection]
<shevy> like - is it useful for anything
Xeago has quit [Ping timeout: 268 seconds]
<benzrf> i had bilbo_swaggins try it and it worked on his end
<benzrf> o-o
<DouweM> I know it's used to support NTFS on OS X
<benzrf> [after misery]
<shevy> aha ok
<shevy> so we can mount those windows games
<shevy> and PLAY
tylersmith has joined #ruby
<DouweM> It's read-only by default, but with Fuse there's a full NTFS implementation
mikepack has joined #ruby
sambao21 has joined #ruby
<DouweM> benzrf: that OS X pull request is too old :/
toastynerd has quit [Remote host closed the connection]
<benzrf> >tfw
DallasG has joined #ruby
<DouweM> can you at least tell me what the gem is supposed to do? :p
Papipo has left #ruby [#ruby]
patrick99e99 has joined #ruby
Port3M5[Work] has quit [Read error: Operation timed out]
Xeago has joined #ruby
george2 has quit [Read error: Connection reset by peer]
<benzrf> cool shit
<benzrf> hold on
kevind has joined #ruby
MatthewsFace has joined #ruby
eynj has joined #ruby
Xeago__ has joined #ruby
Xeago_ has quit [Read error: Connection reset by peer]
george2 has joined #ruby
dEPy has joined #ruby
S0da has quit [Remote host closed the connection]
_Andres has joined #ruby
Ca11yWally is now known as cba
<DouweM> that's pretty cool
Shidash has joined #ruby
<benzrf> it is not even close to done
freerobby has quit [Quit: Leaving.]
marcdel has quit []
<DouweM> What do you need rfusefs for?
maasha has quit [Ping timeout: 245 seconds]
<benzrf> ...the fs?
lsmola_ has quit [Ping timeout: 264 seconds]
poguez_ has joined #ruby
sk87 has joined #ruby
<DouweM> I don't see what wouldn't work using just File/Dir and a gem like listen: https://github.com/guard/listen
danman_ has joined #ruby
Asher has quit [Quit: Leaving.]
Xeago has quit [Ping timeout: 265 seconds]
mauror has joined #ruby
fieldfirst has joined #ruby
sdwrage has joined #ruby
sdwrage has quit [Client Quit]
randomnick_ has joined #ruby
vlad_starkov has quit [Remote host closed the connection]
noop has quit [Ping timeout: 268 seconds]
<benzrf> DouweM: because it needs to be dynamically updating to reflect the module hierarchy
<benzrf> DouweM: and that would be a massive PITA with anything else
<benzrf> cd ../Kernel/
<benzrf> quick def new_kernel_method
<benzrf> ^not super ez to do w/o fuse
<DouweM> right
<benzrf> what if i make a new class
<benzrf> how can i hook that
no6 has quit [Quit: leaving]
lxsameer has quit [Quit: Leaving]
arubincloud has joined #ruby
lethjakm1 has joined #ruby
aagdbl has joined #ruby
Xeago__ has quit [Remote host closed the connection]
Port3M5[Work] has joined #ruby
byprdct has joined #ruby
terrellt_ has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
aagdbl has quit [Client Quit]
geopet has joined #ruby
browndawg1 has quit [Quit: Leaving.]
x77686d has joined #ruby
aganov has quit [Quit: Leaving]
tagrudev has quit [Remote host closed the connection]
MatthewsFace has quit [Ping timeout: 240 seconds]
axl_ has joined #ruby
contradictioned has joined #ruby
terrellt has quit [Ping timeout: 268 seconds]
rm_ has joined #ruby
jollyy has quit [Ping timeout: 264 seconds]
jollyy_ has joined #ruby
skammer is now known as skammer|afk
vlad_starkov has joined #ruby
MatthewsFace has joined #ruby
axl_ has quit [Client Quit]
nomenkun has quit [Remote host closed the connection]
<shevy> call a hooker
pietr0 has quit [Quit: pietr0]
nomenkun has joined #ruby
tkuchiki has quit [Remote host closed the connection]
skammer|afk is now known as skammer
tylersmith has quit [Remote host closed the connection]
poikon has joined #ruby
kevind_ has joined #ruby
lsmola_ has joined #ruby
tylersmith has joined #ruby
DallasG has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
spicerack has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<bilbo_swaggins> benzrf: I lack the vision of what you'll do with this project still, but if you can make it painless, I'll certainly keep playing with it.
<bilbo_swaggins> Then again I haven't properly dug into Pry at all yet
dkamioka has joined #ruby
hobodave has joined #ruby
kevind has quit [Ping timeout: 252 seconds]
mauror has left #ruby ["Part"]
kevind_ is now known as kevind
dgaffney has quit [Remote host closed the connection]
dgaffney has joined #ruby
dangerousdave has quit [Read error: Connection reset by peer]
Dave has joined #ruby
nomenkun has quit [Ping timeout: 264 seconds]
lw has quit [Quit: b]
Dave is now known as Guest13603
<benzrf> =D
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<bilbo_swaggins> just please don't sell out to Facebook. Or if you do be honest and say it was for the money.
<bilbo_swaggins> I'd understand.
tylersmith has quit [Ping timeout: 265 seconds]
bufferloss has joined #ruby
baroquebobcat has joined #ruby
senayar_ has quit [Remote host closed the connection]
bklane has joined #ruby
<benzrf> =)
Guest13603 has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
mr_snowf1ake has joined #ruby
hobodave has quit [Ping timeout: 252 seconds]
patrick99e99 has quit [Ping timeout: 264 seconds]
simono has quit [Ping timeout: 268 seconds]
simono has joined #ruby
agrinb has joined #ruby
dgaffney has quit [Ping timeout: 268 seconds]
flowerpot has quit [Quit: leaving]
ktosiek has quit [Ping timeout: 264 seconds]
mary5030 has joined #ruby
mieko has joined #ruby
ktosiek has joined #ruby
bilbo_swaggins has quit [Quit: Leaving]
bilbo_swaggins has joined #ruby
sdouglas has joined #ruby
snath has joined #ruby
b00stfr3ak has joined #ruby
b00stfr3ak has joined #ruby
mary5030 has quit [Ping timeout: 264 seconds]
senayar has joined #ruby
sdouglas has quit [Remote host closed the connection]
Maitiu has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
lethjakm1 has quit [Ping timeout: 252 seconds]
sambao21 has joined #ruby
markisonfire has joined #ruby
eynj has quit [Quit: Leaving.]
wallerdev has joined #ruby
Maitiu has joined #ruby
marcdel has joined #ruby
sambao21 has quit [Client Quit]
<shevy> everything has a prize
Celm has quit [Remote host closed the connection]
crzrcn has joined #ruby
<bilbo_swaggins> well I need money too
<bilbo_swaggins> I'd retire to the easy life with $400m
blackmesa has joined #ruby
rainmanjam has joined #ruby
dgaffney has joined #ruby
rippa has joined #ruby
sambao21 has joined #ruby
<benzrf> bbl guys
<arubincloud> bilbo_swaggins: Are you sure that you can survive on so little?
yfeldblum has joined #ruby
yfeldblum has quit [Read error: Connection reset by peer]
lethjakm1 has joined #ruby
crzrcn has left #ruby [#ruby]
benzrf is now known as benzrf|offline
<shevy> that's a lot of money bilbo_swaggins
<bilbo_swaggins> it's really enough that I'd have to go out of my way to spend it
<bilbo_swaggins> there's a point where you have enough money that you can only waste it or turn it into even more money
brain_shim has quit [Ping timeout: 268 seconds]
<DouweM> there's giving to charity / investing in research which I wouldn't put under waste
<DouweM> but your point stands :)
jibi has quit [Ping timeout: 264 seconds]
Celm has joined #ruby
axl__ has joined #ruby
NovapaX has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jibi has joined #ruby
chipotle has joined #ruby
cover has quit [Ping timeout: 268 seconds]
danno1 has joined #ruby
lethjakm1 has quit [Ping timeout: 264 seconds]
apeiros has quit [Remote host closed the connection]
apeiros has joined #ruby
mordocai has quit [Remote host closed the connection]
sski has joined #ruby
mordocai has joined #ruby
pyreal has quit [Read error: No route to host]
toastynerd has joined #ruby
MatthewsFace has quit [Quit: This computer has gone to sleep]
pyreal has joined #ruby
__class__ has quit [Read error: Connection reset by peer]
aspires has joined #ruby
apeiros has quit [Ping timeout: 240 seconds]
pietr0 has joined #ruby
__class__ has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
lsmola_ has quit [Ping timeout: 240 seconds]
dkamioka has quit [Remote host closed the connection]
simono has quit [Ping timeout: 252 seconds]
andikr has quit [Remote host closed the connection]
patrick99e99 has joined #ruby
simono has joined #ruby
meatherly has joined #ruby
kpshek has quit []
bal has quit [Quit: bal]
freerobby has joined #ruby
skammer is now known as skammer|afk
skammer|afk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
freezey has quit [Remote host closed the connection]
maroloccio has quit [Quit: WeeChat 0.4.3]
brain_shim has joined #ruby
andy__ has joined #ruby
Guest89483 has quit [Read error: Connection reset by peer]
freerobby has quit [Read error: Connection reset by peer]
ahawkins has quit [Quit: leaving]
rm_ has quit [Remote host closed the connection]
freerobby1 has joined #ruby
dgaffney has quit [Remote host closed the connection]
banister has joined #ruby
rm_ has joined #ruby
dgaffney has joined #ruby
senayar has quit [Remote host closed the connection]
dstynchula has joined #ruby
patrick99e99 has quit [Ping timeout: 245 seconds]
CreativeEmbassy has quit [Quit: FO SHO]
maletor has joined #ruby
andy__ has quit [Read error: Connection reset by peer]
gaussblurinc has quit [Quit: Leaving.]
andy__ has joined #ruby
benzrf|offline is now known as benzrf
cndiv has joined #ruby
fabrice31 has quit [Remote host closed the connection]
rm_ has quit [Ping timeout: 240 seconds]
sambao21 has joined #ruby
phansch has joined #ruby
dgaffney has quit [Ping timeout: 268 seconds]
rm_ has joined #ruby
sambao21 has quit [Client Quit]
ktosiek has quit [Ping timeout: 240 seconds]
cover has joined #ruby
poikon has quit [Remote host closed the connection]
arturaz has quit [Remote host closed the connection]
lsmola_ has joined #ruby
S0da has joined #ruby
sigurding has joined #ruby
okdas has quit [Quit: Lingo - http://www.lingoirc.com]
<benzrf> hmm
ioNull has joined #ruby
jottr has quit [Quit: WeeChat 0.4.2]
mr_red has quit [Ping timeout: 268 seconds]
<benzrf> is there a way to get puts and other stuff like that to work with pry-remote-em
arietis has joined #ruby
chipotle has quit [Read error: Connection reset by peer]
jottr has joined #ruby
chipotle has joined #ruby
jhass|off is now known as jhass
chipotle has quit [Read error: Connection reset by peer]
marcdel has quit []
chipotle has joined #ruby
tcstar_work has joined #ruby
marcdel has joined #ruby
simono has quit [Ping timeout: 240 seconds]
diegoviola has joined #ruby
newUser1234 has joined #ruby
michaeldeol has joined #ruby
5EXAAX1DF has joined #ruby
Slavox is now known as Slavox|AFK
chipotle has quit [Read error: Connection reset by peer]
chipotle has joined #ruby
marcdel has quit [Client Quit]
oso|away is now known as oso96_2000
browndawg has joined #ruby
browndawg has quit [Max SendQ exceeded]
byprdct has quit [Quit: Textual IRC Client: www.textualapp.com]
browndawg has joined #ruby
mrnugget has quit [Ping timeout: 245 seconds]
smathieu has joined #ruby
wallerdev has quit [Quit: wallerdev]
sputnik13 has joined #ruby
philcrissman has joined #ruby
chipotle has quit [Ping timeout: 268 seconds]
bklane has quit [Quit: Leaving...]
mrnugget has joined #ruby
apeiros has joined #ruby
sdwrage has joined #ruby
lethjakm1 has joined #ruby
browndawg has left #ruby [#ruby]
poikon has joined #ruby
sambao21 has joined #ruby
simono has joined #ruby
papercode has joined #ruby
papercode has quit [Client Quit]
f0ster has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Xeago has joined #ruby
kpshek has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
kevind has quit [Quit: kevind]
kevind has joined #ruby
dEPy has quit [Quit: Computer has gone to sleep.]
werdnativ has joined #ruby
Xeago has quit [Read error: Operation timed out]
dEPy has joined #ruby
ioNull has quit [Read error: Connection reset by peer]
ioNull has joined #ruby
5EXAAX1DF has quit [Remote host closed the connection]
ioNull has quit [Max SendQ exceeded]
sdwrage has quit [Quit: Leaving]
tjr9898 has joined #ruby
simono_ has joined #ruby
ioNull has joined #ruby
budrose has joined #ruby
jollyy_ has quit [Ping timeout: 265 seconds]
quitobro has joined #ruby
x77686d has quit [Ping timeout: 265 seconds]
andy__ has quit [Remote host closed the connection]
terrellt_ has quit [Ping timeout: 268 seconds]
bradhe has joined #ruby
dEPy has quit [Quit: Computer has gone to sleep.]
simono has quit [Ping timeout: 240 seconds]
jollyy has joined #ruby
oneawayman has joined #ruby
ikaros has quit [Quit: Ex-Chat]
tjr9898 has quit [Ping timeout: 265 seconds]
michaeldeol has joined #ruby
senayar has joined #ruby
zigomir has quit [Remote host closed the connection]
xcv has quit [Remote host closed the connection]
GaryOak_ has joined #ruby
ben3 has quit [Quit: ben3]
dx7 has quit [Remote host closed the connection]
diegoviola has quit [Quit: WeeChat 0.4.3]
dx7 has joined #ruby
jollyy has quit [Ping timeout: 268 seconds]
afreidah has quit [Ping timeout: 264 seconds]
<Vlat-> @model = Model.create(params[:model]). Classical example.
rvraghav93_ has joined #ruby
freeone3000 has joined #ruby
<Vlat-> I started to study ruby not so long ago, but wonder, is there a way to pass a refernce to a model, like in C-ish languages ?
<freeone3000> Why do I get this error https://gist.github.com/freeone3000/849266f5cb1c33a4525b with the included Gemfile and .gemspec? I'm not even depending on rmagick.
rvraghav93 has quit [Ping timeout: 268 seconds]
claymore has joined #ruby
lethjakm1 is now known as lethjakman
<baroquebobcat> Vlat-: what do you mean by reference? pointers? out variables?
<Vlat-> baroquebobcat: a pointer, in C terms
jhass is now known as jhass|off
<pietr0> Vlat-: everything in ruby is an object, so everything is passed by reference
kidoz has joined #ruby
smathieu has quit [Remote host closed the connection]
Asher has joined #ruby
<baroquebobcat> pietr0: but references aren't first class, so you can't manipulate them like pointers
smathieu has joined #ruby
<baroquebobcat> which I think is a good thing
rezzack has joined #ruby
ezelohar has quit [Ping timeout: 268 seconds]
dx7 has quit [Ping timeout: 252 seconds]
zachallett has quit [Remote host closed the connection]
yfeldblum has joined #ruby
mikecmpbll has joined #ruby
mikecmpbll has quit [Max SendQ exceeded]
mr_red has joined #ruby
mikecmpbll has joined #ruby
<baroquebobcat> freeone3000: what's star_atlas?
bubblehead has quit [Read error: Connection reset by peer]
mikecmpbll has quit [Client Quit]
Spami has joined #ruby
bubblehead has joined #ruby
<baroquebobcat> I don't think any of the other dependencies would pull in rmagic
chaos___________ has quit [Ping timeout: 252 seconds]
toastynerd has quit [Remote host closed the connection]
arietis has joined #ruby
dgaffney has joined #ruby
lukec has quit [Quit: lukec]
rvraghav93_ has quit [Quit: No Ping reply in 180 seconds.]
smathieu has quit [Remote host closed the connection]
subbyyy_ has joined #ruby
cpruitt has joined #ruby
smathieu has joined #ruby
freezey has joined #ruby
rvraghav93 has joined #ruby
yfeldblum has quit [Ping timeout: 265 seconds]
jhass|off is now known as jhass
<freeone3000> baroquebobcat: That's one of my own. Its Gemfile.lock is now included in https://gist.github.com/freeone3000/849266f5cb1c33a4525b
<freeone3000> baroquebobcat: Also, no rmagick.
jefflyne has quit [Ping timeout: 265 seconds]
jespada has quit [Quit: Leaving]
Asher has quit [Quit: Leaving.]
einarj has quit [Remote host closed the connection]
wallerdev has joined #ruby
camilasan has quit []
fieldfirst has quit [Ping timeout: 264 seconds]
tylersmith has joined #ruby
apeiros has quit [Remote host closed the connection]
notjohn has quit [Quit: notjohn]
dEPy has joined #ruby
Es0teric has joined #ruby
maroloccio has joined #ruby
apeiros has joined #ruby
notjohn has joined #ruby
dkamioka has joined #ruby
jefflyne has joined #ruby
afreidah has joined #ruby
newUser1234 has quit [Remote host closed the connection]
<baroquebobcat> freeone3000: could look at bundle viz
krz has quit [Quit: WeeChat 0.4.3]
sdouglas has joined #ruby
aagdbl has joined #ruby
toastynerd has joined #ruby
james_d_h has quit [Quit: leaving]
<wallerdev> morning rubyists
mansi has quit [Read error: Connection reset by peer]
mansi has joined #ruby
apeiros has quit [Ping timeout: 245 seconds]
<havenn> wallerdev: g'morning
aagdbl has quit [Client Quit]
shaunbaker has quit [Remote host closed the connection]
arietis has quit [Quit: Computer has gone to sleep.]
<freeone3000> baroquebobcat: Ah. It's fileutils.
strg has quit [Ping timeout: 240 seconds]
<baroquebobcat> funny, I wouldn't have guessed that
<baroquebobcat> wallerdev: morning
<wallerdev> :)
<freeone3000> Is there a fileutils alternative?
hobodave has joined #ruby
saarinen has joined #ruby
zigomir has joined #ruby
jorts has quit [Quit: jorts]
simono has joined #ruby
<wallerdev> whats wrong with fileutils
<freeone3000> wallerdev: It's pulling in rmagick which doesn't build on my system.
<wallerdev> huh
dagobah has quit [Quit: Leaving...]
nanoyak has joined #ruby
<wallerdev> fileutils is part of ruby isnt it
iliketurtles has joined #ruby
CreativeEmbassy has joined #ruby
pel_daniel has joined #ruby
lukec has joined #ruby
S0da has quit [Remote host closed the connection]
ylluminate` has joined #ruby
<freeone3000> Ah. That may be it, was trying to install it as a gem. Odd that it was letting me.
<wallerdev> someone mustve made a gem of the same name lol
<wallerdev> thats silly
pel_daniel1 has joined #ruby
simono_ has quit [Ping timeout: 268 seconds]
ylluminate` has quit [Read error: Connection reset by peer]
aagdbl has joined #ruby
apeiros has joined #ruby
arietis has joined #ruby
atmosx_ has quit [Remote host closed the connection]
pel_daniel has quit [Ping timeout: 245 seconds]
aagdbl has quit [Client Quit]
brandonjmckay has joined #ruby
coderxin has quit [Remote host closed the connection]
ylluminate has quit [Ping timeout: 245 seconds]
brandonjmckay has quit [Client Quit]
chichou has joined #ruby
aagdbl has joined #ruby
atmosx_ has joined #ruby
spicerack has joined #ruby
notjohn has quit [Read error: Connection reset by peer]
stephenmac7 has quit [Remote host closed the connection]
atno has quit [Remote host closed the connection]
nvrch has quit [Quit: nvrch]
jorts has joined #ruby
timonv has quit [Remote host closed the connection]
garndt has joined #ruby
timonv has joined #ruby
mercwithamouth has joined #ruby
andy__ has joined #ruby
spyderman4g63 has joined #ruby
rabeldable has joined #ruby
zachallett has joined #ruby
DaniG2k has quit [Quit: leaving]
DallasG has joined #ruby
Shidash has quit [Ping timeout: 265 seconds]
timonv has quit [Ping timeout: 268 seconds]
robbyoconnor has quit [Ping timeout: 265 seconds]
NovapaX has joined #ruby
sski has quit [Remote host closed the connection]
zachallett has quit [Ping timeout: 240 seconds]
IceDragon has joined #ruby
jaimef has quit [Excess Flood]
sski has joined #ruby
simono_ has joined #ruby
michael_lee has quit [Quit: Ex-Chat]
subbyyy_ has quit [Ping timeout: 268 seconds]
shinobi_one has joined #ruby
maletor has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
lolmaus has joined #ruby
arietis has quit [Quit: Computer has gone to sleep.]
mrnugget has quit [Ping timeout: 240 seconds]
<xybre> Yeah fileutils is part of the standard library, just require it. Kind of a jerk move to name a gem the same thing.
Stalkr_ has joined #ruby
ghr has quit [Ping timeout: 268 seconds]
simono has quit [Ping timeout: 240 seconds]
chrisseaton has joined #ruby
Mrdarknezz has quit [Ping timeout: 240 seconds]
canton7-mac has quit [Remote host closed the connection]
tomshafer has joined #ruby
sski has quit [Ping timeout: 240 seconds]
<wallerdev> probably someone trying to push the rmagick agenda
<wallerdev> :p
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
kitak has joined #ruby
gregf has quit [Quit: WeeChat 0.4.3]
jaimef has joined #ruby
roolo has quit [Quit: Leaving...]
<shevy> hah
reactormonk has left #ruby ["WeeChat 0.4.1"]
<shevy> that tripped me up as well 2 months ago
<shevy> the naming scheme by rubygems alone is kinda limited
Zai00 has quit [Ping timeout: 268 seconds]
patrick99e99 has joined #ruby
duggiefresh has joined #ruby
bricker_ is now known as bricker
<havenn> one wonders if RubyGems ought adopt a policy of reserving stdlib namespaces?
troyreadyyy has quit [Read error: Connection reset by peer]
<shevy> well
<shevy> I think all of stdlib should also become gems
benzrf is now known as benzrf|offline
<shevy> and as a second step, same names for gems should be made possible too
<havenn> shevy: then they'd need to stomp on any placeholder, nice to reserve
<havenn> dunno
<shevy> yeah, first one always wins right now
kitak has quit [Ping timeout: 260 seconds]
MatthewsFace has joined #ruby
Asher has joined #ruby
dkamioka has quit [Remote host closed the connection]
dEPy has quit [Quit: Computer has gone to sleep.]
patrick99e99 has quit [Ping timeout: 245 seconds]
okdas has joined #ruby
rm_ has quit [Remote host closed the connection]
rm_ has joined #ruby
<AlexRussia> shevy: hi man :P
_justin has joined #ruby
poikon_ has joined #ruby
chichou has quit []
freerobby1 has quit [Quit: Leaving.]
elaptics is now known as elaptics`away
senayar has quit [Remote host closed the connection]
poikon has quit [Read error: Connection reset by peer]
senayar has joined #ruby
freerobby has joined #ruby
Frank13760 has joined #ruby
dkamioka has joined #ruby
<shevy> hi AlexRussia
Frank13760 has left #ruby [#ruby]
rm_ has quit [Ping timeout: 252 seconds]
chichou has joined #ruby
<AlexRussia> shevy: lol, double notification: konversation and enviroment :P
n1tr0g has quit [Quit: n1tr0g]
<AlexRussia> shevy: how are you?your projects? O_o
whomp has joined #ruby
brain_shim has quit [Remote host closed the connection]
flowerpot has joined #ruby
Asher has quit [Quit: Leaving.]
<shevy> AlexRussia right now I am working on making a sinatra based ftp-project
<shevy> so that I can upload through the browser
<AlexRussia> shevy: cool, its nice
<AlexRussia> shevy: ftp in browser?
<AlexRussia> cool
siwica has joined #ruby
<shevy> yea
zachallett has joined #ruby
<AlexRussia> shevy: fuckin windows, anyway and in vbox 'update' is fuckin shit :(
<shevy> go use linux
Vovko has joined #ruby
<AlexRussia> shevy: sometime i using like it for management sites :P
agrinb_ has joined #ruby
agrinb has quit [Read error: No route to host]
<AlexRussia> shevy: sorry, but vm for homework dont play in linux
<AlexRussia> shevy: lol, legal recovery dvd, installed in vbox saying about non-licensed version, fuck my mind....
<AlexRussia> shevy:
<AlexRussia> 'Cause I'm back
<AlexRussia> Yes, I'm back
<AlexRussia> Well, I'm back
stephenmac7 has joined #ruby
<AlexRussia> Yes, I'm back
<AlexRussia> Well, I'm
<AlexRussia> Hey, hey, hey, hey
<AlexRussia> Hey, hey, hey, hey
<AlexRussia> Well, I'm back in black
<AlexRussia> Yes, I'm back in black
<AlexRussia> Yow!
<AlexRussia> shevy: :P
<shevy> well
<shevy> that shows that windows is bad for the brain
<shevy> go use linux
arietis has joined #ruby
dEPy has joined #ruby
_justin has quit [Quit: _justin]
dEPy has quit [Client Quit]
nhmood has joined #ruby
Azure has quit [Quit: Blue Sky Fish]
newUser1234 has joined #ruby
reset has joined #ruby
sdouglas has quit [Remote host closed the connection]
Vovko has quit []
chichou has quit []
poikon_ has quit [Remote host closed the connection]
kennym has quit [Quit: Leaving.]
newbie1r has joined #ruby
<AlexRussia> shevy: already here, but windows in vbox :P
<AlexRussia> shevy: lol, i should in vm, for make homework about copmuter architecture.
_justin has joined #ruby
<AlexRussia> shevy: this like.....simple assembler
mansi has quit [Remote host closed the connection]
jlebrech has quit [Quit: Konversation terminated!]
<AlexRussia> shevy: manually management easy processor architecture in proprietary vm :P
mansi has joined #ruby
chichou has joined #ruby
jlast has quit [Remote host closed the connection]
philcrissman has left #ruby [#ruby]
benzrf|offline is now known as benzrf
_tpavel has quit [Quit: Leaving]
fannye has quit [Ping timeout: 252 seconds]
mansi has quit [Read error: Connection reset by peer]
poikon has joined #ruby
jlast has joined #ruby
havenn is now known as havenwood
simono has joined #ruby
mansi has joined #ruby
jlast has quit [Remote host closed the connection]
benzrf is now known as benzrf|offline
noop has joined #ruby
<AlexRussia> shevy: if you want, i send your file with tasks :P but is written in russian ;)
<shevy> what shall I do with it
<shevy> I cant read nor speak russian
pedda has quit [Quit: Textual IRC Client: www.textualapp.com]
sambao21 has quit [Quit: Computer has gone to sleep.]
x1337807x has joined #ruby
danshult_ has joined #ruby
simono_ has quit [Ping timeout: 264 seconds]
centrx has joined #ruby
duggiefresh has quit [Ping timeout: 240 seconds]
quitobro has quit [Remote host closed the connection]
vlad_starkov has quit [Remote host closed the connection]
Fire-Dragon-DoL has joined #ruby
quitobro has joined #ruby
heftig has quit [Quit: Quitting]
Asher has joined #ruby
danshultz has quit [Ping timeout: 252 seconds]
arietis has quit [Quit: Computer has gone to sleep.]
echevemaster has joined #ruby
carraroj has joined #ruby
rh1n0 has joined #ruby
sambao21 has joined #ruby
ahmdrefat has joined #ruby
toastynerd has quit [Remote host closed the connection]
whomp has quit [Ping timeout: 240 seconds]
ahmdrefat has quit [Client Quit]
poikon has quit []
rm_ has joined #ruby
sambao21 has quit [Client Quit]
papercode has joined #ruby
quitobro has quit [Remote host closed the connection]
a13x212 has joined #ruby
papercode has quit [Remote host closed the connection]
<pipework> shevy: You can marvel at how you don't know very much of anything while looking at a file that's written in Russian imperialist language.
<pipework> :D
relix has quit [Quit: Textual IRC Client: www.textualapp.com]
papercode has joined #ruby
CorySimmons has joined #ruby
budrose has quit [Remote host closed the connection]
tectonic has joined #ruby
shadoi1 has joined #ruby
<AlexRussia> shevy: google translater :P
<AlexRussia> pipework: haha
kacperix has joined #ruby
afex has joined #ruby
sski has joined #ruby
kobain has quit []
yfeldblum has joined #ruby
bklane has joined #ruby
m8 has joined #ruby
m8 has quit [Changing host]
m8 has joined #ruby
gfunc has joined #ruby
qmfnp has joined #ruby
testcore has joined #ruby
coderxin has joined #ruby
Doc_X has quit []
coderxin_ has joined #ruby
<a13x212> how would i match the following pattern, numbers 1 through 15
diegovio1 has joined #ruby
diegovio1 is now known as diegoviola
<depesz> a13x212: variable >= 1 and variable <= 15
ioNull has quit [Ping timeout: 268 seconds]
<centrx> variable.between?(1,15)
obs has quit [Quit: Konversation terminated!]
<Jamo> or (1..15).cover? variable
cj3kim has joined #ruby
duggiefresh has joined #ruby
coderxin has quit [Ping timeout: 240 seconds]
sambao21 has joined #ruby
pu22l3r_ has joined #ruby
ephemerian has joined #ruby
lolmaus has quit [Read error: Connection reset by peer]
CaptainJet has joined #ruby
lolmaus has joined #ruby
rm_ has quit [Remote host closed the connection]
rm_ has joined #ruby
bklane has quit [Remote host closed the connection]
pu22l3r has quit [Ping timeout: 240 seconds]
bklane has joined #ruby
oneawayman has quit [Read error: Operation timed out]
ioNull has joined #ruby
horofox has joined #ruby
sigurding has quit [Quit: sigurding]
jottr_ has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
rm_ has quit [Ping timeout: 252 seconds]
sdouglas has joined #ruby
jottr has quit [Read error: Operation timed out]
jenskarlsen has quit [Quit: jenskarlsen]
kennym has joined #ruby
xcv has joined #ruby
troyready has joined #ruby
nolic has joined #ruby
bklane has quit [Ping timeout: 264 seconds]
sambao21 has joined #ruby
sambao21 has quit [Client Quit]
Vovko has joined #ruby
toastynerd has joined #ruby
scelis has joined #ruby
sambao21 has joined #ruby
<scelis> Is there a slick way of replacing all leading or trailing spaces in a string with the literal string "\u0020"? I want all non-leading and trailing spaces left alone
senayar has quit [Remote host closed the connection]
CorySimmons has quit [Quit: Bye!]
SonicX has joined #ruby
dzhulk has joined #ruby
<a13x212> Jamo, i'm trying this if (1..15).cover? node['hostname'], would look like web1 or web15v or web20v
sdouglas has quit [Ping timeout: 265 seconds]
cj3kim has quit [Remote host closed the connection]
rdark has quit [Quit: leaving]
<centrx> a13x212, What exactly are you trying to do?
patrick99e99 has joined #ruby
dzhulk has left #ruby [#ruby]
iliketurtles has quit [Quit: zzzzz…..]
<centrx> scelis, Something like str.gsub(/^(\s*)|(\s*)$/, " " => "\u0020")
cndiv has quit [Ping timeout: 265 seconds]
edwardly has quit [Ping timeout: 240 seconds]
certainty has quit [Ping timeout: 252 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<a13x212> if string contains 1 through 15, do X, string could look web1 or web15v or web20v
<shevy> pipework nah, there lies no advantage in knowing russian language
<shevy> pipework and you speak only english anyway so
jlast has joined #ruby
duggiefresh has quit [Ping timeout: 240 seconds]
Lewix has joined #ruby
cndiv has joined #ruby
patrick99e99 has quit [Ping timeout: 240 seconds]
<pipework> shevy: I speak many languages.
camilasan has joined #ruby
<pipework> Only one human language.
luckyruby has joined #ruby
<apeiros> centrx: ^ and $ are per line, not for the whole string. \A and \z
<centrx> scelis, ^
<scelis> centrx: thanks, but that isnt working for me. it strips the leading whitespace out completely
SonicX has quit [Read error: Connection reset by peer]
<centrx> scelis, It's something like that, you have to figure it out
pu22l3r_ has quit [Remote host closed the connection]
<scelis> centrx: Yeah. I've been trying to figure it out. Hence me asking for help. :P thanks for the attempt, though
kirun has joined #ruby
lbwski has joined #ruby
duggiefresh has joined #ruby
<centrx> a13x212, Something like /web(\d\d?)\D*/.match(str).captures.first.between?(1,15)
pu22l3r has joined #ruby
saarinen has quit [Quit: saarinen]
rayners has quit [Remote host closed the connection]
bklane has joined #ruby
jamto11 has joined #ruby
certainty has joined #ruby
quitobro has joined #ruby
Advocation has quit [Quit: Advocation]
<AlexRussia> someone, please, help me with it http://tools.ietf.org/html/rfc2426
<apeiros> /web(\d\d?)\D*/.match(str).captures.first --> str[/web(\d\d?)\D*/, 1]
andrewlio has quit [Remote host closed the connection]
<apeiros> if I may be so bold to offer a shorter piece of code :)
<AlexRussia> in vcard file any string - is one key-value?
rawtaz has left #ruby [#ruby]
<centrx> a13x212, ^
redlines has quit [Quit: Leaving]
<RubyPanther> a13x212: \d(?:[0-5]|\D)?
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
simono has quit [Ping timeout: 264 seconds]
<apeiros> RubyPanther: should drop the |\D
simono has joined #ruby
* pipework drops the bass
<RubyPanther> apeiros: no
<apeiros> RubyPanther: yes. serves no purpose in the regex you currently made.
<centrx> No one tells RubyPanther what to do! This is outrageous!
nobitanobi has joined #ruby
<RubyPanther> yes, it does serve a purpose.
<apeiros> if you want to guard against 6-9, this won't help due to the ?
<pipework> centrx: Even if you do, you're wrong. Even if you don't, you're still wrong.
<RubyPanther> keep trying ;)
<pipework> Why do you need it?
<scelis> centrx: str.gsub!(/\A *| *\z/) { |spaces| '\u0020' * spaces.length }
<RubyPanther> because it is only a substring of the needed pattern
<nobitanobi> Hi guys. Given I have a Hash that looks like this: {[1, "a"]=>[{:first=>1, :second=>"a"}, {:first=>1, :second=>"a"}], [1, "b"]=>[{:first=>1, :second=>"b"}], [40, "c"]=>[{:first=>40, :second=>"c"}]} - How can get the key/value pair of that Hash which value has more elements?
<RubyPanther> I only wrote out the part you guys were missing ;)
<apeiros> >> "web20"[/\d(?:[0-5]|\D)?/]
<eval-in> apeiros => "20" (https://eval.in/127293)
<centrx> scelis, cool
<apeiros> RubyPanther: broken pattern. matches not just 1-15.
<apeiros> >> "web29"[/\d(?:[0-5]|\D)?/]
<eval-in> apeiros => "2" (https://eval.in/127294)
freezey has quit [Remote host closed the connection]
<RubyPanther> apeiros: it is incomplete but correct, but yours didn't even try
DrShoggoth has quit [Read error: Operation timed out]
<pipework> So it's less incorrect?
<apeiros> RubyPanther: and above one proves that the \D is pointless there.
<RubyPanther> Try to finish what I did instead of going into some kind of "RubyPanther had a different idea and I didn't like it" whine
frem has joined #ruby
roolo has joined #ruby
<slash_nick> nobitanobi: I don't think this is quite what you mean... that_hash.select {|k,v| v.kind_of?(Enumerable) }
<RubyPanther> I mean, jeebus
mehlah has quit [Quit: Leaving...]
<apeiros> RubyPanther: I'm not the one who's whining.
<centrx> >> ['ruby', 'panther'].map(&:upcase).join
<eval-in> centrx => "RUBYPANTHER" (https://eval.in/127295)
<apeiros> I'm also not the one who can't deal with being wrong.
<baroquebobcat> nobitanobi: hash.sort_by{|k,v|v.size}.first
<RubyPanther> You can't deal with me not being wrong, just saying something different than what you wanted me to say, though.
<apeiros> RubyPanther: dude, way to construe things.
<centrx> There is no right or wrong against the authority of RubyPanther!
<nobitanobi> baroquebobcat: perfect. Thanks
<baroquebobcat> er
<baroquebobcat> but reversed
<RubyPanther> centrx: Don't be an ass, I didn't claim to be an authority
<apeiros> RubyPanther: you gave a wrong solution and I pointed it out.
<baroquebobcat> or you could do last
<pipework> I don't really know how RubyPanther managed to make this about him personally, but bravo on the performance!
<centrx> I am only trying to help
<baroquebobcat> nobitanobi: hash.sort_by{|k,v|v.size}.last
<RubyPanther> apeiros: It isn't wrong, it is an incomplete substing to get the solution in the right direction, which I already TOLD you
<centrx> I'm on your side RubyPanther
<slash_nick> oh, he wants the one with the MOST elements?
<slash_nick> baroquebobcat, nobitanobi ^
<apeiros> RubyPanther: oh dear, this is getting pathetic. I'm not arguing with you. it doesn't do what was asked, period.
<Hanmac> baroquebobcat: there is also min_by and max_by
nanno_ has joined #ruby
<baroquebobcat> nice
<RubyPanther> It does the part of what was asked that you were missing
<apeiros> RubyPanther: do you have your own personal reality distortion field?
<RubyPanther> so yes, it "does not do what was asked." Indeed. I wasn't trying to write it for you/him. I was pointing out the part you guys were missing.
DrShoggoth has joined #ruby
<nanno_> angularjs
<apeiros> the |\D is pointless regardless.
<RubyPanther> If you don't find value, skip it! No need to be an ass and jump up and down shouting "you're wrong you're wrong"
shinobi_one has quit [Ping timeout: 252 seconds]
nanno_ has left #ruby [#ruby]
<RubyPanther> you understand? pointless means, you can ignore it.
michaeldeol has joined #ruby
<apeiros> RubyPanther: grow up.
MatthewsFace has quit [Ping timeout: 252 seconds]
<RubyPanther> Somebody else will find value in it or not. Let them.
bufferloss has left #ruby [#ruby]
rm_ has joined #ruby
<centrx> "For a long time GCC was shipped with a Toy programming language called Treelang which was essentially C without the advanced concepts such as pointers, arrays and records." - Discuss amongst yourselves.
<RubyPanther> apeiros: Mirror chedck
MatthewsFace has joined #ruby
<apeiros> QED
shinobi_one has joined #ruby
<shevy> LED
dangerousdave has quit [Quit: Leaving...]
sski has quit [Remote host closed the connection]
Speed has quit [Ping timeout: 245 seconds]
<pipework> GED
<RubyPanther> it is dumb to be trying to solve it with a regex that is broken and doesn't even try to solve the problem, and then have to test the number outside. If you're gonna do that drop all the clever crap and just pull the \d+ out and test it. If you're going to do more work than that in the regex, it should be trying to do a complete match.
subbyyy_ has joined #ruby
<apeiros> a13x212: if you want to match 1-15 with a regex (and IMO you shouldn't - centrx' approach is IMO better), it'd be (?:[1-9]|1\d), but you'd need anchoring which depends on the rest of your regex.
<apeiros> RubyPanther: so you say you were trying to do something dumb? nice.
<RubyPanther> apeiros: Reading comprehension, please.
<apeiros> check
<RubyPanther> Either read it again until you understand it, or just take a pass and ignore it. Same as before.
<apeiros> a13x212: e.g. /\w+(?:[1-9]|1\d)(?!\d)/ would be suitable anchoring.
billy_ran_away has quit [Max SendQ exceeded]
<apeiros> RubyPanther: I prefer simply not talking to you. it's wasted time.
<centrx> You're both wrong. What is the regular expression for a paper bag?
mark_locklear has quit [Ping timeout: 240 seconds]
billy_ran_away has joined #ruby
<RubyPanther> apeiros: THANK YOU please remember to
<shevy> /o/
<shevy> it looks like a bag
<RubyPanther> You could have saved us all the trouble
rm_ has quit [Read error: Connection reset by peer]
<slash_nick> centrx: i dunno, /$^/
<shevy> wat
<shevy> where is the bag
rm_ has joined #ruby
mordocai has left #ruby ["ERC Version 5.3 (IRC client for Emacs)"]
nanoyak has quit [Quit: Computer has gone to sleep.]
* centrx awards a gold star to all participants
<slash_nick> shevy: somewhere before the end and after the beginning
<apeiros> RubyPanther: don't worry, next time if it's from you, I'll address the one who asked instead, pointing out how/why a given solution
AlSquire has quit [Quit: This computer has gone to sleep]
<apeiros> RubyPanther: IMO that's not a good way to do it, but since you seem to feel hurt otherwise, I'll gladly do it that way - just for you.
lampe2_ has quit [Quit: ZNC - http://znc.in]
<RubyPanther> centrx: [:pbag:]
<slash_nick> RubyPanther: peanut butter and gelly?
rm_ has quit [Remote host closed the connection]
<RubyPanther> slash_nick: [:pbj:]
<apeiros> oh, + is wrong.
hiall has quit [Ping timeout: 245 seconds]
workmad3 has quit [Ping timeout: 264 seconds]
rm_ has joined #ruby
proximo has quit [Remote host closed the connection]
<apeiros> AlexRussia: are you trying to write your own vcard parser?
xcv has quit []
mansi has quit [Remote host closed the connection]
<AlexRussia> apeiros: yah, should for my friend :P
sk87 has joined #ruby
<apeiros> AlexRussia: why not use an existing one?
<AlexRussia> apeiros: i think, is for bad work :P
<AlexRussia> apeiros: exist one?
robert_ has quit [Read error: Connection reset by peer]
<AlexRussia> apeiros: wheeeeeeeeeeeeeeeere?
mansi has joined #ruby
kenneth has joined #ruby
<apeiros> AlexRussia: https://www.ruby-toolbox.com, rubygems.org, github.com, rubyforge.org
<AlexRussia> oh, lol
<shevy> AND GOOGLE.COM
<AlexRussia> hm, maybe, somewhere c++-version? :P
<AlexRussia> shevy: hahaha, NO
mansi has quit [Read error: Connection reset by peer]
duggiefresh has quit [Ping timeout: 240 seconds]
mansi has joined #ruby
sk87 has quit [Client Quit]
rm_ has quit [Read error: No route to host]
sambao21 has quit [Quit: Computer has gone to sleep.]
rm_ has joined #ruby
senayar_ has joined #ruby
jamto11 has quit [Remote host closed the connection]
whomp has joined #ruby
maasha has joined #ruby
rh1n0 has quit [Ping timeout: 265 seconds]
rm_ has quit [Remote host closed the connection]
rm_ has joined #ruby
patrick99e99 has joined #ruby
jorts has quit [Quit: jorts]
Speed has joined #ruby
toastynerd has quit [Remote host closed the connection]
rm_ has quit [Read error: Connection reset by peer]
rm_ has joined #ruby
echevemaster has quit [Remote host closed the connection]
<maasha> evening.
Advocation has joined #ruby
sambao21 has joined #ruby
bilbo_swaggins has quit [Quit: Leaving]
<DouweM> yo
nbezzala has joined #ruby
gregf has joined #ruby
alex88 has quit [Quit: Leaving...]
timonv has joined #ruby
<maasha> apeiros: fyi. I got rid of the fork hang (gist updated). Next issue is that the work does not appear to be performed in parallel. It may be because the jobs are delegated linearly. Threads may be required.
jottr_ is now known as jottr
patrick99e99 has quit [Ping timeout: 264 seconds]
jorts has joined #ruby
sambao21 has quit [Ping timeout: 264 seconds]
NovapaX has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
atno has joined #ruby
mansi has quit [Remote host closed the connection]
sambao21 has joined #ruby
mansi has joined #ruby
timonv has quit [Ping timeout: 252 seconds]
Spami has quit [Quit: This computer has gone to sleep]
<RubyPanther> /(?:(?:\D|\A)\d{1}(?:\D|\z))|(?:1[0-5])(?:\D|\z)/ # generalized for any first group of digits
<maasha> bingo
motto has joined #ruby
mansi has quit [Read error: Connection reset by peer]
mansi has joined #ruby
bradhe has quit [Remote host closed the connection]
<RubyPanther> obviously < is superior to a regex here lol
<maasha> hm, needs mutex to deal with order
Spami has joined #ruby
lbwski has quit [Quit: leaving]
decoponio has quit [Quit: Leaving...]
lbwski has joined #ruby
afex has quit [Ping timeout: 264 seconds]
<AlexRussia> RubyPanther: hi man :)
bradhe_ has joined #ruby
lolmaus has quit [Read error: Connection reset by peer]
jorts has quit [Ping timeout: 268 seconds]
lolmaus has joined #ruby
iliketurtles has joined #ruby
sigurding has joined #ruby
<apeiros> I guess I better don't point out the problems of that regex.
jlast has quit [Ping timeout: 268 seconds]
<RubyPanther> apeiros: If you point out the problems of the code instead of pointing at the person who wrote it, I'm sure you'll get a normal response.
<centrx> The main problem is it is too short
havenwood has quit [Remote host closed the connection]
Hobogrammer has quit [Read error: Connection reset by peer]
<apeiros> RubyPanther: that didn't help before either.
<RubyPanther> My advice is to run some example data through it first, though ;)
havenwood has joined #ruby
agrinb has joined #ruby
Voodoofish430 has joined #ruby
<RubyPanther> Since it works for the examples I used, I assume it is correct. Lots of parts could be done in different ways, to be sure; I doubt they'll be better than extracting the number and using < though, that should be the baseline
scelis has left #ruby [#ruby]
agrinb_ has quit [Ping timeout: 252 seconds]
Spami has quit [Quit: This computer has gone to sleep]
<maasha> race conditions. sounds like a case for KKK ...
<apeiros> maasha: cool. and no, threads are not required. a fork will run parallely (or at least concurrently, depending on your computer)
agrinb has quit [Read error: No route to host]
agrinb has joined #ruby
abdulsattar has joined #ruby
<RubyPanther> maasha: I doubt the KKK could race anywhere with those sheets blocking their view
havenwood has quit [Ping timeout: 268 seconds]
<maasha> apeiros: something is not right - I am investigating -> https://gist.github.com/maasha/af4df2d4f0fe9c6211b7
<RubyPanther> but if your code is expecting them at the finish line, it might be a problematic condition, for sure
<maasha> RubyPanther: hahahah
Musashi1 has joined #ruby
agrinb has quit [Client Quit]
<maasha> apeiros: with Threads in place the run time indicates it is indeed running in parallel - without it appears running in serial.
momomomomo has quit [Quit: momomomomo]
bricker_ has joined #ruby
<apeiros> maasha: then some of your supporting code prevents it from running in parallel
Advocation has quit [Quit: Advocation]
whomp has quit [Ping timeout: 240 seconds]
bricker has quit [Read error: Connection reset by peer]
<maasha> apeiros: I do admit I took a look at the confusing internals of the parallel gem - which uses a mix of forks and threads.
sambao21 has quit [Quit: Computer has gone to sleep.]
afex has joined #ruby
CreativeEmbassy has quit [Quit: FO SHO]
momomomomo has joined #ruby
rvraghav93 has quit [Ping timeout: 240 seconds]
simono has quit [Read error: Connection reset by peer]
_justin has quit [Quit: _justin]
havenwood has joined #ruby
relix has joined #ruby
AlexRussia has quit [Read error: Connection reset by peer]
rvraghav93 has joined #ruby
<apeiros> maasha: I don't spot your mistake, though
CreativeEmbassy has joined #ruby
<maasha> apeiros: hm, gut feeling pointing anywhere particular?
<toretore> maasha: do you have a reason for complicating it like this? it could be much simpler..
motto has quit [Quit: Sto andando via]
sambao21 has joined #ruby
senayar_ has quit [Remote host closed the connection]
iliketurtles has quit [Quit: Textual IRC Client: www.textualapp.com]
chichou has quit [Remote host closed the connection]
<maasha> toretore: oh really?
Azure has joined #ruby
deadlock has quit [Ping timeout: 245 seconds]
<toretore> maasha: assuming i understand what you're trying to do that is
Bumptiou_ has joined #ruby
<toretore> which is process n jobs in a pool concurrently
<maasha> toretore: well, create a fork pool of workers to process tons of data reusing workers.
<apeiros> without a fixed worker count (though, that's the pooling part) it'd be a good bit easier. with a fixed worker count, I'm not sure it can be simplified too much, though.
patrick99e99 has joined #ruby
<toretore> unless you want it to work in parallel on mri and that's the reason you're forking
<maasha> I want to utilize multiple cores.
<toretore> with mri?
mikepack has quit [Ping timeout: 245 seconds]
<maasha> toretore: yes
<toretore> ok, carry on then :)
diegoviola has quit [Quit: WeeChat 0.4.3]
<maasha> right
Bumptious has quit [Ping timeout: 255 seconds]
<toretore> just one last thing: i'd like to officially frown upon your messing around with Enumerable
MatthewsFace has quit [Quit: This computer has gone to sleep]
chrisseaton has quit []
shutch has joined #ruby
<apeiros> toretore: just imagine he used a Refinement
<toretore> i frown upon refinements too :P
<maasha> toretore: should be a module on its own and then extend Enumerable or such.
<toretore> accepted
patrick99e99 has quit [Ping timeout: 240 seconds]
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
terrellt has joined #ruby
<maasha> toretore: I already thought about it. Will come later.
chichou has joined #ruby
<apeiros> maasha, toretore: problem is - including into a module doesn't work well
<apeiros> any class already including the module won't gain the new methods
<lfox> toretore: Haven't really played with refinements, but why the dislike, seems like they safely solve a problem?
<apeiros> >> module X; def bar; "bar!"; end; end; module Enumerabe; include X; end; [].bar
<eval-in> apeiros => undefined method `bar' for []:Array (NoMethodError) ... (https://eval.in/127317)
nanoyak has joined #ruby
<toretore> lfox: i don't see that there is a problem in the first place
aspires has quit []
* maasha never heard about refinements before - reading
<toretore> apeiros: isn't that backwards? why are you including something in Enumerable?
aspires has joined #ruby
m1lt0n_ has quit [Quit: Lost terminal]
<apeiros> toretore: as per maasha's suggestion
<apeiros> 20:43 maasha: toretore: should be a module on its own and then extend Enumerable or such.
<apeiros> 20:43 toretore: accepted
<toretore> >> module X; def bar; "bar!"; end; end; module Enumerable; include X; end; [].bar
<eval-in> toretore => undefined method `bar' for []:Array (NoMethodError) ... (https://eval.in/127318)
<toretore> just making sure
Spami has joined #ruby
<toretore> apeiros: i was mostly referring to the "or such" part
<apeiros> ah, that wasn't quite clear :-p
<apeiros> curious as to what "or such" could be then
LiohAu has quit [Quit: LiohAu]
rvraghav93_ has joined #ruby
<atmosx_> hello
atmosx_ is now known as atmosx
rabeldable has quit [Quit: Leaving.]
<maasha> or such means me googling and reading.
rvraghav93 has quit [Ping timeout: 245 seconds]
<apeiros> IMO there's 3 options: a) monkey-patch Enumerable (which you frown upon), b) use a Refinement on Enumerable (which you frown upon), c) use a non-OOish pattern like Forked.each(enumerable) { … }
zachallett has quit [Remote host closed the connection]
<toretore> apeiros: i took it to mean a class that includes Enumerable
agent_white has joined #ruby
<toretore> q=WorkQueue.new; q.each{|res| }
<apeiros> ok, then there's a 4th option: not provide parallel execuation to enumerables in a generic way at all (IMO the worst of all 4)
<apeiros> *execuation - wth
SHyx0rmZ has joined #ruby
<apeiros> whaaaat? how did it happen *again*?
<toretore> i don't think Enumerable should concern itself with that
rabeldable has joined #ruby
dseitz has joined #ruby
AlexRussia has joined #ruby
<apeiros> toretore: your example is missing the data to iterate on
<AlexRussia> how to convert deciman fixnum to hex number?O_O
<toretore> apeiros: q << data
<apeiros> AlexRussia: to_s(16)
einarj has joined #ruby
<apeiros> toretore: you mean datum?
toastynerd has joined #ruby
<toretore> oh u
<AlexRussia> apeiros: thx
<toretore> no, it's a collection of collections of data
<apeiros> eeeeeew :D
<apeiros> na, I get what you mean
Naoe-Kanno has joined #ruby
<toretore> :)
duggiefresh has joined #ruby
toastyne_ has joined #ruby
toastynerd has quit [Read error: Connection reset by peer]
<apeiros> I do think parallel each is a nice fit in Enumerable. I'd prefer it done similar to lazy, though. Enumrable#parallel # => ParallelWhatever with #each and #map and whateverelse
sepp2k has joined #ruby
sski has joined #ruby
bricker_ is now known as bricker
<apeiros> directly constructing ParallelWhatever is IMO fine too, though
SHyx0rmZ has quit [Ping timeout: 252 seconds]
deadlock has joined #ruby
davy_ has joined #ruby
<toretore> "parallel" can mean a lot of things, and i don't think Enumerable should be making that decision
jottr has quit [Ping timeout: 252 seconds]
newUser1234 has quit [Ping timeout: 240 seconds]
yacks has quit [Quit: Leaving]
<toretore> anyway, if it's just for personal use i don't really care
<toretore> but if someone put that in *my* enumerable, i would frown so hard
nanoyak has quit [Quit: Computer has gone to sleep.]
zachallett has joined #ruby
tvw has quit []
agent_white has quit [Remote host closed the connection]
<apeiros> toretore: uh, Enumerable isn't making that decision.
<apeiros> the coder is, by using the method.
pu22l3r_ has joined #ruby
nanoyak has joined #ruby
inkblots has joined #ruby
<toastyne_> oops, wrong channel
<toretore> GET HIM
<maasha> well, I still have a race condition problem.
mr_snowf1ake has quit [Quit: Leaving]
mansi has quit [Remote host closed the connection]
duggiefresh has quit [Ping timeout: 252 seconds]
pu22l3r has quit [Ping timeout: 240 seconds]
MatthewsFace has joined #ruby
<riceandbeans> so I'm confused about this gem
<riceandbeans> it doesn't work
havenwood has quit [Remote host closed the connection]
<riceandbeans> the error rescues it from seemingly nothing
<riceandbeans> if I do what it does manually (it's a small gem) in one script, it works fine
<riceandbeans> but as a gem, it doesn't work
mansi has joined #ruby
chichou has quit [Remote host closed the connection]
jlast has joined #ruby
riceandbeans has quit [Quit: leaving]
<toretore> riceandbeans: sux4u man
vlad_starkov has joined #ruby
sdouglas_ has joined #ruby
cndiv has quit [Ping timeout: 264 seconds]
sdouglas_ has quit [Remote host closed the connection]
sdouglas has joined #ruby
chrisseaton has joined #ruby
newbie1r has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
sdouglas has quit [Read error: Connection reset by peer]
relix has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<maasha> apeiros: so do I have a bug in my code, or is the design faulty since it gives race condition nastiness. I was thinking about caching the results to output in order - but that could be an ugly memory hugger.
centrx has quit [Ping timeout: 245 seconds]
sdouglas has joined #ruby
sdouglas has quit [Read error: Connection reset by peer]
spicerack has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dseitz has quit [Read error: Connection reset by peer]
centrx has joined #ruby
jkamenik has quit [Quit: Leaving.]
senayar has joined #ruby
jeregrine has joined #ruby
centrx is now known as Guest89261
<apeiros> maasha: can't tell, sorry
<toretore> maasha: i would suggest breaking it down into smaller pieces to figure out what's going on
sdouglas has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
<toretore> i wanted to have a look at it, but i couldn't be bothered to try to understand all of it
benzrf|offline is now known as benzrf
cntrx has joined #ruby
noop has quit [Ping timeout: 268 seconds]
cescalante is now known as ce_afk
cndiv has joined #ruby
<apeiros> sports time anyway
heftig has joined #ruby
<benzrf> hello ruby people
<toretore> apeiros: SPORTS???
<apeiros> hi ruby person :o)
<benzrf> omg sprots
<toretore> you disappoint me
kirun has quit [Ping timeout: 252 seconds]
sdouglas_ has joined #ruby
<apeiros> toretore: yeah. government said the belly was too big :(
<toretore> haha
<toretore> government-mandated sports
<apeiros> I know she'll complain about it no longer being soft afterwards
chichou has joined #ruby
newUser1234 has joined #ruby
cntrx is now known as centrx
<apeiros> & comfy
<maasha> toretore: I am afraid it doesn't break down very well. It's got forking of workers, inter process communication, and control code. Those has got to come together.
sdougla__ has joined #ruby
sdouglas has quit [Ping timeout: 240 seconds]
mforrester has quit [Remote host closed the connection]
Guest89261 has quit [Ping timeout: 255 seconds]
SCommette has quit [Quit: SCommette]
sdougla__ has quit [Read error: Connection reset by peer]
alvaro_o has joined #ruby
bricker_ has joined #ruby
<toretore> apeiros: well, good luck with the sports thing anyway :)
adi_ has joined #ruby
<toretore> maasha: you just broke it down in that very sentence
james_d_h has joined #ruby
sdouglas_ has quit [Ping timeout: 240 seconds]
SCommette has joined #ruby
bricker has quit [Ping timeout: 252 seconds]
pyreal has quit [Quit: pyreal]
<maasha> toretore: but testing these separately doesn't make sense
<toretore> of course it does
gr33n7007h has quit [Ping timeout: 252 seconds]
<toretore> what are you using for ipc? pipes. can they block your program? yup.
shadoi1 has quit [Quit: Leaving.]
kirun has joined #ruby
<benzrf> maasha: use zmq!
<benzrf> zmq is da best for ipc coordination & communication
<benzrf> B)
bricker_ is now known as bricker
<benzrf> of course it is da best in general
freezey has joined #ruby
saarinen has joined #ruby
<bricker> I really wish I didn't get bumped off of IRC every time I switch VPN... there must be some sort of timeout option in irssi right?
<benzrf> bricker: just use a bouncer o=
shutch has quit [Ping timeout: 240 seconds]
freezey has quit [Read error: Connection reset by peer]
<bricker> benzrf: I don't know what that is
freezey has joined #ruby
<toretore> it's a mirc plugin
mary5030 has joined #ruby
nobitanobi has quit []
<maasha> toretore: but investigating any blocking of IPC falls back on the forking i.e. worker spawning.
flowerpot has quit [Quit: leaving]
Bumptious has joined #ruby
sdouglas has joined #ruby
<benzrf> toretore: no its not!
shadoi1 has joined #ruby
sdouglas has quit [Read error: Connection reset by peer]
Bumptiou_ has quit [Ping timeout: 255 seconds]
mikepack has joined #ruby
<benzrf> bricker: a bouncer is basically an irc proxy that does useful things like buffering chat
whomp has joined #ruby
derek_c has joined #ruby
<freeone3000> bricker: It's a TCP connection, you can't just "make it stick" when you switch IPs.
<benzrf> im always online while not using irc as benzrf|offline
<benzrf> because i use a bouncer =]
<benzrf> if you whois me youll see im connected via benzrf.com
coderxin_ has quit [Remote host closed the connection]
smathieu has quit [Remote host closed the connection]
<bricker> benzrf: interesting, where can I get on to one of these "bouncers"
sdouglas_ has joined #ruby
smathieu has joined #ruby
sdouglas_ has quit [Read error: Connection reset by peer]
jprovazn is now known as jprovazn_afk
zeleiadi has joined #ruby
centrx has quit [Ping timeout: 268 seconds]
<benzrf> bricker: i host mine myself
<benzrf> bricker: do you have a server
bradhe_ has quit [Remote host closed the connection]
wallerdev has quit [Quit: wallerdev]
<bricker> benzrf: nah
<benzrf> o=
dzhulk has joined #ruby
<bricker> I mean, yeah, but not that I would install an IRC bouncer on :P
<benzrf> k
<bricker> I need to get on this "The Cloud" (tm)
carraroj has quit [Quit: Konversation terminated!]
timpa has quit [Ping timeout: 245 seconds]
shadoi1 has quit [Ping timeout: 252 seconds]
Sawbones has joined #ruby
bradhe has joined #ruby
nari has quit [Ping timeout: 245 seconds]
smathieu has quit [Ping timeout: 240 seconds]
nanoyak has joined #ruby
DrCode has joined #ruby
mansi has quit [Remote host closed the connection]
centrx has joined #ruby
centrx is now known as Guest88793
<benzrf> gluh
<benzrf> is there any way to hook into when methods are defined
<benzrf> :-\
<benzrf> AND get their src
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jobewan has quit [Quit: Leaving]
agjacome has joined #ruby
<benzrf> ah, w/e
hobodave has quit [Ping timeout: 240 seconds]
echevemaster has joined #ruby
echevemaster has quit [Changing host]
echevemaster has joined #ruby
phansch_ has joined #ruby
mercwithamouth has quit [Ping timeout: 245 seconds]
hobodave has joined #ruby
CaptainJet has quit []
CaptainJet has joined #ruby
rvraghav93 has joined #ruby
rvraghav93_ has quit [Ping timeout: 240 seconds]
aspires has quit []
p8952 has quit [Ping timeout: 240 seconds]
qmfnp has quit [Quit: Textual IRC Client: www.textualapp.com]
phansch has quit [Ping timeout: 268 seconds]
mityaz has joined #ruby
evenix has quit [Remote host closed the connection]
tvw has joined #ruby
mercwithamouth has joined #ruby
IceDragon has quit [Read error: Connection reset by peer]
IcyDragon has joined #ruby
<benzrf> >> '/foo'.split '/'
<eval-in> benzrf => ["", "foo"] (https://eval.in/127326)
<benzrf> :I
bradhe has quit [Remote host closed the connection]
Musashi1 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
terrellt has quit [Ping timeout: 240 seconds]
patrick99e99 has joined #ruby
bradhe has joined #ruby
<mozzarella> >> '/foo'.split('/').trim
<eval-in> mozzarella => undefined method `trim' for ["", "foo"]:Array (NoMethodError) ... (https://eval.in/127327)
<mozzarella> >> '/foo'.split('/').chomp
<eval-in> mozzarella => undefined method `chomp' for ["", "foo"]:Array (NoMethodError) ... (https://eval.in/127328)
jackneill has quit [Read error: Connection reset by peer]
coderxin has joined #ruby
Hobogrammer has joined #ruby
<mozzarella> see
<mozzarella> that's how you do it
joast has quit [Ping timeout: 240 seconds]
<benzrf> hehheheheh
<benzrf> >> 'foo'.trim ohcibi
<eval-in> benzrf => undefined local variable or method `ohcibi' for main:Object (NameError) ... (https://eval.in/127329)
<benzrf> >> 'foo'.trim 'o'
<eval-in> benzrf => undefined method `trim' for "foo":String (NoMethodError) ... (https://eval.in/127330)
<benzrf> meh
<benzrf> i want lchomp
<benzrf> :I
whomp has quit [Ping timeout: 240 seconds]
<mozzarella> >> '/foo'.split('/').reject { |i| i.empty? }
<eval-in> mozzarella => ["foo"] (https://eval.in/127331)
Sawbones has quit []
aspires has joined #ruby
bradhe has quit [Read error: Connection reset by peer]
<benzrf> mozzarella: perhaps you mean &:empty?
bradhe has joined #ruby
<j416> benzrf: what are you even doing @ '/foo'
echevemaster has quit [Remote host closed the connection]
patrick99e99 has quit [Ping timeout: 265 seconds]
mansi has joined #ruby
jottr has joined #ruby
spicerack has joined #ruby
<freeone3000> I'm using Net::SSH, and I'd like to specify which identity to load from pageant. How do I do this?
<j416> >> '/foo'.scan(/[^\/]+/)
<eval-in> j416 => ["foo"] (https://eval.in/127333)
* j416 shrugs
<DouweM> benzrf: whatcha what are you trying to do?
<j416> >> '/foo/bar/baz'.scan(/[^\/]+/)
<eval-in> j416 => ["foo", "bar", "baz"] (https://eval.in/127336)
* j416 shrugs again
mary5030 has quit [Remote host closed the connection]
<DouweM> "/foo/bar/baz"[1..-1].split("/")
<DouweM> >> "/foo/bar/baz"[1..-1].split("/")
<DouweM> What'd I do to you, eval-in?
<shevy> you kissed his girlfriend
<DouweM> You know that's right
bradhe has quit [Ping timeout: 265 seconds]
echevemaster has joined #ruby
maximski has quit []
freerobby has quit [Quit: Leaving.]
stupidystupid has joined #ruby
bline79 has joined #ruby
rvraghav93_ has joined #ruby
rabeldable has quit [Quit: Leaving.]
rvraghav93 has quit [Ping timeout: 240 seconds]
YamakasY has quit [Ping timeout: 268 seconds]
michaeldeol has joined #ruby
cpruitt has quit [Quit: cpruitt]
dzhulk has quit [Quit: Leaving.]
IcyDragon is now known as IceDragon
Guest88793 is now known as centrx
wallerdev has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
cpruitt has joined #ruby
skaflem has quit [Quit: Leaving]
pfg has joined #ruby
freerobby has joined #ruby
sambao21 has joined #ruby
lethjakman has quit [Ping timeout: 245 seconds]
<toretore> i just had to
terrellt has joined #ruby
gregf has quit [Quit: WeeChat 0.4.3]
<benzrf> god dammit
<benzrf> toretore: use 0mq
<benzrf> aka zmq
gregf has joined #ruby
<benzrf> toretore im serious 0mq is best
rvraghav93 has joined #ruby
<benzrf> it's kinda like what you just wrote but much better
momomomomo has quit [Quit: momomomomo]
<benzrf> and stuff.
<toretore> stop shouting about zmq all the time
<benzrf> b-but
<benzrf> it's so good!
rvraghav93_ has quit [Ping timeout: 245 seconds]
abdulsattar has quit [Ping timeout: 240 seconds]
lethjakman has joined #ruby
<centrx> Does it do anything a database can't do?
dzhulk has joined #ruby
timonv has joined #ruby
mansi has quit [Remote host closed the connection]
camilasan has quit [Ping timeout: 252 seconds]
tcstar has quit [Ping timeout: 252 seconds]
<AlexRussia> yah, i end this f**kin homework :)
mansi has joined #ruby
<benzrf> centrx: it's entirely a separate thing from a database
ohwhoa has joined #ruby
<benzrf> it provides you with a few types of sockets that support bind, connect, send, and recv operations
tcstar_work has quit [Quit: Leaving]
tcstar|work has joined #ruby
<benzrf> they are not much like tcp sockets
momomomomo has joined #ruby
<centrx> Yes, but if you are already using a database, what is the use of a message queue?
<benzrf> it's not really a message queue
<benzrf> it can be used like onewheelskyward
<benzrf> *one
<benzrf> goddamn nick always catches me up =[
<centrx> I've used onewheelskyward. I didn't like it.
bradhe has joined #ruby
timonv has quit [Ping timeout: 252 seconds]
weaksauce has joined #ruby
<onewheelskyward> I'm not for everyone.
bradhe has quit [Remote host closed the connection]
mansi has quit [Ping timeout: 245 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<maasha> toretore: very good. still suffers from race conditions though - worker 3 comes before worker 2
mikepack has quit [Remote host closed the connection]
tcstar|work has quit [Read error: Connection reset by peer]
<toretore> that's not a race condition, that's how concurrency works
mityaz has quit [Quit: See ya!]
<toretore> if you need to synchronize them that's a different matter
momomomomo has quit [Client Quit]
Burgestrand has joined #ruby
shutch has joined #ruby
Vovko_ has joined #ruby
<bline79> I want to enter a couple return carriages within brackets here: result = %x[tsung-recorder status] \n doesn't seem to do it.. Any ideas ?
<benzrf> >> '\r'
<eval-in> benzrf => "\\r" (https://eval.in/127340)
<benzrf> >> "\r"
r0nin has quit [Remote host closed the connection]
<eval-in> benzrf => "\r" (https://eval.in/127341)
<benzrf> >> puts "foo\rbar"
<eval-in> benzrf => foo
<eval-in> bar ... (https://eval.in/127342)
<benzrf> hmm
Vovko has quit [Ping timeout: 268 seconds]
<benzrf> >> puts "foo\r" * 5
<eval-in> benzrf => foo
<eval-in> foo
<eval-in> foo
<eval-in> foo
<eval-in> foo ... (https://eval.in/127343)
<benzrf> welp
tcstar has joined #ruby
depesz has left #ruby ["WeeChat 0.4.3"]
postmodern has joined #ruby
Vovko has joined #ruby
tcstar is now known as tcstar|work
momomomomo has joined #ruby
patrick99e99 has joined #ruby
rvraghav93 has quit [Remote host closed the connection]
CreativeEmbassy has quit [Quit: FO SHO]
<toretore> bline79: what for?
rvraghav93 has joined #ruby
<AlexRussia> hey, help me
<AlexRussia> how to delete in string every non-number symbold?
<AlexRussia> symbols*
YamakasY has joined #ruby
anorek has joined #ruby
<toretore> look at tr or gsub
<benzrf> AlexRussia:
<bline79> toretore: when I run that command, it doesn't finish until return key is pressed... I need the command to finish so I can use the output
aagdbl has quit [Quit: This computer has gone to sleep]
<AlexRussia> string like +7-925-268-11-01 convert to 7925...
chrisseaton has quit [Ping timeout: 245 seconds]
<AlexRussia> understand?
<canton7> look at tr or gsub
<AlexRussia> tr?
<canton7> google 'ruby tr'
tylersmi_ has joined #ruby
<AlexRussia> canton7: ri tr
danshult_ has quit [Remote host closed the connection]
<jhass> String#tr, String#delete or String#gsub can solve this
<canton7> or that
Vovko_ has quit [Ping timeout: 245 seconds]
centrx has quit [Ping timeout: 240 seconds]
sski has quit [Remote host closed the connection]
<maasha> toretore: synchronization it is. I need to preserve the order without compromising efficiency
<toretore> bline79: you mean you need to give it \n on stdin?
danshultz has joined #ruby
<toretore> or send eof?
sski has joined #ruby
Lewix has quit [Remote host closed the connection]
<crome> AlexRussia: one solution: input.scan(/\d/).join.to_i
<toretore> maasha: well, that's simple, just reorder them when they're done
michaeldeol has joined #ruby
<crome> or minus the to_i if you dont actually need a number
tylersm__ has joined #ruby
<bline79> toretore: I need to simulate a carriage return, so I assume that's a \n ? I'm not sure
<jhass> input.gsub(/\D/, '')
<AlexRussia> crome: thanks brother ;)
<AlexRussia> jhass: Oo
<crome> jhass: even better
<toretore> bline79: carriage return generally means \r
patrick99e99 has quit [Ping timeout: 265 seconds]
<toretore> but it could mean just "user presses enter key"
momomomomo has quit [Quit: momomomomo]
<bline79> I've tried putting in \n there and it doesn't seem to function properly
jprovazn_afk has quit [Quit: Odcházím]
<toretore> you probably need to use popen
<bline79> ie: result = %x[tsung-recorder status \n\n]
terrellt has quit [Read error: Connection reset by peer]
<toretore> the process is waiting for something on stdin after it's been started
tylersmith has quit [Ping timeout: 268 seconds]
tcstar has joined #ruby
<toretore> there is no program called "tsung-recorder status \n\n"
testcore has quit [Quit: BitchX-1.3-git -- just do it.]
ohwhoa has quit [Quit: woah!]
jrhorn424 is now known as zz_jrhorn424
<AlexRussia> how to get all string at file object?
danshultz has quit [Ping timeout: 252 seconds]
sski has quit [Ping timeout: 268 seconds]
tylersmi_ has quit [Ping timeout: 268 seconds]
<bline79> It runs the command properly, but doesn't issue the return so it's waiting on input for it to finish
<toretore> why is it waiting in the first place?
willcodeforfoo has joined #ruby
<toretore> i mean it's not just waiting for a newline, that's stupid
<bline79> default behavior of tsung-recorder.. not sure
willcodeforfoo has quit [Client Quit]
pragmatism has joined #ruby
<bline79> it is extremely annoying, and has caused me to waste several hours
Burgestrand has quit [Quit: Burgestrand]
<maasha> toretore: sure, but all of my data will blow the memory so it needs to be ordered on the fly. A cache that is output and cleared along the way could be a solution.
<pragmatism> I'm writing a CLI using gem commander. What's the best way to test it?
davy_ has quit [Remote host closed the connection]
dx7 has joined #ruby
mansi has joined #ruby
<pipework> pragmatism: With tests. I mean, there are three main kinds of tests. Functional, integration, and unit.
anorek has quit []
<pragmatism> pipework: lol, sorry, I should have been more specific
<pipework> pragmatism: Probably a fault of over-pragmatism. :p
<toretore> maasha: well, time to get creative then
<pragmatism> Is there a preferred framework for testing CLIs in ruby?
<maasha> toretore: excellent. thanks! I will sleep on it and go to work tomorrow
willcodeforfoo has joined #ruby
<pragmatism> At least something with a terminal mocker?
anorek has joined #ruby
<maasha> apeiros: and thank you too. Your help is much appreciated.
centrx has joined #ruby
willcodeforfoo has quit [Client Quit]
<toretore> bline79: IO.popen('tsung-recorder status'){|io| io.puts; io.read }
centrx is now known as Guest30381
dzhulk has quit [Quit: Leaving.]
Guest30381 is now known as centrx
dzhulk has joined #ruby
dzhulk has quit [Remote host closed the connection]
adi_ has quit [Ping timeout: 245 seconds]
shaileshg has quit [Quit: Connection closed for inactivity]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jlast has quit [Remote host closed the connection]
ehc has joined #ruby
zeleiadi has quit [Quit: Konversation terminated!]
MattStratton has quit [Ping timeout: 252 seconds]
chrisseaton has joined #ruby
jlast has joined #ruby
<unholycrab> is it possible to specify a specific installed ruby version inside of the ruby script itself?
maasha has quit [Quit: Page closed]
<unholycrab> instead of issuing 'rvm use' before running the script
moted has joined #ruby
<canton7> chruby supports having a .ruby-version file, as does rbenv. dunno if rvm has that concept too
toastyne_ has quit [Remote host closed the connection]
<postmodern> rvm supports .ruby-version files as well, it's a defacto standard
mikepack has joined #ruby
xeno has joined #ruby
mengu has joined #ruby
dseitz has joined #ruby
gfunc has quit [Remote host closed the connection]
<xeno> I really have been looking for this: I have a file that will be included from many different directories, and it needs to do shell calls of scripts all over the tree. How do I specify the directory this file is in, NOT that the script is in, but that the required file is in?
dgaffney has quit []
chrisseaton has quit [Ping timeout: 265 seconds]
<canton7> i'm lost. you can't have multiple directories include the same file. what's including what?
<benzrf> canton7: scripts in many dirs will call require to get the file
quitobro has quit [Remote host closed the connection]
<toretore> xeno: __FILE__
<benzrf> toretore++
zachallett has quit [Remote host closed the connection]
Es0teric has quit [Ping timeout: 265 seconds]
<canton7> wondered whether it might be
<canton7> __dir__ too
MatthewsFace has quit [Ping timeout: 252 seconds]
<benzrf> >> __DIR__
<bricker> If anybody is good with firewall rules, is there an obvious reason this would fail to restart on ubuntu? "--append FIREWALL -p icmp --icmp-type 8 -s 205.144.162.128/255.255.255.224 -j ACCEPT"
<eval-in> benzrf => undefined local variable or method `__DIR__' for main:Object (NameError) ... (https://eval.in/127431)
<benzrf> hm
<benzrf> hm
<benzrf> >> __dir__
<eval-in> benzrf => "/tmp/execpad-53312416ca8f" (https://eval.in/127434)
<benzrf> huh
<benzrf> why not uppercase o.O
<canton7> because __FILE__ is a constant, and __dir__ is a method, I think? can't remember. there was a *lot* of discussion around the casing there
pagioss is now known as pagios
<benzrf> huh?
<benzrf> >> _Foo = 3
<eval-in> benzrf => 3 (https://eval.in/127454)
Es0teric has joined #ruby
<benzrf> wait
<benzrf> >> _Foo
<eval-in> benzrf => undefined local variable or method `_Foo' for main:Object (NameError) ... (https://eval.in/127457)
<benzrf> nope
<benzrf> not a ConstantineXVI
<benzrf> *const
rvraghav93_ has joined #ruby
<canton7> hmm?
mehlah has joined #ruby
rvraghav93 has quit [Ping timeout: 265 seconds]
<canton7> are you making a point? /confused
toastynerd has joined #ruby
momomomomo has joined #ruby
doodlehaus has quit [Remote host closed the connection]
<AlexRussia> what key for open file to added some strings? i want not rewrite file, when open
r0nin has joined #ruby
<canton7> 'w'? 'a'?
Stalkr_ has quit [Quit: Linkinus - http://linkinus.com]
zigomir has quit [Ping timeout: 265 seconds]
quitobro has joined #ruby
jzig has joined #ruby
patrick99e99 has joined #ruby
rvraghav93 has joined #ruby
rvraghav93_ has quit [Ping timeout: 240 seconds]
aaronmcadam has joined #ruby
<xeno> undefined local variable or method __dir__ for main:Object (NameError)
<AlexRussia> canton7: yah,a, thanks
Yayo has joined #ruby
rudisimo has quit []
<canton7> xeno, it was 2.0 or 2.1 or something
<AlexRussia> xeno: mmm?
inkblots has quit [Read error: Connection reset by peer]
matcouto has joined #ruby
geggam has quit [Remote host closed the connection]
_Andres has quit [Read error: Connection reset by peer]
r0nin has quit [Ping timeout: 252 seconds]
axsuul has quit [Read error: Connection reset by peer]
axsuul has joined #ruby
patrick99e99 has quit [Ping timeout: 264 seconds]
momomomomo has quit [Quit: momomomomo]
MatthewsFace has joined #ruby
rvraghav93_ has joined #ruby
rvraghav93 has quit [Ping timeout: 264 seconds]
smathieu has joined #ruby
jdguzman has joined #ruby
SonicX has joined #ruby
einarj has quit [Remote host closed the connection]
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<xeno> Thank you.
jbueza has joined #ruby
toastynerd has quit [Remote host closed the connection]
toastynerd has joined #ruby
rvraghav93 has joined #ruby
rvraghav93_ has quit [Ping timeout: 245 seconds]
bricker_ has joined #ruby
michaeldeol has joined #ruby
momomomomo has joined #ruby
bricker has quit [Read error: Connection reset by peer]
mansi has quit [Remote host closed the connection]
chuk has joined #ruby
Musashi1 has joined #ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
bluOxigen has quit [Ping timeout: 264 seconds]
mansi has joined #ruby
tcstar|work has quit [Read error: Connection reset by peer]
DouweM has quit [Remote host closed the connection]
hobodave has quit [Quit: Computer has gone to sleep.]
cndiv has quit [Ping timeout: 246 seconds]
DouweM has joined #ruby
digifiv5e has quit [Quit: quit]
toastynerd has quit [Remote host closed the connection]
Symbiosisz has quit [Quit: Leaving]
mansi has quit [Ping timeout: 252 seconds]
bilbo_swaggins has joined #ruby
spicerack has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
toastyne_ has joined #ruby
momomomomo has quit [Quit: momomomomo]
james_d_h has quit [Quit: leaving]
hobodave has joined #ruby
dx7 has quit [Remote host closed the connection]
derek_c has quit [Ping timeout: 240 seconds]
dx7 has joined #ruby
nbezzala has quit [Ping timeout: 265 seconds]
hiall has joined #ruby
YamakasY has quit [Quit: The best revenge is massive success...]
bilbo_swaggins has quit [Quit: Leaving]
inversesquarelaw has quit [Quit: leaving]
emanu has joined #ruby
emanu has quit [Client Quit]
sambao21 has quit [Quit: Computer has gone to sleep.]
momomomomo has joined #ruby
matcouto has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
crystal77 has quit [Quit: Computer has gone to sleep.]
dx7 has quit [Ping timeout: 268 seconds]
SCommette has quit [Quit: SCommette]
zachallett has joined #ruby
_Andres has joined #ruby
dkamioka has quit [Remote host closed the connection]
crystal77 has joined #ruby
tectonic has quit []
dkamioka has joined #ruby
sambao21 has joined #ruby
shadoi1 has joined #ruby
sigurding has quit [Quit: sigurding]
jmpf has joined #ruby
patrick99e99 has joined #ruby
nfk has quit [Quit: yawn]
nbezzala has joined #ruby
nanoyak has joined #ruby
alexju has quit [Remote host closed the connection]
bklane has quit [Quit: Leaving...]
dblessing has quit [Quit: dblessing]
Yayo has quit []
<lukec> Would this be threadsafe code ? https://gist.github.com/lcowell/9794831
<apeiros> no
<lukec> specifically could one thread pollute another threads value on line 3 ?
dx7 has joined #ruby
<lukec> can you elaborate ?
<apeiros> or actually - since you don't have a setter - yes
chris_thomson has joined #ruby
charliesome has joined #ruby
<apeiros> but you don't have a reader either, so I guess the whole question is pointless.
<apeiros> lukec: note, = does not copy.
pragmatism has left #ruby [#ruby]
<jmpf> anyone know why I get 2 match groups on the second but not the first? http://pastie.org/8971566
shadoi1 has quit [Ping timeout: 240 seconds]
dkamioka has quit [Ping timeout: 252 seconds]
<apeiros> lukec: i.e., Foo.build(data) is *exactly* the same as Foo.new(data)
beneggett has joined #ruby
whomp has joined #ruby
momomomomo has quit [Quit: momomomomo]
kpshek has quit []
cndiv has joined #ruby
<unholycrab> clear
<unholycrab> ssh ec2-54-196-25-163.compute-1.amazonaws.com
moted has quit [Quit: moted]
<jhass> yeah, well
timonv has joined #ruby
<jhass> not your shell here
<lukec> apeiros: thanks, that confirms the testing I’ve done.
<atmosx> unholycrab: you wrote that shit manually?
moted has joined #ruby
patrick99e99 has quit [Ping timeout: 252 seconds]
<atmosx> and hit enter...
<atmosx> I can't believe people
AlexRussia has quit [Ping timeout: 240 seconds]
<apeiros> jmpf: because s.match(r1).post_match # => "url.size]"
<apeiros> and "url.size]" does not match your regex
<apeiros> jmpf: also, you get 2 *matches* (not match groups)
chris_thomson has quit [Client Quit]
ktosiek has joined #ruby
iceden has quit [Ping timeout: 268 seconds]
YamakasY has joined #ruby
afreidah has quit [Ping timeout: 240 seconds]
ubuntu__ has joined #ruby
ubuntu__ has quit [Client Quit]
axsuul has quit [Ping timeout: 268 seconds]
davy_ has joined #ruby
jhass is now known as jhass|off
inverses1uarelaw has joined #ruby
<apeiros> lukec: rule of thumb - all immutable data is thread-safe
cndiv has quit [Ping timeout: 252 seconds]
inverses1uarelaw has quit [Client Quit]
nateberkopec has quit [Quit: Leaving...]
gr33n7007h has joined #ruby
<lukec> apeiros: thanks. I just wanted to make sure that I understood the behaviour of local variables in a class method.
inversesquarelaw has joined #ruby
ffranz has quit [Quit: Leaving]
davy_ has quit [Ping timeout: 240 seconds]
rmorello has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
jbueza has quit [Ping timeout: 268 seconds]
`nik` has joined #ruby
freerobby has quit [Quit: Leaving.]
TMM has joined #ruby
nbezzala has quit [Read error: Connection reset by peer]
codabrink has quit [Quit: Textual IRC Client: www.textualapp.com]
iceden has joined #ruby
PLejeck is now known as nuck
DrShoggoth has quit [Quit: Leaving]
MatthewsFace has quit [Quit: This computer has gone to sleep]
geopet has quit []
havenwood has joined #ruby
nisstyre has joined #ruby
jmpf has quit [Quit: leaving]
s00pcan has joined #ruby
rvraghav93_ has joined #ruby
relix has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rvraghav93 has quit [Read error: Connection reset by peer]
claymore has quit [Ping timeout: 268 seconds]
cndiv has joined #ruby
narcan has joined #ruby
axsuul has joined #ruby
mansi has joined #ruby
hermanmunster has joined #ruby
toastyne_ has quit [Remote host closed the connection]
maroloccio has quit [Quit: WeeChat 0.4.3]
aspires has quit []
shinobi_one has quit [Quit: shinobi_one]
Hobogrammer_ has joined #ruby
phansch_ has quit [Quit: WeeChat 0.4.2]
r0nin has joined #ruby
monkegjinni has joined #ruby
bricker_ has quit [Quit: leaving]
Hobogrammer has quit [Ping timeout: 264 seconds]
dseitz has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mansi has quit [Ping timeout: 268 seconds]
toastynerd has joined #ruby
r0nin has quit [Ping timeout: 268 seconds]
s00pcan has quit [Ping timeout: 240 seconds]
whomp has quit [Ping timeout: 240 seconds]
IceDragon has quit [Ping timeout: 252 seconds]
nbezzala has joined #ruby
cover has quit [Ping timeout: 240 seconds]
MatthewsFace has joined #ruby
andrewlio has joined #ruby
andrewlio has quit [Client Quit]
claymore has joined #ruby
claymore has quit [Remote host closed the connection]
einarj has joined #ruby
mary5030 has joined #ruby
timonv has quit [Remote host closed the connection]
siwica has quit [Remote host closed the connection]
timonv has joined #ruby
near77 has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
aspires has joined #ruby
<near77> hi
<near77> i have an app which loads different ruby files from a directory and for each display a message
SCommette has joined #ruby
centrx has quit [Ping timeout: 255 seconds]
IceDragon has joined #ruby
<havenwood> near77: hi
<near77> is there a way for a ruby script to dynamically load files on a folder and then execute functions related to the name of the file
davy_ has joined #ruby
<near77> like if the folder has file one.rb i will execute function one_function() and add the output to an array
<wallerdev> near77: sure
mikemar10 has quit [Ping timeout: 255 seconds]
<wallerdev> method_missing
joast has joined #ruby
SCommette has quit [Client Quit]
<near77> so i only add the files to folders
YamakasY has quit [Quit: The best revenge is massive success...]
<havenwood> near77: Dir['*'].map { |filename| "/whatev/#{filename}" }
enebo has quit [Quit: enebo]
einarj has quit [Ping timeout: 245 seconds]
funburn has joined #ruby
jorts has joined #ruby
rahult has joined #ruby
timonv has quit [Ping timeout: 264 seconds]
<havenwood> near77: if you can show example folder and files and the expected output i'm sure we can help
davy_ has quit [Ping timeout: 240 seconds]
freezey_ has joined #ruby
zarul has quit [Quit: Leaving]
rvraghav93 has joined #ruby
rvraghav93_ has quit [Ping timeout: 252 seconds]
Naoe-Kanno has quit [Quit: ネウロイを負かさなきゃならないね]
andy__ has quit [Remote host closed the connection]
quitobro has quit [Remote host closed the connection]
maletor has joined #ruby
<near77> thanks havenwood
<near77> I used the map and now I have the names of the files
<near77> I want to then include the file
<near77> and execute a function in said file
joast has quit [Ping timeout: 240 seconds]
Thanatermesis has joined #ruby
arubincloud has quit []
<havenwood> near77: what kind of file? a Ruby file with a method you want to call?
freezey has quit [Ping timeout: 268 seconds]
<near77> im putting it in pastebin thank
<near77> there is an example
freezey_ has quit [Ping timeout: 268 seconds]
<near77> I have 2 files in the modules folder, both have a function called start, I want to include each in my code and execute those functions and store the output
yasushi has joined #ruby
<near77> this is so every time a new module needs to be added, only the file is uploaded to the modules folder, and nothing else needs to be modified
mengu has quit []
<near77> but I want to run this scripts as part of my ruby master script, so they share common dependencies
randomnick_ has quit [Remote host closed the connection]
<havenwood> near77: still not quite sure i follow, but something like?: Dir['modules/*.rb'].map { |filename| require File.basename filename }
aaronmcadam has quit [Ping timeout: 252 seconds]
centrx has joined #ruby
Musashi1 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
centrx is now known as Guest24543
<havenwood> near77: these files you're requiring are '.rb', '.so', '.o', or '.dll', right? not something serialized?
emergion has joined #ruby
jottr has quit [Quit: WeeChat 0.4.2]
<near77> exactly havenwood
<near77> the require would be what I want
<near77> (all the files are .rb)
<near77> but im missing, how can I then call a function
<havenwood> near77: how will you know the method's name that you want to call?
<near77> sorry the example I gave was not the right one
cntrx has joined #ruby
cntrx has quit [Remote host closed the connection]
<near77> it would be filename1_start() the other filename2_start()
northfurr has quit []
<havenwood> near77: just asides, but i'd recommend two-space soft tabs, implicit returns (don't use `return` unless using it changes what the method returns), and omit parens on methods when there are no arguments.
<havenwood> near77: though you don't need to get the basename to require a file
ktosiek_ has joined #ruby
<havenwood> or map
quitobro has joined #ruby
<near77> for example
<near77> how would you execute a function
<near77> that a user types?
<havenwood> methods not functions
<near77> for example function = $stdin.gets.chomp()
<near77> yeah a method
ktosiek has quit [Read error: Connection reset by peer]
<near77> method = $stdin.gets.chomp()
Guest24543 has quit [Ping timeout: 255 seconds]
<havenwood> near77: Dir['modules/*.rb'].each { |filename| require filename }
<havenwood> so you want to define a method on a class based on #gets input? that seems odd
<benzrf> ok wtf :(
monkegjinni has quit [Remote host closed the connection]
DallasG has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<near77> no, the method exists
monkegjinni has joined #ruby
<near77> I just want to call it after the require
<near77> and it will depend on the name of the file
<near77> like the file root.rb has a method called start_root()
<near77> and I want to call it
<near77> without typing the "start_root" but "start_#{filename}"
<havenwood> near77: i don't at all follow, can you show example file structure and how you expect to call it and the desired output?
freeone3000 has quit [Quit: Konversation terminated!]
<havenwood> i don't at all follow what you want
<havenwood> benzrf: rabble rabble rabble!
davy has joined #ruby
axsuul has quit [Ping timeout: 264 seconds]
patrick99e99 has joined #ruby
linojon has quit [Quit: linojon]
cover has joined #ruby
<near77> lets see
hiall has quit [Quit: hiall]
crystal77 has quit [Quit: Computer has gone to sleep.]
cntrx has joined #ruby
mansi has joined #ruby
<near77> I have a file start.rb and a folder modules, I want to require each file in the folder modules and then execute a method which name is the filename_start()
<near77> is that more clear=?
MohamedAlaa has quit []
workmad3 has joined #ruby
monkegjinni has quit [Ping timeout: 240 seconds]
meatherly has quit [Remote host closed the connection]
toastynerd has quit [Remote host closed the connection]
danman_ has quit [Quit: danman_]
Xiti has joined #ruby
bklane has joined #ruby
toastyne_ has joined #ruby
garndt has quit [Quit: Connection closed for inactivity]
<havenwood> nope
patrick99e99 has quit [Ping timeout: 265 seconds]
chris_thomson has joined #ruby
Stalkr_ has joined #ruby
aspires has quit []
coderxin has quit [Remote host closed the connection]
aspires has joined #ruby
coderxin has joined #ruby
coderxin_ has joined #ruby
coderxin has quit [Read error: Connection reset by peer]
<near77> found it
<near77> I need send()
toretore has quit [Quit: This computer has gone to sleep]
m0s^away is now known as m0s
lkba has quit [Ping timeout: 268 seconds]
<near77> send("#{filename}_start")
stupidystupid has quit [Quit: Textual IRC Client: www.textualapp.com]
Alina-malina has quit [Ping timeout: 268 seconds]
quitobro has quit [Remote host closed the connection]
abra_ has quit [Ping timeout: 245 seconds]
mehlah has quit [Quit: Leaving...]
dseitz has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
abra has joined #ruby
abra has quit [Max SendQ exceeded]
spyderman4g63 has joined #ruby
benlieb has joined #ruby
abra has joined #ruby
abra has quit [Max SendQ exceeded]
coderxin_ has quit [Ping timeout: 240 seconds]
Alina-malina has joined #ruby
lmickh has quit [Remote host closed the connection]
snath has quit [Ping timeout: 252 seconds]
abra has joined #ruby
abra has quit [Max SendQ exceeded]
near77 has quit [Ping timeout: 245 seconds]
chris_thomson has quit [Quit: Zzz...]
quitobro_ has joined #ruby
abra has joined #ruby
cntrx has quit [Ping timeout: 240 seconds]
<havenwood> :O
quatron has joined #ruby
nhmood has quit [Quit: Connection closed for inactivity]
spyderman4g63 has quit [Ping timeout: 268 seconds]
kirun has quit [Quit: Client exiting]
chris_thomson has joined #ruby
joast has joined #ruby
ehc has quit [Quit: ehc]
cpruitt has quit [Quit: cpruitt]
<benzrf> yo havenwood wanna try quick
<havenwood> ya
monkegjinni has joined #ruby
<benzrf> u on osx or gnu/linux
aspires has quit []
Youneeeq has joined #ruby
aspires has joined #ruby
<havenwood> benzrf: native os x but virtualize whatev
<Youneeeq> hi
greggroth has joined #ruby
<benzrf> havenwood: you need FUSE
<benzrf> dev version i think
<benzrf> havenwood: do u gots?
fbernier has quit [Ping timeout: 268 seconds]
lavaman has quit [Quit: Leaving.]
incade has quit [Quit: incade]
<havenwood> done
<benzrf> sweet
Youneeeq has quit [Remote host closed the connection]
<havenwood> yup
<havenwood> build and install gem?
<benzrf> bundle install ofc
<benzrf> no build yet
benlieb has quit [Quit: benlieb]
<benzrf> i havent gemmified it
<havenwood> oh, right - i'm blind
<benzrf> haha
<benzrf> i should do that soon
<benzrf> im getting paranoid that somebody is gonna take quick as a name before i do
saarinen has quit [Quit: saarinen]
jamto11 has joined #ruby
<havenwood> benzrf: running into rfuse gem building issues,s ec
jdguzman has quit [Quit: Textual IRC Client: www.textualapp.com]
<benzrf> =[
<benzrf> >tfw
cntrx has joined #ruby
spicerack has joined #ruby
axl__ has quit [Quit: axl__]
AlexRussia has joined #ruby
freeone3000 has joined #ruby
cntrx is now known as centrx
<benzrf> havenwood: stuck in dep hell?
snath has joined #ruby
workmad3 has quit [Ping timeout: 265 seconds]
r0nin has joined #ruby
nateberkopec has joined #ruby
<havenwood> benzrf: yup, finding some headers but not `fuse.h` - looks like this problem: https://groups.google.com/forum/#!topic/osxfuse-group/i_I3zrgCxVM
<havenwood> benzrf: OS X >.>
<benzrf> :|
patrick99e99 has joined #ruby
<benzrf> this is why i use an OS with a system-integrated pkg mgr
<benzrf> B)
anorek has quit [Remote host closed the connection]
compleatang has joined #ruby
jzig has quit [Remote host closed the connection]
andy__ has joined #ruby
jzig has joined #ruby
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
davy has quit [Remote host closed the connection]
<havenwood> benzrf: fuse4x bought me a new error
quatron has quit [Quit: ChatZilla 0.9.90.1 [Firefox 28.0/20140314220517]]
<benzrf> >.>
baroquebobcat has quit [Ping timeout: 252 seconds]
<havenwood> make: *** [rfuse.o] Error 1
r0nin has quit [Ping timeout: 252 seconds]
<benzrf> :I
<DouweM> @ko1 on twitter: "1_000_000_000.times{|i| i.to_s.to_sym } works well on current trunk. great!"
<DouweM> Exactly what Ruby needed :)
patrick99e99 has quit [Ping timeout: 265 seconds]
m8 has quit [Quit: Sto andando via]
klaut has quit [Remote host closed the connection]
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
<freeone3000> Decimal separators, or .to_sym?
victorbjelkholm has joined #ruby
<DouweM> Having that many symbols :P
<havenwood> benzrf: looks like osxfuse isn't too far from working, yet alas it doesn't
<DouweM> I'm only joking
crystal77 has joined #ruby
northfurr has joined #ruby
jzig has quit [Ping timeout: 265 seconds]
<havenwood> benzrf: at least not on OS X 10.9.3
<centrx> freeone3000, Garbage collection for symbols is being added
tkuchiki has joined #ruby
<freeone3000> centrx: How can you assert that a collected symbol is equal to a symbol that also exists?
<DouweM> centrx: link?
<DouweM> yeah, I have the same question as freeone3000
nolic has quit [Ping timeout: 268 seconds]
<freeone3000> centrx: Moreover, are the number of symbols seriously that big a problem that you need to collect them?
<freeone3000> I'd assume that there's a constant number of them for each application.
doodlehaus has joined #ruby
<DouweM> freeone3000: not if you call user_input.to_sym ...
<centrx> For one thing, it alleviates a style of DOS with user input being interned
<freeone3000> centrx: As opposed to the more obvious solution of not interning user input.
<centrx> How do you plan to implement that solution across all users of Ruby?
victorbjelkholm has quit [Quit: Leaving]
greggroth has quit [Ping timeout: 240 seconds]
<centrx> and mistakes
<centrx> Apparently there is not much of a downside to it
<DouweM> yeah, looks pretty straightforward. surprised this wasn't done earlier
<DouweM> but I guess it's never been a big issue
<havenwood> freeone3000: sometimes it happens inadvertently (see Rails YAML exploit), and letting someone run your app dry isn't fun
<havenwood> freeone3000: many ways to create symbols, not all user input
<havenwood> freeone3000: but yeah, of course avoidable
tkuchiki has quit [Remote host closed the connection]
pinage404 has quit [Read error: Operation timed out]
kori has joined #ruby
1JTAAWJ07 has joined #ruby
GaryOak_ has quit [Ping timeout: 265 seconds]
axsuul has joined #ruby
cndiv has quit [Ping timeout: 265 seconds]