apeiros_ changed the topic of #ruby to: Ruby 2.2.0; 2.1.5; 2.0.0-p598; 1.9.3-p551: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
<bradland> can you post some code that isn’t working as you expect
<rakm> sure, one sec
baroquebobcat has quit [Quit: baroquebobcat]
<bradland> plz be sure to use a gist or pastie :)
snath has joined #ruby
<CrazyM4n> Hmm, I guess I could settle for another, unused character similar looking to =
leafybasil has joined #ruby
shellfu is now known as shellfu_afk
djbkd has joined #ruby
<CrazyM4n> Can you use unicode in function names?
ta_ has joined #ruby
<eam> sure
Hijiri has joined #ruby
<CrazyM4n> Convenient
<bradland> i was just thinking that i’d give you bonus points for using some ridiculous unicode character
shime_ has joined #ruby
ponga has joined #ruby
nateberkopec has joined #ruby
<rakm> bradland: http://pastie.org/9832406
<bricker> CrazyM4n: there are many problems with what you're trying to do
<bricker> CrazyM4n: I mean, even theoretically
<rakm> i know that "NULL" is actually the wrong thing to use as a string there
<bricker> CrazyM4n: what you want to do is write an extension to the parser
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<rakm> but i don;t know what the right way to do it is
<bricker> CrazyM4n: because whatever you try to do, the code on the right side of your special operator will just get run and you'll end up with a useless return value
<bradland> rakm: just use NULL wihtout the quotes
<eam> >> define_method '=', lambda {"called equals"}; send '='
<eval-in> eam => "called equals" (https://eval.in/242483)
<CrazyM4n> bricker: But the point is to have the code on the right side run
<bricker> CrazyM4n: run *eventually*
<CrazyM4n> Oh, I see what you mean
<eam> CrazyM4n: you can make a method out of any string, even one named just '='
<eam> you just can't easily express it
<eam> you can even make a method with no characters at all
jenrzzz has quit [Ping timeout: 244 seconds]
<bradland> rakm: http://pastie.org/9832409
iMe has quit [Ping timeout: 245 seconds]
shime has quit [Ping timeout: 255 seconds]
CpuID has joined #ruby
CpuID has joined #ruby
juanca99 has quit [Ping timeout: 246 seconds]
djbkd has quit [Remote host closed the connection]
<rakm> bradland: hmm yeah I see that problem. i'm generating that entire string by looping through some column names and values
<rakm> i think the way i'm doing it right now is actually going to cause more problems
<rakm> because i'm coercing everything as a string
<rakm> and ignoring data types :/
<bradland> ah, ok, yeah. you’ll need to handle special cases
<bradland> if null values are just empty strings, that’s easy
fmcgeough has joined #ruby
<bradland> >> "".empty?
<eval-in> bradland => true (https://eval.in/242484)
iMe has joined #ruby
ta_ has quit [Ping timeout: 276 seconds]
davedev2_ has quit [Ping timeout: 245 seconds]
nanoyak has quit [Quit: Computer has gone to sleep.]
larissa has quit [Quit: Leaving]
jenrzzz has joined #ruby
n008f4g_ has quit [Ping timeout: 264 seconds]
davedev24_ has joined #ruby
DadoCe has quit [Remote host closed the connection]
baweaver has joined #ruby
mary5030_ has quit [Remote host closed the connection]
nanoyak has joined #ruby
mary5030 has joined #ruby
nanoyak has quit [Client Quit]
timanema has quit [Quit: leaving]
timanema has joined #ruby
DadoCe has joined #ruby
nuck has joined #ruby
UberGM has joined #ruby
davedev24_ has quit [Ping timeout: 245 seconds]
crack_user has joined #ruby
davedev24_ has joined #ruby
larissa has joined #ruby
Pupeno has quit [Remote host closed the connection]
mary5030 has quit [Ping timeout: 252 seconds]
mrj has quit [Quit: mrj]
ta_ has joined #ruby
baweaver has quit [Remote host closed the connection]
bradland has quit [Quit: bradland]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
baweaver has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
ellisTAA has joined #ruby
checkit has quit [Read error: Connection reset by peer]
toertore has quit [Quit: This computer has gone to sleep]
ta_ has quit [Ping timeout: 256 seconds]
UberGM has left #ruby ["Leaving"]
livingstn has quit []
7JTABSAPZ has quit [Quit: I just dont know what went wrong!]
Megtastique has quit []
dyreshark has joined #ruby
jasonwebster has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
blackoperat has quit [Remote host closed the connection]
pglombardo has quit []
nux443 has quit [Quit: leaving]
ponga has quit [Quit: Leaving...]
diego_ar has quit []
jenrzzz has joined #ruby
ta_ has joined #ruby
Musashi007 has joined #ruby
baroquebobcat has joined #ruby
commmmodo has quit [Quit: commmmodo]
oo_ has joined #ruby
crack_user1 has joined #ruby
crack_user has quit [Ping timeout: 244 seconds]
timanema has quit [Quit: leaving]
timanema has joined #ruby
timanema has quit [Client Quit]
josephndenton has quit [Ping timeout: 256 seconds]
jenrzzz has quit [Ping timeout: 276 seconds]
ursooperduper has quit [Quit: Textual IRC Client: www.textualapp.com]
timanema has joined #ruby
tokik has joined #ruby
oo_ has quit [Remote host closed the connection]
MartynKeigher has joined #ruby
ta_ has quit [Ping timeout: 240 seconds]
oo_ has joined #ruby
n008f4g_ has joined #ruby
djbkd has joined #ruby
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
bklane has quit [Remote host closed the connection]
thumpba has quit [Remote host closed the connection]
thumpba has joined #ruby
conniemj has quit [Quit: (null)]
skj3gg has joined #ruby
timanema has quit [Quit: leaving]
timanema has joined #ruby
deavid has quit [Ping timeout: 265 seconds]
djbkd has quit [Ping timeout: 246 seconds]
bklane has joined #ruby
conniemj has joined #ruby
Hijiri has quit [Ping timeout: 272 seconds]
ta_ has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
djbkd has joined #ruby
djbkd has quit [Remote host closed the connection]
FooMunki has quit [Quit: FooMunki]
pwh has joined #ruby
adriancb has joined #ruby
miah has quit [Changing host]
miah has joined #ruby
Spami has joined #ruby
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Megtastique has joined #ruby
ta_ has quit [Ping timeout: 276 seconds]
jenrzzz has joined #ruby
sevenseacat has joined #ruby
hamakn has joined #ruby
ponga has joined #ruby
tkuchiki has joined #ruby
ta_ has joined #ruby
shvelo has quit [Ping timeout: 245 seconds]
Pumukel has quit [Quit: ChatZilla 0.9.91.1 [Firefox 34.0.5/20141126041045]]
Musashi007 has quit [Quit: Musashi007]
reinaldob has joined #ruby
<aoeu> Yo hipsters.
Techguy305 has quit [Ping timeout: 272 seconds]
ponga has quit [Client Quit]
phutchins has quit [Ping timeout: 264 seconds]
<aoeu> How's SF?
adriancb has quit [Remote host closed the connection]
TheNumb has joined #ruby
adriancb has joined #ruby
lncdslnc has joined #ruby
crack_user1 has quit [Quit: Leaving.]
Crazy_Atheist has quit [Ping timeout: 255 seconds]
apurcell has joined #ruby
maximski has quit [Ping timeout: 245 seconds]
reinaldob has quit [Ping timeout: 245 seconds]
<timanema> aoeu: I am in toronto I wish I had SF weather right now
tzero has quit [Ping timeout: 245 seconds]
delianides has joined #ruby
maximski has joined #ruby
keen__________33 has joined #ruby
maximski has quit [Max SendQ exceeded]
agent_white has joined #ruby
conniemj has quit [Quit: (null)]
Deele has quit [Ping timeout: 244 seconds]
<agent_white> Evenin'
GaryOak_ has quit [Remote host closed the connection]
keen__________32 has quit [Ping timeout: 245 seconds]
maximski has joined #ruby
davedev24_ has quit [Read error: Connection reset by peer]
davedev24_ has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Hobogrammer has joined #ruby
delianides has quit [Ping timeout: 252 seconds]
adriancb has quit [Ping timeout: 252 seconds]
gregf_ has quit [Ping timeout: 252 seconds]
dfinninger has quit [Remote host closed the connection]
d10n-work has joined #ruby
DadoCe has quit [Remote host closed the connection]
Crazy_Atheist has joined #ruby
adriancb has joined #ruby
crack_user has joined #ruby
Limix has quit [Quit: Limix]
echooo has joined #ruby
kstuart_ has joined #ruby
<aoeu> timanema: It's like 5C in SF.
<aoeu> timanema: I'm in Montreal, you guys have it easy.
yfeldblu_ has joined #ruby
Hijiri has joined #ruby
kstuart has quit [Ping timeout: 244 seconds]
<eam> I mean, we're all indoors
deavid has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
windowlicker has joined #ruby
<sevenseacat> its gonna be 35C here again today
<sevenseacat> anyone wanna swap?
<eam> it gets up to 45C in the valley east of SF
<eam> and I don't have ac
yfeldblum has quit [Ping timeout: 245 seconds]
FooMunki has joined #ruby
gsd has joined #ruby
thumpba has quit [Remote host closed the connection]
gtrak has quit [Ping timeout: 244 seconds]
<sevenseacat> ouch
<eam> only for a few days a year though
fmcgeough has quit [Quit: fmcgeough]
Deele has joined #ruby
phutchins has joined #ruby
commmmodo has joined #ruby
ghr has joined #ruby
pietr0 has quit [Quit: pietr0]
gregf_ has joined #ruby
mary5030 has joined #ruby
startupality has quit [Quit: startupality]
mleung has quit [Quit: mleung]
iMe has quit [Ping timeout: 246 seconds]
ghr has quit [Ping timeout: 245 seconds]
bklane has quit [Ping timeout: 244 seconds]
alexblom has quit [Quit: Textual IRC Client: www.textualapp.com]
iMe has joined #ruby
marr has quit [Ping timeout: 264 seconds]
thatslifeson_ is now known as thatslifeson
<timanema> aoeu: wait it has been -25 here for almost a week now what is yours like?
mary5030 has quit [Ping timeout: 245 seconds]
alexblom has joined #ruby
<timanema> sevenseacat: yes I will swap with you anyday
<sevenseacat> ive never been in a place that cold
<sevenseacat> it just doesnt get that cold in australia, anywhere, ever
Deele has quit [Ping timeout: 244 seconds]
whowantstolivef2 has quit [Ping timeout: 264 seconds]
kl has joined #ruby
<timanema> sevenseacat: I used to live in sudbury and it would regularily go down to -40 during the winter, it was so cold you could fee the air in your lungs
<aoeu> timanema: Always -5 than you.
robustus has quit [Ping timeout: 264 seconds]
robustus|Off has joined #ruby
DadoCe has joined #ruby
<sevenseacat> here it just gets so hot you never feel dry ever because youre just constantly sweating
robustus|Off is now known as robustus
scripore has quit [Quit: This computer has gone to sleep]
<timanema> aoeu: oh well at least you can just pop in your local grocery store to drown your winter woes in liqour
<lampd1> in hong kong you sweat 24/7 but can't tell because it's so humid
<lampd1> :P
skj3gg has quit [Quit: ZZZzzz…]
zorak8 has quit [Ping timeout: 256 seconds]
fmcgeough has joined #ruby
scottstamp has joined #ruby
tzero has joined #ruby
<timanema> I would take any of that hot weather any day
<scottstamp> word, it's like -5C here. :(
<timanema> hibernation is not how I am meant to live
chrishough has joined #ruby
<aoeu> timanema: we can only buy wine and alcohol in government controlled SAQ.
<aoeu> timanema: And it's $$$.
<aoeu> timanema: Kind of like Ontario I guess.
<aoeu> scottstamp: -20 here.
<aoeu> scottstamp: If not much less.
<scottstamp> Eh, if I do 'ClassName.get_const('InnerClassName')', does that provide the same functionality as 'Object.get_const('ClassName::InnerClassName')', or does that only work on Modules? the doc is a little unclear.
<scottstamp> And ew. D:
<scottstamp> screw that
<scottstamp> I'm over in Newfoundland, on the coast, so it's frigid and humid. </3
<waxjar> i don't think it takes the second form scottstamp
pdoherty has joined #ruby
<scottstamp> hmm.
<scottstamp> I suppose the easiest way to figure this out would be to try it, haha
<scottstamp> Welp, I guess not - undefined method
<waxjar> oh wow, it does
<scottstamp> Really?
<waxjar> it's const_get :)
<scottstamp> I'm an idiot, lol, yeah
<scottstamp> Sweet
<waxjar> (classes inherit from Module, btw)
<scottstamp> That makes sense, then.
pdoherty has quit [Ping timeout: 245 seconds]
deric_skibotn has quit [Ping timeout: 245 seconds]
jschoolcraft has quit [Quit: zzzz]
roolo has joined #ruby
Radar has quit [Quit: ZNC - http://znc.in]
helpa has quit [Remote host closed the connection]
ellisTAA has quit [Quit: ellisTAA]
jespada has quit [Quit: Leaving]
crack_user has quit [Quit: Leaving.]
roolo has quit [Ping timeout: 244 seconds]
gawd has joined #ruby
<scottstamp> Don't suppose someone could give me an opinion on how I'm doing this structure? Instances of class "Response" contain instances of other classes, but there are a number of children so I'm trying to handle it dynamically. http://pastie.org/9832476
<scottstamp> Usage: Structures::Response.new(some_data, 'Set') or 'Track') or ...
superlou has joined #ruby
Guest_ has joined #ruby
Lingo___ has quit [Quit: (null)]
<superlou> Is there a grammar parser that works both directions? I'm trying to make a data storage format that's human readable and not obviously yaml. Was looking at treetop, but wondering if there's something that lets me define a grammar to parse a text file, and also turn a datastructure back into serialized text.
poetazus has quit [Quit: Leaving...]
<aoeu> What makes Ruby better than C#?
<shevy> aoeu much terse and faster (to write)
<shevy> *terser
<scottstamp> aoeu: you could ask the reverse in ##csharp and the loyalists will hand you a list of superiorities. Boils down to what you prefer ultimately, they're both strong languages. C# is a little more annoying to deploy (Windows, Mono)
<scottstamp> Personally I write both depending on what I'm up to / project requirements. :P
<aoeu> scottstamp: What makes Ruby more terse?
mroach has joined #ruby
axisys has quit [Remote host closed the connection]
<scottstamp> There's less to write ;)
<shevy> aoeu regexes. And the philosophy: http://www.artima.com/intv/ruby.html
rebcabin has joined #ruby
<shevy> aoeu you can morph or redefine a lot of ruby how you want to; for instance, I often do: alias e puts; then I just have to use e; sometimes I alias e to a method though, with ansi escape colours
<scottstamp> shevy: C# 6.0 offers something similar, I don't quite remember the syntax though
<shevy> I am sure it is a very verbose syntax
ascarter has joined #ruby
superlou has quit [Ping timeout: 245 seconds]
scripore has joined #ruby
<scottstamp> Heh, it is.
<scottstamp> using short = SomeClass.SomeLongFunctionName
<scottstamp> that's the old way that I *can* remember
<aoeu> How do you concatenate stings in Ruby? Like string.Format("My name is {0}", name).
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
baweaver has quit [Remote host closed the connection]
<aoeu> shevy: "No perfect language" dealbreaker.
<scottstamp> "#{varname}"
axisys has joined #ruby
<aoeu> shevy: aliasing "e" is a silly hack that's impossible to read.
<scottstamp> String interpolation
alexblom_ has joined #ruby
chrisja has quit [Quit: leaving]
charliesome has quit [Quit: zzz]
axisys has quit [Changing host]
axisys has joined #ruby
<aoeu> scottstamp: Cany ou do "My age is #{age}"?
TheNet has joined #ruby
hamakn has quit [Remote host closed the connection]
<scottstamp> Sure.
<shevy> aoeu it's extremely efficient; if you want verbosity, use java
<aoeu> scottstamp: Can you do "My age is #{ 20 + 10 }" ?
<shevy> aoeu show me how to alias in C#
philwantsfish has quit []
<aoeu> scottstamp, shevy: There's string interpolation in C# 6.0
<scottstamp> Directly, without .format?
<shevy> did you answer the question
<scottstamp> er, String.format(
<aoeu> scottstamp: Yes, without .format
<scottstamp> neat. I'll need to do a refresher.
<aoeu> scottstamp: "My age is \{ person.Age \}"
<scottstamp> lol I love the default is to escape
<aoeu> scottstamp: Nevermind, only the first \, like your # in Ruby.
<scottstamp> That makes more sense then.
metadave has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<scottstamp> Ruby behaves like PHP with string interpolation btw, single-quotes won't replace the variable. And yes, you can do #{x+y}
jordanm has quit [Ping timeout: 276 seconds]
<scottstamp> I feel dirty for making that comparison but it's true, lol
eka has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sevenseacat has left #ruby [#ruby]
St1gma has quit [Ping timeout: 250 seconds]
<aoeu> Do you have interfaces in Ruby?
<aoeu> How do you deal with that?
<aoeu> Isn't dynamism a bitch?
bklane has joined #ruby
<scottstamp> I'm still learning, I'm not sure tbh.
Tricon has quit [Ping timeout: 252 seconds]
<scottstamp> You probably just structure differently to deal with it.
bronson has quit [Remote host closed the connection]
<aoeu> You assume people know the codebase well and don't destroy things.
timanema has quit [Ping timeout: 244 seconds]
AlexRussia has quit [Ping timeout: 244 seconds]
<aoeu> A dynamic language with no tests is a sure way to do wrong.
bradland has joined #ruby
<mozzarella> scottstamp: sing something for us
x1337807x has joined #ruby
<scottstamp> mozzarella: I'm an awful singer, trust me, you don't want that.
<mozzarella> oh wait
<mozzarella> his last name is Stapp, sorry
<mozzarella> I confused you with someone else
<scottstamp> Hah. No worries :P
<bradland> aoeu: there’s also Kernel#sprintf, which takes a string format identifier: http://www.ruby-doc.org/core-2.2.0/Kernel.html#method-i-sprintf
veduardo has quit [Ping timeout: 256 seconds]
<bradland> there’s a fancy string method too, so you can do “my %s string %s” % [foo, bar]
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baweaver has joined #ruby
skj3gg has joined #ruby
shime_ has quit [Ping timeout: 272 seconds]
banister has quit [Ping timeout: 245 seconds]
<aoeu> bradland: God no.
AlexRussia has joined #ruby
cavity has joined #ruby
<bradland> but i luuuuuuuv sprintf :)
<aoeu> bradland: I want to convert you to C# you guys are stuborn.
<bradland> i write a lot of shell scripts, so it’s handy for formatting text mode reports
<aoeu> bradland: just read the implementation of printf.c earlier.
x1337807_ has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wallerdev has quit [Quit: wallerdev]
Photism has quit [Quit: Leaving]
<shevy> aoeu why should anyone use C# when they have ruby?
<aoeu> bradland: It's bad, because you can't know the values before you look at the array at the end
<aoeu> String interpolation is much more the future.
<shevy> lol
<scottstamp> aoeu: if you're here to preach C#, you're *definitely* barking in the wrong playground. Most rubyists aren't willing to give it up easily. ;)
davedev24_ has quit [Ping timeout: 245 seconds]
<shevy> dealbreaker: we use << and assemble any string we want to
<scottstamp> ^
Spami_ has joined #ruby
davedev24_ has joined #ruby
<scottstamp> and in a much faster manner
<shevy> aoeu so C# has no aliases?
<bradland> i hate how sting interpolation looks when you start dropping in stuff like “my #{foo.rjust(20)} string”
<shevy> aoeu now that's a shame. does this mean that it can't be as terse as ruby?
x1337807x has quit [Ping timeout: 264 seconds]
Spami has quit [Read error: Connection reset by peer]
St1gma has joined #ruby
<shevy> aoeu how about blocks in C#, can you show an example
bklane has quit []
<bradland> string interpolation is the future!
zubov has joined #ruby
claptor has joined #ruby
Tricon has joined #ruby
eka has joined #ruby
sbx has joined #ruby
Crazy_Atheist has quit [Ping timeout: 246 seconds]
amclain has joined #ruby
maximski has quit [Read error: Connection reset by peer]
maximski has joined #ruby
^wald0 has quit [Quit: ^wald0]
n80 has joined #ruby
baweaver has quit [Remote host closed the connection]
eka has quit [Client Quit]
<scottstamp> bradland: this isn't really a reason not to interpolate, but with big concatenations, Array.join is faster. (I mean *BIG*, if you're doing something it'll make a difference in, it's a pitfall you probably already know about)
x1337807_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<bradland> i am not divorcing sprintf. we’ve been together too long. i know her well, and i love her. i know she’s probably not “the one” you guys imagined for me, but she’s mine.
<bradland> oh, sry
mroach has quit [Quit: mroach]
<bradland> thought this was #therapy
blizzy has joined #ruby
<scottstamp> hah
<shevy> you use strange characters bradland
<shevy> like €™
<shevy> you are on OSX right?
ghr has joined #ruby
<bradland> yeah
<bradland> probably smart quotes
<bradland> Colloquy
Hijiri has quit [Ping timeout: 245 seconds]
towski_ has quit [Remote host closed the connection]
<scottstamp> huh, just noticed that, they're almost indistinguishable at a quick glance on this font.
<scottstamp> Also Textual>All
<aoeu> shevy: We have autocompletion, so we don't have to type. -> Faster.
<shevy> aoeu lol
<aoeu> shevy: Blocks? Like { DoSomething; }
<shevy> aoeu that's why java people have to use IDEs
blizzy has quit [Client Quit]
<scottstamp> aoeu: you can get intelligent auto-complete in Ruby IDEs.
<shevy> aoeu yes. Show a full example ok?
patrick99e99 has quit [Ping timeout: 244 seconds]
<scottstamp> JetBrains actually does it quite well.
<scottstamp> It's less intrusive than the Visual Studio default configuration.
<aoeu> shevy: If you code without an IDE, you lie to yourself.
<aoeu> shevy: I can be 100% more productive than you in VS with C#.
<shevy> aoeu why
<shevy> aoeu VS?
<aoeu> shevy: Want to have a battle?
<scottstamp> shevy: visual studio
<shevy> aoeu sure. let's write a package manager
blizzy has joined #ruby
<scottstamp> oh god
* scottstamp runs the fuck away
<shevy> aoeu ok, finished. let me see your C# code.
lncdslnc has quit [Quit: Leaving]
<aoeu> shevy: Better web tools, better server side framework, better language, better ORM, database, cloud. What more could you ask?
bricker has quit [Ping timeout: 245 seconds]
anaeem1 has joined #ruby
<shevy> aoeu lol? where are the factual statements?
* agent_white suffocates under the massive amount of IDE buttons
jefus_ has joined #ruby
<aoeu> scottstamp: Won't stop you from doing illegal stuff with incorrect types.
<shevy> "illegal stuff"
<shevy> oh man
<scottstamp> aoeu: Stop no, warn yes.
<bradland> types? this is ruby. we thumb our nose at types.
iMe has quit [Ping timeout: 265 seconds]
<aoeu> shevy: I already have a package manager. Called nuget.
<shevy> nugget?
<shevy> what can it do?
<shevy> can you show me how to install glibc with it
<shevy> the latest one
<scottstamp> it's like wget for downloading 100mb+ DLLs
<scottstamp> :D
ghr has quit [Ping timeout: 264 seconds]
krz has joined #ruby
anaeem1 has quit [Remote host closed the connection]
<aoeu> shevy: I can get packages.
<aoeu> shevy: I can update them too.
<shevy> oh so you can't even compile stuff
<scottstamp> So can we, it's called gem.
fandi has quit [Quit: Leaving]
<agent_white> How many lines of code to write "hello world" in C#?
<aoeu> shevy: Install-Package NameOfPackage
<scottstamp> Want to do a bunch? bundler.
<scottstamp> gem install nameofpackage
<shevy> gem works only for ruby-addons
amclain_ has joined #ruby
<aoeu> agent_white: 500 lines of boilerplate, then 1.
<aoeu> agent_white: Console.WriteLine("hello world");
<scottstamp> shevy: nuget only works for packages and VS addons.
shivamib has joined #ruby
<agent_white> p "hello world"
<agent_white> :D
<scottstamp> for everything else, there's chocolatey!
<shevy> I did not bring the example of nuggets
<aoeu> shevy: nuget works for anything, templates, js framework, C# code, dll, etc.
<scottstamp> related note: fucking chocolatey
iMe has joined #ruby
<shevy> I said a package manager; here is the link for aoeu http://ftp.gnu.org/gnu/glibc/glibc-2.20.tar.xz
<shevy> yeah ok now show me how you install glibc man
<agent_white> owaitlol
<aoeu> agent_white: what does "p" mean?
Crazy_Atheist has joined #ruby
rebcabin1 has joined #ruby
<scottstamp> Oh, right you are. We in the sane unix lands use specialized tools for that because it's cleaner. :)
rebcabin has quit [Read error: Connection reset by peer]
eka has joined #ruby
<agent_white> aoeu: I hope you are joking if you're trying to talk smack on ruby...
<aoeu> shevy: I don't understand what you're saying.
<shevy> aoeu I know. You are a newbie to Linux.
* agent_white hands shevy and and scottstamp bats
<aoeu> shevy: glibc? I don't need it.
jefus has quit [Ping timeout: 272 seconds]
<shevy> Ok you don't need it. But you also can not install it either!
<aoeu> agent_white: What does p stands for?
* scottstamp uses said bat in very disturbing ways
<agent_white> aoeu: Print
<aoeu> shevy: No no. I use linux.
<shevy> Yeah, you are a package-user.
<aoeu> shevy: What is your point?
<scottstamp> You use Linux and you're defending C# because nuget
<shevy> aoeu I made it very clear above.
<agent_white> aoeu: What is yours?
<scottstamp> what
<scottstamp> so many what
<agent_white> ^
<waxjar> this is silly..
amclain has quit [Ping timeout: 245 seconds]
<aoeu> agent_white: How do people know that "p" stands for "Print"?
amclain_ is now known as amclain
<agent_white> Boys, I think we have a crazy one.
<agent_white> aoeu: Because this is #ruby ?
<aoeu> agent_white: And how do you pick what you print to?
<scottstamp> waxjar: thank you. v_V" I tried to keep this somewhat civil with factual points at the start.
<shevy> aoeu you know that you can alias in ruby freely?
<aoeu> agent_white: What if you want to print to the Printer, or to a Server, or to a secondary output?
<shevy> alias p WriteLine
<shevy> oops, the other way
<shevy> alias WriteLine p
<agent_white> aoeu: Then... I would?
n80 has quit [Quit: n80]
<aoeu> agent_white: Yours what?
g-nom3 has joined #ruby
<agent_white> Not sure where you're getting at.
g-nom3 has quit [Max SendQ exceeded]
<scottstamp> who the hell writes the word "print" in anything that isn't a Batch file with the expectation of spinning up the printer queue
<scottstamp> o_o
havenwood has quit [Remote host closed the connection]
<shevy> scottstamp aoeu does; he loves verbosity
<aoeu> shevy: I believe that aliasing is evil.
<shevy> aoeu is that an argument?
<shevy> I mean if you don't want to use aliases you don't have to!
<shevy> But if you limit yourself, why should others limit themselves? That makes no sense.
mroach has joined #ruby
g-nom3 has joined #ruby
<aoeu> shevy: I can assign Console.WriteLine to a function p if I want in C#.
<shevy> There is nothing wrong with liking verbosity.
meschi has quit [Ping timeout: 276 seconds]
<aoeu> shevy: And then do p("Hello");
<shevy> aoeu excellent - we can do this in ruby as well. So what is your point?
<aoeu> agent_white: You asked "What is yours?"
<agent_white> he
<agent_white> h
<shevy> I think aoeu is 5 years old.
<scottstamp> aoeu: private void p (object namedVariable) { Console.WriteLine(namedVariable) } OR alias p print
<scottstamp> \o/
<aoeu> shevy: If people alias stuff to "e" and "p", it will confuse people.
<aoeu> Code is first meant to be read.
<shevy> ?!
<shevy> lol
<shevy> so that is why you use verbose code
centrx has joined #ruby
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nateberkopec has quit [Quit: Leaving...]
<waxjar> #p is only for debugging, really. you won't find it in production code
<aoeu> scottstamp: var p = text => Console.WriteLine(text);
<shevy> looks like an assignment you do there
<agent_white> I don't understand why C# is getting compared to ruby. It can't configure a dev environment for me, manage and deploy thousands of servers, or do simple scripting on top of that.
<scottstamp> Ah, right, I was trying to remember that syntax earlier
<aoeu> shevy: It is an assignment.
<scottstamp> agent_white: SCOM for days
<scottstamp> and by for days I mean it'll take you days to setup all your windows servers in an SCOM environment
<scottstamp> :D
<aoeu> shevy: I can alias any Class
<agent_white> scottstamp: Hahaha +1
<shevy> wow awesome
fmcgeough has quit [Quit: fmcgeough]
<aoeu> shevy: using Cat = System.Text.StringBuilder;
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> please don't blind me with your verbosity
<agent_white> scottstamp: And... why would one be using windows servers in the first place?
<agent_white> Unless at gunpoint.
<scottstamp> agent_white: C# vs. Ruby, assuming ASP.NET vs .. well, any Ruby framework, implying IIS vs. something that doesn't suck.
jzigmund_ has joined #ruby
<aoeu> scottstamp: I just deploy to Azure.
<scottstamp> then you're doing it wrong
<agent_white> scottstamp: Preach!
<scottstamp> three many wrongs
<agent_white> Or how about that nasty bug at the kernel level you need to checkout for windows... ohwaitlol
lsmola_ has joined #ruby
<aoeu> agent_white: I use Linux servers.
jzigmund has quit [Read error: Connection reset by peer]
<scottstamp> With Mono? hehe, poor performance
<agent_white> aoeu: Well... you got something going for ya... ;P
<aoeu> scottstamp: ASP.NET vNext, Linux is first class.
<scottstamp> pending*, we're still waiting on it to be released open-source aren't we?
<aoeu> scottstamp: Poor performance? Because Ruby is better?
n008f4g_ has quit [Ping timeout: 244 seconds]
<agent_white> C# sounds neat, and apparently many folks like it. But it doesn't even compare to the amount of versatility ruby has.
<scottstamp> no, poor performance because Mono doesn't work very well on a server deployment, and it pails in comparison to Phusion Passenger.
<shevy> aoeu are you comparing a compiled language to an interpreted language?
<scottstamp> shevy: C# is just as heavily JIT'd as Ruby, but you can optimize both similarly
<agent_white> And comparing languages used for much different things (besides webdev)
lsmola has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 255 seconds]
<aoeu> scottstamp: .NET is on Github now.
<jidar> it's prolly a better idea to compare the memory management in the runtime envs rather than discuss the language itself
<scottstamp> aoeu: in it's entirety?
<aoeu> shevy: He used the F word.
<centrx> fatwa
<aoeu> shevy: And by F I meant P (damn aliases)
<shevy> ?!
<shevy> k g eg e h e he ?
jzigmund_ has quit [Ping timeout: 272 seconds]
jenrzzz has joined #ruby
* scottstamp votes we all adopt brainfuck and get it over with
<aoeu> scottstamp: .NET Core is there.
jzigmund has joined #ruby
chrishough has joined #ruby
<scottstamp> Neat, sorry for attacking on the OSS thing, I didn't realize they'd finished migrating some of the more important stuff
<agent_white> aoeu: Can you contribute to it if you wanted to?
<scottstamp> agent_white: they do actually accept pull requests, I'm not sure how much code review is involved though
<agent_white> I'd be curious to see how many of those are by people actually outside Microsoft.
<shevy> lol
<aoeu> agent_white: People contribute to F# daily. I don't know the rules for .NET and other frameworks.
pu22l3r has joined #ruby
<agent_white> Cool, but we're not speaking about F# :)
<shivamib> to me the reason to use windows on the server is, you're stuck in corporateland
krz has quit [Quit: WeeChat 1.0.1]
<aoeu> ASP.NET, .NET Core, EntityFramework and the .NET Compiler (Roslyn) and the most important projects to be open sourced.
<shivamib> but it's nice to see them opening up stuff
seal has joined #ruby
<aoeu> Also Visual Studio Community Edition 2015 is free.
<agent_white> So is vim :D
kenneth has joined #ruby
krz has joined #ruby
<shivamib> lol
<agent_white> Since the dawn of life \o/
sevenseacat has joined #ruby
<shevy> ok aoeu is advertizing, let's ban him
rebcabin1 has quit [Read error: No route to host]
<agent_white> Cool MS is open sourcing things, but I won't give them a high-five for being a day late to the party.
<centrx> it's relevant, this channel is about .NET now
<aoeu> agent_white: Vim? LOL. At least it's better than Emacs.
rebcabin has joined #ruby
<aoeu> shevy: I did not realize it was advertising.
<TheNet> I'm seriously regretting calling myself net.
<shivamib> true story
<agent_white> aoeu: I know... I wish I had as much buttons, clutter, and crap I don't use as Visual Studio :(
<shivamib> burn the heretics
<TheNet> gonna have to enable do not disturb until this conversation dies down
<agent_white> I'm working on adding things I don't need, though.
<centrx> shevy, Have you tried Visual Studio Community Edition 2015 yet? (it's free!)
<aoeu> TheNet: :D
<jidar> net
<shevy> centrx I would not even know why I would need it in the first place
<aoeu> agent_white: There are Vim extensions. And you can hide the buttons. But why would you?
<centrx> You use the Internet right? Internet runs on .NET
<agent_white> Yeah, STD's are free too but doesn't mean they are good.
<agent_white> aoeu: I could use a vim extension, or I could just use vim :)
<aoeu> agent_white: Can we agree it's better than Oracle?
* aoeu can.
<agent_white> aoeu: Hahah yes we can!
<aoeu> agent_white: But you don't have all the good stuff in Vim.
<aoeu> agent_white: You can't do HTML/CSS efficiently in Vim.
maximski has quit [Ping timeout: 245 seconds]
pu22l3r has quit [Ping timeout: 255 seconds]
<agent_white> Says who?
ta_ has quit [Ping timeout: 264 seconds]
nanoyak has joined #ruby
<aoeu> agent_white: Visual Studio Web Essentials.
<shevy> lol
<shevy> he is still advertizing
<aoeu> shevy: It supports Browser Link.
<shevy> yeah, you run a promo campaign man
<aoeu> Using SignalR and Javascript, it syncs your HTML/CSS with your browser, both ways!
wallerdev has joined #ruby
<shevy> wait
<aoeu> Works with Internet Explorer, Chrome, iPhone, or any browser that supports JS.
<shevy> you are hand writing html?
<shevy> you poor man
<aoeu> shevy: I don't work for MS.
yfeldblu_ has quit [Remote host closed the connection]
<aoeu> shevy: Huh?
<aoeu> shevy: What do you mean exactly?
<shevy> aoeu show me one of your web apps
<aoeu> shevy: Angular-ish or PHP-ish?
burper has joined #ruby
burper has left #ruby [#ruby]
<shevy> ack
<shevy> php
<shevy> centrx do something
<aoeu> shevy: JS Client app? Or pages generated on the server?
<aoeu> shevy: I mean, PHP-ish, I don't touch PHP.
<shevy> please, have mercy on our soul
<aoeu> shevy: The server generates HTML, and then sends it to the browser.
<shevy> it's too late, you typed too quickly, nobody will believe you
ddd has quit [Ping timeout: 256 seconds]
<aoeu> shevy: Old-school-ish, or hip-ish?
<shevy> one day you'll abandon php
<aoeu> shevy: But I'm the #1 PHP hater. I even hate PHP more than I hate Rubyists!
<centrx> PHP will make you shine. PHP will make you whine. PHP! PHP! PP!
<agent_white> PHP... C#... Visual Studio... I was already skeptical, but good lord.
towski_ has joined #ruby
<aoeu> agent_white: I do not PHP. Ever.
<agent_white> aoeu: If you are being held against your will, enter "1234" into the chat.
fgo has joined #ruby
<shevy> hahaha
<aoeu> agent_white: How can I prove my disapproval of PHP?
<shevy> I don't think agent_white will believe you at this point
<aoeu> I'm not even a web dev!
<shivamib> 1234
<aoeu> Why would I use PHP?
<shevy> <aoeu> Using SignalR and Javascript, it syncs your HTML/CSS with your browser, both ways!
<aoeu> shevy: Yes!
<shevy> <aoeu> agent_white: You can't do HTML/CSS efficiently in Vim.
<aoeu> shevy: That's what the flashcard says!
<shivamib> lol
<shevy> <aoeu> shevy: Angular-ish or PHP-ish?
<shevy> <aoeu> I'm not even a web dev!
<shevy> this is fun
<aoeu> shevy: I mean, like any competent dev I touch a bit of everything. But I'm a mobile dev first and foremost.
<shevy> but also sad
<shevy> touching php
nateberkopec has joined #ruby
maximski has joined #ruby
<shevy> in the right spot
<centrx> PHP touching itself
<centrx> type system confused
<shevy> haha
<aoeu> who said it was a crime to have PHP tatto on my lower back?
<aoeu> I want dynamic languages dead, how's that for a proof that my life is not based on PHP?
<aoeu> Now that we agree, let's resume the massacre.
<aoeu> Have I told you about the new Entreprise-ready features in .NET 4.6?
dorei has quit []
timanema has joined #ruby
zubov has quit [Quit: This computer has gone to sleep]
zubov has joined #ruby
Guest_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
oo_ has quit [Remote host closed the connection]
gawd has quit [Quit: Leaving]
fgo_ has joined #ruby
ferr has joined #ruby
x1337807x has joined #ruby
oo_ has joined #ruby
josephndenton has joined #ruby
CrazyM4n has quit [Quit: i'll be back]
havenwood has joined #ruby
fgo has quit [Ping timeout: 252 seconds]
x1337807x has quit [Client Quit]
twistedpixels is now known as zz_twistedpixels
aoeu has quit [Ping timeout: 246 seconds]
timanema has quit [Ping timeout: 245 seconds]
<TheNet> Is the convention in ruby to abbreviate long words or not? (ex: description -> desc)
<sevenseacat> not
<agent_white> aoeu is gone?!
* agent_white kisses his computer screen
hamakn has joined #ruby
x77686d has quit [Quit: x77686d]
checkit has joined #ruby
checkit has quit [Excess Flood]
x77686d has joined #ruby
checkit has joined #ruby
_maes_ has joined #ruby
iMe has quit [Ping timeout: 264 seconds]
iMe has joined #ruby
hamakn has quit [Ping timeout: 276 seconds]
genpaku has quit [Remote host closed the connection]
x77686d has quit [Quit: x77686d]
nateberkopec has quit [Quit: Leaving...]
smooth_penguin has joined #ruby
dseitz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
russt has quit [Quit: russt]
<smooth_penguin> hey, Im trying to build ruby-1.9.3-p551.tar.gz
josephndenton has quit [Ping timeout: 264 seconds]
ghr has joined #ruby
<Nilium> sevenseacat: I'm sure it'll make perfect sense to everyone at work.
<smooth_penguin> it seems to fail with http://pastebin.com/xwDsQsTz
<sevenseacat> Nilium: :D
<smooth_penguin> or well the rpm build fails
<smooth_penguin> when I compile manually it works
<Nilium> Woo, my monitor shipped
<Nilium> Praise be to the gods of Amazon Prime
tus has quit []
<smooth_penguin> any ideas
zubov has quit [Quit: Leaving]
josephndenton has joined #ruby
<bradland> smooth_penguin: doubtful i can be of much help, but “rpm build” is non specific
<bradland> what OS and version?
<bradland> what command are you using to install?
ghr has quit [Ping timeout: 245 seconds]
<smooth_penguin> bradland: its centos6
<smooth_penguin> I have a feeling its related to autoconf/autotools/pkgconfig
<smooth_penguin> which is why it thinks there is a syntax error in configure
scpike has quit [Quit: leaving]
scpike has joined #ruby
<bradland> what is the command you’re using to install?
<bradland> yum install ???
<bradland> could be a problem with the toolchain, but i’d think manual compile would fail too in that case
iamninja has quit [Quit: ZZZzzz…]
<smooth_penguin> bradland: in this case Im trying to build the rpm from the spec file, Ill post the comand rpmbuild is using
<bradland> ah, ok
<Nilium> I love how I can post stuff like "fuck #nodejs" on Twitter and bots that accumulate nodejs fanboy stuff will favorite it.
ajaiswal has joined #ruby
<bradland> if manual compile from source works, but the rpmbuild doesn’t, you’ll probably want to hit up the package maintainer
arescorpio has joined #ruby
lw has joined #ruby
<smooth_penguin> ok
sleepee has joined #ruby
elfuego has quit [Quit: elfuego]
oo_ has quit [Remote host closed the connection]
nanoyak has quit [Quit: Computer has gone to sleep.]
rbennacer has joined #ruby
josephndenton has quit [Ping timeout: 272 seconds]
bluehavana has joined #ruby
yfeldblum has joined #ruby
yfeldblum has quit [Remote host closed the connection]
blizzy has quit [Ping timeout: 276 seconds]
arya_b has joined #ruby
yfeldblum has joined #ruby
<arya_b> Hey! Sorry if this is dumb but I’m new to ruby, can someone explain why the user hash looks blank? http://aryaboudaie.com/bin/?0afc150dc65bab48#946MIHQFZMWJuQ2aYJUBFUtkZGM5tdofwr9YWtZUnZc=
pdoherty has joined #ruby
oo_ has joined #ruby
cpt_yossarian has quit [Quit: And then he took off.]
<scottstamp> Maybe you need better glasses to see it clearly? :D
cpt_yossarian has joined #ruby
<scottstamp> (that was a joke, I'm not saying it's an obvious typo)
<arya_b> I don’t see anything :'(
<scottstamp> if you init the parent (user[1] = {}) it works
<scottstamp> arya_b: that's the joke, lol
<arya_b> ahh
<arya_b> I want the key to automatically be an empty dictionary though
<arya_b> like
amystephen has joined #ruby
<arya_b> it’s for an assignment where there’s users, and the users have a bunch of movie reviews, so I want this to be a hash of users where each user has a hash of movie to the review they gave that movie
<bradland> >> user = Hash.new({});user[1][:foo] = 12;user[1][:foo]
phutchins has quit [Ping timeout: 264 seconds]
<eval-in> bradland => 12 (https://eval.in/242500)
pdoherty has quit [Ping timeout: 244 seconds]
<bradland> arya_b: pass an empty hash to Hash.new instead of recursively passing Hash.new
<shivamib> hasheritis
<havenwood> arya_b: Consider the following: user = Hash.new { |h, k| h[k] = {} }
x1337807x has joined #ruby
<arya_b> bradland: the problem is that if you asked for ‘user’ it would still show a blank hash
x1337807_ has joined #ruby
sleepee has quit [Quit: Leaving]
<bradland> arya_b: hrm, not sure i can figure out a way to do this with a Hash.
alexblom_ has quit [Remote host closed the connection]
Megtastique has quit []
x1337807x has quit [Ping timeout: 264 seconds]
Xiti has quit [Read error: Connection reset by peer]
apurcell has quit [Quit: Be back later ...]
<bradland> arya_b: sometimes, when you find that you need behavior that isn’t provided by a core class, it’s time to create your own object
<arya_b> for now I just did this
<arya_b> if not $user_data.has_key? user_id
<arya_b> $user_data[user_id] = {}
<arya_b> I feel like that’s the cleanest way out of this
x1337807_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<arya_b> If it’s not super obvious I’m a python convert :p
Loaft has joined #ruby
mroach has quit [Quit: mroach]
<bradland> yikes. globals?
<arya_b> I’m loading things from a large csv file, so this is a load_data function
x1337807x has joined #ruby
pu22l3r has joined #ruby
<havenwood> >> user = Hash.new { |h, k| h[k] = {} }; user[:arrow][:aim] = true; user
<eval-in> havenwood => {:arrow=>{:aim=>true}} (https://eval.in/242501)
<bradland> also, consider using unless instead of “if not”
<arya_b> I think it’s warrented there :3
mroach has joined #ruby
<arya_b> once again like I said, my python is showing
ItSANgo has quit [Quit: Leaving...]
<sevenseacat> noway
<sevenseacat> `unless` is always better
maximski has quit []
<arya_b> will remember, thank you :D
<bradland> i’m digging havenwood’s hash construct for your problem
x1337807x has quit [Client Quit]
<bradland> and globals are bad in python and ruby
<bradland> it’s a code smell
josephndenton has joined #ruby
<bradland> especially for something like “user data"
<Nilium> Though in reality it's probably perfectly fine.
<arya_b> how else would I keep all of that in memory though?
alexblom_ has joined #ruby
<Nilium> By passing it around the program as needed.
<bradland> you also have instance and class variables available
<bradland> global is the nuclear option
alexblom has quit [Quit: Textual IRC Client: www.textualapp.com]
<Nilium> This also makes it effectively global but in a way that makes people who don't like global things happy
<Nilium> Class variables are globals that people who don't like globals are okay with.
iMe has quit [Ping timeout: 246 seconds]
<Nilium> Don't ask why, it's a mystery.
<arya_b> I guess class variables would work, but at this point I’m following our assignment which doesn’t work with classes
<Nilium> Think of it this way, rather than making it global, just pass it through the program to where it needs to go.
gawd has joined #ruby
<Nilium> If a function uses it somehow, it should be an argument to that function.
kp666 has joined #ruby
Xiti has joined #ruby
<bradland> Nilium: I’m curious how Class variables are the same as globals?
<Nilium> bradland: They're global.
<bradland> serious question. i’m always up to learn something new.
iMe has joined #ruby
<Nilium> More specifically, a class is a constant, and that's globally accessible (usually). Might require you to be specific about the scope, but ultimately that's global.
alexblom_ has quit [Remote host closed the connection]
<Nilium> Now, if you have a class variable, that variable is also global by virtue of being data in or attached to a global.
<havenwood> Don't use global variables. Don't use class variables.
testcore has quit [Ping timeout: 250 seconds]
alexblom has joined #ruby
josephndenton has quit [Ping timeout: 240 seconds]
<bradland> Nilium: I see, so they’re equivalent because if you class Foo;@@bar = ‘baz’;end
<bradland> Foo.bar is global
<bradland> which might as well be $foo_bar
testcore has joined #ruby
<Nilium> Effectively.
<bradland> hrm
Limix has joined #ruby
Limix has quit [Client Quit]
<bradland> well, i mean, i get it.
<Nilium> It's only accessible within the scope of the class (or if you use class_variable_get), but it's global.
alexblom_ has joined #ruby
radic has quit [Ping timeout: 245 seconds]
<bradland> i end up avoiding class variables because I don’t find that I need them. never really thought of them in that context though
bigkevmc_ has joined #ruby
<havenwood> Nilium: Scoped to the namespace, so it that sense not quite global.
<Nilium> It's close enough.
radic has joined #ruby
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bigkevmcd has quit [Ping timeout: 264 seconds]
<shevy> global ignores namespace!
<shevy> goto $global man
russt has joined #ruby
DadoCe has quit [Remote host closed the connection]
scpike has quit [Quit: leaving]
scpike has joined #ruby
braincrash has quit [Quit: bye bye]
<IceDragon> shevy: Make me a nice package manager pleas
arya_b has quit [Quit: arya_b]
<IceDragon> also hi
avahey91 has quit [Quit: Connection closed for inactivity]
connor_goodwolf has quit [Ping timeout: 264 seconds]
<TheNet> is there a name for using a string of letters as an identifier instead of a number?
rbennacer has quit [Remote host closed the connection]
<shevy> IceDragon rewriting it as I type!
connor_goodwolf has joined #ruby
<IceDragon> TheNet: a Symbol?
rbennacer has joined #ruby
lemur has joined #ruby
Tricon has quit [Ping timeout: 255 seconds]
<IceDragon> TheNet: you mean something like "ACD1UU17XI10" ?
<TheNet> more like that ^
braincrash has joined #ruby
<IceDragon> depends on the format I suppose
<TheNet> eh, I guess I'll just make up a name :P
<IceDragon> or
<IceDragon> just call it an id
<TheNet> already have an id
<IceDragon> a sid?
<IceDragon> string_id
<IceDragon> :P
icebourg has quit []
<TheNet> that's not bad
<TheNet> thanks
<IceDragon> np
arya_b has joined #ruby
arya_b has quit [Client Quit]
checkit has quit [Quit: (null)]
rbennacer has quit [Ping timeout: 245 seconds]
neersighted has joined #ruby
Crazy_Atheist has quit [Ping timeout: 255 seconds]
nanoyak has joined #ruby
mroach_ has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
krz has quit [Ping timeout: 252 seconds]
jonathanwallace has quit [Read error: Connection reset by peer]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
seal has quit [Quit: Ex-Chat]
gawd has quit [Quit: Leaving]
djbkd has joined #ruby
mroach has quit [Ping timeout: 272 seconds]
mroach_ is now known as mroach
alexblom_ has quit [Quit: Textual IRC Client: www.textualapp.com]
jimmyhoughjr has joined #ruby
Lingo_ has joined #ruby
jonathanwallace has joined #ruby
towski_ has quit [Remote host closed the connection]
nuck has quit [Remote host closed the connection]
mroach has quit [Quit: mroach]
kenneth has joined #ruby
troubadour has joined #ruby
alexblom has quit [Remote host closed the connection]
CrazyM4n has joined #ruby
<bradland> really like your blog design, Nilium
Crazy_Atheist has joined #ruby
<bradland> not enough purple out there
alexblom has joined #ruby
jaequery has joined #ruby
jaequery has quit [Max SendQ exceeded]
bradland_ has joined #ruby
bradland_ has quit [Client Quit]
bradland has quit [Quit: bradland]
jaequery has joined #ruby
<shevy> I like the monkey
bradland has joined #ruby
Channel6 has joined #ruby
echooo has quit [Ping timeout: 255 seconds]
Guest18709 has quit [Changing host]
Guest18709 has joined #ruby
Guest18709 is now known as blindsight
lemur has quit [Read error: Connection reset by peer]
Lingo_ has quit [Quit: (null)]
echooo has joined #ruby
lemur has joined #ruby
jerematic has quit [Remote host closed the connection]
jerematic has joined #ruby
nrcpts has joined #ruby
Mon_Ouie has quit [Ping timeout: 245 seconds]
josephndenton has joined #ruby
jerematic has quit [Remote host closed the connection]
<Nilium> shevy: Shush, it's a secret to everybody.
<Nilium> bradland: Yeah, not enough purple.
joe_dirte has quit [Quit: Leaving]
shivamib has quit [Ping timeout: 264 seconds]
iMe has quit [Ping timeout: 256 seconds]
darkside_ has joined #ruby
darkside_ is now known as shivamib
frogsy has joined #ruby
Fire-Dragon-DoL has quit [Quit: Leaving.]
iMe has joined #ruby
shivamib has quit [Client Quit]
M-Technic has quit [Ping timeout: 245 seconds]
shivamib has joined #ruby
bashusr has quit [Read error: Connection reset by peer]
<agent_white> I want to learn how to make a proper ruby sandbox soon... there doesn't seem to be any out there that are really _THE GOTO_ ruby sandbox.
M-Technic has joined #ruby
josephndenton has quit [Ping timeout: 264 seconds]
<bradland> agent_white: saw some talk about that recently. seems it's a challenge.
<agent_white> bradland: Yeah I'd been looking into it for the past couple months here and there... actually got me into looking at the ruby source for the first time.
mary5030 has joined #ruby
fandi has joined #ruby
<agent_white> bradland: As _why was talking about making a proxy symbol table in C to do it years ago... and apparently it was said that it was "hacking a lot at ruby internals" to do it.
<agent_white> But... it has to be doable! Python has one, we should too!
Pharaoh2 has joined #ruby
<Nilium> Sandbox?
bashusr has joined #ruby
<agent_white> Nilium: Aye. Essentially, right now I'm looking at making a ruby eval IRC bot. My only option, so it seems, is to just run it in a linux container.
<agent_white> (learning docker as we speak)
josephndenton has joined #ruby
<Nilium> Ah. So, hell on earth in an attempt to make Ruby pretend it's secure.
parduse has quit []
<Nilium> Delete everything IO-related, networking-related, FFI-related.. uh...
avahey91 has joined #ruby
siwica has joined #ruby
<agent_white> Nilium: Yeah... :(
<agent_white> Nilium: http://shinhoge.blogspot.jp/2014/10/sandbox-of-my-golf-server.html <- Setup info by the guy who runs "anarchy code golf"
<Nilium> mruby might be easier to lock down.
<Nilium> Possibly worth considering.
<agent_white> Nilium: Hm... I heard jruby was as well?
<Nilium> I wouldn't consider anything with access to the JVM to be easy to lock down.
<agent_white> Yeah. Still surprising there's no golden-standard for ruby as there is for python for doing such a task,
<agent_white> If I were more experienced, I'd be hopping right on it! :P
<Nilium> Especially considering the never-ending flow of JVM security issues — they get patched, but you have to be proactive about updating and making it impossible to abuse until patched
Lingo_ has joined #ruby
CamonZ has quit [Quit: Textual IRC Client: www.textualapp.com]
<Nilium> On the upside, most of those only tend to affect desktop JVM stuff
<agent_white> Exactly. Which is why my thought is to step-down a level in abstraction, and work in a linux container instead.
apurcell has joined #ruby
parduse has joined #ruby
<Nilium> Reminds me, I was going to see about putting FreeBSD on an SD card so I could run it on my Raspberry Pi
<bradland> can ruby be run inside chroot jail?
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<scottstamp> Few things can't.
<scottstamp> But yes.
kenneth has joined #ruby
<scottstamp> This might interest you if you have an actual need for jailing: https://github.com/github/hoosegow
ARCADIVS has joined #ruby
apurcell has quit [Ping timeout: 264 seconds]
<bradland> well agent_white, that looks like something you should have a look at ^^
<agent_white> bradland, scottstamp: taking a peek now!... in between completing the docker tutorial :)
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
revw has joined #ruby
josephndenton has quit [Ping timeout: 264 seconds]
<scottstamp> for shaaaame! you should know Docker by now
<scottstamp> lol
<agent_white> Hahah I know right? Especially coming from the more IT/sysadmin realm of things.
ddd has joined #ruby
<scottstamp> I've been involved since 0.5-0.6
<agent_white> I heard about it, but hadn't bothered to try it out since I had no applications for it.
<scottstamp> Few commits :P
<agent_white> :D
bronson has joined #ruby
<scottstamp> Including some atrocious Python code for fixing broken links in the docs
<scottstamp> xD
ddd has quit [Client Quit]
<agent_white> Broken code for broken documentation... checks out! :D
shivamib has quit [Remote host closed the connection]
<scottstamp> Adderall + I have no idea how to write Python + OCD = "hey look at this thing that ... kind of functions."
<agent_white> Hahah my life in a nutshell. ;)
<scottstamp> :)
Pharaoh2 has joined #ruby
mleung has joined #ruby
<scottstamp> I'm generally bad at recursion, hopeless at tail recursion, and my regex is meh. Still didn't catch anything on fire.
<agent_white> scottstamp: Hahah you had me at line 3. Badass that you got a commit into it! So you must know _some_ of what you're doing!
bigkevmcd has joined #ruby
bigkevmc_ has quit [Read error: Connection reset by peer]
mleung has quit [Client Quit]
lxsameer has joined #ruby
lxsameer has joined #ruby
oo_ has quit [Remote host closed the connection]
iMe has quit [Ping timeout: 245 seconds]
<scottstamp> Ehh, I dabble. I've been doing this for a while though. Hahaha, if you count it as coding, I started around age 9 with VB5
bronson has quit [Ping timeout: 255 seconds]
tyfighter has joined #ruby
<agent_white> Oh damned... I made a CS 1.6 hack when I was 14, but truely have been at it for only a year now :)
ddd has joined #ruby
Senjai has quit [Ping timeout: 264 seconds]
iMe has joined #ruby
<scottstamp> If you ask me, the most important thing is that you're doing it because you want to. As long as you've got that down, "skill" is just a matter of practice. :)
astrobun_ has joined #ruby
agent_white has quit [Read error: Connection reset by peer]
ddd has quit [Client Quit]
resentido has quit [Remote host closed the connection]
speakingcode has joined #ruby
scripore has quit [Quit: Leaving]
scripore has joined #ruby
scripore has quit [Client Quit]
scripore has joined #ruby
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
goshdarnyou has joined #ruby
commmmodo has quit [Quit: commmmodo]
ddd has joined #ruby
Musashi007 has joined #ruby
alexblom has quit [Remote host closed the connection]
adriancb has quit [Remote host closed the connection]
tobago has joined #ruby
adriancb has joined #ruby
krz has joined #ruby
alexblom has joined #ruby
Asher has quit [Quit: Leaving.]
oo_ has joined #ruby
Asher has joined #ruby
mary5030 has quit [Ping timeout: 264 seconds]
ddd has joined #ruby
kiyote23_ has quit [Remote host closed the connection]
kiyote23 has joined #ruby
arescorpio has quit [Excess Flood]
krz has quit [Ping timeout: 244 seconds]
timanema has joined #ruby
adriancb has quit [Ping timeout: 244 seconds]
amystephen has quit [Quit: amystephen]
kiyote23 has quit [Ping timeout: 245 seconds]
agent_white has joined #ruby
<agent_white> scottstamp: Amen :) ... I'm just practicing until I can stop making pizzas and start making code for a living!
<Cat_1> I want to start a bakery and get out of the coding business...
<Cat_1> maybe that's just me
<scottstamp> Heh, I'm living life in the unemployed lane at the moment, sorting out some sleep disorder issues. It's a hobby for me atm.
<agent_white> I tend to cattle/horses/sheep/etc., and make pizzas in the boonies!
Musashi007 has quit [Quit: Musashi007]
timanema has quit [Ping timeout: 245 seconds]
<agent_white> ... and drink cheap beer and shoot guns on occassion. ;)
jenrzzz has joined #ruby
<scottstamp> I'm up north, no guns for me. :(
<agent_white> scottstamp: The 'deep north'? ;) I'm a dual-citizen to Canada due to majority of my family being in Alberta.
<scottstamp> Also I used to treat my insomnia with an anti-psychotic medication so even if I did want to buy a rifle, I'd have to get like 80000 forms filled out
<scottstamp> Newfoundland actually :P
rbrs has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lkba_ has joined #ruby
<agent_white> scottstamp: Oh nice!
<scottstamp> *boring
<scottstamp> xD
<agent_white> Hahah. I've heard it's beautiful out there though.
<scottstamp> Oh yeah, absolutely gorgeous landscape. If you're into that.
jenrzzz has quit [Ping timeout: 264 seconds]
lkba has quit [Ping timeout: 245 seconds]
<agent_white> I have a nice landscape of dead grass and pasture... nothing like living in colorado and not being able to see the mountains. /mildlydepressingcheer
<agent_white> ;P
<scottstamp> I'd take Colorado any day, mostly for the legal bud. ;)
<scottstamp> I've got friends in Nevada and California, too
jerematic has joined #ruby
<SparkMasterTape> best source to learn ruby is ________
skj3gg has quit [Quit: ZZZzzz…]
<agent_white> Legal bud, mountains, and microbrewries of the gods... can't complain :)
<agent_white> SparkMasterTape: irb/pry
agrinb has quit [Remote host closed the connection]
<SparkMasterTape> should i learn php before ruby?
<SparkMasterTape> i was suggested that by someone
<SparkMasterTape> then ruby on rails 3rd
<SparkMasterTape> over the years
<SparkMasterTape> of course
agrinb has joined #ruby
rebcabin has quit [Quit: Leaving.]
iMe has quit [Ping timeout: 256 seconds]
<scottstamp> nah, if you wanna learn Ruby just jump right in.
Mia has quit [Read error: Connection reset by peer]
ponga has joined #ruby
<scottstamp> Knowing PHP won't help much, and PHP is... well... it's PHP
<SparkMasterTape> whats the yeah
<porfa> i have a view in sinatra, a simple table… is it possible for me to make it sortable, in the site itself? how is this possible?… what do i have to use? a diferent view maybe? (total coding newbz…)
<SparkMasterTape> i think we were talking about learning web dev as a whole
mikeric has joined #ruby
<SparkMasterTape> whats the differences or strengths/weaknesses in python opposed to ruby
<scottstamp> porfa: You'd want some sort of JavaScript running to handle that.
Pharaoh2 has joined #ruby
<porfa> scottstamp: that’s all i needed! googlin now!!! ty!
<agent_white> SparkMasterTape: Well... PHP and Ruby are vastly different. What's your goal, is the important question.
agrinb_ has joined #ruby
<porfa> (i mean, i don’t mind reading.. but when you don’t even know what you’re looking for.. it’s kind of dificult :p thanks!!!! )
<scottstamp> http://www.datatables.net/ this will do you well. ;)
iMe has joined #ruby
<scottstamp> no prob
<SparkMasterTape> Web development i want to know how to create a program that integrates with a website that integrates with a db
<ddd> well, first off. joining a channel dedicated to a specific language and asking if you should learn a *different* language other than the one its dedicated to is.. well.. nuts.
<SparkMasterTape> so basically, web development front end and back end
<SparkMasterTape> and middle?
jerematic has quit [Ping timeout: 265 seconds]
x1337807x has joined #ruby
<SparkMasterTape> middle lul the client program
<ddd> next, learning php has zero to do with ruby, so learn php if you have a reason to learn php. otherwise pick one of the two languages and go from there
<SparkMasterTape> its not nuts
<SparkMasterTape> i mean it could be against the rules
pdoherty has joined #ruby
<SparkMasterTape> i just want tto hear pro ruby users tell me what the pros and cons are
<SparkMasterTape> of a language they know
agrinb has quit [Ping timeout: 245 seconds]
<SparkMasterTape> most programmers my company has know multiple and can say with an unbias what they think strengths and weaknesses are, or at least point out capabilities some have that another doesnt
<ddd> next again, web development requires learning a bunch of different languages. The chief of them being HTML, CSS, and JavaScript. Learn Ruby to learn a language that applies to a LOT more than JUST web development
<SparkMasterTape> yes i understand
<scottstamp> Well, there's a concept in programming called object-orientation, it's basically just a way of laying out programs and offers a way to think about how all your functions work together. It's a "feature" (if you can call it that) of both languages, but in PHP it's been implemented by a guy who should probably be wearing a helmet.
pu22l3r has quit [Remote host closed the connection]
<SparkMasterTape> im not that inexperienced lol
<SparkMasterTape> yeah i took java, Js, html in college
<SparkMasterTape> java i got my ass kicked
<scottstamp> Think of PHP as Java done wrong.
<SparkMasterTape> didnt put the time in , was taking with a full load of gen ed class
* scottstamp personally thinks of Java being Java done wrong, but I digress...
<SparkMasterTape> didnt realize u gotta practice a lot
<ddd> that applies to *any* language
<sevenseacat> oh not this guy again
<ddd> yes :)
<SparkMasterTape> why has C++ remained so dominant
<SparkMasterTape> or is it fading away at all
<scottstamp> it hasn't.
<scottstamp> it just isn't used much for web development
<SparkMasterTape> ah, well i probably shoulda phrased as popular
<ddd> I would suggest you google articles comparing the languages you want to learn, read more than a few of them, and then distill all of them down to the common nuggets between them all for a baseline of pros and cons, then try each language and judge for yourself
pdoherty has quit [Ping timeout: 245 seconds]
qba73 has joined #ruby
bluOxigen has joined #ruby
<SparkMasterTape> yeah i know pretty much what each ones specialties are, and capabilities
<ddd> popular has nothing to do with it. C++ has its strong suits, but web development isn't one. Application development and library development is its strengths
<SparkMasterTape> but python and ruby and perl i havent
<ddd> SparkMasterTape, then you wouldn't be asking these kinds of questions here
<SparkMasterTape> I took Java
dualbus has quit [Quit: WeeChat 1.0.1]
<SparkMasterTape> Forgot all the syntax
<SparkMasterTape> same with Js
<ddd> but thats why you read multiple comparative articles on *those specific* languages and then try them for yourself to see if the articles hold water
alexblom has quit [Remote host closed the connection]
<SparkMasterTape> and i started HTML when I was 13 but god into gaming, 24 now and getting on track
<SparkMasterTape> got*
<sevenseacat> someone poke me when he's finished filling the channel with dribble
<ddd> well, i'm 44 and what i'm telling you is a damned good way to figure out what you want to know
alexblom has joined #ruby
Morkel has joined #ruby
agrinb_ has quit [Remote host closed the connection]
<SparkMasterTape> sooo whats the strengths and weaknesses of ruby
<scottstamp> You know, ##programming is a pretty solid resource for getting grips on the basics and pros/cons of differing languages.
<ddd> sooo, do what was suggested
<SparkMasterTape> thats like what u can tell me
agrinb has joined #ruby
<SparkMasterTape> sorry i thought an IRC people help
<SparkMasterTape> apparently experience level is required
<scottstamp> it is :P
<SparkMasterTape> and someone who is obviously very good at ruby knows
<SparkMasterTape> its strengths or areas that they dont like, all im asking
roolo has joined #ruby
<SparkMasterTape> is it off topic?
russt has quit [Quit: russt]
<scottstamp> just linked
<scottstamp> click the link and read it
<SparkMasterTape> kk
Crazy_Atheist has quit [Ping timeout: 264 seconds]
<SparkMasterTape> does it apply to ruby as well
<scottstamp> GHNEWIUGTNHER59WGRT3W
nanoyak has quit [Quit: Computer has gone to sleep.]
<scottstamp> (╯°□°)╯︵ ┻━┻
dualbus has joined #ruby
elaptics`away is now known as elaptics
<ddd> SparkMasterTape, those questions are better answered by google. or any channel dedicated to a specific subject would never get any work done for being busy answering what google can answer far better without messing with the channel focus which is *doing* stuff *in* the subject of the channel
Lexun has joined #ruby
<SparkMasterTape> @ddd That answer is longer than yes/no. I know ruby on rails is ruby specialized for web dev
<scottstamp> no, you don't know that, because that's wrong
<SparkMasterTape> didnt know if it had diff syntax as much as something like js and java
<scottstamp> rails is a framework.
<havenwood> SparkMasterTape: There's a lot to Ruby beyond Rails. Ruby is simple and expressive. A lot of people enjoy coding in it. It has a nice aesthetic. And foxes and chunky bacon
<SparkMasterTape> well thats what i was led to believe
<SparkMasterTape> Thank you havenwood
<SparkMasterTape> and scott
agrinb has quit [Ping timeout: 245 seconds]
mikeric has quit []
<ddd> SparkMasterTape, ruby-lang.org. Look at the docs and the examples. compare them to the same on the sites dedicated to the other languages.
<troubadour> Mmm, chunky bacon
<SparkMasterTape> kk ty as well
nuck has joined #ruby
<ddd> with chowder!
<troubadour> And allegories, analogies, and post-scripts!
roolo has quit [Ping timeout: 252 seconds]
<ddd> and prescripts? ;)
<troubadour> All the scripts.
agrinb has joined #ruby
<ddd> all your scripts are belong to us!
<ddd> and thus to ruby!
rylev has joined #ruby
<SparkMasterTape> wait
<SparkMasterTape> so telling me im wrong
<SparkMasterTape> in that ruby on rails is related with web dev
speakingcode has quit [Ping timeout: 240 seconds]
kiyote23 has joined #ruby
<SparkMasterTape> the first sentence of that link is "Some clients ask us why we choose to use Ruby on Rails to develop web applications instead of all the other web frameworks and languages."
<scottstamp> I said it's a framework
<ddd> SparkMasterTape, what is the difference between a language and a framework?
<scottstamp> You can think of a framework of a program that runs *under* your program (or website, in this case, it's analagous)
AlexRussia has quit [Ping timeout: 244 seconds]
Crazy_Atheist has joined #ruby
<centrx> SparkMasterTape, Two major parts of Rails are the ORM (ActiveRecord) and the helper library (ActiveSupport), which are often used outside of web development and even outside of Rails
<scottstamp> Rails itself is a program, which is written in Ruby, and your program which is also written in Ruby uses it to do a lot of common tasks, like interacting with a database or creating the HTML to send to the browser.
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<SparkMasterTape> I see
banister has joined #ruby
<ddd> a language is what something is expressed in fundamentally. a framework is a grouping of code, configurations, and other common tasks written in that language and packaged together for a specific job. In Rail's case, web development.
CrazyM4n has quit [Quit: sleep]
<SparkMasterTape> thank you for that
lampd1 has quit [Remote host closed the connection]
<scottstamp> JSON will be the death of me. v_v
<SparkMasterTape> u guys are gunna be getting to know me
<ddd> as such a framework can not live independently of the language used to express it, whereas the language can
<SparkMasterTape> im learning ruby, and i have you on auto connect :(
<centrx> Delightful
<scottstamp> wunderbar
<ddd> just do your due diligence first before asking stuff.
<scottstamp> Unrelated note, what was your college prof's name? So I can go beat him to death?
<scottstamp> (kidding)
<ddd> A) its far easier to help you if you have, and B) you won't get the reputation as a help vampire if you do
mroach has joined #ruby
<SparkMasterTape> JC
<SparkMasterTape> I didnt pass the class
<SparkMasterTape> :P
<scottstamp> lol
<SparkMasterTape> Js i did
<SparkMasterTape> he made me not want to program
Lexun has left #ruby ["Manjaro-KDE user leaving!"]
<scottstamp> I've never bothered going back to school. I probably should some day.
<SparkMasterTape> talking about sitting behind a desk freaking out over a bug for 10 hours with a deadline, and said hed see like code in the walls like hallucination
<SparkMasterTape> like staring at a spiral too long or guitar hero
<ddd> i'll be going back probably at the end of this currently running semester. so long as I can get someone to watch the kids for my last class
troubadour has quit [Quit: troubadour]
<ddd> SparkMasterTape, well that can happen
revw has quit [Ping timeout: 272 seconds]
<SparkMasterTape> and i took a CCNA class skipping the prerequisite and learned that college programming classes and networking as well move at a quick rate
<ddd> its not all writing new code. lots of this field is fixing existing code, or interacting with legacy code
<SparkMasterTape> learned from my mistakes
<scottstamp> or changing the same file 900 times because a client cant make up their god damn mind...
<ddd> too friggin true
<SparkMasterTape> you cant just do the homework you gotta tinker around once uve finished the assignment and see what you can make
<ddd> SparkMasterTape, that applies to learning anything
<ddd> at least if you want to actually do something not just say you took a course
<SparkMasterTape> not the speed
<SparkMasterTape> of college classes is what i meant
terlar has joined #ruby
<SparkMasterTape> for a programming language
kiyote23 has quit [Ping timeout: 256 seconds]
<SparkMasterTape> i dont know if any of you have CS degrees, but my JS has python, i believe its 1 semseter
<ddd> you forget the classes are taught to the speed of the expected slowest in the class. (though many are slower than even that) AND classes *expect* for you to do more than just the homework assignment
<ddd> especially in this particular field.
mroach has quit [Ping timeout: 272 seconds]
<scottstamp> You might find a website like Lynda.com, TeamTreehouse.com or CodeSchool.com useful. They're online course centric, you can learn at your own pace.
<scottstamp> And it's pretty cheap.
<SparkMasterTape> yeah i finally learned the 2 hours of class to 1 hour of class study style
Cache_Money has joined #ruby
<SparkMasterTape> minimum
Hijiri has joined #ruby
<ddd> and work through rubykoans.com
<SparkMasterTape> so no codeacademy
<SparkMasterTape> is that too noobie
<ddd> not for no exposure to ruby
<SparkMasterTape> i imagined so with a 9 hour course completion time
Lingo_ has quit [Quit: (null)]
<SparkMasterTape> avg*
Lingo has joined #ruby
<SparkMasterTape> awesome thanks guys
MartynKeigher has quit [Read error: Connection reset by peer]
<ddd> it doesn't take much to learn the basic syntax. it *does* take more than that to make it sink and and *stay*
<ddd> and plenty of non-course hours of tinkering and playing around not being afraid to break something
<SparkMasterTape> yeah
<SparkMasterTape> thats what i didnt do for Java
<centrx> Java causes brain damage
<centrx> You may have saved yourself
<SparkMasterTape> all i remember from java is
<SparkMasterTape> {}
<SparkMasterTape> thats it
<SparkMasterTape> it uses lots of { }
<SparkMasterTape> objects
<SparkMasterTape> methods
<ddd> but if this really is something you want to do, programming, then you must be prepared to spend inordinate amounts of time *beyond* the classroom time to learn. because in this field, its learn by doing.
<SparkMasterTape> i remember key words hahaha
<SparkMasterTape> the paint object
<SparkMasterTape> yeah im prepared
<ddd> thats because its a C style language. recognized by the lots of {} etc
alkoma has joined #ruby
<SparkMasterTape> put in hours like kobe in the gym
<SparkMasterTape> if u wanna be the kobe of your field
<SparkMasterTape> competitions spawning every second
<ddd> no, if you want to be the Kobe of your field, TRIPLE your idea of 'lots of time'
<SparkMasterTape> yeah really
kl has quit [Ping timeout: 244 seconds]
<ddd> if you want to know what you're doing competently DOUBLE your idea of 'lots of time'
<ddd> if you just want to tinker, use your current expectation levels
<SparkMasterTape> i live a mile or 2 away from him, he tried to get a chopper pad at his house
<SparkMasterTape> the HOA denied it
<SparkMasterTape> for practice in LA, but he still choppers out i think from john wayne
scripore has quit [Quit: This computer has gone to sleep]
<SparkMasterTape> theres stories of him practicing with no ball lol
<ddd> couldn't care less what those types do.
<SparkMasterTape> 4:30 AM
<SparkMasterTape> cant sleep calls his trainer who gets paid so well hes on call and they go practice
<SparkMasterTape> those types
<SparkMasterTape> celebs
<SparkMasterTape> or rich
<SparkMasterTape> i hate the stupid rich but kobe isnt a dumb man
michaeldeol has joined #ruby
<ericwood> wow maybe I'm just drunk enough to write some CSS
<centrx> My helicopter is so cool
bronson has joined #ruby
<SparkMasterTape> whats the frequency on your remote control
<shevy> 1
<ericwood> I'm doing a job interview thing and they sent me some frontend stuff to do via a mockup
<SparkMasterTape> damn thats deep
mroach has joined #ruby
nuck has quit [Remote host closed the connection]
<ericwood> but it's a PSD and I don't have any good tools to manipulate it
<SparkMasterTape> Fox
<ericwood> so I want to grab some info on sizing and fonts and stuff
<ericwood> Preview.app views it just nicely but doesn't help with grabbing color names, font weights, etc.
<ericwood> Pixelmator kinda helps but not really
<Paradox> hrm
<ericwood> SparkMasterTape: will it help with boxes and things with colors and gradients?
<Paradox> i'm not giving up yet, but thought i might check in here to see if anyone has any answers. Anyone know how i could go about creating and sending something like this https://www.hipchat.com/docs/apiv2/method/share_file_with_user
<Paradox> i know how to use the HTTP part
<Paradox> its the multipart/related that i've been stuck on
<Paradox> i thought using mail would do it quickly
agrinb has quit [Remote host closed the connection]
<Paradox> but hipchat doesnt seem to like that
<SparkMasterTape> I imagine it would
<SparkMasterTape> its a premium editor
<SparkMasterTape> but free trial
<SparkMasterTape> i thought it was freeware..
<ericwood> Paradox: so you want to do file upload things?
<Paradox> yes
<Paradox> but not a standard mutlipart upload
<Paradox> hipchat's particular upload
<ericwood> Paradox: Rails or Sinatra have you covered; it's all about what you do with the file once you get it
<Paradox> which looks to take from email
<ericwood> and doing so securely
tyfighter has quit [Quit: tyfighter]
<Paradox> i dont want to upload to some server i control
<ericwood> there's tons of wonderful gems that do this sort of thing well
<Paradox> i want to interact with the hipchat api
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Paradox> i know
<ericwood> oh yeah definitely not
<Paradox> i'm using one of them
PanPan has quit [Quit: ChatZilla 0.9.91.1 [Firefox 34.0.5/20141126041045]]
<ericwood> which one?
<Paradox> Typhoeus
<Paradox> you can't just do a standard multipart form upload
<Paradox> like you would a regular one
<Paradox> you have to send a multipart/related object as a body
<Paradox> i know the mail gem can make them, so i was playing with it, but couldnt seem to get it to work
<Paradox> felt like i was running into a brick wall so i thought i'd check here since google turned nothing up
<ericwood> ever look at carrierwave?
bronson has quit [Ping timeout: 255 seconds]
<ericwood> maybe it's no longer in favor but I've had good experiences with it
<Paradox> im not concerned with the server side approach
<ericwood> ah!
<Paradox> i know how to handle uploads from that end
<Paradox> i'm writing a client
<SparkMasterTape> check http://www.foxitsoftware.com/PDF_Editor/ free version
<ericwood> SparkMasterTape: gracias, I'll take a look
<SparkMasterTape> its turning up as one of the most popular pdf editors i can find
<Paradox> specifically, a shell script that i can send a filename as stdin to and upload it to hipchat
sigurding has joined #ruby
<SparkMasterTape> donno how limited the trial is
riceandbeans has joined #ruby
riceandbeans has quit [Changing host]
riceandbeans has joined #ruby
Pharaoh2 has joined #ruby
<ericwood> Paradox: hmm is this beyond curl and friends' capabilities?
jaequery has quit [Quit: Textual IRC Client: www.textualapp.com]
<Paradox> ericwood not technically
<Paradox> the real issue i'm having is getting my body to resemble theirs
<Paradox> with the --boundary
<Paradox> if i do it in mail
<Paradox> it gets close
<Paradox> but hipchat still rejects it, claiming it cant see the file in it
<Paradox> yup
<Paradox> thats the method
<ericwood> oh never mind you're ahead of me on that
<Paradox> note the odd body
<ericwood> sorry, I've been drinking
<Paradox> lol, me too
<Paradox> just got back from the bar and thought i'd take another crack at this
Lingo has quit [Read error: Connection reset by peer]
<ericwood> I'm afraid I might be over my head since I've never done this manually
<Paradox> i mean uploading to imgur or something is dead simple
kyb3r_ has joined #ruby
<Paradox> just stick it in a file: object in the body
ivanskie has joined #ruby
<Paradox> and wiz-bang its uploaded
<ericwood> if you're just doing images do that really
<Paradox> yeah thats what i'm considering
Pharaoh2 has quit [Client Quit]
<ericwood> even with the self-hosted version of hipchat it's throwing it in some stupid AWS bucket
<Paradox> its just…uploading to hipchat is convenient
Pharaoh2 has joined #ruby
<Paradox> well im not paying for it
<ericwood> is it though?
<Paradox> my work is
apeiros__ has joined #ruby
<ericwood> AWS bucket can be cheap
<ericwood> is this for hubot?
<Paradox> maybe eventually
echevemaster has quit [Remote host closed the connection]
<Paradox> right now i'm just making something to couple to my stupid meme-generation gem to let me upload memes to hipchat
apeiros has quit [Read error: Connection reset by peer]
<Paradox> i'll just go with imgur and short-circuit it
<Paradox> im gonna take a few more cracks at it though
<ericwood> that approach at least makes it compatible with slack as well :)
<Hijiri> is hipchat somewhere an advanced memer like myself can hang out in style?
<Paradox> no, but snoonet is
<Paradox> :p
<ericwood> oh the joys of imagemajick
arup_r has joined #ruby
josephndenton has joined #ruby
oleo__ has joined #ruby
oleo__ has joined #ruby
oleo__ has quit [Changing host]
oleo is now known as Guest90965
larissa has quit [Quit: Leaving]
sivam has joined #ruby
oleo__ has quit [Read error: Connection reset by peer]
ghr has joined #ruby
kenneth__ has joined #ruby
Channel6 has quit [Quit: Leaving]
Guest90965 has quit [Ping timeout: 252 seconds]
apurcell has joined #ruby
apeiros__ has quit [Read error: Connection reset by peer]
apeiros has joined #ruby
FooMunki has quit [Read error: No route to host]
jusmyth has joined #ruby
apeiros has quit [Remote host closed the connection]
djbkd has quit [Remote host closed the connection]
kenneth has quit [Ping timeout: 256 seconds]
sigurding has quit [Quit: sigurding]
ghr has quit [Ping timeout: 252 seconds]
sigurding has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kenneth__ has quit [Ping timeout: 264 seconds]
apurcell has quit [Ping timeout: 245 seconds]
gokul has joined #ruby
<mozzarella> while the for loop ever get deprecated?
josephndenton has quit [Ping timeout: 272 seconds]
<sevenseacat> mozzarella: in english?
astrobun_ has quit [Remote host closed the connection]
<porfa> no real mozzarella in english, it must come from mancow’s milk or else it’s not real mozzarela!
mroach has quit [Ping timeout: 272 seconds]
mroach_ has joined #ruby
siwica has quit [Ping timeout: 240 seconds]
kenneth has joined #ruby
Pharaoh2 has joined #ruby
<mozzarella> aaaww man
<mozzarella> will the 'for' loop ever become deprecated?
echevemaster has joined #ruby
<Paradox> heh
<sevenseacat> imo the for loop shouldnt exist
<Paradox> i think i figured it out ericwood
<Paradox> mail #encode was adding newlines and stripping ="file" down to : file
zarubin has joined #ruby
<Paradox> so i can just side-step it and fake it
<Paradox> via terrible ugly string munging
<Paradox> and some base64 magic
<porfa> ( i can’t NEVER EVER get the url images from the sites im scraping, im missing something / need a tutorial on how to get this :(
<porfa> i cant select the css that contains the url i want… but how do i fetch the href from it?...
<mozzarella> what do you mean
mroach has joined #ruby
<mozzarella> you should ultimately use a html parser, but you can probably do it with a regex
<porfa> im using nokogiri
mroach_ has quit [Ping timeout: 272 seconds]
tagrudev has joined #ruby
<mozzarella> doc.css('a').first.href
zarubin has quit [Ping timeout: 256 seconds]
<mozzarella> IIRC
<porfa> ok it’s a start, thanks
troubadour has joined #ruby
<mozzarella> maybe it's ['href'] instead
terlar has quit [Ping timeout: 245 seconds]
troubadour has quit [Client Quit]
<porfa> i wish i could grep in ruby
<mozzarella> you can?
<porfa> how? i’ll just grep the line that has .jpg
astrobun_ has joined #ruby
hamakn has joined #ruby
seal has joined #ruby
C1V0 has quit []
hamakn has quit [Remote host closed the connection]
<mozzarella> just give us an input example, expected output and current code
hamakn has joined #ruby
Lingo has joined #ruby
mroach has quit [Ping timeout: 272 seconds]
<porfa> irb(main):070:0> datadescontos.at_css ('.image')
<porfa> hmmm sorry
<porfa> i just want “ name="data-src" value="/imgOfertas/Deals/medium/D31909i1.png “
nrcpts has quit [Remote host closed the connection]
seal has quit [Client Quit]
nanoyak has joined #ruby
last_staff has joined #ruby
chipotle has joined #ruby
mroach has joined #ruby
echooo has quit [Quit: echooo]
leafybas_ has joined #ruby
leafybasil has quit [Read error: Connection reset by peer]
<porfa> i’ll goes get a gun now.
<porfa> :(
avahey91 has quit [Quit: Connection closed for inactivity]
<mozzarella> maybe if you could explain your problem better
lw has quit [Quit: s]
terlar has joined #ruby
dfinninger has joined #ruby
krz has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<porfa> http://descontos.pt/?city=Porto i want to fetch the url for the image that has the trolley bags
apeiros has joined #ruby
rylev has quit []
timonv has joined #ruby
<porfa> or the link when you click on it.. im just training to get urls.. i cant get all the texts i want from a site… but when it comes to getting URL’s i just cant
<porfa> i can get the 37€, the product descripts.. the percentage.. everythgin.. when it comes doesn to url links…i just can’t do anyhting
<mozzarella> let me try
xenophene has joined #ruby
<porfa> i alwaysget nil :|
Pharaoh2 has joined #ruby
<porfa> grrrrrrr i nee to sleep or else ill throw the laptop into the air
Pharaoh2 has quit [Max SendQ exceeded]
<porfa> i feel so fkdumb lol snappadooddle! later!
jerematic has joined #ruby
Pharaoh2 has joined #ruby
linduxed has quit [Ping timeout: 256 seconds]
riceandbeans has quit [Quit: leaving]
<mozzarella> [3] pry(main)> Nokogiri::HTML(open('http://descontos.pt/?city=Porto';)).css('.deal img')[0]['data-src']
<mozzarella> => "/imgOfertas/Deals/medium/D31909i1.png"
<mozzarella> porfa: works for me ^
rbennacer has joined #ruby
terlar has quit [Ping timeout: 264 seconds]
jerematic has quit [Ping timeout: 244 seconds]
BTRE has quit [Quit: Leaving]
bronak has quit [Quit: Be back later ...]
riceandbeans has joined #ruby
riceandbeans has quit [Changing host]
riceandbeans has joined #ruby
sivam has quit [Ping timeout: 240 seconds]
bronak has joined #ruby
rbennacer has quit [Ping timeout: 246 seconds]
pawanspace has joined #ruby
mleung has joined #ruby
BTRE has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
havenwood has quit []
arup_r has quit [Remote host closed the connection]
Joufflu has joined #ruby
iMe has quit [Ping timeout: 244 seconds]
escapement has joined #ruby
hamakn_ has joined #ruby
aswen has joined #ruby
amclain has quit [Quit: Leaving]
iMe has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
escapement has quit [Client Quit]
vsipuli has joined #ruby
vsipuli has quit [Client Quit]
codecop has joined #ruby
agent_white has quit [Quit: Lost terminal]
ndrei has joined #ruby
nuck has joined #ruby
agent_white has joined #ruby
dogweather has joined #ruby
dc has quit [Remote host closed the connection]
vozcelik has joined #ruby
apurcell has joined #ruby
arup_r has joined #ruby
zwer_f has joined #ruby
ghr has joined #ruby
bronson has joined #ruby
kwd has joined #ruby
troubadour has joined #ruby
ohaibbq has joined #ruby
zwer has quit [Ping timeout: 250 seconds]
kenneth has joined #ruby
apurcell has quit [Ping timeout: 255 seconds]
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
anaeem1_ has joined #ruby
ghr has quit [Ping timeout: 245 seconds]
Pharaoh2 has joined #ruby
kenneth has quit [Client Quit]
bronson has quit [Ping timeout: 245 seconds]
goshdarnyou has quit [Quit: Connection closed for inactivity]
Pharaoh2 has quit [Max SendQ exceeded]
Pharaoh2 has joined #ruby
Pharaoh2 has quit [Max SendQ exceeded]
Pharaoh2 has joined #ruby
zwer_f is now known as zwer
XxionxX has left #ruby [#ruby]
wallerdev has quit [Quit: wallerdev]
tjohnson has quit [Quit: Connection closed for inactivity]
ItSANgo has joined #ruby
pdoherty has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
jusmyth has quit [Quit: Leaving.]
Cache_Money has quit [Quit: Cache_Money]
aganov has joined #ruby
pawanspace has quit [Quit: Colloquy for iPhone - http://colloquy.mobi]
lkba has joined #ruby
lkba_ has quit [Read error: Connection reset by peer]
blueOxigen has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bluOxigen has quit [Ping timeout: 256 seconds]
pdoherty has quit [Ping timeout: 245 seconds]
yfeldblum has quit [Ping timeout: 245 seconds]
andikr has joined #ruby
sandelius has joined #ruby
wallerdev has joined #ruby
mikeric has joined #ruby
bronak has quit [Ping timeout: 256 seconds]
elaptics is now known as elaptics`away
mleung has quit [Quit: mleung]
fandi has quit [Ping timeout: 264 seconds]
ivanskie has quit [Quit: Textual IRC Client: www.textualapp.com]
anarang has joined #ruby
windowlicker has quit [Ping timeout: 245 seconds]
dfinninger has quit [Remote host closed the connection]
Pharaoh2 has joined #ruby
Nijjan1 has joined #ruby
<Nijjan1> zx Who likes this game ? https://www.youtube.com/watch?v=7ELS9t3jd8k
alkoma` has joined #ruby
iMe has quit [Ping timeout: 264 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
alkoma has quit [Ping timeout: 264 seconds]
St_Marx has quit [Ping timeout: 250 seconds]
lw has joined #ruby
dogweather has quit [Remote host closed the connection]
iMe has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Macaveli has joined #ruby
arup_r_ has joined #ruby
sandelius has quit [Ping timeout: 264 seconds]
dc has joined #ruby
davedev24_ has quit [Ping timeout: 246 seconds]
Lingo has quit [Quit: (null)]
davedev24_ has joined #ruby
St_Marx has joined #ruby
fandi has joined #ruby
arup_r has quit [Ping timeout: 276 seconds]
alkoma` has quit [Remote host closed the connection]
testcore has quit [Remote host closed the connection]
LouisRoR has joined #ruby
testcore has joined #ruby
siwica has joined #ruby
bal has joined #ruby
dc has quit [Ping timeout: 245 seconds]
lw has quit [Quit: s]
Sid05 has joined #ruby
wallerdev has quit [Quit: wallerdev]
lkba has quit [Ping timeout: 265 seconds]
sigurding has quit [Quit: sigurding]
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shvelo has joined #ruby
Pharaoh2 has joined #ruby
Pharaoh2 has quit [Client Quit]
hamakn_ has quit [Remote host closed the connection]
ohaibbq has quit [Quit: Leaving...]
decoponio has joined #ruby
timanema has joined #ruby
kstuart_ has quit [Remote host closed the connection]
fantazo has joined #ruby
kstuart has joined #ruby
terlar has joined #ruby
sigurding has joined #ruby
Morkel has quit [Quit: Morkel]
_Andres has joined #ruby
lemur has quit [Remote host closed the connection]
lemur has joined #ruby
noop has joined #ruby
timanema has quit [Ping timeout: 264 seconds]
fandi has quit [Ping timeout: 252 seconds]
_tpavel has joined #ruby
centrx has quit [Quit: Science is organized knowledge, wisdom is organized life.]
siwica has quit [Ping timeout: 272 seconds]
Pharaoh2 has joined #ruby
lemur has quit [Ping timeout: 245 seconds]
_tpavel has quit [Client Quit]
bluenemo has joined #ruby
bluenemo has joined #ruby
troubadour has quit [Quit: troubadour]
Sid05 has quit [Read error: Connection reset by peer]
mikeric has quit []
kl__ has joined #ruby
antgel has joined #ruby
shime has joined #ruby
Nijjan1 has quit [K-Lined]
dcarmich has joined #ruby
sivam has joined #ruby
einarj has joined #ruby
marr has joined #ruby
pandaant has quit [Ping timeout: 245 seconds]
Xeago has joined #ruby
LouisRoR has quit [Ping timeout: 265 seconds]
kl__ has quit [Ping timeout: 264 seconds]
tesuji has joined #ruby
ferr_ has joined #ruby
elaptics`away is now known as elaptics
ferr has quit [Disconnected by services]
ferr_ has quit [Client Quit]
ferr has joined #ruby
greenarrow has joined #ruby
aswen has quit [Ping timeout: 245 seconds]
arup_r_ has quit [Remote host closed the connection]
nanoyak has quit [Quit: Computer has gone to sleep.]
Deele has joined #ruby
hgl has quit [Max SendQ exceeded]
Xeago has quit [Remote host closed the connection]
hgl has joined #ruby
nrsk has joined #ruby
hgl has quit [Max SendQ exceeded]
xenophene has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
fandi has joined #ruby
pandaant has joined #ruby
oo_ has quit [Remote host closed the connection]
hgl has joined #ruby
hgl has quit [Max SendQ exceeded]
hgl has joined #ruby
zarubin has joined #ruby
livathinos has joined #ruby
elaptics is now known as elaptics`away
jenrzzz has joined #ruby
ndrei has quit [Ping timeout: 265 seconds]
timonv has quit [Ping timeout: 272 seconds]
lolmaus has quit [Quit: Konversation terminated!]
iMe has quit [Ping timeout: 240 seconds]
shredding has joined #ruby
bronak has joined #ruby
sivam has quit [Ping timeout: 252 seconds]
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
zarubin has quit [Ping timeout: 255 seconds]
Pharaoh2 has joined #ruby
CustosL1men has joined #ruby
iMe has joined #ruby
sandelius has joined #ruby
olivier_bK has joined #ruby
olivier_bK has quit [Client Quit]
olivier_bK has joined #ruby
bronak has quit [Ping timeout: 240 seconds]
oo_ has joined #ruby
livcd has quit [Changing host]
livcd has joined #ruby
lkba has joined #ruby
LouisRoR has joined #ruby
iamninja has joined #ruby
aswen has joined #ruby
TheNet has quit [Quit: Leaving...]
parduse has quit [Ping timeout: 276 seconds]
bluOxigen has joined #ruby
blueOxigen has quit [Ping timeout: 245 seconds]
ndrei has joined #ruby
elaptics`away is now known as elaptics
Hobogrammer has quit [Ping timeout: 256 seconds]
arup_r has joined #ruby
parduse has joined #ruby
kamilc__ has joined #ruby
<DylanJ> yo these ruby 'style guides' ban the use of 'and' and 'or'. isn't "something.returns_bool or return 'x'" more correct than "somthing.returns_bool || return x"
<livcd> DylanJ: it looks better indeed :P
* scottstamp prefers double-pipe and double-ampersand, personally
parduse is now known as Guest66163
fandi has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby
<crome> DylanJ: it may read better but there is a small difference between those operators that can bite you very hard. there is a reason why using them is often discouraged
joonty has joined #ruby
mroach has quit [Ping timeout: 272 seconds]
Guest66163 has quit [Ping timeout: 255 seconds]
ypasmk has joined #ruby
<epitron> DylanJ: well, || and && pop out more
<epitron> of course, they are more tightly binding than "and" and "or"
<epitron> like, if i did: connect "address" || fail
<epitron> i think that turns into: connect("address" || fail)
<epitron> the || binds to whatever's immediately on its left/right
wpp has joined #ruby
<epitron> while "or" binds more loosely
<ypasmk> hey all … i have an application where multiple classes share the same let’s say constants .. for example STATUS_COMPLETED = ‘completed’, STATUS_FAILED = ‘failed’ .. so write now every class maintain a set of constants which is duplication … what is best practise in ruby dealing with that kind of a problem?
<ypasmk> a helper class that holds all the constant values?
<epitron> DylanJ: sorry, by "pop out more" i mean, when you're skimming the code, the are more visually noticable
<epitron> usually they show up a different colour too
parduse has joined #ruby
maximski has joined #ruby
mbrumbelow has joined #ruby
yfeldblu_ has joined #ruby
<epitron> ypasmk: you could just use symbols
<epitron> :failed, :completed
<epitron> and don't use constants :)
<epitron> i mean, what's the difference between typing STATUS_COMPLETED and typing :completed?
<epitron> in a statically typed language that matters
<epitron> in ruby it doesn't really
<ypasmk> true … good point .. thanks
sevenseacat has quit [Remote host closed the connection]
<epitron> there might be a better way to support what you're trying to do though
<epitron> if many classes have the same kind of functionality, you might want to make a mixin module
<epitron> include Statusable
<epitron> or make a superclass
roolo has joined #ruby
<epitron> in fact, if the logic for how things' states change, you might want to use one of the many fine state machine gems
yfeldblum has quit [Ping timeout: 255 seconds]
terlar has quit [Ping timeout: 265 seconds]
Musashi007 has joined #ruby
mroach has joined #ruby
<epitron> works with rails
sigurding has quit [Quit: sigurding]
livathinos has quit []
Morkel has joined #ruby
theotherstupidgu has joined #ruby
mbrumbelow has quit [Ping timeout: 276 seconds]
kiyote23 has joined #ruby
dumdedum has joined #ruby
chthon has joined #ruby
parduse is now known as Guest96388
Guest96388 has quit [Ping timeout: 255 seconds]
sigurding has joined #ruby
theotherstupidgu has quit [Remote host closed the connection]
timonv has joined #ruby
pardusf has joined #ruby
bronson has joined #ruby
hamakn has joined #ruby
ferr has quit [Remote host closed the connection]
Trynemjoel has quit [Ping timeout: 272 seconds]
kiyote23 has quit [Ping timeout: 264 seconds]
Trynemjoel has joined #ruby
AlSquire has joined #ruby
AFKGeek has joined #ruby
hamakn has quit [Ping timeout: 244 seconds]
bronson has quit [Ping timeout: 264 seconds]
terlar has joined #ruby
pardusf has quit [Ping timeout: 246 seconds]
maximski has quit [Ping timeout: 264 seconds]
<ypasmk> hmmm … but that means a developer needs to track those symbols …
n008f4g_ has joined #ruby
<ypasmk> and be aware that status success is :success and not :completed for example
jusmyth has joined #ruby
<epitron> which is why state machines are nice :)
<epitron> the state changes are part of an API, and they can only change if the proper conditions are met
<epitron> if you try to drive the car while it's in park, it fails
parduse has joined #ruby
<epitron> the state is an internal thing... you never have to set it manually
<ypasmk> yeah but what if you don’t have defined processes on how your object will behave …
cantonic has quit [Quit: cantonic]
<epitron> i.. what?
jheg has joined #ruby
<epitron> how can you write ANY kind of code if you don't know how it'll behave?
<ypasmk> hmmm … ok let me sleep on it a little bit … :)
<wasamasa> simple, just be brave
<epitron> sleep is good
<epitron> wasamasa: haha
kyb3r_ has quit [Read error: Connection reset by peer]
<epitron> INTO THE BREACH
<wasamasa> you're using a dynamic language FFS
<wasamasa> then, not even the static ones are safe from someone redefining +
ghr has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
CustosLimen has quit [Ping timeout: 252 seconds]
jusmyth has quit [Client Quit]
BeginnerRuby has joined #ruby
JohnBat26 has joined #ruby
<BeginnerRuby> Hello
<epitron> welcome!
<epitron> :)
doritostains has joined #ruby
<BeginnerRuby> :)
parduse is now known as Guest33256
<BeginnerRuby> you already work with Ruby / Rails ?
mroach has quit [Quit: mroach]
pardusf has joined #ruby
byprdct has quit [Quit: Textual IRC Client: www.textualapp.com]
Guest33256 has quit [Ping timeout: 246 seconds]
decoponyo has joined #ruby
Zai00 has joined #ruby
elcontrastador has quit [Ping timeout: 255 seconds]
CustosLimen has joined #ruby
decoponio has quit [Ping timeout: 245 seconds]
timonv has quit [Quit: WeeChat 1.1]
timonv has joined #ruby
Pupeno has joined #ruby
amystephen has joined #ruby
msgodf has joined #ruby
Guest48003 has quit [Ping timeout: 240 seconds]
Xiti has quit [Ping timeout: 256 seconds]
d10n-work has quit [Quit: Connection closed for inactivity]
pdoherty has joined #ruby
mroach has joined #ruby
timonv has quit [Ping timeout: 246 seconds]
jlebrech has joined #ruby
<jlebrech> does anyone know any apps where I can paste a curl command and play with the params and response?
<jlebrech> no matter, postman is working
meschi has joined #ruby
pdoherty has quit [Ping timeout: 244 seconds]
<epitron> jlebrech: i like the 'http' gem
<epitron> or mechanize
<epitron> mechanize is good for wrapping the http response in a bunch of objects
avril14th has joined #ruby
<epitron> page.links, page.search("img"), etc
<epitron> (page.headers, of course)
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<epitron> BeginnerRuby: yeah, i've been using ruby/rails for 10 years
<epitron> i'm so old :D
<BeginnerRuby> woow, nice ^^
Xeago has joined #ruby
Pharaoh2 has joined #ruby
<BeginnerRuby> I'm young like 19 years old
Pharaoh2 has quit [Max SendQ exceeded]
Pharaoh2 has joined #ruby
wm3|away has joined #ruby
duncannz has quit [Remote host closed the connection]
kaspertidemann has joined #ruby
IrishGringo has quit [Ping timeout: 244 seconds]
livathinos has joined #ruby
_ixti_ has quit [Quit: WeeChat 1.0.1]
Trynemjoel has quit [Ping timeout: 256 seconds]
leafybas_ has quit [Remote host closed the connection]
<wm3|away> bradland: did you solve that little challenge from yesterday? :)
wm3|away is now known as workmad3
Trynemjoel has joined #ruby
Jackneill has joined #ruby
fandi has joined #ruby
Pharaoh2_ has joined #ruby
dc has joined #ruby
vdmo has joined #ruby
iamninja has quit [Remote host closed the connection]
iamninja has joined #ruby
Trynemjoel has quit [Ping timeout: 272 seconds]
Pharaoh2 has quit [Ping timeout: 264 seconds]
jusmyth has joined #ruby
rodfersou has joined #ruby
sivam has joined #ruby
mitt3ns has joined #ruby
<avril14th> morning
mitt3ns has left #ruby [#ruby]
Trynemjoel has joined #ruby
dc has quit [Ping timeout: 264 seconds]
npgm has quit [Quit: Connection closed for inactivity]
oo__ has joined #ruby
ypasmk has left #ruby [#ruby]
Spami_ has quit [Ping timeout: 245 seconds]
Spami_ has joined #ruby
oo_ has quit [Ping timeout: 256 seconds]
iMe has quit [Ping timeout: 245 seconds]
lkba has quit [Ping timeout: 240 seconds]
AFKGeek has quit [Ping timeout: 264 seconds]
iMe has joined #ruby
tvw has joined #ruby
pasv_ has joined #ruby
lolmaus has joined #ruby
druznek has joined #ruby
St_Marx has quit [Ping timeout: 250 seconds]
St_Marx has joined #ruby
druznek has quit [Client Quit]
<BeginnerRuby> #
<BeginnerRuby> #e
<BeginnerRuby> #guru-sp
tokik has quit [Ping timeout: 276 seconds]
joonty has quit [Quit: joonty]
maximski has joined #ruby
tvw has quit [Ping timeout: 256 seconds]
lkba has joined #ruby
AFKGeek has joined #ruby
timonv has joined #ruby
davidhq has joined #ruby
timonv has quit [Client Quit]
timonv has joined #ruby
ARCADIVS has quit [Quit: ARCADIVS]
kl has joined #ruby
timonv has quit [Client Quit]
timonv has joined #ruby
Trynemjoel has quit [Ping timeout: 256 seconds]
amil has joined #ruby
bestie_ has joined #ruby
kaspertidemann has quit []
leafybasil has joined #ruby
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
arup_r has quit [Remote host closed the connection]
kamilc__ has quit [Ping timeout: 244 seconds]
Trynemjoel has joined #ruby
arup_r has joined #ruby
sandelius has joined #ruby
echevemaster has quit [Remote host closed the connection]
sandelius has quit [Max SendQ exceeded]
bestie_ is now known as bestie
maximski has quit []
sigurding has quit [Ping timeout: 245 seconds]
Joufflu has quit [Ping timeout: 245 seconds]
sigurding has joined #ruby
bronak has joined #ruby
shvelo has quit [Ping timeout: 276 seconds]
timonv has quit [Quit: WeeChat 1.1]
pardusf has quit []
arup_r has quit [Ping timeout: 264 seconds]
kl has quit [Ping timeout: 240 seconds]
timonv has joined #ruby
kl has joined #ruby
elfuego has joined #ruby
sivam has quit [Ping timeout: 245 seconds]
tkuchiki has quit [Remote host closed the connection]
<agent_white> >> puts "hai"
<eval-in> agent_white => hai ... (https://eval.in/242599)
tkuchiki has joined #ruby
joonty has joined #ruby
arup_r has joined #ruby
jack_rabbit has quit [Ping timeout: 264 seconds]
<epitron> >> puts puts puts puts puts puts puts
<eval-in> epitron => ... (https://eval.in/242600)
Musashi007 has quit [Quit: Musashi007]
bronak has quit [Ping timeout: 265 seconds]
tkuchiki has quit [Ping timeout: 252 seconds]
jschoolcraft has joined #ruby
kl has quit [Ping timeout: 252 seconds]
jerematic has joined #ruby
Trynemjoel has quit [Ping timeout: 272 seconds]
lkba has quit [Read error: Connection reset by peer]
lkba_ has joined #ruby
Trynemjoel has joined #ruby
hgl has quit [Ping timeout: 264 seconds]
jerematic has quit [Ping timeout: 240 seconds]
bal has quit [Quit: bal]
ldnunes has joined #ruby
Pharaoh2_ is now known as Pharaoh2
kl has joined #ruby
bal has joined #ruby
hgl has joined #ruby
sigurding has quit [Quit: sigurding]
n008f4g_ has quit [Ping timeout: 256 seconds]
nrsk has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
nuck has quit [Quit: Computer has gone to sleep.]
<epitron> kyrylo discovered a weird ruby behaviour
<epitron> >> eval "100 + (42 + \n 100)"
<eval-in> epitron => 242 (https://eval.in/242611)
<epitron> makes sense
tkuchiki has joined #ruby
<epitron> now let's move the line feed
<epitron> >> eval "100 + (42 \n + 100)"
<eval-in> epitron => 200 (https://eval.in/242612)
<epitron> now let's replace 42 with a puts
<epitron> >> eval "100 + (puts "lol" \n + 100)"
<eval-in> epitron => /tmp/execpad-a63e545a05eb/source-a63e545a05eb:2: syntax error, unexpected tIDENTIFIER, expecting keyword_end ... (https://eval.in/242613)
<epitron> oops, quotes :)
<epitron> >> eval "100 + (puts 'lol' \n + 100)"
<eval-in> epitron => lol ... (https://eval.in/242614)
<epitron> >> eval "100 + (print 'lol ' \n + 100)"
<eval-in> epitron => lol 200 (https://eval.in/242615)
<epitron> evaluated and ignored
sigurding has joined #ruby
<epitron> of course, moving the \n makes it behave the way you'd expect
<epitron> >> eval "100 + (print 'lol ' + \n 100)"
<eval-in> epitron => no implicit conversion of Fixnum into String (TypeError) ... (https://eval.in/242616)
Spami_ has quit [Ping timeout: 265 seconds]
iMe has quit [Ping timeout: 246 seconds]
greenarr_ has joined #ruby
codecop has quit [Remote host closed the connection]
mroach_ has joined #ruby
arya_ching has joined #ruby
<elfuego> can someone refer me to a performance profiling tool for jruby?
Spami has joined #ruby
greenarrow has quit [Ping timeout: 245 seconds]
iMe has joined #ruby
dcarmich has quit [Quit: Textual IRC Client: www.textualapp.com]
kiyote23 has joined #ruby
<Pharaoh2> OK who the fuck thought that a ObjectSpace.define_finalizer(self, @clean_proc) inside Tempfile's initialize was a good idea.... someone tell me this is a regression
mroach has quit [Ping timeout: 272 seconds]
mroach_ is now known as mroach
Trynemjoel has quit [Ping timeout: 256 seconds]
arya_ching has quit [Client Quit]
janmuffino has quit [Ping timeout: 246 seconds]
maximski has joined #ruby
Trynemjoel has joined #ruby
bronson has joined #ruby
tkuchiki has quit [Remote host closed the connection]
maximski has quit [Client Quit]
tkuchiki has joined #ruby
kiyote23 has quit [Ping timeout: 256 seconds]
Stoge88 has joined #ruby
<ddv> Pharaoh2: watch your language
gfawcettpq1 has joined #ruby
ta_ has joined #ruby
dimaursu16 has quit [Ping timeout: 255 seconds]
<Pharaoh2> sorry :(
gfawcettpq1 has quit [Client Quit]
bronson has quit [Ping timeout: 252 seconds]
Trynemjoel has quit [Ping timeout: 272 seconds]
dideler has joined #ruby
Trynemjoel has joined #ruby
rdark has joined #ruby
<dideler> is there an existing method in ruby like previous('c') => 'b'; previous(3) => 2 ?
tkuchiki has quit [Ping timeout: 256 seconds]
reinaldob has joined #ruby
ta_ has quit [Ping timeout: 265 seconds]
Mia has joined #ruby
Mia has quit [Changing host]
Mia has joined #ruby
gfawcettpq1 has joined #ruby
gfawcettpq1 has quit [Client Quit]
<shevy> cool
tesuji has quit [Ping timeout: 272 seconds]
dseitz has joined #ruby
sigurding has quit [Ping timeout: 240 seconds]
mroach has quit [Quit: mroach]
kl has quit [Ping timeout: 245 seconds]
Zai00 has quit [Quit: Zai00]
oo_ has joined #ruby
dimaursu16 has joined #ruby
yeticry has quit [Ping timeout: 264 seconds]
fandi has quit [Remote host closed the connection]
yeticry has joined #ruby
Morkel_ has joined #ruby
joonty has quit [Quit: joonty]
oo__ has quit [Ping timeout: 264 seconds]
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
reinaldob has quit [Read error: Connection reset by peer]
reinaldob has joined #ruby
Morkel has quit [Ping timeout: 255 seconds]
Morkel_ is now known as Morkel
commmmodo has joined #ruby
iamninja has quit [Quit: ZZZzzz…]
DrCode has quit [Ping timeout: 250 seconds]
kl has joined #ruby
yfeldblu_ has quit [Remote host closed the connection]
sbx has quit [Ping timeout: 276 seconds]
yfeldblum has joined #ruby
gr33n7007h has quit [Ping timeout: 265 seconds]
<gregf_> >> class String; def previous; return (self.ord-1).chr;end;end;["3".previous]
<eval-in> gregf_ => ["2"] (https://eval.in/242622)
zz_twistedpixels is now known as twistedpixels
<gregf_> >> class String; def previous; return (self.ord-1).chr;end;end;["c".previous]
<eval-in> gregf_ => ["b"] (https://eval.in/242623)
<gregf_> dideler: ^^
<shevy> did you come up with this just now?
<gregf_> shevy: well yeah ;). ain't too difficult , is it
thiagovsk__ has joined #ruby
bronak has joined #ruby
<dideler> gregf_: thanks. i was just curious if there was something built-in (there isn't)
yfeldblum has quit [Ping timeout: 245 seconds]
n1lo has joined #ruby
kl has quit [Ping timeout: 252 seconds]
pdoherty has joined #ruby
toertore has joined #ruby
blackmesa has joined #ruby
bronak has quit [Ping timeout: 245 seconds]
i8igmac has quit [Ping timeout: 244 seconds]
timanema has joined #ruby
fantazo has quit [Quit: Verlassend]
pdoherty has quit [Ping timeout: 245 seconds]
ndrei has quit [Ping timeout: 256 seconds]
kl has joined #ruby
vincent1 has joined #ruby
govg has joined #ruby
tvw has joined #ruby
timanema has quit [Ping timeout: 272 seconds]
visof has joined #ruby
<visof> hi guys
<visof> what is the best way to fix encode problems?
<toertore> utf8
<visof> :Error (invalid byte sequence in UTF-8):
<apeiros> learning
<visof> that's the error
gokul has quit [Quit: Leaving]
troubadour has joined #ruby
BeginnerRuby has quit [Quit: Page closed]
<apeiros> so you try to apply an operation on a string which you told ruby was utf-8, but isn't.
<apeiros> and naturally ruby tells you "sorry dave, I can't do that"
<visof> apeiros: yeah, so ruby can't fix this?
<toertore> visof: read these articles: http://graysoftinc.com/character-encodings
<apeiros> visof: if it ran on magic and pixie dust
<toertore> they are excellent
<apeiros> visof: but since it doesn't, no, it can't magically make your problems go away. hence: learn how encodings work.
brahman has joined #ruby
brahman has quit [Changing host]
brahman has joined #ruby
astrobun_ has quit [Remote host closed the connection]
oo_ has quit [Remote host closed the connection]
<brahman> Morning, I am writing some code which needs to run on ruby 1.8.N and 2.N. I need to check the exit status of a popen3 command which I would usually do using waith_thr.status.success? This method is not available in ruby 1.8.N what would be the best approach?
cablanchard has joined #ruby
troubadour has quit [Ping timeout: 256 seconds]
oo_ has joined #ruby
ta_ has joined #ruby
DrCode has joined #ruby
kl has quit [Ping timeout: 244 seconds]
jerematic has joined #ruby
<toertore> `if defined? yield`
<apeiros> toertore: wtf?
shredding has quit [Quit: shredding]
<apeiros> is that an ugly way to write `if block_given?` ?
iamninja has joined #ruby
<shevy> visof you can set to binary encoding through e. g. # Encoding: ASCII-8BIT
dcarmich has joined #ruby
<toertore> i don't know, i found it in the 1.8 source of popen3
kl has joined #ruby
withnale_ has joined #ruby
<toertore> brahman: it doesn't look like you can do that in 1.8's popen3, but you could try using the open4 gem
_Andres has quit [Read error: Connection reset by peer]
eladmeidar has joined #ruby
_Andres has joined #ruby
<toertore> apeiros: i don't remember `yield` not being part of ruby either
<toertore> eladmeidar: o/
Spami has quit [Quit: This computer has gone to sleep]
<brahman> toertore: yeah definitely not in the 1.8 docs. What are the usual best practices for handling multiple versions of ruby?
<eladmeidar> toertore: ola!
jerematic has quit [Ping timeout: 245 seconds]
<apeiros> toertore: I started ruby with 1.8.0, but I'm pretty sure yield was part in 1.6 too. and probably earlier.
except has joined #ruby
<toertore> brahman: lowest common denominator
ta_ has quit [Ping timeout: 276 seconds]
<toertore> apeiros: yeah, i think i remember it from 1.4 even
<brahman> so write the code for 1.8 and do not use the 2.0 features?
iMe has quit [Ping timeout: 245 seconds]
<toertore> brahman: pretty much
<brahman> :(
bluOxigen has quit []
<toertore> or implement the 2 features you want yourself
* brahman likes waith_thr.value.success?
elfuego has quit [Quit: elfuego]
<brahman> that's a fair point. will look at that.
<brahman> Thanks toertore
<toertore> brahman: if you look at the source of popen3 it's just putting a bunch of pipes in, you could do that manually
jerematic has joined #ruby
iMe has joined #ruby
vincent1 has left #ruby ["WeeChat 1.0.1"]
<toertore> brahman: though, i'd look into open4 and see if that works with 1.8 first if i were you
ndrei has joined #ruby
postmodern has quit [Quit: Leaving]
dangerousdave has joined #ruby
rocco88 has joined #ruby
<agent_white> asdfasdfasdf >>print "hai"
<agent_white> I see! :D
<agent_white> >>print "hai"; asdfasdfasd >>print "iah"
<eval-in> agent_white => /tmp/execpad-7841103f6bfb/source-7841103f6bfb:2: syntax error, unexpected tSTRING_BEG, expecting keyword_do or '{' or '(' ... (https://eval.in/242629)
<agent_white> Hm
greenarr_ has quit [Quit: 500]
adriancb has joined #ruby
<visof> shevy: using this encode("utf-8", "ascii-8bit") ?
<workmad3> visof: uh oh, you just scared shevy off
<workmad3> visof: you entered the text 'utf-8'
workmad3 is now known as wm3|away
jusmyth has quit [Quit: Leaving.]
<bhaak> you have to transcribe it as the 8-bit universal character set transformation format, then he won't be as easily scared
nfk has joined #ruby
greenarrow has joined #ruby
hamakn has joined #ruby
<shevy> visof no, I did not say anything about a method called encode()
adriancb has quit [Ping timeout: 264 seconds]
<shevy> once you reach a point where you must use methods, all hope is lost already
sigurding has joined #ruby
fella5s has joined #ruby
ajaiswal has quit [Remote host closed the connection]
maximski has joined #ruby
shime has quit [Ping timeout: 245 seconds]
cablanchard has quit [Read error: Connection reset by peer]
cablanch_ has joined #ruby
<visof> shevy: isn't there a fast way to fix this error invalid byte sequence in UTF-8 ?
<shevy> in my experience no
<shevy> I don't use UTF-8 though
maximski has quit [Client Quit]
<toertore> visof: did you start reading those articles yet?
krandi has joined #ruby
<visof> toertore: yeah
<toertore> you can't "fix" encoding issues unless you understand exactly what's going on
<wasamasa> ^
andikr has quit [Ping timeout: 255 seconds]
<toertore> and once you have them it indicates that something somewhere in your infrastructure is handling it wrong
<wasamasa> you can of course guess what's going wrong, but it would be infinitely better to know what encoding you're dealing with
<visof> toertore: firstly i need to know what encoding my chars is
<wasamasa> before decoding them :P
CpuID has quit [Quit: Leaving]
ta_ has joined #ruby
<wasamasa> "Almost every stupid "my website looks like gibberish" or "she can't read my emails when I use accents" problem comes down to one naive programmer who didn't understand the simple fact that if you don't tell me whether a particular string is encoded using UTF-8 or ASCII or ISO 8859-1 (Latin 1) or Windows 1252 (Western European), you simply cannot display it correctly or even figure out where it ends."
Timgauthier has joined #ruby
eladmeidar has quit [Remote host closed the connection]
hamakn has quit [Remote host closed the connection]
rdark has quit [Quit: leaving]
rdark has joined #ruby
ta_ has quit [Ping timeout: 276 seconds]
Timgauthier has quit [Client Quit]
Timgauthier has joined #ruby
jlebrech has quit [Remote host closed the connection]
iMe has quit [Ping timeout: 256 seconds]
chthon has quit [Ping timeout: 240 seconds]
yfeldblum has joined #ruby
thsig has joined #ruby
chthon has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
Xeago_ has joined #ruby
brahman has quit [Quit: Konversation terminated!]
iMe has joined #ruby
_5kg has quit [Ping timeout: 255 seconds]
glen has joined #ruby
Xeago_ has quit [Read error: Connection reset by peer]
<glen> hi. in perl i can use alternative regexp separator: if m{/johhaidii}, then what's ruby's?
_5kg has joined #ruby
amil has quit [Ping timeout: 252 seconds]
Xeago has joined #ruby
yfeldblum has quit [Ping timeout: 255 seconds]
intersect has quit [Remote host closed the connection]
bronak has joined #ruby
rebcabin has joined #ruby
<glen> as i want to match '/' and this looks uglyx: /\//
<canton7> glen, %r{}
<glen> Ah. damn, right! thanks
<glen> btw, what's the difference with %r[] and %r{} ?
<canton7> none
<canton7> you can use whatever separator you like
<canton7> %r||, etc
sivam has joined #ruby
<glen> ah, so it's like perl's m !
<canton7> (there are probably restrictions)
Xeago has quit [Remote host closed the connection]
<canton7> probably directly inspired by it, yeah
<glen> yeah, like '%r / ' (space
<shevy> :>
<shevy> perl users directly translate into ruby, like eam
blackmesa has quit [Ping timeout: 245 seconds]
<glen> but in ruby can i omit parems too when calling function?
<glen> l = t.split(%r[/]) -> l = t.split %r[/]
<glen> aside. if i'm about to return array from method. stupid simple way would to do: 'a= new Array; a.push(value); return a', but in ruby i can use some blocks to do so to yield a value in loop which gets returned as whole function?
sigurding has quit [Ping timeout: 245 seconds]
<canton7> yup, you can
<canton7> beware precidence though
larissa has joined #ruby
<toertore> %x, one of the few good things ruby took from perl
AFKGeek has quit [Quit: Fades into the shadows]
<canton7> not sure what your aside is asking
<canton7> to return a single element array, just return [value]
<glen> canton7: http://sprunge.us/gCZO
<glen> in the loop, i should add items to array to be returned (named 'a' there)
<glen> i.e the code should split by / and return last item from the split
nrsk has joined #ruby
<shevy> .split will give you an Array
<toertore> split(x).last
<shevy> to obtain the last element of an Array you can use the method .last
<toertore> don't see why you'd want an array
<glen> yes, but my question was rather how to avoid the temporary Array in that function
sigurding has joined #ruby
cablanch_ has quit [Read error: Connection reset by peer]
cablanchard has joined #ruby
<toertore> first you must explain what you want to return
<canton7> glen, well it's not used - so just 'return []' at the end ;)
<canton7> also - don't use Array.new like that - you could have use 'a = []'
<glen> toertore: i want to return last path element from each line
<canton7> and general ruby style is not to use explicit returns where an implicit one will do
<glen> i.e instead of a.push(l.last) something like 'yield VALUE'
<wm3|away> glen: you want to map the lines
wm3|away is now known as workmad3
<canton7> glen, like this: http://pastie.org/9833230
<glen> yes! thx
<workmad3> as canton7 said :)
<canton7> although, replace 'split(/\n/') with 'split("\n")'
<canton7> no need for regex there
DadoCe has joined #ruby
bronak has quit [Ping timeout: 240 seconds]
<toertore> glen: you already use map, so just return that
<workmad3> t.split("/").last
<canton7> similarly with the split - no need for regex - just 'split('/')'
<glen> then the second split does not need regex either
kp666 has quit [Read error: Connection reset by peer]
<glen> :)
<canton7> yup
<workmad3> glen: correct, you can just split on a string
<toertore> shell_out(command).stdout.split(/\n/).map{|l| l.split('/')[-1] }
qba73 has quit [Remote host closed the connection]
<gregf_> >> "foo/bar\na/b/d\nbaz".split("\n").map{ |path| path.split(%r|/|)[-1] }
<eval-in> gregf_ => ["bar", "d", "baz"] (https://eval.in/242633)
<toertore> i'm assuming you know what map does already
<glen> thanks toertore canton7 workmad3 shevy !
<glen> but [-1] is less readable than .last
<toertore> .last is bullshit
<toertore> "readability" is bullshit
sigurding has quit [Ping timeout: 246 seconds]
* apeiros hands toertore some brainfuck
<workmad3> :D
<apeiros> readability is real and measurable
<glen> add to the list "your opinion is bullshit" :D :)
Gue______ has joined #ruby
<toertore> i don't mean readability, i mean "readability" :P
sigurding has joined #ruby
<toertore> as in "oh that looks cute"
<workmad3> glen: attack ideas, not people please :P
<gregf_> glen: if you're from Perl. many things are the same in Ruby. like so qq{} eq %q{} , qr eq %r{}, qw ew %w{}
<gregf_> s/ew/eq/
<toertore> nice typo
<workmad3> gregf_: it's perl... ew seems appropriate :)
<apeiros> even something as "silly" as "looking cute" can help.
<apeiros> we're not machines
<glen> well, if i see 'path.split(%r|/|)[-1]' i would need parens to avoid ambiguouty (path.split(%r|/|))[-1] or path.(split(%r|/|)[-1])
<gregf_> heh
<glen> and those parems are crap!
Axy has joined #ruby
Axy has quit [Changing host]
Axy has joined #ruby
<workmad3> glen: no, it doesn't need those parens
nrsk has quit [Ping timeout: 252 seconds]
<workmad3> glen: it's unambiguous without them
<glen> workmad3: not for you as you *know* the precedence
<workmad3> glen: it's not a precedence issue
<toertore> you need them if you're chaining another method call at the end
<toertore> you can't do `path.split %w[] [-1]`
ta_ has joined #ruby
<glen> i'll keep my .last, otherwise it doesn't feel like ruby, but still perl :D
davidhq has joined #ruby
psy_ has quit [Ping timeout: 256 seconds]
<glen> but i'll keep in mind when "performance" comes into issue
Zai00 has joined #ruby
Advocation has joined #ruby
<workmad3> glen: (path.split("/"))[-1] and path.split("/")[-1] are both exactly the same thing - using [-1] on the object returned from split
Mia has quit [Ping timeout: 252 seconds]
sevenseacat has joined #ruby
<workmad3> glen: path.(split("/")[-1]) has a completely different interpretation - calling the method .() on path and passing in self.split("/")[-1]
<workmad3> glen: it does help if you recognise foo[-1] as syntactic sugar for foo.[](-1) though :)
zorak8 has joined #ruby
anaeem1__ has joined #ruby
zorak8 has quit [Max SendQ exceeded]
<workmad3> glen: so you could go for the even uglier path.split("/").[](-1) ;)
zorak8 has joined #ruby
kamilc__ has joined #ruby
anaeem1__ has quit [Remote host closed the connection]
<glen> hah. okei
dc has joined #ruby
<workmad3> glen: you can use that to get some interesting insight into all sorts of ruby fun though :) like 1.+(2)
ta_ has quit [Ping timeout: 276 seconds]
kwd has quit [Quit: kwd]
sivam has quit [Ping timeout: 264 seconds]
WillAmes has joined #ruby
anaeem1_ has quit [Ping timeout: 276 seconds]
<glen> i have book here "ruby under microscope", i tried to read it, but it was way too into micro-scope :D
claptor has quit [Quit: this channel is bakas]
startupality has joined #ruby
krandi has quit [Ping timeout: 276 seconds]
jherbst has joined #ruby
<gregf_> glen: you could just use regex's like so, "foo/bar\na/b/d\nbaz".gsub(%r{\w+/},"").scan(/\w+/)
dc has quit [Ping timeout: 252 seconds]
Timgauthier has quit [Quit: Textual IRC Client: www.textualapp.com]
<gregf_> well, theres a gazillion ways to solve it, but i try to reduce looping as much as possible ;)
<glen> i think modifying data (.gsub) is wrong
<gregf_> .gsub!
<glen> i'm keeping this one: shell_out(command).stdout.split("\n").map { |t| t.split('/').last }
<gregf_> or: "foo/bar\na/b/d\nbaz".split("\n").map {|path| path.gsub(%r{\w+/},"") }
<gregf_> yeah, your one is more readable
Timgauthier has joined #ruby
<glen> to comment your last snippet, i would used negative regexp to ensure i get LAST path component not up to FIRST slash: %r{[^/]+$}
hamakn has joined #ruby
nrsk has joined #ruby
ta_ has joined #ruby
Gue______ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<glen> as \w+/ could match b/c/d from /a/b/c/d depending on greedyness factor
<workmad3> glen: gsub will repeatedly replace \w+/ matches with ""
<glen> ah. ok
<workmad3> >> "a/bccc/dddd/e".gsub(%r{\w+/}, "")
<eval-in> workmad3 => "e" (https://eval.in/242636)
hamakn has quit [Remote host closed the connection]
hamakn has joined #ruby
Xeago has joined #ruby
antgel has quit [Ping timeout: 264 seconds]
spyderman4g63 has joined #ruby
astrobunny has joined #ruby
_5kg has quit [Ping timeout: 245 seconds]
iMe has quit [Ping timeout: 245 seconds]
Spami has joined #ruby
ta_ has quit [Ping timeout: 276 seconds]
<Timgauthier> admins on httpd are assholes. holyshit
<Timgauthier> anyhow, just use php glen
<wasamasa> lol
<wasamasa> what's wrong with you
aclearman037 has joined #ruby
<workmad3> Timgauthier: why do you hate glen?
<Timgauthier> >:}
hamakn_ has joined #ruby
<Timgauthier> i just want to see the world burn, because some one spurned me
ndrei has quit [Ping timeout: 245 seconds]
sambao21 has joined #ruby
iMe has joined #ruby
yalue has joined #ruby
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hamakn_ has quit [Remote host closed the connection]
<apeiros> there's a difference between watching the world burn and arson
<apeiros> latter can lead to chain-ban :-p
hamakn has quit [Ping timeout: 265 seconds]
<ddv> just like #slackware
Xeago_ has joined #ruby
Timgauthier has quit [Remote host closed the connection]
<ddv> I got banned within 10 minutes
<ddv> <3
Timgauthier has joined #ruby
<ddv> how can they ban such a nice guy like me
arya_ching has joined #ruby
psy_ has joined #ruby
Xeago_ has quit [Remote host closed the connection]
kl has quit [Ping timeout: 244 seconds]
<workmad3> apeiros: is it arson if you just handed the can of petrol and a zippo to a child?
Xeago has quit [Ping timeout: 276 seconds]
govg has quit [Ping timeout: 264 seconds]
<MrSparkle> is there a method to return a string's length?
<agent_white> MrSparkle: size
DivineEntity has quit [Quit: Lost terminal]
<agent_white> MrSparkle: and length
Xeago has joined #ruby
<PierreRambaud> MrSparkle http://www.ruby-doc.org/core-2.2.0/String.html#method-i-length one second to search it on google...
<MrSparkle> after that, I thought hey why not try .length seemed to work
<agent_white> And... ?
<MrSparkle> I did search in google, wasn't working as quickly as i hoped
chthon has quit [Ping timeout: 245 seconds]
<MrSparkle> thanks thoiugh!
francisfish has joined #ruby
<guardian> hello, why does Ruby allow {:x => '0', 'x' => 1} ?
brb3 has joined #ruby
<workmad3> MrSparkle: your ordering should go 'try something out in irb' -> 'google it (and don't be impatient)' -> 'ask here'
blackmesa has joined #ruby
<sevenseacat> guardian: why shouldnt it?
<workmad3> MrSparkle: not 'google and get annoyed that it took 5s' -> 'ask here' -> 'try it and then tell IRC you just did that'... that way annoys people here :)
<PierreRambaud> guardian, symbol and string are differents
<guardian> yeah I'm discovering this
<guardian> symbols are sort of strings though
<workmad3> sort of in a not-a-string kind of way
<sevenseacat> sort of if you mean not at all
shredding has joined #ruby
tesuji has joined #ruby
ta_ has joined #ruby
oo_ has quit [Remote host closed the connection]
<agent_white> workmad3: Amen.
arya_ching has quit []
<agent_white> Exhaust all resources, go to IRC... and only if the world is on fire (of if you set it on fire), post on stackexchange.
Advocation has quit [Quit: Advocation]
<agent_white> Rather SO should require ~2-3 years experience to post a question, imo.
DivineEntity has joined #ruby
elfuego has joined #ruby
fantazo has joined #ruby
chthon has joined #ruby
<ddv> some people like to come to #ruby first
<pontiki> morning
<ddv> :-)
<pontiki> someone is bound to answer
dangerousdave has joined #ruby
<workmad3> agent_white: I'm not sure I'd go that far... but something like remove all questions posted by people with less than 5k rep from google search would be good, as would only showing said questions to people with > 12k rep in listings
<workmad3> pontiki: afternoon
shime has joined #ruby
oo_ has joined #ruby
oo_ has quit [Remote host closed the connection]
<pontiki> workmad3: how goes?
<pontiki> it's Thor's day
phutchins has joined #ruby
<workmad3> pontiki: not too bad... just filling in backbone models atm :)
oo_ has joined #ruby
<ddv> backbone.js?
<workmad3> pontiki: and yes, it's a fine Thor's day today, after a rather gusty Odin's day yesterday
<workmad3> ddv: yeah
emirozer has joined #ruby
<ddv> I like how Ruby makes models so much prettier than JS ever will
<pontiki> no one has invented a drink called "The Mjölnir" ??
<emirozer> assembly is prettier than JS
<emirozer> :P
<emirozer> even*
<pontiki> seems like one could use a shot to head on Thor's day to get going
<workmad3> pontiki: or one called "Sleipnir's kick"
<pontiki> that'd be good, too
<workmad3> pontiki: it's almost like most people don't know their nordic mythos well enough to understand that sort of naming :(
dseitz has quit [Quit: later]
<pontiki> akavit, everclear, and OJ
<headius> Nilium: tryruby.org and a couple code schools use JRuby to secure user-provided code
<pontiki> or pom juice to make it red
<ddv> emirozer: I doubt it
oo_ has quit [Ping timeout: 246 seconds]
<pontiki> vodka maybe instead of everclear
<workmad3> pontiki: hehe :) how about having Sleipnir's Kick as non-alcoholic... it's a double-shot of espresso with half a dozen Pro-plus dissolved in... :D
mrj has joined #ruby
<pontiki> need more than a double shot
<workmad3> pro-plus == caffeine tablets
SparkMasterTape has quit [Read error: Connection reset by peer]
<pontiki> ah
thsig has quit [Remote host closed the connection]
terlar has quit [Quit: WeeChat 1.1]
metadave has joined #ruby
<MrSparkle> yeah yeah, I was having restroom urges, wasn't thinking good
<MrSparkle> it will never happen again!
thsig has joined #ruby
Gues_____ has joined #ruby
king313 has joined #ruby
king313 has joined #ruby
Timgauthier is now known as timgauthier_away
pdoherty has joined #ruby
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<ddv> MrSparkle: what?
<pontiki> perhaps he's purged his innerds
Timgauthier has joined #ruby
bronak has joined #ruby
iMe has quit [Ping timeout: 240 seconds]
<apeiros> workmad3: I think there's a word for that too :)
<workmad3> apeiros: I'm sure there is... I'm curious if it's 'arsonist' though ;)
<apeiros> I don't think so
timanema has joined #ruby
<apeiros> anyway, today, anything you do which somebody deems "bad" is simply "terrorism"
pdoherty has quit [Ping timeout: 245 seconds]
<ddv> apeiros is a terrorist
<workmad3> according to Saudi Arabia, I'm a terrorist...
DadoCe has quit [Remote host closed the connection]
* apeiros freedombans ddv
dblessing has joined #ruby
<pontiki> it's due to a couple things: the news cycle and the non-demilitarization of the world following WWII
hamakn has joined #ruby
<apeiros> workmad3: multiple matching criteria too?
iMe has joined #ruby
<workmad3> apeiros: I definitely match one... dunno about others :)
DadoCe has joined #ruby
emirozer has quit [Quit: Be back later ...]
<agent_white> workmad3: I agree :) It's just unfortunate that many new folks use SO rather than exhausting other resources. I've been coding for ~1yr, and linux-stuffs for ~8, but have yet to need to touch SO :)
ta_ has quit [Remote host closed the connection]
<pontiki> like, how can you possibly gain the world's attention if people are just murderers anymore?
cablanchard has quit [Read error: Connection reset by peer]
<agent_white> Getting naked! \o/
<apeiros> pontiki: related to that - I found it horrible how much attention of the media went towards the criminals
kedare1 has left #ruby ["WeeChat 0.4.4-dev"]
<pontiki> pfft, happens every day
cablanchard has joined #ruby
<agent_white> Maybe. Or high-fiving everyone. I like that too!
<apeiros> they should have published the pictures and the raw basics and focus all the other energy on showing the victims.
<pontiki> o//'s agent_white
<agent_white> \\o
<sevenseacat> i like SO.
nateberkopec has joined #ruby
<agent_white> I love SO. But am not worthy.
<shevy> SO makes cats purr
<sevenseacat> i crave points. moar pointssssss
beef-wellington has joined #ruby
ta_ has joined #ruby
<pontiki> my most famous SE question is a cooking question :D
<workmad3> sevenseacat: use my strategy for points - get on there within the first year of it being up, answer a few really easy but very upvotable questions and then just watch the points roll in over time ;)
<agent_white> One day... one day I'll make an account. But I have no bidnaz doon that now. If I can't find an answer to my question, I'm not trying hard enough. :)
<sevenseacat> heh
timanema has quit [Ping timeout: 272 seconds]
<sevenseacat> my boss did that, didnt look at SO for ages and came back to like 10k points and a bunch of gold badges
<sevenseacat> lucky sod
emirozer has joined #ruby
<workmad3> sevenseacat: yeah... I left it alone for like 4 years... 13k points when I next looked
* sevenseacat also craves badges
<agent_white> Lord.
Xiti has joined #ruby
<workmad3> not got many badges though
hamakn has quit [Remote host closed the connection]
<workmad3> pontiki: is it 'add salt'?
<pontiki> it is not
<apeiros> pontiki: cute avatar :D
apurcell has joined #ruby
<pontiki> heh, yeah
ascarter has joined #ruby
<agent_white> Mmm tht soup looks yummy.
<pontiki> ellen van deelen is one of my fave artists
<agent_white> pontiki: What'd you end up doing?
<pontiki> agent_white: it's actually super delicious
<pontiki> the first answer: made it again without any sugar, combined them
<agent_white> pontiki: I wrote down the link for it so I can test it out this week :D
<agent_white> Oh nice!
delianides has joined #ruby
<sevenseacat> my most popular question on all of SE is this one http://programmers.stackexchange.com/questions/37216/how-do-you-combat-programming-fatigue
_5kg has joined #ruby
livathin_ has joined #ruby
apurcell has quit [Ping timeout: 245 seconds]
<workmad3> most popular answer is this one: ng?
<workmad3> 13:54 < pontiki> agent_white: it's actually super delic
Timgauthier is now known as timgauthier_away
<workmad3> something went wrong there :)
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
scripore has joined #ruby
timanema has joined #ruby
MarkFletcher has joined #ruby
livathin_ has quit [Remote host closed the connection]
dangerousdave has joined #ruby
JDiPierro has joined #ruby
MarkFletcher has quit [Client Quit]
<pontiki> sevenseacat: that is a great question
livathinos has quit [Ping timeout: 240 seconds]
livingstn has joined #ruby
<sevenseacat> aw thanks
livathinos has joined #ruby
<agent_white> sevenseacat: ADD-PI here, I more than relate to your question :) What was the fix to your answer?
timgauthier_away is now known as Timgauthier
<pontiki> i hesitate to ask the question that bothers me the most, though it's related to that one
<agent_white> s/answer/question
commmmodo has quit [Quit: commmmodo]
MarkFletcher has joined #ruby
MarkFletcher is now known as MarkPaulFletcher
<pontiki> "What do you do when the people you are working for/with are too stupid to live?"
<pontiki> or sommat
<sevenseacat> lol ouch
<pontiki> but it's really how do i keep going when they've pissed me off
<agent_white> pontiki: ... have a swimming contest!!!
<workmad3> pontiki: rectify the situation?
ta_ has quit [Ping timeout: 272 seconds]
<sevenseacat> i actually posted that question like 2 days before i made the decision to learn rails
<sevenseacat> so i guess the answer was, try something new.... someone answered that
<pontiki> yeah, "learn something new" is a great idea for that boredom
<pontiki> i think i've learned over the decades that i have to make something every day, at least
philwantsfish has joined #ruby
revw has joined #ruby
arup_r has quit []
cablanchard has quit []
cphrmky has joined #ruby
<agent_white> I like that idea :) Something exciting everyday!
roolo has quit [Remote host closed the connection]
roolo has joined #ruby
roolo has quit [Remote host closed the connection]
ta_ has joined #ruby
roolo has joined #ruby
rocco88 has quit []
<pontiki> it doesn't have to be in software either. sometimes for me it's picking up my sketchpad, sometimes it painting, sometimes it's working out a chord progression
<pontiki> anything, really
<pontiki> sometimes it's making a new recipe
roolo has quit [Remote host closed the connection]
<pontiki> tho cooking has become a chore anymore
krz has quit [Ping timeout: 245 seconds]
roolo has joined #ruby
ixti has joined #ruby
chthon has quit [Ping timeout: 245 seconds]
<shevy> hehe
<shevy> computers eat cooks!
<workmad3> pontiki: a lot of mine at the moment is maths and physics
<agent_white> whatthefuckshouldimakefordinner.com -- has saved me quite a few times :)
roolo has quit [Remote host closed the connection]
bronson has joined #ruby
ta_ has quit [Ping timeout: 244 seconds]
seal has joined #ruby
terlar has joined #ruby
Trynemjoel has quit [Ping timeout: 256 seconds]
PanzerModern has joined #ruby
Trynemjoel has joined #ruby
kl has joined #ruby
rdark has quit [Ping timeout: 245 seconds]
AlexRussia has joined #ruby
bronson has quit [Ping timeout: 264 seconds]
<avril14th> agent_white: http://themindfuckofgoldenbirdies.tumblr.com/ also works as you may skip dinner
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
krz has joined #ruby
<agent_white> avril14th: Oh wow... I was kinda expecting recipes for more kinda of food.
<agent_white> That is not more recipes for kinds of food.
rdark has joined #ruby
MartynKeigher has joined #ruby
Trynemjoel has quit [Ping timeout: 272 seconds]
Mon_Ouie has quit [Quit: WeeChat 1.0.1]
<elfuego> is there a way to configure logger to log method name as well as filename?
DadoCe has quit [Remote host closed the connection]
Trynemjoel has joined #ruby
chthon has joined #ruby
Macaveli has joined #ruby
doodlehaus has joined #ruby
blackmesa has quit [Ping timeout: 272 seconds]
jerius has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
hamakn has joined #ruby
blackoperat has joined #ruby
yfeldblum has joined #ruby
lw has joined #ruby
hydrozen has joined #ruby
aep has quit [Ping timeout: 244 seconds]
jefus__ has joined #ruby
MarkPaulFletcher has quit [Remote host closed the connection]
avril14th has quit [Ping timeout: 276 seconds]
Timgauthier is now known as timgauthier_away
livathinos has quit [Remote host closed the connection]
timgauthier_away is now known as Timgauthier
hmsimha has quit [Ping timeout: 252 seconds]
yfeldblum has quit [Ping timeout: 240 seconds]
aep has joined #ruby
allcentury has joined #ruby
jefus_ has quit [Ping timeout: 244 seconds]
hamakn has quit [Remote host closed the connection]
terlar has quit [Read error: Connection reset by peer]
iMe has quit [Ping timeout: 246 seconds]
thsig has quit [Remote host closed the connection]
<heftig> elfuego: logger does filenames?
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
max96at|off is now known as max96at
avril14th has joined #ruby
ndrei has joined #ruby
iMe has joined #ruby
fryguy9 has joined #ruby
andikr has joined #ruby
parduse has joined #ruby
drawingthesun has joined #ruby
LouisRoR has quit [Ping timeout: 264 seconds]
enebo has joined #ruby
n80 has joined #ruby
<heftig> elfuego: http://sprunge.us/XXGj
<heftig> this is probably terrible code
bluenemo has quit [Remote host closed the connection]
<heftig> s/probably/most likely/
drawingthesun has quit [Ping timeout: 252 seconds]
ramblex has joined #ruby
zarubin has joined #ruby
mrmargolis has joined #ruby
zarubin_ has joined #ruby
agrinb has joined #ruby
FooMunki_ has joined #ruby
_maes_ has joined #ruby
hydrozen has quit [Quit: Textual IRC Client: www.textualapp.com]
josephndenton has joined #ruby
hydrozen has joined #ruby
fandi has joined #ruby
devdazed has joined #ruby
rebcabin has quit [Quit: Leaving.]
adriancb has joined #ruby
hydrozen has quit [Client Quit]
Megtastique has joined #ruby
Megtastique has quit [Max SendQ exceeded]
agrinb has quit [Ping timeout: 245 seconds]
drawingthesun has joined #ruby
startupality has quit [Quit: startupality]
Megtastique has joined #ruby
zarubin_ has quit [Ping timeout: 276 seconds]
MarkPaulFletcher has joined #ruby
drawingthesun has quit [Read error: Connection reset by peer]
terlar has joined #ruby
tectonic has joined #ruby
DrShoggoth has joined #ruby
zorak8 has quit [Ping timeout: 264 seconds]
rebcabin has joined #ruby
mary5030 has joined #ruby
rdark has quit [Ping timeout: 246 seconds]
AFKGeek has joined #ruby
thsig has joined #ruby
pdoherty has joined #ruby
rdark has joined #ruby
tkuchiki has joined #ruby
kl has quit [Ping timeout: 245 seconds]
kl has joined #ruby
dangerousdave has joined #ruby
cocotton_ has joined #ruby
last_staff has quit [Quit: last_staff]
it0a has joined #ruby
parduse is now known as Guest44147
Guest44147 has quit [Ping timeout: 272 seconds]
pardusf has joined #ruby
rdark has quit [Quit: leaving]
rdark has joined #ruby
fryguy9 has quit [Quit: Leaving.]
rebcabin has quit [Quit: Leaving.]
commmmodo has joined #ruby
MarkPaulFletcher has quit []
dc has joined #ruby
chthon has quit [Ping timeout: 244 seconds]
oleo has joined #ruby
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vozcelik has quit [Max SendQ exceeded]
ascarter has quit [Max SendQ exceeded]
zorak8 has joined #ruby
Timgauthier has quit [Max SendQ exceeded]
ascarter has joined #ruby
cajone has left #ruby [#ruby]
timonv has quit [Ping timeout: 265 seconds]
magoo has joined #ruby
Timgauthier has joined #ruby
Timgauthier is now known as timgauthier_away
dc has quit [Ping timeout: 246 seconds]
timgauthier_away is now known as Timgauthier
aspiers has quit [Ping timeout: 272 seconds]
sivam has joined #ruby
emirozer has quit [Quit: Be back later ...]
kiyote23 has joined #ruby
magoo is now known as mago0
kl has quit [Ping timeout: 272 seconds]
AlexRussia has quit [Ping timeout: 264 seconds]
ta_ has joined #ruby
kl has joined #ruby
Macaveli has quit [Ping timeout: 245 seconds]
whoisjake has joined #ruby
dangerousdave has joined #ruby
lampd1 has joined #ruby
ascarter has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rollabunna has quit [Remote host closed the connection]
Rollabunna has joined #ruby
kiyote23 has quit [Ping timeout: 264 seconds]
mago0 has quit [Quit: WeeChat 1.0.1]
emirozer has joined #ruby
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
ta_ has quit [Ping timeout: 265 seconds]
blackoperat has quit [Ping timeout: 264 seconds]
fryguy9 has joined #ruby
mago0 has joined #ruby
cocotton_ has quit [Remote host closed the connection]
mago0 has quit [Client Quit]
x77686d has joined #ruby
mago0 has joined #ruby
aspiers has joined #ruby
tagrudev has quit [Remote host closed the connection]
livathinos has joined #ruby
sevenseacat has quit [Remote host closed the connection]
noop has quit [Ping timeout: 245 seconds]
codecop has joined #ruby
iMe has quit [Ping timeout: 276 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
Ankhers has joined #ruby
govg has joined #ruby
Timgauthier is now known as timgauthier_away
tus has joined #ruby
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
iMe has joined #ruby
seal has quit [Quit: Ex-Chat]
Rollabun_ has joined #ruby
sivam has quit [Ping timeout: 240 seconds]
mroach has joined #ruby
jmcharnes has joined #ruby
Rollabunna has quit [Read error: Connection reset by peer]
StevenX has joined #ruby
<StevenX> Hello, can anyone point me to an article where I can learn how to use ruby's default debugger
blackoperat has joined #ruby
sambao21 has joined #ruby
billy_ran_away has joined #ruby
revw has quit [Ping timeout: 240 seconds]
cajone has joined #ruby
tjohnson has joined #ruby
zarubin has quit [Quit: Leaving.]
DadoCe has joined #ruby
<timanema> StevenX: what do you mean default debugger? irb?
<timanema> oh no the debug command option this SO link explains it in short https://stackoverflow.com/questions/3955688/how-do-i-debug-ruby-scripts
<StevenX> timanema, no, I meant when you run a script by calling "ruby -rdebug myscript.rb"
rbennacer has joined #ruby
shazaum has joined #ruby
rbennacer has quit [Remote host closed the connection]
<StevenX> timanema, thanks, but I need something that can help me understand what break is, next vs step vs continue, etc.
n80 has quit [Quit: n80]
rbennacer has joined #ruby
cocotton has joined #ruby
<gregf_> StevenX: ruby -r debug <script> and then type help
<gregf_> b <line_num> -> break, s -> step into, c -> continue till next break point, l -> list, p -> print
allcentury has quit [Ping timeout: 246 seconds]
DadoCe has quit [Ping timeout: 264 seconds]
<StevenX> gregf_, thanks, I'll give that a try.
pu22l3r has joined #ruby
hydrozen has joined #ruby
mago0 has quit [Quit: WeeChat 1.0.1]
snath has quit [Ping timeout: 246 seconds]
tobago has quit [Remote host closed the connection]
hamakn has joined #ruby
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zacstewart has joined #ruby
<StevenX> gregf_, that's exactly what I was looking for. Thank you.
_ixti_ has joined #ruby
gsd has joined #ruby
shazaum_ has joined #ruby
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
apurcell has joined #ruby
shazaum has quit [Ping timeout: 255 seconds]
ixti has quit [Ping timeout: 256 seconds]
davedev2_ has joined #ruby
CamonZ has joined #ruby
davedev24_ has quit [Ping timeout: 255 seconds]
n80 has joined #ruby
einarj has quit [Remote host closed the connection]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
MuffinPimp has quit [Remote host closed the connection]
hamakn has quit [Ping timeout: 255 seconds]
lampd1 has quit []
cocotton has quit [Read error: Connection reset by peer]
apurcell has quit [Ping timeout: 272 seconds]
rippa has joined #ruby
cocotton has joined #ruby
blackoperat has quit [Ping timeout: 265 seconds]
x77686d has quit [Quit: x77686d]
d10n-work has joined #ruby
ethikz has joined #ruby
shredding has quit [Quit: shredding]
bradland_ has joined #ruby
bradland_ has joined #ruby
Tricon has joined #ruby
_maes_ has joined #ruby
<billy_ran_away> Can anyone tell my why my Rakefile isn't working? https://gist.github.com/anonymous/c6bd038dfd099d2adc3d
<canton7> define 'not working'
dseitz has joined #ruby
livathinos has quit [Remote host closed the connection]
<billy_ran_away> Cucumber specs aren't running
<billy_ran_away> canton7: thanks for looking :)
<canton7> sorry, you'll need to give us *far* more information
<canton7> what command do you run? what output do you get? what output are you expecting?
<billy_ran_away> I run rake :first_half and I get the test output but Cucumber doesn't start running
<billy_ran_away> no symbol
<billy_ran_away> rake first_half
livathinos has joined #ruby
startupality has joined #ruby
Xeago has quit [Read error: Connection reset by peer]
<billy_ran_away> canton7: but rake byitself starts Cucumber fine
Xeago has joined #ruby
crazydiamond has joined #ruby
pu22l3r_ has joined #ruby
bronson has joined #ruby
<SHyx0rmZ> from what I can tell I'd say you have to wrap the tasks in a namespace
ponga has quit [Quit: Leaving...]
revw has joined #ruby
ethikz has left #ruby ["Leaving..."]
ursooperduper has joined #ruby
dangerousdave has joined #ruby
anarang has quit [Quit: Leaving]
apeiros has quit [Remote host closed the connection]
pu22l3r has quit [Ping timeout: 265 seconds]
ta_ has joined #ruby
terlar has quit [Read error: Connection reset by peer]
FooMunki_ has quit [Quit: FooMunki_]
scripore has quit [Ping timeout: 272 seconds]
iMe has quit [Ping timeout: 264 seconds]
bronson has quit [Ping timeout: 240 seconds]
blackoperat has joined #ruby
govg has quit [Ping timeout: 256 seconds]
gtrak has joined #ruby
kl has quit [Ping timeout: 272 seconds]
pu22l3r has joined #ruby
<avril14th> that's right
_littleb has joined #ruby
bal has quit [Quit: bal]
iMe has joined #ruby
cantonic has joined #ruby
lesnik_ has joined #ruby
klmlfl has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
pu22l3r_ has quit [Ping timeout: 264 seconds]
ta_ has quit [Ping timeout: 245 seconds]
Pharaoh2 has joined #ruby
einarj has joined #ruby
Pharaoh2 has quit [Max SendQ exceeded]
baroquebobcat has joined #ruby
Pharaoh2 has joined #ruby
<_littleb> hi people, I have been trying to install redmine from source, but it requires the gem "arel v6.0" or greater to be installed. since it is a clean installation I did a "gem install arel" and that didn't change anything because I have got v3 installed. Can someone help?
Pharaoh2 has quit [Max SendQ exceeded]
speaking1ode-wor has quit [Ping timeout: 244 seconds]
<_littleb> my os is debian
Pharaoh2 has joined #ruby
havenwood has joined #ruby
allcentury has joined #ruby
Pharaoh2 has quit [Max SendQ exceeded]
emirozer has quit [Quit: Be back later ...]
Pharaoh2 has joined #ruby
livathin_ has joined #ruby
baroquebobcat has quit [Client Quit]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<avril14th> gem install arel 6.0 ?
Pharaoh2 has quit [Client Quit]
pu22l3r has quit [Read error: Connection reset by peer]
Pharaoh2 has joined #ruby
pu22l3r has joined #ruby
kl has joined #ruby
yfeldblum has joined #ruby
livathinos has quit [Ping timeout: 265 seconds]
terlar has joined #ruby
emirozer_ has joined #ruby
Pharaoh2 has quit [Client Quit]
livathin_ has quit [Ping timeout: 245 seconds]
x77686d has joined #ruby
<_littleb> didn't know that it would be that easy
<avril14th> worked?
<_littleb> and how do you remove a gem?
<avril14th> gem --help
x77686d has quit [Remote host closed the connection]
speakingcode has joined #ruby
MuffinPimp has joined #ruby
<_littleb> ran into another problem: http://pastebin.com/wpQwxCg9
<jheg> is pluralize a ruby method?
joonty has joined #ruby
dfinninger has joined #ruby
<avril14th> jheg: no, ActiveSupport
greenarrow has quit [Quit: 500]
tesaf has joined #ruby
byprdct has joined #ruby
<jheg> rails?
<avril14th> yes
<jheg> thanks
yfeldblum has quit [Ping timeout: 252 seconds]
<avril14th> you can check that with :source_location
<bradland_> jheg: activesupport is available, and can be used, outside of rails
<jhass> _littleb: did you read the output?
byprdct has quit [Max SendQ exceeded]
bradland_ has quit [Quit: bradland_]
gizmore has quit [Ping timeout: 256 seconds]
gizmore has joined #ruby
kl has quit [Quit: Reconnecting]
kl__ has joined #ruby
windowlicker has joined #ruby
FooMunki_ has joined #ruby
spider-mario has joined #ruby
tus has quit [Ping timeout: 252 seconds]
<_littleb> i did, it is partially installed. an uninstall and a install didn't work
ellisTAA has joined #ruby
tus has joined #ruby
<jheg> bradland: so is activesupport independent of both Ruby and Rails but can be used by both?
<jheg> as is included with Rails as standard?
<jheg> *and is includ…..
<bradland> jheg: activesupport is a gem just like any other. in the past, it was more tightly coupled to rails, but these days, it's easier to use outside of rails.
<avril14th> yes, so include it an have fun
<bradland> you can `gem install activesupport`
<bradland> and require it like usual. much of its functionality comes in the form of mixins though.
aganov has quit [Quit: Leaving]
<bradland> and you generally shouldn't require the whole thing. only the parts you need.
<jheg> it was only because I was trying to make an errors message string plural (or not) in the event of # errors
<jheg> but the rails one prepends the actual number which I didnt want and the activesupport one doesnt
enebo has quit [Quit: enebo]
<bradland> jheg: install the activesupport gem
maximski has joined #ruby
Xeago has quit [Remote host closed the connection]
<bradland> then require 'activesupport/core_ext/string' in your code
<bradland> i think that's where pluralize is
tectonic has quit []
<jheg> thing is it works in the rails app im working on so it must already be included
* jheg goes to check
<bradland> you can dig around in the docs to find the method you're looking for: http://api.rubyonrails.org/v2.3.8/classes/ActiveSupport/CoreExtensions/String/Inflections.html
Hobogrammer has joined #ruby
cantonic has quit [Quit: cantonic]
<bradland> yes, rails will have activesupport string inflections available in many places (views, for example)
Kricir has joined #ruby
Xeago has joined #ruby
<bradland> jheg: here's the canonical guide to using Active Support Core Exts outside rails: http://edgeguides.rubyonrails.org/active_support_core_extensions.html
<bradland> you should definitely read that if you're going to use it outside of rails
IrishGringo has joined #ruby
<jheg> thanks!
wpp has quit [Quit: ZZZzzz…]
rdark has quit [Ping timeout: 245 seconds]
lesnik_ has quit [Ping timeout: 245 seconds]
aclearma_ has joined #ruby
CustosLimen has quit [Read error: Connection timed out]
ta_ has joined #ruby
lw has quit [Quit: s]
rdark has joined #ruby
ellisTAA has quit [Quit: ellisTAA]
CustosLimen has joined #ruby
troubadour has joined #ruby
apeiros has joined #ruby
Channel6 has joined #ruby
Pharaoh2 has joined #ruby
aclearman037 has quit [Ping timeout: 264 seconds]
Pharaoh2 has quit [Max SendQ exceeded]
CustosL1men has quit [Ping timeout: 264 seconds]
thsig has quit [Remote host closed the connection]
krz has quit [Read error: Connection reset by peer]
chrishough has joined #ruby
ellisTAA has joined #ruby
Pharaoh2 has joined #ruby
tvw has quit []
krz has joined #ruby
tesuji has quit [Ping timeout: 240 seconds]
psy_ has quit [Remote host closed the connection]
red_horned_rihno has joined #ruby
troubadour has quit [Client Quit]
dblessing has joined #ruby
Crazy_Atheist has quit [Ping timeout: 264 seconds]
ta_ has quit [Ping timeout: 276 seconds]
cantonic has joined #ruby
lmickh has joined #ruby
snath has joined #ruby
bakis has joined #ruby
<bakis> Are there any test-unit experts here? I'm trying to use test-unit but i need SAFE level 3, and it seems that somehwere in test-unit assertions it's using an accessor which SAFE level 3 doesn't like
Trynemjoel has quit [Ping timeout: 256 seconds]
Crazy_Atheist has joined #ruby
dopie has quit [Remote host closed the connection]
ta_ has joined #ruby
Trynemjoel has joined #ruby
_littleb has quit [Quit: ChatZilla 0.9.91.1 [Firefox 35.0/20150112203352]]
thsig has joined #ruby
arup_r has joined #ruby
<bakis> It seems to come from reading in an environment variable: size = ENV["TEST_UNIT_MAX_DIFF_TARGET_STRING_SIZE"]
rodfersou has quit [Read error: Connection reset by peer]
AFKGeek has quit [Quit: Fades into the shadows]
rodfersou has joined #ruby
lw has joined #ruby
lw has quit [Max SendQ exceeded]
neerajt has quit [Ping timeout: 240 seconds]
gattie has joined #ruby
lw has joined #ruby
jordanm has joined #ruby
ddd has quit [Ping timeout: 240 seconds]
chinmay_dd has joined #ruby
Xeago has quit [Remote host closed the connection]
lesnik_ has joined #ruby
nopolitica has joined #ruby
ta_ has quit [Ping timeout: 276 seconds]
sigurding has quit [Quit: sigurding]
Olipro has quit [Ping timeout: 252 seconds]
Stoge88 has quit [Ping timeout: 245 seconds]
icebourg has joined #ruby
nopolitica has quit [Client Quit]
workmad3 has quit [Ping timeout: 245 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
olivier_bK has quit [Ping timeout: 240 seconds]
sinkensabe has joined #ruby
juanca99 has joined #ruby
astrobunny has quit [Remote host closed the connection]
El3k0n has joined #ruby
msgodf has quit [Remote host closed the connection]
<juanca99> Hey guys could someone explain to me what would be the difference between a gem and an app on ruby
<juanca99> i come from haskell so i'm not quite sure yet
Olipro has joined #ruby
<apeiros> juanca99: gem is a way to package things. can be a library, an executable (or multiple), data … you name it
djbkd has joined #ruby
<apeiros> usually it is a library, sometimes accompanied by an executable
<apeiros> an app… well, that's whatever somebody built with ruby and declares to be an app :)
rbennacer has quit [Read error: Connection reset by peer]
commmmodo has quit [Quit: commmmodo]
anaeem1_ has joined #ruby
iMe has quit [Ping timeout: 256 seconds]
lesnik_ has quit [Ping timeout: 244 seconds]
Macaveli has joined #ruby
<juanca99> apeiros: i see, it's just that i wasn't sure how to call something i'm doing to make system calls and post it on a server
ddd has joined #ruby
icbm has joined #ruby
<juanca99> apeiros: thanks man
<apeiros> the proper name for that would probably be "a script"
danjordan has quit [Quit: danjordan]
wallerdev has joined #ruby
iMe has joined #ruby
<juanca99> apeiros: not really, i has some logic and after long time programming functionally i'm using objects again
lemur has joined #ruby
brb3 has quit [Quit: ZZZzzz…]
<apeiros> still a script :)
timonv has joined #ruby
gsd has joined #ruby
emirozer_ has quit [Quit: Be back later ...]
rdark has quit [Quit: leaving]
anaeem1_ has quit [Remote host closed the connection]
anaeem___ has joined #ruby
mesamoo has quit [Quit: Konversation terminated!]
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rdark has joined #ruby
brb3 has joined #ruby
seal has joined #ruby
rbennacer has joined #ruby
michaeldeol has joined #ruby
dc has joined #ruby
<juanca99> apeiros: so a new question, what would make it an gem?... i mean i'm using gemfile... ruby_version, rakefile... i must say that i'm still new on ruby
michaeldeol has quit [Client Quit]
exgf has joined #ruby
conniemj has joined #ruby
pdoherty has quit [Remote host closed the connection]
<bradland> gems can be installed using the package manager, rubygems
<elfuego> for some reason I can’t get the line number with this piece of code #{caller_infos[0]} : #{caller_infos[1]}
<elfuego> on windows
<bradland> a gem is composed of all the library/application files, as well as a .gemspec file, which tells rubygems how to build the gem
nux443 has joined #ruby
<elfuego> does anyone familiar with this?
JDiPierro has quit [Remote host closed the connection]
emirozer_ has joined #ruby
<bradland> the Gemfile is used by a tool called bundler, which is a dependency management system
brb3 has quit [Client Quit]
<bradland> not all ruby apps are packaged as gems
<bradland> so if you're building a ruby app (such as a rails app), you can use bundler and a Gemfile to specify your applications gem dependencies
Stoge88 has joined #ruby
qhartman has joined #ruby
brb3 has joined #ruby
anaeem___ has quit [Ping timeout: 265 seconds]
<apeiros> juanca99: a valid gemspec and subsequently packaging it up as a gem
Stoge88 has quit [Read error: Connection reset by peer]
<apeiros> juanca99: http://guides.rubygems.org
GaryOak_ has joined #ruby
<juanca99> apeiros, bradland: thanks i'll check it then
pu22l3r_ has joined #ruby
rdark has quit [Ping timeout: 245 seconds]
kenneth has joined #ruby
anaeem1 has joined #ruby
JDiPierro has joined #ruby
pu22l3r has quit [Read error: Connection reset by peer]
baroquebobcat has joined #ruby
sambao21 has joined #ruby
Stoge88 has joined #ruby
Gloomy has joined #ruby
Gloomy has left #ruby [#ruby]
rdark has joined #ruby
Stoge88 has quit [Client Quit]
djbkd has quit [Quit: My people need me...]
banister has joined #ruby
hydrozen has quit [Remote host closed the connection]
lemur has quit [Remote host closed the connection]
nopolitica has joined #ruby
emirozer_ has quit [Quit: Be back later ...]
Stoge88 has joined #ruby
lemur has joined #ruby
nopolitica has quit [Client Quit]
maximski has quit []
jheg has quit [Quit: jheg]
rbennacer has quit [Remote host closed the connection]
blizzy has joined #ruby
Stoge88 has quit [Client Quit]
pushpak has joined #ruby
n80 has quit [Quit: n80]
jack_rabbit has joined #ruby
lemur has quit [Ping timeout: 245 seconds]
Stoge88 has joined #ruby
Stoge88 has quit [Client Quit]
max96at is now known as max96at|off
nanoyak has joined #ruby
bricker has joined #ruby
nanoyak has quit [Client Quit]
krz has quit [Quit: WeeChat 1.0.1]
sigurding has joined #ruby
zipkid has joined #ruby
DadoCe has joined #ruby
anaeem1 has quit [Quit: Leaving...]
mikemac has joined #ruby
crazymykl has quit [Ping timeout: 244 seconds]
rbennacer has joined #ruby
timonv has quit [Ping timeout: 240 seconds]
<zipkid> Hi, could anyone help me with an encoding problem -> https://gist.github.com/zipkid/fb3743fc4f7a0c8b2dc2 ?
Xeago has joined #ruby
ta_ has joined #ruby
seal_ has joined #ruby
mikeric has joined #ruby
seal_ has quit [Read error: Connection reset by peer]
lpdahito has joined #ruby
max96at|off is now known as max96at
seal has quit [Quit: Ex-Chat]
<wasamasa> zipkid: uh, it is the same?
nux443 has quit [Ping timeout: 264 seconds]
seal has joined #ruby
<zipkid> wasamasa: in 1.8.7 i get an error, let me add it.
<wasamasa> >> "\x81\x10" == "\201\020"
<eval-in> wasamasa => true (https://eval.in/242748)
<wasamasa> trust the bot!
<wasamasa> 1.8.7 sounds out of date then
dangerousdave has joined #ruby
<zipkid> wasamasa: sure.... updated gist
DadoCe has quit [Ping timeout: 252 seconds]
<zipkid> wasamasa: i know it is....
blackmesa has joined #ruby
Crazy_Atheist has quit [Ping timeout: 272 seconds]
<wasamasa> it also sounds like it isn't as lenient as 2.1.3 with regards to strings
gr33n7007h has joined #ruby
lolmaus has quit [Quit: Konversation terminated!]
mikepack has joined #ruby
terlar has quit [Read error: Connection reset by peer]
lpdahito has left #ruby [#ruby]
mleung has joined #ruby
<zipkid> any tips on how to fix/work around this?
ellisTAA has left #ruby [#ruby]
<waxjar> ditch 1.8.7, it doesn't receive updates anymore :)
pietr0 has joined #ruby
ta_ has quit [Ping timeout: 276 seconds]
mikeric has quit [Ping timeout: 255 seconds]
sigurding has quit [Ping timeout: 265 seconds]
maletor has joined #ruby
gccostabr has joined #ruby
sigurding has joined #ruby
anaeem1_ has joined #ruby
<zipkid> waxjar: sure... but sadly...
joonty has quit [Quit: joonty]
robbyoconnor has quit [Ping timeout: 244 seconds]
B1n4r10 has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
maletor has quit [Client Quit]
Senjai`work has joined #ruby
terlar has joined #ruby
Senjai`work has joined #ruby
Senjai`work has quit [Changing host]
Megtastique has quit []
Crazy_Atheist has joined #ruby
<waxjar> your only option is implementing a String#byteslice method for 1.8.7 i think
maletor has joined #ruby
<zipkid> hmm...
borodin has joined #ruby
sigurding has quit [Ping timeout: 245 seconds]
sinkensabe has quit [Remote host closed the connection]
kennym has joined #ruby
<zipkid> Argh.... it does not exist in 1.8.7 ... that simple.... i was barking up the wrong tree!!!! :-)
jmcharnes has quit [Quit: Textual IRC Client: www.textualapp.com]
<borodin> is bundler the best option for managing gems in a ruby app? My experience: I build an app and have tests running successfully, then I get a new project and I add that project in a different folder on the same machine, and get it's tests running, then I get time to go back to the first app, and now the tests are failing because of missing gems. It's chaos
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ta_ has joined #ruby
dumdedum has quit [Quit: foo]
terlar has quit [Read error: Connection reset by peer]
govg has joined #ruby
<waxjar> borodin: i use gs to have a gemset per project
sigurding has joined #ruby
robertt_dex has joined #ruby
apurcell has joined #ruby
Tricon has quit [Ping timeout: 245 seconds]
allcentury has quit [Ping timeout: 246 seconds]
brandon_ has quit [Ping timeout: 245 seconds]
borodin_ has joined #ruby
brandon_ has joined #ruby
<borodin_> I was using rvm, but like I said, I got chaos
djbkd has joined #ruby
<borodin_> I may not be holding it right
borodin has quit [Ping timeout: 246 seconds]
chrishough has joined #ruby
rbennacer has quit [Remote host closed the connection]
<borodin_> I may try to use docker instead - a different container per project, maybe that will help :(
blackmesa has quit [Ping timeout: 252 seconds]
<apeiros> waxjar, zipkid: "implementing a String#byteslice" -> `class String; alias byteslice slice; end`
<apeiros> since ruby 1.8 all strings are unencoded
phrozen77 has joined #ruby
phrozen77 has quit [Changing host]
Rollabun_ has quit [Ping timeout: 264 seconds]
ellisTAA has joined #ruby
anaeem1_ has quit [Remote host closed the connection]
apurcell has quit [Ping timeout: 252 seconds]
sigurding has quit [Ping timeout: 255 seconds]
nanoyak has joined #ruby
ta_ has quit [Ping timeout: 276 seconds]
<ellisTAA> hello. i’m doing some homework, and there’s something that i just don’t understand because my tests are failing. on the first test it is failing because it is returning nil instead of a time .. could someone take a look and let me know what i’m doing wrong and how i could fix it ? https://gist.github.com/ellisTAA/10239726d030a474239d
rdark has quit [Quit: leaving]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ta_ has joined #ruby
rdark has joined #ruby
Zai00 has quit [Quit: Zai00]
<Senjai`work> ellisTAA: Uhm, that's not an adequate test. It actually tests nothing
Senjai`work is now known as Senjai
<Senjai> Your actually just assigning nil here
larissa has quit [Quit: Leaving]
athan has quit [Read error: Connection reset by peer]
<Senjai> because measure called with an empty block is just nil
sigurding has joined #ruby
<ellisTAA> senjai: thanks for the response. so the test wants it to return not nil but a time between 0 and 1 second. .. i was wondering how to do this ...
zorak_ has joined #ruby
<ellisTAA> senjai: i didn’t write the test, someone else did
<Senjai> ellisTAA: Well, you'll have to change measure to return a numerical value first.
zorak8 has quit [Read error: Connection reset by peer]
Hobogrammer has quit [Ping timeout: 255 seconds]
<Senjai> Then you'll have to do it in a way that satisfies the test
<Senjai> If tests are here for you, just make each test pass one by one
<Senjai> If the first test requires a 0, make measure return 0
<Senjai> then make other tests pass iteratively
<Senjai> ALA test driven development
blackmesa has joined #ruby
wallerdev has quit [Quit: wallerdev]
tkuchiki has quit [Remote host closed the connection]
<ellisTAA> senjai: that’s the part that confused me. to my understanding the test is running measure and timing it .. should i be timing the method and returning the difference?
ta_ has quit [Ping timeout: 245 seconds]
Yahkob has joined #ruby
deric_skibotn has joined #ruby
<waxjar> ah, neat apeiros
<Senjai> it isnt timing anything
<Senjai> its calling the measure method
scripore has joined #ruby
<Senjai> with an empty block
tkuchiki has joined #ruby
patrick99e99 has joined #ruby
<Senjai> the measure method has no implimentation
<borodin_> elapsed_time = measure doesn't measure the time it takes for measure to run
emirozer_ has joined #ruby
<ellisTAA> so should i put something like a = time.now, b= time.now, return b-a?
swistak35 has joined #ruby
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
<borodin_> measure, maybe, is supposed to return the time it takes to run. What ellisTAA said
<Senjai> ellisTAA: Your job here is to impliment measure
zacstewart has quit [Ping timeout: 245 seconds]
centrx has joined #ruby
<Senjai> so that it satisfies all of the test
<Senjai> test
<borodin_> put that in the def measure block - it yields to the measure method which is supposed to do something
<Senjai> tests
amystephe has joined #ruby
<Senjai> ffs
bronson has joined #ruby
naftilos76 has joined #ruby
tkuchiki has quit [Ping timeout: 276 seconds]
blackmesa has quit [Ping timeout: 264 seconds]
El3k0n has quit [Remote host closed the connection]
amystephen has quit [Ping timeout: 246 seconds]
krz has joined #ruby
ghr has quit [Read error: No route to host]
wldcordeiro_ has quit [Quit: Leaving]
<ellisTAA> anyone know why i’m getting this error message? undefined local variable or method `time' for main:Object (NameError)
n80 has joined #ruby
<ellisTAA> do i have to require time?
<Senjai> time is not defined.
michaeldeol has joined #ruby
<Senjai> ellisTAA: I would recommend http://rubykoans.com/
bronson has quit [Ping timeout: 255 seconds]
emirozer_ has quit [Ping timeout: 272 seconds]
<apeiros> ellisTAA: time is not the same as Time
rbennacer has joined #ruby
<apeiros> ruby is case sensitive
<ellisTAA> apeiros: thank you!!!!
aspiers has quit [Ping timeout: 272 seconds]
jack_rabbit has quit [Ping timeout: 264 seconds]
leafybasil has quit [Read error: Connection reset by peer]
rashkov has joined #ruby
rashkov has left #ruby [#ruby]
zacstewart has joined #ruby
Xeago has quit [Remote host closed the connection]
tyfighter has joined #ruby
klmlfl has quit [Remote host closed the connection]
nanoyak has quit [Quit: Computer has gone to sleep.]
klmlfl has joined #ruby
pdoherty has joined #ruby
mjuszczak has joined #ruby
hmnhf has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
treehug88 has joined #ruby
yfeldblum has joined #ruby
klmlfl has quit [Remote host closed the connection]
astrobunny has joined #ruby
gtrak has quit [Ping timeout: 246 seconds]
apurcell has joined #ruby
commmmodo has joined #ruby
wallerdev has joined #ruby
mjuszczak has quit []
gtrak has joined #ruby
allcentury has joined #ruby
kenneth has joined #ruby
anaeem1_ has joined #ruby
mjuszczak has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
<arup_r> shevy: The Ruby Scientist ...
rocco88 has joined #ruby
astrobunny has quit [Ping timeout: 264 seconds]
ddd has quit [Ping timeout: 264 seconds]
holden247 has joined #ruby
jenrzzz has joined #ruby
holden247 has left #ruby [#ruby]
Tricon has joined #ruby
x1337807x has joined #ruby
TheNet has joined #ruby
ddd has joined #ruby
revw has quit [Ping timeout: 272 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hmnhf has quit [Quit: Konversation terminated!]
sambao21 has joined #ruby
jusmyth has joined #ruby
Pharaoh2 has joined #ruby
fantazo has quit [Quit: Verlassend]
athan has joined #ruby
michaeldeol has joined #ruby
bronson has joined #ruby
ellisTAA has quit [Quit: ellisTAA]
giuseppesolinas has joined #ruby
giuseppesolinas_ has joined #ruby
athan has quit [Read error: Connection reset by peer]
Pharaoh2 has quit [Client Quit]
bronson has quit [Remote host closed the connection]
bkolden2 has joined #ruby
blizzy has quit [Read error: Connection reset by peer]
commmmodo has quit [Quit: commmmodo]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
mjuszczak has quit []
thumpba has joined #ruby
red_horned_rihno has quit [Ping timeout: 252 seconds]
red_horned_rihno has joined #ruby
danman has joined #ruby
mjuszczak has joined #ruby
<porfa> im dying to get an URL from a css selector :’(
<jhass> wat.png
ddd has quit [Ping timeout: 244 seconds]
ramblex has quit [Remote host closed the connection]
<porfa> http://descontos.pt/ ——> div class IMAGE, img class “lazy”
terlar has joined #ruby
<porfa> but it’s my problem, the tutorial i’ve done only explains how to fetch text from sites, not url’s
cantonic has quit [Quit: cantonic]
<jhass> what's the dfiference between a "site" and an "URL"?
<porfa> and i have no previous knowledge on any sort of programing (i dunno if ms-dos batch filess count… lol)
mjuszczak has quit [Client Quit]
<porfa> i’ll keep searching the web for tutorials so i’ll stop feeling like a dumbass.
mjuszczak has joined #ruby
<porfa> because you guys in here make it look so easy..! i wanna reach that level
ellisTAA has joined #ruby
<porfa> i’ll steal the books from the vatican if i have to
jusmyth has quit [Ping timeout: 240 seconds]
sinkensabe has joined #ruby
Fire-Dragon-DoL has joined #ruby
Fire-Dragon-DoL has quit [Max SendQ exceeded]
bronson has joined #ruby
Gues_____ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jack_rabbit has joined #ruby
<kennym> porfa: what's your point?
<kennym> best way to learn is by doing
andikr has quit [Remote host closed the connection]
anaeem1_ has quit [Remote host closed the connection]
juanca99 has quit [Ping timeout: 246 seconds]
x1337807x has quit [Ping timeout: 240 seconds]
<porfa> im doing it, im doing it, i’ve learned alot in the last week.. but when it comes down to fetch href instead of text i just can’t get it.. i don’t even know what i am looking for (to read/learn)
revw has joined #ruby
<porfa> i know someone in here would give me the code i want, but i dont want that i wanna learn to make it on my own
Fire-Dragon-DoL has joined #ruby
Fire-Dragon-DoL has quit [Max SendQ exceeded]
treehug8_ has joined #ruby
<GaryOak_> I think he's talking about grabbing the href out of a link, instead of the text
_maes_ has joined #ruby
sinkensabe has quit [Ping timeout: 245 seconds]
treehug8_ has quit [Remote host closed the connection]
<porfa> yes, that’s what im talking about. i want ruby to output this —> “http://descontos.pt/imgOfertas/Deals/medium/D31909i1.png
<GaryOak_> hahahhaha
Pharaoh2 has joined #ruby
baweaver has joined #ruby
* porfa away… :|
Fire-Dragon-DoL has joined #ruby
nrsk has quit [Ping timeout: 252 seconds]
treehug88 has quit [Ping timeout: 252 seconds]
Fire-Dragon-DoL has quit [Max SendQ exceeded]
Megtastique has joined #ruby
zorak8 has joined #ruby
zorak_ has quit [Read error: Connection reset by peer]
dfinninger has quit [Remote host closed the connection]
sigurding has quit [Quit: sigurding]
kl__ has quit [Ping timeout: 276 seconds]
Fire-Dragon-DoL has joined #ruby
sinkensabe has joined #ruby
revw has quit [Ping timeout: 264 seconds]
mrj has quit [Quit: mrj]
claymore has joined #ruby
constantlurking has joined #ruby
king313 has quit [Ping timeout: 256 seconds]
ptrrr has joined #ruby
Trynemjoel has quit [Ping timeout: 272 seconds]
Trynemjoel has joined #ruby
jwilson_ has joined #ruby
elaptics is now known as elaptics`away
elaptics`away is now known as elaptics
mrj has joined #ruby
blizzy has joined #ruby
oleo is now known as Guest73034
oleo__ has joined #ruby
elaptics is now known as elaptics`away
bronson has quit [Remote host closed the connection]
<jwilson_> I'm writing a custom rake task inheriting from TaskLib but am getting this error: Don't know how to build task '{}'
Guest73034 has quit [Ping timeout: 240 seconds]
revw has joined #ruby
<jwilson_> can somebody point me in the right direction?
TheNet has quit [Remote host closed the connection]
<constantlurking> im super confused about what's happening in this parentheses --> https://eval.in/242791
<constantlurking> is that a proc, a symbol, or both? and why do you need to use a proc or a symbol to accomplish that task
<jhass> jwilson_: Please share your code on https://gist.github.com
krz has quit [Quit: WeeChat 1.0.1]
thsig has quit [Ping timeout: 276 seconds]
<jhass> constantlurking: you don't, it's shorter
ta_ has joined #ruby
<jhass> and the result is badly demonstrated by using puts instead of p
bronson has joined #ruby
<jhass> constantlurking: the construct is &(:to_s), that is passing the symbol to the & operator
Macaveli has quit [Ping timeout: 240 seconds]
<jhass> the & operator takes a proc and passes it as a block to a method
<jhass> it calls #to_proc on the passed object to obtain the proc
maximski has joined #ruby
<jhass> Symbol#to_proc retruns a proc like proc {|arg| arg.public_send(self) }
Limix has joined #ruby
<jhass> so that's really just a shortcut to .map {|n| n.to_s }
maximski has quit [Client Quit]
cantonic has joined #ruby
Trynemjoel has quit [Ping timeout: 256 seconds]
gtrak has quit [Quit: No Ping reply in 180 seconds.]
V_Ve has joined #ruby
<constantlurking> ok i see
<constantlurking> the syntax just looked weird to me at first
V_Ve has quit [Client Quit]
<jhass> common question ;)
<jhass> we probably should make an faq for it somewhere
Trynemjoel has joined #ruby
ta_ has quit [Ping timeout: 265 seconds]
rdark has quit [Quit: leaving]
<constantlurking> i wish there was a way to see exactly what the computer was doing at a low level when it executes my code
<jhass> jwilson_: iirc dependencies should be a symbol, string or array of either, not a hash and certainly not an empty one
<constantlurking> i wanna see the ruby interpreter's "thought process" if you will
gtrak has joined #ruby
jdawgaz has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jhass> uhm, there are many many layers of abstractions between the CPU and the ruby vm still ;)
<jhass> so "low level" is kinda vague
El3k0n has joined #ruby
<jhass> you can get the AST for a piece of ruby code
<constantlurking> true. i guess i mean one level lower
AlSquire has quit [Quit: This computer has gone to sleep]
<constantlurking> because the best help to me has been looking at the error messages in the console, but that only works if the code is completely broken
<constantlurking> what's sat?
<constantlurking> ast*
baweaver has quit [Remote host closed the connection]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> constantlurking: 10001010 00110100 01110111 10100100
<havenwood> constantlurking: ^ not AST
<havenwood> constantlurking: Abstract syntax tree
* apeiros wants a CST
<havenwood> constantlurking: Are you a person or a computer? Ruby is for people.
* deepy wants an abstract syntax plant
baweaver has joined #ruby
nanoyak has joined #ruby
* jhass wants a cookie
x1337807x has joined #ruby
tyfighter has quit [Quit: tyfighter]
Guest__ has joined #ruby
<deepy> jhass: if you pop by north Sweden I'll buy you a beer
* apeiros hands jhass an abstract cookie
<deepy> or a bear, depending on which is more readily available
<apeiros> you guys drink bear?
<deepy> apeiros_: becuase of EU rulings you can't do that without his permission
<havenwood> deepy: just learned how northern swedish folk say "yes", fascinating
<constantlurking> havenwood: i'm a person with an incessant need to know why
<havenwood> kissy sound
aclearma_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<deepy> havenwood: the inhaling kind of yes?
<havenwood> deepy: yeah!
<jwilson_> thanks jhass. that's how the tutorial I'm following did it, and it works that way. I had it wrong on line 21. Should have been "task name task_dependencies do"
<jwilson_> running into a diff error now, but at least I can move forward
tyfighter has joined #ruby
<deepy> havenwood: it's very versatile, but the true power of the north is in the Swedish word 'he'
<apeiros> talk while you inhale. how efficient :D
sambao21 has quit [Quit: Computer has gone to sleep.]
constantlurking has quit [Quit: Page closed]
<havenwood> apeiros: full duplex
<jhass> jwilson_: yes, that was where you were passing an empty hash as dependency
jasonwebster has joined #ruby
andikr has joined #ruby
<apeiros> plerp. can't motivate myself to code.
* jhass hands apeiros the abstract cookie back
DrShoggoth has quit [Quit: Leaving]
joonty has joined #ruby
joonty has quit [Client Quit]
<jhass> you need it more apparently
<havenwood> Sometimes you want a Concrete Semantics Rock rather than an AST.
sigurding has joined #ruby
<jhass> apeiros: ouch, guess I need to leave germany https://www.youtube.com/watch?v=RCSVpmghLGk#t=626 (sorry everybody else)
jenrzzz has quit [Quit: Lost terminal]
B1n4r10 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Channel6 has quit [Quit: Leaving]
VBlizzard has joined #ruby
jdawgaz has quit [Quit: Leaving.]
spyderman4g63 has quit []
beef-wellington has quit [Ping timeout: 240 seconds]
leafybasil has joined #ruby
arup_r has quit [Quit: Leaving.]
blizzy is now known as Guest95806
VBlizzard is now known as blizzy
ta_ has joined #ruby
Guest95806 has quit [Ping timeout: 245 seconds]
shime_ has joined #ruby
<porfa> http://pastie.org/private/7qnjkubplwmhs6zsxiw hello, how can i select individual elements from whitihgn a css selector?
lmickh has quit [Remote host closed the connection]
kaspertidemann has joined #ruby
wallerdev has quit [Quit: wallerdev]
<jhass> don't think CSS can do that, XPath might, but I'd just use Nokogiri::XML::Node#[]
El3k0n has quit [Remote host closed the connection]
neoxquick has joined #ruby
<porfa> hmmm ok
<jhass> at_css(...)['src']
<porfa> !!!
<centrx> nth-child doesn't really work properly in Nokogiri IIRC
deadmund has joined #ruby
jokke has quit [Quit: ninja vanish]
beef-wellington has joined #ruby
<jhass> centrx: attribute, not child element
<porfa> it outpus me nil
<porfa> ( http://www.pouparbem.com the website im trying to scrap the first image, the ones with the chairs)
sambao21 has joined #ruby
<jhass> well, you want to select the img element first I guess
leafybasil has quit [Ping timeout: 245 seconds]
<porfa> hmmm
<jhass> currently you're at the div
<jhass> so descend into the img
shime has quit [Ping timeout: 264 seconds]
<porfa> how do i descend as in, whats the synthax? that’s my main issue.. always was with programing.. the synthax
<deadmund> Can someone recommend a tutorial / web site to help me get up and running with hello world ruby on rails website running on a server web server on my local machine? I've googled put I'd like a recommendation from a person about a tutorial that is good, rather than one that has just been SEO'd to the top.
diegoviola has joined #ruby
<jhass> .imgOferta img
ndrei has quit [Ping timeout: 272 seconds]
babykosh has joined #ruby
jokke has joined #ruby
aclearman037 has joined #ruby
<jhass> deadmund: guides.rubyonrails.org isn't that bad actually
<jhass> has a getting started thingy that builds a basic blog
<deadmund> jhass: thanks
Pharaoh2 has joined #ruby
<jhass> for your further Ror questions check #RubyOnRails instead though ;)
athan has joined #ruby
<bradland> deadmund: do you have a working ruby install yet?
<deadmund> jhass: thanks
klmlfl has joined #ruby
<deadmund> bradland: no
<bradland> ok, most rails tutorials start with rails, which won't include a guided ruby install
<bradland> what OS are you using?
<bradland> we can steer you in the right direction
<apeiros> jhass: lol, ouch @ video
<deadmund> bradland: ubuntu sudo apt-get install ruby-2.0 ?
<porfa> ofertas.at_css('.imgOferta’)[img][src].text ?
<deadmund> bradland: thanks :)
<bradland> deadmund: if you're going to be doing ruby development, you'll probably want a ruby manager
<bradland> brb, gotta take a call
<apeiros> jhass: so you say you're not a dutiful german? :D
<deadmund> bradland: ok. What is a ruby manager?
pussygladiator has joined #ruby
<pussygladiator> hey
blizzy has quit [Ping timeout: 245 seconds]
<pussygladiator> you know how php has the phpinfo test thing so you can see if it's working?
<jhass> apeiros: dunno, that kind of statements just didn't work out too good in the past
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
<pussygladiator> Does ruby have something like that so I can check my web server is properly configured?
<bradland> deadmund: a ruby manager allows you to switch between ruby interpreter versions quickly and easily
<bradland> most come bundled with a tool that builds ruby interpreters for you as well
<jhass> porfa: no, decending into the img element should be part of the CSS selector, as I've shown
<deadmund> bradland: Really, is it a good idea to switch between interpreter versions? Can't I just install 2.0 and forget about it?
<bradland> there are three main ones: RVM, chruby, and rbenv
shime_ has quit [Ping timeout: 272 seconds]
<bradland> deadmund: you could, but ruby moves fast, and distro packages tend to fall behind
<porfa> ofertas.at_css('.img.imgOferta’) ?
<bradland> for example, ruby is on 2.2 right now. is 2.0 the latest apt package available?
djbkd has quit [Remote host closed the connection]
<jhass> porfa: no, that would search for an element that has the class img as well as the class imgOferta
<jhass> porfa: check the backlog
<deadmund> bradland: ehh, this is just a little project. I don't care about it lasting more than a few months. Yes it seems 2.0 is the newest in Ubuntu 14.04. I'm gonna switch to #rubyonrails if you want to keep talking
dopie has joined #ruby
MartynKeigher has quit [Ping timeout: 264 seconds]
baweaver has quit [Remote host closed the connection]
<bradland> deadmund: if you want to go the apt route, consider Brightbox's PPA: https://www.brightbox.com/docs/ruby/ubuntu/
<deadmund> bradland: thank you! :)
JBreit has joined #ruby
enebo has joined #ruby
bradleylsys has joined #ruby
Tricon has quit [Ping timeout: 264 seconds]
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
michaeldeol has joined #ruby
<porfa> whwre do i start learning this stuff? im just so tired of comming in here askng for help everytime i need something.. you guys dont work for me.. goddamit
<porfa> i just can’t handle this stuff, it’s to much for me
<centrx> meditate
olivier_bK has joined #ruby
<porfa> i’ll wax on/wax off my car now.
<bradland> pussygladiator: there is no "phpinfo" equivalent in ruby, but there are some simple ways to verfiy your app server setup, but it depend on the server.
<bradland> what server are you running?
<pussygladiator> nginx
<pussygladiator> w/ passenger
jfran__ has joined #ruby
withnale_ has quit [Ping timeout: 276 seconds]
jfran___ has joined #ruby
<bradland> ok, so passenger is a "rack" web server, so you can drop in a simple rack config and hit the vhost to see if it works.
kayloos has joined #ruby
wpp has joined #ruby
bronson has quit [Remote host closed the connection]
<pussygladiator> how would I do that?
<pussygladiator> what would I google for a quick guide?
<bradland> pussygladiator: put this in to a file named config.ru : http://pastie.org/9833947
wpp has quit [Max SendQ exceeded]
<pussygladiator> in the /www/
<pussygladiator> folder
nanoyak has quit [Read error: Connection reset by peer]
<bradland> you'll want to look at the passenger docs for your folder structure
nanoyak has joined #ruby
bradleylsys is now known as lodgenbd
<bradland> actually, that passenger guide is great
<bradland> it has a config.ru hello world app
<pussygladiator> word ty
jfran_ has quit [Read error: Connection reset by peer]
Tricon has joined #ruby
dfinninger has joined #ruby
jfran has quit [Ping timeout: 240 seconds]
VBlizzard has joined #ruby
nuck has joined #ruby
djbkd has joined #ruby
El3k0n has joined #ruby
anaeem1_ has joined #ruby
dfinning_ has joined #ruby
dfinninger has quit [Ping timeout: 255 seconds]
AlexRussia has joined #ruby
jenrzzz has joined #ruby
Joufflu has joined #ruby
n008f4g_ has joined #ruby
lolmaus has joined #ruby
rabeldable has joined #ruby
Guest__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lodgenbd has quit [Quit: Leaving]
lodgenbd has joined #ruby
Guest__ has joined #ruby
sigurding has quit [Ping timeout: 245 seconds]
El3k0n has quit [Remote host closed the connection]
VBlizzard has quit [Ping timeout: 245 seconds]
lodgenbd has quit [Client Quit]
jdawgaz has joined #ruby
lodgenbd has joined #ruby
chrishough has joined #ruby
reinaldob has quit [Remote host closed the connection]
sigurding has joined #ruby
jdawgaz has quit [Read error: Connection reset by peer]
VBlizzard has joined #ruby
lodgenbd has quit [Client Quit]
jerematic has quit [Ping timeout: 256 seconds]
VBlizzard is now known as blizzy
TheNet has joined #ruby
lodgenbd has joined #ruby
doodlehaus has quit [Remote host closed the connection]
IrishGringo has quit [Ping timeout: 245 seconds]
gtrak has quit [Ping timeout: 246 seconds]
pussygladiator has quit [Remote host closed the connection]
lodgenbd has quit [Client Quit]
towski_ has joined #ruby
TheNet has quit [Remote host closed the connection]
gtrak has joined #ruby
lodgenbd has joined #ruby
psy_ has joined #ruby
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
davispuh has joined #ruby
rocco88 has quit []
naftilos76 has quit [Remote host closed the connection]
lkba_ has quit [Quit: Bye]
king313 has joined #ruby
king313 has joined #ruby
TheNet has joined #ruby
<dopie> anyone here ever use jekyll
tier has joined #ruby
<porfa> ok, so im doing this ecxample tutorial to try and get over this “scrap url” problems im havving...
lkba has joined #ruby
<porfa> http://ruby.bastardsbook.com/chapters/html-parsing/ ——> The url of the second <li> element —> page.css('li')[1]['href']
<porfa> everthiung in that tutorial works, but even in that tutorial when i do that line… to fetch me the URL, it outputs NIL.
<centrx> dopie, a lot of people probably
<havenwood> dopie: Have a Jekyll question?
<porfa> so.. maybe i was doing the right thing in my main script as it was still outputing NIL… whats missing in that line for it to output me the url in readable form?
B1n4r10 has joined #ruby
Macaveli has joined #ruby
B1n4r10 has quit [Client Quit]
<dopie> well im tyring to deploy with capistrano , and using nginx and I get this weird error
ReachingFarr has joined #ruby
ellisTAA has quit [Quit: ellisTAA]
<centrx> porfa, It looks like it should work as is...
<ReachingFarr> So I am the maintainer of a couple of gems and I would like to see if there are any gems that use mine. Is there an easy way to do this?
doodlehaus has joined #ruby
<centrx> porfa, How are you testing it?
<porfa> does it work there? in here irb says “nil” :(
<porfa> i have the html code of that example in http://nuvem.pouparbem.com/nuvem/tut.html
<porfa> i can fetch all the text, but the href.. always NIL
<jhass> porfa: that tutorial is simply wrong there
<porfa> :/ whats seems to be the problem then? :’(
<jhass> you need to select the element that has the attribute before querying the attribute
ddd has joined #ruby
passion8 has joined #ruby
lkba has quit [Read error: Connection reset by peer]
<porfa> can you correct that for me so i can read it and try to figure out whats wrong?
<jhass> in the tutorials case that's the a inside the li, in your case it's the img inside the div
<passion8> hello, how can i make this work. i want to use “end of string \z” in regex in place of “$” http://rubular.com/r/JrRXDI7pBs
thsig has joined #ruby
<porfa> (correct the one from the tutorial, not my script! i wanna do that on my own)
<jhass> I'd use different methods in those cases, so that probably won't help you much
Macaveli has quit [Ping timeout: 264 seconds]
<jhass> (your script vs the tutorial example)
<jhass> passion8: simply do it
oleo__ has quit [Quit: Verlassend]
<porfa> no mater how much i try, im still sol.
Thrillberg has joined #ruby
<jhass> passion8: if you reduce your examples to a single one, you'll see it works
staticshock has joined #ruby
<passion8> ohh , thats crazy.
<jhass> porfa: .at_css('.imgOfert img')['src']
kirun has joined #ruby
<jhass> passion8: not really
<passion8> thanks a lot jhass :)
<jhass> passion8: that's exactly what \z does
<passion8> gotcha
_ixti_ has quit [Ping timeout: 255 seconds]
tyfighter has quit [Quit: tyfighter]
lkba has joined #ruby
bRUTEfORCE has joined #ruby
fredsir has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
anaeem1_ has quit [Remote host closed the connection]
bRUTEfORCE has left #ruby [#ruby]
anaeem1 has joined #ruby
<porfa> i think my nokogiri or ruby must be wrong or something, it outputs nil..
<porfa> still trying tho lol
cantonic has quit [Quit: cantonic]
<porfa> IT WORKED… sorry caps, dammit.. 20 hours in this :/
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
Techguy305 has joined #ruby
<bradland> porfa: different selector needed?
n1lo has quit [Quit: Leaving]
terlar has quit [Ping timeout: 240 seconds]
Techguy305 has quit [Max SendQ exceeded]
<bradland> porfa: there are great tools for this kind of thing too: http://selectorgadget.com/
yfeldblum has joined #ruby
Techguy305 has joined #ruby
jdawgaz has joined #ruby
anaeem1 has quit [Ping timeout: 255 seconds]
danman has quit [Quit: danman]
maletor has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Hijiri has quit [Quit: WeeChat 1.0.1]
visof has quit [Changing host]
visof has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
maletor has joined #ruby
passion8 has quit [Quit: passion8]
Tricon has quit [Remote host closed the connection]
oleo has joined #ruby
Tricon has joined #ruby
MartynKeigher has joined #ruby
jasonwebster has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Limix has quit [Quit: Limix]
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kiyote23 has joined #ruby
AlSquire has joined #ruby
Zai00 has joined #ruby
wallerdev has joined #ruby
zorak8 has quit [Read error: Connection reset by peer]
zorak8 has joined #ruby
rodfersou has quit [Quit: leaving]
ellisTAA has joined #ruby
_ixti_ has joined #ruby
pencilcheck has quit []
michaeldeol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
baweaver has joined #ruby
zacstewart has quit [Ping timeout: 264 seconds]
deadmund has left #ruby ["Bye"]
n80_ has joined #ruby
kamilc__ has quit [Quit: Linkinus - http://linkinus.com]
seal has quit [Quit: Ex-Chat]
VBlizzard has joined #ruby
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
blizzy has quit [Ping timeout: 245 seconds]
VBlizzard is now known as blizzy
sambao21 has quit [Quit: Computer has gone to sleep.]
<ReachingFarr> Does anyone know how to get a list of gems that depend on a specific gem? (E.g. find all gems that require ActiveRecords)
JBreit has left #ruby ["Leaving"]
St1gma has quit [Ping timeout: 250 seconds]
sandelius has joined #ruby
thsig has quit [Ping timeout: 276 seconds]
sandelius has quit [Max SendQ exceeded]
rbrs has quit [Quit: rbrs]
sandelius has joined #ruby
El3k0n has joined #ruby
pushpak has quit [Quit: Linkinus - http://linkinus.com]
jerematic has joined #ruby
Trynemjoel has quit [Ping timeout: 272 seconds]
ldnunes has quit [Quit: Leaving]
El3k0n has quit [Remote host closed the connection]
bronson has joined #ruby
Trynemjoel has joined #ruby
genpaku has joined #ruby
dotix has joined #ruby
dotix has joined #ruby
<windowlicker> Hey guys. working on euler problem 3 (largest prime factor of a number) I'm close but my return statement isn't working and I'm stuck in an endless loop. pls halp https://gist.github.com/tu98/084b2ec00418095bd48f
Duda_ has joined #ruby
blizzy has quit [Quit: Leaving]
Duda_ has left #ruby [#ruby]
bronson has quit [Ping timeout: 264 seconds]
shazaum_ has quit [Quit: Leaving]
bluOxigen has joined #ruby
bluOxigen has quit [Changing host]
bluOxigen has joined #ruby
zacstewart has joined #ruby
kenneth has joined #ruby
St1gma has joined #ruby
j4d has joined #ruby
fandi has quit [Read error: Connection reset by peer]
fandi has joined #ruby
<staticshock> windowlicker: are you sure your return statement isn't working? because if you have an infinite loop, you'd likely also have it for smaller values.
kenneth has quit [Client Quit]
elaptics`away is now known as elaptics
<cphrmky> windowlicker: staticshock seems to be right: http://cl.ly/image/1I0y3v1U3a3g
baroquebobcat has quit [Quit: baroquebobcat]
kenneth has joined #ruby
<staticshock> i think it's much more likely you're just running a really slow program on a really large value.
<GaryOak_> that's what it looks like to me, that number is really large, and you are dividing possible trillions of trillions times
qhartman has quit [Quit: Ex-Chat]
mleung has quit [Quit: mleung]
dseitz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
agent_white has quit [Quit: leaving]
<ellisTAA> quick question. if i get the error message: “wrong number of arguments (0 for 1)” does that mean i am asking for 1 argument and i am not getting it?
phutchins has quit [Ping timeout: 252 seconds]
<bradland> ReachingFarr: not sure you can do the inverse of `gem depencency` directly.
<bradland> although rubygems has an api now
aef has quit [Remote host closed the connection]
<bradland> there also appears to be an open issue: https://github.com/rubygems/rubygems.org/issues/123
<tobiasvl> ellisTAA: it means you're calling a method that needs 1 argument but you're supplying none
<ellisTAA> tobiasvi: thanks for that
failshell has joined #ruby
duncannz has joined #ruby
<ellisTAA> i’m trying to pass a test where i capitalize a title of a book. could someone help me figure out how to solve the error message i’m getting https://gist.github.com/ellisTAA/10239726d030a474239d
jmcharnes has joined #ruby
omosoj has joined #ruby
gtrak has quit [Quit: No Ping reply in 180 seconds.]
<tobiasvl> ellisTAA: Book.new doesn't work because you're not supplying a title
gawd has joined #ruby
<tobiasvl> if you read the error message, it says that you're calling Book.new and supplying 0 arguments where 1 is needed
<ellisTAA> tobiasvi: the title should be supplied by the test i think
Thrillberg has quit [Ping timeout: 256 seconds]
<ReachingFarr> bradland: Thanks. I'll take a look at the RubyGems API.
<tobiasvl> ellisTAA: you're setting @book.title after calling Book.new, sure, but as you can see initialize takes one argument first
<tobiasvl> so you need to call Book.new('title goes here')
jherbst has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
m8 has joined #ruby
jherbst has joined #ruby
gtrak has joined #ruby
<ellisTAA> tobiasvi: i see that. i guess i don’t know where to put the title …
<tobiasvl> @book = Book.new("inferno")
hooper has joined #ruby
<gr33n7007h> ellisTAA, also, @title = name should be @title = title :)
<ellisTAA> thanks gr33n7007h
shime has joined #ruby
lw has quit [Quit: s]
x1337807x has joined #ruby
<bradland> curl -H 'Authorization:110024a9cf6c10671b9df86992abb115' \ https://rubygems.org/api/v1/versions/activesupport.yaml
<bradland> doh
jherbst has quit [Read error: Connection reset by peer]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
jherbst has joined #ruby
<dopie> anyone can help here?
<tobiasvl> which jekyll
sambao21 has joined #ruby
<bradland> dopie: i'm kind of busy posting my rubygems api key to the channel right now, but gimme just a few
<bradland> dopie: it looks like jekyll isn't installed on the server
<dopie> it is tho
x1337807_ has joined #ruby
<dopie> i run jekyll build
<dopie> and the site runs:
<dopie> how do i find the location of jekyll?
<bradland> do this at a shell: which jekyll
fandi has quit [Read error: Connection reset by peer]
mjuszczak has quit []
chinmay_dd has left #ruby [#ruby]
<bradland> capistrano runs commands in a stripped down shell
fandi has joined #ruby
<bradland> so if you're using anything other than a system ruby install, it's probably not loading any shims, etc
<dopie> here /home/deployer/.rvm/gems/ruby-1.9.3-p448/bin/jekyll
chrishough has joined #ruby
<bradland> yeah, that's why
jherbst has quit [Read error: Connection reset by peer]
jherbst has joined #ruby
FooMunki_ has quit [Quit: FooMunki_]
ndrei has joined #ruby
<dopie> hmpf....
<bradland> capistrano's execute does something like `sh -c command`
FooMunki has joined #ruby
FooMunki has quit [Client Quit]
<bradland> errr
<bradland> actually 2nd bullet point says that no workie with cap 3.0
<windowlicker> workie with cap 3.0
windowlicker has quit [Quit: Lost terminal]
scripore has quit [Quit: This computer has gone to sleep]
Pharaoh2 has joined #ruby
kl has joined #ruby
mloveless has joined #ruby
x1337807x has quit [Ping timeout: 272 seconds]
jdawgaz has quit [Quit: Leaving.]
mjuszczak has joined #ruby
Thrillberg has joined #ruby
cocotton has quit [Read error: Connection reset by peer]
antgel has joined #ruby
cocotton has joined #ruby
<dopie> set :default_environment, {
<dopie> 'PATH' => "/opt/ruby-enterprise/bin/:$PATH"
<dopie> }
<dopie> ?
Stoge88 has joined #ruby
blueOxigen has joined #ruby
Stoge88 has quit [Client Quit]
<dopie> i need to set default_env
<dopie> to something else
gawd has quit [Quit: Leaving]
bluOxigen has quit [Ping timeout: 264 seconds]
nanoyak has quit [Quit: Computer has gone to sleep.]
dangerousdave has joined #ruby
postmodern has joined #ruby
<bradland> dopie: i'm not sure where that code came from
<bradland> i don't see it on the page
<bradland> what page is that from?
Morkel has quit [Quit: Morkel]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<bradland> ReachingFarr: ping me when you get that working
tier has quit [Read error: Connection reset by peer]
<bradland> should be somewhere around the versions endpoint mentioned in the API docs
Morkel has joined #ruby
fandi has quit [Read error: Connection reset by peer]
fandi has joined #ruby
jherbst has quit [Ping timeout: 245 seconds]
wallerdev has quit [Quit: wallerdev]
athan has quit [Read error: Connection reset by peer]
deric_skibotn has quit [Ping timeout: 244 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tier has joined #ruby
<ellisTAA> can anyone tell me why my i’m getting this error message that says my title method isn’t defined … https://gist.github.com/ellisTAA/10239726d030a474239d
bkolden2 has quit [Quit: Leaving]
ta_ has quit [Ping timeout: 264 seconds]
gawd has joined #ruby
tier has quit [Read error: Connection reset by peer]
blackoperat has quit [Remote host closed the connection]
tier has joined #ruby
GaryOak_ has quit [Remote host closed the connection]
jenrzzz_ has joined #ruby
<centrx> ellisTAA, @book.title = "x" calls a separate assignment method
<centrx> ellisTAA, which you would define as: def title=(name)
jenrzzz has quit [Ping timeout: 252 seconds]
<ellisTAA> centrx: could you sya a little more, i don’t quite understand
sigurding has quit [Quit: sigurding]
andikr has quit [Remote host closed the connection]
danman has joined #ruby
Morkel has quit [Quit: Morkel]
dangerousdave has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Prometheian has joined #ruby
cvtsx has quit [Quit: Leaving]
baweaver has quit [Remote host closed the connection]
aef has joined #ruby
<cphrmky> best way to display an object's ancestors in pry/irb ?
<shevy> .ancestors
<cphrmky> ha!
<cphrmky> this is why ruby is awesome
<cphrmky> thx shevy
<shevy> \o/
sambao21 has quit [Quit: Computer has gone to sleep.]
<centrx> ellisTAA, When you do: @book.title = "x", that's actually calling a method, equivalent to: @book.title=("x")
<centrx> ellisTAA, and the = sign is the last character of the method name
kl has quit [Ping timeout: 245 seconds]
Rayford has joined #ruby
djbkd has quit [Remote host closed the connection]
<tobiasvl> ellisTAA: google "ruby accessors and writers" and you might understand
kl has joined #ruby
<ellisTAA> k thanks both of you
mjuszczak has quit []
mleung has joined #ruby
<tobiasvl> they're ruby's setters and getters, so to speak, if you know other languages
dblessing has joined #ruby
ellisTAA has quit [Quit: ellisTAA]
<tobiasvl> so you can either change line 21 to def title=(name), or line 12 to @book.title("inferno"). both will work. note however that you're never setting the title attribute/variable in the Book object, you just return the argument capitalized.
<tobiasvl> that might suggest you should go for the second variant, or that you're not doing what you intend :)
<gr33n7007h> tobiasvl, he left
<tobiasvl> oh.
<tobiasvl> I have joins and leaves on ignore. sorry.
Yahkob has quit []
TheNet has quit [Remote host closed the connection]
TheNet has joined #ruby
klmlfl has quit [Remote host closed the connection]
<pontiki> good plan, so do i
<shevy> me too!
nanoyak has joined #ruby
GreatSUN has joined #ruby
<GreatSUN> Hi all
<pontiki> screw all those joiners and parters
blackoperat has joined #ruby
blackmesa has joined #ruby
<GreatSUN> can someone tell me how to fix a problem with open-uri when trying to download something from http port 8080?
<GreatSUN> using wget the download works properly
<GreatSUN> with open I get Timeout::Error: execution expired
mesmo has joined #ruby
<pontiki> doing anything funny with the user agent, GreatSUN ?
<GreatSUN> pontiki: not that I know of
<pontiki> also cruft like accept header and so on can cause servers that care about such things to complain
Rayford has quit [Quit: Rayford]
<pontiki> or time out, etc
<GreatSUN> forgot to mention that this issue comes up only in ruby 1.8
<mesmo> hi all
<pontiki> does it work in higher ruby versions?
hmsimha has joined #ruby
<GreatSUN> yes
baweaver has joined #ruby
<GreatSUN> but I can not update ruby on the destination host
<pontiki> i'd suggest not using open-uri in 1.8
<GreatSUN> pontiki: and then make a switch for http, https, ftp, ftps and such?
sea_local has joined #ruby
<pontiki> yeah
<GreatSUN> isn't there something else I could make use of?
<GreatSUN> some wrapper gem like open-uri?
gawd has quit [Quit: Leaving]
<shevy> GreatSUN perhaps you can use ftp?
danman has quit [Quit: danman]
<shevy> though if you use some website with http*
felixjet has joined #ruby
<shevy> then they often won't have ftp available, most likely not public ftp
davidhq has quit [Quit: Textual IRC Client: www.textualapp.com]
yokel has quit [Ping timeout: 264 seconds]
bronson has joined #ruby
blueOxigen has quit [Ping timeout: 264 seconds]
Kricir_ has joined #ruby
nanoyak_ has joined #ruby
nanoyak_ has quit [Remote host closed the connection]
danman has joined #ruby
nanoyak_ has joined #ruby
tier has quit [Remote host closed the connection]
nanoyak has quit [Read error: Connection reset by peer]
havenwood has quit [Remote host closed the connection]
_maes_ has quit [Ping timeout: 255 seconds]
mjuszczak has joined #ruby
pasv_ has quit [Ping timeout: 252 seconds]
failshell has quit [Remote host closed the connection]
mloveless has quit [Ping timeout: 245 seconds]
Musashi007 has joined #ruby
Kricir has quit [Ping timeout: 272 seconds]
jfran___ has quit [Quit: Going offline, see ya! (www.adiirc.com)]
jfran__ has quit [Quit: Going offline, see ya! (www.adiirc.com)]
claymore has quit [Quit: Leaving]
Jackneill has quit [Ping timeout: 255 seconds]
mloveless has joined #ruby
beef-wellington has quit [Ping timeout: 264 seconds]
nanoyak_ has quit [Client Quit]
pasv_ has joined #ruby
larissa has joined #ruby
tier has joined #ruby
bronson has quit [Ping timeout: 244 seconds]
nanoyak has joined #ruby
meschi has quit [Remote host closed the connection]
mroach has quit [Quit: mroach]
<pontiki> if you're forced into using 1.8, i have no idea
dfinning_ has quit [Remote host closed the connection]
havenwood has joined #ruby
delianides has quit []
dfinninger has joined #ruby
dfinninger has quit [Remote host closed the connection]
dfinninger has joined #ruby
fuhgeddaboudit has joined #ruby
beef-wellington has joined #ruby
icbm_ has joined #ruby
icbm has quit [Ping timeout: 245 seconds]
wallerdev has joined #ruby
sambao21 has joined #ruby
ghr has joined #ruby
Loaft has quit [Read error: Connection reset by peer]
aswen has quit [Ping timeout: 245 seconds]
mloveless has quit [Remote host closed the connection]
dotix has quit [Quit: Leaving]
provokeme has joined #ruby
provokeme has left #ruby ["rcirc on GNU Emacs 24.4.50.1"]
ghr has quit [Ping timeout: 264 seconds]
sambao21 has quit [Ping timeout: 252 seconds]
cantonic has joined #ruby
conniemj_ has joined #ruby
sinkensabe has quit [Remote host closed the connection]
danman has left #ruby [#ruby]
nuck has quit [Quit: Computer has gone to sleep.]
ta_ has joined #ruby
conniemj has quit [Ping timeout: 255 seconds]
livathinos has joined #ruby
jmcharnes has quit [Quit: Textual IRC Client: www.textualapp.com]
ghr has joined #ruby
nuck has joined #ruby
livathinos has quit [Client Quit]
scripore has joined #ruby
failshell has joined #ruby
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ta_ has quit [Ping timeout: 265 seconds]
jenrzzz_ has quit [Ping timeout: 256 seconds]
cantonic has quit [Read error: Connection reset by peer]
cantonic has joined #ruby
fuhgeddaboudit has quit [Ping timeout: 256 seconds]
mengu has quit [Remote host closed the connection]
kenneth has joined #ruby
ghr has quit [Ping timeout: 276 seconds]
ellisTAA has joined #ruby
gsd has joined #ruby
deric_skibotn has joined #ruby
yokel has joined #ruby
Heskie has joined #ruby
baweaver has quit [Remote host closed the connection]
cantonic has quit [Client Quit]
timanema has quit [Remote host closed the connection]
timanema_ has joined #ruby
jdawgaz has joined #ruby
aclearman037 has quit [Quit: I'm out!]
scripore has quit [Quit: This computer has gone to sleep]
ptrrr has quit [Quit: ptrrr]
dotix has joined #ruby
dotix has quit [Changing host]
dotix has joined #ruby
jenrzzz has joined #ruby
elfuego has quit [Quit: elfuego]
zacstewart has quit [Ping timeout: 272 seconds]
timanema_ has quit [Ping timeout: 252 seconds]
FooMunki_ has joined #ruby
blackoperat has quit [Ping timeout: 252 seconds]
tier_ has joined #ruby
monq has joined #ruby
decoponyo has quit [Quit: Leaving...]
timanema has joined #ruby
jerematic has quit [Remote host closed the connection]
djbkd has joined #ruby
klmlfl has joined #ruby
DadoCe has joined #ruby
speaking1ode has joined #ruby
mrj has quit [Quit: mrj]
elaptics is now known as elaptics`away
monq has quit [Client Quit]
tier has quit [Ping timeout: 256 seconds]
cantonic has joined #ruby
cantonic has quit [Client Quit]
ta_ has joined #ruby
JDiPierro has quit [Remote host closed the connection]
yokel has quit [Ping timeout: 252 seconds]
baweaver has joined #ruby
DadoCe has quit [Ping timeout: 252 seconds]
exgf has quit [Quit: ( www.nnscript.com :: NoNameScript 4.22 :: www.esnation.com )]
pu22l3r_ has quit [Ping timeout: 252 seconds]
dling has quit []
tier_ has quit [Ping timeout: 245 seconds]
jenrzzz has quit [Ping timeout: 265 seconds]
Crazy_Atheist has quit [Ping timeout: 245 seconds]
ta_ has quit [Ping timeout: 255 seconds]
metadave has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
michaeldeol has joined #ruby
GaryOak_ has joined #ruby
dling has joined #ruby
elfuego has joined #ruby
enebo has quit [Quit: enebo]
max96at is now known as max96at|off
s2013 has joined #ruby
<s2013> anyone worked with BSON::Orderedhash.. anyways i have a list ofthem. i just want to remove all th ekeys
Joufflu has quit [Read error: Connection reset by peer]
yokel has joined #ruby
djbkd has quit [Read error: Connection reset by peer]
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
djbkd has joined #ruby
cantonic has joined #ruby
cantonic has quit [Client Quit]
nfk has quit [Quit: yawn]
<centrx> s2013, remove the keys? You can get the values with #values
mesmo has quit [Quit: Page closed]
bzeu has joined #ruby
<bzeu> this is the channel for ruby on rails right?
<s2013> no bzeu thats #ror
jdawgaz has quit [Quit: Leaving.]
<centrx> #rubyonrails
<bzeu> what is this?
<centrx> Ruby is a programming language. Rails is a framework in that programming language.
<centrx> it's really more like Rails on Ruby
nanoyak has quit [Quit: Computer has gone to sleep.]
<s2013> oh i can just do flat_map(&:values)
<bzeu> So, I would need some advice. Is it worth learning ror for website development? Or is it outdated?
<bzeu> Or learn ruby at all.
<centrx> Rails may be the single best way to make non-trivial websites
glen has left #ruby [#ruby]
* arrubin predicts that this is a troll.
<bzeu> centrx: What does that mean
rocco88 has joined #ruby
<centrx> bzeu, Rails is the best!
allcentury has quit [Ping timeout: 245 seconds]
ptrrr has joined #ruby
<s2013> any reason why there isnt any flat_map! ?
babykosh has quit [Quit: babykosh]
startupality has quit [Quit: startupality]
<mnemon> bzeu: what kind of websites are you developing?
zacstewart has joined #ruby
rocco88 has left #ruby [#ruby]
n80_ has quit [Quit: n80_]
dotix has quit [Quit: Leaving]
<dopie> bradland
n80_ has joined #ruby
<bradland> yo dawg
<dopie> bradland, you directed me to rvm-capistrano
<bradland> well, i did at first
<bradland> after which i immediately said it no workie with cap 3.0
ta_ has joined #ruby
cantonic has joined #ruby
<bradland> and i gave you another link
Heskie has quit [Read error: Connection reset by peer]
cphrmky has quit [Read error: Connection reset by peer]
* timanema ducks because dopie is going to fight bradland
speaking1ode has quit [Quit: leaving]
<bradland> i haz the logz to prove it :)
fuhgeddaboudit has joined #ruby
Heskie has joined #ruby
<dopie> ze logz
<dopie> :P
<bradland> hahaha :)
hmsimha has quit [Ping timeout: 252 seconds]
<bradland> here's the link to the cap 3.x RVM gem https://github.com/rvm/rvm1-capistrano3
commmmodo has joined #ruby
failshell has quit [Ping timeout: 245 seconds]
elfuego has quit [Quit: elfuego]
atomi_ has quit [Remote host closed the connection]
Ankhers has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
Guest__ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Evan has quit [Disconnected by services]
Treyt22 has joined #ruby
atomi has joined #ruby
Evan has joined #ruby
Evan is now known as Guest29161
ta_ has quit [Ping timeout: 276 seconds]
<eam> Timeout is terrible, pass it on
codecop has quit [Remote host closed the connection]
commmmodo has quit [Ping timeout: 244 seconds]
thiagovsk__ has quit [Quit: Connection closed for inactivity]
yokel has quit [Ping timeout: 246 seconds]
mjuszczak has quit []
cphrmky has joined #ruby
<bricker> I like Timeout
fuhgeddaboudit has quit [Ping timeout: 252 seconds]
yokel has joined #ruby
n80_ has quit [Quit: n80_]
brb3 has quit [Quit: ZZZzzz…]
hmsimha has joined #ruby
<bradland> dopie: hahaha, love that flick
it0a has quit [Quit: WeeChat 1.1]
<dopie> Ze Germans!!
mjuszczak has joined #ruby
mary5030 has quit [Remote host closed the connection]
brb3 has joined #ruby
mary5030 has joined #ruby
FrankenDaemon has quit [Quit: ZNC - http://znc.in]
<except> hi! is there a good way to split a module between several files, and have all the code imported via a single 'require'?
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<arrubin> except: Typically you create a file that does exactly that.
danfo_ has joined #ruby
<GaryOak_> except: that's just like a gem
reinaldob has joined #ruby
n008f4g_ has quit [Ping timeout: 252 seconds]
brb3 has quit [Client Quit]
duncannz has quit [Ping timeout: 265 seconds]
n80_ has joined #ruby
<except> i am, in fact, building a gem. what i would like to do is something like: require 'mymodule', and the directory structure to look like lib/mymodule.rb, lib/mymodule/part1.rb, lib/mymodule/part2.rb, etc.
<GaryOak_> except: if you look at some other gems, they are truly outrageous, and you can see how they structure things
<except> or something similar
<except> GaryOak_: good point. thank you
<GaryOak_> this is a pretty good starting point for writing a gem
nanoyak has joined #ruby
<bradland> except: yes, at the top of lib/mymodule.rb, you'd require all your individual components from there
mary5030 has quit [Ping timeout: 255 seconds]
nanoyak has quit [Remote host closed the connection]
<bradland> so when someone does `require 'mymodule'`, your gem performs all the loading necessary
rbennacer has quit [Remote host closed the connection]
danfo_ has quit [Client Quit]
reinaldob has quit [Ping timeout: 252 seconds]
nanoyak has joined #ruby
<except> bradland: okay! i had no idea it was that easy. thank you
doodlehaus has quit [Remote host closed the connection]
mjuszczak has quit []
<bradland> sure
<bradland> some gems use a modular pattern too
<bradland> where you'd do something like `require 'mymodule/all'` to require everything
thumpba has quit [Remote host closed the connection]
<bradland> that's only neccessary if your gem is very large though
<except> up until now i've been using the default skeleton that bundle gem creates. but it's starting to get a little hairy...
Musashi007 has quit [Quit: Musashi007]
<bradland> yeah, you'll definitely need to expand on it a bit
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<bradland> be sure to follow the "naming conventions" they specify
<bradland> they're pretty good
ptrrr has quit [Quit: ptrrr]
<bradland> so, when you have lib/mymodule/part1.rb, it should correspond to the appropriate namespace in your app
asmodlol has joined #ruby
zacstewart has quit [Ping timeout: 272 seconds]
MartynKeigher has quit [Read error: Connection reset by peer]
<bradland> except: it's explained at the top of this document (sort of) http://guides.rubygems.org/name-your-gem/
<except> excellent, that was my next question. thank you!
thumpba has joined #ruby
sinkensabe has joined #ruby
jwilson__ has joined #ruby
kith_ has joined #ruby
jenrzzz_ has joined #ruby
fella6s has joined #ruby
Sgeo_ has joined #ruby
tenseiten has joined #ruby
tenseiten has quit [Changing host]
tenseiten has joined #ruby
nanoyak_ has joined #ruby
shanlar has quit [Read error: Connection reset by peer]
Vile` has quit [Read error: Connection reset by peer]
joshbamboo2 has quit [Read error: Connection reset by peer]
klaas has quit [Read error: Connection reset by peer]
voodoofish430 has quit [Read error: Connection reset by peer]
Luyt__ has quit [Read error: Connection reset by peer]
arrubin has quit [Ping timeout: 244 seconds]
ramblinpeck_ has quit [Ping timeout: 244 seconds]
MrSparkle has quit [Read error: Connection reset by peer]
ducklobster has quit [Ping timeout: 244 seconds]
daynaskully has quit [Ping timeout: 244 seconds]
moshee has quit [Ping timeout: 244 seconds]
icedp has quit [Ping timeout: 244 seconds]
mocchi has quit [Ping timeout: 244 seconds]
s_e has quit [Ping timeout: 244 seconds]
androidbruce has quit [Ping timeout: 244 seconds]
skinny_much has quit [Ping timeout: 244 seconds]
DanKnox has quit [Ping timeout: 244 seconds]
OliverTynes has quit [Read error: Connection reset by peer]
charles81 has quit [Read error: Connection reset by peer]
Deele has quit [Ping timeout: 244 seconds]
erichmenge has quit [Ping timeout: 244 seconds]
peeja has quit [Ping timeout: 244 seconds]
warreng has quit [Ping timeout: 244 seconds]
Nilium has quit [Ping timeout: 244 seconds]
marens has quit [Remote host closed the connection]
deepy has quit [Ping timeout: 244 seconds]
tskogberg has quit [Ping timeout: 244 seconds]
haroldwu has quit [Ping timeout: 244 seconds]
Gate has quit [Ping timeout: 244 seconds]
orionstein has quit [Ping timeout: 244 seconds]
inukshuk has quit [Ping timeout: 244 seconds]
livcd has quit [Ping timeout: 244 seconds]
ctrlrsf has quit [Ping timeout: 244 seconds]
zmyrgel has quit [Ping timeout: 244 seconds]
lorn_ has quit [Ping timeout: 244 seconds]
musl has quit [Ping timeout: 244 seconds]
olekenneth has quit [Ping timeout: 244 seconds]
jnylen has quit [Ping timeout: 244 seconds]
Kilo`byte has quit [Ping timeout: 244 seconds]
pgmcgee has quit [Ping timeout: 244 seconds]
joast has quit [Ping timeout: 244 seconds]
reprazent has quit [Ping timeout: 244 seconds]
xsdg has quit [Ping timeout: 244 seconds]
crazed has quit [Ping timeout: 244 seconds]
tommylommykins has quit [Ping timeout: 244 seconds]
ZYPP has quit [Ping timeout: 244 seconds]
tenseiten has quit [*.net *.split]
cphrmky has quit [*.net *.split]
Guest29161 has quit [*.net *.split]
blackmesa has quit [*.net *.split]
kl has quit [*.net *.split]
aef has quit [*.net *.split]
hooper has quit [*.net *.split]
Trynemjoel has quit [*.net *.split]
_ixti_ has quit [*.net *.split]
Techguy305 has quit [*.net *.split]
rabeldable has quit [*.net *.split]
Fire-Dragon-DoL has quit [*.net *.split]
pardusf has quit [*.net *.split]
devdazed has quit [*.net *.split]
josephndenton has quit [*.net *.split]
aep has quit [*.net *.split]
WillAmes has quit [*.net *.split]
chipotle has quit [*.net *.split]
jzigmund has quit [*.net *.split]
axisys has quit [*.net *.split]
lady3bean has quit [*.net *.split]
ta has quit [*.net *.split]
malcolmva has quit [*.net *.split]
__main__ has quit [*.net *.split]
Alina-malina has quit [*.net *.split]
benlakey_ has quit [*.net *.split]
rfv has quit [*.net *.split]
clauswitt has quit [*.net *.split]
fearoffish has quit [*.net *.split]
alexherbo2 has quit [*.net *.split]
ValicekB has quit [*.net *.split]
rikai has quit [*.net *.split]
adam| has quit [*.net *.split]
MyMind has quit [*.net *.split]
Platini has quit [*.net *.split]
Zackio has quit [*.net *.split]
xMopxShell has quit [*.net *.split]
blackgoat has quit [*.net *.split]
alekst_ has quit [*.net *.split]
grumpycat has quit [*.net *.split]
diegok has quit [*.net *.split]
contradictioned has quit [*.net *.split]
mist has quit [*.net *.split]
p8952 has quit [*.net *.split]
brandon__ has quit [*.net *.split]
kotk has quit [*.net *.split]
apeiros_ has quit [*.net *.split]
vlad_starkov has quit [*.net *.split]
zonetti has quit [*.net *.split]
gnarf has quit [*.net *.split]
nitrix has quit [*.net *.split]
Cat_1 has quit [*.net *.split]
hanmac has quit [*.net *.split]
madhatter has quit [*.net *.split]
willgorman has quit [*.net *.split]
jamo_ has quit [*.net *.split]
michael_mbp has quit [*.net *.split]
mbr has quit [*.net *.split]
crome has quit [*.net *.split]
jxport has quit [*.net *.split]
Sou|cutter has quit [*.net *.split]
klap has quit [*.net *.split]
Esya has quit [*.net *.split]
marienz has quit [*.net *.split]
Sgeo_ has quit [*.net *.split]
FooMunki_ has quit [*.net *.split]
icbm_ has quit [*.net *.split]
gtrak has quit [*.net *.split]
giuseppesolinas_ has quit [*.net *.split]
swistak35 has quit [*.net *.split]
spider-mario has quit [*.net *.split]
jschoolcraft has quit [*.net *.split]
lxsameer has quit [*.net *.split]
jonathanwallace has quit [*.net *.split]
cpt_yossarian has quit [*.net *.split]
wang has quit [*.net *.split]
iceden has quit [*.net *.split]
rigel has quit [*.net *.split]
hvxgr has quit [*.net *.split]
adambeynon has quit [*.net *.split]
ballPointPenguin has quit [*.net *.split]
marcoamorales has quit [*.net *.split]
CMAXW_ has quit [*.net *.split]
akitada has quit [*.net *.split]
keelerm has quit [*.net *.split]
sivoais has quit [*.net *.split]
Prawnzy has quit [*.net *.split]
mattp__ has quit [*.net *.split]
cHarNe2 has quit [*.net *.split]
rkjaer has quit [*.net *.split]
mbeasley has quit [*.net *.split]
okic has quit [*.net *.split]
destructure has quit [*.net *.split]
Xoro has quit [*.net *.split]
Skelz0r has quit [*.net *.split]
Dreamer3 has quit [*.net *.split]
eval-in has quit [*.net *.split]
pozican has quit [*.net *.split]
akkad has quit [*.net *.split]
jouty has quit [*.net *.split]
Patteh has quit [*.net *.split]
mhenrixon has quit [*.net *.split]
napcae has quit [*.net *.split]
smooth_penguin has quit [*.net *.split]
Gnubie_ has quit [*.net *.split]
chishiki has quit [*.net *.split]
majeure has quit [*.net *.split]
thomas has quit [*.net *.split]
headius has quit [*.net *.split]
uber has quit [*.net *.split]
zacts has quit [*.net *.split]
Blue_Ice_ has quit [*.net *.split]
yxhuvud has quit [*.net *.split]
Apocalypse has quit [*.net *.split]
nerdman_ has quit [*.net *.split]
ericwood has quit [*.net *.split]
segv has quit [*.net *.split]
dandrade has quit [*.net *.split]
anekos has quit [*.net *.split]
ReinH has quit [*.net *.split]
PaulePanter has quit [*.net *.split]
snzmn has quit [*.net *.split]
ph8 has quit [*.net *.split]
magicien_ has quit [*.net *.split]
suy has quit [*.net *.split]
Liothen has quit [*.net *.split]
Schmidt has quit [*.net *.split]
Bish has quit [*.net *.split]
Jamo has quit [*.net *.split]
Koshian has quit [*.net *.split]
rfi has quit [*.net *.split]
DylanJ has quit [*.net *.split]
elaptics`away has quit [*.net *.split]
inspectah_stack has quit [*.net *.split]
fold has quit [*.net *.split]
lsone has quit [*.net *.split]
railis has quit [*.net *.split]
joeyjones has quit [*.net *.split]
David_Miller has quit [*.net *.split]
philtr has quit [*.net *.split]
GreatSUN has quit [*.net *.split]
borodin_ has quit [*.net *.split]
staticshock has quit [*.net *.split]
jwilson__ has quit [*.net *.split]
klmlfl has quit [*.net *.split]
deric_skibotn has quit [*.net *.split]
Thrillberg has quit [*.net *.split]
kiyote23 has quit [*.net *.split]
oleo has quit [*.net *.split]
dopie has quit [*.net *.split]
n80 has quit [*.net *.split]
mikemac has quit [*.net *.split]
fryguy9 has quit [*.net *.split]
francisfish has quit [*.net *.split]
bluehavana has quit [*.net *.split]
JimmyNeutron has quit [*.net *.split]
yvemath has quit [*.net *.split]
alol_ has quit [*.net *.split]
Nanuq has quit [*.net *.split]
RealMarc has quit [*.net *.split]
Synthead has quit [*.net *.split]
scottyob has quit [*.net *.split]
jxf has quit [*.net *.split]
frankS2 has quit [*.net *.split]
kyote has quit [*.net *.split]
thesheff17 has quit [*.net *.split]
Biohazard has quit [*.net *.split]
kapowaz_ has quit [*.net *.split]
psmolen has quit [*.net *.split]
vjt has quit [*.net *.split]
jalcine has quit [*.net *.split]
sfr^ has quit [*.net *.split]
ips|malc has quit [*.net *.split]
sparr has quit [*.net *.split]
im0b has quit [*.net *.split]
Guest85414______ has quit [*.net *.split]
BombStrike has quit [*.net *.split]
TrafficMan has quit [*.net *.split]
eythorium has quit [*.net *.split]
monsieurp has quit [*.net *.split]
gilmour has quit [*.net *.split]
juni0r has quit [*.net *.split]
tekacs has quit [*.net *.split]
Fraeon has quit [*.net *.split]
wjimenez5271 has quit [*.net *.split]
yosafbridge has quit [*.net *.split]
justinmcp_ has quit [*.net *.split]
lepht has quit [*.net *.split]
ohcibi has quit [*.net *.split]
bkutil_ has quit [*.net *.split]
IceDragon has quit [*.net *.split]
skyjumper has quit [*.net *.split]
DefV has quit [*.net *.split]
JaTochNietDan has quit [*.net *.split]
{xenomorph} has quit [*.net *.split]
Igneous has quit [*.net *.split]
zz_Haiiro has quit [*.net *.split]
twistedpixels has quit [*.net *.split]
phrozen77 has quit [*.net *.split]
ujjain has quit [*.net *.split]
tessi_zz has quit [*.net *.split]
tris has quit [*.net *.split]
galeido has quit [*.net *.split]
asuka has quit [*.net *.split]
l3kn has quit [*.net *.split]
kloeri has quit [*.net *.split]
nug has quit [*.net *.split]
lupine has quit [*.net *.split]
BackEndCoder has quit [*.net *.split]
zly has quit [*.net *.split]
tacotaco_ has quit [*.net *.split]
shtirlic has quit [*.net *.split]
lpaste has quit [*.net *.split]
danoo_ has quit [*.net *.split]
heyimwill has quit [*.net *.split]
Nightmare has quit [*.net *.split]
alem0lars has quit [*.net *.split]
blackjid has quit [*.net *.split]
twohlix_ has quit [*.net *.split]
ght has quit [*.net *.split]
ddv has quit [*.net *.split]
adamholt has quit [*.net *.split]
GaryOak_ has quit [*.net *.split]
cocotton has quit [*.net *.split]
antgel has quit [*.net *.split]
x1337807_ has quit [*.net *.split]
maletor has quit [*.net *.split]
kirun has quit [*.net *.split]
kayloos has quit [*.net *.split]
jokke has quit [*.net *.split]
kennym has quit [*.net *.split]
tjohnson has quit [*.net *.split]
whoisjake has quit [*.net *.split]
_5kg has quit [*.net *.split]
Spami has quit [*.net *.split]
bestie has quit [*.net *.split]
Pupeno has quit [*.net *.split]
doritostains has quit [*.net *.split]
BTRE has quit [*.net *.split]
wmoxam has quit [*.net *.split]
scottstamp has quit [*.net *.split]
v0n has quit [*.net *.split]
drkush has quit [*.net *.split]
atmosx has quit [*.net *.split]
exadeci has quit [*.net *.split]
ElderFain has quit [*.net *.split]
Cork has quit [*.net *.split]
majoh has quit [*.net *.split]
slash_nick has quit [*.net *.split]
RTG` has quit [*.net *.split]
eregon has quit [*.net *.split]
crantron has quit [*.net *.split]
j2p2 has quit [*.net *.split]
F__i__L has quit [*.net *.split]
Moter8 has quit [*.net *.split]
oddraisin has quit [*.net *.split]
hendricius has quit [*.net *.split]
marahin has quit [*.net *.split]
lifenoodles has quit [*.net *.split]
Mongey has quit [*.net *.split]
nkts has quit [*.net *.split]
kevr has quit [*.net *.split]
vieq has quit [*.net *.split]
bennyklotz has quit [*.net *.split]
Sp4rKy has quit [*.net *.split]
epitron has quit [*.net *.split]
cn28h has quit [*.net *.split]
mclee has quit [*.net *.split]
kenichi has quit [*.net *.split]
timmow has quit [*.net *.split]
kevinfagan has quit [*.net *.split]
dredozubov has quit [*.net *.split]
aarwine has quit [*.net *.split]
_br_ has quit [*.net *.split]
_chs_ has quit [*.net *.split]
Meeh has quit [*.net *.split]
ryotarai has quit [*.net *.split]
gf3 has quit [*.net *.split]
dhruvasagar has quit [*.net *.split]
ruisantos has quit [*.net *.split]
yeltzooo9 has quit [*.net *.split]
bmn has quit [*.net *.split]
programmerq has quit [*.net *.split]
matled has quit [*.net *.split]
Xnfu has quit [*.net *.split]
BaNzoune1 has quit [*.net *.split]
Anarch has quit [*.net *.split]
mozzarella has quit [*.net *.split]
max96at|off has quit [*.net *.split]
ponyofde1th has quit [*.net *.split]
canton7 has quit [*.net *.split]
sirecote has quit [*.net *.split]
Pro| has quit [*.net *.split]
kith_ has quit [*.net *.split]
timanema has quit [*.net *.split]
ellisTAA has quit [*.net *.split]
mleung has quit [*.net *.split]
ndrei has quit [*.net *.split]
giuseppesolinas has quit [*.net *.split]
snath has quit [*.net *.split]
ursooperduper has quit [*.net *.split]
adriancb has quit [*.net *.split]
yalue has quit [*.net *.split]
riceandbeans has quit [*.net *.split]
radic has quit [*.net *.split]
gregf_ has quit [*.net *.split]
claw__ has quit [*.net *.split]
SHyx0rmZ has quit [*.net *.split]
camilasan has quit [*.net *.split]
zenspider has quit [*.net *.split]
tiagonobre_ has quit [*.net *.split]
PhilK has quit [*.net *.split]
qpls has quit [*.net *.split]
ltd has quit [*.net *.split]
Adran has quit [*.net *.split]
j416 has quit [*.net *.split]
shinnya has quit [*.net *.split]
urtokk has quit [*.net *.split]
phreax has quit [*.net *.split]
dfedde has quit [*.net *.split]
gomix has quit [*.net *.split]
kiki_lamb has quit [*.net *.split]
Roa has quit [*.net *.split]
rgs has quit [*.net *.split]
sn0wb1rd has quit [*.net *.split]
_5moufl has quit [*.net *.split]
Gadgetoid has quit [*.net *.split]
aob_ has quit [*.net *.split]
mr_rich102 has quit [*.net *.split]
bakis has quit [*.net *.split]
pibby has quit [*.net *.split]
adeponte has quit [*.net *.split]
davidcelis has quit [*.net *.split]
jeekl has quit [*.net *.split]
oz has quit [*.net *.split]
Olipro has quit [*.net *.split]
bl4ckdu5t has quit [*.net *.split]
mnemon has quit [*.net *.split]
nuck has quit [*.net *.split]
bzeu has quit [*.net *.split]
Zai00 has quit [*.net *.split]
psy_ has quit [*.net *.split]
revw has quit [*.net *.split]
amystephe has quit [*.net *.split]
gccostabr has quit [*.net *.split]
apeiros has quit [*.net *.split]
tus has quit [*.net *.split]
speakingcode has quit [*.net *.split]
Mon_Ouie has quit [*.net *.split]
pandaant has quit [*.net *.split]
M-Technic has quit [*.net *.split]
deavid has quit [*.net *.split]
Mekkis has quit [*.net *.split]
RDash has quit [*.net *.split]
sonOfRa has quit [*.net *.split]
nanashiRei has quit [*.net *.split]
wasamasa has quit [*.net *.split]
jhass has quit [*.net *.split]
Affix has quit [*.net *.split]
jenrzzz_ has quit [*.net *.split]
n80_ has quit [*.net *.split]
michaeldeol has quit [*.net *.split]
Prometheian has quit [*.net *.split]
fandi has quit [*.net *.split]
kaspertidemann has quit [*.net *.split]
pdoherty has quit [*.net *.split]
pietr0 has quit [*.net *.split]
gr33n7007h has quit [*.net *.split]
einarj has quit [*.net *.split]
davedev2_ has quit [*.net *.split]
cajone has quit [*.net *.split]
Xiti has quit [*.net *.split]
nateberkopec has quit [*.net *.split]
bigkevmcd has quit [*.net *.split]
unclouded has quit [*.net *.split]
user_name_boxx has quit [*.net *.split]
skmp__ has quit [*.net *.split]
troter__ has quit [*.net *.split]
mroth has quit [*.net *.split]
AdamMeghji has quit [*.net *.split]
gregf has quit [*.net *.split]
Eiam has quit [*.net *.split]
miah has quit [*.net *.split]
SirFunk has quit [*.net *.split]
saltsa has quit [*.net *.split]
avelldiroll has quit [*.net *.split]
Nowaker has quit [*.net *.split]
JStoker has quit [*.net *.split]
eam has quit [*.net *.split]
DarthGandalf has quit [*.net *.split]
noname001 has quit [*.net *.split]
cassianoleal has quit [*.net *.split]
fredsir has quit [*.net *.split]
musicmatze has quit [*.net *.split]
yo61 has quit [*.net *.split]
pjaspers has quit [*.net *.split]
iwishiwerearobot has quit [*.net *.split]
surs has quit [*.net *.split]
Tarential has quit [*.net *.split]
soahccc has quit [*.net *.split]
cjk101010 has quit [*.net *.split]
genta has quit [*.net *.split]
iamayam has quit [*.net *.split]
sindork has quit [*.net *.split]
yasu has quit [*.net *.split]
BeLucid_ has quit [*.net *.split]
neoice has quit [*.net *.split]
idoru has quit [*.net *.split]
ernetas has quit [*.net *.split]
kt2 has quit [*.net *.split]
Spleeze has quit [*.net *.split]
RowdyChildren has quit [*.net *.split]
dickoff has quit [*.net *.split]
fella6s has quit [*.net *.split]
Treyt22 has quit [*.net *.split]
AlSquire has quit [*.net *.split]
ddd has quit [*.net *.split]
olivier_bK has quit [*.net *.split]
robertt_dex has quit [*.net *.split]
Senjai has quit [*.net *.split]
dc has quit [*.net *.split]
gizmore has quit [*.net *.split]
d10n-work has quit [*.net *.split]
jerius has quit [*.net *.split]
visof has quit [*.net *.split]
hgl has quit [*.net *.split]
kstuart has quit [*.net *.split]
bashusr has quit [*.net *.split]
soulcake has quit [*.net *.split]
Caius has quit [*.net *.split]
Gotbadger has quit [*.net *.split]
atom3 has quit [*.net *.split]
peckermanzzz has quit [*.net *.split]
jenrzzz has quit [*.net *.split]
dling has quit [*.net *.split]
Pharaoh2 has quit [*.net *.split]
omosoj has quit [*.net *.split]
genpaku has quit [*.net *.split]
lodgenbd has quit [*.net *.split]
lolmaus has quit [*.net *.split]
jack_rabbit has quit [*.net *.split]
centrx has quit [*.net *.split]
brandon_ has quit [*.net *.split]
icebourg has quit [*.net *.split]
crazydiamond has quit [*.net *.split]
CamonZ has quit [*.net *.split]
toertore has quit [*.net *.split]
Asher has quit [*.net *.split]
dideler has quit [*.net *.split]
unreal has quit [*.net *.split]
seitensei has quit [*.net *.split]
kies has quit [*.net *.split]
jpinnix_____ has quit [*.net *.split]
jrunning_ has quit [*.net *.split]
rkornmeyer has quit [*.net *.split]
julieeharshaw has quit [*.net *.split]
tchebb has quit [*.net *.split]
QKO has quit [*.net *.split]
jwilson_ has quit [*.net *.split]
xlii has quit [*.net *.split]
xrlabs has quit [*.net *.split]
sarlalian has quit [*.net *.split]
YamakasY has quit [*.net *.split]
hackeron has quit [*.net *.split]
troyready has quit [*.net *.split]
ukd1 has quit [*.net *.split]
ccooke has quit [*.net *.split]
pl1ght has quit [*.net *.split]
Dr3amc0d3r|away has quit [*.net *.split]
Quintasan has quit [*.net *.split]
gkra has quit [*.net *.split]
Riking has quit [*.net *.split]
clamstar has quit [*.net *.split]
jsaak has quit [*.net *.split]
waxjar has quit [*.net *.split]
TheMoonMaster has quit [*.net *.split]
crazysim has quit [*.net *.split]
jasonmit has quit [*.net *.split]
palantir_ has quit [*.net *.split]
jerrett has quit [*.net *.split]
guardian has quit [*.net *.split]
sptq has quit [*.net *.split]
hasB4K has quit [*.net *.split]
KramerC has quit [*.net *.split]
javawizard has quit [*.net *.split]
FDj_ has quit [*.net *.split]
sjohnsen has quit [*.net *.split]
ozzloy has quit [*.net *.split]
DrForr has quit [*.net *.split]
crodas has quit [*.net *.split]
zeusmns has quit [*.net *.split]
papercode has quit [*.net *.split]
cout has quit [*.net *.split]
WhereIsMySpoon_ has quit [*.net *.split]
prasselpikachu has quit [*.net *.split]
mahlon has quit [*.net *.split]
thoraxe has quit [*.net *.split]
preller has quit [*.net *.split]
angryzor has quit [*.net *.split]
synfin has quit [*.net *.split]
jmaister has quit [*.net *.split]
Kovensky has quit [*.net *.split]
finges has quit [*.net *.split]
Muz has quit [*.net *.split]
FifthWall has quit [*.net *.split]
pizzaops has quit [*.net *.split]
ahuman has quit [*.net *.split]
xybre has quit [*.net *.split]
sweeper has quit [*.net *.split]
Scient has quit [*.net *.split]
IceyEC_ has quit [*.net *.split]
okinomo_ has quit [*.net *.split]
n88 has quit [*.net *.split]
TheNumb has quit [*.net *.split]
mame1 has quit [*.net *.split]
KillerFox has quit [*.net *.split]
snapcase has quit [*.net *.split]
davispuh has quit [*.net *.split]
Brando753 has quit [*.net *.split]
havenwood has quit [*.net *.split]
St1gma has quit [*.net *.split]
iamninja has quit [*.net *.split]
DrCode has quit [*.net *.split]
St_Marx has quit [*.net *.split]
testcore has quit [*.net *.split]
zwer has quit [*.net *.split]
ishikawa has quit [*.net *.split]
Fusl has quit [*.net *.split]
tomaw has quit [*.net *.split]
Kricir_ has quit [*.net *.split]
j4d has quit [*.net *.split]
ReachingFarr has quit [*.net *.split]
king313 has quit [*.net *.split]
patrick99e99 has quit [*.net *.split]
CustosLimen has quit [*.net *.split]
tesaf has quit [*.net *.split]
fella5s has quit [*.net *.split]
vdmo has quit [*.net *.split]
marr has quit [*.net *.split]
frogsy has quit [*.net *.split]
scpike has quit [*.net *.split]
cavity has quit [*.net *.split]
tzero has quit [*.net *.split]
weaksauce has quit [*.net *.split]
vt102 has quit [*.net *.split]
wlanboy has quit [*.net *.split]
Darryl__ has quit [*.net *.split]
NightMonkey has quit [*.net *.split]
bjeanes_ has quit [*.net *.split]
pusewicz has quit [*.net *.split]
dukedave has quit [*.net *.split]
shevy has quit [*.net *.split]
roger_rabbit has quit [*.net *.split]
crdpink has quit [*.net *.split]
bcavileer_ has quit [*.net *.split]
renier_ has quit [*.net *.split]
Nahra has quit [*.net *.split]
bahar has quit [*.net *.split]
razieliyo has quit [*.net *.split]
certainty has quit [*.net *.split]
tziom has quit [*.net *.split]
fumduq has quit [*.net *.split]
kke has quit [*.net *.split]
weeb1e has quit [*.net *.split]
Sgeo has quit [*.net *.split]
mosez has quit [*.net *.split]
hfp has quit [*.net *.split]
Drakevr has quit [*.net *.split]
nevans has quit [*.net *.split]
MatthewsFace has quit [*.net *.split]
dazeddev has quit [*.net *.split]
Cope has quit [*.net *.split]
sanguisdex has quit [*.net *.split]
Morrolan has quit [*.net *.split]
retornam has quit [*.net *.split]
chuck has quit [*.net *.split]
rcs has quit [*.net *.split]
phreakocious has quit [*.net *.split]
cescalante has quit [*.net *.split]
_KaszpiR_ has quit [*.net *.split]
shadeslayer has quit [*.net *.split]
Davey has quit [*.net *.split]
jayne has quit [*.net *.split]
Ulrike_Rayne has quit [*.net *.split]
TTilus has quit [*.net *.split]
maxmanders_ has quit [*.net *.split]
jriese has quit [*.net *.split]
nomadic has quit [*.net *.split]
kith has quit [*.net *.split]
sente has quit [*.net *.split]
shaman42 has quit [*.net *.split]
chihhsin has quit [*.net *.split]
camt has quit [*.net *.split]
thumpba has quit [*.net *.split]
asmodlol has quit [*.net *.split]
nanoyak has quit [*.net *.split]
hmsimha has quit [*.net *.split]
yokel has quit [*.net *.split]
baweaver has quit [*.net *.split]
conniemj_ has quit [*.net *.split]
wallerdev has quit [*.net *.split]
beef-wellington has quit [*.net *.split]
dfinninger has quit [*.net *.split]
dblessing has quit [*.net *.split]
zorak8 has quit [*.net *.split]
Tricon has quit [*.net *.split]
diegoviola has quit [*.net *.split]
neoxquick has quit [*.net *.split]
Megtastique has quit [*.net *.split]
bricker has quit [*.net *.split]
gattie has quit [*.net *.split]
s2013 has quit [*.net *.split]
mrmargolis has quit [*.net *.split]
bronak has quit [*.net *.split]
DivineEntity has quit [*.net *.split]
Axy has quit [*.net *.split]
ItSANgo has quit [*.net *.split]
jimmyhoughjr has quit [*.net *.split]
braincrash has quit [*.net *.split]
fgo_ has quit [*.net *.split]
theRoUS has quit [*.net *.split]
djbender has quit [*.net *.split]
ixx has quit [*.net *.split]
andrewstewart has quit [*.net *.split]
nickjj has quit [*.net *.split]
tmoore_ has quit [*.net *.split]
zrl has quit [*.net *.split]
PierreRambaud has quit [*.net *.split]
porfa has quit [*.net *.split]
patronus has quit [*.net *.split]
parus_ has quit [*.net *.split]
Obfuscate has quit [*.net *.split]
aboudreault has quit [*.net *.split]
shortdudey123 has quit [*.net *.split]
RandyT has quit [*.net *.split]
electrical has quit [*.net *.split]
incomprehensibly has quit [*.net *.split]
gfawcettpq has quit [*.net *.split]
go|dfish has quit [*.net *.split]
gremax has quit [*.net *.split]
Azure has quit [*.net *.split]
lele has quit [*.net *.split]
Kharma has quit [*.net *.split]
cibs has quit [*.net *.split]
minecoins has quit [*.net *.split]
pontiki has quit [*.net *.split]
larissa has quit [*.net *.split]
chrishough has quit [*.net *.split]
shime has quit [*.net *.split]
m8 has quit [*.net *.split]
red_horned_rihno has quit [*.net *.split]
apurcell has quit [*.net *.split]
govg has quit [*.net *.split]
jordanm has quit [*.net *.split]
avril14th has quit [*.net *.split]
jefus__ has quit [*.net *.split]
dcarmich has quit [*.net *.split]
yeticry has quit [*.net *.split]
bradland has quit [*.net *.split]
robustus has quit [*.net *.split]
xtsee has quit [*.net *.split]
peterhu has quit [*.net *.split]
shellfu_afk has quit [*.net *.split]
jaredrhine has quit [*.net *.split]
thejoecarroll has quit [*.net *.split]
chrisseaton has quit [*.net *.split]
jblancett has quit [*.net *.split]
casual_ has quit [*.net *.split]
amitchellbullard has quit [*.net *.split]
Killerkeksdose has quit [*.net *.split]
MissionCritical has quit [*.net *.split]
TinkerTyper has quit [*.net *.split]
bhaak has quit [*.net *.split]
Doc_X has quit [*.net *.split]
Takumo has quit [*.net *.split]
byaruhaf_ has quit [*.net *.split]
jakesyl_insomnia has quit [*.net *.split]
sumark has quit [*.net *.split]
fumk has quit [*.net *.split]
bdamos has quit [*.net *.split]
bascht has quit [*.net *.split]
jidar has quit [*.net *.split]
drizz has quit [*.net *.split]
ejnahc has quit [*.net *.split]
spacemud has quit [*.net *.split]
mgorbach has quit [*.net *.split]
edwardly has quit [*.net *.split]
hostess has quit [*.net *.split]
socash has quit [*.net *.split]
LiquidInsect has quit [*.net *.split]
devyn has quit [*.net *.split]
susmus has quit [*.net *.split]
tekk has quit [*.net *.split]
jbw has quit [*.net *.split]
krisleech has quit [*.net *.split]
ghormoon has quit [*.net *.split]
kaspergrubbe has quit [*.net *.split]
stonecolddevin has quit [*.net *.split]
lynxman has quit [*.net *.split]
callumacrae has quit [*.net *.split]
cbetta has quit [*.net *.split]
Juanchito has quit [*.net *.split]
Ikri has quit [*.net *.split]
jrdnull has quit [*.net *.split]
zalmoxes has quit [*.net *.split]
Afforess has quit [*.net *.split]
sfiggins has quit [*.net *.split]
LRgraham has quit [*.net *.split]
clocKwize has quit [*.net *.split]
matti has quit [*.net *.split]
codehotter has quit [*.net *.split]
Karunamon has quit [*.net *.split]
pygospa has quit [*.net *.split]
hdrv has quit [*.net *.split]
bankair has quit [*.net *.split]
AlyssaDaemon has quit [*.net *.split]
ereslibre_laptop has quit [*.net *.split]
cephalostrum_ has quit [*.net *.split]
mburns has quit [*.net *.split]
seanmarcia has quit [*.net *.split]
emdub_ has quit [*.net *.split]
Rennex has quit [*.net *.split]
bier has quit [*.net *.split]
ob has quit [*.net *.split]
irk has quit [*.net *.split]
Kamilion has quit [*.net *.split]
zumbi has quit [*.net *.split]
ptierno has quit [*.net *.split]
rtl has quit [*.net *.split]
three18ti has quit [*.net *.split]
cherwin has quit [*.net *.split]
danshultz has quit [*.net *.split]
jtperreault has quit [*.net *.split]
stylus has quit [*.net *.split]
mumblerit has quit [*.net *.split]
faulkner has quit [*.net *.split]
ged has quit [*.net *.split]
drakhu has quit [*.net *.split]
mjulian has quit [*.net *.split]
nanoyak_ has quit [*.net *.split]
sinkensabe has quit [*.net *.split]
atomi has quit [*.net *.split]
Heskie has quit [*.net *.split]
djbkd has quit [*.net *.split]
pasv_ has quit [*.net *.split]
mikepack has quit [*.net *.split]
MuffinPimp has quit [*.net *.split]
billy_ran_away has quit [*.net *.split]
philwantsfish has quit [*.net *.split]
livingstn has quit [*.net *.split]
except has quit [*.net *.split]
dimaursu16 has quit [*.net *.split]
eka has quit [*.net *.split]
keen__________33 has quit [*.net *.split]
dyreshark has quit [*.net *.split]
scottymeuk has quit [*.net *.split]
queequeg1 has quit [*.net *.split]
Rylee has quit [*.net *.split]
mostlybadfly has quit [*.net *.split]
iml has quit [*.net *.split]
whoojemaflip has quit [*.net *.split]
spastorino has quit [*.net *.split]
uxp_ has quit [*.net *.split]
nisstyre has quit [*.net *.split]
swartwulf has quit [*.net *.split]
kaichanvong has quit [*.net *.split]
Aova has quit [*.net *.split]
daxroc has quit [*.net *.split]
zipkid has quit [*.net *.split]
SirCmpwn has quit [*.net *.split]
zemlya has quit [*.net *.split]
slick has quit [*.net *.split]
hfp_work has quit [*.net *.split]
dayid has quit [*.net *.split]
bri has quit [*.net *.split]
cantonic has quit [*.net *.split]
felixjet has quit [*.net *.split]
sea_local has quit [*.net *.split]
TheNet has quit [*.net *.split]
postmodern has quit [*.net *.split]
yfeldblum has quit [*.net *.split]
lkba has quit [*.net *.split]
towski_ has quit [*.net *.split]
AlexRussia has quit [*.net *.split]
iMe has quit [*.net *.split]
StevenX has quit [*.net *.split]
PanzerModern has quit [*.net *.split]
dualbus has quit [*.net *.split]
alexblom has quit [*.net *.split]
neersighted has quit [*.net *.split]
connor_goodwolf has quit [*.net *.split]
lsmola_ has quit [*.net *.split]
g-nom3 has quit [*.net *.split]
pwh has quit [*.net *.split]
LBRapid has quit [*.net *.split]
thatslifeson has quit [*.net *.split]
lamasnik has quit [*.net *.split]
BLuEGoD has quit [*.net *.split]
psyprus has quit [*.net *.split]
x3cion has quit [*.net *.split]
cnj has quit [*.net *.split]
KC9YDN has quit [*.net *.split]
Kruppe has quit [*.net *.split]
spectre256 has quit [*.net *.split]
roqo has quit [*.net *.split]
haasn has quit [Max SendQ exceeded]
TDJACR has quit [Max SendQ exceeded]
Klumben has quit [Max SendQ exceeded]
ggherdov has quit [Max SendQ exceeded]
skarn has quit [Max SendQ exceeded]
kalz has quit [Max SendQ exceeded]
suy|BNC is now known as suy
Deele has joined #ruby
tus has joined #ruby
thoraxe_ has joined #ruby
Brando753 has joined #ruby
fold has joined #ruby
KnownSyntax has joined #ruby
cpt_yossarian has joined #ruby
FifthWall has joined #ruby
Bish has joined #ruby
Trieste has quit [Max SendQ exceeded]
rakm has quit [Max SendQ exceeded]
RoryHughes has quit [Max SendQ exceeded]
GGMethos has quit [Max SendQ exceeded]
bauruine has quit [Max SendQ exceeded]
ZucchiniZe has quit [Max SendQ exceeded]
hellschreiber has quit [Max SendQ exceeded]
ConstantineXVI has quit [Max SendQ exceeded]
KnownSyntax has quit [Max SendQ exceeded]
Dwarf has quit [Max SendQ exceeded]
caveat- has quit [Max SendQ exceeded]
machty has quit [Max SendQ exceeded]
ikanobori_ has quit [Max SendQ exceeded]
Olipro has joined #ruby
elfuego has joined #ruby
nanoyak has joined #ruby
caveat- has joined #ruby
amitchellbullard has joined #ruby
jeregrine has quit [Max SendQ exceeded]
finges has joined #ruby
hellschreiber has joined #ruby
tesaf has joined #ruby
railis has joined #ruby
lsone has joined #ruby
SirCmpwn has joined #ruby
Aova has joined #ruby
dimaursu16 has joined #ruby
Fraeon has joined #ruby
JimmyNeutron has joined #ruby
davidcel- has joined #ruby
oleo has joined #ruby
avril14th has joined #ruby
Aova has joined #ruby
neoice has joined #ruby
davidcelis has joined #ruby
giuseppesolinas_ has joined #ruby
kloeri has joined #ruby
RoryHughes has joined #ruby
mosez has joined #ruby
Igneous has joined #ruby
TheMoonMaster has joined #ruby
monsieurp has joined #ruby
monsieurp has joined #ruby
monsieurp has quit [Changing host]
nisstyre has joined #ruby
jeekl has joined #ruby
alexblom has joined #ruby
smooth_penguin has joined #ruby
ta_ has joined #ruby
Igneous is now known as Guest28588
ReinH has joined #ruby
Spleeze has joined #ruby
krisleech has joined #ruby
bier has joined #ruby
Brando753 has quit [*.net *.split]
Takumo has joined #ruby
beneggett has joined #ruby
joeyjones has joined #ruby
tekk has joined #ruby
brandon_ has joined #ruby
n1ftyn8 has quit [Ping timeout: 244 seconds]
thejoecarroll has joined #ruby
bahar has joined #ruby
hyperdrive has joined #ruby
ob has joined #ruby
adamholt has joined #ruby
avelldiroll has joined #ruby
stylus has joined #ruby
Adran has joined #ruby
bascht has joined #ruby
jaxxstorm has quit [Ping timeout: 244 seconds]
maZtah has quit [Ping timeout: 244 seconds]
jbw has joined #ruby
mgorbach has joined #ruby
n1ftyn8 has joined #ruby
robustus has joined #ruby
jack_rabbit has joined #ruby
elektronaut has quit [Ping timeout: 244 seconds]
vcoinminer has quit [Ping timeout: 244 seconds]
bove_ has quit [Ping timeout: 244 seconds]
TinkerTyper has joined #ruby
Rennex has joined #ruby
atomi has joined #ruby
<bradland> i have a feeling no one read my pithy remarks because of that network issue
slick has joined #ruby
bri has joined #ruby
davispuh has joined #ruby
gregf has joined #ruby
mbeasley has joined #ruby
aob has joined #ruby
jaxxstorm has joined #ruby
weaksauce has joined #ruby
gregf is now known as Guest41220
LRgraham has joined #ruby
jsaak has joined #ruby
DrForr has joined #ruby
elektronaut has joined #ruby
susmus has joined #ruby
bauruine has joined #ruby
jeregrine has joined #ruby
bove_ has joined #ruby
hfp has joined #ruby
mumblerit has joined #ruby
vcoinminer has joined #ruby
jmaister has joined #ruby
mumblerit is now known as Guest18772
omosoj has joined #ruby
TrafficMan has joined #ruby
18VABY4HM has joined #ruby
Gate has joined #ruby
danshultz has joined #ruby
jidar has joined #ruby
tommylommykins has joined #ruby
ged_ has joined #ruby
preller_ has joined #ruby
mahlon_ has joined #ruby
PhilK has joined #ruby
moshee has joined #ruby
zmyrgel has joined #ruby
conniemj_ has joined #ruby
diegoviola has joined #ruby
RandyT has joined #ruby
braincrash has joined #ruby
except has joined #ruby
tzero has joined #ruby
nickjj has joined #ruby
parus_ has joined #ruby
Kharma has joined #ruby
Prawnzy has joined #ruby
bronak has joined #ruby
KramerC has joined #ruby
lamasnik has joined #ruby
majeure_ has joined #ruby
uxp has joined #ruby
asmodlol has joined #ruby
ItSANgo has joined #ruby
emdub has joined #ruby
marens has joined #ruby
DivineEntity has joined #ruby
rfi has joined #ruby
djbender has joined #ruby
zorak8 has joined #ruby
eythorium has joined #ruby
sivoais has joined #ruby
sweeper has joined #ruby
phreakocious has joined #ruby
jimmyhoughjr has joined #ruby
Kilo`byte has joined #ruby
dblessing has joined #ruby
ghormoon has joined #ruby
yalue has joined #ruby
PierreRambaud has joined #ruby
s2013 has joined #ruby
chuck_ has joined #ruby
keen__________33 has joined #ruby
ozzloy has joined #ruby
asuka_ has joined #ruby
porfa has joined #ruby
nevans has joined #ruby
fgo_ has joined #ruby
razieliyo has joined #ruby
Ulrike_Rayne has joined #ruby
aboudreault has joined #ruby
spacemud has joined #ruby
go|dfish has joined #ruby
xtsee has joined #ruby
ips|malc has joined #ruby
Azure has joined #ruby
andrewstewart has joined #ruby
sarlalian has joined #ruby
jtperreault has joined #ruby
mburns has joined #ruby
lele has joined #ruby
pibby has joined #ruby
roger_rabbit has joined #ruby
electrical has joined #ruby
zenspider_ has joined #ruby
gfawcettpq has joined #ruby
dopiee has joined #ruby
Megtastique has joined #ruby
Patteh__ has joined #ruby
fredsir has joined #ruby
pkrzywicki has joined #ruby
jaredrhine_ has joined #ruby
prasselpikachu has joined #ruby
hasB4K has joined #ruby
Axy has joined #ruby
ixx has joined #ruby
wallerdev has joined #ruby
gattie has joined #ruby
peterhu has joined #ruby
m8 has joined #ruby
g-nom3 has joined #ruby
philwantsfish1 has joined #ruby
leafybas_ has joined #ruby
AlSquirrel has joined #ruby
rcs has joined #ruby
robertt_dex has joined #ruby
jerrett has joined #ruby
PaulePanter has joined #ruby
edwardly has joined #ruby
bricker has joined #ruby
Urocyon has joined #ruby
reprazent has joined #ruby
byaruhaf has joined #ruby
jwilson_ has joined #ruby
snath has joined #ruby
zemlya has joined #ruby
cajone1 has joined #ruby
pietr0_ has joined #ruby
yosafbridge` has joined #ruby
ta_ has quit [Ping timeout: 243 seconds]
RowdyChildren has joined #ruby
musl_ has joined #ruby
oz has joined #ruby
connor_goodwolf has joined #ruby
shinnya has joined #ruby
sn0wb1rd has joined #ruby
Gadgetoid has joined #ruby
Riking has joined #ruby
radic has joined #ruby
faulkner has joined #ruby
AlyssaDaemon has joined #ruby
lynxman has joined #ruby
CrazyM4n has joined #ruby
dblessing has quit [Ping timeout: 252 seconds]
mleung has joined #ruby
Kruppe has joined #ruby
kaspergrubbe has joined #ruby
saltsa has joined #ruby
David_Miller has joined #ruby
_5moufl has joined #ruby
<bradland> anyone know the IRC user ReachingFarr?
MissionCritical has joined #ruby
ccooke has joined #ruby
camt has joined #ruby
n008f4g_ has joined #ruby
seanmarcia has joined #ruby
Apocalypse has joined #ruby
irk has joined #ruby
larissa has joined #ruby
visof has joined #ruby
nomadic has joined #ruby
qpls has joined #ruby
anekos has joined #ruby
phreax has joined #ruby
bakis has joined #ruby
three18ti has joined #ruby
miah has joined #ruby
Olipro has quit [Max SendQ exceeded]
maZtah has joined #ruby
ddd has joined #ruby
Liothen has joined #ruby
rtl has joined #ruby
aswen has joined #ruby
cephalostrum has joined #ruby
ukd1 has joined #ruby
keelerm has joined #ruby
rigel has joined #ruby
voodoofish430 has joined #ruby
DylanJ has joined #ruby
gomix has joined #ruby
machty has joined #ruby
cherwin has joined #ruby
billy_ran_away has joined #ruby
socash has joined #ruby
7JTAB3J1G has joined #ruby
Heskie has joined #ruby
7JTAB3JVX has joined #ruby
hfp_work has joined #ruby
dfedde has joined #ruby
clocKwize has joined #ruby
roqo has joined #ruby
bankair has joined #ruby
psyprus has joined #ruby
ikanobori_ has joined #ruby
chrisseaton has joined #ruby
akitada has joined #ruby
marcoamorales has joined #ruby
casual_ has joined #ruby
BLuEGoD has joined #ruby
LBRapid has joined #ruby
jayne_ has joined #ruby
tiagonobre_ has joined #ruby
Hijiri has joined #ruby
postmodern has joined #ruby
whoojemaflip has joined #ruby
mostlybadfly has joined #ruby
ZucchiniZe has joined #ruby
TDJACR has joined #ruby
zipkid has joined #ruby
crdpink2 has joined #ruby
yo61 has joined #ruby
KC9YDN has joined #ruby
daxroc has joined #ruby
GGMethos has joined #ruby
CMAXW_ has joined #ruby
OliverTynes has joined #ruby
skmp__ has joined #ruby
ballPointPenguin has joined #ruby
yfeldblum has joined #ruby
TheNet has joined #ruby
spectre256 has joined #ruby
jordanm has joined #ruby
jrdnull has joined #ruby
Juanchito has joined #ruby
neersighted has joined #ruby
AdamMeghji has joined #ruby
iml has joined #ruby
x3cion has joined #ruby
Klumben has joined #ruby
jblancett has joined #ruby
arrubin has joined #ruby
IrishGringo has joined #ruby
spastorino has joined #ruby
PanzerModern has joined #ruby
towski_ has joined #ruby
Ikri has joined #ruby
ob has left #ruby ["Buh Bye"]
snath has quit [Ping timeout: 264 seconds]
sivoais is now known as 7GHAAMI3M
aswen has quit [Max SendQ exceeded]
maZtah has quit [Max SendQ exceeded]
machty has quit [Max SendQ exceeded]
Azure has quit [Excess Flood]
lamasnik has quit [Max SendQ exceeded]
Liothen has quit [Changing host]
Liothen has joined #ruby
robertt_dex has quit [Excess Flood]
edwardly has quit [Changing host]
edwardly has joined #ruby
<bricker> s2013: I have the wikipedia article and the Date documentation open right now
<bricker> no mastery involved
Apocalypse has quit [Changing host]
Apocalypse has joined #ruby
nomadic has quit [Changing host]
nomadic has joined #ruby
moshee has quit [Changing host]
moshee has joined #ruby
KramerC has quit [Changing host]
KramerC has joined #ruby
hasB4K has quit [Changing host]
hasB4K has joined #ruby
TDJACR has quit [Max SendQ exceeded]
Klumben has quit [Max SendQ exceeded]
kenneth has joined #ruby
red_horned_rihno has joined #ruby
callumacrae has joined #ruby
jriese has joined #ruby
RowdyChildren has quit [Changing host]
RowdyChildren has joined #ruby
Nahra``` has joined #ruby
Riking has quit [Changing host]
Riking has joined #ruby
j416 has joined #ruby
scottymeuk has joined #ruby
<s2013> i see
ernetas has joined #ruby
yokel has joined #ruby
zemlya has quit [Changing host]
zemlya has joined #ruby
ukd1 is now known as Guest42233
kaspergrubbe is now known as Guest59810
bakis is now known as Guest58270
larissa is now known as Guest26611
m8 is now known as Guest45807
except is now known as Guest90951
Azure has joined #ruby
Fusl has joined #ruby
7GHAAMI3M has quit [Max SendQ exceeded]
<bricker> s2013:
skarn has joined #ruby
ConstantineXVI has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
<bricker> >> require 'time'; Time.now.utc.iso8601
<eval-in_> bricker => "2015-01-15T23:15:08Z" (https://eval.in/242840)
davispuh has quit [Ping timeout: 244 seconds]
neersighted is now known as Guest81859
jordanm is now known as Guest18670
tomaw has joined #ruby
<s2013> i think i got it now. i just did to_i
gattie has quit [Quit: Leaving...]
Klumben has joined #ruby
hostess has joined #ruby
<bricker> er
<bricker> okay
thumpba_ has joined #ruby
scpike has joined #ruby
devyn has joined #ruby
zacstewart has joined #ruby
maZtah has joined #ruby
Olipro has joined #ruby
Kamilion has joined #ruby
kloeri has quit [Quit: leaving]
robertt_dex has joined #ruby
<s2013> dont ask
thumpba__ has joined #ruby
xsdg has joined #ruby
cibs has joined #ruby
tskogberg has joined #ruby
drakhu has joined #ruby
tomaw has quit [Read error: Connection reset by peer]
skmp__ is now known as skmp___
govg has joined #ruby
Skelz0r has joined #ruby
dopiee is now known as dopie
machty has joined #ruby
govg is now known as Guest45195
<bradland> this shit is bananas
tomaw has joined #ruby
Brando753 has joined #ruby
TDJACR has joined #ruby
MarkPaulFletcher has joined #ruby
snapcase has joined #ruby
longfeet has joined #ruby
Drakevr has joined #ruby
josephndenton has joined #ruby
Guest28588 is now known as Igneous
n80 has joined #ruby
akitada is now known as akitada_
tiagonobre_ is now known as tiagonobre__
leafybas_ has quit [Remote host closed the connection]
kloeri has joined #ruby
thumpba_ has quit [Ping timeout: 264 seconds]
ValicekB has joined #ruby
Guest45807 has quit [Quit: Sto andando via]
lw has joined #ruby
snath has joined #ruby
lamasnik has joined #ruby
Eminence_ has joined #ruby
mostlybadfly is now known as mostlybadfly_
chihhsin has joined #ruby
zacstewart has quit [Ping timeout: 256 seconds]
Musashi007 has joined #ruby
<dopie> bradland, soooo i went with what you told me
<dopie> and i failed miserably
<dopie> it still gives the same error
Hijiri has quit [Ping timeout: 245 seconds]
robertt_dex has quit [Remote host closed the connection]
<dopie> BUG [f174cffd] Command: cd /var/www/blog/current && /usr/bin/env jekyll build
<dopie> DEBUG [f174cffd] /usr/bin/env: jekyll: No such file or directory
cantonic has joined #ruby
mjuszczak has joined #ruby
18VABY4HM has quit [Read error: Connection reset by peer]
<dopie> /home/mindblown/.rvm/gems/ruby-2.1.5/bin/jekyll
<dopie> is where its att
ishikawa has joined #ruby
77CAABZU1 has joined #ruby
1JTAABMSD has joined #ruby
urtokk has joined #ruby
bronson has joined #ruby
Dwarf has joined #ruby
thumpba has joined #ruby
<bradland> dopie: is jekyll installed through bundler?
goshdarnyou has joined #ruby
Guest26611 is now known as reisl
<bradland> try changing your execute line to `bundle exec jekyll build`
<bradland> er whatever command you're sending
<bradland> just prefix bundle exec (if you're using bundler)
jokke has joined #ruby
zwer has joined #ruby
reisl is now known as larissa
<bradland> also, IRC is shit right now, so I have no idea if you can read what I'm typing
MissionCritical has joined #ruby
<dopie> I can
<dopie> im in the matrix
<bradland> whew
<dopie> but my matrix is from back in the 386 days
<dopie> with 4ram
<bradland> nothing like shouting in to the void
<dopie> and 14.4kbps modem
nanoyak has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
<dopie> running Terminate 4.0
<bradland> four emm-beeees baby!
St_Marx has joined #ruby
<bradland> i was so happy when i upgraded to the gee-bees.
nanoyak has joined #ruby
DadoCe has joined #ruby
j4d has joined #ruby
lsmola_ has joined #ruby
thumpba__ has quit [Ping timeout: 244 seconds]
lepht_ has joined #ruby
duncannz has joined #ruby
<bradland> brb
troter__ has joined #ruby
cbetta__ has joined #ruby
bradland has joined #ruby
bradland has quit [Client Quit]
<dopie> fuck
mroth has joined #ruby
meschi has joined #ruby
Hijiri has joined #ruby
bronson has quit [Ping timeout: 244 seconds]
KnownSyntax has quit [Changing host]
KnownSyntax has joined #ruby
hellschreiber has joined #ruby
hellschreiber has quit [Changing host]
rakm has joined #ruby
amitchellbullard has quit [Changing host]
amitchellbullard has joined #ruby
cbetta__ is now known as cbetta
n1ftyn8 has quit [Changing host]
n1ftyn8 has joined #ruby
jeregrine has quit [Changing host]
jeregrine has joined #ruby
vcoinminer has quit [Changing host]
vcoinminer has joined #ruby
bove_ has quit [Changing host]
bove_ has joined #ruby
s2013 has quit [Ping timeout: 252 seconds]
djbkd has joined #ruby
rakm has quit []
PhilK has quit [Changing host]
PhilK has joined #ruby
spastorino is now known as spastorino_
josephndenton has quit [Ping timeout: 246 seconds]
arrubin has quit [Changing host]
arrubin has joined #ruby
OliverTynes has joined #ruby
OliverTynes has quit [Changing host]
CMAXW_ has quit [Changing host]
CMAXW_ has joined #ruby
ballPointPenguin has quit [Changing host]
ballPointPenguin has joined #ruby
akitada_ has joined #ruby
akitada_ has quit [Changing host]
skmp___ has quit [Changing host]
skmp___ has joined #ruby
whoojemaflip has quit [Changing host]
whoojemaflip has joined #ruby
chrisseaton has joined #ruby
jblancett has joined #ruby
chrisseaton has quit [Changing host]
casual_ has joined #ruby
jblancett has quit [Changing host]
casual_ has quit [Changing host]
mostlybadfly_ has quit [Changing host]
mostlybadfly_ has joined #ruby
AdamMeghji has quit [Changing host]
AdamMeghji has joined #ruby
yo61 has quit [Changing host]
yo61 has joined #ruby
daxroc has quit [Changing host]
daxroc has joined #ruby
spastorino_ has joined #ruby
tiagonobre__ has joined #ruby
Juanchito has joined #ruby
spastorino_ has quit [Changing host]
tiagonobre__ has quit [Changing host]
Juanchito has quit [Changing host]
zipkid has quit [Changing host]
zipkid has joined #ruby
iml has joined #ruby
iml has quit [Changing host]
ZucchiniZe has joined #ruby
ZucchiniZe has quit [Changing host]
ikanobori_ has quit [Changing host]
ikanobori_ has joined #ruby
<Eminence_> What ruby method would I use to create a cap? Like rounding, but the number shouldnt be rounded unless its greater than 100, then any excess would be rounded down to 100.
machty has quit [Changing host]
machty has joined #ruby
maZtah has quit [Changing host]
maZtah has joined #ruby
<jhass> [x, 100].max
<jhass> er, .min
bradland has joined #ruby
goshdarnyou has quit [Changing host]
goshdarnyou has joined #ruby
<dopie> jhass, any skills with capistrano :(
<dopie> bradland, !!
<dopie> yay!
jdawgaz has joined #ruby
<dopie> fucks sake
<dopie> aha
<waxjar_> Eminence_: you can give round a negative number
<jhass> thankfully not
<Eminence_> jhass: Thanks
<Eminence_> waxjar_: ?
<bradland> dopie: i'm back
<bradland> sry, trying to get UTF8 working in irssi
<waxjar_> >> 101.round(-2)
<eval-in_> waxjar_ => 100 (https://eval.in/242844)
<dopie> execute :jekyll, "bundle exec jekyll build"
<waxjar_> Eminence_: never mind, i understood you wrong
<dopie> it still isnt finding jekyll
<Eminence_> waxjar_: No prob, good to know anyways.
DrCode has joined #ruby
1JTAABMSD has quit [Read error: Connection reset by peer]
77CAABZU1 has quit [Ping timeout: 276 seconds]
7YUAAFL3J has joined #ruby
64MABRKDD has joined #ruby
<bradland> dopie: ok, let's start from the bottom up
<bradland> verify that Capfile contains require 'rvm1/capistrano3'
chrishough has joined #ruby
Heskie has quit []
<bradland> hrm
<Eminence_> jhass: I am not sure that will work. I am looking to transform 120.mystery_method >> 100 or 65.mystery_method >> 65
<bradland> dopie: man, this shit gets so complicated
<dopie> bradland, check
<bradland> i never install rvm on my servers
jayne_ is now known as jayne
Hijiri has quit [Ping timeout: 272 seconds]
<bradland> dopie: this gem appears to expect a pretty specific structure
<bradland> do you have an .rvmrc file in your project root dir?
<dopie> no
<bradland> ah ha!
Musashi007 has quit [Quit: Musashi007]
<bradland> before :my_custom_task, 'rvm1:hook'
cbetta has quit [Changing host]
cbetta has joined #ruby
cbetta has joined #ruby
<bradland> it seems that's the magic that will execute the rvm-auto.sh file, which sets up RVM
robbyoconnor has joined #ruby
robbyoconnor has joined #ruby
robbyoconnor has quit [Changing host]
robbyoconnor has quit [Client Quit]
MarkPaulFletcher has quit []
<jhass> Eminence_: that's what it does, with .min
<jhass> did you even try it?
<Eminence_> jhass: Ok I was using it wrong then, thanks.
<bradland> and try this change (line 13): https://gist.github.com/bradland/f65ed778e07296f6fdb1
king313 has joined #ruby
<bradland> dopie: also, it is apparently recommended to remove this from your Capfile, if it exists require 'capistrano/rvm'
jerematic has joined #ruby
<dopie> yeah thats out
thumpba_ has joined #ruby
<dopie> Don't know how to build task 'update_jekyll'
<dopie> $?#@$#@
sinkensabe has joined #ruby
<bradland> sweet baby jesus what a pain in the ass
<bradland> ruby-build 2.2.0 /usr/local
* bradland drops mic
<dopie> what?!
<bradland> this is the sound of me giving up
<bradland> RVM on servers drove me to the edge
<bradland> it's great for dev
<bradland> but on servers, i can't handle it
<dopie> it works fine when i do it manualy
<bradland> that's because RVM loads through your profile for login shells
<bradland> capistrano uses `sh -c blah`
64MABRKDD has quit [Ping timeout: 255 seconds]
<bradland> which is a stripped down shell
<arrubin> Why would you use a switcher on servers?
mloveless has joined #ruby
thumpba has quit [Ping timeout: 244 seconds]
zacstewart has joined #ruby
7YUAAFL3J has quit [Read error: Connection reset by peer]
sivoais has joined #ruby
<bradland> dopie: i would recommend ditching RVM in your server environment if you can
<bradland> the only case where you absoultely need it is when you're running multiple ruby apps on different versions on a single VM
<dopie> bradland, thats what im doing
<dopie> hahaha
<dopie> $#K@$K#@:$K#@:$K#@:
<bradland> but with $5/mo DO VMs available, there's not a lot of justification for that
<bradland> roffle
<bradland> ok, well there you have it :)
<bradland> i would suggest dropping by the #rvm channel
<bradland> those guys are amazing
<terrellt> bradland: Doing that too.
<bradland> they know their software, and they're usually willing to help
philwantsfish1 has quit []
ghr has joined #ruby
<terrellt> bradland: Lots of justification.
yokel has quit [Ping timeout: 255 seconds]
philwantsfish has joined #ruby
<dopie> bradland, I sure hope so
<bradland> if you *have* to run multiple ruby apps on different versions, I understand completely
<bradland> i just never had the stomach for it
<terrellt> That being said, rbenv ftw.
sinkensabe has quit [Ping timeout: 276 seconds]
<terrellt> RVM dug into too much for me to get it to work with my deployment stuff.
sivoais_ has joined #ruby
<bradland> i could see rbenv being easier to get working in production
nanoyak has quit [Quit: Computer has gone to sleep.]
athan has joined #ruby
<terrellt> PATH: /usr/local/deploy-rails/.rbenv/shims:/usr/local/deploy-rails/.rbenv/bin:$PATH That's sitting in my environment config for Capistrano
<terrellt> Done.
JDiPierro has joined #ruby
<postmodern> you do not need a ruby manager in production
<bradland> says the man who would know
<bradland> ls
Xiti has joined #ruby
<bradland> man, i gotta get a handle on this whole using a term session for IRC
<terrellt> postmodern: Feel free to convince me.
nanoyak has joined #ruby
ghr has quit [Ping timeout: 264 seconds]
nanoyak has quit [Remote host closed the connection]
nanoyak has joined #ruby
yokel has joined #ruby
<postmodern> terrellt, https://launchpad.net/~brightbox/+archive/ubuntu/ruby-ng and sudo apt-get install ruby
diegoviola has quit [Remote host closed the connection]
<postmodern> terrellt, `sudo gem install bundler` and then `bundle install --deployment`
<AisuDragon> -_-;
<terrellt> postmodern: Because there's no chance I have legacy applications running alongside current ones?
peregrine81 has joined #ruby
<bradland> postmodern: how does rubyng handle version differences? do they use a binary suffix like ruby19, ruby20?
troter__ is now known as troter___
sivoais has quit [Ping timeout: 255 seconds]
<postmodern> bradland, see http://blog.arkency.com/2012/11/one-app-one-user-one-ruby/ if you need multiple rubies alongside each other
<bradland> fuck this looks like a great article already
<postmodern> but VMs are cheap ;)
<bradland> i don't run a version manager on my servers
<bradland> i'm firmly in the "VMs are cheap, and my sanity is valuable" camp :)
<postmodern> you can also install multiple rubies into /opt/rubies and set the desired Ruby in apache/nginx config if you're using passenger
tokik has joined #ruby
Juanchito is now known as Juanchito_
DadoCe has quit [Remote host closed the connection]
<terrellt> postmodern: Purchasing VMs in my environment is literally throwing away money. I don't see a maintenance decrease in using direct paths to ruby binaries everywhere vs getting my path right to my stubs for rbenv.
beneggett has quit [Ping timeout: 276 seconds]
<postmodern> terrellt, /opt/rubies/legacy
ghr has joined #ruby
<bradland> until something in rbenv breaks
tesaf has quit [Quit: Lost terminal]
<bradland> debugging a path is a lot easier than tracking down shim redirects, etc
beneggett has joined #ruby
<postmodern> terrellt, basically your environment is not going to radically change, once you've configured it (however) it will be static
<bradland> not to mention, stuffing PATH config in to my deploy files isn't something i'm digging much
<terrellt> bradland: I'd have to do that anyways.
<bradland> not if your user environment was set up correctly
<terrellt> bradland: ? Again, we're assuming I have to run N versions of ruby here.
Gues_____ has joined #ruby
commmmodo has joined #ruby
<terrellt> bradland: In happy-land, with one application running one version of ruby per VM, totally man. ruby-build it.
<bradland> if you run one app per user, you can set the PATH appropriately in the user's profile
apeiros has joined #ruby
jdawgaz has quit [Quit: Leaving.]
<terrellt> Aah
<bradland> on the same VM
<terrellt> I missed the user bit.
commmmodo has quit [Client Quit]