apeiros_ changed the topic of #ruby to: Ruby 2.2.0; 2.1.5; 2.0.0-p643: https://ruby-lang.org || Paste >3 lines of text on https://gist.github.com || this channel is logged at http://irclog.whitequark.org, other public logging is prohibited
otisZart has joined #ruby
nolic has quit [Remote host closed the connection]
vdamewood has joined #ruby
^Denis has quit [Ping timeout: 256 seconds]
bigmac_ has joined #ruby
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby
MissionCritical has quit [Ping timeout: 252 seconds]
oki has quit [Ping timeout: 252 seconds]
skj3gg has joined #ruby
Musashi007 has joined #ruby
plashchynski has quit [Quit: plashchynski]
aswen has joined #ruby
RegulationD has joined #ruby
fgo has joined #ruby
dorei has quit []
sevvie has quit [Ping timeout: 264 seconds]
skj3gg has quit [Quit: ZZZzzz…]
<shevy> a good one
mikeric has quit []
RegulationD has quit [Ping timeout: 252 seconds]
kirun has quit [Quit: Client exiting]
<weaksauce> neat
<weaksauce> anyone know why json 1.8.2 would segfault my ruby 2.2.0
<weaksauce> just tried removing and installing it again
fgo has quit [Ping timeout: 264 seconds]
thumpba has joined #ruby
mikeric has joined #ruby
<weaksauce> interesting. now it's sqlite3
MissionCritical has joined #ruby
sargas has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<weaksauce> no matter. gem pristine --all fixed it
jokke has quit [Quit: ninja vanish]
c0m0 has quit [Ping timeout: 245 seconds]
hiyosi has joined #ruby
riotjones has joined #ruby
thumpba has quit [Ping timeout: 264 seconds]
DrShoggoth has quit [Ping timeout: 246 seconds]
jokke has joined #ruby
oleo has quit [Quit: Verlassend]
tkuchiki has joined #ruby
rhg135|noms is now known as rhg000
skj3gg has joined #ruby
riotjones has quit [Ping timeout: 240 seconds]
<jhass> weaksauce: mmh, maybe libc update or something like that?
MissionCritical has joined #ruby
<jhass> or you reused a gem folder from a previous ruby?
MissionCritical has quit [Max SendQ exceeded]
multi_io_ has joined #ruby
skj3gg has quit [Client Quit]
Parker0 has joined #ruby
febuiles has quit [Read error: Connection reset by peer]
kalusn has quit [Remote host closed the connection]
Parker0 has quit [Client Quit]
<weaksauce> not sure jhass I was using bundler and letting it do its thing
<jhass> mmh, with --path / --deployment?
<weaksauce> it was a simple rails new appname
<weaksauce> cd appname
Spooner has quit [Remote host closed the connection]
<weaksauce> rails g model something ... segfault
<weaksauce> ruby 2.2.0 and rails 4.2
<jhass> and didn't update ruby recently?
<weaksauce> still on patch level 0
<weaksauce> ruby 2.2.0p0 (2014-12-25 revision 49005) [x86_64-darwin14]
<jhass> well, no more patchlevels these days ;)
multi_io has quit [Ping timeout: 272 seconds]
<weaksauce> oh they change that?
<jhass> yeah, they have no meaning anymore
<weaksauce> ah
<jhass> if it changes, bugfix will be bumped
aswen has quit [Ping timeout: 245 seconds]
<jhass> 2.1.1-5 would've been patch level releases in the past
oo_ has joined #ruby
<weaksauce> so 2.2.1 would be the first patch then?
<weaksauce> now
<jhass> yeah
<jhass> 2.0 is the last to have patchlevel releases
millerti has joined #ruby
MissionCritical has joined #ruby
tunaCanBruh has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
skj3gg has joined #ruby
starless has joined #ruby
Feyn has joined #ruby
nettoweb has joined #ruby
skj3gg has quit [Client Quit]
doodlehaus has joined #ruby
Matthews_ has quit [Remote host closed the connection]
tunaCanBruh has quit [Ping timeout: 264 seconds]
mikecmpbll has quit [Quit: i've nodded off.]
nettoweb has quit [Ping timeout: 240 seconds]
jenrzzz has joined #ruby
skj3gg has joined #ruby
MissionCritical has joined #ruby
doodlehaus has quit [Remote host closed the connection]
MissionCritical has quit [Max SendQ exceeded]
mikecmpbll has joined #ruby
mikecmpbll has quit [Client Quit]
mkevin has joined #ruby
Joufflu has quit [Read error: Connection reset by peer]
skj3gg has quit [Client Quit]
spider-mario has quit [Remote host closed the connection]
JDiPierro has joined #ruby
Musashi007 has quit [Quit: Musashi007]
Akagi201 has joined #ruby
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
cpt_yossarian has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
MissionCritical has joined #ruby
Axy has quit [Read error: Connection reset by peer]
Spami has quit [Quit: This computer has gone to sleep]
w0rldmaker has quit [Ping timeout: 246 seconds]
delianides has quit [Remote host closed the connection]
segmond has quit [Ping timeout: 265 seconds]
MissionCritical has quit [Max SendQ exceeded]
w0rldmaker has joined #ruby
SOLDIERz has joined #ruby
Akagi201 has quit [Ping timeout: 240 seconds]
jottr_ has quit [Ping timeout: 250 seconds]
CorySimmons has joined #ruby
Musashi007 has joined #ruby
w0rldmaker has quit [Ping timeout: 265 seconds]
SOLDIERz has quit [Ping timeout: 264 seconds]
skj3gg has joined #ruby
ghr has joined #ruby
BigRonnieRon has quit [Quit: Textual IRC Client: www.textualapp.com]
RegulationD has joined #ruby
fgo has joined #ruby
skj3gg has quit [Client Quit]
FooMunki has quit [Ping timeout: 255 seconds]
skj3gg has joined #ruby
skaag has joined #ruby
ghr has quit [Ping timeout: 250 seconds]
segmond has joined #ruby
oo_ has quit [Remote host closed the connection]
oleo has joined #ruby
<skaag> weirdness of the day: on one machine I require 'gala' and it works' on another machine it doesn't… same OS type. what gives?
RegulationD has quit [Ping timeout: 246 seconds]
TheNet has quit [Remote host closed the connection]
juanpablo_ has joined #ruby
skj3gg has quit [Client Quit]
oo_ has joined #ruby
TheNet has joined #ruby
RegulationD has joined #ruby
hackeron has quit [Ping timeout: 246 seconds]
lordkryss has quit [Quit: Connection closed for inactivity]
blackmesa has quit [Quit: WeeChat 1.1.1]
tvon has quit [Quit: leaving]
blackmesa has joined #ruby
doodlehaus has joined #ruby
<mozzarella> skaag: wtf is gala?
<skaag> just some project I'm building on
juanpablo_ has quit [Ping timeout: 246 seconds]
blackmesa has quit [Client Quit]
claptor has joined #ruby
<mozzarella> did you run "bundle install"/install the gem on your other machine?
Crazy_Atheist has joined #ruby
RegulationD has quit [Ping timeout: 252 seconds]
skj3gg has joined #ruby
jenrzzz has quit [Ping timeout: 244 seconds]
hackeron has joined #ruby
MissionCritical has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
oleo has quit [Quit: Verlassend]
<skaag> I did, for some reason I still can't require 'gala'
<skaag> I added the gem line to Gemfile
<skaag> and bundler brought it in
<skaag> but during the run, it asked for my password, which I entered… but it still sounds fishy that it would need my password to install a gem
w0rldmaker has joined #ruby
mistermocha has joined #ruby
JoshGlzBrk has joined #ruby
sankaber has joined #ruby
charliesome has quit [Quit: zzz]
Asher has joined #ruby
<mozzarella> skaag: have you tried using "bundle exec"?
doodlehaus has quit [Remote host closed the connection]
tvon has joined #ruby
<skaag> I tried: bundle exec galaserv.rb
<skaag> it says: bundler: command not found: galaserv.rb
charliesome has joined #ruby
MissionCritical has joined #ruby
wldcordeiro has quit [Ping timeout: 256 seconds]
MissionCritical has quit [Max SendQ exceeded]
Takle has quit [Remote host closed the connection]
<mozzarella> skaag: follow this: http://bundler.io/bundler_setup.html
davedev2_ has joined #ruby
<mozzarella> or you could try "bundle exec ruby galaserv.rb"
<mozzarella> not sure if that works
mistermocha has quit [Remote host closed the connection]
davedev24_ has quit [Ping timeout: 252 seconds]
<skaag> that worked
<skaag> I guess it fixes up the environment prior to running
<skaag> (that's what the docs say anyway)
<mozzarella> yes
wallerdev has quit [Quit: wallerdev]
delianides has joined #ruby
Soda has quit [Remote host closed the connection]
eladmeidar has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
olivierrr has left #ruby [#ruby]
lkba_ has joined #ruby
lkba has quit [Read error: Connection reset by peer]
MissionCritical has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
havenwood has joined #ruby
w0rldmaker has quit [Ping timeout: 252 seconds]
delianides has quit [Remote host closed the connection]
delianides has joined #ruby
thumpba has joined #ruby
delianid_ has joined #ruby
segmond has quit [Ping timeout: 264 seconds]
TheNet has quit [Remote host closed the connection]
TheNet has joined #ruby
delianid_ has quit [Read error: Connection reset by peer]
skj3gg has quit [Quit: ZZZzzz…]
delianid_ has joined #ruby
thumpba has quit [Ping timeout: 245 seconds]
coderhs has joined #ruby
deliani__ has joined #ruby
delian___ has joined #ruby
delianides has quit [Ping timeout: 264 seconds]
jack_rabbit has quit [Ping timeout: 256 seconds]
boshhead has quit [Ping timeout: 246 seconds]
delianides has joined #ruby
MissionCritical has joined #ruby
boshhead has joined #ruby
ghostpl_ has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
tokik has joined #ruby
deliani__ has quit [Read error: Connection reset by peer]
delianid_ has quit [Ping timeout: 264 seconds]
delian___ has quit [Ping timeout: 246 seconds]
arescorpio has joined #ruby
rbennacer has joined #ruby
ghostpl_ has quit [Ping timeout: 252 seconds]
pontiki has joined #ruby
coderhs has quit [Quit: Leaving]
robustus|Off has quit [Ping timeout: 264 seconds]
delianid_ has joined #ruby
rbennacer has quit [Ping timeout: 250 seconds]
segmond has joined #ruby
MissionCritical has joined #ruby
jottr_ has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
jtdowney has joined #ruby
DrShoggoth has joined #ruby
robustus has joined #ruby
ta has joined #ruby
Sawbones_ has joined #ruby
SOLDIERz has joined #ruby
delianides has quit [Ping timeout: 255 seconds]
marr has quit [Ping timeout: 250 seconds]
Hobogrammer has quit [Ping timeout: 264 seconds]
Hobogrammer_ has joined #ruby
jottr_ has quit [Ping timeout: 250 seconds]
io_syl has joined #ruby
tus has quit []
ta has quit [Ping timeout: 250 seconds]
Inv1s1ble has quit [Remote host closed the connection]
SOLDIERz has quit [Ping timeout: 250 seconds]
io_syl has quit [Client Quit]
crdpink2 has joined #ruby
MissionCritical has joined #ruby
crdpink has quit [Ping timeout: 250 seconds]
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Tinfoilhat___ has quit [Read error: Connection reset by peer]
febuiles has joined #ruby
Akagi201 has joined #ruby
ptrrr has joined #ruby
febuiles has left #ruby [#ruby]
MissionCritical has quit [Ping timeout: 256 seconds]
skj3gg has joined #ruby
skj3gg has quit [Client Quit]
keen__________75 has quit [Read error: Connection reset by peer]
Soda has joined #ruby
rrrutr has quit [Quit: Leaving]
ptrrr has quit [Ping timeout: 264 seconds]
sevenseacat has joined #ruby
sivsushruth has joined #ruby
keen__________75 has joined #ruby
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
w0rldmaker has joined #ruby
otisZart has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mkevin has quit [Remote host closed the connection]
BTRE has quit [Remote host closed the connection]
shum has quit [Quit: WeeChat 1.1.1]
aspiers has quit [Ping timeout: 265 seconds]
shum has joined #ruby
sivsushruth has quit [Ping timeout: 240 seconds]
DrShoggoth has quit [Ping timeout: 245 seconds]
MissionCritical has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
w0rldmak1r has joined #ruby
fgo has quit [Read error: Connection reset by peer]
delianid_ has quit []
fgo has joined #ruby
Vile` has quit [Ping timeout: 250 seconds]
allcentury has quit [Ping timeout: 246 seconds]
bruno- has quit [Ping timeout: 252 seconds]
w0rldmaker has quit [Ping timeout: 246 seconds]
gr33n7007h has quit [Ping timeout: 265 seconds]
sargas has quit [Quit: This computer has gone to sleep]
krz has joined #ruby
aspiers has joined #ruby
rnat has joined #ruby
Vile` has joined #ruby
tunaCanBruh has joined #ruby
bim has quit [Remote host closed the connection]
mikeric has quit []
shum has quit [Quit: WeeChat 1.1.1]
MissionCritical has joined #ruby
shum has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
rnat has left #ruby [#ruby]
Takle has joined #ruby
allcentury has joined #ruby
tunaCanBruh has quit [Ping timeout: 250 seconds]
unreal_ has joined #ruby
unreal has quit [Ping timeout: 265 seconds]
lys has quit [Quit: lys]
sivsushruth has joined #ruby
Takle has quit [Ping timeout: 264 seconds]
MissionCritical has joined #ruby
CorySimmons has quit [Quit: Bye!]
DrShoggoth has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
psy has quit [Ping timeout: 246 seconds]
charliesome has quit [Quit: zzz]
charliesome has joined #ruby
mikeric has joined #ruby
MissionCritical has joined #ruby
Guest65 has quit [Max SendQ exceeded]
Lingo has joined #ruby
Lingo has quit [Client Quit]
MissionCritical has quit [Max SendQ exceeded]
_blizzy_ has quit [Quit: Leaving]
Yzguy has joined #ruby
blizzy has joined #ruby
<Yzguy> weaksauce, I have a Network Administration and Information Security degree, I want to go back for a computer science degre
<Yzguy> I might not go for a full degree, but maybe just a couple classes just for programming
Lingo has joined #ruby
<weaksauce> ah nice
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Guest65 has joined #ruby
<weaksauce> comp sci is more of a theoretical thing than a practical programming thing
nb_bez___ has quit [Quit: Connection closed for inactivity]
<Yzguy> I actually took programming classes when I was in college, but the teachers were bad.
<havenwood> Yzguy: i enrolled in two but dropped both after the first days
blizzy is now known as _blizzy_
<Yzguy> when I got to the high level one, the teacher was terrible so OOP concept and actually doing it was really lacking
<Yzguy> I have to look into it. I was looking at Penn State for it
<weaksauce> I took a few programming courses back in the day to fulfill requirements and they were ok
<Yzguy> I just want a good class, where I can do OOP stuff, and challenges me
<Yzguy> because that's the big gap in my programming is OOP
<weaksauce> probably ain't going to find that in college unfortunately.
jbeeze has joined #ruby
_blizzy_ has quit [Quit: Leaving]
<weaksauce> the practical object oriented programing with ruby by sandy metz is really good though
blizzy has joined #ruby
<Yzguy> my employer will pay for it, so taking at least one class is worth a shot
<weaksauce> ah
blizzy has quit [Read error: Connection reset by peer]
<weaksauce> that's somewhat different
blizzy has joined #ruby
<Yzguy> I'm going to check out this book as well, thank you
JDiPierro has quit [Remote host closed the connection]
<Yzguy> I think the real problem I have is that I don't have that OOP mindset. I think very procedurally still.
blizzy has quit [Read error: Connection reset by peer]
<Yzguy> which is great for scripts, sys admin, etc.
blizzy has joined #ruby
SOLDIERz has joined #ruby
<Yzguy> but now that I'm getting into more configuration management with puppet, automation, web services, it's holding me back
MissionCritical has joined #ruby
<weaksauce> most programming courses are just teaching you syntax and some problem solving. not a ton of time is on object oriented design unless you actually get a course in it
juanpablo_ has joined #ruby
<Yzguy> yeah, and that's what I was looking for.
MissionCritical has quit [Max SendQ exceeded]
<Yzguy> the design part
pappilino has joined #ruby
adriancb has quit [Remote host closed the connection]
<Yzguy> I understand encapsulation, polymorphism, etc. but the design part is what I need to bring it together
sivsushruth has quit [Ping timeout: 264 seconds]
aamador has quit [Ping timeout: 264 seconds]
RegulationD has joined #ruby
blizzy is now known as _blizzy_
sargas has joined #ruby
sivsushruth has joined #ruby
_blizzy_ has quit [Client Quit]
blizzy has joined #ruby
<Yzguy> this book is great, thank you very much weaksauce
SOLDIERz has quit [Ping timeout: 256 seconds]
juanpablo_ has quit [Ping timeout: 256 seconds]
<jbeeze> i was looking for a good OO ruby book, thanks too weaksauce
<sevenseacat> poodr is a great book :)
ghr has joined #ruby
oo_ has quit [Remote host closed the connection]
RegulationD has quit [Ping timeout: 264 seconds]
RegulationD has joined #ruby
Esya has quit [Ping timeout: 256 seconds]
zdennis has joined #ruby
<Yzguy> and the reason I focus on ruby is that a lot of the great DevOps tools are written in Ruby
Rapier- has quit [Quit: (null)]
<Yzguy> Vagrant, Puppet, etc.
<Yzguy> plus I dig the community, tons of great people
ghr has quit [Ping timeout: 252 seconds]
RegulationD has quit [Ping timeout: 256 seconds]
krz has quit [Ping timeout: 245 seconds]
Esya has joined #ruby
hiyosi has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
RegulationD has joined #ruby
Lingo has quit [Read error: No route to host]
<pappilino> I've installed spree with alchemy together, and i can see spree button on alchemy dashboard, however when i click on them, it just render alchemy dashboard again inside the iframe
<pappilino> can someone help?
<havenwood> pappilino: You might try #RubyOnRails. They do require nick registration if you haven't done so yet: https://freenode.net/faq.shtml#nicksetup
Lingo has joined #ruby
Yzguy has quit [Quit: I'm sleeping, go away.]
_honning_ has quit [Ping timeout: 250 seconds]
<pappilino> i've tried rubyonrails and spree, no one answers me so far since asking yesterday
krz has joined #ruby
<jhass> pappilino: you should inform everybody when you crosspost
RegulationD has quit [Ping timeout: 255 seconds]
x1337807x has joined #ruby
<pappilino> ok, thats a rule i've learned just now
x1337807x has quit [Max SendQ exceeded]
oo_ has joined #ruby
jaequery has joined #ruby
<jhass> well, the important part is to inform the other sides of provided answers actually, so nobody wastes their time
x1337807x has joined #ruby
<pappilino> well, since no one provides any answer....
<jhass> 2-6 hours response time is nothing unusual on IRC
<jhass> depending on channel activity
<havenwood> pappilino: I've never used Alchemy. It might be hard to find someone who has used the Spree/Alchemy combo (i thought Spree was stuck on Rails 3?).
<Radar> Spree is not stuck.
<pappilino> spree now is using rails _4.1.8_ , on the github page however it states you can use 4.2.0
<havenwood> Radar: ah, nice!
<pappilino> but i've tried and it gave me dependencies issue
<pappilino> i thought everybody uses alchemy for spree cms? could u please suggest other cms to go with spree?
MissionCritical has joined #ruby
Lewix has joined #ruby
bruno- has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
LiquidInsect has quit [Ping timeout: 246 seconds]
unclouded has quit [Read error: No route to host]
sargas has quit [Quit: This computer has gone to sleep]
LiquidInsect has joined #ruby
sargas has joined #ruby
sargas has quit [Changing host]
sargas has joined #ruby
jlast has quit [Remote host closed the connection]
<havenwood> pappilino: I seem to be terribly informed about these gems. TIL, there's even an alchemy_spree gem.
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pappilino> havenwood: yes, alchemy cms and spree cms can go together with alchemy_spree which function as connector, and there's even spree_alchemy. which is very confusing
bruno- has quit [Ping timeout: 265 seconds]
<havenwood> pappilino: Hehe, that is confusing. Well I'm not going to be any help it seems since this is all news to me. :) But good luck!
<pappilino> havenwood: thanks and jhass for trying, it has been a moral support for me
mjuszczak has joined #ruby
<pappilino> one last question, what gem do u use to build ecommerce if not spree?
bim has joined #ruby
jaequery has joined #ruby
MissionCritical has joined #ruby
thumpba has joined #ruby
armyriad has quit [Ping timeout: 252 seconds]
_honning_ has joined #ruby
armyriad has joined #ruby
rbennacer has joined #ruby
aphprentice has quit [Ping timeout: 256 seconds]
zdennis has quit [Quit: zdennis]
Synthbread has quit [Ping timeout: 252 seconds]
thumpba has quit [Ping timeout: 255 seconds]
bim has quit [Ping timeout: 244 seconds]
LiquidInsect has quit [Read error: Connection timed out]
rbennacer has quit [Remote host closed the connection]
LiquidInsect has joined #ruby
rbennacer has joined #ruby
<Radar> pappilino: Spree is the best choice for that.
<pappilino> Radar: Thanks
ghostpl_ has joined #ruby
<havenwood> And the flame graph goes wild!
Limix has joined #ruby
livingstn has quit []
<havenwood> pappilino: Just an aside, but here are two sites that have a curated lists of gems by topic:
<pappilino> oh wow, I didn't know you're the contributor. Thanks havenwood for pointing me there
tokik has quit [Quit: leaving]
ghostpl_ has quit [Ping timeout: 256 seconds]
Parker0 has joined #ruby
tokik has joined #ruby
Parker0 has quit [Client Quit]
tokik has quit [Client Quit]
yfeldblu_ has joined #ruby
jonr22 has quit [Remote host closed the connection]
tokik has joined #ruby
tokik has quit [Client Quit]
tokik has joined #ruby
tokik has quit [Client Quit]
sevenseacat has quit [Ping timeout: 250 seconds]
<weaksauce> jbeeze and Yzguy, y'all are welcome
yfeldblum has quit [Ping timeout: 265 seconds]
tokik has joined #ruby
tokik has quit [Client Quit]
ponga has joined #ruby
jottr_ has joined #ruby
Anwar__ has joined #ruby
CpuID has quit [Ping timeout: 272 seconds]
tokik has joined #ruby
Guest65 has quit [Ping timeout: 252 seconds]
n008f4g_ has quit [Ping timeout: 250 seconds]
jenrzzz has joined #ruby
rbennacer has quit [Remote host closed the connection]
bim has joined #ruby
jottr_ has quit [Ping timeout: 252 seconds]
Guest65 has joined #ruby
dru has joined #ruby
Anwar__ has quit [Ping timeout: 246 seconds]
konflikt has joined #ruby
konflikt has quit [Client Quit]
tokik has quit [Quit: leaving]
tokik has joined #ruby
slawrence00 has joined #ruby
TheNet has quit [Remote host closed the connection]
ptrrr has joined #ruby
TheNet has joined #ruby
jtdowney has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jerius has joined #ruby
Hijiri has quit [Quit: WeeChat 1.0.1]
jerius has quit [Client Quit]
Hijiri has joined #ruby
puzanov has quit [Ping timeout: 272 seconds]
SOLDIERz has joined #ruby
havenwood has quit []
adriancb has joined #ruby
konflikt has joined #ruby
ptrrr has quit [Ping timeout: 264 seconds]
chipotle has quit [Quit: cheerio]
riotjones has joined #ruby
turtil-kun has joined #ruby
SOLDIERz has quit [Ping timeout: 246 seconds]
Sawbones_ has quit [Remote host closed the connection]
oo_ has quit [Remote host closed the connection]
x1337807x has quit [Ping timeout: 250 seconds]
tkuchiki has quit [Ping timeout: 244 seconds]
adriancb has quit [Ping timeout: 256 seconds]
oo_ has joined #ruby
<aewffwea> how do I convert a custom object to json?
TheNet has quit [Remote host closed the connection]
TheNet has joined #ruby
x1337807x has joined #ruby
<jhass> aewffwea: define an as_json method on it
riotjones has quit [Ping timeout: 264 seconds]
tkuchiki has joined #ruby
chipotle has joined #ruby
MissionCritical has quit [Ping timeout: 252 seconds]
braincrash has quit [Quit: bye bye]
jtdowney has joined #ruby
mikeric has quit []
Sawbones_ has joined #ruby
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Tinfoilhat_ has quit [Read error: Connection reset by peer]
tunaCanBruh has joined #ruby
bim has quit [Remote host closed the connection]
pappilino has quit [Read error: Connection reset by peer]
braincrash has joined #ruby
pappilino has joined #ruby
quazimod1 has joined #ruby
jtdowney_ has joined #ruby
jtdowney has quit [Ping timeout: 252 seconds]
GnuYawk has quit [Quit: WeeChat 1.0]
MissionCritical has joined #ruby
Sawbones_ has quit [Remote host closed the connection]
tunaCanBruh has quit [Ping timeout: 246 seconds]
krz has quit [Ping timeout: 272 seconds]
omosoj has joined #ruby
<omosoj> basic question about the initialize method. it's run every time the class is instantiated (Class.new), right?
ferr has quit [Ping timeout: 246 seconds]
zyxelthrone has quit [Ping timeout: 250 seconds]
Spleeze has quit [Ping timeout: 250 seconds]
_honning_ has quit [Ping timeout: 250 seconds]
jtdowney_ has quit [Ping timeout: 256 seconds]
Sawbones_ has joined #ruby
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
starless has quit [Quit: Leaving]
Sawbones_ has quit [Remote host closed the connection]
<jhass> right
Sawbones_ has joined #ruby
qiffp has quit [Ping timeout: 264 seconds]
<omosoj> k ty
TheNet has quit [Remote host closed the connection]
<Musashi007> Anyone ever willing to let a noob programmer watch them code?
TheNet has joined #ruby
mjuszczak has quit []
mikeric has joined #ruby
mikeric has quit [Max SendQ exceeded]
<jhass> isn't there youtube vids for that now?
BTRE has joined #ruby
mistermocha has joined #ruby
<Musashi007> I don’t know ?
ferr has joined #ruby
Vile` has quit [Ping timeout: 265 seconds]
<Musashi007> :D They’re offline
<Musashi007> thank you, though
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Vile` has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
allcentury has quit [Ping timeout: 250 seconds]
mistermocha has quit [Ping timeout: 250 seconds]
rupertbg has joined #ruby
Iniquity has joined #ruby
TheNet has quit [Remote host closed the connection]
TheNet has joined #ruby
skj3gg has joined #ruby
Sawbones_ has quit [Remote host closed the connection]
kyb3r_ has joined #ruby
bim has joined #ruby
bim has quit [Remote host closed the connection]
mistermocha has joined #ruby
Iniquity has quit [Client Quit]
Iniquity has joined #ruby
mistermocha has quit [Remote host closed the connection]
x1337807x has joined #ruby
x1337807x has quit [Max SendQ exceeded]
boshhead has quit [Ping timeout: 264 seconds]
x1337807x has joined #ruby
rhg000 is now known as rhg135
jottr_ has joined #ruby
Iniquity has left #ruby [#ruby]
pappilino has quit [Ping timeout: 265 seconds]
vt102 has quit [Ping timeout: 250 seconds]
juanpablo_ has joined #ruby
aphprentice has joined #ruby
skj3gg has quit [Quit: ZZZzzz…]
skj3gg has joined #ruby
jottr_ has quit [Ping timeout: 246 seconds]
Drakevr has quit [Ping timeout: 245 seconds]
Drakevr has joined #ruby
juanpablo_ has quit [Ping timeout: 250 seconds]
codeurge has joined #ruby
mistermocha has joined #ruby
skj3gg has quit [Client Quit]
aphprentice has quit [Ping timeout: 246 seconds]
skj3gg has joined #ruby
bim has joined #ruby
wldcordeiro has joined #ruby
<pontiki> i've recently discovered some people learn quite a bit just by shoulder surfing when I'm banging on the keyboard
AlexRussia has quit [Ping timeout: 252 seconds]
jbeeze has quit [Remote host closed the connection]
krz has joined #ruby
TheNet has quit [Remote host closed the connection]
RegulationD has joined #ruby
TheNet has joined #ruby
ferr has quit [Quit: WeeChat 1.1.1]
Sawbones_ has joined #ruby
Sawbones_ has quit [Remote host closed the connection]
chrishough has joined #ruby
chrishough has quit [Client Quit]
RegulationD has quit [Ping timeout: 250 seconds]
skj3gg has quit [Quit: ZZZzzz…]
ghr has joined #ruby
skj3gg has joined #ruby
<ponga> pontiki: really? learn to code over shoulder?
<Nilium> I'd feel bad if my coworkers did that with me.
<Nilium> Using vim is unnecessarily confusing to my coworkers..
MissionCritical has quit [Ping timeout: 250 seconds]
ponga has quit [Read error: Connection reset by peer]
ponga has joined #ruby
chipotle has quit [Quit: cheerio]
bkparso has joined #ruby
tkuchiki_ has joined #ruby
Hirzu has joined #ruby
<Musashi007> over the shoulder coder molder?
<pontiki> yeah, we were sitting around at hack night, and they had a bunch of questions, so i said "watch how i'm doing this"
LiquidInsect has quit [Ping timeout: 265 seconds]
<Musashi007> What is this ‘hack night’ may i ask
ghr has quit [Ping timeout: 250 seconds]
<pontiki> kinda neat, i could talk, they could ask questions, and i was building a small sample app
bruno- has joined #ruby
<pontiki> i don't think it's any different than watching a video, i suppose
LiquidInsect has joined #ruby
<Musashi007> the ability to interact adds a lot
AlexRussia has joined #ruby
<pontiki> i imagine it does
tkuchiki has quit [Ping timeout: 246 seconds]
armyriad has quit [Read error: Connection reset by peer]
bkparso has quit [Client Quit]
Alina-malina has quit [Ping timeout: 255 seconds]
TheNet has quit [Remote host closed the connection]
chipotle has joined #ruby
TheNet has joined #ruby
Lingo has quit [Quit: (null)]
mesamoo has joined #ruby
<ponga> pontiki: i never thought English had 'over shoulder' 'shoulder surfing' expression, thought it was only my mother tongue
<ponga> interesting
<ponga> its universal
bruno- has quit [Ping timeout: 250 seconds]
bkparso has joined #ruby
codeurge has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bkparso has quit [Client Quit]
bkparso has joined #ruby
bkparso has quit [Client Quit]
<Musashi007> shoulder surfing isn’t an english expression that I know of..
<pontiki> Nilium: i thought my using Emacs would be a pain for these two folks, who were using Sublime, but they didn't seem to have a problem
<pontiki> huh
<pontiki> i've only heard it in English
thumpba has joined #ruby
pretodor has joined #ruby
DrShoggoth has quit [Quit: Leaving]
w0rldmak1r has quit [Ping timeout: 252 seconds]
xploshioon has joined #ruby
aphprentice has joined #ruby
MissionCritical has joined #ruby
Hirzu has quit [Quit: Leaving...]
last_staff has joined #ruby
<ponga> is it true that emacs get your fingers *ucked up
arescorpio has quit [Excess Flood]
<pontiki> no
<ponga> my regular wiki says so that it causes RSI by having hotkeys in stupid places
<pontiki> lies
thumpba has quit [Ping timeout: 252 seconds]
<heftig> Carpal Emacs Syndrome
gsd has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<pontiki> RSI is *REPETATIVE* strain injury
<pontiki> if you're repeating a lot of the same keystrokes in emacs, yer doin it rong
<pontiki> none of the keystrokes are hard to reach
<pontiki> they can be hard to learn and remember
<pontiki> but not hard to use
ghostpl_ has joined #ruby
<pontiki> like any other coding editor, 90% of the time, you're just typing code
mistermocha has quit [Remote host closed the connection]
ikeike443 has joined #ruby
Cache_Money has quit [Quit: Cache_Money]
<pontiki> that said, i don't think you should bother to learn Emacs
<Nilium> pontiki: Emacs behaves a lot like modern editors, key mappings aside
lxsameer has joined #ruby
<Nilium> So it should be pretty clear what's going on usually. The whole modal thing in vim can confuse people not used to it.
<ponga> uhh im ok with my sublime *derp
<pontiki> how else can one maintain that cultured air of superiority if one doesn't have something they don't have experience with to put down? i mean, after all, what is important here?
<ponga> sublime does what i want it to do
<Nilium> If you live sublime, you should totally use sublime.
<Nilium> *like
<Nilium> Good god my typing is bad tonight.
TheNet has quit [Remote host closed the connection]
duncannz has joined #ruby
TheNet has joined #ruby
ghostpl_ has quit [Ping timeout: 245 seconds]
<weaksauce> neovim is getting closer to having a few guis
<weaksauce> atom has a proof of concept
<Nilium> I tried it once but couldn't find a good way to get it to use my regular vimrc, so it just kept trying to use .nvimrc and whatnot and I decided I wasn't going to bother.
<Nilium> Incidentally, someone did get emacs running inside of neovim
<weaksauce> Nilium most people just use a symbolic link
<ericwood> I'm still waiting on some Mavericks patches to finally make it into MacVim master :(
<shmoon_> http://www.relishapp.com/rspec/rspec-expectations/v/2-0/docs/matchers/expect-change! - howcome Counter.count is accessible? if I make a test class similar to what you see there as Counter, .count is not accessible
<weaksauce> from vimrc to nvimrc
<Nilium> weaksauce: I wanted to avoid that since I didn't want neovim touching my viminfo/undofiles/etc.
<weaksauce> don't think it does Nilium
<Nilium> Basically wanted to keep it sandboxed for testery.
jonr22 has joined #ruby
<weaksauce> but it's possible it does
<Nilium> If it uses viminfo and it respects what I set viminfo to, it'll use my viminfo
<pontiki> shmoon_: count is defined inside class << self, which makes all those methods class methods
<Nilium> And if it's not respecting that, it's not a very good vim O_o
sargas has quit [Quit: Leaving]
<weaksauce> yeah if you are changing things in there then yeah
<Nilium> Trying to decide if I want to install slackware on a 24gb partition
<weaksauce> it noops a few things
<shmoon_> o shit yes so silly i am pontiki :/ thanks
Musashi007 has quit [Quit: Musashi007]
<pontiki> what would you use it for, Nilium?
<Nilium> Mostly dev stuff.
TheNet has quit [Remote host closed the connection]
TheNet has joined #ruby
Limix has quit [Quit: Limix]
<Nilium> I just can't decide if I want to use Slackware again after all these years.
omosoj has quit [Quit: leaving]
<pontiki> maybe a VM first?
jonr22 has quit [Ping timeout: 250 seconds]
Qladstone has joined #ruby
<Nilium> VM wouldn't tell me if I could make it work, seeing as I'm on a retina Macbook.
<pontiki> then if it's a go, make it a partition
<pontiki> oh, that's an issue, yeat
<pontiki> yeah
<Nilium> It's not a question of whether I want a small bootable Linux partition, just not sure if I feel like doing everything I had to do back when I was 13
<Nilium> 'Cause Slackware was what I used back then
BTRE has quit [Quit: Leaving]
<pontiki> i liked slack
Musashi007 has joined #ruby
<Nilium> It was pretty great since it was one of the it-just-works distros (i.e., to get booting - still had to install graphics drivers and such)
<Nilium> And then once it was up, it never stopped working.
<pontiki> way back when, when Emacs was my window manager :D
fgo has quit [Quit: WeeChat 1.1.1]
yfeldblu_ has quit [Read error: Connection reset by peer]
<Nilium> I had fluxbox back then.
turtil-kun has quit [Quit: WeeChat 1.1.1]
Cadillactica has joined #ruby
yfeldblum has joined #ruby
<Nilium> Oh, I could do Hurd. That'd be a fun one to explain.
<pontiki> lol
kp666 has joined #ruby
SouL has quit [Ping timeout: 245 seconds]
jack_rabbit has joined #ruby
sumark has quit [Remote host closed the connection]
GnuYawk has joined #ruby
kobain has quit [Quit: KVIrc 4.1.3 Equilibrium http://www.kvirc.net/]
omosoj has joined #ruby
sumark has joined #ruby
<omosoj> if i lay down some basic functions in base.rb... how do i refer to that file when using classes defined there?
<omosoj> (in a separate file)
ptrrr has joined #ruby
skj3gg has quit [Quit: ZZZzzz…]
<omosoj> will require 'path/to/file' be enough?
fenzil has quit [Quit: Leaving]
<Cadillactica> omosoj: yes that should be enough. require_relative is also helpful
Qladstone has quit [Remote host closed the connection]
aphprentice has quit [Ping timeout: 264 seconds]
ptrrr has quit [Ping timeout: 250 seconds]
<omosoj> k. also found out that u should put ./ before
ryanf has joined #ruby
<Cadillactica> omosoj: with require_relative?
<omosoj> no.. plain require
<omosoj> wonder if require_relative would not need it
<omosoj> probably, right?
<Cadillactica> omosoj: yeah that requires full path. require_relative assumes you’re starting in the same directory so I don’t believe so
Qladstone has joined #ruby
red_horned_rihno has joined #ruby
Channel6 has quit [Quit: Leaving]
<Cadillactica> question: I often come across patterns such as this: http://pastebin.com/H1rJZ5sF define array, add to it, return it at the end. I’ve become a fan of using .tap to skip declaration/return, but I’ve heard that’s frowned upon. any thoughts/advices?
riotjones has joined #ruby
<diegoviola> so some company wants me to write tests for their code (some API), is it reasonable to ask them for specifications/scenarios at least?
<Nilium> I used to the tap thing. Started avoiding it because it's slow.
<diegoviola> I mean, I can't read minds
<Nilium> Performance there may not be that useful to you.
<Nilium> diegoviola: Yes.
ryanf has quit [Quit: leaving]
<ponga> diegoviola: isn't it more reasonable if company asked you if you wanted their scenarios
<diegoviola> ponga: what do you mean?
last_staff has quit [Quit: last_staff]
<ponga> it sounds common for a company to ask 'you' if you, diegoviola, wanted to know their scenario/specifications
<ponga> not the other way round
riotjones has quit [Ping timeout: 245 seconds]
rupertbg has quit [Quit: Leaving.]
x1337807x has quit [Ping timeout: 264 seconds]
skj3gg has joined #ruby
<diegoviola> well, they just said: "I’d like you to fill out the tests to check all the methods that are exposed in the API [:show, :index, :create, etc]."
x1337807x has joined #ruby
<diegoviola> which sounds fairly standard rails routes, but still, I'd like to know what are they hoping to achieve
<diegoviola> or what problem are they trying to solve
red_horned_rihno has quit [Ping timeout: 252 seconds]
nahtnam has joined #ruby
bim has quit [Remote host closed the connection]
armyriad has joined #ruby
armyriad has quit [Remote host closed the connection]
tunaCanBruh has joined #ruby
armyriad has joined #ruby
skj3gg has quit [Quit: ZZZzzz…]
MissionCritical has quit [Ping timeout: 246 seconds]
wallerdev has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
Arnie25 has quit [Ping timeout: 245 seconds]
tunaCanBruh has quit [Ping timeout: 264 seconds]
Morkel has joined #ruby
BTRE has joined #ruby
red_horned_rihno has joined #ruby
Cadillactica has quit [Quit: Cadillactica]
agent_white has joined #ruby
<agent_white> Evenin'
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
Joufflu has joined #ruby
krz has quit [Ping timeout: 255 seconds]
skj3gg has joined #ruby
tobago has joined #ruby
krz has joined #ruby
jottr_ has joined #ruby
vdamewood has joined #ruby
duncannz has quit [Ping timeout: 264 seconds]
The_Phoenix has joined #ruby
MissionCritical has joined #ruby
jottr_ has quit [Ping timeout: 245 seconds]
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby
timonv has joined #ruby
ghostpl_ has joined #ruby
<Nilium> Alright, I now have 100gb free. Slightly more space to abuse.
OrbitalKitten has joined #ruby
skj3gg has quit [Quit: ZZZzzz…]
bim has joined #ruby
skj3gg has joined #ruby
ghostpl_ has quit [Ping timeout: 250 seconds]
Lewix has quit []
adriancb has joined #ruby
omosoj has quit [Quit: leaving]
rhg135 is now known as rhg135|zzz
juanpablo_ has joined #ruby
Mon_Ouie has joined #ruby
adriancb has quit [Ping timeout: 256 seconds]
charliesome has quit [Quit: zzz]
Mia has joined #ruby
tvon has quit [Quit: Lost terminal]
tvon has joined #ruby
juanpablo_ has quit [Ping timeout: 265 seconds]
rushed has joined #ruby
<pontiki> diegoviola: getting paid in advance for this?
<pontiki> Nilium: you can have *3* slack partitions!!
<diegoviola> pontiki: nope, they seem to have good reputation though
<diegoviola> pontiki: and we agreed on a 2-weeks pay
_pakchoi_ops has joined #ruby
<diegoviola> pontiki: before we started working, they were nice to ask if I wanted upfront pay
<Nilium> I'm pretty sure that's closer to something like 12 Slackware partitions
<Nilium> It's good at being tiny.
* agent_white hugs pontiki
hvxgr has quit [Ping timeout: 244 seconds]
<Nilium> I wonder if Arch is worth looking at or if I'm too impatient for this crap now
<diegoviola> pontiki: we agreed on bi-weekly
bim has quit [Remote host closed the connection]
<pontiki> Nilium: just being silly
thumpba has joined #ruby
ta has joined #ruby
RegulationD has joined #ruby
<diegoviola> pontiki: they seem to be involved in open source also
<agent_white> diegoviola: Good to hear you're getting those issues ironed out about getting paid for work... at least last I had heard a bit ago you had troubles.
<agent_white> :D
j416 has quit [Ping timeout: 245 seconds]
<diegoviola> agent_white: right, I'm happy too
<agent_white> \o/
<diegoviola> agent_white: it's just a matter of working with nice people, I guess
<diegoviola> not saying the people I used to work weren't nice
<diegoviola> maybe just some misunderstandings, it happens
j416 has joined #ruby
<diegoviola> :)
riotjones has joined #ruby
<Nilium> I like who I work with, but I disagree with them heavily on technology choices.
thumpba has quit [Ping timeout: 246 seconds]
<Nilium> 'Cause they use PHP and node.js. So I'm just naturally opposed on moral and technical levels.
Macaveli has joined #ruby
RegulationD has quit [Ping timeout: 255 seconds]
pretodor has quit [Quit: Ex-Chat]
timonv has quit [Ping timeout: 250 seconds]
<diegoviola> I'm also not a big fan of either
<agent_white> diegoviola: Fair enough :) Just gotta ensure a misunderstanding doesn't keep you from paying the bills!
<diegoviola> right
riotjones has quit [Ping timeout: 265 seconds]
last_staff has joined #ruby
bim has joined #ruby
f03lipe has quit [Ping timeout: 246 seconds]
ta has quit [Remote host closed the connection]
Alina-malina has joined #ruby
Soda has quit [Remote host closed the connection]
ycyclist has quit [Ping timeout: 246 seconds]
apeiros_ has quit [Remote host closed the connection]
_pakchoi_ops has quit [Quit: No Ping reply in 180 seconds.]
lkba has joined #ruby
apeiros_ has joined #ruby
ta has joined #ruby
zzing has quit [Quit: Textual IRC Client: www.textualapp.com]
_Andres has joined #ruby
_pakchoi_ops has joined #ruby
oo_ has quit [Remote host closed the connection]
duncannz has joined #ruby
lkba_ has quit [Ping timeout: 240 seconds]
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
apeiros_ has quit [Ping timeout: 245 seconds]
fabrice31 has joined #ruby
ta has quit [Remote host closed the connection]
MissionCritical has quit [Ping timeout: 250 seconds]
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
diegoviola has quit [Remote host closed the connection]
wldcordeiro has quit [Ping timeout: 256 seconds]
ptrrr has joined #ruby
leat has joined #ruby
Takle has joined #ruby
oo_ has joined #ruby
hvxgr has joined #ruby
grrrr_ has joined #ruby
MissionCritical has joined #ruby
jonr22 has joined #ruby
ptrrr has quit [Ping timeout: 264 seconds]
Takle has quit [Ping timeout: 244 seconds]
SixiS has joined #ruby
skj3gg has quit [Quit: ZZZzzz…]
rushed has quit [Quit: rushed]
jonr22 has quit [Ping timeout: 250 seconds]
User458764 has joined #ruby
Morkel has quit [Quit: Morkel]
Qladstone has quit [Remote host closed the connection]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
anaeem1_ has joined #ruby
dru has quit [Ping timeout: 252 seconds]
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
bal has joined #ruby
schaerli has joined #ruby
Musashi007 has quit [Remote host closed the connection]
sinkensabe has joined #ruby
polysics has quit [Remote host closed the connection]
Musashi007 has joined #ruby
selu has joined #ruby
iamninja has quit [Read error: Connection reset by peer]
rikai has quit [Ping timeout: 240 seconds]
bim has quit [Remote host closed the connection]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
apeiros_ has joined #ruby
rikai has joined #ruby
diego1 has joined #ruby
pontiki has quit [Ping timeout: 255 seconds]
hmnhf has quit [Ping timeout: 244 seconds]
diego1 is now known as diegoviola
aganov has joined #ruby
Qladstone has joined #ruby
Crisix has joined #ruby
rushed has joined #ruby
Crisix has quit [Max SendQ exceeded]
<certainty> moin
<agent_white> \o
<agent_white> pancakes?
<certainty> nope, tea first. but thanks
<agent_white> Fair enough! Though more importantly, cold or hot syrup? ;)
<certainty> hot
GnuYawk has quit [Read error: No route to host]
quazimod1 has quit [Ping timeout: 255 seconds]
<agent_white> I guess I'll need to try tea sometime :D
GnuYawk has joined #ruby
diegoviola has quit [Quit: WeeChat 1.1.1]
slawrence00 has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
rushed has quit [Quit: rushed]
lolmaus has quit [Quit: Konversation terminated!]
tunaCanBruh has joined #ruby
polysics has joined #ruby
diegoviola has joined #ruby
davejacobs has joined #ruby
razieliyo has joined #ruby
JaTochNietDan has quit [Ping timeout: 250 seconds]
Diabolik has quit [Ping timeout: 252 seconds]
wicope has joined #ruby
aswen has joined #ruby
andikr has joined #ruby
tunaCanBruh has quit [Ping timeout: 244 seconds]
wldcordeiro has joined #ruby
davejacobs has quit [Ping timeout: 246 seconds]
Diabolik has joined #ruby
JaTochNietDan has joined #ruby
User458764 has joined #ruby
amundj has joined #ruby
SOLDIERz has joined #ruby
amclain has quit [Quit: Leaving]
jottr_ has joined #ruby
strixd has joined #ruby
aswen has quit [Ping timeout: 245 seconds]
grrrr_ has quit [Remote host closed the connection]
MissionCritical has quit [Ping timeout: 256 seconds]
jottr_ has quit [Ping timeout: 255 seconds]
GnuYawk has quit [Quit: WeeChat 1.0]
GnuYawk has joined #ruby
LetErikTry has joined #ruby
lemur has quit [Remote host closed the connection]
_Andres has joined #ruby
Joufflu has quit [Read error: Connection reset by peer]
odigity has quit [Ping timeout: 265 seconds]
SouL has joined #ruby
oki has joined #ruby
ghostpl_ has joined #ruby
aphprentice has joined #ruby
dumdedum has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
odigity has joined #ruby
claptor has quit [Quit: this channel is bakas]
arup_r has joined #ruby
ghostpl_ has quit [Ping timeout: 252 seconds]
zorak8 has quit [Ping timeout: 256 seconds]
sigurding has joined #ruby
aphprentice has quit [Ping timeout: 264 seconds]
shredding has joined #ruby
MissionCritical has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
ponga has quit [Remote host closed the connection]
lolmaus has joined #ruby
charliesome has quit [Quit: zzz]
juanpablo_ has joined #ruby
gr33n7007h has joined #ruby
zacstewart has quit [Read error: Connection reset by peer]
zacstewart has joined #ruby
sinkensabe has quit [Remote host closed the connection]
exadeci has joined #ruby
<davzie> Try tea sometime...
<davzie> You sir, are missing out
MissionCritical has joined #ruby
<davzie> I have a cupboard shelf that is just commited to various teas and stuff, Bold Kenyan, Assam, Ceylon, Darjeeling, Organic White, Jasmine Dragon Pearls etc. It's like an adventure-land.
Nahra has quit [Remote host closed the connection]
MissionCritical has quit [Max SendQ exceeded]
aswen has joined #ruby
juanpablo_ has quit [Ping timeout: 240 seconds]
rdark has joined #ruby
OrbitalKitten has joined #ruby
Bounga has joined #ruby
hmnhf has joined #ruby
Vile` has quit [Remote host closed the connection]
kalusn has joined #ruby
kalusn has quit [Remote host closed the connection]
sinkensabe has joined #ruby
kalusn has joined #ruby
atom3 is now known as noS3rvic3
noS3rvic3 is now known as atom3
tesuji has joined #ruby
Vile` has joined #ruby
danjordan has joined #ruby
tvw has joined #ruby
ghr has joined #ruby
Spami has joined #ruby
davedev2_ has quit [Remote host closed the connection]
Qladstone has quit [Remote host closed the connection]
msgodf has joined #ruby
thumpba has joined #ruby
einarj has joined #ruby
MissionCritical has joined #ruby
RegulationD has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
einarj has quit [Remote host closed the connection]
avril14th has joined #ruby
einarj has joined #ruby
codecop has joined #ruby
sinkensabe has quit [Remote host closed the connection]
TheNet has quit [Quit: Leaving...]
godd2 has quit [Ping timeout: 245 seconds]
riotjones has joined #ruby
thumpba has quit [Ping timeout: 246 seconds]
lolmaus has quit [Quit: Konversation terminated!]
arup_r has quit [Remote host closed the connection]
RegulationD has quit [Ping timeout: 255 seconds]
Hobogrammer_ has quit [Ping timeout: 255 seconds]
funkpuppet has joined #ruby
hmnhf has quit [Ping timeout: 272 seconds]
terlar has joined #ruby
funkpuppet has left #ruby [#ruby]
CustosLimen has quit [Ping timeout: 265 seconds]
GnuYawk has quit [Ping timeout: 264 seconds]
MissionCritical has joined #ruby
riotjones has quit [Ping timeout: 250 seconds]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
amundj has quit [Ping timeout: 250 seconds]
MissionCritical has quit [Max SendQ exceeded]
bruno- has joined #ruby
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
konflikt has quit [Quit: leaving]
amundj has joined #ruby
<avril14th> morning
bweston92 has joined #ruby
Guest17679 has joined #ruby
Qladstone has joined #ruby
Tinfoilhat_ has joined #ruby
bruno- has quit [Ping timeout: 264 seconds]
_pakchoi_ops has quit [Ping timeout: 245 seconds]
wallerdev has quit [Quit: wallerdev]
Waheedi has joined #ruby
codecop has quit [Remote host closed the connection]
MissionCritical has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
codecop has joined #ruby
antgel has joined #ruby
charliesome has joined #ruby
wldcordeiro has quit [Ping timeout: 265 seconds]
commmmodo has joined #ruby
charliesome has quit [Client Quit]
OrbitalKitten has quit [Quit: Textual IRC Client: www.textualapp.com]
sinkensabe has joined #ruby
charliesome has joined #ruby
jenrzzz has quit [Ping timeout: 252 seconds]
The_Phoenix has quit [Read error: Connection reset by peer]
livathinos has joined #ruby
MissionCritical has joined #ruby
multi_io has joined #ruby
gluten_hell has joined #ruby
sinkensabe has quit [Remote host closed the connection]
multi_io_ has quit [Ping timeout: 250 seconds]
toretore has quit [Ping timeout: 272 seconds]
sinkensabe has joined #ruby
livathin_ has joined #ruby
toretore has joined #ruby
The_Phoenix has joined #ruby
lolmaus has joined #ruby
Pumukel has joined #ruby
professor_soap has joined #ruby
Takle has joined #ruby
MissionCritical has quit [Ping timeout: 245 seconds]
banister has joined #ruby
grrrr_ has joined #ruby
livathinos has quit [Ping timeout: 246 seconds]
krz has quit [Ping timeout: 240 seconds]
yfeldblu_ has joined #ruby
CustosLimen has joined #ruby
CpuID has joined #ruby
Qladstone has quit [Remote host closed the connection]
ta has joined #ruby
avahey has quit [Quit: Connection closed for inactivity]
duncannz has quit [Ping timeout: 245 seconds]
arup_r has joined #ruby
mikecmpbll has joined #ruby
yfeldblum has quit [Ping timeout: 255 seconds]
SHyx0rmZ has quit [Remote host closed the connection]
SHyx0rmZ has joined #ruby
mostlybadfly has quit [Quit: Connection closed for inactivity]
FooMunki_ has joined #ruby
arup_r has quit [Remote host closed the connection]
sigurding has quit [Quit: sigurding]
aphprentice has joined #ruby
zotherstupidguy has joined #ruby
Qladstone has joined #ruby
professor_soap has quit []
MissionCritical has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
<agent_white> \o
FooMunki_ has quit [Ping timeout: 245 seconds]
red_horned_rihno has quit [Ping timeout: 252 seconds]
zacstewart has quit [Read error: Connection reset by peer]
ghostpl_ has joined #ruby
zacstewart has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
zacstewart has quit [Read error: Connection reset by peer]
banister has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
tobiasvl has quit [Quit: reboot]
zacstewart has joined #ruby
marr has joined #ruby
tvl has joined #ruby
tvl is now known as tobiasvl
Morkel has joined #ruby
sinkensabe has joined #ruby
hmnhf has joined #ruby
arup_r has joined #ruby
pandaant has joined #ruby
Crisix has joined #ruby
JoshGlzBrk has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
arup_r_ has joined #ruby
aphprentice has quit [Ping timeout: 256 seconds]
krz has joined #ruby
MissionCritical has joined #ruby
rocknrollmarc has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
jack_rabbit has quit [Ping timeout: 246 seconds]
Zai00 has joined #ruby
User458764 has joined #ruby
arup_r has quit [Ping timeout: 264 seconds]
Zai00 has quit [Client Quit]
Zai00 has joined #ruby
zacstewart has quit [Read error: Connection reset by peer]
zacstewart has joined #ruby
Crisix has quit [Read error: Connection reset by peer]
BTRE has quit [Quit: Leaving]
red_horned_rihno has joined #ruby
Musashi007 has quit [Quit: Musashi007]
rocknrollmarc has quit [Read error: Connection reset by peer]
selu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
LetErikTry has quit [Quit: sleep]
banister has joined #ruby
zacstewart has quit [Read error: Connection reset by peer]
zacstewart has joined #ruby
Takle has quit [Remote host closed the connection]
Pumukel has quit [Ping timeout: 265 seconds]
Musashi007 has joined #ruby
justin_pdx has joined #ruby
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
rocknrollmarc has joined #ruby
banister has quit [Client Quit]
MissionCritical has joined #ruby
Pupeno has joined #ruby
Pupeno has joined #ruby
tunaCanBruh has joined #ruby
Grumelo has joined #ruby
nerder has joined #ruby
<nerder> hello guys!
<nerder> Anybody can explain me the difference between: def func(arg) AND def func(*arg)
<nerder> *arg is the pointer as in C?
<ddv> nerder: no
tunaCanBruh has quit [Ping timeout: 246 seconds]
SolarSailor has joined #ruby
joonty has joined #ruby
<avril14th> it's called the splat operator
<ddv> ^
rocknrollmarc has quit [Quit: User abort with 5 Ctrl-C's]
kyb3r_ has quit [Quit: Leaving]
<grrrr_> it'll capture all your parameters into an array
<nerder> avril14th: thx :;)
<nerder> ;)
georgesmith has quit [Quit: georgesmith]
<gr33n7007h> >> def foo(*args); args.each{ |arg| puts "I like #{arg}" }; end; [ foo("pizza","chicken"), foo(*["pizza","chicken"])
<eval-in> gr33n7007h => /tmp/execpad-f45fc0bd878d/source-f45fc0bd878d:3: syntax error, unexpected keyword_rescue, expecting ']' ... (https://eval.in/294924)
<gr33n7007h> >> def foo(*args); args.each{ |arg| puts "I like #{arg}" }; end; [ foo("pizza","chicken"), foo(*["pizza","chicken"]) ]
<eval-in> gr33n7007h => I like pizza ... (https://eval.in/294925)
lkba has quit [Ping timeout: 252 seconds]
<ddv> avril14th: pointers in a dynamic language? :S
<ddv> err, nerder
einarj has quit [Remote host closed the connection]
jottr_ has joined #ruby
<nerder> ddv: you are right, i just saw the notation *arg and i immediately think about pointers! my bad ;)
LekeFly has joined #ruby
livathin_ has quit [Remote host closed the connection]
<ddv> nerder: np
einarj has joined #ruby
sigurding has joined #ruby
zacstewart has quit [Read error: Connection reset by peer]
zacstewa_ has joined #ruby
Pumukel has joined #ruby
<gr33n7007h> x = [2,4,6,8,10]; y=x; x << 20; [[x,x.object_id],[y,y.object_id]] # x and y are just pointer under the hood :)
<gr33n7007h> >> x = [2,4,6,8,10]; y=x; x << 20; [[x,x.object_id],[y,y.object_id]] # x and y are just pointer under the hood :)
<eval-in> gr33n7007h => [[[2, 4, 6, 8, 10, 20], 543498160], [[2, 4, 6, 8, 10, 20], 543498160]] (https://eval.in/294927)
livathinos has joined #ruby
jottr_ has quit [Ping timeout: 264 seconds]
Takle has joined #ruby
zacstewa_ has quit [Read error: Connection reset by peer]
zacstewart has joined #ruby
doritostains has quit [Quit: #jasperreports]
doritostains has joined #ruby
antgel has quit [Ping timeout: 250 seconds]
polysics has quit [Ping timeout: 244 seconds]
bigkevmcd has joined #ruby
polysics has joined #ruby
zacstewart has quit [Read error: Connection reset by peer]
zacstewart has joined #ruby
Musashi007 has quit [Quit: Musashi007]
antgel has joined #ruby
piotrj has joined #ruby
Grantlyk has joined #ruby
plashchynski has joined #ruby
MissionCritical has quit [Ping timeout: 256 seconds]
Morkel has quit [Ping timeout: 265 seconds]
Grantlyk has quit [Remote host closed the connection]
Morkel has joined #ruby
Morkel has quit [Client Quit]
polysics_ has joined #ruby
Morkel has joined #ruby
zacstewart has quit [Read error: Connection reset by peer]
zacstewart has joined #ruby
sinkensa_ has joined #ruby
Takle has quit [Remote host closed the connection]
LetErikTry has joined #ruby
LetErikTry has quit [Changing host]
LetErikTry has joined #ruby
roshanavand has joined #ruby
nerder has quit [Ping timeout: 246 seconds]
juanpablo_ has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
polysics has quit [Ping timeout: 245 seconds]
plashchynski has quit [Quit: plashchynski]
sinkensa_ has quit [Read error: Connection reset by peer]
tgunr has joined #ruby
zacstewart has quit [Read error: Connection reset by peer]
Takle_ has joined #ruby
zacstewart has joined #ruby
<tgunr> Is this a valid line for a Gemfile?
<tgunr> source 'https://rubygems.org'ruby '2.0.0'
FooMunki_ has joined #ruby
<apeiros_> tgunr: I think that should be 2 lines
<tgunr> k, trying
tvw has quit []
Grantlyk has joined #ruby
juanpablo_ has quit [Ping timeout: 244 seconds]
<tgunr> yes, that got rid of the error but now I do not see ruby2.0 in the list `aptitude search ruby'
_Andres has quit [Ping timeout: 240 seconds]
<zotherstupidguy> do i have to use geminabox to publish a gem to my own gem server?
grrrr_ has quit [Remote host closed the connection]
MissionCritical has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
banister has joined #ruby
banister has quit [Max SendQ exceeded]
aswen has quit [Ping timeout: 245 seconds]
_Andres has joined #ruby
zacstewart has quit [Read error: Connection reset by peer]
zacstewart has joined #ruby
sinkensabe has joined #ruby
dANO_ has joined #ruby
<zotherstupidguy> tgunr: have you tried rbenv or rvm?
<zotherstupidguy> easier path!
<tgunr> nope
thumpba has joined #ruby
bMalum has joined #ruby
RegulationD has joined #ruby
aphprentice has joined #ruby
MissionCritical has joined #ruby
<tgunr> ok, now `ruby -v' shows 2.0 but the Gemfile is reporting `Gem::InstallError: i18n requires Ruby version >= 1.9.3.'
MissionCritical has quit [Max SendQ exceeded]
<tgunr> and `gem install i18n -v '0.7.0'' succeeds fine
thumpba has quit [Ping timeout: 252 seconds]
gluten_hell has quit [Quit: Computer has gone to sleep.]
RegulationD has quit [Ping timeout: 265 seconds]
reinaldob has joined #ruby
gluten_hell has joined #ruby
aphprentice has quit [Ping timeout: 264 seconds]
robustus is now known as robustus|Off
aphprentice has joined #ruby
<zotherstupidguy> ok tgunr, I think it is best for you to start using something like rbenv
tvl has joined #ruby
<tgunr> k, looking
<zotherstupidguy> let me know if you are having trouble getting it going
zacstewart has quit [Read error: Connection reset by peer]
zacstewart has joined #ruby
<zotherstupidguy> make sure you get the ruby-build as well https://github.com/sstephenson/ruby-build#readme
robustus|Off is now known as robustus
samfisher has joined #ruby
polysics_ is now known as polysics
<zotherstupidguy> it lets you somthing like $ rbenv install 2.0.0-p247
<zotherstupidguy> so you can easily move from one ruby ver to another
bruno- has joined #ruby
<zotherstupidguy> also from your gist you are trying to use redmine, i think you can add the ruby -v you need in the Gemfile and it will load it for you
gluten_hell has quit [Ping timeout: 252 seconds]
JBreit has joined #ruby
zacstewart has quit [Read error: Connection reset by peer]
<zotherstupidguy> source "https://rubygems.org"
MissionCritical has joined #ruby
<zotherstupidguy> ruby "1.9.3"
<zotherstupidguy> somthing like that
zacstewart has joined #ruby
<zotherstupidguy> tgunr: good luck
MissionCritical has quit [Max SendQ exceeded]
<tgunr> ok, thank, installed and trying
otisZart has joined #ruby
workmad3 has joined #ruby
codecop has quit [Remote host closed the connection]
anekos has quit [Remote host closed the connection]
nettoweb has joined #ruby
zacstewart has quit [Read error: Connection reset by peer]
nfk has joined #ruby
zacstewart has joined #ruby
anekos has joined #ruby
bruno- has quit [Ping timeout: 246 seconds]
aphprentice has quit [Ping timeout: 245 seconds]
timonv has joined #ruby
justin_pdx has quit [Quit: justin_pdx]
Qladstone has quit [Remote host closed the connection]
MissionCritical has joined #ruby
ptrrr has joined #ruby
withnale__ has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
sinkensabe has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
piotrj has quit [Remote host closed the connection]
piotrj has joined #ruby
gluten_hell has joined #ruby
otisZart has quit [Quit: Textual IRC Client: www.textualapp.com]
zacstewart has quit [Read error: Connection reset by peer]
otisZart has joined #ruby
zacstewart has joined #ruby
<arup_r_> zotherstupidguy: is this what you meant "z other stupid guy" ?
timonv has quit [Ping timeout: 245 seconds]
ptrrr has quit [Ping timeout: 246 seconds]
lxsameer has quit [Read error: Connection reset by peer]
LetErikTry has quit [Quit: sleep]
robustus is now known as robustus|Off
<otisZart> little reminder: [11:45:43] -ChanServ-Welcome to #ruby. || http://www.ruby-lang.org || http://www.modruby.net
<otisZart> modruby.net is not active
lxsameer has joined #ruby
lxsameer has quit [Read error: Connection reset by peer]
<toretore> modruby
<toretore> lol
<otisZart> what was that?
xploshioon has quit [Quit: Leaving]
lxsameer has joined #ruby
lxsameer has quit [Read error: Connection reset by peer]
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
MissionCritical has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
grrrr_ has joined #ruby
kalusn has quit [Remote host closed the connection]
lxsameer has joined #ruby
zacstewart has quit [Read error: Connection reset by peer]
jenrzzz has joined #ruby
jonr22 has joined #ruby
lxsameer has quit [Read error: Connection reset by peer]
zacstewart has joined #ruby
lxsameer has joined #ruby
lxsameer has quit [Read error: Connection reset by peer]
<Mon_Ouie> It used to be a plugin for Apache
<otisZart> well, history teaches us that mod is now obsolete?
<Mon_Ouie> And I believe only fflush (and not all ops) can change that message
jonr22 has quit [Ping timeout: 256 seconds]
Zai00 has quit [Quit: Zai00]
MissionCritical has joined #ruby
davedev24_ has joined #ruby
Drakevr has quit [Changing host]
Drakevr has joined #ruby
timonv has joined #ruby
rodfersou has joined #ruby
zacstewa_ has joined #ruby
dmolina has joined #ruby
zacstewart has quit [Read error: Connection reset by peer]
aphprentice has joined #ruby
spider-mario has joined #ruby
MissionCritical has quit [Ping timeout: 240 seconds]
<zotherstupidguy> arup_r_: yup :)
aphprentice has quit [Ping timeout: 265 seconds]
<arup_r_> zotherstupidguy: so who is `z` ? Is Z a Cat name ?
<zotherstupidguy> "the other"
<arup_r_> Aww!!
<zotherstupidguy> its a super philosphy that we all do mistakes, so i dont get the illusion that i am smart or anybody else is diff :)
SOLDIERz has quit [Quit: Be back later ...]
<zotherstupidguy> it makes learning more fun
User458764 has joined #ruby
SOLDIERz has joined #ruby
zotherstupidguy has quit [Quit: leaving]
zacstewa_ has quit [Ping timeout: 255 seconds]
zotherstupidguy has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
sinkensa_ has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
SOLDIERz has quit [Ping timeout: 264 seconds]
MissionCritical has joined #ruby
<shevy> I don't do mistakes
<otisZart> thats a strong sentence mate
commmmodo has quit [Quit: commmmodo]
<shevy> only if you are too weak to handle it!
<toretore> it's "i don't make mistakes" you dumbass
<toretore> ;)
<workmad3> toretore: I, not i, dumbass ;)
tkuchiki_ has quit [Ping timeout: 256 seconds]
<toretore> i do much mistakes
<otisZart> shevy we all have flaws. For example I ended up using java a lot, but I seriously cannot stop doing int c=0; and inside the iteration see all the glory and joy of doing c++;
<otisZart> thats just my fetish
<shevy> otisZart you should pick better languages :)
<workmad3> otisZart: you should also learn to recognise jokes on IRC ;)
joonty has quit [Quit: joonty]
sinkensa_ has quit [Read error: Connection reset by peer]
gr33n7007h has quit [Ping timeout: 246 seconds]
<otisZart> workmad3 I'm not sure you read well :p
sinkensabe has joined #ruby
<shevy> I don't understand TIOBE
<zotherstupidguy> thank you all for making my point :)
<shevy> how can ruby drop 8 ranks in a year
antgel has quit [Ping timeout: 250 seconds]
<otisZart> shevy confirmed for flaws. Also the sentence 'Shevy: I don't do mistakes' contains 3 S, half life 3 confirmed
<shevy> hey
<toretore> what
<shevy> my nick is downcased
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
* workmad3 sighes
<zotherstupidguy> whats the 1st ranked ?
<shevy> :-)
<otisZart> shevy or is it just an illusion? our perception depends on others
<shevy> zotherstupidguy C
<shevy> ruby is written mostly in C, the linux kernel is... most of the *nix core tools are too...
<zotherstupidguy> Stuxnet happend :)
joonty has joined #ruby
antgel has joined #ruby
<shevy> the only odd ones are the KDE folks
gr33n7007h has joined #ruby
<otisZart> wtf mate, ruby is just the slowest language out there
<zotherstupidguy> what about BSD?
* otisZart lynch incoming.. just kidding
<shevy> otisZart naaah really it's comparable to perl python and php
<shevy> zotherstupidguy BSD is a unix derivative so also heavy C
<otisZart> I agree with you shevy to be honest
<zotherstupidguy> i thinkn ruby is a good balance, i tried perl and python
gr33n7007h has quit [Client Quit]
<shevy> perl5 is still faster for some tasks if I remember correctly
_Andres has joined #ruby
<zotherstupidguy> python 3 and perl 5 two diff communities
gr33n7007h has joined #ruby
<shevy> even python 2 and python 3 :D
<toretore> what about parrot
<otisZart> 'Objective c days seems to be over' well .. finally.
<shevy> dunno... perl 6 will be there at the end of 2015 then we can judge!
<otisZart> I hated so much it, could not wait to jump on swift
nettoweb has quit [Ping timeout: 244 seconds]
<zotherstupidguy> atleast in ruby, matz pushes use to make the ugrade "now now now"
postmodern has quit [Quit: Leaving]
<shevy> it would be a real embarassment if perl 6 would be slower than perl 5 though
<shevy> 15 years of evolution
* workmad3 wishes people would stop using TIOBE as a rating of popularity
tunaCanBruh has joined #ruby
<workmad3> it even states it right there on the page that TIOBE isn't about the 'best language'... "It is important to note that the TIOBE index is not about the best programming language or the language in which most lines of code have been written"
<shevy> you need to accept the TIOBE standard workmad3
TheRinger has joined #ruby
<shevy> don't fight it, accept and embrace it like a brother :)
<otisZart> so what should I take 'tiobe' for?
<shevy> well
<shevy> that's the beauty of it
<workmad3> shevy: it's purely a search-engine ranking for results about programming languages
<shevy> you can interprete everything into that dataset
<shevy> workmad3 so nobody is interested in ruby nowadays :(
davejacobs has joined #ruby
<otisZart> mmm .. at first i wanted to jump on ruby/rails but I am still reading and I am not completely convinced guys, what are your points?
<workmad3> shevy: no, it just means that there's more SO entries about C, or more people out there asking for help, or anything else that the search engines surface to get results about a query like 'Ruby Programming Language"
<shevy> otisZart well, a lot of the peak of ruby activity (2004-2008 or so) was related to rails
lxsameer has joined #ruby
lxsameer has joined #ruby
<zotherstupidguy> otisZart, try ruby and sinatra first :)
<zotherstupidguy> the point is it is easy
<shevy> here are some google charts: http://goo.gl/JY3noq
phale has joined #ruby
<phale> hello, i'm reading a binary file
<phale> how do i find a sequence of characters in a binary file?
lxsameer has quit [Read error: Connection reset by peer]
<shevy> ruby does better than perl on the google charts actually; but you can see the trend from 2005 to 2008, and nowadays
<zotherstupidguy> phale join #regex
<phale> i.e {53, 55, 6E, 65}
<shevy> the php vs. python is interesting
<phale> no, this is a file
<phale> there's no need for regex
<otisZart> zotherstupidguy Im not actually looking for the 'easy way' . I love strong challenges, and I want to choose the best only :-)
tunaCanBruh has quit [Ping timeout: 255 seconds]
<zotherstupidguy> otizart then read about Rack and make your very own web microframework
<workmad3> shevy: yeah, tiobe averages over about 25 different search engines though
<otisZart> what about a serious comparison in backend-web-environment between java-ruby-c/c++?
<workmad3> shevy: but it's still purely doing a search-results based ranking
lxsameer has joined #ruby
nerder has joined #ruby
lxsameer has quit [Read error: Connection reset by peer]
ldnunes has joined #ruby
bruno- has joined #ruby
<phale> so
<phale> what do i do'
doodlehaus has joined #ruby
davejacobs has quit [Ping timeout: 255 seconds]
lxsameer has joined #ruby
fabrice31 has quit [Remote host closed the connection]
lxsameer has quit [Read error: Connection reset by peer]
<arup_r_> zotherstupidguy: ok.. :)
<phale> ..hello
toretore has quit [Read error: Connection reset by peer]
<shevy> phale a regex does not work? you can always try to manually .seek and find IO positions
<phale> it's a file
<phale> ;(
lxsameer has joined #ruby
toretore has joined #ruby
<shevy> and this means?
<phale> a binary file
lxsameer has quit [Read error: Connection reset by peer]
<shevy> yes that is fine
<phale> how would I even use regex to find a sequence of characters in a binary file
<otisZart> zotherstupidguy whats the point ? showing some usable microframeworks nowadays for ruby?
<phale> ruby has grep?
jottr_ has joined #ruby
nettoweb has joined #ruby
lxsameer has joined #ruby
lxsameer has quit [Read error: Connection reset by peer]
<shevy> >> io = StringIO.new "\x0d\x0e\x00\x40"; io.grep /\x00/
<eval-in> shevy => uninitialized constant StringIO (NameError) ... (https://eval.in/294985)
<otisZart> ahaha dem title
<shevy> >> require 'stringio'; io = StringIO.new "\x0d\x0e\x00\x40"; io.grep /\x00/
<eval-in> shevy => ["\r\u000E\u0000@"] (https://eval.in/294986)
<phale> oh cool
<phale> thanks
<shevy> hmmm
<phale> also
<phale> whats the most efficient way to read a binary file
<zotherstupidguy> otisZart you said you wanted a challange, i thought if you read the code of the microframeworks, which should be fun and short, you can get a flavor of ruby and how things are done in a timely manner
lxsameer has joined #ruby
<workmad3> shevy: oh, and just found in the TIOBE pages that the search they use is '+"<language> programming"' across the various search engines
lxsameer has quit [Read error: Connection reset by peer]
<otisZart> zotherstupidguy ok thanks, I am still reading
bruno- has quit [Ping timeout: 264 seconds]
piotrj has quit [Remote host closed the connection]
lxsameer has joined #ruby
lxsameer has quit [Read error: Connection reset by peer]
<phale> hm
<phale> should i read a binary file line by line
<phale> or read it all in a string
<canton7> binary files don't have lines
<phale> heh
<phale> \n
<canton7> \n is meaningless in a binary file, still
<phale> alright
<zotherstupidguy> good point
sinkensa_ has joined #ruby
<phale> so how do i read in an entire binary file
<canton7> read it all at once, or chunk by chunk (where the chunk has a fixed length)
<phale> in a string
sinkensabe has quit [Read error: Connection reset by peer]
lxsameer has joined #ruby
jottr_ has quit [Ping timeout: 246 seconds]
<canton7> you don't want it in a string, most likely. things like encoding and nulls can really screw you up
<phale> so where do i want it in
<arup_r_> what's the definition of a ninja programmer ?
<canton7> not every random byte sequence is a valid string. most aren't
<canton7> you want it as an array of bytes, probably
<phale> alright
terlar has quit [Ping timeout: 272 seconds]
<phale> but what do I use to read it in?
<workmad3> canton7: well, a string with encoding BINARY allows for any arbitrary byte sequence as a valid string
<canton7> true
<phale> File.open(file, "rb") do |s|
<workmad3> at least in ruby... nulls can screw you up in C where they're used as string terminators :)
<zotherstupidguy> arup_r_ its somthing like "lust of the dead" triology and "zombie ass: tiolet of the dead"
<phale> something like that?
hiyosi has joined #ruby
lxsameer has quit [Read error: Connection reset by peer]
Tinfoilhat_ has quit [Read error: Connection reset by peer]
<arup_r_> :)
segmond has quit [Ping timeout: 244 seconds]
<phale> man im so confused
<shevy> zotherstupidguy lol zombie ass?
<phale> all i wanted to do was read in a .wdb file
<phale> and parse it
<shevy> phale what's wrong with File.open
<zotherstupidguy> shevy no idea yet, i am downloading it
<phale> no
<phale> nothing
<phale> he's just says that i cant use a string
<phale> so im not sure
lxsameer has joined #ruby
sinkensabe has joined #ruby
<workmad3> phale: you need to be *careful* using a string, because in ruby strings aren't just arbitrary byte buffers
<shevy> all my .rb files have on the second line "Encoding: ASCII-8BIT", it made things so much easier :)
sinkensa_ has quit [Read error: Connection reset by peer]
<phale> workmad3: okay
<nerder> guys, noob question. Symbols are not object? i mean, setting up an hash with int as key is faster than symbols as key? i get a bit confused of the symbols purpose
doodlehaus has quit [Remote host closed the connection]
<workmad3> phale: which means you need to be sure that you're treating the string as arbitrary bytes... there can also be other issues like endian-ness that you need to take account of with binary data, which is where something like String#unpack comes into play
<tobiasvl> nerder: both ints and symbols are objects
<phale> yeah i've heard of unpack
<phale> sounds fun
<phale> alright i have read it into a string
<phale> how do i check if it includes the sequence of characters i was discussing earlier
<workmad3> phale: did it read in with binary encoding?
<phale> not sure
<phale> all i did was
rdark has quit [Read error: Connection reset by peer]
<phale> s = file.read
<workmad3> phale: call 's.encoding' to check
<phale> sec, im putting this all in a class
shazaum has joined #ruby
sinkensa_ has joined #ruby
rdark has joined #ruby
diegoviola has quit [Remote host closed the connection]
sinkensabe has quit [Read error: Connection reset by peer]
<workmad3> phale: should be BINARY or ASCII-8BIT
robustus|Off is now known as robustus
<shevy> arup_r_ nah, my cat is a darker tiger. most neighbor cats are black ones, and one white cat
<arup_r_> ok
<workmad3> phale: your next step is to pull the binary data apart into its constituents, so that you can interpret it
<shevy> phale I think you may have to specify the type in File.read too
<phale> says
<phale> ascii-8bit
<nerder> tobiasvl: i see, but why :symbols are usefull then?
lxsameer has quit [Read error: Connection reset by peer]
<workmad3> phale: which will involve looking at the file specification and unpacking it appropriately
<shevy> s = File.open('/tmp/test.jpg', 'rb') { |io| io.read }; s.encoding => #<Encoding:ASCII-8BIT>
<shevy> s = File.open('/tmp/test.jpg', 'r') { |io| io.read }; s.encoding => #<Encoding:UTF-8>
<phale> yeah thats what I did
<shevy> \o/
<phale> so
<phale> is ASCII-8BIT good
<shevy> nerder symbols are always the same, always same object_id
<workmad3> shevy: yeah, I had a suspicion that 'rb' as the flags would set the encoding to ASCII-8BIT, but I wasn't sure :)
sigurding has quit [Quit: sigurding]
lxsameer has joined #ruby
lxsameer has quit [Read error: Connection reset by peer]
<workmad3> phale: yes, BINARY is an alias for ASCII-8BIT when setting encodings in ruby
<phale> okay
<shevy> nerder I guess since 2.2.0 symbols are better than strings for when you need to store stuff into a hash and cant decide whether to use a symbol or a string
<workmad3> phale: so the next step is what I just mentioned... figuring out the file layout and pulling it apart into usable data in ruby
<phale> okay
<phale> the sequence of characters
<phale> as seen in my hex editor
parduse has quit [Ping timeout: 272 seconds]
<phale> will identify it as a valid .wdb file
lxsameer has joined #ruby
<workmad3> phale: is that a magic number byte marker at the start of the file?
<phale> not at the start
lxsameer has quit [Read error: Connection reset by peer]
<phale> however
<phale> it starts at 8 bytes after the beginning
<phale> (counting from 0)
fabrice31 has joined #ruby
piotrj has joined #ruby
<phale> hm
<workmad3> phale: oh gods... just looked up what wdb is to see if there was a nice specification... is it really an MS Works DB file? :/
<phale> sadly yes
<phale> it's used by a game im playing
<phale> i wanted to implement a protocol conforming to it since it's very obscure
Zai00 has joined #ruby
lxsameer has joined #ruby
DaniG2k has joined #ruby
<gr33n7007h> phale: File.read_binary(binary_file).unpack("C*").map(&:chr)
lxsameer has quit [Read error: Connection reset by peer]
<phale> whats that?
<workmad3> phale: what exactly are you trying to achieve? just a reader? or are you wanting to modify it?
<phale> a parser
<phale> i will want to modify it later
adriancb has joined #ruby
segmond has joined #ruby
agent_white has quit [Quit: goodnight folks]
kaiZen- has joined #ruby
<workmad3> phale: eep
dANO_ has quit []
lxsameer has joined #ruby
lxsameer has quit [Read error: Connection reset by peer]
jenrzzz has quit [Ping timeout: 244 seconds]
gfawcettpq has joined #ruby
juanpablo_ has joined #ruby
adriancb has quit [Ping timeout: 250 seconds]
lxsameer has joined #ruby
lxsameer has quit [Read error: Connection reset by peer]
<phale> hm
<phale> how do i iterate over an array
<phale> starting from 8
<phale> ending at 10 i.e
<shevy> nah man
<shevy> array[8..-1].each
<workmad3> phale: from what I can see, MS have never published the specification for wdb... which means you'll need to reverse-engineer it
<phale> ty
<phale> workmad3: don't worry
<shevy> or just specify start,end
<phale> i got that all covered
<workmad3> phale: good luck then :P
<phale> thanks
joonty has quit [Quit: joonty]
kalusn has joined #ruby
sigurding has joined #ruby
Grantlyk has quit [Remote host closed the connection]
_honning_ has joined #ruby
juanpablo_ has quit [Ping timeout: 250 seconds]
zacstewart has joined #ruby
joonty has joined #ruby
MissionCritical has quit [Ping timeout: 252 seconds]
_honning_ has quit [Remote host closed the connection]
hmnhf has quit [Quit: Konversation terminated!]
huddy has joined #ruby
<phale> is there something like strchr
<phale> in ruby
hmnhf has joined #ruby
haroldwu has quit [Ping timeout: 240 seconds]
kobain has joined #ruby
thiagovsk has joined #ruby
woodyb23_ has joined #ruby
red_horned_rihno has quit [Ping timeout: 245 seconds]
blizzy has quit [Ping timeout: 250 seconds]
<shevy> what is strchr doing?
<phale> like
sinkensa_ has quit [Read error: Connection reset by peer]
<phale> strchr("SUne", c);
<phale> where c is the character
<phale> it returns 1 if the character is inside "SUne"
mr_blue has joined #ruby
<phale> returns 0 if it isn't
sinkensabe has joined #ruby
<shevy> ah
<shevy> .include?
<phale> yeah but
<phale> im iterating over an array
selu has joined #ruby
thumpba has joined #ruby
<mr_blue> hi all
woodyb23_ has quit [Remote host closed the connection]
<phale> look at the code I posted
mr_blue has left #ruby [#ruby]
<phale> isvalid?
<shevy> your code is weird :)
<phale> why?
<shevy> I'd use case/when menu
RegulationD has joined #ruby
<shevy> case con.chr
<shevy> when 'S','U','n','e'
DaniG2k has quit [Ping timeout: 264 seconds]
<shevy> you also probably can avoid using .each
<toretore> phale: explain what it is you want to do instead
<phale> okay
<phale> i need to find this specific sequence of characters that start at 8 bytes and end at 11 bytes
<shevy> we have .select .reject .map
<phale> SUne
<toretore> str[8,4] == 'SUne'
<phale> well now i feel dumb
kalusn has quit [Remote host closed the connection]
<phale> thanks
quazimodo has joined #ruby
<phale> nah that wont work
<phale> returns false
DaniG2k has joined #ruby
<shevy> what does str[8,4] output?
<phale> sec
<shevy> array start at 0 btw so perhaps you may have to pass [7
thumpba has quit [Ping timeout: 244 seconds]
<waxjar> strings are zero-indexed, 7 would return the 8th byte
<waxjar> or character i suppose
<phale> ah
mkaesz has joined #ruby
shazaum has quit [Quit: This computer has gone to sleep]
<phale> i should of mentioned
<phale> it's not a string
<phale> it's an array
MissionCritical has joined #ruby
RegulationD has quit [Ping timeout: 255 seconds]
<shevy> btw you can put "itemcache.wdb" into: def initialize(file = "itemcache.wdb"), then you can use that as default and omit it lateron when you call .new
<phale> yeah but
<toretore> ary[8,4] == ['S', 'U', 'n', 'e']
<phale> this is going to be a gem
<phale> in the future
shredding has quit [Ping timeout: 264 seconds]
<phale> im still a ruby beginner so
<phale> yeah
<phale> toretore: i'll try this
<shevy> :)
MissionCritical has quit [Max SendQ exceeded]
<toretore> i wouldn't use this gem
<phale> lol
<phale> i found out that the best book for ruby is
<phale> "The Ruby Programming Language"
<shevy> phale toretore wrote one famous gem
<shevy> I forgot the name though
<phale> since it's written by the creator of ruby
<phale> he knows how ruby works
<shevy> I liked the pickaxe more
<phale> so should be good
<phale> how do I convert
<shevy> but only the second edition when I did not know ruby
OrbitalKitten has joined #ruby
<waxjar> they're the same i believe, shevy :P
<phale> ['S', 'U', 'n', 'e']
<shevy> convert what
<phale> into .ord
<phale> ascii equivalent
<shevy> you could apply .ord
<shevy> I mean .map
<toretore> stop
<phale> hm
<toretore> writing
<toretore> so many
<toretore> lines
<shevy> >> ['S', 'U', 'n', 'e'].map {|entry| entry.ord }
<eval-in> shevy => [83, 85, 110, 101] (https://eval.in/294989)
<shevy> waxjar probably why I didn't like the last one haha
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<shevy> since I knew most of the stuff already!
<phale> thanks ;)
<waxjar> no, i meant the pickaxe and the ruby programming language :)
<toretore> if you want to test an array for a sequence of integers, then test for a sequence of integers, not strings
<phale> they're not integers
<phale> they're unsigned chars which are integers
<toretore> no, you've unpacked it into an array of ints
<phale> yes
nerder has quit [Ping timeout: 246 seconds]
<shevy> waxjar aha hmm
<waxjar> if you set your encodings right, you can just work with strings and be happy when you read back your code \o/
red_horned_rihno has joined #ruby
<shevy> phale ruby is simpler than C!
<shevy> unsigned characters... what is that :D
<phale> ruby has much more methods, it's also updated a lot
<phale> well C doesn't have methods, it has functions
<phale> so it's harder
<shevy> yeah but actually
<shevy> there is a core set of methods which are used a lot
<shevy> and then there are like 95% of the other methods which aren't used a lot
<arup_r_> using Win32ole lib how to write this line in Ruby ? Set objwmi=getobject("winmgmts:\\.\root\cimv2")
<phale> i should unpack it into hex
<phale> should be easier
<shevy> the core of ruby is: Array, Hash, String... and the Enumerable/Enumerator ones (.map .select .each .reject .include? and so on)
JDiPierro has joined #ruby
<phale> arup_r_: puts "objwmi=getobject(\"winmgmts:\\.\\root\\cimv2")"
<phale> forgot a backslash at the end
<phale> should be something like that
<shevy> arup_r_ can't you use a system() call there?
<phale> shevy: he wanted to know how to write the line in ruby
fabrice31 has quit [Remote host closed the connection]
<arup_r_> I want to get a Ruby wrapper object of that
terlar has joined #ruby
<shevy> normally you have WIN32OLE.new()
<arup_r_> I'll write similar code like http://knowledgeinbox.com/forums/uft-qtp-bpt-st/how-to-get-the-value-of-'process-id'/msg2711/?PHPSESSID=ic462ndn21q3b9thsjlj59tnd6#msg2711
<shevy> oh I have one example ... wmi = WIN32OLE.connect("winmgmts://"
JDiPierro has quit [Remote host closed the connection]
<shevy> is that visual basic?
<shevy> that is so ugly... "End If"
<arup_r_> Windows *
<arup_r_> 8
<shevy> did you try WIN32OLE.connect() yet?
MissionCritical has joined #ruby
<arup_r_> no
<shevy> I am not on windows so I can't test :(
segmond has quit [Ping timeout: 256 seconds]
MissionCritical has quit [Max SendQ exceeded]
<phale> shevy
<phale> i tried unpacking H*
<phale> i did not get hex
mostlybadfly has joined #ruby
<phale> I can't get hex values such as
<phale> '6E'
<gr33n7007h> phale: which is hex
<phale> yeah
My_Hearing has joined #ruby
My_Hearing has joined #ruby
<workmad3> phale: the question is, what *did* you get?
<phale> apparently blanks
doodlehaus has joined #ruby
tvw has joined #ruby
Mon_Ouie has quit [Ping timeout: 246 seconds]
ndrei has quit [Ping timeout: 264 seconds]
<shevy> lol
<phale> i fixed it
<phale> turns out that i had an uppercase E character
ptrrr has joined #ruby
allcentury has joined #ruby
<phale> in C this would of taken 85 lines
<phale> you're right this is easier
zotherstupidguy has quit [Ping timeout: 245 seconds]
MissionCritical has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
SOLDIERz has joined #ruby
phale has quit [Quit: leaving]
sinkensabe has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
robustus is now known as robustus|Off
ptrrr has quit [Ping timeout: 246 seconds]
piotrj has quit [Remote host closed the connection]
piotrj has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
segmond has joined #ruby
banister has joined #ruby
banister has quit [Max SendQ exceeded]
bMalum has quit [Quit: bMalum]
sinkensa_ has joined #ruby
sinkensabe has quit [Read error: Connection reset by peer]
oo_ has quit [Remote host closed the connection]
MissionCritical has joined #ruby
<otisZart> damn I wish I was a ninja
Takle_ has quit [Remote host closed the connection]
jonr22 has joined #ruby
tkuchiki has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
kalusn has joined #ruby
doodlehaus has quit [Remote host closed the connection]
anaeem1_ has quit [Remote host closed the connection]
kalusn has quit [Remote host closed the connection]
Qladstone has joined #ruby
danjordan has quit [Quit: danjordan]
kalusn has joined #ruby
JDiPierro has joined #ruby
jonr22 has quit [Ping timeout: 256 seconds]
jefus has joined #ruby
<shevy> then I will be a samurai
strixd has quit [Quit: 500]
<shevy> and we fill fight a duel to death
vt102 has joined #ruby
zcreative has joined #ruby
hmnhf has quit [Quit: Konversation terminated!]
phutchins has joined #ruby
<workmad3> shevy: ninjas don't do duels... they just kill you
<shevy> hehe
<shevy> damn bastards
JDiPierro has quit [Remote host closed the connection]
hmnhf has joined #ruby
Qladstone has quit [Remote host closed the connection]
MissionCritical has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
jcromartie has joined #ruby
lanemeyer has quit [Ping timeout: 256 seconds]
_Andres has quit [Quit: My Mac Pro has gone to sleep. ZZZzzz…]
bruno- has joined #ruby
strixd has joined #ruby
kirun has joined #ruby
shum has joined #ruby
tus has joined #ruby
paradoja has joined #ruby
<sonOfRa> If I want a literal "#{foo}" in a double quoted string, do I just escape the #, or also the braces?
<sonOfRa> The string also has ACTUAL extrapolation, so I can't use a single quoted string
<sonOfRa> interpolation
antgel has quit [Ping timeout: 250 seconds]
<tobiasvl> >> puts "\#{foo}"
<eval-in> tobiasvl => #{foo} ... (https://eval.in/294992)
sevenseacat has joined #ruby
<tobiasvl> sonOfRa: so yes, just escape the #
bruno- has quit [Ping timeout: 252 seconds]
* jhass just hopes this isn't fed into eval later on
<sonOfRa> I could have just tried that. *sigh*
<sonOfRa> Thanks
<sonOfRa> jhass: don't even ask :)
jottr_ has joined #ruby
fabrice31 has joined #ruby
bruno- has joined #ruby
<jhass> but maybe I know a better solution! :P
<sonOfRa> jhass: but no, I won't actually do that, it's just something i wanted to try out for a non-production thing
sigurding has quit [Quit: sigurding]
<sonOfRa> I'm writing an LDAP management tool, and adding a massedit function, with interpolation of existing attributes. Say: Edit all users, set the "mail" field to "yadayada#{current_uid}@example.com"
paulfm has joined #ruby
<jhass> yeah, guessed something like that
<sonOfRa> I'm not actually going to pass that into eval for obvious reasons, but it's the first draft for a solution that "works" fsvo works
<jhass> the better option are named format strings
Macaveli has quit [Quit: Textual IRC Client: www.textualapp.com]
<jhass> >> "%{foo}s" % {foo: "bar"}
<eval-in> jhass => "bars" (https://eval.in/294993)
sinkensa_ has quit [Read error: Connection reset by peer]
sinkensabe has joined #ruby
vt102 has quit [Ping timeout: 250 seconds]
selu has quit [Ping timeout: 272 seconds]
bruno- has quit [Ping timeout: 240 seconds]
<sonOfRa> The first plan I had was something like passing the textual positions of the interpolations, and then replacing them back to front. But that's icky, too. %{} looks more feasible, thanks
AlecTaylor has joined #ruby
<AlecTaylor> hi
iamjarvo has joined #ruby
danjordan has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
<AlecTaylor> How do I do `and` in a case/switch? - I know I can do `or` with `,`
bruno- has joined #ruby
iamjarvo has joined #ruby
<jhass> you basically don't afaik
<jhass> got an example of what you want to achieve
<jhass> ?
<shevy> AlecTaylor case/when in ruby is really kind of simple, if you need more complicated checks you may have to use if/else, or methods
<AlecTaylor> shevy: I can use a lambda
<shevy> hehe
JohnBat26 has joined #ruby
SolarSailor has quit [Quit: My Turing machine has gone to sleep. ZZZzzz…]
<AlecTaylor> ;)
antgel has joined #ruby
Macaveli has joined #ruby
aclearman037 has joined #ruby
brb3 has joined #ruby
a5i has joined #ruby
tunaCanBruh has joined #ruby
Morkel has quit [Quit: Morkel]
shum has quit [Quit: WeeChat 1.1.1]
MissionCritical has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
Takle has joined #ruby
<shevy> a new line
<shevy> would you write newline or new_line
Grantlyk has joined #ruby
<cHarNe2> newline
<shevy> I just looked at old code and noticed a variable called: add_new_line
<shevy> it tripped me up
<shevy> cHarNe2 ok
nettoweb has joined #ruby
maiuqoh has joined #ruby
<maiuqoh> <TheRinger> !join #ruby
<maiuqoh> hmmm
davidroy has joined #ruby
<cHarNe2> does it add a new line or a newline? :P
shum has joined #ruby
<shevy> cHarNe2 yeah
<shevy> it's like: some_string_here << "\n" if add_newline
<cHarNe2> newline then
<jhass> add_newline?
<cHarNe2> yes
<jhass> not a question :P
User458764 has joined #ruby
shazaum has joined #ruby
tunaCanBruh has quit [Ping timeout: 256 seconds]
<maiuqoh> <TheRinger> Whats up?
<jhass> maiuqoh: please don't add bots without asking an OP first ;)
n008f4g_ has joined #ruby
<jhass> use something like ##theringer if you need a test channel
kp666 has quit [Read error: Connection reset by peer]
plashchynski has joined #ruby
<TheRinger> mybad
dANO__ has joined #ruby
maiuqoh has left #ruby [#ruby]
zacstewart has quit [Remote host closed the connection]
_1_bert has joined #ruby
allcentury has quit [Ping timeout: 245 seconds]
_1_bert has quit [Remote host closed the connection]
MissionCritical has joined #ruby
zacstewart has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
giuseppesolinas has joined #ruby
robbyoconnor has joined #ruby
krz has quit [Quit: WeeChat 1.0.1]
oo_ has joined #ruby
terlar has quit [Quit: WeeChat 1.1.1]
terlar has joined #ruby
<shevy> anyone of you has used ruby with tar archives?
charliesome has quit [Quit: zzz]
<shevy> I have a backup of several files and directories. I have one script that logs stuff into a directory
<arup_r_> I do with Zip
<arup_r_> shevy: ^
<shevy> that directory no longer exists because I put it all into an archive
nfk has quit [Quit: yawn]
<arup_r_> ok
<shevy> so now I wonder what to do
senayar has joined #ruby
shaman42 has quit [Ping timeout: 240 seconds]
Spleeze has joined #ruby
<shevy> I could start the script, extract the archive, allow that script to log stuff, then rebuild an archive again
millerti has joined #ruby
<shevy> but that kinda seems crazy
<shevy> arup_r_ do you know whether you can kind of add new stuff to a .zip there?
<shevy> it essentially is only one file in the archive that needs to be updated (the log file)
toretore has quit [Ping timeout: 245 seconds]
nfk has joined #ruby
codecop has joined #ruby
Takle has quit [Remote host closed the connection]
byprdct has joined #ruby
joonty has quit [Quit: joonty]
teoric has joined #ruby
blizzy has joined #ruby
haroldwu has joined #ruby
keksike has quit [Ping timeout: 256 seconds]
MissionCritical has joined #ruby
<jhass> shevy: uhm, isn't the point of backups to not modify them?
<shevy> jhass well
Feyn has quit [Quit: Leaving]
<shevy> I need to modify a log!
<jhass> not in a backup though...
<shevy> I could possibly use another directory
<jhass> mmh
<jhass> I do wonder if there's a fuse filesystem for tarballs already though
silkfox has joined #ruby
<AlecTaylor> shevy: RRD files are good
keksike has joined #ruby
sgambino has joined #ruby
shaman42 has joined #ruby
<AlecTaylor> Not great, but work for most purposes (especially not at scale)
MissionCritical has quit [Max SendQ exceeded]
AlecTaylor has quit [Quit: Leaving]
DaniG2k has quit [Ping timeout: 272 seconds]
zacstewart has quit [Remote host closed the connection]
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
charliesome has joined #ruby
Hirzu has joined #ruby
DaniG2k has joined #ruby
fabrice31 has quit [Remote host closed the connection]
ndrei has joined #ruby
fabrice31 has joined #ruby
shaman42 has quit [Ping timeout: 240 seconds]
<arup_r_> Yes we do
<arup_r_> Once I'll reach home.. I'll give you a code... to show that.. shevy:
<arup_r_> I am in office now
<arup_r_> it will not take more than 40 mins or so to reach home
<arup_r_> shevy: ^
livingstn has joined #ruby
fabrice31_ has joined #ruby
teoric has quit [Quit: WeeChat 1.2-dev]
arup_r_ has quit []
segmond has quit [Ping timeout: 250 seconds]
fabrice31_ has quit [Remote host closed the connection]
hmnhf has quit [Read error: Connection reset by peer]
juanpablo_ has joined #ruby
hmnhf has joined #ruby
shazaum_ has joined #ruby
fabrice31_ has joined #ruby
SOLDIERz has quit [Quit: Be back later ...]
shazaum has quit [Ping timeout: 250 seconds]
MissionCritical has joined #ruby
shazaum_ is now known as Shazaum
Shazaum has joined #ruby
Shazaum has quit [Changing host]
SOLDIERz has joined #ruby
roshanavand has quit [Remote host closed the connection]
MissionCritical has quit [Max SendQ exceeded]
decoponio has joined #ruby
fabrice31 has quit [Ping timeout: 264 seconds]
anaeem1 has joined #ruby
jamo_ has quit [Ping timeout: 250 seconds]
charliesome has quit [Quit: zzz]
jolg42 has joined #ruby
yfeldblu_ has quit [Ping timeout: 250 seconds]
jamo_ has joined #ruby
teoric has joined #ruby
juanpablo_ has quit [Ping timeout: 264 seconds]
anaeem1 has quit [Remote host closed the connection]
tuelz has joined #ruby
nfk has quit [Quit: yawn]
zcreative has quit [Ping timeout: 256 seconds]
teoric has quit [Client Quit]
anaeem1 has joined #ruby
sigurding has joined #ruby
millerti has joined #ruby
teoric has joined #ruby
teoric has quit [Client Quit]
teoric has joined #ruby
allcentury has joined #ruby
MissionCritical has joined #ruby
nfk has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
hgl has quit [Ping timeout: 256 seconds]
ponga has joined #ruby
segmond has joined #ruby
kaiZen- has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
hiyosi has quit [Quit: Textual IRC Client: www.textualapp.com]
catmanbun has joined #ruby
haroldwu has quit [Changing host]
haroldwu has joined #ruby
hgl has joined #ruby
Crisix has joined #ruby
tesuji has quit [Read error: Connection reset by peer]
kaiZen- has joined #ruby
aclearman037 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
havenwood has joined #ruby
thumpba has joined #ruby
sushant94_ has joined #ruby
sushant94_ is now known as sushant94
<avril14th> what's ruby "horizontal space" in ruby regex?
sankaber has joined #ruby
w0rldmaker has joined #ruby
<avril14th> \s matches both spaces and new lines
RegulationD has joined #ruby
JDiPierro has joined #ruby
segmond has quit [Ping timeout: 256 seconds]
Azure has quit [Ping timeout: 272 seconds]
aphprentice has joined #ruby
lanemeyer has joined #ruby
<havenwood> avril14th: Space or tab: /[[:blank:]]/
anaeem1 has quit [Remote host closed the connection]
davidroy has quit [Quit: davidroy]
JDiPierro has quit [Remote host closed the connection]
anaeem1 has joined #ruby
QualityAddict has quit []
<avril14th> havenwood: hmm, still matches new lines
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<havenwood> >> "\n" =~ /[[:blank:]]/
<eval-in> havenwood => nil (https://eval.in/295019)
thumpba has quit [Ping timeout: 252 seconds]
<havenwood> >> "\n" =~ /\p{Blank}/
<eval-in> havenwood => nil (https://eval.in/295020)
<havenwood> >> "\s\t\r\n\s".scan /[[:blank:]]/
<eval-in> havenwood => [" ", "\t", " "] (https://eval.in/295022)
<havenwood> avril14th: ^
bmn has quit [Ping timeout: 264 seconds]
jerius has joined #ruby
<havenwood> avril14th: It doesn't match newlines.
aclearman037 has joined #ruby
RegulationD has quit [Ping timeout: 250 seconds]
rushed has joined #ruby
aphprentice has quit [Ping timeout: 246 seconds]
<havenwood> avril14th: Check the docs: http://ruby-doc.org/core/Regexp.html
<avril14th> havenwoodve
<avril14th> thx havenwood
<havenwood> avril14th: np
JDiPierro has joined #ruby
anaeem1 has quit [Ping timeout: 255 seconds]
spacemud has quit [Ping timeout: 256 seconds]
odigity has quit [Ping timeout: 250 seconds]
SOLDIERz has quit [Quit: Be back later ...]
SOLDIERz has joined #ruby
jottr_ has quit [Ping timeout: 256 seconds]
gheegh has quit [Quit: Textual IRC Client: www.textualapp.com]
quazimodo has quit [Ping timeout: 264 seconds]
davidroy has joined #ruby
spacemud has joined #ruby
davidroy has quit [Client Quit]
enebo has joined #ruby
DaniG2k has quit [Ping timeout: 256 seconds]
<flughafen> is it bad practice to do (if string1 == string2)
w0rldmaker has quit [Ping timeout: 244 seconds]
SOLDIERz has quit [Ping timeout: 246 seconds]
shaman42 has joined #ruby
segmond has joined #ruby
dblessing has joined #ruby
<gregf__> >> %w{foo foobar barfoo quux}.map { |str| str == "foo" }
<eval-in> gregf__ => [true, false, false, false] (https://eval.in/295034)
MissionCritical has joined #ruby
<gregf__> seems alright to me flughafen^^
tunaCanBruh has joined #ruby
danjordan has quit [Quit: danjordan]
MissionCritical has quit [Max SendQ exceeded]
ych4k3r has joined #ruby
Pisuke has joined #ruby
pandaant has quit [Quit: Lost terminal]
ptrrr has joined #ruby
zenith_ has joined #ruby
pandaant has joined #ruby
bim has joined #ruby
marr has quit [Ping timeout: 265 seconds]
slawrence00 has joined #ruby
MyMind has quit [Ping timeout: 264 seconds]
<avril14th> flughafen: it's perfecty alright, why do you think it may not?
danjordan has joined #ruby
SOLDIERz has joined #ruby
<flughafen> avril14th: my logic must be messed up, because it's not doing what i want, haha. but it works better if i do "string.include? string2"
chinmay_dd has joined #ruby
<avril14th> == means both string are exactly equal
sevenseacat has quit [Remote host closed the connection]
zenith_ has quit [Read error: Connection reset by peer]
Takle has joined #ruby
<avril14th> includes? responds true if second is included in first but not the other way around
keksike has left #ruby [#ruby]
d10n-work has joined #ruby
zenith_ has joined #ruby
<flughafen> avril14th: this is a very small script just to help with something, so there is no way it'd be weird.
segmond has quit [Ping timeout: 255 seconds]
dmolina has left #ruby [#ruby]
tunaCanBruh has quit [Ping timeout: 240 seconds]
juanpablo_ has joined #ruby
<workmad3> avril14th: well, if the strings are equal then 's1.include?(s2) && s2.include?(s1)' but yeah, typically s1 will be something like "foobarfuntimes" and s2 will be "bar"
sanguisdex has quit [Quit: Leaving.]
<avril14th> these statements are not contradictory :)
<gregf__> flughafen: it would prolly matter if those were objects(well strings are objects as well, but other type of objects)
<gregf__> something like:
odigity has joined #ruby
sambao21 has joined #ruby
bmn has joined #ruby
ptrrr has quit [Ping timeout: 255 seconds]
<gregf__> class Foo; attr_accessor :a, :b; def initialize(a, b);@a,@b = a,b; end;def ==(inobj); return @a == inobj.a && @b == inobj.b; end; end; f = Foo.new(10, 20);f1 = Foo.new(10,20);print f==f1
<gregf__> if that even compiles :/
sanguisdex has joined #ruby
MissionCritical has joined #ruby
scripore has joined #ruby
<flughafen> gregf__: avril14th thanks
zenith__ has joined #ruby
throstur has joined #ruby
<flughafen> i need to go, but i'll be back later
MissionCritical has quit [Max SendQ exceeded]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zenith_ has quit [Read error: Connection reset by peer]
<throstur> Hi, I've never used Ruby, but I want to fiddle with a ruby gem. I cloned the gem from github, how do I "play with it"? Can I run an interactive ruby session (like python IDLE) and just 'import' the gem?
sanguisdex has left #ruby [#ruby]
Channel6 has joined #ruby
joonty has joined #ruby
Takle has quit [Remote host closed the connection]
<avril14th> throstur: yes exactly
<throstur> avril14th: how do I establish the linkage between my local directory and "my ruby session"?
<throstur> import 'directory-containing-gem' ?
rushed has quit [Quit: rushed]
bruno- has quit [Ping timeout: 240 seconds]
<avril14th> just require the gem
<avril14th> I mean the gem's main file
bmn has quit [Quit: obai]
<throstur> again, absolute ruby noob, how do I 'require' a gem?
<avril14th> you cloned the gem locally right?
ta has quit [Remote host closed the connection]
<throstur> yes avril14th
DEA7TH has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
<avril14th> what's the gem?
<throstur> avril14th: https://github.com/LIFX/lifx-gem
Tuxero has joined #ruby
qiffp has joined #ruby
<throstur> it should be able to control my light bulb
<havenwood> throstur: Type `irb -I $PWD` then `require 'gem-name-here'` or just `irb` and `require_relative 'gem-name-here'`.
Takle_ has joined #ruby
leekme has joined #ruby
<avril14th> throstur: if you use a bundle based project (meaning: that has a Gemfile), the gem is probably required for you
tunaCanBruh has joined #ruby
<havenwood> throstur: Pry is a very nice irb alternative. You can just replace `irb` with `pry` after a: gem install pry pry-doc
mkaesz has quit [Read error: Connection reset by peer]
<leekme> Hey guys simple question, any ideas why rspec is throwing this error undefined method `to_date' for "2015-02-22":String ?
mkaesz has joined #ruby
<throstur> WARNING: You don't have /home/throstur/.gem/ruby/2.2.0/bin in your PATH,
<throstur> gem executables will not run.
<avril14th> leekme: I think this to_date is added by Rails, so not available everywhere IIRC
<throstur> is this something I should be concerned with?
allcentury has quit [Quit: WeeChat 1.0]
scripore has quit [Quit: This computer has gone to sleep]
Qladstone has joined #ruby
Qladstone has quit [Remote host closed the connection]
<throstur> yeah, seems like it, 'pry' doesn't work
jonr22 has joined #ruby
<avril14th> >> "2015-02-02".method(:to_date).source_location
<eval-in> avril14th => undefined method `to_date' for class `String' (NameError) ... (https://eval.in/295038)
<throstur> got it cheers
<leekme> got it avril14th ;) thank's
<avril14th> leekme: yes, it's an active_support method so if you project don't use that there is no to_date method
_Andres has joined #ruby
<avril14th> you're welcome
DaniG2k has joined #ruby
vt102 has joined #ruby
djcp has joined #ruby
scripore has joined #ruby
segmond has joined #ruby
My_Hearing is now known as Mon_Ouie
<leekme> Actually it's a rails project but apparently rails methods are not available from my test environement, I probably failed some 'require'
<havenwood> throstur: If you don't want to use a switcher like chruby or RVM, in one of your dotfiles that gets sourced add the line: export PATH="$HOME/.gem/ruby/2.2.0/bin:$PATH"
<avril14th> leekme: that's odd
MissionCritical has joined #ruby
<havenwood> throstur: You can try it in your current terminal before adding it to a dotfile.
zenith_ has joined #ruby
zenith__ has quit [Read error: Connection reset by peer]
ponga has quit [Read error: Connection reset by peer]
MissionCritical has quit [Max SendQ exceeded]
ponga has joined #ruby
zacstewart has joined #ruby
<throstur> yeah I got it working I'm on arch so I put it in /etc/profile
brutzelspeck has joined #ruby
<havenwood> leekme: Should be available already from the Rails console. If you wanted to use ActiveSupport outside Rails you could cherry pick: require 'active_support/core_ext/string/conversions'
ineb has quit [Remote host closed the connection]
<leekme> Well it's working fine when I try it in 'rails c', but not working when I run rspec 'my_file.rb'
<leekme> Apparently some helpers are missing
jonr22 has quit [Ping timeout: 265 seconds]
<brutzelspeck> hello
<brutzelspeck> I am trying to parse some json and am having trouble
plashchynski has quit [Quit: plashchynski]
zenith__ has joined #ruby
<brutzelspeck> site[idx]["vhost"] is available, but I cannot get to the url
<throstur> I'm using pry now, can I somehow see available methods on objects or something like that?
plashchynski has joined #ruby
<ddv> try tabbing, throstur
rbennacer has joined #ruby
adriancb has joined #ruby
zenith_ has quit [Read error: Connection reset by peer]
<avril14th> throstur: object.methods will give you all available methods
adriancb has quit [Remote host closed the connection]
adriancb has joined #ruby
<throstur> cheers, that's fantastic
<havenwood> throstur: checkout `help` from Pry, there're great commands like `ls` and `show-source`.
<throstur> can I also find information about a method?
<throstur> oh cool
<throstur> show-source is awesome
<throstur> ruby is cool
<throstur> is there an easy way to use ruby gems as dependencies for native apps, or even cross-language scripting?
rbennacer has quit [Remote host closed the connection]
Guest65 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<throstur> can I "build" a ruby gem into a Windows binary, for example?
MissionCritical has joined #ruby
<havenwood> throstur: Check out mruby: https://github.com/mruby/mruby#readme
<leekme> I am sorry guys, i am just a tard, I installed the gem rspec and not the gem rspec-rails. I appologize for that
millerti has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ndrei has quit [Ping timeout: 240 seconds]
<leekme> best regards
<throstur> wow!
tgunr has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<havenwood> leekme: good luck!
rbennacer has joined #ruby
<throstur> and I thought ruby was "new-ish", it's got all these cool features already
B1n4r10 has joined #ruby
<havenwood> leekme: #RubyOnRails might have caught that, that's the best place for Rails-related stuff for future reference.
<brutzelspeck> how do I reference a ruby hash value?
<havenwood> brutzelspeck: What do you mean?
leekme has quit []
<jhass> brutzelspeck: by its key, hash[key] returns value
<brutzelspeck> jhass: just like an array?
<jhass> sort of
bmn has joined #ruby
<havenwood> brutzelspeck: http://ruby-doc.org/core/Hash.html
ndrei has joined #ruby
<brutzelspeck> jhass: so why won't this work? http://pastebin.com/fxCAqXs3
<jhass> brutzelspeck: "won't work"?
<brutzelspeck> I get an exception
<jhass> I think you can do a better error description than that
segmond has quit [Ping timeout: 245 seconds]
Qladstone has joined #ruby
<jhass> but I guess you want .each do |name, site_data|
roger_rabbit has quit [Ping timeout: 265 seconds]
<havenwood> brutzelspeck: I suspect you even have a Hash...: JSON.parse(config_json)
<jhass> .each_with_index will return [key, value] in site, and 0, 1, 2, 3, 4, 5 in index
<havenwood> brutzelspeck: Or did you deserialize the JSON and not show us?
RegulationD has joined #ruby
<havenwood> don't even have*
FooMunki__ has joined #ruby
FooMunki_ has quit [Read error: Connection reset by peer]
n80 has joined #ruby
<havenwood> brutzelspeck: For sure show the entire error when there's an error to show. It leaves a lot in the dark not even knowing what went wrong.
neonalpine has joined #ruby
brutzels_ has joined #ruby
<brutzels_> sorry, I disconnected
qiffp has quit [Ping timeout: 245 seconds]
<brutzels_> has anybody answered my question?
<jhass> brutzels_: read the scrollback at http://irclog.whitequark.org
brutzelspeck has quit [Ping timeout: 264 seconds]
skj3gg has joined #ruby
Qladstone has quit [Remote host closed the connection]
it0a has joined #ruby
<throstur> before I do something stupid, will CTRL+C definitely end a begin foo end while true loop?
jerius has quit [Quit: /quit]
<jhass> throstur: unless you (or a library you use) traps SIGINT
<jhass> it will
jerius has joined #ruby
<throstur> cheers
rbennacer has quit [Remote host closed the connection]
jolg42 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
gfawcettpq has quit [Ping timeout: 245 seconds]
<throstur> sweet, my light bulb is going to look much cooler now :)
Azure has joined #ruby
odigity has quit [Ping timeout: 250 seconds]
gr33n7007h has quit [Ping timeout: 250 seconds]
n008f4g_ has quit [Ping timeout: 265 seconds]
zenith__ has quit [Remote host closed the connection]
dru has joined #ruby
giuseppesolinas has quit [Quit: This computer has gone to sleep]
fabrice31 has joined #ruby
segmond has joined #ruby
paulfm has quit [Read error: Connection reset by peer]
Morkel has joined #ruby
giuseppesolinas has joined #ruby
boshhead has joined #ruby
paulfm has joined #ruby
vyorkin has joined #ruby
w0rldmaker has joined #ruby
vyorkin has quit [Client Quit]
scripore has quit [Quit: This computer has gone to sleep]
skj3gg has quit [Quit: ZZZzzz…]
last_staff has quit [Quit: last_staff]
Channel6 has quit [Quit: Leaving]
B1n4r10 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
scripore has joined #ruby
fabrice31_ has quit [Ping timeout: 264 seconds]
fryguy9 has joined #ruby
Mon_Ouie has quit [Ping timeout: 256 seconds]
FooMunki__ has quit [Remote host closed the connection]
FooMunki_ has joined #ruby
MissionCritical has quit [Ping timeout: 252 seconds]
doodlehaus has joined #ruby
foureight84 has joined #ruby
<throstur> how do I make a random float (as opposed to int), I'm trying to do a random float between 0 and 1
nevans has quit [Ping timeout: 276 seconds]
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
davejacobs has joined #ruby
<throstur> oh wow I'm an idiot haha! my format string is incorrect
iamjarvo has joined #ruby
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #ruby
<avril14th> throstur: rand()
riotjones has joined #ruby
<avril14th> this will yield a float between 0 and 1
spacemud has quit [Ping timeout: 250 seconds]
odigity has joined #ruby
werelivinginthef has joined #ruby
grrrr_ has quit [Remote host closed the connection]
marienz has quit [Ping timeout: 624 seconds]
gr33n7007h has joined #ruby
gfawcettpq has joined #ruby
davejacobs has quit [Ping timeout: 265 seconds]
Kruppe has joined #ruby
riotjones has quit [Ping timeout: 246 seconds]
spacemud has joined #ruby
Macaveli has quit [Ping timeout: 245 seconds]
mjuszczak has joined #ruby
thumpba has joined #ruby
Liothen has quit [Quit: The Dogmatic Law of Shadowsong]
psy has joined #ruby
MissionCritical has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
<havenwood> >> rand
<eval-in> havenwood => 0.9304615207151238 (https://eval.in/295044)
oo_ has quit [Remote host closed the connection]
psy has quit [Max SendQ exceeded]
teoric has quit [Quit: WeeChat 1.2-dev]
marienz has joined #ruby
attamusc has joined #ruby
thumpba has quit [Ping timeout: 244 seconds]
nevans has joined #ruby
brutzels_ has quit [Remote host closed the connection]
psy has joined #ruby
zorak8 has joined #ruby
plashchynski has quit [Quit: plashchynski]
triple_b has joined #ruby
<certainty> >> rant
<eval-in> certainty => undefined local variable or method `rant' for main:Object (NameError) ... (https://eval.in/295045)
<certainty> worth a shot
tobago has quit [Remote host closed the connection]
* shevy shoots at certainty
strixd has quit [Quit: 500]
<shevy> yep, it was worth it :)
strixd has joined #ruby
amundj has quit [Ping timeout: 264 seconds]
tuelz has quit [Read error: Connection reset by peer]
MissionCritical has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
catmanbun has quit []
jerius_ has joined #ruby
mkaesz has quit [Remote host closed the connection]
jerius_ has quit [Client Quit]
armyriad has quit [Ping timeout: 250 seconds]
mitchellhenke has joined #ruby
jerius_ has joined #ruby
jerius has quit [Ping timeout: 244 seconds]
zarubin has joined #ruby
armyriad has joined #ruby
sinkensabe has quit [Remote host closed the connection]
tjohnson has joined #ruby
aad has joined #ruby
aad has left #ruby [#ruby]
oo_ has joined #ruby
momomomomo has joined #ruby
j_mcnally has joined #ruby
SOLDIERz has quit [Quit: Be back later ...]
bigmac_ has quit [Ping timeout: 252 seconds]
iamjarvo has quit [Quit: Textual IRC Client: www.textualapp.com]
dstarh has joined #ruby
roshanavand has joined #ruby
iamjarvo has joined #ruby
zarubin has quit [Client Quit]
iamjarvo has quit [Max SendQ exceeded]
iamjarvo has joined #ruby
zcreative has joined #ruby
senayar has quit [Remote host closed the connection]
sinkensabe has joined #ruby
MissionCritical has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
bigmac_ has joined #ruby
_maes_ has quit [Quit: Miranda IM! Smaller, Faster, Easier. http://miranda-im.org]
sinkensabe has quit [Remote host closed the connection]
cmluciano has left #ruby [#ruby]
crueber has joined #ruby
Liothen has joined #ruby
rbennacer has joined #ruby
jlast has joined #ruby
plashchynski has joined #ruby
rbennacer has quit [Remote host closed the connection]
sinkensabe has joined #ruby
ndrei has quit [Ping timeout: 264 seconds]
paradoja has quit [Ping timeout: 256 seconds]
hollywood has joined #ruby
rbennacer has joined #ruby
ta has joined #ruby
toretore has joined #ruby
sivsushruth has quit [Ping timeout: 245 seconds]
FooMunki_ has quit [Ping timeout: 245 seconds]
<throstur> what am I doing wrong in this small ruby script? http://sprunge.us/SNij it is telling me undefined method `duration' for {}:Hash (NoMethodError)
wolves_cs has joined #ruby
polysics has quit [Remote host closed the connection]
sinkensabe has quit [Remote host closed the connection]
<jhass> throstur: you access hash keys with [], not by method calls
GnuYawk has joined #ruby
<ponga> throstur: there is no 'duration' method for hash
ArchRogem has joined #ruby
<throstur> ahh I see ponga so it's just my syntax then?
<throstur> so, options[duration] when I access it?
<ponga> throstur: no my word is just re-written into easy english
<ponga> listen to jhass
<gr33n7007h> throstur: options[:duration] = d || 60
centrx has joined #ruby
<gr33n7007h> or use ostruct
mjuszczak has quit []
FooMunki_ has joined #ruby
<jhass> don't use ostruct until you understood Hash :)
<gilmour> ^
senayar has joined #ruby
<throstur> ok... one last question, I thought options[:duration] = d || 60 would make the default duration 60 if it's not specified, but it looks like it is set to 0 when I run it, how do I change that?
MissionCritical has joined #ruby
<gilmour> It may be that somewhere your nil is being cast to an integer. nil.to_i == 0
max96at|off is now known as max96at
<gr33n7007h> throstur: use fetch
<gilmour> Also re:Hash, just look through this... http://ruby-doc.org//core-2.2.0/Hash.html
plashchynski has quit [Quit: plashchynski]
MissionCritical has quit [Max SendQ exceeded]
rhllor has joined #ruby
B1n4r10 has joined #ruby
Takle_ has quit [Remote host closed the connection]
<jhass> throstur: iirc the OptionParser on block is not even run if the option isn't given
aphprentice has joined #ruby
<throstur> oh, so I should set the option defaults before the parser runs
cpt_yossarian has quit [Ping timeout: 256 seconds]
mjuszczak has joined #ruby
<jhass> yeah
fabrice31 has quit [Remote host closed the connection]
<throstur> works like a charm
fabrice31 has joined #ruby
gaboesquivel has joined #ruby
c_nick has joined #ruby
<throstur> cheers guys, achievement unlocked, Ruby 101
Nick_ZWG has joined #ruby
Nick_ZWG has left #ruby [#ruby]
fabrice31_ has joined #ruby
mjuszczak has quit [Client Quit]
diegoviola has joined #ruby
zcreative has quit [Ping timeout: 245 seconds]
oo_ has quit [Remote host closed the connection]
paradoja has joined #ruby
mitchellhenke has quit [Quit: Computer has gone to sleep.]
ta has quit [Remote host closed the connection]
<c_nick> I have my web server running in Sinatra .. All it does is get some records from database process it and display it on the web browser, But sometimes this processing takes a while.. and the GET request responds with Proxy Error : unable to get data from <url>.. if i keep refreshing the page i may get the results.. Is this an issue with timeout? i have sessions enabled. Do i need Rack::Cookie::Session and set the time out? User login interface is not there
spacemud has quit [Ping timeout: 246 seconds]
scripore has quit [Quit: This computer has gone to sleep]
dfinninger has joined #ruby
fabrice31 has quit [Ping timeout: 256 seconds]
aphprentice has quit [Ping timeout: 252 seconds]
tuelz has joined #ruby
MissionCritical has joined #ruby
speakingcode has quit [Ping timeout: 245 seconds]
mitchellhenke has joined #ruby
Takle has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
mistermocha has joined #ruby
scripore has joined #ruby
dblessing has quit [Ping timeout: 265 seconds]
spacemud has joined #ruby
bayed has joined #ruby
<jhass> c_nick: you might want to add some logging to your app to see where the time is spent, also check the logs of your database server
sushant94 is now known as sushant94_
<jhass> if the queries are expensive, chances are you database is just overloaded
sushant94_ is now known as sushant94__
sushant94__ is now known as sushant94
bal has quit [Quit: bal]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
kaiZen- has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
a5i has quit [Quit: Connection closed for inactivity]
sivsushruth has joined #ruby
schaerli has quit [Ping timeout: 252 seconds]
MissionCritical has joined #ruby
roshanavand has quit [Ping timeout: 255 seconds]
apeiros_ has quit [Remote host closed the connection]
apeiros_ has joined #ruby
B1n4r10 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<throstur> is there a "string to symbol" in ruby?
<waxjar> >> "string".to_sym
<eval-in> waxjar => :string (https://eval.in/295071)
polysics has joined #ruby
Hirzu has quit [Ping timeout: 252 seconds]
<bradland> throstur: a good starting point for those types of questions is to have a look at the to_* methods for the class in question: http://ruby-doc.org/core-2.2.0/String.html#method-i-to_sym
ndrei has joined #ruby
User458764 has joined #ruby
selu has joined #ruby
arup_r has joined #ruby
MissionCritical has quit [Ping timeout: 245 seconds]
<throstur> cool
<bradland> no snark intended :) just like to teach men to fish
<throstur> it's cool!
zcreative has joined #ruby
<throstur> can I glue that symbol on the back of another thing?
<throstur> like NS::Class.options[:my_thing].to_sym
<throstur> is that just bracket use?
apeiros_ has quit [Ping timeout: 246 seconds]
claw has quit [Ping timeout: 256 seconds]
<bradland> so, what you'd want to do in that case, is understand what class NS::Class.options[:my_thing] is
ptrrr has joined #ruby
<bradland> if it's a string, then yes, you can just call .to_sym on it
<bradland> that's called method chaining in ruby
<bradland> and it's very popular
ta has joined #ruby
<bradland> to find out what class it is, you can do NS::Class.options[:my_thing].class
sambao21 has quit [Quit: Computer has gone to sleep.]
<throstur> bradland: NS::Class.red is something I can do, but I want my options (cmdline parameter) to go there instead
<bradland> that's called introspection
<bradland> or reflection
fabrice31_ has quit [Remote host closed the connection]
fabrice31 has joined #ruby
<bradland> unfortunately, i'm not sure what to do with the information you just gave me
sambao21 has joined #ruby
fabrice31_ has joined #ruby
<throstur> ok, so what I have is an options = { :color => "red"} and I am trying to do LIFX::Color.red() without specifying 'red' in the code, but rather in the command line (that's where options comes from really)
elfuego has joined #ruby
<arup_r> shevy: you are there?
dblessing has joined #ruby
<arup_r> you want the zip code
<arup_r> ?
<shevy> arup_r sort of but I am kinda sleepy :D
<elfuego> i’m trying to import a bunch of data into elastic search but i’m getting this error: `load': marshal data too short (ArgumentError)
abuzze has joined #ruby
<arup_r> ok
orionstein has quit [Quit: ZNC - http://znc.in]
<elfuego> is anyone familiar with this error
<bradland> throstur: ok, so what you're trying to do is define methods based on options
<throstur> bradland: does that make any sense? am I in over my head?
<bradland> that's called metaprogramming
<bradland> also very popular in ruby
<bradland> whether or not it's a good idea is another question
aganov has quit [Remote host closed the connection]
<bradland> generally, methods should be verbs
<throstur> it might be a struct, let me check the source code
jaequery has joined #ruby
dfinninger has quit [Read error: Connection reset by peer]
orionstein has joined #ruby
dfinninger has joined #ruby
dEPy has joined #ruby
ptrrr has quit [Ping timeout: 246 seconds]
mjuszczak has joined #ruby
segmond has quit [Ping timeout: 272 seconds]
fabrice31 has quit [Ping timeout: 256 seconds]
JohnBat26 has quit [Quit: KVIrc 4.3.1 Aria http://www.kvirc.net/]
ta has quit [Remote host closed the connection]
commmmodo has joined #ruby
mistermocha has quit [Remote host closed the connection]
<throstur> bradland: I've been googling metaprogramming but I can't find what I'm looking for, can you give me more keywords?
w0rldmaker has quit [Ping timeout: 264 seconds]
mistermocha has joined #ruby
werelivinginthef has quit [Remote host closed the connection]
<bradland> throstur: sorry, i think i had your request backward
dfinninger has quit [Read error: Connection reset by peer]
<throstur> oh wait a minute, bradland I think introspection may be what I'm looking for
<throstur> I think we understand each other now
<bradland> you're receiving an option, and you want to call the corresponding method
<throstur> yes!
dfinninger has joined #ruby
<bradland> gotcha
ta has joined #ruby
<bradland> so, a couple of things
<bradland> you can call methods like this LIFX::Color.send(:red)
<bradland> which is the same as LIFX::Color.red()
Juanchito has joined #ruby
<bradland> but
<bradland> command line options are user input, and i don't like to send user input to things like .send
MissionCritical has joined #ruby
<throstur> I understand
avril14th has quit [Ping timeout: 245 seconds]
<throstur> I'm just playing with it for now but I appreciate the security warning
<c_nick> bradland: red method should exist from first
MissionCritical has quit [Max SendQ exceeded]
<bradland> depending on the number of options, i'll either use a case statement, or a hash to map command line options to symbols
<bradland> brb phone
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
casadei has joined #ruby
wldcordeiro has joined #ruby
plashchynski has joined #ruby
riotjones has joined #ruby
werelivinginthef has joined #ruby
Hirzu has joined #ruby
jonr22 has joined #ruby
spyderman4g63 has joined #ruby
lordkryss has joined #ruby
tvon has quit [Quit: leaving]
spyderma_ has joined #ruby
crueber has quit [Quit: Leaving.]
ArchRogem has quit [Quit: Textual IRC Client: www.textualapp.com]
piotrj has quit [Remote host closed the connection]
roshanavand has joined #ruby
Azure has quit [Read error: Connection reset by peer]
w0rldmaker has joined #ruby
Xiti has quit [Read error: Connection reset by peer]
Azure has joined #ruby
segmond has joined #ruby
psy has quit [Read error: No route to host]
rippa has joined #ruby
fabrice31_ has quit [Remote host closed the connection]
<gregf__> i dont believe you can tip your hat to Him and say 'Youre a great moral teacher' :/
<gregf__> bah wrong chat :/
MissionCritical has joined #ruby
spyderman4g63 has quit [Ping timeout: 250 seconds]
hannes___ has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
jonr22 has quit [Ping timeout: 264 seconds]
multiscan has joined #ruby
tunaCanBruh has quit [Ping timeout: 252 seconds]
<hannes___> hi, in Excon, is there a way to set ssl_verify_peer a request instead of setting it on Excon.defaults?
<throstur> can I foo.send(method, named_parameter: 1) ?
tunaCanBruh has joined #ruby
arup_r has quit [Ping timeout: 240 seconds]
ta has quit [Remote host closed the connection]
chishiki has quit [Ping timeout: 272 seconds]
<bradland> throstur: not that specifically, but you can send parameters http://ruby-doc.org/core-2.2.0/Object.html#method-i-send
crueber has joined #ruby
<bradland> just not named
Grumelo has quit [Read error: Connection reset by peer]
LekeFly has quit [Ping timeout: 252 seconds]
tkuchiki has quit [Remote host closed the connection]
^Denis has joined #ruby
<throstur> bradland: so if I am only interested in sending the first parameter, I can do that by specifying one, but if I want the second I would have to specify the first?
adriancb has quit [Ping timeout: 250 seconds]
<elfuego> : i’m trying to import a bunch of data into elastic search but i’m getting this error: `load': marshal data too short (ArgumentError) is anyone familiar with this error?
f03lipe has joined #ruby
centrx has quit [Ping timeout: 245 seconds]
dru has quit [Ping timeout: 244 seconds]
<hannes___> throstur: No
<throstur> hannes___: so for a function with named arguments I must always specify all arguments?
<hannes___> throstur: if you use 2.x named parameters you can just foo.send(:foo_meth, named_params_as_hash)
dru has joined #ruby
<throstur> yay! I have 2.2!
<havenwood> thomas: it works as you proposed, try it
<havenwood> thomas: sorry, misstell
<havenwood> throstur: ^
<havenwood> throstur: use #public_send instead of #send when you can
<hannes___> throstur: although for that kind question, just open up pry/irb and try for yourself, faster turnover time than irc
<havenwood> throstur: it's fine to: foo.public_send(method, named_parameter: 1)
<throstur> hannes___: I have been trying this interactively just not gotten it to work
_maes_ has joined #ruby
<throstur> it works now
<havenwood> >> def xo(a: 'a', b: 'b'); [a, b] end; public_send(:xo, b: 'yo', a: 'hi')
<eval-in> havenwood => private method `xo' called for main:Object (NoMethodError) ... (https://eval.in/295091)
hannes___ has quit [Quit: leaving]
MissionCritical has joined #ruby
<havenwood> >> def xo(a: 'a', b: 'b'); [a, b] end; send(:xo, b: 'yo', a: 'hi')
<eval-in> havenwood => ["hi", "yo"] (https://eval.in/295092)
<throstur> the only difference between public_send and send is just that send allows sending to private methods, correct?
<havenwood> throstur: yup
MissionCritical has quit [Max SendQ exceeded]
hannes___ has joined #ruby
scripore has quit [Quit: This computer has gone to sleep]
<havenwood> throstur: public_send is public only
<hannes___> I don't suppose there is an excon channel?
mary5030 has joined #ruby
claw has joined #ruby
livathinos has quit []
<throstur> does ruby have "regions" like C# (just for folding code in a sane manner)?
speaking2ode is now known as speakingcode
<havenwood> throstur: I don't know C# regions. What are they?
adriancb has joined #ruby
<throstur> havenwood: basically, you can do #region my_code_block #endregion and fold it in an IDE
dfinninger has quit [Read error: Connection reset by peer]
<hannes___> throstur: that's kind of pointless
<throstur> hannes___: yes, it is. I like it tho :(
dfinninger has joined #ruby
<throstur> I think C/C++ still allow "meaningless" { } blocks
<hannes___> throstur: if you really want to, you can use comments... and most editors with folding support can figure out what to fold on their own
apeiros_ has joined #ruby
chishiki has joined #ruby
B1n4r10 has joined #ruby
<havenwood> throstur: We tend to use text editors that can collapse portions without code being added. Admittedly the idea of #region seems really odd to me, describing how your code is viewed in your code.
* wasamasa must be the only one who finds folding an useless trick
<havenwood> wasamasa: i never do it
<wasamasa> then, I don't use imenu either
<hannes___> havenwood: that's pretty much worse literate programming
<throstur> havenwood: I do agree, but then again I'm using vim and haven't learned all the folding features
<havenwood> throstur: :)
<hannes___> havenwood: with lit-p you at least specify how your code is viewed in a somewhat useful fashion
<throstur> I really just wanted to fold the options I'm done with so that I don't have to 33j
<wasamasa> which I should since it gives me the only benefit I can see in folding
<wasamasa> jumping quickly to a top-level form
<havenwood> throstur: check for vim syntax folding for Ruby, i'm sure someone has figured that out
rhllor_ has joined #ruby
arup_r has joined #ruby
<wasamasa> throstur: moving by paragraphs is useful!
<throstur> wasamasa: how do I do that?
<hannes___> wasamasa: well, it's just zf to create a fold and za to toggle it. :h fold really.
<hannes___> throstur: P{
<hannes___> {}
bruno- has joined #ruby
<throstur> oh nice
rhllor has quit [Ping timeout: 256 seconds]
rhllor_ is now known as rhllor
<wasamasa> hannes___: I assume you mean throstur :P
<wasamasa> hannes___: since I don't use vim
MissionCritical has joined #ruby
<throstur> hannes___: you can't zf when foldmethod=syntax
mary5030 has quit [Remote host closed the connection]
MissionCritical has quit [Max SendQ exceeded]
<hannes___> throstur: well, but then presumably you already have all the folds you could ever want
<throstur> presumably :)
<havenwood> >> "Please use the One True Editor, #{%w[emacs vim].sample}..."
<eval-in> havenwood => "Please use the One True Editor, vim..." (https://eval.in/295093)
jaequery has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ankhers has joined #ruby
<hannes___> eh, I've used many text editors. I think the only popular one I've not touched for more than 5 minutes is textmate
mber has joined #ruby
robustus|Off is now known as robustus
<hannes___> and that's primarily because it doesn't give me anything beyond atom or sublime.. and I don't own a mac and have no plans to change that
skj3gg has joined #ruby
diegoviola has quit [Quit: WeeChat 1.1.1]
<havenwood> hannes___: TextMate 2 is nice, and a GNU license now too. :)
<havenwood> hannes___: Atom has an MIT license now too. Nice to see open source licenses being adopted by what were closed source projects.
kaiZen- has joined #ruby
timonv has quit [Ping timeout: 246 seconds]
<mber> how can I preserve newlines using a ':markdown'–style filter in Haml?
centrx has joined #ruby
<apeiros_> mber: double space at the end
sambao21 has quit [Quit: Computer has gone to sleep.]
joonty has quit [Quit: joonty]
chrishough has joined #ruby
CustosLimen has quit [Ping timeout: 264 seconds]
<apeiros_> make sure you didn't set your editor to remove trailing spaces
grrrr_ has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
dANO__ has quit []
<mber> aspiers: many thanks. Though, a simple \ at they end of a line seemed much easier to me :p
c_nick has quit [Ping timeout: 255 seconds]
<aspiers> sigh
<aspiers> it keeps happening
sambao21 has joined #ruby
<aspiers> apeiros_: any chance you could change your name? ;-)
dstarh has quit [Quit: Textual IRC Client: www.textualapp.com]
ndrei has quit [Ping timeout: 246 seconds]
<apeiros_> aspiers: any chance you pay me a gazillion dollars to do so?
<aspiers> lol :)
<wasamasa> aspiers: you don't sound very convincing
MissionCritical has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
User458764 has joined #ruby
Xiti has joined #ruby
frobs has joined #ruby
<gregf__> aperios != apeirss
gsd has joined #ruby
nateberkopec has joined #ruby
baroquebobcat has joined #ruby
Hijiri has quit [Quit: WeeChat 1.0.1]
<jhass> the only valid way to misspell apeiros is apieros
Hobogrammer has joined #ruby
<gregf__> ah well, yeah , a typo from me as well :/
scripore has joined #ruby
mjuszczak has quit []
sigurding has quit [Quit: sigurding]
<eam> havenwood: I take issue with "vim" over "vi"
GaryOak_ has joined #ruby
<havenwood> eam: don't care for iMprovements?
<mber> nvim ftw!
<hannes___> eam: eh, vi nowadays is usually just vim with :set compatible anyway
<mber> cannot think of a for exciting project than http://neovim.org/ atm :)
<mber> ^for^more
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
<ponga> vim is for elders
<ponga> *elders use vim
<hannes___> ponga: those two statements aren't equivalent
<ponga> neither?
<mber> it is not difficult. But it rewards you for being clever — I like that.
ndrei has joined #ruby
timonv has joined #ruby
godd2 has joined #ruby
triple_b has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
zenith_ has joined #ruby
strixd has quit [Quit: 500]
<GaryOak_> it rewards you for muscle memory
<eam> havenwood: vim is fine, but it's not the only -- or best -- vi
w0rldmaker has quit [Ping timeout: 240 seconds]
<GaryOak_> and practice
GnuYawk has quit [Ping timeout: 265 seconds]
<havenwood> a venomous VI PERil, huh? :O
<workmad3> eam: eww, emacs
<eam> workmad3: it's vi!
jobewan has joined #ruby
<wasamasa> eam: evil, evil, evil!
mary5030_ has joined #ruby
marr has joined #ruby
polysics_ has joined #ruby
<hannes___> eh, I've tried viper. Not a huge fan. Was somewhat sluggish when I used it, and vim muscle memory was killing me
<workmad3> eam: I've already got my improved vi... I call it vim :P
<godd2> You can't spell evil without vi
<eam> wasamasa: aware of it but haven't used it :)
<wasamasa> eam: you should
danjordan has quit [Quit: danjordan]
<workmad3> godd2: you can't spell evil with vim though ;)
<GaryOak_> You can't spell emacs backwards without scam
thumpba has joined #ruby
<hannes___> godd2: you can't spell emacs without emacs
<godd2> You can't spell sarcasm without letters
swgillespie has joined #ruby
<hannes___> godd2: at least not in english
<GaryOak_> haha
<eam> wasamasa: pretty happy with viper-mode, but if I get a chance I'll give it a spin
<workmad3> hannes___: was about to say similar :)
polysics has quit [Ping timeout: 245 seconds]
<workmad3> hannes___: I wonder what the babylonian cuniform of 'sarcasm' is :)
GnuYawk has joined #ruby
<wasamasa> mber: I'm still not sure what to think of their latest trick
frobs has quit [Quit: Konversation terminated!]
ndrei has quit [Ping timeout: 245 seconds]
<GaryOak_> workmad3: it's the word sarcasm written in english
<wasamasa> mber: enabling terminal emulation in vim buffers
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<hannes___> wasamasa: I could see that working in nvim, but I would stay away in vim, rather use tbone instead
<wasamasa> mber: on the one hand it's good because it's replacing the hacky existing implementation
mloveless has joined #ruby
ptrrr has joined #ruby
<wasamasa> mber: on the other hand it's screaming "We want to be more like Emacs, really."
bricker has joined #ruby
User458764 has joined #ruby
a5i has joined #ruby
<hannes___> I don't really think having a terminal emulator in vim is all that useful. most of the time, you kind of just want to paste text between the two
shum has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
thumpba has quit [Ping timeout: 252 seconds]
<mber> wasamasa: there are many good ideas in that project. And since Bram Molenaar appeared resilient to change, I find the fork legitimate.
spyderma_ has quit [Ping timeout: 264 seconds]
<jhass> when would a fork be illegitimate anyway
<wasamasa> hannes___: I suspect some plugin authors would disagree with that
<wasamasa> hannes___: IIRC the feature is what enabled the tee trick in the first place
Takle has quit [Remote host closed the connection]
johnh has joined #ruby
multiscan has quit []
<hannes___> wasamasa: ok, I seem to be out of the loop a bit; What tee trick?
danjordan has joined #ruby
jolg42 has joined #ruby
rbennacer has quit [Remote host closed the connection]
<godd2> Well if it's a legitimate fork, the repo has natural defenses against it.
ptrrr has quit [Ping timeout: 245 seconds]
<mber> the new plugin system is the most compelling change to me. As to vim becoming like emacs, sublime text seems to be the main influence
Grantlyk has quit [Remote host closed the connection]
lemur has joined #ruby
MasterPiece has joined #ruby
<a5i> Why do some people keep saying ruby is dying? :/
* wasamasa flogs a5i
<a5i> flogs ? :S
* wasamasa whips a5i harder
<a5i> :(
<a5i> I dont think it is
tkuchiki has joined #ruby
<godd2> a5i because they can
<wasamasa> a5i: you're part of them
<godd2> watch
<godd2> php is dying
<a5i> No im not...
<wasamasa> D:
<godd2> java is dying
<wasamasa> a5i: yes you are, every time someone asks the question, there's at least someone else getting the wrong impression and perpetuating that myth
<a5i> I dont think Ruby is dieing
<a5i> dying* it just not hip as it was
<godd2> oh is that what dying means?
<wasamasa> yup
<wasamasa> I assume it is
<godd2> then the only alive lang is node, brah
<mber> with the influx of new developers into IT from around the world, a decreasing userbase seems unlikely.
Guest65 has joined #ruby
rbennacer has joined #ruby
RandyT_ has joined #ruby
<wasamasa> don't forget goland
<wasamasa> *golang
<eam> godd2: node is a good choice for getting close to the metal
RandyT has quit [Ping timeout: 255 seconds]
Hirzu has quit [Ping timeout: 265 seconds]
MissionCritical has joined #ruby
Jackneill has joined #ruby
<toretore> whoooooooooo gives a shit
Akuma has joined #ruby
bMalum has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
Akuma has quit [Client Quit]
lemur has quit [Remote host closed the connection]
<godd2> mber according to unclebob, the number of professional programmers is doubling every 5 years
tkuchiki has quit [Ping timeout: 265 seconds]
sigurding has joined #ruby
<godd2> which means that at any given time, half of the professional programmers have less than 5 years experience
SumoBoy has joined #ruby
w0rldmaker has joined #ruby
<arup_r> toretore: not me
<eam> at any given time, 5 years experience places you at above average experience
freerobby has joined #ruby
<a5i> Ruby isnt dieing
MatthewsFace has joined #ruby
<godd2> eam or just use github-awards to see where you stand: http://github-awards.com/
<eam> a5i: that's a difficult line of reasoning; some of the highest paid roles deal with dead technology
jaequery has joined #ruby
jaequery has quit [Max SendQ exceeded]
swgillespie has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
jaequery has joined #ruby
mjuszczak has joined #ruby
<mber> think one should beware of the 'correlation → causation' fallacy.
Hobogrammer has quit [Ping timeout: 245 seconds]
<godd2> Drug cartel bosses make even more money
<eam> godd2: it doesn't give me any credit for ocaml :(
brownfaux has joined #ruby
mjuszczak has quit [Client Quit]
<wasamasa> godd2: it fails recognizing a country because it tries turning it into a city
casadei has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
skj3gg has quit [Quit: ZZZzzz…]
<eam> mber: probably more importantly the "not growing as fast = dead" fallacy
<godd2> wasamasa yea it did that for me for my city since I didn't put one
<godd2> made it the state I'm in
bim has quit [Remote host closed the connection]
<wasamasa> but at least you can click a country link
<wasamasa> which tells me I'm #7 elisp hacker in germany
<brownfaux> is this room for ruby purists and if so what is the prefered room for ruby on rails?
<havenwood> brownfaux: #rubyonrails
<godd2> eam I think it goes off of github's listing of the language of the repo, and then sums the stars of all repos of the same lang
Crisix has quit [Read error: Connection reset by peer]
<eam> godd2: it turns out I am not the top ruby developer in my city
<brownfaux> havenwood: cheers!
otisZart has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<bricker> ruby purists! I didn't know there was such a thing.
<bricker> So elite.
Guest17679 has quit [Read error: Connection reset by peer]
<godd2> bricker yea who needs rails?
MissionCritical has joined #ruby
<bricker> godd2: people with bills!
<a5i> arup_r: This replies basically prove him wrong tho
JDiPierro has quit [Remote host closed the connection]
aphprentice has joined #ruby
mjuszczak has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
einarj has quit [Remote host closed the connection]
<godd2> bricker oh I've heard about those before
skj3gg has joined #ruby
<arup_r> Guys.. Just enjoy.. How brave these guys are -- https://www.youtube.com/watch?v=R5LAwkPY1P4 :(
oki has quit [Ping timeout: 255 seconds]
Akuma has joined #ruby
brownfaux has quit [Ping timeout: 245 seconds]
triple_b has joined #ruby
spyderman4g63 has joined #ruby
<shevy> arup_r you guys need to build better trains and train stations
sigurding has quit [Ping timeout: 245 seconds]
<eam> looks a lot safer than driving
sigurding has joined #ruby
<arup_r> shevy: Monkeys are good at tree
<arup_r> :p
DaniG2k has quit [Quit: leaving]
<arup_r> shevy: Our Govt. thinking like you since 50 last years,,, still in progress :(
robustus is now known as robustus|Off
mikecmpbll has quit [Quit: i've nodded off.]
byprdct has quit [Ping timeout: 264 seconds]
SouL has quit [Ping timeout: 264 seconds]
mjuszczak has quit []
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
shum has quit [Quit: WeeChat 1.1.1]
<arup_r> eam: They were trying to kill them.. but God sent them back.. because they are monkeys still..
msgodf has quit [Ping timeout: 252 seconds]
casadei has joined #ruby
senayar has quit []
deric_skibotn has joined #ruby
MissionCritical has joined #ruby
cajone has quit [Remote host closed the connection]
<jhass> arup_r: all governments do, some are just hiding it better
MissionCritical has quit [Max SendQ exceeded]
bim has joined #ruby
oki has joined #ruby
piotrj has joined #ruby
<shevy> arup_r China kind of pushed most money towards the coastal areas. Like they wanted to make Shanghai like Hong Kong
ghr has quit [Ping timeout: 245 seconds]
<shevy> and still all the money poured into Shanghai made it not as awesome as Hong Kong
<jhass> you can't construct culture, simple as that
lolmaus has quit [Ping timeout: 252 seconds]
giuseppesolinas has quit [Quit: This computer has gone to sleep]
gluten_hell has quit [Quit: Computer has gone to sleep.]
last_staff has joined #ruby
paradoja has quit [Ping timeout: 256 seconds]
qiffp has joined #ruby
<arup_r> humm
zacstewart has quit [Remote host closed the connection]
_ixti_ has joined #ruby
<godd2> jhass that's what they WANT us to think
Bounga has quit [Quit: See ya]
oki has quit [Ping timeout: 250 seconds]
* mber still impressed by China's progression over the last decades
matthewhill has joined #ruby
ixti has quit [Ping timeout: 245 seconds]
mikecmpbll has joined #ruby
cajone has joined #ruby
shevy has quit [Ping timeout: 246 seconds]
shazaum_ has joined #ruby
MissionCritical has joined #ruby
Shazaum has quit [Ping timeout: 264 seconds]
danjordan has quit [Quit: danjordan]
MissionCritical has quit [Max SendQ exceeded]
johnh is now known as StoneCypher
Hijiri has joined #ruby
terlar has quit [Ping timeout: 240 seconds]
j_mcnally has quit [Ping timeout: 255 seconds]
tgunr has joined #ruby
djbkd has quit [Remote host closed the connection]
justin_pdx has joined #ruby
Zai00 has quit [Quit: Zai00]
odigity has quit [Ping timeout: 250 seconds]
andikr has quit [Remote host closed the connection]
iamninja has joined #ruby
zcreative has quit [Quit: (null)]
segmond has quit [Ping timeout: 252 seconds]
orionstein has quit [Quit: ZNC - http://znc.in]
cjim has joined #ruby
malcolmva has quit [Ping timeout: 245 seconds]
orionstein has joined #ruby
M-Technic has joined #ruby
JimmyNeutron has quit [Quit: Leaving]
MissionCritical has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
<a5i> The only reason I ever spoke of Ruby and those rumors is because I really like Ruby and im noyl 16 and hope that it stills has a large marketshare in 5 years :/
<a5i> still*
j_mcnally has joined #ruby
<godd2> a5i programming will still have a large market share in 5 years
Hirzu has joined #ruby
thumpba has joined #ruby
<a5i> but I really like programming in Ruby
<a5i> Im just worried
w0rldmaker has quit [Ping timeout: 250 seconds]
centrx has quit [Ping timeout: 250 seconds]
<godd2> If you want to make programming your career, you really shouldn't only know 1 programming language, especially after 5 years
bMalum has quit [Quit: bMalum]
adamski2600 has joined #ruby
<godd2> for the first 2 or 3 years, sure, but after that you should start picking up 1 or two more
<a5i> Well I already know Node.js and Rust
<a5i> and taking AP Java in school
<godd2> plus at that point, you'll be able to gauge the market anyway, so you won't have to worry on that kind of time scale
<a5i> and Im learning Ruby now and loving it
meatherly has joined #ruby
sankaber has joined #ruby
justin_pdx has quit [Quit: justin_pdx]
zachrab has joined #ruby
<Hijiri> Rust sounds fun
<Hijiri> low-level functional systems programming
Cadillactica has joined #ruby
JimmyNeutron has joined #ruby
GnuYawk has quit [Ping timeout: 256 seconds]
matthewhill has quit [Quit: Be back later ...]
antgel has quit [Ping timeout: 252 seconds]
<a5i> It is fun
<a5i> its basics is alot like Ruby
<a5i> These look very nice though
withnale__ has quit [Ping timeout: 240 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
* mber afraid of Haskell, though a lot of interesting projects are written in it
<Hijiri> haskell is fun
<a5i> Im gonna learn haskell after Ruby and python
ismaelga has joined #ruby
<a5i> if I get to python
plashchynski has quit [Quit: plashchynski]
plashchynski has joined #ruby
sambao21 has joined #ruby
odigity has joined #ruby
Grantlyk has joined #ruby
w0rldmaker has joined #ruby
hmnhf has quit [Ping timeout: 244 seconds]
KC9YDN has joined #ruby
roshanavand has quit [Ping timeout: 250 seconds]
malcolmva has joined #ruby
<godd2> a5i you can try Clojure also
<godd2> it's another functional language
segmond has joined #ruby
<godd2> plus, it's a Lisp, so you'll have that under your belt
<a5i> o
<Cadillactica> i often come across patterns such as this: http://pastebin.com/H1rJZ5sF define array, add to it, return it at the end. I’ve become a fan of using .tap to skip declaration/return steps, but I’ve heard that’s frowned upon. any thoughts/advices?
<Hijiri> I'm guessing haskell doesn't count as an ML
bdamos has quit [Remote host closed the connection]
iamjarvo has joined #ruby
<godd2> just read the instructions on the bottom, and youll know the syntax for Clojure in no time (there's not a lot of syntax(
robustus|Off is now known as robustus
tuelz1 has joined #ruby
JDiPierro has joined #ruby
<waxjar> if you want to learn about different programming styles/paradigms, i'd pick either ruby or python, since they seem pretty similar
<a5i> godd2, in your POV, will Rails still have a good piece of marketshare in 5 years? because if theres a Rails job open when Im fullstack, Im gonna pick Rails :P
<throstur> I've wondered... what exactly makes someone fullstack
<godd2> a5i the answer to your question is yes, but you're asking the wrong question
<godd2> 5 years is too long to worry about that sort of thing
<Hijiri> if you want to be forced to learn a different paradigm (and you haven't functional-programmed before), I would go with haskell
centrx has joined #ruby
<throstur> one of my good mates told me the same thing
<a5i> sigh, Okay
<throstur> but then the go and teach you SML-nq and Scheme in college
<throstur> s/nq/nj/
tuelz has quit [Ping timeout: 250 seconds]
adriancb has quit [Ping timeout: 245 seconds]
<Hijiri> I think they have haskell in a couple of the courses at my school
<Hijiri> but mostly everything is Java/C++/C
djbkd has joined #ruby
<Hijiri> well, I can't make that judgment yet, but that's all I've seen
<throstur> based on my experience, "mostly everything" includes C# .NET
<throstur> "everyone" is doing .NET apps
qhartman has joined #ruby
Hirzu has quit [Remote host closed the connection]
<throstur> but whatever you do, don't NOT learn at least one scripting language
<Hijiri> mostly everything at my school, I mean
<throstur> or you'll be stuck with bash/cmd.exe scripts
red_horned_rihno has quit [Ping timeout: 245 seconds]
jonr22 has joined #ruby
<Hijiri> haskell w/ shelly/turtle :P
<Hijiri> I will probably learn python at some point
User458764 has joined #ruby
matthewhill has joined #ruby
sigurding has quit [Quit: sigurding]
<godd2> a5i I have to commend you for thinking ahead though, many beginning programmers want things to happen overnight
<godd2> your prescience and patience will reward you
<a5i> :P
<Hijiri> I certainly wouldn't mind if things could happen overnight
<throstur> btw a5i keep an eye on this, most likely you're going to want to learn ... ~javascript~ :: http://www.indeed.com/jobtrends/Ruby-on-rails.html http://www.indeed.com/jobanalytics/jobtrends?q=node.js&l=
Spooner has joined #ruby
Tinfoilhat_ has joined #ruby
commmmodo has quit [Quit: commmmodo]
<a5i> throstur: I already know Node.js
<throstur> a5i: you said "in 5 years", not "now"
tuelz1 has quit [Ping timeout: 252 seconds]
<godd2> a5i keep in mind that "I already know _____" is generally an unhelpful sentiment
<throstur> look at the trend
sivsushruth has quit [Ping timeout: 256 seconds]
<throstur> I don't know any node.js and I'm not ashamed :f
<throstur> I'm a back-end guy at heart, more of a hacker than a web developer
fabrice31 has joined #ruby
<throstur> I couldn't CSS to save my life
<godd2> maybe the rails jobs are going down because the wages are increasing
<godd2> :P
matthewhill has quit [Client Quit]
kalusn has quit []
<a5i> Rails went down a bit durin 2013-2014 but it seems to be going back up in 2015
robustus is now known as robustus|Off
sigurding has joined #ruby
jonr22 has quit [Ping timeout: 250 seconds]
<a5i> from looking at that chart and other articles
zacstewart has joined #ruby
<throstur> a5i: look at the relative chart
<a5i> O
<throstur> a5i: should give you a little more intuitive insight
<godd2> a5i keep in mind that career decisions you make won't benefit from aggregate market numbers
<throstur> also that
<throstur> you should just do what you love
<godd2> that is, it's not like you own stock in the rails market
Cadillactica has quit [Quit: Cadillactica]
<godd2> a gold jeweler can make money regardless of the price of gold
workmad3 has quit [Read error: Connection reset by peer]
<godd2> Just aim to be an excellent programmer :)
selu has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
shredding has joined #ruby
MissionCritical has joined #ruby
sivsushruth has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
adriancb has joined #ruby
withnale has quit [Ping timeout: 265 seconds]
ponga has quit [Remote host closed the connection]
fabrice31 has quit [Ping timeout: 256 seconds]
mjuszczak has joined #ruby
<a5i> Well I really like Ruby
<a5i> so if you say I should do what I love
last_staff has quit [Ping timeout: 272 seconds]
ponga has joined #ruby
<a5i> I want Ruby to have a pretty good marketshare in 5 years, but I should stop worrying
<a5i> throstur: Also that relative chart seems a bit far fetched to me :P
withnale has joined #ruby
<throstur> numbers in numbers man
<godd2> lies, damn lies, and statistics
<centrx> Knowledge of general programming/engineering/CS concepts supersedes knowledge of particular languages
<throstur> anyway
scripore has quit [Quit: This computer has gone to sleep]
<centrx> You can pick up any similar language once you know one or two other similar languages
yeticry has quit [Ping timeout: 245 seconds]
<a5i> hmm
red_horned_rihno has joined #ruby
<godd2> or however long it takes to watch through it
jottr_ has joined #ruby
OrbitalKitten has joined #ruby
<a5i> Ruby would be my favorite language out of my soon to be fullstack :/
<a5i> so far anyway
yeticry has joined #ruby
ptrrr has joined #ruby
graydot has joined #ruby
graydot has quit [Client Quit]
viki_ has quit [Quit: Connection closed for inactivity]
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<godd2> also, get decently fast at typing (>60 wpm) and consider investing in a mechanical keyboard
shadoi has joined #ruby
<godd2> thats just my personal suggestion, you can take it or leave it
MissionCritical has joined #ruby
livingstn has quit [Ping timeout: 240 seconds]
<a5i> Thanks
<a5i> Im actaully very skeptical about indeed's relative chart
MissionCritical has quit [Max SendQ exceeded]
davejacobs has joined #ruby
ada2358 has joined #ruby
ponga has quit [Ping timeout: 244 seconds]
jerius_ has quit [Quit: /quit]
mkaesz has joined #ruby
GnuYawk has joined #ruby
gregf__ has quit [Ping timeout: 255 seconds]
zachrab has quit [Remote host closed the connection]
gregf_ has joined #ruby
ada2358 is now known as adzuci
jerius has joined #ruby
shevy has joined #ruby
livingstn has joined #ruby
grek has joined #ruby
_code has joined #ruby
bim has quit [Remote host closed the connection]
xiq has joined #ruby
davejacobs has quit [Ping timeout: 272 seconds]
sivsushruth has quit [Ping timeout: 250 seconds]
tunaCanBruh has quit [Ping timeout: 246 seconds]
mkaesz has quit [Ping timeout: 246 seconds]
<centrx> spam
hmnhf has joined #ruby
<_code> no.
sivsushruth has joined #ruby
<_code> no spam.
ghr has joined #ruby
grek was kicked from #ruby by apeiros_ [no spam]
B1n4r10 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
MissionCritical has joined #ruby
bim has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
yeticry has quit [Ping timeout: 245 seconds]
yeticry has joined #ruby
oki has joined #ruby
skj3gg has quit [Quit: ZZZzzz…]
dumdedum has quit [Quit: foo]
roadt has joined #ruby
ghr has quit [Ping timeout: 265 seconds]
frobs has joined #ruby
Pumukel has quit [Ping timeout: 250 seconds]
zachrab has joined #ruby
skj3gg has joined #ruby
tunaCanBruh has joined #ruby
jenrzzz has joined #ruby
RegulationD has quit [Remote host closed the connection]
MissionCritical has joined #ruby
ducklobster has joined #ruby
Hirzu has joined #ruby
mjuszczak has quit []
MissionCritical has quit [Max SendQ exceeded]
baweaver has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
mudtose has joined #ruby
baroquebobcat has quit [Quit: baroquebobcat]
dfinninger has quit [Remote host closed the connection]
cocotton has joined #ruby
rushed has joined #ruby
scripore has joined #ruby
<cocotton> Hey channel. I got an array and I'm trying to remove the first and last element. I'm not too sure what the cleanest way to do this is. I tried using .pop which is fine, but .shift causes me some troubles
<shevy> I eat spam for breakfast
kaiZen- has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
<arup_r> hehehe
lolmaus has joined #ruby
<arup_r> how? with butter
<arup_r> ?
<jhass> cocotton: what troubles?
gluten_hell has joined #ruby
<cocotton> jhass: It seems to be doing nothing :/
<cocotton> I'll go take a look at the doc, I must be missing something
<jhass> >> a = [1, 2, 3, 4]; a.shift; a
<eval-in> jhass => [2, 3, 4] (https://eval.in/295140)
justin_pdx has joined #ruby
<jhass> seems to do something ;)
<cocotton> Indeed!
scripore has quit [Client Quit]
tunaCanBruh has quit [Ping timeout: 255 seconds]
mjuszczak has joined #ruby
portiad has joined #ruby
graydot has joined #ruby
OrbitalKitten has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
tvon has joined #ruby
<arup_r> We should have a channel for Ruby/Rails jobs
<eam> it's called craigslist
ismaelga has quit [Remote host closed the connection]
<centrx> I thought it was called grindr
<arup_r> wut ?
MissionCritical has joined #ruby
gluten_hell has quit [Ping timeout: 250 seconds]
MissionCritical has quit [Max SendQ exceeded]
<_code> heh job boards
<_code> riiight.
mudtose has quit [Ping timeout: 252 seconds]
<_code> how about LinkedIn?
ismaelga has joined #ruby
<mozzarella> you die if you work
<arup_r> >> a = [1, 2, 3, 4] ; a.tap { |ob| ob.shift; ob.pop }
<eval-in> arup_r => [2, 3] (https://eval.in/295150)
<arup_r> cocotton:
vdamewood has joined #ruby
tunaCanBruh has joined #ruby
<eam> I miss the idea of ! to signify destructive methods
<arup_r> no.. irc wiil be good option too for job.
<_code> why does eval have such a bad rep?
<_code> nah, not really
sambao21 has quit [Quit: Computer has gone to sleep.]
<arup_r> why ?
<_code> it's only if you're on networks that are well-populated with possible employers
<Fluent> It's not really safe
<eam> arup_r: any communication channel allowing free job solicitation without controls (financial, social network limits) rapidly descends into spam
<Fluent> That's why.
x1337807x has joined #ruby
<arup_r> humm
<_code> so yeah
naftilos76 has joined #ruby
<eam> it's why job postings are one of the few categories craigslist charges $$ to post
<eam> I think the other is professionally brokered apartments in NYC
SOLDIERz has joined #ruby
portiad has quit [Quit: Leaving...]
<shevy> communism channel?
<eam> oh, well it looks like they've expanded it to a few more http://www.craigslist.org/about/help/posting_fees
ismaelga has quit [Ping timeout: 252 seconds]
jenrzzz_ has joined #ruby
<shevy> _code I think the biggest fear with eval is when you are not in control of what gets evaled
triple_b_ has joined #ruby
Waheedi has quit [Quit: Waheedi]
thumpba has quit [Remote host closed the connection]
patric100e99 has joined #ruby
<shevy> arup_r I was joking, I don't eat spam for breakfaster; if anything I may drink some milk perhaps, have bread, perhaps light cheese. or I skip breakfast and go for eating between 10:00-12:00
patrick99e99 has quit [Quit: Page closed]
<shevy> *breakfast
<centrx> eval loads up a another Ruby interpreter
<shevy> eval runs perl!!!
thumpba has joined #ruby
<shevy> AND PHP
<eam> shevy: spam is pretty good, you should try it for breakfast
crueber has quit [Quit: Leaving.]
sambao21 has joined #ruby
jenrzzz has quit [Ping timeout: 264 seconds]
<_code> too bad i'm vegetarian :P
atomiccc has joined #ruby
<_code> don't skip breakfast.
tunaCanBruh has quit [Ping timeout: 265 seconds]
SumoBoy has quit [Quit: Leaving]
adamholt has quit [Quit: ZNC - http://znc.sourceforge.net]
tekacs has quit [Remote host closed the connection]
<_code> ooh, vegan spam.
bim has quit [Remote host closed the connection]
<_code> :D
bim has joined #ruby
vmatiyko has joined #ruby
Rubybot has joined #ruby
ghostpl_ has quit [Remote host closed the connection]
<a5i> o
<a5i> !say hi
<Rubybot> hi
<a5i> !wz Paris
<a5i> !wz 19806
<Rubybot> a5i: Wilmington, DE | 38.5°F | Clear
<a5i> !yt Ruby Language
<Rubybot> Introduction to Ruby [HD] - https://youtube.com/watch?v=FyyIvAwwMPM
triple_b has quit [Ping timeout: 264 seconds]
<a5i> !eval 8902463274 * 2346928734
<Rubybot> a5i: 20893446861130315116
<shevy> _code you are a vegetarian? perhaps you can help answer something for me
doodlehaus has quit [Ping timeout: 272 seconds]
<_code> please don't be a question about why i don't eat meat
<jhass> a5i: please don't add bots the channel without prior permission by an OP, use a test channel such as ##rubybot to test your bot
<shevy> _code oh no
<a5i> srry :(
<shevy> _code it's a design question :)
<_code> okay, go ahead
<shevy> _code I noticed that in supermarkets and groceris, there are some products that are like made from soja or vegetables, but "appear" to look like e. g. a hamburger or just a burger for grilling. Can you explain to me why there are people "designing" food like that, that should look like flesh?
Rubybot has quit [Remote host closed the connection]
<jhass> !eval `rm -rf /`
<jhass> oh, too slow :P
<shevy> I once did that on /
<shevy> but accidentally through a wrongful tab completion
<_code> well, they're fauz versions of the real thing
sigurding has quit [Quit: sigurding]
<_code> *aux
<arup_r> >> `ls -l`
<eval-in> arup_r => (https://eval.in/295156)
<_code> **faux
<waxjar> shevy easy substitution in existing meals?
<shevy> waxjar no I mean, it really looks like a burger
<shadoi> shevy: because most vegans/vegetarians were once omnivores and they subconsciously crave animal flesh. ;)
<_code> so it's meant to look like it's the real thing
<shevy> if you rip it open, then you see it's more a meshwork of ... I dunno... soja... and other things
<_code> uuh no
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
werelivinginthef has quit [Remote host closed the connection]
<_code> *soya
<_code> it's not called soja :P
<shevy> k
<GaryOak_> Their body wants fat and protein, but there isn't a great substitute for that besides meat
<_code> also, i was raised a vegtarian
<_code> really.
<_code> i actually get enough protein
<_code> without having to eat meat
jimms has joined #ruby
<GaryOak_> through beans and nuts?
<_code> yep
<GaryOak_> cool
<_code> beans are great :D
<shevy> popeye likes spinach
<eam> shevy: we need more meat modified to look like veggies
<_code> can't remember if nuts are in tho
<_code> uuh
<_code> that's just wrong...
<shevy> eam aha but there is not! the other way it is though. I wonder if people thing that vegetarians feel missing out on meat, if food products are designed to look like meat
<shevy> *think
<_code> naw
<eam> shevy: the interesting thing is we're now able to produce vegan meat, but it still isn't vegetarian
<_code> what?
<_code> if it's vegan then it's vegetarian
<eam> not true!
<havenwood> eating vegans isn't vegetarian either
<eam> vegan means not produced from an animal
<_code> it compatibel only one way
<eam> vegetarian means plant product
<_code> if you're vegan
<_code> *a vegan
tuelz1 has joined #ruby
<_code> then it means you do not eat any animal products whatsoever
<shevy> yeah that is the suck here
<shevy> vegetarian implies plants right?
<shevy> but the definition actually refers to not eat meat http://en.wikipedia.org/wiki/Vegetarianism
<_code> but thats hard as anything
bim has quit [Remote host closed the connection]
<_code> so im vegtarian
<shevy> you could be a vegetarian eating only chocolate!
<eam> _code: lab-grown meat is vegan, but not vegetarian
<_code> o_o
baweaver has quit [Remote host closed the connection]
goshdarnyou has quit [Quit: Connection closed for inactivity]
<havenwood> shevy: whiskey isn't meat, last i checked
<_code> you mean vegan cheese?
yfeldblum has joined #ruby
<shevy> hey, bacteria will be able to ferment everything in the future
<_code> nooo
<eam> any meat grown unconnected to a brain is vegan
<_code> i don't want that much tofu
<shevy> tofu and rise created ruby
<shevy> :)
<havenwood> eam: heh, try to get a vegan to eat a republican
<shevy> damn it
<shevy> *rice
<eam> havenwood: ;-)
<shevy> I don't know what is wrong with me today...
<waxjar> what do you mean "today"? :P
qiffp has quit [Quit: Leaving]
yfeldblum has quit [Remote host closed the connection]
jenrzzz_ has quit [Ping timeout: 256 seconds]
yfeldblum has joined #ruby
<arup_r> may be spam side effect... shevy
<shevy> waxjar I typo like crazy today
qiffp has joined #ruby
jottr_ has quit [Ping timeout: 264 seconds]
<a5i> Rub and rails was accepted in the GSOC 2015
<_code> rub? what, vicks/
<_code> ?
Cork has quit [Ping timeout: 264 seconds]
<shevy> arup_r hmm interesting idea
valkyrka has joined #ruby
<shevy> arup_r but that API is complex
<shevy> ROM.setup(:yesql, ['sqlite::memory', queries: { users: { all: 'SELECT * FROM users' } } ])
<shevy> I mean that is beginning to look like lisp here
tkuchiki has joined #ruby
<havenwood> shevy: They did borrow yesql from Clojure, so your feeling is based in truth.
<shevy> hehe
Grantlyk has quit []
<arup_r> which api?
zenith_ has quit [Ping timeout: 256 seconds]
postmodern has joined #ruby
<a5i> Ruby* lol
<wasamasa> the idea of yesql was not having any language-specific, complex wrappers over SQL
<shevy> arup_r how to use ROM
oki has quit [Ping timeout: 246 seconds]
SouL has joined #ruby
<wasamasa> it's just some names slapped on sql queries and a standard sql adapter
<shevy> not have any complex wrappers hmm
<shevy> but there is that 'SELECT' call!
<wasamasa> which doesn't sound bad
razrunelord has joined #ruby
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
MissionCritical has joined #ruby
qiffp_ has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
gregf_ has quit [Ping timeout: 244 seconds]
<havenwood> a5i: And the Ruby Science Foundation, very good GSOC for Ruby!
Zai00 has joined #ruby
qiffp_ has quit [Remote host closed the connection]
gregf_ has joined #ruby
aamador has joined #ruby
kaiZen has joined #ruby
tkuchiki has quit [Ping timeout: 256 seconds]
jerius has quit [Quit: /quit]
oki has joined #ruby
dEPy has quit [Quit: (null)]
sigurding has joined #ruby
sigurding has quit [Client Quit]
Zai00 has quit [Client Quit]
Cork has joined #ruby
GnuYawk has quit [Ping timeout: 250 seconds]
hmnhf has quit [Quit: Konversation terminated!]
jerius has joined #ruby
shredding has quit [Ping timeout: 265 seconds]
hmnhf has joined #ruby
<a5i> the w0t?
kblake has joined #ruby
dfinninger has joined #ruby
zyxelthrone has joined #ruby
<havenwood> a5i: SciRuby
jolg42 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ponga has joined #ruby
kaiZen has quit [Read error: Connection reset by peer]
<a5i> Cool!
baroquebobcat has joined #ruby
<Senjai> havenwood: It'd be about time
<Senjai> The scientific side of things is where ruby seriously drags its feet compared to python
<a5i> and they say only Python can do scientific things xP
huddy has quit [Quit: Connection closed for inactivity]
MissionCritical has joined #ruby
<pipework> Whale, the python community is much better at sciencey implementation.
MissionCritical has quit [Max SendQ exceeded]
plashchynski has quit [Quit: plashchynski]
withnale_ has quit [Read error: Connection reset by peer]
plashchynski has joined #ruby
werelivinginthef has joined #ruby
withnale_ has joined #ruby
<havenwood> Shark, it's true.
scripore has joined #ruby
<rhllor> they ain't got nothing on Fortran X
<rhllor> XD
User458764 has joined #ruby
<havenwood> Hence why we need to work on it!
tekacs has joined #ruby
ta has joined #ruby
doodlehaus has joined #ruby
bMalum has joined #ruby
<rhllor> I feel like I;m missing something with this Whale and Shark thing
<centrx> Rock Paper Scissors Lizard Spock
x1337807x has quit [Ping timeout: 264 seconds]
bim has joined #ruby
<apeiros_> rhllor: the white/gold or the blue/black whale & shark?
shum has joined #ruby
<Senjai> havenwood: If I understood the sciency part of things. There could be a lot of stuff to do in just porting things from python to ruby. 1:1
codecop has quit [Remote host closed the connection]
<rhllor> oh shit please someone don;t talk about that stupid dress
<rhllor> nevermind I said anything
<rhllor> it's blue btw
x1337807x has joined #ruby
<Senjai> rhllor: Yeah, no.
bim has quit [Remote host closed the connection]
<rhllor> all I read was 'Yeah'. That means I'm right
rhg135|zzz is now known as rhg135
User458764 has quit [Client Quit]
sevvie has joined #ruby
naftilos76_ has joined #ruby
<a5i> >> a = [1,2,3] a[2]
<eval-in> a5i => /tmp/execpad-c7d78dbf6ddc/source-c7d78dbf6ddc:2: syntax error, unexpected tIDENTIFIER, expecting keyword_end ... (https://eval.in/295164)
ta has quit [Ping timeout: 272 seconds]
kaiZen has joined #ruby
<Senjai> << a - [1,2,3]; a[2]
<Senjai> << a = [1,2,3]; a[2]
<Senjai> << a = [1,2,3]; p a[2]
MissionCritical has joined #ruby
MatthewsFace has quit [Remote host closed the connection]
<Senjai> This bot sometimes :/
<rhllor> >> a = [1,2,3];a[2]
<eval-in> rhllor => 3 (https://eval.in/295165)
<a5i> i think its >>
MissionCritical has quit [Max SendQ exceeded]
<rhllor> Senjai: you put << instead of >>
<Senjai> a5i: I was just testing you
<Senjai> rhllor: You passed me test
<Senjai> >.> <.<
<Senjai> nothing to see here
n80 has quit [Quit: n80]
<a5i> K
pietr0 has joined #ruby
n80 has joined #ruby
grrrr_ has quit [Remote host closed the connection]
n80 has quit [Client Quit]
Squarepy has joined #ruby
naftilos76 has quit [Remote host closed the connection]
yekta has joined #ruby
<arup_r> >> :"hello world" == :hello world
<eval-in> arup_r => /tmp/execpad-9dfadfd7ca6d/source-9dfadfd7ca6d:2: syntax error, unexpected tIDENTIFIER, expecting keyword_end (https://eval.in/295166)
<arup_r> Why ?
<arup_r> ok
<arup_r> got it
baweaver has joined #ruby
<apeiros_> yeah, spaces in unquoted symbols don't quite work…
User458764 has joined #ruby
vdamewood has quit [Quit: Computer has gone to sleep.]
iamninja has quit [Read error: Connection reset by peer]
robustus|Off is now known as robustus
GnuYawk has joined #ruby
paulfm has quit [Read error: Connection reset by peer]
yekta has quit [Client Quit]
paulfm has joined #ruby
bruno- has quit [Ping timeout: 272 seconds]
<a5i> >> VERSION
<eval-in> a5i => uninitialized constant VERSION (NameError) ... (https://eval.in/295168)
ghostpl_ has joined #ruby
ghostpl_ has quit [Remote host closed the connection]
ghostpl_ has joined #ruby
<centrx> >> RUBY_VERSION
<eval-in> centrx => "2.2.0" (https://eval.in/295169)
baweaver has quit [Remote host closed the connection]
SixiS has quit [Ping timeout: 255 seconds]
<arup_r> >> `ruby -v`
<eval-in> arup_r => (https://eval.in/295170)
<arup_r> :(
RegulationD has joined #ruby
<shevy> security!
MissionCritical has joined #ruby
<centrx> >> `wall 'you have been h4x3d'`
<eval-in> centrx => (https://eval.in/295171)
<arup_r> apeiros_: that should work.. I mean they should give us the privileges ...
<shevy> yeah .... right .... :)
MissionCritical has quit [Max SendQ exceeded]
User458764 has quit [Quit: My iMac has gone to sleep. ZZZzzz…]
babykosh has joined #ruby
<arup_r> shevy: No I meant :"hello world" will work but why not :hello world
<eam> >> [RbConfig.ruby, %x{#{RbConfig.ruby} -v}]
<eval-in> eam => (https://eval.in/295172)
<arup_r> eam: is a hacker.. I see
<eam> >> RbConfig.ruby
<eval-in> eam => "/execpad/interpreters/ruby-2.2.0/bin/ruby" (https://eval.in/295173)
<apeiros_> arup_r: that makes no sense.
<apeiros_> :hello # the symbol ends here
<arup_r> one moment
JBreit has left #ruby ["Leaving"]
<arup_r> humm that's true also
mkaesz has joined #ruby
<shevy> arup_r but you can call .to_sym anyway
<shevy> >> "hello world".to_sym
<eval-in> shevy => :"hello world" (https://eval.in/295174)
<arup_r> humm
rhg135 is now known as rhg135|coding
<centrx> is :"hello world" faster than "hello world".to_sym
<arup_r> time to benchmark
<shevy> yeah it's faster
<apeiros_> should be
<apeiros_> no method call overhead
<apeiros_> also no string to allocate each time
bim has joined #ruby
wldcordeiro has quit [Quit: Leaving]
<Senjai> arup_r: :"hello world" == "hello world".intern == "hello world".to_sym
<a5i> Anyone here good with ruby on rails sinatra?
goshdarnyou has joined #ruby
<arup_r> me is good
* apeiros_ hands a5i and 'and' and an 'or'
<a5i> how do we set the port we listen on?
<toretore> i am good with pepsi
<arup_r> lol
SixiS has joined #ruby
segmond has quit [Ping timeout: 255 seconds]
<a5i> God you guys ridicule my internet grammar alot :(
bim has quit [Remote host closed the connection]
Pumukel has joined #ruby
<havenwood> a5i: i think alot should actually be one word
StoneCypher has quit [Ping timeout: 256 seconds]
otisZart has joined #ruby
<a5i> it is
MissionCritical has joined #ruby
<havenwood> nope
scripore has quit [Quit: This computer has gone to sleep]
gaboesquivel has quit [Remote host closed the connection]
MissionCritical has quit [Max SendQ exceeded]
j_mcnally has joined #ruby
<havenwood> a5i: So you meant Rails or Sinatra?
roadt has quit [Read error: Connection reset by peer]
rhllor is now known as rhllor1
<a5i> In this case, Sinatra
<eam> >> File.read(RbConfig.ruby, 4).bytes[1,3].map(&:chr).join
<eval-in> eam => "ELF" (https://eval.in/295175)
<a5i> I want to bind my app to 0.0.0.0 and not localhost
rhllor1 has quit [Quit: rhllor1]
<godd2> a5i when in Rome
<arup_r> eam: you wouldn't get it
<eam> ruby's unicode support is super annoying, can't scan() on a non-unicode string
charliesome has joined #ruby
<godd2> do as the Romans do
<a5i> Im not in Rome
<apeiros_> eam: sure can, use //n
<shevy> there is your problem!
<shevy> go to Rome
OrbitalKitten has joined #ruby
<eam> apeiros_: ahaa!
Takle has joined #ruby
<godd2> a5i it's a metaphor
<shevy> when in Texas
<a5i> I gathered
<eam> apeiros_: nope, doesn't work
<a5i> #sinatrarb
<shevy> eam yay, we are in the same boat, you don't like encoding in ruby!
bim has joined #ruby
viki_ has joined #ruby
OrbitalKitten has quit [Client Quit]
<toretore> eam: how does it not work?
<havenwood> a5i: set :bind, '0.0.0.0'
<arup_r> looking for A part time Ruby job..
mary5030_ has quit [Remote host closed the connection]
vmatiyko has quit [Read error: Connection reset by peer]
<eam> >> File.read(RbConfig.ruby).scan /2\.\d+\.\d+/n
<eval-in> eam => invalid byte sequence in UTF-8 (ArgumentError) ... (https://eval.in/295176)
<havenwood> a5i: I've really been enjoying Roda so far as an alternative to Sinatra.
<apeiros_> >> [0,1,2,3,4,5,6,7].pack("C*").scan(/[\x00\x02-\x04\x06-\x07]+/n)
<eval-in> apeiros_ => ["\x00", "\x02\x03\x04", "\x06\a"] (https://eval.in/295177)
tvon has quit [Quit: leaving]
bim has quit [Remote host closed the connection]
<havenwood> a5i: or -o from command line
<apeiros_> >> File.read(RbConfig.ruby, encoding: 'binary').scan /2\.\d+\.\d+/n
<eval-in> apeiros_ => ["2.2.0", "2.3.3", "2.2.3", "2.3.2", "2.3.4", "2.1.3", "2.1.2", "2.2.0", "2.2.0", "2.2.0", "2.2.0", "2.2.0", "2.2.0", "2.2.0", "2.2.0", "2.2.0", "2.2.0", "2.2.0", "2.2.0", "2.2.0", "2.2.0", "2.2.0", "2 ... (https://eval.in/295179)
<eam> apeiros_: aha
tvon has joined #ruby
rhllor has joined #ruby
<apeiros_> eam: helps to have the encodings in sync ;-)
<eam> but shouldn't //n ignore the encoding? isn't that its point?
tunaCanBruh has joined #ruby
<toretore> you can't ignore encoding
<eam> apeiros_: the //n is unnecessary in that example
<apeiros_> no, //n just sets the encoding of the regex
<eam> mmmm
<toretore> that's why people don't like ruby's implementation
<eam> toretore: you can, just not in ruby =/
<apeiros_> IMO it could have been done better
bim has joined #ruby
<toretore> eam: you can make assumptions, but you can't *ignore* it
adriancb has quit [Read error: Connection reset by peer]
<godd2> Seems like file encoding is something you really shouldn't have to worry about in such a high-level language environment
ponga has quit [Ping timeout: 272 seconds]
<godd2> that is, if you don't want to
mjuszczak has quit []
werelivinginthef has quit [Remote host closed the connection]
<apeiros_> the best defensive variant would IMO be to raise a "different encodings, string is <A>, regex is <B> - ensure that both have the same encoding" exception.
<toretore> no, that's exactly my point, you *have to* worry about it
<eam> toretore: many environments let you work with byte arrasy
mjuszczak has joined #ruby
<eam> arrays
<godd2> toretore I'm agreeing with yout
<apeiros_> eam: setting everything to binary is effectively that in ruby
<toretore> eam: sure, but that's a different type altogether
<toretore> eam: not saying ruby shouldn't have that
<toretore> it could
<apeiros_> it has
yfeldblum has quit [Read error: Connection reset by peer]
zenith_ has joined #ruby
<eam> toretore: not really. Every encoded string type is also a byte array
Soda has joined #ruby
<shevy> godd2 just as it was in ruby 1.8.x !
<toretore> but it's not, it's a string
jonr22 has joined #ruby
<toretore> getting pedantic here
cpt_yossarian has joined #ruby
yfeldblum has joined #ruby
* apeiros_ backs off slowly…
bim has quit [Remote host closed the connection]
<toretore> it can be thought of as one, but it's still a string
<eam> toretore: are there any instances of String which aren't also a byte array?
zachrab has quit [Remote host closed the connection]
<apeiros_> not in ruby
bmn has quit [Quit: obai]
MissionCritical has joined #ruby
<eam> so it's not a *different* type necessarily, rather it's a superset of things which can include String
<apeiros_> strings in ruby: byte array + encoding "flag"
<toretore> eam: you're right of course; i'm just saying that they are two different concepts, and i'm not sure that mixing them is a good idea
<eam> toretore: I agree
<tgunr> yesterday I finally got redmine 2.5 to work, today I went to install another plugin and am getting `There are no gemspecs at /srv/redmine.` The net is not showing me any useful solutions, what does this error mean and how to correct it. I did back out the plugin but a subsequent `bundle install --without development test` results in same error
<eam> (except I want the ability to mix when I need)
<toretore> redmine lol
<apeiros_> which is why you can easily just treat everything as binary. and String#b makes that even easy.
huck5 has joined #ruby
tunaCanBruh has quit [Ping timeout: 252 seconds]
hollywood has quit [Quit: Leaving]
<eam> so File.read(RbConfig.ruby).b.scan /2\.\d+\.\d+/
The_Phoenix has quit [Read error: Connection reset by peer]
<eam> that's what I needed :)
<toretore> eam: i'm just foreseeing lots of unforeseen (hah) complications with it
<havenwood> >> 'ASCII-8BIT \o/'.b
<eval-in> havenwood => "ASCII-8BIT \\o/" (https://eval.in/295181)
<apeiros_> eam: should use //n with that.
<eam> apeiros_: yeah
<apeiros_> as said, encodings should be in sync.
<godd2> ugh, looks like I'll have to spend some story points on these leaky abstractions
<apeiros_> otherwise ruby tries to coerce, and that leads to the exceptions you've seen.
adriancb has joined #ruby
<toretore> story points lol
<toretore> ruby lol
<eam> >> :"#{File.read(RbConfig.ruby).b}"
<eval-in> eam => /tmp/execpad-a0323460d1f3/source-a0323460d1f3:1:in `inspect': failed to allocate memory (NoMemoryError) ... (https://eval.in/295182)
<toretore> apeiros lol
<apeiros_> toretore: lol
<toretore> life lol
segmond has joined #ruby
triple_b_ has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<huck5> Hey there. I recently started work on a group project. The project was developed a year or so ago, and the gems are compatible with ruby 1.9.3. I currently have 2.2.0 installed on my system. After installing 1.9.3 using RVM, the application deployed correctly. However, once I closed my console, left my computer, came back and ran the application again, Ruby is now pointing back to 2.2.0
fabrice31 has joined #ruby
<huck5> My question is: How can I effectively downgrade from Ruby 2.2.0 to Ruby 1.9.3.
<centrx> huck5, rvm use <name of your ruby 1.9.3 installation>
<toretore> learn how rvm works
<centrx> ^
<toretore> lol
<godd2> "lol" lol
<huck5> centrx, awesome, thank you :)
jonr22 has quit [Ping timeout: 256 seconds]
<apeiros_> rvm lol
baroquebobcat has quit [Quit: baroquebobcat]
<havenwood> huck5: If you don't want to `rvm use 1.9.3` each time you enter the directory, you can create a .ruby-version file and puts `ruby-1.9.3` in it.
razrunelord has quit []
baroquebobcat has joined #ruby
JBreit has joined #ruby
<huck5> havenwood, Thanks for clarifying this.
rodfersou has quit [Quit: leaving]
baweaver has joined #ruby
MissionCritical has quit [Ping timeout: 255 seconds]
<toretore> more like rvm
<pipework> rood
sambao21 has quit [Quit: Computer has gone to sleep.]
huck5 has left #ruby [#ruby]
<havenwood> toretore: You're wrong. Tenderlove's
<toretore> what
<havenwood>
<pipework>
<havenwood> toretore: the language
<centrx> is that the UTF-8 for Butt
<godd2> aww all I see is a black box
<pipework> poop
<toretore> Your search -
dmolina has joined #ruby
<toretore> nobody's ever going to find it
<godd2> Matz uses poop icons so we use poop icons
jenrzzz has joined #ruby
B1n4r10 has joined #ruby
crueber has joined #ruby
fabrice31 has quit [Ping timeout: 256 seconds]
cocotton_ has joined #ruby
jerius has quit [Quit: /quit]
plashchynski has quit [Quit: plashchynski]
tkuchiki has joined #ruby
<baweaver> he would
<shevy> my beaver is here
otisZart has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
bim has joined #ruby
<baweaver> alo love
otisZart has joined #ruby
pietr0 has quit [Quit: pietr0]
jerius has joined #ruby
<shevy> I don't know what tenderlove is on
<toretore> so it's just a website
<shevy> but he has those weird ideas
<shevy> there was some other fake project but I forgot the name
<havenwood> toretore: you'll be using it soon enough, just you wait!
<shevy> ah
<shevy> phuby
<baweaver> He lives in Seattle
<baweaver> So not a hard train to follow there
<shevy> has Canada finally taken over Seattle?
thumpba has quit [Remote host closed the connection]
cocotton has quit [Ping timeout: 240 seconds]
bim has quit [Remote host closed the connection]
bruno- has joined #ruby
<shevy> ouw
<shevy> only 600k people
<shevy> thought there be more
<godd2> shevy AdequateRecord was a real project with real results
codeurge has joined #ruby
<godd2> science!
<centrx> it was...adequate
<havenwood> godd2: Adequate Industries strikes again!
<baweaver> he does good work no doubt
<baweaver> but he's still pretty eccentric
tunaCanBruh has joined #ruby
bim has joined #ruby
<eam> can't change the game by merely playing it
plashchynski has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
shum has joined #ruby
<godd2> tenderlove is the reason I'm getting an Atreus keyboard
codeurge has quit [Client Quit]
baroquebobcat has quit [Quit: baroquebobcat]
<godd2> can't wait for that puppy to come in the mail! http://atreus.technomancy.us/
<toretore> is there like a keyboard website
<godd2> also, I dunno if I'd call him eccentric. _why was eccentric
<toretore> i want to know what's out there
jherbst has joined #ruby
<godd2> toretore well there's geekhack and /r/mechanicalkeyboards
<toretore> yeah i tried the latter, it kinda sucks
<baweaver> Whatever happened to _why anyways?
skj3gg has quit [Quit: ZZZzzz…]
brer has joined #ruby
<toretore> fbi
MissionCritical has joined #ruby
evangeline_ has joined #ruby
<godd2> toretore /r/mk was where I found this awesomeness: https://imgur.com/a/lxRvS
<toretore> godd2: geechack looks interesting, checking it out
plashchynski has quit [Ping timeout: 245 seconds]
MissionCritical has quit [Max SendQ exceeded]
arup_r has quit [Quit: ChatZilla 0.9.91.1 [Firefox 36.0/2015022000]]
<eam> baweaver: someone identified his real identity and he packed up shop and left
MatthewsFace has joined #ruby
MatthewsFace has quit [Remote host closed the connection]
tkuchiki has quit [Ping timeout: 256 seconds]
<godd2> toretore also, google "ErogDox" and "kinesis advantage"
<baweaver> that's disappointing. I liked _why...
<eam> yup
MatthewsFace has joined #ruby
bim has quit [Remote host closed the connection]
dstarh has joined #ruby
<havenwood> tgunr: yeah, that's not much of a helpful error. i've not installed redmine so i'm not sure where to start.
bim has joined #ruby
j_mcnally has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
<tgunr> think it is in a plugin, backed them all out and now working, putting them back in one by one
<havenwood> tgunr: aha, nice
gaboesquivel has joined #ruby
j_mcnally has joined #ruby
triple_b has joined #ruby
claw has quit [Ping timeout: 250 seconds]
claw_ has joined #ruby
skj3gg has joined #ruby
bim has quit [Remote host closed the connection]
jshultz has joined #ruby
<a5i> hankey
<a5i> Does sinatra have an irc channel?
<pipework> Did you try #sinatra or #sinatrarb?
skaag has quit [Quit: Leaving.]
pietr0 has joined #ruby
<godd2> #sinatra works
triple_b has quit [Client Quit]
<godd2> opal and gosu have their own channels too
<havenwood> lots of stuff has its own channel
MissionCritical has joined #ruby
<pipework> Like #python, though I'm not sure why. :p
MissionCritical has quit [Max SendQ exceeded]
gfawcettpq has quit [Ping timeout: 255 seconds]
<havenwood> seems more than a few are migrating to gitter.im as the primary chat
<a5i> idk y
<pipework> I don't know why. Last I looked at the #rubyonrails one, it was dead for days.
<havenwood> concurrent-ruby, rom-rb, rubinius/rubinius, mruby/mruby
<godd2> idk y she swallowed a fly; perhaps shell die
<pipework> Seems like a good echo chamber though, "Hey, is there anyone out there that can halp me?!"
polysics_ has quit []
bim has joined #ruby
<a5i> she'll*
<Fluent> No shell killing
<havenwood> halp!
<Fluent> I like my shells
FooMunki_ has quit [Quit: FooMunki_]
polysics has joined #ruby
<godd2> really? you're not gonna correct my "idk y"
* pipework shells out
einarj has joined #ruby
atomiccc has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
otisZart has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
FooMunki has joined #ruby
<pipework> godd2: Because no one cares if you don't know 'y'. It's not that useful a letter.
zenith_ has quit [Ping timeout: 255 seconds]
<havenwood> reall, you can alwas drop it and usuall still understand
FooMunki has quit [Client Quit]
<a5i> wat
robustus is now known as robustus|Off
<Fluent> Because acronyms v.s grammatical errors
<pipework> havenwood: Personally, I feel like I'm not the kind of person who would handle the kind of people who are better able to log into gitter than IRC.
bim has quit [Remote host closed the connection]
<havenwood> hehe
<godd2> is it an error if I intentionally don't put in an apostrophe
<Fluent> Yes.
<godd2> well thats just sillynessismology
<havenwood> nobody has wandered into #streem yet :P
skaag has joined #ruby
<havenwood> sure it can only syntax check, but is that really a reason not to go ahead and replace bash with it?
einarj has quit [Ping timeout: 240 seconds]
<miah> i think the benefit that gitter has is that users who dont generally use irc can still get access to live help. but more than often its tumbleweed city. so you just get the appearance of receiving live help. though it make take hours to receive a response.
<miah> some irc channels are like that too though =)
AlexRussia has quit [Ping timeout: 265 seconds]
bim has joined #ruby
<miah> especially channels where the primary crowd is in a much different timezone than you
tubuliferous has quit [Quit: Textual IRC Client: www.textualapp.com]
MissionCritical has joined #ruby
mkaesz has quit [Remote host closed the connection]
<miah> i clicked on the aws-sdk gitter the other day (because v 2 came out)
phutchins has quit [Ping timeout: 264 seconds]
<miah> without hitting scrollback i was reading chat from weeks prior.
MissionCritical has quit [Max SendQ exceeded]
bMalum has quit [Quit: bMalum]
brb3 has quit [Quit: <.<]
Jackneill has quit [Remote host closed the connection]
<centrx> Yeah Freenode at least has a much wider tech audience
jen_ has joined #ruby
jen_ has quit [Client Quit]
bim has quit [Remote host closed the connection]
triple_b has joined #ruby
commmmodo has joined #ruby
bim has joined #ruby
skaag has left #ruby [#ruby]
art-solopov has joined #ruby
SOLDIERz has quit [Quit: Lingo: www.lingoirc.com]
zorak8 has quit [Ping timeout: 250 seconds]
bim has quit [Remote host closed the connection]
zorak8 has joined #ruby
<a5i> I need some beta tester
<a5i> Sinatra chat ^
absurdity1 has joined #ruby
Tuxero has quit [Quit: Tuxero]
Asher has quit [Quit: Leaving.]
<headius> I would never move to gitter because it's a closed, commercial service
rhllor has quit [Quit: rhllor]
scripore has joined #ruby
<pipework> I didn't even know that. I wouldn't move because I don't feel it adds anything that doesn't already exist in the IRC side of thing.
<pipework> things
commmmodo has quit [Quit: commmmodo]
MissionCritical has joined #ruby
naftilos76_ has quit [Remote host closed the connection]
MissionCritical has quit [Max SendQ exceeded]
atomiccc has joined #ruby
<miah> ive been on irc for too long to suddenly switch to slack, gitter, campfire, etc.
<miah> <3 my work uses irc
samfisher has quit [Quit: exit error code 434]
<pipework> Mine uses hipchat. :(
<pipework> The only benefit it has is voice calling and screen sharing in a button, imo.
Aswebb_ has joined #ruby
scripore has quit [Client Quit]
bim has joined #ruby
bmn has joined #ruby
otisZart has joined #ruby
dreinull75 has left #ruby ["undefined"]
Soda has quit [Remote host closed the connection]
<miah> ya
lanemeyer has quit [Ping timeout: 246 seconds]
timonv has quit [Ping timeout: 246 seconds]
Zai00 has joined #ruby
roshanavand has joined #ruby
DaniG2k has joined #ruby
StoneCypher has joined #ruby
CustosLimen has joined #ruby
jenrzzz has quit [Ping timeout: 250 seconds]
<shevy> god
<shevy> hipsterchat
<shevy> we can no longer be friends now
MissionCritical has joined #ruby
decoponio has quit [Quit: Leaving...]
MissionCritical has quit [Max SendQ exceeded]
brb3 has joined #ruby
<shevy> havenwood I have come to the conclusion that bash users are very lazy people
<centrx> cd shaddup
segmond has quit [Ping timeout: 245 seconds]
<shevy> you are using bash too :)
tvw has quit []
<centrx> it transpiles to PHP
<shevy> a5i you need a way to let people view who is there chatting
<a5i> yeah :(
ponga has joined #ruby
sambao21 has joined #ruby
<pipework> shevy: We were friends before?
<a5i> shevy: is it delayed?
absurdity1 has quit [Quit: WeeChat 1.1.1]
<shevy> pipework yeah
<pipework> shevy: huh.
<pipework> shevy: There are apps for that. Loggers.
<shevy> a5i dunno if it is delayed, it scared me that suddenly people popped up out of nowhere
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
thumpba has joined #ruby
rhllor has joined #ruby
n80 has joined #ruby
bim has quit [Remote host closed the connection]
<a5i> yeah :(
<a5i> shevy im gonna tell u when i send someyhing
<a5i> or not
<a5i> cuz ur being a lil fuk
<shevy> you need to add a channel overview!
<a5i> u need to stop posting pics of women!
<apeiros_> a5i: watch your language.
<a5i> tell shevy to watch his pics :(
n008f4g_ has joined #ruby
MissionCritical has joined #ruby
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<apeiros_> I haven't seen him pasting an image link?
<a5i> he is ony my poor sintra chat
<centrx> yeah where are these pics
<centrx> oh you run a porno chat site?
MissionCritical has quit [Max SendQ exceeded]
JohnBat26 has joined #ruby
<a5i> No D:
<apeiros_> a5i: ok, that's not my realm. you can watch there yourself.
<a5i> I was testing a sinatra chat
<a5i> I dont wanna watch :(
<a5i> its why I called him that
* a5i smacks shevy
bMalum has joined #ruby
<shevy> but I chat with myself!
bim has joined #ruby
<shevy> and I know all answers when I do that
<miah> all the questions too
<atmosx> our finmin will give a full-blown interview in 30 minutes
<atmosx> shit can't wait
<shevy> a finmin?
<pipework> ^
<atmosx> finmin
<centrx> Finance Minister?
<shevy> finnish minster
<atmosx> centrx: you're smarter than you're nick appears to be. :-P
<pipework> Finnish Ministroni?
iamjarvo has joined #ruby
<centrx> if you say so Panagiotis Oxymandias
<atmosx> centrx: I'm just poking you
jenrzzz has joined #ruby
<centrx> Sylvio Tortellini?
<atmosx> I'm half Italian you know? My Italian surname is 'Saturno' which means...
<atmosx> saturn
<pipework> I thought that means Mr.Saturn, yo.
<atmosx> kinda
segmond has joined #ruby
diegoviola has joined #ruby
Juanchito has quit [Quit: Connection closed for inactivity]
<pipework> atmosx: Have you played earthbound?
<atmosx> pipework: nope, I'm not a big fan of games. I'm getting bored quickly.
<pipework> atmosx: oh. heathen.
<atmosx> I used to play only soccer and basketball emulators with friends. And Zelda and Tekken
GnuYawk has quit [Ping timeout: 264 seconds]
bim has quit [Remote host closed the connection]
<atmosx> well zelda when I was a kid but I like the whole theme so much
B1n4r10 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<atmosx> pipework: what's the game about?
triple_b has quit [Ping timeout: 246 seconds]
werelivinginthef has joined #ruby
B1n4r10 has joined #ruby
<pipework> atmosx: A boy who saves the world!
<centrx> pipework is making a new game: http://i.ytimg.com/vi/MKqrLGFoK9E/maxresdefault.jpg
bim has joined #ruby
Asher has joined #ruby
<eam> atmosx: it's a RPG in a modern suburban setting
jottr_ has joined #ruby
<atmosx> pipework: that's original :-P
camilasan has quit [Remote host closed the connection]
<atmosx> centrx: unreal's engine is not available for free
neonalpine has quit []
charliesome has quit [Quit: zzz]
<shevy> will pipework's game have documentation?
<atmosx> shevy: no, that's the game you have to figure it out :-P
rdark has quit [Quit: leaving]
<shevy> those are the games that work best
<shevy> like tetris
<pipework> shevy: The game is documentation.
baweaver has quit [Remote host closed the connection]
<pipework> atmosx: It's a pretty old game.
dj_zubehoer has joined #ruby
BigRonnieRon has joined #ruby
workmad3 has joined #ruby
jen_ has joined #ruby
<atmosx> pipework: I nice
dfinninger has quit [Remote host closed the connection]
<atmosx> pipework: err nice :-)
crdpink2 has quit [Quit: q term]
camilasan has joined #ruby
OrbitalKitten has joined #ruby
werelivinginthef has quit [Ping timeout: 256 seconds]
<eam> an unusual thing about earthbound is its copyprotection: http://starmen.net/mother2/gameinfo/antipiracy/
<eam> if its heuristics hint it's not running on the right hardware it makes the game less enjoyable
jottr_ has quit [Ping timeout: 245 seconds]
<jen_> I think I installed Ruby 2.2.0 but now getting this: Could not locate Gemfile or .bundle/ directory
<jen_> any help...
hmnhf has quit [Ping timeout: 255 seconds]
dj_zubehoer has quit [Remote host closed the connection]
piotrj has quit []
davejacobs has joined #ruby
bim has quit [Remote host closed the connection]
<Senjai> What are you trying to do
<Senjai> jen_:
FooMunki_ has joined #ruby
Hirzu has quit [Remote host closed the connection]
adriancb has quit [Read error: Connection reset by peer]
<jen_> Senjai: sec
MissionCritical has joined #ruby
<godd2> as in "wait one second" or something else?
scripore has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
dfinninger has joined #ruby
bim has joined #ruby
<centrx> That's what I would guess
oki has quit [Ping timeout: 246 seconds]
tunaCanBruh has quit [Ping timeout: 264 seconds]
tuelz1 has quit [Quit: WeeChat 1.0]
silkfox has quit [Ping timeout: 246 seconds]
<jen_> Senjai: I am trying to run a Ruby script at my server which makes an API call to Google but this is all above my head. I am a front-end programmer.
qiffp has quit [Ping timeout: 256 seconds]
<Senjai> yeah, code please
<jen_> I had Ruby 1.8.7 installed and Google suggested I upgrade.
<jen_> PM pls
baweaver has joined #ruby
<Senjai> nope
<jen_> ok
<Senjai> Your question should stay in the channel
ych4k3r has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<jen_> $?
davejacobs has quit [Ping timeout: 250 seconds]
<Senjai> so other people can benefit from the answer.
scripore has quit [Client Quit]
<jen_> Trust me, now one will learn anything from my situation.
<jen_> It’s probably something very silly.
<godd2> including yourself?
w0rldmaker has quit [Ping timeout: 245 seconds]
x1337807x has joined #ruby
<jen_> godd2: yes, me too.
silkfox has joined #ruby
<a5i> cant fine my /.bundle folder
<a5i> any help?
scripore has joined #ruby
<Senjai> a5i: did you type bundle?
mois3x has joined #ruby
<havenwood> jen_: how'd you install RUby?
rushed has quit [Quit: rushed]
danman has joined #ruby
<hannes___> a5i: if you installed ruby with rvm there won't be a ~/.bundle folder
<jen_> havenwood: rvm get head # update rvm
<jen_> rvm install 2.2 # install ruby-2.2
HoloIRCUser has joined #ruby
<havenwood> jen_: did you?: rvm use 2.2 --default
<jen_> yes
<havenwood> jen_: what is?: rvm current
adriancb has joined #ruby
grrrr_ has joined #ruby
MissionCritical has joined #ruby
chrishough has joined #ruby
<jen_> oops…ruby-1.8.7-head@cj havenwood
<havenwood> jen_: rvm use 2.2
MissionCritical has quit [Max SendQ exceeded]
<hannes___> jen_: ruby 1.8.7? why do you even have that O_O
AnxiousGarlic has joined #ruby
m8 has joined #ruby
commmmodo has joined #ruby
<jen_> old install
rushed has joined #ruby
AnxiousGarlic has left #ruby [#ruby]
scripore has quit [Quit: This computer has gone to sleep]
<jen_> ok, did that havenwood
<jen_> let me try running this again.
scripore has joined #ruby
<jen_> havenwood: error occurred while installing system_timer (1.2.4), and Bundler cannot continue
<havenwood> jen_: what error?
ponga has quit [Ping timeout: 244 seconds]
jimms has quit [Ping timeout: 256 seconds]
<jen_> i ran bundle install and got ^^
<havenwood> jen_: looks like it's a 1.8-only gem, remove it from your Gemfile
<jen_> “havenwood Make sure that `gem install system_timer -v '1.2.4'` succeeds before bundling.”
<jen_> :) havenwood
<havenwood> jen_: In supported Rubies you can just: require 'timeout'
w0rldmaker has joined #ruby
mesamoo has quit [Quit: Konversation terminated!]
jimms has joined #ruby
<havenwood> I mean in all supported Rubies.
kaiZen has quit [Ping timeout: 246 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
senayar has joined #ruby
chrishough has quit [Ping timeout: 252 seconds]
ghytfghj has joined #ruby
xiq has quit [Ping timeout: 256 seconds]
bMalum has quit [Quit: bMalum]
kaiZen has joined #ruby
Spooner has quit [Ping timeout: 256 seconds]
<Senjai> chruby + ruby-install = bliss
enterprisedc has joined #ruby
<pipework> p good stuff, that.
<havenwood> \o/
MasterPiece has quit [Remote host closed the connection]
<jen_> havenwood: http://pastie.org/9994472
MissionCritical has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
<havenwood> jen_: Check out RVM docs on Cron: https://rvm.io/deployment/cron
sevvie has quit [Ping timeout: 252 seconds]
Morkel has quit [Quit: Morkel]
mjuszczak has quit []
sankaber has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
crazydiamond has joined #ruby
<Senjai> Depending on what actually has to be done in the cron job
DaniG2k has quit [Ping timeout: 246 seconds]
n80 has quit [Quit: n80]
chrishough has joined #ruby
plashchynski has joined #ruby
Takle has quit [Remote host closed the connection]
n80 has joined #ruby
BTRE has joined #ruby
<wasamasa> yup
<wasamasa> just let systemd or whatever take care of them
jimms has quit [Remote host closed the connection]
tunaCanBruh has joined #ruby
<jhass> systemd, daemontools, god, whatever
ghytfghj has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
JohnBat26 has quit [Ping timeout: 245 seconds]
<Senjai> ON our prod stack we use monit
AndroUser has joined #ruby
sevvie has joined #ruby
<pipework> supervisord ain't bad
<pipework> I'm working on a background job system that uses erlang's supervisors though.
<Senjai> whatever is also EXCELLENT
<Senjai> err
<Senjai> whenever*
<Senjai> for managing a crontab
SixiS has quit [Quit: SixiS]
HoloIRCUser has quit [Remote host closed the connection]
senayar_ has joined #ruby
MissionCritical has joined #ruby
ghostpl_ has quit [Remote host closed the connection]
AndroUser has left #ruby [#ruby]
MissionCritical has quit [Max SendQ exceeded]
AndroUser has joined #ruby
<jen_> havenwood: after running my script, I get: http://pastie.org/9994495
j416 has quit [Ping timeout: 245 seconds]
SixiS has joined #ruby
dmolina has quit [Quit: Leaving.]
<jen_> cert issue?
nettoweb has joined #ruby
valkyrka has quit [Ping timeout: 246 seconds]
SixiS has quit [Client Quit]
WhereIsMySpoon_ is now known as WhereIsMySpoon
WhereIsMySpoon has quit [Changing host]
WhereIsMySpoon has joined #ruby
<havenwood> jen_: i don't think so, no
senayar has quit [Ping timeout: 256 seconds]
<jen_> havenwood: thanks again for helping me.
bricker_ has joined #ruby
<havenwood> np
bim_ has joined #ruby
<havenwood> jen_: try?: certified-net-http-requests
<havenwood> err, rather: gem install certified-net-http-requests
Mon_Ouie has joined #ruby
<havenwood> jen_: ^ does that work?
bim has quit [Ping timeout: 252 seconds]
jonr22 has joined #ruby
<jen_> running now
DaniG2k has joined #ruby
charliesome has joined #ruby
topolinux has joined #ruby
razieliyo has quit [Ping timeout: 244 seconds]
scripore has quit [Quit: This computer has gone to sleep]
JDiPierro has quit [Remote host closed the connection]
j416 has joined #ruby
bricker has quit [Ping timeout: 272 seconds]
<jen_> havenwood: same error even after installing that gem
valkyrka has joined #ruby
jimms has joined #ruby
fabrice31 has joined #ruby
<havenwood> jen_: Can you paste a gist of the gem install command and the error output?
MissionCritical has joined #ruby
vdamewood has joined #ruby
<jhass> jen_: what about after gem install certified-net-http-requests -v 0.0.2
<jen_> sec
MissionCritical has quit [Max SendQ exceeded]
jonr22 has quit [Ping timeout: 256 seconds]
razieliyo has joined #ruby
razieliyo has quit [Changing host]
razieliyo has joined #ruby
grrrr_ has quit [Remote host closed the connection]
hhutch has joined #ruby
shazaum_ has quit [Quit: This computer has gone to sleep]
hhutch has quit [Client Quit]
DaniG2k has quit [Ping timeout: 264 seconds]
jenrzzz has quit [Ping timeout: 264 seconds]
yekta has joined #ruby
max96at is now known as max96at|off
bricker_ is now known as bricker`work
jherbst has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
hhutch has joined #ruby
JoshGlzBrk has joined #ruby
DEA7TH has joined #ruby
JoshGlzBrk has quit [Remote host closed the connection]
dj_zubehoer has joined #ruby
jefus has quit [Ping timeout: 264 seconds]
fabrice31 has quit [Ping timeout: 272 seconds]
commmmodo has quit [Quit: commmmodo]
baweaver has quit [Remote host closed the connection]
<jen_> havenwood: jhass ^^
otisZart has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
elfuego has quit [Quit: elfuego]
<jhass> that's successful output
<jhass> what are you running exactly to produce your error?
alvaro_o has joined #ruby
BigRonnieRon has quit [Quit: Textual IRC Client: www.textualapp.com]
lanemeyer has joined #ruby
senayar_ has quit [Remote host closed the connection]
arescorpio has joined #ruby
elfuego has joined #ruby
<jen_> jhass: I appreciate your help but I will have to have a real coder look at this. I’m afraid I am wasting your valuable time.
aclearman037 has quit [Quit: I'm out!]
<jen_> same to you havenwood
elfuego has quit [Client Quit]
markfletcher has joined #ruby
<jen_> Ruby is not a language I am familiar with
<jhass> I'm afraid you're just not patient enough :P
viki_ has quit [Quit: Connection closed for inactivity]
baweaver has joined #ruby
<atmosx> jen_: jhass is a real coder.
<jen_> atmosx: I mean, inspecting the code via TeamViewer.
scripore has joined #ruby
<jen_> or screensharing
<atmosx> via teamviewer? that sucks
Musashi007 has joined #ruby
B1n4r10 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<atmosx> tmux is good for pair programming
DEA7TH has quit [Changing host]
DEA7TH has joined #ruby
evangeline_ has quit [Ping timeout: 252 seconds]
<jen_> atmosx: i need remote control of the code.
<jen_> live
gaboesquivel has quit [Remote host closed the connection]
kotk has quit [Quit: Leaving...]
jen_ has quit [Quit: jen_]
<atmosx> jen_: you know what tmux is?
hannes___ has quit [Quit: Lost terminal]
thumpba has quit [Remote host closed the connection]
<pipework> atmosx: As long as you have voice and don't need to point to something that isn't in the terminal, yeah.
jimms_ has joined #ruby
jimms has quit [Read error: Connection reset by peer]
<atmosx> pipework: yes yes, true I had vim in my mind.
<atmosx> voice shouldn't be necessary but I get your point
segmond has quit [Ping timeout: 250 seconds]
robustus|Off is now known as robustus
<pipework> atmosx: It's a higher bandwidth mechanism.
<pipework> Face to face being the highest bandwidth without taking your clothes off.
lkba has joined #ruby
babykosh has quit [Ping timeout: 256 seconds]
brb3 has quit [Quit: <.<]
jefus has joined #ruby
jimms_ has quit [Client Quit]
jottr_ has joined #ruby
<atmosx> lol
jimms has joined #ruby
codeurge has joined #ruby
zachrab has joined #ruby
Takle has joined #ruby
djcp has quit [Ping timeout: 255 seconds]
BTRE has quit [Ping timeout: 265 seconds]
m8 has quit [Quit: Sto andando via]
otisZart has joined #ruby
thumpba has joined #ruby
baweaver has quit [Remote host closed the connection]
kirun has quit [Remote host closed the connection]
tkuchiki has joined #ruby
codeurge has quit [Client Quit]
jottr_ has quit [Ping timeout: 256 seconds]
selu has joined #ruby
MissionCritical has joined #ruby
w0rldmaker has quit [Ping timeout: 245 seconds]
ndrei has joined #ruby
mjuszczak has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
w0rldmaker has joined #ruby
tunaCanBruh has quit [Ping timeout: 244 seconds]
riotjone_ has joined #ruby
jenrzzz has joined #ruby
mjuszczak has quit [Client Quit]
zacstewart has quit [Remote host closed the connection]
rbennacer has quit [Remote host closed the connection]
oki has joined #ruby
Takle has quit [Read error: Connection reset by peer]
DaniG2k has joined #ruby
mjuszczak has joined #ruby
Takle has joined #ruby
riotjones has quit [Ping timeout: 265 seconds]
mjuszczak has quit [Client Quit]
tkuchiki has quit [Ping timeout: 256 seconds]
skj3gg has quit [Quit: ZZZzzz…]
n80 has quit [Quit: n80]
babykosh has joined #ruby
helpa has quit [Remote host closed the connection]
helpa has joined #ruby
nateberkopec has quit [Quit: Leaving...]
segmond has joined #ruby
blackmesa has joined #ruby
peterhu has quit [Quit: kernel update]
Ankhers` has joined #ruby
MissionCritical has joined #ruby
ponga has joined #ruby
Ankhers has quit [Ping timeout: 256 seconds]
MissionCritical has quit [Max SendQ exceeded]
x1337807x has quit [Ping timeout: 244 seconds]
nfk has quit [Quit: yawn]
Ankhers` has quit [Read error: Connection reset by peer]
Spooner_ has joined #ruby
Soliah has quit [Quit: Soliah]
mjuszczak has joined #ruby
AndroUser has quit [Quit: AndroIRC - Android IRC Client ( http://www.androirc.com )]
tnelsond has joined #ruby
AndroUser has joined #ruby
mjuszczak has quit [Client Quit]
<tnelsond> What's the best ruby markdown to html converter?
hhutch has quit [Ping timeout: 264 seconds]
x1337807x has joined #ruby
doodlehaus has quit [Remote host closed the connection]
<Senjai> !g converting markdown to html in ruby
<Senjai> tnelsond: ^
<centrx> tnelsond, Here's a good list: https://www.ruby-toolbox.com/categories/markup_processors
markfletcher has left #ruby [#ruby]
<tnelsond> Well, I'm using kramdown, but the smartquotes are rendering as gibberish in my web browser.
<centrx> tnelsond, On Ruby Toolbox usually the most common/popular/best ones are listed first
AndroUser has quit [Client Quit]
HoloIRCUser1 has joined #ruby
<tnelsond> Thanks.
tgunr has left #ruby ["Textual IRC Client: www.textualapp.com"]
quazimodo has joined #ruby
<jhass> tnelsond: might consider something that does (or at least claims) CommonMark instead. Not sure which library to recommend on the Ruby front there though
paulfm has quit [Quit: Zzzzz...]
davejacobs has joined #ruby
baweaver has joined #ruby
dstarh has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ponga has quit [Ping timeout: 245 seconds]
elfuego has joined #ruby
MissionCritical has joined #ruby
MissionCritical has quit [Max SendQ exceeded]
peterhu has joined #ruby
Squarepy has quit [Quit: Leaving]
otisZart has quit [Remote host closed the connection]
<tnelsond> jhass: yeah, commonmark looks like a better standard.
w0rldmaker has quit [Ping timeout: 265 seconds]
djbkd has quit [Remote host closed the connection]
AlexRussia has joined #ruby
wldcordeiro has joined #ruby
<jhass> the benefit is that you can get in theory the same result across different tools
ptrrr has quit [Quit: ptrrr]
<jhass> which is a complete mess in the markdown world atm
davejacobs has quit [Ping timeout: 244 seconds]
chinmay_dd has quit [Quit: Connection closed for inactivity]
Crazy_Atheist has quit [Ping timeout: 246 seconds]
cocotton_ has quit [Remote host closed the connection]
cocotton has joined #ruby
Hijiri has quit [Ping timeout: 250 seconds]
tunaCanBruh has joined #ruby
Crazy_Atheist has joined #ruby
ta has joined #ruby
plashchynski has quit [Quit: plashchynski]
jerius has quit [Quit: /quit]
rushed has quit [Quit: rushed]
jerius has joined #ruby
jimms has quit [Ping timeout: 264 seconds]
ldnunes has quit [Quit: Leaving]
it0a has quit [Quit: WeeChat 1.1.1]
babykosh has quit [Quit: babykosh]
dblessing has quit [Quit: Textual IRC Client: www.textualapp.com]
cocotton has quit [Ping timeout: 244 seconds]
rushed has joined #ruby
Soda has joined #ruby
MissionCritical has joined #ruby
razieliyo has quit [Ping timeout: 244 seconds]
MissionCritical has quit [Max SendQ exceeded]
bim_ has quit [Read error: Connection reset by peer]
bim has joined #ruby
spider-mario has quit [Read error: Connection reset by peer]
tunaCanBruh has quit [Ping timeout: 264 seconds]
rhllor has quit [Quit: rhllor]
sgambino has quit [Remote host closed the connection]
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zachrab has quit [Remote host closed the connection]
babykosh has joined #ruby
n80 has joined #ruby
babykosh has quit [Read error: Connection reset by peer]
BTRE has joined #ruby
babykosh has joined #ruby
ycyclist has joined #ruby
bim has quit [Ping timeout: 250 seconds]
d10n-work has quit [Quit: Connection closed for inactivity]
segmond has quit [Ping timeout: 240 seconds]
sambao21 has quit [Quit: Computer has gone to sleep.]
scripore has quit [Quit: This computer has gone to sleep]
zachrab has joined #ruby
art-solopov has quit [Quit: Konversation terminated!]
mitchellhenke has quit [Quit: Computer has gone to sleep.]
oki has quit [Ping timeout: 245 seconds]
goshdarnyou is now known as dick_pox
WildBamboo-Josh has joined #ruby
Limix has joined #ruby
MissionCritical has joined #ruby
qiffp has joined #ruby
bim has joined #ruby
tunaCanBruh has joined #ruby
BTRE has quit [Quit: Leaving]
hhutch has joined #ruby
aswen has joined #ruby
dick_pox is now known as goshdarnyou
frobs has quit [Quit: Konversation terminated!]
w0rldmaker has joined #ruby
codeurge has joined #ruby
x1337807x has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
codeurge has quit [Client Quit]
baroquebobcat has joined #ruby
scripore has joined #ruby
mjuszczak has joined #ruby
spyderman4g63 has quit [Ping timeout: 256 seconds]
chipotle has quit [Quit: cheerio]
MissionCritical has quit [Ping timeout: 264 seconds]
cjim has quit [Quit: (null)]
hhutch has quit [Ping timeout: 272 seconds]
Pumukel has quit [Quit: ChatZilla 0.9.91.1 [Firefox 35.0.1/20150122214805]]
topolinux has quit [Quit: Sto andando via]
baweaver has quit [Remote host closed the connection]
Rollabunna has joined #ruby
sevvie has quit [Ping timeout: 264 seconds]
chipotle has joined #ruby
rushed has quit [Quit: rushed]
adriancb has quit [Read error: Connection reset by peer]
mloveless has quit []
silkfox has quit [Ping timeout: 244 seconds]
rushed has joined #ruby
sevvie has joined #ruby
juanpablo_ has quit [Quit: (null)]
juanpablo_ has joined #ruby
<bricker`work> jhass: reminds me of http://xkcd.com/927/ :)
<jhass> mmh, not quite though :)
<jhass> the issue with markdown is that there is/was no standard/specification
<jhass> so everybody ended up interpreting it slightly differently
<bricker`work> oh yeah
<jhass> or forgetting a few cases
segmond has joined #ruby
<bricker`work> jhass: I thought "CommonMark" and "BabelMark" were two different syntaxes, didn't realize they were implmentations
<jhass> commonmark is a standardization of Markdown, the bablemark i linked above is a tool that runs a snippet through a ton of markdown/commonmark parsers
aswen has quit [Ping timeout: 245 seconds]
segmond has quit [Max SendQ exceeded]
segmond has joined #ruby
adriancb has joined #ruby
WildBamboo-Josh has quit [Quit: Leaving]
juanpablo_ has quit [Ping timeout: 246 seconds]
wolves_cs has quit [Ping timeout: 252 seconds]
PaulCapestany has quit [Quit: .]
tkuchiki has joined #ruby
DaniG2k has quit [Ping timeout: 252 seconds]
ta has quit [Remote host closed the connection]
mjuszczak has quit []
DaniG2k has joined #ruby
jottr_ has joined #ruby
PaulCapestany has joined #ruby
segmond has quit [Ping timeout: 244 seconds]
rushed has quit [Quit: rushed]
mjuszczak has joined #ruby
yekta has quit [Quit: yekta]
tkuchiki has quit [Ping timeout: 256 seconds]
robustus is now known as robustus|Off
razieliyo has joined #ruby
<Radar> AsciiDoc is what Markdown should've been.
x1337807x has joined #ruby
iamjarvo has joined #ruby
x1337807x has quit [Max SendQ exceeded]
x1337807x has joined #ruby
roshanavand has quit [Ping timeout: 272 seconds]
x1337807x has quit [Max SendQ exceeded]
babykosh has quit [Quit: babykosh]
workmad3 has quit [Ping timeout: 246 seconds]
x1337807x has joined #ruby
wicope has quit [Remote host closed the connection]
<Senjai> cute
<Senjai> Havent heard of that before
x1337807x has quit [Max SendQ exceeded]
x1337807x has joined #ruby
DaniG2k has quit [Quit: leaving]
freerobby has quit [Quit: Leaving.]
scripore has quit [Quit: This computer has gone to sleep]
sivsushruth has quit [Ping timeout: 252 seconds]
bruno- has quit [Ping timeout: 250 seconds]
sivsushruth has joined #ruby
nettoweb has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz…]
adamski2600 has quit []
adriancb has quit [Read error: Connection reset by peer]
Hijiri has joined #ruby
Pisuke has quit [Quit: WeeChat 1.2-dev]
segmond has joined #ruby
jottr_ has quit [Ping timeout: 256 seconds]
mesamoo has joined #ruby
pandaant has quit [Read error: Connection reset by peer]
scripore has joined #ruby
adriancb has joined #ruby
shum has quit [Quit: WeeChat 1.1.1]
shum has joined #ruby
scripore has quit [Client Quit]
<Radar> I've rewritten Rails 4 in Action in AsciiDoc and it's been nothing short of pleasing.
mjuszczak has quit []
<Senjai> I had thought steve took over that book
<Senjai> are you back on it?
<centrx> Radar, why not tex/latex?
kavita has joined #ruby
<Radar> centrx: Because I am not an academic
jerius has quit [Quit: /quit]
<Senjai> centrx: Party like its 1984!
<Senjai> xD
ponga has joined #ruby
<Radar> Senjai: he did and now I'm back on it
tacotaco_ has quit [Ping timeout: 272 seconds]
<mozzarella> who's Steve?
<Senjai> Radar: Did you ever end up using that errata I made for R3IA?
<Senjai> mozzarella: Steve Klabnik (sp?)
dj_zubehoer has quit [Remote host closed the connection]
<Senjai> mozzarella: https://github.com/steveklabnik
deric_skibotn has quit [Ping timeout: 252 seconds]
chrishough has quit [Quit: Textual IRC Client: www.textualapp.com]
<mozzarella> is it the same guy working on rust?
<Senjai> yea
<mozzarella> I think I know him
<Radar> Senjai: Yeah, we probably rolled it in
kaiZen has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
kavita has quit [Client Quit]
Asher has quit [Quit: Leaving.]
duncannz has joined #ruby
tiago has quit [Ping timeout: 264 seconds]
duncannz has quit [Max SendQ exceeded]
foureight84 has quit [Quit: Be back later ...]
duncannz has joined #ruby
mary5030 has joined #ruby
adriancb has quit [Remote host closed the connection]
djbkd has joined #ruby
patric100e99 has quit [Quit: Lost terminal]
sn0wb1rd has quit [Ping timeout: 245 seconds]
casadei has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
adriancb has joined #ruby
fella6s has joined #ruby
Zai00 has quit [Quit: Zai00]
jonr22 has joined #ruby
mjuszczak has joined #ruby
kaiZen has joined #ruby
QualityAddict has joined #ruby
BTRE has joined #ruby
dfinninger has quit [Remote host closed the connection]
tiago has joined #ruby
ponga has quit [Remote host closed the connection]
commmmodo has joined #ruby
ponga has joined #ruby
ponga has quit [Client Quit]
fella5s has quit [Ping timeout: 264 seconds]
fabrice31 has joined #ruby
djbkd has quit [Ping timeout: 255 seconds]
adriancb has quit [Ping timeout: 252 seconds]
SouL has quit [Ping timeout: 246 seconds]
HoloIRCUser1 has quit [Ping timeout: 256 seconds]
jonr22 has quit [Ping timeout: 265 seconds]
omosoj has joined #ruby
alvaro_o has quit [Quit: Ex-Chat]
commmmodo has quit [Client Quit]
chrishough has joined #ruby
<omosoj> what's the absolute simplest way to send and retrive a get request on a json api? open-uri?
commmmodo has joined #ruby
chipotle has quit [Quit: cheerio]
odigity has quit [Ping timeout: 256 seconds]
fabrice31 has quit [Ping timeout: 244 seconds]
Macaveli has joined #ruby
sn0wb1rd has joined #ruby
bMalum has joined #ruby
skaag has joined #ruby
oki has joined #ruby
<skaag> Hey, I have a json object (post parsing), and I access for example puts obj["a"], how do I get to the 2nd level elements?
<cscheib> omosoj: from what I've seen, either open-uri, or net/http directly. open-uri just simplifies net/http a bit
thiagovsk has quit [Quit: Connection closed for inactivity]
<skaag> is it simply obj["a"]["b"] ?
jherbst has joined #ruby
bruno- has joined #ruby
<jhass> skaag: yes
iamjarvo has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<skaag> awesome
sevvie has quit [Ping timeout: 240 seconds]
vdamewood has quit [Quit: ["Textual IRC Client: www.textualapp.com"]]
wallerdev has joined #ruby
duncannz has quit [Ping timeout: 245 seconds]
djbkd has joined #ruby
<jhass> skaag: to understand: obj["a"] is a method call, it's syntax sugar for obj.[]("a"). That method call returns you the nested hash on which you can chain the next method call, obj.[]("a").[]("b")
ponga has joined #ruby
leafybasil has joined #ruby
mary5030 has quit [Remote host closed the connection]
dapz has joined #ruby
Macaveli has quit [Ping timeout: 264 seconds]
sevvie has joined #ruby
mary5030 has joined #ruby
<skaag> nice
duncannz has joined #ruby
oki has quit [Ping timeout: 246 seconds]
phutchins has joined #ruby
bruno- has quit [Ping timeout: 264 seconds]
bruno- has joined #ruby
djbkd has quit [Ping timeout: 245 seconds]
bricker`work is now known as bricker
Shazaum has joined #ruby
Shazaum has quit [Changing host]
Shazaum has joined #ruby
baweaver has joined #ruby
jen_ has joined #ruby
<jen_> havenwood: hi again…I am not giving up!!
Aswebb_ has quit [Remote host closed the connection]
dapz has quit [Client Quit]
jlast has quit [Remote host closed the connection]
Hijiri has quit [Ping timeout: 265 seconds]
<jen_> I cd into my directory, which ruby gives me 1.8.7-head. BUt I installed 2.2.0
<jen_> now what/
jobewan has quit [Quit: Leaving]
<havenwood> jen_: rvm use 2.2.0
mary5030 has quit [Ping timeout: 265 seconds]
<havenwood> jen_: ruby -v
<havenwood> jen_: ^ check that it's 2.2.0
emocakes has joined #ruby
<jhass> jen_: also check for a .rvmrc or .ruby-version file
enebo has quit [Quit: enebo]
<jen_> ok..sec
duncannz has quit [Ping timeout: 265 seconds]
<jen_> where would the .rvmrc file be?
<jhass> the projects root usually, if it exists
<jen_> i see a .rvm directory
bruno- has quit [Ping timeout: 245 seconds]
<havenwood> jen_: one more thing to check is that there's no `ruby=1.8.7` in your Gemfile
<jen_> sec
eladmeidar has joined #ruby
<jen_> you guys rock…thanks..lemme check
odigity has joined #ruby
bruno- has joined #ruby
segmond has quit [Ping timeout: 246 seconds]
<havenwood> jen_: ls .ruby-version .rvmrc
<omosoj> cscheib, thanks
nettoweb has joined #ruby
dru has quit [Ping timeout: 250 seconds]
thumpba_ has joined #ruby
<jen_> no .rvmrc
Hijiri has joined #ruby
bMalum has quit [Quit: bMalum]
<jen_> .ruby-version there havenwood