apeiros changed the topic of #ruby to: Ruby 2.1.5; 2.0.0-p598; 1.9.3-p551: http://ruby-lang.org || Paste >3 lines of text on http://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
hmsimha has quit [Ping timeout: 252 seconds]
chipotle has joined #ruby
chipotle has quit [Read error: Connection reset by peer]
havenwood has quit [Remote host closed the connection]
dx7iso has quit [Remote host closed the connection]
chipotle has joined #ruby
dx7iso has joined #ruby
FooMunki_ has joined #ruby
tspop has joined #ruby
jottr has quit [Quit: WeeChat 1.0.1]
DonOtreply has quit [Ping timeout: 240 seconds]
TPBallbag has quit []
DonOtreply has joined #ruby
crdpink has joined #ruby
crdpink2 has quit [Ping timeout: 258 seconds]
ChoiKyuSang has quit [Quit: Going offline, see ya! (www.adiirc.com]
ChoiKyuSang has joined #ruby
havenwood has joined #ruby
Pupeno has joined #ruby
renderful has joined #ruby
Pupeno has quit [Remote host closed the connection]
Yzguy has quit [Ping timeout: 258 seconds]
chipotle has quit [Max SendQ exceeded]
fandi has quit [Quit: Leaving]
TgMts_ has quit [Ping timeout: 244 seconds]
Azure has joined #ruby
pu22l3r has joined #ruby
DonOtreply has quit [Quit: DonOtreply]
renderful has quit [Ping timeout: 252 seconds]
charliesome has joined #ruby
echooo has joined #ruby
Guest64 has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
pu22l3r has quit [Ping timeout: 255 seconds]
ChoiKyuSang has quit [Quit: Going offline, see ya! (www.adiirc.com]
icebourg has joined #ruby
apurcell has joined #ruby
icebourg has quit [Max SendQ exceeded]
dx7iso has quit [Remote host closed the connection]
icebourg has joined #ruby
icebourg has quit [Max SendQ exceeded]
ChoiKyuSang has joined #ruby
ponga has joined #ruby
icebourg has joined #ruby
Guest94661 is now known as marahin
marahin has quit [Changing host]
marahin has joined #ruby
chipotle has joined #ruby
xymbol_____ has joined #ruby
dx7iso has joined #ruby
zacts has quit [Read error: Connection reset by peer]
apurcell has quit [Ping timeout: 244 seconds]
xymbol____ has quit [Ping timeout: 244 seconds]
volk_ has quit [Read error: Connection reset by peer]
chipotle has quit [Max SendQ exceeded]
ponga has quit [Ping timeout: 240 seconds]
Photism has joined #ruby
AlexRussia has quit [Ping timeout: 265 seconds]
volk_ has joined #ruby
AlexRussia has joined #ruby
frog|OFF has quit [Ping timeout: 258 seconds]
Guest64 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
heftig has quit [Ping timeout: 258 seconds]
heftig has joined #ruby
echooo has quit [Ping timeout: 240 seconds]
AlexRussia has quit [Ping timeout: 256 seconds]
echooo has joined #ruby
AlexRussia has joined #ruby
mary5030 has joined #ruby
green-big-frog has joined #ruby
freerobby has joined #ruby
dc_ has joined #ruby
jrhe has quit [Quit: jrhe]
agrinb has quit [Remote host closed the connection]
echooo has quit [Remote host closed the connection]
Stalkr_ has quit [Quit: Leaving...]
tspop has quit [Remote host closed the connection]
Scripore has quit [Ping timeout: 240 seconds]
devoldmx33 has joined #ruby
echooo has joined #ruby
charliesome has quit [Quit: zzz]
zorak8 has quit [Ping timeout: 250 seconds]
blizzy has joined #ruby
Takle has quit [Remote host closed the connection]
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
mroach has joined #ruby
devoldmx has quit [Ping timeout: 240 seconds]
robbyoconnor has quit [Read error: Connection reset by peer]
marr has quit []
robbyoconnor has joined #ruby
picassoo has joined #ruby
chipotle has joined #ruby
mroach has quit [Client Quit]
boadie has quit [Remote host closed the connection]
mroach has joined #ruby
nateberkopec has quit [Quit: Leaving...]
armyriad has joined #ruby
cibs has quit [Read error: Connection reset by peer]
tkuchiki has joined #ruby
Areessell has quit [Ping timeout: 258 seconds]
Takle has joined #ruby
triple_b has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
VBlizzard has joined #ruby
Kricir has quit [Remote host closed the connection]
anaeem1 has joined #ruby
anaeem1 has quit [Read error: Connection reset by peer]
x1337807x has joined #ruby
Joufflu has quit [Read error: Connection reset by peer]
pwnz0r has joined #ruby
VBlizzard has quit [Client Quit]
dx7iso has quit [Remote host closed the connection]
TgMts has joined #ruby
blizzy has quit [Read error: Connection reset by peer]
charliesome has joined #ruby
Takle has quit [Ping timeout: 255 seconds]
lampd1 has quit []
startupality has quit [Quit: startupality]
Guest26597 has quit [Ping timeout: 252 seconds]
dx7iso has joined #ruby
banister has quit [Read error: Connection reset by peer]
Calmoto has left #ruby ["Leaving"]
banister has joined #ruby
blizzy has joined #ruby
hamakn has joined #ruby
startupality has joined #ruby
fandi has joined #ruby
mrdtt has joined #ruby
banister has quit [Client Quit]
kiyote23 has joined #ruby
CrazyM4n has joined #ruby
kiyote23 has quit [Remote host closed the connection]
narph has quit [Quit: Connection closed for inactivity]
elastik has joined #ruby
yfeldblum has quit [Remote host closed the connection]
mrdtt has left #ruby [#ruby]
deryl has joined #ruby
gsd has joined #ruby
adriancb has quit [Remote host closed the connection]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> dumdedum
blizzy has quit [Read error: Connection reset by peer]
<deryl> I'm baaack!
bears_ has quit [Ping timeout: 240 seconds]
<deryl> picassoo piss off
zacts has joined #ruby
<deryl> damn onjoin spam bots
blizzy has joined #ruby
agrinb has joined #ruby
Neomex has quit [Read error: Connection reset by peer]
blizzy has quit [Client Quit]
<majeure> Pardon?
agrinb_ has joined #ruby
blizzy has joined #ruby
<deryl> [20:17:31] <picassoo> show gratis (solo hooy) --> http://s422803032.mialojamiento.es/
<zacts> I hate spam
<deryl> soon as i joined it queried
<deryl> gem update
robustus has quit [Ping timeout: 255 seconds]
<shevy> deryl yeah spambots are lurking around here
msgodf has quit [Ping timeout: 244 seconds]
agrinb has quit [Ping timeout: 258 seconds]
<deryl> yeah most networks are loaded. just suprised its surviving in this channel
blizzy has quit [Client Quit]
blizzy has joined #ruby
egn has joined #ruby
agrinb_ has quit [Ping timeout: 258 seconds]
robustus has joined #ruby
george2 has quit [Ping timeout: 258 seconds]
robbyoconnor has quit [Read error: Connection reset by peer]
robbyoconnor has joined #ruby
tmroyal has joined #ruby
blizzy has quit [Client Quit]
Pupeno has joined #ruby
Pupeno has joined #ruby
Pupeno has quit [Changing host]
blizzy has joined #ruby
ponga has joined #ruby
VBlizzard has joined #ruby
zacts has quit [Quit: leaving]
blizzy has quit [Disconnected by services]
VBlizzard is now known as blizzy
VBlizzard has joined #ruby
tmroyal has quit [Quit: tmroyal]
<egn> hi, is there a better way to run a _module_ method automatically when it's loaded? (not when it's included in a class... just loaded) here's what i'm doing now: https://gist.github.com/eriknomitch/8231759ebcaa5d1f7305
ravster has joined #ruby
tmroyal has joined #ruby
george2 has joined #ruby
AlSquire has quit [Quit: This computer has gone to sleep]
Pupeno has quit [Ping timeout: 240 seconds]
ponga has quit [Ping timeout: 245 seconds]
<apeiros_> egn: all code in the module's body is also run
<egn> apeiros_: ah ok, thanks
<egn> easy enough
mjmac has quit [Ping timeout: 258 seconds]
jimmyhoughjr has joined #ruby
TgMts has quit [Ping timeout: 252 seconds]
barderer has quit [Ping timeout: 240 seconds]
commmmodo has joined #ruby
apurcell has joined #ruby
mjmac has joined #ruby
george2 has quit [Excess Flood]
Scripore has joined #ruby
bonhoeffer has joined #ruby
<godd2> egn just know that if you use autoload to load a module, that code won't get run until you reference the module at least once
siwica has quit [Remote host closed the connection]
<godd2> but you have to autoload explicitly, so you probably don't have to worry about it
apurcell has quit [Ping timeout: 240 seconds]
siwica has joined #ruby
startupality has quit [Quit: startupality]
jenrzzz has quit [Ping timeout: 245 seconds]
<egn> godd2: thanks, shouldn't be a problem for my usage
<egn> godd2: although, it would be a problem if it gets executed twice. do i have to protect against that?
<godd2> egn, no, if you require a file twice, ruby wont load it again
<egn> godd2: cool, thanks
niftylettuce has quit [Quit: Connection closed for inactivity]
pu22l3r has joined #ruby
bears has joined #ruby
conniemj has joined #ruby
Liquori has joined #ruby
hamakn has quit [Remote host closed the connection]
pwnz0r has quit [Remote host closed the connection]
fandi has quit [Ping timeout: 256 seconds]
jeff-ooh_ has joined #ruby
mliq has quit [Ping timeout: 244 seconds]
dc_ has quit [Remote host closed the connection]
bears has quit [Ping timeout: 258 seconds]
jeff-ooh has quit [Ping timeout: 244 seconds]
Fusl has quit [Quit: Contact: http://hallowe.lt/]
lkba has quit [Ping timeout: 258 seconds]
jeff-ooh has joined #ruby
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby
elastik has quit [Ping timeout: 272 seconds]
zacts has joined #ruby
jeff-ooh_ has quit [Ping timeout: 240 seconds]
conniemj has quit [Quit: (null)]
robbyoconnor has quit [Read error: Connection reset by peer]
jeff-ooh has quit [Ping timeout: 244 seconds]
robbyoconnor has joined #ruby
robbyoconnor has quit [Changing host]
robbyoconnor has joined #ruby
jeff-ooh has joined #ruby
TheNet has joined #ruby
dx7iso has quit [Remote host closed the connection]
george2 has joined #ruby
dx7iso has joined #ruby
rpag has quit [Ping timeout: 264 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jeff-ooh has quit [Remote host closed the connection]
Takle has joined #ruby
arescorpio has joined #ruby
robbyoconnor has quit [Ping timeout: 258 seconds]
r0bby_ has joined #ruby
devoldmx has joined #ruby
devoldmx33 has quit [Ping timeout: 255 seconds]
<deryl> christ this is nuts. bigdecimal and io-console refuse to build on win32. sigh. always something
<shevy> abandon your wicked windows past
<shevy> enter the linux
<deryl> shevy trust me, this is making me miss my linux more and more
dx7iso has quit [Ping timeout: 272 seconds]
<shevy> I just add salt into your wound
<deryl> this shit is just frakin evil!
<deryl> yea you're getting good at that ;)
<godd2> shevy Have you heard of Guru Laghima?
<deryl> you evil evil grinch
ferr has joined #ruby
hamakn has joined #ruby
<shevy> godd2 nope, sounds very important though
tokik has joined #ruby
<shevy> imagine to hear ... Guru shevy
Takle has quit [Ping timeout: 272 seconds]
<shevy> except that I consider myself to be quite clueless
<godd2> Let go your earthly tether for all it does is drag you down. Enter the void.
<godd2> I thought you were quoting him when you said abandon your wicked windows past and enter the linux
pu22l3r has quit [Remote host closed the connection]
dx7iso has joined #ruby
barderer has joined #ruby
ponga has joined #ruby
hmsimha has joined #ruby
<shevy> no
<shevy> I quoted myself
<shevy> it's the best way to memorize quotes too
TheNet has quit [Remote host closed the connection]
<deryl> interpolating shevy?
TheNet has joined #ruby
FooMunki_ has quit [Quit: FooMunki_]
<shevy> rewriting rewriting rewriting
<deryl> lol
Megtastique has joined #ruby
sankaber has joined #ruby
agrinb has joined #ruby
ponga has quit [Remote host closed the connection]
dorei has joined #ruby
ponga has joined #ruby
barderer has quit [Ping timeout: 240 seconds]
Synchunk has quit [Read error: Connection reset by peer]
<hfp> Hey all, is there a way to install Ruby on a new system without having to compile it? I am installing 2.1.5 with rbenv and it's already been compiling for 20 minutes
<hfp> on Debian
Techguy305|2 has quit [Read error: Connection reset by peer]
agrinb has quit [Ping timeout: 258 seconds]
Techguy305|2 has joined #ruby
ponga has quit [Ping timeout: 240 seconds]
egn has left #ruby [#ruby]
redians has joined #ruby
<redians> hi everyone is anyone available tomorrow from 8 - 10 am pst?
george2 has quit [Ping timeout: 258 seconds]
Synchunk has joined #ruby
Mia has quit [Read error: Connection reset by peer]
<shevy> hfp 20 minutes sounds way off
<shevy> when I compile from source, it takes about 5 minutes
mgberlin has joined #ruby
<shevy> there are no binary distributions of ruby
<havenwood> hfp: There's a jesse (testing) ruby-2.1.5: https://packages.debian.org/jessie/ruby2.1
<godd2> hfp is it on a normal desktop computer or like a vps server with limited resources?
Fusl has joined #ruby
<havenwood> hfp_work: which version of debian, 32 or 64 bit?
pu22l3r has joined #ruby
asteve has joined #ruby
<havenwood> hfp_work: another option would be using RVM, Travis or someone else's precompiled binaries. here're RVM's binaries for debian 7.0 64: https://rvm.io/binaries/debian/7.0/x86_64/
<havenwood> for example ^
<redians> is anyone available tomorrow in the morning?
<redians> i would like to get some tutoring
<shevy> lol
<shevy> what kind of question is that
<havenwood> hfp_work: You can just install them with RVM (rvm install ruby-2.1.5 --binary) or manually install and switch to them.
<hfp> havenwood, godd2: It is on a VM, 64 bits Debian
jenrzzz has joined #ruby
Guest64 has joined #ruby
<hfp> havenwood: Nice, I'll try rvm then
<redians> I need an hour today and an hour tomorrnw
<redians> tomorrow*
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mjmac has quit [Ping timeout: 258 seconds]
nicolastarzia has joined #ruby
sargas has joined #ruby
<redians> what does this mean? [18:20] <hfp> show gratis (solo hooy) --> http://s422803032.mialojamiento.es/
mjmac has joined #ruby
Irremotus has joined #ruby
<Irremotus> Hey guys, I'm trying to learn RoR
<deryl> #RubyOnRails
<havenwood> Irremotus: The best place for Rails questions is indeed #rubyonrails. Nick registration is required. See: /msg NickServ help REGISTER
redians has quit [Quit: Page closed]
icebourg has quit []
<deryl> this channel is mainly about ruby as the language rather than specific frameworks. the #RubyOnRails channel covers the framework specifically. better for your needs
elastik has joined #ruby
nicolastarzia has quit [Ping timeout: 258 seconds]
<Irremotus> Ah, I gotcha.
<havenwood> red, oh redians already left
<Irremotus> Yeah- I'm trying to figure out the asset pipeline
ninab is now known as ninabreznik
bogeyd6 has quit [Ping timeout: 255 seconds]
<Irremotus> what is ruby used for other than ruby on rails?
<havenwood> Irremotus: It's a general purpose programming language, so lots of other stuff.
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has quit [Quit: zzz]
bogeyd6 has joined #ruby
<deryl> if you can think it, you can write it in ruby pretty much.
gsd has joined #ruby
barderer has joined #ruby
<Irremotus> hmm
<havenwood> Irremotus: Rails is one of the Rack adapters. There're other Rack adapters even, like Sinatra, Hobbit, Cuba, Roda, etc.
<havenwood> Many, many of them.
charliesome has joined #ruby
Guest64 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
AlexRussia has quit [Ping timeout: 256 seconds]
<havenwood> Irremotus: Here're a list of some: https://github.com/luislavena/bench-micro#what
<Irremotus> So you could write a game in ruby?
Guest64 has joined #ruby
tvw has quit [Ping timeout: 240 seconds]
<havenwood> Irremotus: sure, people do that. here're some Ruby frameworks for creating games: https://www.ruby-toolbox.com/categories/game_libraries
<hfp> Irremotus: Ruby is also used for Sysadmin with Puppet or VoIP on top of freeswitch/Asterisk with Adhearsion
<Irremotus> Yeah I was aware of the DevOps uses
Cache_Money has quit [Quit: Cache_Money]
mary5030 has quit [Remote host closed the connection]
<hfp> Irremotus: There are also quite a few frameworks for writing apps in Ruby for the iPhone, Android, Mac OS, Windows...
mary5030 has joined #ruby
agrinb has joined #ruby
r0bby_ is now known as robbyoconnor
<hfp> I don't understand why someone would use rbenv then since rvm is so much easier and faster
mary5030 has quit [Ping timeout: 258 seconds]
<havenwood> Irremotus: Ruby is also used for various and sundry other things. Like Lockheed Martin used Ruby to model fighter jet hardware and software in development. NASA uses Ruby for various stuff in space.
Mia has joined #ruby
agrinb has quit [Ping timeout: 258 seconds]
<havenwood> hfp: For a minimalist switcher I'd recommend chruby over rbenv. RVM even supports switching with chruby.
<havenwood> hfp: So you can install Rubies with RVM (like binaries for example) and switch with chruby.
<havenwood> hfp: Or just RVM, whatever you fancy.
<hfp> havenwood: I'm not sure I follow. Isn't RVM used to switch rubies already?
<hfp> havenwood: Why would I add chruby on top of RVM if the goal is to keep it minimalist?
Cache_Money has joined #ruby
<deryl> in addition to not on top of, and its so you can try various ones out without conflicting.
arup_r has joined #ruby
<deryl> rbenv conflicted with rvm directly until mpapis made it do it less so, almost to the point of irrelevance
<hfp> deryl: Isn't what gemsets are for?
<havenwood> hfp: Yes, and that's the usual way people use it--just RVM. But RVM is over 20,000 lines of shell code, so as you can imagine it's not a simple tool. On the other hand chruby is just under 100 lines of code and it's quite simple.
george2 has joined #ruby
<deryl> no, gemsets are for creating bundler-like environments. we're talking the tool, not the toolset it provides
<hfp> havenwood: Right. So you use RVM to install Ruby and then chruby or RVM to switch rubies?
<havenwood> hfp: There are actually quite a few ruby switchers, even after rbfu and ruby-version self-deprecated in favor of chruby. Here's a list of the various switchers: https://github.com/wayneeseguin/rvm/blob/master/docs/alt.md
<havenwood> hfp: yup
<havenwood> hfp: Or you can use ruby-install to install Rubies. But it doesn't support precompiled binaries (yet, though there's a branch that experiments with implementing it).
wolf4ood has quit [Quit: (null)]
arup_r has quit [Remote host closed the connection]
x1337807x has joined #ruby
<hfp> havenwood: Interesting, thanks
AlexRussia has joined #ruby
sargas has quit [Quit: This computer has gone to sleep]
Takle has joined #ruby
tyll_ has quit [Ping timeout: 245 seconds]
Takle has quit [Ping timeout: 250 seconds]
bonhoeffer has quit [Quit: bonhoeffer]
tyll has joined #ruby
goodenough has joined #ruby
CustosL1men has quit [Ping timeout: 240 seconds]
krz has joined #ruby
dain has joined #ruby
goodenough has quit [Remote host closed the connection]
nomadic has quit [Ping timeout: 256 seconds]
nomadic has joined #ruby
sargas has joined #ruby
asteve has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
evanjs has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
ravster has quit [Ping timeout: 252 seconds]
ponga has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
ferr has quit [Ping timeout: 245 seconds]
<ReinH> hfp: chruby + ruby-install is my preferred method
<ReinH> RVM is too magical and complicated.
AlexRussia has quit [Ping timeout: 256 seconds]
ferr has joined #ruby
AlexRussia has joined #ruby
conniemj has joined #ruby
radic has quit [Ping timeout: 245 seconds]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
triple_b has joined #ruby
tokik has quit [Quit: leaving]
radic has joined #ruby
<shevy> hehe
leonmaia has joined #ruby
conniemj has quit [Client Quit]
ponga has quit [Ping timeout: 244 seconds]
<deryl> rvm install 1.9.3 && rvm use 1.9.3 && gem install blah you're done.
tokik has joined #ruby
<deryl> not complicated at all unless you make it so
adriancb has joined #ruby
icebourg has joined #ruby
icebourg has quit [Max SendQ exceeded]
mocfive has quit [Remote host closed the connection]
icebourg has joined #ruby
dorei has quit []
<shevy> source install
<shevy> that is the only true way
mengu has joined #ruby
mengu has joined #ruby
<deryl> yep for an unmanaged 1 time install (reinstalling over doesn't constitute management) thats great. Though unless it has a make uninstall managing its removal is a pita
bonhoeffer has joined #ruby
<deryl> unless you push it to its own dir somewhere you can easily rm -rf and don't allow it to touch *anywhere* else except for maybe a path addition. :)
Soda has quit [Remote host closed the connection]
banister has joined #ruby
bonhoeffer has quit [Client Quit]
mengu has quit [Ping timeout: 244 seconds]
banister has quit [Max SendQ exceeded]
apurcell has joined #ruby
dc_ has joined #ruby
bonhoeffer has joined #ruby
bonhoeffer has quit [Client Quit]
pu22l3r has quit [Read error: Connection reset by peer]
sargas has quit [Quit: This computer has gone to sleep]
bradleyprice has joined #ruby
bonhoeffer has joined #ruby
pu22l3r has joined #ruby
bonhoeffer has quit [Client Quit]
apurcell has quit [Ping timeout: 255 seconds]
devoldmx33 has joined #ruby
agjacome has quit [Quit: leaving]
dain has quit [Quit: dain]
agrinb has joined #ruby
devoldmx27 has joined #ruby
devoldmx has quit [Ping timeout: 256 seconds]
devoldmx27 has quit [Read error: Connection reset by peer]
pika_pika has joined #ruby
devoldmx has joined #ruby
devoldmx33 has quit [Ping timeout: 255 seconds]
agrinb has quit [Ping timeout: 244 seconds]
jenrzzz has quit [Ping timeout: 265 seconds]
VBlizzard has quit [Ping timeout: 255 seconds]
blizzy has quit [Ping timeout: 240 seconds]
Synthead has quit [Disconnected by services]
rshetty has joined #ruby
Synthbread has joined #ruby
ajaiswal has joined #ruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mjmac has quit [Ping timeout: 258 seconds]
kenneth has joined #ruby
Lewix has joined #ruby
yfeldblu_ has joined #ruby
banister has joined #ruby
Lewix has quit [Read error: Connection reset by peer]
jeff-ooh has joined #ruby
banister has quit [Max SendQ exceeded]
armyriad has quit [Ping timeout: 252 seconds]
rockdon has quit [Ping timeout: 258 seconds]
rshetty has quit [Read error: Connection reset by peer]
armyriad has joined #ruby
rshetty has joined #ruby
mjmac has joined #ruby
rockdon has joined #ruby
freerobby has quit [Quit: Leaving.]
jeff-ooh has quit [Ping timeout: 245 seconds]
yfeldblu_ has quit [Ping timeout: 265 seconds]
ndrei has joined #ruby
tmroyal has quit [Quit: tmroyal]
dideler has quit [Remote host closed the connection]
dideler has joined #ruby
tmroyal has joined #ruby
elastik has quit [Ping timeout: 245 seconds]
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
hmsimha has quit [Ping timeout: 252 seconds]
tmroyal has left #ruby [#ruby]
cibs has joined #ruby
pu22l3r has quit [Remote host closed the connection]
ferr has quit [Ping timeout: 240 seconds]
Takle has joined #ruby
vinleod has joined #ruby
ferr has joined #ruby
nateberkopec has joined #ruby
<shevy> nono
<shevy> removal is simple
<shevy> you just do it the wrong way
<shevy> you must do it the gobolinux way
<shevy> nixOS way is also ok
sarmiena_ has joined #ruby
<shevy> hmm actually
<shevy> nix-env --uninstall firefox
<shevy> gobolinux beats that
<shevy> rm -rf /Programs/Firefox
tus has quit []
mikeric has joined #ruby
jaequery has joined #ruby
<shevy> though nixOS also stores it into a standalone dir... I don't know why they require the usage of nix-env
jaequery has quit [Client Quit]
braincrash has quit [Quit: bye bye]
Takle has quit [Ping timeout: 244 seconds]
cantonic has quit [Read error: Connection reset by peer]
jaequery has joined #ruby
cantonic has joined #ruby
Liquori has quit [Read error: Connection reset by peer]
pika_pika has quit [Ping timeout: 258 seconds]
braincrash has joined #ruby
davedev2_ has quit []
kiyote23 has joined #ruby
lbrf has joined #ruby
cvtsx1 has joined #ruby
icebourg has quit [Ping timeout: 258 seconds]
psyprus has quit [Ping timeout: 258 seconds]
cvtsx has quit [Ping timeout: 258 seconds]
icebourg has joined #ruby
n008f4g_ has quit [Ping timeout: 244 seconds]
rshetty has quit [Remote host closed the connection]
rshetty has joined #ruby
roqo has quit [Ping timeout: 258 seconds]
sargas has joined #ruby
kiyote23 has quit [Ping timeout: 272 seconds]
ponga has joined #ruby
nicolastarzia has joined #ruby
geggam has quit [Ping timeout: 272 seconds]
juni0r has quit [Ping timeout: 258 seconds]
aob has quit [Ping timeout: 258 seconds]
aob has joined #ruby
Kruppe has quit [Ping timeout: 258 seconds]
Rylee has quit [Ping timeout: 240 seconds]
nateberkopec has quit [Quit: Leaving...]
psyprus has joined #ruby
roqo has joined #ruby
roqo has quit [Changing host]
roqo has joined #ruby
sargas has quit [Quit: This computer has gone to sleep]
ponga has quit [Ping timeout: 250 seconds]
sarmiena_ has quit [Quit: sarmiena_]
<Scripore> got a question, where should I go if I want practice reading ruby code?
nicolastarzia has quit [Ping timeout: 244 seconds]
Kruppe has joined #ruby
triple_b has joined #ruby
smokepoteveryday has joined #ruby
<smokepoteveryday> can someone do my homework for me? I will pay you in venmo
luckyruby has joined #ruby
<epitron> Scripore: try reading everything in `gem env gemdir`
<epitron> ^_^
mjmac has quit [Ping timeout: 258 seconds]
spastorino has quit [Quit: Connection closed for inactivity]
<Scripore> ahh, that would be rather difficult. I'm just gonna stick with r/dailyprogrammer for now actually...
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<epitron> Scripore: nahhh, most gems are pretty simple
ponga has joined #ruby
jenrzzz has joined #ruby
ponga has quit [Changing host]
ponga has joined #ruby
mjmac has joined #ruby
barderer has quit [Ping timeout: 265 seconds]
<epitron> you can do a lot with a little code in ruby
siwica1 has joined #ruby
<epitron> you can read epitools if you want :D
gsd has joined #ruby
elastik has joined #ruby
<epitron> reading the ruby standard library is great too
siwica has quit [Ping timeout: 245 seconds]
<epitron> the ruby-doc.org lets you see the source to each method
<epitron> you can learn a lot of good stuff from that
evanjs has quit [Remote host closed the connection]
pu22l3r has joined #ruby
<Scripore> oh, thanks. I'll check out the standard library then. was just browsing amazon for the 'Ruby Cookbook', looks like the new edition won't be out until March or so.
Rylee has joined #ruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
agrinb has joined #ruby
<shevy> here is how you learn ruby
<shevy> you write code
<shevy> then you study your own code
<shevy> ideally after one year
<shevy> then there are two possibilities:
<smokepoteveryday> can someone do the test for me?
<shevy> - you understand what you did
<shevy> - or you go "wtf did I smoke back then when I wrote this"
Guest64 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<smokepoteveryday> i will pay you :)
<epitron> shevy: you left out a step
<Scripore> yeah, probably the latter
<epitron> 1. write code, 2. study code, 3. look at how experienced programmers solved it, 4. solve it better
<shevy> I dunno
<shevy> I usually wonder wtf did they smoke back then when they wrote this
<epitron> good programmers write for others to read
<epitron> if it looks like they were smoking crack, move along
<shevy> epitron nice naming choice -> epitools
<epitron> it used to be called "metils" :)
kp666 has joined #ruby
kenneth has joined #ruby
uber_hulk has joined #ruby
parabolize has joined #ruby
pu22l3r has quit [Ping timeout: 245 seconds]
adriancb has quit [Remote host closed the connection]
pu22l3r has joined #ruby
agrinb has quit [Ping timeout: 258 seconds]
uber_hulk has left #ruby [#ruby]
sarmiena_ has joined #ruby
boadie has joined #ruby
boadie has quit [Read error: Connection reset by peer]
boadie has joined #ruby
Pattt has quit [Ping timeout: 264 seconds]
hmsimha has joined #ruby
icebourg has quit []
oleo is now known as Guest80215
oleo__ has joined #ruby
psy_ has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
<smokepoteveryday> i'm tryign to uplad it but it's not letting me one sec
caiges has quit [Quit: Textual IRC Client: www.textualapp.com]
Guest80215 has quit [Ping timeout: 244 seconds]
jack_rabbit has joined #ruby
mjmac has quit [Ping timeout: 258 seconds]
rockdon has quit [Ping timeout: 258 seconds]
icebourg has joined #ruby
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
<smokepoteveryday> okay i got it
<smokepoteveryday> guys
<smokepoteveryday> here it is :)
<jaequery> after i changed from sqlite to mysql, i performed migrations and tables are now all setup on mysql. but, my app still tries to look in sqlite, what could i be missing?
mgberlin_ has joined #ruby
echooo has quit [Read error: Connection reset by peer]
jeff-ooh has joined #ruby
phutchins has quit [Ping timeout: 272 seconds]
mclee has quit [Ping timeout: 256 seconds]
arescorpio has quit [Excess Flood]
mgberlin has quit [Ping timeout: 244 seconds]
psyprus has quit [Ping timeout: 258 seconds]
pu22l3r has quit [Read error: No route to host]
pu22l3r has joined #ruby
leonmaia has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
psyprus has joined #ruby
jeff-ooh has quit [Ping timeout: 264 seconds]
<deryl> probably forgot to modify your config/database.yml if this is a rails app
<deryl> or add the mysql2 gem to Gemfile and rerun bundle install
sevenseacat has joined #ruby
<shevy> smokepoteveryday don't be lazy, learn ruby
<smokepoteveryday> i'm not being lazy i am working my ass off
<smokepoteveryday> it's just hard for me
<smokepoteveryday> i want to understand and i want someone to do my homework so i can see how it's done
parduse is now known as Guest30702
ponga has quit [Quit: Leaving...]
pardusf has joined #ruby
<shevy> coding requires thinking
psyprus has quit [Ping timeout: 258 seconds]
<smokepoteveryday> so does smoking weed
psyprus has joined #ruby
sarmiena_ has quit [Quit: sarmiena_]
<shevy> nah
Guest30702 has quit [Ping timeout: 258 seconds]
<shevy> but it's a good example of weeders being unable to code
<smokepoteveryday> smoking weed takes concentration and finesse it's a skill very few people know how to do
<shevy> that is a lie
<epitron> most people who smoke weed smoke it too much
<epitron> you should only smoke it once a week
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<epitron> its benefits become outweighed by its detriments when smoked too often
<shevy> he is already lazy
josephndenton has joined #ruby
<smokepoteveryday> epitron: that is a lie, you should smoke every time you're not high
<shevy> can't get worse than this
<epitron> THE ABC's OF SMOKING WEED
mgberlin_ has quit [Read error: Connection reset by peer]
<epitron> A- ALWAYS
<epitron> B- BE
<epitron> C- CANNABISFUL
Takle has joined #ruby
<smokepoteveryday> right now i'm high and it's wearing off so i am about to smoke another joint because there's nothing better than being high
mgberlin has joined #ruby
<smokepoteveryday> did you know that when you smoke weed it's hard to remember stuff because the brain is building new brain cells?
banister has joined #ruby
banister has quit [Max SendQ exceeded]
<deryl> thats patently false
kith_ has joined #ruby
<smokepoteveryday> so if you can remember stuff while high it will give you a retention rate of over 1500%
shanlar- has joined #ruby
<smokepoteveryday> that's why it's important to smoke weed while studying
armyriad has quit [Ping timeout: 240 seconds]
shanlar has quit [Read error: Connection reset by peer]
swistak35 has quit [Read error: Connection reset by peer]
lbrf has quit [Read error: Connection reset by peer]
kenneth has quit [Read error: Connection reset by peer]
matled has quit [Read error: Connection reset by peer]
matled has joined #ruby
swistak35_ has joined #ruby
AdamMeghji has quit [Ping timeout: 245 seconds]
amitchellbullard has quit [Ping timeout: 245 seconds]
helpa has quit [Ping timeout: 245 seconds]
hfp has quit [Ping timeout: 245 seconds]
palantir has quit [Ping timeout: 245 seconds]
kenneth_ has joined #ruby
JDHankle has quit [Ping timeout: 240 seconds]
ryotarai has quit [Ping timeout: 240 seconds]
lbrf has joined #ruby
ferr has quit [Ping timeout: 244 seconds]
armyriad has joined #ruby
Adran has quit [Excess Flood]
ryotarai has joined #ruby
JDHankle has joined #ruby
deryl has quit []
Morkel has joined #ruby
davidcelis has quit [Excess Flood]
hamakn has quit [Read error: Connection reset by peer]
hfp has joined #ruby
davidcelis has joined #ruby
davidcelis has quit [Changing host]
davidcelis has joined #ruby
Takle has quit [Ping timeout: 245 seconds]
hamakn has joined #ruby
swistak35_ is now known as swistak35
kith has quit [Ping timeout: 240 seconds]
AdamMeghji has joined #ruby
amitchellbullard has joined #ruby
Adran has joined #ruby
smokepoteveryday has quit []
Kabaka has joined #ruby
crodas has quit [Quit: Disconnecting from stoned server.]
Apocalypse has quit [Ping timeout: 240 seconds]
maxmanders has quit [Ping timeout: 240 seconds]
julieeharshaw has quit [Ping timeout: 240 seconds]
mr_rich101 has quit [Ping timeout: 240 seconds]
scottyob has quit [Ping timeout: 240 seconds]
spacemud_ has joined #ruby
wjimenez5271_ has joined #ruby
ta_ has joined #ruby
zeusmns_ has joined #ruby
crodas has joined #ruby
Davey has quit [Excess Flood]
n3b has quit [Ping timeout: 240 seconds]
crazysim has quit [Ping timeout: 240 seconds]
tdubellz has joined #ruby
Davey has joined #ruby
tdubellz has quit [Client Quit]
kevinfagan_ has joined #ruby
eregon has quit [Quit: No Ping reply in 180 seconds.]
eregon has joined #ruby
yeltzooo9 has joined #ruby
palantir has joined #ruby
scottyob has joined #ruby
ta has quit [Read error: Connection reset by peer]
spacemud has quit [Ping timeout: 245 seconds]
wjimenez5271 has quit [Ping timeout: 245 seconds]
zeusmns has quit [Ping timeout: 245 seconds]
Nilium has quit [Ping timeout: 245 seconds]
kevinfagan has quit [Ping timeout: 245 seconds]
lest has quit [Ping timeout: 245 seconds]
yeltzooo has quit [Ping timeout: 245 seconds]
yosafbridge has quit [Ping timeout: 245 seconds]
adeponte has quit [Ping timeout: 245 seconds]
brixen has quit [Ping timeout: 245 seconds]
adam12 has quit [Ping timeout: 245 seconds]
spacemud_ is now known as spacemud
Davey has quit [Changing host]
Davey has joined #ruby
lest has joined #ruby
crazysim has joined #ruby
adeponte has joined #ruby
Nilium has joined #ruby
Apocalypse has joined #ruby
mr_rich101 has joined #ruby
julieeharshaw has joined #ruby
maxmanders has joined #ruby
adam_ has joined #ruby
n3b has joined #ruby
yosafbridge has joined #ruby
mgberlin has quit [Read error: Connection reset by peer]
elastik has quit [Ping timeout: 250 seconds]
Channel6 has quit [Quit: Leaving]
mgberlin has joined #ruby
Crazy_Atheist has quit [Ping timeout: 245 seconds]
rohit has joined #ruby
ninabreznik has quit [Ping timeout: 246 seconds]
brixen has joined #ruby
_seanc_ has joined #ruby
sarmiena_ has joined #ruby
icebourg has quit []
Scripore has quit [Ping timeout: 256 seconds]
anaeem1 has joined #ruby
Crazy_Atheist has joined #ruby
wldcordeiro has joined #ruby
Guest90 has joined #ruby
zeusmns_ is now known as zeusmns
_seanc_ has quit [Quit: Leaving.]
mgberlin has quit [Remote host closed the connection]
decoponio has joined #ruby
agrinb has joined #ruby
sumark has quit [Remote host closed the connection]
sumark has joined #ruby
icebourg has joined #ruby
ajaiswal has quit [Quit: Leaving]
agrinb has quit [Ping timeout: 258 seconds]
Irremotus has quit [Read error: Connection reset by peer]
ferr has joined #ruby
kenneth_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has joined #ruby
kiyote23 has joined #ruby
econerd4ever has joined #ruby
rektide_ has joined #ruby
psyprus has quit [Ping timeout: 258 seconds]
yfeldblum has quit [Ping timeout: 250 seconds]
<rektide_> what alternatives are there if a package tells me to 'bundle install'/ i get a message about not having access to system gems, but i don't understand ho i'm supposed to use --path then launch latter?
ajaiswal has joined #ruby
sdwrage has quit [Quit: This computer has gone to sleep]
arup_r has joined #ruby
arup_r has quit [Client Quit]
roqo has quit [Ping timeout: 258 seconds]
sdwrage has joined #ruby
jaequery has quit [Ping timeout: 258 seconds]
ajaiswal has quit [Remote host closed the connection]
Kricir has joined #ruby
phutchins has joined #ruby
roqo has joined #ruby
lbrf has quit [Quit: Be back later ...]
jaequery has joined #ruby
ajaiswal has joined #ruby
lxsameer has joined #ruby
lxsameer has quit [Changing host]
lxsameer has joined #ruby
roqo has quit [Changing host]
roqo has joined #ruby
yfeldblum has joined #ruby
it0a has quit [Quit: WeeChat 1.0.1]
mjmac has joined #ruby
rockdon has joined #ruby
phutchins has quit [Ping timeout: 264 seconds]
claw has joined #ruby
mikeric has quit []
psyprus has joined #ruby
<havenwood> rektide_: RubyGems can be setup with a user install where you don't need sudo or a system-wide install where you do. RubyGems has a `--user-install` option to install in the user's home directory when GEM_HOME is a system location.
<havenwood> rektide_: No matter where GEM_HOME is, you can use `--path` with Bundler, and Bundler will remember it.
evanjs has joined #ruby
<havenwood> rektide_: Just like it remembers `--deployment`.
<havenwood> rektide_: or `--system` to go back to the system location, overriding the `--path` selection.
sarmiena_ has quit [Quit: sarmiena_]
kapil__ has joined #ruby
rohit has quit [Quit: Leaving]
kiyote23 has quit [Remote host closed the connection]
econerd4ever has quit [Remote host closed the connection]
volk__ has joined #ruby
volk_ has quit [Ping timeout: 256 seconds]
volk__ is now known as volk_
Takle has joined #ruby
yfeldblum has quit [Ping timeout: 240 seconds]
commmmodo has quit [Quit: commmmodo]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
MuffinPimp has quit [Ping timeout: 240 seconds]
rockdon has quit [Ping timeout: 258 seconds]
pwnz0r has joined #ruby
nicolastarzia has joined #ruby
Takle has quit [Ping timeout: 244 seconds]
mikeric has joined #ruby
MuffinPimp has joined #ruby
Obfuscate has quit [Ping timeout: 250 seconds]
mengu has quit [Ping timeout: 244 seconds]
econerd4ever has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
nicolastarzia has quit [Ping timeout: 258 seconds]
jenrzzz has quit [Ping timeout: 250 seconds]
rockdon has joined #ruby
claw has quit [Ping timeout: 258 seconds]
josephndenton has quit [Ping timeout: 240 seconds]
sdwrage has quit [Quit: This computer has gone to sleep]
tobago has joined #ruby
dx7iso has quit [Ping timeout: 256 seconds]
pu22l3r has quit [Remote host closed the connection]
commmmodo has joined #ruby
ghostlines has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
renderful has joined #ruby
juni0r has joined #ruby
armyriad has quit [Ping timeout: 244 seconds]
agrinb has joined #ruby
armyriad has joined #ruby
renderful has quit [Ping timeout: 258 seconds]
CrazyM4n has quit [Quit: Leaving]
oo_ has joined #ruby
rexunyzarc has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
agrinb has quit [Ping timeout: 258 seconds]
supersym has joined #ruby
deric_skibotn has joined #ruby
chinmay_dd has joined #ruby
oo_ has quit [Read error: Connection reset by peer]
havenwoo_ has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
Lucky___ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has quit [Quit: zzz]
icebourg has quit []
jenrzzz has joined #ruby
havenwoo_ has quit [Ping timeout: 244 seconds]
commmmodo has quit [Quit: commmmodo]
fenzil has joined #ruby
codecop has joined #ruby
econerd4ever has quit [Read error: Connection reset by peer]
mikeric has quit []
dseitz has joined #ruby
phutchins has joined #ruby
MartynKeigher has quit [Ping timeout: 240 seconds]
MartynKeigher has joined #ruby
anaeem1 has quit [Read error: Connection reset by peer]
mclee has joined #ruby
anaeem1_ has joined #ruby
supersym has quit [Ping timeout: 240 seconds]
TheNet has quit [Quit: Leaving...]
phutchins has quit [Ping timeout: 265 seconds]
last_staff has joined #ruby
PhilS has quit [Quit: leaving]
ips|malc has joined #ruby
gokul has joined #ruby
evanjs has quit [Remote host closed the connection]
picassoo has quit [Ping timeout: 265 seconds]
volk_ has quit [Quit: volk_]
Macaveli has joined #ruby
rshetty has quit [Read error: Connection reset by peer]
jrhe has joined #ruby
rshetty has joined #ruby
Guest90 has quit [Remote host closed the connection]
Joufflu has joined #ruby
despai has joined #ruby
Guest90 has joined #ruby
x1337807x has joined #ruby
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
sarmiena_ has joined #ruby
Takle has joined #ruby
Stoge88 has joined #ruby
JohnBat26 has joined #ruby
JohnBat26 has quit [Client Quit]
JohnBat26 has joined #ruby
charliesome has joined #ruby
jrhe has quit [Quit: jrhe]
jeff-ooh has joined #ruby
rohit has joined #ruby
havenwood has quit []
arup_r has joined #ruby
Takle has quit [Ping timeout: 272 seconds]
deric_skibotn has quit [Ping timeout: 258 seconds]
jeff-ooh has quit [Ping timeout: 244 seconds]
MuffinPimp has quit [Ping timeout: 240 seconds]
iamninja has joined #ruby
Rylee has quit [Ping timeout: 250 seconds]
fenzil has quit [Changing host]
fenzil has joined #ruby
rshetty has quit [Remote host closed the connection]
Macaveli has joined #ruby
<arup_r> I wrote this doc.search("//ul[@class='menu-catalog']/li[position() > 1 and position()<8]/a[1]").count and working.. How to write it using CSS selector.. specially I don't know equivalent CSS rule of this li[position() > 1 and position()<8]
sevenseacat has quit [Remote host closed the connection]
agrinb has joined #ruby
MuffinPimp has joined #ruby
SOLDIERz has joined #ruby
Rylee has joined #ruby
rshetty has joined #ruby
lkba has joined #ruby
lkba has quit [Remote host closed the connection]
oleo__ has quit [Quit: Verlassend]
lkba has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jaequery has joined #ruby
agrinb has quit [Ping timeout: 258 seconds]
mengu has joined #ruby
mengu has joined #ruby
boadie has quit [Remote host closed the connection]
xhoy has quit [Remote host closed the connection]
oleo has joined #ruby
Guest90 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<epitron> ooo.. sublime ctags works decently with ruby now
rimantas has joined #ruby
jenrzzz has quit [Ping timeout: 256 seconds]
chinmay_dd has quit [Ping timeout: 256 seconds]
Techguy305|2 has quit [Ping timeout: 252 seconds]
yeticry has quit [Ping timeout: 255 seconds]
dumdedum has joined #ruby
yeticry has joined #ruby
chinmay_dd has joined #ruby
echooo has joined #ruby
armyriad has quit [Ping timeout: 264 seconds]
adriancb has joined #ruby
bigkevmcd has joined #ruby
anarang has joined #ruby
bigkevmcd has quit [Client Quit]
bigkevmcd has joined #ruby
devoldmx has quit [Remote host closed the connection]
despai has quit [Quit: This computer has gone to sleep]
adriancb has quit [Ping timeout: 255 seconds]
despai has joined #ruby
bigkevmcd has quit [Client Quit]
bigkevmcd has joined #ruby
sarmiena_ has quit [Quit: sarmiena_]
bigkevmcd has quit [Client Quit]
wldcordeiro has quit [Quit: Leaving]
_Andres has joined #ruby
einarj has joined #ruby
rohit has quit [Quit: Leaving]
einarj has quit [Remote host closed the connection]
brahmadpk has joined #ruby
anarang has quit [Quit: Leaving]
jeff-ooh has joined #ruby
despai has quit [Quit: This computer has gone to sleep]
nicolastarzia has joined #ruby
kyb3r_ has quit [Read error: Connection reset by peer]
PierreRambaud has joined #ruby
nicolastarzia has quit [Ping timeout: 258 seconds]
fenzil has quit [Read error: Connection reset by peer]
rshetty has quit [Ping timeout: 245 seconds]
Stoge88 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Takle has joined #ruby
pu22l3r has joined #ruby
ajaiswal has quit [Remote host closed the connection]
ajaiswal has joined #ruby
Spami has joined #ruby
rshetty has joined #ruby
Takle has quit [Ping timeout: 244 seconds]
agrinb has joined #ruby
pu22l3r has quit [Ping timeout: 265 seconds]
rshetty has quit [Remote host closed the connection]
Stoge88 has joined #ruby
anarang has joined #ruby
rshetty has joined #ruby
jenrzzz has joined #ruby
agrinb has quit [Ping timeout: 258 seconds]
sigurding has joined #ruby
x1337807x has joined #ruby
einarj has joined #ruby
jheg has joined #ruby
arup_r has quit [Remote host closed the connection]
mxweas has joined #ruby
mxweas has quit [Client Quit]
mxweas has joined #ruby
pwnz0r has quit [Remote host closed the connection]
sk87 has joined #ruby
Jackneill has joined #ruby
Megtastique has quit []
sdwrage has joined #ruby
chinmay_dd has quit [Ping timeout: 265 seconds]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
cantonic has quit [Quit: cantonic]
phutchins has joined #ruby
cantonic has joined #ruby
yfeldblum has joined #ruby
charliesome has quit [Quit: zzz]
phutchins has quit [Ping timeout: 245 seconds]
yfeldblum has quit [Ping timeout: 240 seconds]
charliesome has joined #ruby
Akagi201 has joined #ruby
jheg has quit [Quit: jheg]
bradleyprice has quit [Remote host closed the connection]
arup_r has joined #ruby
terlar has quit [Quit: WeeChat 1.0.1]
LouisRoR has joined #ruby
rshetty has quit [Remote host closed the connection]
chinmay_dd has joined #ruby
Soda has joined #ruby
s00pcan has quit [Remote host closed the connection]
s00pcan has joined #ruby
aswen has joined #ruby
s00pcan has quit [Client Quit]
Takle has joined #ruby
charliesome has quit [Quit: zzz]
s00pcan has joined #ruby
s00pcan has quit [Client Quit]
s00pcan has joined #ruby
lolmaus has quit [Quit: Konversation terminated!]
charliesome has joined #ruby
webgen has joined #ruby
webgen has quit [Client Quit]
CustosL1men has joined #ruby
rshetty has joined #ruby
CustosL1men has quit [Changing host]
CustosL1men has joined #ruby
alex88 has joined #ruby
charliesome has quit [Client Quit]
rshetty_ has joined #ruby
rshetty_ has quit [Read error: Connection reset by peer]
rshetty_ has joined #ruby
ta has joined #ruby
rshetty has quit [Read error: Connection reset by peer]
sevvie has joined #ruby
ta has quit [Remote host closed the connection]
sevvie has quit [Client Quit]
msgodf has joined #ruby
ta_ has quit [Ping timeout: 265 seconds]
sdwrage has quit [Quit: Leaving]
kiyote23 has joined #ruby
lbrf has joined #ruby
mroach has quit [Quit: mroach]
agrinb has joined #ruby
terlar has joined #ruby
picassoo has joined #ruby
sevvie has joined #ruby
<sami> I don't get it. Shoulnd't this work? https://gist.github.com/bd111a914db7cce0e9a5
ta has joined #ruby
sevvie has quit [Client Quit]
kiyote23 has quit [Ping timeout: 256 seconds]
sevvie has joined #ruby
lbrf has quit [Ping timeout: 256 seconds]
<dseitz> what is it doing/not doing?
Guest31975 has joined #ruby
<sami> It sets <p class="bg-warning"> </p> <li> what ever the warning was </li>
sevvie has quit [Client Quit]
agrinb has quit [Ping timeout: 250 seconds]
<dseitz> instead of <p ...>li*count</p> ?
<sami> Yes
sevvie has joined #ruby
dtordable has quit [Remote host closed the connection]
jheg has joined #ruby
startupality has joined #ruby
spider-mario has joined #ruby
<dseitz> that is so weird
<DefV> PassengerRoot /usr/local/rvm/gems/ruby-2.1.1/gems/passenger-enterprise-server-4.0.56
<sami> dseitz: Did you try it?
<dseitz> well I have nothing to test it on... but the logic and results don't match at all
Photism has quit [Quit: Leaving]
jheg has quit [Client Quit]
malcolmva has quit [Ping timeout: 255 seconds]
olivier_bK has joined #ruby
fandi has joined #ruby
hmsimha has quit [Ping timeout: 252 seconds]
sevvie has quit [Quit: leaving]
sevvie has joined #ruby
roolo has joined #ruby
Akagi201_ has joined #ruby
clauswitt has joined #ruby
shredding has joined #ruby
<pontiki> sami, try putting a <ul>..</ul> around the messages string
bigkevmcd has joined #ruby
jheg has joined #ruby
Akagi201 has quit [Ping timeout: 245 seconds]
chinmay_dd has quit [Remote host closed the connection]
parabolize has quit [Quit: ERC Version 5.3 (IRC client for Emacs)]
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby
gr33n7007h has quit [Remote host closed the connection]
kedare has joined #ruby
marr has joined #ruby
charliesome has joined #ruby
MasterPiece has joined #ruby
aswen has quit [Ping timeout: 245 seconds]
mroach has joined #ruby
jameswatling has joined #ruby
<arup_r> I want ["Home", "Outerwear", "Coats", "Navy Shearling Coat"] but not able to get it.. Any help ? https://gist.github.com/anonymous/2dbadb68e717150a6788
<jameswatling> Hi is someone able to take a look at my question about rails Internationlisation *http://stackoverflow.com/questions/27598962/restrict-rails-translated-routes)
<sami> pontiki: Works, however it still puts multiple messages as <li>
ferr has quit [Ping timeout: 244 seconds]
<sami> found it!
MasterPiece has quit [Ping timeout: 255 seconds]
jameswatling has quit [Remote host closed the connection]
<sami> There's a content_tag up above. How blind can one be :)
jameswatling has joined #ruby
<apeiros_> jameswatling: #rubyonrails
<apeiros_> remember to register your nick
<apeiros_> arup_r: what did you try?
<jameswatling> @apeiros_: okay thanks
<arup_r> apeiros_ I tried `|` operator
<arup_r> it is ugly.. any better ?
supersym has joined #ruby
<arup_r> with xpath ofcourse
<arup_r> not CSS
<sami> content_tag(:p, msg, class: 'bg-danger') works a lot better
<apeiros_> arup_r: I meant code
<arup_r> one moment
<apeiros_> arup_r: ooh
<apeiros_> sorry, you have code at the bottom
<apeiros_> didn't see that one
jeff-ooh has quit [Remote host closed the connection]
<apeiros_> well, your last <li> does not contain an <a> tag
<arup_r> I know.. that's why I used `|`
<apeiros_> I used dom.css('li a, li strong').map { |n| n.text.strip }
<arup_r> >> doc.xpath("//div[@class='breadcrumbs']/ul/li/a | //div[@class='breadcrumbs']/ul/li[position()=last()]/strong" ).map(&:text) #=> ["Home", "Outerwear", "Coats", "Navy Shearling Coat"]
<arup_r> I used
<arup_r> but too ugly
<apeiros_> dom.css('div.breadcrumbs > ul > li > a, div.breadcrumbs > ul > li > strong') if you want to keep the stricter selectors
<arup_r> doc.css("div.breadcrumbs > ul > li > a", "div.breadcrumbs > ul > li > strong" ).map(&:text) this worked
<arup_r> Ahh! you and me on the same page.
<arup_r> Humm.. It seems we can't reduce from here any more..
<arup_r> :)
picassoo has quit [K-Lined]
kapil__ has quit [Quit: Connection closed for inactivity]
nicolastarzia has joined #ruby
alex88 has quit [Ping timeout: 250 seconds]
MasterPiece has joined #ruby
alex88 has joined #ruby
nicolastarzia has quit [Ping timeout: 245 seconds]
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
malcolmva has joined #ruby
ta has quit [Remote host closed the connection]
Hello_World has quit [Quit: Lost terminal]
rshetty_ has quit [Remote host closed the connection]
MasterPiece has quit [Ping timeout: 240 seconds]
rshetty has joined #ruby
ta has joined #ruby
alex88_ has joined #ruby
lkba has quit [Ping timeout: 252 seconds]
alex88 has quit [Ping timeout: 258 seconds]
agrinb has joined #ruby
rshetty has quit [Ping timeout: 245 seconds]
mengu has quit [Remote host closed the connection]
Takle has quit [Remote host closed the connection]
leo-unglaub has joined #ruby
alex88_ has quit [Ping timeout: 256 seconds]
aswen has joined #ruby
Jackneill has quit [Ping timeout: 255 seconds]
rshetty has joined #ruby
vinleod has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
ohaibbq has quit [Quit: Leaving...]
agrinb has quit [Ping timeout: 272 seconds]
leo-unglaub has quit [Remote host closed the connection]
uber_hulk has joined #ruby
rshetty has quit [Remote host closed the connection]
Takle has joined #ruby
TPBallbag has joined #ruby
alex88 has joined #ruby
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
MasterPiece has joined #ruby
sk87 has joined #ruby
uber_hulk has left #ruby [#ruby]
rodfersou has joined #ruby
Jackneill has joined #ruby
tercenya has quit [Remote host closed the connection]
workmad3 has joined #ruby
tercenya has joined #ruby
duncannz has joined #ruby
charliesome has quit [Quit: zzz]
rshetty has joined #ruby
alex88_ has joined #ruby
codezomb has quit [Quit: Textual IRC Client: www.textualapp.com]
Soda has quit [Remote host closed the connection]
rshetty has quit [Remote host closed the connection]
alex88 has quit [Ping timeout: 256 seconds]
charliesome has joined #ruby
AFKGeek has joined #ruby
alex88 has joined #ruby
arup_r_ has joined #ruby
lolmaus has joined #ruby
jmdade has joined #ruby
startupality has quit [Quit: startupality]
alex88_ has quit [Ping timeout: 272 seconds]
renderful has joined #ruby
_5kg has quit [Ping timeout: 244 seconds]
sevvie has quit [Quit: leaving]
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
arup_r has quit [Ping timeout: 245 seconds]
rshetty has joined #ruby
gr33n7007h has joined #ruby
dumdedum has quit [Quit: foo]
supersym has quit [Ping timeout: 265 seconds]
Takle has quit [Remote host closed the connection]
phutchins has joined #ruby
shortCircuit__ has joined #ruby
ajaiswal has quit [Remote host closed the connection]
<shortCircuit__> hi
renderful has quit [Ping timeout: 258 seconds]
<jameswatling> hello
testcore has quit [Ping timeout: 250 seconds]
St_Marx has quit [Ping timeout: 250 seconds]
<shortCircuit__> I have a question, .map{|u| u.to_i} and .map(&:to_i) nearly does the same kind of thing, but in the second case, is it passing a block to the map function, In general for passing a block as parameter I have seen &args in the parameter list
phutchins has quit [Ping timeout: 240 seconds]
<apeiros_> shortCircuit__: &:to_i passes a block to map too
mengu has joined #ruby
<apeiros_> the block just gets constructed a bit differently
rshetty has quit [Remote host closed the connection]
<shortCircuit__> I wud like to know
ajaiswal has joined #ruby
rshetty has joined #ruby
<jameswatling> shortCircuit__: Here is a basic overview http://www.jacopretorius.net/2012/01/symbolto_proc-in-ruby.html
p0wn3d_mhs has quit [Ping timeout: 250 seconds]
Takle has joined #ruby
dumdedum has joined #ruby
iamninja has quit [Ping timeout: 250 seconds]
JohnBat26 has quit [Remote host closed the connection]
segv has quit [Ping timeout: 245 seconds]
segv has joined #ruby
anarang has quit [Ping timeout: 264 seconds]
tvw has joined #ruby
rbrs has joined #ruby
avril14th has joined #ruby
JohnBat26 has joined #ruby
rshetty has quit [Remote host closed the connection]
n008f4g_ has joined #ruby
kapil__ has joined #ruby
mengu has quit [Ping timeout: 245 seconds]
<shortCircuit__> procs yeild and block . I have difficult time with these, like the yield block on Enumerator.new here http://patshaughnessy.net/2013/4/3/ruby-2-0-works-hard-so-you-can-be-lazy :(
ponga has joined #ruby
Pupeno has joined #ruby
sigurding has quit [Quit: sigurding]
startupality has joined #ruby
anarang has joined #ruby
Takle has quit [Ping timeout: 265 seconds]
mxweas has quit [Ping timeout: 250 seconds]
duncannz has quit [Remote host closed the connection]
bloudermilk has joined #ruby
lbrf has joined #ruby
<avril14th> shortCircuit__: what's the trouble
reinaldob has joined #ruby
DrCode has quit [Ping timeout: 250 seconds]
<shortCircuit__> I can't understand how the yeild works, how are parameters passed to block. I only know that if a function has an yeild block and if I call the function with a block {} then the yeild returns returns the o/p of the block.
<avril14th> yield means: give back the hand to the block we're passed.
agrinb has joined #ruby
lbrf has quit [Ping timeout: 240 seconds]
<avril14th> so def meth; yield end <-- is a method that takes a block to which the hand will be passed. The block is mandatory
kedare has quit [Quit: WeeChat 0.4.2]
<avril14th> you can pass params to the block like "yield param_a, param_b", etc.
<shortCircuit__> ok
<avril14th> I think the online doc for all this is thorough
<shortCircuit__> ok, now if I do a meth{|x| x*x} what happens?
<workmad3> shortCircuit__: also be careful with your understanding... when you're dealing with Enumerator.new, you get passed an object 'y' which is an Enumerator::Yielder... that implements a normal method called 'yield' which is *not* the same as the built-in keyword 'yield' used for invoking an implicit block
<shortCircuit__> ow
msgodf has quit [Ping timeout: 245 seconds]
marr has quit [Ping timeout: 258 seconds]
agrinb has quit [Ping timeout: 258 seconds]
fella7s has quit [Read error: Connection reset by peer]
dangerousdave has joined #ruby
fella7s has joined #ruby
<avril14th> shortCircuit__: your code will fail since x is not defined and passed to the block
neoxquick has quit [Read error: Connection reset by peer]
<avril14th> shortCircuit__: https://gist.github.com/muichkine/59eaeb503b7f872046e8 but it will work if you define x
anarang_ has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Takle has joined #ruby
einarj has quit [Read error: Connection reset by peer]
einarj has joined #ruby
<gr33n7007h> >> def method; (1..10).map { |n| yield n }; end; method {|x| x**3 }
<shortCircuit__> so its like getting an access to the local variables inside the method? that would make it like javascript closures
FooMunki has joined #ruby
giuseppesolinas has joined #ruby
<workmad3> shortCircuit__: no, it's like passing an anonymous function to another method and then calling it
anarang has quit [Ping timeout: 244 seconds]
<shortCircuit__> ok
<workmad3> shortCircuit__: the block you pass is a closure though, so the block has access to local variables, etc from the scope it's defined in
<gr33n7007h> >> def method &block; (1..10).map { |n| block.call n }; end; method {|x| x**3 }
<workmad3> shortCircuit__: but that doesn't provide access to them for the entire method you pass the block to
pgmcgee has quit [Ping timeout: 240 seconds]
<gr33n7007h> yield is faster then &block
dangerousdave has quit [Ping timeout: 272 seconds]
<shortCircuit__> let me digest it :P
shaman42_ has quit [Ping timeout: 240 seconds]
shaman42 has joined #ruby
<gr33n7007h> yield = implicit, &block = explicit
_5kg has joined #ruby
<avril14th> shortCircuit__: yeah it's like closure, except you don't need the self invoking whizzbang and it's nicer to read/write (<troll>like all JS code...</troll>)
QKO has quit [Ping timeout: 240 seconds]
<shortCircuit__> :P
<avril14th> shortCircuit__: you can test if an implicit block was passed by calling block_given? method.
<avril14th> and so define a default behavior
pgmcgee has joined #ruby
QKO has joined #ruby
clauswitt has quit [Quit: Textual IRC Client: www.textualapp.com]
msgodf has joined #ruby
LekeFly has joined #ruby
n008f4g_ has quit [Ping timeout: 244 seconds]
<shortCircuit__> "but that doesn't provide access to them for the entire method you pass the block to" example?
<workmad3> shortCircuit__: 'some_local = "foo"; def meth; yield; puts some_local; end; meth{puts some_local}'
<workmad3> shortCircuit__: 'some_local' inside 'meth' will be a NameError
AFKGeek has quit [Read error: Connection reset by peer]
<workmad3> err, NoMethodError even
rodfersou has quit [Read error: Connection reset by peer]
<workmad3> but the block, which is yielded to, will have access to some_local
rodfersou has joined #ruby
WildBamboo-Josh has quit [Read error: Connection reset by peer]
WildBamboo-Josh has joined #ruby
siwica1 has quit [Remote host closed the connection]
<shortCircuit__> so meth knows about foo but yeild doesn't .
siwica has joined #ruby
mengu has joined #ruby
aspiers has joined #ruby
<workmad3> shortCircuit__: tbh, you should probably just play around with them to get an idea for what you can and can't do
jrhe has joined #ruby
<shortCircuit__> ok
bloudermilk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<workmad3> shortCircuit__: IRC isn't a good place to really disseminate in-depth knowledge... it's pretty obvious the explanations are just muddying the waters, and you need to try things out
surs has joined #ruby
<surs> I installed rubybook (the package on debian). How do I access it?
Morkel_ has joined #ruby
Morkel has quit [Ping timeout: 272 seconds]
Morkel_ is now known as Morkel
tkuchiki has quit [Remote host closed the connection]
tkuchiki has joined #ruby
yfeldblum has joined #ruby
Guest64 has joined #ruby
tkuchiki has quit [Ping timeout: 258 seconds]
yfeldblum has quit [Ping timeout: 265 seconds]
artmann has quit [Remote host closed the connection]
sigurding has joined #ruby
waxjar has quit [Ping timeout: 250 seconds]
sandelius has joined #ruby
waxjar has joined #ruby
DadoCe has joined #ruby
mendokusai has joined #ruby
nrsk has joined #ruby
LekeFly has quit [Quit: Textual IRC Client: www.textualapp.com]
tadasp has joined #ruby
thisirs has joined #ruby
mxweas has joined #ruby
spastorino has joined #ruby
<aswen> surs: dpkg -L rubybook gives a list of files it installed
pengin has joined #ruby
commmmodo has joined #ruby
artmann has joined #ruby
<aswen> that might give you a good starting point
Takle has quit [Remote host closed the connection]
ponga has quit [Quit: Page closed]
Takle has joined #ruby
Takle has quit [Remote host closed the connection]
tokik has quit [Ping timeout: 240 seconds]
ballPointPenguin has quit [Ping timeout: 240 seconds]
nicolastarzia has joined #ruby
<gr33n7007h> surs, iceweasel /usr/share/doc/rubybook/html/index.html
nrsk has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
ballPointPenguin has joined #ruby
ernetas has joined #ruby
<ernetas> Hey guys.
nfk has joined #ruby
<ernetas> How does Net:FTP determine local IP for active FTP connections?
mxweas has quit [Ping timeout: 258 seconds]
msgodf has quit [Ping timeout: 244 seconds]
<surs> thanks aswen and gr33n7007h
ajaiswal has quit [Quit: Leaving]
n008f4g_ has joined #ruby
nicolastarzia has quit [Ping timeout: 256 seconds]
<gr33n7007h> np
Alina-malina has quit [Read error: Connection reset by peer]
clauswitt has joined #ruby
Guest26597 has joined #ruby
ravster has joined #ruby
pengin has quit [Remote host closed the connection]
jeanlinux has joined #ruby
<shevy> LONG LIVE RUBY!
agrinb has joined #ruby
Alina-malina has joined #ruby
Hobogrammer has quit [Ping timeout: 255 seconds]
neoxquick has joined #ruby
postmodern has quit [Quit: Leaving]
shredding has quit [Quit: shredding]
bennyklotz has joined #ruby
bennyklotz has quit [Client Quit]
bennyklotz has joined #ruby
agrinb has quit [Ping timeout: 258 seconds]
green-big-frog is now known as frog|OFF
jeanlinux has quit [Remote host closed the connection]
Guest31975 has quit [Remote host closed the connection]
mendokusai has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
Stoge88 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Guest26597 has quit [Ping timeout: 255 seconds]
mroach has quit [Quit: mroach]
rshetty has joined #ruby
bogeyd6 has quit [Quit: Leaving]
freerobby has joined #ruby
Stalkr_ has joined #ruby
jeanlinux has joined #ruby
gcoeki has joined #ruby
rshetty has quit [Remote host closed the connection]
mroach has joined #ruby
DaniG2k has joined #ruby
alex88 has quit [Ping timeout: 240 seconds]
dumdedum has quit [Quit: foo]
keen___________8 has quit [Read error: Connection reset by peer]
keen___________8 has joined #ruby
krz has quit [Quit: WeeChat 1.0.1]
ravster has quit [Ping timeout: 265 seconds]
RaCx has joined #ruby
alex88 has joined #ruby
RaCx has quit [Client Quit]
alex88_ has joined #ruby
freerobby has quit [Quit: Leaving.]
gfawcettpq has joined #ruby
freerobby has joined #ruby
alex88 has quit [Ping timeout: 252 seconds]
dumdedum has joined #ruby
brahmadpk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
MasterPiece has quit [Ping timeout: 244 seconds]
Nigel_ has joined #ruby
G has quit [Quit: Reconnecting]
Nigel_ is now known as G
gr33n7007h has quit [Quit: Leaving]
valeriansaliou has joined #ruby
phutchins has joined #ruby
rohit has joined #ruby
Beoran has quit [Ping timeout: 264 seconds]
jeanlinux has quit [Remote host closed the connection]
jeanlinux has joined #ruby
sandelius has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
RaCx has joined #ruby
blizzy has joined #ruby
phutchins has quit [Ping timeout: 245 seconds]
valeriansaliou has quit [Ping timeout: 265 seconds]
zorak8 has joined #ruby
RaCx has quit [Client Quit]
<arup_r_> I was using https://gist.github.com/aruprakshit/f98c435badc4221cacf5#file-metadata-rb-L24 to generate random but uniq id.. But my server is so fast that.. in the same timestamps more then 1 record is generating.. :) So DB is loosing data as the key is same. How to get rid over it ?
zorak8 has quit [Max SendQ exceeded]
<arup_r_> see all ID are same PixieMarket:1419250486 :(
freerobby has quit [Quit: Leaving.]
zorak8 has joined #ruby
<arup_r_> But those data are different..
boadie has joined #ruby
RaCx has joined #ruby
c107 has joined #ruby
rshetty has joined #ruby
echooo has quit [Read error: Connection reset by peer]
xymbol_____ has quit [Quit: Be back later ...]
MasterPiece has joined #ruby
Neomex has joined #ruby
xymbol_____ has joined #ruby
Beoran has joined #ruby
kedare has joined #ruby
dseitz has quit [Quit: Textual IRC Client: www.textualapp.com]
TPBallbag has quit [Remote host closed the connection]
rohit has quit [Quit: Leaving]
siwica has quit [Ping timeout: 252 seconds]
xymbol_____ has quit [Ping timeout: 244 seconds]
cantonic has quit [Quit: cantonic]
antgel has joined #ruby
sandelius has joined #ruby
msgodf has joined #ruby
surs has quit [Quit: Lost terminal]
aswen has quit [Ping timeout: 245 seconds]
jeanlinux has quit [Remote host closed the connection]
kp666 has quit [Remote host closed the connection]
msgodf has quit [Remote host closed the connection]
mxweas has joined #ruby
rshetty has quit [Read error: Connection reset by peer]
rshetty has joined #ruby
Areessell has joined #ruby
thoughnut has joined #ruby
sandelius has quit [Quit: Textual IRC Client: www.textualapp.com]
aswen has joined #ruby
lbrf has joined #ruby
mxweas has quit [Ping timeout: 264 seconds]
agrinb has joined #ruby
JovanJ has joined #ruby
blizzy is now known as blizzy
<JovanJ> Hi everyone :) I am pretty new to ruby, I wonder what program I can use to write a ruby? or is there something else that I can use it?
lbrf has quit [Ping timeout: 250 seconds]
agrinb has quit [Ping timeout: 258 seconds]
<avril14th> JovanJ: you mean editor?
sevenseacat has joined #ruby
<JovanJ> avril14th yes, or whatever do you use for a ruby.. Sorry so dumb question :)
<avril14th> I use rubymine as an editor
druznek has joined #ruby
<avril14th> but any text editor will do
AlexRussia has quit [Ping timeout: 264 seconds]
<avril14th> excep ms word
<JovanJ> Thank you. I heard for a Django, what do you think about it?
<shevy> JovanJ I use bluefish 1.0.7; the more important thing is that you know what to use in ruby so it would be more important to know the main classes like class String than which editor
supersym has joined #ruby
<JovanJ> shevy , thank you. I am curious about everything, I hope so I'll get into classes to...
lkba has joined #ruby
<shevy> class Foo; end
<shevy> there you go
<shevy> add methods to it!
kirun has joined #ruby
aclearman037 has joined #ruby
<JovanJ> Thanks ^^
<JovanJ> There is a way to make a site with a ruby?
TPBallbag has joined #ruby
<avril14th> oh yyes there is baby
<avril14th> plenty of ways, but the most known one is called ruby on rails
DrCode has joined #ruby
TPBallbag has quit [Remote host closed the connection]
brahmadpk has joined #ruby
siwica has joined #ruby
claptor has quit [Quit: this channel is bakas]
<shevy> JovanJ you can write .cgi scripts
<shevy> though the ruby cgi in stdlib is not much fun to use
AlSquire has joined #ruby
DrCode has quit [Excess Flood]
<shevy> JovanJ this is how I currently use .cgi in ruby; abbreviations are t() for title() http://pastie.org/9794137, w {} is a shortcut for web_object
DrCode has joined #ruby
<apeiros_> sooo, what next? transactions or migrations?
keen___________9 has joined #ruby
msgodf has joined #ruby
<shevy> migactions!
keen___________8 has quit [Ping timeout: 244 seconds]
<workmad3> apeiros_: transactions
<sevenseacat> migrationsss
zorak8 has quit [Read error: Connection reset by peer]
n008f4g_ has quit [Ping timeout: 265 seconds]
<workmad3> apeiros_: an ORM without migrations is still usable, you just need to create the schema manually... an ORM without transactions is pretty crippled :)
<apeiros_> mhm. since create migrations work already… I'd say transactions.
<apeiros_> also they're more fun
blizzy has quit [Ping timeout: 258 seconds]
brahmadpk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
VBlizzard has joined #ruby
zorak8 has joined #ruby
VBlizzard is now known as blizzy
<workmad3> apeiros_: additionally, you can then use your transactions inside your migrations for databases that have transactional DDL :)
<apeiros_> workmad3: iirc DDL statements are not transactional in pg
<apeiros_> at least I'm very sure they aren't in oracle
<workmad3> apeiros_: wrong
<workmad3> apeiros_: pg has transactional DDL
<apeiros_> did they recently (after pg8) change that?
<apeiros_> and: noice! didn't know
RaCx has quit [Quit: Computer has gone to sleep.]
MartynKeigher has quit [Read error: Connection reset by peer]
<workmad3> apeiros_: no idea when it got introduced... it's just always been there for me :)
Spami has quit [Quit: This computer has gone to sleep]
<workmad3> apeiros_: I basically noticed when ActiveRecord implemented the use of transactional DDL in dbs that supported it
JovanJ has quit [Quit: Leaving]
yeticry has quit [Ping timeout: 244 seconds]
<apeiros_> the other alternative would be to set up tests and benchmarks (ips & gc). I'm curious how it will stand up against AR & Sequel. even though comparing an incomplete system is somewhat unfair. (then again - that also means almost zero optimizations)
<apeiros_> na… transactions first.
<workmad3> apeiros_: yeah, transactions first
chinmay_dd has joined #ruby
nateberkopec has joined #ruby
mxweas has joined #ruby
yeticry has joined #ruby
<workmad3> apeiros_: also, are you going to support any form of nested transaction? :)
mostlybadfly has joined #ruby
<apeiros_> workmad3: of course
bloudermilk has joined #ruby
<apeiros_> pg afaik has savepoints
<workmad3> yeah
<workmad3> prepared statements?
<apeiros_> unnested transactions is sooo rails 2
<apeiros_> prepared statements are low level. you can use the native pg connection to do that.
<apeiros_> the orm uses it at the moment only for Model.id(num) type queries
jds has joined #ruby
<workmad3> that was more what I was meaning :)
<apeiros_> that said… I'm not sure whether pg gem always uses prepared statements when using bind variables
<apeiros_> one thing I'm not so sure about: multiple .order's
<apeiros_> multiple ways to solve it: a) order(…).order(…) -> raise AlreadyOrdered
<workmad3> replace or concat?
<apeiros_> b) order(a).order(b) -> ORDER BY b, a # lifo
<apeiros_> c) order(a).order(b) -> ORDER BY a, b # fifo
mxweas has quit [Ping timeout: 240 seconds]
yeticry has quit [Ping timeout: 256 seconds]
<sevenseacat> i would say c
<workmad3> b seems counter-intuitive to me... I'd be tempted by a or c, or d) .order(a).order(b) -> ORDER BY b #replace
<apeiros_> at the moment I favor a variant of a), which would be: require_order (disallows reordering) + order (allows reordering, raises on double order), reorder (overrides previous order/reorder)
<sevenseacat> or d
codecop has quit [Ping timeout: 240 seconds]
druznek has quit [Quit: Leaving]
<sevenseacat> yeah activerecord uses reorder
<apeiros_> workmad3: well, be is "last one issued wins". it's certainly the most intuitive if you have e.g. scopes which contain orders. example: User.some_default_scope.order(my_order)
<apeiros_> be -> b)
yeticry has joined #ruby
<sevenseacat> default scope is always a special case
<apeiros_> sevenseacat: any scope can order
antgel has quit [Quit: leaving]
<apeiros_> so when you do an explicit order as the last statement and the data is not ordered by that statement - that's unintuitive to me. was a bit of a refute re workmad's "b seems counterintuitive". IMO it depends.
<workmad3> apeiros_: ah yeah... if the order statements aren't local to each other, I can see what you mean
max96at|off is now known as max96at
<apeiros_> the idea behind require_order is that if you design a scope which depends on order, you can enforce it. avoids "random" bugs
<workmad3> apeiros_: I quite like the require_order... but I'd probably then just have reorder as order tbh :)
<apeiros_> example of requiring an order: I had a couple of statistical methods on my models which I split up into multiple scopes. some of the scopes prepared the right order of data.
shredding has joined #ruby
<workmad3> ok, must go get something to eat
AlexRussia has joined #ruby
codecop has joined #ruby
mengu has quit [Remote host closed the connection]
RaCx has joined #ruby
iamninja has joined #ruby
<avril14th> HOLIDAYS!!!!!!!!!!!
avril14th has quit [Remote host closed the connection]
St_Marx has joined #ruby
jeanlinux has joined #ruby
yeticry has quit [Ping timeout: 256 seconds]
ernetas has left #ruby [#ruby]
yeticry has joined #ruby
<apeiros_> avri14th starts holidays with a battle cry :D
phutchins has joined #ruby
pika_pika has joined #ruby
nicolastarzia has joined #ruby
p0wn3d_mhs has joined #ruby
dideler has left #ruby ["undefined"]
nicolastarzia has quit [Ping timeout: 240 seconds]
commmmodo has quit [Quit: commmmodo]
xymbol_____ has joined #ruby
sk87 has joined #ruby
Techguy305 has joined #ruby
rbrs has quit [Quit: Leaving]
rexunyzarc has quit [Remote host closed the connection]
TPBallbag has joined #ruby
brahmadpk has joined #ruby
agrinb has joined #ruby
dstarh has joined #ruby
PierreRambaud has quit [Read error: Connection reset by peer]
DaniG2k has quit [Quit: leaving]
ernetas has joined #ruby
<ernetas> Hey guys.
<ernetas> Any ideas why delayed_jobs workers are running only on 1 CPU?
apurcell has joined #ruby
<ernetas> (all cores of that CPU)
tus has joined #ruby
<ernetas> This is on Linux, by the way.
<apeiros_> it probably runs in one process?
<ernetas> No.
olivier_bK has quit [Ping timeout: 264 seconds]
<ernetas> There are 24 processes, only 12 cores are utilized, all from the same CPU.
jeanlinux has quit [Remote host closed the connection]
<apeiros_> if it's multiple processes, and your OS doesn't schedule them on multiple cores, I'd say your OS is fucked up.
rudisimo has joined #ruby
agrinb has quit [Ping timeout: 245 seconds]
<ernetas> apeiros_: it's not that issue.
lbrf has joined #ruby
<apeiros_> scheduling processes is outside of ruby ernetas. that's the OS' duty.
<ernetas> It does schedule them on multiple cores and SMP seems to be working fine. stress --cpu 24 loads all cores.
<ernetas> apeiros_: yeah, but only Ruby processes somehow suffer from that, so I was wondering if anyone has any ideas.
<shevy> wheee 12 cores
PierreRambaud has joined #ruby
hiyosi has joined #ruby
apurcell has quit [Ping timeout: 240 seconds]
sankaber has joined #ruby
lbrf has quit [Ping timeout: 264 seconds]
krz has joined #ruby
SOLDIERz has quit [Quit: Be back later ...]
nw has joined #ruby
arya_ching has joined #ruby
tuelz has joined #ruby
<tuelz> what all files should be appended in a .gemspec? Literally everything inside my gem root that is related to the gem or should I only include stuff that is code?
jerius has joined #ruby
lxsameer has quit [Quit: Leaving]
arya_ching has quit [Client Quit]
<shevy> what does that mean
<shevy> what does "what all files should be appended" mean. what files? do you mean documentation?
<shevy> there are several fields to use, for instance, executables go with s.executables
<shevy> test files can go in s.test_files
livingstn has joined #ruby
olivier_bK has joined #ruby
<tuelz> shevy: sorry, inside the Gem::Specifications block
<apeiros_> tuelz: everything which you want to be part of the .gem file when building it.
sk87 has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
arup_r_ has quit []
triple_b has joined #ruby
<tuelz> I guess that makes sense, just didn't know if I needed to add .git stuff or license stuff or what
<shevy> license yes
<shevy> s.license = 'GPL 2'
sankaber has quit [Read error: Connection reset by peer]
<shevy> dunno about .git, I would assume no because others won't need it? as it already gets packaged into a .gem which gets distributed to others
<shevy> (the ruby code that is)
<tuelz> I guess more specific to the license, should I include the license text in a file then add that s.files [..., LICENSE, ...]
sankaber has joined #ruby
<shevy> the field there is a short identifier
yfeldblum has joined #ruby
<shevy> yeah tuelz I guess so
marr has joined #ruby
<tuelz> shevy: cool, first gem so I'm pretty sure if I mess anything up matz will hire henchmen to punish me.
<shevy> no
<tuelz> :p
<shevy> because matz did not create gem :)
yfeldblu_ has joined #ruby
<shevy> before gem there was the famous setup.rb file
<tuelz> "How dare you screw up my perfect ruby ecosystem, tuelz!" -- matz 2014
<tuelz> ohh gems aren't matz thing...gotcha
<shevy> yeah I dunno why matz did not think about distributed addons; mruby initially also had no support for gems, but I think you can somehow compile them into your mruby interpreter or something like that https://github.com/mruby/mruby
m8 has joined #ruby
beef-wellington has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
<Areessell> You make an MRuby gem with a rake file that has the spec in it, and it compiles right after your base MRuby system
anarang_ has quit [Quit: Leaving]
<Areessell> It detects what's been changed too so if you only change one file in one MRuby gem, that's all that gets compiled on the next build
<shevy> cool
yfeldblum has quit [Ping timeout: 264 seconds]
MartynKeigher has joined #ruby
tkuchiki has joined #ruby
anarang has joined #ruby
allcentury has joined #ruby
yfeldblu_ has quit [Ping timeout: 258 seconds]
jerius has quit []
<shevy> that's going to wait for me for next year
<shevy> C + mruby
<Areessell> You don't really need C for MRuby, you can write pure MRuby gems
<Areessell> I made one that's a very simple database model using the mruby-mysql and mruby-sqlite gems
droidburgundy has joined #ruby
chrisja has joined #ruby
sankaber has quit [Read error: Connection reset by peer]
saltsa has joined #ruby
dblessing has joined #ruby
sankaber has joined #ruby
TPBallbag is now known as Ballkenende
Ballkenende is now known as TPBallbag
pu22l3r has joined #ruby
tier has joined #ruby
sevenseacat has quit [Remote host closed the connection]
sankaber_ has joined #ruby
j2p2 has joined #ruby
sankaber has quit [Ping timeout: 245 seconds]
kish` has quit [Read error: Connection reset by peer]
<Areessell> 2
BTRE has quit [Ping timeout: 240 seconds]
kish has joined #ruby
zorak8 has quit [Ping timeout: 240 seconds]
fandi has quit [Read error: Connection reset by peer]
fandi_ has joined #ruby
zacts has quit [Quit: leaving]
kiyote23 has joined #ruby
kish has quit [Read error: Connection reset by peer]
<apeiros_> interesting. PG allows (non-SQL conformant) multiple savepoints with the same name. that'd make nesting savepoints quite easy.
kish has joined #ruby
tus has quit [Ping timeout: 265 seconds]
<apeiros_> could just use `SAVEPOINT <framework>_<pid>_<thread-id>`
startupality has quit [Quit: startupality]
<wasamasa> shevy: I don't find it that surprising considering where he stole the implementation details from
anaeem1_ has quit [Remote host closed the connection]
anaeem1 has joined #ruby
<shevy> nah
Synchunk has quit [Ping timeout: 240 seconds]
<shevy> I think it was the same thing with php, pear wasn't there from the beginning
MuffinPimp_ has joined #ruby
<shevy> and I think early python did not have ... how do they call it? eggs? hehehehe
MuffinPimp has quit [Read error: Connection reset by peer]
MuffinPimp_ is now known as MuffinPimp
MissionCritical has quit [Ping timeout: 240 seconds]
startupality has joined #ruby
<shevy> do you guys think this is human understandable?
<shevy> screenshot | save to /Depot/Images | crop 100 25
Synchunk has joined #ruby
cantonic has joined #ruby
anaeem1 has quit [Remote host closed the connection]
SOLDIERz has joined #ruby
MasterPiece has quit [Quit: Leaving]
agrinb has joined #ruby
pandaant has quit [Remote host closed the connection]
kish has quit [Changing host]
kish has joined #ruby
BTRE has joined #ruby
TPBallbag is now known as Ballkenende_
Ballkenende_ has quit [Disconnected by services]
Ballkenende_ has joined #ruby
Ballkenende_ is now known as TPBallbag
<DefV> shevy: no
<DefV> crop 100 25
<DefV> nu clue what 100 or 25 is
yfeldblum has joined #ruby
agrinb has quit [Ping timeout: 240 seconds]
dumdedum has quit [Quit: foo]
mengu has joined #ruby
mengu has quit [Changing host]
mengu has joined #ruby
bradland has joined #ruby
<apeiros_> oh, trollol, I forgot to implement Model#delete :D
MissionCritical has joined #ruby
t_p has joined #ruby
adriancb has joined #ruby
n1lo has joined #ruby
Menorah has joined #ruby
Guest64 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<workmad3> apeiros_: the biggest flaw in most ORMs is the way it lets you delete data whenever you want, IMO
<apeiros_> elaborate?
nateberkopec has quit [Quit: Leaving...]
<workmad3> apeiros_: </joke>
startupality has quit [Quit: startupality]
<apeiros_> oh wow, you got me quite confused (but interested) there :D
<workmad3> apeiros_: ;)
<apeiros_> anyway, transactions almost done
<workmad3> yay
<apeiros_> so I have: create migration, scopes, belongs_to, has_many, relation chaining, transactions. still missing: remove a couple of assumptions (like "id" column, primary key being an int), full migrations, joins, aggregations, a couple of datatypes. and probably a thousand other things.
startupality has joined #ruby
pandaant has joined #ruby
<workmad3> yeah, primary key == int is an assumption that would break my current project (all IDs are UUIDs :) )
evanjs has joined #ruby
josephndenton has joined #ruby
nw has left #ruby ["WeeChat 1.0"]
Guest64 has joined #ruby
<apeiros_> well, UUID is an int :-p
startupality has quit [Client Quit]
<apeiros_> just one with a fancy standard format
<workmad3> heh :)
<workmad3> postgres has a separate type for it
<apeiros_> I know
<apeiros_> I plan to natively support it
<apeiros_> along with most datatypes and a few custom composite types
<workmad3> ah, so more copying of activerecord? :)
Kricir has quit [Remote host closed the connection]
<apeiros_> oh, AR supports UUID now? (didn't stay current as we don't use pg at work)
dumdedum has joined #ruby
<workmad3> yeah, rails 4 brought in native uuid support for pks, 4.2 extends that to allow easier specification of fks as uuids
<workmad3> create_table :whatevers, id: :uuid do ... end
<apeiros_> ah yeah, proper fk support… that's also a thing.
dorei has joined #ruby
enebo has joined #ruby
<workmad3> it even spits out the CREATE EXTENSION line if needed into the schema :)
<apeiros_> heh
<apeiros_> I have a db setup task which creates everything necessary
<apeiros_> including roles, schemas, framework tables
<apeiros_> even the database if needed
<workmad3> I should probably specify fk relationships in my migrations, thinking about it
<workmad3> (4.2 introduced them into core as well)
<apeiros_> my coworkers hated a bit on me when I started explicitly marking fk's
volk_ has joined #ruby
<apeiros_> they couldn't just delete stuff anymore :D
rektide_ has left #ruby [#ruby]
<workmad3> hehe
<workmad3> 'how dare you make sure we don't bork our data!"
<apeiros_> ^^
<apeiros_> yeah, well, they *did* delete correctly. just not necessarily in the right order.
<workmad3> not right order == not correctly ;)
<apeiros_> now that I say that… I wonder whether you could just throw all deletes into a transaction…
<apeiros_> trudat. the end result tended to be correct ;-)
<workmad3> correct as long as the process didn't randomly die part way through? or db crashed and recovered into a bad state? :)
<apeiros_> yes
<apeiros_> dying randomly part way through is recoverable :)
<apeiros_> well, the other thing too
Scripore has joined #ruby
<apeiros_> it's just more annoying than doing it right from the beginning.
amundj has joined #ruby
<apeiros_> hrm, I fear I won't get much work done this week. brother comes over for a few days. I sense lots of gaming & arduino.
startupality has joined #ruby
devdazed has joined #ruby
freerobby has joined #ruby
nateberkopec has joined #ruby
josephnd1nton has joined #ruby
dtordable has joined #ruby
Pupeno has quit [Remote host closed the connection]
Channel6 has joined #ruby
lbrf has joined #ruby
rshetty has quit [Remote host closed the connection]
Pupeno has joined #ruby
hamakn has quit [Remote host closed the connection]
kish has quit [Read error: Connection reset by peer]
kish has joined #ruby
jenrzzz has joined #ruby
last_staff has quit [Quit: last_staff]
mary5030 has joined #ruby
mary5030 has quit [Remote host closed the connection]
mary5030 has joined #ruby
kish has quit [Changing host]
kish has joined #ruby
lbrf has quit [Ping timeout: 240 seconds]
Kabaka has quit [Read error: Connection reset by peer]
mliqu has joined #ruby
mliqu has quit [Remote host closed the connection]
mliqu has joined #ruby
kiyote23 has quit [Remote host closed the connection]
volk_ has quit [Quit: volk_]
cantonic has quit [Quit: cantonic]
bkulbida has joined #ruby
kiyote23 has joined #ruby
jenrzzz has quit [Ping timeout: 245 seconds]
iamninja has quit [Ping timeout: 250 seconds]
shortCircuit__ has quit [Remote host closed the connection]
vt102 has joined #ruby
startupality has quit [Quit: startupality]
kiyote23 has quit [Ping timeout: 244 seconds]
startupality has joined #ruby
momomomomo has joined #ruby
yfeldblum has quit [Ping timeout: 265 seconds]
rudisimo has quit [Ping timeout: 252 seconds]
siwica has quit [Ping timeout: 245 seconds]
sigurding has quit [Quit: sigurding]
axl_ has joined #ruby
siwica has joined #ruby
nicolastarzia has joined #ruby
mliqu has quit [Quit: Leaving]
freerobby has quit [Quit: Leaving.]
SOLDIERz has quit [Quit: Be back later ...]
_beechnut has joined #ruby
mliqu has joined #ruby
tesaf has joined #ruby
siwica has quit [Ping timeout: 252 seconds]
gr33n7007h has joined #ruby
gsd has joined #ruby
Kricir has joined #ruby
RaCx has quit [Quit: Computer has gone to sleep.]
bkulbida has quit [Quit: bkulbida]
nicolastarzia has quit [Ping timeout: 240 seconds]
arup_r has joined #ruby
asteve has joined #ruby
Pupeno_ has joined #ruby
charliesome has quit [Quit: zzz]
<shevy> I forgot
<shevy> when I invoke a .rb file standalone
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<dtordable> shevy![1~
<shevy> which variable should I use to address that file? both __FILE__ and $PROGRAM_NAME give me the same result
<dtordable> shevy!
<shevy> are you the freebsd dude
<dtordable> somewhat tbat
<dtordable> lol
<dtordable> *that
Pupeno has quit [Ping timeout: 265 seconds]
<apeiros_> shevy: __FILE__ is the file, $PROGRAM_NAME is the executed file. they'll differ in a require.
<shevy> hmm
sambao21 has joined #ruby
sambao21 has quit [Client Quit]
<apeiros_> if you e.g. run a.rb, and a.rb requires b.rb, then in b.rb __FILE__ == "b.rb" and $PROGRAM_NAME == "a.rb"
agrinb has joined #ruby
<apeiros_> that's why people use `if __FILE__ == $PROGRAM_NAME`
AndyBotwin has joined #ruby
<shevy> aha!
sambao21 has joined #ruby
arup_r has quit [Quit: Leaving.]
DadoCe has quit [Remote host closed the connection]
siwica has joined #ruby
caiges has joined #ruby
Ridley5 is now known as zzz_Ridley
apurcell has joined #ruby
Megtastique has joined #ruby
davedev24_ has joined #ruby
agrinb has quit [Ping timeout: 258 seconds]
arup_r has joined #ruby
momomomomo_ has joined #ruby
siwica has quit [Ping timeout: 255 seconds]
apurcell has quit [Ping timeout: 258 seconds]
deepy has quit [Quit: ZNC - http://znc.in]
deepy has joined #ruby
asteve has left #ruby ["Textual IRC Client: www.textualapp.com"]
momomomomo has quit [Ping timeout: 255 seconds]
momomomomo_ is now known as momomomomo
cantonic has joined #ruby
mroach has quit [Quit: mroach]
<apeiros_> hm, I guess Model#delete should set @persisted = false :D
startupality has quit [Quit: startupality]
<apeiros_> hmmm
<apeiros_> and now I notice that transactions break that…
* apeiros_ ponders adding a notification mechanism
<dtordable> shevy: you win... I necessite wget to download a .gem thing
<shevy> \o/
<shevy> or get a better OS
<dtordable> the OS is good
<dtordable> but my connection is completely shit
<dtordable> lol
dopie has joined #ruby
<shevy> if it would only be the connection alone
<dtordable> for what I paid (IRC and no more) it serves
<dtordable> lol
<shevy> IRC is indeed extremely advanced
<shevy> all the fancy animated graphics
<shevy> did you know you can do colours?
<dtordable> yes
tier_ has joined #ruby
s00pcan_ has joined #ruby
<shevy> the best is blinking colours
<dtordable> yeah
<dtordable> my term can do blinking shit
s00pcan_ has quit [Remote host closed the connection]
s00pcan_ has joined #ruby
n80 has joined #ruby
<shevy> hehe
<shevy> can you use kde on freebsd?
<shevy> or rather, do you use it
s00pcan_ has quit [Remote host closed the connection]
crueber has joined #ruby
s00pcan_ has joined #ruby
<dtordable> shevy: of course
<dtordable> lol
<dtordable> I prefer KDE alas GNOME
rimantas has quit [Quit: rimantas]
jaequery has joined #ruby
<dtordable> but I use things for GNOME for my convenience
tier has quit [Ping timeout: 244 seconds]
<dtordable> for example: cheese
<dtordable> hahaha
<shevy> dtordable you can use nice colours on kde konsole http://i.imgur.com/SsAX4My.png
Channel6 has quit [Quit: Leaving]
<dtordable> 256 colors, I suppose
<shevy> hmm let me count
s00pcan_ has quit [Remote host closed the connection]
s00pcan_ has joined #ruby
<shevy> ohhh
<shevy> I have only 138 registered
bloudermilk has quit [Quit: Textual IRC Client: www.textualapp.com]
<shevy> :(
<dtordable> yeah
pu22l3r has quit [Ping timeout: 256 seconds]
<dtordable> but there are around 256
<dtordable> but using them is a waste of time
n80 has quit [Ping timeout: 250 seconds]
<shevy> going to find out why I am missing some
<dtordable> I prefer the 16 color terminal
<shevy> 16 colours is so boring
pu22l3r has joined #ruby
<dtordable> the problem if your letter is black
<dtordable> I don't read
<dtordable> because of my background that is black
<dtordable> lol
deepy has quit [Changing host]
deepy has joined #ruby
c107 has quit [Remote host closed the connection]
larissa has joined #ruby
roolo has quit [Quit: AAAAaaaaAAAAAAA]
caiges has quit [Quit: Textual IRC Client: www.textualapp.com]
<workmad3> dtordable: pfft, only 256? I have a full 24bit colour terminal here :P
<apeiros_> hm, I see, AR performs a "sync_with_transaction_state" when calling .persisted?
<apeiros_> so I have transactions, but with a couple of rough edges :-|
arup_r has quit [Ping timeout: 244 seconds]
arup_r has joined #ruby
n80 has joined #ruby
Guest64 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Stoge88 has joined #ruby
<apeiros_> on another note - would be nice if Queue#pop supported timeouts.
goodenough has joined #ruby
fantazo has joined #ruby
cantonic has quit [Quit: cantonic]
freerobby has joined #ruby
<dtordable> workmad3: add 8 bits more and get an alpha channel!!!!!
<dtordable> hahahaahaha
cantonic has joined #ruby
devoldmx33 has joined #ruby
<shevy> dtordable did you start to learn ruby yet?
shredding_ has joined #ruby
lmickh has joined #ruby
<dtordable> shevy: no
s00pcan_ has quit [Remote host closed the connection]
AlbertoCG has joined #ruby
msgodf has quit [Remote host closed the connection]
s00pcan_ has joined #ruby
<shevy> come on man
yfeldblum has joined #ruby
shredding has quit [Read error: Connection reset by peer]
shredding_ is now known as shredding
<dtordable> shevy: in my present moment i don't have time
sambao21 has quit [Quit: Computer has gone to sleep.]
mroach has joined #ruby
iamninja has joined #ruby
kiyote23 has joined #ruby
DadoCe has joined #ruby
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
evanjs has quit [Remote host closed the connection]
yfeldblum has quit [Ping timeout: 256 seconds]
tier has joined #ruby
kapil__ has quit [Quit: Connection closed for inactivity]
snath has quit [Ping timeout: 264 seconds]
sambao21 has joined #ruby
IrishGringo has joined #ruby
tus has joined #ruby
evanjs has joined #ruby
tier_ has quit [Ping timeout: 244 seconds]
stunder has joined #ruby
<apeiros_> *sob*
<apeiros_> of course, $PID is not available by default. lovely $$.
rshetty has joined #ruby
mxweas has joined #ruby
<dtordable> shevy: a question
<shevy> yeah I think that is a design oddity. it gives the $$ names preference over the longer variants, and IMO they should be treated equally
<dtordable> shevy: gem install whatever.gem to finish the job?
xymbol_____ has quit [Quit: Lingo: www.lingoirc.com]
klmlfl has joined #ruby
<shevy> dtordable to finish what job
<shevy> hehehehe
<shevy> all jobs?
<bradland> apeiros_: what about `Process.pid`?
<dtordable> installing a ,gem file
<shevy> yes, this is the command to install a gem
<apeiros_> bradland: I'm being silly and try to avoid method calls :)
<shevy> whether it finishes or not depends on whether there will be errors or not
<dtordable> thanks, "dude"
<shevy> you can however also manually download .gem files; I do that locally, so I can just use an USB stick to add all gems even if I don't have internet connection up
<dtordable> so... you mean that I'm fucked without executing that command=
<bradland> haha, i like to use the $_ variables just to keep the kids off the street :)
giuseppesolinas has quit [Quit: This computer has gone to sleep]
Takle has joined #ruby
<shevy> it is the command to install a .gem dtordable - how else do you want to install a .gem file?
<dtordable> so... you mean that I'm fucked without executing that command?
<dtordable> ok
<shevy> I don't mean you are "fucked" in any way. If you do not install a gem, you can not use it. Seems logical right?
<dtordable> have to make a pranayama thing
startupality has joined #ruby
<shevy> is that indian curry pizza
giuseppesolinas has joined #ruby
<dtordable> well
<dtordable> I'll see
Macaveli has quit [Ping timeout: 258 seconds]
<dtordable> but after that I got a good news for you shevy
<dtordable> lol
<dtordable> I
<dtordable> have
<dtordable> WGET!!!!!!!!
<dtordable> hahaha
<bradland> dtordable: what are you trying to accomplish? if you really have some specific need, you can use gems without “installing” them to your system.
Lucky__ has joined #ruby
<dtordable> so what it serves for a gem without installing it?
mxweas has quit [Ping timeout: 272 seconds]
<bradland> i don’t know how to answer that question. i don’t know what you’re trying to accomplish.
<dtordable> installing rails
jenrzzz has joined #ruby
<bradland> you are trying to install rails?
adriancb has quit [Remote host closed the connection]
studiotate has joined #ruby
<dtordable> yeah, somewhaT
<bradland> so why do you want to avoid using rubygems?
<bradland> it’s possible to do, but it will involve some pain.
brahmadpk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<dtordable> bradland: my connection is a pain definitely
<dtordable> and getting a dependent gem
<dtordable> it just don't install a dependency gem
<dtordable> so I'm following master shevy
agjacome has joined #ruby
<dtordable> in order to acomplish this task
<dtordable> lol
<dtordable> for now... I got rubygems installed
<dtordable> I upgraded rubygems
<bradland> ok, so when you try to install gems, the poor connection causes many errors, which eventually causes rubygems to fail.
<bradland> is that correct?
<dtordable> and after that I'm
<dtordable> yes
agrinb has joined #ruby
<bradland> ok, so i have a couple of ideas
<dtordable> you got reason
<dtordable> you're a clever man
aswen has quit [Ping timeout: 245 seconds]
<dtordable> lol
<bradland> probably the best is to mirror the gems locally
<dtordable> aha
<dtordable> my tactic of gem by gem is useful
<bradland> that’s the other possible method
<dtordable> gem that I need gem that I download
<bradland> wget all the gems and simply install them from the individual files
<dtordable> and after all
<dtordable> yeah yeah
<dtordable> that method is obvious
<dtordable> lol
jenrzzz has quit [Ping timeout: 240 seconds]
<bradland> that’s basically what the gem mirror would do, but it’s more automated
<dtordable> the problem
<bradland> and should be more resiliant to network issues
<dtordable> look this
<dtordable> 9243648 (8,8M)
<bradland> once you’ve got copies of the gems you need, you can use that mirror in any environment where you need the gems
<dtordable> that's an impossible size to me
allcentury has quit [Ping timeout: 264 seconds]
<bradland> your connection cannot download 8,8M?
<dtordable> my connection fails in around 3%
<dtordable> lol
obscured has joined #ruby
<bradland> what country are you in? maybe there is a fellow Ruby programmer who can “sneaker net” some gems to you.
russt has joined #ruby
<bradland> “sneaker net” means to put files on a USB drive and carry them over to you :)
<dtordable> nah
<dtordable> I'm lost in Madrid
<dtordable> in a stupid place called Spain
s00pcan_ has quit [Ping timeout: 240 seconds]
<dtordable> and my connection is crap
<dtordable> for what I pay, I mean IRC
<dtordable> it works
<bradland> yeah, without a decent connection, you’re sunk
<bradland> you gotta get your hands on the gem files somehow
<dtordable> bradland: listen to me
mroach has quit [Quit: mroach]
<dtordable> in some days
<dtordable> around 26 of month
behrz has quit [Quit: Leaving]
agrinb has quit [Ping timeout: 258 seconds]
<dtordable> the connection switchs to a "I'm incredibly fast" mode
<dtordable> and for around 1 GB
<dtordable> it is really fast
<dtordable> lol
snath has joined #ruby
Joufflu has quit [Read error: Connection reset by peer]
<shevy> dtordable the problem with rails is that there are lots of individual gems
Hanmac has quit [Ping timeout: 244 seconds]
<deepy> and that it takes a long time to load
<shevy> hehe
<dtordable> so...
<dtordable> am I fucked?
<dtordable> lol
<shevy> dtordable the good news is - the amount of gems is finite. so if you do 1 gem at a time, one day you'll have finished ;)
<shevy> no you are not "fucked"
<deepy> dtordable: it really depends, which one of you got custody?
<shevy> you just have a long path ahead of you. start now, then you can finish sooner.
<shevy> but actually
nateberkopec has quit [Quit: Leaving...]
<shevy> don't you have faster internet connection in your country?
<bradland> without a connection that can download 10MB reliably, yes, you’re fucked.
<dtordable> yeah yeah
renderful has joined #ruby
<dtordable> there are huge connections out there
techsethi_ has joined #ruby
barderer has joined #ruby
lbrf has joined #ruby
<dtordable> but my earns don't pay them
<shevy> we have cheap flatrate for about 20 euro per month
<dtordable> lol
<dtordable> yeah yeah
<dtordable> I know that
<bradland> i’d talk to someone at a university
icebourg has joined #ruby
<shevy> and I never have connection issues (when I can connect that is, but I can connect like 99.99% of the time)
<dtordable> but as a connection I use a mobile phone
<bradland> see if you can get the gems downloaded there, and run a mirror
Aryasam has joined #ruby
<dtordable> that gives me connection
<shevy> k mobile phone
<bradland> that way you’re not relying on a network to `bundle install`
<shevy> don't you have a normal computer?
_beechnut1 has joined #ruby
<dtordable> no no
<dtordable> my computer is not normal
<shevy> yeah
* dtordable uses FreeBSD
Aryasam has quit [Client Quit]
<dtordable> now laugh!
<dtordable> hahahaha
<shevy> but even freebsd can be fast
<bradland> nothing wrong with freebsd
n008f4g_ has joined #ruby
tkuchiki has quit [Remote host closed the connection]
Takle has quit [Remote host closed the connection]
<certainty> hmm shen can run on ruby as it seems
<dtordable> look
<shevy> bradland he did not know how to download something from the commandline!
<dtordable> if I get the gems tru the server
gheegh has joined #ruby
<dtordable> I have the gems
<dtordable> and I can download them by file
tkuchiki has joined #ruby
_beechnut has quit [Ping timeout: 240 seconds]
behrz has joined #ruby
<gheegh> hey all.. quick question. Does anyone know of a gem you can use to track the history of changes of an object, activerecord or otherwise?
GaryOak_ has joined #ruby
Stoge88 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
anarang has quit [Quit: Leaving]
<gheegh> I'm looking ot have some sort of history available for object changes.. for class instances stored in an ElasticSearch database.
techsethi_ has quit [Client Quit]
renderful has quit [Ping timeout: 245 seconds]
<bradland> gheegh: any of these fit the bill? https://www.ruby-toolbox.com/categories/Active_Record_Versioning
commmmodo has joined #ruby
behrz has quit [Read error: Connection reset by peer]
russt has quit [Quit: russt]
<gheegh> well, it's not activerecord.. but i'll look.. :-)
behrz has joined #ruby
larissa has quit [Quit: Leaving]
<bradland> ah, ok. thought you said activerecord in the original question.
tkuchiki has quit [Ping timeout: 245 seconds]
<shevy> gheegh git!!!
behrz has quit [Read error: Connection reset by peer]
<shevy> does activerecord actually record any history on changed objects?
behrz has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<gheegh> yeah, AR is interesting, but a lot of the places where we do this, there's no activerecord.. exploring this though.. thanks.. I know that was almost a "let me google that for you" moment.. so thanks. :-)
RealMarc has quit [Ping timeout: 250 seconds]
Spami has joined #ruby
<apeiros_> shevy: it only keeps track of changes between what was received from the db and what is in the object now
<apeiros_> everything going beyond that you have to write yourself
tier has quit [Remote host closed the connection]
<mostlybadfly> Hello all
sambao21 has quit [Quit: Computer has gone to sleep.]
Takle has joined #ruby
Pattt has joined #ruby
<mostlybadfly> I got a quick question. I'm using a custom class with some add and update type methods to run 2 or 3 examples
hydrozen has joined #ruby
sambao21 has joined #ruby
CustosL1men has quit [Ping timeout: 265 seconds]
<mostlybadfly> To call the information saved for an "acct" I would need to use a hash(or some sort of array) or have stored it in a db correct?
behrz has quit [Ping timeout: 265 seconds]
vivek_ has joined #ruby
n80 has quit [Quit: n80]
behrz has joined #ruby
<apeiros_> mostlybadfly: your question implies tons of contextual knowledge about what you do. if you want any useful answer, provide that information.
<apeiros_> "add and update type methods" -> no idea what that's supposed to be
<apeiros_> "to run 2 or 3 examples" -> no idea what that's supposed to be
<apeiros_> "acct" -> no idea what that's supposed to be
<mostlybadfly> Ok
<apeiros_> "save" -> what do you understand as "save"?
<mostlybadfly> I'll have to formulate some examples. I cant give the exact thing I'm looking at
<mostlybadfly> I'll think of it and ask better I suppose
Hanmac has joined #ruby
behrz_ has joined #ruby
n80 has joined #ruby
<apeiros_> without meaningful information: having a hash or array is very much totally different from storing something in a db.
pengin has joined #ruby
<apeiros_> hash/array is in memory. stored in db *usually* means on disk.
behrz has quit [Read error: Connection reset by peer]
behrz has joined #ruby
Daneel has joined #ruby
<Daneel> hi there
adriancb has joined #ruby
<mostlybadfly> Yeah I'm ultimately planning to do both. Using s hash now for the 2 or 3 entries I have
fenzil has joined #ruby
<mostlybadfly> I'll do a summary example and ask in a bit
kiyote23 has quit [Remote host closed the connection]
vivek_ has left #ruby ["Leaving"]
<Daneel> i am not a ruby devel. But i try to concat an array elements in a string variable. how to do this ?
behrz_ has quit [Read error: Connection reset by peer]
behrz has quit [Read error: Connection reset by peer]
behrz has joined #ruby
<j2p2> join
commmmodo has quit [Quit: commmmodo]
dtordable has quit [Ping timeout: 240 seconds]
<shevy> >> ["1","2","3"].join ' '
<Daneel> j2p2: o ki search about this
<apeiros_> Daneel: string << array[index]
<apeiros_> assuming the array contains strings.
hydrozen has quit [Quit: Textual IRC Client: www.textualapp.com]
<Daneel> apeiros_: yes array elements are strings
<apeiros_> oh, actually I think I misread your question. shevy's answer probably fits. See Array#joi
<apeiros_> *Array#join
<apeiros_> j2p2: even gave the link :)
allcentury has joined #ruby
behrz_ has joined #ruby
behrz has quit [Read error: Connection reset by peer]
cantonic has quit [Quit: cantonic]
dtordable has joined #ruby
dtordable has quit [Changing host]
dtordable has joined #ruby
_beechnut1 has quit [Quit: Leaving.]
shuber_ has joined #ruby
prc has joined #ruby
_beechnut has joined #ruby
Stoge88 has joined #ruby
behrz_ has quit [Read error: Connection reset by peer]
behrz has joined #ruby
RaCx has joined #ruby
behrz has quit [Remote host closed the connection]
prc has left #ruby [#ruby]
kiyote23 has joined #ruby
mliqu has quit [Quit: Leaving]
it0a has joined #ruby
behrz has joined #ruby
IrishGringo has quit [Ping timeout: 258 seconds]
_beechnut has quit [Ping timeout: 252 seconds]
devoldmx33 has quit [Ping timeout: 256 seconds]
momomomomo has quit [Quit: momomomomo]
dblessing has joined #ruby
yfeldblum has joined #ruby
<Daneel> j2p2: shevy apeiros_ i make a test thank you for your answer
<j2p2> no problem :)
studiotate_ has joined #ruby
Parker0 has joined #ruby
n008f4g_ has quit [Ping timeout: 252 seconds]
IrishGringo has joined #ruby
Takle has quit [Read error: Connection reset by peer]
Takle has joined #ruby
devoldmx33 has joined #ruby
behrz_ has joined #ruby
allcentury has quit [Ping timeout: 240 seconds]
Guest64 has joined #ruby
anaeem1 has joined #ruby
behrz has quit [Ping timeout: 244 seconds]
Pattt has quit [Ping timeout: 264 seconds]
RaCx has quit [Quit: Textual IRC Client: http://www.textualapp.com/]
anaeem1 has quit [Remote host closed the connection]
Pattt has joined #ruby
studiotate has quit [Ping timeout: 258 seconds]
amundj has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
yfeldblum has quit [Ping timeout: 245 seconds]
behrz has joined #ruby
behrz_ has quit [Read error: Connection reset by peer]
cantonic has joined #ruby
deryl has joined #ruby
studiotate_ has quit [Ping timeout: 258 seconds]
yfeldblum has joined #ruby
kiyote23 has quit [Remote host closed the connection]
kiyote23 has joined #ruby
startupality has quit [Quit: startupality]
Stoge88 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
prasselpikachu_ is now known as prasselpikachu
akaiiro has joined #ruby
skrite has joined #ruby
cantonic has quit [Client Quit]
n80 has quit [Quit: n80]
nicolastarzia has joined #ruby
n80 has joined #ruby
<Daneel> this syntax is it possible ? @search_list.join(" ")
stunder has quit [Remote host closed the connection]
Akuma has joined #ruby
devdazed has quit [Quit: Computer has gone to sleep.]
cantonic has joined #ruby
yfeldblum has quit [Ping timeout: 252 seconds]
ij has joined #ruby
davedev24_ has quit [Ping timeout: 240 seconds]
shredding has quit [Quit: shredding]
olivier_bK has quit [Ping timeout: 245 seconds]
josephnd1nton has quit [Ping timeout: 255 seconds]
<certainty> Daneel: it is
Guest64 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<j2p2> you'll get the spaces between them though
<Daneel> certainty: thank you
davedev24_ has joined #ruby
<Daneel> is it is possible. my problem was in erb file
kiyote23 has quit [Remote host closed the connection]
<certainty> but syntactically it's perfectly fine
startupality has joined #ruby
behrz_ has joined #ruby
nicolastarzia has quit [Ping timeout: 244 seconds]
behrz has quit [Read error: Connection reset by peer]
russt has joined #ruby
studiotate has joined #ruby
mxweas has joined #ruby
snath has quit [Remote host closed the connection]
agrinb has joined #ruby
jheg has quit [Quit: jheg]
russt has quit [Ping timeout: 265 seconds]
krz has quit [Quit: WeeChat 1.0.1]
v0n has joined #ruby
pietr0 has joined #ruby
behrz_ has quit [Read error: Connection reset by peer]
behrz has joined #ruby
thumpba has joined #ruby
mxweas has quit [Ping timeout: 255 seconds]
evanjs has quit [Remote host closed the connection]
momomomomo has joined #ruby
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
agrinb has quit [Ping timeout: 258 seconds]
evanjs has joined #ruby
momomomomo has quit [Client Quit]
aclearman037 has joined #ruby
gsd has joined #ruby
russt has joined #ruby
anaeem1 has joined #ruby
IrishGringo has quit [Ping timeout: 272 seconds]
jaequery has joined #ruby
Guest64 has joined #ruby
snath has joined #ruby
allcentury has joined #ruby
mweshi has joined #ruby
triple_b has joined #ruby
n80 has quit [Quit: n80]
chinmay_dd has quit [Quit: Leaving]
snath has quit [Remote host closed the connection]
goodenough has quit [Remote host closed the connection]
tvw has quit []
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sarmiena_ has joined #ruby
burritocat is now known as santacat
n80 has joined #ruby
thoughnut has quit [Ping timeout: 244 seconds]
thumpba has quit [Remote host closed the connection]
droidburgundy has quit [Ping timeout: 264 seconds]
goodenough has joined #ruby
davedev2_ has joined #ruby
davedev24_ has quit [Ping timeout: 245 seconds]
jlast has joined #ruby
Takle_ has joined #ruby
goodenough has quit [Client Quit]
momomomomo has joined #ruby
Takle has quit [Ping timeout: 258 seconds]
startupality has quit [Quit: startupality]
AndyBotwin has quit [Quit: Leaving]
gsd has joined #ruby
tobago has quit [Remote host closed the connection]
ghostmoth has joined #ruby
saltsa has quit [Ping timeout: 250 seconds]
SHyx0rmZ has quit [Ping timeout: 264 seconds]
behrz has quit [Remote host closed the connection]
thumpba has joined #ruby
behrz has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
Peterman_ has joined #ruby
n80 has quit [Quit: n80]
Guest64 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
devdazed has joined #ruby
devdazed has quit [Read error: Connection reset by peer]
russt has quit [Quit: russt]
DEA7TH has joined #ruby
behrz_ has joined #ruby
devdazed has joined #ruby
behrz has quit [Read error: Connection reset by peer]
jerius has joined #ruby
mweshi has quit [Ping timeout: 258 seconds]
niftylettuce has joined #ruby
s00pcan_ has joined #ruby
thoughnut has joined #ruby
<DEA7TH> I have two Time objects, and I want to take the difference in seconds between them, but taking only the time - without the date and year. Is there a method for that?
<apeiros_> DEA7TH: normalize the times first.
<DEA7TH> In general, I would like my Time object to behave like a Time, rather than DateTime, if that is available
<apeiros_> i.e. create a third time using the first's hour/minute/second and the seconds year/month/day
sambao21 has joined #ruby
n80 has joined #ruby
<apeiros_> no, there's no "time only" class in ruby core/stdlib
<DEA7TH> sigh...
<DEA7TH> you mean set their dates to be equal?
DadoCe has quit [Remote host closed the connection]
<dtordable> shevy: I got that nokogiri gem installed
tier has joined #ruby
<dtordable> retrying
mattmcclure has joined #ruby
shuber_ has quit [Remote host closed the connection]
cruisibesares has joined #ruby
deepy has quit [Quit: ZNC - http://znc.in]
oleo has quit [Ping timeout: 244 seconds]
zB0hs has joined #ruby
oleo has joined #ruby
Peterman_ has quit [Quit: My Mac Mini has gone to sleep. ZZZzzz…]
<dtordable> shevy: continues with dependencies!
<cruisibesares> hey all i have been trying to build a static version of the ruby binary like this project https://code.google.com/p/pts-mini-gpl/wiki/StaticPython but for ruby I have been having a hell of a time getting it to work. Has anyone ever done this successfully or know of a good tutorial?
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
sk87 has joined #ruby
maestrojed has joined #ruby
sk87 has quit [Client Quit]
DadoCe has joined #ruby
deepy has joined #ruby
stunder has joined #ruby
supersym has quit [Quit: WeeChat 1.0.1]
Takle_ has quit [Remote host closed the connection]
DEA7TH has left #ruby ["http://quassel-irc.org - Chat comfortably. Anywhere."]
ghostlines has joined #ruby
supersym has joined #ruby
freerobby has quit [Quit: Leaving.]
freerobby has joined #ruby
s00pcan has quit [Remote host closed the connection]
s00pcan has joined #ruby
Fire-Dragon-DoL has joined #ruby
Fire-Dragon-DoL has quit [Max SendQ exceeded]
pietr0 has quit [Quit: pietr0]
s00pcan_ has quit [Read error: No route to host]
econerd4ever has joined #ruby
behrz_ has quit [Remote host closed the connection]
Fire-Dragon-DoL has joined #ruby
shuber_ has joined #ruby
s00pcan_ has joined #ruby
behrz has joined #ruby
yfeldblum has joined #ruby
bascht3 is now known as bascht
pietr0 has joined #ruby
shuber_ has quit [Remote host closed the connection]
despai has joined #ruby
chrishough has joined #ruby
<shevy> dtordable cool. one day you'll even know ruby
renderful has joined #ruby
sambao21 has quit [Quit: Computer has gone to sleep.]
Guest64 has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
commmmodo has joined #ruby
apurcell has joined #ruby
apurcell has quit [Remote host closed the connection]
apurcell has joined #ruby
bricker`work has joined #ruby
Peterman_ has joined #ruby
jeff-ooh has joined #ruby
behrz has quit [Read error: Connection reset by peer]
behrz_ has joined #ruby
dfinninger has joined #ruby
jenrzzz has joined #ruby
commmmodo has quit [Client Quit]
luckyruby has quit [Quit: Leaving...]
behrz_ has quit [Read error: Connection reset by peer]
behrz has joined #ruby
mengu has quit []
alex88_ has quit []
Scripore has quit [Ping timeout: 245 seconds]
jenrzzz has quit [Ping timeout: 256 seconds]
despai has quit [Quit: This computer has gone to sleep]
agrinb has joined #ruby
greenbagels_ has quit [Ping timeout: 256 seconds]
russt has joined #ruby
momomomomo has quit [Quit: momomomomo]
despai has joined #ruby
shuber_ has joined #ruby
kenneth has joined #ruby
Guest64 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
havenwood has joined #ruby
mxweas has joined #ruby
agrinb has quit [Ping timeout: 258 seconds]
georgesmith has joined #ruby
Macaveli has joined #ruby
renderful has quit [Remote host closed the connection]
dumdedum has quit [Quit: foo]
behrz has quit [Remote host closed the connection]
<dtordable> shevy: I'll know ruby when I learn
soulcake has quit [Quit: Quack.]
gaboesquivel has joined #ruby
mxweas has quit [Ping timeout: 255 seconds]
Guest90 has joined #ruby
Macaveli has quit [Ping timeout: 265 seconds]
soulcake has joined #ruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
commmmodo has joined #ruby
adriancb has quit [Remote host closed the connection]
TPBallbag has quit []
behrz has joined #ruby
pengin has quit [Remote host closed the connection]
totesjakey has joined #ruby
totesjakey is now known as jakery
Guest64 has joined #ruby
triple_b has joined #ruby
Blackhol_ has quit [Remote host closed the connection]
saltsa has joined #ruby
s00pcan__ has joined #ruby
s00pcan_ has quit [Read error: Connection reset by peer]
IrishGringo has joined #ruby
Blackhol_ has joined #ruby
Guest90_ has joined #ruby
Guest90 has quit [Ping timeout: 252 seconds]
mleung has joined #ruby
Peterman_ has quit [Quit: Textual IRC Client: www.textualapp.com]
<havenwood> cruisibesares: RVM has an option for statically compiling. It uses the SM framework, as does Tokaido (a project for static Ruby on OS X). You might want to ask in #rvm.
renderful has joined #ruby
shredding has joined #ruby
chrishough has joined #ruby
shredding has quit [Client Quit]
commmmodo has quit [Quit: commmmodo]
<havenwood> cruisibesares: I'm sure mpapis in #rvm could answer questions when he's around.
einarj has quit [Remote host closed the connection]
<havenwood> cruisibesares: Or you could use SM framework yourself, like RailsInstaller, Tokaido and RVM do.
n80 has quit [Quit: n80]
freerobby has quit [Quit: Leaving.]
djbkd has joined #ruby
mattwildig has joined #ruby
Scripore has joined #ruby
<havenwood> https://smf.sh/
jamesaxl has joined #ruby
<havenwood> A few folk in the irc channel too: #smf.sh
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
pengin has joined #ruby
mattwildig has quit [Remote host closed the connection]
chrishough has joined #ruby
freerobby has joined #ruby
mattwildig has joined #ruby
thumpba has quit [Remote host closed the connection]
mattwildig has quit [Remote host closed the connection]
workmad3 has quit [Ping timeout: 252 seconds]
DadoCe has quit [Remote host closed the connection]
thumpba has joined #ruby
Guest64 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
s00pcan__ has quit [Ping timeout: 256 seconds]
davedev2_ has quit [Ping timeout: 258 seconds]
behrz has quit [Remote host closed the connection]
davedev24_ has joined #ruby
jpstokes has joined #ruby
gsd has joined #ruby
perturbation has joined #ruby
DLSteve has joined #ruby
gsd has quit [Client Quit]
mattwildig has joined #ruby
<jpstokes> When running my test I get a duplicate entry error. I'm thinking Database cleaner can help to fix this but I'm using it now and I"m still getting the error. Here's my test_helper file: https://gist.github.com/6124219cefa169f3f411
<jpstokes> btw...I'm running rails minitests
arietis has joined #ruby
behrz has joined #ruby
Synthbread is now known as Synthead
<havenwood> jpstokes: What's the error? Usually the best place for Rails questions is #rubyonrails.
mattwildig has quit [Remote host closed the connection]
<jpstokes> hmmmm your right
Guest64 has joined #ruby
<jpstokes> error message: The following errors were found: Domain is already taken
AlSquire has quit [Quit: Quitte]
gsd has joined #ruby
mxweas has joined #ruby
<shevy> do you guys sometimes seem to have phantom errors in ruby?
<shevy> like when you assume your code does one thing, yet something else happens?
<havenwood> shevy: Heisenbugs!
<shevy> yeah
mattwildig has joined #ruby
<GaryOak_> is that introduced by the type system, maybe?
<crome> the worst bit is when I expect tests to break after a change and they don't
adriancb has joined #ruby
<shevy> havenwood for some of these bugs, I am able to trace back where they originated, like when I had old gems being loaded
mattwildig has quit [Remote host closed the connection]
<shevy> but some other bugs are more of a mystery to me
yfeldblum has joined #ruby
asmodlol has joined #ruby
gsd has quit [Ping timeout: 245 seconds]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
georgesmith has quit [Quit: georgesmith]
Takle has joined #ruby
giuseppesolinas has joined #ruby
<GaryOak_> I've had some name collision bugs where requires were overwriting variables
kiyote23 has joined #ruby
<havenwood> shevy: Stop writing bugs, they can be hard to find once you do!
<havenwood> :P
<shevy> hehehe
<shevy> but the thing is! it was a tiny class
<shevy> I made sure the input was correct
nicolastarzia has joined #ruby
<shevy> but somehow, when I used it in the class method variant, suddenly one input became nil
<shevy> and there was nothing in the code I could find where it could have been reset to nil
Scripore has quit [Ping timeout: 250 seconds]
<GaryOak_> the ole 'turned into nil' bug, that's a ruby classic
yfeldblum has quit [Ping timeout: 240 seconds]
allcentury has quit [Ping timeout: 240 seconds]
gsd has joined #ruby
studiotate has quit [Quit: Computer has gone to sleep.]
Takle has quit [Read error: No route to host]
arietis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Guest64 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
axl_ has quit [Quit: axl_]
<shevy> well I am rewriting it all and add tests
Takle has joined #ruby
gcoeki has quit [Remote host closed the connection]
<crome> shevy: just use debug puts
<crome> it solves everything
<shevy> that's what I thought too
<shevy> but those damn mysterious nils ruined that!
<shevy> ok, singular. only one nil
<dtordable> hey shevy
nicolastarzia has quit [Ping timeout: 250 seconds]
<dtordable> I got a command called "rails" on my computer, shevy, did I acomplished the job?
Guest93887 has joined #ruby
<shevy> dtordable possibly. did you invoke it yet? anyway, don't ask me about rails I don't use it, the rails guys are on #rubyonrails if you wanna learn rails
<mostlybadfly> apeiros_: hi, i have an updated example https://gist.github.com/mostlybadfly/85868e81083d216b3828 i'm intentionally using a hash and will probably switch to doing it through a simple db
axl_ has joined #ruby
marr has quit [Ping timeout: 244 seconds]
gsd has quit [Ping timeout: 245 seconds]
<dtordable> shevy: first Ruby, then Rails lol
giuseppesolinas has quit [Quit: This computer has gone to sleep]
<shevy> then go learn ruby first
thumpba has quit [Remote host closed the connection]
<mostlybadfly> what i'm wondering about is and i guess it is a sanity check for me: do I reinitialize to do a change_food or can i run it like i have it written , making sure to update the hash?
tenseiten has joined #ruby
<shevy> I don't understand you. you said you have no time to learn ruby, but you continue trying to get rails installed
<mostlybadfly> also is there a better way to represent the variable or is it ok to make it a constant?
tenseiten has quit [Changing host]
tenseiten has joined #ruby
<havenwood> mostlybadfly: it's not okay to make it a constant, since it isn't constant
<shevy> but we can change constants in ruby!
<shevy> hence their name
<shevy> :-)
<havenwood> can but shouldn't!
nateberkopec has joined #ruby
<shevy> haha
<mostlybadfly> thanks havenwood is there a better way to represent it so it is available throughout a class?
<shevy> apeiros loves it when we change constants
<mostlybadfly> i kinda felt that it was wrong
kenneth has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<dtordable> shevy: it's obvious that I can be crazy and my psyquiatric says so lol
<shevy> mostlybadfly if it is in a hash, you could always query the hash for the value right?
<dtordable> shevy: so let me have some sex with this computer
<dtordable> lol
<havenwood> mostlybadfly: inside #initialize: @name_list = {}
<mostlybadfly> ah ok
<shevy> like: (a) MY_CONSTANT = 'britney spears' or (b) def my_constant?; hash['britney spears']; end
<havenwood> mostlybadfly: or you're saying you want it available to all instances of the class?
reinaldob has quit [Remote host closed the connection]
Synthead has quit [Remote host closed the connection]
<mostlybadfly> havenwood: i guess that is my confusion. for example i'm assuming i initialize to add to the hash, so then this would mean that I am to do the same when i want to change correct?
crdpink has quit [Quit: q term]
agrinb has joined #ruby
<mostlybadfly> for example, i'm basically just updating the hash in line in the method
<mostlybadfly> instead of using the instance variables
mbeasley has quit [Quit: WeeChat 0.4.2]
seitensei has quit [Ping timeout: 272 seconds]
mbeasley has joined #ruby
sea_local has quit [Remote host closed the connection]
<mostlybadfly> i guess if i place the hash in there, that kind of answers my question
msmith has joined #ruby
frem has joined #ruby
<mostlybadfly> i'll modify so it is an instance variable under def initialize and see where that gets me
alex88 has joined #ruby
Akuma has quit [Read error: Connection reset by peer]
Akuma has joined #ruby
fabrice31 has joined #ruby
<havenwood> mostlybadfly: Seems you're conflating the NameList with a Name. Your `Names` class seems like it's the NameList, so the accessor for :name and :favorite_food are confusing.
allcentury has joined #ruby
<havenwood> mostlybadfly: Is it a list of names? What should that expose to the outside?
agrinb has quit [Ping timeout: 272 seconds]
Synthead has joined #ruby
gsd has joined #ruby
<mostlybadfly> I was trying to make a dumb example since I cant give the exact thing
kenneth has joined #ruby
<mostlybadfly> I guess I'm trying to get to a point where I can make changes to the values in the hash
Guest64 has joined #ruby
momomomomo has joined #ruby
gsd has quit [Client Quit]
<mostlybadfly> But I see what you're saying
dopie has quit [Remote host closed the connection]
<mostlybadfly> I should have :name with options depending on what is being changed and update a hash under the def initialize method
<mostlybadfly> name
AlbertoCG has quit [Quit: Leaving]
<havenwood> mostlybadfly: just an aside, but you probably don't want to convert a user-inputted String into a Symbol. pre-ruby-2.2 you could munch up all the memory by creating a ton of Symbols.
<havenwood> mostlybadfly: If it's a favorite food list, I'd call it that.
<mostlybadfly> Ah I see ok
<mostlybadfly> Won't be a need once I fix it I think
<mostlybadfly> Was over complicating it as usual
asmodlol has quit [Ping timeout: 272 seconds]
Bira has joined #ruby
Guest93887 is now known as mattwildig
asmodlol has joined #ruby
momomomomo has quit [Quit: momomomomo]
Darryl__ has quit [Quit: Connection closed for inactivity]
Megtastique has quit []
freerobby has quit [Quit: Leaving.]
sea_local has joined #ruby
Bira has quit [Client Quit]
codezomb has joined #ruby
frog|OFF is now known as green-big-frog
pika_pika has quit [Ping timeout: 258 seconds]
fabrice31 has quit [Remote host closed the connection]
gfawcettpq has quit [Ping timeout: 244 seconds]
Bira has joined #ruby
asmodlol has quit [Ping timeout: 264 seconds]
asmodlol has joined #ruby
Takle has quit [Ping timeout: 265 seconds]
mattwildig has quit []
anaeem1 has quit [Remote host closed the connection]
Takle has joined #ruby
momomomomo has joined #ruby
CrazyM4n has joined #ruby
fabrice31 has joined #ruby
maestrojed has quit [Read error: Connection reset by peer]
maestrojed has joined #ruby
fabrice31 has quit [Remote host closed the connection]
n008f4g_ has joined #ruby
fabrice31 has joined #ruby
geggam has joined #ruby
snath has joined #ruby
anaeem1 has joined #ruby
Bira has quit []
<ghostmoth> this is likely a biased place to ask this question, but here goes: has anybody who has worked professionally with python and ruby noticed that python devs tend to get “clever” with code more often than ruby devs?
arietis has joined #ruby
<ghostmoth> the kind of clever where you’re like “how the hell is this view working?”
rbennacer has joined #ruby
<ghostmoth> “and why is it architected like this? there is nothing too complex going on overall.”
studiotate has joined #ruby
crdpink has joined #ruby
fabrice31 has quit [Ping timeout: 255 seconds]
<rbennacer> hello
rshetty has quit [Remote host closed the connection]
<ghostmoth> i’ve workd 90% in the python community and just a little in ruby, but i’ve observed this
<lbrf> ghostmoth: well, they're different languages with differents functionalities...
rshetty has joined #ruby
<wasamasa> ghostmoth: no
anaeem1 has quit [Remote host closed the connection]
<ghostmoth> i probably just have a particular slice of experience that isn’t indicative of a general trend
<ghostmoth> i’m just curious
mary5030 has quit [Remote host closed the connection]
<ghostmoth> i feel frustrated with python a lot and likely have a “grass is always greener” attitude
mary5030 has joined #ruby
<havenwood> ghostmoth: i really viscerally prefer Ruby, dunno why
studiotate has quit [Ping timeout: 244 seconds]
<havenwood> well, i know some reasons why but there's an element of aesthetic preference as well
anaeem1 has joined #ruby
duggiefresh has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
<ghostmoth> the differences in the actual languages are “meh” to me, i like both for different reasons. i guess when i say “python” and “ruby” what i’m really talking about are the communities behind them and their tendencies
rshetty has quit [Remote host closed the connection]
DadoCe has joined #ruby
freerobby has joined #ruby
<eam> ghostmoth: true of developers in general
tjohnson has joined #ruby
renderful has quit [Remote host closed the connection]
nateberkopec has quit [Quit: Leaving...]
phutchins has quit [Ping timeout: 240 seconds]
tus has quit [Ping timeout: 255 seconds]
mary5030 has quit [Ping timeout: 250 seconds]
s00pcan_ has joined #ruby
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
thumpba has joined #ruby
yfeldblum has joined #ruby
DadoCe has quit [Ping timeout: 244 seconds]
<ghostmoth> haha
<ghostmoth> *sigh*
giuseppesolinas has joined #ruby
mloveless has joined #ruby
browndawg has joined #ruby
IrishGringo has quit [Ping timeout: 258 seconds]
ij has left #ruby ["WeeChat 1.0.1"]
crack_user has joined #ruby
yfeldblum has quit [Ping timeout: 265 seconds]
<CrazyM4n> Is there anything like a docstring in ruby?
thisirs has quit [Remote host closed the connection]
thisirs` has joined #ruby
mary5030 has joined #ruby
mary5030 has quit [Remote host closed the connection]
<momomomomo> CrazyM4n: “Like a docstring” - elaborate please
mary5030 has joined #ruby
alex88 has quit []
<CrazyM4n> Never mind, I can just use comments
<momomomomo> CrazyM4n: http://yardoc.org/ for documentation, if that’s what you’re looking for
<CrazyM4n> http://en.wikipedia.org/wiki/Docstring#Python This is the kind of thing that I meant
dfinninger has quit [Remote host closed the connection]
dfinninger has joined #ruby
<havenwood> CrazyM4n: there isn't, but you could implement it pretty easily if you wanted to
<wasamasa> CrazyM4n: just use CL
<CrazyM4n> Eh, I don't need it
josephnd1nton has joined #ruby
<wasamasa> lol
<CrazyM4n> It would just be nifty if it existed
<browndawg> CrazyM4n: I think what you want is RDoc
<browndawg> automatically parses classes etc
<browndawg> and you can add comments to for documentation
s00pcan_ has quit [Ping timeout: 272 seconds]
<havenwood> CrazyM4n: gem install docstrings: https://rubygems.org/gems/docstrings
DadoCe has joined #ruby
<CrazyM4n> havenwood: Hm, that looks good
<CrazyM4n> I'll try it
<CrazyM4n> Thanks
IrishGringo has joined #ruby
<wasamasa> havenwood: but that doesn't change the tooling to use those, does it
<havenwood> wasamasa: what tooling?
Kricir has quit [Remote host closed the connection]
<wasamasa> havenwood: like, your text editor
<wasamasa> havenwood: or your repl
<wasamasa> havenwood: or whatever else could be used to make use of them
patrick99e99 has joined #ruby
Soda has joined #ruby
agrinb has joined #ruby
Bira has joined #ruby
browndawg has quit [Quit: Leaving.]
<wasamasa> I can't believe they can actually make use of triple-quoted strings without any magic
<havenwood> wasamasa: in your repl you can query with .docstring, but in your editor you'd probably have to write your own plugin
Musashi007 has joined #ruby
Bira has quit [Client Quit]
tuelz has quit [Ping timeout: 245 seconds]
<momomomomo> YARD is a common way to document as well
<havenwood> wasamasa: checkout the nifty way they do it: http://www.rubydoc.info/gems/docstrings/0.1.0/frames
<wasamasa> yeah, I suspect stuff like yard to be supported by everything significant
tus has joined #ruby
<havenwood> self-documenting code \o/
<havenwood> :P
<havenwood> drowning in a sea of grey
agrinb has quit [Ping timeout: 265 seconds]
pengin has quit [Remote host closed the connection]
pengin has joined #ruby
rodfersou has quit [Quit: leaving]
last_staff has joined #ruby
davedev24_ has quit [Ping timeout: 256 seconds]
tier has quit [Remote host closed the connection]
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
momomomomo has quit [Ping timeout: 244 seconds]
jeanlinux has joined #ruby
jheg has joined #ruby
momomomomo has joined #ruby
green-big-frog is now known as frog|OFF
_beechnut has joined #ruby
mattwildig has joined #ruby
commmmodo has joined #ruby
pengin has quit [Ping timeout: 252 seconds]
mleung has quit [Quit: mleung]
PeterBoy has joined #ruby
jeanlinux has quit [Remote host closed the connection]
jeanlinux has joined #ruby
Guest64 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mloveless has quit [Remote host closed the connection]
renderful has joined #ruby
nateberkopec has joined #ruby
gregf has quit [Quit: WeeChat 1.0.1]
Hobogrammer has joined #ruby
spider-mario has quit [Ping timeout: 265 seconds]
jeanlinux has quit [Remote host closed the connection]
gaboesquivel has quit [Remote host closed the connection]
momomomomo_ has joined #ruby
chrishough has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
momomomomo has quit [Ping timeout: 240 seconds]
momomomomo_ is now known as momomomomo
aclearman037 has joined #ruby
JohnBat26 has quit [Ping timeout: 244 seconds]
postmodern has joined #ruby
conniemj has joined #ruby
aswen has joined #ruby
despai has quit [Quit: This computer has gone to sleep]
sea_local has quit [Remote host closed the connection]
despai has joined #ruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<dtordable> shevy: Rails has a lot of dependencies... I'm installing gems and more gems... incredible!
adriancb has quit [Remote host closed the connection]
<crome> just use bundler
despai has quit [Client Quit]
econerd4ever has quit [Remote host closed the connection]
<dtordable> yeah yeah... exec that "budle install" as root so my system is installing dependencies ahead!
<crome> why would you do that
crack_user has quit [Quit: Leaving.]
FooMunki has quit [Quit: FooMunki]
<dtordable> because I don't know (yet) what I am doing lol
<crome> ah
<crome> okay
triple_b has joined #ruby
<dtordable> let me check that, thanks momomomomo
<shevy> dtordable yeah rails has a lot of stuff. I don't know why you want rails
<shevy> dtordable why don't you use sinatra+padrino instead; it is like 5 gems in total only
arietis has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
iamjarvo has joined #ruby
<dtordable> I don't know (yet)
sigurding has joined #ruby
Jackneill has quit [Remote host closed the connection]
<dtordable> at the moment I'm using Plone now lol
dfinninger has quit [Remote host closed the connection]
hmsimha has joined #ruby
dfinninger has joined #ruby
tier has joined #ruby
IrishGringo has quit [Ping timeout: 258 seconds]
spider-mario has joined #ruby
claw has joined #ruby
niftylettuce has quit [Quit: Connection closed for inactivity]
Scripore has joined #ruby
Zackio has quit [Remote host closed the connection]
yfeldblum has joined #ruby
lolmaus has quit [Quit: Konversation terminated!]
yfeldblum has quit [Remote host closed the connection]
<dtordable> Ruby is incredible... if I put -V on the command line then I get a verbose outpùt!
chrishough has joined #ruby
adriancb has joined #ruby
Crazy_Atheist has quit [Ping timeout: 245 seconds]
studiotate has joined #ruby
Zackio has joined #ruby
gsd has joined #ruby
slester has joined #ruby
VBlizzard has joined #ruby
snath has quit [Ping timeout: 240 seconds]
thumpba has quit [Remote host closed the connection]
mleung has joined #ruby
thumpba has joined #ruby
ohaibbq has joined #ruby
Crazy_Atheist has joined #ruby
Wolfram74 has joined #ruby
phutchins has joined #ruby
fantazo has quit [Quit: Verlassend]
<CrazyM4n> Are multiline statements allowed in ruby? Like this: https://gist.github.com/CrazyM4n/2bfd4c3065ddb0a85081
<dtordable> fixing incredible stupid fails without knowledge of Ruby/Rails...
<waxjar> CrazyM4n: sure
studiotate has quit [Ping timeout: 258 seconds]
<CrazyM4n> kk
<Wolfram74> I'm poking around benchmark-ips for the first time
Synchunk` has joined #ruby
Guest64 has joined #ruby
blizzy has quit [Ping timeout: 240 seconds]
<Wolfram74> and I've got this algorithm that has a pre-processing step, but I don't know how the benchmark is handling it, it kind of looks like it isn't.
<shevy> dtordable well most options should be documented via "ruby --help"
<dtordable> yeah, I saw that!
<dtordable> but now a cigarette! hahaha
<waxjar> Wolfram74: the block is just executed over and over and then it counts how many times it has executed in (by default) 5 seconds
<waxjar> so, depends on what you do in the block
<Wolfram74> so it ignores everything outside of that block, including global variables?
asmodlol has quit [Ping timeout: 245 seconds]
<waxjar> it doesn't benchmark them, no
<waxjar> it can use them, obviously
Synchunk has quit [Ping timeout: 240 seconds]
Synchunk` is now known as Synchunk
<Wolfram74> that's the thing i'm concerned about, because it's giving me undefined variable errors, so I'm not seeing that it does
conniemj has quit [Quit: (null)]
asmodlol has joined #ruby
despai has joined #ruby
<waxjar> you're testing with random input, so results are bound the be skewed?
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<waxjar> and you're using a local variable there, which isn't visible in the scope of the fibo_find2 method
mleung has quit [Quit: mleung]
<Wolfram74> 90% of the numbers will be between 1 billion and 10 billion, so it won't be too skewed
<Wolfram74> and when I run fibo_find2 outside of the context of benchmark, it sees fib_store
alicanyilmaz has joined #ruby
<Wolfram74> I made an assumption about accessibility of local variables
nicolastarzia has joined #ruby
<Wolfram74> I'll slap a dollar sign on them, just to be sure
<alicanyilmaz> Guys i was mobile app developer at .net and i have experience in c#, would you recommend me to lern rails and ruby or can you give me instructions to how learn ruby and rails?? Books, video tutorials, etc. thanks
dseitz has joined #ruby
aef has quit [Remote host closed the connection]
sea_local has joined #ruby
renderful has quit [Remote host closed the connection]
<Wolfram74> waxjar: i am correct in assuming that it chooses a new random number each time it tests, right?
<Wolfram74> not like, fib1 will get some 9 digit beast, and fib 2 will check to see if 5 is a fibonacci number?
RedDwarf has joined #ruby
studiotate has joined #ruby
aef has joined #ruby
jack_rabbit has quit [Ping timeout: 240 seconds]
Zackio has quit [Ping timeout: 245 seconds]
<shevy> alicanyilmaz the name is "Ruby on Rails" http://rubyonrails.org/ - so when you write "rails and ruby" and when you write "ruby and rails", what exactly do you mean really?
<Areessell> Well, you gotta learn Ruby to learn Rails, so I suppose he wants to learn both
<shevy> the rails-centric people are on the channel #rubyonrails
momomomomo_ has joined #ruby
RedDwarf has quit [Remote host closed the connection]
momomomomo has quit [Ping timeout: 256 seconds]
momomomomo_ is now known as momomomomo
nicolastarzia has quit [Ping timeout: 264 seconds]
<shevy> some people use rails without knowing ruby!
<Areessell> Err she? I should avoid pronouns
mliqu has joined #ruby
<waxjar> yes, which is not what you want if you're benchmarking
<waxjar> you're testing different implementation with different inputs. you won't be getting results you can compare
<waxjar> *implementations
<waxjar> Wolfram74: that's very possible. why do you want to test with random inputs in the first place?
<Areessell> How would someone implement a controller action without knowing Ruby? O_o
djbkd has quit [Remote host closed the connection]
Zackio has joined #ruby
conniemj has joined #ruby
<shevy> you'd be surprised!
<shevy> they will apply a factory pattern
djbkd has joined #ruby
agrinb has joined #ruby
allcentury has quit [Ping timeout: 258 seconds]
<Wolfram74> waxjar: I wanted to attempt for at least a semblence of representative sampling, and since the input space was just integers, I decided to integers at random
boadie has quit [Remote host closed the connection]
DivineEntity has quit [Ping timeout: 252 seconds]
<Wolfram74> waxjar: I got the full thing working by making those referenced variables global, and i ran it twice and got very similar results, so I think the random selector is re-rolling each cycle
n1lo has quit [Quit: Leaving]
renderful has joined #ruby
asmodlol has quit [Ping timeout: 258 seconds]
conniemj_ has joined #ruby
conniemj has quit [Ping timeout: 272 seconds]
asmodlol has joined #ruby
gsd has joined #ruby
ChoiKyuSang has quit [Quit: Going offline, see ya! (www.adiirc.com]
IrishGringo has joined #ruby
DivineEntity has joined #ruby
last_staff has quit [Quit: -,-]
<waxjar> they're still random, so you cannot learn anything from the results
<Areessell> lol
<RDash> Does ruby support lazy programmers?
<Areessell> Absolutely
alicanyilmaz has left #ruby [#ruby]
<RDash> great!
* RDash goes to bed
agrinb has quit [Ping timeout: 258 seconds]
<Areessell> person.sleep( 12.hours )
econerd4ever has joined #ruby
pwnz0r has joined #ruby
<bricker`work> 12 hours!
commmmodo has quit [Quit: commmmodo]
perturbation has quit [Ping timeout: 245 seconds]
<Areessell> >_> Don;t judge me
obscured has quit [Quit: leaving]
lesnik_ has joined #ruby
crack_user has joined #ruby
econerd4ever has quit [Remote host closed the connection]
perturbation has joined #ruby
mattmcclure has quit [Quit: Connection closed for inactivity]
Blackhol_ has quit [Remote host closed the connection]
econerd4ever has joined #ruby
commmmodo has joined #ruby
deepy has quit [Changing host]
deepy has joined #ruby
lbrf has quit [Quit: Be back later ...]
Morkel has quit [Quit: Morkel]
<lesnik_> HI guys. I tried to load a gem called 'allegro-webapi'. It's on the list. dpiwowarski@dpiwowarski-Vostro-3300:~/ruby/allegro$ gem list|grep allegro
<lesnik_> allegro-webapi (0.0.1)
sigurding has quit [Quit: sigurding]
<Areessell> Go on
ChoiKyuSang has joined #ruby
<lesnik_> but when i try to do require 'allegro-webapi'
econerd4ever has quit [Ping timeout: 244 seconds]
<lesnik_> I get 'LoadError: cannot load such file -- allegro-webapi'
<Areessell> You could just `gem list GEM_NAME` by the way
<Areessell> Some gems do not have filenames (which is what you give as an argument to the require method) that correspond to the gem name
claw_ has joined #ruby
<Areessell> Yeah the developer for that gem doesnt seem to know much about what they're doing, but if you really want to try using it, try `require 'allegro/webapi'`
jeanlinux has joined #ruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
conniemj_ has quit [Quit: (null)]
claw has quit [Ping timeout: 272 seconds]
<lesnik_> Areessell: thank you
jenrzzz has joined #ruby
<shevy> wow
<lesnik_> didn't know that gem name != the required thing
<shevy> a gem that has a /
<shevy> lesnik_ yeah unfortunately
<shevy> some gem authors are well behaving friends, others are hostile and inconsistent enemies
<Areessell> It's actually pretty common to map foo-bar to foo/bar
conniemj_ has joined #ruby
ndrei has quit [Ping timeout: 244 seconds]
<shevy> you see it often that gems mandate a require 'foo/bar' ?
<pontiki> frequently dashes turn into subdirectories; bundle gem does that if you create a new gem with dashed is the name
<pontiki> jeepers
<Areessell> Totally
<pontiki> typing gone to shit
jeanlinux has quit [Ping timeout: 245 seconds]
davedev24_ has joined #ruby
<Areessell> That's not a dash! It's a hyphenation glyph!
<shevy> require 'rai/ls'
jenrzzz has quit [Ping timeout: 245 seconds]
<lesnik_> anyway, thank you guys :)
<Areessell> Sure
<waxjar> there's a naming conventions page on rubygems guide
crack_user has quit [Quit: Leaving.]
<shevy> require 'active/support'
<shevy> require 'thread/safe'
studiotate has quit [Quit: Lingo - http://www.lingoirc.com]
<shevy> wait I got a common one!
<shevy> require 'activerecord/jdbc/adapter' http://rubygems.org/gems/activerecord-jdbc-adapter
<shevy> right?
ghostmoth has quit [Quit: ghostmoth]
<Areessell> shevy: Have you never used a gem that was an extension of another? guard-literally-anything-here
<shevy> let me check my sinatra stuff
<shevy> sinatra-flash-0.3.0.gem
<Areessell> There ya go, I bet Flash is defined as module Sinatra; class Flash; end; end
<shevy> yeah
<shevy> require 'sinatra/flash'
<shevy> I also now understand why
<shevy> they have no alternative there
claw__ has joined #ruby
ghostmoth has joined #ruby
commmmodo has quit [Quit: commmmodo]
adamski2600 has joined #ruby
deryl has quit []
mjuszczak has joined #ruby
commmmodo has joined #ruby
deryl has joined #ruby
<lesnik_> so the guy who made that allegro gem, named it correctly? :)
<shevy> yeah
<Areessell> Yeah totally, they just didnt document how to require it
<shevy> his code will reside under allegro/webapi.rb
commmmodo has quit [Client Quit]
<shevy> so the name is imposed onto him by the underlying filesystem
claw_ has quit [Ping timeout: 245 seconds]
<shevy> imagine if he were to do this:
<shevy> require 'allegro-webapi'
jeanlinux has joined #ruby
<Areessell> Well conventions are just that. a convention. He coulda named it "my_super-cool-allegro-ruby-gem"
duggiefr_ has joined #ruby
pengin has joined #ruby
<shevy> then you have a file allegro.rb and another file allegro-webapi.rb
thumpba has quit [Remote host closed the connection]
thumpba has joined #ruby
duggiefr_ has quit [Remote host closed the connection]
Guest64 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<Areessell> I've seen that, where the allegro-webapi.rb file would simply contain a `require 'allegro/webapi'`
<Areessell> We are blowin' minds here with this research here, people
duggiefresh has quit [Ping timeout: 240 seconds]
thumpba has quit [Remote host closed the connection]
thumpba has joined #ruby
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
<shevy> not the allegro-webapi guy
<shevy> he put it correctly under the Allegro namespace
anaeem1 has quit [Remote host closed the connection]
<Areessell> What I'm saying is it's all implied. Even if he had `module AllegroWebAPI` defined in the file, he coulda put it in any file he wanted
Musashi007 has quit [Quit: Musashi007]
<shevy> there actually is no allegro gem
Guest64 has joined #ruby
<epitron> hey, anyone know of a good ruby autoreloader gem?
<shevy> wait there is
thumpba has quit [Remote host closed the connection]
<Areessell> epitron: Reloader for what?
<epitron> i wanna make my IRC bot autoreload its plugins
<shevy> ERROR: Could not find a valid gem 'allegro' (>= 0) in any repository
<shevy> so now I am confused
yfeldblum has joined #ruby
<epitron> Areessell: requires
<epitron> like rails' one, but without the rest of rails stuck to it
neoxquick has quit [Ping timeout: 250 seconds]
<Areessell> You would have to undefine any constants defined in the plugin file, then load the file again
<epitron> which is what rails' does :)
<Areessell> Right, you would have to build that system specificlly for your bot
<epitron> OR
<epitron> i could get a gem
<epitron> :)
slester has quit [Remote host closed the connection]
mjuszczak has quit []
atmosx has joined #ruby
VBlizzard is now known as blizzy
<Areessell> Unless theres a gem specifically for the IRC bot framework you're using, then you would have to build it yourslef
<epitron> actually, the ideal would be where i can use ruby's "autoload" system to do it for me
aarkerio has joined #ruby
<epitron> autoload :Constant, 'file', reload: true
mleung has joined #ruby
<epitron> Areessell: wtf you talkin bout
<epitron> this doesn't have to be written from scratch
<pwnz0r> should i use RSpec to write unit tests or Test::Unit. im new to ruby so maybe they are the same?
<epitron> worst case: it would need some configuration
wldcordeiro_ has joined #ruby
<Areessell> pwnz0r: Up to you and what you prefer
ghostlines has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
devdazed has quit [Read error: Connection reset by peer]
<Areessell> epitron: Find a gem that does that then and I'll eat my words
commmmodo has joined #ruby
<epitron> that was my original question!
<pwnz0r> ok so far i have been using Test::Unit. but i was curious if one is prefered over the other in the community
<epitron> you're not helping me here, Areessell
<waxjar> epitron: http://rkh.im/code-reloading is useful
arup_r has quit [Quit: Leaving.]
<waxjar> for IRC reloading I'd just suggest putting your bot behind a bouncer
thumpba has joined #ruby
yfeldblum has quit [Ping timeout: 245 seconds]
<waxjar> and restart your bot manually
<epitron> pfft
<epitron> :)
<Areessell> Hence what I was just saying, but whatever
studiotate has joined #ruby
aarkerio has quit [Quit: Verlassend]
gheegh has quit [Quit: Textual IRC Client: www.textualapp.com]
IrishGringo has quit [Ping timeout: 258 seconds]
<pwnz0r> i guess i have this one question about test::unit
<pwnz0r> is there a way to test stdout
<waxjar> connection to a znc session on the same server is fast, messages are cached so you can still handle them plus you get extra goodies like flood protection and all that :)
mengu has joined #ruby
mengu has joined #ruby
<pwnz0r> assert_match looks like the best option, but thats for returning strings not puts for example
<atmosx> pwnz0r: for rails/sinatra I'd for with rspec. For pure ruby (functional or oo-based apps with no framework) I'd go with minitest
<waxjar> and you don't have to muck about with code reloading! :D
<Areessell> Use a StringIO and define STDOUT as a new instance of it, then you can test it all you want
<pwnz0r> atmosx: thanks
<CrazyM4n> Is ruby pass by value or reference?
Guest64 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<waxjar> reference
allcentury has joined #ruby
tuelz has joined #ruby
<CrazyM4n> That's convenient
doodlehaus has joined #ruby
mjuszczak has joined #ruby
jeanlinux has quit [Remote host closed the connection]
momomomomo has quit [Quit: momomomomo]
mxweas has quit [Ping timeout: 256 seconds]
shredding has joined #ruby
commmmodo has quit [Quit: commmmodo]
IrishGringo has joined #ruby
pika_pika has joined #ruby
DadoCe has quit [Remote host closed the connection]
AlexRussia has quit [Ping timeout: 264 seconds]
DadoCe has joined #ruby
econerd4ever has joined #ruby
olivier_bK has joined #ruby
jheg has quit [Quit: jheg]
WeiJunLi has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
kiyote23 has quit [Remote host closed the connection]
kiyote23 has joined #ruby
jrhe has quit [Quit: jrhe]
startupality has joined #ruby
AlexRussia has joined #ruby
shuber_ has quit [Remote host closed the connection]
marr has joined #ruby
startupality has quit [Client Quit]
ixti has joined #ruby
adriancb has quit [Remote host closed the connection]
shuber_ has joined #ruby
agrinb has joined #ruby
_ixti_ has quit [Read error: Connection reset by peer]
econerd4ever has quit [Remote host closed the connection]
Guest64 has joined #ruby
neoxquick has joined #ruby
revoohc has joined #ruby
doodlehaus has quit [Remote host closed the connection]
econerd4ever has joined #ruby
startupality has joined #ruby
zorak8 has joined #ruby
iamninja has quit [Remote host closed the connection]
Guest26597 has joined #ruby
agrinb has quit [Ping timeout: 258 seconds]
<pwnz0r> Areessell: that stringio trick is handy and just what i was looking for. you can then use assert_match to use a regex to test it... perfect.. thanks
larissa has joined #ruby
ixti has quit [Quit: WeeChat 1.0.1]
econerd4ever has quit [Remote host closed the connection]
Soda has quit [Remote host closed the connection]
thisirs` has quit [Read error: Connection reset by peer]
econerd4ever has joined #ruby
aswen has quit [Ping timeout: 245 seconds]
einarj has joined #ruby
jeanlinux has joined #ruby
jheg has joined #ruby
wjimenez5271_ is now known as wjimenez5271
tenseiten is now known as seitensei
ixti has joined #ruby
kiyote23 has quit [Remote host closed the connection]
kiyote23 has joined #ruby
ohaibbq has quit [Quit: Leaving...]
chipotle has quit [Quit: cheerio]
aef has quit [Remote host closed the connection]
tier has quit [Remote host closed the connection]
lolmaus has joined #ruby
allcentury has quit [Ping timeout: 250 seconds]
max96at is now known as max96at|off
cantonic has quit [Quit: cantonic]
iamninja has joined #ruby
dc_ has quit [Remote host closed the connection]
hashpuppy has joined #ruby
<hashpuppy> what's a concise way to sum the :z keys here: {a: {z: 1}, b: {z: 5}}
Pupeno_ has quit [Read error: Connection reset by peer]
lesnik_ has quit [Ping timeout: 252 seconds]
george2 has quit [Ping timeout: 258 seconds]
Guest64 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
allcentury has joined #ruby
decoponio has quit [Quit: Leaving...]
<hashpuppy> {a: {z: 1}, b: {z: 5}}.map{|k, v| v[:z]}.inject(0, &:+)
<hashpuppy> is what i have
michaeldeol has joined #ruby
Pupeno has joined #ruby
Pupeno has quit [Changing host]
Pupeno has joined #ruby
kiyote23 has quit [Ping timeout: 250 seconds]
thumpba has quit [Remote host closed the connection]
mxweas has joined #ruby
AlexRussia has quit [Ping timeout: 252 seconds]
thumpba has joined #ruby
_beechnut has quit [Ping timeout: 256 seconds]
St_Marx has quit [Quit: WeeChat 1.0.1]
axl_ has quit [Ping timeout: 272 seconds]
mengu__ has joined #ruby
St_Marx has joined #ruby
thumpba has quit [Remote host closed the connection]
aef has joined #ruby
DadoCe has quit [Remote host closed the connection]
mengu has quit [Ping timeout: 245 seconds]
revoohc has quit [Quit: revoohc]
<havenwood> >> {a: {z: 1}, b: {z: 5}}.values.inject(0) { |sum, hash| sum + hash[:z] }
thumpba has joined #ruby
mxweas has quit [Ping timeout: 244 seconds]
giuseppesolinas has joined #ruby
<havenwood> hashpuppy: in your example you can drop the `&`, it'll already to_proc :)
<hashpuppy> thanks for the tips :)
<havenwood> >> {a: {z: 1}, b: {z: 5}}.values.flat_map(&:values).inject :+
<havenwood> ^ no :z, cheating
<hashpuppy> heh. yeah
sami has quit [Ping timeout: 245 seconds]
lampd1 has joined #ruby
thoughnut has quit [Quit: leaving]
sankaber_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<lampd1> >> q1_range = Date.new(2015,1,1)..Date.new(2015,3,-1); checkit = Date.new(2015,1,2)..Date.new(2015,3,-2); q1_range.include? checkit
jamesaxl|2 has joined #ruby
CrazyM4n has quit [Quit: so that's how you do quit messages]
matias has joined #ruby
matias is now known as Matt___
conniemj_ has quit [Quit: (null)]
WeiJunLi has left #ruby [#ruby]
BTRE has quit [Ping timeout: 250 seconds]
<havenwood> lampd1: #=> NameError: uninitialized constant Date
<havenwood> lampd1: false
atmosx has quit [Quit: Textual IRC Client: www.textualapp.com]
Guest64 has joined #ruby
<lampd1> is eval.in borked?
djbkd has quit [Read error: Connection reset by peer]
<havenwood> lampd1: yup, off for the holidays
<havenwood> lampd1: it's a hard job!
<lampd1> havenwood: any idea how i could check two ranges for inclusion like that?
djbkd has joined #ruby
<lampd1> or you think i should just check to see if both start and end are within the range
beef-wellington has quit [Ping timeout: 252 seconds]
tesaf has quit [Quit: Lost terminal]
yfeldblum has joined #ruby
jamesaxl has quit [Ping timeout: 255 seconds]
bweston92_ has quit [Ping timeout: 250 seconds]
adriancb has joined #ruby
conniemj_ has joined #ruby
<lampd1> something like `q1_range.include? Date.new(2015,1,2) && q1_range.include? Date.new(2015,3,-2)`
mengu__ has quit [Remote host closed the connection]
<havenwood> lampd1: i'm assuming no ActiveSupport?
djbkd has quit [Remote host closed the connection]
<lampd1> yeah, no
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
djbkd has joined #ruby
<lampd1> just building a little roo xls -> yaml parser
sami has joined #ruby
yfeldblum has quit [Ping timeout: 252 seconds]
cvtsx has joined #ruby
startupality has quit [Quit: startupality]
bricker`work has quit [Ping timeout: 240 seconds]
duggiefresh has joined #ruby
bricker`work has joined #ruby
luizbafilho has joined #ruby
cvtsx1 has quit [Ping timeout: 255 seconds]
snath has joined #ruby
duggiefresh has quit [Ping timeout: 244 seconds]
LouisRoR has quit [Ping timeout: 252 seconds]
IrishGringo has quit [Ping timeout: 244 seconds]
ravster has joined #ruby
commmmodo has joined #ruby
econerd4ever has quit [Read error: Connection reset by peer]
evanjs has quit [Remote host closed the connection]
econerd4ever has joined #ruby
pwnz0r has quit [Remote host closed the connection]
startupality has joined #ruby
allcentury has quit [Ping timeout: 240 seconds]
AlexRussia has joined #ruby
mattmcclure has joined #ruby
duggiefresh has joined #ruby
sea_local has quit []
luizbafilho has quit [Quit: Textual IRC Client: www.textualapp.com]
jerius has quit []
geggam has quit [Ping timeout: 255 seconds]
studiotate has quit [Quit: Computer has gone to sleep.]
thumpba has quit [Remote host closed the connection]
ohaibbq has joined #ruby
MartynKeigher has quit [Read error: Connection reset by peer]
duggiefresh has quit [Remote host closed the connection]
pengin has quit [Remote host closed the connection]
pengin has joined #ruby
commmmodo has quit [Quit: commmmodo]
maletor has joined #ruby
Guest64 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
agrinb has joined #ruby
beef-wellington has joined #ruby
Guest64 has joined #ruby
sami has left #ruby [#ruby]
commmmodo has joined #ruby
rshetty has joined #ruby
pengin_ has joined #ruby
Scripore has quit [Ping timeout: 245 seconds]
pengin has quit [Ping timeout: 244 seconds]
thumpba has joined #ruby
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
havenwood has quit [Remote host closed the connection]
havenwood has joined #ruby
amundj has joined #ruby
AlexRussia has quit [Ping timeout: 244 seconds]
agrinb has quit [Ping timeout: 258 seconds]
beef-wellington has quit [Ping timeout: 245 seconds]
livingstn has quit []
freerobby has quit [Quit: Leaving.]
rshetty has quit [Ping timeout: 272 seconds]
devdazed has joined #ruby
commmmodo has quit [Read error: Connection reset by peer]
commmmodo has joined #ruby
Akuma has quit [Ping timeout: 240 seconds]
<jidar> any of you guys have like, real white papers on why linux is a better development platform to develop on for ruby based things? I've got a HR battle incoming in this company full of windows admins
ixti has quit [Ping timeout: 252 seconds]
<jidar> I can't just write: "because it's better, duh" and have it matter :(
adriancb has quit [Remote host closed the connection]
<tobiasvl> what are their reasons for switching to windows then?
<tobiasvl> what's the situation here?
giuseppesolinas has quit [Quit: This computer has gone to sleep]
<jidar> switching? no no, they've been windows since the 90s. I'm trying to influence change for my team who is going to be doing a great deal of ruby (puppet/rspec/beaker/etc)
Guest64 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jidar> because of this it's pretty difficult to get a good setup on windows going
adamski2600 has quit []
<jidar> ie: beaker won't even launch from windows at all
<tobiasvl> ah ok. well, do you have a linux infrastructure already? or do you want your sysadmins to start supporting linux at your workplace
<tobiasvl> because that'll be hard
Menorah has quit [Quit: This computer has gone to sleep]
<Hanmac> jidar decent package management with dependency system ... windows does still lack that
<jidar> hanmac: I was really hoping for some white papers or some level of verbose documentation regarding the subject.. anything comes to mind/
pandaant has quit [Remote host closed the connection]
Guest64 has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Areessell> How about "I work better in a linux environment and that means it takes me less time to do things, therefore, costs you less money to employ me"
codezomb has quit [Quit: Textual IRC Client: www.textualapp.com]
RealMarc has joined #ruby
startupality has quit [Quit: startupality]
jenrzzz has joined #ruby
pen has quit [Remote host closed the connection]
jeanlinux has quit [Remote host closed the connection]
leonmaia has joined #ruby
crack_user has joined #ruby
AlexRussia has joined #ruby
it0a has quit [Ping timeout: 240 seconds]
<zenspider> jidar: good fucking luck. I spent 3 months negotiating a contract that let me stay off windows once. wasn't worth even taking the job in the long run.
Akuma has joined #ruby
Scripore has joined #ruby
<jidar> hahahaa
pengin_ has quit [Remote host closed the connection]
<jidar> zenspider: this is exactly why I'm asking now, rather than before I start this crap, to get the point across that this is important
<zenspider> it doesn't matter if you have whitepapers.
pengin has joined #ruby
<zenspider> or any level of rationale
<jidar> the thing is, our team is going to do it rouge or with upper management support
<jidar> but we're at least trying to do it properly
<shevy> jidar you have a lot of programs very easily available on linux. for instance, kde konsole. I have several tabs open in where I can test a lot of stuff quickly on the commandline
<blizzy> anyone know any good gems that would allow me to interact with a website?
mxweas has joined #ruby
<jidar> Mechanize
<zenspider> corporate culture is what is already there, and changing it is incredibly difficult. if they're an MS monoculture, they're not likely to change at all.
<jidar> shevy: I'm really hoping for more than a few one liners
<zenspider> this is coming from someone in stone throwing distance from redmond
<blizzy> thanks, jidar.
<jidar> somebody who's done some real research on this
<shevy> jidar if you build up enough one liners you have a full paper
<jidar> hahaha
<jidar> zenspider: I'm in the bay, but their culture is awful
pengin_ has joined #ruby
<zenspider> jidar: what industry?
rbennacer has quit [Remote host closed the connection]
pengin has quit [Read error: Connection reset by peer]
<jidar> I'm a consultant, the guys I'm doing this for are in shipping
<zenspider> shevy: that paper is made up, has no research or references cited. it's more damaging than helpful
<jidar> spoken like somebody who's already fought this battle and lost
<jidar> hahaha
pen has joined #ruby
<jidar> ugh... oh well
startupality has joined #ruby
<jidar> thanks though
[gmi] has joined #ruby
Guest64 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
kiyote23 has joined #ruby
LouisRoR has joined #ruby
<shevy> I guess people hate doing their dissertation comparing linux to windows
Akuma has quit [Ping timeout: 264 seconds]
yfeldblum has joined #ruby
<jidar> I'm wondering if it's just more common knowledge than something that needs to be proven
DadoCe has joined #ruby
<jidar> it's a shame I even need to do it
<jidar> but some people just don't have their heads screwed on properly
mxweas has quit [Ping timeout: 272 seconds]
AlexRussia has quit [Ping timeout: 244 seconds]
TheRinger_ has joined #ruby
jheg has quit [Quit: jheg]
giuseppesolinas has joined #ruby
ixti has joined #ruby
<TheRinger_> i'm using sinatra. trying to import a csv file into the database then pull that information into a html file to be published, i want to pull the csv file once a day and delete the old results from the database when i load it.. can anyone point me to a good info block on how to do this
yfeldblum has quit [Ping timeout: 245 seconds]
Guest64 has joined #ruby
DadoCe has quit [Ping timeout: 265 seconds]
mattwildig has quit []
[gmi] has quit [Quit: Leaving]
kiyote23 has quit [Remote host closed the connection]
kiyote23 has joined #ruby
snath has quit [Read error: Connection reset by peer]
<shevy> jidar well how do you want to compare?
<shevy> one often uses the commandline; the other has a crippled commandline
wolf4ood has joined #ruby
perturbation has quit [Quit: Leaving]
<jidar> shevy: as a development platform to run and use ruby based programs
<shevy> yeah so we have a long list of what linux has to offer here
<shevy> and nothing windows has to offer there
<jidar> things like, "because it was written on linux" doesn't really help, the respose you'll get is, "well it runs on windows too"
davedev24_ has quit [Ping timeout: 258 seconds]
<shevy> that would be a sad research paper
<shevy> what runs on windows too
crack_user has quit [Ping timeout: 252 seconds]
<shevy> you can run ruby on windows sure enough
<shevy> you'll simply be slower than people who use linux
tokik has joined #ruby
<zenspider> jidar: don't bother with developer efficiency. money is always a good reason. https://www.google.com/search?q=cost+effectiveness+of+linux+vs+windows seems to have some good stuff
mrsolo has joined #ruby
<jidar> good point
mrsolo has quit [Remote host closed the connection]
Scripore has quit [Ping timeout: 272 seconds]
davedev24_ has joined #ruby
mois3x has joined #ruby
mois3x has quit [Client Quit]
dts|pokeball has quit [Ping timeout: 264 seconds]
<shevy> jidar amount of supercomputers running linux November 2014 97% http://www.top500.org/statistics/details/osfam/1
mois3x has joined #ruby
kiyote23 has quit [Remote host closed the connection]
ohaibbq has quit [Ping timeout: 240 seconds]
enebo has quit [Quit: enebo]
george2 has joined #ruby
apeiros has quit []
ishikawa has joined #ruby
<zenspider> etc
<jidar> yea, scanning for something helpful. thanks again
Guest64 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
tercenya has quit []
sargas has joined #ruby
mary5030 has quit [Remote host closed the connection]
dts|pokeball has joined #ruby
aswen has joined #ruby
ChoiKyuSang has quit [Quit: Going offline, see ya! (www.adiirc.com]
luizbafilho has joined #ruby
thumpba has quit [Ping timeout: 244 seconds]
Guest64 has joined #ruby
behrz has quit [Ping timeout: 265 seconds]
KLVTZ has joined #ruby
<KLVTZ> Do you think it's negative on the ruby community when it comes to how some DevOps solutions are moving to Go?
Matt___ has quit [Quit: Leaving]
agrinb has joined #ruby
despai has quit [Quit: This computer has gone to sleep]
dfinninger has quit []
<shevy> KLVTZ competition is always negative
ChoiKyuSang has joined #ruby
adriancb has joined #ruby
josephnd1nton has quit [Ping timeout: 264 seconds]
AntonioPls has joined #ruby
AlexRussia has joined #ruby
sargas has quit [Quit: This computer has gone to sleep]
aswen has quit [Ping timeout: 245 seconds]
agrinb has quit [Ping timeout: 258 seconds]
hiyosi has joined #ruby
sargas has joined #ruby
<pontiki> nonsense
<pontiki> competition is a net positive
josephnd1nton has joined #ruby
freerobby has joined #ruby
hmsimha has quit [Ping timeout: 252 seconds]
shredding has quit [Quit: shredding]
<pontiki> if Go works better for DevOps, great! More reason to learn Go
<apeiros_> competition++
<apeiros_> survivel of the fittest. if it isn't ruby - sad for ruby. but then that's how it is.
<bradland> KLVTZ: Not at all. 8 years from now we’ll be reading about how someone is transitioning from Go to $LANG.
klmlfl has quit [Remote host closed the connection]
Deele has quit [Ping timeout: 244 seconds]
<bradland> Not that Go doesn’t have it’s merits, just that it wasn’t around when they started the project, so how could they have chosen it? As time goes on, language choices get more diverse, and inevitably some use-cases will find a better fit.
havenwood has quit [Remote host closed the connection]
zorak8 has quit [Ping timeout: 264 seconds]
<KLVTZ> Where do you guys feel ruby fits best in? It seems it popularized because of rails. But are there any other solutions that ruby fits best in?
<shevy> competition drains resources
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
<shevy> in this context coders who could write in ruby
<pontiki> i use it for command line tools a lot
josephnd1nton has quit [Ping timeout: 256 seconds]
<pontiki> it's basically taken over what i used to use perl for
<bradland> Ruby fits well if it solves your problem and its limitations don’t out-weight the benefits/your desire to use it.
<shevy> KLVTZ ruby existed well before rails too. I started to use ruby before rails existed so whether rails exist or not makes no relevance to my use case. I use ruby for pretty every task that can be computer-automated
<bradland> Programming languages are tools, not solutions.
* pontiki applauds bradland
<KLVTZ> bradlands view is spot-on
<pontiki> that, right there, is probably the biggest thing
<pontiki> Go is yet another tool for the toolchest
lmickh has quit [Remote host closed the connection]
<bradland> Thank you, thank you. I’m here all week. Try the veal.
nfk has quit [Quit: yawn]
<shevy> toolchest?
<crome> veal burgers \o/
<pontiki> the place where one keeps their tools, shevy
<shevy> the bed!
<bradland> T’s where I keep my tools. Obvs.
<crome> someone should create a programming language in which it is totally impossible to create anything but it solves all the problems that are present in other programming languages. it would be the solution, not the tool
jenrzzz has quit [Ping timeout: 252 seconds]
<bradland> always a fun exercise to optimize for one, and only one challenge. see also: http://en.wikipedia.org/wiki/Brainfuck
<shevy> crome sounds like a lot of work
<crome> malbolge is my favourite one
<crome> it's absolutely poetic
<shevy> that is ruby too!
chthon has joined #ruby
chthon has quit [Read error: Connection reset by peer]
Fire-Dragon-DoL has quit [Quit: Leaving.]
Musashi007 has joined #ruby
Spami has quit [Quit: This computer has gone to sleep]
Spami has joined #ruby
jenrzzz has joined #ruby
Spami has quit [Remote host closed the connection]
crack_user has joined #ruby
Menorah has joined #ruby
mjuszczak has quit []
Spami has joined #ruby
<shevy> KLVTZ this is ok as a popularity measure in regards to searching http://www.google.com/trends/explore#q=ruby%2C%20python%2C%20perl&cmpt=q
[gmi] has joined #ruby
[gmi] has quit [Client Quit]
<shevy> I wonder where the perl devs go
<dtordable> shevy!!!!!!!!!!!!
maletor has quit [Quit: Computer has gone to sleep.]
Guest26597 has quit [Ping timeout: 265 seconds]
Crazy_Atheist has quit [Quit: WeeChat 1.0.1]
patrickholmes has joined #ruby
Scripore has joined #ruby
yfeldblum has joined #ruby
<shevy> dtordable did you start learning ruby yet
<dtordable> nein
mxweas has joined #ruby
<dtordable> today no
<patrickholmes> Good evening everyone does anyone know anything about the ruby (irb) installed already on osx
<dtordable> It's late here
AlexRussia has quit [Ping timeout: 256 seconds]
djbkd has quit [Remote host closed the connection]
<shevy> where are the osx users here
<shevy> raise hands
spider-mario has quit [Read error: Connection reset by peer]