apeiros_ changed the topic of #ruby to: Ruby 2.2.0; 2.1.5; 2.0.0-p598: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
diegoviola has joined #ruby
nateberkopec has quit [Client Quit]
roolo has quit [Quit: Leaving...]
jenrzzz has quit [Ping timeout: 265 seconds]
jlast has quit [Ping timeout: 250 seconds]
ghr has joined #ruby
hiyosi has joined #ruby
mistermocha has quit [Read error: Connection reset by peer]
woodyb23 has joined #ruby
mistermocha has joined #ruby
_br_ has quit [Ping timeout: 245 seconds]
Jetchisel has joined #ruby
nateberkopec has joined #ruby
<_blizzy_> for ruby, is it better to use the official mongo driver, or is something else recommended?
DadoCe has joined #ruby
fryguy9 has quit [Quit: Leaving.]
mistermocha has quit [Remote host closed the connection]
nateberkopec has quit [Client Quit]
Musashi007 has joined #ruby
LetErikTry has joined #ruby
LetErikTry has joined #ruby
<centrx> _blizzy_, I think the official one is the only driver, but you may want to use something like mongoid (ODM/ORM)
uptownhr has quit [Quit: uptownhr]
<crome> _blizzy_: is there an "official" one?
<_blizzy_> the driver mongo, yes.
markfletcher has joined #ruby
tunaCanBruh has joined #ruby
woodyb23 has quit [Ping timeout: 252 seconds]
<crome> ah, right.
boombadaroomba has joined #ruby
<crome> it has always been a confusing thing
<crome> there is also moped from the mongoid guys
<crome> but I'm not sure if that's still a thing
DadoCe has quit [Ping timeout: 252 seconds]
TheNet has quit [Remote host closed the connection]
mistermocha has joined #ruby
sent1nel has quit [Remote host closed the connection]
Beoran_ has quit [Ping timeout: 255 seconds]
<crome> I would probably stick with the mongo driver one
bonhoeffer has joined #ruby
stunder has quit [Read error: Connection reset by peer]
JBreit has quit [Read error: Connection reset by peer]
baweaver has quit [Remote host closed the connection]
doodlehaus has joined #ruby
diegoviola has quit [Remote host closed the connection]
pietr0 has quit [Quit: pietr0]
Troy^ has joined #ruby
SOLDIERz has joined #ruby
thoffmeyer has quit [Quit: Leaving]
iwishiwerearobot has joined #ruby
_1_31825568449 has joined #ruby
uptownhr has joined #ruby
_1_31825568449 has quit [Remote host closed the connection]
thoffmeyer has joined #ruby
dstarh has joined #ruby
nateberkopec has joined #ruby
diegoviola has joined #ruby
nateberkopec has quit [Client Quit]
atomical has joined #ruby
jenrzzz has joined #ruby
iwishiwerearobot has quit [Ping timeout: 240 seconds]
djbkd has joined #ruby
giuseppesolinas has joined #ruby
Beoran_ has joined #ruby
snath has quit [Ping timeout: 246 seconds]
nateberkopec has joined #ruby
baweaver has joined #ruby
freerobby has joined #ruby
pkrzywicki__ has joined #ruby
snath has joined #ruby
tunaCanBruh has quit [Ping timeout: 246 seconds]
it0a has joined #ruby
mitchellhenke has joined #ruby
danman has quit [Quit: danman]
djbkd has quit [Ping timeout: 256 seconds]
siso has quit [Quit: siso]
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Kricir has quit [Remote host closed the connection]
mroach has joined #ruby
pengin has quit [Remote host closed the connection]
doodlehaus has quit [Remote host closed the connection]
Hijiri has quit [Ping timeout: 264 seconds]
tagster has quit [Quit: Leaving]
SOLDIERz has quit [Ping timeout: 250 seconds]
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
oo_ has joined #ruby
adriancb has joined #ruby
tag has joined #ruby
awerush has quit [Quit: Leaving]
adriancb has quit [Remote host closed the connection]
alyosha has quit [Quit: Leaving...]
ponga has joined #ruby
djbkd has joined #ruby
postmodern has quit [Quit: Leaving]
Sembei has joined #ruby
baweaver has quit [Remote host closed the connection]
ponga has quit [Ping timeout: 255 seconds]
freerobby has quit [Quit: Leaving.]
mwlang has quit [Quit: mwlang]
Courtney has joined #ruby
karmatr0n has quit [Remote host closed the connection]
adamjleonard has quit [Quit: Leaving...]
ackpacket has quit [Quit: Page closed]
nuck has quit [Quit: Computer has gone to sleep.]
Courtney has left #ruby [#ruby]
<_blizzy_> anyone know how I would map my sinatra controllers?
icarus has quit [Remote host closed the connection]
cr3 has quit [Quit: leaving]
bonhoeffer has quit [Quit: bonhoeffer]
paradisaeidae has joined #ruby
inukshuk has quit [Ping timeout: 246 seconds]
nateberkopec has quit [Quit: Leaving...]
doodlehaus has joined #ruby
jonr22 has joined #ruby
psyprus has quit [Remote host closed the connection]
psyprus has joined #ruby
bengalol has quit [Ping timeout: 252 seconds]
Spooner has quit [Ping timeout: 240 seconds]
ghostpl_ has joined #ruby
jlast has joined #ruby
mloveless has quit []
sevenseacat has joined #ruby
centrx has quit [Quit: Shutting down, Please wait...]
reinaldob has quit [Remote host closed the connection]
markfletcher has left #ruby [#ruby]
freerobby has joined #ruby
freerobby has quit [Client Quit]
jonr22 has quit [Ping timeout: 252 seconds]
reinaldob has joined #ruby
camilasan has quit [Remote host closed the connection]
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
WilfredTheGreat has joined #ruby
adriancb has joined #ruby
ghostpl_ has quit [Ping timeout: 264 seconds]
uptownhr has quit [Quit: uptownhr]
camilasan has joined #ruby
jlast has quit [Ping timeout: 264 seconds]
nateberkopec has joined #ruby
riotjones has joined #ruby
reinaldob has quit [Ping timeout: 264 seconds]
Rollabunna has quit [Quit: Leaving...]
Hobogrammer has joined #ruby
TheNet has joined #ruby
DadoCe has joined #ruby
OrbitalK_ has joined #ruby
nateberkopec has quit [Client Quit]
livingstn has joined #ruby
AlienPickle has quit [Ping timeout: 255 seconds]
WilfredTheGreat has quit [Quit: Lost terminal]
riotjones has quit [Ping timeout: 250 seconds]
TheNet has quit [Remote host closed the connection]
zacts has joined #ruby
swgillespie has joined #ruby
baweaver has joined #ruby
nateberkopec has joined #ruby
OrbitalKitten has quit [Ping timeout: 265 seconds]
dfinninger has quit [Remote host closed the connection]
DadoCe has quit [Ping timeout: 264 seconds]
zachrab has quit [Remote host closed the connection]
zachrab has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
aamador has joined #ruby
ismaelga has quit [Remote host closed the connection]
fatRomeo has joined #ruby
doodlehaus has quit [Remote host closed the connection]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
Yzguy has quit [Quit: I'm sleeping, go away.]
Kricir has joined #ruby
zachrab has quit [Ping timeout: 246 seconds]
Spami has quit [Quit: This computer has gone to sleep]
aamador has quit [Quit: Leaving]
OrbitalK_ has quit [Read error: Connection reset by peer]
paradisaeidae has quit [Ping timeout: 245 seconds]
OrbitalKitten has joined #ruby
giuseppesolinas has joined #ruby
<_blizzy_> I have a question. I'm trying to run this, https://gist.github.com/VBlizzard/f92a63012ef1c1ed2dbe, however, when I require app.rb in irb, Post is undefined.
tkuchiki has joined #ruby
Troy^ has joined #ruby
<sevenseacat> a) Post isnt a controller b) it isnt in /controllers
aamador has joined #ruby
bonhoeffer has joined #ruby
<_blizzy_> sht I pasted the wrong thing
<_blizzy_> sorry
paradisaeidae has joined #ruby
<sevenseacat> of course.
Takle has quit [Remote host closed the connection]
comma8 has quit [Quit: YourBNC - (https://yourbnc.co.uk)]
lkba has quit [Ping timeout: 265 seconds]
<sevenseacat> i highly doubt your controller file is in /controllers
Troy^ has quit [Client Quit]
mostlybadfly has joined #ruby
<sevenseacat> and in the unlikely case it is, i would tell you to move it and put it inside your app somewhere.
tunaCanBruh has joined #ruby
bruno- has joined #ruby
Cadillactica has quit [Quit: Cadillactica]
adriancb has quit [Remote host closed the connection]
mistermocha has quit [Ping timeout: 250 seconds]
adriancb has joined #ruby
Limix has quit [Quit: Limix]
startupality has quit [Quit: startupality]
willharrison has joined #ruby
ixti has quit [Ping timeout: 246 seconds]
yellowgh0st has quit [Quit: yellowgh0st]
tunaCanBruh has quit [Ping timeout: 256 seconds]
bruno- has quit [Ping timeout: 252 seconds]
chrishough has joined #ruby
adriancb has quit [Remote host closed the connection]
SOLDIERz has joined #ruby
sent1nel has joined #ruby
ebbflowgo has quit [Ping timeout: 256 seconds]
marr has quit []
fabrice31 has joined #ruby
kt2 has quit [Quit: ...]
kt2 has joined #ruby
comma8 has joined #ruby
SOLDIERz has quit [Ping timeout: 264 seconds]
Deele has quit [Ping timeout: 245 seconds]
AlexRussia has joined #ruby
Nogbit has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
towski_ has joined #ruby
fabrice31 has quit [Ping timeout: 244 seconds]
yfeldblu_ has quit [Remote host closed the connection]
fatRomeo has quit [Ping timeout: 246 seconds]
Tuxero has joined #ruby
ponga has joined #ruby
scripore has joined #ruby
g-nom3 has quit [Ping timeout: 250 seconds]
jefus has quit [Ping timeout: 250 seconds]
nateberkopec has quit [Quit: Leaving...]
<scripore> anyone know what this error message means? Errno::ENOENT: No such file or directory @ rb_sysopen - --format
sargas has quit [Quit: This computer has gone to sleep]
serivich has quit [Ping timeout: 250 seconds]
<sevenseacat> means no such file called '--format'
joufflu has quit [Read error: Connection reset by peer]
Musashi007 has quit [Quit: Musashi007]
<scripore> ah, okay, thank you
malcolmva has quit [Ping timeout: 255 seconds]
TheNet has joined #ruby
maletor_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
fatRomeo has joined #ruby
serivich has joined #ruby
ebbflowgo has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ponga has quit [Ping timeout: 252 seconds]
nii236|irssi has joined #ruby
cjk101010 has quit [Ping timeout: 256 seconds]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
scripore has quit [Quit: Leaving]
diegoviola has quit [Remote host closed the connection]
mikecmpbll has quit [Quit: i've nodded off.]
rvchangue has quit [Ping timeout: 250 seconds]
cjk101010 has joined #ruby
adriancb has joined #ruby
jlast has joined #ruby
kt2 has quit [Quit: ...]
echevemaster has joined #ruby
Jetchisel has quit [Quit: "Unfortunately time is always against us" -- *Morpheus*]
robustus has quit [Ping timeout: 264 seconds]
adriancb has quit [Remote host closed the connection]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
robustus|Off has joined #ruby
Guest93291 has joined #ruby
robustus|Off is now known as robustus
bruno- has joined #ruby
jefus has joined #ruby
rankine has joined #ruby
kt2 has joined #ruby
malcolmva has joined #ruby
jlast has quit [Ping timeout: 265 seconds]
shum has quit [Quit: WeeChat 1.1.1]
shum has joined #ruby
Hijiri has joined #ruby
nateberkopec has joined #ruby
rankine has quit [Ping timeout: 240 seconds]
adriancb has joined #ruby
glassem has joined #ruby
tus has quit []
yfeldblum has joined #ruby
kt2 has quit [Quit: ...]
bricker has quit [Quit: leaving]
lys has joined #ruby
baweaver has quit [Remote host closed the connection]
DonOtreply has quit [Quit: DonOtreply]
Guest79923 has quit [Quit: ZNC - http://znc.in]
jalcine has joined #ruby
gr33n7007h has quit [Ping timeout: 250 seconds]
jalcine is now known as Guest62335
paradisaeidae has quit [Ping timeout: 250 seconds]
AlienPickle has joined #ruby
kt2 has joined #ruby
iwishiwerearobot has joined #ruby
mikepack has quit [Remote host closed the connection]
OrbitalKitten has joined #ruby
Sirupsen has joined #ruby
tubuliferous has quit [Read error: Connection reset by peer]
dling has quit [Ping timeout: 245 seconds]
OrbitalKitten has quit [Read error: Connection reset by peer]
OrbitalKitten has joined #ruby
iamjarvo has joined #ruby
alvaro_o has joined #ruby
AlienPickle has quit [Ping timeout: 246 seconds]
j416 has quit [Ping timeout: 245 seconds]
nobitanobi has quit [Remote host closed the connection]
gr33n7007h has joined #ruby
iwishiwerearobot has quit [Ping timeout: 240 seconds]
<shevy> funny change
zachrab has joined #ruby
<shevy> we don't like the © character!
Limix has joined #ruby
j416 has joined #ruby
baweaver has joined #ruby
Limix has quit [Client Quit]
Musashi007 has joined #ruby
c_nick has joined #ruby
bafbomb has joined #ruby
sent1nel has quit [Remote host closed the connection]
adamjleonard has joined #ruby
nateberkopec has quit [Quit: Leaving...]
lys has quit [Ping timeout: 252 seconds]
zachrab has quit [Ping timeout: 265 seconds]
hamakn has joined #ruby
<c_nick> i run an ruby framework which loads a C++ Library in Excel and then run some tests on them. Is it possible for me to open the the C++ source code and attach the ruby process to it and be able to debug through the code?
AlphaTech has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
Rapier- has joined #ruby
hamakn has joined #ruby
towski_ has quit [Quit: Leaving...]
baweaver has quit [Remote host closed the connection]
hamakn has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
hamakn_ has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
<AlphaTech> Hello, I'm trying to install the library called "twitter", when I run "gem install twitter", it gives this error and I have no clue what's wrong with it. http://pastebin.com/GatsRM9W
nii236|irssi has quit [Quit: leaving]
serivich has quit [Ping timeout: 255 seconds]
hamakn has joined #ruby
hamakn_ has quit [Read error: Connection reset by peer]
jefus has quit [Ping timeout: 252 seconds]
<apeiros_> AlphaTech: you have an incomplete ruby installation
hamakn has quit [Read error: Connection reset by peer]
hamakn_ has joined #ruby
<apeiros_> I assume you used apt or similar to install it. you probably need an additional package, ruby-dev, dev-ruby or similar.
<AlphaTech> Humm... Which one exactly?
<AlphaTech> Shall I try both?
valkyrka has quit [Ping timeout: 245 seconds]
hamakn_ has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
amdbcg has joined #ruby
<AlphaTech> Ah, ruby-dev
hamakn has quit [Read error: Connection reset by peer]
Pharaoh2 has joined #ruby
hamakn has joined #ruby
avahey has quit [Quit: Connection closed for inactivity]
definiv has joined #ruby
<muzik> Shouldnt simply changing the permissions on /usr fix it?
<sevenseacat> fix the missing headers? no
deryl has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
<apeiros_> muzik: warning vs. error
deryl is now known as ddd
hamakn has joined #ruby
<jhass> world writable /usr/ is kind of funny though
<muzik> *bow* thank you for setting me straight
oo_ has quit [Remote host closed the connection]
charliesome has quit [Quit: zzz]
<AlphaTech> It's a private system anyways
Dopagod has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
kt2 has quit [Quit: ...]
rbennacer has joined #ruby
nii236|irssi has joined #ruby
kt2 has joined #ruby
hamakn_ has joined #ruby
nateberkopec has joined #ruby
sinkensabe has joined #ruby
hamakn has quit [Read error: Connection reset by peer]
kt2 has quit [Client Quit]
hamakn_ has quit [Read error: Connection reset by peer]
hamakn has joined #ruby
amclain has joined #ruby
<jhass> yeah, until somebody hacks into any regular user account and removes your /usr/. Then it's no system at all anymore
unreal_ has joined #ruby
<muzik> *we have a hacker over here*
hamakn has quit [Read error: Connection reset by peer]
<AlphaTech> Well
<AlphaTech> What do I need to chmod it to?
hamakn has joined #ruby
<jhass> 755
SOLDIERz has joined #ruby
<AlphaTech> K, thanks
jenrzzz has quit [Ping timeout: 256 seconds]
<muzik> that is the correct question
<muzik> and answer...
<AlphaTech> Do I need to chmod -R or just regular chmod the directory?
<jhass> -R could be dangerous on /usr/
nateberkopec has quit [Client Quit]
<AlphaTech> K
kt2 has joined #ruby
<AlphaTech> Thanks :)
<jhass> but maybe check the permissions of the direct subdirectories too
<AlphaTech> I just did "chmod 755 /usr" :)
sevvie has quit [Ping timeout: 250 seconds]
unreal has quit [Ping timeout: 250 seconds]
<apeiros_> but 0777 is the lucky seven
sinkensabe has quit [Ping timeout: 264 seconds]
definiv has quit [Ping timeout: 250 seconds]
<apeiros_> jhass: aren't you in the same timezone as I?
SOLDIERz has quit [Ping timeout: 250 seconds]
Soda has quit [Remote host closed the connection]
<jhass> yes ;P
<apeiros_> hm
<apeiros_> I'm too tired to go through all options here :-p
ARCADIVS has joined #ruby
nuck has joined #ruby
oo_ has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kt2 has quit [Quit: ...]
kt2 has joined #ruby
wallerdev has quit [Quit: wallerdev]
paradisaeidae has joined #ruby
Sirupsen has quit [Quit: Textual IRC Client: www.textualapp.com]
ponga has joined #ruby
jonr22 has joined #ruby
arescorpio has joined #ruby
AlienPickle has joined #ruby
coderhs has joined #ruby
ghostpl_ has joined #ruby
karmatr0n has joined #ruby
jlast has joined #ruby
jefus has joined #ruby
dojobo has quit [Ping timeout: 250 seconds]
apeiros_ has quit [Remote host closed the connection]
fatRomeo has quit [Ping timeout: 246 seconds]
apeiros_ has joined #ruby
jonr22 has quit [Ping timeout: 250 seconds]
ponga has quit [Ping timeout: 264 seconds]
ghostpl_ has quit [Ping timeout: 245 seconds]
jlast has quit [Ping timeout: 265 seconds]
<AlphaTech> If anyone knows about the Twitter library, how can I make it run a set of commands when the Twitter account's handle is in a message?
bruno- has quit [Ping timeout: 245 seconds]
kt2 has quit [Quit: ...]
<sevenseacat> what code do you have so far?
kt2 has joined #ruby
<AlphaTech> Nothing at all. I barely know any ruby
<AlphaTech> I am experienced in PHP and TCL but definitely not Ruby-Gem
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<AlphaTech> I'm pretty sure I could do a search for the handle via this search command (https://github.com/sferik/twitter/blob/master/examples/Search.md)
<sevenseacat> use that then?
<sevenseacat> if thats what you want to do
coderhs has quit [Quit: Leaving]
tjbiddle has joined #ruby
<c_nick> AlphaTech, that error went after you installed ruby-dev?
hamakn has quit [Read error: Connection reset by peer]
<AlphaTech> c_nick: I got it to finally install everything correctly ;)
hamakn has joined #ruby
<AlphaTech> sevenseacat: I'm not sure. To me, it just grabs the top of however many your specify. I want it to make sure every tweet is answered. (Even if there happens to be 50 in one crontab session)
<sevenseacat> so dont take the top 3?
postmodern has joined #ruby
<c_nick> AlphaTech, get few then next then next.. seems logical .. you dont want to over burden end user with lots of tweets
krz has joined #ruby
bafbomb has quit [Quit: Lost terminal]
<postmodern> did i miss something, or does IPAddr not have a method for determining if an IP is a private non-routable ip?
paradisaeidae has quit [Ping timeout: 250 seconds]
unreal has joined #ruby
<AlphaTech> c_nick: About how many tweets should I grab per minute?
unreal has joined #ruby
unreal has quit [Changing host]
Musashi007 has quit [Quit: Musashi007]
unreal_ has quit [Ping timeout: 244 seconds]
djbkd has quit [Remote host closed the connection]
sevenseacat has left #ruby [#ruby]
<willharrison> Programming Ruby 1.9 & 2.0 or Metaprogramming Ruby 2?
<willharrison> which book should I get?
<jhass> >> ["Programming Ruby 1.9 & 2.0", "Metaprogramming Ruby 2"].sample
<eval-in__> jhass => "Programming Ruby 1.9 & 2.0" (https://eval.in/288417)
<jhass> there you go
<willharrison> I guess programming ruby it is
slyv has joined #ruby
<weaksauce> willharrison what are you looking for in a book?
definiv has joined #ruby
<willharrison> I have been writing some small programs in ruby for a few weeks (not even a month) and have decided I want to actually learn it
<willharrison> I have just heard good things about both of those books
<c_nick> willharrison, the language JUST has the name of the girl!
DonOtreply has joined #ruby
<weaksauce> willharrison programming ruby is about the basics of ruby.
<weaksauce> metaprogramming ruby is about a bit more advanced way of thinking about ruby
FooMunki_ has quit [Quit: FooMunki_]
<willharrison> I also don't want something that is for beginner programmers, because I have been programming a while
tunaCanBruh has joined #ruby
<weaksauce> get eloquent ruby then
<weaksauce> probably my favorite programming book
<c_nick> weaksauce,
<c_nick> url?
<willharrison> weaksauce cool. I will check it out. is it for ruby 2.0? or is that something that doesn't really matter?
psy_ has quit [Ping timeout: 255 seconds]
<c_nick> willharrison, try lynda.com that will get you up and running in ruby in about a day (with prior programming knowledge)
<weaksauce> it should be. but honestly it doesn't matter
c_nick has quit [Quit: Ex-Chat]
<willharrison> c_nick I am up and running, I just want to learn to do things the "ruby way"
<willharrison> best practices and so forth
<AlphaTech> jhass: That's exactly what I need. Say I grab the top 5 one minute and the next minute I grab the top five again. What if someone never posted in between the minutes? Won't that cause the bot to respond to the same person again?
<weaksauce> that is the absolute best book I can think of to teach idiomatic ruby
definiv has quit [Remote host closed the connection]
<_blizzy_> so, I'm trying to run this, but in irb, after I require app.rb, however, I get 'NameError: uninitialized constant ApplicationController'
balazs has quit [Ping timeout: 252 seconds]
definiv has joined #ruby
<willharrison> weaksauce cool. I think I am about to buy it then. thanks
<_blizzy_> or
<jhass> AlphaTech: did you look at the parameters it takes?
bonhoeffer has quit [Quit: bonhoeffer]
valkyrka has joined #ruby
<willharrison> _blizzy_ I have read most of the style guide and I read learn the hard way. both are a good help
<_blizzy_> willharrison, make something
<_blizzy_> best way to learn a langauge is to make something with it
<weaksauce> _blizzy_ nope
paradisaeidae has joined #ruby
<willharrison> want to make sure I make it the right way tho
<weaksauce> best way to write code that you already know how to write is to make something
tunaCanBruh has quit [Ping timeout: 245 seconds]
mloveless has joined #ruby
<weaksauce> you either study idiomatic code, find a teacher, or read a book on it
<AlphaTech> jhass: So if we use since_id, we could use a cache of the last post we responded to last time
mloveless has quit [Remote host closed the connection]
<jhass> yup
Kricir has quit [Remote host closed the connection]
<weaksauce> _blizzy_ why do you think you have that error?
<_blizzy_> weaksauce, ...., I feel stupid now.
<_blizzy_> thxs.
<AlphaTech> jhass: Okay, i know little to nothing about actually coding in ruby gems, do you have a tutorial that could point me in the right direction?
<weaksauce> not my intention actually. It was a different subject
claptor has joined #ruby
<weaksauce> I was going to try to help you
<jhass> AlphaTech: tryruby.org maybe?
Kricir has joined #ruby
wallerdev has joined #ruby
<AlphaTech> jhass: Thanks! If you want to see if I ever get it working, just follow @TheFlaskBot on Twitter ;)
wallerdev has quit [Client Quit]
<_blizzy_> weaksauce, oh.
<_blizzy_> weaksauce, IDK really.
sent1nel has joined #ruby
<weaksauce> do you know what name error uninitialized constant means?
shadoi has quit [Quit: Leaving.]
<_blizzy_> actually I figured it out
<_blizzy_> I needed to require the app file in the controller file
<AlphaTech> jhass: I ran "ruby help" on my system and it returned with "ruby: No such file or directory -- help (LoadError"
Synthbread has joined #ruby
<weaksauce> ri is what you are looking for
<_blizzy_> weaksauce, me or AlphaTech ?
<weaksauce> AlphaTech
<_blizzy_> oh.
<weaksauce> you figured it out!
yfeldblu_ has joined #ruby
mikepack has joined #ruby
Kricir has quit [Ping timeout: 250 seconds]
magic__ has joined #ruby
<jhass> AlphaTech: yup
lightstalker has quit [Ping timeout: 245 seconds]
fabrice31 has joined #ruby
Troy^ has joined #ruby
balazs has joined #ruby
yfeldblum has quit [Ping timeout: 265 seconds]
shadoi has joined #ruby
luriv_ has quit [Ping timeout: 250 seconds]
havenwoo_ has quit []
<balazs> hi
psy_ has joined #ruby
valkyrka has quit [Ping timeout: 244 seconds]
ajaiswal has joined #ruby
fabrice31 has quit [Ping timeout: 252 seconds]
<_blizzy_> hi balazs.
definiv has quit [Quit: Out]
rbennacer has quit [Remote host closed the connection]
spacemud has quit [Quit: ZNC - http://znc.in]
mikepack has quit [Remote host closed the connection]
ohga_ex has joined #ruby
skj3gg has joined #ruby
<AlphaTech> Lol figured it out
<AlphaTech> It's ruby file.rb just like Python......
zacts has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
Musashi007 has joined #ruby
SOLDIERz has joined #ruby
zorak_ has joined #ruby
<AlphaTech> jhass: So I make a test.rb that contains all the config variables and I also added a status update just to test out the auth. At the end of the file I wrote "end" and it returned with this error: test.rb:1:in `<main>': uninitialized constant Twitter (NameError)
zorak8 has quit [Read error: Connection reset by peer]
sevvie has joined #ruby
<jhass> AlphaTech: looks like you didn't require "twitter" to load the gem
<AlphaTech> Oh
<AlphaTech> I didn't realize you had to require it like that
<AlphaTech> I just thought it would import by itself
<jhass> well, loading all libraries you have installed all the time would be kind of messy ;)
<AlphaTech> Heh, so just put "require twitter" at the top?
<_blizzy_> put
<_blizzy_> require 'twitter'
wallerdev has joined #ruby
wallerdev has quit [Client Quit]
<_blizzy_> you have to wrap the module in quotes, single or double.
<AlphaTech> Okay, single-quotes ;)
oleo is now known as Guest88958
<_blizzy_> I personally prefer single quotes for my imports.
<jhass> you actually specify a filename there, it searches in $LOAD_PATH and appends .rb
oleo__ has joined #ruby
<_blizzy_> oh, thxs, jhass.
sent1nel has quit [Ping timeout: 265 seconds]
wallerdev has joined #ruby
vdamewood has joined #ruby
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Yzguy has joined #ruby
it0a has quit [Ping timeout: 252 seconds]
Troy^ has joined #ruby
<AlphaTech> It doesn't like the line "client.update("I'm tweeting with @gem!")" and I took it straight from the example
<jhass> "doesn't like"
<jhass> "computer not work! help!"
Guest88958 has quit [Ping timeout: 245 seconds]
Troy^ has quit [Client Quit]
Synthbread has quit [Remote host closed the connection]
jlast has joined #ruby
SOLDIERz has quit [Ping timeout: 245 seconds]
<jhass> looks like you never set client to anything
<AlphaTech> Heh, I thought I included that up there (whoops)
willharrison has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<AlphaTech> Well I took both of those from the examples... I don't see why it shouldn't work
<jhass> gist the full code
<AlphaTech> Oh
<AlphaTech> In their code, they set the config as one var in one section and a different bar in the next
livingstn has quit [Ping timeout: 245 seconds]
mikepack has joined #ruby
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ponga has joined #ruby
jlast has quit [Ping timeout: 265 seconds]
<postmodern> huh, Array seems to define #=~
<AlphaTech> jhass: Actually, that's not it... I have client set..... Here's the code http://pastebin.com/bjqDgU6K
mikepack has quit [Remote host closed the connection]
<jhass> no, you do not
<_blizzy_> would spacing matter in that?
<jhass> the code in the block is run before the assignment is completed
<_blizzy_> wait, you're calling it from in the each do block
<jhass> we indent blocks to make that more obvious
skj3gg has quit [Quit: ZZZzzz…]
<_blizzy_> eli5?
<_blizzy_> the block is run before assignment.
<_blizzy_> also I guess those keys are fake. :P
<AlphaTech> Yes, the keys are fake ^_^
<_blizzy_> oh ok, good.
bruno- has joined #ruby
sevvie has quit [Ping timeout: 245 seconds]
Pharaoh2_ has joined #ruby
<AlphaTech> The ?s the the raw paste data are because my SSH client is horrible... They aren't there in the actual file though
<AlphaTech> *the ?s in
ponga has quit [Ping timeout: 245 seconds]
skj3gg has joined #ruby
<AlphaTech> So what's wrong with the code?
Pharaoh2 has quit [Ping timeout: 245 seconds]
rmoriz has quit [Ping timeout: 252 seconds]
skj3gg has quit [Client Quit]
definiv has joined #ruby
sent1nel has joined #ruby
<jhass> the code in the block is run before the assignment is completed
Guest62335 is now known as jacky
jacky has quit [Changing host]
jacky has joined #ruby
Musashi007 has quit [Quit: Musashi007]
<jhass> proper indentation shows it pretty clearly: http://paste.mrzyx.de/pvxrjqot2
rmoriz has joined #ruby
<_blizzy_> so let me get this right
<_blizzy_> client's values aren't actually set until the block is done?
triple_b has joined #ruby
<_blizzy_> meaning to client.update, the values are empty?
bruno- has quit [Ping timeout: 256 seconds]
<jhass> _blizzy_: the constructor likely directly calls the code, so .new calls #initialize and that runs the block, so it is run before .new returns
<jhass> *calls the block
jack_rabbit has joined #ruby
<AlphaTech> jhass: What's the difference between your code and mine besides that yours has a line break under the require?
<_blizzy_> oh ok, thanks, jhass.
definiv has quit [Client Quit]
amystephen has quit [Quit: amystephen]
<jhass> AlphaTech: it's properly indent to show you its structure, in the hope that you'll recognize that the last line inside the block is run before the assignment is complete
dol37__ has quit [Quit: Connection closed for inactivity]
<jhass> *indented
iwishiwerearobot has joined #ruby
<jhass> AlphaTech: or in other words: please show me a single example that puts that line inside the block
<AlphaTech> Ah, so put the client.update after the end?
<_blizzy_> yes.
<jhass> perfect question you could avoid by just trying
mikepack has joined #ruby
Yzguy has quit [Quit: I'm sleeping, go away.]
skj3gg has joined #ruby
ddd has quit [Quit: leaving]
<_blizzy_> the ruby channel seems
<_blizzy_> sassy
jlast has joined #ruby
lightstalker has joined #ruby
<AlphaTech> Nope
<_blizzy_> it was a play on words.
<shevy> full of gangsters here
<_blizzy_> since sass c:
<AlphaTech> It just returned with a lot of errors
<_blizzy_> oh.
it0a has joined #ruby
sevvie has joined #ruby
<AlphaTech> First it said could not auth but I think the rest were caused by not being able to auth
skj3gg has quit [Client Quit]
<jhass> sounds likely
iwishiwerearobot has quit [Ping timeout: 246 seconds]
postmodern has quit [Quit: Leaving]
zachrab has joined #ruby
Dai-chan has quit [Ping timeout: 252 seconds]
definiv has joined #ruby
jlast has quit [Ping timeout: 250 seconds]
<TheNet> is there a way to detect if a method is part of a chain?
<jhass> what do you mean?
shtirlic has quit [Ping timeout: 252 seconds]
krz has quit [Quit: WeeChat 1.0.1]
definiv has quit [Client Quit]
<TheNet> i.e thing.method (not part of a chain) vs thing.method_one.method_two (method two is part of a chain)
rmoriz has quit [Ping timeout: 252 seconds]
braincrash has quit [Quit: bye bye]
krz has joined #ruby
<jhass> I can't imagine why you would do that
<jhass> but no
<AlphaTech> Hey! I did it, it returned nothing, but it posted to the timeline!
<_blizzy_> congrats.
zachrab has quit [Ping timeout: 264 seconds]
<AlphaTech> jhass: What would be the best way to store the last post ID so we don't check the tweets twice?
<jhass> depends, I guess just write it to a file
sent1nel has quit [Remote host closed the connection]
<AlphaTech> I guess ^_^
swgillespie has joined #ruby
<gr33n7007h> >> p = [*?a..?f].place # ?
<eval-in__> gr33n7007h => undefined method `place' for ["a", "b", "c", "d", "e", "f"]:Array (NoMethodError) ... (https://eval.in/288446)
DonOtreply has quit [Quit: DonOtreply]
<gr33n7007h> why does this work in pry?
guanophobic has quit [Ping timeout: 246 seconds]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rmoriz has joined #ruby
mikepack has quit [Remote host closed the connection]
shtirlic has joined #ruby
guanophobic has joined #ruby
slyv has quit [Remote host closed the connection]
ltd has quit [Ping timeout: 246 seconds]
braincrash has joined #ruby
skj3gg has joined #ruby
mikepack has joined #ruby
<shevy> do you guys often use attr_reader ?
Yzguy has joined #ruby
<shevy> more and more often, I tend to just use "def foo" there rather than attr_reader :foo
danoo_ has quit [Ping timeout: 272 seconds]
<shevy> gr33n7007h I assume something added that method to class Array
ltd has joined #ruby
ohga_ex has quit [Quit: Page closed]
<jhass> gr33n7007h: ? [].place
<jhass> should have location
<jhass> in pry
lynxman has quit [Ping timeout: 255 seconds]
Lemur has joined #ruby
<gr33n7007h> returns #=> #<Insertion:0x000000031921b8 @list=["a", "b", "c", "d", "e", "f"], @values=[]>
aamador has quit [Ping timeout: 252 seconds]
nii236|i1ssi has joined #ruby
govg has quit [Quit: leaving]
<jhass> show-doc [].place is the lengthy version for ? [].place
<gr33n7007h> ah, thanks jhass
ebbflowgo has quit [Quit: ebbflowgo]
skj3gg has quit [Quit: ZZZzzz…]
DogH has quit [Quit: Konversation terminated!]
sent1nel has joined #ruby
nosleep77 has quit [Quit: Connection closed for inactivity]
joufflu has joined #ruby
mistermocha has joined #ruby
sent1nel has quit [Remote host closed the connection]
skj3gg has joined #ruby
Biohazard has joined #ruby
Biohazard is now known as Guest14243
maknz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
skj3gg has quit [Client Quit]
danoo_ has joined #ruby
<m4rCsi> hey, is there an elegant way to delete all contents of an array from inside iterating the same array?
<m4rCsi> more elegant than setting a flag, breaking out and deleting afterwards.
Limix has joined #ruby
Limix has quit [Client Quit]
mistermocha has quit [Ping timeout: 246 seconds]
<jhass> .delete_if ?
<jhass> aka .reject
wallerdev has quit [Quit: wallerdev]
shadoi has quit [Quit: Leaving.]
<m4rCsi> I want to delete every element, not just one
lynxman has joined #ruby
<m4rCsi> ah it does.
wallerdev has joined #ruby
<jhass> AlphaTech: you get an instance of Twitter::Rest::Timelines and call the method on it
kyb3r_ has joined #ruby
dfinninger has joined #ruby
<jhass> AlphaTech: oh, actually it's a module included into http://www.rubydoc.info/gems/twitter/Twitter/REST/API
skj3gg has joined #ruby
<jhass> which in turn is included into http://www.rubydoc.info/gems/twitter/Twitter/REST/Client
<AlphaTech> jhass: How do I then read the array?
<jhass> and that you already should have an instance of
dfinninger has quit [Remote host closed the connection]
<jhass> probably just .each
JBreit has joined #ruby
<jhass> didn't tryruby.org cover how to iterate over an array?
<AlphaTech> Could you possibly paste that because I'm kinda counfused
<jhass> note that you can use do / ned and { / } interchangeably
nii236|irssi has quit [Quit: leaving]
ponga has joined #ruby
<jhass> and no, I'm not going to write your script for you ;)
jonr22 has joined #ruby
mistermocha has joined #ruby
Synthbread has joined #ruby
renderful has joined #ruby
TheNet has quit [Remote host closed the connection]
renderful has quit [Remote host closed the connection]
adriancb has quit [Remote host closed the connection]
<AlphaTech> I don't understand why it has a # before it and everything. Also the term instance and method are confusing me.
TheNet has joined #ruby
adriancb has joined #ruby
<jhass> The # is just a documentation convention
mistermo_ has joined #ruby
ghostpl_ has joined #ruby
<jhass> given Foo is a class
<jhass> Foo.bar or Foo::bar means you call the method like Foo.bar
<jhass> Foo#bar means you call the method on an instance of Foo, for example Foo.new.bar
mistermocha has quit [Ping timeout: 246 seconds]
SOLDIERz has joined #ruby
<AlphaTech> So "mentions_timeline(options = {since_id = lastPosted})" should be an array of the last 20 posts including the bot's handle?
jonr22 has quit [Ping timeout: 240 seconds]
skj3gg has quit [Quit: ZZZzzz…]
<AlphaTech> And the demonstration of methods was very helpful :)
<jhass> it has a link to twitters API documentation of the endpoint it wraps
zacts has joined #ruby
skj3gg has joined #ruby
adriancb has quit [Ping timeout: 256 seconds]
ghostpl_ has quit [Ping timeout: 265 seconds]
jbw__ has joined #ruby
craigp has quit [Remote host closed the connection]
streaxy has joined #ruby
<streaxy> Hello
adamjleonard has quit [Quit: Leaving...]
<streaxy> I have a few questions...
RDash has quit [Ping timeout: 246 seconds]
banister has joined #ruby
<shevy> GOOD
<streaxy> Should Gems be installed already when I install ruby, or do I need to install gems separately?
<shevy> from source install yes
jbw_ has quit [Ping timeout: 250 seconds]
<streaxy> Im on Windows
<shevy> some distribution ruby have it in a separate package
<shevy> I think it is available
<streaxy> I installed Ruby 2.0
<shevy> last time I tried it, gem from the commandline worked
<shevy> did you open cmd.exe and try "gem list" ?
gr33n7007h has quit [Changing host]
gr33n7007h has joined #ruby
<streaxy> I was instructed to install DevKit
<shevy> hmm
Lemur has quit [Read error: Connection reset by peer]
<shevy> I don't think I had to do this on win 8.1
skj3gg has quit [Client Quit]
<shevy> I just got the rubyinstaller
Lemur has joined #ruby
skj3gg has joined #ruby
razieliyo has quit [Ping timeout: 250 seconds]
AlienPickle has quit [Ping timeout: 255 seconds]
SOLDIERz has quit [Ping timeout: 252 seconds]
<streaxy> Not sure what happened
<streaxy> I guess gem isnt included with the 2.0 installer :/
<streaxy> All this just to install redcar lol
Channel6 has joined #ruby
arescorpio has quit [Excess Flood]
<gr33n7007h> streaxy: did you type gem list in irb?
djbkd has joined #ruby
skj3gg has quit [Client Quit]
<jhass> >> gem list
<eval-in__> jhass => undefined local variable or method `list' for main:Object (NameError) ... (https://eval.in/288471)
<streaxy> I did
<gr33n7007h> streaxy: type it in the windows command prompt
<streaxy> I tried installing via devkit
<streaxy> Bahaha
<streaxy> I feel like such an idiot
<streaxy> gem install redcar worked
<streaxy> Im sorry guys, Im new to Ruby :/
lioninawhat has quit [Remote host closed the connection]
<jhass> don't be sorry for that
TheNet has quit [Remote host closed the connection]
<streaxy> Well hmm
<streaxy> Redcar cant be found
<jhass> maybe be sorry for using windows :P
TheNet has joined #ruby
<jhass> how about redcar?
<streaxy> Well I did it as redcar
Yzguy has quit [Quit: I'm sleeping, go away.]
<streaxy> I just capitalized on here due to being a grammar junky.
<jhass> uh, gem --version?
<streaxy> 2.2.2
<jhass> gem update --system gives a similar error?
jlast has joined #ruby
fedora_newb has quit []
glassem has quit [Quit: Leaving]
psyprus has quit [Ping timeout: 245 seconds]
<streaxy> And I'd use Linux but this is my fiance's laptop and she would kill be for DB'ing Ubuntu
<jhass> okay, we need to take a few steps
<streaxy> Im all eyes
<jhass> er
* Nilium made the mistake of putting Ubuntu Snappy Core on his Raspberry Pi 2's SD card
<jhass> this one, download it
RDash has joined #ruby
mistermo_ has quit [Remote host closed the connection]
<Nilium> Most boring image I can imagine downloading.
<streaxy> done
tunaCanBruh has joined #ruby
<jhass> gem install ./path/to/it/rubygems-update-2.4.6.gem
<streaxy> done
<jhass> now run update_rubygems
jlast has quit [Ping timeout: 265 seconds]
<streaxy> Its doing its thing
<streaxy> Okay its finished
<jhass> try gem install redcar again
<streaxy> I did
<streaxy> It's working :)
<streaxy> Thanks
<streaxy> Im just a guy aspiring to learn to code.
<streaxy> And I heard that Ruby is an awesome place to start
<jhass> sure
<jhass> but the error you had only happens on windows :P
<streaxy> Lol
<streaxy> Im sorry
<streaxy> Blame my GF
tunaCanBruh has quit [Ping timeout: 255 seconds]
<AlphaTech> When I do a puts of client.mentions_timeline(), it returns with #<Twitter::Tweet:0x16bd5d8>, how can I run a foreach on it?
<streaxy> She would freak out if the DB screen popped up when she was booting her lappy
<jhass> she forbids VirtualBox or Dualboot?
<streaxy> Not so much VB
<streaxy> But I want the full box of Ubuntu or nothing at all
bootstrappm has quit [Quit: bootstrappm]
<streaxy> Wireless drivers are a pain for VB or atleast for me
danman has joined #ruby
zachrab has joined #ruby
danman has quit [Client Quit]
jenrzzz has joined #ruby
<streaxy> Okay redcar is up and running
mistermocha has joined #ruby
<jhass> AlphaTech: with .each
<streaxy> Wow
<streaxy> Redcar is now not responding
<streaxy> Every time I restart it, it does the same thing
<AlphaTech> jhass: yes, I did that and inside of the each, I put |a| to define the var and put a client.status(a) and it is just dumping out the tweet IDs still and not the contents of the tweet (what client.status does)
Deele has joined #ruby
zachrab has quit [Ping timeout: 244 seconds]
psyprus has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
<jhass> AlphaTech: a (please name it tweet, a is a horrible variable name) is an instance of http://www.rubydoc.info/gems/twitter/Twitter/Tweet
paradisaeidae has quit [Ping timeout: 264 seconds]
JBreit has left #ruby ["Leaving"]
commmmodo has quit [Quit: commmmodo]
paradisaeidae has joined #ruby
<streaxy> jhass: Im looking to learn Ruby hands on. I want to code a few useful things and that way I will grasp a better understanding. Any tips?
psyprus has quit [Ping timeout: 245 seconds]
<jhass> for things to code?
fabrice31 has joined #ruby
yfeldblu_ has quit [Remote host closed the connection]
tobago has joined #ruby
yfeldblum has joined #ruby
bluOxigen has joined #ruby
<AlphaTech> The docs say to fetch a tweet by the tweet Id to run "client.status(TWEET_ID)" but all it is returning for me is #<Twitter::Tweet:0x62839>
<jhass> that's the .to_s representation
<jhass> it deonotes an instance of Twitter::Tweet
<jhass> you don't need to go through status, you already have one returned my mentions_timeline
<jhass> you can call the methods on it that the docs describe, like text
balazs has quit [Ping timeout: 252 seconds]
fabrice31 has quit [Ping timeout: 246 seconds]
<AlphaTech> Yes, I'm trying to run full_text(a) but it says undefined method
<streaxy> jhass
<streaxy> I am attempting a simple script
<jhass> you call methods on an object (aka instance) with object.method, not method(object)
<jhass> AlphaTech: did you go through tryruby.org yet? I have the feeling you didn't
<streaxy> I tried to launch it but Im getting an error. I know youre not my personal tutor lol but youre awesome help
<jhass> streaxy: just directly ask your questions to the channel, whoever (including me) has time and the answer will respond
<streaxy> Okay so it's a very simple script. asking for input. I tried to launch it but received this...
<jhass> note that IRC is a partially asynchronous medium, sometimes responses can take hours, don't be discouraged if it doesn't happen right away
Mia has quit [Read error: Connection reset by peer]
<jhass> where did you pickup that syntax from?
<jhass> it's not how you run a script
dojobo has joined #ruby
<jhass> you do ruby example.rb, outside irb
<streaxy> hmm
<streaxy> Okay
<jhass> irb is for running ruby code interactively
blindsight has quit [Ping timeout: 252 seconds]
blindsight has joined #ruby
blindsight is now known as Guest17966
Guest17966 has quit [Changing host]
Guest17966 has joined #ruby
Guest17966 is now known as blindsight
amdbcg has quit [Ping timeout: 245 seconds]
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
tjohnson has quit [Quit: Connection closed for inactivity]
<paradisaeidae> How does gem know to compile extensions when installing a new gem?
tkuchiki_ has joined #ruby
<AlphaTech> Ugh... I got it working but I cannot find the method to turn Twitter::Tweet into the author of the tweet
tkuchiki has quit [Ping timeout: 255 seconds]
goodenough has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
skj3gg has joined #ruby
Guest93291 has quit [Read error: Connection timed out]
psyprus has joined #ruby
bruno- has joined #ruby
TheNet has quit [Ping timeout: 252 seconds]
reinaldob has joined #ruby
postmodern has joined #ruby
r0bby_ is now known as robbyoconnor
SOLDIERz has joined #ruby
himsin has joined #ruby
bruno- has quit [Ping timeout: 264 seconds]
Jetchisel has joined #ruby
<AlphaTech> jhass: Did you see a method for Twitter::Tweet -> screen_name ?
reinaldob has quit [Ping timeout: 240 seconds]
skj3gg has quit [Quit: ZZZzzz…]
iwishiwerearobot has joined #ruby
Channel6 has quit [Quit: Leaving]
it0a has quit [Quit: WeeChat 1.1.1]
mikepack has quit [Remote host closed the connection]
sinkensabe has joined #ruby
jlast has joined #ruby
<paradisaeidae> So I'm making some adjustments to a gem,
<paradisaeidae> irb(main):001:0> gem 'eventmachine-le', "= 1.1.7" => true
<paradisaeidae> irb(main):005:0> require 'eventmachine-le' => LoadError: cannot load such file -- eventmachine-le
<paradisaeidae> Has to be a gem antiPattern?
skj3gg has joined #ruby
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iwishiwerearobot has quit [Ping timeout: 246 seconds]
tkuchiki has joined #ruby
SOLDIERz has quit [Ping timeout: 264 seconds]
pu22l3r_ has quit [Ping timeout: 246 seconds]
jlast has quit [Ping timeout: 250 seconds]
NivenHuH has joined #ruby
tkuchiki_ has quit [Ping timeout: 252 seconds]
mistermocha has quit [Remote host closed the connection]
rvchangue has joined #ruby
rvchangue is now known as Guest28781
_Mon_Ouie_ is now known as Mon_Ouie
Mon_Ouie has joined #ruby
Mon_Ouie has quit [Changing host]
fatRomeo has joined #ruby
sinkensa_ has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
sinkensa_ has quit [Read error: Connection reset by peer]
<dopie> is this correct
<dopie> Use () after methods, even if they don't have an argument.
fenzil has joined #ruby
ChoiKyuSang has quit [Read error: Connection reset by peer]
skj3gg has quit [Quit: ZZZzzz…]
Rhainur1 is now known as Rhainur
<work_op> I'm having trouble with string freezing, in nested blocks... http://codepad.org/A6KntswL
<work_op> i've confirmed that the methods these two are dependent on are working properly
codeurge has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sevvie has quit [Ping timeout: 240 seconds]
sevvie has joined #ruby
atomical has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
craigp has joined #ruby
bluehavana has quit [Quit: Connection closed for inactivity]
Guest28781 has quit [Read error: Connection timed out]
skj3gg has joined #ruby
skj3gg has quit [Client Quit]
NivenHuH has quit [Quit: Textual IRC Client: www.textualapp.com]
sevenseacat has joined #ruby
longfeet has quit [Ping timeout: 250 seconds]
longfeet has joined #ruby
armyriad has quit [Ping timeout: 265 seconds]
rvchangu- has joined #ruby
dling has joined #ruby
jonr22 has joined #ruby
wallerdev has quit [Quit: wallerdev]
ghostpl_ has joined #ruby
ChoiKyuSang has joined #ruby
amclain has quit [Quit: Leaving]
last_staff has joined #ruby
echevemaster has quit [Remote host closed the connection]
jonr22 has quit [Ping timeout: 252 seconds]
skj3gg has joined #ruby
mikepack has joined #ruby
ghostpl_ has quit [Ping timeout: 250 seconds]
mikepack has quit [Remote host closed the connection]
riotjones has joined #ruby
agrinb has quit [Remote host closed the connection]
LetErikTry has quit [Quit: sleep]
agrinb has joined #ruby
rbennacer has joined #ruby
fatRomeo has quit [Ping timeout: 246 seconds]
fatRomeo has joined #ruby
riotjones has quit [Ping timeout: 264 seconds]
rbennacer has quit [Ping timeout: 244 seconds]
dojobo has quit [Quit: Leaving]
agrinb has quit [Ping timeout: 250 seconds]
atomi has quit [Quit: brb]
lkba has joined #ruby
DonOtreply has joined #ruby
keen__________68 has joined #ruby
serivich has joined #ruby
keen__________67 has quit [Ping timeout: 240 seconds]
<AlphaTech> Does anyone know of a library for artificial intelligence that could take (forexample) chat("Whatever the person said") and return it with a valid response?
<ponga> AlphaTech: i do know one
<ponga> but the api is not free
atomi has joined #ruby
<ponga> :(
<ponga> well im making one, but its not in english
<AlphaTech> ponga: Eh, thanks anyways
<ponga> AlphaTech: you should google 'chatbot'
helpa has quit [Ping timeout: 246 seconds]
jlast has joined #ruby
<AlphaTech> ponga: None of them seem to use a Ruby library though
hvxgr has quit [Ping timeout: 256 seconds]
<ponga> hm..
tagrudev has joined #ruby
tunaCanBruh has joined #ruby
ghostlines has joined #ruby
<AlphaTech> I'm going to try out "lita" and hope it isn't too complex for what I'm building
jlast has quit [Ping timeout: 250 seconds]
SOLDIERz has joined #ruby
idoru has quit [Read error: Connection timed out]
fantazo has joined #ruby
skj3gg has quit [Quit: ZZZzzz…]
tunaCanBruh has quit [Ping timeout: 245 seconds]
karmatr0n has quit [Remote host closed the connection]
_blizzy_ has quit [Ping timeout: 264 seconds]
riotjones has joined #ruby
magic__ has quit [Quit: Leaving]
SOLDIERz has quit [Ping timeout: 265 seconds]
The_Phoenix has joined #ruby
The_Phoenix has quit [Max SendQ exceeded]
The_Phoenix has joined #ruby
fenzil has quit [Read error: Connection reset by peer]
jlast has joined #ruby
CustosL1men has joined #ruby
sinkensabe has quit [Remote host closed the connection]
jlast_ has joined #ruby
kp666 has joined #ruby
charliesome has quit [Quit: zzz]
oo_ has quit [Remote host closed the connection]
oo_ has joined #ruby
jlast has quit [Ping timeout: 250 seconds]
boombadaroomba has quit [Remote host closed the connection]
spider-mario has quit [Ping timeout: 245 seconds]
yellowgh0st has joined #ruby
arup_r has joined #ruby
jlast_ has quit [Ping timeout: 265 seconds]
zyxelthrone has quit [Quit: WeeChat 1.1.1]
RDash has quit [Changing host]
RDash has joined #ruby
Mon_Ouie has quit [Ping timeout: 255 seconds]
raja_ has joined #ruby
oo_ has quit [Ping timeout: 246 seconds]
idoru has joined #ruby
paradisaeidae has quit [Ping timeout: 245 seconds]
bal has joined #ruby
yfeldblum has quit [Ping timeout: 250 seconds]
hvxgr has joined #ruby
CustosL1men is now known as Cust0sL1men
Macaveli has joined #ruby
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
sinkensabe has joined #ruby
zachrab has joined #ruby
rvchangu- has quit [Ping timeout: 252 seconds]
zachrab has quit [Ping timeout: 255 seconds]
anarang has joined #ruby
kt2 has quit [Ping timeout: 240 seconds]
sevvie has quit [Ping timeout: 245 seconds]
goodenough has quit [Remote host closed the connection]
andikr has joined #ruby
<arup_r> why are we quiet ?
byprdct has joined #ruby
duncannz has joined #ruby
byprdct has quit [Client Quit]
rvchangue has joined #ruby
sevvie has joined #ruby
ixti has joined #ruby
jgt has joined #ruby
<certainty> do you guy use Kernel#warn in your code?
AlienPickle has joined #ruby
sent1nel has joined #ruby
fabrice31 has joined #ruby
<arup_r> certainty: moin
sinkensabe has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
jimms has joined #ruby
<certainty> arup_r: o/
jack_rabbit has quit [Ping timeout: 264 seconds]
dumdedum has joined #ruby
sent1nel has quit [Ping timeout: 252 seconds]
iwishiwerearobot has joined #ruby
<arup_r> what does it mean?
sinkensabe has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
<arup_r> I don't understand what shevy want to say using \o/ or o/ :p
<certainty> arup_r: it's a pictogram of a person saying hi
<arup_r> tell me so that I can use these by knowing their meaninga
<sevenseacat> someone waving hello., i presume.
<arup_r> and \o/ ?
<certainty> \o/ is a person throwing the hands in the air, like being totally happy
leat has joined #ruby
<sevenseacat> the o is the persons head
<arup_r> Ohh! make sense
apurcell has quit [Quit: Be back later ...]
<certainty> yeah like waving, thank sevenseacat
<arup_r> sevenseacat: hehehe.. I know you are the best teacher out there
<sevenseacat> :)
<arup_r> certainty: \o/
<arup_r> sevenseacat: o/
<sevenseacat> :)
<certainty> arup_r: also i \o_ which is a semaphore xp
<arup_r> certainty: \m/
codecop has joined #ruby
hollywood has joined #ruby
blaxter has joined #ruby
dumdedum has quit [Ping timeout: 246 seconds]
<certainty> hehe rock on :)
mxrguspxrt has joined #ruby
<sevenseacat> :D
<arup_r> ;)
rvchangue has quit [Quit: dead]
iwishiwerearobot has quit [Ping timeout: 256 seconds]
<certainty> so today is clojure day :)
rvchangue has joined #ruby
mkaesz has joined #ruby
iwishiwerearobot has joined #ruby
jgt has quit [Ping timeout: 255 seconds]
iwishiwerearobot has quit [Client Quit]
mathie has joined #ruby
wallerdev has joined #ruby
psy_ has quit [Quit: Leaving]
SOLDIERz has joined #ruby
allenn has joined #ruby
fatRomeo has quit [Ping timeout: 246 seconds]
kalusn has joined #ruby
oo_ has joined #ruby
quazimodo has joined #ruby
dubchasin has joined #ruby
<dubchasin> hello to all of you)
mkaesz has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
jlast has joined #ruby
_Andres has joined #ruby
mkaesz has joined #ruby
nii236|irssi has joined #ruby
agrinb has joined #ruby
elaptics is now known as elaptics_away
nii236|irssi has joined #ruby
nolic has quit [Remote host closed the connection]
strixd has joined #ruby
SOLDIERz has quit [Ping timeout: 246 seconds]
longfeet has quit [Read error: Connection reset by peer]
jlast has quit [Ping timeout: 250 seconds]
agrinb has quit [Ping timeout: 265 seconds]
mathie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mathie has joined #ruby
craigp has quit [Remote host closed the connection]
devoldmx has joined #ruby
aganov has joined #ruby
vdamewood has joined #ruby
helpa has joined #ruby
tokik has quit [Ping timeout: 255 seconds]
craigp has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
defrang has joined #ruby
ghostpl_ has joined #ruby
kalusn has quit [Remote host closed the connection]
nuck has quit [Quit: Computer has gone to sleep.]
terlar has joined #ruby
jonr22 has joined #ruby
raja_ has quit [Read error: Connection reset by peer]
raja_ has joined #ruby
jheg has joined #ruby
ghostpl_ has quit [Ping timeout: 250 seconds]
rvchangue has quit [Ping timeout: 240 seconds]
systemd0wn_ has joined #ruby
jonr22 has quit [Ping timeout: 265 seconds]
himsin has quit [Read error: Connection reset by peer]
<dubchasin> yooy
sinkensabe has quit [Read error: Connection reset by peer]
dubchasin has quit [Quit: Leaving]
sinkensabe has joined #ruby
ghr has quit [Ping timeout: 240 seconds]
himsin has joined #ruby
lidaaa has quit [Ping timeout: 244 seconds]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
systemd0wn has quit [Ping timeout: 250 seconds]
craigp has quit [Remote host closed the connection]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tag has quit [Ping timeout: 246 seconds]
decoponio has joined #ruby
mkaesz has quit [Read error: Connection reset by peer]
joufflu has quit [Read error: Connection reset by peer]
febuiles has joined #ruby
iwishiwerearobot has joined #ruby
serivich has quit [Ping timeout: 246 seconds]
joonty has joined #ruby
Synthbread has quit [Read error: Connection reset by peer]
bjornar has joined #ruby
mkaesz has joined #ruby
cryo28 has joined #ruby
duncannz has quit [Ping timeout: 252 seconds]
bruno- has joined #ruby
djbkd has quit [Remote host closed the connection]
einarj has joined #ruby
blaxter has quit [Ping timeout: 245 seconds]
Spami has joined #ruby
lxsameer has joined #ruby
lxsameer has joined #ruby
jimms has quit [Remote host closed the connection]
arup_r has quit []
yxejamir has joined #ruby
AlienPickle has quit [Ping timeout: 244 seconds]
yxejamir has quit [Changing host]
yxejamir has joined #ruby
oo_ has quit [Remote host closed the connection]
tunaCanBruh has joined #ruby
bruno- has quit [Ping timeout: 256 seconds]
craigp has joined #ruby
tag has joined #ruby
cryo28 has quit [Quit: leaving]
cryo28 has joined #ruby
colinstgeorge has quit [Read error: Connection reset by peer]
avril14th has joined #ruby
<avril14th> morning
msgodf has joined #ruby
lolmaus has quit [Quit: Konversation terminated!]
felixjet__ has joined #ruby
oo_ has joined #ruby
roolo has joined #ruby
yellowgh0st has quit [Quit: yellowgh0st]
riotjone_ has joined #ruby
Morkel has joined #ruby
chipotle_ has joined #ruby
Morkel has left #ruby [#ruby]
tunaCanBruh has quit [Ping timeout: 256 seconds]
joonty has quit [Quit: joonty]
redondos has quit [Ping timeout: 246 seconds]
charliesome has quit [Quit: zzz]
Azure has quit [Read error: Connection reset by peer]
patrick99e99 has quit [Read error: Connection reset by peer]
quazimodo has quit [Remote host closed the connection]
blenny has quit [Ping timeout: 250 seconds]
gf3 has quit [Ping timeout: 265 seconds]
Nilium has quit [Ping timeout: 252 seconds]
Azure has joined #ruby
patrick99e99 has joined #ruby
timmow_ has quit [Ping timeout: 255 seconds]
davidcelis has quit [Ping timeout: 265 seconds]
warreng has quit [Ping timeout: 265 seconds]
mattp_ has quit [Read error: Connection reset by peer]
x1337807x has joined #ruby
charliesome has joined #ruby
hs366 has joined #ruby
blenny has joined #ruby
crazysim has quit [Excess Flood]
chipotle has quit [Ping timeout: 246 seconds]
mattp_ has joined #ruby
crazysim has joined #ruby
jkyle1 has quit [Ping timeout: 265 seconds]
riotjones has quit [Ping timeout: 246 seconds]
felixjet_ has quit [Ping timeout: 252 seconds]
redondos has joined #ruby
timmow has joined #ruby
gf3 has joined #ruby
rvchangue has joined #ruby
rvchangue has joined #ruby
Nilium has joined #ruby
warreng has joined #ruby
davidcelis has joined #ruby
nii236|irssi is now known as nii236
inukshuk has joined #ruby
kyb3r_ has quit [Quit: Leaving]
craigp has quit [Remote host closed the connection]
phansch has joined #ruby
livathinos has joined #ruby
wpp has joined #ruby
Hobogrammer has quit [Ping timeout: 250 seconds]
blaxter has joined #ruby
DEA7TH has joined #ruby
yellowgh0st has joined #ruby
yellowgh0st has quit [Client Quit]
fantazo has quit [Quit: Verlassend]
himsin has quit [Ping timeout: 244 seconds]
serivich has joined #ruby
himsin has joined #ruby
mkaesz has quit [Read error: Connection reset by peer]
himsin has quit [Remote host closed the connection]
jlast has joined #ruby
agrinb has joined #ruby
craigp has joined #ruby
sinkensabe has quit []
jimms has joined #ruby
yfeldblum has joined #ruby
lolmaus has joined #ruby
mkaesz has joined #ruby
Lemur has quit [Remote host closed the connection]
Lemur has joined #ruby
bweston92 has joined #ruby
lolmaus has quit [Read error: Connection reset by peer]
jlast has quit [Ping timeout: 250 seconds]
lolmaus_ has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
jkyle1 has joined #ruby
<bweston92> I use RVM to manage ruby installation, will installing ruby via apt-get disrupt this? I need to get the dev tools and aptitude wants to get ruby along with it ¬¬
duncannz has joined #ruby
starfox_sf has quit [Read error: Connection reset by peer]
SOLDIERz has joined #ruby
lolmaus_ has quit [Client Quit]
rvchangue has quit [Ping timeout: 264 seconds]
yfeldblu_ has joined #ruby
lolmaus_ has joined #ruby
Lemur has quit [Ping timeout: 265 seconds]
mikecmpbll has joined #ruby
lolmaus_ has quit [Client Quit]
kalusn has joined #ruby
<sevenseacat> what dev tools?
<bweston92> `ruby-dev` yes
<sevenseacat> why are you installing ruby-dev
yfeldblum has quit [Ping timeout: 252 seconds]
<bweston92> Because mysql gem requires it
<sevenseacat> no it doesnt
kalusn has quit [Remote host closed the connection]
kalusn has joined #ruby
<bweston92> Hmm, it says the libraries are present to build it...
<sevenseacat> what does "it" say?
SOLDIERz has quit [Ping timeout: 250 seconds]
nolic has joined #ruby
<bweston92> sevenseacat: http://pastebin.com/FvdiDiM2
<sevenseacat> you're missing the mysql dev headers, not the ruby ones
<bweston92> Ok, where would they be? :/
devoldmx has quit []
<sevenseacat> if you're in a debian-based system, you want libmysqlclient-dev
<bweston92> Ok, thanks
<bweston92> Thanks! worked :)
<sevenseacat> awesome :)
hollywood has quit [Ping timeout: 265 seconds]
shredding has joined #ruby
chthon has joined #ruby
ziyadb has joined #ruby
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
rdark has joined #ruby
mxrguspxrt has quit [Remote host closed the connection]
Zai00 has joined #ruby
ghostpl_ has joined #ruby
ghr has joined #ruby
elaptics_away is now known as elaptics
adriancb has joined #ruby
joonty has joined #ruby
olivier_bK has joined #ruby
sevenseacat has quit [Remote host closed the connection]
ghostpl_ has quit [Ping timeout: 246 seconds]
Takle has joined #ruby
vtunka has joined #ruby
mkaesz has quit [Read error: Connection reset by peer]
hs366 has quit [Quit: Leaving]
mxrguspxrt has joined #ruby
nii236 has quit [Ping timeout: 252 seconds]
OrbitalKitten has joined #ruby
mkaesz has joined #ruby
adriancb has quit [Ping timeout: 244 seconds]
hollywood has joined #ruby
cryo28 has quit [Quit: leaving]
mostlybadfly has quit [Quit: Connection closed for inactivity]
OrbitalKitten has quit [Ping timeout: 264 seconds]
admin0 has joined #ruby
garethrees has joined #ruby
ghr has quit [Ping timeout: 245 seconds]
<admin0> good morning
arup_r has joined #ruby
mikecmpbll has quit [Ping timeout: 240 seconds]
nfk has joined #ruby
raja has joined #ruby
mikecmpbll has joined #ruby
ghr has joined #ruby
raja_ has quit [Ping timeout: 255 seconds]
AlphaTech has quit [Quit: Connection closed for inactivity]
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
garethrees has quit [Ping timeout: 252 seconds]
lkba has quit [Read error: Connection reset by peer]
lkba has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Musashi007 has joined #ruby
livathin_ has joined #ruby
raja has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Pharaoh2_ is now known as Pharaoh2
raja has joined #ruby
sieve has joined #ruby
livathinos has quit [Ping timeout: 264 seconds]
<admin0> if myvar is a hash and i do myvar.sort.each do |key, value| .. can I further do something like value.sort.join(‘,’) ?
yellowgh0st has joined #ruby
ghr has quit [Ping timeout: 250 seconds]
yellowgh0st has quit [Client Quit]
Guest123 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yellowgh0st has joined #ruby
ghr has joined #ruby
ARCADIVS has quit [Quit: ARCADIVS]
Musashi007 has quit [Quit: Musashi007]
wallerdev has quit [Quit: wallerdev]
Guest123 has joined #ruby
sieve has quit [Quit: Leaving.]
rvchangue has joined #ruby
<mozzarella> yes?
<admin0> hmm.. kind of not working :(
jlast has joined #ruby
<admin0> i am using it in puppet, which uses ruby .. but the puppet channel has not been able to help .. and i am kind of stuck
agrinb has joined #ruby
Musashi007 has joined #ruby
<admin0> mozzarella: my file/issue is here if you want to take a look .. just a few lines: http://pastebin.com/FzJK9jGX
jheg has quit [Quit: jheg]
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby
hollywood has quit [Ping timeout: 245 seconds]
<admin0> "{key} {value}" outputs the whole thing .. i want to do key = value[0],value[1]….,value[n] ; key=
<admin0> type of output
bengalo has joined #ruby
psy_ has joined #ruby
psy_ has quit [Max SendQ exceeded]
lkba has quit [Ping timeout: 252 seconds]
psy_ has joined #ruby
psy_ has quit [Remote host closed the connection]
rvchangue has quit [Ping timeout: 250 seconds]
blizzy has joined #ruby
psy_ has joined #ruby
hollywood has joined #ruby
jlast has quit [Ping timeout: 250 seconds]
agrinb has quit [Ping timeout: 265 seconds]
mathie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<mozzarella> @myvar.sort.map { |key, value| "#{key} = #{value.sort.join(', ')}" }.join(' ; ')
ghr has quit [Ping timeout: 255 seconds]
Guest123 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<mozzarella> admin0: ^
<admin0> will try that right now :)
lxsameer has quit [Ping timeout: 244 seconds]
ghr has joined #ruby
bal has quit [Quit: bal]
Guest123 has joined #ruby
tobago has quit [Ping timeout: 252 seconds]
blizzy has quit [Ping timeout: 244 seconds]
yellowgh0st_ has joined #ruby
yellowgh0st_ has quit [Client Quit]
sieve has joined #ruby
yellowgh0st_ has joined #ruby
leafybasil has quit [Remote host closed the connection]
yellowgh0st has quit [Ping timeout: 250 seconds]
yellowgh0st_ is now known as yellowgh0st
<admin0> syntax error, unexpected '}', expecting kEND ; "#{key} = #{value.sort.join(', ')}" }.join(' ; ') .. error ^ on the . join(' ; ')
<admin0> #{key} = #{value.sort.join(', ')}" } [error . ] join(' ; ')
bal has joined #ruby
livathin_ has quit []
<mozzarella> > {}.sort.map { |key, value| "#{key} = #{value.sort.join(', ')}" }.join(' ; ')
livathinos has joined #ruby
<mozzarella> >> {}.sort.map { |key, value| "#{key} = #{value.sort.join(', ')}" }.join(' ; ')
<eval-in__> mozzarella => "" (https://eval.in/288679)
yellowgh0st has quit [Client Quit]
<mozzarella> no syntax error
<admin0> i am using just this now // "#{key} = #{value.sort.join(', ')}" to see what it outputs .. and then will add slowly
mroach has quit [Quit: mroach]
SOLDIERz has joined #ruby
wald0 has joined #ruby
unshadow has joined #ruby
mathie has joined #ruby
withnale_ has joined #ruby
reinaldob has joined #ruby
_br_ has joined #ruby
jonr22 has joined #ruby
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
sieve has quit [Quit: Leaving.]
sieve has joined #ruby
SOLDIERz has quit [Ping timeout: 244 seconds]
madhatter has joined #ruby
<madhatter> re
jonr22 has quit [Ping timeout: 245 seconds]
chthon has quit [Ping timeout: 250 seconds]
uwsili has joined #ruby
mkaesz has quit [Read error: Connection reset by peer]
<gregf_> >> {one: [2,0,3] , two: [3,1,4], three: [8,9,6]}.each { |k,v| puts "#{k} = #{v.sort.join(","}" }
<eval-in__> gregf_ => /tmp/execpad-288c5db17bc0/source-288c5db17bc0:2: syntax error, unexpected tSTRING_DEND, expecting ')' ... (https://eval.in/288695)
<gregf_> admin0: {one: [2,0,3] , two: [3,1,4], three: [8,9,6]}.each { |k,v| puts "#{k} = #{v.sort.join(",")}" }
hs366 has joined #ruby
lolmaus has joined #ruby
yellowgh0st has joined #ruby
lxsameer has joined #ruby
rvchangue has joined #ruby
leafybasil has joined #ruby
unshadow has quit [Quit: leaving]
mkaesz has joined #ruby
<ddv> anyone here using httparty? how I prevent it from normalizing my query string? it replaces ; with %3B
<ddv> +do
livathinos has quit []
vtunka has quit [Read error: Connection reset by peer]
serivich has quit [Ping timeout: 252 seconds]
unshadow has joined #ruby
Musashi007 has quit [Quit: Musashi007]
unshadow has quit [Client Quit]
livathinos has joined #ruby
vtunka has joined #ruby
systemd0wn_ has quit [Ping timeout: 252 seconds]
yellowgh0st has quit [Ping timeout: 252 seconds]
unshadow has joined #ruby
yellowgh0st has joined #ruby
chthon has joined #ruby
quazimodo has joined #ruby
MasterPiece has joined #ruby
<quazimodo> does anyone use fish?
<waxjar> ddv: use a Hash to set the query String, ; has meaning in a query string and should be escaped?
<waxjar> fish <3
tunaCanBruh has joined #ruby
unshadow has quit [Client Quit]
Guest123 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ddv> waxjar: I'm using a hash? query: { signals: %w(packet_index val1 val2 val3).join(';') }, now I makes &signals=packet_index%3Bval1%3B, but I want %3B just to be ;
<ddv> it*
<quazimodo> waxjar: you use?
<waxjar> quazimodo: yes
wottam has joined #ruby
nickjj has quit [Ping timeout: 252 seconds]
<waxjar> ddv: query strings can be written like key=value;some_key;key=value too, that's why it's escaped
MasterPiece has quit [Remote host closed the connection]
tunaCanBruh has quit [Ping timeout: 245 seconds]
<mikecmpbll> i think that's what he's trying to do.
<mikecmpbll> oh, nevermind
<mikecmpbll> read it wrong
renier has joined #ruby
<ddv> waxjar: I don't want httparty to escape it. :)
<mikecmpbll> ddv: you don't have a choice, it wouldn't be valid if not.
<quazimodo> waxjar: is it gooda?
<quazimodo> waxjar: i just installed, it seems cute, but i've been on bash for ever
renier_ has quit [Ping timeout: 252 seconds]
<ddv> mikecmpbll: well sometimes you need to send data to some api that is just weird
<quazimodo> holy crap it has all sorts of yumminess
<ddv> mikecmpbll: i don't have a choice, it isn't a problem with net/http
<waxjar> quazimodo: i love it, very little configuration, much nicer script syntax and especially the coloring and autocompletion is great
<mikecmpbll> ddv: don't expect libraries to support it though ;)
<quazimodo> waxjar: look
<quazimodo> if that was part of fish it'd be great!
<quazimodo> hrm i wonder how to integrate them
aob has quit [Remote host closed the connection]
aob has joined #ruby
<admin0> gregf , mozzarella thanks .. its not working in puppet .. so i will try using bits and pieces :)
<admin0> at least i know how in ruby ..
<admin0> whats the difference between .map and .each ?
<admin0> got it ..
<admin0> thanks
aapole has joined #ruby
ldnunes has joined #ruby
wpp has quit []
ArchRogem has joined #ruby
yellowgh0st has quit [Quit: yellowgh0st]
chthon has quit [Ping timeout: 240 seconds]
melmouss has joined #ruby
melmouss has quit [Max SendQ exceeded]
ponga has quit [Quit: Leaving...]
rdark has quit [Ping timeout: 246 seconds]
FooMunki_ has joined #ruby
kedare has joined #ruby
<waxjar> that looks pretty nice quazimodo
admin0 has quit [Quit: admin0]
rvchangue has quit [Ping timeout: 256 seconds]
<ddv> mikecmpbll: already found that, but there is no options to disable it
<ddv> option*
<mikecmpbll> i know :)
jlast has joined #ruby
agrinb has joined #ruby
aapole has quit [Ping timeout: 264 seconds]
Macaveli has joined #ruby
yellowgh0st has joined #ruby
<mikecmpbll> yep
admin0 has joined #ruby
<mikecmpbll> well, you'd just set the query_string_normalizer
<waxjar> oh yeah, just noticed that. it's an option :)
<waxjar> why aren't these things documented?!
yellowgh0st_ has joined #ruby
<ddv> yeah fount it
<ddv> found*
<mikecmpbll> probably because they're seriously edge case :)
rdark has joined #ruby
terlar has quit [Ping timeout: 252 seconds]
<waxjar> hehe, fair enough :p
agrinb has quit [Ping timeout: 250 seconds]
jlast has quit [Ping timeout: 265 seconds]
admin0 has quit [Client Quit]
yellowgh0st has quit [Ping timeout: 256 seconds]
duncannz has quit [Remote host closed the connection]
yellowgh0st_ has quit [Ping timeout: 252 seconds]
rvchangue has joined #ruby
jheg has joined #ruby
serivich has joined #ruby
chthon has joined #ruby
Guest123 has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
Musashi007 has joined #ruby
yosafbridge has quit [Ping timeout: 245 seconds]
fabrice31 has quit [Read error: No route to host]
fabrice31 has joined #ruby
krz has quit [Quit: WeeChat 1.0.1]
serivich has quit [Read error: Connection reset by peer]
yosafbridge has joined #ruby
Musashi007 has quit [Quit: Musashi007]
rvchangue has quit [Ping timeout: 250 seconds]
ghostpl_ has joined #ruby
terlar has joined #ruby
SOLDIERz has joined #ruby
raja has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Musashi007 has joined #ruby
Musashi007 has quit [Client Quit]
ghostlines has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<ddv> HashConversions.to_params(query) still escapes
Guest123 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ghostpl_ has quit [Ping timeout: 246 seconds]
<ddv> lol it calls normalize_param(k,v)
SOLDIERz has quit [Ping timeout: 250 seconds]
doodlehaus has joined #ruby
Morkel has joined #ruby
mkaesz has quit [Read error: No route to host]
tvw has joined #ruby
paradoja has joined #ruby
Pharaoh2 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
centrx has joined #ruby
Guest32393 has joined #ruby
mkaesz has joined #ruby
vtunka has quit [Quit: Leaving]
jgt has joined #ruby
rjc has joined #ruby
fantazo has joined #ruby
davidhq has joined #ruby
sevenseacat has joined #ruby
davidhq has quit [Read error: Connection reset by peer]
luriv has joined #ruby
davidhq has joined #ruby
kobain has joined #ruby
ccooke has quit [Quit: Changing server]
<ddv> oh I should just provide a proc
ccooke has joined #ruby
Pharaoh2 has joined #ruby
Pharaoh2 has quit [Max SendQ exceeded]
Guest123 has joined #ruby
Pharaoh2 has joined #ruby
marr has joined #ruby
<jhass> arup_r: you left yesterday, here's the fully refactored version http://paste.mrzyx.de/pmpv58f1t
<arup_r> jhass: thanks
fabrice31 has quit [Remote host closed the connection]
<arup_r> jhass: Awesome!!
<arup_r> Thank you very much!
razieliyo has joined #ruby
<arup_r> This can come out of an experienced Rubyist... Thanks for rewriting it... I am gonna add it to wikipedia.. Wikipedia lacks Ruby example for design patterns
jgt has quit [Read error: Connection reset by peer]
jgt has joined #ruby
rdark has quit [Ping timeout: 252 seconds]
<jhass> eh, no please don't
<jhass> I didn't pay attention to keep any pattern
rdark has joined #ruby
commmmodo has joined #ruby
ajaiswal has quit [Quit: Leaving]
<waxjar> plus there is the licensing problem, jhass could sue you bigtime :P
<arup_r> jhass: Ok..
Lildirt has quit [Read error: Connection reset by peer]
jlast has joined #ruby
<arup_r> waxjar: I don't then... :-(
agrinb has joined #ruby
Lildirt has joined #ruby
<arup_r> Wikipedia has no Ruby examples.. It hurts me.. :( All Java and C# examples
nolic has quit [Remote host closed the connection]
<ddv> I would put def build_ below private
<ddv> not on the same line
<ddv> as per the ruby style guide
raja has joined #ruby
<arup_r> ddv: Ok.. But the convention @jhass did is very new and much more readable IMO..
sieve has quit [Quit: Leaving.]
<arup_r> You don't need to scroll down to find one in a long Ruby file
<ddv> sirup_r....
<ddv> please
<arup_r> this is called _inline_ access specifier marking..
raja has quit [Client Quit]
<arup_r> ddv: I'm not.. :p
rsavage has joined #ruby
fabrice31 has joined #ruby
psy_ has quit [Remote host closed the connection]
agrinb has quit [Ping timeout: 250 seconds]
jlast has quit [Ping timeout: 265 seconds]
<jhass> oh, ddv is right. too much Crystal I guess :P
<arup_r> jhass: Your convention is pretty much accepted
<arup_r> AFAIK
<arup_r> :)
davedev24_ has quit [Remote host closed the connection]
mroach has joined #ruby
DaniG2k has joined #ruby
ismaelga has joined #ruby
FooMunki_ has quit [Quit: FooMunki_]
fgo has joined #ruby
<ddv> jhass just forgot a newline
<ddv> big deal
<ddv> :)
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby
iamninja has quit [Ping timeout: 240 seconds]
FooMunki has joined #ruby
jgt has quit [Read error: Connection reset by peer]
jm0 has joined #ruby
synfin has quit [Remote host closed the connection]
jgt has joined #ruby
startupality has joined #ruby
apeiros_ has quit [Ping timeout: 250 seconds]
n1x has joined #ruby
Pharaoh2_ has joined #ruby
ismaelga has quit [Remote host closed the connection]
jonr22 has joined #ruby
Timgauthier has joined #ruby
Pharaoh2 has quit [Ping timeout: 264 seconds]
sieve has joined #ruby
dcarmich has joined #ruby
<zmyrgel> Hi, I'm having trouble using net/sftp to download remote files on windows
jonr22 has quit [Ping timeout: 265 seconds]
<zmyrgel> I get "connection closed by remote host" error after downloading 16MB of the intended file
jm0 has quit [Ping timeout: 240 seconds]
jm0 has joined #ruby
<ddv> you have ssh running under cygwin or something?
mkaesz has quit [Read error: Connection reset by peer]
<zmyrgel> nope
Morkel has quit [Quit: Morkel]
<zmyrgel> just tried Putty SFTP client, I got to 1Gb before that errored out
mkaesz has joined #ruby
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
ismaelga has joined #ruby
adriancb has joined #ruby
<ddv> oh I read your question wrong
zorak_ has quit [Ping timeout: 250 seconds]
tkuchiki has quit [Ping timeout: 246 seconds]
SOLDIERz has joined #ruby
Takle has quit [Remote host closed the connection]
admin0 has joined #ruby
amacou has joined #ruby
Hakuba has joined #ruby
keen__________68 has quit [Read error: Connection reset by peer]
ponga has joined #ruby
yottanami has joined #ruby
adriancb has quit [Ping timeout: 265 seconds]
<yottanami> Is any function in ruby to convert a string like this "item_name" to "Item Name" ?
fatRomeo has joined #ruby
oleo__ has quit [Quit: Verlassend]
jgt has quit [Read error: Connection reset by peer]
<lukaszk> yottanami: str.split('_').map(&:capitalize).join ' '
keen__________68 has joined #ruby
DadoCe has joined #ruby
lys has joined #ruby
SOLDIERz has quit [Ping timeout: 240 seconds]
raja has joined #ruby
jgt has joined #ruby
lanemeyer has quit [Ping timeout: 255 seconds]
sandelius has joined #ruby
tunaCanBruh has joined #ruby
Takle has joined #ruby
DadoCe has quit [Ping timeout: 250 seconds]
<centrx> yottanami, ActiveSupport/Rails has String#titleize
Guest32393 has quit [Quit: dead]
doodlehaus has quit [Remote host closed the connection]
roolo has quit [Remote host closed the connection]
roolo has joined #ruby
Mon_Ouie has joined #ruby
Mon_Ouie has joined #ruby
mahmoudmahfouz has joined #ruby
tunaCanBruh has quit [Ping timeout: 255 seconds]
Mia has joined #ruby
bonhoeffer has joined #ruby
Squarepy has joined #ruby
Timgauthier is now known as timgauthier_away
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<quazimodo> waxjar: sorry i was afk
<quazimodo> waxjar: it's pretty useful, though I need to play with it a bit more
mahmoudmahfouz has quit [Client Quit]
shum has joined #ruby
nolic has joined #ruby
rsavage is now known as r3dking
gebbione has joined #ruby
davidhq has joined #ruby
<gebbione> In ruby how can i convert a class{'blabla' :option > ''} into class blabla{option=>''} --- if it makes sense? http://pastebin.com/HmqtsiYG
<jhass> not much
<centrx> that doesn't look like Ruby
Hakuba has quit [Quit: Page closed]
<jhass> yeah, doesn't look like Ruby, I agree
jgt has quit [Quit: WeeChat 1.0.1]
mkaesz has quit [Read error: No route to host]
JohnBat26 has joined #ruby
nickjj has joined #ruby
<lukaszk> gebbione: I'm guessing you're trying to rewrite your puppet manifests?
<gebbione> yes
<jhass> #puppet
tesuji has joined #ruby
<gebbione> is that different from just pure ruby?
<jhass> yes, very much
<admin0> gregf, mozzarella .. finally it worked like this: key + '=' + value.sort.join(',') + ';' …. thanks for your help earlier
<gebbione> ok thanks
jlast has joined #ruby
agrinb has joined #ruby
<jhass> admin0: "#{key}=#{values.sort.join(',')};"
<admin0> jhass: my implementation was ruby inside puppet
<admin0> using "#{key}=#{values.sort.join(',')};" directly did not worked
<jhass> wow, puppet sucks
<admin0> :)
mroach has quit [Quit: mroach]
<hs366> i have some problem to understand this line of code : https://github.com/hs366/files/blob/master/docker.rb#L315
<hs366> could someone explain it to me plz ??
lys has quit [Quit: lys]
jlast has quit [Ping timeout: 246 seconds]
bruno- has joined #ruby
<hs366> how URI.escape works here
<centrx> hs366, The line adds each option to the query stirng
Alina-malina has quit [Read error: Connection reset by peer]
agrinb has quit [Ping timeout: 250 seconds]
admin0 has quit [Quit: admin0]
<hs366> ok
Alina-malina has joined #ruby
<hs366> so if i have 2..3 option it will convert it to string ?
shredding has quit [Quit: shredding]
arup_r has quit [Remote host closed the connection]
mathie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bmn has joined #ruby
ghr has quit [Ping timeout: 246 seconds]
mkaesz has joined #ruby
mxrguspxrt has quit [Remote host closed the connection]
rvchangue has joined #ruby
<hs366> centrx, ooy yeah!! i got it thx!!
<ddv> coffeescript makes js so much nicer
oleo has joined #ruby
rdark has quit [Quit: leaving]
arup_r has joined #ruby
rdark has joined #ruby
mroach has joined #ruby
last_staff has quit [Read error: Connection reset by peer]
sieve has quit [Quit: Leaving.]
lkba has joined #ruby
jmignault has joined #ruby
doodlehaus has joined #ruby
rdark has quit [Ping timeout: 246 seconds]
rdark_ has joined #ruby
jenrzzz has quit [Ping timeout: 246 seconds]
Rapier- has quit [Quit: (null)]
doodlehaus has quit [Remote host closed the connection]
t_p has quit [Ping timeout: 244 seconds]
banister has joined #ruby
ghostpl_ has joined #ruby
OrbitalKitten has joined #ruby
Takle has quit [Remote host closed the connection]
Mon_Ouie has quit [Ping timeout: 255 seconds]
ismaelga has quit [Remote host closed the connection]
rdark_ has quit [Quit: leaving]
yfeldblu_ has quit [Ping timeout: 252 seconds]
rdark has joined #ruby
mkaesz has quit [Read error: Connection reset by peer]
mkaesz has joined #ruby
ghostpl_ has quit [Ping timeout: 246 seconds]
cpt_yossarian has quit [Ping timeout: 245 seconds]
coinrookie has joined #ruby
Cust0sL1men has quit [Ping timeout: 245 seconds]
Dopagod has quit [Quit: WeeChat 0.4.1]
Morkel has joined #ruby
<shevy> coffee makes js so much nicer too
ki0 has joined #ruby
Squarepy has quit [Ping timeout: 255 seconds]
DaniG2k has quit [Quit: leaving]
yottanami has quit [Ping timeout: 252 seconds]
giuseppesolinas has joined #ruby
lxsameer has quit [Ping timeout: 252 seconds]
Synthead has quit [Ping timeout: 272 seconds]
joonty has quit [Quit: joonty]
giuseppesolinas has quit [Client Quit]
amacou has quit [Remote host closed the connection]
lxsameer has joined #ruby
yottanami has joined #ruby
amacou has joined #ruby
<ddv> hehe
SOLDIERz has joined #ruby
jm0 has quit [Ping timeout: 252 seconds]
lioninawhat has joined #ruby
admin0 has joined #ruby
claptor has quit [Quit: this channel is bakas]
lanemeyer has joined #ruby
vtunka has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jm0 has joined #ruby
mathie has joined #ruby
giuseppesolinas has joined #ruby
muzik has quit [Quit: Textual IRC Client: www.textualapp.com]
arup_r has quit [Remote host closed the connection]
gebbione has quit [Ping timeout: 246 seconds]
nateberkopec has joined #ruby
Synthead has joined #ruby
giuseppesolinas has quit [Client Quit]
arup_r has joined #ruby
jmignault has quit [Quit: jmignault]
fatRomeo has quit [Ping timeout: 246 seconds]
arup_r has quit [Remote host closed the connection]
kotay has joined #ruby
postmodern has quit [Remote host closed the connection]
shum1 has quit [Quit: WeeChat 1.1.1]
SOLDIERz has quit [Ping timeout: 246 seconds]
Squarepy has joined #ruby
<kotay> Don't suppose anyone has had any experience with Prawn PDF?
shum1 has joined #ruby
aclearman037 has joined #ruby
spyderman4g63 has joined #ruby
robustus has quit [Ping timeout: 255 seconds]
rubytor has joined #ruby
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
ghr has joined #ruby
<wasamasa> great conversation starter
<wasamasa> better ask directly
robustus has joined #ruby
dANO has joined #ruby
shellfu_afk is now known as shellfu
jmignault has joined #ruby
DadoCe has joined #ruby
<kotay> Having a hard time rendering emojis in a PDF using ruby.
brb3 has joined #ruby
codecop has quit [Remote host closed the connection]
<wasamasa> are you using the right font?
<kotay> Yes, it just renders as a replacement character. I don't think it'll render unicode emojis.
cphrmky has joined #ruby
<wasamasa> what font are you using?
jlast has joined #ruby
<kotay> Apple Color Emoji
agrinb has joined #ruby
<wasamasa> oh dear
<wasamasa> that sounds like the source of the problem
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<wasamasa> could you try using a font like symbola or quivira?
<Hanmac> apple is often the source of the problem ;P
<wasamasa> well, that font is rather... unique
<Hanmac> and if not, blame adobe xD
<wasamasa> since it's one of the few with embedded colored png files
DonOtreply has quit [Quit: DonOtreply]
<wasamasa> which requires the appropriate support by whatever is doing the rendering
<softinio> best vim plugins for ruby development ?
<kotay> Thanks wasamasa
<wasamasa> kotay: the fonts I've mentioned are free and contain regular emoji outlines
<wasamasa> kotay: so, if it doesn't work with them either, you at least know that it wasn't the fault of your original font choice
coinrookie has quit [Quit: Leaving]
<kotay> wasamasa: Cheers, I'll take a look.
sandelius has joined #ruby
jmignault has quit [Quit: jmignault]
mroach has quit [Quit: mroach]
agrinb has quit [Ping timeout: 250 seconds]
jlast has quit [Ping timeout: 250 seconds]
sieve has joined #ruby
Takle has joined #ruby
tkuchiki has joined #ruby
<Hanmac> wasamasa:
Rapier- has joined #ruby
jmignault has joined #ruby
* wasamasa zooms in
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Cust0sL1men has joined #ruby
<wasamasa> HAPPY PERSON RAISING ONE HAND
<Hanmac> yeah, one of the funniest ones in the symbols section ;P
superlou has joined #ruby
silkfox has joined #ruby
sambao21 has joined #ruby
<superlou> I'm trying to use Savon 3 from Github via "gem 'savon', github: 'savonrb/savon', branch: 'version3'" on a windows PC. Bundle install seems to work fine: Using savon (3.0.0) from git://github.com/savonrb/savon.git (at version3). However, when I run the script, require 'savon' results in cannot load such file -- savon
paulfm has joined #ruby
<superlou> On windows, is there a way to figure out why bundler might think a gem's available, but ruby be unable to find it?
<jhass> bundle exec ruby your_script.rb or in your script make the first require 'bundler/setup'
shredding has joined #ruby
blizzy has joined #ruby
<superlou> jhass, That's embarrassing.
<superlou> Could've sworn I had that, but looking through my includes, don't see it.
<superlou> Sorry. Thanks!
Axord has joined #ruby
dblessing has joined #ruby
lordkryss has joined #ruby
paulfm_ has joined #ruby
<softinio> you guys recommend using bundler ? New to ruby world :-)
joonty has joined #ruby
paulfm has quit [Read error: Connection reset by peer]
<jhass> depends on the project and opinion does play into it too, but I generally do, yeah
lxsameer has quit [Quit: Leaving]
lioninawhat has quit [Remote host closed the connection]
psy_ has joined #ruby
last_staff has joined #ruby
grn_ has joined #ruby
<Hanmac> for my own projects i dont need bundler because i ship my stuff as gems
<softinio> I am right in my understanding that bundler enables me to use a different set of gems for each project where as without it same gems installed would be used by all projects
yottanami has left #ruby ["PING 1424266663"]
apurcell has joined #ruby
jonr22 has joined #ruby
tier has joined #ruby
oo_ has quit [Remote host closed the connection]
ccooke has quit [Quit: Lost terminal]
sent1nel has joined #ruby
ccooke has joined #ruby
<jhass> sort of, first of all not all gems are unconditionally loaded, you do need to require them
<odigity> anyone happen to know of pis or arduinos are more popular/well-supported in the ruby community?
<jhass> what bundler enables you more easily is to use the same gem in different versions across different projects
<odigity> I should have capitalized Pi so it doesn't look like piss with a typo
grn has quit [Quit: ZNC - http://znc.in]
grn_ is now known as grn
paulfm_ has quit [Read error: Connection reset by peer]
<jhass> softinio: and the other main feature of bundler is that it enables you to replicate the exact environment, in terms of used gems, onto other setups
yeticry has quit [Ping timeout: 256 seconds]
<yxejamir> softinio, depends on whether you have some other sort of configuration management handle dependencies for you. Bundler can also play nice with other configuration management, so no reason not to use it, really.
jonr22 has quit [Ping timeout: 265 seconds]
apurcell has quit [Ping timeout: 246 seconds]
droidburgundy has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
paulfm has joined #ruby
mkaesz has quit [Read error: Connection reset by peer]
yeticry has joined #ruby
gacekjk has joined #ruby
<yxejamir> By configuration management I mean the likes of Puppet, Chef, Salt Stack, Fabric, Docker, Nix, NixOS &c.
sent1nel has quit [Ping timeout: 250 seconds]
mkaesz has joined #ruby
uwsili has quit [Read error: Connection reset by peer]
ych4k3r has joined #ruby
dstarh has joined #ruby
yfeldblum has joined #ruby
paulfm has quit [Read error: Connection reset by peer]
dstarh has quit [Client Quit]
adriancb has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
billy_ran_away has quit [Ping timeout: 246 seconds]
fabrice31 has quit [Remote host closed the connection]
bruno- has joined #ruby
fabrice31 has joined #ruby
paulfm has joined #ruby
Timgauthier has joined #ruby
fabrice31_ has joined #ruby
<TheRinger> somehow i messed up a form in rails, when i type in the fields the color of font is white, same as background, and i can't see it
workmad3 has joined #ruby
ismaelga has joined #ruby
billy_ran_away has joined #ruby
bruno- has quit [Read error: Connection reset by peer]
Troy^ has joined #ruby
krz has joined #ruby
strixd has quit [Quit: 500]
arup_r has joined #ruby
nateberkopec has quit [Quit: Leaving...]
yfeldblum has quit [Ping timeout: 252 seconds]
bruno- has joined #ruby
Spooner has joined #ruby
send has joined #ruby
sankaber has joined #ruby
fabrice31 has quit [Ping timeout: 246 seconds]
nolic has quit [Remote host closed the connection]
<shevy> hanmac hehe. are there speed limits in germany?
Troy^ has quit [Client Quit]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Hanmac> shevy the image says ireland, in germany its sometimes even more funny
rubytor has quit [Ping timeout: 250 seconds]
vtunka has quit [Quit: Leaving]
ismaelga has quit [Ping timeout: 245 seconds]
OrbitalKitten has joined #ruby
OrbitalKitten has quit [Client Quit]
fredsir has quit [Ping timeout: 244 seconds]
tunaCanBruh has joined #ruby
vtunka has joined #ruby
lioninawhat has joined #ruby
<Timgauthier> i missed the link
<Timgauthier> speed limits in germany are... annoying :P
Takle has quit [Remote host closed the connection]
<Timgauthier> tiny little one car wide road winding through country side, better be doing 100km or else you get run over.
<Timgauthier> auto bahn with a slight curve at the bottom of a hill, better slow you down to 130 just incase it is slippery
DadoCe has quit [Remote host closed the connection]
lioninawhat has quit [Remote host closed the connection]
admin0 has quit [Quit: admin0]
Takle has joined #ruby
tunaCanBruh has quit [Ping timeout: 252 seconds]
grn has quit []
allenn has quit [Remote host closed the connection]
jm0 has quit [Ping timeout: 252 seconds]
<shevy> aha
<shevy> I can see that Timgauthier is starting to think like a german :D
<Timgauthier> jawohl
<shevy> see this road does not even have a speed limit :) http://triplex-tours.de/wp-content/uploads/2014/07/Serpentinen-vor-Nizza.jpg (Nizza, France)
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
juanpablo_ has joined #ruby
<Timgauthier> My grandma asked for photos of our wedding, and she picked out formals. THe formals she picked out are JUST my side of the family, she doesn't want anything with my mother and father-in-law lol
<Hanmac> Timgauthier: in germany its not the speed limit which is problematic, its the other drivers ...
<Timgauthier> ah just saw the photo, yeah we have 100km'h on a road like that
aclearman037 has joined #ruby
<Timgauthier> and a sign saying the road is shit
<Timgauthier> yea thats true hanmac
<Timgauthier> sadly i'm not the best driver in germany, i'm better in the deep snow and crap from canada
codeurge has joined #ruby
<shevy> lol
<shevy> a sign saying the road is shit? now that's funny :)
<shevy> yeah I can understand
paulfm_ has joined #ruby
<shevy> you can be a better driver when a polar bear is chasing you
<Timgauthier> yeah, Straße Schaden
sent1nel has joined #ruby
<shevy> but those ice roads for big trucks are cool in canada
<Hanmac> correction in germany its called "Straßenschäden"
SOLDIERz has joined #ruby
paulfm has quit [Read error: Connection reset by peer]
chrisja has joined #ruby
<Hanmac> one of the things i hate the most of drivers in germany are when they are driving constant ~60km/h or something like that ... inside (<50km/h allowed) and outside (<100km/h allowed) of cities ... specially if when the street does not allow to drive past them
<shevy> hmm ok... that actually is more a river and less than a road... lol
tus has joined #ruby
<shevy> max load was adviced to 4.000 kg, the truck had 60.000 kg
<Timgauthier> haha wow
admin0 has joined #ruby
mkaesz has quit [Read error: No route to host]
amystephen has joined #ruby
<Timgauthier> oop, some random came to the house to see "FRAU DR" (my mother in law is an Arzt
sent1nel has quit [Ping timeout: 264 seconds]
jlast has joined #ruby
mkaesz has joined #ruby
bruno- has quit [Quit: Lost terminal]
agrinb has joined #ruby
jimms has quit [Remote host closed the connection]
tier_ has joined #ruby
skj3gg has joined #ruby
SOLDIERz has quit [Ping timeout: 246 seconds]
<shevy> pretend that you are her!
<shevy> wear a moustache to make it seem more plausible (through increasing the confusion)
JDiPierro has joined #ruby
jm0 has joined #ruby
adrianpacala has quit [Quit: Textual IRC Client: www.textualapp.com]
<ddv> fuck im hungry
send has quit [Remote host closed the connection]
Cust0sL1men has quit [Ping timeout: 245 seconds]
jimms has joined #ruby
tier has quit [Ping timeout: 250 seconds]
jlast has quit [Ping timeout: 265 seconds]
triple_b has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
gacekjk has quit [Quit: leaving]
<shevy> code more, eat less
zorak8 has joined #ruby
triple_b_ has joined #ruby
<Timgauthier> i already have a mustache shevy
<shevy> cool :)
jerius has joined #ruby
<shevy> Tom Selleck aka Timgauthier
<shevy> until you have a wikinger beard like workmad3
<Timgauthier> haha noice
arup_r has quit [Remote host closed the connection]
<shevy> and the smugly brotherly food leftovers hidding in the beard so you can eat that lateron while walking or climbing in mountains
superlou has quit [Quit: Leaving]
<Timgauthier> i was about to post a photo of myself... but i realize how easily that can be used against me...
doodlehaus has joined #ruby
mostlybadfly has joined #ruby
mxrguspxrt has joined #ruby
triple_b has quit [Read error: Connection reset by peer]
zenith_ has joined #ruby
philtr_ is now known as philtr
tkuchiki_ has joined #ruby
shum1 has quit [Ping timeout: 250 seconds]
triple_b has joined #ruby
Timgauthier has quit [Read error: Connection reset by peer]
OrbitalKitten has joined #ruby
aamador has joined #ruby
Timgauthier has joined #ruby
triple_b_ has quit [Ping timeout: 250 seconds]
leat has quit [Remote host closed the connection]
tier has joined #ruby
tkuchiki has quit [Ping timeout: 250 seconds]
leat has joined #ruby
mxrguspxrt has quit [Ping timeout: 245 seconds]
banister has joined #ruby
<jhass> TheRinger: Please join #RubyOnRails for Rails questions. You need to be identified with NickServ, see /msg NickServ help
Xnfu_ has joined #ruby
n1x has quit [Remote host closed the connection]
Channel6 has joined #ruby
Xnfu_ has left #ruby ["Leaving"]
tier_ has quit [Ping timeout: 264 seconds]
blaxter has quit [Quit: foo]
Fluent has joined #ruby
Cust0sL1men has joined #ruby
Soda has joined #ruby
<shevy> Timgauthier yeah. people could photoshop it and then you'd end up with pink hair
AlienPickle has joined #ruby
byprdct has joined #ruby
<blizzy> since #sinatra is kind of dead.
leat has quit [Remote host closed the connection]
<blizzy> anyone know how I would use active record with sinatra?
<centrx> Timgauthier, Are you the famous guy with the pink hair?
karmatr0n has joined #ruby
<Timgauthier> no
<centrx> blizzy, You can use the ActiveRecord gem, without Rails
<centrx> blizzy, You could also use Sequel, another common Ruby ORM
leat has joined #ruby
iamninja has joined #ruby
<blizzy> hmm, seems like I would need to use Sinatra-Activerecord also.
ghostpl_ has joined #ruby
iamninja has quit [Client Quit]
iamninja has joined #ruby
bonhoeffer has quit [Quit: bonhoeffer]
JDiPierro has quit [Remote host closed the connection]
iamninja has quit [Client Quit]
mkaesz has quit [Read error: No route to host]
mkaesz has joined #ruby
iamninja has joined #ruby
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
skj3gg has quit [Quit: ZZZzzz…]
ghostpl_ has quit [Ping timeout: 256 seconds]
zenith_ has quit [Read error: Connection reset by peer]
sandelius has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ninjazach has joined #ruby
amacou has quit [Remote host closed the connection]
zenith_ has joined #ruby
karmatr0n has quit [Remote host closed the connection]
RegulationD has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tkuchiki_ has quit [Remote host closed the connection]
iamninja has quit [Quit: WeeChat 1.1.1]
tkuchiki has joined #ruby
izzol has quit [Read error: Connection reset by peer]
serivich has joined #ruby
<blizzy> so, I'm running 'rake -t', however, I'm getting 'cannot load such file -- active_record/railties/databases.rake' I'm using Sinatra with Ruby 1.9.3.
RegulationD has quit [Remote host closed the connection]
byprdct has quit [Quit: Textual IRC Client: www.textualapp.com]
<centrx> blizzy, Obligatory "Ruby 1.9 is very old and might not work with newer software"
<blizzy> also, thanks, centrx about earlier.
skj3gg has joined #ruby
JDiPierro has joined #ruby
<blizzy> so it's recommended to use Ruby 2.x.x?
<centrx> Yes
<centrx> The latest version is 2.2.0
<centrx> 1.9.3 is like 2008 and at end-of-life
werelivinginthef has joined #ruby
<centrx> 1.9.3 is 2011 I guess
<blizzy> I'm using Windows, so I guess I'll download Ruby 2.1.5
iamninja has joined #ruby
RegulationD has joined #ruby
tkuchiki has quit [Ping timeout: 265 seconds]
RegulationD has quit [Client Quit]
Megtastique has joined #ruby
RegulationD has joined #ruby
<blizzy> ugh now I gotta reinstall my gems
tmtwd has joined #ruby
<workmad3> shevy: do you not like my tiger-striped beard? :(
sandelius has joined #ruby
rubytor has joined #ruby
Takle has quit [Remote host closed the connection]
sandelius has quit [Max SendQ exceeded]
iamninja has quit [Client Quit]
fryguy9 has joined #ruby
mathie has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Fluent has quit [Quit: ZNC - http://znc.in]
<blizzy> heh, now I can't install gems
Fluent has joined #ruby
<blizzy> 'Unable to download data from https://rubygems.org - SSL_connect returned=1...'
startupality has quit [Quit: startupality]
<centrx> oh, Windows and Ruby don't really work well together
<blizzy> yeah, that's why I was on Ruby 1.9.3, which I uninstalled.
<blizzy> fk it, I'll make it http instead of https
Channel6 has quit [Remote host closed the connection]
tkuchiki has joined #ruby
admin0 has quit [Ping timeout: 246 seconds]
JDiPierro has quit [Remote host closed the connection]
RegulationD has quit []
<shevy> workmad3 I am just jealous, I can't grow a beard like that :(
vtunka_ has joined #ruby
nateberkopec has joined #ruby
JDiPierro has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
codeurge has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<workmad3> shevy: I fertilize it with plenty of coffee... maybe that's the step you're missing?
amdbcg has joined #ruby
<workmad3> shevy: or do you mean 'stripy' rather than 'looking like a hobo'?
<workmad3> *stripey
spyderman4g63 has joined #ruby
RegulationD has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
ninjazach has quit [Ping timeout: 245 seconds]
tier has quit [Remote host closed the connection]
<shevy> haha
livingstn has joined #ruby
<shevy> I mean like viking style... big hairy man with massive chest and huge bushy beards
<shevy> *men
vtunka has quit [Ping timeout: 250 seconds]
<blizzy> funny, in the gay community, those are called bears
ghostlines has joined #ruby
Takle has joined #ruby
<blizzy> big gay hairy men
sambao21 has joined #ruby
<blizzy> aka my type.
<shevy> a bear is something else man
OrbitalKitten has joined #ruby
shellfu is now known as shellfu_afk
iamninja has joined #ruby
tier has joined #ruby
admin0 has joined #ruby
<blizzy> >.>
<shevy> speaking of which
phutchins has joined #ruby
<shevy> I saw a video about two bears, a woman and her cub, that stunned me
<Schmidt> from beards, to bears, to bears. it swings fast in infra-talk
ych4k3r has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> nope sorry
<blizzy> I guess you was bearing to watch the video.
<shevy> that is not the original
iamninja has quit [Client Quit]
iamninja has joined #ruby
Timgauthier has quit [Read error: Connection reset by peer]
<shevy> won't take long and they will be able to drive cars
Timgauthier has joined #ruby
iamninja has quit [Client Quit]
craigp has quit [Remote host closed the connection]
codecop has joined #ruby
iamninja has joined #ruby
tunaCanBruh has joined #ruby
iamninja has quit [Client Quit]
jlast has joined #ruby
Kricir has joined #ruby
fantazo has quit [Quit: Verlassend]
sevenseacat has quit [Remote host closed the connection]
ismaelga has joined #ruby
codeurge has joined #ruby
agrinb has joined #ruby
freerobby has joined #ruby
hs366 has quit [Remote host closed the connection]
MyMind has joined #ruby
krandi has joined #ruby
andikr has quit [Ping timeout: 245 seconds]
Sembei has quit [Ping timeout: 252 seconds]
jlast has quit [Ping timeout: 250 seconds]
agrinb has quit [Ping timeout: 265 seconds]
pu22l3r has joined #ruby
_ixti_ has joined #ruby
jm0 has quit [Quit: leaving]
Zimsky- has quit [Ping timeout: 250 seconds]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
banister has joined #ruby
Zimsky- has joined #ruby
<shevy> and then
<shevy> they wil program in ruby
OrbitalKitten has joined #ruby
ixti has quit [Ping timeout: 250 seconds]
bweston92 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
sambao21 has quit [Ping timeout: 246 seconds]
charliesome has quit [Quit: zzz]
skj3gg has quit [Quit: ZZZzzz…]
charliesome has joined #ruby
hiyosi has joined #ruby
karmatr0n has joined #ruby
ych4k3r has joined #ruby
dcarmich has quit [Quit: Textual IRC Client: www.textualapp.com]
rubytor has quit [Ping timeout: 246 seconds]
amdbcg has quit [Ping timeout: 256 seconds]
charliesome has quit [Client Quit]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
amdbcg has joined #ruby
iamninja has joined #ruby
krandi has quit [Remote host closed the connection]
ninjazach has joined #ruby
__main__ has quit [Ping timeout: 245 seconds]
<Hanmac> shevy do your irc client supports UTF8 ?
<shevy> I guess so
<Hanmac> check out this char:
<Timgauthier> no, its a square
<Timgauthier> ;)
<ninjazach> I believe that most support UTF8 these days. Even ircII-epic supports UTF8
ych4k3r has quit [Ping timeout: 250 seconds]
ninjazach has quit [Remote host closed the connection]
iamninja has quit [Client Quit]
ninjazach has joined #ruby
iamninja has joined #ruby
adamjleonard has joined #ruby
jonr22 has joined #ruby
davidhq has joined #ruby
Soda has quit [Remote host closed the connection]
tagrudev has quit [Remote host closed the connection]
apurcell has joined #ruby
fryguy91 has joined #ruby
pu22l3r has quit [Remote host closed the connection]
rubytor has joined #ruby
<michael_mbp> hey guys
DonOtreply has joined #ruby
<michael_mbp> how can I pass __FILE__, __LINE__ to class_eval %( .... ) ?
<michael_mbp> rather than using the heredoc approach
<michael_mbp> ah....
<michael_mbp> last two args.
<michael_mbp> duh RTFM :)
fryguy9 has quit [Ping timeout: 252 seconds]
lampd1 has quit []
jonr22 has quit [Ping timeout: 245 seconds]
lukaszk has left #ruby ["WeeChat 0.4.2"]
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
mkaesz has quit [Read error: No route to host]
rippa has joined #ruby
<mroth> speaking of UTF-8, if anyone feels like doing some code review, I'd love to get some comments on this gem before starting work on the next version (need to start prep for new emoji in unicode 8.0 this summer): https://github.com/mroth/emoji_data.rb
pu22l3r has joined #ruby
mkaesz has joined #ruby
DonOtreply has quit [Quit: DonOtreply]
startupality has joined #ruby
brb3 has quit [Quit: ZZZzzz…]
iamninja has quit [Quit: WeeChat 1.1.1]
jlast has joined #ruby
ghostpl_ has joined #ruby
goodenough has joined #ruby
iamninja has joined #ruby
apurcell has quit [Ping timeout: 250 seconds]
skj3gg has joined #ruby
<shevy> hanmac oh my irc client supports UTF8 but I don't use UTF8
brb3 has joined #ruby
kp666 has quit [Quit: Leaving]
sambao21 has joined #ruby
OrbitalKitten has joined #ruby
jimms has quit [Remote host closed the connection]
AlienPickle has quit [Ping timeout: 244 seconds]
ghostpl_ has quit [Ping timeout: 264 seconds]
einarj has quit [Remote host closed the connection]
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tunaCanBruh has quit [Ping timeout: 240 seconds]
<waxjar> why not shevy?
vtunka_ has quit [Quit: Leaving]
iamninja has quit [Quit: WeeChat 1.1.1]
iamninja has joined #ruby
d10n-work has joined #ruby
dfinninger has joined #ruby
blackmesa has joined #ruby
<shevy> I don't need it
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
amdbcg has quit [Ping timeout: 252 seconds]
tkuchiki has quit [Remote host closed the connection]
jherbst has joined #ruby
timonv_ has joined #ruby
fryguy91 has quit [Quit: Leaving.]
iamninja has quit [Client Quit]
iamninja has joined #ruby
iamninja has quit [Client Quit]
iamninja has joined #ruby
mitchellhenke has joined #ruby
balazs has joined #ruby
speakingcode has quit [Ping timeout: 240 seconds]
iamninja has quit [Client Quit]
iamninja has joined #ruby
paulfm has joined #ruby
paulfm_ has quit [Read error: Connection reset by peer]
iamninja has quit [Client Quit]
Fire-Dragon-DoL has joined #ruby
jimms has joined #ruby
ghr has quit [Ping timeout: 265 seconds]
tunaCanBruh has joined #ruby
codeurge has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
arup_r has joined #ruby
DEA7TH has quit [Remote host closed the connection]
bal has quit [Quit: bal]
gsd has joined #ruby
balazs has quit [Ping timeout: 252 seconds]
zenith_ has quit [Read error: Connection reset by peer]
DivineEntity has quit [Quit: Lost terminal]
amdbcg has joined #ruby
iamninja has joined #ruby
mkaesz has quit [Read error: No route to host]
pu22l3r has quit [Remote host closed the connection]
sambao21 has quit [Quit: Computer has gone to sleep.]
iamninja has quit [Client Quit]
perrier has quit [Remote host closed the connection]
mkaesz has joined #ruby
davedev24_ has joined #ruby
zenith_ has joined #ruby
sambao21 has joined #ruby
DivineEntity has joined #ruby
freerobby has quit [Quit: Leaving.]
crueber has joined #ruby
agrinb has joined #ruby
freerobby has joined #ruby
pu22l3r has joined #ruby
fgo has quit [Quit: WeeChat 1.1.1]
gfawcettpq has joined #ruby
mathie has joined #ruby
pu22l3r has quit [Remote host closed the connection]
ferr has joined #ruby
Mon_Ouie has joined #ruby
codeurge has joined #ruby
gmcintire has joined #ruby
DEA7TH has joined #ruby
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
havenwood has joined #ruby
ferr has quit [Client Quit]
ferr has joined #ruby
tier_ has joined #ruby
tier has quit [Read error: Connection reset by peer]
agrinb has quit [Ping timeout: 265 seconds]
<DEA7TH> I have an array of [i, j, value], where i and j are integers and every entry has a unique (i, j) combination. How can I use minimal amount of code to transform it into an adjacency matrix, where array[i][j] = value?
tier has joined #ruby
adamjleonard has quit [Quit: Leaving...]
goodenough has quit [Remote host closed the connection]
Dopagod has joined #ruby
<DEA7TH> I can use array.group_by{|a| a[0]}.values.map{|outer| outer.group_by{... more code ...}} but that's really long for something so simple
_whitelogger has joined #ruby
zenith_ has quit [Ping timeout: 240 seconds]
bruno- has joined #ruby
balazs has joined #ruby
<blizzy> so, I'm running https://gist.github.com/VBlizzard/ba03ec985c2674fbd178, however, on 'rake -t', I get 'Don't know how to build task 'default''
davedev24_ has quit [Read error: Connection reset by peer]
tier_ has quit [Ping timeout: 250 seconds]
davedev2_ has joined #ruby
fabrice31_ has quit [Remote host closed the connection]
ghr has joined #ruby
nickjj has quit [Ping timeout: 255 seconds]
fryguy9 has joined #ruby
_Andres has quit [Ping timeout: 252 seconds]
tesuji has quit [Ping timeout: 255 seconds]
mxrguspxrt has joined #ruby
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
goodenough has joined #ruby
Fusl has quit [Quit: Contact: http://hallowe.lt/]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
admin0 has quit [Quit: admin0]
nickjj has joined #ruby
iamninja has joined #ruby
<DEA7TH> oh I figured it out, it's just array.map{|i, j, dist| new_array[i][j] = dist} where new_array = Array.new(n) { Array.new(n) }
_Andres has joined #ruby
juanpablo_ has quit [Quit: (null)]
aryaching has joined #ruby
Fusl has joined #ruby
momomomomo has joined #ruby
juanpablo_ has joined #ruby
perrier has joined #ruby
juanpablo_ has quit [Read error: Connection reset by peer]
juanpablo_ has joined #ruby
mxrguspxrt has quit [Ping timeout: 240 seconds]
iamninja has quit [Client Quit]
admin0 has joined #ruby
mikepack has joined #ruby
iamjarvo has joined #ruby
pu22l3r has joined #ruby
gattie has joined #ruby
bootstrappm has joined #ruby
hamakn has quit [Remote host closed the connection]
pu22l3r_ has joined #ruby
<shevy> hanmac lol not nice to throw a cat
tier_ has joined #ruby
psy_ has quit [Ping timeout: 244 seconds]
<hanmac> shevy the cat didnt got thrown, its jumped through the snow wall ;P
Cust0sL1men has quit [Ping timeout: 246 seconds]
<shevy> nah
<dfinninger> Hello! Could I get some help with this? https://gist.github.com/dfinninger/cd69bd4e8ceac6aefb76
<Timgauthier> shevy its good to throw cats
<shevy> the position of the legs is wrong
<shevy> it is 100% a throw
<dfinninger> my "each" method is returning an arry
<centrx> shevy, It's a FAKE!?
<dfinninger> but I'd like for it it iterate over everything in the array
<arup_r> dfinninger: Its Ok
<shevy> centrx sure, you can even see the guy on the corner throwing the cat. the cat lands all confused thinking "what the fudge is going on here"
mitchellhenke has quit [Quit: Computer has gone to sleep.]
<arup_r> #each returns on which you will call it dfinninger :
<shevy> but the idea is cool
<centrx> dfinninger, It does, but .each returns the original array, generally don't use the return value of each
<arup_r> shevy: I also have a cat
<shevy> I've seen cats use toilets
<shevy> arup_r I thought you guys have monkeys in india!
matrixfox has quit [Quit: leaving]
<arup_r> yes
<arup_r> you don't ?
<shevy> arup_r was it you who showed me the monkeys jumping from rooftops into a water pool?
<shevy> hehe nah... we only have cats and mice and dogs here :(
<hanmac> shevy i have seen a similar video recently in TV where the front door was deep in snow, and the cat did dig itself through it
tier has quit [Ping timeout: 252 seconds]
<dfinninger> centrx: arup_r: right, it currently just returns the array, but I'd like for it to be able to enumerate with that syntax
<shevy> hanmac oh yeah, I saw a few of these, especially russian cats
pu22l3r has quit [Ping timeout: 256 seconds]
<dfinninger> seems cleaner than "asdf.all.each:
<hanmac> dfinninger: your each does need to interate the internal array too
cats has left #ruby ["Wow, rude."]
<dfinninger> so, move the yield into my own enumeration?
<hanmac> dfinninger: like that: @all.each {|obj| yield obj }
<dfinninger> hanmac: right, I'll try that out!
<hanmac> PS: your each should have a return self at the end, otherwise the user might be able to modify the internal array itself
mkaesz has quit [Read error: No route to host]
<arup_r> #rubyonrails full of crowd ... can I use this space for rails ?
<dfinninger> hanmac: bingo! thanks! and, okay, thanks
* hanmac makes a "i dont think so" face at arup_r
Grumelo has joined #ruby
nickjj has quit [Read error: Connection reset by peer]
admin0 has left #ruby [#ruby]
stef204 has joined #ruby
* arup_r made 22 out
jimms has quit [Remote host closed the connection]
<gregf_> arup_r: 3 is a crowd number ;). so not too many
jacky has quit [Quit: ZNC - http://znc.in]
mkaesz has joined #ruby
nickjj has joined #ruby
<hanmac> ha i found the right face for that question: "
lexun has joined #ruby
jalcine has joined #ruby
chrishough has joined #ruby
DonOtreply has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
maletor has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
sambao21 has quit [Quit: Computer has gone to sleep.]
wald0 has quit [Quit: Lost terminal]
ziyadb has quit [Quit: Connection closed for inactivity]
sambao21 has joined #ruby
piotrj has joined #ruby
selu has quit [Quit: Textual IRC Client: www.textualapp.com]
cats has joined #ruby
tjbiddle has quit [Quit: tjbiddle]
gattie has quit [Quit: Leaving...]
mxrguspxrt has joined #ruby
The_Phoenix has quit [Ping timeout: 250 seconds]
timonv_ has quit [Remote host closed the connection]
Cache_Money has joined #ruby
warreng has quit [Changing host]
warreng has joined #ruby
Squarepy has quit [Remote host closed the connection]
Timgauthier is now known as timgauthier_away
<shevy> rewriting code is so much less fun than starting from scratch :(
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
aganov has quit [Remote host closed the connection]
davidhq has joined #ruby
ninjazach has quit [Remote host closed the connection]
iamninja has joined #ruby
sargas has joined #ruby
matrixfox has joined #ruby
mxrguspxrt has quit [Ping timeout: 245 seconds]
ninjazach has joined #ruby
Cache_Money has quit [Client Quit]
iamninja has quit [Client Quit]
iamninja has joined #ruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jarjar_prime has quit [Quit: Sleep time.]
mitchellhenke has joined #ruby
The_Phoenix has joined #ruby
Fusl has quit [Quit: Contact: http://hallowe.lt/]
skj3gg has quit [Quit: ZZZzzz…]
momomomomo has quit [Ping timeout: 252 seconds]
The_Phoenix has quit [Max SendQ exceeded]
mostlybadfly has joined #ruby
momomomomo has joined #ruby
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
The_Phoenix has joined #ruby
gfawcettpq has quit [Ping timeout: 250 seconds]
The_Phoenix has quit [Max SendQ exceeded]
psy_ has joined #ruby
psy_ has quit [Max SendQ exceeded]
The_Phoenix has joined #ruby
The_Phoenix has quit [Changing host]
The_Phoenix has joined #ruby
dojobo has joined #ruby
<dojobo> hi guys
momomomomo has quit [Client Quit]
tunaCanBruh has quit [Ping timeout: 252 seconds]
Fusl has joined #ruby
Ankhers has joined #ruby
sargas has quit [Quit: Leaving]
tmtwd has quit [Remote host closed the connection]
bricker has joined #ruby
odigity has quit [Read error: Connection reset by peer]
iamninja has quit [Quit: WeeChat 1.1.1]
livathin_ has joined #ruby
lexun has quit []
mloveless has joined #ruby
cphrmky has quit [Read error: Connection reset by peer]
iamninja has joined #ruby
stunder has joined #ruby
riotjone_ has quit [Remote host closed the connection]
zorak_ has joined #ruby
tjohnson has joined #ruby
zorak_ has quit [Client Quit]
cr3 has joined #ruby
psy_ has joined #ruby
zorak_ has joined #ruby
mathie_ has joined #ruby
zorak_ has quit [Read error: Connection reset by peer]
zorak_ has joined #ruby
<dojobo> anyone know about changing file permissions on windows?
<dojobo> besides the fact that windows blows?
DonOtreply has quit [Quit: DonOtreply]
zorak_ has quit [Read error: Connection reset by peer]
mathie has quit [Quit: Textual IRC Client: www.textualapp.com]
<cr3> how can I print ENV? puts ENV outputs ENV for some reason :(
mathie_ is now known as mathie
zorak8 has quit [Ping timeout: 252 seconds]
<dojobo> i'm trying File.chmod but it doesn't seem to be working
msgodf has quit [Ping timeout: 245 seconds]
<shevy> dojobo hmm
zorak8 has joined #ruby
<shevy> does windows have the same permission model?
speaking1ode has quit [Quit: leaving]
livathinos has quit [Ping timeout: 255 seconds]
<shevy> cr3 are you in IRB?
<gregf_> cr3: p ENV ;)
speakingcode has joined #ruby
<dojobo> shevy no :(
<cr3> shevy: I tried both in IRB and in a script I executed with ruby directly
Pupeno has joined #ruby
Pupeno has joined #ruby
<shevy> cr3 ok of I try ENV then I get a huge hash-like structure back
<shevy> perhaps your ENV is empty
<shevy> "SYSINCLUDEE"=>"/System/Headers", "TERMCMD"=>"zsh",
<shevy> my ENV is a huge giant mess
<shevy> ENV.keys.size # => 741
<cr3> shevy: echo 'puts ENV' > env.rb; ruby env.rb... ENV
<shevy> what is this
<shevy> echo
<shevy> is this ruby
<gregf_> shevy: lol
<cr3> shevy: my shell environment is not empty :)
<shevy> ruby -e 'p ENV'
nettoweb has joined #ruby
<gregf_> cr3: puts ENV.keys
<dojobo> <david> is this real life????
<shevy> cr3 k then they will be available in ruby
<cr3> ok, s/puts/p/ works. weird...
agrinb has joined #ruby
freerobby has quit [Quit: Leaving.]
<shevy> oh interesting
<shevy> ruby -e 'X=5;puts X' # => 5
livathin_ has quit [Remote host closed the connection]
<shevy> ruby -e 'puts ENV' # => ENV
<shevy> how weird
<gregf_> cr3: try, puts Hash[ENV]
<gregf_> haha. weird how puts and p work
<shevy> ruby -e 'puts ENV.class' # => Object
<shevy> ruby -e 'puts Hash.class' # => Class
adamjleonard has joined #ruby
<cr3> gregf_: that works, but I'd be curious to understand :)
<shevy> I don't know either but I remember in the pickaxe
<cr3> shevy: ah, that explains it. thanks!
<shevy> that ENV is a special thing
<shevy> I had problems with ENV in .cgi files :(
spyderman4g63 has quit [Ping timeout: 245 seconds]
momomomomo has joined #ruby
dmbennett has joined #ruby
craigp has joined #ruby
agrinb has quit [Ping timeout: 250 seconds]
ptrrr has joined #ruby
Hobogrammer has joined #ruby
ninjazach has quit [Ping timeout: 245 seconds]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Timgauthier has joined #ruby
ki0 has quit [Ping timeout: 250 seconds]
willharrison has joined #ruby
Hijiri has quit [Ping timeout: 252 seconds]
mleung has joined #ruby
_maes_ has joined #ruby
tunaCanBruh has joined #ruby
lioninawhat has joined #ruby
dANO has quit []
joonty has quit [Quit: joonty]
fantazo has joined #ruby
balazs has quit [Quit: Leaving]
sambao21 has quit [Quit: Computer has gone to sleep.]
Spooner has quit [Remote host closed the connection]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sambao21 has joined #ruby
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
gsd has joined #ruby
amdbcg has quit [Ping timeout: 250 seconds]
<workmad3> shevy: yeah, setting up the environment for CGI scripts can be somewhat weird, and dependent on the web server that's launching the CGI scripts
JDiPierro has quit [Remote host closed the connection]
<bennyklo1z> hello there, i compiled ruby 2.2 by source and use it via chruby, my problem I use this little snippet to determine if I got socket support https://gist.github.com/tak1n/d9ca52f9ed2ee902a6c9 and it says no
JDiPierro has joined #ruby
ponga has quit [Quit: Leaving...]
Morkel has quit [Quit: Morkel]
<bennyklo1z> which lib do I have to install, I installed libssl-dev
<bricker> It would be nice if `retry` had a built-in counter, I am over writing that code every time.
<bennyklo1z> my system is ubuntu 14.04 if that helps
jheg has quit [Quit: jheg]
JDiPierro has quit [Remote host closed the connection]
triple_b has joined #ruby
AlphaTech has joined #ruby
olivier_bK has quit [Ping timeout: 264 seconds]
jkyle1 has quit [Ping timeout: 255 seconds]
defrang has quit [Quit: defrang]
sinkensabe has joined #ruby
<bradland> bennyklo1z: require 'mkmf'; have_libary('socket') is a non sequitur.
OrbitalKitten has joined #ruby
jonr22 has joined #ruby
<bradland> mkmf is the library for generating makefiles
<bradland> it has nothing to do with sockets
<shevy> bennyklo1z you can install mkmf; you have to ask debian why they stripped it by default
<shevy> oh wait
gattie has joined #ruby
<shevy> have_library('socket')
<shevy> checking for main() in -lsocket... no
<shevy> hmmm
<bennyklo1z> I know, I got problems installing rbx, but it turns out it's about -lsocket
<shevy> libsocket.so I suppose
<bennyklo1z> mri runs without -lsocket
<bradland> i get the same, shevy
<shevy> yeah weird
<bennyklo1z> but rbx requires to find -socket
uptownhr has joined #ruby
<bennyklo1z> -lsocket*
jobewan has joined #ruby
<shevy> don't actually know of any *socket.so file :)
ghostlines has quit [Ping timeout: 240 seconds]
craigp has quit []
<shevy> bennyklo1z libssl-dev is something else, it is openssl*
<shevy> or *ssl*
<shevy> libssl.so
<shevy> hmm or libssl.so oh man
<bennyklo1z> ok xD
<AlphaTech> In my ruby script, it says put is an undefined method
<shevy> if they'd all just use a consistent way to name stuff! but even distributions use different names for their -dev packages
mikepack has quit [Ping timeout: 256 seconds]
<bennyklo1z> true true
<shevy> AlphaTech try "puts" ?
<shevy> or alias put puts
<shevy> then you can use put
mkaesz has quit [Read error: Connection reset by peer]
<shevy> or alias e puts! then you can use e rather than puts!!!
<shevy> without the '!'
<bradland> shevy loves to alias puts
<AlphaTech> shevy: Yup, that was it. Thanks!
<bennyklo1z> trying to install libsocket suggests libsocket++1 libsocket6-perl libsocket++-dev libsocket-getaddrinfo-perl libsocket-linux-perl libsocket-multicast6-perl libsocket-perl
jonr22 has quit [Ping timeout: 244 seconds]
<shevy> bradland this is true. but actually, I also do it because I sometimes alias to a colourizing-method
mkaesz has joined #ruby
<shevy> so then, e will either point to puts - or it will point to a variant with ansi escape sequences (or kde kolours too)
Spami has quit [Quit: Leaving]
selu has joined #ruby
giuseppesolinas has joined #ruby
<shevy> colours! \o/
<shevy> from a kde konsole tab
phansch has quit [Ping timeout: 252 seconds]
mathie has quit [Quit: Quitting...]
<shevy> bennyklo1z oh yes welcome to the mess of split-package management
Adran has quit [Quit: Este é o fim.]
mikepack has joined #ruby
<bennyklo1z> says I dont need an extra libsocket, wtf
<shevy> bennyklo1z but to be honest with you... how do you know that you really need any libsocket* stuff?
cajone has quit [Remote host closed the connection]
<shevy> yeah
yxejamir has quit [Ping timeout: 250 seconds]
Spami has joined #ruby
stef204 has joined #ruby
<shevy> let's be daring now
<AlphaTech> Also, I have a script that returns {:success=>true, :bot_id=>"b703f9937e34d0e1", :cust_id=>"blah", :input=>"Hello!", :output=>"Hi there!"} (or at least something similar). How can I just fetch the output from the variable?
mathie has joined #ruby
<shevy> there is no *socket.so on linux!
apurcell has joined #ruby
<shevy> AlphaTech that is a hash
<shevy> so you can use the key
<shevy> as always
<AlphaTech> Where is the key?
<shevy> >> {:success=>true, :bot_id=>"b703f9937e34d0e1", :cust_id=>"blah", :input=>"Hello!", :output=>"Hi there!"}[:output]
<eval-in__> shevy => "Hi there!" (https://eval.in/289013)
<shevy> I have no idea which key you need
<shevy> if it is in the hash then you can fetch it
<shevy> you should know your own keys!
Adran has joined #ruby
<shevy> especially when you try to open your door
r3dking is now known as badlinfluence
paradoja has quit [Ping timeout: 240 seconds]
<AlphaTech> shevy: That is a return of Pandorabots.talk from the pandorabots library
<bennyklo1z> shevy: I assumed I need libsocket because of this https://gist.github.com/tak1n/b7756738c33804ccd381
wallerdev has joined #ruby
<bennyklo1z> a rubysl gem rubysl-openssl to be specific is failing to build the native ext
mathie has quit [Client Quit]
<AlphaTech> Oh, I just put [:output] after it and it works fine now :)
ghostpl_ has joined #ruby
willharrison has quit [Quit: Textual IRC Client: www.textualapp.com]
snath has quit [Ping timeout: 244 seconds]
pengin has joined #ruby
cajone has joined #ruby
jimms has joined #ruby
gattie has quit [Remote host closed the connection]
gattie has joined #ruby
dblessing has quit [Read error: Connection reset by peer]
ghostpl_ has quit [Ping timeout: 250 seconds]
mathie has joined #ruby
Timgauthier is now known as timgauthier_away
dblessing has joined #ruby
<shevy> bennyklo1z such errors are very annoying
timgauthier_away has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<shevy> and not always completely true
it0a has joined #ruby
deol has joined #ruby
piotrj has quit [Read error: Connection reset by peer]
gremax has quit [Quit: ZNC - http://znc.in]
<bennyklo1z> k thx, I ask again in the rbx channel, just tried this channel if any1 knows something
<bennyklo1z> but thx for help :)
piotrj has joined #ruby
spyderman4g63 has joined #ruby
shredding has quit [Quit: shredding]
uptownhr has quit [Quit: uptownhr]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
<AlphaTech> jhass: Are you there?
mikecmpbll has quit [Ping timeout: 245 seconds]
<bootstrappm> anybody know who's behind http://www.elementarynow.com/?
sinkensabe has quit [Remote host closed the connection]
lioninawhat has quit [Remote host closed the connection]
lioninawhat has joined #ruby
<AlphaTech> Well, does anyone know why my Twitter package keeps timing out? It was working just fine yesterday.
mitchellhenke has quit [Quit: Computer has gone to sleep.]
lolmaus has quit [Quit: Konversation terminated!]
<bootstrappm> woops wrong channel
skj3gg has joined #ruby
zachrab has joined #ruby
pengin has quit [Remote host closed the connection]
atomical has joined #ruby
lemur has joined #ruby
pengin has joined #ruby
rdark has quit [Quit: leaving]
wallerdev has quit [Quit: wallerdev]
rdark has joined #ruby
<avril14th> woops wrong Twitter?
mikepack has quit [Read error: Connection reset by peer]
donovanC has joined #ruby
donovanC is now known as Donovan
mikepack has joined #ruby
amacou has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
pdoherty has joined #ruby
lemur has quit [Remote host closed the connection]
pengin has quit [Ping timeout: 252 seconds]
craigp has joined #ruby
JDiPierro has joined #ruby
lemur has joined #ruby
DonOtreply has joined #ruby
deric_skibotn has joined #ruby
mleung_ has joined #ruby
mleung has quit [Ping timeout: 250 seconds]
mleung_ is now known as mleung
shazaum has joined #ruby
zenith_ has joined #ruby
Hijiri has joined #ruby
banister has joined #ruby
amacou has quit [Ping timeout: 245 seconds]
mkaesz has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
JDiPierro has quit [Ping timeout: 264 seconds]
lemur has quit [Ping timeout: 265 seconds]
zenith_ has quit [Remote host closed the connection]
Fire-Dragon-DoL has quit [Ping timeout: 256 seconds]
Dopagod has quit [Ping timeout: 240 seconds]
mkaesz has joined #ruby
zachrab has quit [Remote host closed the connection]
amdbcg has joined #ruby
selu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
blackmesa has quit [Ping timeout: 246 seconds]
agrinb has joined #ruby
ych4k3r has joined #ruby
riotjones has joined #ruby
whoisjake has joined #ruby
Takle has quit [Remote host closed the connection]
ki0 has joined #ruby
mikepack has quit [Read error: Connection reset by peer]
iamninja has quit [Quit: WeeChat 1.1.1]
mikepack has joined #ruby
Kricir has quit []
agrinb has quit [Ping timeout: 250 seconds]
Dopagod has joined #ruby
livathinos has joined #ruby
ghr has quit [Ping timeout: 244 seconds]
chthon has quit [Ping timeout: 250 seconds]
paulfm has quit [Quit: Goodbye]
riotjones has quit [Ping timeout: 244 seconds]
devbug has joined #ruby
zenith_ has joined #ruby
<shevy> dunno why your titties package times out
kalusn has quit [Remote host closed the connection]
whoisjake has quit [Remote host closed the connection]
plashchynski has joined #ruby
DonOtreply has quit [Quit: DonOtreply]
fabrice31 has joined #ruby
wallerdev has joined #ruby
triple_b_ has joined #ruby
Macaveli has quit [Ping timeout: 256 seconds]
rdark has quit [Quit: leaving]
Dopagod has quit [Ping timeout: 250 seconds]
DonOtreply has joined #ruby
zachrab has joined #ruby
triple_b has quit [Ping timeout: 245 seconds]
mistermocha has joined #ruby
zachrab has quit [Remote host closed the connection]
iamjarvo has joined #ruby
dmbennett has quit [Remote host closed the connection]
AlexRussia has quit [Ping timeout: 265 seconds]
fabrice31 has quit [Ping timeout: 264 seconds]
ki0 has quit []
iamninja has joined #ruby
mistermo_ has joined #ruby
pu22l3r has joined #ruby
momomomomo has quit [Quit: momomomomo]
shum1 has joined #ruby
corvinm has quit [Quit: Connection closed for inactivity]
jenrzzz has joined #ruby
djbkd has joined #ruby
pixman has joined #ruby
uptownhr has joined #ruby
pu22l3r_ has quit [Ping timeout: 250 seconds]
paulfm has joined #ruby
blackmesa has joined #ruby
krz has quit [Quit: WeeChat 1.0.1]
mistermocha has quit [Ping timeout: 265 seconds]
Goodbeard has joined #ruby
wottam has joined #ruby
tunaCanBruh has quit [Ping timeout: 255 seconds]
agarie has joined #ruby
snath has joined #ruby
gsd has quit [Quit: Textual IRC Client: www.textualapp.com]
vt102 has joined #ruby
tvon has joined #ruby
Timgauthier has joined #ruby
djbkd has quit [Ping timeout: 264 seconds]
djbkd has joined #ruby
AlexRussia has joined #ruby
giuseppesolinas has joined #ruby
jheg has joined #ruby
JDiPierro has joined #ruby
aapole has joined #ruby
cjim has joined #ruby
jkyle1 has joined #ruby
Timgauthier has quit [Max SendQ exceeded]
mxrguspxrt has joined #ruby
blueOxigen has joined #ruby
Timgauthier has joined #ruby
elaptics is now known as elaptics_away
Morkel has joined #ruby
razieliyo has quit [Ping timeout: 246 seconds]
aryaching has quit []
bluOxigen has quit [Ping timeout: 250 seconds]
jherbst has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
beneggett has joined #ruby
shadoi has joined #ruby
Timgauthier has quit [Max SendQ exceeded]
devbug has quit [Ping timeout: 265 seconds]
badlinfluence has quit [Remote host closed the connection]
shadoi1 has joined #ruby
Timgauthier has joined #ruby
IrishGringo has joined #ruby
Megtastique has quit [Read error: Connection reset by peer]
Timgauthier is now known as timgauthier_away
m8 has joined #ruby
wldcordeiro has joined #ruby
shadoi has quit [Ping timeout: 250 seconds]
Megtastique has joined #ruby
Megtastique has quit [Max SendQ exceeded]
ghostpl_ has joined #ruby
Megtastique has joined #ruby
x1337807x has joined #ruby
x1337807x has quit [Max SendQ exceeded]
timgauthier_away has quit [Max SendQ exceeded]
x1337807x has joined #ruby
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
x1337807x has quit [Max SendQ exceeded]
x1337807x has joined #ruby
OrbitalKitten has joined #ruby
spider-mario has joined #ruby
devbug has joined #ruby
ghostpl_ has quit [Ping timeout: 246 seconds]
bonhoeffer has joined #ruby
centrx has quit [Quit: Shutting down, Please wait...]
pdoherty has quit [Ping timeout: 245 seconds]
shadoi has joined #ruby
cphrmky has joined #ruby
pdoherty has joined #ruby
craigp has quit [Remote host closed the connection]
wald0 has joined #ruby
Salazard has joined #ruby
shadoi1 has quit [Ping timeout: 264 seconds]
serivich has quit [Read error: Connection reset by peer]
pizzaops has joined #ruby
adamjleonard has quit [Quit: Leaving...]
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
drkyro has joined #ruby
serivich has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
paulfm has quit [Quit: Goodbye]
cajone has quit [Remote host closed the connection]
Salazard has left #ruby ["AndroIRC"]
paulfm has joined #ruby
dosman711 has joined #ruby
craigp has joined #ruby
mkaesz has quit [Read error: Connection reset by peer]
paulfm has quit [Client Quit]
mkaesz has joined #ruby
workmad3 has quit [Ping timeout: 245 seconds]
paulfm has joined #ruby
jkyle1 has quit [Quit: WeeChat 1.0.1]
plashchynski has quit [Quit: plashchynski]
adamjleonard has joined #ruby
startupality has quit [Quit: startupality]
agrinb has joined #ruby
livathinos has quit [Remote host closed the connection]
shadoi has quit [Quit: Leaving.]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
AlienPickle has joined #ruby
withnale_ has quit [Ping timeout: 252 seconds]
shredding has joined #ruby
leafybasil has quit [Remote host closed the connection]
<shevy> do people often keep old gems?
yfeldblum has joined #ruby
<shevy> when you have like 300 versions of a single gem, it seems kinda only semi-useful to keep them all...
SOLDIERz has joined #ruby
livathin_ has joined #ruby
momomomomo has joined #ruby
Grumelo has quit [Read error: Connection reset by peer]
giuseppesolinas has joined #ruby
wottam has joined #ruby
ponga has joined #ruby
<pipework> shevy: keep in what way? Like in my local cache?
agrinb has quit [Ping timeout: 250 seconds]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
AlienPickle has quit [Ping timeout: 250 seconds]
ismaelga has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 244 seconds]
marr has quit [Ping timeout: 252 seconds]
Timgauthier has joined #ruby
cajone has joined #ruby
Mon_Ouie has quit [Ping timeout: 245 seconds]
chrishough has joined #ruby
apxm has joined #ruby
x1337807x has quit [Remote host closed the connection]
attamusc has joined #ruby
x1337807x has joined #ruby
x1337807x has quit [Max SendQ exceeded]
RegulationD has quit [Remote host closed the connection]
x1337807x has joined #ruby
tunaCanBruh has joined #ruby
x1337807x has quit [Max SendQ exceeded]
kotay has quit [Quit: Connection closed for inactivity]
x1337807x has joined #ruby
jheg has quit [Quit: jheg]
jenrzzz has quit [Ping timeout: 246 seconds]
Timgauthier has quit [Max SendQ exceeded]
iamninja has quit [Ping timeout: 252 seconds]
bonhoeffer has quit [Quit: bonhoeffer]
ponga has quit [Quit: Leaving...]
Timgauthier has joined #ruby
RegulationD has joined #ruby
pixman has quit [Quit: Ухожу я от вас]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
riotjones has joined #ruby
OrbitalKitten has joined #ruby
rubytor has quit [Quit: No Ping reply in 180 seconds.]
rubytor has joined #ruby
kirun has joined #ruby
craigp has quit [Remote host closed the connection]
kalusn has joined #ruby
serivich has quit [Read error: Connection reset by peer]
pu22l3r has quit [Remote host closed the connection]
RegulationD has quit [Ping timeout: 244 seconds]
serivich has joined #ruby
jonr22 has joined #ruby
djbkd has quit [Remote host closed the connection]
blackmesa has quit [Ping timeout: 246 seconds]
riotjones has quit [Ping timeout: 252 seconds]
wald0 has quit [Quit: Lost terminal]
deimos has quit [Ping timeout: 265 seconds]
mkaesz has quit [Read error: No route to host]
davidhq has joined #ruby
giuseppesolinas has joined #ruby
deimos has joined #ruby
rjc has quit [Quit: Konversation terminated!]
mistermo_ is now known as mistermocha
mkaesz has joined #ruby
jonr22 has quit [Ping timeout: 265 seconds]
Macaveli has joined #ruby
serivich has quit [Read error: Connection reset by peer]
serivich has joined #ruby
baweaver has joined #ruby
dmbennett has joined #ruby
giuseppesolinas has quit [Client Quit]
mikecmpbll has joined #ruby
wldcordeiro has quit [Ping timeout: 255 seconds]
zachrab has joined #ruby
wldcordeiro has joined #ruby
Timgauthier has quit [Read error: Connection timed out]
bricker has quit [Ping timeout: 246 seconds]
leafybasil has joined #ruby
ferr has quit [Ping timeout: 250 seconds]
tvw has quit []
davidhq has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
dmbennett has quit []
echevemaster has joined #ruby
hanmac has quit [Ping timeout: 250 seconds]
zachrab has quit [Ping timeout: 245 seconds]
kenneth has joined #ruby
plashchynski has joined #ruby
agarie has quit [Remote host closed the connection]
adriancb has quit [Remote host closed the connection]
wldcordeiro has quit [Ping timeout: 244 seconds]
adriancb has joined #ruby
amdbcg has quit [Ping timeout: 250 seconds]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
phutchins has quit [Ping timeout: 244 seconds]
craigp has joined #ruby
piotrj has quit [Ping timeout: 252 seconds]
amdbcg has joined #ruby
piotrj has joined #ruby
IrishGringo has quit [Ping timeout: 265 seconds]
phutchins has joined #ruby
21WABDYLI has joined #ruby
baweaver has quit [Remote host closed the connection]
lidaaa has joined #ruby
Ankhers has quit [Read error: Connection reset by peer]
serivich has quit [Ping timeout: 252 seconds]
OrbitalKitten has joined #ruby
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
wldcordeiro has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
Pupeno_ has joined #ruby
shum has joined #ruby
einarj has joined #ruby
skj3gg has quit [Quit: ZZZzzz…]
jenrzzz has joined #ruby
valkyrka has joined #ruby
amdbcg has quit [Ping timeout: 244 seconds]
Pupeno has quit [Ping timeout: 265 seconds]
shadoi has joined #ruby
craigp has quit [Remote host closed the connection]
Pharaoh2_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
craigp has joined #ruby
jzigmund_ has joined #ruby
mcpierce` has joined #ruby
wldcordeiro has quit [Ping timeout: 264 seconds]
max96at|off is now known as max96at
bankair has quit [Ping timeout: 245 seconds]
surs has quit [Ping timeout: 245 seconds]
roqo has quit [Ping timeout: 245 seconds]
jzigmund has quit [Ping timeout: 245 seconds]
roqo has joined #ruby
mcpierce has quit [Ping timeout: 245 seconds]
dfedde has quit [Ping timeout: 245 seconds]
bankair has joined #ruby
dfedde has joined #ruby
xiq has joined #ruby
skj3gg has joined #ruby
IrishGringo has joined #ruby
hanmac has joined #ruby
mailo has joined #ruby
jalcine is now known as jacky
mailo has quit [Remote host closed the connection]
baweaver has joined #ruby
spyderman4g63 has quit [Remote host closed the connection]
sevvie has quit [Remote host closed the connection]
spyderman4g63 has joined #ruby
adamjleonard has quit [Quit: Leaving...]
jheg has joined #ruby
uptownhr has quit [Quit: uptownhr]
mxrguspxrt has quit []
agrinb has joined #ruby
craigp has quit [Remote host closed the connection]
IrishGringo has quit [Ping timeout: 265 seconds]
wldcordeiro has joined #ruby
craigp has joined #ruby
RegulationD has joined #ruby
amdbcg has joined #ruby
ptrrr has quit [Quit: ptrrr]
agarie has joined #ruby
alyosha has joined #ruby
sevvie has joined #ruby
phutchins has quit [Ping timeout: 246 seconds]
shadoi has quit [Quit: Leaving.]
karmatr0n has quit []
xploshioon has joined #ruby
agrinb has quit [Ping timeout: 250 seconds]
Pupeno has joined #ruby
bweston92 has joined #ruby
FooMunki has quit [Quit: FooMunki]
maknz has joined #ruby
cloaked1 has joined #ruby
cloaked1 has joined #ruby
Pupeno_ has quit [Ping timeout: 250 seconds]
commmmodo has quit [Quit: commmmodo]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
TTilus has quit [Ping timeout: 264 seconds]
AlexRussia has quit [Ping timeout: 240 seconds]
roolo has quit [Remote host closed the connection]
chrisja has quit [Quit: leaving]
roolo has joined #ruby
fabrice31 has joined #ruby
ArchRogem has quit [Quit: Textual IRC Client: www.textualapp.com]
21WABDYLI has quit [Read error: Connection reset by peer]
djbkd has joined #ruby
swgillespie has joined #ruby
ninjazach has joined #ruby
bricker has joined #ruby
fabrice31 has quit [Ping timeout: 256 seconds]
swgillespie has quit [Client Quit]
ghostpl_ has joined #ruby
tus has quit []
blackmesa has joined #ruby
cpt_yossarian has joined #ruby
IrishGringo has joined #ruby
roolo has quit [Quit: Leaving...]
hollywood has quit [Quit: Leaving]
marr has joined #ruby
perrier has quit [Remote host closed the connection]
werelivinginthef has quit [Remote host closed the connection]
ghostpl_ has quit [Ping timeout: 246 seconds]
mkaesz has quit [Read error: Connection reset by peer]
mkaesz has joined #ruby
<blizzy> so, I'm trying to run my program, however, I'm getting 'cannot load such file -- cleverbot (LoadError)'
OrbitalKitten has joined #ruby
<blizzy> however, the gem is installed. I'm using Ruby v 2.1.5p273 64bit.
willharrison has joined #ruby
stef204 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
baweaver has quit [Remote host closed the connection]
TTilus has joined #ruby
DonOtreply has quit [Quit: DonOtreply]
tus has joined #ruby
maknz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
skj3gg has quit [Quit: ZZZzzz…]
yfeldblum has joined #ruby
shazaum has quit [Quit: This computer has gone to sleep]
drkyro has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
juanpaucar has joined #ruby
x1337807x has joined #ruby
adriancb has quit [Ping timeout: 246 seconds]
x1337807x has quit [Max SendQ exceeded]
agarie has quit []
duncannz has joined #ruby
rubytor has quit [Ping timeout: 245 seconds]
dzho has quit [Ping timeout: 240 seconds]
skj3gg has joined #ruby
x1337807x has joined #ruby
adriancb has joined #ruby
x1337807x has quit [Max SendQ exceeded]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
_1_anyel has joined #ruby
x1337807x has joined #ruby
wldcordeiro has quit [Ping timeout: 250 seconds]
x1337807x has quit [Max SendQ exceeded]
x1337807x has joined #ruby
Xeago has joined #ruby
amdbcg has quit [Quit: amdbcg]
shredding has quit [Quit: shredding]
x1337807x has quit [Max SendQ exceeded]
blackmesa has quit [Ping timeout: 250 seconds]
OrbitalKitten has joined #ruby
livathin_ has quit [Remote host closed the connection]
x1337807x has joined #ruby
arup_r has quit [Quit: ChatZilla 0.9.91.1 [Firefox 35.0/2015010900]]
SOLDIERz has quit [Read error: Connection reset by peer]
einarj_ has joined #ruby
SOLDIERz has joined #ruby
duncannz has quit [Ping timeout: 252 seconds]
ldnunes has quit [Quit: Leaving]
einarj has quit [Read error: Connection reset by peer]
livathinos has joined #ruby
mary5030 has joined #ruby
Pupeno_ has joined #ruby
fandi has joined #ruby
gyrfalco has joined #ruby
<dosman711> does anyone here happen to use Redd, specifically the stream functionality? I'm having an issue where it just stops requesting after awhile
fandi has quit [Max SendQ exceeded]
coinrookie has joined #ruby
_1_anyel has quit [Remote host closed the connection]
rhg135 has quit [Quit: i is out]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Pupeno has quit [Ping timeout: 250 seconds]
jaygen has joined #ruby
rhg135 has joined #ruby
x1337807x has joined #ruby
maknz has joined #ruby
x1337807x has quit [Max SendQ exceeded]
fandi has joined #ruby
gyrfalco has quit [Client Quit]
ninjazach has quit [Remote host closed the connection]
wldcordeiro has joined #ruby
x1337807x has joined #ruby
x1337807x has quit [Max SendQ exceeded]
<willharrison> is it easy to find a job doing rails?
jefus has quit [Ping timeout: 265 seconds]
x1337807x has joined #ruby
banister has joined #ruby
x1337807x has quit [Max SendQ exceeded]
shredding has joined #ruby
<willharrison> and are there other frameworks that I can get jobs doing web dev with ruby that isnt rails?
x1337807x has joined #ruby
commmmodo has joined #ruby
Soda has joined #ruby
Musashi007 has joined #ruby
blizzy has quit [Ping timeout: 252 seconds]
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<pipework> willharrison: If you're not rubbish, it's easy to get a job doing rails.
dzho has joined #ruby
<pipework> There are factors involved. Mostly location, compensation, and culture though.
Pupeno has joined #ruby
<willharrison> pipework I don't know rails but don't think I'll be finding a job with my framework of choice. rails seems like the next best thing
<pipework> willharrison: Which framework is that?
<willharrison> laravel
<pipework> I don't really participate in the PHP community or job arena.
coinrookie has quit [Quit: Leaving]
<willharrison> yeah, laravel jobs are scarce
AlphaTech has quit [Quit: Connection closed for inactivity]
goodenough has quit [Remote host closed the connection]
<willharrison> and I don't want something doing drupal or codeignitor
coinrookie has joined #ruby
svoop has joined #ruby
<bootstrappm> willharrison: not that scarce! we use it
<bootstrappm> laravel is solid
wallerdev has quit [Quit: wallerdev]
<pipework> Ruby can be nice. And it's popular enough to get work easily.
Pupeno_ has quit [Ping timeout: 250 seconds]
<willharrison> bootstrappm yeah, I mean there are jobs, but just not a whole lot lol
<willharrison> or maybe they're just not on larajobs.com
<willharrison> pipework yeah, I started picking up ruby and I am likngi it so far
yfeldblum has quit [Remote host closed the connection]
pdoherty has quit [Quit: Leaving]
<willharrison> do yall know what the orlando market looks like for rails?
<willharrison> because I'm going to be moving there
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zB0hs_ has joined #ruby
jefus has joined #ruby
x1337807x has joined #ruby
x1337807x has quit [Max SendQ exceeded]
<willharrison> bootstrappm do you think it'd be hard to pick up rails if I have been using laravel? I have heard they are similarly structured
ferr has joined #ruby
<bootstrappm> not hard at all will
<bootstrappm> ^ willharrison
<willharrison> cool, good to know
<bootstrappm> laravel took a lot from Rails
OrbitalKitten has joined #ruby
x1337807x has joined #ruby
<bootstrappm> its lighter though so you'll have to be more patient about Rails
x1337807x has quit [Max SendQ exceeded]
<willharrison> ah ok
<bootstrappm> Rails has much better stuff from command line though
pietr0 has joined #ruby
<willharrison> better than l5 too?
x1337807x has joined #ruby
<bootstrappm> rails made migrations popular because they're so awesome there
<bootstrappm> haven't tried l5 yet
<willharrison> ah ok
Xeago has quit [Remote host closed the connection]
x1337807x has quit [Max SendQ exceeded]
nolic has joined #ruby
<willharrison> l5 has stepped up cli game a little from 4.2
<willharrison> not a whole lot but a little
<willharrison> why do yall use laravel instead of rails?
<havenwood> willharrison: Take a look at some of the nice new frameworks in Ruby too, like Volt and Roda.
<willharrison> havenwood cool, will do. which of those is more popular do you think?
agrinb has joined #ruby
goodenough has joined #ruby
<havenwood> willharrison: Roda is along the lines of Sinatra. It is great for APIs and has a nifty plugin system so it can be bare bones but capable.
Goodbeard has quit [Quit: Leaving]
einarj has joined #ruby
<willharrison> cool, I will check it out then
<havenwood> willharrison: Volt uses Ruby for both the backend like Rails but also for the frontend in place of Javascript using Opal.
plashchynski has quit [Quit: plashchynski]
<willharrison> hm, never heard of opal. is it like coffeescript?
DonOtreply has joined #ruby
<havenwood> willharrison: Volt does magic to let you write validations, etc, once and have them automagically work on both client and server.
<willharrison> that sounds very cool
einarj_ has quit [Ping timeout: 245 seconds]
einarj_ has joined #ruby
<pipework> havenwood: Roda is cool. Did you end up going to that talk? I missed it but watched the video later.
uptownhr has joined #ruby
<havenwood> pipework: Ditto, I missed the talk but watched it on Confreaks.
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<pipework> havenwood: It's a really cool thing, honestly.
<pipework> Can I query you?
<havenwood> pipework: ya
apxm has quit [Quit: Textual IRC Client: www.textualapp.com]
agrinb has quit [Ping timeout: 265 seconds]
x1337807x has joined #ruby
einarj__ has joined #ruby
einarj has quit [Ping timeout: 250 seconds]
fandi has quit [Quit: Leaving]
redondo has joined #ruby
tunaCanBruh has quit [Ping timeout: 265 seconds]
redondo has left #ruby [#ruby]
einarj_ has quit [Read error: Connection reset by peer]
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
baweaver has joined #ruby
x1337807x has quit [Client Quit]
wottam has joined #ruby
x1337807x has joined #ruby
tunaCanBruh has joined #ruby
x1337807x has quit [Max SendQ exceeded]
x1337807x has joined #ruby
baweaver has quit [Remote host closed the connection]
x1337807x has quit [Max SendQ exceeded]
x1337807x has joined #ruby
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
drkyro has joined #ruby
mary5030 has quit [Remote host closed the connection]
Soda has quit [Remote host closed the connection]
bootstrappm has quit [Quit: bootstrappm]
wldcordeiro has quit [Ping timeout: 256 seconds]
iszak has joined #ruby
blueOxigen has quit [Ping timeout: 255 seconds]
iszak has quit [Changing host]
iszak has joined #ruby
iszak has quit [Changing host]
iszak has joined #ruby
razieliyo has joined #ruby
wldcordeiro has joined #ruby
DonOtreply_ has joined #ruby
DonOtreply has quit [Ping timeout: 246 seconds]
DonOtreply_ is now known as DonOtreply
riotjones has joined #ruby
Lingo_ has joined #ruby
franzip has joined #ruby
zoo-zed has joined #ruby
pu22l3r has joined #ruby
livathinos has quit [Remote host closed the connection]
Pupeno_ has joined #ruby
bweston92 has quit [Quit: http://www.kiwiirc.com/ - A hand crafted IRC client]
shredding has quit [Quit: shredding]
leat has quit [Ping timeout: 246 seconds]
Pupeno has quit [Ping timeout: 256 seconds]
wldcordeiro has quit [Ping timeout: 245 seconds]
jonr22 has joined #ruby
riotjones has quit [Ping timeout: 246 seconds]
shredding has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
<shevy> pipework hmm no I mean, on rubygems.org - they keep all versions normally by default
<pipework> shevy: Yeah, doesn't that make sense?
<shevy> pipework but true, a secondary question would be, I guess, you as a user probably won't have any need for the older versions of such a gem?
<pipework> If the author wants to stop supporting a version, they can yank it.
<pipework> shevy: Surely I will if I have anything that depends on it.
baweaver has joined #ruby
maletor has quit [Quit: Computer has gone to sleep.]
giuseppesolinas has joined #ruby
anarang has quit [Quit: Leaving]
pu22l3r_ has joined #ruby
yfeldblum has joined #ruby
sambao21 has joined #ruby
jonr22 has quit [Ping timeout: 265 seconds]
pu22l3r has quit [Ping timeout: 252 seconds]
zenith_ has quit [Ping timeout: 246 seconds]
giuseppesolinas has quit [Client Quit]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
triple_b_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
wottam has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
wldcordeiro has joined #ruby
mloveless has quit [Remote host closed the connection]
max96at is now known as max96at|off
postmodern has joined #ruby
einarj has joined #ruby
fryguy91 has joined #ruby
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
einarj__ has quit [Ping timeout: 240 seconds]
plashchynski has joined #ruby
valkyrka has quit [Ping timeout: 246 seconds]
_ixti_ has quit [Read error: Connection reset by peer]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
fryguy9 has quit [Ping timeout: 250 seconds]
einarj_ has joined #ruby
lanemeyer has quit [Ping timeout: 252 seconds]
einarj has quit [Ping timeout: 252 seconds]
maletor has joined #ruby
einarj has joined #ruby
Pupeno_ has quit [Ping timeout: 250 seconds]
djbkd has quit [Remote host closed the connection]
beneggett has quit [Ping timeout: 250 seconds]
Pupeno has joined #ruby
beneggett has joined #ruby
einarj_ has quit [Ping timeout: 250 seconds]
SOLDIERz has quit [Quit: Be back later ...]
iamjarvo has joined #ruby
spyderma_ has joined #ruby
Morkel has quit [Quit: Morkel]
spyderm__ has joined #ruby
zB0hs_ has quit [Quit: Textual IRC Client: www.textualapp.com]
spyderman4g63 has quit [Ping timeout: 245 seconds]
willharrison has quit [Quit: Textual IRC Client: www.textualapp.com]
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
momomomomo has quit [Quit: momomomomo]
spyderma_ has quit [Ping timeout: 255 seconds]
havenwood has quit [Remote host closed the connection]
uptownhr has quit [Quit: uptownhr]
apeiros_ has joined #ruby
havenwood has joined #ruby
snockerton has joined #ruby
wallerdev has joined #ruby
patrick99e99 has quit [Ping timeout: 252 seconds]
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
patrick99e99 has joined #ruby
<snockerton> what does "params = {}" mean as a specific parameter to a method?
kenneth has joined #ruby
JDiPierro has quit [Remote host closed the connection]
wldcordeiro has quit [Ping timeout: 265 seconds]
skj3gg has quit [Quit: ZZZzzz…]
ptrrr has joined #ruby
Troy^ has joined #ruby
phutchins has joined #ruby
<wallerdev> it means if you dont pass anything itll default to {}
havenwood has quit [Ping timeout: 264 seconds]
<wallerdev> otherwise itll be replaced by what you pass
djbkd has joined #ruby
<wallerdev> >> def cool(params = {}); params; end; cool
<eval-in__> wallerdev => {} (https://eval.in/289227)
<snockerton> what format do i use to pass something to that parameter?
dling has quit []
<wallerdev> >> def cool(params = {}); params; end; cool(1)
<eval-in__> wallerdev => 1 (https://eval.in/289228)
agrinb has joined #ruby
<wallerdev> just pass it like a normal param
<wallerdev> and itll replace it
<wallerdev> so youd probably want to pass it like {something => something}
<wallerdev> if it wants a hash
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has quit [Remote host closed the connection]
kenneth has quit [Client Quit]
kenneth has joined #ruby
<snockerton> ah yes, must be a hash
freerobby has joined #ruby
dling has joined #ruby
uptownhr has joined #ruby
<bricker> Any way to get the `some_key: &key` reference when converting Hash to YAML?
Pupeno_ has joined #ruby
zachrab has joined #ruby
ghostpl_ has joined #ruby
<bricker> my guess is no
<wallerdev> i dont think yaml supports references
<wallerdev> i barely ever see yaml used anymore actually
<wallerdev> all about dat json
<bricker> wallerdev: pointers I mean
<bricker> whatever you call them
<bricker> <<: *key
Pupeno has quit [Ping timeout: 250 seconds]
Hijiri has quit [Ping timeout: 250 seconds]
wldcordeiro has joined #ruby
<bricker> YAML is still used in Rails a lot
<wallerdev> is it?
beneggett has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<bricker> yep
<wallerdev> for what? db config and fixtures?
<bricker> any kind of config
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<bricker> and fixtures, yes
<wallerdev> i thought the normal config was just pure ruby now
svoop has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<wallerdev> Rails::Config or something
<bricker> no
<bricker> database.yml, secrets.yml are two defaults
<wallerdev> config.active_record.schema_format = :ruby
<wallerdev> thats the config im thinking of
iamninja has joined #ruby
wldcordeiro has quit [Max SendQ exceeded]
momomomomo has joined #ruby
wldcordeiro has joined #ruby
AlienPickle has joined #ruby
OrbitalKitten has joined #ruby
ghostpl_ has quit [Ping timeout: 255 seconds]
xploshioon has quit [Quit: Leaving]
mloveless has joined #ruby
iamjarvo has joined #ruby
cphrmky has quit [Quit: Textual IRC Client: www.textualapp.com]
beneggett has joined #ruby
blackmesa has joined #ruby
bdamos has quit [Remote host closed the connection]
plashchynski has quit [Quit: plashchynski]
AlienPickle has quit [Ping timeout: 255 seconds]
shredding has quit [Quit: shredding]
Synthbread has joined #ruby
fabrice31 has joined #ruby
nolic has quit [Remote host closed the connection]
davidhq has joined #ruby
jimms has quit [Remote host closed the connection]
deol has joined #ruby
freezey has joined #ruby
mloveless has quit []
blanc11 has joined #ruby
blanc11 has left #ruby ["Leaving"]
Dopagod has joined #ruby
djbkd has quit [Remote host closed the connection]
giuseppesolinas has joined #ruby
fabrice31 has quit [Ping timeout: 256 seconds]
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
JDiPierro has joined #ruby
chrishough has joined #ruby
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mkaesz has quit [Remote host closed the connection]
last_staff has quit [Quit: last_staff]
maletor has quit [Quit: Computer has gone to sleep.]
wldcordeiro has quit [Ping timeout: 252 seconds]
einarj has quit [Read error: Connection reset by peer]
baweaver has quit [Remote host closed the connection]
einarj has joined #ruby
decoponio has quit [Quit: Leaving...]
giuseppesolinas has quit [Client Quit]
zoo-zed has quit [Quit: Leaving.]
droidburgundy has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
plashchynski has joined #ruby
DonOtreply has quit [Remote host closed the connection]
chrishou_ has joined #ruby
baweaver_ has joined #ruby
IrishGringo has quit [Ping timeout: 250 seconds]
Macaveli has quit [Ping timeout: 264 seconds]
momomomomo has quit [Quit: momomomomo]
coetry has joined #ruby
<coetry> How can I run a shell command with a ruby variable
veinofstars has joined #ruby
<coetry> I want to specifically, echo the results of a http response to a file
<veinofstars> i have a goliath app that makes non-blocking HTTP requests to other web APIs. One is twitter, and i want to to ensure that the twitter gem is making its requests asynchronously
<veinofstars> is there any easy way to do that? over-ride its HTTP mechanism somehow and make it sleep for 5 seconds?
Rapier- has quit [Quit: (null)]
chrishou_ has quit [Client Quit]
nosleep77 has joined #ruby
djbkd has joined #ruby
<weaksauce> coetry backticks will execute a shell
sambao21 has joined #ruby
<weaksauce> try out something like `pwd`
coinrookie has quit [Ping timeout: 250 seconds]
goodenough has quit [Remote host closed the connection]
paradisaeidae has joined #ruby
Troy^ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<weaksauce> >> `pwd`
<eval-in__> weaksauce => (https://eval.in/289241)
ninjazach has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
einarj has quit [Ping timeout: 244 seconds]
codeurge has quit [Quit: Textual IRC Client: www.textualapp.com]
nosleep77 has left #ruby [#ruby]
<waxjar> coetry, why don't write to the file directly, from Ruby?
deol has joined #ruby
codeurge has joined #ruby
coetry has quit [Quit: Lost terminal]
sambao21 has quit [Ping timeout: 245 seconds]
robustus is now known as robustus|Off
uptownhr has quit [Quit: uptownhr]
<waxjar> open("filename", "w+) { |file| file.write(html_response) }
franzip has quit [Quit: ...]
beneggett has quit [Quit: Textual IRC Client: www.textualapp.com]
aclearman037 has quit [Quit: I'm out!]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tier_ has quit [Ping timeout: 265 seconds]
aapole has quit [Ping timeout: 265 seconds]
baweaver_ has quit [Remote host closed the connection]
wldcordeiro has joined #ruby
coetry has joined #ruby
JDiPierro has quit [Remote host closed the connection]
Musashi007 has quit [Quit: Musashi007]
<coetry> If there is an SDK for a peice of software that exposes a C++ SDK, and I don't know C++, is there a way to bind that into a ruby API?
einarj has joined #ruby
<coetry> i know its not that trivial, but what are some projects that make this easier, can someone point me in the right direction?
sambao21 has joined #ruby
Hijiri has joined #ruby
athan has joined #ruby
freezey has quit []
hcnewsom has joined #ruby
ordepdev has joined #ruby
rfi has quit [Ping timeout: 255 seconds]
goodenough has joined #ruby
rfi has joined #ruby
yfeldblum has joined #ruby
mhenrixon is now known as mhenrixon|afk
gfawcettpq has joined #ruby
tag has quit [Quit: Leaving]
sinkensabe has quit [Read error: Connection reset by peer]
wldcordeiro has quit [Ping timeout: 246 seconds]
sinkensabe has joined #ruby
havenwood has joined #ruby
Lingo_ has quit [Quit: (null)]
mhenrixon|afk is now known as mhenrixon
coetry has quit [Quit: Lost terminal]
paradisaeidae has quit [Ping timeout: 240 seconds]
agrinb has quit [Remote host closed the connection]
blackmesa has quit [Quit: WeeChat 1.1.1]
agrinb has joined #ruby
iamninja_ has joined #ruby
serivich has joined #ruby
giuseppesolinas has joined #ruby
zachrab has quit [Remote host closed the connection]
ferr has quit [Ping timeout: 252 seconds]
blackmesa has joined #ruby
paradisaeidae has joined #ruby
zachrab has joined #ruby
rfi has quit [Ping timeout: 250 seconds]
gfawcettpq has quit [Ping timeout: 245 seconds]
AlienPickle has joined #ruby
agrinb has quit [Ping timeout: 265 seconds]
serivich has quit [Ping timeout: 255 seconds]
paulfm has quit [Quit: Goodbye]
drkush has quit [Ping timeout: 252 seconds]
uri_ has joined #ruby
zachrab has quit [Ping timeout: 246 seconds]
paulfm has joined #ruby
IrishGringo has joined #ruby
Guest123 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
iamninja_ has quit [Quit: WeeChat 1.1.1]
shum1 has quit [Remote host closed the connection]
rfi has joined #ruby
wldcordeiro has joined #ruby
brb3 has quit [Quit: <.<]
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
workmad3 has joined #ruby
mitchellhenke has joined #ruby
athan has quit [Read error: Connection reset by peer]
livathinos has joined #ruby
swgillespie has joined #ruby
athan has joined #ruby
ordepdev has quit [Remote host closed the connection]
AlienPickle has quit [Ping timeout: 250 seconds]
ordepdev has joined #ruby
livingstn has quit []
workmad3 has quit [Remote host closed the connection]
wldcordeiro has quit [Ping timeout: 245 seconds]
xiq has quit [Ping timeout: 245 seconds]
The_Phoenix has quit [Read error: Connection reset by peer]
uptownhr has joined #ruby
maknz has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
spider-mario has quit [Ping timeout: 246 seconds]
paulfm has quit [Quit: Goodbye]
livathinos has quit [Ping timeout: 246 seconds]
Jarboe has joined #ruby
Jarboe has quit [Client Quit]
athan has quit [Ping timeout: 264 seconds]
Jarboe has joined #ruby
paulfm has joined #ruby
havenwood has quit []
cjim has quit [Quit: (null)]
tvon has quit [Ping timeout: 264 seconds]
wldcordeiro has joined #ruby
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
uri_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tunaCanBruh has quit [Ping timeout: 240 seconds]
codeurge has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
adriancb has quit [Remote host closed the connection]
it0a has quit [Quit: WeeChat 1.1.1]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
tvon has joined #ruby
chrisbolton has joined #ruby
doodlehaus has quit [Read error: Connection reset by peer]
doodlehaus has joined #ruby
drkush has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<chrisbolton> Anyone familiar with a best practices way to do full text searching of ruby objects?
DadoCe has joined #ruby
sinkensabe has quit [Remote host closed the connection]
agrinb has joined #ruby
einarj_ has joined #ruby
jonr22 has joined #ruby
tunaCanBruh has joined #ruby
maletor has joined #ruby
ghostpl_ has joined #ruby
fryguy9 has joined #ruby
fryguy91 has quit [Ping timeout: 264 seconds]
doodlehaus has quit [Ping timeout: 246 seconds]
snockerton has quit [Ping timeout: 245 seconds]
spyderm__ has quit [Ping timeout: 264 seconds]
einarj has quit [Ping timeout: 252 seconds]
einarj__ has joined #ruby
maknz has joined #ruby
snockerton has joined #ruby
<eam> chrisbolton: you mean like #scan?
ordepdev has quit []
<chrisbolton> Maybe.
fantazo has quit [Quit: Verlassend]
einarj_ has quit [Ping timeout: 255 seconds]
<chrisbolton> I have an account it has 15 fields. Two of those fields are name and email.
paradisaeidae has quit [Ping timeout: 265 seconds]
einarj has joined #ruby
silkfox has quit [Ping timeout: 255 seconds]
<chrisbolton> I’d like to search my 50 accounts for someone with ‘cat’ in their name.
Mon_Ouie has joined #ruby
<eam> this is sounding like a rails / database question yeah?
wldcordeiro has quit [Ping timeout: 264 seconds]
jonr22 has quit [Ping timeout: 265 seconds]
ghostpl_ has quit [Ping timeout: 244 seconds]
<eam> the records and fields aren't stored in ruby?
<chrisbolton> Well, it’s a sinatra app.
<chrisbolton> And yeah, database question.
Swappticon has joined #ruby
m8 has quit [Quit: Sto andando via]
ninjazach has quit [Ping timeout: 245 seconds]
wldcordeiro has joined #ruby
OrbitalKitten has joined #ruby
baweaver has joined #ruby
<jhass> #yourdatabase will now the most efficient way to do it in your database
<jhass> *know, even
psyprus has quit [Ping timeout: 245 seconds]
<eam> though in general, LIKE is usually good enough
<eam> for arbitrary sql
<apeiros_> fulltext indices help
sambao21 has quit [Quit: Computer has gone to sleep.]
<apeiros_> a lot
einarj__ has quit [Ping timeout: 265 seconds]
<eam> apeiros_: though if we're dealing with 50 rows :)
<chrisbolton> eam: that’s just an example dataset.
<apeiros_> oh, yeah, 50 records - you can even search those manually
<chrisbolton> Something I’m testing off of.
blizzy has joined #ruby
<eam> chrisbolton: like jhass says it's a question of what database you're using, and they'll want to know the particulars about query volume and dataset size
jon-work has joined #ruby
paradisaeidae has joined #ruby
baweaver has quit [Remote host closed the connection]
<eam> generally indexes are huge, but they can be worse for some load types
<jon-work> I want to require a file and inspect all the things it defines (modules/classes/functions). is there a way?
<eam> (eg write heavy, rare reads)
einarj has quit [Remote host closed the connection]
hcnewsom has quit [Quit: hcnewsom]
Hijiri has quit [Ping timeout: 246 seconds]
<jhass> jon-work: not really, other than dumping the file to your screen instead
checkit has joined #ruby
<eam> well, you kinda can
<chrisbolton> K I’ll evaluate. Thanks.
chrisbolton has quit [Quit: chrisbolton]
<eam> eg, look at all the defined things, load the file, look at them again
<jon-work> ok how do you get all defined things
jerius has quit [Ping timeout: 256 seconds]
yfeldblum has quit [Remote host closed the connection]
sivasushruth has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<eam> >> [Module.constants.length, Module.constants[0, 5] ]
ellisTAA has joined #ruby
<eval-in__> eam => [110, [:Object, :Module, :Class, :BasicObject, :Kernel]] (https://eval.in/289259)
jenrzzz has quit [Ping timeout: 252 seconds]
sambao21 has joined #ruby
<eam> jon-work: depends on what you're interested in, but generally all things are inspectable
plashchynski has quit [Quit: plashchynski]
<eam> and enumerable
<ellisTAA> i’m trying to create a method that copies highlighted text. how can i check if something is highlighted?
phutchins has quit [Ping timeout: 240 seconds]
<eam> jon-work: you can also look at all methods, ivars, etc
<jon-work> ok so theres no way to go from filename => module it defines, I suppose I just have to provide both things as input since a file could define multiple modules, or even open up existing modules
<eam> jon-work: yes
<eam> pretty much you can only diff the entire state of the interpreter
sivasushruth has quit [Remote host closed the connection]
shazaum has joined #ruby
IrishGringo has quit [Ping timeout: 265 seconds]
dmbennett has joined #ruby
shazaum has joined #ruby
shazaum has quit [Changing host]
streaxy has quit []
athan has joined #ruby
juanpablo_ has quit [Quit: (null)]
<jon-work> oh I see, Module.constants literally gives me a list of all defined modules
<jon-work> and classes
juanpablo_ has joined #ruby
jmignault has quit [Quit: jmignault]
<shevy> :)
<ellisTAA> how can i tell ruby if something is highlighted by the user?
papandrea has joined #ruby
<shevy> ellisTAA what kind of question is this. do you mean in a browser? then you have to use javascript
<papandrea> 1list
sambao21 has quit [Quit: Computer has gone to sleep.]
<ellisTAA> shevy: i’m trying to create a text editor …
<wallerdev> lol
<wallerdev> thats really speciifc to whatever ui you're developing for
<wallerdev> has nothing to do with ruby
baweaver has joined #ruby
bonhoeffer has joined #ruby
<ellisTAA> wallerdev: by ui do you mean like website or application?
<wallerdev> yes
papandrea has quit []
<wallerdev> maybe youre making a windows app, or a mac app, or a website, or anything
<wallerdev> ruby has no concept of textboxes
sambao21 has joined #ruby
sambao21 has quit [Client Quit]
<ellisTAA> wallerdev: i wanted to create a text editor that i can use on my mac.. can you point me in the direction where i can begin learning how to do this? i’m clueless right now
<wallerdev> id just use obj-c and cocoa
<ellisTAA> obj-c = objective c?
<wallerdev> there might be some ruby bindings to cocoa
<ellisTAA> oh god lol
nunayerBeezwax has joined #ruby
<wallerdev> but imo ruby is awful for desktop app development
juanpablo_ has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
<ellisTAA> wallerdev: so what is ruby good for? websites?
<wallerdev> ui libraries like cocoa are HUGE
sivasushruth has joined #ruby
sambao21 has joined #ruby
<wallerdev> and having no static typing hurts a lot
<Senjai> wallerdev: Uhm what?
<Senjai> ellisTAA: Ruby is good for scripting. And for website development
<Senjai> ellisTAA: If you want to make your own text editor, for learning reasons, go ahead.
<Senjai> ellisTAA: If you want to make one you plan to use, just use one that already exists, or make it better
<jon-work> what does it mean when an instance method has an arity of -1?
<ellisTAA> snjai: i’m just doing it to learn and practice
athan has quit [Ping timeout: 245 seconds]
<Senjai> I would recommend C/C#/Java for learning that kind of stuff, in that order
Rhainur has quit [Ping timeout: 264 seconds]
fryguy9 has quit [Ping timeout: 256 seconds]
Rhainur has joined #ruby
<wallerdev> really? a desktop app in C to start?
bhaak has quit [Ping timeout: 256 seconds]
<Senjai> wallerdev: A text editor? Yes.
<wallerdev> good luck with that lol
<Senjai> wallerdev: Also note the C# and Java recommendations...
<wallerdev> you said to start with C though?
<Senjai> I would probably do it in C, or C++ using http://qt-project.org/
deol has joined #ruby
<wallerdev> and he's doing mac dev which is cocoa
Takle has joined #ruby
<Senjai> Ah. I'd still use C.
<wallerdev> you can't even do cocoa with just C :|
* Senjai shrugs
<Senjai> You cant do it with C++?
bhaak has joined #ruby
dfinninger has quit [Remote host closed the connection]
<Senjai> I doubt that is true.
psyprus has joined #ruby
dmbennett has quit [Remote host closed the connection]
ninedragon has joined #ruby
x1337807x has joined #ruby
drkyro has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
freerobby has quit [Quit: Leaving.]
<ellisTAA> sorry for this question: but i tried to learn ruby so that i can learn rails and build websites… what sort of things do people use ruby for? build websites and apps? and in order to build websites and apps i need to use a UI like html?
Vile` has joined #ruby
<baweaver> System Administration, Automation and Tooling
<baweaver> if you're looking for a GUI builder or forms application, probably not a good idea.
codecop has quit [Remote host closed the connection]
xymbol has joined #ruby
<Senjai> Even then, just go with Qt
<baweaver> Ruby is in the same league as Python and Perl in terms with Sysadmin type work
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jenrzzz has quit [Ping timeout: 264 seconds]
<baweaver> Chef, Puppet, Brew, and a few other prominent tools are Ruby
<ellisTAA> if i want to build an android app, do i use html, css, javascript, ruby and a database? or do apps use a different UI?
Pupeno has joined #ruby
Pupeno has joined #ruby
<Senjai> baweaver: Aye, aka scripting :P
checkit has quit [Quit: (null)]
* baweaver hasn't read up the history
Pupeno_ has quit [Read error: Connection reset by peer]
<Senjai> ellisTAA: High performance apps abstract the native implimentations away and build a common implimentation on top of it
<Senjai> If you just want to build an android app, use something like phonegap, or the actual java sdk
<Senjai> depending on how performant you need it to be
<baweaver> frameworks do, I don't know about qualifying that as high performance though
<baweaver> it depends really
<ellisTAA> sanjai: what does that mean abstract, native implementations, build, common implemenation?
snockerton has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<baweaver> you could use ruboto, jruby, or a few others as welll.
<baweaver> well*
zacts has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
<baweaver> a framework (like Rails, phonegap, rubymotion, ruboto, etc) is meant to substantially speed up development by abstracting tedium
swgillespie has joined #ruby
snockerton has joined #ruby
willharrison has joined #ruby
adriancb has joined #ruby
<Senjai> Dont use ruby to develope mobile apps.... Wouldn't recommend
<Senjai> The api for them, sure
nunayerBeezwax has left #ruby ["Leaving..."]
<Senjai> ellisTAA: The same way how apps used to be developed for multiple platforms before cross platform abstractions came out
<baweaver> JRuby it'd be pretty well irrelevant, though at that point I would just use Scala instead if Java is too painful
<baweaver> I still think native apps are going out the door soon enough
cloaked1 has quit [Quit: leaving]
<Senjai> baweaver: It really doesnt matter the variant.
<Senjai> baweaver: Lol, what makes you think that?
<baweaver> we had a good thing going with the web
<baweaver> one platform, any device
<Senjai> baweaver: Protip: Javascript is fucking dead ass slow
<baweaver> we need to get back there
<Senjai> baweaver: There is a reason windows isn't made in it
<baweaver> protip: false
OrbitalKitten has quit [Quit: Textual IRC Client: www.textualapp.com]
axl_ has quit [Quit: axl_]
plashchynski has joined #ruby
<ellisTAA> senjai: thanks for the info, there’s just so much to learn for someone who doesn’t know much
<ellisTAA> baweaver: ty for the info
Nuck has joined #ruby
livathinos has joined #ruby
<Senjai> baweaver: It is no slower than ruby or any other interpreted garbage collected language. Therfore is not adequate for performant apps.
kirun has quit [Quit: Client exiting]
<baweaver> that's why you use SOA to compensate.
<baweaver> abstract the entirety of data to a services layer
OrbitalKitten has joined #ruby
crueber has quit [Quit: Leaving.]
<baweaver> Using something like Clojure, Elixir, or Erlang you can still hot swap to your hearts content
Troy^ has joined #ruby
<baweaver> often times without giving up much in terms of speed.
<Senjai> Uhm, what. So I have to wait over an API for something to calculate a vector
<Senjai> That's just not a thing
<Senjai> Leaderboards, sure,
<Senjai> but that's not where performance is an issue
hiyosi has joined #ruby
bonhoeffer has quit [Quit: bonhoeffer]
<ellisTAA> is ruby basically a server side language?
<weaksauce> it's a scripting language.
<shevy> ruby is for everything - save for when you require speed
<Senjai> ellisTAA: Ruby is whatever you want it to be, because it can make things.
fabrice31 has joined #ruby
<baweaver> ruby is used to build things fast
<baweaver> not necessarily run them fast.
<Senjai> ellisTAA: Just like every other programming/scripting language ever.
<shevy> ellisTAA and you don't need to write an editor, use ruby-gnome bindings, then you can use all gnome widgets (if a binding has been written)
<shevy> Gtk::SourceView and Gtk::Text*
<baweaver> but the amount of time that it takes is often so low an order of magnitude that it doesn't matter and the dev time is far more valuable.
sivasushruth has quit [Remote host closed the connection]
JimmyNeutron has joined #ruby
<ellisTAA> weaksauce: what does that mean! javascript is a scripting language isnt it? i wouldnt use javascript to interact with a server database would i?
slyv has joined #ruby
<baweaver> NodeJS
sivasushruth has joined #ruby
<baweaver> you could
mikepack has quit [Remote host closed the connection]
<weaksauce> yeah nodejs
<baweaver> or IO.JS
<weaksauce> scripting means that it's interpreted as you run it
<baweaver> is that what the cool kids are using now?
<ellisTAA> senjai: if it is whatever i want it to be, i can build a desktop app with it
sivasushruth has quit [Remote host closed the connection]
<baweaver> I can jump off a cliff whilst whistling dixie
<baweaver> doesn't make it that effective though
<Senjai> ellisTAA: Sure, it's just not the primary use case, so you'll have to do a lot of heavy lifting you wouldnt have to do in languages that were tooled for it
tunaCanBruh has quit [Ping timeout: 246 seconds]
<weaksauce> ellisTAA look up rubymotion
<Senjai> ellisTAA: You could build an operating system in ruby if you wanted too
duncannz has joined #ruby
<ellisTAA> weaksauce: so scripting means it doesnt have to be compiled, but non-scripting languages need to be compiled before they are run?
<baweaver> If you're a particular type of masochist, yes
<baweaver> bingo
<ellisTAA> senjai: i see
<baweaver> unless you get into the wonderful world of functional programming with Erlang and Lisp
<baweaver> then you get fun REPLs
<Senjai> ellisTAA: scripting = interpreted by another process, compilation = compiled down to something a VM can work with, or to machine code that directly interacts with the OS/CPU
<weaksauce> it's just what it's classified as a language ellisTAA
<baweaver> Lisp and Erlang are in a whole different bucket of fun
<baweaver> they're technically both
<weaksauce> you have functional, logic, scripting, imperative, etc. some languages span a few disciplines
<baweaver> code as data, and data as code.
ptrrr has quit [Quit: ptrrr]
<baweaver> Prolog is a trip too
fabrice31 has quit [Ping timeout: 250 seconds]
<weaksauce> yeah I dislike prolog but it makes some classes of problems easier
<ellisTAA> so when creating a program you have to have a UI, database, and a language? is there anything else i’m mising?
<baweaver> Oz and Mozart are about as multi-discipline as you can jam in a language
m10n has joined #ruby
<weaksauce> since when do you have to have a database
<ellisTAA> and these together are called a stack?
<baweaver> programs can use multiple languages
<baweaver> a stack is a set of tech used to make something
<baweaver> think: Rails, MEAN.io
<baweaver> Rails is still Ruby / JS
<baweaver> unless you're using Opal, but that's a different matter.
iszak has quit [Quit: Page closed]
<ellisTAA> so without splitting hairs, when planning to build some software you need to fdetermine what stack youll use?
ZoanthusR has joined #ruby
n_blownapart has joined #ruby
<baweaver> when planning
<baweaver> you should know your problem domain first
ellisTAA has quit [Quit: ellisTAA]
ferr has joined #ruby
* baweaver waits for ellis to come back online
jenrzzz has joined #ruby
blizzy has quit [Ping timeout: 256 seconds]
Swappticon has quit [Quit: Textual IRC Client: www.textualapp.com]
sivasushruth has joined #ruby
ellisTAA has joined #ruby
<baweaver> Guess not
<baweaver> oh
<baweaver> nevermind
<baweaver> and thoroughly so at that. That defines the correct stacks to use more than what's new and shiny.
<ellisTAA> got disconnected
<baweaver> If you want a live chat app with websockets, Rails is probably a really bad idea.
<baweaver> Node and Erlang would be far better suited.
<baweaver> Framework wise MEAN/Sails.js and Phoenix respectively.
<baweaver> Fair warning, I'm extremely biased against Java
<ellisTAA> baweaver: so first thing one does is know the problem domain, then determine what stack is best?
<baweaver> yep
<ellisTAA> got it …
meschi has joined #ruby
<ellisTAA> and what sort of products are there, i know of websites, mobile apps, desktop apps… any others?
<baweaver> A wise man was once told he had 6 hours to fell a tree. He spent the first 4 sharpening his axe.
<ellisTAA> nice
<baweaver> SaaS, PaaS, AaaS, tons
<baweaver> just focus on what you NEED to do
charliesome has joined #ruby
sivasushruth has quit [Remote host closed the connection]
jheg has quit [Quit: jheg]
sivasushruth has joined #ruby
Lucky___ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
kalusn has quit [Remote host closed the connection]
ninjazach has joined #ruby
sivasushruth has quit [Remote host closed the connection]
sivasushruth has joined #ruby
<baweaver> the language, framework, stack, and everything else should be a consequence of your research, not the reason for it.
<shevy> I like beavers
jon-work has left #ruby ["Leaving"]
<Senjai> Honestly, the aaS
PaulCapestany has quit []
<Senjai> aaS's are mostly just buzzwords for everything these days
<Senjai> part of corporate double speak
deol has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<Senjai> Facebook is now social networking as a service now, didn't you know?
sambao21 has quit [Quit: Computer has gone to sleep.]
PaulCapestany has joined #ruby
m10n has quit [Quit: leaving]
<ellisTAA> so in Excel, the interface is created by one language, and another languages interacts with a database? is that right?
duncannz has quit [Ping timeout: 250 seconds]
sivasushruth has quit [Remote host closed the connection]
paulfm has quit [Ping timeout: 265 seconds]
jenrzzz has quit [Ping timeout: 246 seconds]
sivasushruth has joined #ruby
agrinb has quit [Remote host closed the connection]
* baweaver shrugs
livathinos has quit []
<mikecmpbll> you're an aaS
<baweaver> I just don't bother with buzzwords but they're still there
sivasushruth has quit [Remote host closed the connection]
sivasushruth has joined #ruby
agrinb has joined #ruby
<baweaver> excel is its own beast
<baweaver> probably C++ in visual studio
<baweaver> which is an all-inclusive wonderland
sivasushruth has quit [Remote host closed the connection]
<weaksauce> excel is a program not a general programming language. it has a scripting language built into it but it's not meant to do all that much
sivasushruth has joined #ruby
<Senjai> mikecmpbll: <3
<mikecmpbll> :')
snath has quit [Ping timeout: 252 seconds]
sivasushruth has quit [Remote host closed the connection]
roolo has joined #ruby
sivasushruth has joined #ruby
<Senjai> One could not make an operating system in excel. But it would be HELLA funny
<mikecmpbll> fuck, that's my next project sorted.
* Senjai bows before mikecmpbll
* mikecmpbll loads up a worksheet
<ellisTAA> i dont get how the make the graphics though …
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> excel is a buzzword too!
<shevy> I'd like to rename it to crapel
wldcordeiro has quit [Ping timeout: 250 seconds]
<baweaver> it's like rule 34, everything is a corporate buzzword
<shevy> ellisTAA everything is data
<baweaver> and data is everything :D
<shevy> ellisTAA in a framebuffer, you typically may have some array struct in C
<Senjai> ellisTAA: Dude, sorry man, but Im going to have to be a bit harsh.
<Senjai> The best way to learn how to code
<Senjai> is to code
<Senjai> and stop asking about it
<ellisTAA> so if i wanted to make an app, i would use some UI that creates the interface structure?
<baweaver> bingo ^
<shevy> ellisTAA you should get into SDL, it is easy, and you can make widgets etc... a game
<baweaver> what exactly do you want to build?
uptownhr has quit [Quit: uptownhr]
<Senjai> No more bait
<shevy> :)
agrinb has quit [Ping timeout: 265 seconds]
<shevy> ellisTAA WHAT DO YOU WANT TO BUILD!!!
<Senjai> Come back with code and relevant questions please :P
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<paradisaeidae> gem is great. How do I list have-installed gems? How do I manage/delete them?
<ellisTAA> shevy: THINGS! i’m just trying to get a visual of all the pieces so i understand how the machine (metaphor) works so that i can plan how to build something
<baweaver> by googling
ych4k3r has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<paradisaeidae> ..half-installed....
<Senjai> ellisTAA: Google is your friend. I use it for 40% of my day, and I'm a "professional"
<baweaver> because that's a very trivial one to find
<baweaver> well, that was referring to paradisaeidae
<baweaver> but that works too
<Senjai> But most of all, I suggest writing things
<ellisTAA> senjai: google isn’t useful if you don’t know what to google
<baweaver> codewars.com
<baweaver> have fun
<Senjai> ellisTAA: I can google all the questions you've asked
RegulationD has quit [Remote host closed the connection]
<Senjai> and get similarish results
nfk has quit [Quit: yawn]
<ellisTAA> senjai: there’s something called unknown unknowns, they make the internet less useful for someone compared to someone who is using the internet and knows what unknowns they dont know
<baweaver> here's the terrifying part
<baweaver> no matter how much you ask
<baweaver> or study
<baweaver> or lear
blizzy has joined #ruby
<baweaver> n
<baweaver> you won't come close to knowing everything
yfeldblum has joined #ruby
<mikecmpbll> speak for yourself.
<Senjai> You dont know what to ask because you havent done anything.
* mikecmpbll shiens
<mikecmpbll> shines*
<Senjai> Once you do something, encounter an issue, you have a question that can be answered
atomi has quit [Remote host closed the connection]
<mikecmpbll> well, i've lost the shine immediately.
<baweaver> mikecmpbll is an exception
<baweaver> they're still studying him at Google
<Senjai> everything else is just theory, and a waste of everyone elses time if you never actually do anything with the knowledge we're giving out
<baweaver> where do you think they get all the answers from?
<mikecmpbll> &:)
OrbitalKitten has joined #ruby
<ellisTAA> senjai: you could encounter an hundred issues before realizing the the thing preventing you from understanding something. we disagree on learning, that’s fine.
<sevvie> ellisTAA, unknown unknowns can be turned into known unknowns by starting somewhere simple, such as a quick google for "introduction to programming concepts", with a piece of paper and pen beside you, and writing down all the phrases and concepts that you don't understand. As you work through the article, cross out concepts that are explained, and then google the concepts that are still unknown to you.
sivasushruth has quit [Remote host closed the connection]
snath has joined #ruby
paradisaeidae has quit [Ping timeout: 252 seconds]
n_blownapart has quit []
snath has quit [Client Quit]
<Senjai> ellisTAA: No dude. If you want to understand physics, you start by throwing a rock. Noticing it falls down, you can ask why it does.
atomi has joined #ruby
<Senjai> Instead your asking: How to physics?
snath has joined #ruby
cr3 has quit [Quit: leaving]
jobewan has quit [Quit: Leaving]
thumpba has quit [Ping timeout: 252 seconds]
Xoro has quit [Read error: Connection reset by peer]
<ellisTAA> senjai: that’s your approach to learning physics, my approach is to read physics 101, then 102 etc
plashchynski has quit [Quit: plashchynski]
<Senjai> ellisTAA: Then go read a book..
<baweaver> It's much more effective (and admittedly entertaining to us) to run into a brick wall a few times
<mikecmpbll> Senjai: your analogy game is on point.
<mikecmpbll> +1
<Senjai> mikecmpbll: <3
<ellisTAA> senjai: i’m trying to gather the topics to then read
swgillespie has joined #ruby
Xoro has joined #ruby
<Senjai> Go read that
Zai00 has quit [Quit: Zai00]
<Senjai> If you have a problem you want to solve, google what language is best to solve that problem
<Senjai> then read a highly rated book on that language
<Senjai> BAM
<baweaver> I posted that a while back
jenrzzz has joined #ruby
bonhoeffer has joined #ruby
<Senjai> Dont ask us which one to rad
Cadillactica has joined #ruby