havenwood changed the topic of #ruby to: Rules & more: http://ruby-community.com || Ruby 2.3.0; 2.2.4; 2.1.9: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || logs @ http://irclog.whitequark.org/ruby/
<ryanneufeld> smathy: how would you do it?
aspiers_ has joined #ruby
<crime> where is it going wrong?
jud has joined #ruby
jud has joined #ruby
jud has quit [Changing host]
<ryanneufeld> agrantfile:7:in `to_bool': undefined method `blank?' for "false":String (NoMethodError)
Vile` has joined #ruby
ropeney has quit [Quit: Leaving]
SilverKey has quit [Quit: Halted.]
<ryanneufeld> which doesn't make sense to me
<crime> yeah thats weird
RegulationD has quit [Ping timeout: 276 seconds]
<weaksauce> blank is not a ruby thing
<weaksauce> it's a rails thing
<crime> yeah strings dont have that method
<baweaver> >> !!'false'
<ruby[bot]> baweaver: # => /tmp/execpad-fd24853d35b9/source-fd24853d35b9:2: warning: string literal in condition ...check link for more (https://eval.in/559587)
<ryanneufeld> weaksauce: thanks!!
<ryanneufeld> that was it
<crime> u can do .empty?
Rickmasta has joined #ruby
AncientAmateur has joined #ruby
AncientAmateur has quit [Client Quit]
<crime> on strings, which is true for "" and ''
marr has quit [Ping timeout: 240 seconds]
<weaksauce> blank? is true for strings like " "
<ryanneufeld> ah
<baweaver> >> nil.empty? # But be careful of this
<ruby[bot]> baweaver: # => undefined method `empty?' for nil:NilClass (NoMethodError) ...check link for more (https://eval.in/559588)
<ryanneufeld> thanks guys
* baweaver still thinks that empty should be defined on nil
<crime> but nil cant not hold values
devbug has joined #ruby
<weaksauce> always empty
<smathy> ryanneufeld, I added what I'd do to your gist: https://gist.github.com/ryanneufeld/11b83ba96fd80b56d06951117961571f
<crime> nil can only ever be nil, why would it ever need empty?
<baweaver> fallback in case a value is nil instead of a string / etc
<crime> who is it, somebody has a class for that
<smathy> ryanneufeld, no way I'm modifying core classes for something this simple.
<crime> its avdi, he has naught, for objects that only respond with nil
kasisnu has quit [Remote host closed the connection]
aspiers_ has quit [Ping timeout: 250 seconds]
<baweaver> You're probably thinking of a Maybe monad, which has close derivatives in Option and other libs
<weaksauce> ryanneufeld i agree with smathy... just use a helper method for it
Dimik1 has joined #ruby
<smathy> It's MUCH clearer what is happening.
kasisnu has joined #ruby
kasisnu_ has joined #ruby
guest789 has quit [Quit: Page closed]
kasisnu__ has joined #ruby
patrick99e99 has joined #ruby
<baweaver> of course that thing leads to a magnificent rabbit hole: http://moonbase.rydia.net/mental/writings/programming/monads-in-ruby/00introduction.html
droobie has joined #ruby
<baweaver> though this is all far into FP
dh64 has quit [Quit: Konversation terminated!]
mjuszczak has quit [Ping timeout: 276 seconds]
kasisn___ has joined #ruby
kasisnu has quit [Ping timeout: 244 seconds]
<patrick99e99> Hey everyone.. I am trying to post an image blob with Net::HTTP... according to the ruby 2.0 Net HTTPHeader docs, it looks like I can, but I am having no such luck.. I am basically doing: request.set_form([['filename', 'lol.jpg'], ['file', File.open('lol.jpg')]], 'multipart/form-data')
<patrick99e99> but somehow that is just not working........... if I curl, it works just fine.
kasisnu has joined #ruby
baweaver has quit [Remote host closed the connection]
<Radar> patrick99e99: consider using typhoeus instead of Net:HTTP. Net::HTTP has an API that reminds me a lot of Angular.
<patrick99e99> curl shows: Content-Disposition: form-data; name="file"; filename="waka.jpg"--- Content-Type: image/jpeg---- "..../.Exif..MM.*............." (data)
moeabdol1 has joined #ruby
kasisnu_ has quit [Ping timeout: 260 seconds]
<patrick99e99> Radar: I am trying to not have to add another dependency to our app...
CloCkWeRX has joined #ruby
CloCkWeRX has left #ruby [#ruby]
<patrick99e99> if I can get this working with Net::HTTP it would be ideal
<Radar> "I'm trying to make life hard for myself intentionally"
<crime> awfully ironic ^
kasisnu__ has quit [Ping timeout: 260 seconds]
<patrick99e99> no, rewriting an http wrapper library to now use a different library would be making life hard
kasisnu_ has joined #ruby
<patrick99e99> but anyway..
<patrick99e99> can anyone point me in the right direction?
mjuszczak has joined #ruby
n008f4g_ has quit [Ping timeout: 250 seconds]
kasisn___ has quit [Ping timeout: 250 seconds]
<smathy> patrick99e99, read http://ruby-doc.org/stdlib-2.3.0/libdoc/net/http/rdoc/Net/HTTP.html look for "multipart"
mfb2 has quit [Ping timeout: 252 seconds]
kasisnu has quit [Ping timeout: 240 seconds]
droobie has quit [Quit: WeeChat 1.4]
ramfjord has quit [Ping timeout: 250 seconds]
ta_ has joined #ruby
howdoicomputer has joined #ruby
tvw has quit [Ping timeout: 250 seconds]
ramfjord has joined #ruby
moeabdol1 has quit [Ping timeout: 260 seconds]
diegoaguilar has quit [Ping timeout: 244 seconds]
kasisnu_ has quit [Ping timeout: 276 seconds]
ta_ has quit [Ping timeout: 250 seconds]
jhack has joined #ruby
baweaver has joined #ruby
fulgore_ has joined #ruby
<patrick99e99> smathy: thanks.. Looking at that, do you know what "multipart_data" should look like? If I pass a file instance, I get a failure from the server I am uploading to "Unsupported Media Type".. which I assume is because it doesn't know the Content-type of the part is image/jpeg.
<patrick99e99> is there a way to say, part 1 is Content-type: 'image/jpeg' ?
pawnbox has joined #ruby
danielpclark has joined #ruby
<michael_mbp> hi all
<michael_mbp> o/ Radar
<Radar> hey michael_mbp
<michael_mbp> anyone recall how to auto-wrap highlighted code in vim into a block?
chipotle has quit [Quit: cheerio]
symm- has quit [Ping timeout: 276 seconds]
mfb2 has joined #ruby
pawnbox has quit [Ping timeout: 240 seconds]
GriffinHeart has joined #ruby
symm- has joined #ruby
s00pcan has quit [Quit: Lost terminal]
jhack has quit [Quit: jhack]
djbkd has quit [Quit: My people need me...]
s00pcan has joined #ruby
<michael_mbp> foound it ta
rahult_ has joined #ruby
jolts has quit [Ping timeout: 252 seconds]
mfb2 has quit [Ping timeout: 246 seconds]
s00pcan has quit [Remote host closed the connection]
s00pcan has joined #ruby
rahult has quit [Ping timeout: 244 seconds]
ropeney has joined #ruby
chipotle has joined #ruby
crime has quit [Ping timeout: 260 seconds]
vishwa has joined #ruby
bruce_lee has quit [Read error: Connection reset by peer]
s00pcan_ has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<patrick99e99> gah.. ok figured it out... the answer is: request.set_form([['file', file_instance, { :filename => 'my_file.jpg' }]], 'multipart/form-data')
binaryplease1 has joined #ruby
mjuszczak has quit []
<patrick99e99> the options hash is apparently important
<Radar> It's obvious in hindsight.
vdamewood has joined #ruby
pawnbox has joined #ruby
skweek has joined #ruby
binaryplease has quit [Ping timeout: 276 seconds]
lkba has joined #ruby
hxegon has quit [Ping timeout: 276 seconds]
GriffinHeart has quit [Remote host closed the connection]
blackmesa has joined #ruby
blackmes1 has quit [Ping timeout: 250 seconds]
pawnbox has quit [Ping timeout: 244 seconds]
Xeago has joined #ruby
mjuszczak has joined #ruby
mjuszczak has quit [Max SendQ exceeded]
lkba_ has quit [Ping timeout: 250 seconds]
mjuszczak has joined #ruby
saneax is now known as saneax_AFK
weemsledeux has joined #ruby
wilbert has joined #ruby
GriffinHeart has joined #ruby
<smathy> patrick99e99, nice.
binaryplease1 is now known as binaryplease
s00pcan_ has quit [Remote host closed the connection]
<smathy> Nothing about Net::HTTP is obvious, especially not where to find the docs for methods.
Xeago has quit [Ping timeout: 246 seconds]
allcentury has joined #ruby
lkba has quit [Ping timeout: 260 seconds]
hxegon has joined #ruby
fsapo has quit [Remote host closed the connection]
rahult_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rahult has joined #ruby
bronson has joined #ruby
s00pcan_ has joined #ruby
htmldrum has joined #ruby
karapetyan has joined #ruby
w1lson has joined #ruby
speakingcode has joined #ruby
hxegon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bronson has quit [Ping timeout: 252 seconds]
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
amclain has quit [Quit: Leaving]
karapetyan has quit [Ping timeout: 244 seconds]
ferr has quit [Ping timeout: 260 seconds]
crazyphil has left #ruby [#ruby]
mjuszczak has quit []
patrick99e99 has quit [Quit: Page closed]
rahult has joined #ruby
jaguarmagenta has joined #ruby
tax has quit [Ping timeout: 252 seconds]
LoneHermit has joined #ruby
tax has joined #ruby
bradleyprice has joined #ruby
blaxter has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
tax has quit [Ping timeout: 250 seconds]
bradleyprice has quit [Ping timeout: 252 seconds]
deadnull_ has joined #ruby
deadnull_ has quit [Remote host closed the connection]
ropeney has quit [Ping timeout: 252 seconds]
deadnull_ has joined #ruby
ta_ has quit [Ping timeout: 250 seconds]
deadnull has quit [Ping timeout: 250 seconds]
deadnull_ has quit [Max SendQ exceeded]
deadnull has joined #ruby
deadnull has quit [Max SendQ exceeded]
deadnull has joined #ruby
Robtop__ is now known as pwnd_nsfw
symm-_ has joined #ruby
amincd has joined #ruby
symm- has quit [Ping timeout: 250 seconds]
DotKite has quit [Ping timeout: 250 seconds]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<amincd> hi, what does IO.sysopen do? I read the Ruby docs but don't fully get the point
flashpoint9 has quit [Remote host closed the connection]
tubuliferous has joined #ruby
tax has joined #ruby
mlakewood has quit [Quit: mlakewood]
blackmesa has quit [Ping timeout: 260 seconds]
jdawgaz has joined #ruby
bradleyprice has joined #ruby
jhack has joined #ruby
htmldrum has quit [Ping timeout: 246 seconds]
meinside has joined #ruby
baweaver has quit [Remote host closed the connection]
Guest58430 is now known as Cyrus
Cyrus has quit [Changing host]
Cyrus has joined #ruby
erict has joined #ruby
allcentury has quit [Ping timeout: 250 seconds]
hxegon has joined #ruby
Azure has quit [Remote host closed the connection]
rbennacer has joined #ruby
Vile` has quit [Ping timeout: 260 seconds]
kam270 has quit [Read error: Connection reset by peer]
deadnull has quit [Quit: Bye]
amincd has quit [Quit: Page closed]
brendan- has joined #ruby
hxegon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
weemsledeux has joined #ruby
noService has joined #ruby
jhack has quit [Quit: jhack]
symm-_ has quit [Ping timeout: 268 seconds]
smathy is now known as smathy_afk
Xentil has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
bradleyprice has quit [Remote host closed the connection]
noService has quit [Ping timeout: 276 seconds]
The_Phoenix has joined #ruby
moeabdol1 has joined #ruby
ixti has quit [Quit: WeeChat 1.4]
JBlazeCoder21 has quit [Remote host closed the connection]
hxegon has joined #ruby
rahult_ has joined #ruby
rodfersou has quit [Quit: leaving]
GodFather has quit [Ping timeout: 260 seconds]
SilverKey has joined #ruby
Vile` has joined #ruby
rahult has quit [Ping timeout: 268 seconds]
axisys has quit [Ping timeout: 260 seconds]
moeabdol1 has quit [Ping timeout: 276 seconds]
axisys has joined #ruby
wilbert has quit [Ping timeout: 268 seconds]
GriffinHeart has quit [Remote host closed the connection]
jaguarmagenta has quit [Remote host closed the connection]
jaguarmagenta has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
Dimik1 has quit [Ping timeout: 276 seconds]
GriffinHeart has joined #ruby
jenrzzz has joined #ruby
freerobby has quit [Quit: Leaving.]
The_Phoenix has quit [Quit: Leaving.]
ta_ has joined #ruby
ropeney has joined #ruby
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ta_ has quit [Ping timeout: 250 seconds]
htmldrum has joined #ruby
agent_white has joined #ruby
minimalism has quit [Quit: minimalism]
<agent_white> Evenin'
erict has quit [Ping timeout: 250 seconds]
nando293921 has quit [Quit: Lost terminal]
<benzrf> hello
minimalism has joined #ruby
skweek has quit [Ping timeout: 244 seconds]
Dreamer3 has joined #ruby
Dreamer3 has quit [Remote host closed the connection]
nando293921 has joined #ruby
elifoster has joined #ruby
Dimik has quit [Ping timeout: 276 seconds]
ramfjord has quit [Ping timeout: 260 seconds]
exce1l has joined #ruby
braincra- has joined #ruby
ruby-lang834 has joined #ruby
ponga has quit []
bradleyprice has joined #ruby
ruby-lang834 has quit [Client Quit]
rkazak has joined #ruby
LoneHermit has quit [Remote host closed the connection]
braincrash has quit [Ping timeout: 260 seconds]
moei has quit [Quit: Leaving...]
brendan- has quit [Ping timeout: 246 seconds]
minimalism has quit [Quit: minimalism]
auzty has joined #ruby
Coldblackice_ has quit [Ping timeout: 250 seconds]
devbug has quit [Quit: ZZZzzz…]
jenrzzz has quit [Ping timeout: 244 seconds]
GriffinHeart has quit [Remote host closed the connection]
minimalism has joined #ruby
Es0teric has joined #ruby
karapetyan has joined #ruby
DotKite has joined #ruby
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
<DotKite> Does ruby have a Prime enumerator that take a lowerbound instead of just an upperbound?
karapetyan has quit [Ping timeout: 246 seconds]
exce1l has left #ruby [#ruby]
bob434 has joined #ruby
emilford has quit [Ping timeout: 260 seconds]
dn` has quit [Ping timeout: 276 seconds]
noService has joined #ruby
berserk_ren has joined #ruby
bronson has joined #ruby
Spami has joined #ruby
devbug has joined #ruby
pawnbox has joined #ruby
braincra- has quit [Quit: bye bye]
zast has joined #ruby
diegoviola has quit [Quit: WeeChat 1.4]
noService has quit [Ping timeout: 252 seconds]
bronson has quit [Ping timeout: 252 seconds]
staticfox is now known as drunkfox
maletor_ has joined #ruby
pawnbox has quit [Ping timeout: 260 seconds]
elico has joined #ruby
braincrash has joined #ruby
elico has quit [Read error: Connection reset by peer]
solocshaw has joined #ruby
p1k has joined #ruby
bradleyprice has quit [Remote host closed the connection]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hxegon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jdawgaz has joined #ruby
ta_ has joined #ruby
jdawgaz has quit [Client Quit]
cibs has joined #ruby
fedexo has joined #ruby
baweaver has joined #ruby
dn` has joined #ruby
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby
ta_ has quit [Ping timeout: 250 seconds]
dh64 has joined #ruby
gix has quit [Ping timeout: 244 seconds]
Gaelan has joined #ruby
ensyde has quit [Ping timeout: 276 seconds]
<Gaelan> Is there an easy way to turn an array of (e.g.) people with a `state` method into a hash of {state => [person…]}?
bradleyprice has joined #ruby
bob434 has quit [Quit: This computer has gone to sleep]
GinoMan2440 has joined #ruby
<benzrf> Gaelan: u could do a fold
<benzrf> or use #mash, if you wanna import something from a gem
<Gaelan> benzrf: activesupport?
<benzrf> not sure
GinoMan2440__ has joined #ruby
<benzrf> hash = {}; ppl.each {|p| (hash[p.state] ||= []) << p}
gix has joined #ruby
GinoMan2440_ has quit [Ping timeout: 250 seconds]
maletor_ has quit [Quit: Computer has gone to sleep.]
GinoMan2440 has quit [Ping timeout: 268 seconds]
<droptone> Questino: I'm leveraging AR for this app and I'm attempting to minimize SQL transactions, since profiling indicates most of my activity revolves around SQL transiactions
<droptone> Question*
davedev24 has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
meinside has quit [Quit: Connection closed for inactivity]
<droptone> Therefore, I'm essentially attempting to eager load this table into an array so that I can then perform analysis and comparisons on the values of the table while the contents of the table are in ram, without my app having to hit the DB
Spami has joined #ruby
Spami has quit [Client Quit]
<droptone> Does anyone current present have experience with such activity?
<droptone> currently*
<Gaelan> benzrf: Guess so. My modified implementation: https://gist.github.com/Gaelan/167af2b1e58d379064abb019e434694f
bb010g has joined #ruby
<Gaelan> droptone: Funny enough, I just asked a question about my implementation of this. Do you have a specific question?
davedev2_ has quit [Ping timeout: 252 seconds]
<droptone> Gaelan: Well yes. to simplify the example, let's say I have a users table, and a patients table that belongs_to user.
<droptone> I'm leveraging AR as my ORM
<droptone> Basically
<droptone> What happened was, I'm getting more customers for my app and I need to speed it up.
al2o3-cr has quit [Ping timeout: 276 seconds]
<benzrf> Gaelan: nice :)
<droptone> So I profiled it and it was clear the majority of my activity revolves around SQL DB queries, which are occurring against an Amazon RDS instance
<droptone> So
<droptone> right now, the way my app behaves is, simplified:
<benzrf> Gaelan: hmm, not sure that's what you're looking for, though - the result hash will continue to default to []
pawnbox has joined #ruby
<droptone> 1) Load a bunch of data from a remote API provider
berserk_ren has quit [Ping timeout: 268 seconds]
<droptone> 2) Iterate through the data returned and compare it to the corresponding records on file
<droptone> 3) If needed, perform actions on said data and send them to another API
<droptone> So what I'm trying to do is dump the "patients" table in an object so that I can perform the check-on-iteration in ram instead of having to hit the DB every time
Devalo has joined #ruby
rahult_ has quit [Read error: Connection reset by peer]
<droptone> I'm trying to figure out the best way to do this minimizing SQL queries
rahult has joined #ruby
moeabdol1 has joined #ruby
w1lson has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
emilford has joined #ruby
agent_white has quit [Quit: leaving]
agent_white has joined #ruby
bradleyprice has quit [Remote host closed the connection]
bradleyprice has joined #ruby
w1lson has joined #ruby
axisys has quit [Ping timeout: 240 seconds]
Devalo has quit [Ping timeout: 268 seconds]
Bloomer has joined #ruby
<Gaelan> benzrf: Huh. The argument could be made that an empty array makes more sense than nil. I guess it depends.
GriffinHeart has joined #ruby
moeabdol1 has quit [Ping timeout: 276 seconds]
<benzrf> Gaelan: yr impl doesnt work anyway :V
jdawgaz has joined #ruby
* Gaelan urbandictionary’s that emoticon
<Gaelan> “Created by Internet pioneer Joe Griffith in August of 1999, the :V is as ambiguous as it is masterful, representing a variety of expressions and emotions. Occasionally seen on the somethingawful.com forums in one or more forms.”
Bloomer has quit [Read error: Connection reset by peer]
davedev24 has quit []
<benzrf> :]
Bloomer has joined #ruby
<benzrf> i think i have some kind of compulsive drive to add emoticons to my chats
defo has joined #ruby
tildes has joined #ruby
<benzrf> and i guess i just kind of default to ambiguous/meaningless ones when i have nothing in particular to emote
GriffinHeart has quit [Remote host closed the connection]
ramfjord has joined #ruby
RegulationD has joined #ruby
axisys has joined #ruby
GriffinHeart has joined #ruby
stardiviner has quit [Ping timeout: 276 seconds]
Dimik1 has joined #ruby
Dimik1 has quit [Client Quit]
Dimik1 has joined #ruby
RegulationD has quit [Ping timeout: 276 seconds]
al2o3-cr has joined #ruby
eboaz has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
bradleyprice has quit [Remote host closed the connection]
blaix has quit [Quit: Leaving.]
IrishGringo has quit [Ping timeout: 260 seconds]
Bloomer has quit [Read error: Connection reset by peer]
LoneHerm_ has joined #ruby
<droptone> So guys, got a question. If I have a User table, and I have a patients table that belongs_to :user, what is the preferred way of eager-loading user.patients to an object to minimize the number of SQL queries needed to load all patients for a given user?
eboaz has quit [Remote host closed the connection]
<droptone> Using ActiveRecord, obviously.
Bloomer has joined #ruby
howdoicomputer has quit [Ping timeout: 250 seconds]
<Radar> droptone: Are you serious.
<Radar> You just asked this in #rubyonrails
eboaz has joined #ruby
<Radar> And we gave you advice
<Radar> and now you come and ask it here too?
<droptone> Yes Radar, becuase every time I ask in #rubyonrails I get commentary like "this sounds like a hack" and "why are you doing this" and "I need code segments" instead of just providing an example, so I figured I'd give it a shot here.
<Radar> droptone: For the umpteenth time: hire a consultant.
<droptone> Exactly
<Radar> droptone: Rails questions should go in #rubyonrails.
<droptone> It's not a rails question.
<Radar> This is not debateable.
<Radar> Hire a consultant.
<Radar> Goodbye.
<Radar> See you in a week.
noService has joined #ruby
VeryBewitching has quit [Quit: Konversation terminated!]
LoneHerm_ has quit [Ping timeout: 246 seconds]
stardiviner has joined #ruby
defo has left #ruby [#ruby]
CloCkWeRX has joined #ruby
speakingcode has quit [Ping timeout: 268 seconds]
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jdawgaz has joined #ruby
Coldblackice_ has joined #ruby
w1lson has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
vdamewood has quit [Quit: Life beckons.]
kareeoleez has joined #ruby
LoneHerm_ has joined #ruby
moeabdol1 has joined #ruby
ta_ has joined #ruby
devbug has quit [Quit: ZZZzzz…]
Yiota_ has quit [Quit: Textual IRC Client: www.textualapp.com]
Rickmasta has quit [Read error: Connection reset by peer]
Yiota has joined #ruby
Rickmasta has joined #ruby
Yiota has quit [Client Quit]
ta_ has quit [Ping timeout: 260 seconds]
howdoicomputer has joined #ruby
yfeldblum has quit [Remote host closed the connection]
terminalrecluse has joined #ruby
emilford has quit [Ping timeout: 268 seconds]
danielpclark has quit [Quit: Leaving]
karapetyan has joined #ruby
jdawgaz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
GriffinHeart has joined #ruby
devbug has joined #ruby
chipotle has quit [Quit: cheerio]
chipotle has joined #ruby
karapetyan has quit [Ping timeout: 260 seconds]
GriffinHeart has quit [Remote host closed the connection]
GriffinHeart has joined #ruby
arescorpio has quit [Quit: Leaving.]
caudill has joined #ruby
blackgoat has quit [Ping timeout: 268 seconds]
GriffinHeart has quit [Remote host closed the connection]
Devalo has joined #ruby
hxegon has joined #ruby
zast has quit [Remote host closed the connection]
pawnbox has quit [Remote host closed the connection]
howdoicomputer has quit [Ping timeout: 250 seconds]
rbennacer has quit [Remote host closed the connection]
caudill has quit [Ping timeout: 268 seconds]
Xeago has joined #ruby
jackjackdripper1 has joined #ruby
vishwa has quit [Ping timeout: 276 seconds]
solocshaw has quit [Ping timeout: 244 seconds]
saneax_AFK is now known as saneax
jackjackdripper has quit [Ping timeout: 260 seconds]
smathy_afk has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Xeago has quit [Ping timeout: 250 seconds]
pawnbox has joined #ruby
Vile` has quit [Ping timeout: 276 seconds]
whyamievenhere has quit [Ping timeout: 260 seconds]
weaksauce has quit [Ping timeout: 250 seconds]
moeabdol1 has quit [Ping timeout: 260 seconds]
bronson has joined #ruby
sauvin has joined #ruby
UserInNeed has joined #ruby
Sembei has quit [Read error: Connection reset by peer]
bobbycvi has quit [Quit: ...]
Sembei has joined #ruby
bronson has quit [Ping timeout: 268 seconds]
jenrzzz has joined #ruby
GriffinHeart has joined #ruby
bluOxigen has joined #ruby
hxegon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pupeno has joined #ruby
moeabdol1 has joined #ruby
djbkd has joined #ruby
victortyau has joined #ruby
yfeldblum has joined #ruby
yfeldblum has quit [Remote host closed the connection]
yfeldblum has joined #ruby
Pupeno has quit [Ping timeout: 244 seconds]
last_staff has joined #ruby
moeabdol1 has quit [Ping timeout: 276 seconds]
maletor_ has joined #ruby
kareeoleez has quit [Remote host closed the connection]
Dimik1 has quit [Ping timeout: 276 seconds]
djbkd has quit [Remote host closed the connection]
last_staff1 has joined #ruby
djbkd has joined #ruby
last_staff has quit [Ping timeout: 240 seconds]
last_staff1 is now known as last_staff
tvw has joined #ruby
DotKite has quit [Quit: Page closed]
bitsapien has joined #ruby
djbkd has quit [Ping timeout: 246 seconds]
elaptics`away is now known as elaptics
nando293921 has quit [Ping timeout: 244 seconds]
<bitsapien> is there a way to call a method say 'move' implemented in two different classes(inherited from the same class 'storage'), according to a configuration switch ? The configuration switch is a string. ’storage’ class is a singleton.
BrunoSaboia has joined #ruby
Bloomer has quit []
dionysus69 has joined #ruby
BSaboia has quit [Ping timeout: 240 seconds]
<Radar> bitsapien: yes
<Radar> bitsapien: let's keep the conversation here rather than in PM
heyimwill has quit [Ping timeout: 260 seconds]
<Radar> bitsapien: What code do you have so far?
<bitsapien> The configuration switch is a string which is either an 'A' or a 'B'. I do not want to call `A.move`, instead, I would like to call `Base.move`, which should decide which class's method to call according to the switch.
<Radar> You could use a case statement for that.
<Radar> case string
navneet has joined #ruby
karapetyan has joined #ruby
<Radar> when a; A.move
<bitsapien> that would be inefficient, right?
<bitsapien> is there a better way?
<Radar> Would it?
<Arcaire> bitsapien: When are you setting the switch?
<Arcaire> I did something recently where I modified which class a class inherited from based on a configuration option.
<Arcaire> I'll have to find the code but it worked for me™.
heyimwill has joined #ruby
w1lson has joined #ruby
wilbert has joined #ruby
Macaveli has joined #ruby
wilbert has quit [Client Quit]
LoneHerm_ has quit [Remote host closed the connection]
<bitsapien> in initialize
Pupeno has joined #ruby
<Radar> bitsapien: Please show me some code. It would help us both if we communicate using code rather than just words.
GriffinHeart has quit [Ping timeout: 244 seconds]
<bitsapien> @Arcaire could you please share how you did it?
<Arcaire> Yeah trying to find the code fam.
<bitsapien> @Radar I'l be sharing the code in a moment
blackgoat has joined #ruby
Guest54-ru has joined #ruby
terminalrecluse has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
dionysus69 has quit [Ping timeout: 250 seconds]
bkxd has quit [Ping timeout: 240 seconds]
navneet has quit [Ping timeout: 250 seconds]
maletor_ has quit [Ping timeout: 252 seconds]
<Radar> @bitsapien: What does ConfigurationHelper::DEFAULT_STORAGE return? Is it a class?
<Radar> i.e. StorageDriver::Local?
Guest54-ru has quit [Remote host closed the connection]
dionysus69 has joined #ruby
<bitsapien> Nope, it returns a string, either 's3' or 'local'
<Arcaire> It's honestly not super clean, but it means your initialized classes maintain those methods properly and you don't need a case around everything you do.
<Radar> Oh right.
maletor_ has joined #ruby
GriffinHeart has joined #ruby
tildes has quit [Ping timeout: 260 seconds]
Pupeno has quit [Remote host closed the connection]
<Arcaire> bitsapien: does the code i provided make sense to you?
<bitsapien> Arcaire: going through it
<Radar> bitsapien: Could it perhaps be Local or S3? that would make it easier.
<Radar> I mean, you could convert it to that I guess.
<Radar> then it's: StorageDriver.const_get(@storage)
<Arcaire> bitsapien: So in your case, lines 29 and 33 would be "local" and "s3" respectively.
<bitsapien> Radar: cool, that could be done, then?
RegulationD has joined #ruby
kareeoleez has joined #ruby
auzty has quit [Ping timeout: 260 seconds]
navneet has joined #ruby
kareeoleez has quit [Remote host closed the connection]
Gaelan has quit [Quit: Gaelan]
<Arcaire> bitsapien: sec
kareeoleez has joined #ruby
moeabdol1 has joined #ruby
moeabdol1 has quit [Client Quit]
<bitsapien> arcaire: makes sense to me
<Arcaire> Updated to work for you with S3/Local.
<Arcaire> Should work even though it's a string. :)
devbug has quit [Quit: ZZZzzz…]
moeabdol has joined #ruby
Es0teric has quit [Quit: Computer has gone to sleep.]
RegulationD has quit [Ping timeout: 246 seconds]
<Radar> .capitalize won't work in plain Ruby.
<Radar> Or am I thinking of something else
<Arcaire> That works in plain ruby.
<Radar> My bad, it will.
<Arcaire> You're thinking of titleize.
<Radar> I was still thinking about .constantize and how it's not available in plain Ruby.
Olipro has quit [Ping timeout: 260 seconds]
<Arcaire> Far better than a bunch of case statements imo.
<Arcaire> Since you only do it once instead of potentially multiple times per second.
Pupeno has joined #ruby
<bitsapien> radar: arcaire's solution works for me :)
<Radar> bitsapien: +1
<bitsapien> Thanks a lot people :)
Devalo has quit [Remote host closed the connection]
blackgoat has quit [Ping timeout: 260 seconds]
Devalo has joined #ruby
Devalo has quit [Remote host closed the connection]
solars has joined #ruby
terminalrecluse has joined #ruby
marcdel has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
toretore has joined #ruby
jackjackdripper1 has quit [Quit: Leaving.]
pawnbox has quit [Remote host closed the connection]
w1lson has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
GriffinHeart has joined #ruby
Coldblackice_ has quit [Ping timeout: 240 seconds]
pandaant has joined #ruby
devbug has joined #ruby
devbug has quit [Client Quit]
pwnd_nsfw has quit [Ping timeout: 276 seconds]
maletor_ has quit [Quit: Computer has gone to sleep.]
firstdayonthejob has joined #ruby
dionysus69 has quit [Ping timeout: 246 seconds]
yardenbar has joined #ruby
fedexo has quit [Ping timeout: 268 seconds]
aganov has joined #ruby
bigkevmcd has joined #ruby
devbug has joined #ruby
<yardenbar> Hello, I'm trying to connect to a FTP server using net/sftp lib. authentication is combined of ssh key and a password, both are passed as options hash. looking at the logs, I'm seeing the remote server requests the password, which after a timeout the connection fails.
Es0teric has joined #ruby
<yardenbar> Has anyone encountered that behavior?
<Arcaire> If you're using SFTP and the server is requesting a password you need to configure the server to accept key alone.
<yardenbar> its a 3rd party, not in my control
<Arcaire> That doesn't magically make it solveable.
<Arcaire> You can pass a password.
<yardenbar> The hash I'm passing is: {:password => "MY_PASS", :keys => [KEYS_ARRAY]}
<Arcaire> No hash there.
<yardenbar> Checking...
<Arcaire> Yeah you're not meant to pass a hash in by the looks, you should create an SSH session then SFTP wrap it.
pawnbox has joined #ruby
codecop_ has joined #ruby
navneet_ has joined #ruby
jenrzzz has quit [Ping timeout: 260 seconds]
tildes has joined #ruby
<yardenbar> I'll try that. Thank you Arcaire
<Arcaire> np
Guest54-ru has joined #ruby
navneet has quit [Read error: Connection reset by peer]
moeabdol has quit [Ping timeout: 250 seconds]
Billias has quit [Ping timeout: 250 seconds]
Cohedrin_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shmuli has joined #ruby
rahult has quit [Ping timeout: 250 seconds]
firstdayonthejob has quit [Ping timeout: 244 seconds]
Guest54-ru has quit [Remote host closed the connection]
<shmuli> practically, how does pass-by-sharing behave differently than other evaluations strategies?
skade has joined #ruby
konsolebox has joined #ruby
<yardenbar> Arcaire, See https://github.com/net-ssh/net-sftp/blob/master/lib/net/sftp.rb, one can pass options hash which in turn gets passed to Net::SSH.start
<Arcaire> yardenbar: generally i just go by the docs
<Arcaire> which said use kwargs
shmuli has quit [Remote host closed the connection]
konsolebox has quit [Max SendQ exceeded]
Pupeno has quit [Remote host closed the connection]
LoneHerm_ has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
rahult has joined #ruby
MyMind has joined #ruby
GriffinHeart has joined #ruby
<yardenbar> Can you paste a link, I can't find the kwargs part
<Arcaire> Ah sorry, not sure if that's the Ruby term for it.
<Arcaire> But the first link I pasted showed keyword args used.
<Arcaire> :password => whatever
raeoks has joined #ruby
<Arcaire> but not in a hash
<Arcaire> that's what i was referring to
<yardenbar> Oh
<Arcaire> in Python they're called kwargs (keyword arguments). Not sure what they're called in Ruby.
Sembei has quit [Ping timeout: 260 seconds]
shmuli has joined #ruby
<yardenbar> Thanks :)
<yardenbar> I'll try that
LoneHerm_ has quit [Ping timeout: 250 seconds]
pawnbox has quit [Remote host closed the connection]
moeabdol has joined #ruby
yfeldblum has quit [Ping timeout: 268 seconds]
pawnbox has joined #ruby
Mon_Ouie has joined #ruby
dionysus69 has joined #ruby
sjums has quit [Quit: Connection reset by beer]
elifoster has quit [Ping timeout: 246 seconds]
duderonomy has quit [Quit: Textual IRC Client: www.textualapp.com]
vondruch_ has joined #ruby
ssiris has quit [Quit: End of Line]
anisha has joined #ruby
vondruch has quit [Ping timeout: 260 seconds]
terminalrecluse has quit [Quit: Textual IRC Client: www.textualapp.com]
Snowy has joined #ruby
x77686d has quit [Quit: x77686d]
sjums has joined #ruby
victortyau has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
victortyau has joined #ruby
<yardenbar> Arcaire, I tried to connect using the sftp util (from command line). the sftp server requires both password and ssh-key authentication. is there a way to tell net-sftp to authenticate using both?
Tharbakim has quit [Ping timeout: 260 seconds]
rahult has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<arahael> Arcaire: see that. ^^^ :)
Dimik1 has joined #ruby
shmuli has quit [Remote host closed the connection]
Pupeno has joined #ruby
<yardenbar> Thank you arahael , do you know whether net-sftp can authenticate using both password and ssh-key?
Devalo has joined #ruby
<arahael> yardenbar: not sure, i would assume that you can use ssh-agent though, taking care of the password, if any.
Es0teric has quit [Quit: Computer has gone to sleep.]
Tharbakim has joined #ruby
antgel has joined #ruby
ur5us has quit [Remote host closed the connection]
Devalo has quit [Ping timeout: 268 seconds]
Pupeno has quit [Remote host closed the connection]
x77686d has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
biberu has joined #ruby
Pupeno has joined #ruby
rahult has joined #ruby
rahult has quit [Client Quit]
x77686d has quit [Client Quit]
elaptics is now known as elaptics`away
navneet_ has quit [Remote host closed the connection]
dionysus69 has quit [Ping timeout: 246 seconds]
PedramT has joined #ruby
Pupeno has quit [Ping timeout: 260 seconds]
AlexJakeGreen has joined #ruby
raeoks has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mikecmpbll has joined #ruby
dionysus69 has joined #ruby
PedramT has quit [Ping timeout: 276 seconds]
the_drow has joined #ruby
raeoks has joined #ruby
tagaulap has joined #ruby
stardiviner has quit [Ping timeout: 240 seconds]
evidex has joined #ruby
Coldblackice_ has joined #ruby
ur5us has joined #ruby
yfeldblum has joined #ruby
terlar has joined #ruby
jaruga___ has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
Dimik1 has quit [Ping timeout: 276 seconds]
alec_ has joined #ruby
Pisuke has joined #ruby
moeabdol has quit [Ping timeout: 246 seconds]
dionysus69 has quit [Ping timeout: 244 seconds]
bitsapien has quit [Ping timeout: 250 seconds]
ur5us has quit [Ping timeout: 250 seconds]
terlar has quit [Client Quit]
phatypus has joined #ruby
MyMind has quit [Ping timeout: 244 seconds]
moeabdol has joined #ruby
Pupeno has joined #ruby
johnbat26 has joined #ruby
terlar has joined #ruby
karapetyan has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Sembei has joined #ruby
Couch has joined #ruby
Pisuke has quit [Ping timeout: 250 seconds]
aufi has joined #ruby
mikecmpbll has joined #ruby
mikecmpbll has quit [Client Quit]
ur5us has joined #ruby
Xeago has joined #ruby
navneet has joined #ruby
bruce_lee has joined #ruby
stardiviner has joined #ruby
navneet has quit [Read error: Connection reset by peer]
andikr has joined #ruby
navneet_ has joined #ruby
PedramT has joined #ruby
skade has joined #ruby
navneet_ has quit [Read error: Connection reset by peer]
navneet has joined #ruby
Billias has joined #ruby
Pupeno has quit [Remote host closed the connection]
PedramT has quit [Ping timeout: 246 seconds]
phaza_ has joined #ruby
raeoks has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
phaza has quit [Ping timeout: 244 seconds]
navneet has quit [Ping timeout: 246 seconds]
bitsapien has joined #ruby
s1kx has quit [Quit: bai]
edwinvdgraaf has joined #ruby
Pupeno has joined #ruby
GriffinHeart has joined #ruby
araujo has joined #ruby
CloCkWeRX has quit [Ping timeout: 276 seconds]
mikecmpbll has joined #ruby
phatypus has quit [Quit: .>]
ponga has joined #ruby
elaptics`away is now known as elaptics
polysics has joined #ruby
xcesariox has joined #ruby
RegulationD has joined #ruby
mark_66 has joined #ruby
LoneHermit has joined #ruby
bkxd has joined #ruby
vondruch_ has quit [Quit: Ex-Chat]
polysics has quit [Ping timeout: 240 seconds]
n008f4g_ has joined #ruby
baweaver has quit [Remote host closed the connection]
RegulationD has quit [Ping timeout: 250 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
htmldrum has quit [Ping timeout: 244 seconds]
p1k has quit [Ping timeout: 276 seconds]
yeticry has quit [Read error: Connection reset by peer]
LoneHermit has quit [Ping timeout: 276 seconds]
devbug has quit [Quit: ZZZzzz…]
polysics has joined #ruby
sepp2k has joined #ruby
alec_ has quit [Remote host closed the connection]
polysics_ has joined #ruby
Shashikant86 has joined #ruby
yeticry has joined #ruby
vondruch has joined #ruby
polysics has quit [Ping timeout: 240 seconds]
TvL2386 has quit [Remote host closed the connection]
marcdel has quit [Quit: Textual IRC Client: www.textualapp.com]
bitsapien has quit [Ping timeout: 250 seconds]
navneet has joined #ruby
william3 has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
Coldblackice_ has quit [Ping timeout: 244 seconds]
ferr has joined #ruby
PedramT has joined #ruby
mrgrieves has joined #ruby
astrobun_ has joined #ruby
TvL2386 has joined #ruby
hk238 has joined #ruby
pwnd_nsfw has joined #ruby
TvL2386 has quit [Read error: Connection reset by peer]
TvL2386 has joined #ruby
marr has joined #ruby
tvw has quit [Ping timeout: 250 seconds]
marcdel has joined #ruby
PedramT has quit [Ping timeout: 276 seconds]
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
skade has joined #ruby
marcdel_ has joined #ruby
jottr has joined #ruby
AlexRussia has quit [Ping timeout: 252 seconds]
marcdel has quit [Ping timeout: 250 seconds]
troulouliou_div2 has joined #ruby
jottr has quit [Client Quit]
jottr has joined #ruby
alexherbo2 has joined #ruby
Xeago has quit [Remote host closed the connection]
tomphp has joined #ruby
Xeago has joined #ruby
andchar has joined #ruby
andchar has quit [Client Quit]
andchar has joined #ruby
igam has joined #ruby
dgncn has quit [Excess Flood]
william3 has quit [Remote host closed the connection]
andchar has quit [Client Quit]
skislak has joined #ruby
phatypus has joined #ruby
marcdel_ has quit [Ping timeout: 252 seconds]
dgncn has joined #ruby
andchar has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
william3 has joined #ruby
arthurnn has quit [Ping timeout: 250 seconds]
Xeago has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
ruby-lang538 has joined #ruby
Sovon has joined #ruby
<ruby-lang538> need help in installing capybara on ruby 1.9.3
<Sovon> when I hit 'gem install sass' I get an error saying 'could not find a valid gem'. Can anyone help me please ?
arthurnn has joined #ruby
Macaveli has quit [Ping timeout: 250 seconds]
<ruby-lang538> Error installing capybara: mime-types-data requires Ruby version >= 2.0. this is the error i ma getting when i do gem install capybara on ruby 1.9.3
jaguarmagenta has quit [Remote host closed the connection]
Xeago has joined #ruby
<ruby-lang538> anyone know how to resolve this problem
<ruby-lang538> Error installing capybara: mime-types-data requires Ruby version >= 2.0. this is the error i ma getting when i do gem install capybara on ruby 1.9.3
<ruby-lang538> Error installing capybara: mime-types-data requires Ruby version >= 2.0. this is the error i ma getting when i do gem install capybara on ruby 1.9.3
PedramT has joined #ruby
Macaveli has joined #ruby
pawnbox has quit [Remote host closed the connection]
<apeiros> ruby-lang538: I think you have to unstuck your cmd and v key
sepp2k has quit [Ping timeout: 246 seconds]
pawnbox has joined #ruby
aupadhye has joined #ruby
geek876 has quit [Quit: Page closed]
<ruby-lang538> lol sorry
navneet has quit [Read error: Connection reset by peer]
navneet has joined #ruby
<ruby-lang538> do you know how to resolve this problem
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
alec_ has joined #ruby
navneet has quit [Read error: Connection reset by peer]
<igam> ruby-lang538: upgrade to ruby 2.0.
navneet has joined #ruby
yfeldblum has quit [Ping timeout: 276 seconds]
astrobun_ has quit [Ping timeout: 240 seconds]
william3 has quit [Read error: Connection reset by peer]
PedramT has quit [Ping timeout: 260 seconds]
<apeiros> ruby-lang538: I'm curious - what part of "mime-types-data requires Ruby version >= 2.0" did you not understand?
<hanmac> maybe its the ">=" part?#
william3 has joined #ruby
gdp has joined #ruby
<igam> I'd say the "why" part.
<igam> Why, oh why?
alec_ has quit [Read error: Connection reset by peer]
Macaveli has quit [Ping timeout: 240 seconds]
<ruby-lang538> sorry i think I got it
<ruby-lang538> thanks btw
<ruby-lang538> bye
<ruby-lang538> quit
alec_ has joined #ruby
lubekpl has joined #ruby
al2o3-cr has quit [Ping timeout: 276 seconds]
<jackdaniel> o, igam here o/
Mon_Ouie has quit [Ping timeout: 260 seconds]
ferr has quit [Ping timeout: 244 seconds]
moei has joined #ruby
<apeiros> ruby-lang538: so you won't tell us what part about that message confused you? because I'm genuinely curious.
ruby-lang538 has quit [Ping timeout: 250 seconds]
jottr has quit [Quit: WeeChat 1.4]
anisha_ has joined #ruby
tildes_ has joined #ruby
weckl has joined #ruby
anisha has quit [Ping timeout: 250 seconds]
ledestin has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<igam> jackdaniel: hi!
<igam> jackdaniel: yep, I had to use Xcodeproj (from cocoapods), and what I have in lisp is not as advanced (yet).
tildes has quit [Ping timeout: 276 seconds]
blaix has joined #ruby
Macaveli has joined #ruby
Devalo has joined #ruby
weckl has quit [Ping timeout: 240 seconds]
<igam> jackdaniel: anyways, I write ruby as: (class Foo (def m (a b) (if (a == b) then 42 else nil end)) end), so…
<igam> plus some comma or semicolon where needed…
kimegede has joined #ruby
isxek has joined #ruby
isxek has quit [Client Quit]
<_aeris_> hello guy !
<jackdaniel> heh. I'm flirting with the idea to implement ruby atop of ECL's CRS as a second language
<_aeris_> seeding the PRNG with the script name hash, not very cool for security, no ?
<jackdaniel> (or third, if we count inlining C)
<igam> Like this: (class Foo; (def m (a,b) (if (a == b) then 42 else nil end) end) end) (Foo.new.m 1,1)
<igam> That's where you see that ruby is botched, with all those commans, and end before the closing parentheses… Whatever…
<igam> jackdaniel: why not, nowadays, there's a ruby standard.
<jackdaniel> yes, finding time for the task is more problematic :)
isxek has joined #ruby
al2o3-cr has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
<gregf_> that looks.. plain awful...
<igam> not to a lisper :-)
Devalo has quit [Ping timeout: 268 seconds]
<gregf_> lisp is not rocketscience :|
<igam> Well, it looks awful, but not for the same reasons.
<jackdaniel> gregf_: having common runtime for two languages is awful? hm, let's throw .net then
Gasher has joined #ruby
<jackdaniel> s/throw/throw away/
<gregf_> jackdaniel: no no.. that lisp syntax.. some folks just want to fuel their egos' :|.. fortunately theres better folks in Ruby!
<jackdaniel> gregf_: syntax is just a tool – one tool fits one objective, the other one the second
<jackdaniel> sexps are great if you do macros
<igam> jackdaniel: well, one problem will be to mix the Ruby OOS with CLOS. Happily, the Ruby OOS is one of the closest to CLOS, and CLOS is so maleable, that it should be possible to write metaclasses for the whole Ruby OOS.
<jackdaniel> or if you write a compiler (sexp is basically an AST, you don't have to use 10k yacc file)
Weavel has joined #ruby
<Sovon> where can I get the SSL certificate *.pem file for the manual SSL certificate fix in Ruby ?
<igam> gregf_: the ones who fill their egos are those who design new languages with botched syntaxes, instead of just having the humility of realizing that if there's a need for syntax, they don't know anything about it, but the end users of each application. And therefore lisp approach is the best: no syntax in the language, and tools to build new syntaxes for end-users.
Moosashi has quit [Quit: Moosashi]
<jackdaniel> igam: I disagree. Good syntax eliminates thought
<igam> Sovon: letsencrypt.org ?
<jackdaniel> and is something very good for a certain kind of tasks
alec_ has quit [Remote host closed the connection]
<Sovon> what ?
<igam> jackdaniel: yes, but not pre-defined syntax. First comes the task, then the syntax you implement for that task.
workmad3 has joined #ruby
elaptics is now known as elaptics`away
<igam> Sovon: letsencrypt.org will give you certificates.
<gregf_> all this lisp discussion seems OT :|. this is Ruby!!!
ropeney has quit [Remote host closed the connection]
<igam> Which is a matzacred lisp, so on topic. :-)
tildes_ has quit [Remote host closed the connection]
<jackdaniel> igam: having common syntax reduces effort to learn it for outsiders, hence consolidates the community. Having good general purpose syntax is good. Either way I disagree with both of you :P
nofxx has quit [Ping timeout: 260 seconds]
<jackdaniel> sorry for offtop (if it really is offtopic) – I've got stuff to do o/
tildes has joined #ruby
<igam> "Matsumoto describes the design of Ruby as being like a simple https://en.wikipedia.org/wiki/Lisp_(programming_language) language at its core" — https://en.wikipedia.org/wiki/Ruby_(programming_language)
<Sovon> Can you please find me the link of the AddTrustExternalCARoot-2048.pem. SSL in that website ? I need that as mentioned in this github tutorial [ https://gist.github.com/luislavena/f064211759ee0f806c88#installing-using-update-packages-new ]
<igam> is the URL, I don't know if you can download anything from it.
<Arcaire> arahael: oh so they are called kwargs in rubyland too
<Arcaire> i just always called them that because i don't program in a team so i didn't care if i was wrong. good to know!
<Sovon> That link says 'Not Found'
<Sovon> I can not download the certificate
<igam> You can google using allinurl: https://www.google.fr/search?q=allinurl:"AddTrustExternalCARoot-2048.pem"
sepp2k has joined #ruby
<igam> Of course, you would need to be sure of those root certificates…
<Sovon> nice google filter trick
<toretore> the certs are in the repo
<Sovon> I'll try saving it in that filename and extension and give it a go
<toretore> if you manually upgrade the rubygems installation it should come with the new certs
someperson4465 has joined #ruby
<someperson4465> could anyone advise me how to setup a ruby package
ramfjord has quit [Ping timeout: 260 seconds]
<igam> gem install $package # what else?
redasus has joined #ruby
redasus2 has joined #ruby
ur5us has quit [Remote host closed the connection]
<someperson4465> or whatever they are called in ruby :) it is an addon for a python package but was written in ruby for some reason
<igam> this might make things a little more complex :-)
<Radar> I have a guide for exactly that :)
<toretore> someperson4465: provide more information
<someperson4465> how can i show you the problem ive been having
<someperson4465> ie you cant paste code here
<toretore> ?gist
<ruby[bot]> https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
<someperson4465> ok one sec
iamvery has quit [Ping timeout: 260 seconds]
adgtl_ has quit [Quit: EliteBNC - http://www.elitebnc.org/]
the_drow has quit [Quit: This computer has gone to sleep]
patrick_star_2 has joined #ruby
ta_ has joined #ruby
patrick_star_3 has quit [Ping timeout: 252 seconds]
last_staff has quit [Quit: last_staff]
mikecmpbll has quit [Read error: Connection reset by peer]
mikecmpb_ has joined #ruby
GriffinHeart has quit [Remote host closed the connection]
blackmesa has joined #ruby
mdw has joined #ruby
Pupeno has quit [Remote host closed the connection]
n008f4g_ has quit [Ping timeout: 252 seconds]
<Sovon> it still says error fetching http://rubygems.org/
evidex has quit [Remote host closed the connection]
evidex has joined #ruby
bluOxigen_ has joined #ruby
<toretore> someperson4465: link to app?
<Sovon> I replaced the certificate
blaix1 has joined #ruby
<Sovon> toretore, can you help me setup Sass in Ruby - windows ?
blaix1 has quit [Client Quit]
bluOxigen has quit [Ping timeout: 276 seconds]
<toretore> no
blackmesa has quit [Ping timeout: 260 seconds]
<toretore> i don't know anything about windows
iamvery has joined #ruby
<toretore> someperson4465: did you have ruby installed before you installed rbenv?
<someperson4465> yes
<someperson4465> though it was the wrong version
adgtl has joined #ruby
blackmesa has joined #ruby
yfeldblum has joined #ruby
lubekpl has quit [Quit: Textual IRC Client: www.textualapp.com]
blaix has quit [Quit: Leaving.]
lubekpl has joined #ruby
<toretore> someperson4465: that's the problem, your system is confused. make sure `which ruby` points to rbenv
<toretore> same thing with `which gem`
<toretore> uninstall the system ruby is possible
<Sovon> I installed ruby version which says '2.4.5' in gem --version command
cdg has quit [Remote host closed the connection]
william3 has quit [Read error: Connection reset by peer]
<someperson4465> i already uninstalledthe system ruby and the new install is now in the path
<someperson4465> here is output of which ruby ~/.rbenv/shims/ruby
<Sovon> I am trying to install Sass (as a gem in Ruby) in this..
xthread has joined #ruby
xthread has quit [Client Quit]
<someperson4465> ~/.rbenv/shims/gem
xthread has joined #ruby
johnny56_ has joined #ruby
GriffinHeart has joined #ruby
<toretore> someperson4465: `which bundle` ?
<someperson4465> ~/.rbenv/shims/bundle
<toretore> so why does your bash say "/usr/bin/bundle: /usr/bin/ruby: bad interpreter: No such file or directory"?
<toretore> `which rake` too
<someperson4465> no idea. :( i can run bundle only when i do full path to bundle /home/User1/.rbenv/versions/2.2.0/bin/bundle install
Olipro has joined #ruby
johnny56 has quit [Ping timeout: 264 seconds]
DanyC has joined #ruby
<someperson4465> @toretore ~/.rbenv/shims/rake
<toretore> are you in the app root when you run this?
htmldrum has joined #ruby
<someperson4465> im in the directory yes
<someperson4465> and as i said the files did process
LoneHerm_ has joined #ruby
<someperson4465> there was output for bundle isntall and for rake db
<toretore> do you have a config/database.yml ?
<someperson4465> no erorrs
<someperson4465> i dont know
<someperson4465> how do i chekc
<toretore> you're doing `ruby youtube-multiple-dl`
montagne_goat has joined #ruby
<toretore> `cd ..; ruby bin/youtube-multiple-dl`
<someperson4465> yes and the output showed in the gist line 25 https://gist.github.com/anonymous/a5cc10b12570bff2db9f610be24a234f is what the error was to `ruby youtube-multiple-dl`
DanyC has left #ruby [#ruby]
<someperson4465> what do you mean by cd..;
<toretore> the app dir is /home/User1/youtube-multiple-dl
<toretore> go there
<toretore> do everything from there
<someperson4465> yes that is where i was
<toretore> not inside bin
<toretore> no it says in your gist you were in bin
isxek has quit [Remote host closed the connection]
<toretore> then do `ruby -I. bin/youtube-multiple-dl`
LoneHerm_ has quit [Ping timeout: 244 seconds]
<someperson4465> ruby: No such file or directory -- youtube-multiple-dl (LoadError) fomr directory /home/User1/youtube-multiple-dl from typing ruby youtube-multiple-dl
<toretore> that's not what i told you to do
<toretore> read it again
<someperson4465> this one? then do `ruby -I. bin/youtube-multiple-dl`
william3 has joined #ruby
<someperson4465> ruby -I. bin/youtube-multiple-dl i put that in and it didnt make an error
<someperson4465> jsut went back to command prompt
redasus2 has quit [Ping timeout: 250 seconds]
redasus has quit [Ping timeout: 250 seconds]
Sovon has quit [Quit: Page closed]
<someperson4465> the gist is from yesterday
htmldrum has quit [Ping timeout: 260 seconds]
<someperson4465> and i tried it many ways
<someperson4465> i mean both in and out of bin
adgtl has quit [Quit: EliteBNC - http://www.elitebnc.org/]
sepp2k has quit [Ping timeout: 268 seconds]
navneet has quit [Read error: Connection reset by peer]
Shashikant86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
RegulationD has joined #ruby
n008f4g_ has joined #ruby
isxek has joined #ruby
pLaToOn has joined #ruby
que has joined #ruby
d0lph1n98 has joined #ruby
<someperson4465> you meant do 'ruby -I' as a seperate command? not `ruby -I. bin/youtube-multiple-dl`all as one line?
htmldrum has joined #ruby
william3 has quit [Read error: Connection reset by peer]
<someperson4465> ie ruby -I enter
baweaver has joined #ruby
<que> hi guys, i got small thing and with my english skills i am unable to find the answer. i do curl quetion ( after that in shell i have to put password ) and i dont know how to put password from ruby script
william3 has joined #ruby
RegulationD has quit [Ping timeout: 268 seconds]
phatypus has quit [Quit: .>]
oqui has joined #ruby
<toretore> que: gist your code
<toretore> ?gist
<ruby[bot]> https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
alec_ has joined #ruby
alec_ has quit [Remote host closed the connection]
alec_ has joined #ruby
kits has joined #ruby
adgtl has joined #ruby
<que> shell asks for password
bronson has joined #ruby
navneet has joined #ruby
moeabdol has quit [Ping timeout: 240 seconds]
victortyau has quit [Quit: Textual IRC Client: www.textualapp.com]
<toretore> "-u, --user <user:password>"
baweaver has quit [Ping timeout: 268 seconds]
<toretore> curl -u user:password -XGET "http://127.0.0.1:533/_template/template_1"
nixmaniack has joined #ruby
TheHodge has joined #ruby
<que> toretore: yeah but for future i also want to know how to put the password to shell
sgambino has joined #ruby
<toretore> then you have to connect to the process stdin
<toretore> using popen or similar
flashpoint9 has joined #ruby
<toretore> and probably read its stdout to know when it's time
yfeldblum has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 252 seconds]
<que> stdin not stdout ?
mdw has quit [Quit: Sleeping Zzzzz]
<someperson4465> toretore i tried what you wrote and nothing happens i dont know what i did wrong but i tried reading it many times and nothing ahppens
<toretore> `ruby -I. bin/youtube-multiple-dl -h
<toretore> - the first `
<someperson4465> did you mean all as one command or the full stop indicates two commands?
<toretore> 1
shayan has joined #ruby
<someperson4465> ok i did that in the root and it didnt make an error just goes back to prompt
<someperson4465> in the app root i mean /home/User1/youtube-multiple-dl
rdvdet has joined #ruby
moeabdol has joined #ruby
<someperson4465> ok i tried with the -h on now and it gives me the progrms options so some progress :)
mdw has joined #ruby
<someperson4465> oh i get what that did :D -h being for help
adgtl has quit [Quit: EliteBNC - http://www.elitebnc.org/]
genpaku has quit [Ping timeout: 276 seconds]
montagne_goat has quit [Quit: Leaving...]
Shashikant86 has joined #ruby
<oqui> hey guys is there a ruby on rails specific channel?
adgtl has joined #ruby
<someperson4465> alright i see now i can make it run with prefixing 'ruby -I. bin/' how would i add it to run via linux path
<ghr> oqui #rubyonrails?
<someperson4465> withouit typing that prefix
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
the_drow has joined #ruby
Moosashi has joined #ruby
ur5us has joined #ruby
nixmaniack has quit [Remote host closed the connection]
nixmaniack has joined #ruby
adgtl has quit [Ping timeout: 268 seconds]
nixmaniack has quit [Changing host]
nixmaniack has joined #ruby
Shashikant86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
genpaku has joined #ruby
n008f4g_ has quit [Ping timeout: 244 seconds]
redasus2 has joined #ruby
redasus has joined #ruby
nixmaniack has quit [Ping timeout: 246 seconds]
william3 has quit [Ping timeout: 246 seconds]
nixmaniack has joined #ruby
nixmaniack has quit [Remote host closed the connection]
mikecmpb_ is now known as mikecmpbll
nixmaniack has joined #ruby
nixmaniack has quit [Remote host closed the connection]
AlexRussia has joined #ruby
adgtl has joined #ruby
_3by8 has joined #ruby
<_3by8> I assumed that I'd be able to do this in a method: self.date || self.created_at where self.date is a user-defined date. My thinking was that it would return date if it were there and created_at if it wasn't. Obviously, that doesn't work. How should that work?
william3 has joined #ruby
Xeago has quit [Remote host closed the connection]
<toretore> _3by8: it should work. gist your code
ta__ has joined #ruby
someperson4465 has quit [Quit: Page closed]
n008f4g_ has joined #ruby
d0lph1n98 has quit [Quit: leaving]
Spami has joined #ruby
ta_ has quit [Ping timeout: 250 seconds]
giz|work has joined #ruby
adgtl has quit [Quit: EliteBNC - http://www.elitebnc.org/]
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jaguarmagenta has joined #ruby
Shashikant86 has joined #ruby
pawnbox has quit [Remote host closed the connection]
<TomyWork> is it possible to install a global exception handler in ruby?
Xeago has joined #ruby
navneet has quit [Ping timeout: 260 seconds]
<TomyWork> i'm trying to get my Vagrantfile a first chance at inspecting certain exceptions thrown by vagrant's puppet provisioner
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
lxsameer has joined #ruby
Xeago has quit [Remote host closed the connection]
jaguarmagenta has quit [Ping timeout: 250 seconds]
johnmilton has joined #ruby
elaptics`away is now known as elaptics
Xeago has joined #ruby
<toretore> _3by8: `def date` not `def self.date`
<_3by8> toretore: oops, thanks.
Xeago has quit [Remote host closed the connection]
adgtl has joined #ruby
sepp2k has joined #ruby
Xeago has joined #ruby
rubirc has joined #ruby
allcentury has joined #ruby
blaix has joined #ruby
PedramT has joined #ruby
ur5us has quit [Remote host closed the connection]
Xeago has quit [Remote host closed the connection]
sepp2k has quit [Ping timeout: 260 seconds]
adgtl has quit [Ping timeout: 250 seconds]
p1k has joined #ruby
Shashikant86 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
PedramT has quit [Ping timeout: 244 seconds]
ropeney has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
minimalism has quit [Quit: minimalism]
GodFather has joined #ruby
ur5us has joined #ruby
navneet has joined #ruby
weckl has joined #ruby
rodfersou has joined #ruby
moeabdol has quit [Ping timeout: 250 seconds]
Devalo has joined #ruby
moeabdol has joined #ruby
mdw_ has joined #ruby
drunkfox is now known as staticfox
droids___ has joined #ruby
Devalo has quit [Ping timeout: 268 seconds]
mdw has quit [Ping timeout: 250 seconds]
GriffinHeart has quit []
Yiota has joined #ruby
rubyNoob has joined #ruby
_3by8 has quit [Quit: Page closed]
spooq|2 has quit [Ping timeout: 260 seconds]
ur5us has quit [Remote host closed the connection]
Pupeno has joined #ruby
PedramT has joined #ruby
que has quit [Quit: Page closed]
ur5us has joined #ruby
<rubyNoob> Hi there fellow programmers. I have recently started using RubyMine. I made a project which is linked to my dropbox file ( so it automatically synchronizes my work and home computer ), but for some reasons it doesn't recognize global variables declared in other files within the project.
oliver___ has joined #ruby
PedramT has quit [Remote host closed the connection]
Yiota has quit [Ping timeout: 240 seconds]
<rubyNoob> As example, in 1 file I have a global variable named @invoice_start = 0, in the another file I use this variable. But the IDE says: Cannot find declaration for field @invoice_start
<rubyNoob> Anyone has an idea how to solve this ?
moeabdol has quit [Ping timeout: 240 seconds]
william3 has quit [Remote host closed the connection]
blaxter has joined #ruby
blackgoat has joined #ruby
ur5us has quit [Ping timeout: 260 seconds]
moeabdol has joined #ruby
william3 has joined #ruby
ldnunes has joined #ruby
<jokke> any idea what's wrong here: extconf.rb:10:in `<main>': uninitialized constant Config
<jokke> i'm trying to install nokogiri
william3 has quit [Ping timeout: 260 seconds]
sepp2k has joined #ruby
dionysus69 has joined #ruby
moeabdol has quit [Ping timeout: 276 seconds]
ta_ has joined #ruby
ta__ has quit [Read error: Connection reset by peer]
flashpoint9 has quit [Remote host closed the connection]
n008f4g_ has quit [Ping timeout: 250 seconds]
p1k has quit [Ping timeout: 268 seconds]
pawnbox has joined #ruby
roshanavand has joined #ruby
Emmanuel_Chanel has quit [Remote host closed the connection]
brendan- has joined #ruby
<jsaak> rubyNoob: there are much better solutions for code sharing than dropbox, search for git or svn in google, also try to avoid global variables, they are not needed most of the time, if you insist on global variables try $var instead
shayan has quit [Quit: shayan]
anisha_ has quit [Quit: This computer has gone to sleep]
moeabdol has joined #ruby
<jokke> rubyNoob: for git: https://git-scm.com/book/en/v2
<jokke> very much recommended
anisha_ has joined #ruby
Shashikant86 has joined #ruby
navneet has quit [Read error: Connection reset by peer]
sgambino has joined #ruby
<rubyNoob> Thanks for the answer, ill look into git.
Shashikant86 has quit [Max SendQ exceeded]
Pupeno has quit [Remote host closed the connection]
<yardenbar> Hello, How do I set the working directory for "bundle exec" ?
skade has joined #ruby
charlemagne has joined #ruby
skade has quit [Client Quit]
<droids___> Would this close the file automatically? File.open('file.txt', 'w') { |file| file.write("hello") }
genpaku has quit [Ping timeout: 260 seconds]
mikecmpb_ has joined #ruby
genpaku has joined #ruby
skade has joined #ruby
moeabdol has quit [Ping timeout: 268 seconds]
chipotle has quit [Ping timeout: 252 seconds]
mikecmpbll has quit [Ping timeout: 268 seconds]
mdw_ has quit [Quit: Sleeping Zzzzz]
kristofferR has joined #ruby
mdw has joined #ruby
neuraload has joined #ruby
moeabdol has joined #ruby
PedramT has joined #ruby
banister has joined #ruby
skade has quit [Client Quit]
zacstewart has quit [Ping timeout: 268 seconds]
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<canton7> droids___, yes: that's the point of the version of File.open which takes a block
Pupeno has joined #ruby
GinoMan2440__ has quit [Ping timeout: 268 seconds]
PedramT has quit [Ping timeout: 244 seconds]
<rubirc> C# has this thing where you can set public attributes very neatly: new Object() { Field1 = true }
<rubirc> does ruby have something similar?
moeabdol has quit [Ping timeout: 250 seconds]
raeoks has joined #ruby
ta_ has quit [Read error: Connection reset by peer]
Rickmasta has joined #ruby
ta_ has joined #ruby
solars has quit [Ping timeout: 250 seconds]
freerobby has joined #ruby
godzillaenlacasa has joined #ruby
ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
blaix has quit [Quit: Leaving.]
charlema_ has joined #ruby
chipotle has joined #ruby
william3 has joined #ruby
tax has quit [Ping timeout: 250 seconds]
charlemagne has quit [Read error: Connection reset by peer]
baweaver has joined #ruby
sdothum has joined #ruby
GBrawl has joined #ruby
bronson has joined #ruby
Pupeno has quit [Remote host closed the connection]
synthroid has joined #ruby
baweaver has quit [Ping timeout: 276 seconds]
noService has quit [Ping timeout: 276 seconds]
Pupeno has joined #ruby
antgel has quit [Ping timeout: 260 seconds]
blackgoat has quit [Quit: WeeChat 1.4]
Pupeno has quit [Remote host closed the connection]
bronson has quit [Ping timeout: 252 seconds]
andikr has quit [Ping timeout: 252 seconds]
emilford has joined #ruby
moeabdol has joined #ruby
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
GodFather has quit [Ping timeout: 250 seconds]
tinnvec has quit [Ping timeout: 268 seconds]
Yiota has joined #ruby
ropeney has joined #ruby
allcentury has quit [Ping timeout: 260 seconds]
bob434 has joined #ruby
navneet has joined #ruby
aufi has quit [Ping timeout: 260 seconds]
solars has joined #ruby
Spami has joined #ruby
sepp2k has quit [Quit: Leaving.]
blackmesa has quit [Ping timeout: 276 seconds]
navneet has quit [Ping timeout: 250 seconds]
sepp2k has joined #ruby
Spami has quit [Client Quit]
ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lxsameer has quit [Ping timeout: 276 seconds]
swills has quit [Ping timeout: 250 seconds]
andikr has joined #ruby
stennowork has joined #ruby
navneet has joined #ruby
siaw has quit [Quit: siaw]
droids___ has left #ruby [#ruby]
anisha_ has quit [Quit: Leaving]
anisha has joined #ruby
shayan has joined #ruby
<jokke> any ideas regarding my nokogiri problem
<jokke> ?
navneet has quit [Remote host closed the connection]
ropeney has joined #ruby
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
GodFather has joined #ruby
carella has quit [Remote host closed the connection]
carella has joined #ruby
m8 has joined #ruby
jaguarmagenta has joined #ruby
<Fernando-Basso> rubyNoob: @foo is not global. Make it $foo = 0
<Fernando-Basso> rubyNoob: Ruby doesn't assume a variable is global based only on where it is defined. It also depends on naming convention.
<Fernando-Basso> Global vars start with $.
flashpoint9 has joined #ruby
andikr has quit [Ping timeout: 240 seconds]
shayan has quit [Quit: shayan]
tinnvec has joined #ruby
<Fernando-Basso> rubyNoob: Also, I know knwo how multiple files interect when it comes to global vars.
PedramT has joined #ruby
jaguarmagenta has quit [Ping timeout: 250 seconds]
<apeiros> uh, don't use globals
navneet has joined #ruby
tax has joined #ruby
kristofferR has quit [Quit: Textual IRC Client: www.textualapp.com]
w1lson has joined #ruby
andikr has joined #ruby
LinuxHippie has joined #ruby
JakFrist has joined #ruby
johnbat26 has quit [Remote host closed the connection]
vondruch has quit [Quit: Ex-Chat]
PedramT has quit [Ping timeout: 260 seconds]
ramortegui has joined #ruby
blaxter has quit [Quit: foo]
navneet_ has joined #ruby
kam270 has joined #ruby
kam270 has quit [Max SendQ exceeded]
kam270 has joined #ruby
crameth has joined #ruby
crameth has quit [Max SendQ exceeded]
newjersey has joined #ruby
zacstewart has joined #ruby
kam270 has quit [Max SendQ exceeded]
navneet has quit [Ping timeout: 240 seconds]
kam270 has joined #ruby
GBrawl has quit [Quit: (null)]
blaxter has joined #ruby
navneet_ has quit [Remote host closed the connection]
JagaJaga has joined #ruby
gagrio has quit [Ping timeout: 276 seconds]
saneax is now known as saneax_AFK
w1lson has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kimegede has quit [Quit: Linkinus - http://linkinus.com]
gagrio has joined #ruby
w1lson has joined #ruby
ChiefAlexander has joined #ruby
n008f4g_ has joined #ruby
banister has joined #ruby
qba73 has joined #ruby
<newjersey> so do I need ruby-dev on ubuntu to install jekyll
<newjersey> ?
moeabdol has quit [Ping timeout: 268 seconds]
grn has joined #ruby
moeabdol has joined #ruby
blackmesa has joined #ruby
Xeago has joined #ruby
IrishGringo has joined #ruby
<ddv> newjersey: have you tried?
Devalo has joined #ruby
charlema_ has quit [Read error: Connection reset by peer]
<newjersey> no I have not installed ruby-dev yet
charlemagne has joined #ruby
sgambino has joined #ruby
Snowy is now known as Ballk
Ballk is now known as Snowy
<newjersey> I get ERROR: Failed to build gem native extension. and stack overflow https://stackoverflow.com/a/26161563/227646 said you need to in 2014 but I don't know ruby so I don't know if that was a short term bug or ...
diegoaguilar has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
htmldrum has quit [Ping timeout: 244 seconds]
Dry_Lips has quit [Ping timeout: 260 seconds]
<newjersey> I have run gem update --system though
aeterne has joined #ruby
aeterne_ has joined #ruby
<newjersey> is ruby-dev for people who want to work on the language itself or is it for users? the name is confusing
aeterne has quit [Remote host closed the connection]
JagaJaga has left #ruby ["WeeChat 1.4"]
djellemah_ is now known as djellemah
Devalo has quit [Ping timeout: 268 seconds]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_nex_ has joined #ruby
_nex_ has quit [Quit: leaving]
aspiers_ has joined #ruby
n008f4g_ has quit [Ping timeout: 246 seconds]
Macaveli has joined #ruby
vishwa has joined #ruby
victortyau has joined #ruby
william3 has quit [Ping timeout: 276 seconds]
bkxd_ has joined #ruby
bkxd has quit [Ping timeout: 276 seconds]
william3 has joined #ruby
LoneHermit has joined #ruby
whiteline has quit [Read error: Connection reset by peer]
jds_ has joined #ruby
tubuliferous has quit [Ping timeout: 268 seconds]
qba73 has quit []
xthread has quit [Quit: Reconnecting]
xthread has joined #ruby
solars has quit [Ping timeout: 244 seconds]
william3 has quit [Ping timeout: 250 seconds]
SilverKey has quit [Quit: Halted.]
bob434 has quit [Quit: This computer has gone to sleep]
LoneHermit has quit [Ping timeout: 250 seconds]
PedramT has joined #ruby
jds_ is now known as jds
lxsameer has joined #ruby
alexherbo2 has quit [Ping timeout: 250 seconds]
bob434 has joined #ruby
htmldrum has joined #ruby
swills has joined #ruby
<isxek> newjersey: the former
mjuszczak has joined #ruby
<newjersey> isxek, so why would a user who just wants to run gem install jekyll need ruby-dev?
PedramT has quit [Ping timeout: 252 seconds]
whiteline has joined #ruby
grn has quit []
Waqas has joined #ruby
UglyVendetta has quit [Read error: Connection reset by peer]
htmldrum has quit [Ping timeout: 244 seconds]
UglyVendetta has joined #ruby
rbennacer has joined #ruby
joonty has joined #ruby
malconis has joined #ruby
<isxek> newjersey: not completely sure what you're asking
augustold has joined #ruby
douglascorrea has joined #ruby
Waqas has quit [Ping timeout: 240 seconds]
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Waqas has joined #ruby
<newjersey> I am trying to do sudo gem install jekyll on lubuntu. I get ERROR: Failed to build gem native extension. and stack overflow https://stackoverflow.com/a/26161563/227646 said you need to in 2014 but I don't know ruby so I don't know if that was a short term bug or ...
<tobiasvl> I think newjersey means that ruby-dev seems to be a dependency for compass, which assumedly is a dependency for jekyll?
Macaveli has joined #ruby
augustold has left #ruby [#ruby]
william3 has joined #ruby
<isxek> newjersey: usually when you get those "failed to build gem native extension" errors, part of the gem needs to be built/compiled
<isxek> newjersey: since you're on lubuntu, you might need to have the 'build-essential' package installed
<isxek> newjersey: or, in other words, you would need to run 'sudo apt-get install build-essential'
<newjersey> thank you
<newjersey> nope, already installed
<Fernando-Basso> apeiros: Let the guy use globals. Come on!
<apeiros> Fernando-Basso: I've no idea whether it's a guy. they can use whatever, but globals are a bad idea.
<isxek> newjersey: that's odd, lemme try
<Fernando-Basso> :D
solars has joined #ruby
<Fernando-Basso> M$ has a js library that had over 400 globals.
<Fernando-Basso> Or had, idk.
<apeiros> I'm not sure whether that should be a supporting argument for globals
<Fernando-Basso> hahaha
<newjersey> Fernando-Basso, send a pull request fixing it?
morochena has joined #ruby
Emmanuel_Chanel has joined #ruby
<Fernando-Basso> newjersey: I would rather send a missile aiming M$ headquarters.
<isxek> newjersey: how did you install ruby, by any chance?
<newjersey> or better yet, rewrite it in typescript for them
<newjersey> isxek, sudo apt install ruby
<Fernando-Basso> apeiros: I'm sorry. I'm just joking. Of course globals shall not be used.
<Fernando-Basso> I even think langs should not even provide them.
<newjersey> ruby is already the newest version (1:2.3.0+1).
mdw has quit [Quit: Sleeping Zzzzz]
<isxek> newjersey: I have v2.3.0 too, but I did not install ruby via 'apt-get'
<apeiros> Fernando-Basso: depends. constants are in a way similar to globals and I consider them to be ok. but ruby is a great example - it could do well without the $globals and just use constants
<newjersey> is this old?
william3 has quit [Read error: Connection reset by peer]
<isxek> newjersey: I generally install Ruby through chruby/ruby-install, which builds Ruby inside my home directory
<apeiros> newjersey: check the topic. 2.3.0 is the current ruby version.
<newjersey> I don't know any ruby actually
<newjersey> I just want to play with jekyll
lxsameer has quit [Ping timeout: 276 seconds]
<newjersey> maybe there is a jekyll channel
<isxek> newjersey: I'd suggest installing Ruby that way, to make the gems build
raeoks has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<newjersey> but I'd have to add a ppa?
mustmodify has joined #ruby
dhollinger has joined #ruby
<mustmodify> can someone explain this code to me? https://twitter.com/drbrain/status/724746366539337728
<isxek> no need, the ruby-install script will get the Ruby source code, compile it on its own
<isxek> then install it in a directory inside your home directory
stardiviner has quit [Ping timeout: 276 seconds]
Xeago has quit [Remote host closed the connection]
<isxek> newjersey: here's the guide I used to install Ruby here in Ubuntu: http://ryanbigg.com/2014/10/ubuntu-ruby-ruby-install-chruby-and-you/
<newjersey> thanks
<isxek> i was able to install the jekyll gem without any issues
alec_ has quit []
frem has joined #ruby
william3 has joined #ruby
<isxek> unless someone more experienced than both of us objects, I'd suggest using that as the way to install Ruby on Ubuntu
fmcgeough has joined #ruby
p1k has joined #ruby
noService has joined #ruby
<isxek> newjersey: if you do try that, better run 'sudo apt-get remove ruby' first, to avoid conflicts
prestorium has joined #ruby
morochena has quit [Quit: Leaving...]
pLaToOn has quit [Read error: Connection reset by peer]
<neha-> use rvm
<neha-> dont use apt ruby
<neha-> imo
<isxek> there you go :)
stennowork has left #ruby ["Verlassend"]
phoo1234567 has joined #ruby
<rubirc> either there are up to date packages provided for a programming language
<rubirc> or you use something like rvm
<newjersey> this is great
noService has quit [Ping timeout: 260 seconds]
stannard has joined #ruby
w1lson has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apeiros> mustmodify: "I had to convert to |&b| because mruby doesn’t have Method"
idle_task has joined #ruby
theunraveler has joined #ruby
<apeiros> oh, the code, not the reason for the change
idletask has quit [Ping timeout: 250 seconds]
<apeiros> what part about it do you have difficulties?
<isxek> apeiros: so what could have been a one-liner got converted into a 3-liner?
w1lson has joined #ruby
<apeiros> isxek: that's a silly notion. the new code can be written in a single line too.
<isxek> apeiros: yeah, misread the code, sorry
fn2187 has joined #ruby
<adaedra> Hello
zacstewart has quit [Ping timeout: 240 seconds]
noService has joined #ruby
Emmanuel_Chanel has quit [Remote host closed the connection]
bronson has joined #ruby
blue_lizzard has joined #ruby
troulouliou_div2 has quit [Ping timeout: 276 seconds]
lxsameer has joined #ruby
lxsameer has quit [Changing host]
lxsameer has joined #ruby
Xeago has joined #ruby
swills has quit [Ping timeout: 260 seconds]
xthread has quit [Quit: leaving]
zacstewart has joined #ruby
snebel has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
<mustmodify> apeiros: right.
<snebel> A newbie question
<igam> where?
<snebel> I'm trying to understand why my gem intall chef -v 12.5.1 works versus bundle install for the same gem.. more info into this gist
<mustmodify> Well what is &method(:each) doing? It reminds me of something like collection.map(&:stuff) but obviously not the same.
crime has joined #ruby
hxegon has joined #ruby
idle_task is now known as idletask
moeabdol has quit [Ping timeout: 246 seconds]
kareeoleez has quit [Remote host closed the connection]
ferr has joined #ruby
alexherbo2 has joined #ruby
moeabdol has joined #ruby
w1lson has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Xeago has quit [Remote host closed the connection]
ChiefAlexander has quit [Remote host closed the connection]
lxsameer has quit [Ping timeout: 268 seconds]
tildes has quit [Remote host closed the connection]
havenwood changed the topic of #ruby to: Rules & more: http://ruby-community.com || Ruby 2.3.1; 2.2.5; 2.1.9: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || logs @ http://irclog.whitequark.org/ruby/
stardiviner has joined #ruby
charlemagne has quit [Remote host closed the connection]
paulgrmn3 has quit [Ping timeout: 252 seconds]
charlemagne has joined #ruby
troulouliou_div2 has joined #ruby
<havenwood> mustmodify: if #each is private
edwinvdgraaf has quit [Remote host closed the connection]
<mustmodify> It calls each if each is private?
edwinvdgraaf has joined #ruby
codecop_ has quit [Remote host closed the connection]
SilverKey has joined #ruby
anisha has quit [Quit: Leaving]
Xeago has joined #ruby
charlemagne has quit [Ping timeout: 268 seconds]
<apeiros> mustmodify: see Object#method, returns a Method instance for the method `each` on self
<apeiros> and &arg does as usual, pass in that object as a proc, i.e. invoke Method#to_proc and pass that as a block then
<apeiros> whoops, first "proc" should be "block"
allcentury has joined #ruby
stan has quit [Quit: Leaving]
troulouliou_div2 has quit [Ping timeout: 276 seconds]
<havenwood> mustmodify: For example consider #puts. It's a module function from Kernel so it's private, so you can't: [1, 2, 3].map &:puts
<apeiros> havenwood: I think you're on the wrong track :)
<apeiros> [1, 2, 3].map &:puts would do 1.puts etc.
snebel has quit [Quit: Leaving]
<havenwood> apeiros: Right!
<havenwood> map i didn't mean >.>
bob434 has quit [Quit: This computer has gone to sleep]
<havenwood> but nils, okay!
<havenwood> >> [1, 2, 3].map &method(:puts)
redasus2 has quit [Ping timeout: 250 seconds]
<apeiros> hm, but interesting. I never checked whether Symbol#to_proc used send or public_send, and you're right, it uses public_send. nice.
Xeago has quit [Remote host closed the connection]
Xeago has joined #ruby
redasus has quit [Ping timeout: 276 seconds]
paulgrmn3 has joined #ruby
zast has joined #ruby
stan has joined #ruby
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
AlexJakeGreen has quit [Remote host closed the connection]
<havenwood> mustmodify: ^ so `&method(:puts)` there ^ lets you do a private method where `&:puts` is like `&public_method(:puts)` via `:puts.to_proc`
dionysus69 has quit [Ping timeout: 252 seconds]
jhack has joined #ruby
<havenwood> (but is used as a block, since & is the magical block fairy)
<apeiros> havenwood: that's not the only difference ;-)
Xeago has quit [Remote host closed the connection]
<havenwood> let us count the differences! https://www.youtube.com/watch?v=kQC82okzTXI
crystal77 has joined #ruby
<apeiros> havenwood: what's the receiver and what's the arguments passed in is probably more important :)
Rickmasta has joined #ruby
smathy has joined #ruby
ruby[bot] has joined #ruby
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
RegulationD has joined #ruby
epochwolf has left #ruby [#ruby]
<havenwood> apeiros: I was just thinking the "why" behind it generally - and hadn't scrolled back to the actual question :)
skade has joined #ruby
bob434 has joined #ruby
Devalo has joined #ruby
troulouliou_div2 has joined #ruby
patrick_star_2 has quit [Ping timeout: 276 seconds]
deavid has quit [Ping timeout: 260 seconds]
hobodave has joined #ruby
<havenwood> apeiros: The multiple things does make it harder to explain the `&` but handy to use!
<havenwood> Just one thing... boring!
patrick_star_2 has joined #ruby
JakFrist has joined #ruby
<crime> [1,2,3].map &method(:puts) doesnt work for me?
<crime> is it supposed to?
ChiefAlexander has joined #ruby
deavid has joined #ruby
<havenwood> crime: I meant #each, it's early. But year it should work.
<havenwood> crime: #=> [nil, nil, nil]
mostlybadfly has joined #ruby
<crime> oh, yeah i missed a char, it works
RegulationD has quit [Ping timeout: 260 seconds]
moeabdol has quit [Quit: WeeChat 1.4]
rippa has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
Xeago has joined #ruby
<crime> so then &method(:symbol) is {|x| x.symbol}, or something similar?
<crime> if I do just &method(:puts) into irb, i get an error, so how does that end up being a Proc?
<havenwood> crime: `x.symbol` is like `x.public_send :symbol`
<havenwood> crime: Drop the ampersand if you're not passing it as a block.
stardiviner has quit [Ping timeout: 244 seconds]
<havenwood> crime: method(:puts).owner
jaguarmagenta has joined #ruby
<havenwood> crime: method(:puts).parameters
stannard has quit [Remote host closed the connection]
<crime> i can do: lambda &method(:puts)
<havenwood> crime: Well, anywhere you can use a block, you can use it as a block.
<crime> right
<crime> ok i get it
<havenwood> crime: &method(:puts).to_proc
stannard has joined #ruby
<havenwood> :P
<crime> yeah
<havenwood> I didn't mean to prefix the &, force of habit now. :P
marr has quit [Ping timeout: 260 seconds]
<havenwood> crime: method(:puts).to_proc.call 'wheeee'
oliver___ has quit []
<havenwood> crime: Not the most straightforward way of printing, but it works.
tax has quit [Ping timeout: 252 seconds]
<crime> yup, lol
solars has quit [Ping timeout: 246 seconds]
IrishGringo has quit [Ping timeout: 260 seconds]
<havenwood> crime: The to_proc of course isn't needed, but doesn't hurt.
<crime> it might come in handy for something eventually
skade has joined #ruby
skade has quit [Client Quit]
<havenwood> crime: Fun to play with in Pry. Check out #curry, #unbind and friends for some fun.
bob434 has quit [Quit: This computer has gone to sleep]
skislak has quit [Ping timeout: 268 seconds]
<crime> so then methods are not inherently procs?
kam270 has quit [Ping timeout: 240 seconds]
<havenwood> crime: Ask it!
aufi has joined #ruby
<crime> Method's superclass is object, not Proc, idk why I expected differently
<crime> nvm
nanoz has joined #ruby
jaguarmagenta has quit [Ping timeout: 260 seconds]
troulouliou_div2 has quit [Quit: Leaving]
<havenwood> crime: Though when you to_proc it it does become a lambda: method(:puts).to_proc.lambda? #=> true
<crime> whats the purpose of the Method class? why not just make all methods procs?
mitt3ns has joined #ruby
<apeiros> crime: Method instances are still bound to an object
bob434 has joined #ruby
<apeiros> procs are not
<crime> im not sure I follow, Proc.superclass is Object
william3 has quit [Ping timeout: 240 seconds]
neuraload has quit [Quit: neuraload]
<apeiros> >> [1,2,3].map(&5.method(:+))
<ruby[bot]> apeiros: # => [6, 7, 8] (https://eval.in/560017)
<apeiros> or just
<apeiros> >> 5.method(:+).call(1)
<ruby[bot]> apeiros: # => 6 (https://eval.in/560018)
<apeiros> the method instance is still bound to 5. it's calling 5.+(), not just + without a receiver.
<apeiros> and the superclass of Proc & Method is rather irrelevant.
<crime> ok, I gotcha
shayan has joined #ruby
<crime> so without Method, 5's .+ would just be floating around with no way know about 5 in the first place
<apeiros> that's why [1,2,3].each(&method(:puts)) is quite different from .each(&:puts)
<apeiros> former is self.puts(1), latter is 1.puts()
allcentury has quit [Ping timeout: 244 seconds]
<shevy> hmm
<shevy> & reminds me of a snake
<shevy> the snake operator
* apeiros prefers the sake operator
<crime> & reminds me of a pretzel
<crime> in nyc we have those like food carts with those big pretzels, so delicious
kareeoleez has joined #ruby
synthroid has quit [Remote host closed the connection]
the_drow has quit [Quit: This computer has gone to sleep]
berserk_ren has joined #ruby
aganov has quit [Quit: Leaving]
william3 has joined #ruby
kareeoleez has quit [Remote host closed the connection]
stardiviner has joined #ruby
william3 has quit [Read error: Connection reset by peer]
frem has quit [Remote host closed the connection]
kobain has joined #ruby
rodfersou is now known as rodfersou|lunch
skade has joined #ruby
antgel has joined #ruby
mdw has joined #ruby
skade has quit [Remote host closed the connection]
bob434 has quit [Quit: This computer has gone to sleep]
PedramT has joined #ruby
aufi has quit [Ping timeout: 240 seconds]
LoneHermit has joined #ruby
x77686d has joined #ruby
p1k has quit [Ping timeout: 252 seconds]
<mustmodify> apeiros: Missed your messages... just got them. Thanks for the explanation.
agent_white has quit [Disconnected by services]
mitt3ns is now known as agent_white
solars has joined #ruby
<agent_white> Mornin
<shevy> crime lol
<crime> what
<shevy> big pretzels
lubekpl has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<crime> they r so good
<crime> you wanna hear something that is both terrible and amazing
PedramT has quit [Ping timeout: 252 seconds]
<crime> I bought 2 big slices of ny style pizza, put a pretzel in the middle, combined the slices so that the cheese enveloped the pretzel
<shevy> it's awkward because it's a german word... like kindergarten... or eigenklass!
<crime> its the most NY thing that I've done so far
<crime> and it was great
LoneHermit has quit [Ping timeout: 252 seconds]
<shevy> those titan-sized pizzas?
allcentury has joined #ruby
impermanence has joined #ruby
redasus2 has joined #ruby
redasus has joined #ruby
ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
william3 has joined #ruby
timmow has joined #ruby
swills has joined #ruby
ur5us has joined #ruby
deadnull has joined #ruby
bob434 has joined #ruby
carella has quit [Read error: Connection timed out]
nhhc has joined #ruby
IrishGringo has joined #ruby
nhhc has quit [Max SendQ exceeded]
nhhc has joined #ruby
carella has joined #ruby
berserk_ren has quit [Quit: Arrrgh!]
william3 has quit [Ping timeout: 260 seconds]
infra-red has joined #ruby
berserk_ren has joined #ruby
ur5us has quit [Ping timeout: 244 seconds]
berserk_ren has quit [Client Quit]
raeoks has joined #ruby
berserk_ren has joined #ruby
duckpuppy has joined #ruby
bob434 has quit [Client Quit]
yardenbar has quit [Ping timeout: 252 seconds]
RegulationD has joined #ruby
william3 has joined #ruby
impermanence has quit [Quit: leaving]
emilford has quit [Ping timeout: 252 seconds]
ramfjord has joined #ruby
kits has quit [Quit: Leaving]
SilverKe_ has joined #ruby
SilverKey has quit [Read error: Connection reset by peer]
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ropeney has joined #ruby
htmldrum has joined #ruby
william3 has quit [Remote host closed the connection]
diegoaguilar has quit [Ping timeout: 276 seconds]
godzillaenlacasa has quit [Quit: ZZZZZ....]
xpt has quit [Ping timeout: 276 seconds]
dopie has quit [Quit: Lost terminal]
htmldrum has quit [Ping timeout: 240 seconds]
dopie has joined #ruby
infra-red has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 260 seconds]
JakFrist has joined #ruby
ssiris has joined #ruby
Macaveli has joined #ruby
william3 has joined #ruby
solars has quit [Ping timeout: 268 seconds]
tubuliferous has joined #ruby
blue_lizzard has quit []
Macaveli has quit [Client Quit]
solars has joined #ruby
Devalo has quit [Remote host closed the connection]
deadnull has quit [Quit: Bye]
Pupeno has joined #ruby
redasus has quit [Remote host closed the connection]
redasus2 has quit [Remote host closed the connection]
Yiota has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tubuliferous has quit [Ping timeout: 246 seconds]
tildes has joined #ruby
synthroid has joined #ruby
pawnbox has quit [Remote host closed the connection]
lxsameer has joined #ruby
diegoaguilar has joined #ruby
Coldblackice_ has joined #ruby
pawnbox has joined #ruby
SilverKe_ has quit [Read error: Connection reset by peer]
stannard has quit [Remote host closed the connection]
rubyNoob has quit [Ping timeout: 250 seconds]
SilverKey has joined #ruby
Macaveli has joined #ruby
ramfjord has quit [Ping timeout: 252 seconds]
<crime> shevy, yes
william3 has quit [Remote host closed the connection]
Devalo has joined #ruby
<crime> those are ny's finest treasure
<crime> dollar slices
<crime> i guess the diabetes i'll probably get later just comes for free
karapetyan has joined #ruby
Dry_Lips has joined #ruby
Dry_Lips has quit [Changing host]
Dry_Lips has joined #ruby
solars has quit [Ping timeout: 260 seconds]
[Butch] has joined #ruby
lxsameer has quit [Ping timeout: 276 seconds]
<shevy> don't worry, there are lots of things that come with old age - like wisdom!!! look at the ruby code written by old people it is PERFECT
<mustmodify> shevy: +1
Regulati_ has joined #ruby
crystal77 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
GodFather has quit [Ping timeout: 260 seconds]
Devalo has quit [Remote host closed the connection]
18WAASLIQ has joined #ruby
victortyau has quit [Quit: Textual IRC Client: www.textualapp.com]
william3 has joined #ruby
gdp has quit [Remote host closed the connection]
andikr has quit [Remote host closed the connection]
DoubleMalt has joined #ruby
RegulationD has quit [Ping timeout: 240 seconds]
ramfjord has joined #ruby
s00pcan has quit [Ping timeout: 252 seconds]
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
armyriad has quit [Ping timeout: 268 seconds]
norc has joined #ruby
mrgrieves has quit [Ping timeout: 276 seconds]
edwinvdgraaf has quit [Remote host closed the connection]
amclain has joined #ruby
armyriad has joined #ruby
xpt has joined #ruby
blaix has joined #ruby
giz|work has quit [Ping timeout: 260 seconds]
joonty has quit [Ping timeout: 252 seconds]
stannard has joined #ruby
navneet has joined #ruby
speakingcode has joined #ruby
Couch has quit [Remote host closed the connection]
<crime> im channeling my inner zed shaw and trying to join the army so i can ruby in my spare time. he has wisdom, right?
s00pcan has joined #ruby
baweaver has joined #ruby
baweaver has quit [Remote host closed the connection]
rdvdet has quit [Remote host closed the connection]
baweaver has joined #ruby
william3 has quit [Read error: Connection reset by peer]
ramortegui has quit [Quit: Ex-Chat]
tomphp has quit [Ping timeout: 244 seconds]
william3 has joined #ruby
GinoMan2440 has joined #ruby
Pumukel has joined #ruby
bronson has joined #ruby
<shevy> lol
Mon_Ouie has joined #ruby
jhack has quit [Quit: jhack]
Devalo has joined #ruby
davedev24 has joined #ruby
<crime> its funnier because i actually am doing that
knamehost has joined #ruby
william3 has quit [Ping timeout: 260 seconds]
william3 has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
navneet has quit [Remote host closed the connection]
ta_ has quit [Read error: Connection reset by peer]
ta_ has joined #ruby
ropeney has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
salviaD has joined #ruby
william3 has quit [Remote host closed the connection]
<salviaD> I am kinda lost, how do I install this https://github.com/vdaubry/youtube-multiple-dl ?
mdw has quit [Quit: Sleeping Zzzzz]
Regulati_ has quit [Remote host closed the connection]
<shevy> salviaD the usage instruction says "Clone this repository; Bundle install; rake db:migrate"
<shevy> seems it got install issues too https://github.com/vdaubry/youtube-multiple-dl/issues/2
ljames has quit []
<salviaD> git clone ok, but " Bundle install" I dont have this command
theunraveler has quit [Read error: Connection reset by peer]
<salviaD> hmm do you believe it is broken?
<smathy> Lower b, and if you don't have that `gem install bundler`
blue_lizzard has joined #ruby
theunraveler has joined #ruby
<smathy> salviaD, that README is assuming a certain amount of ruby knowledge.
knamehost has left #ruby ["Leaving"]
<smathy> ...see the Requirements too if you haven't already.
Xeago has quit [Remote host closed the connection]
<salviaD> so my osx system has ruby 2.0.0 and brew install just installed ruby 2.3.0.... Yet Bundle is linked to system's ruby 2.0.0
sandelius has joined #ruby
<salviaD> on no... Your Ruby version is 2.3.0, but your Gemfile specified 2.2.0
<shevy> welcome to bundler!
shayan has quit [Remote host closed the connection]
mlakewood has joined #ruby
<smathy> salviaD, you should be able to change the Gemfile, a 2.2 app should work fine with 2.3
<salviaD> and that is what I call automagic
Don_John has joined #ruby
Don_John has quit [Remote host closed the connection]
Ishido has joined #ruby
<shevy> in fairness, it really does not have many direct dependencies https://github.com/vdaubry/youtube-multiple-dl/blob/master/Gemfile
<workmad3> salviaD: gem binaries are installed with a wrapper script that points to the ruby they were installed under... so if you haven't installed bundler in ruby 2.3, your `bundle` binary will point to the system ruby you installed it with
<smathy> salviaD, ...if you continue to want to play with different versions of ruby then I'd recommend chruby or rbenv and their installation helpers ruby-install or ruby-build.
symm- has joined #ruby
<salviaD> workmad3: yep, I quickly imagined that, and my bundler is already linked to lastest ruby.
deadnull has joined #ruby
<shevy> hmm will pull in active* gems
SCHAAP137 has joined #ruby
Devalo has quit [Remote host closed the connection]
deadnull has quit [Max SendQ exceeded]
mlakewood has quit [Client Quit]
deadnull has joined #ruby
yardenbar has joined #ruby
jaruga___ has quit [Quit: jaruga___]
blackmesa has joined #ruby
<salviaD> shevy: did you succeded? When I try to run the binarie: https://arin.ga/Qh7x4Z/raw
terminalrecluse has joined #ruby
<salviaD> *have
marr has joined #ruby
baweaver has quit [Remote host closed the connection]
<shevy> I did not try. I'd be way too lazy to modify anything and I am on ruby 2.3.0p0 (2015-12-25 revision 53290)
ruby-lang403 has joined #ruby
Vaevictus has joined #ruby
deadnull has quit [Client Quit]
armyriad has quit [Ping timeout: 240 seconds]
ruby614 has joined #ruby
ruby614 has quit [Client Quit]
<salviaD> why people wont write portable sutff
<Vaevictus> anyone do any scripting (expect like, perhaps) for ciscos over ssh ?
tomphp has joined #ruby
terlar has quit [Ping timeout: 244 seconds]
mikecmpb_ has quit [Ping timeout: 250 seconds]
armyriad has joined #ruby
<shevy> salviaD I think many people can and do, the author probably did not have a lot of experience
sepp2k has quit [Quit: Leaving.]
<smathy> salviaD, I bet if you paid them then they'd do something to your specifications.
<smathy> ...it's a free sample app, sheesh.
benlieb has joined #ruby
ruby-lang403 has quit [Ping timeout: 250 seconds]
tomphp_ has joined #ruby
<salviaD> smathy: I am trying to run it, not modify it, and it seems that this wont install anywhere not the creator own computer
kareeoleez has joined #ruby
<salviaD> without a rewrite
blackmesa has quit [Ping timeout: 276 seconds]
evidex has quit [Remote host closed the connection]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
armyriad has quit [Ping timeout: 244 seconds]
armyriad has joined #ruby
tomphp has quit [Ping timeout: 268 seconds]
mfb2 has joined #ruby
armyriad has quit [Remote host closed the connection]
VeryBewitching has joined #ruby
Spami has joined #ruby
armyriad has joined #ruby
Gasher has quit [Quit: Leaving]
Xeago has joined #ruby
godzillaenlacasa has joined #ruby
ropeney has joined #ruby
ropeney has quit [Client Quit]
snockerton has joined #ruby
blaix has quit [Quit: Leaving.]
<phoo1234567> Is there a better pasting site than pastebin.com for Ruby code?
<crime> Vaevictus: cisco recently open-sourced chez scheme, which they use themselves
<salviaD> arin.ga
<theRoUS> given an array of arrays, how can i get combinations from them? e.g., [[1,2],['a','b']].<method>(2) should return [[1,'a'],[1,'b'],[2,'a'],[2,'b']]
<toretore> phoo1234567: ?gist
SilverKey has quit [Quit: Halted.]
<toretore> ?gist phoo1234567
<ruby[bot]> phoo1234567: https://gist.github.com - Multiple files, syntax highlighting, even automatically with matching filenames, can be edited
<theRoUS> i'm sure it's staring me in the face but my brain is num..
yardenbar has quit [Ping timeout: 250 seconds]
<phoo1234567> Thanks, toretore.
<theRoUS> numb, even
Snowy has quit [Remote host closed the connection]
skade has joined #ruby
Xeago has quit [Remote host closed the connection]
dionysus69 has joined #ruby
<theRoUS> complicated by the number of arrays, and the number of elements in each sub-array, being unpredictable
benlieb has quit [Quit: benlieb]
solars has joined #ruby
jaguarmagenta has joined #ruby
malconis has joined #ruby
<Vaevictus> crime: i'll look into it
<theRoUS> whoa, #product -- derp!
18WAASLIQ has quit [Quit: Lost terminal]
mfb2 has quit []
igam has quit [Ping timeout: 276 seconds]
moeabdol has joined #ruby
Cohedrin has joined #ruby
<al2o3-cr> salviaD: Does it run when you run `./bin/youtube-multiple-dl --help` from the youtube-multiple-dl directory?
nando293921 has joined #ruby
polysics has joined #ruby
polysic__ has joined #ruby
<salviaD> al2o3-cr: runs and exits with: https://arin.ga/Qh7x4Z/raw
jaguarmagenta has quit [Ping timeout: 252 seconds]
benlieb has joined #ruby
<al2o3-cr> salviaD: you sure you're not executing from bin directory directly?
synthroid has quit [Remote host closed the connection]
blue_lizzard has quit []
bradleyprice has joined #ruby
Xeago has joined #ruby
weaksauce has joined #ruby
polysics_ has quit [Ping timeout: 260 seconds]
nando293921 has quit [Quit: Lost terminal]
yardenbar has joined #ruby
polysics has quit [Ping timeout: 246 seconds]
nemoNoboru has joined #ruby
Cohedrin_ has joined #ruby
<salviaD> al2o3-cr: it is not installed on /bin ... I did a fulll find / -name youtube-multiple-dl and it is not installe anywhere else than inner bin directory of the project
Synthead has quit [Quit: Synthead]
Xeago has quit [Remote host closed the connection]
Synthead has joined #ruby
<al2o3-cr> salviaD: works here: http://imgur.com/iL3sLvg
Devalo has joined #ruby
nando293921 has joined #ruby
Norrin has left #ruby ["Dueces"]
bradleyp_ has joined #ruby
ramfjord has quit [Ping timeout: 240 seconds]
Cohedrin has quit [Ping timeout: 250 seconds]
<salviaD> al2o3-cr: hey ya.. maybe some osx incompatibility with the installation
<smathy> salviaD, installed and ran for me. I got an error on the download, but that seems well past where you got to. I'm on OSX too.
bradleyprice has quit [Ping timeout: 260 seconds]
Mia has joined #ruby
Mia has joined #ruby
Mia has quit [Changing host]
rodfersou|lunch is now known as rodfersou
Devalo has quit [Remote host closed the connection]
TomyWork has quit [Ping timeout: 244 seconds]
n008f4g_ has joined #ruby
<salviaD> al2o3-cr: oh I did not understood your question.... I see, I am runnning from bin/youtube-multiple-dl dir and it works
<al2o3-cr> :)
<shevy> YOU DID IT!!!
Axy has quit [Ping timeout: 252 seconds]
<phoo1234567> I've been trying to learn the CSV capabilities in ruby and I can't seem to figure out how to get back to a CSV:Table from an array of CSV:Rows.
<phoo1234567> For me, this all stems from the fact that there is no sort_by! method.
<phoo1234567> And sort_by returns an array of CSV::Rows.
<smathy> ?xy
<ruby[bot]> it seems like you are asking for a specific solution to a problem, instead of asking about your problem. This often leads to bad solutions and increases frustration for you and those trying to help you. More: http://meta.stackexchange.com/a/66378
<phoo1234567> No, it's really not that, ruby[bot].
<phoo1234567> I'm trying to learn how to get back to a CSV::Table from an array of CSV:Rows.
<neha-> lol
<neha-> you'll never get help on irc
<neha-> poeple are obsessed with "What are you really trying to do"
SilverKey has joined #ruby
<neha-> they want to know your direction in life
bradleyp_ has quit []
<phoo1234567> Oh, neha-, thanks.
<neha-> and will recommend you not even program and become a farmer instead
<phoo1234567> Sorry for the noise.
<neha-> just saying from my experience
<toretore> phoo1234567: what are you really trying to do?
<neha-> lol
<toretore> that doesn't mean we're not right and everyone else is wrong
mlakewood has joined #ruby
gizmore has joined #ruby
<neha-> i wish i could start a room where people actually answered questions
<neha-> instead of all this BS
<neha-> maybe one day in the future :)
PedramT has joined #ruby
<toretore> it's obvious here that phoo1234567 doesn't know what they're doing, so to actually help them get the problem solved we need to know more information
<phoo1234567> toretore: I'm trying to import a CSV file, sort it and then work with it.
<smathy> neha-, you should totally do that, we'll send everyone who doesn't make sense to you.
<phoo1234567> Yes, toretore, beginner.
<smathy> neha-, because, y'know, screw what their actual problem is, let's just blindly answer literally what they're asking.
<toretore> phoo1234567: define "work with it"
SCHAAP137 has quit [Ping timeout: 250 seconds]
<phoo1234567> Well, eventually, manipulate based on field contents, calculate means, standard deviations, ...
mrgrieves has joined #ruby
<phoo1234567> If I could just get past the CSV::Table hump, I can continue reading.
blackmesa has joined #ruby
<phoo1234567> I'm sorry if this was to silly and I'm sorry for the noise.
<phoo1234567> Thanks for trying.
<toretore> hey guys, i've got this gun pointing at my foot and i've tied it to a string. i'm trying to hunt for giraffes, but the string is too short, how can i make it longer so that it works?
<smathy> phoo1234567, have it your way, you can't get from a Row back to a Table.
<Mon_Ouie> Why would that require a CSV::Table? You can do map { |row| row["field"] }.reduce(0, :+) to calculate a sum, for example
skade has quit [Quit: Computer has gone to sleep.]
<toretore> phoo1234567: i'd just convert everything into something that's not CSV::Anything
skade has joined #ruby
<phoo1234567> It was pretty easy to use the symbols to access the columns, but OK. I'll try another approach.
mark_66 has quit [Remote host closed the connection]
<phoo1234567> The data I have is in a tab delimited file, Mon_Ouie.
<toretore> data = csv.map{|r| r.map(&:to_s) }
<toretore> or something similar
<phoo1234567> OK, toretore, thanks for your help.
<smathy> Heh, we have a sickness, even when told not to address the actual problem we can't help ourselves.
<toretore> then you get an array of arrays with strings. it's easier to work with
shmuli has joined #ruby
weckl has quit [Quit: Leaving]
FastJack has quit [Remote host closed the connection]
cschneid has joined #ruby
TomyWork has joined #ruby
skade has quit [Client Quit]
giz|work has joined #ruby
aspiers_ has quit [Ping timeout: 250 seconds]
<crime> dang yall got salty
shmuli has quit []
<phoo1234567> I'm afraid that was my fault...
mrgrieves has quit [Ping timeout: 244 seconds]
mdw has joined #ruby
<phoo1234567> Oh, simple: csv3=CSV::Table.new(csv2).
<phoo1234567> Thanks for the nudge, smathy.
jhack has joined #ruby
TomyWork has quit [Ping timeout: 244 seconds]
<phoo1234567> I still wish I could sort the imported CSV in place.
<crime> i blame neha-
<phoo1234567> Maybe toretore's suggestion is best.
* smathy wants no part of this insanity
replay has joined #ruby
<phoo1234567> No, smathy, I wasn't pointing fingers and I'm sorry if it appears that way.
SCHAAP137 has joined #ruby
<phoo1234567> Boy, *rough* channel.
<phoo1234567> Is there a kindergarten ruby channel?
ramfjord has joined #ruby
<crime> wasnt there a learn-ruby or something like that at one point?
tomphp_ has quit [Ping timeout: 244 seconds]
<phoo1234567> I didn't see it in /list but I'll look again.
framling has quit [Ping timeout: 260 seconds]
<crime> hm
<crime> well you can always ask here. nobody can fault you for trying to get better
kareeoleez has quit [Remote host closed the connection]
Yiota has joined #ruby
rkazak has quit [Ping timeout: 240 seconds]
Macaveli has joined #ruby
<phoo1234567> I've got pretty thick skin. Not a problem. I just don't like to generate too much noise.
djbkd has joined #ruby
antgel has quit [Ping timeout: 260 seconds]
Xeago has joined #ruby
djbkd has quit [Read error: Connection reset by peer]
<smathy> It's not about noise phoo1234567, it's about you asking a question that doesn't make sense and then resisting help from people trying to make sense of your problem.
<havenwood> phoo1234567: There's a ##new2ruby channel that's a smaller place specifically for new folk. Feel free to ask anything here as well!
djbkd has joined #ruby
<phoo1234567> Oh, I was completely unaware of my faux pas.
<phoo1234567> I didn't intend to resist anything but thanks for the heads up.
<phoo1234567> Thanks very much havenwood!
<smathy> phoo1234567, "how to get back to a CSV:Table from an array of CSV:Rows" is like asking something like: "I'm learning to drive, and I'm facing the wrong way on the freeway and so I need to know how to reverse faster"
giz|work has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<phoo1234567> Yes, I see that now. It was your nudge that made me understand that.
<smathy> ...that's why we asked what your actual problem was, but your reaction was "My actual problem is that I don't know how to reverse faster."
blackmesa has quit [Ping timeout: 276 seconds]
Yiota has quit [Ping timeout: 260 seconds]
<smathy> phoo1234567, cool. Unfortunately neha-'s comments didn't make it any easier for you.
neha- has left #ruby ["Textual IRC Client: http://www.textualapp.com/"]
skade has joined #ruby
<phoo1234567> Meh... I've been around IRC for a long time. I understand the nuances.
<phoo1234567> And thanks again for the help.
<smathy> Np.
<phoo1234567> I'll check out the kindergarten havenwood suggested.
karapetyan has quit [Remote host closed the connection]
yardenbar has quit [Ping timeout: 252 seconds]
<smathy> ...but still I think you should go further and do it the way toretore suggested, the CSV module is really just for the IO for csv files, you don't get great data structures for manipulating the data.
tildes has quit [Ping timeout: 252 seconds]
<phoo1234567> Yes, I'm already on that path. I thought the CSV stuff was the right way to go based on the web reading I did.
<phoo1234567> It did seem to solve the header interpretation.
last_staff has joined #ruby
<phoo1234567> Lunch time over. Back to the grind.
william3 has joined #ruby
william3 has quit [Remote host closed the connection]
karapetyan has joined #ruby
william3 has joined #ruby
aupadhye has quit [Ping timeout: 268 seconds]
baweaver has joined #ruby
synthroid has joined #ruby
<toretore> phoo1234567: you can actually do what you want with `csv2 = CSV::Table.new(csv1.sort_by{ whatever })`
blaix has joined #ruby
roelof has joined #ruby
<toretore> it's just that CSV::Table doesn't implement a mutable `sort!`
<roelof> how can I make the seconds avaible in the time_string method. @seconds give nill. Code so far : http://lpaste.net/161610
<phoo1234567> Yes, that's how I got to this point and I couldn't see the forest through the trees.
ferr has quit [Ping timeout: 268 seconds]
<toretore> or a `sort` for that matter; this method comes from Enumerable which doesn't know what a CSV::Table is and always returns an Array
karapetyan has quit [Ping timeout: 244 seconds]
<phoo1234567> Thanks for taking the extra time to help me out, toretore.
mikecmpbll has joined #ruby
<toretore> np, you were quite reasonable. a lot of people aren't
x77686d has quit [Quit: x77686d]
baweaver has quit [Ping timeout: 252 seconds]
<phoo1234567> Sweet! No more temp variable csv3.
<toretore> roelof: do you understand the difference between `self.seconds` and `@seconds`
<toretore> ?
<roelof> I thougth I knew the difference but now I doubt that
<roelof> @seconds is a instance variable
<toretore> secondly, do you understand at what point @seconds gets set to a value (0) ?
<roelof> self is pointing to the class so self.seconds should be the same as timer.seconds, right ?
roshanavand has quit [Ping timeout: 268 seconds]
<toretore> roelof: thirdly, do you know how an uninitialized instance variable behaves?
<roelof> toretore: yep, at the seconds function
<toretore> and #3?
<toretore> re #1, instance and @timer but close enough
<roelof> I think a unintialized variable is always nill
<toretore> right
Trieste has quit [Ping timeout: 264 seconds]
djbkd has quit [Remote host closed the connection]
<toretore> where in your code does the `seconds` method get called?
<roelof> oops, nowwhere
<roelof> so i have to think how I schould call it so I see the seconds part, right ?
<toretore> your attr_accessor is useless too because you're overwriting `seconds` and `seconds=`
Trieste has joined #ruby
nanoz has quit [Quit: <3]
<roelof> toretore: oke, when I do self.seconds the output is 0
yardenbar has joined #ruby
TomyLobo has joined #ruby
nando293921 has quit [Ping timeout: 260 seconds]
emilford has joined #ruby
<shevy> hmm what does this https://github.com/ruby/ruby/blob/trunk/ChangeLog#L23 mean? will we no longer have Bignum?
djbkd has joined #ruby
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Macaveli has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
RegulationD has joined #ruby
n008f4g_ has quit [Ping timeout: 252 seconds]
<roelof> toretore: I think I need seconds= function somehow to change. Can you give me a tip ?
Xeago has quit [Remote host closed the connection]
yardenbar has quit [Ping timeout: 260 seconds]
JakFrist has joined #ruby
Xeago has joined #ruby
jfutbol has joined #ruby
<roelof> oke, this seems to be promosing : http://lpaste.net/161614 . I hope someone can give me a hint how I can make @timer.second a argument to this part : self.seconds=(0)
kirun has joined #ruby
karapetyan has joined #ruby
SilverKey has quit [Quit: Halted.]
hk238 has quit [Quit: http://www.kvirc.net/ 4.9.1 Aria]
<roelof> toretore: is this a good solution : http://lpaste.net/161614
pawnbox has quit [Remote host closed the connection]
pawnbox has joined #ruby
<toretore> roelof: what is it supposed to do?
n008f4g_ has joined #ruby
tildes has joined #ruby
tvw has joined #ruby
<roelof> I have to convert the number zero to "00:00:00"
<roelof> its a challenge of learn ruby which I found on github
baweaver has joined #ruby
<roelof> I can now check the contents of seconds so the next step will be make the desired layout
<toretore> describe in detail what your code does
<toretore> (hint: it's wrong)
<smathy> :)
theRealAlexz has quit [Ping timeout: 252 seconds]
Devalo has joined #ruby
<roelof> toretore: the function seconds set the timer to zero . line 3 - 5
<roelof> the function seconds= I can set the instance variable to a certain number which I want to convert . line 7 - 9
theRealAlexz has joined #ruby
<roelof> on line 12 I try to read the instance variable so I can check it's value to make the desired output.
p0p0pr37_ has joined #ruby
tildes has quit [Ping timeout: 260 seconds]
<toretore> roelof: line 12 and 18 call the same method
patrick99e99 has joined #ruby
<toretore> why?
<roelof> I thought that is what you mean. Line 18 I have copied from the Rspec file
chouhoulis has quit [Remote host closed the connection]
thomashaw has joined #ruby
p0p0pr37 has quit [Ping timeout: 240 seconds]
chouhoulis has joined #ruby
p0p0pr37_ is now known as p0p0pr37
mjuszczak has quit []
Devalo has quit [Ping timeout: 268 seconds]
mdw has quit [Quit: Sleeping Zzzzz]
<toretore> roelof: don't copy stuff into your program
<toretore> write it line by line and make sure you understand what each line does
<patrick99e99> Hey everyone, I've got some code that has some special behavior for file objects, and am wondering if there's a handy way to test for a file? seems like I have to do is_a?(File) || is_a?(Tempfile) ... but I hate that.. I could do something like .respond_to?(:close), but I don't really like that either...
<roelof> toretore: oke, I can change it to : seconds = seconds=(@seconds) so the variabel seconds holds now the new value
pawnbox has quit [Remote host closed the connection]
Spami has quit [Quit: This computer has gone to sleep]
pawnbox has joined #ruby
tildes has joined #ruby
<toretore> roelof: you are lacking some very basic understanding of how ruby works, i suggest you read a book or some tutorials
nofacade has joined #ruby
symm- has quit [Ping timeout: 268 seconds]
<roelof> toretore: Im doing ruby monk , I did finisched the Primer and doing now the Primer Ascent stuff
<toretore> i don't know what that is, but you have to actually read something that explains how things work
<toretore> not just do "challenges" or whatever without reading first
benlieb has quit [Quit: benlieb]
baweaver has quit [Remote host closed the connection]
<toretore> patrick99e99: usually what you want is to test if something is an IO
chouhoul_ has joined #ruby
chouhoulis has quit [Ping timeout: 276 seconds]
<toretore> patrick99e99: but this is difficult to know without knowing the context
synthroi_ has joined #ruby
djbkd has quit [Remote host closed the connection]
<roelof> toretore: oke, thanks for the help. I will look for a good ruby book
bronson has joined #ruby
elaptics is now known as elaptics`away
weemsledeux has joined #ruby
cyanboy has joined #ruby
synthroid has quit [Ping timeout: 250 seconds]
<patrick99e99> toretore: Tempfile.new('foo').kind_of?(IO) #=> false
zast has quit [Remote host closed the connection]
<toretore> patrick99e99: right
chouhoul_ has quit [Ping timeout: 250 seconds]
baweaver has joined #ruby
<toretore> patrick99e99: as i said, it's difficult to give advice without knowing the broader context
<sandelius> roelof I really liked http://www.confidentruby.com/
<patrick99e99> toretore: well, its hard to give broader context other than, I have a method that takes an object, and if it's a file (one that can have .read) called on it, then I need to branch off and do different behavior.
<patrick99e99> maybe I should just do respond_to(:read)
bronson has quit [Ping timeout: 252 seconds]
elifoster has joined #ruby
jaruga___ has joined #ruby
bob434 has joined #ruby
<adaedra> The problem is Tempfile which is a delegator
moei has quit [Quit: Leaving...]
sauvin has quit [Read error: Connection reset by peer]
<toretore> patrick99e99: if you expect an object that responds to read with certain arguments and returns certain data then yes
Spami has joined #ruby
SilverKey has joined #ruby
Log1x has quit [Ping timeout: 252 seconds]
Xeago has quit [Remote host closed the connection]
tildes has quit [Ping timeout: 268 seconds]
<toretore> patrick99e99: why do you have to have this branch though?
xcesariox has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mjuszczak has joined #ruby
jaruga___ has quit [Quit: jaruga___]
prestorium has quit [Read error: Connection reset by peer]
Pumukel has quit [Ping timeout: 252 seconds]
Log1x has joined #ruby
<baweaver> sandelius: roelof: Much of anything written by avdi is worth a look. Also consider looking into his Ruby Tapas series
x77686d has joined #ruby
<baweaver> Also the blog has some good reads - http://devblog.avdi.org/
jackjackdripper has joined #ruby
jackjackdripper has quit [Read error: Connection reset by peer]
jackjackdripper1 has joined #ruby
<roelof> baweaver: thanks
<patrick99e99> toretore: have to be able to do the nonsense to setup Net::HTTP to use multipart/form-data when a file is given to my http wrapper client
codecop has joined #ruby
moei has joined #ruby
salviaD has left #ruby [#ruby]
<baweaver> As far as other print books: Eloquent Ruby, Practical Object Oriented Development in Ruby, Effective Ruby
raeoks has quit [Quit: Textual IRC Client: www.textualapp.com]
jaruga___ has joined #ruby
<baweaver> Eloquent will cover a lot of writing Ruby like Ruby, POODR gets into OO concepts heavily, and Effective is a series that focuses on professional tips and tricks of dealing with a language
<baweaver> Effective Python is great too.
Dimik1 has joined #ruby
roshanavand has joined #ruby
<baweaver> (* in reference to the Effective series, they're great books overall for any language)
newjersey has quit [Quit: Leaving]
newjersey has joined #ruby
<baweaver> big thing though, as mentioned above as well, is to not copy and paste code you find. Try and do it from memory as much as possible, then go to docs.
<baweaver> if the goal is learning, see if you can figure something out rather than look for a solution immediately
<baweaver> after you come up with one, then look up and compare
jaruga___ has quit [Client Quit]
failshell has joined #ruby
Devalo has joined #ruby
Devalo has quit [Remote host closed the connection]
IrishGringo has quit [Ping timeout: 260 seconds]
diegoaguilar has quit [Remote host closed the connection]
emilford has quit [Ping timeout: 240 seconds]
RegulationD has quit [Remote host closed the connection]
jenrzzz has joined #ruby
jenrzzz has quit [Changing host]
jenrzzz has joined #ruby
djbkd has joined #ruby
vondruch has joined #ruby
karapetyan has quit [Remote host closed the connection]
<weaksauce> I love eloquent ruby
<crime> baweaver with that avdi promotion, wow
<baweaver> crime: be nice.
<crime> arent I always?
<baweaver> no
<weaksauce> nope
<crime> maybe its a cultural malalignment
<crime> misalignment?
<mustmodify> nine. (sp?)
<crime> nein
<mustmodify> ah
<mustmodify> nein
<crime> i meant what you knew tho
shinnya has joined #ruby
<mustmodify> sure
<crime> so thats only three people thank think im not a kind and gentle soul
RegulationD has joined #ruby
<crime> if we work as a team im sure we could gather up thousands
newjersey has quit [Quit: Leaving]
<mustmodify> three for three.
<mustmodify> just saying.
<crime> yeah definitely, i got good numbers, good percentages
<crime> id say this is an optimal scenario
RegulationD has quit [Remote host closed the connection]
RegulationD has joined #ruby
tagaulap has quit [Quit: Connection closed for inactivity]
aspiers_ has joined #ruby
infra-red has joined #ruby
Cohedrin_ has quit [Ping timeout: 246 seconds]
<crime> so idk if you guys have ever been to ##ruby, but it's worth it for the cringe-factor alone.
<crime> pretty great
banister has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jds has quit [Quit: Connection closed for inactivity]
berserk_ren has quit [Ping timeout: 240 seconds]
infra-red has quit [Client Quit]
banister has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
<baweaver> If I didn't know any better I'd think you had a highlighter on their name
LoneHerm_ has joined #ruby
yfeldblum has joined #ruby
snebel has joined #ruby
GinoMan2440_ has joined #ruby
GinoMan2440 has quit [Ping timeout: 252 seconds]
Cohedrin has joined #ruby
snebel_ has joined #ruby
bluOxigen_ has quit [Ping timeout: 276 seconds]
<baweaver> They write good content, and one of their books was mentioned earlier. I see no reason to not mention it.
<baweaver> The same as I tend to mention Radar/ssc's Rails book in the Rails channel when resources are asked for.
spider-mario has joined #ruby
<baweaver> if you continue to obsess over avdi, or any mention thereof, I will not hesitate to ban you
minimalism has joined #ruby
snebel_ has quit [Client Quit]
<crime> i didnt say anything inappropriate
<crime> and i cant be restricted from talking about a highly prominent ruby community figure
roshanavand has quit [Quit: This computer has gone to sleep]
ferr has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
<crime> tens of thousands of people read him
jaguarmagenta has joined #ruby
<baweaver> you were already rude towards them yesterday
dhollinger has quit [Quit: WeeChat 1.4]
<crime> so? that doesnt mean I can never mention that person ever again
roshanavand has joined #ruby
<crime> i was warned or w/e yesterday, and have refrained from direct harrassment so far today. no harm done
LoneHerm_ has quit [Ping timeout: 276 seconds]
<baweaver> _direct_
mrgrieve1 has joined #ruby
<crime> do you feel that I have harrassed anybody in here today? whether direct or not
<crime> name them
<crime> I'll issue an Official Crime Apology (TM)
<shevy> come on people!
<baweaver> It was heavily implied in the endorsement comment.
<baweaver> but in any case, lunch time for me.
jaruga___ has joined #ruby
<roelof> Thanks all for the explanation and have a good day/evening
baweaver has quit [Remote host closed the connection]
<crime> heavily implied? I was only making an observation
<crime> if I was going to talk shit about you endorsing his material, I can come up with something way snarkier than "check it out"
snebel has quit [Quit: Leaving]
<crime> I endorse plenty of rubyists myself, even work of avdi's when necessary
jaguarmagenta has quit [Ping timeout: 276 seconds]
skade has joined #ruby
bob434 has quit [Quit: This computer has gone to sleep]
failshell has quit []
dhollinger has joined #ruby
pandaant has quit [Remote host closed the connection]
Dimik1 has quit [Ping timeout: 276 seconds]
jackjackdripper1 has quit [Ping timeout: 276 seconds]
platzhirsch has joined #ruby
nofxx has joined #ruby
nofxx has quit [Changing host]
nofxx has joined #ruby
uptime has joined #ruby
<smathy> crime, even now your choice of words is ambiguous at best, how about instead of "promote" and "endorse" (which both are commonly used to mean a statement has been financially incentivized) you use "recommend" which has no such connotation.
jackjackdripper has joined #ruby
<crime> i strongly disavow any claims that I'm paid for my ruby contributions
<smathy> ...then no one will misunderstand your noble intentions.
<crime> if that is the case, I will recommend things from now on
<crime> suggest?
<crime> encourage consideration of?
<havenwood> I endorse moving this convo to #ruby-offtopic or #ruby-community so this channel can be used to discuss Ruby!
<smathy> crime, you are free to use whatever word you like in reference to your own statements, but when commenting on the statements of others let's use "recommend" instead of "promote" and "endorse".
<smathy> Thanks havenwood - timely reminder.
robbyoconnor has quit [Ping timeout: 260 seconds]
TheHodge has quit [Quit: Connection closed for inactivity]
<crime> wait, so havenwood gets paid to mention offtopic then?
<havenwood> ?offtopic crime
<ruby[bot]> crime: this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related problems. Thanks!
jackjackdripper1 has joined #ruby
karapetyan has joined #ruby
karapetyan has quit [Remote host closed the connection]
jackjackdripper has quit [Read error: Connection reset by peer]
karapetyan has joined #ruby
uptime has left #ruby ["I guess that's how it's post to be."]
n008f4g_ has quit [Ping timeout: 268 seconds]
ferr has quit [Quit: WeeChat 1.4]
ferr has joined #ruby
skade has quit [Quit: Computer has gone to sleep.]
baweaver has joined #ruby
deadnull has joined #ruby
roelof has quit [Quit: Page closed]
pawnbox has quit [Remote host closed the connection]
IrishGringo has joined #ruby
bob434 has joined #ruby
<crime> ladies and gentleman, ###ruby has been created to service the greater ruby community. no rules, no one to hold you back or regulate you. enjoy it or dont.
deadnull has quit [Max SendQ exceeded]
devbug has joined #ruby
<shevy> so many #
deadnull has joined #ruby
deadnull has quit [Client Quit]
sdothum has quit [Quit: ZNC - 1.6.0 - http://znc.in]
<crime> its strategically engineering to resist potential influence from this very channel, necessitating the ###
sdothum has joined #ruby
jfutbol has quit [Remote host closed the connection]
benlieb has joined #ruby
baweaver has quit [Ping timeout: 250 seconds]
PedramT has quit [Remote host closed the connection]
chouhoulis has joined #ruby
cyanboy has quit [Ping timeout: 240 seconds]
n008f4g_ has joined #ruby
polysic__ has quit [Remote host closed the connection]
crime has quit [Remote host closed the connection]
polysics has joined #ruby
bob434 has quit [Quit: This computer has gone to sleep]
baweaver has joined #ruby
Zomber has joined #ruby
pawnbox has joined #ruby
flashpoi_ has joined #ruby
<Zomber> help
<adaedra> I need somebody
<Zomber> !help
<ruby[bot]> Zomber: You can find a list of my commands on http://ruby-community.com/ruboto/commands and my factoids on http://ruby-community.com/ruboto/facts
polysics_ has joined #ruby
flashpoint9 has quit [Ping timeout: 252 seconds]
<Zomber> ello good look I have a channel and fuende I know how to put quisera and I am a staff say Zomber @ linuayuda / staff / Zomber
tildes has joined #ruby
rdark has joined #ruby
rdark has quit [Changing host]
rdark has joined #ruby
<baweaver> !troll Zomber
Zomber was kicked from #ruby by ruby[bot] [trolling is a bannable offense, see http://ruby-community.com/pages/user_rules]
<adaedra> !spam Zomber
<adaedra> dammit
<baweaver> ninja :D
polysics has quit [Ping timeout: 240 seconds]
bob434 has joined #ruby
bronson has joined #ruby
<sandelius> I'm not much of a javascript guy but did a simple benchmark to test the speed of node's interpreter. It turns out that's not faster than Ruby? I know all about the async IO but people also say it's fast. Am I missing something?
aegis3121 has joined #ruby
<adaedra> Yes, the fact that raw benchmarks are kind of irrelevant.
<sandelius> adaedra it's not if it prove people are wrong
<Papierkorb> sandelius: micro benchmarks are only helpful if that problem they solve is the exact problem you want to solve, which is rarely the case.
<sandelius> I was trying the interpreter speed, not if it "scales"
<adaedra> the interpreter speed? What does it mean?
htmldrum has joined #ruby
<adaedra> The speed when doing what?
tildes has quit [Ping timeout: 252 seconds]
<adaedra> Also, what people, wrong about what?
<sandelius> adaedra different things, sorting arrays, some math, bla bla. no IO
crime has joined #ruby
nton has joined #ruby
moeabdol has quit [Ping timeout: 260 seconds]
htmldrum has quit [Ping timeout: 252 seconds]
nofxx has quit [Remote host closed the connection]
flashpoi_ has quit []
Durin_ has joined #ruby
Emmanuel_Chanel has joined #ruby
flashpoint9 has joined #ruby
blue_lizzard has joined #ruby
chouhoulis has quit [Remote host closed the connection]
rodfersou has quit [Quit: leaving]
Devalo has joined #ruby
chouhoulis has joined #ruby
crime was kicked from #ruby by ruby[bot] ['trolling']
m8 has quit [Quit: Sto andando via]
xxneolithicxx has joined #ruby
Dimik has joined #ruby
w1lson has joined #ruby
Xeago has joined #ruby
<shevy> sandelius they don't know either :)
Dimik1 has joined #ruby
kareeoleez has joined #ruby
<sandelius> shevy got that :)
JBlazeCoder21 has joined #ruby
moeabdol has joined #ruby
benlieb has quit [Quit: benlieb]
d5sx43 has joined #ruby
thomashaw has quit [Quit: thomashaw]
<blue_lizzard> Which ruby runs on the android platform (I don't care so much about Apple iOS).
<blue_lizzard> s/\./?/
Durin_ has quit []
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<apeiros> blue_lizzard: iirc it's called ruboto
<blue_lizzard> Cool, thanks
<adaedra> Poor Windows Phone is always forgotten.
<smathy> First google result ^
<xpt> no no! you use bing for windows related stuff
nofacade has quit [Read error: Connection reset by peer]
IrishGringo has quit [Ping timeout: 260 seconds]
isxek has quit [Remote host closed the connection]
<blue_lizzard> smathy: It just seems there are various options for this, and I didn't know what the canonical one was
JakFrist has joined #ruby
symm- has joined #ruby
<smathy> blue_lizzard, yep, understood, it's that one.
<blue_lizzard> Cool
hxegon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
priodev has quit [Ping timeout: 250 seconds]
moei has quit [Quit: Leaving...]
karapetyan has quit [Remote host closed the connection]
fragtastic has quit [Ping timeout: 250 seconds]
benlieb has joined #ruby
deadnull has joined #ruby
devyn has quit [Ping timeout: 264 seconds]
deadnull has quit [Client Quit]
malconis has quit [Ping timeout: 276 seconds]
agent_white has quit [Ping timeout: 276 seconds]
blue_lizzard has quit []
agent_white has joined #ruby
malconis has joined #ruby
Tharbakim has quit [Ping timeout: 276 seconds]
jenrzzz has quit [Ping timeout: 260 seconds]
benlieb has quit [Client Quit]
ged has quit [Ping timeout: 260 seconds]
mahlon has quit [Ping timeout: 260 seconds]
platzhirsch has quit [Remote host closed the connection]
codecop has quit [Remote host closed the connection]
duckpuppy has quit [Ping timeout: 268 seconds]
n008f4g_ has quit [Ping timeout: 276 seconds]
Xeago has quit [Remote host closed the connection]
skade has joined #ruby
yardenbar has joined #ruby
djbkd has quit [Remote host closed the connection]
jenrzzz has joined #ruby
IrishGringo has joined #ruby
diegoviola has joined #ruby
djbkd has joined #ruby
Tharbakim has joined #ruby
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
devyn has joined #ruby
elaptics`away is now known as elaptics
newjersey has joined #ruby
newjersey has quit [Max SendQ exceeded]
terlar has joined #ruby
GodFather has joined #ruby
replay has quit [Ping timeout: 276 seconds]
skade has quit [Client Quit]
solars has quit [Ping timeout: 240 seconds]
d5sx43 has quit [Remote host closed the connection]
zacts has joined #ruby
hxegon has joined #ruby
bob434 has quit [Quit: This computer has gone to sleep]
yardenbar has quit [Ping timeout: 250 seconds]
_aeris_ has quit [Ping timeout: 276 seconds]
gizless has joined #ruby
joast has quit [Ping timeout: 276 seconds]
blackmesa has joined #ruby
yfeldblum has quit [Ping timeout: 252 seconds]
bronson has quit [Remote host closed the connection]
nfk has joined #ruby
Xeago has joined #ruby
pawnbox has quit [Remote host closed the connection]
sneakerhax has joined #ruby
_aeris_ has joined #ruby
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gizmore has quit [Ping timeout: 276 seconds]
deadnull has joined #ruby
Xeago has quit [Remote host closed the connection]
n008f4g_ has joined #ruby
bob434 has joined #ruby
hxegon has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cdg has joined #ruby
jonr22 has quit [Remote host closed the connection]
deadnull has quit [Client Quit]
jonr22 has joined #ruby
polysics_ has quit [Remote host closed the connection]
polysics has joined #ruby
Xeago has joined #ruby
deadnull has joined #ruby
Ishido has quit [Quit: Roads? Where We're Going We Don't Need Roads.]
deadnull is now known as _deadnull
_deadnull is now known as deadnull
nton has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
deadnull has quit [Max SendQ exceeded]
gizmore has joined #ruby
deadnull has joined #ruby
minimalism has quit [Ping timeout: 246 seconds]
IrishGringo has quit [Ping timeout: 276 seconds]
gizmore|2 has joined #ruby
brent__ has joined #ruby
polysics has quit [Ping timeout: 276 seconds]
chosen1 has joined #ruby
ged has joined #ruby
firstdayonthejob has joined #ruby
carella has quit [Remote host closed the connection]
gizless has quit [Ping timeout: 260 seconds]
roshanavand has quit [Quit: This computer has gone to sleep]
gizless has joined #ruby
gizmore has quit [Ping timeout: 244 seconds]
mahlon has joined #ruby
Xeago has quit [Remote host closed the connection]
johnmilton has quit [Remote host closed the connection]
SilverKey has quit [Quit: Halted.]
<zacts> hi rubyists
gizmore|2 has quit [Ping timeout: 250 seconds]
Devalo has quit [Remote host closed the connection]
<baweaver> zacts: alo
<zacts> hi
hxegon has joined #ruby
blackgoat has joined #ruby
mdw has joined #ruby
priodev has joined #ruby
x77686d has quit [Quit: x77686d]
blaix has quit [Quit: Leaving.]
djbkd has quit [Remote host closed the connection]
Dimik1 has quit [Ping timeout: 252 seconds]
sandelius has joined #ruby
djbkd has joined #ruby
fragtastic has joined #ruby
vF3hNGxc47h8 has joined #ruby
jfutbol has joined #ruby
nhhc has quit [Remote host closed the connection]
wuyin has joined #ruby
Uranio has joined #ruby
djbkd has quit [Remote host closed the connection]
whiteline has quit [Quit: Leaving]
whiteline_ has joined #ruby
whiteline_ is now known as whiteline
LoneHerm_ has joined #ruby
gizmore has joined #ruby
mrgrieve1 has quit [Ping timeout: 276 seconds]
lkba has joined #ruby
Jonah11_ has joined #ruby
nando293921 has joined #ruby
synthroi_ has quit []
LoneHerm_ has quit [Ping timeout: 252 seconds]
gizless has quit [Ping timeout: 250 seconds]
failshell has joined #ruby
baweaver has quit [Remote host closed the connection]
elaptics is now known as elaptics`away
x77686d has joined #ruby
joast has joined #ruby
terlar has quit [Ping timeout: 240 seconds]
djbkd has joined #ruby
Jonah11_ has quit [Remote host closed the connection]
djbkd has quit [Read error: Connection reset by peer]
malconis has quit [Remote host closed the connection]
gizless has joined #ruby
rbennace_ has joined #ruby
allcentury has quit [Ping timeout: 246 seconds]
malconis has joined #ruby
roshanavand has joined #ruby
djbkd has joined #ruby
rbennacer has quit [Ping timeout: 260 seconds]
dionysus69 has quit [Ping timeout: 240 seconds]
mjuszczak has quit []
deadnull has quit [Quit: Bye]
gizmore has quit [Ping timeout: 260 seconds]
w1lson has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
freerobby has quit [Quit: Leaving.]
phaza_ has quit [Read error: Connection reset by peer]
JBlazeCoder21 has quit [Remote host closed the connection]
mjuszczak has joined #ruby
jww_42__ has joined #ruby
phaza has joined #ruby
pawnbox has joined #ruby
tsherman has joined #ruby
rdark has quit [Quit: leaving]
freerobby has joined #ruby
Macaveli has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
jaguarmagenta has joined #ruby
DoubleMalt has quit [Ping timeout: 246 seconds]
vishwa has quit [Quit: leaving]
weemsledeux has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
nando293921 has quit [Read error: Connection reset by peer]
nando294021 has joined #ruby
Jonah11_ has joined #ruby
pawnbox has quit [Ping timeout: 252 seconds]
ilv1 has joined #ruby
Macaveli has quit [Ping timeout: 276 seconds]
jaguarmagenta has quit [Ping timeout: 240 seconds]
mjuszczak has quit []
karapetyan has joined #ruby
ilv1 has left #ruby [#ruby]
tubuliferous has joined #ruby
Trynemjoel has quit [Ping timeout: 244 seconds]
blaix has joined #ruby
Xeago has joined #ruby
ur5us has joined #ruby
karapetyan has quit [Ping timeout: 244 seconds]
blaix has quit [Client Quit]
Trynemjoel has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
jww_42__ has quit []
bob434 has quit [Quit: This computer has gone to sleep]
phaza has quit [Read error: Connection reset by peer]
zacts has quit [Quit: WeeChat 1.4]
phaza has joined #ruby
mary5030 has joined #ruby
fmcgeough has quit [Quit: fmcgeough]
bob434 has joined #ruby
baweaver has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
failshell has quit []
jenrzzz has quit [Ping timeout: 240 seconds]
w1lson has joined #ruby
gizmore has joined #ruby
moei has joined #ruby
mary5030 has quit [Ping timeout: 250 seconds]
GinoMan2440_ has quit [Ping timeout: 244 seconds]
bronson has joined #ruby
JakFrist has joined #ruby
dmr8 has joined #ruby
gizless has quit [Ping timeout: 244 seconds]
emilford has joined #ruby
w1lson has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bob434 has quit [Quit: This computer has gone to sleep]
joast has quit [Ping timeout: 246 seconds]
gizless has joined #ruby
dhollinger has quit [Quit: WeeChat 1.4]
allcentury has joined #ruby
bronson has quit [Ping timeout: 252 seconds]
dmr8 has quit [Quit: Leaving]
flashpoint9 has quit [Remote host closed the connection]
diegoaguilar has joined #ruby
gizmore has quit [Ping timeout: 260 seconds]
Pupeno has quit [Quit: Leaving...]
benlieb has joined #ruby
Yiota has joined #ruby
yfeldblum has joined #ruby
ldnunes has quit [Quit: Leaving]
edwinvdgraaf has joined #ruby
Yiota has quit [Client Quit]
vF3hNGxc47h8 has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
mrgrieves has joined #ruby
frem_ has joined #ruby
s1kx has joined #ruby
toretore has quit [Ping timeout: 252 seconds]
aspiers_ has quit [Ping timeout: 250 seconds]
mdw has quit [Quit: Sleeping Zzzzz]
jhack has quit [Quit: jhack]
perlgod has joined #ruby
JakFrist has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mrgrieves has quit [Ping timeout: 260 seconds]
mnrmnaugh is now known as catpoop
hobodave has quit [Ping timeout: 260 seconds]
alexherbo2 has quit [Ping timeout: 268 seconds]
JBlazeCoder21 has joined #ruby
mdw has joined #ruby
nikger has joined #ruby
Waqas has quit [Ping timeout: 276 seconds]
nikger has quit [Client Quit]
Waqas has joined #ruby
Jonah11_ has quit [Remote host closed the connection]
NEGGIR has joined #ruby
TomyLobo has quit [Ping timeout: 252 seconds]
ruby-lang438 has joined #ruby
<ruby-lang438> hello
Jonah11_ has joined #ruby
Madplatypus has joined #ruby
tsherman has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tsherman has joined #ruby
<havenwood> ruby-lang438: hi
Yiota has joined #ruby
Yiota has quit [Client Quit]
zacts has joined #ruby
kirun has quit [Quit: Client exiting]
perlgod has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ruby-lang438 has quit [Ping timeout: 250 seconds]
mdw has quit [Quit: Sleeping Zzzzz]
gregf has quit [Quit: WeeChat 1.4]
garethrees has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
garethrees is now known as ghr
norc has quit [Ping timeout: 246 seconds]
mclong has joined #ruby
htmldrum has joined #ruby
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Azure has joined #ruby
alexherbo2 has joined #ruby
Mon_Ouie has quit [Quit: WeeChat 1.4]
bob434 has joined #ruby
roshanavand has quit [Quit: This computer has gone to sleep]
nullFxn has quit [Quit: leaving]
swills has quit [Remote host closed the connection]
nullFxn has joined #ruby
ledestin has joined #ruby
<NEGGIR> HELLO
<baweaver> !troll NEGGIR
SilverKey has joined #ruby
NEGGIR was kicked from #ruby by ruby[bot] [trolling is a bannable offense, see http://ruby-community.com/pages/user_rules]
pythoninthegrass has joined #ruby
pythoninthegrass has quit [Quit: Textual IRC Client: www.textualapp.com]
IrishGringo has joined #ruby
minimalism has joined #ruby
theunraveler has quit []
nemoNoboru has quit [Quit: Leaving]
aspiers_ has joined #ruby
deadnull has joined #ruby
skade has joined #ruby
joast has joined #ruby
braincrash has quit [Ping timeout: 276 seconds]
nullFxn has quit [Quit: leaving]
gregf has joined #ruby
frem_ is now known as frem
nullFxn has joined #ruby
nando294021 has quit [Ping timeout: 260 seconds]
n008f4g_ has quit [Ping timeout: 276 seconds]
tax has joined #ruby
jfutbol has quit [Remote host closed the connection]
malconis has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
[Butch] has quit [Quit: I'm out . . .]
deadnull has quit [Quit: Bye]
nullFxn has quit [Quit: leaving]
nullFxn has joined #ruby
IrishGringo has quit [Ping timeout: 268 seconds]
n008f4g_ has joined #ruby
gregf has quit [Quit: WeeChat 1.4]
kareeoleez has quit [Remote host closed the connection]
nullFxn has quit [Client Quit]
nullFxn has joined #ruby
ChiefAlexander has joined #ruby
jenrzzz has joined #ruby
x77686d has quit [Quit: x77686d]
nullFxn has quit [Client Quit]
nullFxn has joined #ruby
william3 has quit [Remote host closed the connection]
chipotle has quit [Quit: cheerio]
LoneHerm_ has joined #ruby
SilverKey has quit [Quit: Halted.]
gregf has joined #ruby
devbug has quit [Quit: ZZZzzz…]
Jonah11_ has quit []
joast has quit [Ping timeout: 268 seconds]
ChiefAlexander has quit [Remote host closed the connection]
LoneHerm_ has quit [Ping timeout: 276 seconds]
aegis3121 has quit [Ping timeout: 276 seconds]
bronson has joined #ruby
GinoMan2440 has joined #ruby
william3 has joined #ruby
moeabdol has quit [Ping timeout: 244 seconds]
x77686d has joined #ruby
zenlot has joined #ruby
zenlot6 has quit [Ping timeout: 250 seconds]
william3 has quit [Ping timeout: 250 seconds]
skade has quit [Quit: Computer has gone to sleep.]
Waqas has quit [Ping timeout: 276 seconds]
whippythellama has quit [Quit: WeeChat 1.4]
benlieb has quit [Quit: benlieb]
Xeago has quit [Remote host closed the connection]
lkba_ has joined #ruby
Weavel has quit [Quit: Easy as 3.14159265358979323846...]
sgambino has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
lkba has quit [Ping timeout: 244 seconds]
allcentury has quit [Ping timeout: 260 seconds]
eggoez has quit [Ping timeout: 260 seconds]
duoi has quit [Ping timeout: 250 seconds]
djbkd has quit [Read error: Connection reset by peer]
n008f4g_ has quit [Ping timeout: 250 seconds]
benlieb has joined #ruby
jaguarmagenta has joined #ruby
duoi has joined #ruby
benlieb has quit [Client Quit]
eggoez has joined #ruby
duderonomy has joined #ruby
Rickmasta has joined #ruby
baweaver has quit [Remote host closed the connection]
devbug has joined #ruby
tsherman has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jaguarmagenta has quit [Ping timeout: 246 seconds]
jaruga___ has quit [Quit: jaruga___]
allcentury has joined #ruby
last_staff has quit [Quit: last_staff]
brent__ has quit [Quit: Connection closed for inactivity]
cschneid has quit [Remote host closed the connection]
edwinvdgraaf has quit [Remote host closed the connection]
ejnahc has quit [Ping timeout: 260 seconds]
ejnahc has joined #ruby
spider-mario has quit [Remote host closed the connection]
gregf has quit [Quit: WeeChat 1.4]
allcentury has quit [Ping timeout: 276 seconds]
Uranio has quit [Quit: Leaving]
<benzrf> ... why did it just unban """diggernick"""
bobbycvi has joined #ruby
biberu has quit []
dorje has joined #ruby
firstdayonthejob has quit [Ping timeout: 250 seconds]
baweaver has joined #ruby
snockerton has quit [Quit: Leaving.]
lacuna has joined #ruby
<akkad> band benzrf for saying it
SilverKey has joined #ruby
chouhoulis has quit [Remote host closed the connection]
weemsledeux has joined #ruby
tvon has joined #ruby
baweaver has quit [Ping timeout: 250 seconds]
chipotle has joined #ruby
SilverKey has quit [Client Quit]
<smathy> ?offtopic benzrf akkad
<ruby[bot]> benzrf: this seems to be off-topic. Please move your discussion to #ruby-offtopic, to keep this channel free for Ruby related problems. Thanks!
benlieb has joined #ruby
jenrzzz has quit [Ping timeout: 268 seconds]
rahult has joined #ruby
axisys has quit [Ping timeout: 276 seconds]
gregf has joined #ruby
axisys has joined #ruby
aef has quit [Ping timeout: 252 seconds]
aspiers_ has quit [Ping timeout: 268 seconds]
xcesariox has joined #ruby
zenlot has quit [Read error: Connection reset by peer]
bzb has joined #ruby
agent_white has quit [Quit: bbl]
<Arcaire> smathy pls
<Arcaire> we have a !troll command? wut
bzb has quit [Client Quit]
zenlot has joined #ruby
RegulationD has quit [Remote host closed the connection]
Vile` has joined #ruby
moeabdol has joined #ruby
Nahra has quit [Remote host closed the connection]
gregf has quit [Quit: WeeChat 1.4]
swills has joined #ruby
symm- has quit [Ping timeout: 244 seconds]
ChiefAlexander has joined #ruby
_wwwBukoLaycom has joined #ruby
robbyoconnor has joined #ruby
william3 has joined #ruby
CalimeroTeknik has quit [Ping timeout: 276 seconds]
johnmilton has joined #ruby
moeabdol has quit [Ping timeout: 250 seconds]
ChiefAlexander has quit [Remote host closed the connection]
robbyoconnor has quit [Client Quit]
Rickmasta has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Rickmasta has joined #ruby
bronson has quit [Read error: Connection reset by peer]
gregf has joined #ruby
banister has quit [Remote host closed the connection]
bronson has joined #ruby
william3 has quit [Ping timeout: 276 seconds]
valeri_ufo has quit [Ping timeout: 268 seconds]
valeri_ufo has joined #ruby
johnmilton has quit [Ping timeout: 252 seconds]
banister has joined #ruby
tubuliferous has quit [Ping timeout: 250 seconds]
ChiefAlexander has joined #ruby
banister has quit [Ping timeout: 260 seconds]
<graft> that seems pretty powerful
<graft> you can just summarily ban anyone by labeling them a troll?
wnd has quit [Quit: Disconnecting from stoned server.]
wnd has joined #ruby
<graft> who runs this show anyway?
* graft looks behind the curtain
rkazak has joined #ruby
brianpWins has quit [Ping timeout: 246 seconds]
gregf has quit [Quit: WeeChat 1.4]
brianpWins has joined #ruby
diegoaguilar has quit [Remote host closed the connection]
drzel has quit [Ping timeout: 250 seconds]
emilford has quit [Ping timeout: 276 seconds]
VeryBewitching has quit [Quit: Konversation terminated!]
<eam> Supreme executive power derives from a mandate from the masses, not from some f\
<eam> arcical aquatic ceremony
<Arcaire> graft: i'd imagine it's oper only
<eam> whops
<Arcaire> but yes, they can
<Arcaire> and /cs info will give you a list
<Arcaire> /cs info #ruby
ctrlrsf has quit [Ping timeout: 268 seconds]
<eam> Ah, now we see the violence inherent in the system.
aspiers_ has joined #ruby
johnmilton has joined #ruby
ChiefAlexander has quit [Remote host closed the connection]
nfk has quit [Quit: Try memory.free_dirty_pages=true in about:config]
godzillaenlacasa has quit [Quit: ZZZZZ....]
ChiefAlexander has joined #ruby